Upgraded CM and now cannot access encrypted internal SDCardo - Galaxy S II Q&A, Help & Troubleshooting

Hi there,
First of all, I know that part of this mess was my fault. I had been using CM 10.1 on my Galaxy S2 for quite a while (since 2013, IIRC), but yesterday I decided to upgrade it to CM 12.1. The "CM Updater" app was not working so I decided to just download the .zip file, reboot into recovery mode and flash things from there. I managed to enter the recovery mode, but when I tried to flash the new CM I noticed I couldn't see the .zip file on my internal SDCard... Hmm, this was because my phone was encrypted (including my internal SDCard, of course). So I went back to my browser and did more research. I found a guy saying that, if your phone was encrypted, you could flash your device using the sideload mechanism *or* an external SDCard. Since I have an external SDCard, I chose this option.
Well, it doesn't much to figure out that things went bad. The main partition was overwritten during the installation and I've lost all encryption. However, that's not the worst part: I've also lost access to my internal SDCard! Now I cannot even make Android ask for its password. I really don't know what to do here. I've lost access to photos and videos from years ago. If I am correct, the upgrade process *did not* touch the internal SDCard at all; so my data is still there. Am I right? Do you guys think it's still possible to access it? I spent several hours trying to figure this out without success, so I decided to post my question here before I give up and reformat the internal SDCard.
Thank you in advance!

I am curious, how you manged to encrypt sdcard0 at all.
Never figured out how to do this on CM.
Nevertheless, I guess, Terminal/ADB might be the only option to decrypt and mount that partition. Unfortunately I don't know the commands on Android (on Linux it's cryptsetup).

Related

[CLOSED]Format data/media (sdcard internal memory)

