Ok. So after searching these forums and reading a lot I couldn't find a vanilla android battery mod for my SGS. Azreil's was pretty good but not what I wanted.
I think there are other people who would like this.
Here's what I did.
I got hold of a stock framework-res.apk of an HTC. Renamed it to rar and extracted the battery png-s. After that I extracted my own framework-res.apk (renamed it to rar) and overwritten the stock battery png's (the blue styled battery png's). Renamed back to framework-res.apk and copied back to
system/framework with root explorer.
I did this on rooted XWJP6 firmware.
I've attached both my screenshot and the png's so you don't have to search.
And the final framework-res.apk. Don't know if you should copy directly this but its here.
I know it's not mutch but maybe someone whant this and doesn't know how to do it.
And the usual Disclaimer: I'm not responsible for anything that happens to your phone bla bla bla.
Related
I ran into a DroidDoesPink ROM which was Sense-able just redone in pink. I was wondering if this can be done with any rom? If any of them could be changed the color you want. http://androidforums.com/all-things-root-eris/64009-droiddoespink-rom.html Here is the link to it. How could I go about changing the color to something i want? or is this not possible? Sorry if this a noob question lol
dyefalcon1 said:
I ran into a DroidDoesPink ROM which was Sense-able just redone in pink. I was wondering if this can be done with any rom? If any of them could be changed the color you want. http://androidforums.com/all-things-root-eris/64009-droiddoespink-rom.html Here is the link to it. How could I go about changing the color to something i want? or is this not possible? Sorry if this a noob question lol
Click to expand...
Click to collapse
all you have to do is change the corresponding png files in the framework-res.apk
its found under /system/frameworks
lets pretend i dont know how to do that...
unzip the rom
find the framework-res.apk under system/frameworks
change apk to zip
unzip
edit the png files for whatever suits your taste
zip the files back up
rename to framework-res.apk
push that to your phone and reboot
awesome thanks ill see what i can do
when i zip them back up what settings should i use i tried to flash and it said cant open
you dont flash it
adb remount
adb push *new framework-res.apk* /system/framework
Actually got it working thanks!
So, i've been trying this for a while. It's not working. Are there any special settings I need to use to zip it? When I reboot the phone it just hangs on the androids on skateboards.
make sure you do exactly what is said and you name the file framework-res.apk and it switches to an apk file. i had trouble here but one you get that right it works great
here's what I did.
1. unzipped the CELB2.4 rom
2. went to /system/framework and renamed the framework-res.apk to a .zip
3. extracted the .zip
4. modified the .png's
5. renamed the framework-res.zip back to a .apk
6. booted my phone into recovery and in a terminal ran
./adb shell mount /system
./adb push framework-res.apk /system/framework
I tried the remount command and it doesn't work while in recovery
*Edit: just looked at the framework-res.apk file again. Although it says it's a .apk, it still acts and looks like a .zip without the .zip extension. What's going on?*
hitman_dreams said:
here's what I did.
1. unzipped the CELB2.4 rom
2. went to /system/framework and renamed the framework-res.apk to a .zip
3. extracted the .zip
4. modified the .png's
5. renamed the framework-res.zip back to a .apk
6. booted my phone into recovery and in a terminal ran
./adb shell mount /system
./adb push framework-res.apk /system/framework
I tried the remount command and it doesn't work while in recovery
*Edit: just looked at the framework-res.apk file again. Although it says it's a .apk, it still acts and looks like a .zip without the .zip extension. What's going on?*
Click to expand...
Click to collapse
heres what i did...
create a new folder and put the framework-res.apk in there
archive it
open it up (dont extract)
you will see new folder open that
you will then see "framework-res.apk.zip"
take off the .zip extention and it will then become an apk file
extract it then push it to your phone
dyefalcon1 said:
I ran into a DroidDoesPink ROM which was Sense-able just redone in pink. I was wondering if this can be done with any rom? If any of them could be changed the color you want. http://androidforums.com/all-things-root-eris/64009-droiddoespink-rom.html Here is the link to it. How could I go about changing the color to something i want? or is this not possible? Sorry if this a noob question lol
Click to expand...
Click to collapse
I can make an update.zip of that pink theme, or if you send me the rom update.zip you want to integrate it into, I can do that. Always happy to help.
you don't need to change the .apk to .zip it will open just like a zip file. easiest way is to drag and drop the edited png's back into the framework-res.apk without extracting it. I made the droiddoespink rom way back when and to be honest its probably a little outdated. I did update it with overclock and apps2sd though I think but if you are trying to change the colors to something else I would reccomend you start with a stock rom. You don't want to make everything orange and then have a pink highlight pop up somewhere. Also in sense based roms there are some png's in the htcresources.apk too. And to theme the dialer htcdialer.apk and phone.apk.
Conap said:
you don't need to change the .apk to .zip it will open just like a zip file. easiest way is to drag and drop the edited png's back into the framework-res.apk without extracting it. I made the droiddoespink rom way back when and to be honest its probably a little outdated. I did update it with overclock and apps2sd though I think but if you are trying to change the colors to something else I would reccomend you start with a stock rom. You don't want to make everything orange and then have a pink highlight pop up somewhere. Also in sense based roms there are some png's in the htcresources.apk too. And to theme the dialer htcdialer.apk and phone.apk.
Click to expand...
Click to collapse
true.
the instructions i gave are how to do it on mac 10.4
I find that 7-zip http://www.7-zip.org/ is most helpful in this type work in that allows you to open the .apk "archive" files
Hope this helps
do i need to resize the png's because when i edit them and when i push the file to my phone it shows up that i edited it but its not one big edited picture its a whole bunch of small ones.. im thinking i need to resize the png's to the size of my phonne
ashertheplague said:
do i need to resize the png's because when i edit them and when i push the file to my phone it shows up that i edited it but its not one big edited picture its a whole bunch of small ones.. im thinking i need to resize the png's to the size of my phonne
Click to expand...
Click to collapse
try resizing the edited files to what the unedited files originally were
I'm using Ubuntu 9.10, Thanks Conap, you're the man! That did the trick for me. I had to not extract the .apk just open it with archive manager and drag and drop the files/folder. White and red here we come!
CPCookieMan said:
I can make an update.zip of that pink theme, or if you send me the rom update.zip you want to integrate it into, I can do that. Always happy to help.
Click to expand...
Click to collapse
I would like the new sense able rom http://forum.xda-developers.com/showthread.php?t=654315 here or evil eris here http://forum.xda-developers.com/showthread.php?t=650302 which ever is easier for you if you could integrate that to color #00aeff that would be awesome
i attempted to replace most of the .apks in the system app folder with the same .apks from an ealier version of the rom (because i prefer black to blue/black). i replaced them in the .zip before i flashed it, hoping it would work.. but it didnt.. in the recovery menu it says:
....
verifying update package...
e:wrong digest:
system/app/browser.apk
e:verification failed
browser was one i replaced. how do i make this work? i dont want to use root explorer to manually replace each ****ing thing, and i have no patients for adb. i must need to sign the package or something? i never unpacked anything, just replaced some contents.. thought id be fine..
on a related note there may be more issues to come. unzipped the framework-res.apk to my computer, renamed it .zip, went inside and replaced the battery icons, renamed it back to .apk and replaced the modified file in the rom. who knows what chaos i might have caused there.. if you know what to expect and how to fix it please feel free to help!
if it matters at all, the rom im modifying and flashing is nonsensikal 9.5 black/blue, the system apps came from version 8.2 black, and battery icon .pngs came from 5.4 black.
Id try and resign the whole rom after you make your changes it should be just fine
you cannot simply replace the apks in the zip, then flash. after replacing, use one of the following methods:
if you use linux, use EasySign (http://android.grdlock.net/index.php?&direction=0&order=&directory=HTC Droid Eris/Extras) or the Android Kitchen (http://forum.xda-developers.com/showthread.php?t=633246).
if using Windows:
Use AutoSign (http://androidforums.com/developer-101/8665-how-signing-roms.html).
Thanks. I'll get on the computer and give it a shot.
Sent from my nonsensikal froyo using XDA App
if you've unzipped the framework-res.apk then none of this will work anyway. You need to pull the images out of the old framework-res.apk and drag and drop them back into the new framework-res.apk without unzipping it. You shouldn't even need to rename it to zip. Just open it with a program like 7zip without unzipping and drop the png's in the correct folders. Then you can put the .apk back in the rom and resign from the links directed above.
Oh it all worked fine. I never unzipped framework, just extracted it from the Rom and renamed it, then replaced files, renamed back to apk, and replaced in original .zip. it worked great.
To achieve full 9.5 black I have to copy all of the previous versions (black) framework .pngs to the new Rom though.
I think the file is like, drawable-mpdi or something. Not landscape or non. I don't really know.. not in right frame of mind
Sent from my nonsensikal froyo using XDA App
How i can Repack an APK, actually i take a look into my framework-res.apk y just rename to framework-res.zip and unpack as almost all know, i can then replace my drawable png but after this what should i do? to push it using adb (not recovery) do i need sign this apk??? can i use ZipSigner in case i need? or just push?
And last question: i want to create more stats for my battery:now the Atrix has:
stat_sys_battery_40.png
stat_sys_battery_50.png
....
and so on 10 in 10 i want to make 1 by one (of course i need make the png) but its just posible make this?
stat_sys_battery_41.png
stat_sys_battery_42.png
stat_sys_battery_43.png
....
stat_sys_battery_100.png
Thanks a lot
Bump please
.......................................................
Sent from my loved atrix ;D
I think even if you create the stats files, the system won't pick them up. The Gingerblur ROM has them all in 1% increases, but only the 20% increments are shown, plus of course 15% and 10%.
To answer your question: in order to do this, you need to add the changed files the the framework-res.apk zip file WITHOUT unzipping it (drag and drop is your friend). The apk file is signed, and unless you know how to sign it (I don't), you cannot simply re-zip it. I changed the connectivity icons myself, see this post: http://forum.xda-developers.com/showpost.php?p=12404672&postcount=2136
You can change the framework-res.apk file live, but be warned - that may mess up your blur stuff.
*edit* use 7zip, you can open the archive directly, no need to rename
Hi guys,
if you want to change your boot animation with something cooler, you can check out what this thread from the HTC subforum. Of course you have to be rooted to do it. So simply choose HTC Dream styles, which look very nice on our X8s. Download the zip file and extract the bootanimation.zip to your SD card. Then open the Root Explorer and copy the file in your /system/media folder. You should change the permissions to rw-r--r--, or simply see the permissions of your original file and after copying the new file make the permissions look the same.
I hope you enjoy this as much as I do!
how about splash screen like HACKDROID text after sonyericsson n before bootanimation? any clue?
just installed and works nicely boots faster then the cyanogen boot screen
kuyagaol said:
how about splash screen like HACKDROID text after sonyericsson n before bootanimation? any clue?
Click to expand...
Click to collapse
Yes, but you need to modify it a bit. What you have to do is the following:
Copy the bootanimation.zip that has the HackDroid splash screen to your computer
Extract the contents of the file and find the folder named part0
The first few *.png files are actually the "splash screen"
Copy those and leave them aside
Now extract the "bios boot animation" file and in part0 put those "HackDroid" files
Very important is to rename each of the consecutive files, so that you don't mess up the animation
Repack again and put the "cooked" bootanimation.zip in your \system\media folder
Dot forget to backup your current installation, in case it doesn't work for some reason
Hope that helps
I thought about that before, but..
Id look at Floyo bootanimation.zip, there is no hackdroid png, and there is only 1 part,
which is floyo animation..
Yep, I also checked this and you are correct unfortunately
But this should mean that the HackDroid splash screen has nothing to do with the bootanimation, so if you change it, the HD splash should still show. Have you tested this already? I'm with J's V006a so I have no HackDroid screen at boot.
yes.. this had nothing to do with bootani. now I'm using my own bootani, HD still there.
is not that I don't like it, but I wonder how racht do it.. & if I can do it, ill remove that SE splash..
OK! Could you please report if the HD splash stays or not!
yup.. still there
am creating my own battery % for sense 3.5 roms. I have been able to update the framework-res.apk file with the necessary images and xml files.
I am trying to learn how to edit the systemui.apk file, but I dont know what the dependencies are.
Could anybody give me a hand?
Any ideas on how to mod the systemui.apk file?
Maybe for HTC roms it is com.htc.resources.apk?
Edit: Or rosie?
The battery mods I have seen for sense roms come with a systemui.apk and the framework-res.apk file. If I try to mod the framework-res.apk file on its own like I have done for osap roms it does not work, but if I add the systemui.apk file the battery works.
The problem is you have to use the systemui.apk file from that rom. If you try to use one from another rom I get a lot of system process not responding errorrs. I am just not sure what is modified on the system.apk file.
Just a suggestion: upload needed files to UOT Kitchen and just make a battery mod. Then U can compare your orig. files with these you've downloaded from UOT.
Maybe this will help you.