[UTIL] CurrentWidget [Update] sp3dev kernel support! - XPERIA X1 Android Development

Here is a simple but VERY useful tool!
A widget which shows the actual current.
{
"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"
}
Goodbye to such sayings like "My battery lasts 4-7 hours" or "about 10% per hour"
The value refreshes every 30 seconds at most!
Set the update intervall to 1 min and leave your phone for 10 minutes in standby to check the standby current.
Note: Unplug the charger!
Note 2: It seems that you need a working battery driver!
I think we can use this thread for reporting the currents of the different builds (settings, kernels, WM ROMs etc.) to find the best battery saving build/combination.
So please report your best (standby) values here!!
(with Build, Kernel, WM Rom, maybe Radio ROM)
Download:
All devices:
Search in the market for "CurrentWidget" or download the CurrentWidget_v0.16.apk from below (and place it in /andboot/androidapps folder on your storage card).
Xperia X1 aka HTC Kovsky:
Linux MSM/Tremere's Kernel:
With xdandroid build download CurrentWidget_v0.16.apk
With CM6 and other builds download CurrentWidget_all.apk
sp3dev's Kernel:
Take the market version or download CurrentWidget_x1.apk and place it in /andboot/androidapps folder on your storage card
Thanks to the developer Ran Manor!!
http://code.google.com/p/currentwidget/
There is also a donate version in the market

Updated: 07.11.2010
Build: XDAndroid FRX01
Kernel: sp3dev's new kernel
WM ROM: Laurenti's 40MB ROM
Standby: 15mA - 30mA

Wow, great find. Thanks.

Really useful!
Thanks!

i am using tremeres 27/9 build but get 0ma reading. am i doing something wrong?

calvinfoo said:
i am using tremeres 27/9 build but get 0ma reading. am i doing something wrong?
Click to expand...
Click to collapse
You've taken the version from the market?
I think Ran hasn't uploaded the new version yet. Wait for v0.16 or download it from above.
xdandroid support has been added in v0.16 by Ran (and me )

Matzemink said:
You've taken the version from the market?
I think Ran hasn't uploaded the new version yet. Wait for v0.16 or download it from above.
xdandroid support has been added in v0.16 by Ran (and me )
Click to expand...
Click to collapse
oh ok i used the new version above and it works thanks.

This widget wrote into logs that standby is using 8mA
I really doubt that this is correct. Anyone have simmilar issue? I have Neopeek CM6 with latest XDANDROID build.

Matzemink said:
Goodbye to such sayings like "My battery lasts 4-7 hours" or "about 10% per hour"
Click to expand...
Click to collapse
This data is 100% correct becouse its true data.
If phone dies after 6 hours its 100% correct data.
% per hour is also correct and valid data becouse its measured in WM.
Who can guarantee that data from this application is true. It gets data via android...the same background as battery life and status which is incorrect.

denyboy said:
This data is 100% correct becouse its true data.
If phone dies after 6 hours its 100% correct data.
% per hour is also correct and valid data becouse its measured in WM.
Click to expand...
Click to collapse
No it's not. Only the current is 100% correct.
You wanna say "4-7 hours" is correct?
You also can't say "the phone dies after 6 hours EXACTLY".. 6 hours standby? Light use? Heavy use? What means "light use" ?
denyboy said:
Who can guarantee that data from this application is true. It gets data via android...the same background as battery life and status which is incorrect.
Click to expand...
Click to collapse
It's the same reading like in Tremere's "current.sh".
You wanna call Tremere's work into question?

Hi
Build: 03-10-2010 Special Edition-CyanogenMod6.0 Sony Xperia X1
Kernel: XDAndroid-kernel dated 28-08-2010
WM ROM: Shady313 Make Your Own Series [23134 Release 1][29/08/10]
I'm running Neopeeks 03-10-2010 "Special Edition-CyanogenMod6.0 Sony Xperia X1". Followed all of the steps in Neo's setup exactly.
Have turned off absolutely everything in Android but I still get readings ranging between 650mAh in standby up to approx 820mAh according to my own readings and confirmed by the log.
Suggestions/ideas anyone in how to decrease the current?

Matzemink said:
No it's not. Only the current is 100% correct.
You wanna say "4-7 hours" is correct?
You also can't say "the phone dies after 6 hours EXACTLY".. 6 hours standby? Light use? Heavy use? What means "light use" ?
Click to expand...
Click to collapse
I always put all android ports under same enviroment and same configuration. And i test it for one hour without any use. So its reliable data for comparision.
And is there anything more reliable than the fact that with one port your phone works on stanby without any use for 4 hours, other for 6 hours, and other for 2 hours. This is 100% correct data.
Your phone can feed you with information that consumption is low and state is ex. 50% but who cares when in reality your battery is empty and your phone shuts down.
Matzemink said:
It's the same reading like in Tremere's "current.sh".
You wanna call Tremere's work into question?
Click to expand...
Click to collapse
As far as i know battery status and state is incorrect and not reliable in android ports for X1. What makes this data from this Widget reliable when it comes from same background as battery status and state.
Im not beeing offensive and im not an expert. Im just trying to see things logicly.

