Wiped "Internal Storage" in TWRP, by mistake. Anyway to recover? - Nexus 4 Q&A, Help & Troubleshooting

Hi,
I updated to TWRP 2.8.2.0, in which developers changed the arrangement of Wipe buttons. I was busy, and pressed the buttons as i remember them and always do this (wipe system, cache and dalvic), without looking to phone screen.
Strangely, I found my free space 13 Gb !!!!!!!! .... Then realized that internal storage was wiped.
Everything on phone was lost.
I lost all my photos, 1 year worth.
Can anyone recommend a way to restore them ?
Thanks guys and really I appreciate it.

aymnahmd said:
Hi,
I updated to TWRP 2.8.2.0, in which developers changed the arrangement of Wipe buttons. I was busy, and pressed the buttons as i remember them and always do this (wipe system, cache and dalvic), without looking to phone screen.
Strangely, I found my free space 13 Gb !!!!!!!! .... Then realized that internal storage was wiped.
Everything on phone was lost.
I lost all my photos, 1 year worth.
Can anyone recommend a way to restore them ?
Thanks guys and really I appreciate it.
Click to expand...
Click to collapse
I think it's all gone unfortunately, unless you were using something like Dropbox. I'd recommend that for the future, just sync DCIM with your PC and you're safe.
I did that once too, it's quite a lesson to learn! At least you can connect via adb, that sort of thing, to get a ROM onto the phone again. You can also copy internal storage to your PC with that method, too, so if you ever plan to do something extravagant, you can first back up the whole internal storage.

paul c said:
I think it's all gone unfortunately, unless you were using something like Dropbox. I'd recommend that for the future, just sync DCIM with your PC and you're safe.
I did that once too, it's quite a lesson to learn! At least you can connect via adb, that sort of thing, to get a ROM onto the phone again. You can also copy internal storage to your PC with that method, too, so if you ever plan to do something extravagant, you can first back up the whole internal storage.
Click to expand...
Click to collapse
Sad
The ironic thing is that I copied all my phone to PC one day before, to install stock Lollipop which will wipe everything.
Unfortunately, I deleted the backup from PC once i restored it to phone.
Can't recover it from PC now.
I learnt my hard lesson.

Try recuva for the pc
Sent from my Nexus 4 using XDA Free mobile app

Happened to me last week.
I just switched from CWM to TWRP. When I tried to do a full wipe, I got a bit cocky and said to myself, "I don't need to carefully read the steenking warnings... I've been using CWM for a long time... how much trouble can I get with TWRP?"
After typing YES to the confirmation, I expected the wipe to be quick -- 5s -- but then it took a bit longer. It was only then that I realized that I wiped everything, including the SD.
Oh well... lessons learned.
BUT the good thing about losing my KitKat nandroid is that I got rid of old files and get a fresh start.

Related

[Q] anyway to get internal sd data off when stuck in bootloop?

@ mods i realised my mistake in posting this in the wrong section and posted in the right one but people are replying to this one......so please dont delete this just yet
I in my infinite wisdom tried to mod a file on my phone. I did a titanium backup 1st but forgot to move it to my external SD Doh!
So that went wrong and now I'm stuck in a boot loop with only the stock recovery screen. Need to install stock rom and adb not recognized. (Im sure ill figure that) but my main question is, is there some way to recover data from the internal "sd" memory?
I really appreciate any advice anyone can give
I am not sure if I understood your question.. if you have CWM then just access recovery mode and you will have an option to mount the SD and you will be able to access all your files via USB from your PC
?
I don't have cwm . Like I said I only have the stock recovery screens I.e factory reset and download mode.
Do a factory reset, it won't erase your data.
Not sure that would work. It says wipe user data and factory reset so surely it would wipe my data. Plus I don't think that'll work anyway as I changed a file which caused the boot loop so I don't think a factory reset will fix that file.
Androboyben said:
Not sure that would work. It says wipe user data and factory reset so surely it would wipe my data. Plus I don't think that'll work anyway as I changed a file which caused the boot loop so I don't think a factory reset will fix that file.
Click to expand...
Click to collapse
what info are you trying to get off the device? the sms etc are stored on your data and will be wiped by a reinstall/factory reset
anything on the usb side for storage will not get touched
Factory reset wont clear anything on the internal_sd
thank you.....but
thanks for the replies peeps ill trust your knowledge (and have pressed the thanks button )
got a day off tomorrow so gonna try and get it up and running again,
Question though, being as i buggered up the stock rom wont flashing the new rom (when i figure out how) delete internal data either.
the reason im being carefull is i did some awesome illustrations (imo) for a childrens book im writing so hoping to save those.
Androboyben said:
thanks for the replies peeps ill trust your knowledge (and have pressed the thanks button )
got a day off tomorrow so gonna try and get it up and running again,
Question though, being as i buggered up the stock rom wont flashing the new rom (when i figure out how) delete internal data either.
the reason im being carefull is i did some awesome illustrations (imo) for a childrens book im writing so hoping to save those.
Click to expand...
Click to collapse
it depends on if you use a wipe or non wipe rom, a non wipe wil lkeep qall the data stored on the android system intact but you might get bootloops if it doesnt replace the file you say you deleted
took the plunge......alls good
Richy99 said:
it depends on if you use a wipe or non wipe rom, a non wipe wil lkeep qall the data stored on the android system intact but you might get bootloops if it doesnt replace the file you say you deleted
Click to expand...
Click to collapse
Thanks Richy99, i took the plunge and followed nasgilani's guide to installing stock rom, i was supprised when it completed that even my home screens etc were as they were before (appart from widgets being blank) and glad to see "as you all said" my data intact.
i shall be more cautious before i start messing with mods next time
basically internal usb storage of 11gb will never be touched when you factory reset nor wil lanything on an external sd card
the only thing that gets wiped is the 1gb internal space for the rom and data on that partition such as sms/email etc
I know this is an old topic but I noticed it wasn't exactly answered.. I'm trying to send mine back to the factory for warranty because the power button no longer functions. I have the stock rom and recovery and I'm stuck in boot loop because I can't execute factory wipe with the power button. I'd like to pull my data off of the internal SD but am unable to fix the bootloop without forcing the wipe.
I know metter is over now, it was just ur worrying, otherwise wiping cache,wiping data from recovery , flashing stock rom (wipe/non wipe) nothing.will erase data on internal memory.
Just for knowledge
aroma file manager is available, which works from recovery, it can work even you device stucked, unable to boot..
Edit ; sometime you feel ashamed, just come to know this is 6month old topic
Sent from my GT-N7000 using xda premium

