[HOW TO/MOD] make Transparant lockscreen - Galaxy S II Themes and Apps

hi
this tutorial will show u how to make your lock screen transparent to your ROM whatever it is..
it is easy method and I look everywhere, nobody post the method or the correct one at least
==================================
i will not go throw how to decompile and compile because there are many threads show how to do it
==================================
* decompile framework-res.apk from your ROM
* go to res/drawable-hdpi
* delete zzzzzzzz_default_lockscreenw.jpg
* place new transparent image and rename it as zzzzzzzz_default_lockscreenw.png
*go to res/layout/zzz_keyguard_screen_lockscreenwallpaper.xml
*in line 2 change
Code:
android:background="#ff000000"
to
Code:
android:background="#00000000"
*compile framework-res.apk again and don't forget to delete the necessary files and folders from KEEP
*move to ur device to system/framework
*reboot, ur done
this is how it should be look like
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I attached a transparent image in the attachment if someone doesn't know how to make one by Photoshop
juf,,

another how to .. soon

Thanx for the howto !

Brotuck said:
Thanx for the howto !
Click to expand...
Click to collapse
u r welcome mate

Thanks, looks cool and I may pluck up my courage to try over the weekend.
I have been wondering why the phone doesn't support transparent/translucent lockscreens. It'll be nice if there's an app that can somehow or other do that without having newbies (and scaredies) to decompile and compile the .apk!

juffo said:
hi
this tutorial will show u how to make your lock screen transparent to your ROM whatever it is..
it is easy method and I look everywhere, nobody post the method or the correct one at least
==================================
i will not go throw how to decompile and compile because there are many threads show how to do it
==================================
* decompile framework-res.apk from your ROM
* go to res/drawable-hdpi
* delete zzzzzzzz_default_lockscreenw.jpg
* place new transparent image and rename it as zzzzzzzz_default_lockscreenw.png
*go to res/layout/zzz_keyguard_screen_lockscreenwallpaper.xml
*in line 2 change
Code:
android:background="#ff000000"
to
Code:
android:background="#00000000"
*compile framework-res.apk again and don't forget to delete the necessary files and folders from KEEP
*move to ur device to system/framework
*reboot, ur done
this is how it should be look like
I attached a transparent image in the attachment if someone doesn't know how to make one by Photoshop
juf,,
Click to expand...
Click to collapse
Sweet thanks for this. Where is the attachment? That would be a big help if we had a transparent image to us.
Thanks
Sent from my SGH-I777 using xda premium

jgrimberg1979 said:
Sweet thanks for this. Where is the attachment? That would be a big help if we had a transparent image to us.
Thanks
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
it is there in the attachment square ,, but bqz it is transparent

juffo said:
it is there in the attachment square ,, but bqz it is transparent
Click to expand...
Click to collapse
I cannot get it to recompile correctly, i keep getting error after error. I have been trying to get it working for the last 4 hours. Is there any way you could take my framework-res.apk and apply your mod? Please
View attachment framework-res.apk

jgrimberg1979 said:
I cannot get it to recompile correctly, i keep getting error after error. I have been trying to get it working for the last 4 hours. Is there any way you could take my framework-res.apk and apply your mod? Please
View attachment 782712
Click to expand...
Click to collapse
i checked ur file
u have without any modding a problem in PNG files
i will do it but need much more time
maybe today late or tomorrow

juffo said:
i checked ur file
u have without any modding a problem in PNG files
i will do it but need much more time
maybe today late or tomorrow
Click to expand...
Click to collapse
Okay thanks. Is that why i am getting the errors? because of some of the pngs?
I really want to learn this stuff but its hards to find a good tutorial.
Anyways thanks for looking into this

jgrimberg1979 said:
Okay thanks. Is that why i am getting the errors? because of some of the pngs?
I really want to learn this stuff but its hards to find a good tutorial.
Anyways thanks for looking into this
Click to expand...
Click to collapse
simply u have to add 1 pixel all around the image, by an other word u have to know how to use Photoshop
here u r
ur file is fixed, trans.LS and ready
http://www.multiupload.com/L2LBGBUOYJ

hi . please help me .. how can i edit .xml file and open it ...

victor711 said:
hi . please help me .. how can i edit .xml file and open it ...
Click to expand...
Click to collapse
use notepad++

victor711 said:
hi . please help me .. how can i edit .xml file and open it ...
Click to expand...
Click to collapse
You gotta decompile it first or else you wont be able to read it.
OP
Can you help me make one for miui? I changed roms so I didn't get a chance to try out the apk you made for me. Now I am on miui
Sent from my SGH-I777 using xda premium

jgrimberg1979 said:
You gotta decompile it first or else you wont be able to read it.
OP
Can you help me make one for miui? I changed roms so I didn't get a chance to try out the apk you made for me. Now I am on miui
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
u had better to tell me earlier that u gonna change ur rom
I spent 2 hrs on that !!
sorry , can't help any more !

juffo said:
u had better to tell me earlier that u gonna change ur rom
I spent 2 hrs on that !!
sorry , can't help any more !
Click to expand...
Click to collapse
I am so sorry man, my bad. I tried editing myself after you said it would take a day or two and i was in a bootloop without a backup. Sorry man. I will throw a donation your way espcially if you can make one for miui.

jgrimberg1979 said:
I am so sorry man, my bad. I tried editing myself after you said it would take a day or two and i was in a bootloop without a backup. Sorry man. I will throw a donation your way espcially if you can make one for miui.
Click to expand...
Click to collapse
it is ok ,, but i cant do miui thing, bqz i dont have it and also i am not sure if its source is the same as like as sam stock ROM
sorry again

