yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] reaper61616:
This is stock launcher from 4.0.4 :)
[Android Q&A, Help & Troubleshooting] fix-this!:
Can anyone tell me if its possible to add the 1% battery mod to a stock odex ics rom? I have a moto razr maxx. Is there a way i can mod this myself? I tried uot kitchen but it only shows increments of 10% on my phone.

Thanks!
[Android Q&A, Help & Troubleshooting] SifJar:
Yes, it can be done. My phone's ROM is the stock odexed ROM and I have 1% battery increments. You need to edit framework-res.apk, you can use apktool or APK Multi Tool or whatever to unpack the APK, and rebuild it afterwards. To get 1% battery, you need to edit/replace some XMLs.

I'll try find a link to show how the XMLs should be and some commonly used icons.

EDIT: Here: http://xdaforums.com/showthread.php?t=724778

Find a style you like, download it and copy the two folders from inside into the "res" folder in your unpacked APK, overwriting any existing files (you may need to rename the drawable-hdpi-v4 folder depending on your phones resolution)

But UOT should work. Make sure in the "battery" section you changed at the top from "Custom battery" to "SCB with %" and then selected the style you want.
[Android Q&A, Help & Troubleshooting] fix-this!:
what phone do you have? i already tried the uot and it will not work. from what im understanding you would need to edit the systemUI.odex file to allow for battery % but i have no clue how to do it.
[Android Q&A, Help & Troubleshooting] SifJar:
I have an HTC Explorer. But I believe the battery icon is stored in framework-res.apk, and not SystemUI.apk, so SystemUI.odex shouldn't be a problem (SystemUI.odex is the odex file of SystemUI.apk - you can't edit odexed apps, you would have to deodex SystemUI.apk first; this means combining the SystemUI.odex and SystemUI.apk files into one, deodexed SystemUI.apk, which can then be edited).

Although UOT may require you to upload a deodexed SystemUI.apk along with framework-res.apk, because some theme mods required SystemUI.apk. So you might need to get a deodexed SystemUI.apk. There's a guide to deodexing here: http://xdaforums.com/showthread.php?t=1208320

It is a slightly complicated process, but it's not impossible to figure out :) I don't know for sure if this is what you need to do to make it work though. Make sure you have a nandroid backup before you flash the theme :)
[Android Q&A, Help & Troubleshooting] fix-this!:
i guess ill wait for a dev to deodex the stock rom then. the uot kitchen states it can work on odex roms but in my case it does not.
[Android Q&A, Help & Troubleshooting] alteredlikeness:
Anything's possible... See HERE, HERE, and a mini re-odex tutorial HERE.

And, I believe there were some major framework/system changes in the transition from GB to ICS - so, the battery files may have moved to SystemUI from framework-res..
[Android Q&A, Help & Troubleshooting] fix-this!:
thanks for that but it's a bit too over my head to attempt myself. if i uploaded my systemUI & systemUI.odex do you think you could help me out?
[Android Q&A, Help & Troubleshooting] SifJar:
You'd also need to upload all the .jar and .odex files from /system/framework I think to make it possible to deodex systemUI.apk.

EDIT: If you do that, I should probably be able to deodex it for you. (Assuming that process hasn't changed for ICS, which I don't think it has). Once you have this file deodexed, you should be able to use UOT, it supports ICS battery mods.

EDIT: If you need an easy way to copy those files off the phone, you can try this: http://androidcommander.com/
[Android Q&A, Help & Troubleshooting] alteredlikeness:
Sorry, but I'm not too familiar with ICS yet... eagerly waiting Q3 for my phone.

Plus, I ported the battery from a deodexed set so I don't know all of the smali/xml edits involved if I were to do it from scratch...

You could still upload a whole system dump or cwm backup for me to look at:D ...if you wanted to. It'll let me get familiar with Moto's ICS..
[Android Q&A, Help & Troubleshooting] fix-this!:
im uploading now if someone can do this for me, i cannot figure it out. the razr devs do not seem interested in doing this on a ics leak.
[Android Q&A, Help & Troubleshooting] fix-this!:
http://www.mediafire.com/?m1i08symjcalvy4

uploaded system/framework & app
[Android Q&A, Help & Troubleshooting] SifJar:
Downloading now, provided it works I should have it up in 15 - 20 mins

EDIT: Appears it's a bit different, trying another approach now which will take a bit longer, but seems to be working for now at least (doing it this way means deodexing all the files).

EDIT: I'll try and get SystemUI.apk uploaded tonight, the rest will have to wait to tomorrow if you want them.

