Did this for a friend on the razr - but I'm on an Atrix 2, so it's not that much different... (original post can be found here)
Included are ODEXED versions (for your stock, rooted razr, if you so desire) of the 1% battery increments and horizontal scrollable quick panel toggles. This will also remove the carrier name from the pulldown menu (you're on your own for getting it back or removing it from the lockscreen if you want - this might help).
{
"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"
}
NOTE: CDMA ONLY - This was made from and installed on DROID RAZR System version 6.16.211.XT912.Verizon.en.US on ICS 4.0.4 - not sure about cross-system compatibility, but I wouldn't try it without a backup plan..
I am not responsible for your phone.
Download & Install:
(The following is the way I installed it using whirleye's BootMenu app - feel free to unzip and/or use your own method to install)
-Download RAZR_ICS_ODEXED_1perBatt_DropTogs.zip to your sdcard
-Boot into recovery with BootMenu
-Wipe dalvik & cache partition
-Install zip & Reboot
Credits & Thanks:
I ported these both over to ICS from GB for the A2... then moved them over to the RAZR (it involves a lot of edits, additions, deodexing and re-odexing)
-Major credit goes to nitroglycerine33 for the scrollable toggles
-Thanks also to cogeary for bringing nitro's work to the A2
-Thanks to he_stheone64 for the battery icons (except the unknown (?) batt image, that was me)
-Thanks to iwabashu for the use of the RAZR and the screenie
-----------------------------------------
Original post (but, very applicable to the RAZR variants): http://forum.xda-developers.com/showthread.php?t=1803516
PORTING THE 1% BATTERY INCREMENTS & DROPDOWN (QUICK PANEL) TOGGLES TO YOUR SYSTEM VERSION
This guide is based on moving these mods for ICS to other similar ICS-running devices. The process varies a bit going from GB to ICS. Or ICS to JB..
You will need:
Your deodexed SystemUI.apk
Your deodexed services.jar
Copies of deodexed SystemUI.apk & services.jar with the mods
Apktool /Smali/Baksmali tools
Notepad++ or similar text editor
7-zip or similar archive manager
WinMerge or Meld or similar diff/compare tool (a very useful tool that allows you to compare two folders or files side-by-side, and points out the differences for you)
Click to expand...
Click to collapse
My “get started” thread may hold some tips for accomplishing the tasks below – check it out HERE
IMPORTANT: This guide is to help you get these mods to your system, for your personal use. If you take the toggles from above and decide to use them in a ROM, be certain to credit nitroglycerine33 for his work.
Click to expand...
Click to collapse
Don't forget to install your framework for apktool by putting your framework-res.apk next to apktool, cd to that folder (or hold-shift right-click), and do a:
Code:
apktool if framework-res.apk
SystemUI.apk:
-decompile your deodexed SystemUI.apk
-rename the one with the mods to something else like SystemUI2.apk, and decompile also
For the dropdown toggles:
-add quickpanel smali
Copy the “quickpanel” folder from the modded com\android\systemui\statusbar folder to the same location in your stock
-add quickpanel_quick_settings.xml to layout folder
Open the modded SystemUI.apk\res\layout folder and copy the quickpanel_quick_settings.xml to your stock layout folder
NOTE: Some older toggle mods may not have this xml, all of the code was included in the status_bar_expanded.xml (Big thanks to nitroglycerine33 for the new xml code that is so much easier to work with)
-edit status_bar_expanded.xml or status_bar_tracking.xml for new qp xml (see below for options - some don't have the _tracking.xml - it's all in expanded, I think)
Open the modded SystemUI.apk\res\layout\status_bar_expanded.xml and add this line:
Code:
<include layout="@layout/quickpanel_quick_settings" />
(this will put the toggles between the date and notifications)
OR
(this will put the toggles above the date, directly under the status bar)
OR
delete the "include layout" line entirely from status_bar_expanded and open status_bar_tracking.xml
(this will put the toggles at the very bottom, attached to the close bar)
-add 33 quickpanel images
Add or copy the 33 .png images associated with the quickpanel toggles from the modded SystemUI.apk\res\drawable-hdpi to your stock /drawable-hdpi folder
-add qp lines to ids.xml
Open the modded SystemUI.apk\res\values\ids.xml and copy all of the quickpanel ids to your stock ids.xml (there should be 41 lines at the bottom of the xml – selected in the screenshot below)
-add qp lines to strings.xml
Open the modded SystemUI.apk\res\values\strings.xml and copy all of the quickpanel strings to your stock strings.xml (there should be 15 lines at the bottom of the xml – selected in the screenshot below)
-add qp to public.xml
(NOTE: The resource ID’s in the public.xml need to be unique – meaning that no two alpha-numeric IDs can be the same. If you are lucky, you can just use the trick below and copy the resource IDs entirely from the modded xml. So, before you copy and paste, check a few of the modded resource ID’s against your stock. If you need to assign new ID’s, just stop here, compile your SystemUI.apk, then decompile it again and look for the new IDs created in the public.xml – you will then need to copy those resource IDs over to the quickpanel smali files - with a lot of cross-referenceing.)
Open the modded SystemUI.apk\res\values\public.xml and copy the quickpanel lines from the public type = “drawable” (33 lines), “string” (15 lines), and “id” (41 lines) to your stock public.xml (do not worry about the drawables for the battery images)
For the 1% Battery:
-add stat_sys battery xmls
Open the modded SystemUI.apk\res\drawable folder and copy stat_sys_battery.xml and stat_sys_battery_charge.xml to your stock drawable folder and overwrite the existing
-204 battery images
Add or copy the 204 .png images associated with the 1% battery increments from the modded SystemUI.apk\res\drawable-hdpi to your stock drawable-hdpi folder
-compile the SystemUI.apk (make sure that you saved your original signatures (META-INF folder), and do not compress the resources.arsc - meaning, take it out of the apk and re-add it to the apk in "store" mode with 7-zip)
-it is suggested to decompile the newly modded apk, and check that all of your new edits are still there
Click to expand...
Click to collapse
services.jar
For 1% battery mod only (toggles are done):
-baksmali the classes.dex from your services.jar, and rename the folder to my_classout, or something
-baksmali the classes.dex from the modded services.jar, and rename the folder to mod_classout, or whatever
-edit BatteryService.smali
Open the modded com\android\server\BatteryService.smali and your stock BatteryService.smali with WinMerge or Meld and compare the two files.
(What..? You didn't think I'd do it all for you, did you?)
Update: See HERE
-reassemble (smali) into a new classes.dex and copy to and overwrite the existing one in your services.jar with an archive manager
Click to expand...
Click to collapse
***ATTACHED ARE THE DEODEXED STOCK & MODDED XT912 FILES FOR YOUR REFERENCE AND TO COMPARE***
If this is for an ODEXED system, you must then re-odex the SystemUI.apk and services.jar. See HERE for how to do that
These were originally ported using a similar process from GB to ICS for the Atrix 2 (except I ended up re-doing all of the resource ID's in the quickpanel smali). Since then, I have used the above method to move both mods over to the RAZR. --- UPDATE 9/13/12: I also used this method to move the 1% battery increments over to CM10/JB for the A2... watch the v3, v4, etc, notation in the BatteryService.smali... pay attention to detail.
Please post questions or PM with complaints.
Big thanks to nitroglycerine33, cogeary, and whoever else first did the smali/xml coding, and all the devs/modders who came before..
EDIT (2012.12.25): Attached a zip below to restore stock odexed xt912 ICS files and remove this mod. Wipe dalvik cache and flash in custom recovery.
Any confirmation from anyone that all toggles work? I would love to do this to my phone. Im on. 215 willing to try it. But what happens if it doesnt work. How do i revert back to normal? Sbf?
Sent from my DROID RAZR using xda app-developers app
lrlooly said:
Any confirmation from anyone that all toggles work? I would love to do this to my phone. Im on. 215 willing to try it. But what happens if it doesnt work. How do i revert back to normal? Sbf?
Sent from my DROID RAZR using xda app-developers app
Click to expand...
Click to collapse
Not sure if it will work on .215..
But, you should always have a good backup just in case something goes wrong.. sbf should be a last resort.
Or you can create another zip package with your current working copies of the 4 files that will be replaced by this zip package. You can probably just use this zip package and drop your current apk/jar/odex files in there and put it on your sdcard also... And if it bootloops, go into recovery and flash the zip to restore your original files..
This might help - there's a small section at the end about making zip packages: http://forum.xda-developers.com/showthread.php?t=1753659
Sent from my phone's mind
Just an warning for GSM Users > Crackflasher as i'm, i had to try it
Stuck on Bootanimation, so nandroid back
HSD-Pilot said:
Just an warning for GSM Users > Crackflasher as i'm, i had to try it
Stuck on Bootanimation, so nandroid back
Click to expand...
Click to collapse
Yea.. cdma only - as it's the SystemUI.apk and services.jar getting changed.
I updated the OP. Sorry bout that.
Sent from my phone's mind
No problem, I expected nothing else
I just tried it anyway.
Sent from my CustomiZed XT910
Wont install on. 215. Not sure if there is something i did wrong however.
Sent from my DROID RAZR using xda app-developers app
Did not work for me either, stock ics, rooted. I would love to get this on my phone.
Sent from my DROID RAZR using xda premium
alteredlikeness said:
NOTE: CDMA ONLY - This was made from and installed on DROID RAZR System version 6.16.211.XT912.Verizon.en.US on ICS 4.0.4 - not sure about cross-system compatibility, but I wouldn't try it without a backup plan..
I am not responsible for your phone.
Click to expand...
Click to collapse
lrlooly said:
Wont install on. 215. Not sure if there is something i did wrong however.
Sent from my DROID RAZR using xda app-developers app
Click to expand...
Click to collapse
chris3582 said:
Did not work for me either, stock ics, rooted. I would love to get this on my phone.
Sent from my DROID RAZR using xda premium
Click to expand...
Click to collapse
If it's not the system version listed, it doesn't work for you.
chris3582 - what version are you? How are you trying to install?
And you guys all have recovery on boot working before trying these things, right?
Sent from my phone's mind
chris3582 said:
Did not work for me either, stock ics, rooted. I would love to get this on my phone.
Sent from my DROID RAZR using xda premium
Click to expand...
Click to collapse
The updater script uses busybox. If you don't have busybox in sbin directory it most likely will not install.
From my ICED down MAXX!
alteredlikeness said:
If it's not the system version listed, it doesn't work for you.
chris3582 - what version are you? How are you trying to install?
And you guys all have recovery on boot working before trying these things, right?
Sent from my phone's mind
Click to expand...
Click to collapse
I am trying to flash it using safestrap.
Sent from my DROID RAZR using xda premium
chris3582 said:
I am trying to flash it using safestrap.
Sent from my DROID RAZR using xda premium
Click to expand...
Click to collapse
Yea, that's what I was afraid of.. I do not have much experience with safestrap. It might just be that the updater-script needs to be revised... it's made for cwm recovery, and I used whirleyes BootMenu to install..
If someone with experience wants to convert this mod to work with safestrap.. please feel free
Sent from my phone's mind
Awesome!
Thanks! works perfect.
I tried it with my stock rooted vzw .215. It doesnt work. My phone would just stay in the start-up animation. I had to fastboot back to. 211.
lrlooly said:
Any confirmation from anyone that all toggles work? I would love to do this to my phone. Im on. 215 willing to try it. But what happens if it doesnt work. How do i revert back to normal? Sbf?
Sent from my DROID RAZR using xda app-developers app
Click to expand...
Click to collapse
DROIDESP said:
Thanks! works perfect.
Click to expand...
Click to collapse
Finally! - Thanks for letting me know that it does work on someone else's phone! I mean, with over 30 downloads you are the first to verify it works (besides my friend who I originally made it for).. thanks.. and enjoy
Sent from my phone's mind
alteredlikeness said:
Yea, that's what I was afraid of.. I do not have much experience with safestrap. It might just be that the updater-script needs to be revised... it's made for cwm recovery, and I used whirleyes BootMenu to install..
If someone with experience wants to convert this mod to work with safestrap.. please feel free
Sent from my phone's mind
Click to expand...
Click to collapse
Can anyone let me know if this works with the Razr stock recovery and not just CWM?
Thanks!
Screenshot Included
alteredlikeness said:
Finally! - Thanks for letting me know that it does work on someone else's phone! I mean, with over 30 downloads you are the first to verify it works (besides my friend who I originally made it for).. thanks.. and enjoy
Sent from my phone's mind
Click to expand...
Click to collapse
Thanks again! Thought I would send a screenshot so you know!
DCDD85 said:
Can anyone let me know if this works with the Razr stock recovery and not just CWM?
Thanks!
Click to expand...
Click to collapse
Stock recovery? Probably not. Why not just install BootMenu?
Also, you guys can just take the apk/odex files from the zip and install them by different means.. like adb or root explorer.. just make sure that you set proper permissions, then reboot.
Sent from my phone's mind
DROIDESP said:
Thanks again! Thought I would send a screenshot so you know!
Click to expand...
Click to collapse
Thanks!
Side note: Kenosha, huh? I'm in MKE... and the guy I made it for is near Burlington.. small world
Sent from my phone's mind
Ha!
alteredlikeness said:
Thanks!
Side note: Kenosha, huh? I'm in MKE... and the guy I made it for is near Burlington.. small world
Sent from my phone's mind
Click to expand...
Click to collapse
Funny, I strongly considered removing BW before taking that screenshot.... Its a very small world! I'm up in MKE all the time. PM me sometime we can break some phones.
Related
Hey Guys,
This mod will remove the time from the notification bar on your Atrix. You will need to install the Java SE JDK in order to perform this mod.
You Must Be Deodexed to Perform this Mod!
Instructions:
1) First download smali-1.2.6.jar and baksmali-1.2.6.jar from here http://code.google.com/p/smali/downloads/list. Rename them to just smali.jar and baksmali.jar.
2) You'll need to pull the services.jar from the /system/framework/ directory on your phone to your PC. Open the services.jar file for example with winzip, 7z, winRar, or whatever. Unzip the classes.dex file to a new folder and place the baksmali and smali file there too. After that open a new command window within that folder and run following line:
Code:
java -jar baksmali.jar -o out/ classes.dex
3) You'll have a new folder now called "out". Browse to "out/com/android/server/status" and open the file called StatusBarPolicy.smali with a text editor. I personally prefer "Notepad++".
4) Search for:
Code:
invoke-direct {p0}, Lcom/android/server/status/StatusBarPolicy;->updateClock()V
5) It should be under ".line 592". Now add this line underneath the line you just searched for from above:
Code:
invoke-virtual {p2, v3, v6}, Lcom/android/server/status/StatusBarService;->setIconVisibility(Landroid/os/IBinder;Z)V
6) Save the file.
7) Open a new command window within the folder you created before or maximize the same command window you used before and run this:
Code:
java -Xmx512M -jar smali.jar out/ -o edited-classes.dex
8) Now you'll have a new dex file called "edited-classes.dex". Rename the old dex file to classes_old.dex and rename the new file to "classes.dex".
9) Open again the services.jar file with any zip tool and overwrite the classes.dex file with the one just created.
10) Push the updated services.jar back to the /system/framework/ directory on your phone and set the file permissions to rw-r--r--. Reboot!
That's it! Now you have more room for icons...
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"
}
Disclaimer:
If you choose to perform this mod, please be aware that you are doing it at your own risk. I'm not responsible if you brick your device. Backup, Backup, BACKUP your files before performing this mod.
Good Luck!
If anyone knows how to remove the date from the notification dropdown, please let me know, that's the next mod i would like to perform...Thanks!
FINALLY! Been looking for someone to do this. havent tried it yet, backing up right now..
**EDIT** lol nevermind, cant figure this out on my mac and my pc isnt running correctly atm. Anyway to make this flashable through cwm for noobs like me?
Sweet look
any way to make this an update.zip? sry new to this and am not really comfortable with this
tonecreationz said:
That's it! Now you have more room for icons...
Good Luck!
Click to expand...
Click to collapse
Hey Tone... thought I would post it here.. just in case people don't want or don't know how to do this.. I created the CWM install version for them... credit goes to you for the MOD...
I also attached a 1% services.jar from Gingerblur v3.5 with the no clock mod... I don't use the 1% MOD... but you can give it a try...
jpinoy said:
Hey Tone... thought I would post it here.. just in case people don't want or don't know how to do this.. I created the CWM install version for them... credit goes to you for the MOD...
Click to expand...
Click to collapse
Thanks... worked on top of Gingerblur v3.5.
**Edit**
Huummm, battery level seems to be stuck @ 100% now... let me try erasing battery data via CWM
Well, I don't know??? Wiped battery status and dalvik cache with CWM and battery status still shows 100%... Going to restore to the backup I made before flashing this, and confirm that this was indeed the problem.
jpinoy said:
Hey Tone... thought I would post it here.. just in case people don't want or don't know how to do this.. I created the CWM install version for them... credit goes to you for the MOD...
Click to expand...
Click to collapse
is this only for 1.83? Im about to try it on top of 1.57. Of course im backing up first..
*EDIT* not sure if there would be any reason for it to not work on 1.57, but it works fine [:
Swiftks said:
Thanks... worked on top of Gingerblur v3.5.
**Edit**
Huummm, battery level seems to be stuck @ 100% now... let me try erasing battery data via CWM
Well, I don't know??? Wiped battery status and dalvik cache with CWM and battery status still shows 100%... Going to restore to the backup I made before flashing this, and confirm that this was indeed the problem.
Click to expand...
Click to collapse
Hmm.. this is just for the default status bar.. this might not work with the 1% battery mod that also requires the services.jar editing.... let me see if I can edit that and you can give that a try...
jpinoy said:
Hmm.. this is just for the default status bar.. this might not work with the 1% battery mod that also requires the services.jar editing.... let me see if I can edit that and you can give that a try...
Click to expand...
Click to collapse
Think I got it... just edited my services.jar from gingerblur v3.5... going to flash and test. If it works, I'll post it.
Should probably note for windows users that "text editor" doesn't mean notepad It'll prolly screw up the line endings and cause problems.
Thanks for the guide though! Good work
This worked great and thanks for the zip file above thumbs up guys
sent from my gingerblur 3.1 atrix
jpinoy said:
Hey Tone... thought I would post it here.. just in case people don't want or don't know how to do this.. I created the CWM install version for them... credit goes to you for the MOD...
I also attached a 1% services.jar from Gingerblur v3.5 with the no clock mod... I don't use the 1% MOD... but you can give it a try...
Click to expand...
Click to collapse
so all i have to do is use one of this zip files?
jahizen said:
so all i have to do is use one of this zip files?
Click to expand...
Click to collapse
Correct.....
Will this work on a stock rooted Atrix?
Sent from my MB860 using Tapatalk
asesino said:
Will this work on a stock rooted Atrix?
Sent from my MB860 using Tapatalk
Click to expand...
Click to collapse
You can give it a try, just use the stock one and not the 1% one.
Make sure you make a backup of your stock setup in CWM first before doing this just in case it doesn't work...
Oh, btw, you got a thanks from me cus I hit the wrong button when trying to reply to your question..
Can someone please edit the services.jar for greyblur so theres no clock in the notification bar? AND IF possible, can you add the 1% battery mod? TIA
ekidd14 said:
Can someone please edit the services.jar for greyblur so theres no clock in the notification bar? AND IF possible, can you add the 1% battery mod? TIA
Click to expand...
Click to collapse
Make a backup and then try it... I moved away from Greyblur a while ago and don't want to flash that on my device to see if it works, it should though... but I've only tested these on 1.83...
Good luck
jpinoy said:
Make a backup and then try it... I moved away from Greyblur a while ago and don't want to flash that on my device to see if it works, it should though... but I've only tested these on 1.83...
Good luck
Click to expand...
Click to collapse
Yeah, i flashed it a while ago while on greyblur and everything works fine, except the notification pulldown isnt transparent like how greyblurs pull down normally is. The .zip posted is from gingerblur's services.jar i think..
Is it possible to remove Time from Micromax A57's statusbar
Any how I was trying to do this
with my A57 Micromax, but codes and files do not match
If you can help please get me an idea on where i should find and replace the code to remove the time here.
I am attaching the services.jar for this device
Standing battery without much headache by editing Horizontal icons
Well may not be new but PNGs are always doubtful how they behave...
What I wanted is Standing style battery and I was have very nice battery icons set that was in horizontal style.
I simply opened all of them in a picture manager and Rotated then Clockwise. Done..
and Its working fine with the statusbar and looks good without any loss of png quality.
I liked it..
---------- Post added at 07:20 PM ---------- Previous post was at 07:14 PM ----------
In open status bar my Device Shows Date as well (left end of status bar)
Any guide of method to remove that ??
Thankx in advance.
Are there any battery percentage apps or zip files I can flash with a rooted rezound?
Anything out there?
Sent from my ADR6425LVW using XDA App
1967ls2 said:
Are there any battery percentage apps or zip files I can flash with a rooted rezound?
Click to expand...
Click to collapse
Not sure what you mean. If you want to change your battery icon, there are plenty of themes out there but I'd imagine most just use UOT kitchen.
I would like to get rid of the dummy battery icon and replace it with one that shows the battery percentage left instead. where can I find one?
Sent from my ADR6425LVW using XDA App
1967ls2 said:
I would like to get rid of the dummy battery icon and replace it with one that shows the battery percentage left instead. where can I find one?
Sent from my ADR6425LVW using XDA App
Click to expand...
Click to collapse
Yeah, check out the kitchen. http://uot.dakra.lt/kitchen/
You will need to supply your /system/framework/framework-res.apk, /system/framework/com.htc.framework.apk, and /system/app/systemUI.apk in order to build it out right but it works like a charm.
I modified the framework-res.apk of the stock rooted ROM http://forum.xda-developers.com/showthread.php?t=1416604 to add circle battery. i don't know how to create a flashable zip for it but you can just do what i did and push the framework-res.apk in recovery after mounting system. as always do a nandroid backup first just in case. this will probably only work with the ROM linked. the attached zip is not a valid flashable zip. you need to extract the apk and push it with adb
Try this one out
I also prefer just a simple battery percentage icon in the notification bar, and have been using UOT to generate these with pretty much every ROM I have flashed. It's the "Digital Battery" icon which I prefer so I don't have to don reading glasses just to check the battery status.
I just used the UOT to cook this up which runs on the stock Rezound ROM. Flash it in recovery. Should work fine.
Here's a screen cap of what it looks 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"
}
Some suggest wiping cache and dalvik before flashing the UOT mod. I only flashed cache and everything seems to be fine. YMMV.
Thank you guys for the responses! I'm unfamiliar with uot kitchen or whatever it is called. can any of you provide any step by step directions on how to get either of these loaded on my phone? Thanks in advance.
Sent from my ADR6425LVW using XDA App
1967ls2 said:
Thank you guys for the responses! I'm unfamiliar with uot kitchen or whatever it is called. can any of you provide any step by step directions on how to get either of these loaded on my phone? Thanks in advance.
Sent from my ADR6425LVW using XDA App
Click to expand...
Click to collapse
I am assuming you have unlocked your bootloader, rooted your phone and you have installed a recovery (there are only two right now for the Rezound). I prefer RA Vigor. If you aren't rooted (and temproot doesn't count), you can't modify the phone.
1. Copy the zip file from the above-captioned link to the root of your SD card (remember, that's sdcard2 on the Rezound. Sdcard is actually "internal" memory).
2. Reboot into recovery. Wipe your cache partition. (Some recommend wiping dalvik cache as well but I didn't). In RA that's: Wipe --> Cache
3. Go into the Flash menu of your recovery, navigate to the zip file and select that for flashing.
After you reboot you should see the mod.
If you don't like that particular version, just go to the UOT kitchen and follow the instructions there. I'm hosting a zip file (not flashable, just compressed for downloading) of the 3 files the UOT will ask you to upload here, assuming you're running the stock Rezound ROM.
Nice! Thank you for the walk through. I tried to make one in the kitchen but it asks for files to upload but when I try to supply them it says no files found and won't let me generate file I'm trying to make. If I download the files you supplied where should I put them so I can make my own battery theme?
Sent from my ADR6425LVW using XDA App
1967ls2 said:
Nice! Thank you for the walk through. I tried to make one in the kitchen but it asks for files to upload but when I try to supply them it says no files found and won't let me generate file I'm trying to make. If I download the files you supplied where should I put them so I can make my own battery theme?
Sent from my ADR6425LVW using XDA App
Click to expand...
Click to collapse
The files are com.htc.resources.apk, systemui.apk, and framework-res.apk, all of which are already in the stock ROM. You don't need to put them anywhere on your Rezound, they're already there as part of the ROM. You need to put them on your PC/Mac from which you will upload them to the UOT Kitchen in the next to last step (on the right side of the page, where it says to upload files.) You can't use the Kitchen's "list" of ROMs because the Rezound stock ROM isn't in the list.
I simply pulled them from the stock ROM and posted them so you wouldn't have to go searching for them on your phone.
Ahhh that explains it. I was trying to make the zip file from my phone. I will do it on the PC with the files you provided. Thanks again for all your help. I flashed the zip already provided earlier in the thread and it worked perfectly but I would prefer a different style. I will make it from my PC. Thank you again!
Sent from my ADR6425LVW using XDA App
Worked great!
I used Root Explorer and made a folder on my sd card "UOT". Then I copied the 3 files into that folder. LOL! Nevermind, I used my PC to upload the files. DUH!
It did work well though. When you donate to the Kitchen, 1 Euro = $1.33 US.
I liked it so much, I donated.
My music player tried to revert back to some online library and said I needed Wifi to connect. I had to change it to my library on my SD card and it worked flawlessly.
You don't need a kitchen to add battery percent. Any framework can be modded. You can also 100 battery charge images.
You just need apktool to decompile, add the modded xmls and images and recompile
Sent from my PG86100 using xda premium
fernando sor said:
You don't need a kitchen to add battery percent. Any framework can be modded. You can also 100 battery charge images.
You just need apktool to decompile, add the modded xmls and images and recompile
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
Try to keep in mind that plenty of people don't/can't/won't do this manually. I'm one of the people that know how to do it manually and wouldn't if I could help it. UOT Kitchen provides a valuable resource to people that don't want to create 100+ png files.
Thanks for apktool though. I've been looking for something to decompile the APK's so I can take a look at tetheringguard.
Quick question..still new to this UOT deal..should all settings be left to default as they are on the File Upload section? I've extracted the files needed but the build always generates an error..I'm running Ineffabilis-v1.0-signed currently..will it work with that ROM or is it stock only?
NVM...i used the extracted systemUI.apk com.htc.resources.apk and framework-res.apk from the stock rom and it went thru just fine. Flashed it over still running Ineffabilis v1.0 and it works so far..pretty kewl
Im thinkin bout making gettin that rpm gauge battery icon
I never realized UOT was even out there....lots of cool possibilities
Sent from my ADR6425LVW using XDA App
There if this one from rezrom
http://forum.xda-developers.com/showpost.php?p=21308015&postcount=245
Sent from my ADR6425LVW using XDA App
is there anyway to achieve this without rooting the phone?
[ALL-SENSE4.0/3.6 MOD]BassMod V17 Srs & EQ & xLOUD & Beats Audio & Dolby Digital
{
"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"
}
BassMod mod is responsible for the Beats Audio and Dolby Mobile.
You flasch mod in recovery!
creating mod I was thinking about the best bass
works on all sense 4.0 /3.6 rom
Only Dolby Mobile Application to sense 3.6
DolbyMobile for sense 3.6
mirror by baha76_s
Special thanks go to darkmantra
I recommend his rom on sensation
extras
HtcVideoPlayer.apk - still does not work if you 3.6 Sense video
CM Music.apk - recommended for full srs
dolby app v1.0 - digital sound 5.1 in app
Changelog
v9.800 hibrid power 3/3 end
*fix sense 4.0 -re base
*fix srs power sense 3.6
*fix dolby effect 3.6
*fix srs panel 4.0
*fix anim
downloadv17 thx bilek06 for fix
bug:
*let me know
contact for people wanting to help me in the project BassMod-[email protected]
pervades you the question,
want to help,
Or maybe you have an idea?
Enter on Facebook
click
Yes!!!! Thank you!
HTC Amaze Eng S OFF Speed Run
I can not believe my eyes
Thank you very much for this study
Edit: If you lose data, adb push this file: ext.jar to /system/framework or use a program like root explorer to copy over the old one, then reboot - fixed.
I can't complain, contacted the mod dev and he comes and releases in our forums for us Totally awesome support!
Has anyone flashed and confirmed it is all working?
Edit: Seems that the framework file ext.jar still kills our data.. the reply from another beats mod developer was that "HtcBeatsNotify.apk invoke something called java build flag in ext.jar and widget.jar to see if it is beats device or not. And to modify ext.jar and widget.jar, remember to smali/baksmali with api level 15 for ICS."
Someone has to add that edit into our ext.jar file(which I am attaching to this post).
I'll give it a go when I get some time.
Silentbtdeadly said:
I can't complain, contacted the mod dev and he comes and releases in our forums for us Totally awesome support!
Has anyone flashed and confirmed it is all working?
Click to expand...
Click to collapse
had to remove all the other beats files and put his in again, imma test soon
EclipzeRemix said:
had to remove all the other beats files and put his in again, imma test soon
Click to expand...
Click to collapse
I edited the last post with how we can fix, the same file that killed our data in my last flashable does it again- we can fix it though(as I said above post)
And did you get developer status with android-dev.us? I know it isn't the right place to ask, but I thought we had to have the "recognized developer" title?
Silentbtdeadly said:
I edited the last post with how we can fix, the same file that killed our data in my last flashable does it again- we can fix it though(as I said above post)
And did you get developer status with android-dev.us? I know it isn't the right place to ask, but I thought we had to have the "recognized developer" title?
Click to expand...
Click to collapse
i talked to xboarder and he gave me the title
http://www.android-dev.us/member.php?1488-EclipzeRemix
All right anyone up to fix the data issue?
Amaze 4G ENERGY ICS
eggydrums said:
All right anyone up to fix the data issue?
Amaze 4G ENERGY ICS
Click to expand...
Click to collapse
there needs to be edits to the ext.jar file, but im not sure how to bring beats back and keep data, lets just wait till the OP delivers an update
EclipzeRemix said:
there needs to be edits to the ext.jar file, but im not sure how to bring beats back and keep data, lets just wait till the OP delivers an update
Click to expand...
Click to collapse
I just installed bootcamp on my mac so I can use more of the windows tools on my mac.. then I'm gonna install some sort of linux box on here so I can use THOSE tools.. I determined there was no working solution for decompiling jar files on OSX- but I am determined to get this done! LOL.
Silentbtdeadly said:
I just installed bootcamp on my mac so I can use more of the windows tools on my mac.. then I'm gonna install some sort of linux box on here so I can use THOSE tools.. I determined there was no working solution for decompiling jar files on OSX- but I am determined to get this done! LOL.
Click to expand...
Click to collapse
lol good luck
The cm music app force closes when you try to go to the sound effects. anyone else having this problem.
Sent from my HTC_Amaze_4G using XDA
recognize_atm said:
The cm music app force closes when you try to go to the sound effects. anyone else having this problem.
Sent from my HTC_Amaze_4G using XDA
Click to expand...
Click to collapse
This is fixed along with notification enable/disable for beats not being in the notification bar if you push the attached file to your /system/framework folder and restart the phone. You may have to go into applications and wipe the data for the cm music app, the htc music app, and the play music app(and any other music app you may use), this will stop any kind of force closes from happening.
For anyone that wants to learn HOW to do a little thing like this..
To change such a LITTLE thing was frustrating, but here is how it was fixed.
Pull the classes.dex file out of the ORIGINAL ext.jar file(with a program like 7zip) on our phone or in any of our roms- decompile the classes.dex file with baksmali. Go to the com/htc/htcjavaflag/HtcBuildFlag.smali file, edit in notepad just THIS line:
Code:
.method public static final getHTC_Pyramid_LE_flag()Z
.registers 1
const/4 v0, [B]0x0[/B]
Change just the bolded above to 0x1 and save.
Then to smali the files again into a new classes.dex: "java -Xmx512M -jar smali.jar classout/ -o new-classes.dex"
Backup the original dex file, rename the "new-classes.dex" to classes.dex, use a program like 7zip to move that NEW classes.dex file into the original ext.jar file..
Move to /system/framework
Or just push the file attached
I'll contact the OP to fix the flashable zip and I'll fix the flashable update for my rom in my thread.
Silentbtdeadly said:
This is fixed along with notification enable/disable for beats not being in the notification bar if you push the attached file to your /system/framework folder and restart the phone. You may have to go into applications and wipe the data for the cm music app, the htc music app, and the play music app(and any other music app you may use), this will stop any kind of force closes from happening.
For anyone that wants to learn HOW to do a little thing like this..
To change such a LITTLE thing was frustrating, but here is how it was fixed.
Pull the classes.dex file out of the ORIGINAL ext.jar file(with a program like 7zip) on our phone or in any of our roms- decompile the classes.dex file with baksmali. Go to the com/htc/htcjavaflag/HtcBuildFlag.smali file, edit in notepad just THIS line:
Code:
.method public static final getHTC_Pyramid_LE_flag()Z
.registers 1
const/4 v0, [B]0x0[/B]
Change just the bolded above to 0x1 and save.
Then to smali the files again into a new classes.dex: "java -Xmx512M -jar smali.jar classout/ -o new-classes.dex"
Backup the original dex file, rename the "new-classes.dex" to classes.dex, use a program like 7zip to move that NEW classes.dex file into the original ext.jar file..
Move to /system/framework
Or just push the file attached
I'll contact the OP to fix the flashable zip and I'll fix the flashable update for my rom in my thread.
Click to expand...
Click to collapse
Great job bro!
Wish I had more free time to fix stuff like this :/
Works great
Sent from my HTC_Amaze_4G using Tapatalk 2
Silentbtdeadly said:
This is fixed along with notification enable/disable for beats not being in the notification bar if you push the attached file to your /system/framework folder and restart the phone. You may have to go into applications and wipe the data for the cm music app, the htc music app, and the play music app(and any other music app you may use), this will stop any kind of force closes from happening.
For anyone that wants to learn HOW to do a little thing like this..
To change such a LITTLE thing was frustrating, but here is how it was fixed.
Pull the classes.dex file out of the ORIGINAL ext.jar file(with a program like 7zip) on our phone or in any of our roms- decompile the classes.dex file with baksmali. Go to the com/htc/htcjavaflag/HtcBuildFlag.smali file, edit in notepad just THIS line:
Code:
.method public static final getHTC_Pyramid_LE_flag()Z
.registers 1
const/4 v0, [B]0x0[/B]
Change just the bolded above to 0x1 and save.
Then to smali the files again into a new classes.dex: "java -Xmx512M -jar smali.jar classout/ -o new-classes.dex"
Backup the original dex file, rename the "new-classes.dex" to classes.dex, use a program like 7zip to move that NEW classes.dex file into the original ext.jar file..
Move to /system/framework
Or just push the file attached
I'll contact the OP to fix the flashable zip and I'll fix the flashable update for my rom in my thread.
Click to expand...
Click to collapse
Okay so now without a shadow of a doubt, beats is working 110 percent
flawlessly? with your help of course
Sent from my HTC Sensation 4G XE with Beats Audio using xda premium
I've flashed the zip and pushed the ext.jar and still not working... Any friendly advice?
Sent from my HTC_Amaze_4G using XDA
recognize_atm said:
I've flashed the zip and pushed the ext.jar and still not working... Any friendly advice?
Sent from my HTC_Amaze_4G using XDA
Click to expand...
Click to collapse
Try putting the new patched ext.jar in the .zip before u flash.
Sent from my HTC Sensation 4G XE with Beats Audio using xda premium
lightninbug said:
Try putting the new patched ext.jar in the .zip before u flash.
Sent from my HTC Sensation 4G XE with Beats Audio using xda premium
Click to expand...
Click to collapse
That seems slightly easier gonna try
Amaze 4G ENERGY ICS
eggydrums said:
That seems slightly easier gonna try
Amaze 4G ENERGY ICS
Click to expand...
Click to collapse
cool, let me know if it works for ya
didnt work on energy rom, caused boot loop when i placed the jar file into the zip and flashed through recovery. i thought it was because the rom is partially odexed. however even pushing the jar file and removing the original odexed jar wasnt working. any advice
Hello community!
Intro:
You may not know it, but Samsung(and maybe every popular Android phone manufacturers) has a ready-to-use Light theme "pre-installed" in our devices, not only the Galaxy S Advance of course, this theme probably exists in every latest firmware for Galaxies from Samsung, including Galaxy SIII, Galaxy S2 and many more I guess, the Galaxy S4 is not an exception, which also comes in the Light version already set. I found a way to switch in this light version, and it's VERY easy. Maybe newbie-friendly too. Ok maybe not so easy but it still is as simple as adding a word. Literally, it's only adding a word! Read the "Notes:" sections at the end of the post before doing anything.
Getting to the point:
These themes exist in the framework-res.apk, specifically, in the /res/values/styles.xml
You will find different themes in there including Google's "Holo(.Dark)" and "Holo.Light". These are the basic ones, which will be used by almost every application that does NOT have it's own skin, so these applications will use the either Holo(Dark) or Holo Light.
There are three(I think) more basic themes in there including the stock Android, this one is based on Gingerbread I guess.
The other two are the Device Default and Device Default Light. These two are the ones that a manufacturer, like Samsung, can edit to give it's devices a custom and unique style.
A stock application that comes pre-installed in the software(Like SecSettings.apk, MusicPlayer.apk e.t.c.) will probably use either the Device Default or Device Default Light. This is up to the manufacturer to choose. In our case, Samsung has set most of it's applications to use the Device Default.
A small "What I am talking about":
{
"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"
}
How to set the Light theme to an application:
Requirements:
The application which you want to change it's theme. (I will use SecSettings.apk as an example)
apk-tool (I use APK Multi-Tool because it's very easy to use)
Notepad++
Know how to decompile/recompile
Instructions:
Decompile the .apk.
Go to "/res/values/" folder and open the file "styles.xml" with Notepad++.
Click "Find" or press "Ctrl+F".
In the "Find What :" box enter "DeviceDefault" and hit next.
Check the first result you get, mine was this:
Now, copy this ".Light" (without the "), this is the magic word!
You will paste this exactly after every "[email protected]*android:style/blabla.DeviceDefault
Like the image below:
Even if there is something after the DeviceDefault like this:
You will still paste the ".Light" exactly after the DeviceDefault like the image below:
Make sure to paste it ONLY in "parent=" lines, and in EVERY "parent=" lines. There are exceptions though, based on the .app. But don't get confused, even if you make a mistake, will be able to find it and fix it later. For now just continue the "paste" process.
Once you have finished the "paste" process, save the file and overwrite the old one.
Recompile the .apk.
That's it! Copy the .apk on your phone, place it where it belongs and set the right permissions.
Reboot, open the application, and take a taste of a light UI that your phone's manufacturer had hidden from you.
Notes:
1. I don't even know if other manufacturers like Sony do this too. If yes, then this tutorial will work for these phones too, probably.
2. Don't try this on framework-res.apk. framework-res.apk can be used too for you to change your theme to Light, but it will probably cause many graphical errors. And it also requires a different way to change the theme. I have tried it and got both good and bad results, check the second post for more information.
3. If you tried and had any errors I could use a hand, just post your compile log and myself and maybe some other people will help you if we can.
4. Modifying the framework-res.apk in a proper way will allow every stock application to be themed without having someone to edit them. Again check the second post.
5. If you find something confusing you can freely ask by posting here.
6. I am not sure about everything that I say in the "Intro:" section. It's just my theory, excuse me if I'm wrong.
7. These themes are the main reason(probably ) for the apps to have both "holo_dark" and "holo_light" variants of .png files and colors. People who have edited SystemUI.apk's and framework-res.apk's "drawable-" folders will understand what I am saying.
Here is a modded framework-res.apk, with this I managed to theme almost every stock Samsung application without editing anything except the framework-res.apk.
I am totally sure that I changed some things without thinking first. The styles.xml is big and I almost got lost. I did everything I could for now, I'm sorry.
You can flash it only on LQB firmwares, maybe only some of them. Check the screenshots to see what I have managed so far. Expect MANY UI bugs.
P.S. It's just for you to see how a Light theme would look. Don't complain about bugs on this, please.
Light Framework
Screenshots:
Great job, Koulis!
Well done!! :good:. Must have taken you quiet some time to find how to do it. :good: :good: :good:
Still people need to understand that this won't magically invert the theme to white... You'll still get loads of UI bugs, which you of course, must fix manually.
panda00 said:
Still people need to understand that this won't magically invert the theme to white... You'll still get loads of UI bugs, which you of course, must fix manually.
Click to expand...
Click to collapse
Maybe not so many bugs, but I guess there will be some.
then change the text color for holo dark to holo light
joehanh88 themed GT-I9070
joehanh88 said:
then change the text color for holo dark to holo light
joehanh88 themed GT-I9070
Click to expand...
Click to collapse
I thought of that. But I'll try another time I'm feeling lazy now.
Sent from my Galaxy S Advance
Nice mod.
If i want the google default holo theme (like nexus) thenbi should write '.holo dark' instead of '.light'??
Sent from my GT-I9070 using xda premium
I just have one note, to make this much much easier...
When pressing Ctrl+F go the replace tab and on the find space type "DeviceDefault" and on the replace space type "DeviceDefault.Light"... Then press replace all... This should replace everything in one click, I guess.
Nice post
Sent from my GT-I9070 using xda app-developers app
panda00 said:
I just have one note, to make this much much easier...
When pressing Ctrl+F go the replace tab and on the find space type "DeviceDefault" and on the replace space type "DeviceDefault.Light"... Then press replace all... This should replace everything in one click, I guess.
Click to expand...
Click to collapse
...but the OP said "Make sure to paste it ONLY in "parent=" lines, and in EVERY "parent=" lines."
and one question: How to change the text color for holo dark to holo light?
No screens in the OP
d14gvn said:
No screens in the OP
Click to expand...
Click to collapse
It's because of Photobucket. I did some mistakes. Sorry. Also, just to let everyone know, I'm back!!! Not that I'm going to do something great but I will try to think of something.
Sent from my Galaxy SIII Mini
Koulis2000 said:
It's because of Photobucket. I did some mistakes. Sorry. Also, just to let everyone know, I'm back!!! Not that I'm going to do something great but I will try to think of something.
Sent from my Galaxy SIII Mini
Click to expand...
Click to collapse
Nice article!
Hope to see the screenshots back!!!
pathuri97 said:
Nice article!
Hope to see the screenshots back!!!
Click to expand...
Click to collapse
Will reupload them later today, maybe.
Thanks!
Sent from my Galaxy SIII Mini
Apk N't Installed???
Koulis2000 said:
It's because of Photobucket. I did some mistakes. Sorry. Also, just to let everyone know, I'm back!!! Not that I'm going to do something great but I will try to think of something.
Sent from my Galaxy SIII Mini
Click to expand...
Click to collapse
Thanks for the SCREENSHOTS.
Really useful.
I followed your steps and compiled & decompiled using VTS software. (http://www.virtuous-ten-studio.com/).
Absolutely NO ERROS before after compilation.
After copying the file to /system/app with ROOT EXPLORER (with proper permissions),
When I click SETTINGS ICON - I get a message saying "Apk N't installed".
What could be the reason - any idea???
pathuri97 said:
Thanks for the SCREENSHOTS.
Really useful.
I followed your steps and compiled & decompiled using VTS software. (http://www.virtuous-ten-studio.com/).
Absolutely NO ERROS before after compilation.
After copying the file to /system/app with ROOT EXPLORER (with proper permissions),
When I click SETTINGS ICON - I get a message saying "Apk N't installed".
What could be the reason - any idea???
Click to expand...
Click to collapse
No ideas why you get a message like this. :/
Sent from my Galaxy SIII Mini
pathuri97 said:
Thanks for the SCREENSHOTS.
Really useful.
I followed your steps and compiled & decompiled using VTS software. (http://www.virtuous-ten-studio.com/).
Absolutely NO ERROS before after compilation.
After copying the file to /system/app with ROOT EXPLORER (with proper permissions),
When I click SETTINGS ICON - I get a message saying "Apk N't installed".
What could be the reason - any idea???
Click to expand...
Click to collapse
Did you copy the META-INF and AndroidManifest.xml from the original apk to the new compiled in dist? AFAIK is it like signing. When you try to install by hand do you get a parsing error?
and2 said:
Did you copy the META-INF and AndroidManifest.xml from the original apk to the new compiled in dist? AFAIK is it like signing. When you try to install by hand do you get a parsing error?
Click to expand...
Click to collapse
Thanks for the reply!
As you can see from the enclosed screenshots - no problem with the compilation and signing.
VTS is taking care of the same.
What I'm trying to do is copy framework-res.apk, systemui.apk and settings.apk from different custom ROM to current ROM.
No problem in copying and overwriting the original files of current ROM.
TAB works fine.
NO FC's.
Only thing is I'm trying to change LIGHT theme of secsettings.apk to DARK theme.
Either I get APK n't installed or FC (SystemUI.apk etc).
Again If I replace secsettings.apk from CUSTOM ROM to current ROM - works fine. NO FC's.
Might be I need to dig deeper....
How To Implement 1% Battery Mod On Your Rom
What is 1% Battery Mod
1% battery mod allows your battery % icon to decrease in 1% increments
Stock roms and some custom roms dont have this so the battery % icon jumps from 100% to 79% then 64% 49% 34% 19% and 4%
So this mod allows your rom to display 100% 99% 98% 97% and so on down to 1% with pngs that look as follows
{
"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"
}
How To For Deodex Roms Only
Always Make A Nandroid Backup Before Trying Anything!
1- Download the files in attatchment
2- Decompile Framework-res.apk with apk tool (if you dont know how to do this see my thread for link to my apktool guide - link in my signature)
3- Open res/drawable
4- Replace stat_sys_battery.xml and stat_sys_battery_charge.xml with the ones from the battery files zip
5- Open res/drawable-ldpi and copy all the pngs from the battery pngs zip here replacing any pngs already there when asked
6 - Recompile and put in a flashable zip and flash in cwm with system mounted (see below)
You can use any other battery icon pack you like as long as it has the full ammount of pngs required
How To Make Flashable Zip
1 - Download the Flashable Zip Template from attachment
2- Open the flashable zip with WinRar
3- Goto system/framework
3- Drag your compiled framework-res.apk to this location
4- In the window that pops up select ok
5- Done you can now flash the zip in cwm with system mounted
credits
UOT Kitchen for files
Will try it later...
OT: Congrats for becoming RC..
DELETED
Click to expand...
Click to collapse
Thanks For The Guide Bro... Well Done!
Sent From My XG-I™ N7000 Using XDA-Developers App
RenzkiPH said:
Thanks For The Guide Bro... Well Done!
Sent From My XG-I™ N7000 Using XDA-Developers App
Click to expand...
Click to collapse
thank you but please delete your quote of the op
Hi. I lost status bar. I using stock rom deodex. Help me
[email protected] said:
Hi. I lost status bar. I using stock rom deodex. Help me
Click to expand...
Click to collapse
Did you decompile framework-res.apk with apktool? you cant just unzip a file to replace xml files you must decompile
how did you flash it?
did you put it in a flashable zip and flash it in cwm with system mounted?
no reason why you would loose your statusbar
if you just replaced framework-res.apk with a root browser its not a good idea to do that - if you did that did you set the correct permissions rw-r-r
either flash your origional framework-res.apk back
or restore your nandroid backup
then try again
remember framework-res.apk goes in system/framework in the flashable zip folder - give me a min and I will upload a flashable zip and instructions on the op
update - template added to op for flashable zip
marcussmith2626 said:
Did you decompile framework-res.apk with apktool? you cant just unzip a file to replace xml files you must decompile
how did you flash it?
did you put it in a flashable zip and flash it in cwm with system mounted?
no reason why you would loose your statusbar
if you just replaced framework-res.apk with a root browser its not a good idea to do that - if you did that did you set the correct permissions rw-r-r
either flash your origional framework-res.apk back
or restore your nandroid backup
then try again
remember framework-res.apk goes in system/framework in the flashable zip folder - give me a min and I will upload a flashable zip and instructions on the op
update - template added to op for flashable zip
Click to expand...
Click to collapse
Thanks to reply. Will try tomorrow.
Sent with my Young using Forum Runner
H9 Error XML Files
sir marcussmith2626 why when I tried to copy & paste your xml files attached to my H9 Framework-res.apk then after recompile I pushed it to system through RootEx then aftery reboot I only got like this battery icon ( [?] ) its QUESTION MARK. why? our battery pngs are on drawable-hdpi. Thanks and sorry for my bad english.
CAPsebastian said:
sir marcussmith2626 why when I tried to copy & paste your xml files attached to my H9 Framework-res.apk then after recompile I pushed it to system through RootEx then aftery reboot I only got like this battery icon ( [?] ) its QUESTION MARK. why? our battery pngs are on drawable-hdpi. Thanks and sorry for my bad english.
Click to expand...
Click to collapse
Its always better to flash the files in cwm with system mounted
Also if you push manually you need to set the permission of the apk to rw-r-r
You also need to use the pngs in the zip provided or another pack that contain the exact same number of pngs with the exact same file names - these filenames match the path in the xml files
Your rom may also have other framework mods which are pointing to different locations for the pngs
marcussmith2626 said:
Its always better to flash the files in cwm with system mounted
Also if you push manually you need to set the permission of the apk to rw-r-r
You also need to use the pngs in the zip provided or another pack that contain the exact same number of pngs with the exact same file names - these filenames match the path in the xml files
Your rom may also have other framework mods which are pointing to different locations for the pngs
Click to expand...
Click to collapse
Okay sir. Thaanks! I'll gonna try it again.
Yeah. I have the complete pngs of battery icons that i would like to replace, my only problem is on the xml's when I will just use the xml's of Hyperion9 there would be no problem but the battery is draining by 100-90-80-70% and so on, then I would like to apply your xml's attached to be able to implement the 1% battery draining.
I can attach my framework-res.apk in here just to be able to fix about the xml's problem. :3
can you help me figure it out? if you only have time, but if you're busy its okay. Thank you.
CAPsebastian said:
Okay sir. Thaanks! I'll gonna try it again.
Yeah. I have the complete pngs of battery icons that i would like to replace, my only problem is on the xml's when I will just use the xml's of Hyperion9 there would be no problem but the battery is draining by 100-90-80-70% and so on, then I would like to apply your xml's attached to be able to implement the 1% battery draining.
I can attach my framework-res.apk in here just to be able to fix about the xml's problem. :3
can you help me figure it out? if you only have time, but if you're busy its okay. Thank you.
Click to expand...
Click to collapse
sorry not doing it for you
like I said - the names of the pngs must match exactly
use the pngs provided - if they work your pngs or named wrong
also galaxy y is ldpi so you should place these pngs in the res-ldpi folder or create it - also copy them into the other res folders just to make sure - android will choose the correct folder for you
marcussmith2626 said:
sorry not doing it for you
like I said - the names of the pngs must match exactly
use the pngs provided - if they work your pngs or named wrong
also galaxy y is ldpi so you should place these pngs in the res-ldpi folder or create it - also copy them into the other res folders just to make sure - android will choose the correct folder for you
Click to expand...
Click to collapse
ahh okaay2. thanks! ^_^
Yeah, i tried when I used the XML's of Hyperion9 it show's but when I changed it to your XML's attached it turned into unknown battery. I don't know if what's the problem of it.
Yeah. they say but why our's is on hdpi? haha tss! so can I erase all the battery icons on hdpi and changed it to ldpi?
wait I'm just editing it on phone using Ninjamorph is it advisable? because I heard it on recompiling xml script should turn into alien binary script language. XD
CAPsebastian said:
ahh okaay2. thanks! ^_^
Yeah, i tried when I used the XML's of Hyperion9 it show's but when I changed it to your XML's attached it turned into unknown battery. I don't know if what's the problem of it.
Yeah. they say but why our's is on hdpi? haha tss! so can I erase all the battery icons on hdpi and changed it to ldpi?
wait I'm just editing it on phone using Ninjamorph is it advisable? because I heard it on recompiling xml script should turn into alien binary script language. XD
Click to expand...
Click to collapse
you need to use apktool to decompile the apk and recompile the apk as written in my instructions
Im guessing when you are using ninjamorph you are simply replacing the xml - you cannot do this - the apk need properly decompiling and recompiling
I cannot support any other method other than using apktool
marcussmith2626 said:
you need to use apktool to decompile the apk and recompile the apk as written in my instructions
Im guessing when you are using ninjamorph you are simply replacing the xml - you cannot do this - the apk need properly decompiling and recompiling
I cannot support any other method other than using apktool
Click to expand...
Click to collapse
Okay2. Thanks for the info! maybe I'll just use the apktool.apk given from other Devs here in XDA is that advisable? because I don't have PC yet, my PC is admitted on the shop because she's sick. XD
CAPsebastian said:
Okay2. Thanks for the info! maybe I'll just use the apktool.apk given from other Devs here in XDA is that advisable? because I don't have PC yet, my PC is admitted on the shop because she's sick. XD
Click to expand...
Click to collapse
yes you can use the mobile version of apktool
Battery turned to red(unknown) icon when I use Ninjamorph pro.
Also tried Apktool4.4_armhf.zip but it doesn't re/decompile anything & ends up giving this error:
/data/data/per.pqy.apktool/mydata/apktool2.sh: line 6: /data/data/per.pqy.apktool/lix/jvm/java-7-openjdk-armhf/jre/bin/java: not found
Click to expand...
Click to collapse
Galaxy_Rohit said:
Battery turned to red(unknown) icon when I use Ninjamorph pro.
Also tried Apktool4.4_armhf.zip but it doesn't re/decompile anything & ends up giving this error:
Click to expand...
Click to collapse
Can you use a PC instead of using apps on your phone?
Ticklefish said:
Can you use a PC instead of using apps on your phone?
Click to expand...
Click to collapse
Better advice the developer to stop making such android apps. When I'm outdoors, my phone is my best friend. Hope u understand!!
Galaxy_Rohit said:
Battery turned to red(unknown) icon when I use Ninjamorph pro.
Also tried Apktool4.4_armhf.zip but it doesn't re/decompile anything & ends up giving this error:
Click to expand...
Click to collapse
That version will probably not work on our phone
Please try the version and instructions from this thread
http://forum.xda-developers.com/showthread.php?t=2488697
I wont be a able to offer anymore support regarding compiling on a phone or using this tool correctly