I apologize if this has been answered somewhere else here before. I have been searching for days and have not found the full answers to my questions anywhere.
Recently I updated my GT-P7510 CM9 to an experimental CM10 from by pershoot. After getting it up and running I was looking at my internal storage usage and numbers didn't seem to add up (must have done a dirty flash at some point in the past to cause this). My internal storage in root explorer showed 8.93gb in use and 28.01 total storage. I copied everything to a USB drive to back it up and noticed there was only 7.45gb actually on the internal storage. I have seen this problem before on my S2, and I always just reformat the internal SD card (emmc) to regain the missing space. However, since the tab does not have a micro SD slot, I have no way of wiping the internal sdcard (data/media) without wiping out the rom too from how I understand it. Somebody correct me if I am wrong...
So, does anybody know of a way to successfully wipe/format the sdcard (data/media directory) in CWM or other method that will not wipe out the rom and send the device straight to cwm with no way to install a new rom? Or do I have to revert back to stock to accomplish the format of sdcard like I have read for a few other similar situations? Everything works fine (CM10 & CM9 both run awesome), I just want that extra 1.48gb of missing/phantom storage back. And, without mass storage mode, I cannot perform a disk check in win7. This has really got me frustrated to find a solution without having to start over. I wish this tab had a micro SD slot!
Currently I am running CM9 nightlies (7-31) for p4wifi (gt-p7510). My cwm recovery is version 6.0.1.0. Any help is greatly appreciated, and I do apologize if this has been covered before. Thanks in advance to those of you smarter than I.
Click to expand...
Click to collapse
Ok, I seemed to have figured this one out and now feel pretty stupid for not digging a bit further before asking.
After I decided to go ahead with the sdcard format using CWM, I noticed that the space was still being used somewhere. After I started to dig a bit, I noticed that all of my apps still worked after the format. Basically, the extra space is being consumed by the /data/app folder housing all user apps. CWM must be designed to ignore this directory when formatting the internal sdcard which is why there was still some storage being used.
I feel like an ubernoob for asking this, but my S2's internal sdcard is not mapped to data/media, so I had to learn a bit better about how this thing works I suppose. Anyways, I hope this information can be useful to someone out there having similar questions.
bkress said:
I apologize if this has been answered somewhere else here before. I have been searching for days and have not found the full answers to my questions anywhere.
Recently I updated my GT-P7510 CM9 to an experimental CM10 from by pershoot. After getting it up and running I was looking at my internal storage usage and numbers didn't seem to add up (must have done a dirty flash at some point in the past to cause this). My internal storage in root explorer showed 8.93gb in use and 28.01 total storage. I copied everything to a USB drive to back it up and noticed there was only 7.45gb actually on the internal storage. I have seen this problem before on my S2, and I always just reformat the internal SD card (emmc) to regain the missing space. However, since the tab does not have a micro SD slot, I have no way of wiping the internal sdcard (data/media) without wiping out the rom too from how I understand it. Somebody correct me if I am wrong...
So, does anybody know of a way to successfully wipe/format the sdcard (data/media directory) in CWM or other method that will not wipe out the rom and send the device straight to cwm with no way to install a new rom? Or do I have to revert back to stock to accomplish the format of sdcard like I have read for a few other similar situations? Everything works fine (CM10 & CM9 both run awesome), I just want that extra 1.48gb of missing/phantom storage back. And, without mass storage mode, I cannot perform a disk check in win7. This has really got me frustrated to find a solution without having to start over. I wish this tab had a micro SD slot!
Currently I am running CM9 nightlies (7-31) for p4wifi (gt-p7510). My cwm recovery is version 6.0.1.0. Any help is greatly appreciated, and I do apologize if this has been covered before. Thanks in advance to those of you smarter than I.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1804824 Here's a topic about same problem,could say,U'll finde in replays all the information u need!
Vinchenzo13 said:
http://forum.xda-developers.com/showthread.php?t=1804824 Here's a topic about same problem,could say,U'll finde in replays all the information u need!
Click to expand...
Click to collapse
Although that is a similar problem, I asked if there is a way to fix it without going that route? I appreciate your reply, but I already knew it could be resolved by going back to stock (2nd paragraph of my post).
bkress said:
Although that is a similar problem, I asked if there is a way to fix it without going that route? I appreciate your reply, but I already knew it could be resolved by going back to stock (2nd paragraph of my post).
Click to expand...
Click to collapse
Ow sorry didnt notice few words,i think u could just flash a cwm via odin wich can wipe/reset all data if im not mistaking,
I'll chek this out is there any cwm'ds who can do that,coz i rememba reading one forum where guy was complaining that he did wipe and everything was formated!
Vinchenzo13 said:
Ow sorry didnt notice few words,i think u could just flash a cwm via odin wich can wipe/reset all data if im not mistaking,
I'll chek this out is there any cwm'ds who can do that,coz i rememba reading one forum where guy was complaining that he did wipe and everything was formated!
Click to expand...
Click to collapse
I can accomplish a full format of the internal sdcard on my galaxy s2 without it affecting the rom in any way whatsoever and it is running cwm 6.0.1.0 also. From how I understand it, the partitions are set up differently on the s2 and this device. The s2 has a separate partition for the internal sdcard making it possible to format via cwm. On this device, the sdcard is part of the data partition meaning wiping it will leave you with no rom installed and no storage on the sdcard. I think all versions of cwm can wipe the slate clean, it is just a matter of everything else being wiped clean also. But, if you are aware of a cwm that let's me accomplish this, I would love to find it. Thanks again.
galaxy s2
bkress said:
I can accomplish a full format of the internal sdcard on my galaxy s2 without it affecting the rom in any way whatsoever and it is running cwm 6.0.1.0 also. From how I understand it, the partitions are set up differently on the s2 and this device. The s2 has a separate partition for the internal sdcard making it possible to format via cwm. On this device, the sdcard is part of the data partition meaning wiping it will leave you with no rom installed and no storage on the sdcard. I think all versions of cwm can wipe the slate clean, it is just a matter of everything else being wiped clean also. But, if you are aware of a cwm that let's me accomplish this, I would love to find it. Thanks again.
Click to expand...
Click to collapse
I have the same issue .. I was manually formatted using my windows 7 laptop.. flash back to old stock samsung firmware.. still 4.11 GB internal USb storage instead of 11.8 GB.. Any help please..
I think it's possible with adb shell (the android sdk for Windows)
Have you seen that : http://forum.xda-developers.com/showthread.php?t=1003645
Sent with my GT-P7500 CM10