juffo said:
it is ok ,, but i cant do miui thing, bqz i dont have it and also i am not sure if its source is the same as like as sam stock ROM
sorry again
Click to expand...
Click to collapse
When i get back on a stock rom, and i try to make this mod tell me if i am correct.
1. Decompile on framework-res
2. Go in Drawable-HDPI delete and copy next zzzz***
3. Go in to Drawable and edit .xml to 00000**
4. Compile with APK manager
5. Hit yes when prompted if it is a system apk
6. yes or no? when it asks if i want to copy over additional files that i didnt modify from original apk in order to insure lease # of errors?
7. i if i hit yes do i delete the two files i changed and also delete resources.arsc?
8. Do i need to sign it?
Also what should the compression be set at in apk manager? My is set at 9. heap size is 64mb.
If you could give me some feedback on this i might be able to get it working on my own, hopefully

jgrimberg1979 said:
When i get back on a stock rom, and i try to make this mod tell me if i am correct.
1. Decompile on framework-res
2. Go in Drawable-HDPI delete and copy next zzzz***
3. Go in to Drawable and edit .xml to 00000**
4. Compile with APK manager
5. Hit yes when prompted if it is a system apk
6. yes or no? when it asks if i want to copy over additional files that i didnt modify from original apk in order to insure lease # of errors?
7. i if i hit yes do i delete the two files i changed and also delete resources.arsc?
8. Do i need to sign it?
Also what should the compression be set at in apk manager? My is set at 9. heap size is 64mb.
If you could give me some feedback on this i might be able to get it working on my own, hopefully
Click to expand...
Click to collapse
1. Decompile on framework-res
2. Go in Drawable-HDPI delete and copy next zzzz***.JPG to zzzz.***png
3. Go in to LAYOUT and edit .xml to 00000**
4. Compile with APK manager
5. Hit yes when prompted if it is a system apk
6. yes when it asks if i want to copy over additional files that i didnt modify from original apk in order to insure lease # of errors?
7. i if i hit yes do i delete the two files i changed and also delete resources.arsc?
yes. delete resources.arsc,zzzz***.jpg and ****.xml
8. Do i need to sign it?
NO
Also what should the compression be set at in apk manager? My is set at 9. heap size is 64mb.
compress to 0
so the options will be (22-Framework-res#-19-0-11)
i hope it is helpfull

juffo said:
1. Decompile on framework-res
2. Go in Drawable-HDPI delete and copy next zzzz***.JPG to zzzz.***png
3. Go in to LAYOUT and edit .xml to 00000**
4. Compile with APK manager
5. Hit yes when prompted if it is a system apk
6. yes when it asks if i want to copy over additional files that i didnt modify from original apk in order to insure lease # of errors?
7. i if i hit yes do i delete the two files i changed and also delete resources.arsc?
yes. delete resources.arsc,zzzz***.jpg and ****.xml
8. Do i need to sign it?
NO
Also what should the compression be set at in apk manager? My is set at 9. heap size is 64mb.
compress to 0
so the options will be (22-Framework-res#-19-0-11)
i hope it is helpfull
Click to expand...
Click to collapse
oh ****. i never changed it to png because i thought it was just going to replace the jpg in there.. So what does changing it to png do?

Related

Need help editing CyanBread.apk theme

Hi, I basically want to change the Battery Icon in the Notification Bar.
Yes I replaced the .png files with the ones I wanted but the problem is, the png files I have are exact battery percentages but in my Dinc it only shows battery levels in intervals of 5's.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
That is the battery icon I am replacing it with. There are 134 .png's (100 battery status, 33 for battery charge, and 1 for unknown battery).
Basically my question is, how can I edit the theme so that it will show all .png files so the phone will display the exact battery percentage it is on?
This is how my phone looks so far
Thanks in advance!
I believe you'll need to edit XML files to make it pull the correct image for each 1% icon like you want. Just adding the images won't do it. I have never done this before, so maybe someone like fernando sor or Hatman (just to name a couple of themers) can help you out with that.
RMarkwald said:
I believe you'll need to edit XML files to make it pull the correct image for each 1% icon like you want. Just adding the images won't do it. I have never done this before, so maybe someone like fernando sor or Hatman (just to name a couple of themers) can help you out with that.
Click to expand...
Click to collapse
Do you have an idea of what xml file I need to edit I can't find anything that connects to the battery.
Sent from my ADR6300
eljean said:
Do you have an idea of what xml file I need to edit I can't find anything that connects to the battery.
Sent from my ADR6300
Click to expand...
Click to collapse
Maybe in framework-res - res - drawable - stat_sys_battery and stat_sys_battery_charge xml's....?
I am not running CM7/Cyanbread theme, so I'm not sure if those XML's are there.
RMarkwald said:
Maybe in framework-res - res - drawable - stat_sys_battery and stat_sys_battery_charge xml's....?
I am not running CM7/Cyanbread theme, so I'm not sure if those XML's are there.
Click to expand...
Click to collapse
Yeah is not in the Cyanbread.apk its only in the framework-res.apk... also Im kinda noobish at this sort of stuff how do I exactly edit these files?
You'd need to edit those files in the framework-res.apk to make them show. You'd need to decompile the apk file with apktool to view the XML's, then recompile it. I've decompiled framework-res, but never recompiled things with it or really made any changes.
You're best bet is to PM fernando sor or Stoney666, maybe they can help out further.
First thing is you need to decompile the apk. To get the phone to display 1% increments you will need to edit the stat_sys_battery xml file in drawable. To have the apk display your battery images you will need to define them in the android xml file in the xml folder. Once the edits are done recompile, sign the apk and install.
N-Forced said:
First thing is you need to decompile the apk. To get the phone to display 1% increments you will need to edit the stat_sys_battery xml file in drawable. To have the apk display your battery images you will need to define them in the android xml file in the xml folder. Once the edits are done recompile, sign the apk and install.
Click to expand...
Click to collapse
Will try this once I get home. Can I just open the apk using winrar and edit the xml file? Or do I need to decompile in order to read the xml file?
Sent from my ADR6300
Need to decompile first.
My suggestion would be to decompile the cyanbread apk and add the xmls for the battery to the apk. Then there's a couple more xmls in the theme apk that would need to be edited as well. When I get to my computer I can give you more info on it if you'd like but doing it this way would avoid any interference of the xml being in framework and having a standard battery icon if you go back to stock. This way too when you change nightlies you can bring your modified cyanbread theme with you instead of having to change the framework each time. Just a thought though.
Sent from my ADR6300
CondemnedSoul said:
My suggestion would be to decompile the cyanbread apk and add the xmls for the battery to the apk. Then there's a couple more xmls in the theme apk that would need to be edited as well. When I get to my computer I can give you more info on it if you'd like but doing it this way would avoid any interference of the xml being in framework and having a standard battery icon if you go back to stock. This way too when you change nightlies you can bring your modified cyanbread theme with you instead of having to change the framework each time. Just a thought though.
Sent from my ADR6300
Click to expand...
Click to collapse
Will I be able to install it by simply ADB Pushing the new Cyanbread.apk or will I have to reflash?
**This is a lot of writing sheesh, I started 10 minutes ago and I am only up to 50. Now I know how hard it is to make a theme, i really need to start donating to themers for their work lol.
CondemnedSoul said:
My suggestion would be to decompile the cyanbread apk and add the xmls for the battery to the apk. Then there's a couple more xmls in the theme apk that would need to be edited as well. When I get to my computer I can give you more info on it if you'd like but doing it this way would avoid any interference of the xml being in framework and having a standard battery icon if you go back to stock. This way too when you change nightlies you can bring your modified cyanbread theme with you instead of having to change the framework each time. Just a thought though.
Sent from my ADR6300
Click to expand...
Click to collapse
Any help signing the new APK? I cant seem to get this. I had just about done everything, eexcept this.
eljean said:
Any help signing the new APK? I cant seem to get this. I had just about done everything, eexcept this.
Click to expand...
Click to collapse
I've used Android Signer from PPC Geeks.
Sent from my ADR6300 using xda premium
Yes you can install it with adb or with root explorer and setting permissions. I've used android signer from ppc geeks as well on Windows.
Sent from my ADR6300 using XDA App
Thank you all. As I tried to install it however it tells me I compiled it wrong and to contact the developer or whatever.
All I changed was the stat_sys_battery and stat_sys_battery_charge xml files. I used cyanbreadx.apk and i dont want to edit framework-res on my rom just incase I mess it up.
I'm I missing something here? Do I have to edit anymore xml? Is it maybe the public.xml or android. xml?
Sent from my ADR6300 using XDA App
eljean said:
Thank you all. As I tried to install it however it tells me I compiled it wrong and to contact the developer or whatever.
All I changed was the stat_sys_battery and stat_sys_battery_charge xml files. I used cyanbreadx.apk and i dont want to edit framework-res on my rom just incase I mess it up.
I'm I missing something here? Do I have to edit anymore xml? Is it maybe the public.xml or android. xml?
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Well, you could make a backup of your framework-res on your ROM by using adb shell. You can then use adb to revert it back if you screwed something up or it's unusable.
Create backup:
adb shell
cd /system/framework
cp framework-res.apk framework-res.bak
Restore backup:
adb shell
cd /system/framework
cp framework-res.bak framework-res.apk
Then you can try modifying your apk, and use adb push to put it back into /system/framework.
As far as other file editing, I'm not sure about that.
A very simple solution to your problem would be to use the theme kitchen http://uot.dakra.lt/. Just pick what battery you want from the ones provided, upload the cyanbread.apk, then install like a normal apk file.
RMarkwald said:
Well, you could make a backup of your framework-res on your ROM by using adb shell. You can then use adb to revert it back if you screwed something up or it's unusable.
Create backup:
adb shell
cd /system/framework
cp framework-res.apk framework-res.bak
Restore backup:
adb shell
cd /system/framework
cp framework-res.bak framework-res.apk
Then you can try modifying your apk, and use adb push to put it back into /system/framework.
As far as other file editing, I'm not sure about that.
Click to expand...
Click to collapse
It sent me in a bootloop, I guess I am compiling it wrong. I have no Idea what I am doing wrong. I rather edit the CyanbreadX.apk. So far I fixed the /res/drawable/stat_sys_battery.xml , /res/drawable/stat_sys_battery_charge and res/xml/Android.xml . I do not know what else I need to edit or what I am doing wrong.
Attached are the .xml files I customized.
Please if you can tell me what I did wrong and check them out.
***I changed the extension to .txt so it can attach.
N-Forced said:
A very simple solution to your problem would be to use the theme kitchen http://uot.dakra.lt/. Just pick what battery you want from the ones provided, upload the cyanbread.apk, then install like a normal apk file.
Click to expand...
Click to collapse
Anyway I can use my .png's since I spent a good minute modifying it in photoshop to get the colors I wanted?
eljean said:
Anyway I can use my .png's since I spent a good minute modifying it in photoshop to get the colors I wanted?
Click to expand...
Click to collapse
the theme kitchen allows you to define a custom color if you want.
Sent from my ADR6300 using XDA App

[Guide] Transparent background - framework-res.apk Contacts.apk [ICS-JB]

This is a simply method to set a transparent background on framework-dependent apks and Contacts.apk.
1. Using Photoshop or similar create a trasparent image (% as you wish) and save it as .png. If you insert a texture or image, use your device resolution for better results. Make two copies and rename its as "background_holo_dark.png" and "background_dial_holo_dark.png"
2. Decompile framework-res.apk. You can follow this great guide
3. Browse to res/values and open styles.xml. Search code for "<style name="Theme.Holo" parent="@style/Theme">"
4. On it, search this line "<item name="windowShowWallpaper">false</item>" (using Komodo is line 1006) and replace values with true. Save and close.
5. Browse to res/drawable-nodpi and replace existing background_holo_dark.png with your image
6. Recompile framework-res. You may refer to guide posted above
7. Using winrar or similar browse into Contacs.apk to res/drawable-nodpi and replace existing background_dial_holo_dark.png with your image (simply drag&drop, be careful to set compression to Store)
8. Replace framework-res and Contacts.apk on your device (Root explorer, adb, flash through recovery). Personally I also clear cache and dalvik cache
9. Enjoy your modded apks!
After the editing of framework-res.apk you may visit this thread to download also my transparent calendar and mms apks!
Remeber: always perform backup before replace any system file! Also, I'm no responsible for any problems that may occure on your phone
Attached you can find two transparent background 480x800
Here some screenshots (second one from esk02k)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-----------------------------------------------------------------------------
P.S. Of course, this method allows you to change backgroung also with any non transparent image. You simply have to rename your two image copies as reported in point 1. Then replace the original file using winrar or similar as in point 7. You don't need to decompile framework-res.apk in this case!
Thanks but can I use 7zip
I don't like to Decompile and decompile process I think it's hard
You can use 7zip to replace image on Contacts.apk, but you need to decompile framework-res.apk to modify styles.xml.
If you follow the linked guide you will see that compile/decompile apks is not so difficult!
Sorry
What link do you mean ?
nice, thanx.
But one question, do you know how to change the color of font in contacts? ie. from black to white? like how it is in dial...
Kadhim7 said:
Sorry
What link do you mean ?
Click to expand...
Click to collapse
This one
Sorry, I've forgotten to add link on first post, fixed.
Thanks it came out real nice. I settled on 60% transparency. Heres a screenshot for the op if you want it :
(using galaxy pack livewallpaper)
esk02k said:
Thanks it came out real nice. I settled on 60% transparency. Heres a screenshot for the op if you want it :
Click to expand...
Click to collapse
Taken!
Hi is it possible for you to make the stock calendar background transparent??? I hate the stock look!!.
can we use VRT universal theme flasher for CM9 Roms?
replacing framework-res usually deletes every account registered on the device. I used vrt zips on stock-based Roms easilly. but when I was trying to use it on a CM9 Rom iit just crashed everything.
sam5154 said:
can we use VRT universal theme flasher for CM9 Roms?
replacing framework-res usually deletes every account registered on the device. I used vrt zips on stock-based Roms easilly. but when I was trying to use it on a CM9 Rom iit just crashed everything.
Click to expand...
Click to collapse
During last days I've replaced framework-res about one hundred of times I think, and I never lost any account. Don't know what VRT is, I usually flash new framework-res with recovery.
sam5154 said:
can we use VRT universal theme flasher for CM9 Roms?
replacing framework-res usually deletes every account registered on the device. I used vrt zips on stock-based Roms easilly. but when I was trying to use it on a CM9 Rom iit just crashed everything.
Click to expand...
Click to collapse
Yea you can. Im using a zip I posted here. Its by Villain team and JRsoft. I haven't had any problems with it. This ones set up to replace the whole framework though so dont flash it on anything other than paranoid 1.6.
Hi,
This material is gold, my friend, thank very much.
But, i followed every single step on this, but i can't get transparency in contacts, only in phone application, and all the rom...very cool.
But my contacts background it's completely dark.
I also changed framework, inside res/drawable-nodpi, background_holo_light.png to a transparent png file with the same name....but didn't worked also...
So, what to do?
ruicc said:
Hi,
This material is gold, my friend, thank very much.
But, i followed every single step on this, but i can't get transparency in contacts, only in phone application, and all the rom...very cool.
But my contacts background it's completely dark.
I also changed framework, inside res/drawable-nodpi, background_holo_light.png to a transparent png file with the same name....but didn't worked also...
So, what to do?
Click to expand...
Click to collapse
use the contacts.apk I posted in the zip above. Backup yours first of course, it can be found in the extras/system/app folder of the zip.
Many thanks, esk02k, it worked like a charm...
But, what's the difference between this one and the one i used? (F1 rom, from faryaab) Did you change anything else on this?
Cheers
esk02k said:
use the contacts.apk I posted in the zip above. Backup yours first of course, it can be found in the extras/system/app folder of the zip.
Click to expand...
Click to collapse
Hi,
Here' the good MOD : ww.phonandroid.com/forum/rom-andyx-4-0-4-v5-t16615-1490.html#p297978
It's is normal you've only phone.apk transparent.
Having contacts.apk too, you need edit xml and compile it.
ocenis64 said:
Hi,
Here' the good MOD : ww.phonandroid.com/forum/rom-andyx-4-0-4-v5-t16615-1490.html#p297978
It's is normal you've only phone.apk transparent.
Having contacts.apk too, you need edit xml and compile it.
Click to expand...
Click to collapse
I didn't find any "how to" about transparency on that thread...just a guy who post some pics of transparency and said it was very easy.....
So, everyone is telling "need to edit xml on contacts.apk and compile"...i'm tired of know that...it would be more useful say which files, where and what to do.
Cheers
esk02k said:
use the contacts.apk I posted in the zip above. Backup yours first of course, it can be found in the extras/system/app folder of the zip.
Click to expand...
Click to collapse
The easiest way is taking my files.
Compiling AOKP contacts.apk gives a lot of problem. It's a know bug and any tools can compile it correctly.
(excuse me for my bad english, I'm french)
ocenis64 said:
The easiest way is taking my files.
Compiling AOKP contacts.apk gives a lot of problem. It's a know bug and any tools can compile it correctly.
(excuse me for my bad english, I'm french)
Click to expand...
Click to collapse
But, what about the rest of the rom? I saw that mms.apk and the rest are transparent...
ruicc said:
But, what about the rest of the rom? I saw that mms.apk and the rest are transparent...
Click to expand...
Click to collapse
The rest is the framework See the title, you're in the right thred !
Yes, MMS.apk is transparent too.
If you don't want it, remove it from the zip.

Changing Status bar icons

is possible to change status bar icons with rom toolbox , but not those of "system theme", i want to change those of other themes i have
Status Bar icons are in the SystemUI.apk in /system/app
changing icons in it is to modify this apk
I'm not sure if rom toolbox can do it or not, just to provide information
vittorio92vittorio said:
is possible to change status bar icons with rom toolbox , but not those of "system theme", i want to change those of other themes i have
Click to expand...
Click to collapse
You can try and extract the systemUI.apk and then change the .png files with your own. And then zip the folder again and rename the file extension to .apk
It works for me though
Sent From My BioWonder V4
reddvilzz said:
You can try and extract the systemUI.apk and then change the .png files with your own. And then zip the folder again and rename the file extension to .apk
It works for me though
Sent From My BioWonder V4
Click to expand...
Click to collapse
not really need to extract it. just drag and drop and replace the png if you are using like winrar to open the apk
Sent from my GT-I8150 using xda premium
hadidjapri said:
not really need to extract it. just drag and drop and replace the png if you are using like winrar to open the apk
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
I'm using my phone to do that so that's why I need to extract it first
Sent From My BioWonder V4
vittorio92vittorio said:
is possible to change status bar icons with rom toolbox , but not those of "system theme", i want to change those of other themes i have
Click to expand...
Click to collapse
hey, i have the GS3 and my rom toolbox says it changed the icon but then its the same old icon. the new icon only appears when it hits 100% but yet ROM TOOLBOX sshowed me each step and graphic of what it would look like
ugore said:
hey, i have the GS3 and my rom toolbox says it changed the icon but then its the same old icon. the new icon only appears when it hits 100% but yet ROM TOOLBOX sshowed me each step and graphic of what it would look like
Click to expand...
Click to collapse
Try replacing the png files in your systemUI.apk with the one you download from romtoolbox. It works for me.
Sent From My BioWonder V4
reddvilzz said:
Try replacing the png files in your systemUI.apk with the one you download from romtoolbox. It works for me.
Sent From My BioWonder V4
Click to expand...
Click to collapse
can you provide step by steps? I went to the systemUI.apk and i do not see the png files
ugore said:
can you provide step by steps? I went to the systemUI.apk and i do not see the png files
Click to expand...
Click to collapse
These steps is using phone not pc. If using pc it will be more simple than this.
- Extract the systemUI.apk
- In there open res folder
- Go to drawable-hdpi
- In there find the png you want to change (like battery indicator / signal)
- Change the title of your wanted picture to the same name like in the systemUI
- Replace it
- zip the extracted systemUI
- rename the zip file into systemUI.apk
- replace the systemUI.apk from system/app
- set permissions to rw-r--r--
There you go. Do it at your own risk. Because if you forgot to set the permissions right you will ended up at systemUI force close all the time and you will need to flash your rom all the way again.
Remember to backup first.
For my tips
-with the costumized systemUI.apk copy it and put it into /system
- change the permissions to rw-r--r--
- then move it to /system/app then replace it.
That's how I do it. Good luck trying
Sent From My BioWonder V4
reddvilzz said:
These steps is using phone not pc. If using pc it will be more simple than this.
- Extract the systemUI.apk
- In there open res folder
- Go to drawable-hdpi
- In there find the png you want to change (like battery indicator / signal)
- Change the title of your wanted picture to the same name like in the systemUI
- Replace it
- zip the extracted systemUI
- rename the zip file into systemUI.apk
- replace the systemUI.apk from system/app
- set permissions to rw-r--r--
There you go. Do it at your own risk. Because if you forgot to set the permissions right you will ended up at systemUI force close all the time and you will need to flash your rom all the way again.
Remember to backup first.
For my tips
-with the costumized systemUI.apk copy it and put it into /system
- change the permissions to rw-r--r--
- then move it to /system/app then replace it.
That's how I do it. Good luck trying
Sent From My BioWonder V4
Click to expand...
Click to collapse
sweet LMAO can you provide the PC steps lol
ugore said:
sweet LMAO can you provide the PC steps lol
Click to expand...
Click to collapse
The pc step almost the same. the pros is only that you don't need to extract the systemUI.apk just open the systemUI.apk with winrar and then just put your wanted png into the systemUI drawable-hdpi. Then put the file in your phone. Just like that.
Sent From My BioWonder V4
ugore said:
sweet LMAO can you provide the PC steps lol
Click to expand...
Click to collapse
Ok I followed the steps that you layed out. however, the name of the files of the icons I want are the same as the files that were already there. I did notice however, that the icons that i want are in 5% increments such as at 90% of battery the new icon will appear and at 89% the OLD icon will appear. both icon files are in the folder and both have same name
ugore said:
Ok I followed the steps that you layed out. however, the name of the files of the icons I want are the same as the files that were already there. I did notice however, that the icons that i want are in 5% increments such as at 90% of battery the new icon will appear and at 89% the OLD icon will appear. both icon files are in the folder and both have same name
Click to expand...
Click to collapse
Delete the old file. And only insert the one you wanted. If you have 2 file with the same function that will happened.
Sent From My BioWonder V4
reddvilzz said:
Delete the old file. And only insert the one you wanted. If you have 2 file with the same function that will happened.
Sent From My BioWonder V4
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
uploaded an image hopefully it shows but just in case, I uploaded screenshots as attachments of the .PNG files
ugore said:
uploaded an image hopefully it shows but just in case, I uploaded screenshots as attachments of the .PNG files
Click to expand...
Click to collapse
Which png that you wanted?
Sent From My BioWonder V4
HTC Explorer
ugore said:
sweet LMAO can you provide the PC steps lol
Click to expand...
Click to collapse
Can i do this on stock rooted rom of HTC Explorer
reddvilzz said:
These steps is using phone not pc. If using pc it will be more simple than this.
- Extract the systemUI.apk
- In there open res folder
- Go to drawable-hdpi
- In there find the png you want to change (like battery indicator / signal)
- Change the title of your wanted picture to the same name like in the systemUI
- Replace it
- zip the extracted systemUI
- rename the zip file into systemUI.apk
- replace the systemUI.apk from system/app
- set permissions to rw-r--r--
There you go. Do it at your own risk. Because if you forgot to set the permissions right you will ended up at systemUI force close all the time and you will need to flash your rom all the way again.
Remember to backup first.
For my tips
-with the costumized systemUI.apk copy it and put it into /system
- change the permissions to rw-r--r--
- then move it to /system/app then replace it.
That's how I do it. Good luck trying
Sent From My BioWonder V4
Click to expand...
Click to collapse
I downloaded battery icon pack from romtoolboxpro but did not install it from there....i went into the root explorer and opened the downloaded pack of battery icon...it contains 10-20-30-40etc...percentages but not complete 1 to 100 .png percentage pictures...what should i do? Because previously my battery bar has from 1-100 percentage png format pictures ...
Sent from my GT-I8150 using xda premium
ugore said:
sweet LMAO can you provide the PC steps lol
Click to expand...
Click to collapse
Hay man im using rom toolbox pro but i didnt happen to make a backup before replacing the wifi icon and now i want the old one back can you provide me with a solution im using sony xperia p
help
how do i set permissions to the modified systemui.apk i am using asus memo pad 7 it has the same problem
ok so now i have found all the png files in systemui apk folder. Ive noticed there is no carrier logo in carbon is there away to add a png for it ?

[TUTORIAL] Theming [05/10/13]

Hi guys....
In this thread I'll try to learn you HOW TO MOD framework, settings (backgrounds, icons, colors) and how to use APKtool.
update 05/10/2013 !!!
O.K guys I found for you few excellent guides and tutorials.
Like always, post your questions here and we'll try to solve it together.
Update Zip creator/modifier
Great tool on windows to create and edit elements of updates zips
ADW Themes
If you want to create AWD themes - great tutorial...
I've got many PM from guys who want to theme their apps but dont't know where to look and what to modified so....read this.
this is a excellent way to find out where to look and what to edit.
Wanna learn more about XML files?
Well , here we go...
What is an XML?
Wikipedia link to learn and understand general things and facts about XML files.
you will need:
1) A computer
2) The app you want to edit
3) Latest Java Development Kit (JDK) (Download and Install with default settings Java
4) Notepad++ Notepad++
5) The Framework-res.apk and SemcGenericResUxp.apk from /system/framework
6) ZipSigner (for signe your apps) ZipSigner
So let's start...
Download APKtool from here Click me
Copy/extract APKtool to C:\Android\APK
Copy framework-res.apk and SemcGenericResUxp.apk from your system/framework folder to C:\Android\APK
and follow this tutorial to set your environment so we could proceed "Click me"
So, you set environment and we could proced ; (you'll have to do that from above only one time )
*** FIRST ONE ***
1. How to change settings background to white (or to use light theme - to be precise):
We'll start with this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And end with this:
First copy settings.apk to C:\Android\APK
open cmd prompt ("SHIFT"+right click on empty space and select open command window here
...and write this to decompile settings.apk
apktool d settings.apk
Close cmd window and open newly created folder "settings" (it's in the C:\Android\APK)
Open \settings\res\values\styles.xml (open it with Notepad++)
You'll see this :
So..we have to add ".Light" to our style.xml file(to activate/select white theme) and we MUST change color to our fonts/text
to white (I guess it would be hard to read white text on white backgroung).
We will add ".Light" in every theme style and add ff000000 to set our text to black.
For example - on the left side is black settings and on the right is what we need - compare those two styles.xml.
You'll notice that I add word ".Light" to change this part/style to use light/white theme - we'll do that for every style in this file.
And the most important is third line on selected text - #ff000000.
With "#ff000000" we are telling our device to use black colour for text.
It's not hard at all....just continue to read.
You'll get all when you compare your style.xml to this one:
Here is complete style.xml , download it and compare this one with yours.
Just open both files and add ".Light" and "#ff000000" to every stile you see I've change.
https://app.box.com/s/ezd4k68li6g6f1mqp8u2
After you change all style in style.xml it's time for recompiling.
Again, open cmd prompt ("SHIFT"+right click) and write :
apktool b settings (without ".apk")
If you did all like you should you won't get any error.
Now open c:\Android\APK\dist
and you'll see settings.apk.
Copy it to your device
Wait......
It's not finished
As settings.apk is system app we have to sign it.
Open ZipSigner on your device and :
1.click "Choose In/Out...." - find and select your settings.apk (the one you just copied)
2.click "Key/mode": select "platform"
3.click "Sign The File"
........wait......
...and that's it, now just find your newly MODed and signed file and simple install it like any other app.
Next tutorial : how to change solid background colour to show your picture (any picture) in "calls" "email" "settings" clock" - MOD framework-res.apk....
Something like this:
Or even this...hahaha
update 05/10/2013 !!!
edit .9.png file correctly!
Remember, decompile apk and then edit .9.png files!
If you open the .9.png in the decompiled app and edit it with "Gimp" or "Photoshop" while leaving the pre-drawn boarder there, you'll be able to recompile the apk with a properly edited and themed .9png
How to edit smali files!
This is for advanced users or developers.
I'm still learning and trying to understand smali files so I won't trying to get smart ...
I'll share one great thread (TUTORIAL) and we could learn together.
tnx to @Yorzua for this awesome tutorial.
...and do awesome things like this :
SMALI editing TUTORIAL
Another nice tutorial for smali editing (beginners friendly)
SMALI editing TUTORIAL for beginners
I put this to the end of this thread purposely - editing or even understanding smali files isn't simple.
So go one step by step, don't try to edit smali files immediately after you learned how to decompile apk file - you'll failed and probably quit from any other MODing, theming or editing.
All great developers spent hours and hours to learn all this so you can't expect you'll know everything after 15min.
You'll get errors while compiling and decompiling and that"s perfectly normal, don't get angry...
Read what apktool "said" , fix your mistakes and move on.
It's very important to go step by step , especially when you trying to find bug.
Fix or edit line by line and compile after each part, compile and test app.
That's all for now guys...
see ya later
..............................................................
Tnx to: @niaboc79 (for tips and learning me some tricks) @abo hani (I used his settings.apk for screenshots) @Xda For many stuff
If I helped you - say tnx ...:thumbup:
if you need help...well just ask here
nice funky
GoodJob Funky
Tnx guys
Thanks guys...
It's not much and I hope you could understand what I wrote.
I just wanna give back something to this great community which gave me so much
Really nice tut
Just, please, guys when someone finish editing - let me know is it o.k, should I add something or you completed all without any problems
Tnx
Sent from my LT26i using Tapatalk 4
thanks very much for this easy tutorial, and yeah, it was way easier than others that i saw in some threads....
im bookmarking ur thread for now, and sure one day i'll be back and start up with practice
i love to mess around with the phone as i learned few things until i reach the level of an DEV (why not )
:good:
Tonight I'll post a tutorial for framework editing.
[HOW TO] change all backgrounds to your favourite picture.
In settings, email, clock, call....
Your background will stay there which ever settings or clock you using, you can change your settings.apk but your background will stay...
(as long as you don't change framework).
See ya tonight
Sent from my LT26i using Tapatalk 4
Actually.. Mate, when r u releasing ur work?? I'm looking for a bug free build of Honami settings.. Tried all of em in Themes secion.. Apparently they all have the stuttering when sliding for the fist time(just like in .200 and .211 builds).. Do urs too have it??
Hmm....mine work?
My work, for now , is helping guys in their ROMs.
I don't know that much to BUILD ROM from the sources.
So the question is do we really need one more rom based on stock 96?
I think we don't.
When I learn all stuff I need (and there's plenty stuff to learn - smali for example) I will build something.
But that won't be (most likely) for XS but for Z1.
Swipe settings, modified Home launcher will have all options like we saw in 2.0.5b.
Modified framework and many stuff more.
That's why I prepare everything.
I just don't wanna release clone of a clone...
If I can't make something really different I'll rather skip it for now.
Sent from my LT26i using Tapatalk 4
@funky0308, mate i've just learned how to use apktool and how to decompile and recompile apk, so can you post your " Next tutorial : how to change solid background colour to show your picture" hahaha thanks mate!
EDIT: or can you post a tutorial on how to make a transparent background on all of the apps. hehe ^____^
slink722 said:
@funky0308, mate i've just learned how to use apktool and how to decompile and recompile apk, so can you post your " Next tutorial : how to change solid background colour to show your picture" hahaha thanks mate!
EDIT: or can you post a tutorial on how to make a transparent background on all of the apps. hehe ^____^
Click to expand...
Click to collapse
I was planning to release it but it's almost impossible to genaralise tutorual because we have millions of framework.
I'll write one for stock firmware.
Sent from my LT26i using Tapatalk 4
funky0308 said:
I was planning to release it but it's almost impossible to genaralise tutorual because we have millions of framework.
I'll write one for stock firmware.
Sent from my LT26i using Tapatalk 4
Click to expand...
Click to collapse
haha. ok ok. thanks you again. i understand. im so excited about ur new rom. any changelogs already? haha. gudlak!
slink722 said:
haha. ok ok. thanks you again. i understand. im so excited about ur new rom. any changelogs already? haha. gudlak!
Click to expand...
Click to collapse
There is no my new ROM guys...
If you heard somewhere something you could only heard that I helped some guys.
There was some plans but as I said - nothing for now.
No sense to release same ROM or copy of the copy...
If I succeed on some things I'm working on - then I'll release something but only if I succeed.
Sent from my LT26i using Tapatalk 4
@funky0308 Im Studying Java and Smali.. I Know maybe 6% Already.. Buy suggestion on your case, if you want to port or to be themer. use Virotus Ten studio. It Can Generate the smali to java class. but you need to edit it on smali.
Tnx mate, very nice
Sent from my LT26i using Tapatalk 4
funky0308 said:
Tnx mate, very nice
Sent from my LT26i using Tapatalk 4
Click to expand...
Click to collapse
Mate? Im Getting Dizzyy. could you help me Changing it to white? my Settings// Im getting Crazy with my developments. Kernels + ROM.. Could you help me on my white? Setting
---------- Post added at 02:24 PM ---------- Previous post was at 02:21 PM ----------
Nvm.. Im Done.
How you change wifi and bluetooth on off switch????
Which file i need to edit to remove on and off in round switch
Sent from my ST21i2 using xda premium
I want to edit on off switch like you
Help me
AND also how to choose different backround color for on off switch
Sent from my ST21i2 using xda premium
Hello sir plz help me to port ios like on/off switch
I ported by editing framework-res.apk
And i have a problem
1.how to remove on off in round switch
2.how to change backround colour
To red
And how to resize it to correct round shape and small one
Sent from my ST21i2 using xda premium

[Guide] [Fix] Some Fix For Apktool For android

hello friends
I have seen too many users got problem using apktool for android.
I also got problem...
But i studied the problem n just tried to fix it & guess what..??
My thinking fixed that problem
Now i want to help you all
You want to download apktool & its data files ( dont ask me for that )
Also you need a rooted phone to use rootex & apktool)
Guide 1
Now the steps:-
follow carefully......
This fix is If you get error about Mydata
1) Download apktool & data files ( i have the apktool 4.1 armel version dont know it will work for another version
2) Extract it to Sdcard/*Here*
3) Go to sdcard/Apktool & install apktool4.1.apk
4) Open it Give root access..
5) Now in aptool go to Sdcard/Apktool & select any file( tap&hold for 2 seconds) & there will be a option of "Set as apktool data folder"
6) now use rootex or similar file manager & go to system/framework/ &copy framework_res.apk to ur sdcard
7) Tap on framework_res.apk scroll down & select "IMPORT AS FRAMEWORK"
8) Now copy framework-res.apk to your sdcard (via rootex) tap on framework_res.apk & select 1st option decompile all ( If you get any error in decompiling then follow next step)
9) Open rootex go to data/data/per.pqy.apktool/ now delete mydata file
10) Now open rootex & go to sdcard/apktool/ & use multi select option n select all files & folders & only unselect "apktool4.1.apk" now copy all that files to "mydata" folder (make new folder anywhere in sdcard )
11) After completing step 10 then copy/move "mydata" folder to data/data/per.pqy.apktool/*Here* via rootex...
12) you have completed all steps now no more steps just open apktool n modify your Device system files or any apk/jar
*+*+REMEMBER+*+*
This Errors was Fixed by me no one helped me to fix this problem or i not copyed someons idea (its my fixing style)
So give all credits to me....,,,,
Guide 2
This guide is only if you have this errors
Screenshot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1)Install apktool following guide1 (only 7 steps)
2)Then download this https://www.dropbox.com/s/p88gb8ze62peomp/Apktool Error Fix.zip
3)Now flash that zip via cwm recovery
4)Now this error is fixed
Now enjoy apktool
happy moding
Again this errors was Fixed by me
Credits:
Only Me
Note
The guide is for Galaxy pocket & Similar device
Try on yours & give feedback
Sent from my GT-S5300 using Tapatalk 2
IDK about Which Bugs Fix Are You Giving,,Coz I Dint Have Any Problem With Android Apktool
Himan Boro said:
IDK about Which Bugs Fix Are You Giving,,Coz I Dint Have Any Problem With Android Apktool
Click to expand...
Click to collapse
@Himan Boro
You not got any errors
but there are some users who get some errors
this 2 are the fixes there are more but i dont know them
i'll update thread when i get more fixes
chanbhavane said:
@Himan Boro
You not got any errors
but there are some users who get some errors
this 2 are the fixes there are more but i dont know them
i'll update thread when i get more fixes
Click to expand...
Click to collapse
Ok Bro..Keep It Up..
Himan Boro said:
Ok Bro..Keep It Up..
Click to expand...
Click to collapse
Yeh
i will
Thnx
Thanks for this...it help a lot
ned007 said:
Thanks for this...it help a lot
Click to expand...
Click to collapse
Mention not bro
Just hit the thanxx button
help file not exist "APKTOOL.YML"
chanbhavane said:
Mention not bro
Just hit the thanxx button
Click to expand...
Click to collapse
got an error it shows file not exist apktool.yml sir ..any fix for this
dansoy92 said:
got an error it shows file not exist apktool.yml sir ..any fix for this
Click to expand...
Click to collapse
Recompile time?
Will this work when decompile and recompile framework.jar? I it's work, I love you dude
GalKill said:
Will this work when decompile and recompile framework.jar? I it's work, I love you dude
Click to expand...
Click to collapse
It must work
but for that u need:
too much patients
lots of memory
& all apps closed while decompile (only apktool open) it will hang if not done
i tried but stoped after some time ( i dont have patients) :silly:
chanbhavane said:
Recompile time?
Click to expand...
Click to collapse
yes sir when recompiling settings.apk
dansoy92 said:
yes sir when recompiling settings.apk
Click to expand...
Click to collapse
actually from your decompiled settings.apk folder the file created apktool.yml is ither deleted or corrupted so that is prob
decompile settings.apk again & start moding & after moding recompile it :good:
chanbhavane said:
actually from your decompiled settings.apk folder the file created apktool.yml is ither deleted or corrupted so that is prob
decompile settings.apk again & start moding & after moding recompile it :good:
Click to expand...
Click to collapse
will try it sir..thanks for your reply
dansoy92 said:
will try it sir..thanks for your reply
Click to expand...
Click to collapse
mention not
give feedback
chanbhavane said:
mention not
give feedback
Click to expand...
Click to collapse
can't fix sir maybe it's on my apktool problem or maybe my ROM using
dansoy92 said:
can't fix sir maybe it's on my apktool problem or maybe my ROM using
Click to expand...
Click to collapse
have you imported framework-res.apk & twframework-res.apk?
fix now
chanbhavane said:
have you imported framework-res.apk & twframework-res.apk?
Click to expand...
Click to collapse
thank's GOD sir It is FIXED now I import framework-res.apk and TW as is..then i move simply the settings.apk to the root of my SDcard then it was fixed thank u sir for reminding me to IMPORT THOSE things :fingers-crossed:
dansoy92 said:
thank's GOD sir It is FIXED now I import framework-res.apk and TW as is..then i move simply the settings.apk to the root of my SDcard then it was fixed thank u sir for reminding me to IMPORT THOSE things :fingers-crossed:
Click to expand...
Click to collapse
Good to know your prob fixed
:angel:
GalKill said:
Will this work when decompile and recompile framework.jar? I it's work, I love you dude
Click to expand...
Click to collapse
yes it'll work
but it'll take too much time to compile & recompile

Categories

Resources