EDIT: There is a possibility I will need "init.rc" from the root of your device (i.e. not inside any folders like "system" or "data") to properly deodex all the files. A few seem to be giving errors and stuff.
[Android Q&A, Help & Troubleshooting] SifJar:
Here's the (hopefully) deodexed SystemUI.apk [well, it IS deodexed, the "hopefully" refers to hopefully it's done right]. Try this with UOT (along with framework-res.apk, which isn't odexed in the first place), and as I said before, be sure to make a nandroid backup before hand.

You may also need to delete the SystemUI.odex file from your phone after applying the theme, I am not completely sure. If after applying the theme it has not worked, try doing so - worst case scenario you should be able to restore your nandroid backup if deleting the .odex file breaks something.
[Android Q&A, Help & Troubleshooting] fix-this!:
heres the file you need to deodex.
[Android Q&A, Help & Troubleshooting] SifJar:
Thanks. I can try deodex all the jars and apks with that tomorrow if you want. For now, SystemUI.apk seems to have deodexed fine without it, so you can grab it above and try UOT with it (that's the only file UOT needs other than framework-res.apk which isn't odexed anyway). Let me know if it works ;)
[Android Q&A, Help & Troubleshooting] fix-this!:
ill try it but if you think you could deodex everything that would be great.
[Android Q&A, Help & Troubleshooting] fix-this!:
used uot with the modded systemUI and it didn't work, still only getting 10% increments. i think the entire system/app & framework needs to be deodexed. :(
[Android Q&A, Help & Troubleshooting] alteredlikeness:
Just found this HERE - looks like a good 1% battery tutorial...

But, from the look of your system, you have battery files (images/xmls) in BOTH the SystemUI.apk and framework-res.apk - how's that?
[Android Q&A, Help & Troubleshooting] SifJar:
I don't think I'll be able to upload the deodexed files. It'd be a large file, and I don't really want to waste the bandwidth I'm afraid.

It's not a hard process for you to do though. There are two main options. Either buy Titanium Backup Pro for your phone, and then load it up and press menu, then "more" and then "Undo sys Dalvik integration..." which will deodex everything in /system/app (but not /system/framework), or else download this: http://xdaforums.com/attachment.php?attachmentid=972719&d=1333088601 (I'd strongly recommend this second method)

Extract the ZIP, and place everything from /system/app in "_app" and everything from /system/framework in "_framework". Run AutoDEOToolMain.bat. Select option 2, then paste in this as the custom BootClassPath:

core.jar:core-junit.jar:bouncycastle.jar:ext.jar:framework.jar:framework-ext.jar:android.policy.jar:services.jar:apache-xml.jar:filterfw.jar:com.motorola.android.frameworks.jar:com.motorola.android.widget.jar:com.motorola.frameworks.core.addon.jar

Let it run, and all the deodexed files will be in the deodexed folders. Any files that weren't deodexed will be in the original folders.

This is really quite an easy process, so I'm sure you could achieve it yourself.