[Q] Soft Bricked Proscan PTL7035-PL

Hi all,
I bought a Proscan PTL7035-PL (preloaded with Android ICS 4.04) last Christmas. I rooted with a great success and have it running a full-fledged Google Play store. The only drawback is that all apps go to the internal sd which has only 2gb of storage space. I tried a couple of ways swapping the internal and external sds. None of them has worked. Then I followed one from http://forum.xda-developers.com/showthread.php?t=1991583. Basically by modifying the mount point of the internal flash and external sd as described in the file vold.fstab , the hope was to make the system use the big sd storage for apps and data storage etc.
Here is where my nightmare began. After reboot, my tablet stuck at the android logo and the booting never finished. I kind of know that my mounting points messed things up. The fix can be as easy as just restore the backup copy of vold.fstab which I have on the tablet. The problems are that:
1) There is no way to access the system folder of the android device now as the device itself cannot finish booting; and it can't communicate with a PC via USB.
2) Even if I can force it boot into the Android System Recovery 3e, it is not much a help as it needs a certified ROM or backup copy to recover. The official ROM is not out yet and I don't have a backup copy.
It looks like my device has been soft bricked. So how to pull it out?
Anyone ever solve this?
Android2013_ said:
Hi all,
I bought a Proscan PTL7035-PL (preloaded with Android ICS 4.04) last Christmas. I rooted with a great success and have it running a full-fledged Google Play store. The only drawback is that all apps go to the internal sd which has only 2gb of storage space. I tried a couple of ways swapping the internal and external sds. None of them has worked. Then I followed one from http://forum.xda-developers.com/showthread.php?t=1991583. Basically by modifying the mount point of the internal flash and external sd as described in the file vold.fstab , the hope was to make the system use the big sd storage for apps and data storage etc.
Here is where my nightmare began. After reboot, my tablet stuck at the android logo and the booting never finished. I kind of know that my mounting points messed things up. The fix can be as easy as just restore the backup copy of vold.fstab which I have on the tablet. The problems are that:
1) There is no way to access the system folder of the android device now as the device itself cannot finish booting; and it can't communicate with a PC via USB.
2) Even if I can force it boot into the Android System Recovery 3e, it is not much a help as it needs a certified ROM or backup copy to recover. The official ROM is not out yet and I don't have a backup copy.
It looks like my device has been soft bricked. So how to pull it out?
Click to expand...
Click to collapse
Long story short, similar issue. Has Rooted my 9 year olds Tablet, (Same as Op), and actually had it running great. Well, I was installing Gapps, via root explorer, and my Son was talking, and I forgot to Mount the System Folder that I was Replacing with the gapps one, R/W - it stayed R/O and never got replaced.
Thus the other 2 folders I changed to R/W are stuck that way. I think it was the entire Root Folder, and One more. I can elaborate.
Is there a way to fix this, as the tablet will not boot properly. (Hangs on Splash Screen), then if I attempt recovery, it gets stuck at the Android with the Red Triangle coming out of his belly, but no Menu Choices.
Anyone?

[Q] Phone wont boot and cant flash anything

