Related
Hello,
I found this thread :
http://forum.xda-developers.com/showthread.php?t=765419
and I have some questions about this :
1) Is it possible to "tweak" our framework-res.apk with this battery mod.
2) Can I use this method to "tweak my framework-res.apk : http://circle.glx.nl/
3) When I download my new framework-res.apk, how to boot on recover mode on the phone to put the framework-res.apk on the system ?
4) Do you know an other easylier method to tweak icons on the HD2 under android ?
Thanks a lot !
+1 I asked myself to but no time to seach forum
@Karlichon
What is with this batmod? Are you done with them?
karlichon said:
1) Is it possible to "tweak" our framework-res.apk with this battery mod.
2) Can I use this method to "tweak my framework-res.apk : http://circle.glx.nl/
3) When I download my new framework-res.apk, how to boot on recover mode on the phone to put the framework-res.apk on the system ?
Thanks a lot !
Click to expand...
Click to collapse
Ok I think I'll answer this, but bear with me as it's NOT easy or for the faint of heart. If you read this and you DO NOT feel comfortable I would recommend you not giving this a go.
Before you start ANY of these steps below, MAKE SURE YOU BACKUP YOUR FILES BEFORE REPLACING THEM. I WILL NOT BE HELD RESPONSIBLE FOR ANY DAMAGE CAUSED FOLLOWING THESE STEPS! You have been warned.
1) Visit the website above and run through the steps to get the battery images you want. For the purposes of this tutorial/howto I am not covering how to change anything else (KISS: Keep It Simple, Stupid).
2) The easiest ones to change are the Version A-I ones, just choose which battery set would work best for you on your phone and click "Next"
3) Choose "Do not include icons" and click next. The icons it is talking about here are the signal, wifi, usb etc notification bar icons and as I mentioned I will not cover how to change those here.
4) Leave "Do not change notification status bar" selected and click next. Again I'm not covering that here.
5) You can choose a different boot anim if you want, they are very easy to upload to your phone and you can figure out where they have to be put yourself with no problems. IMPORTANT: If you do change the boot animation, make sure you choose the correct type of rom you have from the dropdown selection.
6) Upload your existing framework-res.apk (using something like DroidExplorer, navigate to /system/framework and paste it onto your desktop, then upload here). This will update the relevant files in your framework-res.apk automatically. (If you cannot obtain your existing framework-res.apk I cannot guarantee method 2 will work, sorry but feel free to try)
7) Replace your framework-res.apk (via DroidExplorer or your chosen ADB browser) on your phone and reboot. Voila!
This worked for me on shubcraft 2.0 drop mode but obviously I cannot guarantee it will work for everyone. Please remember my warnings above that this is not guranteed.
hello, thanks for your quick help, but it doesn't work for hyperdroid rom V1.7
any idea ?
karlichon said:
hello, thanks for your quick help, but it doesn't work for hyperdroid rom V1.7
any idea ?
Click to expand...
Click to collapse
there is another far more complicated way around it, but it really does take about half an hour to work out.
Basically, you need to get your framework-res.apk and extract it with winrar or something similar (an apk is basically just a zip file) and find the folder called res/drawable-HDPI. this is where all the icons for things like your battery icons live.
Copy and paste the new icons from someone elses framework-res or even one you download from the website above into this folder and replace the drawable-HDPI folder into your framework-res.apk, replace it onto your phone and reboot.
Again, this is a quick description of a much lengthier way of doing it but it does work. Also, my disclaimer in the post I made before still stands, do this AT YOUR OWN RISK and do NOT complain to me if something breaks. If you don't fully understand, don't do anything.
I tried the kitchen method, but I receive a huge error log after uploading the framework apk
is the page currently partly down?
rafpigna said:
I tried the kitchen method, but I receive a huge error log after uploading the framework apk
Click to expand...
Click to collapse
It doesn't seem to work all that well with frameworks from our current modded builds. I've tried it with a rooted desire framework (from my gf's desire) and that worked. Evidently all the work that the devs do on our hd2's make them very different to other android builds. the second method I posted (adding the png's to your existing framework) works perfectly.
BlackPit666 said:
is the page currently partly down?
Click to expand...
Click to collapse
Nope, seems up to me.
yes its up again
rafpigna said:
I tried the kitchen method, but I receive a huge error log after uploading the framework apk
Click to expand...
Click to collapse
for me the same, desirehd revolution rom of mdj
can anybody help me?
Reno_79 said:
there is another far more complicated way around it, but it really does take about half an hour to work out.
Basically, you need to get your framework-res.apk and extract it with winrar or something similar (an apk is basically just a zip file) and find the folder called res/drawable-HDPI. this is where all the icons for things like your battery icons live.
Copy and paste the new icons from someone elses framework-res or even one you download from the website above into this folder and replace the drawable-HDPI folder into your framework-res.apk, replace it onto your phone and reboot.
Again, this is a quick description of a much lengthier way of doing it but it does work. Also, my disclaimer in the post I made before still stands, do this AT YOUR OWN RISK and do NOT complain to me if something breaks. If you don't fully understand, don't do anything.
Click to expand...
Click to collapse
can you tell me which files i need to replace to get another battery icon? only the files which "batt" in it?
Reno_79 said:
there is another far more complicated way around it, but it really does take about half an hour to work out.
Basically, you need to get your framework-res.apk and extract it with winrar or something similar (an apk is basically just a zip file) and find the folder called res/drawable-HDPI. this is where all the icons for things like your battery icons live.
Copy and paste the new icons from someone elses framework-res or even one you download from the website above into this folder and replace the drawable-HDPI folder into your framework-res.apk, replace it onto your phone and reboot.
Again, this is a quick description of a much lengthier way of doing it but it does work. Also, my disclaimer in the post I made before still stands, do this AT YOUR OWN RISK and do NOT complain to me if something breaks. If you don't fully understand, don't do anything.
Click to expand...
Click to collapse
This method will not work with the battery icons which shows all 100% increments. This method will only work for the standard battery icons, which only involves like 12 battery icons.
In order to add the 1% increment readings in the battery, it involves modifying xml files to read and associate the correct battery icons at each increment.
can you give a tut how to add the version a manually?
nvm, I got it!
I was just wondering if there are a clever trick to reflash a theme already installed on the device.
In this particular situation I have changed some of the icons in the framwork-res.apk. I then copied them to the theme, wich is BrightSilence, and tried to flash it all over again. Result - bootloop.
So, is there any step you could do to circumvent this, or is the only option to reflash the ROM. and then the theme?
Thanks
Yes, just reflash a unmodified version of, in your case, BrightSilence or am i missing something?
Or revert to the nandroid you made before messing with the system partition.
The thing is that BrightSilence is already installed on the device, but now I want another set of icons. Flashing the theme again with the modified framework-res just result in a bootloop.
It seems there really is no shortcut, than to reflash ROM, then new theme.
Thanks anyway.
hallydamaster said:
The thing is that BrightSilence is already installed on the device, but now I want another set of icons. Flashing the theme again with the modified framework-res just result in a bootloop.
It seems there really is no shortcut, than to reflash ROM, then new theme.
Thanks anyway.
Click to expand...
Click to collapse
U are wrong.
Installing theme - means overwriting some files into new ones, not adding or removing some.
So if u changed framework file, flashed and got bootloop - u can flash theme again (overwrite bad file) and boot correctly.
Sent from my pocket using pen
mendozinas said:
U are wrong.
Installing theme - means overwriting some files into new ones, not adding or removing some.
So if u changed framework file, flashed and got bootloop - u can flash theme again (overwrite bad file) and boot correctly.
Sent from my pocket using pen
Click to expand...
Click to collapse
I do get that really. But what now if I want to apply a new framework-res? I know I can always nandroid my self out of a bootloop.
hallydamaster said:
I do get that really. But what now if I want to apply a new framework-res? I know I can always nandroid my self out of a bootloop.
Click to expand...
Click to collapse
U have to mod framework correctly and will not end in booloops.
Use Apk Manager to decompile, change, compile and sign framework-res.apk.
Do not push file via adb - use flashable zip.
Sent from my pocket using pen
mendozinas said:
U have to mod framework correctly and will not end in booloops.
Use Apk Manager to decompile, change, compile and sign framework-res.apk.
Do not push file via adb - use flashable zip.
Sent from my pocket using pen
Click to expand...
Click to collapse
But the framework-res is from the UOT, shouldn't that be packed/signed properly?
Well, I am going to try anyway, thanks!
EDIT: Tried to cook a new file, with the exact same framework-res I used earlier. Used UOT to cook, and worked perfectly. Thanks to mendozinas! ;-)
I'm [12.Aug.2012] NexusHD2-ICS-4.0.4-CM9-HWA V2.6 (Kernel: tytung_HWA_r3.4) And tried hard for a mod to make its statusbar transparent...!!!:fingers-crossed::fingers-crossed::fingers-crossed:
Followed this guide but failed as it resulting no statusbar at the end.
Please can anybody guide us(noobs) with a proper tutorial for systemUI.apk mods for our leo???
Been looking for one as well, always end up stuffing mine up.
I'm not sure which guide you followed but you can try this one - http://forum.xda-developers.com/showpost.php?p=20654552&postcount=3
And if you are looking for different mods in general check out the SGN Themes&Apps section http://forum.xda-developers.com/forumdisplay.php?f=1340
It's way more active when it comes to mods&themes compared to the HD2 section (Which consists mostly of Questions and Disscusions anyway )
gogodu5sU said:
I'm not sure which guide you followed but you can try this one - http://forum.xda-developers.com/showpost.php?p=20654552&postcount=3
And if you are looking for different mods in general check out the SGN Themes&Apps section http://forum.xda-developers.com/forumdisplay.php?f=1340
It's way more active when it comes to mods&themes compared to the HD2 section (Which consists mostly of Questions and Disscusions anyway )
Click to expand...
Click to collapse
Sorry this is the guide I followed!!!!
http://forum.xda-developers.com/show....php?t=1523703
jhha said:
Sorry this is the guide I followed!!!!
http://forum.xda-developers.com/show....php?t=1523703
Click to expand...
Click to collapse
You were right, this guide - http://forum.xda-developers.com/showthread.php?t=1523703 works well.
I actually never sign SystemUI.apk nor framework-res.apk, never had a problem with that, so you can skip that part.
Try APK Multi-Tool - http://forum.xda-developers.com/showthread.php?t=1310151
and don't forget to drop framework-res.apk into Apk_Multi-Tool\other
next open Command prompt and navigate to that folder
type
Code:
apktool if framework-res.apk
and you should be ready to de- and recompile.
Attached is 100% transparent and 50% transparent. (have not tested 50% though)
Flash in recovery.
grumbles
im trying to figure this out for the rom in my sig which is a jb rom
but that guide did help me at all lol
none of the code matched up
Thanks those two mods worked, thanks.
Kameirus said:
grumbles
im trying to figure this out for the rom in my sig which is a jb rom
but that guide did help me at all lol
none of the code matched up
Click to expand...
Click to collapse
Probably because it's a different version of Android
Permissions???
gogodu5sU said:
You were right, this guide - http://forum.xda-developers.com/showthread.php?t=1523703 works well.
I actually never sign SystemUI.apk nor framework-res.apk, never had a problem with that, so you can skip that part.
Try APK Multi-Tool - http://forum.xda-developers.com/showthread.php?t=1310151
and don't forget to drop framework-res.apk into Apk_Multi-Tool\other
next open Command prompt and navigate to that folder
type
Code:
apktool if framework-res.apk
and you should be ready to de- and recompile.
Attached is 100% transparent and 50% transparent. (have not tested 50% though)
Flash in recovery.
Click to expand...
Click to collapse
Thanks man I'll definitely try with this & let you know & many thanks for the modded zips(till I learn how to manipulate SystemUI.apk successfully my leo can enjoy it!:highfive::highfive::highfive! Thanks again.!
I found this guide too...!!! :fingers-crossed::fingers-crossed::fingers-crossed:
http://rootzwiki.com/topic/31785-co...ng-and-recompiling-jb-systemuiapk-jelly-bean/
& managed to compile the SystemUI.apk but still it results in absent status bar in either way of following
1. Replacing the original SystemUI.apk in the ROM with the modded one & installing the ROM(Tried both signed & unsigned versions)
2. After installing the original ROM & later replace the SystemUI.apk with the modded one with root explorer (Tried signed version)
But when I Edit the permission(with root explorer) of the modded SystemUI.apk copied to the system folder (As in 2nd method), as for other system apps it worked. :cyclops::laugh::laugh::laugh:
I cant understand in which step I made things wrong! In which step we manage permissions of an app while decompiling, compiling or modding.!
It'd be nice if somebody can direct me right.! Love to learn from XDA...!!!
Kameirus said:
grumbles
im trying to figure this out for the rom in my sig which is a jb rom
but that guide did help me at all lol
none of the code matched up
Click to expand...
Click to collapse
Try above link...!!! Its originally for JB...!!!:laugh:
jhha said:
Thanks man I'll definitely try with this & let you know & many thanks for the modded zips(till I learn how to manipulate SystemUI.apk successfully my leo can enjoy it!:highfive::highfive::highfive! Thanks again.!
I found this guide too...!!! :fingers-crossed::fingers-crossed::fingers-crossed:
http://rootzwiki.com/topic/31785-co...ng-and-recompiling-jb-systemuiapk-jelly-bean/
& managed to compile the SystemUI.apk but still it results in absent status bar in either way of following
1. Replacing the original SystemUI.apk in the ROM with the modded one & installing the ROM(Tried both signed & unsigned versions)
2. After installing the original ROM & later replace the SystemUI.apk with the modded one with root explorer (Tried signed version)
But when I Edit the permission(with root explorer) of the modded SystemUI.apk copied to the system folder (As in 2nd method), as for other system apps it worked. :cyclops::laugh::laugh::laugh:
I cant understand in which step I made things wrong! In which step we manage permissions of an app while decompiling, compiling or modding.!
It'd be nice if somebody can direct me right.! Love to learn from XDA...!!!
Try above link...!!! Its originally for JB...!!!:laugh:
Click to expand...
Click to collapse
yes ive seen that thanks
found out last night that the status bar transparency on jb cant be done yet
pier10 said:
Unfortunately, there's still no hack on CM10 ...the .smali files (that need to modify) isn't exist in JB.
It's rather easy on CM9. Here's the guide http://forum.xda-developers.com/showthread.php?t=1523703
btw, the notification is transparent on this theme
Click to expand...
Click to collapse
im gonna try and figure out the notification pull down later today
jhha said:
Thanks man I'll definitely try with this & let you know & many thanks for the modded zips(till I learn how to manipulate SystemUI.apk successfully my leo can enjoy it!:highfive::highfive::highfive! Thanks again.!
I found this guide too...!!! :fingers-crossed::fingers-crossed::fingers-crossed:
http://rootzwiki.com/topic/31785-co...ng-and-recompiling-jb-systemuiapk-jelly-bean/
& managed to compile the SystemUI.apk but still it results in absent status bar in either way of following
1. Replacing the original SystemUI.apk in the ROM with the modded one & installing the ROM(Tried both signed & unsigned versions)
2. After installing the original ROM & later replace the SystemUI.apk with the modded one with root explorer (Tried signed version)
But when I Edit the permission(with root explorer) of the modded SystemUI.apk copied to the system folder (As in 2nd method), as for other system apps it worked. :cyclops::laugh::laugh::laugh:
I cant understand in which step I made things wrong! In which step we manage permissions of an app while decompiling, compiling or modding.!
It'd be nice if somebody can direct me right.! Love to learn from XDA...!!!
Try above link...!!! Its originally for JB...!!!:laugh:
Click to expand...
Click to collapse
Permissions are set in the AndroidManifest.xml. (in the root folder of the decompiled apk)
Sometimes, if an app is asking for "wierd" permissions which i/it doesn't need i just delete those lines from that file.
But in your case, i don't know what happend.
Kameirus said:
yes ive seen that thanks
found out last night that the status bar transparency on jb cant be done yet
im gonna try and figure out the notification pull down later today
Click to expand...
Click to collapse
Sorry Kameirus
but i can't help you with that either, i guess you would be better off downloading the jellybean source
and try to mod it that way or wait until somebody else does.
I don't think that those "smalis" don't exist, they are just named differently
and overall just different since it's a new android version.
My guess would be, if you want to add transparency you might want to look at:
SystemUI.apk\smali\com\android\systemui\statusbar\BaseStatusBar.smali
If you are going to learn a bit about smali, you could try Virtuous Ten Studio - http://forum.xda-developers.com/showthread.php?t=1619473
It makes smali's a bit easier on the eye and has a nice smali-guide within.
gogodu5sU said:
Permissions are set in the AndroidManifest.xml. (in the root folder of the decompiled apk)
Sometimes, if an app is asking for "wierd" permissions which i/it doesn't need i just delete those lines from that file.
But in your case, i don't know what happend.
Sorry Kameirus
but i can't help you with that either, i guess you would be better off downloading the jellybean source
and try to mod it that way or wait until somebody else does.
I don't think that those "smalis" don't exist, they are just named differently
and overall just different since it's a new android version.
My guess would be, if you want to add transparency you might want to look at:
SystemUI.apk\smali\com\android\systemui\statusbar\BaseStatusBar.smali
If you are going to learn a bit about smali, you could try Virtuous Ten Studio - http://forum.xda-developers.com/showthread.php?t=1619473
It makes smali's a bit easier on the eye and has a nice smali-guide within.
Click to expand...
Click to collapse
thanks
i saw that smali a little while ago when i was going thru the folders
ill look at it later after i get home
thanks for the tip
well no luck lol
but i did learn how to flash a backup blindfolded lmao
Ok I think I figured out whats the problem is with my compiling...!!!
When you run the compile it ask to replace every thing that not modified from the original. I chose "yes" earlier all the time! But when I select "no"
I could get a working SystemUI.apk even without zipaligning or signing.! :cyclops::cyclops::cyclops:
Learning something everyday!
Hi, guys. I need your help.
I was trying to flash SlimSystem onto my LG L5 II (E451g) and I ended up with no LGSystemUI.apk file, only the .odex one.
After trying several restore methods, I ended up with none of those two files, hehe. If someone gave me their stock .apk and .odex files, would my phone have a status bar again?
Right now, I'm using SlideLock and some widgets to make up for the lack of a status bar/notifications, but I'd like to have it back.
By the way, weird (or at least I think it's weird): Obviously I can't have a static wallpaper because, of course, no LGSystemUI.apk BUT, live wallpapers work like a charm. I thought they were both handled by my missing .apk
Anyways, thanks in advance to anyone who uploads his/hers files.
nzdroid said:
Hi, guys. I need your help.
I was trying to flash SlimSystem onto my LG L5 II (E451g) and I ended up with no LGSystemUI.apk file, only the .odex one.
After trying several restore methods, I ended up with none of those two files, hehe. If someone gave me their stock .apk and .odex files, would my phone have a status bar again?
Right now, I'm using SlideLock and some widgets to make up for the lack of a status bar/notifications, but I'd like to have it back.
By the way, weird (or at least I think it's weird): Obviously I can't have a static wallpaper because, of course, no LGSystemUI.apk BUT, live wallpapers work like a charm. I thought they were both handled by my missing .apk
Anyways, thanks in advance to anyone who uploads his/hers files.
Click to expand...
Click to collapse
@slipsystem
is it fixed ?
Hey all.
I'm trying to modify my SystemUI.apk on stock Android 7.1.1 to remove the regular system clock and add the text clock, as well as hiding the VPN icon. On previous versions of Android, I simply used apktool to decompile the SystemUI.apk and framework-res.apk, made my necessary modifications to the res folder, and then recompiled with apktool.
However, I couldn't get that to work on Android 7.1.1, and I started following this guide: http://chromloop.com/2016/11/guide-how-to-port-pixel-navigation-bar-animation-to-your-phone/
Except I still can't get my modifications to work. When I follow the necessary steps and replace my SystemUI.apk, the statusbar and navigation bar are no longer rendered on my phone. And flashing back to stock SystemUI causes the phone to crash repeatedly with an error message of "SystemUI failed to start."
Can anyone kindly point me in the right direction?
Thanks!
SiliconMage said:
Hey all.
I'm trying to modify my SystemUI.apk on stock Android 7.1.1 to remove the regular system clock and add the text clock, as well as hiding the VPN icon. On previous versions of Android, I simply used apktool to decompile the SystemUI.apk and framework-res.apk, made my necessary modifications to the res folder, and then recompiled with apktool.
However, I couldn't get that to work on Android 7.1.1, and I started following this guide: http://chromloop.com/2016/11/guide-how-to-port-pixel-navigation-bar-animation-to-your-phone/
Except I still can't get my modifications to work. When I follow the necessary steps and replace my SystemUI.apk, the statusbar and navigation bar are no longer rendered on my phone. And flashing back to stock SystemUI causes the phone to crash repeatedly with an error message of "SystemUI failed to start."
Can anyone kindly point me in the right direction?
Thanks!
Click to expand...
Click to collapse
You'll need to flash stock img, nothing else i tried worked. I was farting around with both files and systemui stopped working for me after as well. I was just trying to change the framework-res colors. But using the recompiled apk crashed the UI even after replacing it.
StarRavier said:
You'll need to flash stock img, nothing else i tried worked. I was farting around with both files and systemui stopped working for me after as well. I was just trying to change the framework-res colors. But using the recompiled apk crashed the UI even after replacing it.
Click to expand...
Click to collapse
Cool, thanks. Did that get your colors working as well, or no?
SiliconMage said:
Cool, thanks. Did that get your colors working as well, or no?
Click to expand...
Click to collapse
I can change them with zips provided here. http://forum.xda-developers.com/nexus-6p/themes-apps/mod-theme-nmf26f-various-framework-res-t3515739
But I want to do it myself at least so i understand how to modify systemui instead of using user provided zips
Same here, man, same here. Thanks.
I received a response from sharkie405 and I was able to fix my issue by simply adding the -c command to the end of the apktool build command. The "-c" preserves the signing of the original jar, which is necessary for validating the recompiled jar file.
So after I made the necessary modifications to my xml files, I did: java -jar apktool b SystemUI -c