Unable to save pictures or screenshots: possibly due to corrupt storage? - Nexus 5 Q&A, Help & Troubleshooting

tl;dr: I cannot save pictures or screenshots on my phone, as well as a few other small quirks, can someone help?
Hello XDA, I've just recently encountered a strange issue with my Nexus 5 and I was hoping one of you might be able to help me out. I'd like to have screenshots to break up the text wall, but due to the nature of my issue, that's out of the question.
So my big problem started about two days ago, when I wanted to flash the omnirom nightly (1/27 to be exact) to my phone.
While doing the factory reset before flashing the rom, TWRP got stuck (and I'm talking about 10 minutes) formatting /data not including internal media. I was left with no choice but to hold volume down and power and hope for the best. This is what I bet screwed things up. After that I tried again, and the formatting worked, and omnirom booted, but with the error message of something about device UIDs being inconsistent and recommending I format my data partition.
Well since the rom was a nightly, I felt like ignoring the message, but I did notice issues: I could install and uninstall apps, but none of them could really access the internal storage (for example, any attempts to save a picture, like through chrome, would fail. I also couldn't restore from titanium backup. Connecting to my pc would not display my files).
Dismayed, I obeyed the message and did a full wipe of the data partition and tried again (not just the factory reset one, but the full wipe of /data, and don't worry, I could still backup using ADB pull so I haven't lost anything). This caused the UID error message to go away but I still had issues-not as bad as before-but still issues. Titanium backup worked, so I used that to restore successfully, but I couldn't make new backups. I was frustrated and blamed my issues on using a nightly so I did another full reset and went back to stock.
Now, I wasn't given another UID message, and ALMOST everything works, but I am left with the issue that is the reason I post this thread. I can't take pictures, video, or screenshots and a select few apps fail to recognize the internal sd card (reddit sync, for example, will fail to save pictures when I try to download them, but other apps, like chrome, will succeed to do so, so it is a non-issue. I could also connect to pc again, yay!).
The camera (app and hardware) will still work, and I can tell it takes the picture because the little thumbnail that slides to the side after taking a picture appears. It just fails to save the picture. When I swipe to view the picture, it shows up only as a dark gray box. If I view it in the photos app, I am greeted with the message "media not found." When I try to take videos, Camera will force close the moment I press record.
I've tried a few things, like clearing the camera's data, but that was unsuccessful. Different camera apps (I tried Focal) result in the same problem. Using the Root File Browser app, I also made sure that permissions weren't locking access to that folder. I've also tried deleting the DCIM folder by connecting to PC and then taking another picture, but that still did nothing.
I don't know what else I could do besides another /data format, but I already did that and I don't feel like another format would really do anything since I already did one. I'm left with little that I could think would fix this, but I'm sure someone here could help me.
It is late now and I have school in the morning, so I'll check back on this thread in about 16 or so hours when I'm done with that. Then if anyone has a potential fix, I could try it. If I don't see a fix, I could post a video describing my problem or any more information you might find useful. Thank you all and goodnight.

fatwad said:
tl;dr: I cannot save pictures or screenshots on my phone, as well as a few other small quirks, can someone help?
Hello XDA, I've just recently encountered a strange issue with my Nexus 5 and I was hoping one of you might be able to help me out. I'd like to have screenshots to break up the text wall, but due to the nature of my issue, that's out of the question.
So my big problem started about two days ago, when I wanted to flash the omnirom nightly (1/27 to be exact) to my phone.
While doing the factory reset before flashing the rom, TWRP got stuck (and I'm talking about 10 minutes) formatting /data not including internal media. I was left with no choice but to hold volume down and power and hope for the best. This is what I bet screwed things up. After that I tried again, and the formatting worked, and omnirom booted, but with the error message of something about device UIDs being inconsistent and recommending I format my data partition.
Well since the rom was a nightly, I felt like ignoring the message, but I did notice issues: I could install and uninstall apps, but none of them could really access the internal storage (for example, any attempts to save a picture, like through chrome, would fail. I also couldn't restore from titanium backup. Connecting to my pc would not display my files).
Dismayed, I obeyed the message and did a full wipe of the data partition and tried again (not just the factory reset one, but the full wipe of /data, and don't worry, I could still backup using ADB pull so I haven't lost anything). This caused the UID error message to go away but I still had issues-not as bad as before-but still issues. Titanium backup worked, so I used that to restore successfully, but I couldn't make new backups. I was frustrated and blamed my issues on using a nightly so I did another full reset and went back to stock.
Now, I wasn't given another UID message, and ALMOST everything works, but I am left with the issue that is the reason I post this thread. I can't take pictures, video, or screenshots and a select few apps fail to recognize the internal sd card (reddit sync, for example, will fail to save pictures when I try to download them, but other apps, like chrome, will succeed to do so, so it is a non-issue. I could also connect to pc again, yay!).
The camera (app and hardware) will still work, and I can tell it takes the picture because the little thumbnail that slides to the side after taking a picture appears. It just fails to save the picture. When I swipe to view the picture, it shows up only as a dark gray box. If I view it in the photos app, I am greeted with the message "media not found." When I try to take videos, Camera will force close the moment I press record.
I've tried a few things, like clearing the camera's data, but that was unsuccessful. Different camera apps (I tried Focal) result in the same problem. Using the Root File Browser app, I also made sure that permissions weren't locking access to that folder. I've also tried deleting the DCIM folder by connecting to PC and then taking another picture, but that still did nothing.
I don't know what else I could do besides another /data format, but I already did that and I don't feel like another format would really do anything since I already did one. I'm left with little that I could think would fix this, but I'm sure someone here could help me.
It is late now and I have school in the morning, so I'll check back on this thread in about 16 or so hours when I'm done with that. Then if anyone has a potential fix, I could try it. If I don't see a fix, I could post a video describing my problem or any more information you might find useful. Thank you all and goodnight.
Click to expand...
Click to collapse
I would flash the stock image again to solve your problem, backup files first. Here is a tutorial http://forum.xda-developers.com/showthread.php?t=2513701.

gee2012 said:
I would flash the stock image again to solve your problem, backup files first. Here is a tutorial http://forum.xda-developers.com/showthread.php?t=2513701.
Click to expand...
Click to collapse
Thank you, it worked! Camera is saving pictures again and nothing is acting up. And it all was way less painful than I thought it would be

Related

Unable to Boot error, but device works!

Greetings people!
Yesterday I got this message while booting up my TP (latest official ROM):
"The device is unable to boot because either you have turned off the device incorrectly or tried to install an application from untrusted source. Press END to reset your device or press any other button to cancel. This operation will delete all your personal data and restore the device to its factory default settings"
However apart from that message, phone works flawlessly without any noticable change in speed or stability! The only apparent problem is that it takes a while longer (about 10 seconds) to boot up because of that message. I tried a couple of backups, problem was solved at first, but returned later...
I do take daily backups, but since I hardly monitor my phone when I reset it, this problem could have been caused by an app or reg entry a while ago... and searching for the appropriate backup will be a pain in the ass.
Since there's no change in speed or stability, do you think it would be wise to keep using the phone as is, or is it possible this would cause further problems down the road?
Any other way to troubleshoot it (at least to find the program that's causing this) other than a hard reset?
Edit: couldn't wait so I reverted to a week-old backup, installed back most of my applications, and it seems to be fixed (for now)
Update! I just tried a new SD to try XDAndroid, and guess what, the error disappeared!
So there must be a program I had installed in the storage card, possibly trying to start a service or something on every reset... and failing.
Is there a way to troubleshoot this? Maybe through SKTools or anything similar? I have a ton of apps installed into storage card and it will be a pain in the back cover to try by trial-and-error.
Thank you in advance
edit: inserted my old storage card again, error did not appear, problem solved! At least for now
Still if anyone knows how to troubleshoot this, please let me know
Update: Seems this error occurs every time I use SPB backup.
Yesterday, after a scheduled backup, the error came back. To troubleshoot this, I removed the SD card, did a soft reset, the error was gone! I took another manual backup, and again, the error came back.
So there must be something happening with SPB Backup and my SD card. Probably messing with files on the SD, or the driver or whatever (no idea there, I'm a total noob when it comes to software).
Moved the issue to the SPB forum
I have this message to, but I have never used SPB Backup
Well, in my case, it was obviously something tampering with the SD card (even if not SPB backup, something else)
Have you tried rebooting your phone with the SD card taken off? I just wait till it boots normally, and then insert it back. Works for me every time.
If that still happens, that probably means whatever is causing the problem is in your main memory.
akpidis said:
Well, in my case, it was obviously something tampering with the SD card (even if not SPB backup, something else)
Have you tried rebooting your phone with the SD card taken off? I just wait till it boots normally, and then insert it back. Works for me every time.
If that still happens, that probably means whatever is causing the problem is in your main memory.
Click to expand...
Click to collapse
Well I tried that just to see what would happen and I did not get the error message. So it is something on the SD card, but booting without it is not an option for me as I have several boot-start apps that are housed on it.
Perhaps one of those apps is broken?
As far as my case goes, I kept on using it for three months after the error appeared, without noticing any lag or issues at all. The only downside was that it took me three minutes to boot up, something I got used to.
If that's no big deal for you, I'd suggest you just leave it as it is for now, and check for lagging or specific applications failing (maybe one of them will be the app that's causing the problem?). If nothing happens down the road I think it could be safe to leave it as it is.
Now, if you can't stand this, I guess the only practical solution would be a hard reset. You can always play around with removing/reinstalling those apps you mention (or even better, installing them in the phone's memory) to check if and which one is broken, but I can understand that this not only will be a huge burden, but you may come to the conclusion that no specific app is causing this and something went south in the OS.
Personally the only apps which include a boot-up service I have installed into my SD are Football Monitor and PocketWeather. I tried removing both of them them back when I first had that issue, it didn't work...
Sorry I couldn't help more :/

[Q] PANIC

If I break forum etiquette in some way please excuse the lapse - this is my first post to any forum. Honestly, it's a bit intimidating but I'm more than a little desperate right now. Near panic would be a better description of my state.
My Droid Incredible is stuck in a continuous boot loop. 24-48 hours after downloading a sleep sound generating app (if this is relevant), I was trying to use a different app and a pop-up stated "internal error" and would not load the app. I tried another and same result. I tried to kill all running apps with advanced app killer and same result. I turned off the phone thinking that it would correct when turning it back on but no luck. Now it just power cycles in a continuous boot loop. There has been no solution through tech support or a store visit. I don't care about the phone. At this point I would like to strap it to a steak and throw it in a lion cage. I do care about the data its holding - none of which is backed up in any way. There is no sd card and no back-up in my gmail account. I need to try and rescue the following data: voice memos from the HTC app, notes from the 3bannana (catch notes) app, photos, videos, apps, bookmarks from the dolphin HD browser and the Android browser, pdf downloads, text messages, call log settings, etc.
I have tried to boot the phone with a sd card installed. I have tried to view the data from a Celebrite machine at the Verizon store - it sees the drive but not the data. I tried to get into a "safe mode" menu by depressing down volume+center click+menu. Nothing has worked.
Is there any desktop software (or any other solution) that would enable me to restore (rescue) the data from the phone while it is in this state?
If there isn't, please just make something up so I can continue for a while in a delusional state of hope and get over this gradually.
Thank you for your wisdom and mercy.
Kandinsky1 said:
If I break forum etiquette in some way please excuse the lapse - this is my first post to any forum. Honestly, it's a bit intimidating but I'm more than a little desperate right now. Near panic would be a better description of my state.
My Droid Incredible is stuck in a continuous boot loop. 24-48 hours after downloading a sleep sound generating app (if this is relevant), I was trying to use a different app and a pop-up stated "internal error" and would not load the app. I tried another and same result. I tried to kill all running apps with advanced app killer and same result. I turned off the phone thinking that it would correct when turning it back on but no luck. Now it just power cycles in a continuous boot loop. There has been no solution through tech support or a store visit. I don't care about the phone. At this point I would like to strap it to a steak and throw it in a lion cage. I do care about the data its holding - none of which is backed up in any way. There is no sd card and no back-up in my gmail account. I need to try and rescue the following data: voice memos from the HTC app, notes from the 3bannana (catch notes) app, photos, videos, apps, bookmarks from the dolphin HD browser and the Android browser, pdf downloads, text messages, call log settings, etc.
I have tried to boot the phone with a sd card installed. I have tried to view the data from a Celebrite machine at the Verizon store - it sees the drive but not the data. I tried to get into a "safe mode" menu by depressing down volume+center click+menu. Nothing has worked.
Is there any desktop software (or any other solution) that would enable me to restore (rescue) the data from the phone while it is in this state?
If there isn't, please just make something up so I can continue for a while in a delusional state of hope and get over this gradually.
Thank you for your wisdom and mercy.
Click to expand...
Click to collapse
If you have a custom recovery image and the partitions aren't corrupt you should be able to recover everything with adb.
If you don't have a custom recovery then it might be impossible to recover anything.
Have you rooted the phone and installed a custom recovery?
With respect to backups - GMail for example is stored in the cloud - so the data on your phone is just a clone - you won't loose your mail - other apps I don't know, you'll have to check each.
If you can't get stable adb access you will need to research a factory reset for your phone which should fix it (but will wipe your data).
djmcnz said:
If you have a custom recovery image and the partitions aren't corrupt you should be able to recover everything with adb.
If you don't have a custom recovery then it might be impossible to recover anything.
Have you rooted the phone and installed a custom recovery?
With respect to backups - GMail for example is stored in the cloud - so the data on your phone is just a clone - you won't loose your mail - other apps I don't know, you'll have to check each.
If you can't get stable adb access you will need to research a factory reset for your phone which should fix it (but will wipe your data).
Click to expand...
Click to collapse
Unfortunately, I have not rooted my droid, have no custom recovery image and don't even know what adb is. As you can tell, I am a complete novice - but a novice in serious trouble if I can't recover the data. When you say stable adb access, what do you mean?
I was hoping to find some type of desktop recovery software that may be able to recognize the drive on the phone and then view and copy the data. Is it possible that this might exist. By the way is there a more appropriate sub-forum to place this post?
Thanks for your help,
Caleb
Kandinsky1 said:
Unfortunately, I have not rooted my droid, have no custom recovery image and don't even know what adb is. As you can tell, I am a complete novice - but a novice in serious trouble if I can't recover the data. When you say stable adb access, what do you mean?
I was hoping to find some type of desktop recovery software that may be able to recognize the drive on the phone and then view and copy the data. Is it possible that this might exist. By the way is there a more appropriate sub-forum to place this post?
Thanks for your help,
Caleb
Click to expand...
Click to collapse
lol ADB is the Android Debugging Bridge - in layman's term, it's a way to gain terminal access to your phone and do several other things with your phone. Mostly for debugging, but can be used for these purposes if you're rooted/installed a custom recovery.
That said, it would be at this point in time, virtually impossible to save your data that hasn't been backed up. Even if you had root, this might have been a bit more accomplishable (though usually a custom recovery never hurt ). If you're REALLY desperate, there might still be a way, though the chances of it working and providing good results is a mixed bag of results.
I'm assuming that if you didn't have an SD card in there in the first place that it has some built-in memory, right? Well, If not, then Catch notes would not have worked as it depends on an SD card to hold backups and (if i believe correctly) notes. Also, I'm assuming that you had some accounts set up on your phone (HTC/Google). If not, then I don't know how you've gone this long without it, but I'm almost positive you did have at least those two. In that case, the voice memos might be saved as well as the call log settings. Contacts might also be synced, so its more of the physical stuff we need to worry (texts/pdfs/bookmarks/pictures/videos)
Now, there are ways to recover using a computer. It all requires that you get your phone to work again (don't throw it to the lions yet!) So, we'll need to try and unbrick it. Follow the instructions here to try and get your phone back into factory state. It's true this will delete all your data, but as you are now, you have even less of a chance of recovering it.
From here, you're going to just skip past the setups and everything. After that, you're going to mount the phone as a disk drive. Now, this is where things can either go really good or really bad for you.
Get a recovery software for Windows, Linux, or Mac here. I honestly prefer Recuva as it has worked well for me in the past and this other program I had to pay for (can't remember the name. Search google and you might find it ;P), but Recuva should serve these purposes well.
The reason why these things work very inconsistently is that when you delete stuff in your phone/computer, they don't actually get "deleted". Rather, they are flagged as "not needed" and is left there until the phone/computer needs more space. It'll search out any flags, then overwrite them. In our case, that will work for and against us. Since we have to rewrite about 1 GB of data to reinstall the system (or was it +- 500 MBs?) we'll have to assume that about that much will be lost to us. That's why usually videos are unrecoverable. They are large and usually take up the most space, so they will be hard to recover if anything.
However, this works out for us as we can recover things like texts, contacts, your color note files, bookmarks, pictures, and whatever else you can dream of with a very high success rate. This is because they are small enough and if they don't get touched, you can probably get them in their original form. However, if parts of it is overwritten (i.e. texts, video) , you'll know cause the texts will have funky characters that dont make sense and the video wont load. Use this to your advantage and recover only small things first. Rule of thumb: if its small and seen by the software, most likely untouched. Grab these first.
I apologize for this really really long post. I just wanted to explain every part to you so you can understand the thinking behind why I'm asking you to do something as delete your precious data. However, like I stated earlier, there is almost 100% chance you won't get everything back and you could still possibly lose all your data should the software not see it. However, I feel this is much better than not having any chance at all and just staring at your phone waiting for it to grow brains and spit out the data in a conveniently-hidden SD card. So, I hope this works for you and if things go well, let me know! =]
~jojojohnson7410
In case hard reset didn't work...
You can follow the following section by clicking here:
How to revert to factory (stock, S-ON, no root):
Get S-ON by flashing THIS FILE (218.5kb) via recovery the same way you would flash a ROM. If you're not on the stock radio, you'll first need to FLASH THE STOCK RADIO. If you don't know how to do this, then you've never flashed off the stock radio, so you're good.
Revert your phone back to the stock, unrooted ROM. You have two options.
Option 1: Download HTC Sync and run the RUU. You can download the RUU HERE (180MB).
Option 2: Download THIS FILE (172.5MB) and place it on the root of your SD card. Reboot your phone into HBOOT (Bootloader, NOT RECOVERY!!!). Once the bootloader checks the image, it will ask you if you want to update. Select Yes and let the update run. After the phone reboots, you will have a stock, factory Droid Incredible running the November update.
Click to expand...
Click to collapse
It's all the way at the top. Do this only if the hard reset didn't work. If you need help using this or encounter any problems, let me know =] (oh, PM me cause sometimes I forget to check >.>)
~jojojohnson7410

[Q] Über-crash = reformat? What to do? thx

Hey gang -
Yesterday at home I pulled my phone out of my pocket and it was at the "touch the Android to begin" (!) screen. But it was still connected to my WiFi... And I was confused.
Rather than do that, I reset the phone, wiped Davlik cache and Fixed Permissions (took a long time!), then rebooted.
That sort of worked, but a LOT of my apps are crashing on start, and others are missing altogether. Even when I re-download them and re-install them, they don't work.
What's the way-ahead here? Am I stuck doing a factory reset? Or even formatting the SD card?
Thanks in advance.
When things get that fouled up, a clean install over a freshly formatted microSD is probably the best thing to do. You might be able to get away with restoring from a "nandroid" backup from before things started going bad, but "Your mileage may vary."
jeffsf said:
When things get that fouled up, a clean install over a freshly formatted microSD is probably the best thing to do. You might be able to get away with restoring from a "nandroid" backup from before things started going bad, but "Your mileage may vary."
Click to expand...
Click to collapse
Okay, thanks!
Anything else on the SD card I should back up besides DCIM / Media-> Ringtones/MP3s / "ui" / TitaniumBackup?
(Got about an hour while this stuff goes off to my HD...)
Hoo! Thought I effed myself for a sec - from CWM I was wiping all partitions... including /sdcard.
Then I realized... $#¡+... my ROM is on there!
Fortunately CWM has the "mount USB storage" option.
*whew!*
I was going to add format the sdcard from the phone. But you did that. Typically when what happened to you would happen to me it would be from some app updating and for whatever reason got corrupted during install and fouled the phone up. If you use TiB I highly suggest setting a automated task to back up your TiB backups to drop box, google drive or box.net. Then in these situations you have a recent TiB to fall back on.
JaimeZX said:
Hey gang -
Yesterday at home I pulled my phone out of my pocket and it was at the "touch the Android to begin" (!) screen. But it was still connected to my WiFi... And I was confused.[...]...a LOT of my apps are crashing on start, and others are missing altogether. Even when I re-download them and re-install them, they don't work.
Click to expand...
Click to collapse
Hi JaimeZX,
I am curious if you have recently rooted, flashed to stock, or installed the VB or Basic w/a twist kernel? I am running the exact same setup as you list (minus the modem) and this *exact* same scenario happened to me on the exact same day. March 12th, at about 10pm.
Detail as much information as you can, I've had many problems since flashing back to stock, formatting the SD, wiping everything multiple times, and re-installing Valhalla Black, Basic w/a Twist and all fresh apps d/l'd from the market. I'm on multiple attempts to stabilize the device and have questioned whether or not there is some issue with either the Rom or the Kernel. Perhaps there is an issue with the stock packages, or the USB driver ghosts (I've deleted all USB assigns at all ports and reinstalled for device detection in Heimdall). Hopefully we can get a good list of information to help us fix an issue that is apparently quite catastrophic (in that /data seems to corrupt) and save others from a future headache.
I have searched the dev threads to no avail, and as a general rule it seems that if problems are brought up they are usually met with "try flashing back to stock," "gremlins," "no one else is having problem 'X'," etc. even in cases of users with multiple complaints of the same issue. Both the DSP Sound force close upon EQ preset select and the issue that some had with the Messages, Phone Dialer, Search, Call Logs closing to homescreen are issues that I've seen this with. I believe this is a real issue, and I need to get it fixed without wasting time on messaging replies to anyone advising "try this," "Try that," etc.
My hope is that between the two of us we can address any of the common responses from developers before taking the issue to them and reporting it. I personally cannot today get my phone to boot without freezing (after boot cycle completes - not bootlooping or freezing during the bootleader seq) and am currently attempting to get into d'l mode without much luck.
When this happened to me on Tuesday night I was able to reboot to recovery, reflash the final-fixed.zip first without wiping data (which failed-/data is corrupted somehow here) and then *with* wipe/data and it booted, ran fine, so I then re-flashed BasicWithaTwist Kernel and was fine until late last night again.
I had been using the phone for some fairly constant web searching and the screen went black, appeared to soft reboot, and then froze. I pulled the battery, waited a few mins, reinstalled battery, once again, Freeze after boot.
No indication that an app crashes, phone just completely freezes, remains screen on, capkeys lit, power button does not respond, nor do softkeys or touchscreen. Makes it though the scan device and scan SD processes *sometimes* and other times freezes before it completes them.
I pulled the both the SD and the SIM and booted up, same issue, though it makes it through the scan device processes everytime since it's not scanning 18gb of data on an SD. This tells me it is not SD or SIM related, and is most likely software related, either ROM or Kernel. I've also ruled out the possibility of an old app/data package by reformatting the SD (long format - wipe all containers to "o,") let Android rebuild menu structure on SD, redownloaded a short list of commonly used apps and installed fresh - *NO* TiBackup apps were restored and the actual backup folder was not replaced to the SD after flashing.
I've tried both the Odin (Fb KJ6 back to stock) and the one click (lumin's tutorial) back to stock. Checked the download of Final-Fixed, MD5 checksum is correct. Cannot find MD5 on the sms-T959V-KJ6-antsvx.v1.1.3.zip file. Doesn't seem to be listed on Anton's github site, perhaps I don't know how to find it there. That is the only puzzle piece I haven't double checked.
All for now, looking forward to yours or anyone's replies or suggestions for anything I may be overlooking. Thanks.
0
---------- Post added at 11:19 AM ---------- Previous post was at 11:12 AM ----------
devlinandersen said:
Hi JaimeZX,
... I've had many problems since flashing back to stock, formatting the SD, wiping everything multiple times, and re-installing Valhalla Black, Basic w/a Twist and all fresh apps d/l'd from the market. I'm on multiple attempts to stabilize the device and have questioned whether or not there is some issue with either the Rom or the Kernel....
0
Click to expand...
Click to collapse
I should add that I have been on Valhalla Black Edition since it was in beta and have been quite happy with it. I only did a back to stock flash to try to (one more time) see if I could get a cooperative DSP sound manager. No such luck, and now a few headaches, and this issue on Tuesday coupled with yours in the exact same timeframe...I'm just thinking there is a problem somewhere in the chain of attack and hope to find it with the help of others.
Also, phone freezes after boot, needless to say, I'm not able to run a logcat.
devlinandersen said:
No indication that an app crashes
[...]
Also, phone freezes after boot, needless to say, I'm not able to run a logcat.
Click to expand...
Click to collapse
Try running logcat > /sdcard/some_file and cat /proc/kmsg > /sdcard/some_other_file so you have a capture of both the Android logs as well as the kernel logs. If you're not comfortable with command-line work, aLogrec should be able to at least help with the Android logs.
Given the number of people successfully running stock and custom ROMs on this device with stability, it either is going to be a hardware problem with your phone, corruption of a file system, or some app or combination of apps you are running, not a "dev" issue. Without logs, it is going to be nearly impossible to differentiate between the causes.
jeffsf said:
Try running logcat > /sdcard/some_file and cat /proc/kmsg > /sdcard/some_other_file so you have a capture of both the Android logs as well as the kernel logs. If you're not comfortable with command-line work, aLogrec should be able to at least help with the Android logs.
Click to expand...
Click to collapse
I will try in a bit, collecting files for another fresh install, different ROM.
jeffsf said:
Given the number of people successfully running stock and custom ROMs on this device with stability, it either is going to be a hardware problem with your phone, corruption of a file system, or some app or combination of apps you are running, not a "dev" issue. Without logs, it is going to be nearly impossible to differentiate between the causes.
Click to expand...
Click to collapse
This is false logic and is just what I was trying to avoid. I will attempt to explain to hopefully help build a stronger environment that is conducive to problem solving. It still very well could be a dev issue if say, a certain ROM or Kernel begins to wrestle with an app that has recently updated. Is it the apps or the rom's fault? Maybe it is a seldom used feature of an app that just missed all the users testing until now, it's well within the realm of possibilities and would just like to see helpful comments (such as the first portion directly above) to help solve issues. Truth is, I don't know *what* is wrong and neither do you, so a focus on constructive commentary would just help everyone out.
Logs or it didn't happen.
Update...
After a factory reset/data wipe, wipe cache, wipe dalvik cache I had to let the battery charge for a bit. Came back and decided to just try to boot phone, still freezes after boot sequence. I decide that I will flash a different kernel and a different ROM in order to see if I can make a difference. Before flashing Blastoff v2.5 Kernel I decided to factory wipe/data wipe, wipe cache and dalvik again...I am not sure if this is news, but when doing the Dalvik cache wipe in CWM it returned no result, perhaps because I had previously performed and is empty, but I thought it strange that there was *no* communication that it was already empty/wiped, etc.
Installed Blastoff v2.5 and was able to boot without freezing. Something else was damaged with the Rom as well, would not load home screen, only had pulldown menu. Rebooted to Recovery and flashed Unnamed RC-2.zip and have been charging the battery, talking on the phone and reinstalling apps from market.
Same error happened twice to me and once with Jaime. Both of us on VB and Basic+Twist. After installing new kernel i'd point towards kernel. Also uninstalled DSP and installed voodoo sound on VB, but had that on previous version as well. If I had to start somewhere, I'd start right around there.
Hope this helps, will provide logs from SD backup I made before reflash of new kernel/rom. Gotta run. Adios...
-devil.
I had to get my phone going today, it appears to be working without freezing, though on this new app the phone dialer/phone caller force closes on outgoing calls (I am only mentioning here, I will visit the Q&A for the ROM if I need assistance). Unfortunately I was unable to replicate the problem without flashing back to my previous nandroid. I have it saved and given some time I will do my due diligence and get a logcat **if** Jaime doesn't do it before me...because I kinda have a feeling that something was updated in the market on Tuesday evening that is now fighting with the kernel somehow. But again...I didn't run a logcat so it's not even happening...yet...
...to be continued...
Devlin - sorry for the delayed reply.
I did notice that I'd had more and more apps FCing on me in the week leading up to the Über-crash. Unfortunately I don't have any more "background" to add than that.
I backed up everything I wanted on the SD card and then formatted that, plus /data, /system /everythingelsethatwasanoptioninCWM. Then did my installs.
FORTUNATELY (knock on wood) I have not had any recurrence of the major issue.

[Q] Gallery Issue since update

Noticed this on my GF's phone the other day, moved some pictures from one folder to another and they no longer show up in the gallery at all...the pictures that were in the second folder still show up, but nothing else.
I factory reset my phone today but copied my DCIM folder to my computer first, did the reset, and copied it back over. Now only videos show up in my gallery, none of the 200+ photos. I can take a picture and it shows up in the same folder were my pictures are, but only that new one shows up in the gallery.
Create a new folder and move them over you say? Ya...did that, still doesn't show up. I have restarted the phone and tried running Rescan Media app...neither seems to work.
Kind of the same issue with Carbon Backup App. None of my backups show being there, but if I backup something new, it dumps it in the same folder and shows up on Carbon, but not the others.
I thought about running an Error Checker using the computer, but the phone now shows up as a Portable Device, not Removable Storage like before so I can't as far as I know...
Update: I have tried clearing data on Gallery, doesn't help. Took new picture, moved that picture to another folder and check gallery and it's gone, won't show up at all. Put it back...still no dice.
Any thoughts? Anyone else able to reproduce this issue?
Okay, pulled all my pictures off my phone and onto my computer. Selected all photos, went to File>Properties, Click Details tab, Click "Remove Properties and Personal Information", hit okay on the next popup. Wait for it to do it's thing. Once done, selected all the copies and moved them back to my phone. Presto! They are all there! If I move one to another folder, either cut or copy, it won't show up. Once they are written to the phone, they have to stay where they are.
Tried to do the same with Carbon files but didn't work. Going to play with that some more...
rramey23 said:
Noticed this on my GF's phone the other day, moved some pictures from one folder to another and they no longer show up in the gallery at all...the pictures that were in the second folder still show up, but nothing else.
I factory reset my phone today but copied my DCIM folder to my computer first, did the reset, and copied it back over. Now only videos show up in my gallery, none of the 200+ photos. I can take a picture and it shows up in the same folder were my pictures are, but only that new one shows up in the gallery.
Create a new folder and move them over you say? Ya...did that, still doesn't show up. I have restarted the phone and tried running Rescan Media app...neither seems to work.
Kind of the same issue with Carbon Backup App. None of my backups show being there, but if I backup something new, it dumps it in the same folder and shows up on Carbon, but not the others.
I thought about running an Error Checker using the computer, but the phone now shows up as a Portable Device, not Removable Storage like before so I can't as far as I know...
Update: I have tried clearing data on Gallery, doesn't help. Took new picture, moved that picture to another folder and check gallery and it's gone, won't show up at all. Put it back...still no dice.
Any thoughts? Anyone else able to reproduce this issue?
Click to expand...
Click to collapse
try clearing cache in recovery or fix permissions!
rustykwak said:
try clearing cache in recovery or fix permissions!
Click to expand...
Click to collapse
Would I need to do that even though I have already done a Factory Reset?
Also please note I am not rooted, 100% stock.
rramey23 said:
Would I need to do that even though I have already done a Factory Reset?
Also please note I am not rooted, 100% stock.
Click to expand...
Click to collapse
arh you wont be able to then! sorry cant help!
Ugh...this is such a pain in the ass. Anyone else having issues like this?
Finally downloaded QuickPic...everything is there and I don't have to do anything special. Looks nice too...
Sent from my Transformer Prime TF201 using xda app-developers app

Whatsapp backup restoring

I'm actually in a very serious problem as I have a problem with restoring my whatsapp messages please help me asap I uninstalled my whatsapp on 16th July and last I backed up it on 7th July. Now when I try to restore the messages after reinstalling it shows my google account but it doesn't show the size of backup and also it says no Internet connection please help me. Also my whatsapp images and whatsapp videos folders have disappeared. I really want to get back my chats. Hope someone will really help me as it means alot to me now
Connect to a wifi or a hotspot, or get better signal then H+
Kenora_I said:
Connect to a wifi or a hotspot, or get better signal then H+
Click to expand...
Click to collapse
I'm already using WiFi and I tried using mobile data as well both didn't help and I tried reseting network settings and all still it didn't work out
ruinaaaa said:
I'm already using WiFi and I tried using mobile data as well both didn't help and I tried reseting network settings and all still it didn't work out
Click to expand...
Click to collapse
Did you check your google account the backup.
It could be app problem, try resetting and other stuff.
Kenora_I said:
Did you check your google account the backup.
It could be app problem, try resetting and other stuff.
Click to expand...
Click to collapse
Hey yes I checked it as well in google drive it shows the backup I can't restore it locally because I deleted the whatsapp databases like or two months ago will it affect this
Try clearing the data and cache of whatsapp or reinstall it.
Kenora_I said:
Try clearing the data and cache of whatsapp or reinstall it.
Click to expand...
Click to collapse
I tried this too and tried so many things.I watched so many youtube videos and searched a lot in google as well still couldn't find any possible way to recover
Albert83BCN said:
Hi guys!
I have been facing this issue this whole week while trying to move all my chats to a new phone I just bought as with the old one the charging port was dying and I could not bear it anymore. So almost everything restored smoothly from Google Backup and it was like being in my phone again with a few wizard steps but then I Installed WhatsApp (WA) and gone through the typical activation and restoring process and. as many, I got stuck at the 24% sometimes, some others 31% and 39%, and never got past the 39%.
I Tried almost everything: restoring from Google Drive, transfer all WhatsApp directory to internal storage and trying to restore from there, etc. Going back to the old phone to create fresh backups just in case they were corrupted as many people suggests, getting every time more delay to be able to activate WhatsApp again up to 12h for both SMS and call activation... just to mess again and feel back at square one, I guess you all feel the pain.
Well, the good news is that I finally managed to restore all the chat history!!! (well, cannot be certain that 100% was restored but I do not miss anything ATM and I can go back up to 2012 chats so I guess that qualifies as "everything" hehe).
So, I'm posting here because I've been searching a lot on the forums and the reddit and for all the people that is having this issue recently, almost no body came back to report success and I know it feels really discouraging It certainly gives the impression that this issue has no fix at all, and that you should accept losing all the chat history and starting from the start again. But from all the data I've been gathering during this week, at least two or three people reported to eventually being able to restore the chat; they fell in one of these two categories: they either transferred to a different phone where the backup seemed to restore okay, and then exported and restored in the target phone with success (something like a "bridge" restore mode, most of the cases I've read did it this way) or they finally succeeded by sheer brute force by trying again and again and again.
I fall in this 2nd category. In the most recent attempt I was doing what I've been doing again and again and again with just minor variations in the workflow and finally succeeded. TL; DR; I think in reality in many cases attempts could succeed by just letting the phone restore the backup endlessly, by not giving up and assuming the restore process went wrong when it has been stuck forever at either 24, 31 or 39% and force closing..
But I know in the midst of desperation OCD kicks in and you want step-by-step success case scenario reproduction so I will tell you all the steps that I followed that I can remember that got me to finally have the backup to end successfully:
0. First of all, in the winning attempt I had already uninstalled WA from the new phone and removed totally the WA folder in the internal storage / sdcard storage. Not sure this is mandatory but just to tell this was the case.
1. Since I got WA working perfectly on the old phone at every moment, I backed up locally for the Nth f%!?&·( time. This left me with the latest local backup plus a few others in the databases folder as a result of keep messing up.
2. I copied the full WhatsApp directory from the internal storage of the old phone to a safe place. This could be the PC or whatever, but PC transfer via USB seems too sloppy. You maybe could do it via ADB, whatever, I went by the route of coping it to the external SD with some random explorer utility like ES File Explorer. It does not matter, the point is to be able to backup the full WhatsApp folder in order to restore it as similar as possible as the original. What we are more interested right now is in the database folder but having all images, videos etc in place will help in getting it like before the easiest way. (Disclaimer: Ok guys sorry if some steps are too obvious to XDA users which usually are highly educated in the matter, but I was thinking of sharing/linking this text on the reddit and others, so please bear with it).
3. I installed latest WA in the new phone, opened the app (I intended to not open but I somewhat forgot) and got to the welcome screen, immediately closed the app at that step.
3. I restored the full folder to the new phone internal storage, pure copy/paste style (as said, in my case via the SD since both phones have SD slot and was very convenient, but via USB, cloud, etc. can be done).
4. I went to the databases folder and only kept the msgstore.db.crypt12 file and the latest backup with a date (ie: msgstore-2019-11-21.db.crypt12), deleted the rest. Honestly I do not think this is crucial but I somewhat wanted to make it easier for WA to know which one to target, I thought about keeping only the msgstore.db.crypt12 but some random dude pointed that the one with the date was needed. I was under the assumption that file structure is identical in both but just wanted to get done with this and keep both, just in case.
5. Before opening again the WA to try to activate and restore with this full local copy, I opened the Android settings app and went to applications > whatasapp > storage, as suggested by user redweaver, thanks for the tip! by keeping looking at the storage usage of the app during the restore process we could get insight about if it was really doing something or the app was really stuck. Keep open for now. In my case, I saw also on the old phone that my data used for the app was 780+ MB, so I had an idea of what should be on the new phone by the time it finished (if it did!).
5b. I don't think this is really necessary but I did it just in case. I was planning to go to work and let the thing running as long as it would need, and I would make sure that the process would get maximum uptime and nothing would get in the way. So I went to Applications > WhatsApp > Battery usage (or something like it) and disabled the battery optimizations for this app. I also went to the developer mode settings and enabled do not lock the phone while it is charging and everything that looked like it might be relevant. Again, most likely this has nothing to do, but reproducible steps, right?
6. Now open WA and activate it as usual, but when it seems that the activation step ended and you go to the next screen, immediately put the phone in air plane mode or disable data/WiFi, whatever. The goal is that it cannot reach Google Drive to look for the online backup. Honestly maybe in the end is not the culprit of GDrive but many people states that the GD backup is broken at this time and suggests going the local route, so we will do it like this.
7. WA should tell you that looking for the backup is going too slow and to skip this step (sorry to not have exact message, I have it in Spanish, but something in these lines, BTW excuse my somewhat limited English ). The point here is to click on the link that says skip the step and when you are prompted with a popup, click also on Skip.
8. WA will display the typical restore / transfer-like screen where the process starts. At this point you have to enable again data plan / WiFi at least or exit air plane mode, don't know really but even if restoring from local it complains about not having internet connection, maybe needs it to encrypt with the key or something? don't know.
9. Now is the feared moment! Even this time, I got somewhat stuck at 31% again. I left it do its thing, and some time later, it prompted for the popup that has a progress-bar from 0 to 100 (honestly, what is the difference between both?!) which also got stuck at 31%. If you let it be, it starts going back and forth many times, I guess maybe its going chat per chat and the progress-bar represents each one? Dunno. Thing is, even in the prior attempts I got at this point and the backup did not finish successfully. But this time I was decided to let it do its thing as much time as it would take, until the end. In the process the phone might display a pop up saying that WA does not respond. I clicked a few times in the 'keep waiting' option, then I just forgot because I did not have time to mess with it and hoped that it was still working on the background, which bring us to step 10.
10. While we are contemplating the backup process, we can go to the settings app again and look how the internal data is going for the WA. In my case, after some time under the restore process, when I went there I saw WA had occupied 0.91 GB of data space. After going back and forth again between WA and settings, the usage keep growing: 0.96, 1.03, 1.10... I thought it was on the right track, and encouraged me to keep waiting. Maybe in the end the process is too slow for old databases. Note that some people speculates that having messages from very long ago might be the culprit here due to changes in the table structure and that this might be the reason breaking the restore process. And maybe it is the case, but even if it is, in my case I finally succeeded where previously I didn't and without deleting anything, so this does not seem to be a deal-breaker or I would have never succeeded. I say it because some people reported that deleting old conversations and trying again finally made them succeed. Now I suspect the true reason was simply that by making the database smaller the process finished earlier, but YMMV.
11. Cannot be totally sure, but in my case, I noticed that leaving WA on the background and clicking on the WA icon again might stop the process for true and bring a message about not being able to recover the chats, I got this previously, do not try to open the WA normally, only leave it temporally to look to the space usage in the settings to get back to it by swyping between recent apps to keep the same instance open and working, this was a key point in my success trial that did not happen during the previous ones.
12. And finally, while I kept switching between WA and the settings and when I last saw like 1.30GB of space used (almost twice the space compared to the old phone, maybe it leaves a lot of temp data) I don't know if I either messed with the app-switching or it really finished, but then I got prompted to the screen where you enter your name or nickname. And when I completed this step, I finally got to the chats screen and everything was like in the old phone! Where previously I would get to a lot of empty chat rooms with maybe 40 total messages restored according to WA. Hurray!
Notice that in my case it was still reporting 31% on the WA background screen under the progress bar popup when it finished!! so it seems that is not really mandatory to experience the 100% complete to have it work in the end, but YMMV.
OK, maybe not the most elegant "guide" out there but I wrote it in a hurry and my english sucks, I just hope it might help someone to not lose their WA chats forever.
Good luck!
Edit: I almost forgot but, for the sake of completeness. I also tried a certain script that can backup WA from the phone and retrieve the encryption key, it will also leave an unencrypted copy of the chats database that can later be viewed with a WhatsApp viewer like this. The script is called WhatsApp Key/DB Extractor, and it still works as of 2019, just look at the latest posts in the thread. Guys here on XDA most likely know about it but if not, you might give it a try. I tried it because I assumed that maybe I could circumvent the restore issues by going that route and pushing the backup via ADB, but turns out the legacy WA won't prepare the database due to the time out of sync issue, or at least the data seemed to be lost after performing the restore process, and the unencrypted database on the PC cannot be digested by WA latest versions by just putting it into the internal storage directly according to what other users commented. But, if you finally give up trying the restore process, it still could be relieving to know that you keep a local copy in the PC that can be viewed with another PC tool, at least you get a backup and the conversations are there, in a different way though. Maybe in the future there's a process that can restore them again to a different phone, and you could then merge the new chat database with the older backup with tools like Merjeapp.
Click to expand...
Click to collapse
This has the solution
Kenora_I said:
This has the solution
Click to expand...
Click to collapse
Thank you but today I read this in the afternoon. This guy has solved it through whatsapp databases but I don't have a way go backup locally as I deleted my whatsapp databases two months ago. All I can do is recovering from google drive but the thing in this guy's scenario his chat was actually being restoring but I can't even do that since it says that I have an Internet connection problem

Categories

Resources