Okay, this is quite a long story, so I apologise in advance.
I decided to update my Galaxy S2 today to a newer ROM (SuperNexus 2) with the latest version of Android. I was coming from a CM9 build. I went through the usual process of backing up data and performing a full NANDROID backup via CWM Recovery, booted the phone again and transferred the backups to my PC via USB. These files transferred fine.
I then downloaded the zip files for the new ROM and proceeded to copy them to the internal storage of my phone. The copy dialog in Windows said that it was "discovering items" and stayed like this until I turned off USB transfer mode on the phone and removed it (ie. the files failed to copy) This happened a number of times and I didn't get anywhere. I have plenty of space free on the SD card, but just to make sure I started the phone in CWM again and formatted the SD card, and since I was going to do it anyway, the data and cache partitions too. When I booted the phone again, the files still wouldn't copy. I managed to copy a text file to the phone which was about 32kb but anything larger just seemed to fail.
I then went back into CWM and decided to partition the SD card, as I thought that it may have been corrupted somehow and needed to rebuild the filesystem. This however, caused even more problems as trying to format the SD card (In CWM) now just reported "Error, can not mount E:/sdcard".
Feeling fairly frustrated, I decided to download the Stock ICS ROM for the Galaxy S2 and install it via Odin, thinking that the problem was probably with CWM. The install went fine, but upon reboot the phone just stayed on the boot animation, no matter how long I left it. To make sure the install went smoothly I decided to try and reinstall the Stock ROM via Odin again, but now Odin didnt seem to get past the "Initializing.." stage.
So all in all, I now have a phone which wont boot into Android, cant copy anything to internal storage, and Odin wont seem to connect to.
I am convinced this is a software issue and therefore fixable. But maybe the internal storage was not working correctly in the first place. I have installed many ROMs before and never had such issues.
Anyone know anything about this or how I could potentially fix it? Thanks so much in advance!
Benji1992 said:
Okay, this is quite a long story, so I apologise in advance.
I decided to update my Galaxy S2 today to a newer ROM (SuperNexus 2) with the latest version of Android. I was coming from a CM9 build. I went through the usual process of backing up data and performing a full NANDROID backup via CWM Recovery, booted the phone again and transferred the backups to my PC via USB. These files transferred fine.
I then downloaded the zip files for the new ROM and proceeded to copy them to the internal storage of my phone. The copy dialog in Windows said that it was "discovering items" and stayed like this until I turned off USB transfer mode on the phone and removed it (ie. the files failed to copy) This happened a number of times and I didn't get anywhere. I have plenty of space free on the SD card, but just to make sure I started the phone in CWM again and formatted the SD card, and since I was going to do it anyway, the data and cache partitions too. When I booted the phone again, the files still wouldn't copy. I managed to copy a text file to the phone which was about 32kb but anything larger just seemed to fail.
I then went back into CWM and decided to partition the SD card, as I thought that it may have been corrupted somehow and needed to rebuild the filesystem. This however, caused even more problems as trying to format the SD card (In CWM) now just reported "Error, can not mount E:/sdcard".
Feeling fairly frustrated, I decided to download the Stock ICS ROM for the Galaxy S2 and install it via Odin, thinking that the problem was probably with CWM. The install went fine, but upon reboot the phone just stayed on the boot animation, no matter how long I left it. To make sure the install went smoothly I decided to try and reinstall the Stock ROM via Odin again, but now Odin didnt seem to get past the "Initializing.." stage.
So all in all, I now have a phone which wont boot into Android, cant copy anything to internal storage, and Odin wont seem to connect to.
I am convinced this is a software issue and therefore fixable. But maybe the internal storage was not working correctly in the first place. I have installed many ROMs before and never had such issues.
Anyone know anything about this or how I could potentially fix it? Thanks so much in advance!
Click to expand...
Click to collapse
I9100?
Can get to DL mode?
Can get to recovery?
Get an older Odin version and flash siyah just to see if it can be flashed again.
If you can get to recovery, Nuke Script is the way to go.
It sounds to me that maybe your memory is corrupt...
Not just yet, smells like soft brick.
Sent from the little guy

[Q] SD Card issue

