[A] [NAND] ROM Space and Battery Issues - HD2 Android Q&A, Help & Troubleshooting and Genera

I have picked up lots of bits of information about how to maximize space issues and maximize battery life for those of us who are in love with these amazing new NAND builds....especially those of us with European HD2 phones who only have 512MB to play with
I have compiled them below for ease of reference - I claim no originiality for these ideas...I am just bringing them together...so MAJOR THANKS TO ALL THOSE OUT THERE! You know who you are...
I have already posted this on the DFT thread as I love that particular build, but they should (might!) work for other builds and I post it here for further reference as it took me a long time to sift through the threads to find it all.
Space
1. Before flashing your phone, using DFT Stock Desire, for example, you can edit the flash.cfg file and change the following line:
cache ya 40M >>to>> cache ya 15M
This reduces the cache by 25M with no discernible impact on the speed of the build (imo).
This should give you in excess of 130MB free after a clean flash on that particular ROM. Expect that to drop to around 100MB once Market, Flash and a couple of other apps update themselves.
Some NAND ROMs will not even have this as an option, and others may look a little different. You can read about how the flash.cfg file is structured here.
2. Immediate install Z4 to root your device. You will need to get it from here. (Note: it may get stuck on 'Rebooting'. Wait a minute or so and then manually reboot - it will work fine and SuperUser will now work after the reboot)
Put it on your SD card and then install a file manager from the Market to browse to it and then install and run. Follow the details on the thread...
3. Install Move2SD. You can get it from the Market. Full details are here.
This allows you to move most (not quite all) apps to SD. It is the best option I have found to move most of those awkward apps.
I have now installed pretty much all of my apps that I used to run on non-NAND builds and have moved about 90%+ of them to the SD card. At time of writing I have loads of apps installed and still have over 70MB free
Battery
1. Install Battery Monitor Widget or Current Widget from the Market so that you have a way of tracking your current usage.
2. Install Set CPU - free for XDA members from here, but also available on the Market.
After setting your Main Screen to 'OnDemand' and 'Set on Boot', assign SetCPU a couple of profiles. I tend to use:
>> Screen Off: Max/Min 245000, Scaling 'OnDemand', Priority 50%
>> Battery <25% Max 384000/Min 245000, Scaling 'OnDemand', Priority 50%
You can play to your hearts content here, but these give me consistently 7ma in Standby.
Also, you can reduced the sampling rate to 20000 and 'Set on Boot' in Advanced if you like.
3. Avoid power hungry background stuff like animated wallpapers and turn off GPS, Wireless etc. There are LOADS of apps out there that can do this automatically for you free from the market, but I have found that making sure my GPS is off (I have a widget to show me) plus SetCPU is plenty. It may work for you though.
4. Some have reported that Darkstone's suggestion makes a major difference to their power consumption:
"To fix high power drain / usage in standby (60mA or 70mA) disable 'Use wireless networks' in Settings>Location menu. You will now get 7mA or less constantly. I discovered this as the main culprit last night. Also works in other builds."
Anyway, there you go - a few consolidated thoughts - happy NANDing!

How to root Gauner HD V0.3 ? root not the same /system/...
Thank you !

dungphp said:
How to root Gauner HD V0.3 ? root not the same /system/...
Thank you !
Click to expand...
Click to collapse
Not sure I'm afraid...have you tried it? I tried it and Z4 got stuck on the 'Rebooting' screen, but when I manually reboot it had solved it...

dungphp said:
How to root Gauner HD V0.3 ? root not the same /system/...
Thank you !
Click to expand...
Click to collapse
isn't that the v0.3 itself already been rooted at the first place?
I installed Root Explorer and gotten root access immediately...

But can't check permission some folder to change themem or something !

When you do this
"To fix high power drain / usage in standby (60mA or 70mA) disable 'Use wireless
networks' in Settings>Location menu. You will now get 7mA or less constantly. I discovered this as the main culprit last night. Also works in other builds."
Click to expand...
Click to collapse
You will loose weather on main screen. It will say "To see local weather tap here"

SetCPU doesnt work on Nand ROM..Is there any similiar program like SetCPU for Nand ROM ?

well guys i really dont understand why everybody you complaining about nand build
well my nand build is nexus one and i get 2-3ma battery drain in standby
olso the spuset in on 1190smartass

i dont want to be a smartass guy, but please ram and rom is different
ram = random access memory
rom = read only memory
when i look at the thread title of couse i think about ram, not rom... and too much thread title have that 2 things mixed in and im sure that will make alot of people (including me) confused
btw i thank you for the info

Clubeer said:
SetCPU doesnt work on Nand ROM..Is there any similiar program like SetCPU for Nand ROM ?
Click to expand...
Click to collapse
It does for me Are you rooted?
aboveluna said:
i dont want to be a smartass guy, but please ram and rom is different
ram = random access memory
rom = read only memory
when i look at the thread title of couse i think about ram, not rom... and too much thread title have that 2 things mixed in and im sure that will make alot of people (including me) confused
btw i thank you for the info
Click to expand...
Click to collapse
You're quite right - too much 'New Year cheer' the day before I started the OP
Have changed it as you correctly point out - thanks.

Related

[REF] UPDATE: ALL GOVERNORS! :) Save battery while running ANY Android build

As android builds are getting more and more closer to being daily builds, one of the standing issues that remains is battery life.
This thread is where posts concerning How to Save battery should go. NOT Questions, but suggestions. If your suggestion is one to look into, it will be added to the OP.
UPDATE: You can now use ALL GOVERNORS For the CPU!​ (Read more to find out how) ​--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SetCPU​
SetCPU, is an app more commonly used for over/under clocking devices.
This short tutorial will show you how you get the app,
get it running, and of course save battery!​
*YOU NEED A ROOTFS.IMG THAT GRANTS YOU ROOT ACCESS!*
1. Get SetCPU
A. Download it from *HERE*. (The only XDA thread I could find for it)
OR
B. Support this great application and get it from the Android market by searching for SetCPU.
-----------------------------------------------------------------------------
2. Getting the App working
1. Once you have the application installed, launch it from your drawer and either grant it Root Permissions or it may auto-configure.
2. Hit Auto Detect Speeds.
3. It should show you the speeds your device it currently running at, now move over to [Profiles] and click Enable and if you want click on Notification.
-----------------------------------------------------------------------------
3. Make your profiles
1. Sleep Profile - 384 Max/245 Min- Interactive setting
(It may seem high, but this keeps it so that your device wakes up quickly)
2. Battery < 30
Max 614/460 Min- Interactive/Conservative Setting
*Try out the SetCPU Widget!*
If you have any personal settings that you think might be better than these please do post!
-----------------------------------------------------------------------------
UPDATE 9/15​ ALL CPU Governors!
To use the modules use this kernel built from the GIT, and hit auto detect speeds on SetCPU again. Under the main tab choose Your preferred setting..
You can find what all the the kernels differ in in the further pages of this thread, I will update OP later.
-----------------------------------------------------------------------------
Advanced Tab
20000 Sampling Rate
30-50 Up Threshold (THIS IS THE KEY: This means when your CPU load hits 30%, it will scale up the mhz. If the phone still responds too slow for your taste, set this lower)
http://forum.xda-developers.com/showthread.php?t=777921
Check Set on Boot (And Apply)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Turning off Background Services and Adjusting Brightness​
Things like Bluetooth, WiFi, Sync, GPS, and excessive brightness can really kill your battery.
A quick way to manage these settings is to hold down to add a widget on your home screen and choose [Power Widget].
This stock widget allows you to quickly see the service's your using, and the farthest one to your right allows you to switch between four brightness settings.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Using that new kernel link provided, you'll get a nice boost in standby time too! Enjoy!
Additional battery saving tips:
* Don't use a live wallpapers
* Turn off 3G connectivity (Eclair-based ROMS need apps like APNDroid to do so)
* Turn off Background-enabled data transfers in the Sync page.
the app screebl is a battery saver for whenever you have your screen on.
MOD EDIT:
Screebl Pro is a PAID FOR APP..
Link deleted and warning given please do not post warez in the future.
Mark.
Is that a Paid application from the Market? If so it is warez. (Big No-No)
Shatterv2 said:
Is that a Paid application from the Market? If so it is warez. (Big No-No)
Click to expand...
Click to collapse
no it's donation-ware. You can find SetCPU in the G1 device section of the XDA forums for free...
http://forum.xda-developers.com/showthread.php?t=505419
Can we have on our hd2 a folder with Android Sdk ? Like in a rooted one ?
aussiebum said:
no it's donation-ware. You can find SetCPU in the G1 device section of the XDA forums for free...
http://forum.xda-developers.com/showthread.php?t=505419
Click to expand...
Click to collapse
Yes that was already stated in the OP
Shatterv2 said:
*YOU NEED A ROOTFS.IMG THAT GRANTS YOU ROOT ACCESS!*
Click to expand...
Click to collapse
Can you post one?
Ultimaex said:
Can you post one?
Click to expand...
Click to collapse
read here: http://forum.xda-developers.com/showpost.php?p=7088391&postcount=4
Thanks for the tips!
Ultimaex said:
Can you post one?
Click to expand...
Click to collapse
Rooted RootFS.img files by michyprima can be found *HERE* in the Installation Instructions section.
Mark.
SetCPU forcecloses on me with dan's froyo without sense. Anybody get this combo to work for them? Also, I did replace the rootfs file.
Strange, try the new froyo build by Darkstone.
reocej said:
SetCPU forcecloses on me with dan's froyo without sense. Anybody get this combo to work for them? Also, I did replace the rootfs file.
Click to expand...
Click to collapse
Yeah, I'm using SetCPU 2.01 with Dan's v1 vanilla froyo fine. When set to use "ondemand" CPU Governor and Autodetect speeds, getting much better battery life - it's only dropping ~1% every hour now EDIT: when idle, of course
aussiebum said:
Yeah, I'm using SetCPU 2.01 with Dan's v1 vanilla froyo fine. When set to use "ondemand" CPU Governor and Autodetect speeds, getting much better battery life - it's only dropping ~1% every hour now EDIT: when idle, of course
Click to expand...
Click to collapse
Happy to help!
Next thing (when I get around to it) is probably to try out the Conservative CPU Governor module... that will correctly scale CPU power according to load (ie. 245mhz => 384, etc) instead of like On Demand, where it jumps from 245mhz => 998mhz => lower....
ATK
My favorite Ap Right now: Advanced Task Killer - you can find it on market for free. With this you can kill tasks who run in backround etc.
RuffRap said:
My favorite Ap Right now: Advanced Task Killer - you can find it on market for free. With this you can kill tasks who run in backround etc.
Click to expand...
Click to collapse
Use Taskiller. Red Icon in the market. Free App is the exact same as the paid one. Kills tasks as well but detects tasks that ATK cant. Includes features like End apps once screen turns off and kill all apps 10sec's after boot. Great App IMO.
I've found out that JuiceDefender does a good job as well. If you buy the extension (UltraDefender?) it also has a CPU governer module which regulates your CPU speed based on usage.
maseo said:
I've found out that JuiceDefender does a good job as well. If you buy the extension (UltraDefender?) it also has a CPU governer module which regulates your CPU speed based on usage.
Click to expand...
Click to collapse
No need to pay - as I mentioned before, the "conservative" cpu governor module that is freely available (do a search!) will do exactly what you mentioned when used with SetCPU.