EDIT: There still seem to be a couple of errors with the above BootClassPath, the following two JARs seem to be missing: /system/framework/kafdex.jar and /system/framework/com.motorola.orange.simauth.jar (I removed them from the BootClassPath because the JARs were missing, if you can find these two JARs add :kafdex.jar:com.motorola.orange.simauth.jar to the end of the above BootClassPath and put the two JARs in "_framework". Then I think you will be able to deodex every JAR and APK. Without them, most still seem to work though. (A number of the APKs in /system/app do not deodex properly. A little googling has shown me that motorola often neglect to include com.motorola.orange.simauth.jar on their phones [probably to try and stop deodexing] and this is the main problem)

EDIT: Try using this tool to mod your battery: http://xdaforums.com/showthread.php?t=1434061

Use the deodexed SystemUI.apk along with the standard framework-res.apk, and download one of the 1% battery mods from that thread. I really don't think the rest of the system apps being odexed should cause an issue.
[Atrix 4G General] Slymayer:
Some guys found a huge optimization for Linux kernel and Dalvik as well on ARM platforms. Actually it is not made by optimizing the code, but by the way GCC compiles, and it increased the performances from 30% to 100%. There is a little video of them running a benchmark on two Android development platforms, the two development platforms are the same. Here it is :

[YOUTUBE]mrQRYmYip6Q[/YOUTUBE]

So the ROM used is the same used by the Galaxy Nexus, and Cyanogen Mod now uses it to gain these 30%~100%. What are your feelings about it ? Are you pessimistic, optimistic about the implementation for example for stock Atrix ROMs ? Or community ROMs maybe ? Also tell us if you have some news about it.

So this optimization was made mainly for the Linux kernel on ARM devices, which means it will be way more efficient on ARM computers/servers. This is a great step forward for Linux on embedded platforms. They also worked on Dalvik, so now even Android apps will run faster.

(Sorry for my grammar if I made some mistakes, just tell me I'll correct them.)
[Atrix 4G General] dcarpenter85:
Very impressive performance increase. Looking forward to seeing these optimizations make there way into custom roms.
[Atrix 4G General] rancur3p1c:
Can you post more info about how this works? Or a link to the original GCC discovery?
[Atrix 4G General] ccrows:
Linaro is a hot topic in the Samsung forums. Even the OG SGS (basically half the specs of the Atrix) users are begging support for it...
[Atrix 4G General] AkaGrey:
It will be implemented in the aokp #39 release.

Inviato dal mio Atrix con Tapatalk
[Atrix 4G General] facuxt:
how do you know that???
[Atrix 4G General] Soldier-2Point0:
http://www.droid-life.com/2012/06/1...stem-performance-boosts-are-quite-noticeable/

Sent from my MB860 CM7.2 RC3 36p Radio
[Atrix 4G General] v.k:
It seems it is not easy to get this to work on every CM device. Some people report issues with this patch: http://r.cyanogenmod.com/#/c/17535/
[Atrix 4G General] ccrows:
It may not be easy, but I got a feeling that many people from CM teams everywhere are gonna work round the clock to get this to work on their devices.

I'm definitely not a "benchmark guy", and generally shrug off those topics, but even I was blown away after watching this video... ;)
[Atrix 4G General] DroidRunner:
Wow. Awesome!

Imagine that guy talking one on one with a girl though......
[Atrix 4G General] Slymayer:
Well all is about the compilation, they didn't change the code but the way GCC compiles it, it is now optimized for the ARM instruction set. So, why wasn't it optimized before the "discover" ? Well I think they didn't take enough time on build optimization when they made GCC working with ARM. First it was made for x86, x64 etc. These are other instruction set, another list of commands the CPU is able to work with. Imagine the instruction sets like different languages. x64, the first one, has a rich vocabulary, and ARM the second one has a more restricted vocabulary but the two languages have the same syntax. The difference will be that you will need to use more words with ARM than with x64 to describe something complex, so now it has to be optimized to use the fewer words possible to be faster. And that's basically what the Linaro Team did.

So the optimization has been used for the Android System (Linux kernel + Dalvik, etc.) but it can also be used for any other ARM program. This is a great step forward also for ARM computers, and maybe ARM servers that will continue to use less energy for bigger tasks because of the optimization.
[Atrix 4G General] michaelatrix:
You lost me at compilation...lol
[Atrix 4G General] aaron.a:
So they found a way to optimize compilation for arm architecture yielding massive performance boosts over current standards.. do want =D

These dudes rock.
[Atrix 4G General] Sass86:
They found a way to talk to the system by saying less. Like if I would say to you, " hello, how are things in your life" but now I say, "how's things" and you understand both phrases mean the same thing. You get to the conclusion faster because you process less information but reached the same outcome. It takes less processing for the shorter phrase and improves overall response time.
[Atrix 4G General] achangavi:
i don't think it'll be easy to use it for our beloved atrix, the linaro code uses a 3.2 kernel, and we're still stuck on the crappy froyo 2.6.32 kernel =/
[Galaxy Note GT-N7000 General] KAASHP:
Hello friends,

Here finally I upgraded to ICS and honestly I get great ( huge ) battery life..

before also I get upgrade and i get very low battery life because of low calibration of battery without my knowledge..:confused: :confused: :confused:

so I've reverted back to gingerbread 2.3.5 and I'm happy

But who wants older version when the new shiny and superb upgrade of ICS is there anyone ??? ;););)

So finally I upgraded to ICS and after many searching ,, finding ,,, reading and confusion with doubt :eek::eek: The great battery life will be came out from our Loving SGN..:D so please do not get disappointed :( :( just see below.:)

Really here I provide you some small and very easy steps by using it you will be definitely be happy with your ICS upgrade ..

you doesn't have to go anywhere and doesn't have to buy anything with your valuable money ..

Really happy :D:D:D

Then read it and get longer and more juice from your battery..;)

you have to follow some easy steps below

