Questions form a Beginning Themer - Android Themes

Hello,
I am starting to make my own Themes for Android, mostly the Kindle Fire HD. I already how how to edit the images because I used to make iPhone themes. Anyway I was wondering about changing the Home Back and Menu buttons. I can not find them in Framework Res or System UI apk files. I would also like to know where I can find a Stock android 3.0 and 4.0 framework res and system ui file. Google has not helped me at all in finding these.
Thanks,
The Doolster

TheDoolster said:
Hello,
I am starting to make my own Themes for Android, mostly the Kindle Fire HD. I already how how to edit the images because I used to make iPhone themes. Anyway I was wondering about changing the Home Back and Menu buttons. I can not find them in Framework Res or System UI apk files. I would also like to know where I can find a Stock android 3.0 and 4.0 framework res and system ui file. Google has not helped me at all in finding these.
Thanks,
The Doolster
Click to expand...
Click to collapse
Get a system dump of android 3.0/4.0
---------- Post added at 07:18 PM ---------- Previous post was at 07:01 PM ----------
krazeecracker said:
Get a system dump of android 3.0/4.0
Click to expand...
Click to collapse
and this should help with your nav bar mods: http://forum.xda-developers.com/showthread.php?t=1743979

krazeecracker said:
Get a system dump of android 3.0/4.0
---------- Post added at 07:18 PM ---------- Previous post was at 07:01 PM ----------
and this should help with your nav bar mods: http://forum.xda-developers.com/showthread.php?t=1743979
Click to expand...
Click to collapse
Thanks for the suggestons, i got the dumps i needed but that tool did not work. In the folder res-drawable, there are the icons i need but they are normal ics-style icons and not what I need for the Kindle. I am not sure if anyone knows where the files are located.

TheDoolster said:
Thanks for the suggestons, i got the dumps i needed but that tool did not work. In the folder res-drawable, there are the icons i need but they are normal ics-style icons and not what I need for the Kindle. I am not sure if anyone knows where the files are located.
Click to expand...
Click to collapse
What exactly do you need?

Related

[Q] How do I get back stock wallpaper?

Hi Guys, I have accidentally changed my wallpaper with bit of manic swiping .
How do I get the original wallpaper back?
It was the one that came with the ics theme from the kitchen on checkrom.
It doesn't appear when I try to change the wallpaper but I really liked it .
If u have root, go to system/app using root explorer extract twwallpaperchooser.apk
You are done..Built-in Wallpapers are stored in the above mentioned apk.
---------- Post added at 02:24 PM ---------- Previous post was at 02:23 PM ----------
Please share the wallpaper.
Edit
Extract stock twwallpaperchooser.apk it has more cool wallpapers which are not visible in gallery/ wallpaper gallery.
Boy124 said:
If u have root, go to system/app using root explorer extract twwallpaperchooser.apk
You are done..Built-in Wallpapers are stored in the above mentioned apk.
---------- Post added at 02:24 PM ---------- Previous post was at 02:23 PM ----------
Please share the wallpaper.
Edit
Extract stock twwallpaperchooser.apk it has more cool wallpapers which are not visible in gallery/ wallpaper gallery.
Click to expand...
Click to collapse
That apk is not in my system/app folder. It's a custom rom and a lot of stuff was cut out.
I installed the ICU theme on top of the rom and that is where the background/wallpaper came from. It must be in there somewhere. I have tried re flashing the theme but it still comes up with the new wallpaper.
I'll gladly share the wallpaper if I can get it back
but it's not my work it was in the ICS Domination x1.0 theme.
Works and looks good. Just wish I hadn't messed with it .
I suggest you to download the stockROM which you used before and extract it, then extract the mentioned apk and you have all the images.... a little complicated and not really reasonable considering file size of stockROM but if you desperately need it... ^^
Here is the thread with all the ROMs listed:
http://forum.xda-developers.com/showthread.php?t=1424997
EDIT:
Hey, you are lucky, i just was browsing the wallpaper thread and somebody requested the original stock wallpapers distributed with the Note. Check the thread and download the wallpapers from there:
http://forum.xda-developers.com/showpost.php?p=22661465&postcount=70
btotaku said:
I suggest you to download the stockROM which you used before and extract it, then extract the mentioned apk and you have all the images.... a little complicated and not really reasonable considering file size of stockROM but if you desperately need it... ^^
Here is the thread with all the ROMs listed:
http://forum.xda-developers.com/showthread.php?t=1424997
EDIT:
Hey, you are lucky, i just was browsing the wallpaper thread and somebody requested the original stock wallpapers distributed with the Note. Check the thread and download the wallpapers from there:
http://forum.xda-developers.com/showpost.php?p=22661465&postcount=70
Click to expand...
Click to collapse
Many thanks btotaku,
The wallpaper I was after came with the ICE CREAM SANDWICH DOMINATION theme
I asked on there and got a link from the dev to the wallpapers that came with it.
For anyone interested you can get them here just download the wallpapers.zip file.

