ICS blue notification icons - Samsung Galaxy Nexus

I did a search but could not find a theme that changes all the notification icons in the notification bar (i.e. for talk/ gmail/ whatsapp etc etc) + the alarm clock & vibrate icon to ICS blue.
Is there a theme out there that does exactly that?

I already made a few of these for a widget, I can make a set and upload them. You would have to adb pull SystemUI.apk, replace the png's, and then push it back to system/app.

Thank you very much!
But before you go any length, let me please read up on what you just said

What rom are you using? I can throw them in for you.

Without doing it for me- that just deserves another thank you
At this moment I'm on AOKP b27 but that varies quite a bit
So instead of you doing all the work for me (may be it is best to learn it myself since I change ROMS fairly often), would you care to help me a bit?
This is what I've found:
1. Root is prerequisite. If you're using stock rom, you can obtain cf-root from here.
2. Install android sdk from here. Eclipse is optional. The essential stuff we need is the adb from the sdk.
3. Please make a backup using cwm in case you end up deleting or corrupting your phone.
4. Connect your phone to the pc.
5. Open cmd and type cd C:\android\tools . (Depends on where is your sdk tools folder)
6. type adb pull /system/app/SystemUI.apk (Status Bar Modding)
7. Alright, now edit the .apk to .zip in your tools folder.
8. Open up the zip and replace the mdpi files inside with the one you prepared.
9. After all the changes, change the .zip back to .apk
10. Open cmd and type cd C:\android\tools . (Depends on where is your sdk tools folder)
11. type adb push SystemUI.apk /system/app/SystemUI.apk
12. Reboot your phone.
Courtesy of terrymcnuggets in this topic.
My questions; regarding
7. Alright, now edit the .apk to .zip in your tools folder; and
9. After all the changes, change the .zip back to .apk
Do i rename the .apk to .zip or do I create a .zip?
AND
8. Open up the zip and replace the mdpi files inside with the one you prepared.
the files you would be prepared to share are mdpi files? not .png?
The icons I want in ICS blue (#FF33B5E5 - or same color as the time etc in te notifcation (top) bar) are: Bluetooth icon, Vibrate icon, Alarm icon, and all of the notication icons (talk/ gmail/ whatsapp etc)
If you'd rather point me out in the directio on how to change them myself that would be great too (Photoshop?)
Many many thanks for your time

Ti2 said:
Without doing it for me- that just deserves another thank you
At this moment I'm on AOKP b27 but that varies quite a bit
So instead of you doing all the work for me (may be it is best to learn it myself since I change ROMS fairly often), would you care to help me a bit?
This is what I've found:
1. Root is prerequisite. If you're using stock rom, you can obtain cf-root from here.
2. Install android sdk from here. Eclipse is optional. The essential stuff we need is the adb from the sdk.
3. Please make a backup using cwm in case you end up deleting or corrupting your phone.
4. Connect your phone to the pc.
5. Open cmd and type cd C:\android\tools . (Depends on where is your sdk tools folder)
6. type adb pull /system/app/SystemUI.apk (Status Bar Modding)
7. Alright, now edit the .apk to .zip in your tools folder.
8. Open up the zip and replace the mdpi files inside with the one you prepared.
9. After all the changes, change the .zip back to .apk
10. Open cmd and type cd C:\android\tools . (Depends on where is your sdk tools folder)
11. type adb push SystemUI.apk /system/app/SystemUI.apk
12. Reboot your phone.
Courtesy of terrymcnuggets in this topic.
My questions; regarding
7. Alright, now edit the .apk to .zip in your tools folder; and
9. After all the changes, change the .zip back to .apk
Do i rename the .apk to .zip or do I create a .zip?
AND
8. Open up the zip and replace the mdpi files inside with the one you prepared.
the files you would be prepared to share are mdpi files? not .png?
The icons I want in ICS blue (#FF33B5E5 - or same color as the time etc in te notifcation (top) bar) are: Bluetooth icon, Vibrate icon, Alarm icon, and all of the notication icons (talk/ gmail/ whatsapp etc)
If you'd rather point me out in the directio on how to change them myself that would be great too (Photoshop?)
Many many thanks for your time
Click to expand...
Click to collapse
7. Yes, change the extension to zip. Alternatively simply open it with 7zip/winrar or another archiver.
8. mdpi is the name of the folder. when you open the apk with the archiver you will see a folder called /res/ and inside a couple of drawable[xxx] folders. in theory you should only have to modify files in the drawable xhdpi folder (since the gnex is a xhdpi device). I would suggest extracting the whole /res/ folder and looking in it.
9. if you changed the extension to .zip, change it back to apk. otherwise simply drag and drop the modified files in the correct folders.
PS: make sure you save the original SystemUI.apk somewhere, in case the modifications don't work as expected and you want to revert to the original one
Good luck!

Ok, just to be safe.
1. I connect my phone with usb and type adb pull /system/app/SystemUI.apk in cmd
2. I copy that file to 2 different locations (1 to be sure I have the original in case I screw up , 1 to try and modify)
3. I type adb push /system/app/SystemUI.apk so that my phone is still in good state
Then I go to 1 of the saved SystemUI.apk and rename it to SystemUI.zip
I search for the folder /res/ and look for the notification icons etc which I would like to change the color
Change the color of the .png files with the ICS color in photoshop and replace them
Rename SystemUI.zip back to SystemUI.apk
In cmd I type adb push /system/app/SystemUI.apk and reboot
Did I understand it all correctly? Thanks

Ti2 said:
Without doing it for me- that just deserves another thank you
At this moment I'm on AOKP b27 but that varies quite a bit
So instead of you doing all the work for me (may be it is best to learn it myself since I change ROMS fairly often), would you care to help me a bit?
This is what I've found:
1. Root is prerequisite. If you're using stock rom, you can obtain cf-root from here.
2. Install android sdk from here. Eclipse is optional. The essential stuff we need is the adb from the sdk.
3. Please make a backup using cwm in case you end up deleting or corrupting your phone.
4. Connect your phone to the pc.
5. Open cmd and type cd C:\android\tools . (Depends on where is your sdk tools folder)
6. type adb pull /system/app/SystemUI.apk (Status Bar Modding)
7. Alright, now edit the .apk to .zip in your tools folder.
8. Open up the zip and replace the mdpi files inside with the one you prepared.
9. After all the changes, change the .zip back to .apk
10. Open cmd and type cd C:\android\tools . (Depends on where is your sdk tools folder)
11. type adb push SystemUI.apk /system/app/SystemUI.apk
12. Reboot your phone.
Courtesy of terrymcnuggets in this topic.
My questions; regarding
7. Alright, now edit the .apk to .zip in your tools folder; and
9. After all the changes, change the .zip back to .apk
Do i rename the .apk to .zip or do I create a .zip?
AND
8. Open up the zip and replace the mdpi files inside with the one you prepared.
the files you would be prepared to share are mdpi files? not .png?
The icons I want in ICS blue (#FF33B5E5 - or same color as the time etc in te notifcation (top) bar) are: Bluetooth icon, Vibrate icon, Alarm icon, and all of the notication icons (talk/ gmail/ whatsapp etc)
If you'd rather point me out in the directio on how to change them myself that would be great too (Photoshop?)
Many many thanks for your time
Click to expand...
Click to collapse
That's a great attitude!!! Good for you for taking it in your own hands!!!
Sent from my Galaxy Nexus using Tapatalk

Ti2 said:
Ok, just to be safe.
1. I connect my phone with usb and type adb pull /system/app/SystemUI.apk in cmd
2. I copy that file to 2 different locations (1 to be sure I have the original in case I screw up , 1 to try and modify)
3. I type adb push /system/app/SystemUI.apk so that my phone is still in good state
Then I go to 1 of the saved SystemUI.apk and rename it to SystemUI.zip
I search for the folder /res/ and look for the notification icons etc which I would like to change the color
Change the color of the .png files with the ICS color in photoshop and replace them
Rename SystemUI.zip back to SystemUI.apk
In cmd I type adb push /system/app/SystemUI.apk and reboot
Did I understand it all correctly? Thanks
Click to expand...
Click to collapse
1. the command is: adb pull /system/app/SystemUI.apk <location>
<location> would then be, for example, c:\temp
so, adb pull /system/app/SystemUI.apk c:\temp
2. then you create a copy of the SystemUI.apk from you c:\Temp folder
3. no need to push it back. adb pull simply copies a file from the filesystem
Then you go about and do all the other stuff (extract, edit, etc.)
Finally, when all is done you must do this:
In cmd type:
mount -o rw,remount /dev/block/mmcblk0p1 /system
adb push <location/SystemUI.apk> /system/app
where <location> is the place where you have the file. so the command would be, for example:
adb push c:\temp\SystemUI.apk /system/app

can you provide the zip with the png images. I would like it so i can install via root explorer. thanks in advance!

Hey guys, I finished the set, the download link is in my icon thread since that's where the rest of my holo themed/ics blue work is.
http://forum.xda-developers.com/showthread.php?p=22296313

mrfenyx said:
1. the command is: adb pull /system/app/SystemUI.apk <location>
<location> would then be, for example, c:\temp
so, adb pull /system/app/SystemUI.apk c:\temp
2. then you create a copy of the SystemUI.apk from you c:\Temp folder
3. no need to push it back. adb pull simply copies a file from the filesystem
Then you go about and do all the other stuff (extract, edit, etc.)
Finally, when all is done you must do this:
In cmd type:
mount -o rw,remount /dev/block/mmcblk0p1 /system
adb push <location/SystemUI.apk> /system/app
where <location> is the place where you have the file. so the command would be, for example:
adb push c:\temp\SystemUI.apk /system/app
Click to expand...
Click to collapse
I'll start from here (when I can find some time), when I have further questions I'll post them here. Thanks for your help mate

Ti2 said:
I'll start from here (when I can find some time), when I have further questions I'll post them here. Thanks for your help mate
Click to expand...
Click to collapse
No problem, good luck. Shoot me a pm if you get stuck somewhere, don't forget to make a nandroid, etc.

Zer0_Cool said:
Hey guys, I finished the set, the download link is in my icon thread since that's where the rest of my holo themed/ics blue work is.
http://forum.xda-developers.com/showthread.php?p=22296313
Click to expand...
Click to collapse
And also a thanks to you for your help!
So, besides pulling them from systemUI.apk and putting thenm back, what more can I do? You told me you could "put them in my ROM" of choice. Since I regularly flas a diff rom, could you please explain to me how to do this before I flash the new rom?

Ti2 said:
And also a thanks to you for your help!
So, besides pulling them from systemUI.apk and putting thenm back, what more can I do? You told me you could "put them in my ROM" of choice. Since I regularly flas a diff rom, could you please explain to me how to do this before I flash the new rom?
Click to expand...
Click to collapse
What I meant was that I could take the SystemUI.apk file from whatever rom you are currently running. Different roms have different tweaks done here and there, and that's one of the larger areas of change, so I wanted to give you the correct one to avoid any potential complications.

Ok so I managed to pull the systemUI.apk an rename it to zip.
I found the following .png I ould like to change to ICS blue:
C:\noticons\SystemUI.zip\res\drawable-sw600dp-xhdpi
stat_sys_alarm.png
stat_sys_data_bluetooth.png
C:\noticons\SystemUI.zip\res\drawable-xhdpi
stat_notify_image.png
stat_notify_image_error.png
stat_notify_more.png
stat_sys_alarm.png
stat_sys_ringer_silent.png
stat_sys_ringer_vibrate.png
Now what I couldn't find the notification icons for Gmail/ Gtal/ Whatsapp etc etc; where can I find these? As well as bluetooth connected/ usb debugging icon etc

Ti2 said:
Ok so I managed to pull the systemUI.apk an rename it to zip.
I found the following .png I ould like to change to ICS blue:
C:\noticons\SystemUI.zip\res\drawable-sw600dp-xhdpi
stat_sys_alarm.png
stat_sys_data_bluetooth.png
C:\noticons\SystemUI.zip\res\drawable-xhdpi
stat_notify_image.png
stat_notify_image_error.png
stat_notify_more.png
stat_sys_alarm.png
stat_sys_ringer_silent.png
stat_sys_ringer_vibrate.png
Now what I couldn't find the notification icons for Gmail/ Gtal/ Whatsapp etc etc; where can I find these? As well as bluetooth connected/ usb debugging icon etc
Click to expand...
Click to collapse
wild guess: in the gmail, gtalk, whatsapp apks...
good luck
PS: editing non-system apps (also called market apps) is a bit tricky

Why is that tricky please?
So how do I change those icons?
adb pull /system/app/Gmail.apk c:\temp
rename to .zip
search for the icon, change
rename to .apk
mount -o rw,remount /dev/block/mmcblk0p1 /system
adb push C:/temp/SystemUI.apk/system/app
like that? Or should I really leave that alone as a n00b?

Ti2 said:
Why is that tricky please?
So how do I change those icons?
adb pull /system/app/Gmail.apk c:\temp
rename to .zip
search for the icon, change
rename to .apk
mount -o rw,remount /dev/block/mmcblk0p1 /system
adb push C:/temp/SystemUI.apk/system/app
like that? Or should I really leave that alone as a n00b?
Click to expand...
Click to collapse
Those app's weren't included in the set provided by google. What I (or you) will have to do is download the application you want to modify, extract it and find the png that is going to be changed, edit it, name it the same thing as it was before. Then, double click and open the original apk with the archive manager (to avoid re-signing), navigate to the folder the image was in (probably /res/drawable_something) and then drag the new file over. It will overwrite the old image without needing to extract/re-sign/etc. then you adb push theapp.apk /data/app/ and see if it works.
*do you really need to rename it to a .zip to extract on windows?

Zer0_Cool said:
Those app's weren't included in the set provided by google. What I (or you) will have to do is download the application you want to modify, extract it and find the png that is going to be changed, edit it, name it the same thing as it was before. Then, double click and open the original apk with the archive manager (to avoid re-signing), navigate to the folder the image was in (probably /res/drawable_something) and then drag the new file over. It will overwrite the old image without needing to extract/re-sign/etc. then you adb push theapp.apk /data/app/ and see if it works.
Click to expand...
Click to collapse
can this be actually done without having to resign the apk? I remember trying to change the icon for facebook once. I simply copied the new icon inside the apk and overwrote the existing one (same name but obviously, different size). It seemed to work at first but then the app disappeared from the app drawer (it was still in /data/app/ but I could not use it anymore). had to manually delete it and download and install again from market...
In order to get it to work I had to resign it but we know that is not the optimal way to work...

Related

Circular Battery on Status Bar

Use adb from Android SDK, the tools directory
(http://developer.android.com/sdk/index.html)
1) Pull framework-res.apk from /system/framework/ by command:
> adb pull /system/framework/framework-res.apk .
2) Make a copy of the original framework-res.apk to framework-res-original.apk in your tools folder (in case you screw things up )
3) Rename framework-res.apk in your tools folder to framework-res.zip
4) Open framework-res.zip
5) Replace the "circular battery" files I have attached to res/drawable-mdpi directory in the zip file
6) Use normal compression when replacing the files
7) Rename the zip file back to apk extension
8) Push framework-res.apk back to /system/framework by commands:
> adb remount
> adb push framework-res.apk /system/framework/
> adb shell reboot
Credit to giant_rider, I pulled the files out from his SuperEclair ROM
If anyone wants to create an signed apk for easy update, be my guest
awesome, will definitely use!
Need Help
I have tried this twice & it always reverts back to the standard battery icons. I push the new file with the circular battery files you uploaded. However, when I pull the framework file again to check the icons(after I reboot my phone & see that it hasn't changed) it its back to normal with the standard ones. I can't imagine why Any ideas ? ? ?
( M3GA ) said:
I have tried this twice & it always reverts back to the standard battery icons. I push the new file with the circular battery files you uploaded. However, when I pull the framework file again to check the icons(after I reboot my phone & see that it hasn't changed) it its back to normal with the standard ones. I can't imagine why Any ideas ? ? ?
Click to expand...
Click to collapse
Ready for Stericson's Metamorph apk
http://www.ansemreport.com/Kspec/KspecBattery.zip
raspdeep said:
5) Replace the "circular battery" files I have attached to res/drawable-mdpi directory in the zip file
Click to expand...
Click to collapse
i am confuse with this step, my original file only has "drawable" & "drawable-land" folders, so do i add a new folder containing your circular battery png called "drawable-mdpi"
my Magic just stay on the splash screen when i do this
----------------------
so i restore and try replace the circular battery png to the original battery png in my "drawable" (copy n paste)
my Magic still stay on the splash screen.
pls help
I have tried this twice & it always reverts back to the standard battery icons. I push the new file with the circular battery files you uploaded. Howe
Click to expand...
Click to collapse
Ready for Stericson's Metamorph apk
http://www.ansemreport.com/Kspec/KspecBattery.zip
Click to expand...
Click to collapse
Thanks. Can it be applyed to any rom?
-------------------------------------
Sent via the XDA Tapatalk App
Evil-Monkey said:
Thanks. Can it be applyed to any rom?
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
it worked for me on CM4.x.x.x donut and CM5
its actually very simple, just follow step (1) and pull the file, look for your original battery png files and replace it with the circular battery files, both original and circular battery status should have the same png file names
kakyoin said:
it worked for me on CM4.x.x.x donut and CM5
its actually very simple, just follow step (1) and pull the file, look for your original battery png files and replace it with the circular battery files, both original and circular battery status should have the same png file names
Click to expand...
Click to collapse
sweet. Im currently running pays 1.6 and i want to try to run an eclair but theyre all ugly as hell and i dont want a fully themed rom, i just want specific icons ect.
ive been looking into this for a while So i have some noob questions if you will.
1: do i need to "re-sign" the apk?
2: can i apply this method to all the icons on a rom.
for example, i like the "dowloading" icon from my current rom but would like it on an the eclair.
same goes for the text icon on the notifications bar, i like the green one but clair normally uses a black one
could i switch them out?
rgawenda said:
Ready for Stericson's Metamorph apk
http://www.ansemreport.com/Kspec/KspecBattery.zip
Click to expand...
Click to collapse
i tried this and metamorph wouldnt do it.
issues with cm6
i am consistantly getting an error message when trying to push the file onto the device stating that the device does not have room has this been addressed?
C:\androidSDK\tools>adb push framework-res.apk /system/framework
failed to copy 'framework-res.apk' to '/system/framework/framework-res.apk': No
space left on device
Click to expand...
Click to collapse
Keep on pushing it? I did that until it finally got transferred ..
Alternatively, you can delete the previous framework apk and push the updated one.
Sent from my HTC Magic using XDA App
Tried the original method on Fresh 1.0.1, Pulled file, edited, re-pushed, got stuck at white boot screen, the one that says HTC EVO 4G or something like that.
just get metamorph from market and dr.cloverdale black bar metamorph. replace necessary battery images in black bar zip and no need to sign or push via adb.
This battery is awsome, I'm busy with my own notification bar so I can really use this!
What really is Missing is an step right before remounting the ADB.
Try the Following Steps:
1) Pull framework-res.apk from /system/framework/ by command:
> adb pull /system/framework/framework-res.apk .
2) Make a copy of the original framework-res.apk to framework-res-original.apk in your tools folder (in case you screw things up )
3) Rename framework-res.apk in your tools folder to framework-res.zip
4) Open framework-res.zip
5) Replace the "circular battery" files I have attached to res/drawable-mdpi directory in the zip file
6) Use normal compression when replacing the files
7) Rename the zip file back to apk extension
8) Restart the phone till you get to the End of the "Boot Loop" and be able to reconnect to phone again with using ADB and Entering Following command:
> adb shell reboot
9) Then push framework-res.apk back to /system/framework by commands:
> adb remount
> adb push framework-res.apk /system/framework/
> adb shell reboot
Have Fun...
Amir.
Thanks.
Followed Amir's steps and now I have circular battery .
ROM: CursorSence
Hi guys
made this small app might help, no need to root / install new ROM / Alter framework-res.apk
it gives you circular battery indicator with percentages (up to 1% if your device supports it)
just download and install the app to your device
it works with Desire and Droid X perfectly, not sure about other devices
http://forum.xda-developers.com/showthread.php?t=809553
let me know if it worked for you
cheers
Irkan, love the app. Works perfect on my MT3g 32b with CM6, and I really like the temp stats in notification bar too. Nice work
I am on the CM nightlies and trying to replace files in the framework-res.apk and putting it back messes with my phone for some odd reason. Is there anyway someone who knows their stuff make it flashable?
root?
Hello.
Must I have root-rights to do it?
Cause, when I adb Shell it and use the first command from step 1, it says:
adb pull: permission denied.
Thx