1 . First upgrade your ICS from any source whichever you like ... by kies air or Kies on PC or mobile odin or Via PC ODIN [ please do full charge of battery before any upgrade low battery can make your phone unusable or dead :eek: you can get more info on other threads ]

2 . Hope you have upgraded successfully..;) then use your phone till your battery goes down to 5 % or below...

[ Caution ] Do not use it till it switched off automatically. :rolleyes:

3 . Plug your charger and charge it till morning if you are charging at night or else charge it around 6 to 7 Hours even after full charged .. it's important step.. Do not Ignore it .. :eek:

4 . and then use it as per your requirements till battery shows 5% or below

5 . Repeat the step 3

6 . Do it around 8 or more charging cycles.

You get really miracle after 3 or 4 full cycles...

[ caution ] do not overcharge after that i.e just do 6 to 7 hours charging for around 5 - 6 cycles ... ;) after that charge till battery shows full charge i.e around 3 - 4 hours.:D do not overcharge .. :p :p

made it habit of full charge cycles if you are comfortable with it. it really gives great battery life then average battery life. :D

Hope It'll be helpful to you

Regards
[Galaxy Note GT-N7000 General] _breez_:
It is better to charge randomly than doing full charges every time on Li-Ion batteries.

Doing full charges every time on Li-Ion will result in battery being end-of-life faster...