Peteflyman said:
Have turned off absolutely everything in Android but I still get readings ranging between 650mAh in standby up to approx 820mAh according to my own readings and confirmed by the log.
Suggestions/ideas anyone in how to decrease the current?
Click to expand...
Click to collapse
It seems that you need a working batttery driver for correct readings..
so use Tremere's kernel 27/9..
Or did you still leave your charger plugged in?

Updated first post with a version for other android builds than xdandroid (i.e. CM6).
(Remember to use Tremere's kernel!)
Please report whether it works.

It's a nice tool ! Just a question... I don't have more place for widget, and don't want widget like this. So i search for the same tool but as an application (not a widget) with notification icon (Like "Battery Indicator"). Ran Manor please read me

Frakatchoo said:
It's a nice tool ! Just a question... I don't have more place for widget, and don't want widget like this. So i search for the same tool but as an application (not a widget) with notification icon (Like "Battery Indicator"). Ran Manor please read me
Click to expand...
Click to collapse
Yeah would love that too. I am used to BattClock from my old WM-Days. The actual current was always displayed in the NotificationBar and suprisingly it didnt use any battery although it was updated quite frequently... Any chances to implement this in Android?

I'm sad because mine is not working,
Samsung Galaxy S, froyo (official)
I got error1
Am i doing something wrong?

oskretc said:
I'm sad because mine is not working,
Samsung Galaxy S, froyo (official)
I got error1
Am i doing something wrong?
Click to expand...
Click to collapse
Did you read the part about the necessary driver? Maybe this is the culprit...

299-399 while in use and 31 in standby.
CDMA HTC hero running CM6 nightly 103

I'm getting error 1, update now, Droid X.

Related

[Q] my galaxy is very very annoyed

I have no clue what happened....my galaxy was working fine...laggy a bit, but nothing i cant handle. I was at a club last night and recorded a 20 mins video...its saved. So as of this mornign my galaxy has been crawlingggg to load things....everything is either delayed or going really slow. NoLed is slow, chomp sms popup is slow....this phone is starting to commit suicide or something....any ideas why my phone started to all of a sudden lag alot?....when it didnt before???....and no lag fix is not a option for me.
Back up the video on your pc then delete it from the phone and see if that restores it back to its original speed.
sean2476 said:
Back up the video on your pc then delete it from the phone and see if that restores it back to its original speed.
Click to expand...
Click to collapse
trying that now....for some reason kies seem to take forever to transfer video to pc. sigh....
Have u tried rebooting ur phone?
Seifer1975 said:
Have u tried rebooting ur phone?
Click to expand...
Click to collapse
yes i have and am now trasnferring the video...but Kies is taking sooooo long to do so. Its a real pain. I hope it was lagging cause of the massive amounts of videos i have...we shall see. (if i can get the video transferred)
if you're rooted you can try adjusting the minfree settings using the minfree app
jark99 said:
I have no clue what happened....my galaxy was working fine...laggy a bit, but nothing i cant handle. I was at a club last night and recorded a 20 mins video...its saved. So as of this mornign my galaxy has been crawlingggg to load things....everything is either delayed or going really slow. NoLed is slow, chomp sms popup is slow....this phone is starting to commit suicide or something....any ideas why my phone started to all of a sudden lag alot?....when it didnt before???....and no lag fix is not a option for me.
Click to expand...
Click to collapse
This is what happened to my galaxy s as well. I have no recovery mode and root/lag fix was not an option for me till i found my solution step by step. I applied One click lag fix and it become so much smoother and faster. Sms notification has no delay even on Chomp Sms. =) The hardware of Galaxy S was good, but the firmware is a problem.
cheeshun said:
This is what happened to my galaxy s as well. I have no recovery mode and root/lag fix was not an option for me till i found my solution step by step. I applied One click lag fix and it become so much smoother and faster. Sms notification has no delay even on Chomp Sms. =) The hardware of Galaxy S was good, but the firmware is a problem.
Click to expand...
Click to collapse
it seems ok now....(well not really )...but the reason i dont want to apply a lag fix is cause of the "reported" internal sd card fails....and i dont have $ for a new phone if this one gets screwed over.
install Task Manager
http://forum.xda-developers.com/showpost.php?p=8422188&postcount=99
and Auto Run Killer
http://forum.xda-developers.com/showpost.php?p=8123924&postcount=40
optimize your phone, and the lags will be gone
{
"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"
}
jark99 said:
I have no clue what happened....my galaxy was working fine...laggy a bit, but nothing i cant handle. I was at a club last night and recorded a 20 mins video...its saved. So as of this mornign my galaxy has been crawlingggg to load things....everything is either delayed or going really slow. NoLed is slow, chomp sms popup is slow....this phone is starting to commit suicide or something....any ideas why my phone started to all of a sudden lag alot?....when it didnt before???....and no lag fix is not a option for me.
Click to expand...
Click to collapse
AllGamer said:
install Task Manager
http://forum.xda-developers.com/showpost.php?p=8422188&postcount=99
and Auto Run Killer
http://forum.xda-developers.com/showpost.php?p=8123924&postcount=40
optimize your phone, and the lags will be gone
Click to expand...
Click to collapse
i have auto killer and i just use stock task manager...as alot of people have been saying other task managers are useless cause Android OS is designed to handle it....confused....
the stock task manager is not that great, and the widget only works on the stock launcher.
the task manager the one i linked you can setup white list and black list
so it will automatically allow what to run, and kill what should not be running on its own
I wouldn't of used Kies to make the transfer, should've used a mass storage and transferred it using windows explorer. Also, I'd advocate against the task manager. I haven't used one on the SGS in about 2 months, back when I did I never let it run 24/7, sometimes I'd manually open it and kill almost all tasks. Task killers, such as ATK, will almost surely hurt your battery life if you let them run in the background, in fact, I'd even bet on it.
These days, I try to keep all my favorite programs in the background (unless they use CPU while idle, but even GTalk is great on battery life, as is LauncherPro and the widgets I have elected to keep). As long as you use the same 10-20 apps you should be fine, even if you use more you might be fine but not quite as good depending on how many apps you have loaded and storage space you use in total.
Since I highly doubt that the file size was huge and would overload the system, I wonder if a bug either sprang up and/or (maybe more likely) you created a hardware problem such as overheating your phone and processor and are now having issues. If nothing else works, try to back up all your apps and info to an SD card and then do a factory reset. If your problems continue then it's hardware.
Now I dont know whether to.keep the task apps or not lol...2 different opinions here...
Sent from my GT-I9000M using XDA App
The lagfixes don't increase the amount of writes to the internal SD and they certainly don't break it. Any of the lagfixes in the FAQ (see my sig) are well tested and nearly 100% safe. I would definitely recommend to either use voodoo or the modded version that uses the stock-kernel. You won't believe your eyes.
The reason your phone got so damn slow was because of RFS. The camera APP caches on the /data partition and when it does so, it created a massive amount of file system errors (a related thread can be found here).
Darkstriker said:
The lagfixes don't increase the amount of writes to the internal SD and they certainly don't break it. Any of the lagfixes in the FAQ (see my sig) are well tested and nearly 100% safe. I would definitely recommend to either use voodoo or the modded version that uses the stock-kernel. You won't believe your eyes.
The reason your phone got so damn slow was because of RFS. The camera APP caches on the /data partition and when it does so, it created a massive amount of file system errors (a related thread can be found here).
Click to expand...
Click to collapse
So if i apply a lag fix...either OCLF or Voodoo...you can Guarantee i wont see a internal sd failure?...cause i remember All Gamer talking about how he wanted to fix the lag fix to write onto sd card or something like that...(dont quote me) its 100% safe?
AllGamer said:
the stock task manager is not that great, and the widget only works on the stock launcher.
the task manager the one i linked you can setup white list and black list
so it will automatically allow what to run, and kill what should not be running on its own
Click to expand...
Click to collapse
Don't many developers etc say not to run task killers? They actually cause more drain on the phone and battery?
http://lifehacker.com/5650894/andro...ed-what-they-do-and-why-you-shouldnt-use-them
Note, however, that this is still a contested notion. A lot of developers (including ROM builder extraordinaire, Cyanogen) will not even look at your bug reports if you're using a task killer. In this humble blogger's opinion, your best bet is to stay away from regular task killer usage entirely.
Click to expand...
Click to collapse
i trust the hard fact results of the good it is doing in my phone, rather than some biased believes that just lags the phone if not actioned upon.
I dont know if I would call advice from well known developers as biased. Especially considering several others have shared this setiment. But what ever floats your boat. You are some what of a mr know it all here...
Sent from my GT-I9000M using XDA App
think about it logically, you do nothing to the phone and it lags like hell
or you can install legit software which easily lets you choose what to run and what not to run
result: system is squeaky clean and snappy fast
vs.
do nothing: system lags like hell, come to the forum complain the phone lags and claim other people are right we should do nothing and have an unusable phone.
Well the lag on my phone is minimal, it actually performs quite well. My phone died without any lag fixes etc, so I am not putting any of that on now. My problem is GPS is useless and the random shutdowns.

