Has anyone noticed or had a problem concerning the battery life on JB?
I've got AT&T running on rooted JB and in my battery screen it currently shows media eating 25 percent. This never happened on ICS.
Earlier today it was around 45-50 percent. I've never had terribly great battery life on it since I had it but what gives?
Thoughts, questions, comments?
T.I.A
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Same thing here.
I read somewhere maybe a corrupted file(s) may be the culprit so,i formated my internal sd after a factory reset today,and still doing the battery draining.
After a fresh bootup, android.process.media is running for a good 30 min. non-stop.
The only workaround i found in another topic is installing startup manager and block the media process,but you need root acces.....
Very annoying...... i don't have that bug with ICS.
you can disable the media scanning with this app from the play store: https://play.google.com/store/apps/details?id=com.addz.mediascannerroot&hl=en
There's a few open bugs in Google Code tracker for this. This one seems to be the most "commented/stared". https://code.google.com/p/android/issues/detail?id=37199
I upgraded my GS3 to the JB release the day after it came out. Had no problem until I put in my SD again (today) that had thousands of pictures and music files. Noticing the massive drain real fast.
Pulled the SD again, and problem goes away. I haven't tried an SD wipe yet, but looking at the bug reports that's not expected to help with 4.1. The corrupt media file is supposed to have been a 4.0 related bug...
I wiped my 16gb sdcard because I assume there was something corrupt or the phone continuously scanned for something on the external sdcard. Now I have nothing on the sdcard except for a cwm backup and haven't noticed the process running. I'll slowly add some files back when I need it.
Sent from my SGH-I747M using xda app-developers app
I've noticed the drain too. All I do is force stop the process from my battery info screen.
It won't come back unless I reboot/reinsert the card.
I think it takes long time to scan the internal and microSD, if you have a CWM backup(s). I removed my backups off the microSD card and it seems to be fine now. Also, once it get indexed properly, I don't think it scans every time it restarts.
it's the CWM backups. change your backup type from .dup to .tar in CWM. reboot the phone. restore each nandroid that was created as .dup and back it up under the .tar setting. boot into CWM and delete the .dup backups and clear unused backup data.
the backups will use a bit more space but you will remove the blobs folder and it's thousands of files. these files are what is causing the media scanner to consume the battery.
trendiggity said:
I've noticed the drain too. All I do is force stop the process from my battery info screen.
It won't come back unless I reboot/reinsert the card.
Click to expand...
Click to collapse
I to now have this problem and without rebooting the media scan still starts back up after stopping it! I'm on bone stock jellybean.
Sent from my SAMSUNG-SGH-I747 using xda premium
In having this issue too. When I can I'm going to take my backups of my sdcard. See if that helps.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Cleaning up some images and cleared media and gallery data, fixed the issue for me.
Russ77 said:
it's the CWM backups. change your backup type from .dup to .tar in CWM. reboot the phone. restore each nandroid that was created as .dup and back it up under the .tar setting. boot into CWM and delete the .dup backups and clear unused backup data.
the backups will use a bit more space but you will remove the blobs folder and it's thousands of files. these files are what is causing the media scanner to consume the battery.
Click to expand...
Click to collapse
do i need to boot up to the restored nandroid then reboot back into recovery to create a tar backup?
After a restore of the nandroid, can i just stay in recovery and run the backup as tar?
I was just force stopping the media service until I got that media scanner ROOT app. Works pretty good now my media battery and CPU usage are at a minimum.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Related
Hi! I am new to making Nadroid backups. Yesterday, I could've swore my /blobs folder was about 3GB. Today, when I made another Nandroid and it was at 6GB.
I'm on the dedup method, so my /blobs folder shouldn't be increasing. I also tried "free unused backup data" and still at 6GB.
Here's my storage usage, attached. Am I in the right ballpark or is something odd here?
P.S. If anyone has a Nandroid backup management system, let me know! I keep jumping between CWM Recovery to make them and then to Android to fix all the things CWM Recovery does wrong (like the date-for-the-file-name; it's not 1970 and the month/day/time are all incorrect) and can't do (like viewing the backups, renaming the backups, uploading the backups to cloud storage).
My blobs folder at one point was at 4gig. I deleted all my backups except for two. Went into cwm and selected free space under backup/restore and brought it down to 1.01gig.
Mind you the only backup I care about (rooted, stock with TW) is 1.8gig but I have that on external and on my computer just in case.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
KorGuy123 said:
My blobs folder at one point was at 4gig. I deleted all my backups except for two. Went into cwm and selected free space under backup/restore and brought it down to 1.01gig.
Mind you the only backup I care about (rooted, stock with TW) is 1.8gig but I have that on external and on my computer just in case.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Hmmm...that may be it: this new backup required new blobs for whatever reason. Let me figure out a way to restore SystemUI and SecSettings to stock and then maybe delete those early backups...
How much space have you used,by chance, on the internal SD card?
~Ibrahim~
the blobs folder continues to grow with each backup. the only time it would decrease is you delete a backup then clear unused data after booting to recovery.
this blobs folder will drive your media scanner CRAZY.
my suggestion is to boot into recovery, set the backup type to .tar rather than the default .dup. This unfortunately will cause each backup to take up approx 1.5g, but that is an incredible reduction in indvidual files for the media scanner to scan. but, thats what ext sd cards are for
after making this change, if you have .dup backups you want to convert to .tar, you will have to restore each then backup again.
ikjadoon said:
Hmmm...that may be it: this new backup required new blobs for whatever reason. Let me figure out a way to restore SystemUI and SecSettings to stock and then maybe delete those early backups...
How much space have you used,by chance, on the internal SD card?
~Ibrahim~
Click to expand...
Click to collapse
I formatted internal when I went to PAC-Man I've done one back since so my internal is fairly empty. (I switched to TWRP recovery and the backups are around 750mbps)
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Russ77 said:
the blobs folder continues to grow with each backup. the only time it would decrease is you delete a backup then clear unused data after booting to recovery.
this blobs folder will drive your media scanner CRAZY.
my suggestion is to boot into recovery, set the backup type to .tar rather than the default .dup. This unfortunately will cause each backup to take up approx 1.5g, but that is an incredible reduction in indvidual files for the media scanner to scan. but, thats what ext sd cards are for
after making this change, if you have .dup backups you want to convert to .tar, you will have to restore each then backup again.
Click to expand...
Click to collapse
YES. YES. THAT'S THE OTHER ISSUE! These things are all related! My Media scanner, out of *nowhere*, exploded to 50% battery usage.
Going to *.tar, then. Thank you hugely.
@KorGuy
I may transition to TWRP. CWM is a fine recovery, but it's backup solution isn't up to par. Appreciate the help!
0... I don't make nandroids... use the external sd...
Quasimodem said:
0... I don't make nandroids... use the external sd...
Click to expand...
Click to collapse
Wait, so how do you backup? I make Nandroids onto the external SD.
ikjadoon said:
Wait, so how do you backup? I make Nandroids onto the external SD.
Click to expand...
Click to collapse
I don't make backups or use tibu...
Not sent from your phone...
Quasimodem said:
I don't make backups or use tibu...
Not sent from your phone...
Click to expand...
Click to collapse
You're brave. But probably more experienced. I bootloop'd my GS3 after just trying to modify the framework-res.apk and my Nandroid saved me! But, I'm on TWRP now and it looks much better.
ikjadoon said:
You're brave. But probably more experienced. I bootloop'd my GS3 after just trying to modify the framework-res.apk and my Nandroid saved me! But, I'm on TWRP now and it looks much better.
Click to expand...
Click to collapse
I've got everything I need on the SD to fix whatever... not really worried about it...
Not sent from your phone...
To be honest the huge blobs folder you are stuck with using cwm is exactly why I switched to twrp recovery and I was a long time user and big fan of cwm for a long time. But the blobs really screwed that up for me anyway. Twrp works great and is better in my opinion ...
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
I'm using cwm 6.0.2.2 touch recovery and it doesn't have none of that blob folder crap
sent from the dark side of the universe....
thatsupnow said:
I'm using cwm 6.0.2.2 touch recovery and it doesn't have none of that blob folder crap
sent from the dark side of the universe....
Click to expand...
Click to collapse
I just updated cwm and noticed that the default is now .tar
Good call from Koush, then. They're a good idea, but executed poorly.
But, CWM has problems for me beyond blobs: it mislabels backups without a way to rename in CWM, somehow mismatched the MD5 of my backups (until I renamed them to "backup" ), and doesn't seem to compress backups = all fixed in TWRP.
Battery life is fixed!
Currently running stock 4.1.1 on kernel 3.0.31 - 260018, but I will get the same error "unable to mount /data" as in http://forum.xda-developers.com/showthread.php?t=1966105&page=9. I want to install jellybomb rom.
The problem is that if I try to flash to stock, I will have no backup of my data. I cannot backup because my /data partition is not accessible. But my device is fine and functional with stock. And I'm really quite new to the android modding business. I'm not sure if there's an exact copy of the pda and pit shipped with my carrier.
Can anyone advise me what to do at this point? I don't want to brick my phone, and I read online that a corrupted PIT file means even after recovering from stock, that corrupted part will always be there, and limit the storage on the internal SD.
Thanks.
I have the same problem but don't know what causes it. You can use Titanium Backup for your apps at least. You can use ADB to backup everything to your PC. Haven't bothered to fix the issue with my phone because I've been happy so far.
Sent from my SGH-T889 using xda app-developers app
one80oneday said:
I have the same problem but don't know what causes it. You can use Titanium Backup for your apps at least. You can use ADB to backup everything to your PC. Haven't bothered to fix the issue with my phone because I've been happy so far.
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
Yes, like you say, Titanium Backup is a great way to back up data. Also, I noticed that an app called "Root Uninstaller" does the same thing (but doesn't contain system data).
After tinkering around with different apps, I noticed that ES File Explorer was able to access /data on the internal card. Is there anything I can try to do to resolve this issue in this way (note that TeamWin can't mount /data, so we can't do terminal commands this way)?
I accidentally deleted the contents of my SD card when installing a rom, and then I reverted back to CM 10.1. This obviously deleted all of my data, backups, ect but I had TB set up to sync with dropbox, so I had the backups. I wiped the phone and installed TB. I put the backups back onto the SD card and set the location in TB preferences. Now it will only detect a few of the backups. I've tried everything that I can think of or that I found on line but to no avail. Does anyone know a fix for this? I really don't want to lose all of my data.
bump
Did you install the Dropbox app and then enable Dropbox in TB's preferences?
Edit: Nevermind, I misunderstood. Usually when something like this happens to me it's do to apps being filtered out somehow. Make sure you have "All" selected for all the "Filter by..." options.
goodtimes50 said:
Did you install the Dropbox app and then enable Dropbox in TB's preferences?
Edit: Nevermind, I misunderstood. Usually when something like this happens to me it's do to apps being filtered out somehow. Make sure you have "All" selected for all the "Filter by..." options.
Click to expand...
Click to collapse
Thanks for the reply! Yeah, that was the first thing that I checked. There are no filters on. I even tried to reinstall TB and delete the settings file on the SD card, but it still won't recognize the backups.
I'm also gonna try to install CM 10 and see what happens. I don't have much hope though.
Ok, more info. I tried installing CM10, but it didn't do anything. When I set it to the backup directory, it only finds 13 backups, but there are well over 100 in the folder.
bump
I'm running out of hope, but bump.
Sorry man, but you gotta bite the bullet.
Grab a drink, go to play.google.com and reinstall the apps you want.
Has happened to me twice... makes a quick, simple flash on Sunday night turn into a tired lug to work/school on Monday morning.
My guess would be that the Dropbox sync in TB was never able to complete. Uploading gigs of files can take some time, even on a decent connection.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Greycloak42 said:
My guess would be that the Dropbox sync in TB was never able to complete. Uploading gigs of files can take some time, even on a decent connection.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
I had something like this happen. I put a new rom on and even though I didn't do anything to my backups now in Ti backup it says im missing a ton of them. There more backups then it claims I have apps.
Anyway I deleted all the history for the app, clear all pref , reinstalled and its working now use Ti backup to uninstall its self lol
Seeeveral months later, but I had the same problem. No version of my backups would be detected, etc. Happened after an incident while redoing a ROM. And this is the only thread anywhere that seemed to say anything about the issue.
What ended up working, for whatever reason: I cleared everything from my SD, probably not entirely necessary, just remove TB and it's folder. Reinstall, update TB. Do a new backup of everything. Then I hooked the phone to the computer, copied my old stuff into the folder, overwriting the many that asked for it. When I went back to TB and did a batch restore, it picked up all the previous programs.
Unfortunately, I did have to sit with my phone, and most applications would ask if I wanted to install it, click Install, then Done, then it would move on to the next. Or if it was a system application, just hit cancel and it would skip it.
But it fixed it. So, I'm not complaining too much.
Next step is to delete all backups, do NEW backups, then go forward from there. Will probably see about doing a full wipe and TB backup, which I sure hope works.
My fix
I logged in through adb as root and found that the external SD card was being hidden from Titanium. So I just copied the files as root onto a directory next to the existing Titanium back up (the one just created that it could see) via bash command
Code:
jfltexx:/ # cp -a /storage/6163-6233/TB_orig/ /mnt/sdcard/
I think each new release the Google people decide to move around the SD card and generally make it hard for old data to be seen by Apps on the new system in the name of security or some fancy new feature.
Painful but as I could see the SD card when plugged into my laptop I knew it was really there.
i got an out of space error today and so I downloaded an app to check what was using it all. i found my system data folder is using 7gig. What could be eating all that up and how do I clear it up. I only have a gig in apps.
PAPutzback said:
i got an out of space error today and so I downloaded an app to check what was using it all. i found my system data folder is using 7gig. What could be eating all that up and how do I clear it up. I only have a gig in apps.
Click to expand...
Click to collapse
Have you been flashing ROMs recently? If so, look into data/media and check to see if your files have been copied there while maybe flashing a ROM then restoring a nandroid. This has happened to me and I don't quite understand it, but I manage to free up space every time while not hurting anything
PAPutzback said:
i got an out of space error today and so I downloaded an app to check what was using it all. i found my system data folder is using 7gig. What could be eating all that up and how do I clear it up. I only have a gig in apps.
Click to expand...
Click to collapse
As previously stated, if you're a heavy rom flasher, and make backups before switching roms, AND you don't use an external memory card, go into the system folder and delete some of the older backups that you know you aren't going to use anymore. Touchwiz roms can eat up about 600-900mb, depending on the developer. AOSP ROMS usually cover between 105-150mb + Gapps.
Merry Christmas everyone!
For Christmas I gave myself a new ROM (4.4.2 KitKat ala CM11 Nightlies.) I've been a weekend tweaker/hacker for some time but the last two or three years, due to 'playing/fixing' sucking too much time, I decided to stay stock (just rooted.) However, too many questions/uncertainties surrounding the 4.3 OTA, I decided to say bye bye Samsung & AT&T with your control freak measures and your bloat. So far, first 24 hours, I am SO happy. My phone is SO much faster on CM11, love the KitKat features, huge improvement in battery life (may be because I selectively restored only a portion of my apps.), etc. I thought it would be hell going with a custom ROM due to battling the bugs but so far it's been smooth sailing (knock on would). And I LOVE that my interface is now consistent with my Nexus 7. I think I'll be a CM user for life unless I go to a Nexus phone in the future.
When I installed CM11, I did a Factory Wipe/Reset of Data and Cache (via CWM.) I could swear I had like 9GB of the internal storage free. Since installing CM11 and latest GAPPS I now have only 4GB on free internal storage. And I only restored about 60% of the apps of previously had (restored via Titanium Backup). Considering CM11 has less bloat, I'm wondering what happened to my free internal storage. Could there be a lot of files leftover that were not erased? Where should I look or what tool should I use. Already tried using Clean Master - no significant improvement.
After further thought... where is the 'Nandroid' backup I made with CWM stored? I don't see it on the external SD card so I'm guessing that's the culprit and I need to move it off the internal SD on preferably onto my PC. Just need to locate it. The begs the question, if I did a Nandroid backup, then a wipe, obviously the wipe doesn't delete the Nandroid backup - so where does CWM hide it?
Happy Holidays!
jazee said:
Merry Christmas everyone!
For Christmas I gave myself a new ROM (4.4.2 KitKat ala CM11 Nightlies.) I've been a weekend tweaker/hacker for some time but the last two or three years, due to 'playing/fixing' sucking too much time, I decided to stay stock (just rooted.) However, too many questions/uncertainties surrounding the 4.3 OTA, I decided to say bye bye Samsung & AT&T with your control freak measures and your bloat. So far, first 24 hours, I am SO happy. My phone is SO much faster on CM11, love the KitKat features, huge improvement in battery life (may be because I selectively restored only a portion of my apps.), etc. I thought it would be hell going with a custom ROM due to battling the bugs but so far it's been smooth sailing (knock on would). And I LOVE that my interface is now consistent with my Nexus 7. I think I'll be a CM user for life unless I go to a Nexus phone in the future.
When I installed CM11, I did a Factory Wipe/Reset of Data and Cache (via CWM.) I could swear I had like 9GB of the internal storage free. Since installing CM11 and latest GAPPS I now have only 4GB on free internal storage. And I only restored about 60% of the apps of previously had (restored via Titanium Backup). Considering CM11 has less bloat, I'm wondering what happened to my free internal storage. Could there be a lot of files leftover that were not erased? Where should I look or what tool should I use. Already tried using Clean Master - no significant improvement.
After further thought... where is the 'Nandroid' backup I made with CWM stored? I don't see it on the external SD card so I'm guessing that's the culprit and I need to move it off the internal SD on preferably onto my PC. Just need to locate it. The begs the question, if I did a Nandroid backup, then a wipe, obviously the wipe doesn't delete the Nandroid backup - so where does CWM hide it?
Happy Holidays!
Click to expand...
Click to collapse
Yea same thing happened with me, usually the cwm backups are located in an emulated storage. Happy Holidays to you too!!!!
UnknownTroll1 said:
Yea same thing happened with me, usually the cwm backups are located in an emulated storage. Happy Holidays to you too!!!!
Click to expand...
Click to collapse
Bingo. As expected. Had to startup ES File Explorer, enable root explorer, do some more digging, and found it in Data/Media/clockworckmod
Moved to SD card then to PC. 3.6GB freed.
I was a little distraught though to see in the data directory, lots of folders for old apps that are no longer on the phone. The CWM Wipe functions don't get rid of this stuff. So essentially is the only option to browse all the folders and make your own decision on what can go? Possibly a lot of work for little return though unless you do a folder list by total filesize?
jazee said:
Bingo. As expected. Had to startup ES File Explorer, enable root explorer, do some more digging, and found it in Data/Media/clockworckmod
Moved to SD card then to PC. 3.6GB freed.
I was a little distraught though to see in the data directory, lots of folders for old apps that are no longer on the phone. The CWM Wipe functions don't get rid of this stuff. So essentially is the only option to browse all the folders and make your own decision on what can go? Possibly a lot of work for little return though unless you do a folder list by total filesize?
Click to expand...
Click to collapse
Yea some of the crap in there, not really sure why its just thrown into random folders.
When on CM 11, /data/media/ is the directory for the original sdcard (what you saw when on Touchwiz) and the 0 is the emulated storage for CM 11. If you backup to the internal, your backups can be in
/data/media/0/ or /data/media/. As said before, all the other folders and files are left over from before putting CM 11 on.
Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app
drx895 said:
When on CM 11, /data/media/ is the directory for the original sdcard (what you saw when on Touchwiz) and the 0 is the emulated storage for CM 11. If you backup to the internal, your backups can be in
/data/media/0/ or /data/media/. As said before, all the other folders and files are left over from before putting CM 11 on.
Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Are you saying anything not in the /data/media hierarchy can be deleted?
jazee said:
Are you saying anything not in the /data/media hierarchy can be deleted?
Click to expand...
Click to collapse
Edit: The best answer is no. The other partitions like /system/ are crucial for your system even being able to boot.
Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app