[Q] Replace Battery Indicator on WT19i? - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

I want to replace the battery indicator icon on my phone, I already installed the Quickpanel, and looks great, but I want the Battery Indicator with percentage. I was searching and I found the UOT Kitchen mods, I follow the instructions and I get my file, and flashed it with CWM but is still showing the stock battery icon. I think it's because only works with 2.3.3 Gingerbread or I don't know. Because I follow the instructions right, but if someone knows another way to change it and can share it, I will appreciate it. Thanks!

So, what rom you're using?
I'm pretty sure that UOT will work for every rom.
The other way is inject by yourself.
-extract UOT.zip that you download
-get the systemui.apk from app folder & framework-res.apk from framework folder.
-copy to your SD card
-move them to phone system (By root explorer etc.)
-change both permission to
//-
--/
--/
-copy the original systemui & framework-res to your sd card
-move new systemui to system/app
-move new framework-res to system/framework
-reboot
That should work. :\

Related

Creating Battery Mods

So i have been attempting to create a battery mod using some of the ones for the i9100 and i have been failing. I'm currently running Cognition V2. I only want the battery icon to change. and i know the files are in the framework-res.apk in the drawable-hdpi. I was told i can put all the image files in a modified Framework-res.apk and put in the framework folder. then rename the one the phone is using and then rename the modified one to exactly what it is suppose to be. It works for him but when i do it i instantly get FC when i change the name of the file. then after a reboot the correct battery icon is there but i get lots of FC's including the all important android.phone.com. So i must be doing something wrong. i was conversing in the Cognition section but since its off topic i moved it here. any help and tips are appreciated.
thejanitor86 said:
So i have been attempting to create a battery mod using some of the ones for the i9100 and i have been failing. I'm currently running Cognition V2. I only want the battery icon to change. and i know the files are in the framework-res.apk in the drawable-hdpi. I was told i can put all the image files in a modified Framework-res.apk and put in the framework folder. then rename the one the phone is using and then rename the modified one to exactly what it is suppose to be. It works for him but when i do it i instantly get FC when i change the name of the file. then after a reboot the correct battery icon is there but i get lots of FC's including the all important android.phone.com. So i must be doing something wrong. i was conversing in the Cognition section but since its off topic i moved it here. any help and tips are appreciated.
Click to expand...
Click to collapse
The key is to move the modified framework-res apk (correctly named and ready to move) into system (not in a subfolder), change the permissions to the appropriate ones there (sd card won't let you do them). I'm pretty sure the permissions are rw-r-r. They have to match the permissions of the file it's replacing. This is why you get the FCs. From here, move it into the framework folder, it'll prompt if you want to replace, hit yes or ok. Reboot.

[Q] Battery modded icon percentage is shown as multiples of five

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.

How do I change status bar icons? UOT doesn't work

I try to change the various status bar icons like the downloading icon, wi-fi icon, but I always get an SHTF error on the pickup page. I think it's my ROM's fault. (Chobits v2). So I want to do it manually. My question is, how? Where can I find the icons that I need to change? :cyclops:
Install 7zip and then right-click on either SystemUI.apk or or framework-res.apk (I can't remember which one of the 2 has those icons), then extract. Browse the files in the extracted folder and see which one has them, modify/replace them, then open the apk file again with 7zip and go to the ldpi folder with the images, and just drag in the modded image files and close.
Atleast that's how I do it manually sometimes.
Where can I find the Wi-Fi signal icons?
blagginspaziyonokip said:
Where can I find the Wi-Fi signal icons?
Click to expand...
Click to collapse
Wifi, data and signal bar are located in drawable-ldpi folder inside your SystemUI.apk. Battery icon in framework-res.apk. the other, just try find them inside drawable-dpi folder of framework-res.apk and systemui.apk.
ztandroid said:
Wifi, data and signal bar are located in drawable-ldpi folder inside your SystemUI.apk. Battery icon in framework-res.apk. the other, just try find them inside drawable-dpi folder of framework-res.apk and systemui.apk.
Click to expand...
Click to collapse
WTF!? I replaced the framework-res.apk on my phone with the one I customised and the phone acted up, everything kept force closing, I had to re-enter my account details, and everything was bad. How do I properly replace the framework-res.apk with a customised one?
Dude, you shouldnt replace the entire framework-res.apk, you should replace only the pngs that you need to change(status bar pngs), replacing it will get fcs
How do I replace only the files I need to? I grabbed the framework-res.apk I currently use and I customised the pictures. I was told I need adb to do this but I think adb replaces thw whole thing.
You can use winrar to replace them, replace the png with the modified png. First modify your framework-res.apk, replace them with the pngs you want, then make a flashable zip to replace it via CWM
If you want the icons from uot kitchen... use some other framework file from other Rom to uot... then apply whatever icons and options you want... submit the work to uot... now download the modified framework from uot... now open the modified framework in winrar... and original chobits in another winrar... now replace all the pngs or whatever pngs you want from modified framework to original chobits... that's all you're done...
ALL I GOT IS INSANE ! !
i neeeeeeeeeeeeeeeed itttt
emjimadhu said:
If you want the icons from uot kitchen... use some other framework file from other Rom to uot... then apply whatever icons and options you want... submit the work to uot... now download the modified framework from uot... now open the modified framework in winrar... and original chobits in another winrar... now replace all the pngs or whatever pngs you want from modified framework to original chobits... that's all you're done...
ALL I GOT IS INSANE ! !
Click to expand...
Click to collapse
Genius
Sent from my GT-S5360 Toaster

wifi etc. icons gone [black field instead] after changing battery icon in systemui

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

[GUIDE] How To Remove Network Icons(4G/3G/G/E) From The Status Bar

------------------------------------------------------------------------------------------------------------------------------------
REMOVING NETWORK ICONS FROM STATUS BAR
------------------------------------------------------------------------------------------------------------------------------------
Hey there folks. This is my first guide so don't except from me a lot. Please do cooperate and if you have any problem, head to comments and at last sorry for my bad english
Requirements:
1. The Rom From Which You Want To Remove The Network Icons.
2. SystemUI.apk
3. A PC (You can also do it on phone by using ES File Explorer)
4. Attached Files
5. ES File Explorer
6. And Most Important-
Brain
How To(NO DECOMPILING REQUIRED):
1. Extract the ROM and navigate to SystemUI.apk and extract it.
2. Navigate To res/drawable.
3. Look for files having 3G/4G/G/E icon. The file names commonly start with stat_sys_network but it is not for all ROMs. So, it is better to look for icons.
4. Now open the icons with paint, erase them and resize them to 1x1 res and save them.
5. If you can't do the above method copy out the icons from the attached files and paste them in the res/drawable folder but rename them according to the original icons name.
6. Now Compress The APK and choose the "STORE" compression method.
7. After Compression Rename The "SystemUI.rar" To "SystemUI.apk"
8. Replace The Old "SytemUI.apk" with the new one.
9. Compress the whole ROM using WinRAR and select Store Compression Method.
10. Flash the ROM or push the apk through ADB or simply replace it in the current ROM.
Note:
On replacing it in the current ROM it will force close so you have to restart the phone and after restarting you can't see any status bar. Now replace it again and change the permission to 'rwrr' and restart again. This time it will work fine and your network icons will be gone.
11. Cheers!!!!!
Man that was awesome!
Just what i needed, but i have some questions, you remove all icons? big 3g and little 3g, or just Big 3g?
When i use xposed, i remove wifi icon because when wifi is connected, the network icon disappears, so the status bar looks clean Its possible to do something like that?
But without ROOT because i have a new phone now and i will wait for the warranty u know...
Manish1708 said:
------------------------------------------------------------------------------------------------------------------------------------
REMOVING NETWORK ICONS FROM STATUS BAR
------------------------------------------------------------------------------------------------------------------------------------
Hey there folks. This is my first guide so don't except from me a lot. Please do cooperate and if you have any problem, head to comments and at last sorry for my bad english
Requirements:
1. The Rom From Which You Want To Remove The Network Icons.
2. SystemUI.apk
3. A PC (You can also do it on phone by using ES File Explorer)
4. Attached Files
5. ES File Explorer
6. And Most Important-
Brain
How To(NO DECOMPILING REQUIRED):
1. Extract the ROM and navigate to SystemUI.apk and extract it.
2. Navigate To res/drawable.
3. Look for files having 3G/4G/G/E icon. The file names commonly start with stat_sys_network but it is not for all ROMs. So, it is better to look for icons.
4. Now open the icons with paint, erase them and resize them to 1x1 res and save them.
5. If you can't do the above method copy out the icons from the attached files and paste them in the res/drawable folder but rename them according to the original icons name.
6. Now Compress The APK and choose the "STORE" compression method.
7. After Compression Rename The "SystemUI.rar" To "SystemUI.apk"
8. Replace The Old "SytemUI.apk" with the new one.
9. Compress the whole ROM using WinRAR and select Store Compression Method.
10. Flash the ROM or push the apk through ADB or simply replace it in the current ROM.
Note:
On replacing it in the current ROM it will force close so you have to restart the phone and after restarting you can't see any status bar. Now replace it again and change the permission to 'rwrr' and restart again. This time it will work fine and your network icons will be gone.
11. Cheers!!!!!
Click to expand...
Click to collapse
Hi can you do it for my Elephone S8, I have some trouble to do that alone. I will be thankful.
Best Method
Manish1708 said:
------------------------------------------------------------------------------------------------------------------------------------
REMOVING NETWORK ICONS FROM STATUS BAR
------------------------------------------------------------------------------------------------------------------------------------
Click to expand...
Click to collapse
Really it is better to use apps like system ui tuner if the phone is rooted
Guide for Pie (Android 9)
Your guide was very helpful, and ignited the spark in me to investigate how to do this on the latestish firmware.
You can do this on Pie by:
-Extracting the files formatted as ic_*network*_mobiledata.xml
-Setting every instance of
Code:
android:viewportWidth=
and
Code:
android:viewportHeight=
to 0
-Reinserting said files back into the archive
-Deleting systemui.apk and replacing it with the modified apk with 644 permissions
-Rebooting
Cheers!

Categories

Resources