The Tweak Thread (Advanced Eris Stuff) minor update 10/30/10

Hey all i created this thread for ADVANCED users (and some newbies lol) so that i can better help users tweak and improve performance on their eris. My inbox was getting crazy so i thought this would be better i will still take pm questions but it would be better if we can all learn here. This isn't really a place to report bugs as it would be better to contact your respective developer or post in that developers thread. I will try my very best to get the best performance out of your eris and hopefully we will have some fun along the way. So hopefully this can help take some of the load off of the developers threads and reduce noob-age.
I ONLY ASK THAT IF USERS WANT TO TWEAK I STRONGLY RECOMMEND THAT YOU EITHER..........
1) PURCHASE ROOT EXPLORER FROM THE MARKET OR THE FREE ESTRONGS FILE EXPLORER APP FROM THE MARKET WHICH ALSO ALLOWS ROOT ACCESS AS WELL.... BUT I THINK ROOT EXPLORER IS BETTER IMHO.
2) HAVE ADB SET UP FOR YOURSELVES AT HOME OR KNOWLEDGEABLE OF ADB. I WILL NOT HELP YOU SET UP ADB OR THE SDK
ALSO I RECOMEND PURCHING THE FULL VERSION OF TITANIUM BACKUP AS IT IS AN INVALUABLE TOOL FOR ROOTED USERS AND MAKES BACKING UP AND TWEAKING MUCH EASIER FOR NEWBIES PLUS IT HAS SOME REALLY AWSOME FEATURES
so hopefully this will give us fun things to do in between releases from our devs. And always remember to donate to these awesome awesome eris devs for their hard work and commitment to us.
i want to keep an open discussion thread, nothing is off the table.
kernels
kitchens
cooking
roms
tweaks
hacks
apps
fixes
workarounds
you name it lets talk
lets figure it out together while learning along the way
Things are always changing so if you see any errors or things that need to be updated please let me know and i will be more than happy to get the correct information posted.
Moving apks and deleting dulicates...make your system efficient
YOU need either rootexplorer OR be ADB inclined to do the following....
i was thinking while doing some root exploring of ways to make this rom more solid and here are a few tips i thought everyone could use.
IF YOU DONT HAVE DUPLICATES DONT KILL YOURSELF SEARCHING JUST CONSIDER YOURSELF LUCKY. AND YOU DONT NEED THIS POST
FIRST
when i flash a Rom i always do my set up. here is an overview of what i do when i flash........
-i flash the Rom
-then i login to google as normal so i can receive Titanium Backup (TB) and Root Explorer (RE) from the market updates
if someone could be kind enough to give us a sample command to use terminal to install apps from the sd would be a great shortcut for us
-move those two apps from data/app to system/app
-then i do a full wipe (huh a full wipe you say....system files are never wiped....they can only be flashed over, so TB and RE will still be there)
-clean nand (so if you get crazy and screw up you can easily start over)
-Rom surgery
-Restore
-login to google last and sync
-batt tweaks and extras
this process IMHO makes your rom way more efficient than flashing, login and syncing.
OK
first thing i do when i flash a rom is to remove junk
i navigate with either explorer to system/app folder
then i remove all the useless apps i dont use, need or want
AND/OR remove the "ONE USE" apps (like setupwizard.apk only need it once or none at all if your a pro )
this reduces the ROMs footprint making it smaller
the smaller the Rom the better the faster
here are some things i like to rip out of system/app folder....
ADWLauncher.apk (make sure you have another launcher first i use lanucher pro)
Mail.apk (i use gmail)
Twitter.apk (i currently dont tweet)
ProTips.apk
HtcCalibrate.apk (after i calibrate of course)
Launcher2.apk(why have a bunch of other launchers you dont use hogging memory get rid of them)
MagicSmokeWallpapers.apk (this dont work for me but other do)
Carhomegoogle.apk ONLY
etc. there are others you can remove as well depending on you
and we will experiment to find more......
NEXT
i like to move IMPORTANT apks or apps from the data/app folder to the system/app folder epically if your Rom dev has not updated the gapps lately or you cant get access to the latest gapps.zip.
if you do not then you will end up with a lot of duplicate apps installed in your system when ever you receive a gapps update and that wastes memory and will cause memory issues in the future and it screws with autokiller
i like to move my favorite launcher (launcher pro paid) to the same place where launchers go, in the system/app folder (why have your launcher where regular apps go and get killed by autokiller) i think this is better for the system and doesn't hog your app data space plus it adds stability to your launcher.
here are some things i like to move into system/app.....
i like move into system/app are
launchers (stabilze launcher)
keyboards (should speed up keyboard strokes)
root tools and IMPORTANT apps (R.E. T.B.)
security apps (never deleted or wiped in case of theft, hoping thief is not nerdy)
any of the latest gapps update
and some others
this way if any issue occurs wipe and restore is easy as pie
IMPORTANT: APPS IN THE SYSTEM FOLDERS DO NOT GET WIPED OR DELETED DURING A FACTORY DATA WIPE OR DALVIK WIPE.....THEY CAN ONLY BE FLASHED OVER BY A ROM(OVERWRITTEN)
APPS IN THE DATA FOLDERS WILL GET DELETED DURING A FACTORY WIPE......BUT NOT DALVIK
i know we are ALL have at least one pair of identical (double apks in the system)
-but the identical apks have different names
-on is in data/app the other is in system/app
if you have updated ANY google app then chances are that you may have some double apps on your system wasting. when we update these google apks 'think' the rom comes with the apk already and is stored in the protected system/app folder WHILE the actual update is stored in the data/app folder (or where regular apps go) under a different name
EXAMPLE
google maps
-MAPS.apk ........is stored system/app
-com.google.android.app.map-1.apk........is stored in the data/app (this is the latest update of google maps and should replace the older MAPS.apk in system/app)
-these are the SAME APKs
hmmm so think gmaps is 5-6 megs in size and you have 2 of them so thats like 10-12 megs in your system, get rid of the old one.
there are two thing you can do here with two different benefits
-you can either remove the copy from either the data OR system folders depending on what you prefer.
if you remove the old app from system/app that means easier updates with now file moving BUT less app storage
OR move from data/app to system/app which means less FCs, more other app memory, and dealing with future updates and moving each app.
i like to move the new apks to the system/app where they belong
unstable Launcher PRO
my launcher was very unstable for a while wasn't a big deal for me
soo i decided to move my launcher to the system/app folder like all the other launchers....
I think the instability of that launcher was because of AUTOKILLER thinking this is just a regular app in data/app which it was at the moment. i may be wrong but autokiller doesnt kill system apps. so i move my launcher there and guess what now my launcher is much better and faster and stable beacuse you now have lots more memory.
SPEED TIP: in spare parts speed up your transition and animation windows to FAST
MOVING APPS ADVANCED SHORTCUT
i finally figure out a great short cut for moving apps
-first rename and put your favorite file manager (ROOT EXPLO) onto the sd.
to be even faster rename and put your launcher and TB on there too.
-after flashing a rom bypass the setup (touch the android screen) to home screen.
-open terminal
-type
SU
cd sdcard
busybox install yourapp.apk /data/app
-now you have the file explorer ready to go
instead of trying to restore wipe restore.
and hopefully you know what to do next.
so to summarize...
-get rid of junk you dont use and free up that memory
-move apps to the proper locations in system/app AND/OR data/app
-make sure you dont have multiple google apps using different names
"MAPS.apk" and "com.google.android.app.map-1.apk" IS THE SAME APP IN DIFFERENT LOCATIONS. remove the old and put the new in system/app
make sure your main launcher is in system app so it doesn't keep getting killed by auto killer settings and reloading
Replace THESE apps = with THESE apps
system/app = data/app
Gmail.apk = com.google.android.apps.gm-1.apk
ChrometoPhone.apk = com.google.android.apps.chrometophone-1.apk
Maps.apk = com.google.android.apps.maps-1.apk
CarHomeGoogle.apk = com.google.android.carhome-1.apk
GoogleSearch.apk = com.google.android.googlequicksearchbox-1.apk
Googles.apk = com.google.android.appsunveil-1.apk
SuperUser.apk = com.noshufou.android.su-1.apk
AutoKiller = com.rs.autokiller-2.apk
TitaniumBackup = com.keramidas.TitaniumBackup-2.apk
Twittter = (forget)
Voice= com.google.android.apps.gv-1.apk i think
YouTube=
delete OLD in system/app = move NEW from data/app to system/app
YES i did all those with success more memory and speed and a massive increase in overall Rom stability
there may be more
BUT ALL THESE HAVE DUPLICATE APPS USING DIFFERENT NAMES stored in data/app and/or system/app WHEN the latest update should be system/app IMHO to prevent AUTOKILLER from always killing i believe autokiller will try to kill data apps first before system apps.
i still have my auto killer set at optimum and things work even better now
and i gained 25mb of system memory no more Force closes
Batt tweak custom set up process (a 1-2 day process to complete)
How to increase battery life
first off battery life depends on many factors.....
where you live, work, and the daily place you travel to.
im one of the lucky ones who has a cell tower down the street from me here in S. FL.
WARNING: IF you multitask alllllll day on your phone then this is not for you.This is more beneficial when your phone is at rest or in an idle state or screen off state.
Others may not be so lucky and may live in a bad signal area....which causes your phone to constantly search and listen for signals.
Also battery life could depend on the widgets you use or apps that you have active.
Example: Beautiful Widgets beautiful home is a constantly running app that also
-on occasion activates the GPS to acquire location
-on occasion downloads update weather data
Example: Facebook Widget
-by default update statuses every 15 minutes, so every 15 minutes its downloading data
so i usually adjust these settings to my personal liking
Now for the battery calibration process and how it works
Decad3nce port of Colins_ph batt tweak allows us to use some setcpu profiles without setcpu.
Setcpu and its widgets were resource monsters crippling our system and drain battery life as well. kiss setcpu goodbye we wont be needing it anymore.
the batt tweak calibration process takes some patience as the entire process could take 1-3 days to complete depending. Also i highly recommend using the latest CFS kernel by Conap as it provides extra battery savings
we will be running colins batt tweak during the calibration process so that both calibrate together, which makes a lot of sense as opposed to doning them separately.
here is the process and DS's custom settings for batt tweak 1 (the first release)
please remember to prepare yourself not to interrupt the process. the draining process may die while you are at work or during an emergency. so be prepared to have little use of your phone.
-flash latest CFS kernel found here
-flash batt tweak attached at the bottom of this post until its updated and fixed....more info in thread here
-turn off phone and let charge for a few hours or more to ensure that it is full
-when ready boot into recovery mode and wipe the batt stats and power off
-unplug phone and power on (charging cable not needed) you may experience weird battery levels or fast draining (this is normal)
-immediately open TERMINAL and activate colins_ batt tweak
with command batt-cfg and go to option 3 and input these settings........
I think this works much better
this schedueler keeps the cpu much lower
here if anyone want to try it out
underclock
ondemand
anticipatory
19200
710400
19200
710400
19200
710400 (ONLY IF YOU KNOW YOU CAN 768000)
90
15
15
15
- close terminal and operate phone normally if you want...i highly suggest leaving it alone as much as possible until it drains completely dead.
-use a cpu monitoring app just to make sure the cpu is idle i have seen mine dip down 80mhz if not then you need to kill active open apps
-let phone naturally drain completely until its dead (could take a full day or two mine was 48hrs with some usage)
-when dead make sure by pressing power rapidly a few times
-while off let phone recharge for as long as possible maybe four hours or more the mor the better
-when ready unplug phone and turn on
-when powered on reactivate batt tweak using terminal batt-cfg, then option 9 to save and your done (once setup all you need is option 9 to save and reactivate)
-wtf DS my phone is on but reads less than 100% battery. this is normal replug while on and let charge to full
- when full the process is now complete and you can use phone as normal
REMEMBER THAT SOME ROMS DO NOT ACTIVATE THE TWEAK AND YOU WILL NEED TO DO SO UNTIL YOUR DEV AS ADD THE SCRIPT TO ACTIVATE ON A REBOOT. SO UNTIL THEN OPTION 9 IN BATT TWEAK WILL DO THIS
use an app like system panel or seepu to look at cpu speeds make sure the cpu isnt running at 100%.
try to close apps if you see this but a reboot usually fixes this.
these settings allow for the cpu to use lower clock speeds when idle. much lower than the stock 245000 settings yes were going to the minimum 19200 with little to no side effects or slow downs, but the benefits are more when in a idle state. But it WILL drain at about same rate when your using it heavily.
make sure the tweak is running by either opening terminal and enter pidof batt.sh you should see the processing id number if its running.
OR for a full read out of stats do batt-diag
and observe the time in state read out at the bottom. if you see values next to the 19200 clock speeds........SUCCESS!
PS if you screen on time is 3 hours and your phone is dead, DONT BLAME THE BATT TWEAK....BLAME YOURSELF !
ENJOY
alright now lets get some real stuff in here....lol
jdog94 said:
alright now lets get some real stuff in here....lol
Click to expand...
Click to collapse
just trying to a make a nice neat place to put all my post on past tweaks for users and to do some advanced stuff in the future stay tuned
DS36 said:
just trying to a make a nice neat place to put all my post on past tweaks for users and to do some advanced stuff in the future stay tuned
Click to expand...
Click to collapse
good, i need this!
Great idea"!"!!
HAI! Hau do i route mai fone? I wantz haxorz warez an wireles heatherin fo free intanetz!
So seriously, is this a fan-club for DS? I'm totally in if it is.
sticktodrum said:
HAI! Hau do i route mai fone? I wantz haxorz warez an wireles heatherin fo free intanetz!
So seriously, is this a fan-club for DS? I'm totally in if it is.
Click to expand...
Click to collapse
LMAO can you please please be my threads personal comedian
Keep this thread development related or Ill move it to General, Is this a support thread or something? Something about tweaks?
Its all about me
Captainkrtek said:
Keep this thread development related or Ill move it to General, Is this a support thread or something? Something about tweaks?
Click to expand...
Click to collapse
this is a thread to help old and new users tweak and mod their phones and other advanced stuff
trying to put all the knowledgeable stuff in to one easy thread and it will be dev related
im just started this thread im not done i have lots to do here
my in box is getting a little crazy
this should benefit all and provides basic dev techniques and instruction
this is the beginning stages
plus should reduce the number of faqs for everyone
less fights
less arguments
and less captainrtek (but thats not a bad thing)
DS36 said:
this is a thread to help old and new users tweak and mod their phones and other advanced stuff
trying to put all the knowledgeable stuff in to one easy thread and it will be dev related
im just started this thread im not done i have lots to do here
my in box is getting a little crazy
this should benefit all and provides basic dev techniques and instruction
this is the beginning stages
plus should reduce the number of faqs for everyone
less fights
less arguments
and less captainrtek (but thats not a bad thing)
Click to expand...
Click to collapse
Haha gotcha, and thanks
Thanks in advance, DS.
roirraW "edor" ehT said:
Thanks in advance, DS.
Click to expand...
Click to collapse
Looking forward to working together with everyone learning along the way.
Will be post new batt tweak setting in the morn keep an eye out
Do not up date to the latest version of batt tweak it doesn't work.
Sent from my FroyoEris using XDA App
Brilliant.
sticktodrum said:
HAI! Hau do i route mai fone? I wantz haxorz warez an wireles heatherin fo free intanetz!
So seriously, is this a fan-club for DS? I'm totally in if it is.
Click to expand...
Click to collapse
Lol I haz cheez burger
Sent from my FroyoEris using XDA App
rick311 said:
good, i need this!
Click to expand...
Click to collapse
hey man are you ready
im going to post in the third POST what i have written down so far
but its NOT complete yet....so take a gander
DS36 said:
hey man are you ready
im going to post in the third POST what i have written down so far
but its NOT complete yet....so take a gander
Click to expand...
Click to collapse
ok, i did all the setting tweaks that you recommend. do i have to input them every time i reboot? i dont see a setting that restores my previous settings.
Hey DS,
Great idea to help newbs like me! So after reading your first two posts I looked where my apps are, and every one of them seems to be in system/app... I checked in data/ and can't see anything in there (unless it's sdcard/data, in which case I have folders for Beautiful Widgets and Titanium). I'm using the EStrongs FE, although I don't think that would make a difference. Also, couldn't find any of the duplicate apps you were talking about either (I only have com.google.android.apps.maps.apk, for example). I'm on xtrROM 4.6 and used Titanium Backup to restore my apps.

[HowTo] Tweak your Archos

Hi,
recently i came upon a thread with someone asking :
how to optimize the archos to be quicker ?
As this is propably a question many people might ask (even I still do ) I thought about creating a thread about. This is not just to answer his question but also for all u nerds out there to corrent me - as I might be wrong in some points AND to gather new options to speed up the device. This is what i have learned yet...
Anyway all of the things I list here require root as far as I know. So get your device rooted or abandon the Thread
ALL THINGS IN THIS THREAD ARE WITHOUT WARRENTY - SO IF YOUR DEVICE STARTS MUTATING INTO A DOG HUNTING YOUR ASS FOR NEW FLESH - BE WARNED
Memory Management:
Introduction: HAVING FREE UNUSED MEMORY ON ANDROID HAS (nearly) NO ADVANTAGE (exception having 0 memory also fu**s up the device -> 1. )
All of those methods wont make your device faster in the meaning of really getting faster in speed... as android already has a quite good memory management.
BUT if u get more space in memory your device can keep more of the apps U LIKE in memory (being inactive according to app lifecycle). This will make them get called faster next time u use them and your device will "feel" faster and more responsive.
1. What should work on all roms are the "minfree" settings -> meaning when android really kills apps - depending on free memory (if u don't know what is mean by - search for the "App Lifecycle" of android)
You can try setting those to the values mentioned by sibere (scroll down) or try finding your own settings. There for u can use any app like "AutoKiller Memory Optimizer" just serach "memory optimizer" in the market.
KEEP IN MIND - you may play a bit with those settings - BUT still u should know what u are doing if u use it!
LOW: If u set the values to low the device will kill apps very late keeping much of them in memory this might make you device get slow. If there is too less Memor fo a "new" app or another process just need more memory while running it has to close down other processes before memory can be allocated.
HIGH: If u set em too high u kill most apps instantly - and your device will get problems and might get unstable as far as i understood.
2. Try gettign more "free" memory by disabeling services - as those got the highest priority they wont get killed that fast by the memory management. For checking u might get an app like "TaskManager" wich lists all running processes.
Just check out what takes your memory and disable those u dont need.U can disaable them by using "Titanium Backup" disable app / uninstall em / or just uncheck their autorun by using a programm like "Autorun Manager". Remember if u just disable the autorun they might (re)start later still.
3. Use a low sceen count in your launcher and keep the widget count low. This is related to 2.) as most widgets run a "background service" to update itself / pulling information (e.g. a waether widget getting latest conditions, a calendar widget keeping connection to your calendar app,...) - each widget took at least 8MB memory when i checked with TaskManager - "greater" widgets like "Fancy Widget (sense like clock and weather widget)" sometimes take up to 25MB
4. DONT USE A LIVE WALLPAPER (live wallpapers use MUCH memory most 20MB-40MB - either they get closed down all the time - or they just reside in memory taking the memory u wanted to use for keeping other apps active)
I also noticed that the App Drawer got "much/noticeable" slower in every Laucher I tested while a live wallpaper was active
5. DO NOT USE A TASK KILLER (remeber the introduction!!! - and think about it yourself - if at least 20 ppl ask why - i write this down here )
6. SWAP / COMPCACHE (can be activated through UD config) - this is a really hard question - those methods extend your memory but the memory u gain is MUCH slower then the internal memory. So again u have to decide and try out if it helps u or it doesn't (I used em long time but never realy felt a big advantage of. Compcache even made my device feel slower and i got more FC's most time - also I tried to figure out how the memory management uses this "memory". But i din't find a clear answer yet - as some ppl mentioned that "inactve apps" wont get swapped - need some clear source... Anway in general those 2 should increase Multitasking capability at cost of speed.
7. FUDGESWAP
- noting yet - its GINGERBREAD only - so we have to wait...
FINALY: u have to decide on your own what u really NEED to run "simultaniously" (I personaly rather have less widgets and run background services like growl, eventghost, tasker) but u can count it yourself by checking back with taskmanager and having in mind your archos (GEN8) just has 256MB of internal memory.
CPU Manaagement:
8. (UD) If u got Urukdroid u can try setting your CPU Governor to another value like:
"Interactive" is more reactive than "on demand" (-> SIBERE)
9. Try an OC (OverClocked) Kernel -> get it in the Urukdroid Dev Thread (I wont link any here as u should know what u do and wich u choose!)
BEWARE not all devices can use an OC Kernel (sadly mine can't) but try it out...
10. Try overclocking your device with the Milestone Overclock Utility. This overclock method is based on a module insert. Again this just works with root.
OVERCLOCKING:
Each CPU is different -> each device is different and can handle different maximum speeds - this is related to the former position of the CPU on its waver while production...
So u have to try out what your CPU can handle safely - so it might happen your device will refuse to boot after u flashed a kernel or set some permanen OC values. Keep a BACKUP or reflash old kernel...
In general u normaly can't brick your device by overclocking as the CPU overheats -> safety function of the CPU stops it -> the device resets itself before the CPU get "burned" (hope this also aplies to ARM processors )
Other:
11. The Launcher: I tested out much lauchers already: ADW, ADW EX, VTL, Laucher PRO, Zeam Laucher, GO Laucher - most of them seem to be eaqual in speed and more differ in features (event Laucher PRO is still the fastest on my Wildfire [but development stopped some time ago], GO seemed to be a bit slower imho) - take any of those but avoid taking some over exagerated 3D'ish laucher like Regina, SPB Shell, Claystone...
12. Apps like "AutoKiller Memory Optimizer" have additionaly features to "optimise" the speed,... u might test those out but I didnt notice a difference most time. Still keep in mind - u should know what u are doing
13. Ok - u may want to hit me for that:
It's more a cosmetic thing - but I recently used UOT Kitchen for theming my framework and used the fly-in animations - and they feel much faster then the default animations just try it out... keep a backup of your original framework for reverting.
All the following Tweaks are mentioned by sibere (credits go to him and propably some other people)
echo "1536,2048,4096,6144,8192,10240" > /sys/module/lowmemorykiller/parameters/minfree
(this is related to 1. ; 1MB = 256 => valueas above are 6MB, 8MB, 16MB, 24MB, 32MB, 40MB)
to enable cgroups cpuacct:
mkdir /acct
mount -t cgroups -o cpuacct none /acct
mkdir /acct/uid
to change ioscheduler:
cd /sys/block/mmcblk1/queue
echo "deadline" > scheduler
cd iosched
echo 1 > fifo_batch
These are lost on reboot so if you wanna keep them, add a script to /etc/init.d
Finaly I also have patched the sqlite library. If you want the file, let me know. It boost a lot SQL database writings. See this thread http://forum.xda-developers.com/showthread.php?t=903507
Click to expand...
Click to collapse
Will ask him to comment on "cgroups, ioscheduler, and sqlite" as im not sure if they work with all rom versions / neither how they work exactly.
THANKS Sibere
EDIT:
aditional threads with tweaks
- Supercharger
- http://forum.xda-developers.com/showthread.php?t=1227269
BEWARE I HAVEN'T HAD THE TIME TO CHECK THEM OUT YET AND DIDN'T TEST THEM
SOME OF THEM MIGHT NOT WORK AND PEOPLEARGUE ABOUT THEM (e.g. the "debug.sf.hw =1" is heavily discussed)
IF ANYONE KNOWS MORE ABOUT THOSE OR CAN HELP TESTING IM HAPPY TO LEARN MORE ABOUT
Hi.
For a full reference to cgroups, you may read the cgroups documentation from the kernel.
Basically, it provides process aggregations in the Linux kernel, mainly for resource tracking purposes.
deadline IO scheduler has been used a lot for SSDs and proven to be quite adapted to flash memory.
The minfree settings set here are pretty much optimised by me for the archos. It gives you a good balance between available cache and free ram . Android starts to complain when the free ram drops below 32Mb. with these settings, the OOM task killer will try to maintain a free ram level above 32Mb. You DON'T need a task killer. It will just use precious ram resources and will mess up with the android integrated task killer.
Those settings are reset on boot, so you may add them in a script added to /etc/init.d/ directory.
SQlite optimisation is of great help and I already posted a lot of information about it when I posted the tweaked file. Please refer to this post. (You'll have to look for it, it's somewhere in the dev thread )
Enjoy your optimised archos!
Thanks guys, learning new tips.
Nice! Good tips. Thanks.
Very usefull reading, thanks!
thanks for the tips ! cheers!
Hello, I am JustLoveJoy, I am an up and coming developer, although I work very hard on my phone right now, my gf has gotten an Archos 8 G2 4GB tablet and I have it rooted but it constantly gives me some issues. Finding this thread, I have to ask, can these or any tweaks be applied to her tablet? is there any source code on github or somewhere else? I mainly wish to get her to be able to do her Farmville on it. I'd like to get on to the development boards with a custom rom for it but I need someone with a little experience to point me in the right direction for that. Thanks So much for starting this thread!
hi i just want to try to root my arnova 7g2 bit i don't find a straight 3d on xda. you clan indicate the right street
Inviato dal mio GT-N7000 con Tapatalk 2
did you notice that crow (CM7) for Gen8 was released ?
still nothing for developing for the Archos 8 G2 4GB? If I can get adb shell I would be happy!
Thanks
thinks man
:good:
Thanks for the great post! I still have one of these!

Things to get sense 3.5 running smoother

Just trying my best to help out! These are the things i do to improve performance on my hd2 (tmous) running sense 3.5. Some of these are risky so read before applying
1. Swap.
There is much of debate about using swap on your android device,some say its useless and it wears down the sd card and others say it speeds up your device on a notable level. What i've noticed is that swap behaves according to what else is using the sd on android at the time, remember that android is also accessing the fat32 and your ext4 partitions. Right now im not using my ext4 partition on my sd and and i can notice the little boost from swap , and on the previous rom which ext4 was needed, using swap would more show up on benchmark than actually being experienced.
HOW TO GET SWAP WORKING. Its very easy on the sense 3.5 roms!!!! Just partition your sd using recovery in magldr, download script manager from the market and download swap-hard.sh from Dorimanx's high performance rom.
in script manager go to where u downloaded the script and run it (run as root and run at boot). Thats it!
2. VM heap size.
i set mine to 96m ,using blade buddy from the market. In advanced settings edit the value in dalvik.vm.heapsize press menu save and restart.(dont overdo it 96 already is.
3. Overclock. I just overclock to 1.382Ghz max 576 min with the performance governor. (please read about the dangers of overclocking your hd2 before choosing to do so.)
4. v6 supercharger. Search for it, read the thread!!! use and enjoy!
5. Reduce system traffic. As wonderful as the hd2 is we need to remember that it has its limits no matter the os u put on it (lack of speed, heating up, speedy discharges ect). this is all due to what im calling system traffic, the autosync every 10 minutes, the running 10 apps you dont need just because, things like that. These things unbalance the performance vs the productivity. Set the auto sync to an hour or take it off . close apps when u r done with them. Clean up the temp files regularly (caches ect).
6.Flash the newest radio Leo_RADIO_2.15.50.14
This is it for now if u got anything else to help then please reply as these things can help any rom , also u shall take full responsibility for any future damage to your phone or phones hardware (nothing to be scared about but im putting it up incase.) And it would be great to get a dev's opinion on this and to also correct or guide people to better settings.
i would love to post a video but i have a dell streak 7 and the vid recording is horrid!!! but the average quadrant is in the 1200s.

[Guide][Tweaks] The Complete Guide For Maximum Battery Life V2.1 - Updated 7.10.13

Last update: 7.10.13
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is the complete guide of how to handle your battery in the most efficient way possible.(GB/ICS/JB version).​
This guide refers to Android users in general (Samsung, HTC etc..) in addition to SGS2 users.
ROOT: Yes.
ROM: Any rom will do.
Kernel: Siyah/Dorimanx is preferred but any other will be fine.
Human features: Patience
After an extensive research regarding 'how Android OS works' and reading hundreds of pages (yes 1000 pages in 1 thread) in XDA regarding topics such as: BBS (BetterBatterStats), MagicConfig by geko95gek, Kernel Info, Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs by droidphile etc, I have come to conclusion that there is currently no better configuration than mine.
I almost don't have wakelocks, during the night (7 hours sleep) I have between 3-4% drain which is really good, of course, you can get better drain ,for example, 1 % during a whole night BUT users like that turn off their data connection OR switch to airplane mode, I really don't like doing that but of course you could do that too and enjoy your 1% drain.
Before I wrote this guide I tried these configurations in 5 different infinite sgs2 mobile phones of my friends and Nexus devices, they all were blown away from the results they experienced from their battery.
I wrote this guide because XDA users have helped me a lot in all the aspects of Android, so now I can help the XDA community too.
Last update:7/10/13
Step 2 updated with solutions on the go.
Step 3 is now LBE version 5 compatible.
Step 4 updated for Dorimanx users as well.
Faq Updated
Post #1​
Wakelocks: What is it ?
Monitoring the wakelocks
LBE security manager: internet permissions & prevent apps to be put in cached after a restart
ExTweaks/STweaks & governors - Siyah/Dorimanx kernel users ONLY!
Undervolting & Governors
Post #2​
Freezing google/Samsung apps using Titanium Backup Pro
Screen Brightness
Accounts & sync
Fast Dormacy - Should/Can I disable it ?
Battery calibration - Should I do it ?
Network/operator modem support - How to tell if your modem meet your network standards
Variance
Learning to read the battery graph
Post #3​FAQ
When you're done with the guide please do come back and share your results with us.
I'll try to simplify things as much as I can so the common user could understand.
Let's begin,
1. Wakelocks: What is it ?
When you develop an app in Android there are options for you (as a developer) to let the app start during a different time or a different change, sometimes it is really essential, for example our build in Alarm clock(Also: Widget/Music player), we need it to start the alarm in a specific time thus this process is important and it will open up by "it self".
Counter example is a simple game or a weather app, we only use it once in a while and after we use it we don't need the process anymore so we close it, but most of the time the developer add all sort of commands to start the process even when we don't use this exact process, for example if we boot the device/click on the media app button the app will go into cached processes (System settings->Applications->Running->Click on cached processes), but let's say it's an app we use once a week or a game we play once a week, there is no need to put this app in the cached processes (since it consumes the battery) so this is why we would like to close this option.
Notice – When you open an app and close it the process is still in the cached processes because if you open it again, it will open in a sec (since it's in the cached processes)and that’s a good and efficient thing, but if you close it from the cached processes you will only make things worse because when you open it AGAIN the Android OS will AGAIN, put the app in the cached processes and this is yet again will consume the battery.
How to tell if you can turn off or not in an app/game:
Basically the idea is this,
If we are talking about an app that the whole very existence is to do things by it self (Playing songs/Setting alarms/Auto-commands apps) then of course we won't turn anything off.
If we are talking about a type of apps that their whole process is to do something particularly which will take place only when we open the app (Bar-code scanner/Weather app/Shazam/Office apps/GPS apps/Games so of course we will turn everything off.
If we are talking about ROOT apps so I suggest not to touch anything.
First thing you will do is to download Gemini App Manager 2.6.0, this app will handle these wakelocks and as we already mentioned will give us full control over 'when to put/not to put the app in the cached processes/running services'.
DON'T UPDATE TO VERSION 2.7 - THE NEW VERSION HAS NO WORKING EXPERT MODE ! ! !
After you downloaded the app, open it,
Hit the option touch key (left to the home button) and go to 'Expert Mode', you will find there, all the applications your phone contains. What we are looking for is the orange icon the says 'AUTO' under each app:
once you find an app/game with this icon, think, and ask yourself "Do I need this app/game to open up by it self?" (See the examples with the clock app above).
If your answer is "NO!" (90% of the cases the answer is no-read above when the answer is YES), then press this app/game for about 2-3 seconds, a window will open and choose 'ConfigAutorun (root)'.
A new window will appear with all sort of commands: On package added, on app widget update, After boot etc, as you can tell the name of the command does what it says for example: 'On package added' -> if you added a package to the app, the app will be put in cached process.
Change to OFF all the commands:
and there you go, this app will never fool around!
2. Monitoring the wakelocks:
Download the app: BBS
BetterBatteryStats aka BBS: Why do I need this app ?
After you managed to finish step number 1, you can now install BBS on your system.
Once your done open it and choose partial wakelocks, we will focus on this section.
Charge your device to 100% and when it reaches 10% or so, open BBS hit the options touch key and choose 'Dump to file':
this will generate a .txt file with all the apps/games that did wake your phone and caused drains.
"BUT HEY I DON'T UNDERSTAND ANYTHING FROM THIS FILE AND THIS APP IS HARD TO UNDERSTAND!!!", first you need to relax and go to the BBS thread BBS, the developer is kind enough to let you put the file there and he will look it over and tell you what is the main problem you should focus, and decide if to remove the app or maybe change something in the setting of the app.
If you want to learn about this log file and understand it better just read the thread (like I did) it contains more than 1000 pages, so after 10-20 you will have some clue about this app.
Remember, this is the BEST application that can track your battery drains and tell even if your kernel is waking up the phone, just dig in BBS and you will see, there is no other alternative than BBS, remember that and don't ask for a substitute.
Q: How can I solve BBS wakelocks on the go ?
A: Get in here.
Also, if you have EventLog wakelocks here is the solution:
Download System Tuner. open the app and go to 'Startups' and look for 'Google service framework' and over there disable both 'checkin.EventLogService'.
Be advice EventLogService wakelocks only happens with stock Samsung ROMS.
ALSO, read the FAQ.
3. LBE security manager: internet permissions & prevent apps to be put in cached after a restart: version 5+
We all know that every time we go to the inet (not via wifi) we are starting to see an immediate battery drain.
The best way is to install a firewall app (which is MUCH more than that btw and it's free) that will control our inet pipe.
The user zagzag99 was kind enough to translate the latest version (4) of that app (Notice that in Play store it's version 3 ONLY) get it here: LBE Security
After you installed the app,
Tap on More -> Permissions -> All apps
Now you are looking at all your apps/games (including system app by tapping on 'Download' on the left and choosing 'System'), by clicking on one of the app/game you would see the permissions the app wants from your phone, if it is a game that you play offline then why does this game want to go online? More-than that, why the game wants to access my call records!?
This is why you won't allow it and eventually you'll close the inet pipe and the rest for each app/game you don't want to go online or even get your precious information.
After your done we will now deal with the auto start issue.
Repeat step a, and choose a random app, as you can see the first option in every app is 'On boot permissions' so you can turn it off or back on.
Now, this is very important, I only say it once, if you see an app/game that you don't even use or use once a week 'turn it off', but if you see an app/game that you use most of the time leave it as it is, why ? Obviously you didn't read step number 1.
4. ExTweaks/STweaks& governors - Siyah/Dorimanx kernel users ONLY! **Unless you can undervolt with your kernel**
Download STweaks, if you want to understand what each command/line does please read up: Here or you can just do what I tell you to and enjoy better battery.
First of all I want to thank geko95gek who inspired me a lot regarding STweaks .
Open STweaks,
CPU tab:
MAX OC FREQUENCY: 1000000Khz
CPU_UV tab:
You can undervolt here or in setCPU (See step 5).
Be advise #1: for some reason Siyah V6b5 doesn't save the changes after reboot BUT setCPU does.
Be advise #2: Dorimanx users are good to go.
GPU tab: - SGS2 users input - Different devices try to lower 1 step back.
Siyah steps:
GPU FREQ STEP1: 54Mhz
GPU FREQ STEP2: 108Mhz
GPU FREQ STEP3: 160Mhz
GPU FREQ STEP4: 200Mhz
GPU FREQ STEP5: 267Mhz
GPU VOLTAGE LEVEL1: 850mV
GPU VOLTAGE LEVEL2: 900mV
GPU VOLTAGE LEVEL3: 950mV
GPU VOLTAGE LEVEL4: 1050mV
GPU VOLTAGE LEVEL5: 1150mV
Dorimanx steps: (Basically the default)
GPU FREQ STEP1: 108Mhz
GPU FREQ STEP2: 160Mhz
GPU FREQ STEP3: 200Mhz
GPU FREQ STEP4: 267Mhz
GPU FREQ STEP5: 267Mhz
GPU VOLTAGE LEVEL1: 900mV
GPU VOLTAGE LEVEL2: 950mV
GPU VOLTAGE LEVEL3: 1000mV
GPU VOLTAGE LEVEL4: 1050mV
GPU VOLTAGE LEVEL5: 1150mV
You're DONE!
5. Undervolting& Governors:
Be advise: If your kernel doesn't support undervolting move to the next step, but I recommend to use a kernel that has support because when the phone is in deep sleep or on 200mhz (when you're not using it) you could save a lot of battery.
Be advise #2:I am going to recommend the use of setCPU and STweaks (Siyah/Dorimanx kernel only - if you don't have siyah you can do this step also as long as your kernel support undervolt), a lot of people wouldn't recommend the use of these apps together since they MIGHT conflict with each other, BUT if you will go through this step and read carefully it wouldn't be a problem in fact, it will work just fine
Download setCPU, if you want the latest version you can buy it in the Play store (support the developer).
Version 2.2.4 would be fine too, if you want to understand what each governor means and what is cfq please read up: Here and Here or (if you’re a lazy ass user) you can just do what I tell you to and enjoy your battery:
Open setCPU,
Main screen:
change to 200-1000 Mhz (it should be like it since you already changed it in ExTweaks) and tick 'Set on boot', also make sure 'ondemand' and 'ROW/CFQ' are chosen as governor/io :
Profiles:
Make a new profile and choose 'Add Condition -> Screen On/Off' and choose 'Screen off' and save.
Hit next and choose 200-500Mhz, tick 'Set the CPU governor' and choose 'conservative'.
Choose priority 50.
This profile will make sure while the screen is off there won't be any jumps to high frequencies.
Make another new profile and choose 'Add Condition -> Battery level' and choose '10%' and save.
Hit next and choose 200-800Mhz, tick 'Set the CPU governor' and choose 'conservative'.
Priority is 49.
This profile will let you squeeze the last 10% of the battery like they were 20% but the UI will lag.
Tick those profiles and tick 'Enable Profiles' at the bottom.
Results of step a & b :
Voltages Screen: (Only supported kernels)
Be advice: This stage is the most exhausting, annoying and irritating stage you could ever find but in the end it's worth every second.​Since we put a range of 200-900Mhz we will focus on these frequencies only (of course if you decide to put the range between 200-1200Mhz you will focus on them only).
We will scroll down and look for 200Mhz, 1st white row represent the default mV that Samsung has put in order to max UI, and 2nd white row represent your mV change,but we are smarter than old Samy so we will start to change.
200Mhz – Is usually between 825-875mV it varies between each phone (each phone has different ROM/Kerenl)
So you ask yourself, which mV should I choose?
Well my friends, that’s the 1 million dollar question, let's say you chose 850mV:
Touch the 200Mhz and change it to 850mV afterwards hit the 'Right icon' next to the save icon
if your phone is still working and didn't get stuck go back to the 'MAIN' tab and choose 200-200Mhz (yes exactly like that) and then we will go to the 'INFO' tab, scroll down and choose 'Stress test':
if 'Sress Test' ran for about 4-5 mins and everything is still working, you can stop it by pressing the back key and it means we can continue to the next stage.
Download Stability Test
Open the app and choose Classic stability test – this will ensure the test of only the 200Mhz frequency.
If after step b&c your phone is still working that means that the undervolt you chose is working great. (It doesn't mean that your phone won't freeze-it might), you can undervolt more and see what is your limit.
Do the same process to all the frequencies, of course if you're in 500Mhz you choose the main profile (setCPU) 300-300Mhz in order to test only this frequency.
When you're done, change back in setCPU'MAIN' tab to 200-1000Mhz, go back to Stability test and now choose Scaling Stability Test, let it run for 10-20mins, if there are no errors you're good to go.
Play with the phone for few days, if it hasn't frozen go to setCPU 'VOLTAGES' tab and tick at the bottom 'Set On Boot'.
Notice: My recommendation is to set on boot in the end of the process because if you choose a really low MV your phone might be stuck in an endless loop, thus you tick 'set on boot', only, if you are sure your system is stable.
Final Result:
[img=http://imageshack.us/thumbnmail.png]
My voltages (SGS2 Device):
200Mhz – 850mV
500Mhz – 925mV
800Mhz – 975mV
1000Mhz – 1075mV
Notice: This undervolt method is the most aggressiveness method around, if you want the easy way and you have Siyah kernel you can open ExTweaks/STweaks and in the "Undervolting" choose -25 or -50, this will undervolt ALL the frequencies together with minus 25 or 50, if your brave you can try 75.
My method gives you a specific voltage to each frequency, in 200mhz you can have minus 75mV while in 500mhz minus 50mv, this will give you the best undervolt system.​
Continued on next post...
6. Freezing google/Samsung apps using Titanium Backup Pro:
If you didn't buy the app yet, well, you’re an idiot: Titanium Backup Pro or you can use a free substitute (though I never tried it) Root Uninstaller
After you bought the app, open it and go to 'Backup/Restore' tab:
in there, you can see all your apps/games AND system apps, we will be focusing on the system apps.
NOTICE: If you're using CM rom you can skip this step since they did hell of a job in removing all Samsung/Android bloat-ware.
Our main goal is to freeze processes that common users don't use and don't even know they have, I won't write all the list of the apps you should freeze but I will write all the apps you will freeze that are consuming your battery like a *****:
Email 4.0 – this is stock mail full of bugs and infinite loops that go online and check for mail, if you don't have gmail account please use a 3rd party app like AquaMail/MailDroid that will give you minimum bugs for the check interval.
Exchane Service 3.1 – Belongs to Email 4.0
Kies via Wi-Fi – I wouldn't say it consumes your battery but it's an unsecured protocol by Samsung, use a 3rd party app like AirDroid
Maps – If you're not using it FREEZE THIS APP ASAP! If you do use I suggest unfreezing every time you need it and freeze again when you're not using it (sorry).
MAPService – Belongs to Maps.
Samsung Account – Do I really need to explain? (Including all the Samsung hubs and chats and whatever they come up)
SecPhone 1.0 – If you're using a different launcher rather than TW you can freeze it.
Software Update – We don't need it, we flash our ROMS
Street View – belongs to Maps.
Talk – I find that even if I freeze it (gtalk) it's still waking the phone so your choice.
Talkback – Samsung try to overtake Whatsapp.
Wi-Fi Direct & Wi-Fi sharing & Wi-Fi sharing manager – you don't need it.
Of course if you're using stock ROM you have A LOT of freezing to do, you can use this thread and of course this amazing list
Or you can Google for more apps that are safe to remove.
7. Screen Brightness:
If you don't know, the most battery consuming part of the phone is the screen.
Go to 'System Settings -> Display -> Brightness' and choose 'automatic brightness'.
For the users that want to maximize even more (YES WE WANT EXTREME!!) try to lower the brightness as low as you can, 20-30%.
Recently I've noticed that there are new apps that you adjust screen brightness by each pixel and a lot more, you can Google that, but I prefer to be able to see things crystal clear.
8. Accounts & sync:
Everyone is recommending, in order to save battery, to go to 'System settings -> Accounts and sync' and to turn it off, of course it will save A LOT of battery, but, if you have a gmail account and you want to be notified as soon as you get an email,you can't turn it off.
What you can do is:
Hit your @gmail.com account, and 'untick' everything except 'Sync Gmail', this will assure that you will get your emails via PUSH (PUSH is the most battery efficient protocol - at real time):
Don't forget to sync your contacts/calender once in a while or before you flash a rom.
If you don't want to get your emails instantly then remove your gmail account and download a 3rd party app like MailDroid/AquaMail and set interval for every hour or every 4 hours, this will assure that there will be absolute no wakelocks but only every 1 hour or 4 ( as you chose).
If you choose to keep auto sync there is one disadvantage:
If you don't have a good reception 'sync' option will go completely crazy and keep asking to go online and sync your email (since you're on PUSH) but it won't be able to, since you don't have a good reception and it will go like this in an infinite loop till you have a decent reception and as you can already understand while your screen is off, the phone is awake and trying to sync, so keep that in mind.
9. Fast Dormacy - Should/Can I disable it ?
First of all you need to understand that not every network/operator support FD (Fast Dormacy).
My network doesn't support FD thus if I'll disable or enable it, it wouldn't make any different, in fact if you disabled it and you think your battery is now "OMG FUKCING AMAZING" this is just a placebo effect, and yes I am 110% positive.
How do I check if my network support this tweak ?
The user JIMMYMCGEE from xda made an amazing guide you need to follow (in fact it's a video clip - which is easier).
She first explain what is FD and afterwards explains how to check if you have FD and if you do, how it can save you battery.
Follow this guide and all his steps here.
NOTICE: If the app that shows you your network stats (service mode) doesn't work and only opens your dialer, this is what you need to do:
This is the code for the service mode, write it in the dialer:
*#*#197328640#*#*
When you'r in the Service mode screen, hit: Debug screen->Basic Information and here you go, service mode.
Interested in more info regarding FD ? you can read what I have already read in here.
10. Battery Calibration - Should I do it ?
The answer is simple, if you are using ICS/JB you don't have too because every time you charge the battery to 100% all your data and stats are deleted and the service begins to collect info again from the beginning you can read all about it here and here.
As you can see for ICS/JB users it's a myth nothing more.
If your using GB then you do have to calibrate your battery, there are 2 methods:
Charge your phone untill you have reached 100% boot into recovery and delete battery stats ('Advance -> Delete battery stats').
Download battery calibration app and follow the steps that are mentioned in the 'Description' of the app and in the app.
11. Network/operator modem support - How to tell if your modem meet your network standards
CM USERS DON'T USE THIS STEP IT WILL BREAK YOUR RIL AND YOU WILL HAVE NO RECEPTION
Every network/operator support a specific version of modem, this means that if you will use their modem, 90% of the time your reception will be solid without any disconnections, if your modem doesn't support, then you will sure have disconnections which will lead into more battery drains (no receptions=phone will search for antennas even though there is one).
Notice: There is a chance that even though you have or don't have their modem you might have or might not have disconnections (confused ? me too.)
How to check:
Download GetRIL, Open the app and see if your RIL/Baseband (aka modem) is matching, if they are (written in green), your good to go and you can remove the app.
If they are not, here is what you need to do:
Under 'Baseband' you have 'recommended':
You can see that LQ6 & LPB are supporting my network, we will now tap this:
and look for LPB & LQ6, after we found it we will choose it and tap: 'Download & install'.
When your done restart your phone and check again (GetRIL) that now your modem is now supporting by your network, if so, remove the app.
12. Variance:
Play store app: Hit the option touch key and untick - 'Notifications' & 'Google AdMob Ads'
When the 'notification' is on, the app is consistently connecting to the server and checking for new versions.
When 'Google AdMob Ads' is on, the app is always checking your behavior and reporting back to the Google server.
'System settings -> Location services' untick everything.
'System settings -> back up and reset' untick 'Back up my data' and 'Automatic restore'.
NOTICE: I didn't apply this step for my own device since it only saves 5% battery more or less and it's a service I use, think, if you need it or not,
WiFi users: 'System settings -> Wi-Fi -> Advance -> Keep Wi-Fi on during sleep' choose - 'Only when plugged in'.
This will close the Wi-Fi connection when you turn off your screen.
Keep in mind that after you finished using your BT turn it off, since I have specific times I use the BT I use AutomateIt, it's a great app that can control even silent modes.
Don't use Facebook app, it drains your battery the most, instead add a shortcut in the desktop for facebook.com link and go to facebook via this link, it looks exactly the same as the app since Android users don't have a native facebook app yet.
Don't use live wallpaper
Don't use widgets
Don't use Haptic Feedbacks
Never ever use Task Killer or 'Clear memory' - Android has it’s own task killer that works better than your 'decision making' brain.
Screen time out - Don't forget to set it
No reception = major battery drains - use airplan mode.
Use Nova launcher or better code efficient luanchers.
Use ad-blocking app in order to prevent unnecessary network usage in downloading ads, I recommand using AdFree - Open the app and choose: 'Boot Normally' and afterwards choose 'Download& Install hosts', when your done restart your phone.
Always charge your phone untill it shows 100% and charge it only if it is below 20-30%
Automatic Date & Time option -> untick
13. Learning to read the battery graph:
This is the final step, come back to this step after you're done with all 12 steps, reading the FAQ (Post #3) and you lost at least 70% of your battery since you charged it.​
So you’re here, go to 'System settings -> Battery' and hit the graph bar.
At the bottom you can see 'Screen on' and 'Awake' we will focus on these lines.
Our goal is to achieve 100% overlap between these 2 lines, meaning, when the screen is on, the phone will be awake and when the screen is off we don't want the phone to be awake since we don't use the phone (unless we are-downloading a file).
For example if you see a blue line in the Screen on bar I would like to see at the same time the EXACT size and width in the Awake bar if not, that means we have wakelocks so we need to go to step number 2 again and see who is waking up our phone.
It's really hard to achieve a 100% overlap between these 2 bars, even for me.
Example of a minor wakelock (squared in red):
For conclusion:
You need to be able to get a MINIMUM 3 hours screen time (System settings - >battery - >screen) if not, you're doing something completely wrong.
From my experience you can't get more than 3.5 hours screen time over total use of MORE than 24 hours uptime (Maximum up time I got with the phone is 4 days with almost 3 hours screen time and 1 hour of calls.), however, if you play non-stop with your mobile, from the time you unplugged it, you will get more then 4-5 hours screen time EASY over 5-16 hours uptime:
But of course most of the users don't "act" like that and most of them just "lose" battery over uptime when screen is off.
From my vast experience with battery usage, this is it, either your get 3 hours screen time over moderate usage (long uptime-2 days +) or you get 4-5 hours screen time with aggressive use (short uptime-16 hours top).
Don't let anyone tell you different.​
• This is it for now, this thread will be updated with new tweaks and methods every now and then.
• Please, if you have any questions regarding this thread write them in this thread ONLY and don't send me a private msg.
• I love constructive criticism, so if you have any thoughts or you found a mistake (even in my grammer) PLEASE send me a private msg.
Credits and many thanks to:
droidphile – His amazing articles and threads regarding most of my steps, you helped me a lot!
geko95gek – Who inspired me a lot regarding ExTweaks.
JIMMYMCGEE - FD knowledge and guide.
If I forgot anyone please do let me know
If you love this article please do hit the Thanks button and rate this thread 5 stars,also you can hit the "Newsworthy Thread" in the first post if you think this article should get a higher exposure.
If you really appreciate this article you can always buy me some weed - makes me think clearly
Thank you.
FAQ:
Q: Which ROM and kernel you're using ?
A: I am using Wanam ROM (latest version) and Siyah kernel (latest kernel also) CM10.1.3 and Dorimanx 9.41.
After trying all sort of ROM's I can say that the most stable and reliable ROM's are Samsung based ROM's.
I am now recommending CM10.1.3 stable ONLY!
Q: After the tweaking and following your entire guide, does the UI will lag/Games will stuck or freeze/App will run slowly ?
A: Regarding the UI you might feel a little lag (if you were using stock frequencies and voltages) or you might not feel any lag (depends on your launcher), If you install Nova Launcher and use it instead of the TW you won't feel any lag since the Nova launcher is code efficient.
Regarding the apps, you won't feel any lag unless it's a graphic app or design/CAD app (even this is questionable).
Regarding the games, you won't feel any lag in most of the games, I played a lot of games for example Dead Trigger/Galaxy on fire 2/Shadowgun/Samuraio II and few more, I didn't feel any lag or what so ever, though I did feel that the loading steps took 1-2 more minutes.
Q: The most used (or 2nd) most used service/app in BBS is 'AuidoOut', how can I minimize it ?
A: You can minimize the 'Audioout' by unticking: 'System settings -> Sound' , under System, untick them all.
Plus, in the same window click on "Vibration intensity' and put 'Vibrate on screen tap' on the lowest (0).
Q: I keep getting "Shell have been granted superuser permissions" over and over again and it drains my battery, is there a solution ?
A: It's a known problem with SuperUser, install SuperSU give it root permissions via superuser, go to app info of superuser hit "Force Close" and afterwards hit "Disable", now SuperSU will handle your root privilege.
Q: I froze Secphone.apk and now I am having weird issues what should I do ?
A: Obviously you're an idiot since I specifically wrote next to SecPhone.apk: If you're using a different launcher rather than TW you can freeze it.
So don't freeze Secphone.apk if you are using TouchWiz launcher which is the official launcher by Samsung.
Q: How can I tell if my phone is going into Deep sleep and activates the setCPU profiles ?
A: In setCPU go to 'Info' tab and tap 'Time In State', you will find a pie chart, if your a common user-that most of the time his screen is off-, you should see that 200mhz has the biggest chunk, if it's not the case then check BBS what is waking your device.
Q: After installing Gemini App Manager I am unable to install/uninstall any app, what should I do ?
A: You are probably using Screen Filter app, for some reason the install button become unresponsive, disable Screen Filter when you need to install something and enable it again afterwards - Thanks Ryther.
Q: How can I solve BBS wakelocks on the go ?
A: Get in here.
Also, if you have EventLog wakelocks here is the solution:
Download System Tuner. open the app and go to 'Startups' and look for 'Google service framework' and over there disable both 'checkin.EventLogService'.
Be advice EventLogService wakelocks only happens with stock Samsung ROMS.
More to follow.
Great work dude. You gave me some good tips
Sent from my GT-I9100 using Tapatalk 2
gb.yolo said:
Great work dude. You gave me some good tips
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Thank you for your positive feedback.
Thanks
I can confirm getting about 3~4 hours of screen time at most during 16~24 hours of usage.
I noticed you wrote something about SetCPU working on stock kernel ... in my experience it does not work even if some people claims so.
SetCPU might be able to change between a limited amount of Governors, but setting Min and Max doesn't work even it looks so (I used some other tool to confirm this). I only tried this on rooted Stock GB, but I think it will be the same on ICS.
Does this work on jb rom?
Sent from my GT-I9100 using xda app-developers app
good tips
Thanx
Ben101 said:
Does this work on jb rom?
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
It work on any rom
Mittaa said:
Thanks
I can confirm getting about 3~4 hours of screen time at most during 16~24 hours of usage.
I noticed you wrote something about SetCPU working on stock kernel ... in my experience it does not work even if some people claims so.
SetCPU might be able to change between a limited amount of Governors, but setting Min and Max doesn't work even it looks so (I used some other tool to confirm this). I only tried this on rooted Stock GB, but I think it will be the same on ICS.
Click to expand...
Click to collapse
Thank you for confirming though you could get more.
and I didn't say what you wrote, I specifically wrote:
If your kernel doesn't support undervolting move to the next step
Click to expand...
Click to collapse
Ben101 said:
Does this work on jb rom?
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
I didn't try with JB, but I'd love if you could follow each step and report back with results, in my opinion it should be the same.
soso_soso said:
good tips
Thanx
Click to expand...
Click to collapse
Thank you for the feedback, please do try all the steps and report back for success.
great tutorial, thank you for your effort!
I followed the steps but I can't find this one in LBE security:
"c.After your done go to the first window (swipe your finger right to go to the first screen)
d.Choose 'Speed boost -> Auto-Start' you will see all the apps that will be put in the cached process EVERY restart you make to your phone, now, this is very important, I only say it once, if you see an app/game that you don't even use or use once a week 'Disallow' it, but if you see an app/game that you use most of the time leave it as it is, why ? Obviously you didn't read step number 1.
"
trikpa said:
great tutorial, thank you for your effort!
I followed the steps but I can't find this one in LBE security:
"c.After your done go to the first window (swipe your finger right to go to the first screen)
d.Choose 'Speed boost -> Auto-Start' you will see all the apps that will be put in the cached process EVERY restart you make to your phone, now, this is very important, I only say it once, if you see an app/game that you don't even use or use once a week 'Disallow' it, but if you see an app/game that you use most of the time leave it as it is, why ? Obviously you didn't read step number 1.
"
Click to expand...
Click to collapse
Thank you for your positive feedback, please do come back with results and post them here.
As you can see in the picture, this is the first screen you see when you open up LBE,2nd raw is 'Speed Boost' just click it and it will show you new buttons, there you choose 'Auto-Start.
EDIT:
I have added pictures to the main thread for most of the steps and marked in red the specific step.
I got confused because in my app it says phone accelerate instead of speed boost
anyway, I'm using these mods since this morning so it is too early to say anything factual about battery life, but I think it is much better...
usually I would have about 60 or less % left at this time of day...
trikpa said:
I got confused because in my app it says phone accelerate instead of speed boost
anyway, I'm using these mods since this morning so it is too early to say anything factual about battery life, but I think it is much better...
usually I would have about 60 or less % left at this time of day...
Click to expand...
Click to collapse
Perhaps you downloaded even newer version than mine but I can see you figured it out.
If you used to get 60% and now it's 76%, of course this is an amazing change.
Don't forget to check your screen time before you charge it and make sure it's minimum 3 hours (if the total up-time is above 24 hours).
If you did follow all the steps and did everything as I wrote, I suggest to get into Recovery mode -> Advance -> and reset battery indicators.
or wait 1-2 charges and the battery meter is supposed to acclimate.
hyperbolic said:
From my experience you can't get more than 3.5 hours screen time over total use of MORE than 24 hours uptime
Click to expand...
Click to collapse
Well is that so?
Nice thread, but Gemini app manager block on "updating information" sometimes :x
MrMarques01 said:
Well is that so?
Click to expand...
Click to collapse
I saw really few users like your self that actually got that time, but I had never got more then 3.5-4 hours max screen time on uptime for more then 24 hours.
I even did EXACTLY what these users told me with their exact config (from 3 different users) but again, I got only 3.5-4 hours screen time max.
So this is my conclusion.
Kigsuha said:
Nice thread, but Gemini app manager block on "updating information" sometimes :x
Click to expand...
Click to collapse
Thank you.
Yea that's an annoying bug that is happening from time to time.
Just exit the app and open it again.
hyperbolic said:
I saw really few users like your self that actually got that time, but I had never got more then 3.5-4 hours max screen time on uptime for more then 24 hours.
I even did EXACTLY what these users told me with their exact config (from 3 different users) but again, I got only 3.5-4 hours screen time max.
So this is my conclusion.
Thank you.
Yea that's an annoying bug that is happening from time to time.
Just exit the app and open it again.
Click to expand...
Click to collapse
I found solution, it only happens when after taping "config autorun (root)" and switching fast thing to off.
So i have to wait :cyclops:
Kigsuha said:
I found solution, it only happens when after taping "config autorun (root)" and switching fast thing to off.
So i have to wait :cyclops:
Click to expand...
Click to collapse
Sometimes you just wait for too long but if you have patience for that..
hyperbolic said:
Last update:29/9/12
[*] If after step b&c your phone is still working that means that the undervolt you chose is working great. (
Click to expand...
Click to collapse
hyperbolic what do you mean by step b&c ?
There just core1 sucessful
core2 sucessful
Ram sucessful

Categories

Resources