just installed the new update... looking for battery percent mod that works - EVO 4G General

i have a stock rooted rom on here, and i just want the battery percent in the battery, but when i flashed the zip i got some stupid bootloop error talking about word counts or something, so i had to reflash it. i installed 4.24.651.3, and apparently the mod found here isn't compatible?

Go on your PC and go to uot kitchen Google will bring it up, go to the kitchen to upload files and extract the needed files from your phone systemui.apk framework-Res.apk and com.HTC.resources I believe are the 3 go to mod battery pick your icon and colors, make any other mods u want go to summary and submit your work wait for pickup, download and transfer to SD card, go to recovery wipe cache and dalvik, find zip and flash, reboot and profit
We are legion, for we are many

haha thanks... **** how did i not know about that? i gotta quit working so much

No prob can make lots of cool mods on there I use it to finish up and build the apks or zips for most of my themes, I use uot to add my battery icon and popups where I can see em b4 flashing em makes choosing colors much easier even tho I've been using almost all ics colors lately lol, but it makes the zip and/or apk for me so it saves me some hassle I just upload my pre modded files and then make the mods and build and bam flashable zip or installable apk without a ton of hassle
We are legion, for we are many

I cooked a battery percentage mod with the 4.67 and will try it and upload it to either my blog or my Personal file sharing site for any one to grab.

Related

How do i remove apk's out of a rom???

i'm trying to build a rom (credits will be giving) and i'm trying to strip out apks out of the rom so when you flash it you won't have all the go to the comandprompt and do it...
also how do i add apk's to the rom....
once i get this info i can release this unstable rom clueless me is trying to make.
http://forum.xda-developers.com/showthread.php?t=581976&highlight=apps+safe+remove
i know how to do that.
i mean from an alredy built rom. i have a rom that i would like to strip some stuff out of completely. and i can tell you know it's alot of steps. it's easy just time consuming.
i would also like to say that it is very very very fast. i don't mean fast as in "it's ok" i mean fast as in "oh **** it's fast" i would like to share it with everyone but i don't want them to go threw all the steps i had to go threw.
There, I cannot help you, sorry. I flashed the ROM I wanted and tore out what I didn't want after. I've never built my own.
The kitchen doenst allow you to adb pull apk's or adb push apk's?
4SidedDie said:
The kitchen doenst allow you to adb pull apk's or adb push apk's?
Click to expand...
Click to collapse
fresh kitchen lets you pull apks and delete afterwards if you choose.
i thought it doesn't work with 2.1???
Check your ROM thread -- I created an update.zip file for you that will take care of exactly what you want to do.
All anyone has to do is copy the file I created to the SD Card and flash. It will remove all the apps you've listed in your ROM thread. Enjoy.

battery mod

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!

[Q] How to install circular battery?