[Tutorial] Mod your Galaxy S: dock, fonts, notification bar and more!

Modify Your Fonts​
This works with any font, even if you don't have two versions of it (Regular and Bold). Just make a duplicate of the font you want to use and rename the files to DroidSans.ttf and DroidSans-Bold.ttf. The fonts must be True Type (.ttf)!!!
Basically you need to replace the original DroidSans.ttf and DroidSans-Bold.ttf fonts from the Samsung's /system/fonts folder. There are two ways for doing this. Both of them need a rooted phone and yes, both of them can mess up your phone:
1. The mobile way (no PC needed)
- Copy the renamed DroidSans.ttf and DroidSans-Bold.ttf to the SD Card, copy them to the Samsung's /system/fonts folder and replace the original ones, using a file manager like Root Explorer mounted in R/W
2. The noob way
You must have the Android SDK Components installed.
- Go to Settings > Applications > Development and check the USB Debugging box
- Connect your SGS via USB to your computer. Do not mount in Mass Storage Mode!
- Copy a Command Prompt Window (for Windows 7 go to Start > Search > Type CMD and right click - copy it) in the android-sdk-windows\tools folder so you don't have to type all those "cd" commands and open it. Else type cd android-sdk-windows (or whatever the folder is named) and cd tools to get there
- Type adb pull /system/fonts/DroidSans.ttf and adb pull /system/fonts/DroidSans-Bold.ttf. You will see that the original fonts were copied to the \tools folder. Make a backup of them!!!
- Copy the renamed fonts you want to use (I have attached the renamed Confortaa.ttf) and replace the pulled ones in the MS Windows's adb\tools folder (again, make sure you've made a backup of the original fonts)
- Type adb push DroidSans.ttf /system/fonts/ and adb push DroidSans-Bold.ttf /system/fonts/
- Type adb reboot
I have attached the default fonts too, just in case
Later today I will make a video so all these instructions can be clear for everybody. I really don't have enough time for that right now, sry
Thanks sochet84 for the original idea
3. Thanks to SLX69's finding, there are some Flip Fonts that you just need to install and apply them from Settings > Display > Font style. Some of them are attached here.
Modify Your Notification Bar​
Follow the tutorial posted here. The credits go to MacaronyMax. Thanks!
I'm currently working on moding other things like icons, menu, keyboard and I'll keep you posted.
how did you change the taskbar ? exactly the transparent like this
Modify Your Dock
Modify Your Dock​
- Type adb pull /system/app/TouchWiz30Launcher.apk You will find the TouchWiz30Launcher.apk copied to the \tools folder. Make a backup!!! Maybe you'll need to put it back later.
- Open TouchWiz30Launcher.apk using WinRAR or an equivalent application and browse to the \res\drawable-hdpi folder, within WinRAR. Do not extract it!
- Drag and drop homescreen_menu_mainmenu_bg.png from the attached WhiteDock.zip in the \res\drawable-hdpi folder and close WinRAR
- Go back to the CMD window and type adb push TouchWiz30Launcher.apk /system/app
- Type adb reboot
The result is posted below. You can modify the homescreen_menu_mainmenu_bg.png image in any way you want and please post your results here. Of course, all those repetitive steps can be automated, but for the moment I don't have time to study how to. If you have any ideas, please post them, just don't brick anyone's phones
Edit: I have attached my TouchWiz30Launcher.apk files as well, in the .zip files. Can someone please try to push them to /system/app using adb, to see if they work, even if they're not extracted from their own phone? Note that I'm using an European SGS. Not working.
Post Reserved
Post reserved
Thank you man! This is handy!
How did you get the little moon and time like that? Is it in beautiful widgets?
Yes, it's Beautiful Widgets.
Sent from my GT-I9000 using XDA App
Great tutorial man! Very handy!
great tutorial! thanks!!!
Really nice, thanks!
Hi, i have a little problem.
I can pull the framework_res.apk onto my computer, but i cant push it back to the sgs, because i get an "permission denied" error.
Last login: Fri Aug 13 17:02:34 on ttys001
lukas-mac:tools lukasborek$ ./adb pull /system/framework/framework-res.apk
4476 KB/s (7174697 bytes in 1.565s)
lukas-mac:tools lukasborek$ ./adb push framework-res.apk /system/framework/
failed to copy 'framework-res.apk' to '/system/framework//framework-res.apk': Permission denied
Click to expand...
Click to collapse
Any suggestions?
thx
I have a problem with it...
I get the message:
failed to copy 'TouchWiz30Launcher.apk' to ' /system/app/TouchWiz30Launcher.apk'ermission denied
I run JM5 and on Win7 64bit if that's any help
Google for the Root Explorer app, instal and open it, press "Mount R/W".
Go to the system folder and long-press on it. Select "Permissions" and check all the boxes.
Do the same with the "framework" file.
Tell me if it works.
Sent from my GT-I9000 using XDA App
loinenavant said:
Google for the Root Explorer app, instal and open it, press "Mount R/W".
Go to the system folder and long-press on it. Select "Permissions" and check all the boxes.
Do the same with the "framework" file.
Tell me if it works.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Like a charm. Well I only tested the dock so far but I think I'll have a look to see what else is in that apk before I go to framework
Thx a lot
it works for the font. but how to undo it? i use the 1st method copy and paste. but somehow the font seems too small for me, how to switch back the original's?
If you didn't made a backup to put them back, you'll need to reflash. Or wait a few hours for me to post them here
Sent from my GT-I9000 using XDA App
i didnt know it was refering to the back up of the original font. blur me. i shall wait for u to post it here. really thanks alot!! actually this font is nice but seems abit small. haha if possible post more variety of fonts for us to choose from. hehe.
kindaichi24 said:
i didnt know it was refering to the back up of the original font. blur me. i shall wait for u to post it here. really thanks alot!! actually this font is nice but seems abit small. haha if possible post more variety of fonts for us to choose from. hehe.
Click to expand...
Click to collapse
Just Google for *.ttf fonts
Sent from my GT-I9000 using XDA App
i manage to found the file. thanks a million. anyway the glass notification bar tutorial i dont understand step 5 and 6. can elaborate on it? sorry for the trouble. i already pull out the framework-res.apk and its in the tools folder. but wad to do afterward???? i cant find \res\drawable-hdpi folder