(TUTORIAL) New way how to patch all services.jar to TabletUI

hello i found new way how to patch all services.jar to tablet UI it is easy and better then recompile
1 download winrar
2 download dex2jar
3 hex editor
4 deodexed services.jar
dump your services.jar from your phone by droidexplorer etc .......
open services.jar by winrar and extract classes.dex
dex2jar classes.dex
and open classes_dex2jar.jar in winrar
extract WindowManagerService.class form classes_dex2jar.jar\com\android\server\wm
open it in hexworkshop or other hex editors and find
8E0009000A000000821B9900781D36061C36072A2A2A2A1506
and repace it by
930009000A000000871B99007D1D36061C36072A2A2A2A1506 8617046E8B
find
B11C36061D3607A7FF8B
and replace it by
B11C36061D3607A7FF86
save WindowManagerService.class
replace WindowManagerService.class by winrar in classes_dex2jar.jar without compression
use jar2dex and create new dex file
rename it to classes.dex
replace your classes.dex in services.jar without compression
copy new classes.jar to your phone
change density to 120 and now you have tablet phone
this is working on cm9 ??
qazsxdcfv said:
this is working on cm9 ??
Click to expand...
Click to collapse
im trying 10 roms and it working on it
veisen said:
im trying 10 roms and it working on it
Click to expand...
Click to collapse
Great .. gonna include on my rom next time it update .. thanks op .. gonna try .
Sent from my Desire HD using Tapatalk 2
how exactly does this work. I'm not familiar with using the hexworkshop for editing this file. I've been messing around with this whole tablet process for a couple days now and I am familiar with dex2jar and can accomplish what your saying, I would just like to know how it works and how you came to this process? It's just my own morbid curiosity, if you don't mind? Thanks
---------- Post added at 10:14 AM ---------- Previous post was at 09:56 AM ----------
ah, I dont know what I'm doing wrong. It doesn't help that I have no clue how to use hexeditor but when I attempt to replace the first string "8E0009000A000000821B9900781D36061C36072A2A2A2A1506" with your suggested string "930009000A000000871B99007D1D36061C36072A2A2A2A1506 8617046E8B" I get an error saying that the strings need to be the same length in value. So it won't let me paste it in no matter what.
You're the man
Its work, wooowww how can you know this patch buddy.....awesome.
Thank you very much bud
Sent from my PC36100 using Tapatalk 2
I use aosp ICS rom
Dpi 120 (tabletUI) data not work and cannot make call, but the phone signal good.
Dpi 128 (tabletUI) data work but still cannot make call.
Dpi 240 (phone) everythings work again like normal
Sent from my PC36100 using Tapatalk 2
tucstwo said:
how exactly does this work. I'm not familiar with using the hexworkshop for editing this file. I've been messing around with this whole tablet process for a couple days now and I am familiar with dex2jar and can accomplish what your saying, I would just like to know how it works and how you came to this process? It's just my own morbid curiosity, if you don't mind? Thanks
---------- Post added at 10:14 AM ---------- Previous post was at 09:56 AM ----------
ah, I dont know what I'm doing wrong. It doesn't help that I have no clue how to use hexeditor but when I attempt to replace the first string "8E0009000A000000821B9900781D36061C36072A2A2A2A1506" with your suggested string "930009000A000000871B99007D1D36061C36072A2A2A2A1506 8617046E8B" I get an error saying that the strings need to be the same length in value. So it won't let me paste it in no matter what.
Click to expand...
Click to collapse
Use hex workshop, choose replace in menu bar then fill first string and replace string, select ok, when option pop up choose replace all.
Sent from my PC36100 using Tapatalk 2
can anyone post screenshoot of the tablet mode please?
AlfalfaX said:
can anyone post screenshoot of the tablet mode please?
Click to expand...
Click to collapse
Same as if you look at paranoidandroid rom. All apps that support tablet mode will turn to tabletUI. I guess the dpi 120 too small then crash the phone.apk
Sent from my PC36100 using Tapatalk 2
-solved-
---------- Post added at 01:32 PM ---------- Previous post was at 01:15 PM ----------
veisen said:
find
8E0009000A000000821B9900781D36061C36072A2A2A2A1506
and repace it by
930009000A000000871B99007D1D36061C36072A2A2A2A1506 8617046E8B
find
B11C36061D3607A7FF8B
and replace it by
B11C36061D3607A7FF86
Click to expand...
Click to collapse
iam using aokp jb for the htc one s,
and i extracted the WindowManagerService.class file
but i cant fint the hex codes :/ pls help me...
I use hex workshop, on the menu bar choose replace, fill with the strings, it will automaticaly find the string, then choose replace all.
TabletUI can work on dpi 128.
Sent from my DELL Streak using Tapatalk 2