Custom 2.2.2

Took a break from porting 2.3 and threw together this themed 2.2.2
Its Gingerbread themed, a few graphical elements are missing though.
{
"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"
}
Install through ClockworkMod
Wipe first in CWM ONLY, user data, and cache.
Download
http://www.multiupload.com/WSDGWB5XM1
Install another launcher, our display isn't good enough for the default.
Its late, I have to get some sleep for work in the morning. Will post credits, and detailed instructions later.
Also, Its looking like a ghost town in here, we need more roms. I can help those interested in compiling. You can use the Android Kitchen to get started.
Thanks for your contribution
Sent from my Dell Streak 7 using XDA Premium App
Seems like screen resolution is screwed up a little in wallpapers
Edit: in your stock launcher is the only place I see size issues but I am loving this rom running very smooth
Sent from my Dell Streak 7 using XDA Premium App
bout to give this a go
Do you have any screens to share?
Does this have djSteve's tweaks?
^ Posted a pic, and what tweaks?
Will post new rom with full info this weekend. Lots of new tweaks, additions, and subtractions.
Stay tuned.
Thank you streaker!
I agree on the lack of ROMs. I'm going to start to try to develop something simple (I'm self-teaching Java and Linux; what better way to learn than to tweak?).
I'll be downloading the Kitchen and playing with it in a couple of days's time, if not sooner. Since you offered, I'll ask for help when I get stuck!
Are you still working on a 2.3 ROM? Can a n008 offer any assistance? I really want to get my feet wet in development (apps or ROMs), so if I can be at all useful I will be.
vetvito said:
Took a break from porting 2.3 and threw together this themed 2.2.2
Its Gingerbread themed, a few graphical elements are missing though.
Install through ClockworkMod
Wipe first in CWM ONLY, user data, and cache.
Download
http://www.multiupload.com/WSDGWB5XM1
Install another launcher, our display isn't good enough for the default.
Its late, I have to get some sleep for work in the morning. Will post credits, and detailed instructions later.
Also, Its looking like a ghost town in here, we need more roms. I can help those interested in compiling. You can use the Android Kitchen to get started.
Click to expand...
Click to collapse
idk if you are doing this, but it won't hurt to repeat it
make sure you wipe data/cache before you capture the cmw image this way you can avoid some issues for people flashing
I'll be flashing this in a sec, here. Gotta love more Streak 7 devs!
Did you make this in ROM Kitchen? If so, how did you go about it? I couldn't get ROM Kitchen to work on my S7.
Great to see some more developers! I'll definitely give this a go.
So I loaded it up and slapped on Zeam launcher; I have to say, it's pretty nice. This is basically vanilla, stock 2.2.2 with the bloat removed and a black bar (with some Gingerbread theme touches here and there). This is a great alternative to stock, and seems to run everything really smoothly. Nice mod!
Looking forward to the weekend version!
But quick question, if i go about flashing this, while in DJs HS7, do i have to return back to the stock then flash cwm then flash the rom?
RavenSEAL said:
Looking forward to the weekend version!
But quick question, if i go about flashing this, while in DJs HS7, do i have to return back to the stock then flash cwm then flash the rom?
Click to expand...
Click to collapse
Yes, you do. Unfortunately, there's not CWR for HC, yet (and, even if there were, I don't know that it would allow flashing FroYo ROMs).
Z4nd4r said:
Yes, you do. Unfortunately, there's not CWR for HC, yet (and, even if there were, I don't know that it would allow flashing FroYo ROMs).
Click to expand...
Click to collapse
Figured :S
I don't wanna risk destroying my internal memory
Installed and working perfectly. Im using vtl launcher. Very fast and works well!!! Thanks much and im looking forward to future releases.
Suggestions :
1) maybe a battery icon w / percentage
2) go launcher or vtl launcher
3) any cooked in file explorer
4) a modified wpa supplicant file to allow adhoc tethering
4) maybe a task killer. Im using autokiller memory optimizer and free mem stays near 150
Great work!!
pyraxiate said:
Installed and working perfectly. Im using vtl launcher. Very fast and works well!!! Thanks much and im looking forward to future releases.
Suggestions :
1) maybe a battery icon w / percentage
2) go launcher or vtl launcher
3) any cooked in file explorer
4) a modified wpa supplicant file to allow adhoc tethering
4) maybe a task killer. Im using autokiller memory optimizer and free mem stays near 150
Great work!!
Click to expand...
Click to collapse
FroYo has very good, built in task management. Task killers generally hurt performance and battery life. Android isn't Windows; it's Linux. Having little free memory isn't a bad thing.
Z4nd4r said:
FroYo has very good, built in task management. Task killers generally hurt performance and battery life. Android isn't Windows; it's Linux. Having little free memory isn't a bad thing.
Click to expand...
Click to collapse
Hence why I said "maybe " a task killer. Mine without one hits that critical 40 - 50 mb ram level where things start to lag (I have a ton of apps installed which like to run as a background service even though I only use them once or twice a week) . Also if you researched.... most task killers do NOT REPLACE stock task management....they merely lower or raise values already in place. This means closing idle processes a little faster than default ( if I don't use an application in 12 hrs....do I really need it running in the background??????) Also, you can set limits on oom values for specific tasks so they have a lower / higher priority. There are absolutely advantages to task managers......
One good example...... without it, when my memory ran in the critical 40 mb range, ebuddy services would shut off.....which is one app I WANT running 24/7. Using a task manager I can set its oom value to -17mb which virtually keeps it alive even if the system goes into swap. Also another I change values on is gmail so it can background sync and I don't worry about it closing syncing services.
Anyway, I hope that clears some things up for you if you ran as many apps as I do, and don't have a completely fresh installed os, they are absolutely helpful I know that free ram ia wasted ram ....but that only holds true until you hit the levels at which the system needs to operate properly. Don't forget....you DO need SOME ram for cache / swap!!! ( 70-100mb free keeps things perfectly smooth)
Also, an fyi for you. I know android isn't windows. I am linux guy myself and have compiled many things from source. While I may not be a GURU, im no where near a novice. I understand how the OS works. Try running ubuntu 11 on 64 -128 mb ram and tell me how free ram isn't important.
pyraxiate said:
Hence why I said "maybe " a task killer. Mine without one hits that critical 40 - 50 mb ram level where things start to lag (I have a ton of apps installed which like to run as a background service even though I only use them once or twice a week) . Also if you researched.... most task killers do NOT REPLACE stock task management....they merely lower or raise values already in place. This means closing idle processes a little faster than default ( if I don't use an application in 12 hrs....do I really need it running in the background??????) Also, you can set limits on oom values for specific tasks so they have a lower / higher priority. There are absolutely advantages to task managers......
One good example...... without it, when my memory ran in the critical 40 mb range, ebuddy services would shut off.....which is one app I WANT running 24/7. Using a task manager I can set its oom value to -17mb which virtually keeps it alive even if the system goes into swap. Also another I change values on is gmail so it can background sync and I don't worry about it closing syncing services.
Anyway, I hope that clears some things up for you if you ran as many apps as I do, and don't have a completely fresh installed os, they are absolutely helpful I know that free ram ia wasted ram ....but that only holds true until you hit the levels at which the system needs to operate properly. Don't forget....you DO need SOME ram for cache / swap!!! ( 70-100mb free keeps things perfectly smooth)
Also, an fyi for you. I know android isn't windows. I am linux guy myself and have compiled many things from source. While I may not be a GURU, im no where near a novice. I understand how the OS works. Try running ubuntu 11 on 64 -128 mb ram and tell me how free ram isn't important.
Click to expand...
Click to collapse
LOLZ, ubuntu?
Vanilla linux can run fine on 64mb of ram
Sure it can...but not with a current version of gnome or kde maybe using xfce or window maker. Those don't need much resource. I stated ubuntu due to its popularity lol
Was just making a point on the necessity of SOME free ram
Side note.... did you see ubuntu is functional on the streak 7 ???? Awesome!! I can't wait until it is completely ready to go. I've been experimenting trying to get any desktop session up and running but no good so far It wont be long though!!!

Wake Locks causes serious battery drain

My HTC One is the international version, the model is 801n, and rom version is 1.28.401.7
I have not rooted it, and it is still official bootloader locked.
btw: I have disabled Facebook App before, and uncheck the "Enable Tilt Scrolling" option in Chrome before.
I used three apps to watch the battery usage, GSam, BetterBatteryStats and Wakelock Detector.
GSam reported that totally battery usage is 26% for about 3h36m.
{
"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"
}
The screen on time is 1h16m, but kernel Wakelocks views show that
1. main - time: 2h34m, number: 31
2. msm_hsic_host - time: 2h26m, number: 1397
3. suspend_backoff - time: 2h4m, number: 374
Wakelock Detector did not show any serious apps.
BetterBatteryStats also showed that msm_hsic_host and suspend_backoff wakelocks are serious
How can I find which apps are the causes or is it a kernel bug?
The only method I have thought is disable the app one by one and observe the battery usage.
Is there any better methods. Thank you very much!
Same issue here. Although my drain wouldn't be that bad (5+ hours screen time with moderate use). I googled the issue and it seems pretty popular but the only solution for other people was to install another custom kernel. Its too early for us and no kernel has addressed this issue yet. Supposedly it has something to do with Qualcomm and is a bug within it. I am rooted and have a custom ROM+Kernel and this issue still persists. Hopefully someone has found a fix or comes up with a kernel Because I had over 2000 wakelocks from this today and thats too much!
If you have root, run Shark for Root for an hour or two while on standby.
Make sure that instead of 0 for the capture setting, set it to 68. You might not understand what that means now, but once you look at the application it should make sense.
Once you have the file, put it on your computer and download Microsoft Network Monitor on your computer, or some other .pcap reader. Open the capture file, start searching up the IPs your phone is contacting. The more packets sent back and forth, the more likely that is your problem.
My problem was Hotmail push sync. Yours may be something else.
shief24 said:
Same issue here. Although my drain wouldn't be that bad (5+ hours screen time with moderate use). I googled the issue and it seems pretty popular but the only solution for other people was to install another custom kernel. Its too early for us and no kernel has addressed this issue yet. Supposedly it has something to do with Qualcomm and is a bug within it. I am rooted and have a custom ROM+Kernel and this issue still persists. Hopefully someone has found a fix or comes up with a kernel Because I had over 2000 wakelocks from this today and thats too much!
Click to expand...
Click to collapse
Hope that new OTA update can solve this problem partly. But I think maybe there are some rogue apps causing the problem.
If I get the OTA, maybe I will reset my phone, and install the app one by one with observing the battery drain.
Hunt3r.j2 said:
If you have root, run Shark for Root for an hour or two while on standby.
Make sure that instead of 0 for the capture setting, set it to 68. You might not understand what that means now, but once you look at the application it should make sense.
Once you have the file, put it on your computer and download Microsoft Network Monitor on your computer, or some other .pcap reader. Open the capture file, start searching up the IPs your phone is contacting. The more packets sent back and forth, the more likely that is your problem.
My problem was Hotmail push sync. Yours may be something else.
Click to expand...
Click to collapse
Thank you very much. But I do not want to root my phone right now.
Is there any method without root which can find out the battery killer?
root and use greenify, its awsome
expertzero1 said:
root and use greenify, its awsome
Click to expand...
Click to collapse
Greenify is an extreme measure. I prefer to have my apps and sync settings working properly instead of relying on forced hibernation to solve the issue.
---------- Post added at 12:58 AM ---------- Previous post was at 12:58 AM ----------
bfdream said:
Thank you very much. But I do not want to root my phone right now.
Is there any method without root which can find out the battery killer?
Click to expand...
Click to collapse
Your only chance then is to see if anything uses a lot of data in standby.
Hunt3r.j2 said:
Greenify is an extreme measure. I prefer to have my apps and sync settings working properly instead of relying on forced hibernation to solve the issue.
---------- Post added at 12:58 AM ---------- Previous post was at 12:58 AM ----------
Your only chance then is to see if anything uses a lot of data in standby.
Click to expand...
Click to collapse
I think checking the data usage may give me some hints on that.
Hunt3r.j2 said:
Greenify is an extreme measure. I prefer to have my apps and sync settings working properly instead of relying on forced hibernation to solve the issue.
---------- Post added at 12:58 AM ---------- Previous post was at 12:58 AM ----------
Your only chance then is to see if anything uses a lot of data in standby.
Click to expand...
Click to collapse
I only use it on facebook and maps.
Sent from my HTC One using xda premium
Something definitely up with your phone mine doesn't have anywhere near as high wakelocks as that.
Hunt3r.j2 said:
If you have root, run Shark for Root for an hour or two while on standby.
Make sure that instead of 0 for the capture setting, set it to 68. You might not understand what that means now, but once you look at the application it should make sense.
Once you have the file, put it on your computer and download Microsoft Network Monitor on your computer, or some other .pcap reader. Open the capture file, start searching up the IPs your phone is contacting. The more packets sent back and forth, the more likely that is your problem.
My problem was Hotmail push sync. Yours may be something else.
Click to expand...
Click to collapse
Thanks for the simple instructions! I'm gonna give this a go right now and I'll report back the problem for anyone else.
EDIT: After looking I still have found nothing that was useful. The number one ip address belonged to google and the second most belong to IANA.
I recently noticed that I've been having a lot of wakelocks as well.
I took a peek with betterbatterystats and realized that stupid maps had enabled location reporting. Turned that bastard off and all should be well now.
Other than that, I disabled all notifications for ebay, twitter, facebook...
Mine is mediaserver related.. I've run an mp3 checker and deleted any of the files it said were corrupt, but it still seems to be high usage..I had this problem before on AOSP Roms on my Inspire and found that Google music player was the cause. I've disabled that now and a few other Att apps to see if it helps.
Sent from my HTC One using xda premium
I think the wakelock issue is caused by some apps.
Because I disabled all my social apps and news reader apps last night.
After I wake up, I use BetterBatteryStats to check that, which shows that
The battery drain is about 1.3%/h, which is much better than before.
The time ratio of sleep to wake is about 5:1, while the same ratio is about 1:2 before.
The next time, I will find out the battery killer app one by one.
bfdream said:
My HTC One is the international version, the model is 801n, and rom version is 1.28.401.7
I have not rooted it, and it is still official bootloader locked.
btw: I have disabled Facebook App before, and uncheck the "Enable Tilt Scrolling" option in Chrome before.
I used three apps to watch the battery usage, GSam, BetterBatteryStats and Wakelock Detector.
GSam reported that totally battery usage is 26% for about 3h36m.
View attachment 1914957
The screen on time is 1h16m, but kernel Wakelocks views show that
1. main - time: 2h34m, number: 31
2. msm_hsic_host - time: 2h26m, number: 1397
3. suspend_backoff - time: 2h4m, number: 374
View attachment 1914958
Wakelock Detector did not show any serious apps.
BetterBatteryStats also showed that msm_hsic_host and suspend_backoff wakelocks are serious
View attachment 1914959View attachment 1914960
How can I find which apps are the causes or is it a kernel bug?
The only method I have thought is disable the app one by one and observe the battery usage.
Is there any better methods. Thank you very much!
Click to expand...
Click to collapse
Yes its wierd, narrowed it down to following :
1. Wifi on but not connected
2. Google Play Music sometimes
3. HTC Backup service goes crazy when #1 condition is met

Xperia ZR C5502 (IN) 4.1.2 stock internal memory dump?

Hi everyone,
My friend did a factory reset on her C5502 running 4.1.2 (.310 firmware), unfortunately she checked "wipe internal memory"
The phone reset went fine, its functional now... but the stock Sony images, music and videos are gone.
She wants them back, because she likes the "pretty pictures" and stuff.
Any idea where I can find a stock 4.1.2 internal memory dump of the default media that comes with the phone?
Or could anybody (maybe people who bought the phone recently) be kind enough to archive and upload it?
Regards,
Skittelor
Anybody? (hopeful bump)
Gone forever
Skittelor said:
Anybody? (hopeful bump)
Click to expand...
Click to collapse
The files have been permanently deleted, no way to recover them.
Yes, but since the stock media on all such phones is the same... I was hoping someone could upload and tell me where to place it in int memory.
If anyone could take the trouble, I'd really appreciate it.
i will upload the pictures for you but give me time because i have slow connection
screenshot on my pc:
{
"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"
}
Excellent, thanks xwatax
Could you please upload all the media? (stock pics,stock videos and stock mp3s)... and let me know their location in the internal memory.
Take your time, I'm not in a big hurry.
Thanks again and cheers.
4.1.2
hi,
do you have the link to stock 4.1.2 ROM for 5502.
i have updated to kitkat, but i want to downgrade back to 4.1.2 or 4.2.2
they seem more stable , no heating issues or battery drain.
[email protected] said:
hi,
do you have the link to stock 4.1.2 ROM for 5502.
i have updated to kitkat, but i want to downgrade back to 4.1.2 or 4.2.2
they seem more stable , no heating issues or battery drain.
Click to expand...
Click to collapse
on 4.4.2 I don't have battery drain or heating issue, on the contrary I think battery usage is pretty better and phone stays up longer than 4.2!
Seriously ?
sijav said:
on 4.4.2 I don't have battery drain or heating issue, on the contrary I think battery usage is pretty better and phone stays up longer than 4.2!
Click to expand...
Click to collapse
Sijav, you are an advanced user, you have setup your smartphone how it should act ie, according to your needs. Even I setup my XZR in such manner but for rest of the "non-advanced" users they can't do such things until they spend time on personalizing their smartphone. I do know that 4.4 is much sleek and faster than previous versions. But with all due respect to Sony Devs, they messed it up in 4.4 and I guess you too believe it, if not, I am not forcing you to believe it, but this is what I feel that previous versions did not need much of tweaking etc, but 4.4 needs loads of stuff to be loaded. I stay on 4.4 only for one reason, that I can use the latest apps by Sony. :good: :good: :good: :good:
nikhilkaushik said:
Sijav, you are an advanced user, you have setup your smartphone how it should act ie, according to your needs. Even I setup my XZR in such manner but for rest of the "non-advanced" users they can't do such things until they spend time on personalizing their smartphone. I do know that 4.4 is much sleek and faster than previous versions. But with all due respect to Sony Devs, they messed it up in 4.4 and I guess you too believe it, if not, I am not forcing you to believe it, but this is what I feel that previous versions did not need much of tweaking etc, but 4.4 needs loads of stuff to be loaded. I stay on 4.4 only for one reason, that I can use the latest apps by Sony. :good: :good: :good: :good:
Click to expand...
Click to collapse
Nope what I did was just a full flash of the rom and it worked as it should (with all google services working correctly after update)
I've showed you guys that 3 days battery remained with heavy use of calling and sms ing (all in 2G) data off, wifi always on, wifi location based on, normal internet use, normal games (traffic racer and Temple run), gps always on (used 3 hours in total for direction) and normal pm send and receive that is all! (with of course auto-low brightness) and always stamina on.
so yeah, I pretty use my phone like a normal ppl as I have a lot of works to do than temper with my phone (so unfortunate I use to be a heavy optimizer before)
so NO plugin or xposed or other apps than line, viber, qq, hangout, facebook, google+, instagram, Traffic Racer and Temple run was installed by me and everything went great!!
I'm not gonna argue that this rom is much better than 4.2.2, yeah 4.2.2 was the stable droid of all in droid world (either cm, stock samsung, stock htc, stock motorolla, stock sony, etc.) but yet Sony did not bring us a smooth rom (sure)! it's pretty heavy but still our battery life is pretty great and it seems that with all those heavy processing still they care about the battery and still with gpu rendering always on battery is a great show than 4.2 or even 4.3.
hi sijav,
thanks for the advice, and it seems you recommend that i continue with kitkat, rather than downgrading to 4.2.2.
could you suggest some settings on stock ROM 4.4.2 so that i am able to get better battery life out of my XZR, earlier with 4.2.2 i remember , i could easily pull off a day's worth (battery juice)with additional 30-35 % balance , but with kitkat mobile drains out before the day ends .........
suggestions plz.
---------- Post added at 01:50 PM ---------- Previous post was at 01:48 PM ----------
hi nikhil,
could you please suggest some settings to improve battery life ? on 4.4.2

Phone slows down when accessing internal memory

Hi, I'm using Cyanogenmod 10.1.2 stable version with the kernel that comes with this release.
I noticed a strange problem, every time I'm saving something to internal memory, phone slows down.
Example: I take a picture and I want to share it via WhatsApp, everything slows down, even gets unresponsive for 20 seconds. The same thing happens when I take a screenshot, or when I download / update any app.
Apart from that, the phone doesn't seem to have any other problems.
suba_ri said:
Hi, I'm using Cyanogenmod 10.1.2 stable version with the kernel that comes with this release.
I noticed a strange problem, every time I'm saving something to internal memory, phone slows down.
Example: I take a picture and I want to share it via WhatsApp, everything slows down, even gets unresponsive for 20 seconds. The same thing happens when I take a screenshot, or when I download / update any app.
Apart from that, the phone doesn't seem to have any other problems.
Click to expand...
Click to collapse
The phone isn't the fastest thing in the world but the behavior your describing isn't quite "normal".
For a start, in my opinion the CM native kernel is a little slow, I'm gonna ask you to try Iodak kernel (for now) to see if helps.
Flash 9.5 from this thread: http://forum.xda-developers.com/showthread.php?t=2270308
I'd eventually try an app to measure the IO performance in the internal memory for comparing, but I can't think of an app now (no access to play store atm), so let us know if anything changes after flashing Iodak kernel.
MidnightDevil said:
The phone isn't the fastest thing in the world but the behavior your describing isn't quite "normal".
For a start, in my opinion the CM native kernel is a little slow, I'm gonna ask you to try Iodak kernel (for now) to see if helps.
Flash 9.5 from this thread: http://forum.xda-developers.com/showthread.php?t=2270308
I'd eventually try an app to measure the IO performance in the internal memory for comparing, but I can't think of an app now (no access to play store atm), so let us know if anything changes after flashing Iodak kernel.
Click to expand...
Click to collapse
Sorry, I forgot to mention that this kind of behavior happened on stock ROM as well as on CM with Iodak and Werewolf kernel. My friend was using stock CM10 kernel on her phone and everything seemed fast enough so I tried it also but the problem remains.
EDIT:
I ran this benchmark: https://play.google.com/store/apps/details?id=com.passmark.pt_mobile
My results for internal storage write were 11,9 MBytes/Sec and for reading: 31,7 MBytes/Sec
suba_ri said:
Sorry, I forgot to mention that this kind of behavior happened on stock ROM as well as on CM with Iodak and Werewolf kernel. My friend was using stock CM10 kernel on her phone and everything seemed fast enough so I tried it also but the problem remains.
Click to expand...
Click to collapse
Do you notice that behavior only with WhatsApp? Can you give us more examples?
Also, you can use AndroBench (https://play.google.com/store/apps/details?id=com.andromeda.androbench2) and post the results?
I'm thinking that something else is causing the lag, WhatsApp sometimes just hangs on me for a while (also uses sdcard to store logs).
MidnightDevil said:
Do you notice that behavior only with WhatsApp? Can you give us more examples?
Also, you can use AndroBench (https://play.google.com/store/apps/details?id=com.andromeda.androbench2) and post the results?
I'm thinking that something else is causing the lag, WhatsApp sometimes just hangs on me for a while (also uses sdcard to store logs).
Click to expand...
Click to collapse
WhatsApp works fine when I'm sending a picture that was previously saved.
This kind of behavior happens also with Kik, Facebook messenger, and in general;
When I update any application, the phone becomes almost unresponsive for 10-20 seconds, every single time.
Here is the screenshot from androbench: https://db.tt/KAoi3zoX
I created this screenshot and it took 10 seconds for the phone to start reacting normally again..
suba_ri said:
WhatsApp works fine when I'm sending a picture that was previously saved.
This kind of behavior happens also with Kik, Facebook messenger, and in general;
When I update any application, the phone becomes almost unresponsive for 10-20 seconds, every single time.
Here is the screenshot from androbench: https://db.tt/KAoi3zoX
I created this screenshot and it took 10 seconds for the phone to start reacting normally again..
Click to expand...
Click to collapse
I experienced lots of different behaviors, sometimes even with the same configuration. Becoming unresponsive for a while when updating apps isn't uncommon. I experience that, I'm sure lot's of users around here do. You could try changing the sdcard readahead to 2048 and see if makes a difference (or to 1024, etc..) and see what configuration your friend's phone is using. You can also use Kernel Tuner, Performance Control or any tweaking app which allows you to change governors / cpu frequencies / sdcard readahead to changes these things.
Also, OOM values can also influence the user experience (these can be checked / changes using Kernel Tuner for example).
Will run Androbench soon as I can and i will post and compare.
Update:
Alright here's mine - Although there are differences (specially on the sequential write), I don't think it's exactly that, that is causing your issue.
Can more users do the test with Androbench and post their results ?
{
"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"
}
Here is the result from the friends phone:
https://db.tt/t5E9iZDY
From looking at this my phone should even be faster
Looking at the three images, it makes me thing its kinda random almost lol.
Try fstrim from the market... run it.. maybe will help... I'm a little lost here. Need more info.. you saying this happened to every rom you tried?
It happened on stock ROM and on CM 10.1.2 stable (with iodak kernel and with cm kernel).
I didn't try any other ROMs.
I just ordered Nexus 5 and I will give this phone to my brother, so while I'm wiping all the data I can try another ROM if you think that could help..
suba_ri said:
It happened on stock ROM and on CM 10.1.2 stable (with iodak kernel and with cm kernel).
I didn't try any other ROMs.
I just ordered Nexus 5 and I will give this phone to my brother, so while I'm wiping all the data I can try another ROM if you think that could help..
Click to expand...
Click to collapse
In my opinion, I'd use CM 10.1.2 stable (android 4.2.2), runs fantastic and everything works. If your brother wants to give a go at KitKat, go ahead, but stability? CM10.1.2. For sure.
There's also a couple Stock roms around here and the web, there's one called "JBS (just better stock), google it it's light and fast.

Categories

Resources