[Q] Warning TWRP factory reset will wipe your internal memory(Music, backups, photos)

I loved TWRP recovery, but then I did a factory reset. TWRP completely wiped my phone beyond what was needed and no I did not do a custom reset but the default one. I have a nexus 4 and the reset wiped all my data. Music, photos(even the nandroid backup that TWRP created!) CMW does NOT clean the internal data such as music and other folder, it leaves them. Why TWRP wipes it all is beyond me. Thank you for this great custom recovery however I lost a lot of data that cannot be ever replaced and lost hours and hours of time restoring everything since Titanium backups were deleted. This should not have happened. Have others experienced the same?
You probably selected internal memory by accident, I dont recognize the problem.
21plays said:
I loved TWRP recovery, but then I did a factory reset. TWRP completely wiped my phone beyond what was needed and no I did not do a custom reset but the default one. I have a nexus 4 and the reset wiped all my data. Music, photos(even the nandroid backup that TWRP created!) CMW does NOT clean the internal data such as music and other folder, it leaves them. Why TWRP wipes it all is beyond me. Thank you for this great custom recovery however I lost a lot of data that cannot be ever replaced and lost hours and hours of time restoring everything since Titanium backups were deleted. This should not have happened. Have others experienced the same?
Click to expand...
Click to collapse
Choose "advanced wipe" then exactly which partition to wipe
Sent from my Nexus 4 using xda app-developers app
MasterLinuxer said:
Choose "advanced wipe" then exactly which partition to wipe
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
First of all, I checked out their site and here is why I shouldn't have to do that. When reading this http://teamw.in/whattowipe Notice the quoted "These options are there for convenience. For instance, if you're getting ready to sell your device, then it's a good idea to wipe everything on the device so that the new owner doesn't get your private data."
I'm just saying that the standard wipe that TWRP provides should not delete my internal mem.
21plays said:
First of all, I checked out their site and here is why I shouldn't have to do that. When reading this http://teamw.in/whattowipe Notice the quoted "These options are there for convenience. For instance, if you're getting ready to sell your device, then it's a good idea to wipe everything on the device so that the new owner doesn't get your private data."
I'm just saying that the standard wipe that TWRP provides should not delete my internal mem.
Click to expand...
Click to collapse
I do it all the time. The "standard wipe" has never wiped my internal memory. In fact, they've made it more difficult to accidentally wipe it than it used to be.
How come mine deletes
estallings15 said:
I do it all the time. The "standard wipe" has never wiped my internal memory. In fact, they've made it more difficult to accidentally wipe it than it used to be.
Click to expand...
Click to collapse
Weird! Btw, when I do a standard wipe, it even gives me a warning of deleting something and blah(dont remember) Do you get that warning too?
21plays said:
Weird! Btw, when I do a standard wipe, it even gives me a warning of deleting something and blah(dont remember) Do you get that warning too?
Click to expand...
Click to collapse
I believe so. Should be a standard confirmation message.
When I factory reset via TWRP my internal storage does not get wiped.
Sent from my Nexus 4 using Tapatalk 4
Have done a factory reset three times last week through TWRP 2.6.0.0 and it always left /data/media alone. Maybe you accidentally toggled a full wipe?
Salty Wagyu said:
Have done a factory reset three times last week through TWRP 2.6.0.0 and it always left /data/media alone. Maybe you accidentally toggled a full wipe?
Click to expand...
Click to collapse
Maybe, but i'm sure i just used the default wipe. Either way I am using CWM touch and dont have to worry about that. Thank you all for your support)
Just wiped my phone last night to install Paranoids latest. Using latest TWRP I selected wipe, it stated that it was a factory reset and showed everything that would be touched, afterwards I booted up and restored 5 different backups all from my internal storage so it didn't wipe it lol
You sure you selected the right thing?
Sent from my Nexus 4 using xda app-developers app
Well, I guess I did something wrong and it cost me big time. Maybe I will give TWRP another try, some other time, will definitely back everything to my pc or DB before I do
Thanks to all who replied
Sent from my Nexus 4 using xda app-developers app
I have the same problem with TWRP
I did a factory reset and it deleted my backup created with TWRP as well as the ROM I was about to flash along with everything else in the "virtual SD card". Maybe I am missing something since I am new to phones without an SD card.
No, I think you either did a Format DATA (which explain what it is and force you to type "yes" to continue) or you went in advance wipe and selected the Internal Storage to wipe. Factory Reset does not delete the internal memory.
eksasol said:
No, I think you either did a Format DATA (which explain what it is and force you to type "yes" to continue) or you went in advance wipe and selected the Internal Storage to wipe. Factory Reset does not delete the internal memory.
Click to expand...
Click to collapse
You have no idea how much I love you and how stupid I feel right now. For some reason I wasn't seeing the swipe to factory reset and you made me realize that. Thanks for helping a noob.
I accidentally formatted my internal storage a before using Advance Wipe, I think they made it too easy to accidentally check the Internal Storage box. It usually goes something like this: F#$%@#$^@$#%^#$%@#%@#%!!!!!!
I also have wiped my entire phone, how on earth do i get it back online to install OS again?
CWM is better i think.
21plays said:
I loved TWRP recovery, but then I did a factory reset. TWRP completely wiped my phone beyond what was needed and no I did not do a custom reset but the default one. I have a nexus 4 and the reset wiped all my data. Music, photos(even the nandroid backup that TWRP created!) CMW does NOT clean the internal data such as music and other folder, it leaves them. Why TWRP wipes it all is beyond me. Thank you for this great custom recovery however I lost a lot of data that cannot be ever replaced and lost hours and hours of time restoring everything since Titanium backups were deleted. This should not have happened. Have others experienced the same?
Click to expand...
Click to collapse
Yeah Man Happened to me too just now. Cryiing. Literally crying all my media gone awayyy.
I liked twrp more but now
I think cwm is better than twrp because of this format it did to me.
Cwm was good but it has not been updated for quite some time" while twrp continues to improve imho.
Well even i prefer cwm or philz from cm11 but people still love twrp.
Sent from my MotoG3 using Tapatalk