Overcharging is also bull****. The phone automatically stops charging the battery when it's fully charged.
[Galaxy Note GT-N7000 General] KAASHP:
As per research the full cycles of Li-on battery gives good hold of charge and also batter life..
[Galaxy Note GT-N7000 General] travis82:
in all honesty your post is as useless as mine right now. :(
[Galaxy Note GT-N7000 General] dx.varun:
According to me, It can be considered as myth . . If the battery needed to be calibrated then it must have been official.. n 2ndly the procedure above is not professional at all... So dnt even think it wud work.... Neways someone can always try and authenticate...:thumbup:

Noted by the BEAST!!
[Galaxy Note GT-N7000 General] _breez_:
Doing full charges for calibrating the battery: no problem if you do it once in a while

But you are suggesting people to ALWAYS do full charges on their Li-Ion battery...

8-10 cycles after eachother is too much as well. 2 charges will be enough.
[Galaxy Note GT-N7000 General] KAASHP:
thanks for more info bro

maybe 2 is enough but in many cases it'll be not...
[Galaxy Note GT-N7000 General] tw15tr:
Why do you need to do this just because the OS has changed? And if so then why is it not require on GB?
[Galaxy Note GT-N7000 General] Rayan:
I totally agree with you!

Also, never let a battery dry for long periods, it will be damaged beyond repair.

Lithium Ion batteries perform better when you keep it as charged as possible.

I call this thread BS too... But I thank the user for the effort :D
[Galaxy Note GT-N7000 General] inurb:
Yeah ICS battery life sucks. I've done what OP said and I still get 4 hours less Battery life than what gingerbread would give me.
[Galaxy Note GT-N7000 General] KAASHP:
It's essential because all the states of your battery will be wiped in most of the cases while you upgrade also it's helpful to you if you upgrade your ROM.
[Galaxy Note GT-N7000 General] KAASHP:
ok bro try this procedure and also report us..

In most of cases we have solved this issue with this procedure even i had this issue before now it works like a charm.
[Galaxy Note GT-N7000 General] emuX:
I did several full drain and full charge cycles when I upgraded to ICS. Still got the battery drain bug so I think its more luck than anything else if your battery lasts.

In my case I've discovered that power cycling the device after charging is the most reliable approach.

Install CPU Spy, run it after a charge, reset the timers, and then leave your phone in standby (screen off) for 30s or so. Unlock the phone again, and check CPU Spy - if the 'Deep Sleep' cycle is unused then do a phone restart. This has worked EVERY time for both me and a friend who I told about it. I'm getting similar battery performance to when I was running GB!
[Galaxy Note GT-N7000 General] vcespon:
Battery life depends on a lot of things, ROM version is not the main thing.

This is my setup:

ICS version LQ3

Speedmod 3-3 Kernel

Disabled a lot of Samsung stuff (Readers hub, social hub...)

No automatic sync of twitter, e-mail, etc

I get pretty much zero battery drain when in deep sleep mode.

Of course when using the phone, screen on, Wifi On, autobrightness... battery usage is bigger and you can drain the battery in only 4 hours if you go for it.

Be careful with:

- Live wallpapers, I've seen cases where they remain active all the time

- Apps syncing data on background every few minutes (facebook, twitter, etc)

- Apps uploading a lot of data on background (google+, dropbox..)

- Games that crash and leave the CPU in a high power state until you reboot
[Galaxy Note GT-N7000 General] .::KP::.:
Agree

I am agree with this reply.

If you want to get best battery back-up;

Disable all apps which are working in background, sync n update really eat the phone battery.

I am using my note with active mobile network or wi-fi for a whole day and playing games too without doing this F**KING trick.
[Galaxy Note GT-N7000 General] Rampy87:
The only way battery life gets sucked of Galaxy note is if it doesn't go into deep sleep when not in use.

To all those reporting low battery life: How much battery do you end up losing overnight. ( approx 6-8 hrs)

I typically lose <5 % ( best case scenario has been 1 %)

I had a problem last week and lost 30% overnight and found that it deep go into deep sleep.

and the best solution i found in another thread was to unlock the phone before unplugging from charger

Simply try it: For me normal time between charges is 36 hrs ( battery is near 25% level)
[Galaxy Note GT-N7000 General] ThaiDai:
Witches broom battery modification

Battery Lifecycles are connected with the phases of the moon. So you'll get the most out of your battery if you dance at midnight when having full moon spitting five times on your battery.
[Galaxy Note GT-N7000 General] sanghaviraj:
Many people are of the myth of overcharging n recharging, but its not true wIth lithium batteries, phone will automatically stop charging, if only anything helps its battery calibration,u can do this with a free app called battery calibration, time for the tread to be regarded as close, still useful for noobs
[Galaxy Note GT-N7000 General] kishd:
I get great battery life my phone lasts for months on end without dying. I just plug in the charger every night and my battery has not died yet.:D
[Galaxy Note GT-N7000 General] LowDef:
Cheers...use BatteryCalibration

Sent from my GT-N7000
[Galaxy Note GT-N7000 General] itsrijo:
wow ....you use a lot of annoying similes
[Galaxy Note GT-N7000 General] M3TALLICA:
This would rather degrade battery.
[Galaxy Note GT-N7000 General] vampireblood:
with an intense use, the battery does not last long, but with moderate use I can get to three days.
[Galaxy Note GT-N7000 General] vsh_vahid:
Amazing.how? What rom and whar ker.el do u use?and how u have solved the gps wakelock problem?please tell
[Galaxy Note GT-N7000 General] KAASHP:
now i'm using criskelo 11.2 ROM with speedmod kernel bcoz it's safe to wipe..
[Galaxy Note GT-N7000 General] Beretta93:
This actually is just BS. You will just ruin you battery by doing so. Never let your battery lower than 10%...
[Galaxy Note GT-N7000 General] eeyanjae:
iphone4s battery life is much longer than galaxy note. I think the screen size is huge and galaxy display causes battery drain when we do web browsing.Galaxy note lasts about 5hours for web browsing, and iphone4s lasts 7hours for web browsing.

Super amoled screen is proven to be quite detrimental for web browsing.

Jelly bean should be longer battery life.
[Galaxy Note GT-N7000 General] howard bamber:
All this full to empty charge is left over from the first lithium battery's. It has the opposite effect on the present ones. As someone said random charges are better. You cant over charge. It is true when your phone says full it is not and you can charge for another two hours, to fully charge.
[Galaxy Note GT-N7000 General] YLNdroid:
I hope there is a full moon in the next few days. I will be on the lookout for it! Before I start the spitting ritual, should the battery be left attached to the device, or should I hold it in my hand or on my palm? If it is the latter, I better find a decent pair of gloves!

I do not mind getting out and dancing in the cold as it is still autumn, as long as there are no sacrificial offerings to be made!!

:p
[Galaxy Note GT-N7000 General] M3TALLICA:
You don't have to sacrifice anything, Ktulu will find its pray :silly:

How on earth is this going to improve battery ?

I still wonder this thread is not yet locked.

Whatever OP says is not true, charging from 1% to 100% degrades Li Ion batteries.

Full discharges put a lot of strain on the battery, and it's much better practice to do shallow discharges to no lower than 20 percent.
[Galaxy Note GT-N7000 General] KAASHP:
Upgrade To JB and you'll be happy
[Galaxy Note GT-N7000 General] qazibasit:
Crap post... Most people have their devices old by now and thats the cause of short battery life. Mine is working perfect on stock 4.0.4 rooted for so long.
[Galaxy Note GT-N7000 General] zardozsan:
tank you, nice post. help me a lot.:good: