Carbonrom update 26-09 battery drain fix - Xperia Z General

He just posting here since i can't post it in de dev forum:
For me the drainage is caused by the ANice script in the /etc/init.d folder. Which tries to "nice" several know processes ("nice" gives certain processes priority over others when scheduling them for execution).
However the script never finishes and keeps 2 cores awake while running in the background trying to do something. But this was also present on the update of 14/09 for me. Happens even on a clean install (factory wipe).
The easy fix for me was to just delete the file. It certainly won't break anything but I think it disables the "loopy smoothness tweak". Or what it is called and whatever it is supposed to do. (Benchmarks about this one available somewhere?)
Hope this helps some pll fix their annoying unexplained drainage.
(And if anyone could be some kind as to point to this post/mention the info in de Carbon dev thread so ppl can fix it that would be great).
with kind regards,

rualyth said:
He just posting here since i can't post it in de dev forum:
For me the drainage is caused by the ANice script in the /etc/init.d folder. Which tries to "nice" several know processes ("nice" gives certain processes priority over others when scheduling them for execution).
However the script never finishes and keeps 2 cores awake while running in the background trying to do something. But this was also present on the update of 14/09 for me. Happens even on a clean install (factory wipe).
The easy fix for me was to just delete the file. It certainly won't break anything but I think it disables the "loopy smoothness tweak". Or what it is called and whatever it is supposed to do. (Benchmarks about this one available somewhere?)
Hope this helps some pll fix their annoying unexplained drainage.
(And if anyone could be some kind as to point to this post/mention the info in de Carbon dev thread so ppl can fix it that would be great).
with kind regards,
Click to expand...
Click to collapse
but how do i delete the file?

JohnnyCarrera said:
but how do i delete the file?
Click to expand...
Click to collapse
Use any file browser with root privileges like ES.
Go to device>system>etc>init.d> then delete the 'Anice' file.

Related

CM/Nexus slowdown (of the terrible kind)

I'm having some awful slow-down issues with my N1. Like, 3 second delays between clicking widgets and their intended effect, and even longer switching between home screens (if the screens switch at all).
There's no auto task-killer enabled, I've very recently wiped and re-installed CM, and cleaned out my unused apps. I've got around 200MB of RAM free, constantly. SetCPU is keeping my processor at 461MHz or higher. This is obnoxious as balls, and I can't think of much. :s
Any suggestions?
I'm running CM 5.0.6, btw.
i have the same problem
My N1 is not rooted and I am experiencing slowdowns. When opening txt messages now take 3-5 seconds, and typing completely locks sometimes for 20 seconds. Gmail now takes 5+sec to open and other apps are also seeing this. I just had 10+ programs update themselves and all these issues started appearing suddenly. Also when exiting apps my desktop will be blank for 3-5 seconds. This just happened all within the past 2 weeks or so.
reddragon72 said:
This just happened all within the past 2 weeks or so.
Click to expand...
Click to collapse
Yeah, the issue is very recent for me too. Last week.
I am wondering if Google sent out an OTA that is prepping the phone for the 2.2 update??? The reason I say this and not point to an app is the simple fact that I have all my apps stopped completely and the issues still exist.
reddragon72 said:
I am wondering if Google sent out an OTA that is prepping the phone for the 2.2 update??? The reason I say this and not point to an app is the simple fact that I have all my apps stopped completely and the issues still exist.
Click to expand...
Click to collapse
Mmm, I dunno about that. I'm running CyanogenMod. I don't get OTA updates. Do you remember, recently, getting an OTA?
Unless it was pushed inside of a market-updated Google app (uhh.. No.), I wouldn't have got it.
Zak Jones! said:
SetCPU is keeping my processor at 461MHz or higher.
Click to expand...
Click to collapse
You set your CPU at 461Mhz?? Sure it slow down and lagging. What the point buying a 1Ghz processor phone decide let it run at 461Mhz?
Check the profile if you are not set at 461Mhz, maybe accidently make a profile setting and enable.
Or set your setCPU setting from on demand to on performance.
What kernel are you running?
Andrewtst said:
You set your CPU at 461Mhz?? Sure it slow down and lagging. What the point buying a 1Ghz processor phone decide let it run at 461Mhz?
Check the profile if you are not set at 461Mhz, maybe accidently make a profile setting and enable.
Or set your setCPU setting from on demand to on performance.
Click to expand...
Click to collapse
I think he's setting the minimum at 461 hence the "or higher" part.
Well, I can't actually help much except to suggest that perhaps you could try Kang-o-rama (see my sig) and see if that works. It's a stable and fast bundle with no apparent lag. At least I know that setup works.
If you did proceed then posted your results in that thread I might be able to assist. You shouldn't be experiencing lag with this phone... and if you still are after installing Kang-o-rama we could look at logs for you.
No promises but I know Kang-o-rama works...
Success? Sorry for the laggy reply.
JCopernicus said:
I think he's setting the minimum at 461 hence the "or higher" part.
Click to expand...
Click to collapse
Yeah, Copernicus is right, it's at a minimum of 461MHz (now 499MHz.), with a max of 998MHz, running 'on demand'.
antoniouslj said:
What kernel are you running?
Click to expand...
Click to collapse
I'm using whichever kernel comes with CM. (2.6.33.2 is specified in the relevant section of his changelog.)
djmcnz said:
Well, I can't actually help much except to suggest that perhaps you could try Kang-o-rama.
Click to expand...
Click to collapse
Yeah, won't lie, I'm sick of reinstalling all my stuff, so I don't want to do it again. If I keep having issues, I'll look into it though.
Just last night, I wiped both the data partition (factory reset?) and cleared the Dalvik(sp?)-cache. Started from scratch (without Google settings sync.), and reinstalled apps one by one. SO FAR, I haven't had the slowdown, but who knows. All I've got installed yet are the applications that I actually had desktop shortcuts to. (I didn't have very many more, but these are the ones I actually used frequently.)
Anyway, yeah, I'll see how this goes.
K, need a suggestion.
Zak Jones! said:
Anyway, yeah, I'll see how this goes.
Click to expand...
Click to collapse
Sooo, it's not going. Still experiencing the slowdown. I honestly can't think of what's doing this. Advanced Task Manager reports > 190MB free (28 processes running), SetCPU is still running at 499MHz or greater (I can't get 'show CPU to work in Dev Tools?).
Ending everything in the "All Apps" tab does not fix the problem; it's speedy for about 30 seconds, then resumes being slow, with the same problems (so maybe it's a process taking up all my CPU cycles? (But my CPU isn't scaling up like it would in that situation...))
Anything I can try doing before re-flashing and/or wiping? I'd rather avoid that, but, of course, if it's the only solution, whatever. Maybe try flashing a new ROM?
Can't think of what else to do here, gentlemen.
Get rid of SetCPU. I had it installed and it started weirding out on me, would not set the processor higher than 384 and nothing I did in the profiles would set it back to 1 GHz. After I uninstalled, my phone returned to it's normal speeds.
Zak Jones! said:
Sooo, it's not going. Still experiencing the slowdown. I honestly can't think of what's doing this. Advanced Task Manager reports > 190MB free (28 processes running), SetCPU is still running at 499MHz or greater (I can't get 'show CPU to work in Dev Tools?).
Ending everything in the "All Apps" tab does not fix the problem; it's speedy for about 30 seconds, then resumes being slow, with the same problems (so maybe it's a process taking up all my CPU cycles? (But my CPU isn't scaling up like it would in that situation...))
Anything I can try doing before re-flashing and/or wiping? I'd rather avoid that, but, of course, if it's the only solution, whatever. Maybe try flashing a new ROM?
Can't think of what else to do here, gentlemen.
Click to expand...
Click to collapse
You might not like my advice but it's likely to work:
Don't uninstall SetCPU but set your CPU min to 245 and the max to what you want. Disable profiles but select 'Set on Boot' and 'On Demand'. Do nothing else with SetCPU, leave it alone and do not use the active widget. Your current setup is crazy.
Full wipe (as you've done before) data, cache, dalvik-cache, battery, rotate and then install Kang-o-rama 0.7b1 (no, I'm not simply pushing it, I just know it so well that I can assure you it works).
Do not, under any circumstances restore any data or apps for any application with any application. As soon as you set up your Google account go into Settings | Privacy and disable "Back up my settings" and hit Okay.
Install a task manager if you like for monitoring purposes. Install SetCPU as above if you like for OC.
Install no other apps (now that's the painful part) and use your phone for long enough for you to know with certainty whether it's working as you expect.
In all honesty, if it's still broke after that then you've probably got a hardware issue. If it's working after that then slowly add your apps back until you find what's causing the problem.
Good luck, report back.
So far, uninstalling SetCPU is doing wonders for me. Y'know, over the last 15 minutes. I'll use it throughout the day and see if it keeps performing.
Space for future updates:
****ING BALLSACK. <--- First impression of Kang-o-Rama (I decided to just go for it and flash as soon as I saw it included CM.)
^^^^^^^^^^^^ That text is to be read: Kang-o-Rama is amazing. The theme is sexy, I LOVE the Desire camera, and the bundled stuff (kernel, apps, etc) are quite awesome. We'll see if it solves my performance issues.
I was getting the same thing....
Task kill setcpu and reboot it again. If you keep getting the lag then stop using setCPU.
Zak Jones! said:
****ING BALLSACK
Click to expand...
Click to collapse
It takes a twisted mind to interpret that as a complement.
Zak Jones! said:
...Kang-o-Rama is amazing...
Click to expand...
Click to collapse
But thank you!
Delete all widgets that profile your cpu in any way. Stop killing tasks with task killers. Uninstall setcpu. Set exchange email app to "PUSH". Download "Quick System Info Pro" and check what's using up Cpu.
I had the same problem and it turned out to be 2 things: SetCPU widget and exchange email app stuck in a sync cycle.
Maybe theres an ill-performing app that you installed. Since it seems you wiped your phone a couple times including cache. Did you happen to restore apps thru Titanium backup or manually one at a time thru the market.
I always wipe my phone completely and reinstall all apps manually, time consuming, but I have never had a problem.
To further diagnose your problem, see if after installing each app, try the phone to see if there are any slowdowns afterward. Again, I know this is time consuming, but trying to find the problem rather than living with it would be better.
I'm also using 5.0.6 but with no problems or slowdowns.
You can also post a logcat or look thru it yourself if you know how and see if any errors or hangups occur. Logcats are a great way to see the commands being given to your phone and this will most likely reveal your problem.
Same problem, it's annoying.

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.

[Report] KA7 "Battery Drain" (Power Consumption) Report

FYI as a reference point, the screenshots below show CPU activity (a proxy for power consumption) of stock KA7 with stock KA7 Voodoo-injected kernel during an eight-hour sleep-mode test period, logged using SystemPanel. The screen shots also show apps and processes that were frozen with Titanium during this testing and that I normally keep frozen. (I unfreeze Market only when I need it.) Also note that, as a conservative user, I do not synchronize with "the cloud." You will likely get a very different result if you do.
Note the "cityscape" pattern of utilization that resulted in 3% of battery consumption over the eight hour measuring period. Also note that the only process consuming an appreciable (> 0.0%) amount of power was the "suspend" process. For those unfamiliar with these metrics, please see the following tutorial:
http://forum.xda-developers.com/showthread.php?t=823025&page=4
Prior to updating to the full KA7 to build, I was on JL5 PDA plus KA7 modem and stock KA7 Voodoo-injected kernel. Power consumption using that system was very poor. The "suspend" process was consuming an unusual amount of power. The graphs suggested that the suspend process was conflicting with other processes as it attempted to transition the CPU into sleep mode.
I hypothesize that, although workable and largely stable, intermixing components from diverse builds may not be a very good idea. Implementation of the "suspend" state is tricky business. Note that this may have implications for the credibility of custom ROMs released without appropriate sleep-mode power consumption testing...
KA7 "Battery Drain" (Power Consumption) Report (continued)
This screenshot below is simply the last (ninth) of the set of sceen shots associated with the previous post.
Nice, thanks for the smart reporting.
Vibrant, BionixV, KA7, Voodoo...
why is it that my system shows up at 0.9%, system process is 0.7%, android.process.acore 0.4%. Do i need to freeze other programs? So far i only have frozen the programs that you have frozen on the above images. Any other that i can/should freeze?
thank you
bionix v 1.3.1
Tiger blood kernal
KA7 modem
erikr189 said:
why is it that my system shows up at 0.9%, system process is 0.7%, android.process.acore 0.4%. Do i need to freeze other programs? So far i only have frozen the programs that you have frozen on the above images. Any other that i can/should freeze?
thank you
bionix v 1.3.1
Tiger blood kernal
KA7 modem
Click to expand...
Click to collapse
It is not quite that easy. I cannot tell you which apps/processes are causing you a problem because every system is different. You must use SystemPanel Pro (paid) and follow this process; there is no shortcut:
http://forum.xda-developers.com/showthread.php?t=823025&page=4
BruceElliott said:
It is not quite that easy. I cannot tell you which apps/processes are causing you a problem because every system is different. You must use SystemPanel Pro (paid) and follow this process; there is no shortcut:
http://forum.xda-developers.com/showthread.php?t=823025&page=4
Click to expand...
Click to collapse
Yeah i already read that. Seems i just have to take my time with it. How did you go about choosing what programs to freeze, and how long till you got it the way you have it posted here? thanks again.
erikr189 said:
Yeah i already read that. Seems i just have to take my time with it. How did you go about choosing what programs to freeze, and how long till you got it the way you have it posted here? thanks again.
Click to expand...
Click to collapse
You are losing me by talking in circles, Bro. You say that you already read the method for figuring out which programs to freeze (http://forum.xda-developers.com/showthread.php?t=823025&page=4) and then you are asking me how to go about figuring out which programs to freeze. This is the first sentence in the post:
"No, I do not know what other app(s) may be causing your particular version of this problem, nor does anyone else." The need to follow the method in the post to find out which programs to freeze is the whole point of the post for crissakes.
As to how long it takes to figure out your particular system, not sure. It took me many hours because I had to work out the method in the lengthy post from scratch. It should take you much less time if you simply follow the method in the post using SystemPanel. You figure out the problem apps/processes using SystemPanel and then confirm/apply the fix by freezing with Titanium.
If you get stuck somewhere in the method and have a specific question about that step, tell me where in the method you are stuck and describe what is going on at that step; and I will then try to help you.
BruceElliott said:
You are losing me by talking in circles, Bro. You say that you already read the method for figuring out which programs to freeze (http://forum.xda-developers.com/showthread.php?t=823025&page=4) and then you are asking me how to go about figuring out which programs to freeze. This is the first sentence in the post:
"No, I do not know what other app(s) may be causing your particular version of this problem, nor does anyone else." The need to follow the method in the post to find out which programs to freeze is the whole point of the post for crissakes.
As to how long it takes to figure out your particular system, not sure. It took me many hours because I had to work out the method in the lengthy post from scratch. It should take you much less time if you simply follow the method in the post using SystemPanel. You figure out the problem apps/processes using SystemPanel and then confirm/apply the fix by freezing with Titanium.
If you get stuck somewhere in the method and have a specific question about that step, tell me where in the method you are stuck and describe what is going on at that step; and I will then try to help you.
Click to expand...
Click to collapse
my bad bro
erikr189 said:
my bad bro
Click to expand...
Click to collapse
No problem.

CPU maxing @ full speed, 100% load after 24-48 hrs? FIX FOUND!

First off, I cannot take credit for finding this, I was referred to a bug report thread on the Google Android site by XDA user aweaver33, who I thank VERY much for pointing me on the right direction.
So, several of us have had this issue with various custom kernels, where after typically 24-48 hours, the phone would slow to a crawl. If you were to open an app like System Panel, you would see that the CPU load was pegged at 95%+, and speed would be maxed out. You would also see that the process using all the CPU is Android System.
The problem has to do with the file "time_in_state", which literally keeps track of how much time the CPU spends at any given speed in MHz. There is a limit to the size this file is supposed to reach, 256 bytes. Once it exceeds this size, the next time Android tries to access it, it flips out and gets stuck trying, and pegs the CPU. A lot of devs and users blamed SetCPU, and it is true that SetCPU does have an EFFECT on this issue, it does NOT cause it, and indeed the issue can occur whether SetCPU is installed or not.
The issue is brought on by custom kernels that add additional frequency steps for the CPU to choose from, which causes that log file to grow. Which is why older or stock kernels will not cause this. Some ROMS incorporate a workaround so you may not have this issue.
Anyways, the issue is explained better in the link aweaver33 gave me. I will link to the original thread I posted with the conversation we had and the link he gave. I can confirm that, using the info he gave me, the issue has been fixed. I am currently just over 120 hours of uptime with no problems.
Here is the link: http://forum.xda-developers.com/showthread.php?t=1082363&highlight=stock+kernel+gpu+
EDIT: attached the script files for those who want them. You can drop one or the other (NOT BOTH) in /etc/init.d if your rom has this folder already (creating the folder and adding it won't work), or you can download Autostart (root) from the market for free, and drop the file in /data/opt (create the opt folder). This difference between the two is one runs only once at boot, the other runs every five minutes. If you use SetCPU, you need the one that runs every five mins, as every time you open SetCPU it resets permissions on the time_in_state file.
flashable zip? not everyone is comfortable with code and scripts
If I knew how, I would. I wasn't even comfortable with it. But I was so tired of the locking up, I was willing to try anything (after a Nandroid of course). I'm not sure you *could* do this in a flashable zip. I can post the script I'm using. It only runs once after reboot, unlike aweaver's, which runs every five mins (good if you're using SetCPU, as opening SetCPU resets the permissions of the time in state file).
This script should work if dropped into /etc/init.d. *If* your ROM has that folder by default. Mine does not, so I had to download a free app from the market called Autostart which is free and very small. For that app you create a folder in /data/ and drop the script in there.
Sorry guys but I'm no dev so this is the best I can do, maybe someone else can make it flashable?
would it also be fixed by simply deleteing the log file as well rather than setting it to unreadable
It can't be deleted. System instantly replaces it.
bast525 said:
It can't be deleted. System instantly replaces it.
Click to expand...
Click to collapse
:/ i suppose when it is replaced it would be with a fresh one deleting would fix it for 24-48 hours till it got filled again humm i wonder if a script could be auto executed every 12 hours to delete it rather than just make it unreadable.
Do you know if it is a problem in gingerbread as well?
mirrin said:
:/ i suppose when it is replaced it would be with a fresh one deleting would fix it for 24-48 hours till it got filled again humm i wonder if a script could be auto executed every 12 hours to delete it rather than just make it unreadable.
Click to expand...
Click to collapse
I don't think you can delete it. I can't figure out how to.
mirrin said:
Do you know if it is a problem in gingerbread as well?
Click to expand...
Click to collapse
Issue 9733 is still listed as New, so either Google hasn't fixed it in Gingerbread or they just don't bother statusing their bug reports.
Why do you feel the need to delete it? If you are trying to delete it, you are likely using Root Explorer. Why not just use that to change the permissions of the file? Tap and hold, select permissions, and unchecked all permissions except for the top left one. This will stop the bug, but the permissions will be reset after a reboot, or after opening SetCPU.
I imagine that deleting the file might actually cause FC's or may cause the same bug but I dunno since it wont delete.
dyetheskin said:
flashable zip? not everyone is comfortable with code and scripts
Click to expand...
Click to collapse
I've never created a flashable zip before, but I'd be willing to look into it if the demand is really there. The problem I see is that I'd have to make certain assumptions about how everybody's ROMs are configured. It looks like the most portable approach would be to append a line to the end of /bootcomplete.inc.rc. Do people really find it easier to boot into recovery and flash a zip than to add one line to a file themselves? Personally, I'm always hesitant to flash a zip other than a full ROM because I'd be uncertain how it interacts with other changes I've made to my system.
Inc is
not bad
But. 48hours?
Sent overrow from my Optimized Inc using XDA App

Pause Between "100% Downloaded" and "Installing..."

I'm reasonably sure this isn't specific to the V20 but thought I'd start here.
I have a rooted H918. Some/most of the time when installing apps or updates, there is a long pause between the period of time that the download completes (reaches 100%) and when the app/update starts to install. I found a thread or two describing the same issue. The "solution" was to exit the Play Store application, close it, and then relaunch it. After relaunching, the app that was at 100% downloaded will then start to install. However, if there are several installs or updates queued, I have to do the same steps for each app. So, not much of a solution.
I've cleared the app cache, reverted to the base version of the Play Store and then updated to the latest version from APK Mirror. Same behavior continues. The strange thing is that it does not do this all of the time. Sometimes, things download and install right away.
Anyone else observe this behavior? Any suggestions of what to try?
Set your cpu governor to performance
---------- Post added at 04:47 AM ---------- Previous post was at 04:46 AM ----------
This is a performance issue, if your cpu is being used too much, it will have a delay
crimsonrommer said:
Set your cpu governor to performance
This is a performance issue, if your cpu is being used too much, it will have a delay
Click to expand...
Click to collapse
Is there a kernel editor you recommend?
i prefer kernel auditor, its much more simpler to use
SJMarty said:
I'm reasonably sure this isn't specific to the V20 but thought I'd start here.
I have a rooted H918. Some/most of the time when installing apps or updates, there is a long pause between the period of time that the download completes (reaches 100%) and when the app/update starts to install. I found a thread or two describing the same issue. The "solution" was to exit the Play Store application, close it, and then relaunch it. After relaunching, the app that was at 100% downloaded will then start to install. However, if there are several installs or updates queued, I have to do the same steps for each app. So, not much of a solution.
I've cleared the app cache, reverted to the base version of the Play Store and then updated to the latest version from APK Mirror. Same behavior continues. The strange thing is that it does not do this all of the time. Sometimes, things download and install right away.
Anyone else observe this behavior? Any suggestions of what to try?
Click to expand...
Click to collapse
Guys, you're like Don Quixote, fighting a windmills that do no harm. Just leave the Playmarket aside and it'll install apps.
You know that after a apk file is downloaded it begins to be compiled by ART/Dalvik, right? That causes the delay after apk is downloaded and begins to be installed. The process which does it is called dex2oat. When I install many apps that dex2oat runs high in battery statistics with 3-4% of battery. When apps are being compiled this process takes both much time AND battery. So, this cause a delay and you're fighting that what can't be fought. And if an app is huge like Chrome compiling takes much more time than if an app is tiny like some sort of Jota+ text editor hence different time between "Sometimes, things download and install right away"
Also, try to update apps when on charge since you loose 10%, 20% or more battery if install many apps in one try, hence you'll got "bad battery life"
Billy Madison said:
You know that after a apk file is downloaded it begins to be compiled by ART/Dalvik, right? That causes the delay after apk is downloaded and begins to be installed.
Click to expand...
Click to collapse
The delay that I am seeing is significant. If I just leave the phone alone, it can be as long as 10-15 minutes between the time that the download completes and the app starts to install.
Billy Madison said:
if an app is huge like Chrome compiling takes much more time than if an app is tiny like some sort of Jota+ text editor hence different time between "Sometimes, things download and install right away"
Click to expand...
Click to collapse
I should clarify that when I say there is a delay, there is a delay after every app install. For example, if I have five apps that need updates and I update all, there will be a long delay between each one of them completing the download and actually starting the install process. However, sometimes, I may have five apps that need updates and they will all install with no delays.
Billy Madison said:
Also, try to update apps when on charge since you loose 10%, 20% or more battery if install many apps in one try, hence you'll got "bad battery life"
Click to expand...
Click to collapse
I'm having no problems with battery life.
I went ahead and adjusted the CPU governor to "Performance" and noticed no difference in the behavior. I enabled the CPU monitoring in Developer Options and there is no spiking after the download is complete so I don't believe the compiling process is responsible for the delay.
What prompted me to post my question was that I have two V20s (mine and the wife's) and her phone is not doing this. Both are rooted and running the same ROM (10t).
I'm open to any other ideas...
SJMarty said:
What prompted me to post my question was that I have two V20s (mine and the wife's) and her phone is not doing this. Both are rooted and running the same ROM (10t).
I'm open to any other ideas...
Click to expand...
Click to collapse
Then I can only suggest you tweaked your phone somehow and those tweaks caused a delay. Of course 10-15 mins doesn't attend to compiling, I thought you meant like 15 sec a delay
Wipe to factory state your phone and see after that when and after what tweaks you'll get delays back

Categories

Resources