After installing Kitkat 4.4 after I had encrypted the device as part of my business account. the internal sdcard0 is not mounted and the external not present. While booting it asks for the password to decrypt the storage, but never seems to do so..
/data is also empty as it also says sdcard0 unmouted, also my titanium backup is on this volume, this makes it a bit hard to restore anything. :crying:
Anyone any idea how to get the sdcard0 mounted?
ballonatic said:
After installing Kitkat 4.4 after I had encrypted the device as part of my business account. the internal sdcard0 is not mounted and the external not present. While booting it asks for the password to decrypt the storage, but never seems to do so..
/data is also empty as it also says sdcard0 unmouted, also my titanium backup is on this volume, this makes it a bit hard to restore anything. :crying:
Anyone any idea how to get the sdcard0 mounted?
Click to expand...
Click to collapse
Can you use this method?: http://forum.xda-developers.com/showthread.php?t=2532929 (It wipes your phone, backup everything)
Unable to access internal sd
weird thing is that after encrypting it shows that it has aaplications installed on the Ssdcard0 but none of the (root level) application, terminal with su - / root browser show any content in the sdcard0.
Gallery is unable to access the sdcard and so are all the other media apps.
Will try to unregister from the Exchange server, have no access to their settings and also have no clue what they enforce exactly, but seen many related issues.
Regards. Ballonatic.
Related
Hi,
I might have played with fire, and now I have lost access to the internal sdcard of my Galayx S2 (GT-I9100).
I run a CM9 nightly build (2012-08-06) and decided to encrypt my phone using the built-in Android encryption feature.
Everything went well.
But then I tried update my S2 with a new CM9 Nightly. I did a cache wipe and a data wipe and installed the CM9 Nightly 2012-08-19).
The installation went well, but now I do not have access to my internal sdcard anymore (which should be mounted on /mnt/sdcard or /sdcard).
I tried to mount /mnt/sdcard from the command line and the Recovery but it did not work. And many android apps do not work well or at all if the internal sdcard is not mounted.
Is there a way to remount my encrypted sdcard again, using the PIN or the password I used when I encrypted it ?
And if not, is there a way to destroy this encrypted internal sdcard and reformat it as it was before encryption (but empty of course) ?
Is it possible to clean this mess and restart from scratch with Odin (losing my data but at least the internal sdcard can be mounted again) ?
I would very much appreciate any help to dig me out of this hole
lolo-kun said:
Hi,
I might have played with fire, and now I have lost access to the internal sdcard of my Galayx S2 (GT-I9100).
I run a CM9 nightly build (2012-08-06) and decided to encrypt my phone using the built-in Android encryption feature.
Everything went well.
But then I tried update my S2 with a new CM9 Nightly. I did a cache wipe and a data wipe and installed the CM9 Nightly 2012-08-19).
The installation went well, but now I do not have access to my internal sdcard anymore (which should be mounted on /mnt/sdcard or /sdcard).
I tried to mount /mnt/sdcard from the command line and the Recovery but it did not work. And many android apps do not work well or at all if the internal sdcard is not mounted.
Is there a way to remount my encrypted sdcard again, using the PIN or the password I used when I encrypted it ?
And if not, is there a way to destroy this encrypted internal sdcard and reformat it as it was before encryption (but empty of course) ?
Is it possible to clean this mess and restart from scratch with Odin (losing my data but at least the internal sdcard can be mounted again) ?
I would very much appreciate any help to dig me out of this hole
Click to expand...
Click to collapse
I think I'm in the same position as you. Did you ever get an answer?
NEVER EVER do wipe cache and factory reset if you're updating nightlies!
Now, if I were you, I would try to fix internal memory with Windows tools.
Well, lesson learned.
Unfortunately I had given up on recovering my data on the internal sdcard. Therefore I opted to a method to reformat it.
That did the trick and I got back my internal sdcard (many applications cannot work properly without it).
Maybe I can find the tutorial pages I used if someone is interested.
Anyway, thanks for your reply
I have the same problem as you...
I´ve installed CM10 Codeworx over my encrypted CM9 ROM on Galaxy SII I9100
Jelly Bean runs but i have no internal SD Card... in CWM Recovery i also can not mount internal SD.
Any Ideas???
lolo-kun said:
Well, lesson learned.
Unfortunately I had given up on recovering my data on the internal sdcard. Therefore I opted to a method to reformat it.
That did the trick and I got back my internal sdcard (many applications cannot work properly without it).
Maybe I can find the tutorial pages I used if someone is interested.
Anyway, thanks for your reply
Click to expand...
Click to collapse
How did you do that?
I've the same problem
Grank
our device is a data/media device which is why usb mount don't work
here's a link that explains it all
http://teamw.in/DataMedia
and part of the convo with dees_troy is below
<Dees_Troy> Nope, it will *never* work on a data/media device
<Dees_Troy> read and learn: http://teamw.in/DataMedia
<WinBot> [Link] http://tinyw.in/lstO :: What is a data media device? | TeamWin
<Dees_Troy> definitely worth understanding
<Dees_Troy> at some point we're going to try to kang in MTP for recovery
<Lloir> so for now then it's sideload or from inside the rom
<Dees_Troy> or adb push
<Lloir> aye
<Dees_Troy> or gtfo
<*****> so cant mount usb storage with newer devices...hmm one x did guess this is where confusion at least on my part came to be
<Lloir> lmao Dees_Troy
<Dees_Troy> one x wasn't a data media device
YOU MUST either transfer the rom\boot\porn\audio\mods while the phone is on or use adb push or even sideload when in recovery, THIS IS THE ONLY way
What is a media device?
Thanks, I have copied the text from the link for easy reading.
What is a data media device?
I'm writing this page because there seems to be a lot of confusion about how many of the newer Android devices work. Starting in Honeycomb 3.0 with the Xoom, Google changed the way that they handled storage. Instead of having a "data" partition with your apps and a separate "sdcard" partition for storage, Google started giving you a single, very large data partition. Inside /data is a folder at /data/media that contains all of the contents of what you think of as your internal sdcard.
Since /data/media is part of /data, we pretty much never actually format the data partition. Formatting data, of course, also removes the media folder that contains the internal sdcard. When you choose a factory reset, instead of formatting, we use rm -rf commands to remove all the folders except for the media folder so that we can remove all of your apps and settings while leaving your "sdcard" intact. In TWRP we also have a wipe internal storage option that rm -rf's the media folder and a "Format Data" option that formats to recreate the entire file system in case something goes completely wrong or to remove device encryption.
When you're booted to Android, Android fuses the media folder to /sdcard and emulates a FAT files system that doesn't have permissions for legacy apps. We don't currently have fuse in recovery, so we just add an extra mount command to mount /data/media to /sdcard so in recovery you still have to worry about permissions on /sdcard.
Because the "internal sdcard" is not a true FAT file system, you can't mount it via USB storage. Well, that's not technically true, but the vast majority of people use Windows computers and Windows doesn't recognize ext4. If we were to allow you to mount the data partition via USB storage, Windows would claim that the device wasn't formatted and offer to format it for you, which, as you can imagine, would be a disaster. The whole ext4 setup is another reason that Android switched to using MTP for transferring files. Most of these devices don't have the necessary kernel configuration to even support USB storage mode, so it's not very easy to enable USB storage if we even wanted to try. Unfortunately at this time, MTP isn't available in recovery, so if you have no other option, you will have to use adb to push and pull files to/from your device.
As a special note, if you choose to do a factory reset from your ROM, even if the ROM says that it will wipe everything including the internal storage, well, that's not what TWRP will do. A stock AOSP recovery would format data including the "sdcard" but TWRP will use its regular factory reset setup that leaves the internal storage intact.
There are a couple of nice gains with using this setup vs the old data + FAT storage partition. With /data/media you, as the user get more control over how you use your storage. If you have a ton of apps, then that's no problem since you have a huge data partition to work with. If you don't have a lot of apps, you get more room to use for storing things like movies. Further, ext4 doesn't suffer from the 4GB file size limit that FAT has, so you can have a large, high-def movie on your device if you like. I'm sure another motivating factor was to get Android away from using FAT which is a Microsoft creation. Performance on ext4 in Android is also probably better than FAT. As a downside, data media devices tend to store a lot more app data in the "data" section and so backups on these devices tend to be larger.
Click to expand...
Click to collapse
any guide how to put a file on phone if it does not boot? (ie adb push or while in recovery please)
Not so bad, i can live with that
(P.s.: Lloir i've ended the script, now it's working! )
thanks dude
Hi there
I'm gonna be sending my S3 for repairs tomorrow. I have backed up everything I need (contacts, photos, videos, music, text messages) and I was just about to factory reset my phone when I noticed this:
All data will be erased from USB storage bla bla bla including:
The key for decrypting files on the SD card (you cannot use files on the SD card after a factory data reset)
I need to know what exactly that means - will I not be able to access and restore my contacts, text messages, and photos?? Which files will I not be able to access?
salhalwa said:
Hi there
I'm gonna be sending my S3 for repairs tomorrow. I have backed up everything I need (contacts, photos, videos, music, text messages) and I was just about to factory reset my phone when I noticed this:
All data will be erased from USB storage bla bla bla including:
The key for decrypting files on the SD card (you cannot use files on the SD card after a factory data reset)
I need to know what exactly that means - will I not be able to access and restore my contacts, text messages, and photos?? Which files will I not be able to access?
Click to expand...
Click to collapse
If you have data on the internal SD encrypted and you factory reset your backup of the internal SD will be useless, you could find the decryption key if needed and back that up, it should allow you to decrypt files after restore, but I'm not 100% on this.
If you have never encrypted the internal SD you don't have anything to worry about, nothing is encrypted by default.
delsus said:
If you have data on the internal SD encrypted and you factory reset your backup of the internal SD will be useless, you could find the decryption key if needed and back that up, it should allow you to decrypt files after restore, but I'm not 100% on this.
If you have never encrypted the internal SD you don't have anything to worry about, nothing is encrypted by default.
Click to expand...
Click to collapse
While what you said makes sense, I'm not exactly familiar with encrypting and decrypting stuff
How can I know if the SD card and its contents are encrypted or not?
salhalwa said:
While what you said makes sense, I'm not exactly familiar with encrypting and decrypting stuff
How can I know if the SD card and its contents are encrypted or not?
Click to expand...
Click to collapse
Oh no it's the external SD you can encrypt, go to Settings, Security and check Encrypt External SD card and see what is checked, if nothing then the sd is not encrypted.
delsus said:
If you have data on the internal SD encrypted and you factory reset your backup of the internal SD will be useless, you could find the decryption key if needed and back that up, it should allow you to decrypt files after restore, but I'm not 100% on this.
If you have never encrypted the internal SD you don't have anything to worry about, nothing is encrypted by default.
Click to expand...
Click to collapse
delsus said:
Oh no it's the external SD you can encrypt, go to Settings, Security and check Encrypt External SD card and see what is checked, if nothing then the sd is not encrypted.
Click to expand...
Click to collapse
Just checked, nothing is checked (phew) So:
1. I'm safe to factory reset the S3 yeah?
2. I'll still have access to all the contents and backups on my external SD card correct?
3. Will it also wipe the external SD card clean when I do the factory reset?
4. Should I unmount the card first before doing the reset?
Nevermind, took a chance and it worked thanks!
how backup decryption key ??
whats the path?
My internal SD card is mostly full (11GB) after a year of using my i9300, and I'm not sure where all that space has gone (some pictures and video but I think a lot of apps I used throughout the last year but ended up deleting). So I figure the next time I try a new ROM I will delete the whole thing and start from scratch, backing up my data of course. I will back up the entire internal SD card to my computer and take a nandroid backup before doing anything.
Should I format the internal SD card or just delete all its contents?
I've noticed that when I try a new ROM the internal SD card isn't touched, so where does the ROM actually get stored?
What does the wipe data / factory reset option in ClockworkMod Recovery actually wipe?
Does a nandroid backup back up the internal SD card? I have a feeling the answer is no, but then what does it actually back up?
If I use TitaniumBackup to back up all my app data and move that backup to my computer, then I delete the internal SD card, wipe the system, tehen replace my old ROM with a new ROM, then use TitaniumBackup to restore my apps and their data, am I missing anything? For example, I don't think certain data gets backed up by TitaniumBackup, for example photos (even though that might be considered 'data' of the camera app), so what could I be unwittingly missing when I do my restore from TitaniumBackup? How will I know what things I need from what's currently on my internal SD card?
iamthemandroid said:
Should I format the internal SD card or just delete all its contents?
Click to expand...
Click to collapse
No need to format it.
iamthemandroid said:
I've noticed that when I try a new ROM the internal SD card isn't touched, so where does the ROM actually get stored?
Click to expand...
Click to collapse
Lets distinguish between these things.
The "internal SDcard" is NOT an sdcard. It is a partition on the internal memory referred to as /sdcard (on other phones /sdcard mounts to removable media but not here). However, as it happens, the internal memory itself is an eMMC (embedded MultiMedia Card) which is where the confusion arises, so let us refer to eMMC as "Internal Memory" from here on.
The internal memory has many partitions (It's 14.9 GiB in total). It has a /system partition (ROM goes here) a /boot partition (bootloader), /recovery partition (guess) and /cache partition and a /data partition (A few others that aren't of interest here).
Usually /data is where all your data and apps go (in /data/app and /data/data) however, we use the FUSE file system to cleverly put /sdcard (usually removable media) into /data/media. This way /data is fully used as user data space.
iamthemandroid said:
What does the wipe data / factory reset option in ClockworkMod Recovery actually wipe?
Click to expand...
Click to collapse
Custom Recoveries wipe /data/app and /data/data. Stock recovery wipes /data which includes /data/media AKA /sdcard
iamthemandroid said:
Does a nandroid backup back up the internal SD card? I have a feeling the answer is no, but then what does it actually back up?
Click to expand...
Click to collapse
No. It backs up /system, /data (ignoring data/media) and /cache. It often backs up to /sdcard so it cant backup where it is saving the files to
iamthemandroid said:
If I use TitaniumBackup to back up all my app data and move that backup to my computer, then I delete the internal SD card, wipe the system, tehen replace my old ROM with a new ROM, then use TitaniumBackup to restore my apps and their data, am I missing anything? For example, I don't think certain data gets backed up by TitaniumBackup, for example photos (even though that might be considered 'data' of the camera app), so what could I be unwittingly missing when I do my restore from TitaniumBackup? How will I know what things I need from what's currently on my internal SD card?
Click to expand...
Click to collapse
Backup titanium to /sdcard then copy EVERYTHING from /sdcard to computer, will catch everything. Titanium doesn't back up stuff on /sdcard unless it is explicitly part of an application and you select that option in preferences
Your best option would be to format Internal SD card. And as you install a new rom, as you can see you only have 11GB of free space. Thats what is left from your total 16GB. Android OS reserves some space for bootloader, rom and cache.
The factory reset in recovery will delete all your system settings, apps, messages, call log and such. But if I'm correct it shouldn't touch the pictures. Nandroid backup doesnt hold your whole Internal SD card in itself.
And titanium backup backups apps and their settings, but it will not backup messages or pictures.. You can for example manually copy pictures to your computer and then back to your device. And for messages there is a good app called 'SMS Backup & Restore'.
Hope this helps
Edit: Me and my slow typing
Etirel said:
Edit: Me and my slow typing
Click to expand...
Click to collapse
I was on a mission
rootSU said:
I was on a mission
Click to expand...
Click to collapse
Guess so But you explained it a lot better than I did. So probably better that way
help me please formated sd with stock nanaroid on it..please help!!!!
i formatted my sd like a clown...i recoverd the files how ever i am unable to find my twrp back up ...i really need some help
DroiDBoSS said:
i formatted my sd like a clown...i recoverd the files how ever i am unable to find my twrp back up ...i really need some help
Click to expand...
Click to collapse
You formatted that means you have lost what was on the sd card .
If you put your Nandroid backup on that card then its lost .
JJEgan said:
You formatted that means you have lost what was on the sd card .
If you put your Nandroid backup on that card then its lost .
Click to expand...
Click to collapse
know any ware i can download the rogers stock 4.1.2 firmware...and does it mess with my unlocked bootloader if i flash back?
DroiDBoSS said:
know any ware i can download the rogers stock 4.1.2 firmware...and does it mess with my unlocked bootloader if i flash back?
Click to expand...
Click to collapse
Do you have I9300 or I9305 phone ???
If not this is I9300 you are in the wrong forum . Firmware/ mods from here may brick your phone .
Back up
rootSU said:
No need to format it.
Lets distinguish between these things.
The "internal SDcard" is NOT an sdcard. It is a partition on the internal memory referred to as /sdcard (on other phones /sdcard mounts to removable media but not here). However, as it happens, the internal memory itself is an eMMC (embedded MultiMedia Card) which is where the confusion arises, so let us refer to eMMC as "Internal Memory" from here on.
The internal memory has many partitions (It's 14.9 GiB in total). It has a /system partition (ROM goes here) a /boot partition (bootloader), /recovery partition (guess) and /cache partition and a /data partition (A few others that aren't of interest here).
Usually /data is where all your data and apps go (in /data/app and /data/data) however, we use the FUSE file system to cleverly put /sdcard (usually removable media) into /data/media. This way /data is fully used as user data space.
Custom Recoveries wipe /data/app and /data/data. Stock recovery wipes /data which includes /data/media AKA /sdcard
No. It backs up /system, /data (ignoring data/media) and /cache. It often backs up to /sdcard so it cant backup where it is saving the files to
Backup titanium to /sdcard then copy EVERYTHING from /sdcard to computer, will catch everything. Titanium doesn't back up stuff on /sdcard unless it is explicitly part of an application and you select that option in preferences
Click to expand...
Click to collapse
I backup via philz_touch_6.00.8 but when i tried to restore philz_touch_6.00.8 could not find the backup folder or file. Also when i check the my data using file explorer also i could not find backup file or folder. Interesting that capasity of internal sd card is less then befor about 3 GB. Could you explain why i could not find and restore or remove ?
I took out my sdcard and did format data on the internal storage and now i can't mount my sdcard in twrp. Didn't think about the fact that removing the encryption on the internal storage would make it unable to recognize the encryption on the sdcard afterwards. Is there any way to fix this? Or did I just screw myself?
When I reinstalled the rom and tried to boot it still asks me for my password which still works even though I can't boot because it says that the data is corrupted. But the encryption key should still be stored somewhere apparently. There must be a way to use it to decrypt the sdcard.
Moto G 2015
latest TWRP
GZRom Tesla Nougat Rom