[Q]WhatsApp not sending/receiving media

Hello everyone. I've tried really hard to DO NOT create this thread. As it happens I have used all I know (which isnt much) to try to fix this problem but got no success.
So I've got a S4 GT-I9505. I've recently decided to root it mainly because I wanted full External SD-card access to some apps. Here are some facts about my rooting:
- I used TWRP;
- I used SuperSU;
- I kept the stock ROM. I personally dont have anything to complain about it so I didnt install any custom ROMs.
- I had a problem with Knox afterwards, the phone was rebooting and freezing. I made a backup on Titanium and then uninstalled every Knox-related app.
- The system worked nicely for days.
Then I decided to clean some garbage that I knew was present in my device, like ghost folders and foster files and such.
- I installed SD-Maid and Clean Master.
- On the same day, I switched my SIM card because of some personal issues. I'm brazilian but now living in Deutschland. The change of SIM cards (if it matters) was as follows: bought the phone > inserted brazilian SIM > inserted deutsch SIM > inserted brazilian SIM (due to a personal problem) > back to deutsch SIM. I'm telling you this because I'm not sure of how relevant it is. Just trying to give as much info as possible.
- I cleaned some **** with SD-Maid AND Clean Master.
What happened next:
- WhatsApp was broken. I couldnt receive any media (voice recordings, videos, images, nothing at all).
- I tried re-installing the App
- I tried to restore my WhatsApp backup from Titanium. No success*.
- I tried to restore my backup from TWRD. No success.
- I tried to change WhatsApp folder (on data/media) permissions to r-r-r---- and then back to 00775. No success.
- I tried re-registering my phone to whatsapp network. No success.
- I tried deleting whatsapp folder on data/media (WhatsApp FAQ recomendation). Thats when WhatsApp stopped also SENDING media. I couldnt simply send or receive through the app.
- I tried re-creating the WhatsApp media folder on data. No success.
- I tried a factory reset followed by a TWRD backup restoration. WhatsApp was once again SENDING, but NOT RECEIVING media. When my phone finished booting and the launcher loaded, I was immediately prompted by a WhatsApp message saying something like "Conection failed! Please verify your phone number. WhatsApp can only be installed in one device per phone-number" even though everything else internet-related was working just fine.
(* when I say NO SUCCESS, I refer to the fact that WhatsApp still not receiving/sending media, not that I failed to implement that given fix)
Now, when I wiped my phone to factory defaults, I noticed that in TWRD prompt it said something like "Wiping Data, EXCEPT data/media". My knowledge of the subject isnt great but I think it might be something with this folder.
Any thoughts?
Thank you very much in advance!
Do nothing. Delete your account from whatsapp and recreate it with the number you wish to use
My whatsapp works fine with a different no. And has a diff sim for calling.
Maybe to much of backup.. restore...bla bla..made it crash.
Press Thanks if I helped
Sent from my Samsung Galaxy S4 via XDA app.
Venorian said:
- I tried re-registering my phone to whatsapp network. No success.
Click to expand...
Click to collapse
DeepankarS said:
Do nothing. Delete your account from whatsapp and recreate it with the number you wish to use
My whatsapp works fine with a different no. And has a diff sim for calling.
Maybe to much of backup.. restore...bla bla..made it crash.
Press Thanks if I helped
Sent from my Samsung Galaxy S4 via XDA app.
Click to expand...
Click to collapse
It was not very clear in my post, indeed, but yes I have tried that as well. Thanks for trying!
I would just take the shortcut.
- Backup the apps you want to backup with Titanium.
- Make a backup of Whatsapp from within the app.
- Wipe from TWRP recovery (I assume that's what you mean by TWRD). Use the option prepare for rom flash (don't know the excact words, but you understand when you see the option).
- Reflash the rom you are currently on with Odin (or flash a custom rom).
You can also just skip the wiping part and just flash the rom with Odin again. I always like to start from scratch if something goes wrong, but it should probably work without the wipe.
Then restore the apps you want to restore. Whatsapp should probably be working now.
You can spend many more hours finding a solution, but my guess is that SD-maid or Clean Master deleted something it should not have. Always be carefull with those kind of apps. I don't really like those apps because the benefit you get from them is limited.
GOT A FIX!
After 2 days of hitting my head on the wall with this, I came up with a solution.
My girlfriend has the exact same phone as me (though I think any rooted android with WhatsApp installed would do).
I entered her data/media/whatsapp folder and created all the folders that were missing on my own folder (deleted by CleanMaster just for being empty). Then I gave all the folders the exact same permissions (rwxrwx--x or 0775) as my girlfriend's device and voila! It's working perfectly!
Now just for future reference and to feed my curiosity: why does factory reset through TWRP do not also wipe data/media? If this folder were wiped, I would get a fresh WhatsApp install and the problem would have been gone sooner. I kinda dont understand the folders' structure in my phone. Sometimes it looks like I can get to the same very place using diferent paths (like /data/ OR /emulated/ OR /0/ OR /sdcard/).
Anyway, thanks people! Though I figured it all by myself, this forum still rocks!
Venorian said:
GOT A FIX!
After 2 days of hitting my head on the wall with this, I came up with a solution.
My girlfriend has the exact same phone as me (though I think any rooted android with WhatsApp installed would do).
I entered her data/media/whatsapp folder and created all the folders that were missing on my own folder (deleted by CleanMaster just for being empty). Then I gave all the folders the exact same permissions (rwxrwx--x or 0775) as my girlfriend's device and voila! It's working perfectly!
Now just for future reference and to feed my curiosity: why does factory reset through TWRP do not also wipe data/media? If this folder were wiped, I would get a fresh WhatsApp install and the problem would have been gone sooner. I kinda dont understand the folders' structure in my phone. Sometimes it looks like I can get to the same very place using diferent paths (like /data/ OR /emulated/ OR /0/ OR /sdcard/).
Anyway, thanks people! Though I figured it all by myself, this forum still rocks!
Click to expand...
Click to collapse
Good that you found a solution.
It would be bad thing if the custom recovery would standard wipe data/media because that would wipe your entire internal sd. People that flash roms don't want that to happen. You can still wipe it from the recovery, it's just in a different place then the standard wiping.
Lennyz1988 said:
Good that you found a solution.
It would be bad thing if the custom recovery would standard wipe data/media because that would wipe your entire internal sd. People that flash roms don't want that to happen. You can still wipe it from the recovery, it's just in a different place then the standard wiping.
Click to expand...
Click to collapse
So basically its just a matter of keeping your apps and app data? Not something system-damaging or system-related at all?
And thanks for your answer!
Venorian said:
So basically its just a matter of keeping your apps and app data? Not something system-damaging or system-related at all?
And thanks for your answer!
Click to expand...
Click to collapse
No your apps and data will be wiped. Basically every part that could interfere with a new rom is wiped. It's only the data on your internal storage that is kept. So apps (like Whatsapp) also write data to your internal storage and that won't get wiped.
/system
/data (excluded /data/media)
/cache
and a few more will be wiped.
(There are more parts that don't get wiped, but that are parts that neither an app or you will ever touch.)
Now the problem is back. I can't really understand what happened.
I rebooted my phone just to check if everything was OK and then to do a new backup in TWRP.
Checked WhatsApp and the problem was back. Then I went to see the files and some folders that I've just copied were gone! The WhatsApp main folder on data/media was still there, but some subfolders were simply missing. I also noticed that my copy of that folder on my External SD-card was also gone! Like WTH?!
Any help will be much appreciated.
P.S.: and to my happiness, copying the files once again (as I've done before) simply doesnt work. This is driving me crazy, seriously.
this happened to me once, and wasn't whatsapp only, the reason whatsapp wasn't being able to receive/send media files was because it somehow could not access the internal storage.. same with all my other apps, it happened when restoring a full rom backup with CWM.. and the only way i managed to fix it was to re-flash the stock rom with odin
-Ric- said:
this happened to me once, and wasn't whatsapp only, the reason whatsapp wasn't being able to receive/send media files was because it somehow could not access the internal storage.. same with all my other apps, it happened when restoring a full rom backup with CWM.. and the only way i managed to fix it was to re-flash the stock rom with odin
Click to expand...
Click to collapse
Not even a factory reset will do?
How do I find a stock ROM from Samsung (with 4.4.2) compatible with my S4 GT-I9505? Also: should I also wipe everything or simply flash the rom without doing anything else?
Now that you said, I also noticed that one of my favorite games (Mushroom Wars) has also stopped working. Might be that you're right!
Venorian said:
Not even a factory reset will do?
How do I find a stock ROM from Samsung (with 4.4.2) compatible with my S4 GT-I9505? Also: should I also wipe everything or simply flash the rom without doing anything else?
Now that you said, I also noticed that one of my favorite games (Mushroom Wars) has also stopped working. Might be that you're right!
Click to expand...
Click to collapse
Do as I suggested. Start from a blank sheet and stay away from those rom cleaners for now.
You could just take a clean custom rom, then you don't have to worry about deleting those knox stuff and rerooting again.
Venorian said:
Not even a factory reset will do?
How do I find a stock ROM from Samsung (with 4.4.2) compatible with my S4 GT-I9505? Also: should I also wipe everything or simply flash the rom without doing anything else?
Now that you said, I also noticed that one of my favorite games (Mushroom Wars) has also stopped working. Might be that you're right!
Click to expand...
Click to collapse
i honestly didn't attempt a factory reset because i wanted to keep all my stuff, so i just flashed the stock rom on odin and everything worked out fine, was the only way i was able to fix it
-Ric- said:
i honestly didn't attempt a factory reset because i wanted to keep all my stuff, so i just flashed the stock rom on odin and everything worked out fine, was the only way i was able to fix it
Click to expand...
Click to collapse
By doing this I'll have to reroot, right? Do you think it is a problem if I recover my backup from TWRP after flashing the stock rom?
Dont wanna go through the configs and app installing all over again.
Venorian said:
By doing this I'll have to reroot, right? Do you think it is a problem if I recover my backup from TWRP after flashing the stock rom?
Dont wanna go through the configs and app installing all over again.
Click to expand...
Click to collapse
you don't need to re-configure or recover a backup, if you flash the same stock on odin as you already had running, without wiping, it should work right away, without any issues and without any need for a wipe or a restore, you will have to re-root though, yes.
-Ric- said:
you don't need to re-configure or recover a backup, if you flash the same stock on odin as you already had running, without wiping, it should work right away, without any issues and without any need for a wipe or a restore, you will have to re-root though, yes.
Click to expand...
Click to collapse
Here is your stock firmware: http://www.sammobile.com/firmwares/3/?download=33568
Tkkg1994 said:
Here is your stock firmware: http://www.sammobile.com/firmwares/3/?download=33568
Click to expand...
Click to collapse
This is for switzerland, isnt it? A Brazilian version would be most welcome! I'm currently downloading one from this thread: http://forum.xda-developers.com/showthread.php?t=2265477
-Ric- said:
you don't need to re-configure or recover a backup, if you flash the same stock on odin as you already had running, without wiping, it should work right away, without any issues and without any need for a wipe or a restore, you will have to re-root though, yes.
Click to expand...
Click to collapse
Sure! Thank you for your help!
Just a side note: while downloading the stock rom, I found this and installed the given app (Folder Mount) just to check. As soon as I opened it, it pop'd a message saying that he identified a crucial problem with my /bin/sdcardwhatever file. So yes, I'm confident that your solution will be the one to fix my problem. Let's see...
Also thanks for Lennyz1988 for your suggestion. Your fix seems a little bit... harder?... for me, but if this one doesnt work I'll try yours and post the results. BTW, where do I find a clean custom ROM? Thank you!
Venorian said:
This is for switzerland, isnt it? A Brazilian version would be most welcome! I'm currently downloading one from this thread: http://forum.xda-developers.com/showthread.php?t=2265477
Sure! Thank you for your help!
Just a side note: while downloading the stock rom, I found this and installed the given app (Folder Mount) just to check. As soon as I opened it, it pop'd a message saying that he identified a crucial problem with my /bin/sdcardwhatever file. So yes, I'm confident that your solution will be the one to fix my problem. Let's see...
Also thanks for Lennyz1988 for your suggestion. Your fix seems a little bit... harder?... for me, but if this one doesnt work I'll try yours and post the results. BTW, where do I find a clean custom ROM? Thank you!
Click to expand...
Click to collapse
Cause you want a Brazil version, here you go : http://www.sammobile.com/firmwares/3/?download=31097
Lennyz1988 said:
I would just take the shortcut.
- Backup the apps you want to backup with Titanium.
- Make a backup of Whatsapp from within the app.
- Wipe from TWRP recovery (I assume that's what you mean by TWRD). Use the option prepare for rom flash (don't know the excact words, but you understand when you see the option).
- Reflash the rom you are currently on with Odin (or flash a custom rom).
You can also just skip the wiping part and just flash the rom with Odin again. I always like to start from scratch if something goes wrong, but it should probably work without the wipe.
Then restore the apps you want to restore. Whatsapp should probably be working now.
You can spend many more hours finding a solution, but my guess is that SD-maid or Clean Master deleted something it should not have. Always be carefull with those kind of apps. I don't really like those apps because the benefit you get from them is limited.
Click to expand...
Click to collapse
-Ric- said:
this happened to me once, and wasn't whatsapp only, the reason whatsapp wasn't being able to receive/send media files was because it somehow could not access the internal storage.. same with all my other apps, it happened when restoring a full rom backup with CWM.. and the only way i managed to fix it was to re-flash the stock rom with odin
Click to expand...
Click to collapse
I just realized both solutions are the same, LOL.
ODIN just finished flashing the stock rom. Will update soon with the preliminary results.
Apparently it did NOT work. Not completely at least.
WhatsApp is now once again making voice recordings and receiving them as well, but is not handling any other kind of media. Mushroom Wars (the game I talked about earlier) is also not loading.
The system looks just it was before, only without root (I know that was expected).
Don't know what to do now.
Just one more question: how much of a problem is it restoring a backup using TWRP? I mean, in a scenario in which I get this problem fixed, I couldnt simply restore any backup due to the possibility of screwing my internal storage thing all over again?

Running out of storage space, but totals are wrong!

I updated my Nexus 4 to LMY 48T yesterday and noticed that my storage space is all screwed up. The totals of all my storage come to about 5GB total according to all the internal storage added up. So I am somehow missing approx 8GB of storage space that is not accounted for. I downgraded to LMY 48M to see if the new update had a bug. Nothing!! Somehow my phone has burned 8GB of space. How do I get this back to what it is supposed to read.??? I tried wiping the cache partition, no good. I am fresh out of ideas.
This is a common issue you need to reflash the factory images and it will be fixed.
Sent from my Nexus 4 using Tapatalk
iSn0w32 said:
This is a common issue you need to reflash the factory images and it will be fixed.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Not only did I reflash the same factory image 3 times I even rolled back to an earlier image. It still says I only have 1 . 2GB of storage space available, but when you total up everything you come to maybe 4 or 5 GB used and there is 8 GB missing. I used Wugs Toolkit to root and flash images. The only thing I haven't done is to do a complete factory reset.
http://forum.xda-developers.com/nexus-4/general/how-to-fix-internal-storage-16gb-8gb-t2033692
You should really learn the art of SEARCHING. You would have spent less time looking for the answer than you did typing this post!
hp420 said:
http://forum.xda-developers.com/nexus-4/general/how-to-fix-internal-storage-16gb-8gb-t2033692
You should really learn the art of SEARCHING. You would have spent less time looking for the answer than you did typing this post!
Click to expand...
Click to collapse
The art of the search set aside, are you directing me to do a factory reset, period to get my storage space back, because I am trying to avoid a total factory reset at all costs. I was using Wugs Toolkit to flash the updates using the "No Wipe" mode. Maybe it won't work without doing the complete factory reset, but as I said I was trying to get my space back without using the most drastic measures. I booted into recovery and used the cache partition wipe hoping that might work, not to mention using GOOGLE to look up about 25 methods that all said the same thing, some easy some a little more complex, but they all come back to a " Complete Factory Reset" . Anyway, unless I'm not reading your post right thanks for your thoughts.
randyboy99 said:
The art of the search set aside, are you directing me to do a factory reset, period to get my storage space back, because I am trying to avoid a total factory reset at all costs. I was using Wugs Toolkit to flash the updates using the "No Wipe" mode. Maybe it won't work without doing the complete factory reset, but as I said I was trying to get my space back without using the most drastic measures. I booted into recovery and used the cache partition wipe hoping that might work, not to mention using GOOGLE to look up about 25 methods that all said the same thing, some easy some a little more complex, but they all come back to a " Complete Factory Reset" . Anyway, unless I'm not reading your post right thanks for your thoughts.
Click to expand...
Click to collapse
I linked you there because that is THE option...there is no alternative. Copy your files, run a nandroid and copy it to your computer, then settle in for a factory reset.
I have to do it every single time I flash an Ubuntu or Mozilla rom, and even some factory images. I've been doing it for a LONG TIME...trust me when I tell you this: there is no alternative.
There is one good piece of news, though...when you restore that nandroid your storage will be right, as long as you follow the guide correctly
Also, factory reset from stock recovery isn't 100%....erasing every single partition and reflashing from fastboot is.

TWRP not decrypting my data

Hello guys,
I ran the latest oxygen OS and TWRP recovery. Today I saw that the new official Oreo OTA is out so I downloaded the full zip and tried to dirty flash it in TWRP. It did not work out and i got an error, and people suggested to use twrp blu_spark for flashing the oreo build.
So I flashed twrp blu_spark in fastboot, booted into recovery and installed the oreo zip. Before I did that, TWRP always asked to type in my password to decrypt the files.
After flashing oreo my phone wouldn't boot into Android, it just stayed at a black screen while the LED was shining. I realized I had to **** up somewhere so I booted back into recovery, but TWRP doesn't ask for my password to decrypt my data and now everything in my internal storage has weird file names (which I suppose come from the decryption) and I don't know how I can decrypt my data again. I also flashed the normal TWRP but it didn't ask to decrypt my data either.
Can somebody please help me? I can't do anything at all at the moment and I don't want to wipe my system as I unfortunately don't have a backup (I have one, but that's a TWRP backup and in internal storage which is encrypted...).
Thank you so much in advance, you are my last hope
I think my problem is that I don't have a PIN setup in android, because it's actually bricked (had to flash the wrong oreo probably or so). Do you think TWRP will ask for a password again if I somehow manage to install the old oxygen os and setup a lock screen PIN again?
Same Issue here... Searching for a solution
I ended up wiping everything except internal storage. I then pushed the old oxygen os to the internal directory and flashed it (in hope it wouldn't change anything in my internal storage/sd card). Looks like I was wrong. After flashing it also apparently wiped my complete internal /sdcard.
All data gone. Nothing I can do now anyway. If somebody would have known a better way to decrypt my data again with a broken android, feel free to comment - feeling really bad now, so many photos etc. on it. At least learned my lession to always take a back up, but normally I'm super careful and not flashing anything that would wipe/brick something on my device. This freaking oreo update is making me crazy.
Sieth said:
Same Issue here... Searching for a solution
Click to expand...
Click to collapse
If you have broken your android/system like I (it didn't want to boot into the system anymore after flashing) I think there's almost no chance. Atleast my device is clean now and I can't do anything at all and my data is forever gone now. But I learned my lesson and you probably too - always take a backup.
I mean okay, after I thought about it it's not too bad as I didn't have a lot of important photos on it and I fortunately backed up my whatsapp to google drive before playing around so yeah, atleast a clean device now and will look for a nice oreo ROM.
If you think you can find a solution good luck, but I think the only way to get TWRP to decrypt the internal storage partition again is to set up the display lock in your ROM again - and if you have a bricked ROM and flashing a new one it will wipe /sdcard completely like in my case...
test it this twrp
https://androidfilehost.com/?fid=745849072291696652
jahidinbedod said:
test it this twrp
https://androidfilehost.com/?fid=745849072291696652
Click to expand...
Click to collapse
sorry, too late, wiped it already. why should this twrp work? I tried normal one and blu_spark, none of them asked me to decrypt my data.
jahidinbedod said:
test it this twrp
https://androidfilehost.com/?fid=745849072291696652
Click to expand...
Click to collapse
Done and nothing happened, still not asking me to enter a pattern\pin. Is there a way to force it? maybe a line or a terminal code? I remember my pattern ofc
Vanniman said:
Done and nothing happened, still not asking me to enter a pattern\pin. Is there a way to force it? maybe a line or a terminal code? I remember my pattern ofc
Click to expand...
Click to collapse
I don't think there's much chance. I was able to see all those weird filenames in internal storage when connected to my PC, but I could not copy or change files to internal storage. If this would have worked, there might be a chance to decrypt the data manually on your PC if you find how to do it/if it's even possible.
I seriously think there's no good solution for our problem. :/
Michael1200 said:
I don't think there's much chance. I was able to see all those weird filenames in internal storage when connected to my PC, but I could not copy or change files to internal storage. If this would have worked, there might be a chance to decrypt the data manually on your PC if you find how to do it/if it's even possible.
I seriously think there's no good solution for our problem. :/
Click to expand...
Click to collapse
All deleted now... I know that feel
So I wiped the whole device. Adb sideloaded the new rom. Working flawless.
Now installed Magisk 14.0 and device stuck at boot with blue light.
So the rooting is to blame... (In my case...)
So I adbd again the rom.zip and got it working again. But no root for now
Update: flashed Magisk beta v14.6 (1468) and now ist's working.
Vanniman said:
All deleted now... I know that feel
Click to expand...
Click to collapse
RIP our data.. :/ atleast starting with a super clean device now. lesson learned ^^
Hi all.
i was in the same boat as all of you. screwed up somewhere and then lost everything and did a side load. but now the problem is whenever i boot with twrp it still keeps showing my internal storage as 0. so am not able to root it. how do i go about solving this?
---------- Post added at 07:54 PM ---------- Previous post was at 07:54 PM ----------
Sieth said:
So I wiped the whole device. Adb sideloaded the new rom. Working flawless.
Now installed Magisk 14.0 and device stuck at boot with blue light.
So the rooting is to blame... (In my case...)
So I adbd again the rom.zip and got it working again. But no root for now
Update: flashed Magisk beta v14.6 (1468) and now ist's working.
Click to expand...
Click to collapse
How did you flash magisk beta? in my case twrp says that my internal storage is 0
What I did was format not wipe.
ADB sideload rom.zip
Install latest beta from magisk.
So now I have a clean device with working root
Sieth said:
What I did was format not wipe.
ADB sideload rom.zip
Install latest beta from magisk.
So now I have a clean device with working root
Click to expand...
Click to collapse
Nice, data lost as in my case but clean device is great too atleast. ^^
f***, same happenned to me. I did a back-up with twrp before but i left it in my internal memory.
I do have a month old back up on my laptop. How can i push this over to the phone? Can i restore a backup from bootloader ??
I gotta try everything to save my data, too many important things for work on there. I was too ****ing eager to get oreo
I've done the exact same thing. Problem now is that TWRP isn't seeing anything on the phone, there is nothing there. So I can't root with Magisk or install custom recovery.
Edit...had to use blu_spark twrp instead
Bigred065 said:
f***, same happenned to me. I did a back-up with twrp before but i left it in my internal memory.
I do have a month old back up on my laptop. How can i push this over to the phone? Can i restore a backup from bootloader ??
I gotta try everything to save my data, too many important things for work on there. I was too ****ing eager to get oreo
Click to expand...
Click to collapse
Not much chance to get back the data if you can't boot into android at all. You can wipe everything completely and then copy your old backup to your internal storage which will work again once wiped/decrypted. I haven't found a solution to save the data without wiping, I tried different twrp versions like the normal one or blu_spark but none asked to decrypt data and in my internal storage my files were left all encrypted with those weird long file names.
Are you trying to say that all my data is lost even tho I know decryption key? All I did was update to Android O and I had backup and TWRP is showing that my internal storage is full but the files are all encrypted it wont ask me for decryption key. What can I do
SPyxOff said:
Are you trying to say that all my data is lost even tho I know decryption key? All I did was update to Android O and I had backup and TWRP is showing that my internal storage is full but the files are all encrypted it wont ask me for decryption key. What can I do
Click to expand...
Click to collapse
Exactly. That's the weird problem. If I'm right we had to **** up something badly so that TWRP doesn't even know that our internal storage is encrypted and displaying the (encrypted) files just how they are. The problem in my case was that I couldn't even copy the encrypted files from internal storage to my PC or moving files from my PC to my device. The whole partition was just locked, I couldn't do anything on it, neither adb push or whatever else. Tried different TWRP versions but none asked me to decrypt.
I think the mistake is that if you install a new OS version which is somehow not backward/dirty flash compatible (like in my case the new oreo update) your pin/pattern will get deleted and because of that TWRP does not ask you to decrypt as the ROM is telling that you don't have a password set up! But the problem is when you install a new ROM, it wipes /sdcard so the data is lost if you don't find a way to somehow decrypt your internal storage. :/
Really bad to know you can't do anything at all even tho you know your decryption key - I hope someone finds a solution. I for myself wiped because I don't have so much time to look for a solution.

Categories

Resources