Kitkat boot animation

Hi.
I need the Boot animation for an avatar i'm making.
I haven't been able to find it.
My first try was to extract it from the Nexus 5 image, but i can't seem to read the system.img filesystem.
Can anyone help?
It's the one from android 4.3
Hi look for tungy91's x theme choose theme on Android themes.He has the bootanimation for kitkat4.4. Hope this helps
Sent from a very Jelly Transparent Blue 4.3 GNexus
---------- Post added at 08:16 PM ---------- Previous post was at 08:12 PM ----------
I ment tung91
Sent f4om a very Jelly Blue 4.3 GNexus
My first post on XDA!
Equalixer said:
Hi.
I need the Boot animation for an avatar i'm making.
I haven't been able to find it.
My first try was to extract it from the Nexus 5 image, but i can't seem to read the system.img filesystem.
Can anyone help?
Click to expand...
Click to collapse
Attached is the original KitKat animation from my Nexus 4.
Equalixer said:
(...) but i can't seem to read the system.img filesystem.
Can anyone help?
Click to expand...
Click to collapse
If you are on Windows you can try ext4_unpacker (http://sourceforge.net/projects/androidicsjbext/?source=directory) . i use this tool to unpack *.img´s on windows

[HOW TO] Enable S6 launcher hidden settings

There is a way how to enable hidden S6 launcher settings.
You need to know how to use compile/decompile programing.
1-decompile TouchWizHome_ZERO
2-go to decompiled folder TouchWizHome_ZERO_src/res/xml/
3-open home_settings_chooser.xml in text editor
4-go to /home_settings_title" android:selectable="false
5-change to /home_settings_title" android:selectable="true (like in picture below.
6-save it go back and compile the APK again.
7-replace the modified TouchWizHome_ZERO.apk to the system folder and reboot the phone
It will be like this
Thanks! What settings can be done in Touchwiz? Anyone has already a modded apk?
Thanks!
gpvecchi said:
Thanks! What settings can be done in Touchwiz? Anyone has already a modded apk?
Thanks!
Click to expand...
Click to collapse
There you enabeling hidden settings.like to change the animations,speed and other tweaks to the launcher
Can anyone post the modded apk please?
I just found the TouchWizHome_ZERO_MR1.apk and it won't decompile for some reason :/
For those reasons:
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:604)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
at brut.androlib.Androlib.getResTable(Androlib.java:49)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:93)
at brut.apktool.Main.cmdDecode(Main.java:169)
at brut.apktool.Main.main(Main.java:85)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:43)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:95)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 7 more
stark1995 said:
Can anyone post the modded apk please?
Click to expand...
Click to collapse
This!
Sent from my SAMSUNG-SM-G920A using Tapatalk
I hope this will allow center app button...
gpvecchi said:
I hope this will allow center app button...
Click to expand...
Click to collapse
Nope.
stark1995 said:
Can anyone post the modded apk please?
Click to expand...
Click to collapse
+1 please
There is a video demo of S6 launcher enabled hidden settings https://youtu.be/3G9vGWX5-dc
Created by #nguyenxuanhoa http://forum.xda-developers.com/galaxy-s6/development/vnrom-s6-g920fxxu1aocv-v1-0-aroma-t3088154 @all credit is going to him
I tried to do exactly what you said on TouchWizHome_ZERO_MR1 but it doesn't show up. Do I need to edit something else?
I wonder can I pull it from the rom and place it on my phone. Going to try ?
Sent from my SAMSUNG-SM-G920A using Tapatalk
Don't work on Albe95 S6 Port 3.0
OMassalia said:
Don't work on Albe95 S6 Port 3.0
Click to expand...
Click to collapse
It did work. Used zip from here:
http://forum.xda-developers.com/note-4/themes-apps/s6-luncher-note-4-excellent-t3150054
First delete Touchwiz_Home_MR1 at system/privapp then flash the zip through recovery
and reboot. What's not working for me is blur/parallax/weather effect. I got fc's when i try
to enable these features.
jimdgreat3 said:
It did work. Used zip from here:
http://forum.xda-developers.com/note-4/themes-apps/s6-luncher-note-4-excellent-t3150054
First delete Touchwiz_Home_MR1 at system/privapp then flash the zip through recovery
and reboot. What's not working for me is blur/parallax/weather effect. I got fc's when i try
to enable these features.
Click to expand...
Click to collapse
I will test your file
---------- Post added at 09:04 ---------- Previous post was at 08:55 ----------
1-decompile TouchWizHome_ZERO
2-go to decompiled folder TouchWizHome_ZERO_src/res/xml/
3-open home_settings_chooser.xml in text editor
4-go to /home_settings_title" android:selectable="false
5-change to /home_settings_title" android:selectable="true (like in picture below.
6-save it go back and compile the APK again.
7-replace the modified TouchWizHome_ZERO.apk to the system folder and reboot the phone
I do that and don't work. What do you in your version to work ? Sorry for my poor english
OMassalia said:
Don't work on Albe95 S6 Port 3.0
Click to expand...
Click to collapse
You must download the zip file for Touchwiz home apk on the link i gave you.
then delete the Touchwiz_Home_MR1 folder in system/privapp
after that reboot in recovery ang flash the Touchwiz_Home.apk
which you just download. reboot after flashing.
I'm on albe95 S6 Port V3.0 and can confirm it's working.
No need to decompile/compile apk.
jimdgreat3 said:
It did work. Used zip from here:
http://forum.xda-developers.com/note-4/themes-apps/s6-luncher-note-4-excellent-t3150054
First delete Touchwiz_Home_MR1 at system/privapp then flash the zip through recovery
and reboot. What's not working for me is blur/parallax/weather effect. I got fc's when i try
to enable these features.
Click to expand...
Click to collapse
Work on 5.0.2?
Sent from my SAMSUNG-SM-G920A using Tapatalk
OMassalia said:
I will test your file
---------- Post added at 09:04 ---------- Previous post was at 08:55 ----------
1-decompile TouchWizHome_ZERO
2-go to decompiled folder TouchWizHome_ZERO_src/res/xml/
3-open home_settings_chooser.xml in text editor
4-go to /home_settings_title" android:selectable="false
5-change to /home_settings_title" android:selectable="true (like in picture below.
6-save it go back and compile the APK again.
7-replace the modified TouchWizHome_ZERO.apk to the system folder and reboot the phone
I do that and don't work. What do you in your version to work ? Sorry for my poor english
Click to expand...
Click to collapse
I done it before but i formated my pc and i dont have the tools to compile and decompile the app.can you give me the tools and ill try to edit it again and post a zip file?
mariolcela said:
I done it before but i formated my pc and i dont have the tools to compile and decompile the app.can you give me the tools and ill try to edit it again and post a zip file?
Click to expand...
Click to collapse
You want apk tool and signapk ?

Need Help Editing SystemUI

Hello Guys,
I decided to try and modify the SystemUI of Stock OxygenOs 4.0.3 myself in order to achieve: Center Clock in Status bar as well as quick settings menu, 6 small qs tiles, 6 qs tiles in a row and only one row at that.
I already got familiar with apktool and the process but I have no Idea what file to edit, I searched through the files but could achieve any change.
I didn't find any tutorials that could help me either so I was hoping someone could help me here.
Thanks and if you need any more information just ask
Basically I want it to look something like this (Resurrection Remix)
The location is here system/priv-app/OPSystemUI
For tutorials, you can try to look around in Op3/Op3T mods sections - the dark theme/notifications have some.
davebugyi said:
The location is here system/priv-app/OPSystemUI
For tutorials, you can try to look around in Op3/Op3T mods sections - the dark theme/notifications have some.
Click to expand...
Click to collapse
Yes yes I know that but I meant which files inside the APK to edit, sorry for the confusion and thank you
Download the modded and stock Systemui.apk and decompile. Compare the result. You will learn everything only that way. The clock position is defined in status_bar.xml.
Sent from my ONEPLUS A3003 using Tapatalk
If you're using a Windows computer, you can use a program called Winmerge to compare entire decompiled OPSystemUI folders (And all their sub-folders/files) and highlight differences in text files (including xml) between the two. If you find someone who has already posted a similar mod, you can compare that with the stock file to determine what they have changed. From there, it should be fairly intuitive.
Kickoff said:
Download the modded and stock Systemui.apk and decompile. Compare the result. You will learn everything only that way. The clock position is defined in status_bar.xml.
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
Anova's Origin said:
If you're using a Windows computer, you can use a program called Winmerge to compare entire decompiled OPSystemUI folders (And all their sub-folders/files) and highlight differences in text files (including xml) between the two. If you find someone who has already posted a similar mod, you can compare that with the stock file to determine what they have changed. From there, it should be fairly intuitive.
Click to expand...
Click to collapse
Thank you, I actually thought about that but I didn't know a program capable of that, I'll try that
Update: I played around a bit and those Tips were somewhat helpful but I didn't manage to get the clock in the Center .
Most of the time there where no problems applying the new System ui but a few times it just refused to start sytemzui and I was Straight in the Launcher without a Statusbar and so on. After restoring the original apk to get it to work it Booted just to a Blackscreen where I could only open the power Menü and I had to wipe data to get in again. Amy idea why?
Also After restoring a backup of data cpu was always at Max
Pharrax said:
Update: I played around a bit and those Tips were somewhat helpful but I didn't manage to get the clock in the Center .
Most of the time there where no problems applying the new System ui but a few times it just refused to start sytemzui and I was Straight in the Launcher without a Statusbar and so on. After restoring the original apk to get it to work it Booted just to a Blackscreen where I could only open the power Menü and I had to wipe data to get in again. Amy idea why?
Also After restoring a backup of data cpu was always at Max
Click to expand...
Click to collapse
You probably forgot to include the AndroidManifest and META-INF files in the APK. Read up on this guide. It's quite old, but steps 1, 2, 3, and 15 in his guide are still applicable. Pay special attention to step 15 as it shows you how to sign the modded APK with the original signature. Without including these files, OOS will refuse to run the app. Any time he mentions SystemUI.apk, assume that you can do the same with OPSystemUI.apk.
---------- Post added at 12:34 AM ---------- Previous post was at 12:31 AM ----------
For some reason, OOS 4.0.3 and below will sometimes allow improperly compiled OPSystemUI to run. It seems that as of OOS 4.1.0, you must correctly compile the app or it will always refuse to run it at boot.
Kickoff said:
Download the modded and stock Systemui.apk and decompile. Compare the result. You will learn everything only that way. The clock position is defined in status_bar.xml.
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
There is also a need to work with smali files to get status bar clock hidden in lockscreen
Anova's Origin said:
You probably forgot to include the AndroidManifest and META-INF files in the APK. Read up on this guide. It's quite old, but steps 1, 2, 3, and 15 in his guide are still applicable. Pay special attention to step 15 as it shows you how to sign the modded APK with the original signature. Without including these files, OOS will refuse to run the app. Any time he mentions SystemUI.apk, assume that you can do the same with OPSystemUI.apk.
---------- Post added at 12:34 AM ---------- Previous post was at 12:31 AM ----------
For some reason, OOS 4.0.3 and below will sometimes allow improperly compiled OPSystemUI to run. It seems that as of OOS 4.1.0, you must correctly compile the app or it will always refuse to run it at boot.
Click to expand...
Click to collapse
I was using apktool with the -c command, i thought that signs the apk properly and does exactly that? But thank you i will look into the tutorial
BaaDNwZ said:
There is also a need to work with smali files to get status bar clock hidden in lockscreen
Click to expand...
Click to collapse
Any links that help me understand smali and how to edit them?
Pharrax said:
Any links that help me understand smali and how to edit them?
Click to expand...
Click to collapse
The best link is - google.com
Sorry bro =\

Categories

Resources