How do I fix this i decrypted it and now this what do I have to do?
Solution
[/IHi! So are you saying it is mandatory to "unencrypt" (hence format int. storage) in order to be able to install this ROM?
not to flash ROM. You can flash it while encrypted. But it will ask you for a password on first boot. And after that you are ****** because you will lose access to the internal storage, rendering the recovery useless at this moment... however you will still have access to the phone via bootloader. After that, the only way to decrypt will be via fastboot command "fastboot format userdata" (in which you lose all your data).
From my understanding, because of this command you may experience issues with your partition. At least I had a problem: my internal storage was "cut" in half on windows when I connected phone and checked and after booting first time finally thinking everything was solved disk info also reported that I had some 30gb used, with about high 20's gbs free. I was like wtf.
However, luckily, after formatting internal storage via fastboot command you gain access back to your storage, as the encryption (which was blocking you) is gone. This way you can format (yes, again) your storage through recovery (format, not wipe). It corrects the partition and your phone is read as having 64gb of storage again.
Bottomline, as I understand, had I been decrypted from the start ( which means, before flashing the DU ROM) I wouldn't have had any problems at all with booting ROM first time after installing it and gapps, because it wouldn't ask me for a password. So I wouldn't have to fastboot command to format storage, and wouldn't have problems with partition requiring a new format (this time through recovery).
tip: don't forget to check my comments in the previous page. And I advise you to unencrypt before flashing this ROM. There are tutorials on youtube and xda developers forum certainly. Maybe even here. Good luck every one. And I sincerely only recommend rooting your phone and flashing custom roms if you get the basics of a few commands at least on fastboot and know how to backup your stuff before in case something goes very wrong and your recovery goes to ****
edit: you can decrypt and not lose your data if you backup, move backup to pc, and then, after decrypting, move everything back to your phone.
*
Related
I have a Galaxy Nexus that won't boot. It goes through a boot loop. I've tried everything to try and get it working. I've wiped data/factory reset, I've formatted system and re-flashed ROMs that were already on my phone, I've tried restoring backups from several nandroid backups. It never gets past the initial Google splash screen with the unlock symbol.
I'm going to send it in for service, but I'm wondering if there's a way to try to access the flash memory to copy all the data to my computer? I've stupidly done tons of regular backups (Titanium, SMS, nandroid) to my flash memory on my phone, but never backed it up to my PC. I can see the directory structure through CWM 5.5.0.2, but I can't mount it as a USB storage device from CWM and I assume I actually have to be booted up to use ADB.
Any suggestions?
big_raji said:
I have a Galaxy Nexus that won't boot. It goes through a boot loop. I've tried everything to try and get it working. I've wiped data/factory reset, I've formatted system and re-flashed ROMs that were already on my phone, I've tried restoring backups from several nandroid backups. It never gets past the initial Google splash screen with the unlock symbol.
I'm going to send it in for service, but I'm wondering if there's a way to try to access the flash memory to copy all the data to my computer? I've stupidly done tons of regular backups (Titanium, SMS, nandroid) to my flash memory on my phone, but never backed it up to my PC. I can see the directory structure through CWM 5.5.0.2, but I can't mount it as a USB storage device from CWM and I assume I actually have to be booted up to use ADB.
Any suggestions?
Click to expand...
Click to collapse
You should be able to do adb with the device in recovery mode. I'd recommend doing something like
Code:
> adb pull /data/media sdcard
This will copy the entire contents of the pretend SDcard on the phone (/data/media) onto a new folder on your computer called "sdcard".
I don't think there's a way to access the internal memory through CWM. For CWM to do that, is that to unmount that partition, and it cannot unmount data (where the sd-cad resides) as android wouldn't run without the /data partition, or so I've heard.
Feel free to correct me if I'm wrong.
Theshawty said:
I don't think there's a way to access the internal memory through CWM. For CWM to do that, is that to unmount that partition, and it cannot unmount data (where the sd-cad resides) as android wouldn't run without the /data partition, or so I've heard.
Feel free to correct me if I'm wrong.
Click to expand...
Click to collapse
Recovery is not Android, it will run fine without the /data partition mounted (though there isn't a whole lot it would be able to do then, since that's where all your flashable goodies would reside). CWM accesses internal storage all day long when you're flashing ROMs and kernels and whatnot.
Thanks! I assumed ADB wouldn't work in recovery because I tried it quickly on a PC that didn't have the drivers installed. I plugged in it on my upstairs PC and I'm doing a very lengthy adb pull as I type this. Thanks!
4.2.2 on a rooted, unlocked One X
I was using Minitools Partition, with the device mounted to PC, in CWM, I followed some fairly simple instructions, which called for me to delete the original partition (25GB) which I did, I then set 3GB Ex2 (for apps to sd card) and the rest 22GB FAT32. THat all seemed to work fine.
BUT now I am now being asked to "type encryption password" every time I boot the phone, what format should the SD card be? Have I got the partitions wrong? SD card will no longer mount in recovery, plus I cant get pass this screen (password request) when turned on. The ROM is loading, to request this password, its happening after the X, perhaps my instructions where wrong from the beginning?
These are the ones I used,
http://forum.xda-developers.com/wiki/SD_card_partitioning
Things I have tried,
1 changing the format and partitions of sd card, to everything you can think of (eg 2GB FAT, 1GB Ex2, 21GB FAT32)
2 Wipe data/ factory reset, in recovery
3 Flashed boot.img to device, in bootloader.
4 fastboot format userdata, in bootloader (something i read in a thread)
3 Factory reset, in bootloader.
Nothing, the ROM still loads, up until this screen with an option for emergency calls, dialer does appear so ROM is fine? CWM works fine, however as you might expect I cant mount SD card in recovery and needless to say I just cant get passed this password request screen.. I feel like if I try and wipe system and flash the ROM again, ill just come up against the same problem, or worse just brick my device, as I cant load any Zip files.... which has only just dawned on me, any ideas people?
many thanks
Tim.
I have the same issue on my HTC ONE XL ATT ... but my phone randomly rebooted and when it turned on it got to DECRYPT STORAGE, i didnt even do anything... and i really dont feel like re-installing my rom ... idk what to do exactly now. i can boot up into recovery and access all my files but i dont know what happened...
same issue here with galaxy nexus after installing 4.2.2, ive tried odin, fastboot, everything but after the phone reboots loads the same os and it reboots a few seconds later.
Prior to today, I had not installed TWRP or rooted my T310 device. I believed I followed the instructions to root my device correctly (found here). Going through TWRP, I rebooted the system to install the Superuser package. I then rebooted the system, loaded up TWRP, and began to do a system wipe (followed instructions found here) to prep the flash of the rom and gapps.
I selected the following partitions to wipe: Dalvik cache, system, data and data. The instructions werent clear, so I checked both 'data' boxes.
After the wipe executed, I went to flash the rom and GAPPS I loaded to the internal sd card aaaaand... there were no .zip files. Crap. I went to reboot TWRP and it alerted me that my device does not appear to be rooted. Double crap. Not panicking, I went to mount and tried to see if I could mount the internet SD card to my device. Nothing. Windows now shows a 'Samsung_Android' device but it is listed under 'unspecified'. Reloading the drivers have done no good.
I'm guessing SuperUSer was never installed correctly *or* I did something during the reset.
I, of course, did not perform a backup prior to all of these. I have rooted my devices multiple times and it was always a breeze so why backup now? Weell...
So now I'm sitting here with a nonSU device, with no OS, no backup, and I'm unable to connect my device to Windows. Outside of loading a rom from an external SD Card, what options do I have?
jaredmac11 said:
Prior to today, I had not installed TWRP or rooted my T310 device. I believed I followed the instructions to root my device correctly (found here). Going through TWRP, I rebooted the system to install the Superuser package. I then rebooted the system, loaded up TWRP, and began to do a system wipe (followed instructions found here) to prep the flash of the rom and gapps.
I selected the following partitions to wipe: Dalvik cache, system, data and data. The instructions werent clear, so I checked both 'data' boxes.
After the wipe executed, I went to flash the rom and GAPPS I loaded to the internal sd card aaaaand... there were no .zip files. Crap. I went to reboot TWRP and it alerted me that my device does not appear to be rooted. Double crap. Not panicking, I went to mount and tried to see if I could mount the internet SD card to my device. Nothing. Windows now shows a 'Samsung_Android' device but it is listed under 'unspecified'. Reloading the drivers have done no good.
I'm guessing SuperUSer was never installed correctly *or* I did something during the reset.
I, of course, did not perform a backup prior to all of these. I have rooted my devices multiple times and it was always a breeze so why backup now? Weell...
So now I'm sitting here with a nonSU device, with no OS, no backup, and I'm unable to connect my device to Windows. Outside of loading a rom from an external SD Card, what options do I have?
Click to expand...
Click to collapse
You can either download the whole firmware and use Odin to flash or get adb setup and push a rom zip to the internal card using adb.
Sent from my SM-N900V using Tapatalk
hi,
you will need a microsd card 32gb and properly formatted that comes with a card reader for your pc.
download your rom and get it onto the card, insert the card into your device
boot to twrp, and flash,
now, if twrp still spits the no os message at you, which is an issue with twrp,
you next need to go to your wipe options, select advanced and do a full data format/wipe,
NOT SYSTEM, DATA. meaning /data and /data/media. when that completes you should be sorted
but expect your initial boot of the new rom to take a little longer.
never wipe system with twrp. the rom's updater-script will manage that function.
m
Thank you both. I lost my SD cards and card reader in a move so while that orders, I will attempt to utilize ADB. I'm pretty green but I'm certain there are guides out there..
moonbutt74 said:
hi,
you will need a microsd card 32gb and properly formatted that comes with a card reader for your pc.
download your rom and get it onto the card, insert the card into your device
boot to twrp, and flash,
now, if twrp still spits the no os message at you, which is an issue with twrp,
you next need to go to your wipe options, select advanced and do a full data format/wipe,
NOT SYSTEM, DATA. meaning /data and /data/media. when that completes you should be sorted
but expect your initial boot of the new rom to take a little longer.
never wipe system with twrp. the rom's updater-script will manage that function.
m
Click to expand...
Click to collapse
I'm having a hell of a time getting the rom to install from the SD card. I believe I am not formatting the card correctly. Is there a guide on how to do so? I have a primary partition in SD in FAT32 and the other partition as EXT4 but no luck. Any help is appreciated.
jaredmac11 said:
I'm having a hell of a time getting the rom to install from the SD card. I believe I am not formatting the card correctly. Is there a guide on how to do so? I have a primary partition in SD in FAT32 and the other partition as EXT4 but no luck. Any help is appreciated.
Click to expand...
Click to collapse
hi,
your external sdcard should be formatted as single partition fat32 unaligned,
if you running windows, use bootice, look it up
On linux , gparted may give you issues, if so, on debian at least there is another better utility
though the name escapes me at the moment, disk manager i think.
m
moonbutt74 said:
hi,
your external sdcard should be formatted as single partition fat32 unaligned,
if you running windows, use bootice, look it up
On linux , gparted may give you issues, if so, on debian at least there is another better utility
though the name escapes me at the moment, disk manager i think.
m
Click to expand...
Click to collapse
Well I was able to find a good stock firmware download, flashed that via Odin and I'm back to square 1. I am going to forego the external SD route. Perhaps too technical for me or some other hang up is abound but I am leaving that method alone for now. Thank you for your help : )
Hello, some time ago i posted something about my bricked phone, i did it again but not so badly.
So basically i tried to flash a GSI, and i kind of succeeded, the Phone starts and it asks me to put the password to start android, when i put it works but it says that the password i put was correct but the data was corrupt, i can go to TWRP and go in the files of an SD Card i have but, i cannot put anything in my internal storage via pc but luckily i have a chromebook, it also doesn't transfer to the internal storage, i tried to connect to my pc multiple times but it didn't work, so i want to know if i can re-install the Stock Rom via sd card with the help of my chromebook (it has 4gb)
If you are coming from Stock to GSI, you may encounter this encryption problem. The easiest way is to flash stock recovery after flashing GSI. Then boot, and when it asks you to enter password, and it fails, it tells you to reboot and the stock recovery will format your internal storage (TWRP can't).
If you want to get back to stock, just flash some stock firmware in fastboot (wiping data)
TWRP actually CAN format encrypted storage. It justs happens it won't work at the first try. You have to format two to three times, and on each format you need to reboot to TWRP until you format again and the red letters (errors) stops appearing. I do this all the time with 64-bit Treble TWRP and has never failed after doing this process.
I think I have just screwed up big time.
Here is what happened:
Had CrDroid 8 installed (Android 12) with encrypted storage
Wanted to upgrade to next version; following the guide, simply did a wipe (without any advanced options) in TWRP and then installed the zip
Realized after rebooting that the phone has been completely reset and internal storage shows as empty
I know that this is related to a problem with decryption by TWRP with A12.
My question is, is there any chance that I would be able to recover my lost files? I mean where did they go? What could have happened? Did TWRP just not understand the encrypted data so it threw it away and recreated it, overwriting these files?
Is there any chance that the previous data partition (my internal storage, all my photos, etc) are still somewhere to be found within the storage and I could locate this partition and decrypt it using my passphrase? I am desperate at this point. I am stupid and did not make backups. I thought this would be a regular upgrade, wipe, install ZIP, like I've done dozens of times... Couldn't I perhaps scan the raw disk devices for some magic string or anything that would mark the start of the encrypted partition?
Sorry about the frantic writing, I am devastated and literally begging for any kind of help with this. Thank you.
Sorry for the noise, I was desperate I gave up since then, I just don't think this is possible. As far as I understand the encrpytion keys have been flushed (which are kept in the TEE anyway?). I still don't fully understand why TWRP just decides to wipe /data/media as well as /data in this case, but what is done is done. Back up your data guys. Same old story.