I am having an issue creating backups. Last time I had issues with what seemed like the sd card, I bought a new 64 gig card and replaced my old one.
The old one still works fine with an adapter into my pc, but I wrote it off and sucked it up.
I just tried again making a backup in TWRP with an error, "unable to create backup folder". So, I switched over to CWM and tried the backup. Same issue.
I just checked with my phone plugged into my pc and the file system is defined as "Generic Hierarchal" which I've never seen before. I am almost positive I formatted it initially as either fat or ex fat. With the phone on, I have no issues with the card. I have music and other data on it and it reads just fine.
Other possibly relevant history:
previous rom was Beans 21 and was unable to update to 22 (do not remember the error)
wiped and loaded Alliance's latest V8 with no issues. Been running Alliance for a few weeks now with zero issues. (other than backup)
Do I need to wipe my card and format it in the phone? I think previously I formatted it in my win 7 pc with an adapter.
TIA for any info
Formatting the card with TWRP is probably better
I had this issue with an S3 and nothing would work. I tried mounting/remounting, formatting, and even a new SD card. It finally worked with a new SD, which is really weird because it was an old SD card compared to one of the newer ones.
Thanks for the response. I have 2 cards. Just cleaned off one and formatted in the phone. Still fails trying to do a backup. I hate the thought of buying a third 64 gig card.
I think I'll try going back to stock and see what happens. It'll be a while before I can. Sucks I can't backup first.
Thanks again for the response
interesting update, for anyone that might be watching this post: I d'loaded skips updated toolkit from here: http://forum.xda-developers.com/showthread.php?t=2052788&page=10
and was able to make a backup.
just FYI
Bought a Sammy 64 and same issue. Unless anyone has any other suggestions, I'm going to Odin back to stock, I guess.
back to stock, unlock, root fixed it. just fyi.
georgepink said:
back to stock, unlock, root fixed it. just fyi.
Click to expand...
Click to collapse
Not. Tried to load another rom and can't read from ad card. Damnit. Any help would be appreciated.
more drama...I re-loaded twrp, b/c I found an old post with roughly the same issue. It said to use cwm to fix permissions. Well, cwm doesn't offer that anymore, the comment is that it was placebo effect. twrp still does offer it. I ran it and then rebooted to android, then rebooted into twrp reco again and was able to load Alliance v8 again.
so, until 4.4 roms appear (which I will have to go back to cwm for, unless twrp gets updated) I guess I'm set.
I'd still LOVE to hear from someone who might know how this happened or what exactly happened, to know what to avoid.
Thanks again, to the one person that responded.
Back to square 1, cannot make nandroid backups.
In CWM v6.0.4.3 here's the errors:
trying to backup: Can't mount Backup Path
trying to mount external_sd: Error Mounting /external_sd
In TWRP v2.6.3.0 here's the errors:
trying to backup: backup folder: /external_sdcard/TWRP/Backups/
E:unable to create folder: /exterenal_sdcard/TWRP
E:Failed to make backup folder
Any thoughts? I know I've posted this multiple times, but not sure where to turn. I suspect if I go back to unrooted stock again and unlock / re-root, load twrp and fix permissions, it will work again for a while. But not permanently. I really want to fix this once and for all. But am not getting any clear direction to go. I have searched on and off XDA to no avail. hoping this time is the key. Thanks for reading and potentially helping.

Need help - i9100 doesnt show /data or has access to it

Hi.
I did something wrong. Very wrong and now i need help from you, the experts.
I've been trying out the new roms (minimalos, cm13, xpe) and once i went in recovery and did a "format "/data". I have no idea why i did that. After that, the phone wouldnt go to os. Tried several things. And now, for example, cwm couldnt show any data. I could flash a new rom but that was all. Tried repitting with I91001GB_4GB.pit or the original one and no difference (heimdall). I had enough of all and i flashed back to stock from sammobile but the problem persists - no data avaliable or internal sd. If i try to take a photo in stock it says "turn off usb storage before using camera".
Mainly, the problem is that i cannot access internal or external storage (well, microsd is accessible via recovery). Nothing shows up in filemanager (stock or cm13) and i cannot use any app that uses storage of anykind (camera, filemanager,...).
Any advice of whats the next step of fixing this back to normal?
max00slo said:
Hi.
I did something wrong. Very wrong and now i need help from you, the experts.
I've been trying out the new roms (minimalos, cm13, xpe) and once i went in recovery and did a "format "/data". I have no idea why i did that. After that, the phone wouldnt go to os. Tried several things. And now, for example, cwm couldnt show any data. I could flash a new rom but that was all. Tried repitting with I91001GB_4GB.pit or the original one and no difference (heimdall). I had enough of all and i flashed back to stock from sammobile but the problem persists - no data avaliable or internal sd. If i try to take a photo in stock it says "turn off usb storage before using camera".
Mainly, the problem is that i cannot access internal or external storage (well, microsd is accessible via recovery). Nothing shows up in filemanager (stock or cm13) and i cannot use any app that uses storage of anykind (camera, filemanager,...).
Any advice of whats the next step of fixing this back to normal?
Click to expand...
Click to collapse
Format internal sd card(sdcard0) as default(vfat) from recovery and you should be able to access internal storage again

Categories

Resources