[GUIDE] A Beginner's Guide To Theming

The basic part of a theme is the UI (User Interface) icons.
These icons are situated in three system files:
1. framework-res.apk
2. twframework-res.apk
3. SystemUI.apk
NOTE: Your phone should have the de-odexed versions of these files.
You may get them here http://android.modaco.com/topic/342915-samsung-galaxy-s-deodexedzipaligned-xxjvq-files/#entry1754033 .
MISSION 1 (GET THE FILES)
In order to get these files your phone needs to be rooted and you should have a system file explorer like Yaffs Explorer. The easiest way to root your phone is by flashing a kernel that provides root.
The framework-res.apk is situated in the folder /system/framework/
The twframework-res.apk is situated in the folder /system/framework/
The SystemUI.apk is situated in the folder /system/app/
Copy those files and put it in your sd card and then transfer those files to your PC.
These files will be used as the template for the new theme.
[OPTIONAL] Make a copy of these three files as back-up.
MISSION 1 COMPLETE
MISSION 2 (THE MYSTERIOUS CHANGE)
In order to change the icons there are three ways
a.The Easy way (not the correct way: might cause FCs )
b.The Hard way (recommended for risk takers )
c.Use the online theme kitchen (recommended for beginners )
[ http://uot.dakra.lt/ ]
NOTE:You may have to use both b. and c.
a. The Easy way
You need a program like 7-zip installed in your PC.
Method
-Open the apk using 7-zip.
-Go to the folder named res
-Extract the folder named drawable-hdpi
-Edit the images you want to edit [ DO NOT EDIT .9png IMAGES ]
-Replace the original icons with modified icons(drag & drop into
drawable-hdpi folder)
Tips
-Keep the original image dimensions
-Don't edit .9 pngs
b. The Hard way
This consists of decompiling the apk, modifying the required images, compiling the modified
images and replacing the original icons with the compiled icons.
You will need:
1.Apk Manager
(go here for instructions http://forum.xda-developers.com/showthread.php?t=695701 )
2.xUltimate compiler
(go here for instructions http://www.droidforums.net/forum/xeudoxus/47283-release-xultimate.html )
3.7-zip
Method
-Go to the main folder of Apk Manager
-Put the apk in the folder named place-apk-here-for-modding
- In order to decompile all APKs when working with the i9000, you have to install the framework files with apktool.
- Download apktool and put it on an easy accessable place (like C:\)
- Also put the STOCK framework-res.apk and twframework-res.apk files in the same directory.
- Open a new CMD (Press Windows Key + R), write CMD and press ENTER.
- type "cd .." (without the quotes)
- repeat the "cd .." so you're on C:\ now.
- write: java -jar apktool.jar if framework-res.apk
- repeat, just with twframework-res.apk: java -jar apktool.jar if twframework-res.apk
- This will ensure, it will load the correct resource table and you won't have any errors because of the dependees
-Run Script.bat file
-Select option 9 to decompile the apk
-Go to the folder named "projects" (the decompiled apk folder should be there)
-Inside the decompiled apk folder go to the folder /res/drawable-hdpi
-Modify the icons you want to change(KEEP THE BORDERS OF .9png IMAGES
UNTOUCHED)
-Open the main folder for xUltimate
-Go to the folder \example1\res\drawable-hdpi
-Delete the icons present there
-Put the modified icons
-Go to the main folder for xUltimate and run the xUltimate.exe file
-The compiled icons can be found in the folder
\done\example1\res\drawable-hdpi
-Replace the original icons with the compiled icons USING 7-zip
MISSION 2 COMPLETE
MISSION 3 (SEE THE CHANGE)
To see how your new theme looks like, you should put the modified files back to where they
belong.
There are two ways of doing this:
1. By using the system file explorer
Before doing so make sure that the system is write-enabled. You can do this
by using Damian Tweak app. If you are using Yaffs Explorer make sure you
have enabled root access
in the app's settings.
2. By making a CWM package (safer)
Use the Zip file provided. Replace the original files with moded files and install
using
CWM.
MISSION 3 COMPLETE
HAPPY THEMING
reserved
reserved
I have to thank you so much!
The first Tutorial I found that was understandable for beginners too.
Big Big Big Thanks!
nightm4r399 said:
I have to thank you so much!
The first Tutorial I found that was understandable for beginners too.
Big Big Big Thanks!
Click to expand...
Click to collapse
I'm glad it helped .
Exactly what I needed. Thank you for good guide.
hackeron said:
Exactly what I needed. Thank you for good guide.
Click to expand...
Click to collapse
Great .
Btw do you know how to make this a Sticky Thread?
SCIENTYREAL said:
Great .
Btw do you know how to make this a Sticky Thread?
Click to expand...
Click to collapse
You have to ask a moderator to do this
I have some additions to the guide
The red code is added by me.
Method b) the hard way
-Go to the main folder of Apk Manager
-Put the apk in the folder named place-apk-here-for-modding
- In order to decompile all APKs when working with the i9000, you have to install the framework files with apktool.
- Download apktool and put it on an easy accessable place (like C:\)
- Also put the STOCK framework-res.apk and twframework-res.apk files in the same directory.
- Open a new CMD (Press Windows Key + R), write CMD and press ENTER.
- type "cd .." (without the quotes)
- repeat the "cd .." so you're on C:\ now.
- write: java -jar apktool.jar if framework-res.apk
- repeat, just with twframework-res.apk: java -jar apktool.jar if twframework-res.apk
- This will ensure, it will load the correct resource table and you won't have any errors because of the dependees
-Run Script.bat file
-Select option 9 to decompile the apk
-Go to the folder named "projects" (the decompiled apk folder should be there)
-Inside the decompiled apk folder go to the folder /res/drawable-hdpi
-Modify the icons you want to change(KEEP THE BORDERS OF .9png IMAGES
UNTOUCHED)
-Open the main folder for xUltimate
-Go to the folder \example1\res\drawable-hdpi
-Delete the icons present there
-Put the modified icons
-Go to the main folder for xUltimate and run the xUltimate.exe file
-The compiled icons can be found in the folder
\done\example1\res\drawable-hdpi
-Replace the original icons with the compiled icons USING 7-zip
Click to expand...
Click to collapse
Darkyy said:
You have to ask a moderator to do this
I have some additions to the guide
The red code is added by me.
Method b) the hard way
Click to expand...
Click to collapse
Thanks for replying Darkyy .
So, i Get a ADB not found thing? WHat should i do?
roxyroot said:
So, i Get a ADB not found thing? WHat should i do?
Click to expand...
Click to collapse
You should have Android SDK installed for Apk Manager to work.
The link on how to use Apk Manager is given in the first post, under apk manager. I'll post it again here
http://forum.xda-developers.com/showthread.php?t=695701
Here is the link for Android SDK
http://developer.android.com/sdk/index.html
Btw you should also have Java Development Kit (JDK) installed.
I cant seem to find the twframework-res.apk, it's not in the system/framework folder. I have a sony ericsson play.
Do you know where the android settings menu icons are? the ones you see when you go into android settings. Like wireless & Networks, call settings, sound and so on.
thanks great guide.
SCIENTYREAL said:
You should have Android SDK installed for Apk Manager to work.
The link on how to use Apk Manager is given in the first post, under apk manager. I'll post it again here
http://forum.xda-developers.com/showthread.php?t=695701
Here is the link for Android SDK
http://developer.android.com/sdk/index.html
Btw you should also have Java Development Kit (JDK) installed.
Click to expand...
Click to collapse
I have android SDK (obviously), JRE and i used it the same way given, stilll..The error..I have a SGS SCL i9003...
hackit said:
I cant seem to find the twframework-res.apk, it's not in the system/framework folder. I have a sony ericsson play.
Do you know where the android settings menu icons are? the ones you see when you go into android settings. Like wireless & Networks, call settings, sound and so on.
thanks great guide.
Click to expand...
Click to collapse
Twframework-res is only found in Samsung devices. No need to worry about it. The settings icons are found in settings.apk. Settings.apk is inside the folder system/app.
Sorry for replying late.
bangalorerohan said:
I have android SDK (obviously), JRE and i used it the same way given, stilll..The error..I have a SGS SCL i9003...
Click to expand...
Click to collapse
To be honest I don't know the exact cause of the error. Have you updated Android SDK. You should click on the main SDK icon and it should show all the available updates. Select
the updates and download the files. Sorry if you have already done it.
Sorry for the late reply.
:laugh:
I forgot how to do it and now I am reading my own guide.
Thanks for this great guide! Will come in handy soon

[Q] Changing App Drawer Icons

I've recently started going wild with icons on my phone. However at the minute I haven't ventured past the launcher. I am looking into changing all my apps icons so that the drawer also contains these logos. Sadly I am unsure on how to go about these. I'd appreciate it if someone could give me a few pointers.
Thanks in advance!
Hi,
Depend of your launcher,if it's the stock or the common launchers (Nova,Apex) it's not possible,not yet.Or maybe Apex wich support themes.But just to change the icons in the app drawer,no.Maybe Go Launcher or ADW...
If you want to change yourself the icons of your apps (system or other apps),opens with Winrar (it is the only one I use),just open,and navigate to res/drawable-xhdpi,then to identify the icon that launches the application (ie one that is visible in the app drawer) search the .png named "ic_launcher_****.png".
For example for:
Mms.apk->ic_launcher_smsmms.png
Settings.apk->ic_launcher_settings.png
Phone.apk->ic_launcher_phone.png
Etc...
Replace these icons with yours with the exact name,just drag and drop them,close winrar and you're good.
You also do it directly on your phone with Root explorer for example.
This method change also the icons on your home,necessarily.
PS:from your PC,just take all the system app you want changed from your current ROM and need root for these kinds of changes...
Hope this helps you if I understand right your request...
Thanks for the reply!
I'm using Nova sadly, so it seems the long winded way is the only way to do it. Do you know if it will effect apps updating? I assume if the app does update the default logo will be restored?
Re,
Sorry,I really do not know to this question...I mean is that the updated application will be possible if it was modified?
I just changed icons for system apps (Mms.apk and Phone.apk wich don't update by themself) for other apps which may have an updated by the Play Store...I'm not sure...if it does not block the update,your application will have the stock icon again I think.
Yes the method by opening each application to replace the icons is tedious,but now with Nova it's the only solution...
We can always hope Nova adds a feature for it eh? Thank you again for your help! Time to get icon changing!
Sent from my Galaxy Nexus using XDA
Re,
Yes,Nova launcher User Voice:http://feedback.novalauncher.com/forums/145180-nova-feature-requests
There have been requests to change the icons in the app drawer,strangely there has not been many votes...Les than for Apex Launcher...
And you're welcome
nice to see someone else having a try lol
have a look at some of my posts,see if they can help you in anyways,i've been editing apk's for 6 month now lol,i used to use root explorer & rom toolbox pro...........now i stay well clear of them now and use adb,some ppl find it hard to use,i did at 1st,but after 1 use,it's the easiest program to use.........
1. DOWNLOAD ZIP CALLED adb_fastboot_and_ther_tools,i can't upload it as its too big lol
2. EXTRACT IT ANYWHERE
3. INSIDE IS A FOLDER CALLED ANDROID,MOVE THIS TO C: DRIVE
4. EDIT YOUR APK OF CHOICE BUT HAVE TO COPIES OF THE ZIP FILE
5. EXTRACT 1 BUT LEAVE THE OTHER UN EXTRACTED
6. WHEN FINISHED EDITING YOUR ICONS IN 1 FOLDER,GO TO YOUR UN EXTRACTED APK,DOUBLE CLICK IT,THEN DELETE Res folder
7. now drag your res folder from the open folder to the zip where u just deleted and click ok
8. now open android folder and move your unzipped apk to it
9. make sure your phone is plugged in to your pc and is in CHARGE ONLY
10. USE ES FILE EXPLORER TO MAKE YOUR PHONE IN WRITE MODE
11. right click on cmd in the android folder,run as administrator
12. cmd window appears,type in adb devices and hit enter
13. your phone should appear after a few seconds
14. IF all good up to now u need to send your apk via adb......here's an example
15. if editing a system app,delete the old 1 first eg Settings.apk
15. adb push Settings.apk system/app
16. once pushed,set permissions to RW-R-R
17. REBOOT..........ALL DONE
i've added a picture of what u should see before u push the apk in the cmd window
Ty5982 said:
have a look at some of my posts,see if they can help you in anyways,i've been editing apk's for 6 month now lol,i used to use root explorer & rom toolbox pro...........now i stay well clear of them now and use adb,some ppl find it hard to use,i did at 1st,but after 1 use,it's the easiest program to use.........
1. DOWNLOAD ZIP CALLED adb_fastboot_and_ther_tools,i can't upload it as its too big lol
2. EXTRACT IT ANYWHERE
3. INSIDE IS A FOLDER CALLED ANDROID,MOVE THIS TO C: DRIVE
4. EDIT YOUR APK OF CHOICE BUT HAVE TO COPIES OF THE ZIP FILE
5. EXTRACT 1 BUT LEAVE THE OTHER UN EXTRACTED
6. WHEN FINISHED EDITING YOUR ICONS IN 1 FOLDER,GO TO YOUR UN EXTRACTED APK,DOUBLE CLICK IT,THEN DELETE Res folder
7. now drag your res folder from the open folder to the zip where u just deleted and click ok
8. now open android folder and move your unzipped apk to it
9. make sure your phone is plugged in to your pc and is in CHARGE ONLY
10. USE ES FILE EXPLORER TO MAKE YOUR PHONE IN WRITE MODE
11. right click on cmd in the android folder,run as administrator
12. cmd window appears,type in adb devices and hit enter
13. your phone should appear after a few seconds
14. IF all good up to now u need to send your apk via adb......here's an example
15. if editing a system app,delete the old 1 first eg Settings.apk
15. adb push Settings.apk system/app
16. once pushed,set permissions to RW-R-R
17. REBOOT..........ALL DONE
i've added a picture of what u should see before u push the apk in the cmd window
Click to expand...
Click to collapse
Nice guide!

[Q] How Can I Make CWM Flashable Zip ?

Hello ,
How can I make CWM flashable zip ?
I'm making mod but I can't make flashable zip
Example : I made icon pack for Contacts , mms, video player. Carry the system folder manually. And set permissions. This is very exhausting. I want to make flashable zip.Please make detailed guide. If you help me I would be happy. Thank you.
Arnadel said:
Hello ,
How can I make CWM flashable zip ?
I'm making mod but I can't make flashable zip
Example : I made icon pack for Contacts , mms, video player. Carry the system folder manually. And set permissions. This is very exhausting. I want to make flashable zip.Please make detailed guide. If you help me I would be happy. Thank you.
Click to expand...
Click to collapse
Scripts for creating flashable zips and signing apk/zip files
Just wanted to share a few scripts that I have created for making things a little bit easier. These are bash scripts so they are only going to be functional in a bash shell such as Linux or OS X. If you're running on Windows then you might be able to execute these in Cygwin but I don't know that for certain. You could simply run the same commands in a DOS prompt. You might have to change syntax a little and manually execute them, but the basic process is the same.
I'm going to assume that you are familiar with adb. If not, go learn about it -- download the Android SDK, install the platform-tools, and make sure you can use it! You will probably want it to be in your PATH variable so that you can execute it at any time from a command line.
The next thing you will need is apktool installed, so that you can extract and build .apk files. This can be found here:
http://code.google.com/p/android-apktool/
Now we can move on to using these scripts. There are three files included inside of the scripts.zip file attached to this post. The zip file contains the following:
1. signit: This script will sign a .zip file or a .apk file. If you send in a .apk file as an argument then it will also zipalign the file. It uses testkeys to sign files. 2. createzip: This script will create a skeleton zip file for you. It will print out some instructions to help guide you with the creation. 3. update-binary: This file will never change. It's an interpreter for Edify scripts -- which is what YOU will be writing! You need to include an Edify script inside of the zip file so that recovery knows what exactly you want it to do. This file should be carried around inside of each zip as it converts your Edify script into something that recovery can actually understand and execute.
You will need to make sure that signit and createzip are executable. I would just use chmod +x on them.
The fourth and final thing you need is testsign.jar. You can get it here:
http://code.google.com/p/zen-droid/d...n.jar&can=2&q=
If you look at the top of the createzip/signit script you will see that the the variable binLoc gets set to /usr/local/bin. What this means is that you should place all four of the above files into that location. If you don't like /usr/local/bin then just change the binLoc variable to point to some other directory where you will store these 4 files, and make sure that directory is in your PATH variable.
We'll start by just modifying some images in a single file. For example, let's modify the battery icons in /system/framework/framework-res.apk. I'm not going to add or remove any icons that didn't previously exist, I'm simply going to change a few of them. If you really want to get into modifying some files then you will need to decompile the file in order to change any corresponding XML files (sidetrack -- if you're curious then look in res/drawable at the following 3 files: stat_sys_battery.xml, stat_sys_battery_charge.xml, zzz_stat_sys_battery_1.xml). I'm going to throw this step into the instructions, not because it's necessary here, but because it's a good idea to know how to do it anyway. So let's try and modify our icons!
The basic steps would be something like what I outline below. Before you try this I suggest you make a full backup in recovery just in case something goes wrong. I have reviewed the steps below several times and even walked through them to make sure they are correct so they should work for you.
1. Get the apk file:
Code: $ adb pull /system/framework/framework-res.apk
Copy this file somewhere safe because we are going to push it back to the phone later (you probably won't want to keep the edits we make in step 3 below indefinitely).
2. Decompile it with apktool:
Code: $ apktool d framework-res.apk
3. Update the necessary files:
Step 2 should have unpacked the file into a folder named framework-res. We want to update the necessary files inside of it. The battery icons are all stored res/drawable-hdpi. Navigate to that directory and look for files like stat_sys_battery_*.png. These are the images that get displayed while your phone is running on battery power. The charging images are stat_sys_battery_charge_anim*.png. If you have a set of icons that you want to use then simply paste those icons in and overwrite the existing ones. You can move on to the next step.
If you don't already have images lined up then we can just modify some existing ones to verify that your changes worked. I'll assume you have the stock MikG battery icons (or some way of knowing what your current charge level is) so take note of what your current charge level is, and then modify a few of those images around that area. For example, if your phone is currently at 65% then maybe you will want to modify stat_sys_battery_charge_anim66.png, stat_sys_battery_charge_anim67.png, stat_sys_battery_charge_anim68.png, etc. Just open up these files in GIMP, Photoshop, or whatever. Don't change their size but just change something -- maybe change the color from white to green. Or you could just draw some lines on them. Just make some changes that will be noticeable and then save the files.
4. Package it back up:
Code: $ apktool b framework-res framework-res.apk
5. Sign it using the signit script:
Code: $ signit framework-res.apk
6. Create a skeleton zip file using the createzip script:
Code: $ createzip system/framework framework-res.apk
Note that the createzip script accepts 2 arguments. The first is the directory where the file needs to go, and the second is the name of the .apk file. If you wish, you can run the script without any arguments and it will prompt you for the values. In either case it will give you instructions for what to do next. Here is an example in interactive mode (values that I typed in are highlighted in blue):
Code: $ createzip Please enter the directory that your apk file will go in Example: system/framework system/framework Please enter the apk file to put into this zip Example: framework-res.apk framework-res.apk Creating appropriate directory structure Directory structure complete. A sample updater-script file has been created for you. This sample script will push a file to the /system mount point.
Next steps: 1. If necessary, modify the file /home/gamblor/Desktop/scripts/zip/META-INF/com/google/android/updater-script
2. When script is complete then zip up the directory and sign it: $ cd zip $ zip -r name.zip * $ signit name.zip
7. Make the actual zip file:
Zip up the directory in a recursive fashion using the exact instructions supplied by the script. Note that the createzip script will build a sample updater-script file for you, which says to mount /system and push the files over to it (since that's what most flashable zips do anyway). For this reason, you shouldn't actually need to modify that script at all for the purposes of this tutorial. It doesn't do anything fancy like scroll text across the screen, but it should do the trick to get the file installed. Feel free to open it up with a text editor and see what it does. It will also copy the file framework-res.zip to the appropriate location so everything is in place and we can create our actual zip:
Code: $ cd zip $ zip -r battery-icons.zip * $ signit battery-icons.zip
8. Flash it like you would any other file:
At this point you should have a file named battery-icons-signed.zip. Copy that file to your sdcard and then reboot into recovery and flash it (remember to backup first, if you haven't already). If everything goes well then you should be able to reboot and then check the battery icons for the percentage level that you modified. If everything went well then you should see your modified icons. Congratulations!
As a side note, if you're making mods for yourself and don't plan on creating a flashable zip (or maybe not just yet), you can easily just push the file in adb. This saves you from having to make a zip file, sign it, copy it to your zip card, reboot, and then flash from recovery. So you can just replace step 6 above with the following commands and stop after this:
Code: $ adb remount $ adb shell stop $ adb push framework-res.apk /system/framework $ adb shell start
Obviously since this post was supposed to demonstrate creating a zip file, I included those instructions. But pushing stuff in adb is a shortcut if you're just looking to test things out on a single phone and don't want to waste time dropping into recovery. Remember that file that I told you save away in step 1? Well, if you want to restore your battery icons so that some of them don't have weird colors/marks on them then cd into the directory where you saved the original file away, and then just run the 4 commands above. It should replace the file with the original one, thus setting the battery icons back to the way they were before you ever ran any of the commands above.

Categories

Resources