Related
I'm trying to get the stock battery percent icons into adrynalyne's basic debloat
I've swapped icons before, but I can't seem to get any battery icon showing with this rom.
1. I went into framework-res.apk ->res-> drawable ->
I changed stat_sys_battery.xml with that xml file from other roms that had 100 icons (das bamf 1.2 and also tried from the Perfect Storm rom)
2. I added to the drawable-hdpi folder the 100 battery stat icons from the Perfect Storm rom (I liked chingy's icons)
I have no battery icons at all in the notification bar now, just a space where an icon should be. What am I doing wrong? Any help in the right direction would be appreciated thanks
EDIT: This has been fixed, see my post below http://forum.xda-developers.com/showthread.php?p=12792718#post12792718
+1 on this.
I have themed many ROM's and edited countless XML files and could not get this to work. I went as far as decompiling the framework and typing the extra lines of code in the battery.xml but still could not get it to work.
if you are rooted ( i am assuming so)
pull the framework-res.apk
go to this site------- http://uot.dakra.lt/kitchen/
create whatever battery icon you want in the kitchen
upload your apk file
wait for the kitchen to cook your file (takes about 10 mins)
download and flash in CWR
racinwarrior said:
if you are rooted ( i am assuming so)
pull the framework-res.apk
go to this site------- http://uot.dakra.lt/kitchen/
create whatever battery icon you want in the kitchen
upload your apk file
wait for the kitchen to cook your file (takes about 10 mins)
download and flash in CWR
Click to expand...
Click to collapse
I have a replacement Thunderbolt in the mail for tomorrow, I'll try it tomorrow and post if it worked with this rom thanks
smoothjeff said:
I have a replacement Thunderbolt in the mail for tomorrow, I'll try it tomorrow and post if it worked with this rom thanks
Click to expand...
Click to collapse
PM me, I have the smooth sense icons images that i'm trying to port over to any ROM but can't seem to get it right
Since I got my tbolt back, I've decided to stick with the stock rooted odexed software.
I tried the same process as in my original post.. I'm trying to change the battery icons (not changing the charging icons though) and no matter what I do theres just a blank space where the battery icon should be. I tried using a different set of png's and same problem. Does anyone have any idea what I'm doing wrong?
racinwarrior said:
if you are rooted ( i am assuming so)
pull the framework-res.apk
go to this site------- http://uot.dakra.lt/kitchen/
create whatever battery icon you want in the kitchen
upload your apk file
wait for the kitchen to cook your file (takes about 10 mins)
download and flash in CWR
Click to expand...
Click to collapse
I tried with only a battery mod (stock odexed) and the phone force closed like crazy, when I changed the xml and png's myself I had no issues other than the battery icon not showing
any luck i already have the icons i want to use just need to know how to change form increments of 1 to increments of 10
I believe signal23's framework has the smooth battery icons. Also are you decompiling/compiling the framework correctly when you are getting no battery showing? For increments of 10 you just need to edit the stat_sys_battery.xml so it only reports in increments of 10.
mob87 said:
I believe signal23's framework has the smooth battery icons. Also are you decompiling/compiling the framework correctly when you are getting no battery showing? For increments of 10 you just need to edit the stat_sys_battery.xml so it only reports in increments of 10.
Click to expand...
Click to collapse
i havent been decompiling/compiling, i just opened the apk with winzip and dragged and dropped the files overwriting the old ones. i use a stat_sys_battery.xml to report increments of 1 since im using 100 icons, put in the 100 icons in the drawable-hdpi folder, put it through an update zip, and the phone worked the same, just no battery icon at all showed up
smoothjeff said:
i havent been decompiling/compiling, i just opened the apk with winzip and dragged and dropped the files overwriting the old ones. i use a stat_sys_battery.xml to report increments of 1 since im using 100 icons, put in the 100 icons in the drawable-hdpi folder, put it through an update zip, and the phone worked the same, just no battery icon at all showed up
Click to expand...
Click to collapse
Frameworks can be very sensitive. Double check that you are replacing with icons of the same size. Also, double check all file names (I once had one file with capital extension mess it all) and double check the xml. Whenever I had a disappearing battery indicator it was due to something small like that. One way to debug this is to start with the original and only replace a few of the icons (make sure it's around your charge level). Keep adding modifications until you find the offending file.
FIXED
I found a fix. When you change from the stock number of icons to 100 icons, the stat_sys_battery.xml is assigned a new resource_id in the file resources.arsc see: http://www.droidforums.net/forum/droid-hacks/12834-compiling-xmls-system-level-mods-2.html
The first time I tried UOT kitchen I got all kinds of force closes, so this time I unchecked the Patch9 autofix (not sure if that made any difference) and I used the stock icons instead of custom ones. This finally worked.
After I got this to work, I ported the battery icon's from chingy51o's Perfect Storm rom (the colors are closer to stock than UOT Kitchen's icons)
Attached is an update.zip to put chingy's battery icons into a stock rooted Thunderbolt, thanks to chingy51o and UOT Kitchen. Please make a full backup of your system before applying this, I am not responsible if this bricks your device
I installed this and am loving it but upon boot I'm getting an amazing amount of Force Closes.
Including, but not limited to:
Gmail
Google Search
HTC DM
Internet
Also tried applying a wallpaper and got "Warning: Phone Storage is Full"
I just tried doing it myself using http://uot.dakra.lt/ and after booting I kept getting the same force closes and errors :/
Any help?
No one?
Sent from my ADR6400L using XDA App
OK here's the deal i'm using the Meizu theme for CM 7 from Zdunex25 found here http://forum.xda-developers.com/showthread.php?t=1102755 but I cant for the life of me get the transparent status bar to work, i've tried applying the tweaks mentioned here http://zdune.mod2xtreme.com/android/tweaks.php
but instead of gettin the nice transparency, i get a black bar with garbled up different lookin colors for icons lol... been at it for 2 hrs, so i'm askin for some help guys mayb you will have better luck here are the framework-res and systemui.apk
that are needed. hope one of u guys out there can get it working. =)
PS if anyone doesnt mind doin one for this theme http://forum.xda-developers.com/showthread.php?t=1189723 too lol that be even more awesome =)
Update: Progress i got the status bar transparent, workin on the pulldown menu now tho
This one worked for me, its a different one. Transparent status bar is under statusbar tweaks lol. Patcher for CM7
Tell me if it works for you The meizu one didnt work for me either but after using this one, the meizu theme looked complete for me
i was able to get the miui bar and notification working, i sued the same patcher u did, lol i searched a bit more and found it right b4 u posted.
Any way to get the 2.3.4 status bar transparent?
~ Sent from My Unlocked, Rooted, Gingerbreaded, and Pi-Crusted Atrix 4G ~
Obartuckc said:
Any way to get the 2.3.4 status bar transparent?
~ Sent from My Unlocked, Rooted, Gingerbreaded, and Pi-Crusted Atrix 4G ~
Click to expand...
Click to collapse
Stock? (4.5.91)
if i recall from my reading, it should b the same line that u tweak after decompiling ur systemui.apk
djkinetic said:
if i recall from my reading, it should b the same line that u tweak after decompiling ur systemui.apk
Click to expand...
Click to collapse
I dont think it will work on stock moto gingerbread...It might...Try! lol
bsutton said:
I dont think it will work on stock moto gingerbread...It might...Try! lol
Click to expand...
Click to collapse
I think it would work on GB but you would also need to change statusbar_background.png in systemui to a transparent image. I'm pretty sure the patcher only changes the smali edit and doesn't change the png.
Nottach said:
I think it would work on GB but you would also need to change statusbar_background.png in systemui to a transparent image. I'm pretty sure the patcher only changes the smali edit and doesn't change the png.
Click to expand...
Click to collapse
Yup u have to manually edit the status_bar.XML and then copy and rename the status_bar.png then recompile the systemui.apk to get the matching notification area
Sent from my Motorola Atrix 4G MB860 using XDA Premium App
djkinetic said:
Yup u have to manually edit the status_bar.XML and then copy and rename the status_bar.png then recompile the systemui.apk to get the matching notification area
Sent from my Motorola Atrix 4G MB860 using XDA Premium App
Click to expand...
Click to collapse
What do I have to edit in the SystemUI.apk manually in order to get the transparent statusbar for GB?
gera4ever94 said:
What do I have to edit in the SystemUI.apk manually in order to get the transparent statusbar for GB?
Click to expand...
Click to collapse
First replace the background image in SystemUI.apk.
1. Open systemui with winrar.
2. Extract res/drawable-hdpi/statusbar_background.9.png and make it completely or semi transparent.
3. Drag the edited image into the winrar window overwriting the original.
4. Push it to the phone.
Second run the patch. Pulling, patching, and then finally flash the patched zip.
If there's also a statusbar_background.png (no .9) edit that one the same as the other.
Nottach said:
First replace the background image in SystemUI.apk.
1. Open systemui with winrar.
2. Extract res/drawable-hdpi/statusbar_background.9.png and make it completely or semi transparent.
3. Drag the edited image into the winrar window overwriting the original.
4. Push it to the phone.
Second run the patch. Pulling, patching, and then finally flash the patched zip.
If there's also a statusbar_background.png (no .9) edit that one the same as the other.
Click to expand...
Click to collapse
When I run patcher.bat, I pull the files from my phone, then I try to enable statusbar transparency only and an error box pops up saying Windows cannot find 'temp/SytsemUI\smali\com\android\systemui\statusbar'. Make sure you typed the name correctly, and then try again. On the command prompt window it says something like:
A subdirectory or file temp already exists.
A subdirectory or file temp\backup already exists.
Unable to access jarfile C:\Users\FAMILY~1\AppData\Local\Temp\Rar$DI11.888\\tool\apktool.jar
Unable to access jarfile C:\Users\FAMILY~1\AppData\Local\Temp\Rar$DI11.888\\tool\apktool.jar
The system cannot find the path specified.
Any ideas?
Edit: Never mind, a stupid mistake.
Doesn't work on GB. It kind of overlapped my current statusbar creating a sort of blur. But it doesn't make it transparent.
gera4ever94 said:
Doesn't work on GB. It kind of overlapped my current statusbar creating a sort of blur. But it doesn't make it transparent.
Click to expand...
Click to collapse
That's because it's for CM7...
sauronith said:
That's because it's for CM7...
Click to expand...
Click to collapse
I knew that before I tried it. Someone was curious if it would work on GB so I tested it out.
can you share the transp systemui?
thank you
I'm running CM7 pre-beta and I'm using the MIUI theme. I ran the patcher.bat and selected transparent status bar only. I get my statusbar_patch and undo zips but when I install it I have no statusbar at all. And when I run the undo zip I still have no statusbar. What exactly did you guys do to get it to work? I installed the patch and uninstalled it several times already.
Try these, make sure the wipe cache and wipe dalvik cache also
Sometimes the notification bar is transparent for me and other times not. I flashed this patch with romracers cwm and seems to go smoothly. Any guesses? I have wiped cache, davlik cache numerous times.
Sent from my MIUI themed CM7 Atrix
I just created a theme using the UOT Kitchen. Not all options can be used since they don't yet support qhd resolution, but that is supposed to be fixed soon. I was able to create a theme with the following elements: digital battery indicator (10% increments), Dr. Droid icons, Rudolf screen animations (great feature), Ubuntu font and Tesseract boot animation. Note that the boot animations won't fill the screen because they don't support qhd yet, so pick one that will always be black around the edges to look right. Also, I wasn't able to get some icon packs to flash, so I'm not sure which ones will work other than the one I used.
When you make a theme with boot animation, be sure to select the Galaxy S GB ROM. Also, when you upload your files, you have to select amend scripting and have Patch9 selected. There's no need to select the theme preview option for theme chooser since our ROM doesn't have this.
I'm running a rooted, locked stock ROM with cwm bootstrap recovery. You must be rooted and have some type of recovery. Be sure to wipe cache and delvik cache before flashing and nandroid a backup before you flash just in case something goes wrong. Happy themeing!
Edit:
Here's a link to my theme described above.
beartrap said:
I just created a theme using the UOT Kitchen. Not all options can be used since they don't yet support qhd resolution, but that is supposed to be fixed soon. I was able to create a theme with the following elements: digital battery indicator (10% increments), Dr. Droid icons, Rudolf screen animations (great feature), Ubuntu font and Tesseract boot animation. Note that the boot animations won't fill the screen because they don't support qhd yet, so pick one that will always be black around the edges to look right. Also, I wasn't able to get some icon packs to flash, so I'm not sure which ones will work other than the one I used.
When you make a theme with boot animation, be sure to select the Galaxy S GB ROM. Also, when you upload your files, you have to select amend scripting and have Patch9 selected. There's no need to select the theme preview option for theme chooser since our ROM doesn't have this.
I'm running a rooted, locked stock ROM with cwm bootstrap recovery. You must be rooted and have some type of recovery. Be sure to wipe cache and delvik cache before flashing and nandroid a backup before you flash just in case something goes wrong. Happy themeing!
Click to expand...
Click to collapse
Great stuff man, I am wanting to learn this stuff myself! Been trying to hunt down a video walk through since I learn visually, but hey.
-DJ
Nice find dude, I forgot all about this lol
I've never tired UOT I will have to take a look at it thanks for awaring me
beartrap said:
I just created a theme using the UOT Kitchen. Not all options can be used since they don't yet support qhd resolution, but that is supposed to be fixed soon. I was able to create a theme with the following elements: digital battery indicator (10% increments), Dr. Droid icons, Rudolf screen animations (great feature), Ubuntu font and Tesseract boot animation. Note that the boot animations won't fill the screen because they don't support qhd yet, so pick one that will always be black around the edges to look right. Also, I wasn't able to get some icon packs to flash, so I'm not sure which ones will work other than the one I used.
When you make a theme with boot animation, be sure to select the Galaxy S GB ROM. Also, when you upload your files, you have to select amend scripting and have Patch9 selected. There's no need to select the theme preview option for theme chooser since our ROM doesn't have this.
I'm running a rooted, locked stock ROM with cwm bootstrap recovery. You must be rooted and have some type of recovery. Be sure to wipe cache and delvik cache before flashing and nandroid a backup before you flash just in case something goes wrong. Happy themeing!
Edit:
Here's a link to my theme described above.
Click to expand...
Click to collapse
Yeah, I've tried the Kitchen, but when I go to flash, I get E: Error in /emmc/UOT....(status 0) Installation aborted. Any ideas?
No idea what that could be dude... nine flashed good.. but all it did was change my font even though I added a boot animation, icons, and also played with the status bar...
Sent from my MB855 using xda premium
iSaint said:
No idea what that could be dude... nine flashed good.. but all it did was change my font even though I added a boot animation, icons, and also played with the status bar...
Sent from my MB855 using xda premium
Click to expand...
Click to collapse
According to UOT, they say:
WORKAROUND for recovery error (Status 0):
1. Unzip your ROM and find
META-INF/com/google/android/update-binary file
2. Put this file in the UOT zip (overriding UOT's file)
But would you know how to unzip and find that binary file?
KTT16 said:
Yeah, I've tried the Kitchen, but when I go to flash, I get E: Error in /emmc/UOT....(status 0) Installation aborted. Any ideas?
Click to expand...
Click to collapse
updater script is bad.
edit: i can post what you would need when I get off work today.
[email protected] said:
updater script is bad.
edit: i can post what you would need when I get off work today.
Click to expand...
Click to collapse
That'd be great. Thanks!
KTT16 said:
Yeah, I've tried the Kitchen, but when I go to flash, I get E: Error in /emmc/UOT....(status 0) Installation aborted. Any ideas?
Click to expand...
Click to collapse
What method of recovery are you using to flash?
Yay 4 Juggs said:
What method of recovery are you using to flash?
Click to expand...
Click to collapse
I used CWM. BTW, thanks for the instructions on the update...it was really helpful! Who knew that just wanting to change that ugly-ass battery indicator in the notification bar would be such a problem..(at least for me)
KTT16 said:
I used CWM. BTW, thanks for the instructions on the update...it was really helpful!
Click to expand...
Click to collapse
Replace the update-binary in the uot file with the one from the rom you're using
Yay 4 Juggs said:
Replace the update-binary in the uot file with the one from the rom you're using
Click to expand...
Click to collapse
Yeah, that's the explanation from UOT...I'm such a noob. I'm just on the stock ROM and wasn't sure where to find that update-binary file to replace the UOT file with.
KTT16 said:
Yeah, I've tried the Kitchen, but when I go to flash, I get E: Error in /emmc/UOT....(status 0) Installation aborted. Any ideas?
Click to expand...
Click to collapse
Be sure to select amend scripting when you upload your files, it's not checked by default.
beartrap said:
Be sure to select amend scripting when you upload your files, it's not checked by default.
Click to expand...
Click to collapse
Yeah I didn't do that before. I'll try it out! Thanks!
UPDATE: Yup, it worked. Thanks so much for the reminder to select the amend scripting...I seriously need to go back to school and learn how to read.
Amend scripting is apparently no longer supported by my version of CWM (v5.0.2.7-photon3). Any ideas? Sorry to resurrect an old thread, but it seemed preferable to do this than start a new one.
I edited the framework-res.apk and added the stat_sys_battery pngs from a battery mod zip but it only shows the percentage on the icon as closest multiple of five. Then i looked at the original file and saw there was only pngs for those numbers (0,5,10,15,...). I guess that i could change that by editing the stat_sys_battery_discharging.xml file but i don't know how to open it. I didn't use mod zip in recovery because I don't have cwm and I have rooted my phone with zergrush and i don't want to flash a non-stock kernel.
Hi,
I'd appreciate your input on the following problem.
In custom recovery, I have installed the aroma file manager, copied the /system/app/systemui.apk to the sd-card.
On the computer, I have opened the systemui.apk with WinZip. I also opened a zip file that contained the battery pngs of my choice - I highlighted them and dragged them into the WinZip systemui.apk window (replacing the original pngs).
I copied the systemui.apk back to the sd-card, rebooted the phone into the recovery, started aroma file manager again, replaced the original /system/app/systemui.apk with my modified systemui.apk and checked the permissions.
I rebooted the phone. My new battery icon is there.
BUT where the wifi icon and the sd-card icon etc. used to be, there is a black field now - i.e. the icons are no longer shown, only black placeholders.
Any idea why?
What can I do?
Thanks
mary-lou
Have you changed the status bar bg by mistake? Also make sure that the battery icons are of same dpi as stock. Have you played with any other thing? (Transparency?)
gobz said:
Have you changed the status bar bg by mistake? Also make sure that the battery icons are of same dpi as stock. Have you played with any other thing? (Transparency?)
Click to expand...
Click to collapse
Hi, I haven't change the status bar bg and I haven't played with transparency.
BUT I tried again.
This time I used another set of icons (the icons do have the same size as in my first attempt, though), again I copied them from a zip into the systemui.apk -- BUT this time I used 7-zip (instead of WinZip). And it worked. No problems after copying the systemui.apk back to /system/app and setting the permissions.
I don't know if there was a problem with the first icon set or if WinZip was the problem.
Summing up, it is possible to replace pngs in the systemui.apk in an odexed system by just dragging&dropping the modified apks into the systemui.apk (with the help of 7-Zip).
Yeah, using 7-zip is mandatory while creating archives for android. It's the same with flashable zips. I found out that you even have to use the windows version, it isn't enough to use 7-zip in Linux.
Sent from my HTC Desire X using xda premium