Hi there... I'm trying to install a circular battery indicator using this guide -> http://forum.xda-developers.com/showpost.php?p=7172329&postcount=2
I go to the online kitchen and select my battery alternative and the upload my framework-res.apk file and get a zip-package in return.
The guide says to reboot into recovery mode but that doesn't work since it will only make a normal reboot.
I opened the zip file and copied the framework-res.apk file inside and copied it to the system/framework folder using RootExplorer. This DID give me the circular battery after rebooting but unfortunately it will keep rebooting in an endless loop (don't worry, I have a backup of my whole SD card).
There were another folder in the zip package containing the following files.
\META-INF\CERT.RSA
\META-INF\CERT.SF
\META-INF\MANIFEST.MF
\META-INF\COM\\GOOGLE\\ANDROID\update-script
Does anyone know what to do with those files, please!!??
Brgds... /Tubgirl
So it seems like the other files are only needed for the recovery mode procedure and framework-res.apk is really the only file needed.
Too bad it didn't work. I like the circle battery but am not willing to change ROM for it since the ROM I'm using is rock stable. MDJ FroYo Sense Clean v. 2.4
Tubgirl said:
So it seems like the other files are only needed for the recovery mode procedure and framework-res.apk is really the only file needed.
Too bad it didn't work. I like the circle battery but am not willing to change ROM for it since the ROM I'm using is rock stable. MDJ FroYo Sense Clean v. 2.4
Click to expand...
Click to collapse
Hey
have you tried this one:
http://forum.xda-developers.com/showpost.php?p=9644930&postcount=1318
kam333 said:
Hey
have you tried this one:
http://forum.xda-developers.com/showpost.php?p=9644930&postcount=1318
Click to expand...
Click to collapse
Thanks for the tip... it looks great and I'll make sure to use it if I ever upgrade to MDJ FroYo HD v.4.6.
I'm on MDJ FroYo Sense Clean v. 2.4 and even though the file you suggested actually installed the circular battery icon (which looked excellent) it screwed up lots of text strings in my Android. I guess the framework-res.apk really has to be customized for the exact correct rom you're using.
Thanks anyway... I still hope anyone knows the answer.
I FOUND IT!
http://forum.xda-developers.com/showthread.php?p=9477854#post9477854
Now I'm a happy camper again
Brgds... /Tubgirl
i cann't open it, be cause i have lest post, would you like to send it to me ?
I cannot open :*(

Customise rom apps

Sometimes custom roms come with apps that we dont use or need for our daily basis.And because we are reaching the limit of our Galaxy s phone with JB roms the slim you can get the better it will behave.
Probably most of you know how to do it but im bored at home so i decided to give you the way i do it.
This will applies to gapps as well.
First open the rom zip file with winrar or another zip app.Taking an example with helly bean base rom we have 3 main folders called Data,meta-inf and system.The one you should look for is system folder.Then open the "app" folder and you will see lots of apps that will be installed.
Now,what do you need and what you dont need?.For example If you use Poweramp or any other music apps you can delete Apollo,dsp manager,musicfx.If you use quickpic then you can delete Gallery3d.If you dont use live wallpapers you can delete live wallpaper picker and some wallpapers that sometimes are instaled with the rom.After this close the zip file and transfer to the phone.Then flash the rom like you usually do.
Hope i helped someone out there cheers

Battery Drain Fix (Stock KK/CM11)

- Unzip and copy this file (power_profile.xml) with winRAR to your current framework-res.apk (res/xml)
- Flash your rom again
- wipe cache and dalvik
(decompiling and recompiling not needed !)
- Unzip and copy this file (power_profile.xml) with winRAR to your current framework-res.apk (res/xml)
- Flash your rom again
Click to expand...
Click to collapse
If you flash your rom again, the edited framework-res.apk will get overwritten, so what's exactly the point of editing it?
And what does this change exactly do?
zxz0O0 said:
If you flash your rom again, the edited framework-res.apk will get overwritten, so what's exactly the point of editing it?
Click to expand...
Click to collapse
You decompress your rom and put that file on framework-res/res/xml with winRAR and you repack your rom again. That's all !
Update : fix radio voltage
marouane80 said:
- Unzip and copy this file (power_profile.xml) with winRAR to your current framework-res.apk (res/xml)
- Flash your rom again
Click to expand...
Click to collapse
This is just plain wrong on so many levels...
1. Don't tinker with an .apk unless you decompiled it. With your way you will inevitable break zipalign, thus slowing everything down.
2. The power_profile.xml you provided is already pre-compiled. Why?
3. You flash the Rom again - This overwrites the changes you made before. Lee me guess, without going back to the original framework you device did not boot? That is because you not only broke zipalign, but also the .apk's signature. So the system refuses to install the vital framework.
I said it before in one of your threads. Be careful on what you upload here, as people usually trust xda and, excuse my language, rubbish like yours is of no use for anyone...
I hope you realize that by now.
So long...
Wooaarr said:
This is just plain wrong on so many levels...
1. Don't tinker with an .apk unless you decompiled it. With your way you will inevitable break zipalign, thus slowing everything down.
2. The power_profile.xml you provided is already pre-compiled. Why?
3. You flash the Rom again - This overwrites the changes you made before. Lee me guess, without going back to the original framework you device did not boot? That is because you not only broke zipalign, but also the .apk's signature. So the system refuses to install the vital framework.
I said it before in one of your threads. Be careful on what you upload here, as people usually trust xda and, excuse my language, rubbish like yours is of no use for anyone...
I hope you realize that by now.
So long...
Click to expand...
Click to collapse
you can verify it by decompiling your new framework-res.apk and compare it with stock one.
just for sharing with people
if you don't like it so it's not for you and don't use it. it's simple
marouane80 said:
you can verify it by decompiling your new framework-res.apk and compare it with stock one.
if you don't like it so it's not for you and don't use it. it's simple
Click to expand...
Click to collapse
If you upload something that is wrong, than I think it is fair enough if I say something. It seems you find stuff on the internet and just upload it as 'new' here.
Anyway best of luck with your endeavors. I'm out...
Wooaarr said:
If you upload something that is wrong, than I think it is fair enough if I say something. It seems you find stuff on the internet and just upload it as 'new' here.
Anyway best of luck with your endeavors. I'm out...
Click to expand...
Click to collapse
who told you that ??? give me the link where you found my work !
i think you are a little bit paranoid. don't use anything from me or talk to the moderator or specialist, he can verify my files !
please leave this thread alone
if someone want to verify. see these two files and compare them
marouane80 said:
who told you that ??? give me the link where you found my work !
i think you are a little bit paranoid. don't use anything from me or talk to the moderator or specialist, he can verify my files !
please leave this thread alone
Click to expand...
Click to collapse
Ok I said I'm out, but you are pushing it...
Do you have any idea what the power_profile.xml actually does?
It provides consumption values to the framework, so that this may properly calculate the battery consumption. Changing values in there won't change anything else then the readings in the battery report or apps that call upon that data.
It will in no way affect the actual energy consumption, so I stand by what I said before.
You provide a not working thing, period!
If you don't believe me read more about it over
here...
Anyway that's it from me, good luck...
Wooaarr said:
Ok I said I'm out, but you are pushing it...
Do you have any idea what the power_profile.xml actually does?
It provides consumption values to the framework, so that this may properly calculate the battery consumption. Changing values in there won't change anything else then the readings in the battery report or apps that call upon that data.
It will in no way affect the actual energy consumption, so I stand by what I said before.
You provide a not working thing, period!
If you don't believe me read more about it over
here...
Anyway that's it from me, good luck...
Click to expand...
Click to collapse
u're wrong. it works for me :good:
there are many errors when compiling roms from cyanogenmod and stock rom by sony and samsung and others. see my sound fix thread for example you will see the difference ! cyanogenmod didn't fix that sound problem yet !
http://forum.xda-developers.com/sony-xperia-z1-compact/general/cm11-sound-fix-ultimate-t2861135
And as you can see on stock rom or cm11 give a high value (for radio, BT,GPS, screen-on or cpu idle) will drain battery fast !
compare the two files decompiled !
So what is about with this mod? What are the benefits of using this? Can someone confirm working this? I read this discusion and i dont know its safe or i brick my device?
it really works for me. i never upload that never works or never tested. i got a great battery life after found this solution : two days with heavy usage. believe it or not ! make a backup and test. better you decompile and modify the values like uploaded here. :good:
ok so can you adviced me what i need to do?
im using stsock kk russian second edition 108.
what i need to change or is any option to create flashable zip file to instal it via recovery or i need to push it manually? why i need to flash new firmware after this operation? after flashing i understand that all of my data will erased with all settings and all my file will be cleaned ? i dont udnerstand why it wouldnt works after flashing? maybe you could post some instructions step by step to clean up everything im a little bit scared that i can brick my phone or something.
cheers
I see that it was mentioned before, but it seems it went unheard.
This mod will not work because of the simple reason that the second step overwrites the change!
Flashing the ROM again will remove the modified framework-res.apk file.
You can try and see for yourself. after doing the steps, unpack the apk again and see which power_profiles.xml is there.
I'm pretty sure you'll find the default one.
Also, the file has nothing to do with actual power consumption, as is mentioned in the Android documentation.
I hate to say it but the battery improvement you noticed is just a placebo
If you really want us to believe it works, then at least show us what you got. A screenshot of battery usage and screen time are a good proof
oshmoun said:
I see that it was mentioned before, but it seems it went unheard.
This mod will not work because of the simple reason that the second step overwrites the change!
Flashing the ROM again will remove the modified framework-res.apk file.
You can try and see for yourself. after doing the steps, unpack the apk again and see which power_profiles.xml is there.
I'm pretty sure you'll find the default one.
Also, the file has nothing to do with actual power consumption, as is mentioned in the Android documentation.
I hate to say it but the battery improvement you noticed is just a placebo
If you really want us to believe it works, then at least show us what you got. A screenshot of battery usage and screen time are a good proof
Click to expand...
Click to collapse
I think he means open the ZIP of your Rom on PC, put that file in and then put the Rom to phone again and flash it over your current Rom.
And yes, a proof would be good
Is there any way to fix/improve battery life on CM11? Z1C with the same usage on stock rom gets over 2.5x longer battery life.
marouane80 said:
- Unzip and copy this file (power_profile.xml) with winRAR to your current framework-res.apk (res/xml)
- Flash your rom again
- wipe cache and dalvik
(decompiling and recompiling not needed !)
Click to expand...
Click to collapse
Well, I replaced in the archive file, but how to pack in the APK?
P.S Understood with the help of Root Explorer
oshmoun said:
I see that it was mentioned before, but it seems it went unheard.
This mod will not work because of the simple reason that the second step overwrites the change!
Flashing the ROM again will remove the modified framework-res.apk file.
You can try and see for yourself. after doing the steps, unpack the apk again and see which power_profiles.xml is there.
I'm pretty sure you'll find the default one.
Also, the file has nothing to do with actual power consumption, as is mentioned in the Android documentation.
I hate to say it but the battery improvement you noticed is just a placebo
If you really want us to believe it works, then at least show us what you got. A screenshot of battery usage and screen time are a good proof
Click to expand...
Click to collapse
you got a bad or an oudated apktool. i don't have any error after decompiling. try it by yourself !
it's not a placebo. it's my work
John.D.. said:
Well, I replaced in the archive file, but how to pack in the APK?
P.S Understood with the help of Root Explorer
Click to expand...
Click to collapse
sorry but you must have some basic knowledge on decompiling to make the change. if you don't know what is decomiling/compiling, juste take the file and put it like in OP. thanx
marouane80 said:
sorry but you must have some basic knowledge on decompiling to make the change. if you don't know what is decomiling/compiling, juste take the file and put it like in OP. thanx
Click to expand...
Click to collapse
Yes, but it was very simple) I just renamed the Root Explorer in zip archive, there has replaced the file, and then simply copied the zip on the apk, it works)
but how does it affect the battery, I still do not understand

Categories

Resources