[GUIDE] How to Modify the Halo Icon on ANY ROM (that uses Halo, that is) - Nexus 7 Themes and Apps

Hello fellow XDA members! Today I will be showing you how to theme your NEXUS 7's Halo!
First, go grab whatever halo icon's you would like from this thread by ATTACK: http://forum.xda-developers.com/showthread.php?t=2309936
Second, make sure you have the app ZipThemer (link is on ATTACK's thread also) and grab ATTACK's ZipThemer TEMPLATE.
Next, you'll want to create a folder on your desktop where you will be working.
After that, drag all the Halo icon's you want to be changed into that folder.
In that folder, you'll want to put the ZipThemer TEMPLATE you acquired earlier, extract it so you see "[ZipThemer] TEMPLATE" as a folder (IF YOU SEE "SystemUI" AND "TEMPLATE.xml", THEN YOU EXTRACTED IT WRONG! CHOOSE "Extract files..." AND MAKE A FOLDER!).
Then, you'll want to drag and drop your icons you chose earlier into SystemUI>res>drawable-hdpi and remove drawable-xhdpi and drawable-mdpi.
For all the files, they will most likely be named "halo_bg (16).png" or "halo_back_left (3).png", etc. Remove the numbers in parentheses and make SURE the file name is "halo_whatever.png", with no numbers and no spaces. Then go zip it back up (DO NOT zip the "[ZipThemer] TEMPLATE" folder, select the folders INSIDE that, go to 7zip's menu (or winrar) and select "add to blahblah.zip".
Now, use ADB to push that new zip to your android. Here are two methods to doing this:
Method 1 (using ADB with a USB): "adb push c:\path\to\the\dot.zip /sdcard/Halo_Themes" or whatever you want the folder with the theme to be named
Method 2 (using ADB Wireless): First, go into the Play Store and search for "ADB Konnect (wireless ADB)". Install it and open it up. MAKE SURE YOUR COMPUTER AND YOUR TABLET ARE ON THE SAME NETWORK OR THIS WILL NOT WORK! Turn Wireless ADB on in the app, then run this in your command line: "adb connect 192.168.1.102:5555" OR whatever it tells you to run in the app (eg it might be different between you and me). NOW, do the adb push command again: "adb push c:\path\to\the\dot.zip /sdcard/Halo_Themes".
Now you're ready to move on to the ZipThemer part. Open up ZipThemer, and update Edify. ATTACK's thread has the instructions on how to do this if you don't know how.
Click on the +Theme button on the main UI of ZipThemer. Navigate to wherever you pushed the .zip to be, and select the zip.
Now, choose the output location (if you want it to stay in /sdcard, don't change anything).
Click "Build It!"
Click "Always" (this will make a backup of your current SystemUI.apk in case you screw anything up.
Now, once it's finished building the theme, boot into recovery (via ADB: "adb reboot recovery").
FOR CWM: Select Install, Install from sdcard (or whatever, not sideload), navigate to the .zip, select it, flash it, clear cache and dalvik-cache (you don't really have to do this, but better safe than sorry).
Reboot, and your Halo orb/icon should be changed!
If I helped, please Thank me!
If I derped up anything, let me know and I will fix it ASAP.
**I WILL ADD PICTURES WHEN I CAN LINK (so ask questions!)**

Related

[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

ICS blue notification icons

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...

[Tutorial] How to Enable/Disable CRT-Off for ICS ROMs

This tutorial is written for those interested in modifying the framework-res.apk to enable/disable CRT-Off effect on ICS (Samsung) ROMs using Windows 7. I'm sure it doesn't vary that much with other operating systems. I have used many tutorials from XDA (sources below) - but I will compile everything into one easy guide. Hope this helps! Otherwise, you can get the CWM flashable ones here.
What you need
- APKTool: apktool.jar, aapt.exe, apktool.bat, apktool1.4.3.tar.bz2
- APK Multi-Tool
- XML Editor: Notepad++ or Windows Notepad
- WinRAR or 7-zip
Update: You can also use this modified ApkTool. - thanks sileshnair.
Instructions
I will be splitting this tutorial into several steps to break down the processes (and possibly provide easier troubleshooting help).
Setting up the Files You Need
1. Download all the files needed above.
2. Install necessary programs (winRAR, 7-zip, Notepad++, APK Multi-Tool, etc.)
APK Multi Tool should ask you to choose a default folder. Just make sure you know where it is.​3. Create a folder where you can access. (for me: My Documents/Flash/APKTool)
4. Place: apktool.jar, aapt.exe, apktool.bat, and apktool1.4.3.tar.bz2 into that folder.
Decompile
1. Obtain framework-res.apk from your phone. This can be done using Root Explorer and going to: system/framework/
2. Place framework-res.apk into the folder where you placed apktool.jar (and the rest of them).
3. Exit the folder (so that you are looking at it as "APKTool"). Hold-shift and right-click the folder (APKTools), and select "open command window here.
4. A command prompt should pop up. Type the following:
apktool if framework-res.apk​apktool d frameowrk-res.apk
This should decompile the framework, allow it to run and close after it completes.​
Editing CRT-Off Effect
1. Once the decompiling completes, go back into "APKTools" folder and you should see another folder (framework-res).
2. Open it, and go to: framework-res/res/values.
3. Right-click bools.xml and either press "edit" or "edit with Notepad++".
4. Find the line that says "(bool name="config_animateScreenLights">true</bool) (I changed the first and last part into brackets because it would comflict with the forum code, it should be "<" and ">" respectively).
5. Change the "true" to "false".
6. Save and close.
Compiling
1. Go back into APKTools folder where you had apktool.jar, apktool1.4.3.tar.bz2, etc.
2. Unzip apktool1.4.3.tar.bz2, and unzip again, inside should be a file called "apktools.jar". Replace the original one in "APKTool" folder.
3. Leave the folder (like you did in decompiling) and hold shift and right-click the folder and select "open command window here".
4. Type the following in the command window:
apktool b framework-res​5. Now go to: APKTool/framework-res/dist/
6. There should a file created called "framework-res.apk", right-click and open with winRAR or 7-zip.
7. In winRAR, click "Extract To" and press OK. (Pretty sure you can extract in 7zip too).
8. This should create a new folder called "framework-res". Go inside it where you see the files (assets, res, AndroidManifest, resource.arsc).
9. Go find your original framework-res.apk (located in the root APKTool/ folder) and right-click and open with winRAR (or 7zip).
10. Select "META-INF" and "AndroidManifest.xml" and extract it to the folder created in step 8.
11. Select-all the files within the folder (of step 8) (it should now contain: assets, res, META-INF, AndroidManifest, resource.arsc) and right-click and "add to archive" (again, with winRAR - sure 7zip is something else).
12. In the prompt, change the following: Archive format = zip, Compression method = store. Press OK.
13. This should once again create a framework-res.zip file in the folder.
14. Press alt (assuming you are using Window 7) > Tools > Folder Options. Press the view tab, and uncheck "hide extensions for known file types.
15. Rename "framework-res.zip" to "framework-res.apk".
Now this "framework-res.apk" file is ready to be pushed to your phone's system/framework folder. Your phone should hang, restart it, and you now have CRT-Off effect! If you want to make a CWM flashable - below is the tutorial.
Making a CMW-Flashable File
1. Go below and download my template.zip. Extract the folder "template".
2. Take the completed framework-res.apk from earlier and place it in: template/system/framework.
3. In the template/ root directory, select META-INF and system and right-click, add to archive.
4. In the prompt, change the following: Archive format = zip. You can rename it to whatever you wish "LPS_CRTOff_On.zip".
5. Take the zip file to where your APK Multi Tool directory and place it in the "place-apk-here-for-signing" folder.
6. Open APK Multi Tool application from the start menu > programs.
7. Press any key to continue, and press 19 (Sign an apk (Batch Support)(inside place-apk-here-for-signing folder only)).
8. It should close when it is done, the zip is now ready to be flashed with your phone.
And there we go. I tried! LOL. Good luck. =) If I wasn't very clear, you can go back to my sources and derive what I did from them.
Sources
- [MOD] Decompile and Rebuild ICS framework-res.apk without errors by stars2
- [Tutorial] How to add CRT TV off effect by tweezit
- [TUTORIAL] How to create an CWM installable .zip (Mod) by FlorisNL
Thanks, thanks and thanks. This is the first method that works for me to decompile framework-res.apk and systemui.apk. Thank you.
Nice writeup thanx !
But isn't it easier to just use apk-multitool for the entire thing ?
I know i always do it like this (even when it still was called apk manager)
Brotuck said:
Nice writeup thanx !
But isn't it easier to just use apk-multitool for the entire thing ?
I know i always do it like this (even when it still was called apk manager)
Click to expand...
Click to collapse
I tried it with ICS roms and it did not work for me. Thus - having to use the apktool instead. =(
This apkmanager will work on ICS roms. Tested. All credit to Wanam.
sileshnair said:
This apkmanager will work on ICS roms. Tested. All credit to Wanam.
Click to expand...
Click to collapse
Sweet thanks!
@krazykat
On bools.xml:
<bool name="config_animateScreenLights">false</bool>
It is set to 'false' by default.
Any idea on this? Thanks in advance.
More info: Xperia Neo V, official ICS 4.0.4 by Sony
dafuq is CRT-OFF?
Thanks you so much @ OP
It was a very simple task.

Samsung Galaxy SIII Softkeys for GNEX - Alpha

I made the Samsung Galaxy S3 hardkeys to Galaxy Nexus Softkeys.
Flashable with Metamorph or do it manually.
Did not try it, hope someone else can do it because my GNEX is in reperature.
Please post some screens if you flash it, so I can see and make it better, some updates etc.
DOWNLOAD LINK: http://www.file-upload.net/download-4445951/GalaxyS3SoftgeysForGNEX.zip.html
Tutorial:
MetaMorph
Download and install MetaMorph from the Market, open it at least once so that the folder AndroidThemes will be created on /sdcard/
Download a Softkey Style using the MetaMorph link and move this .zip file to /sdcard/AndroidThemes using your favorite file explorer
Open MetaMorph, choose "Unzip/Extract new theme" and select the .zip file you downloaded. A popup screen will appear, meaning it has been extracted. Press the "Close" button.
Hit the "Apply all!" button and wait +/- 5 seconds (nothing will happen)
Reboot your phone immediately after this and you're done! Oh, and set a new wallpaper because it may be restored to default..
(Phone can hang in "SystemUI has been ended". Just pull out battery and restart phone.
2. Advanced (Hard) Method - Edit the SystemUI.apk from your phone - thanks to bangdrum! Not working for everybody!
Download and install Root Explorer from the Market and make a Nandroid backup
Download the softkeymod you like
Open Root Explorer and navigate to /system/app/, find SystemUI.apk, long press, and select extract. Go to the folder sdcard/speedsoftware/extracted and make sure you have a folder that's called SystemUI
If the folder is there navigate to where you downloaded the chosen softkeymod (usually sdcard/download) and long press it. Select extract all. Go to sdcard/speedsoftware/extracted and there should be a folder with the name of the softkeymod.
Click on this folder, and also on the next. Hit the menu key and press 'Multi Select'. Highlight all the images included in the folder and select 'Move' at the bottom. Navigate back to the SystemUI folder, go to SystemUI/res/drawable-xhdpi and 'Paste' here. A command prompt should pop up asking to replace the current images. Select 'Yes For All'
Go back to the sdcard/speedsoftware/extracted folder, long press the SystemUI folder and select 'Create ZIP'
Rename the created SystemUI.zip to SystemUi.apk and move the SystemUI.apk to your /system/app folder. Change permissions of SystemUI.apk to rw-r--r--
Reboot your Galaxy Nexus (pull battery out and reboot, this is an essential step) and your softkeys will be modded!
Credits to: atticus182 (http://forum.xda-developers.com/showthread.php?t=1413582) for tutorial and search button !
I have the download fail a couple times before it takes but then it says bad .zip file...mind just posting the .PNG images her so us folks on AOKP can just plug them in through ROM control.
This^^
here is the link for the png-pictures for CDMA users:
http://imageshack.us/g/513/icsysbarback.png/

[MOD] - Navbar/sotfkeys 30dp to cm10.2 for xperia ZL

Thanks to help from Drummerjed, for doing more than making this mod, but for teaching me to do it myself.
I leave here the framework-res.apk modified by me (for cm10.2 stable version only) and the guide made by Drummerjed
by Drummerjed:
"Hi, it's very easy to do:
1.Download the latest version of Tickle My Android from here - http://forum.xda-developers.com/show....php?t=1633333
2. Install it using the instructions in the first post
3. Open Tickle My Android and select Option 2 (Theming Menu)
4.Then select Option 2 (Pull Files From Device)
5. Connect your phone to your PC, make sure you have ADB installed correctly on your PC and 'USB debugging' is enabled on your phone
6. Select Option 1 to pull framework-res.apk from your phone
7. When it asks you if you'd like to decompile the file say yes
8. Then select yes again when it asks you if you'd like to install the file to the PC
9. Go to the '_working' folder in the 'TickleMyAndroid' directory and open the 'framework-res.apk' folder
10. Navigate to 'res/values/dimens.xml' and open 'dimens.xml' with notepad++
11. You should see "navigation_bar_height" "navigation_bar_height_landscape" and "navigation_bar_width" near the top of the list
12. Change the values of these strings to 36.0dip, 36.0dip and 32.0dip in that order
13. Save the file. Close Tickle My Android if it's already open, then launch it again
14. Select Option 2 (Theming Menu) again
15. Then select Option 14 (Recompile Files)
16. Select Option 2 (Recompile App With Original Signature)
17. Select "framework-res.apk" then say yes to recompile it
18. The new "framework-res.apk" file will be in the '_out' folder in the 'TickleMyAndroid' directory
19. Now simply push this file to your phone and move it to /system/framework and overwrite when prompted. Or you can create a flashable zip with Tickle My Android, just select Option 17 from the Theming Menu
Hope this helps. This guide should work with all future versions of Android."
To use my framework-res.apk modified just use some app file manager (eg root explorer) and put in the folder /system/framework. For me to put the apk the device reboots automatically but it works.
Remember to make a backup before, it may give some wrong things ok!
I found a way to make this modification. Later I put here the framework-res.apk changed.
And a little tutorial how to do, and the credits of who showed me how.

Categories

Resources