[Q] Issue with flashing rom on encrypted tablet. - Transformer TF300T Q&A, Help & Troubleshooting

I was able to unlock the device and install CWM. I wasn't paying attention when i did a wipe, and didn't see it was unable to wipe /data and several other locations. Its probably because its encrypted. I thought it would have asked for the password to access those areas to wipe them. So i just went ahead and flashed Cyanogenmod 10 nightly build. Now it wont boot past asus logo. The backup wont work ether. Is there a way to flash a rom on an encrypted tablet? or remove the encryption?

odin23342 said:
I was able to unlock the device and install CWM. I wasn't paying attention when i did a wipe, and didn't see it was unable to wipe /data and several other locations. Its probably because its encrypted. I thought it would have asked for the password to access those areas to wipe them. So i just went ahead and flashed Cyanogenmod 10 nightly build. Now it wont boot past asus logo. The backup wont work ether. Is there a way to flash a rom on an encrypted tablet? or remove the encryption?
Click to expand...
Click to collapse
I fixed the issue
-erased the data using fastboot -w
-Tried again to flash CM10 with no luck
-then i just downloaded and extracted the blob from stock rom
- the flashed using fastboot -i 0x0B05 flash system blob
Then the problem was resolved and the encryption was gone(apparently fastboot -w gets rid of the encryption as well as all other data) . I am guessing the CM10 i was using was corrupted or something.

Related

decrypt data / phone .. trying to go back to stock

OKay, trying to go back to stock. Problem is M8 is encrypted.
I select decrypt when entering password. But it just reboots and logs me in... as usual. Still encrypted
I went to TWRP and it shows that the internal storage is 0mg No data to install get to,
I have tried to fastboot ROM and stock recovery. But keep getting error that it fails. I think it fails because it cannot see the files.
How to decrypt phone to go back to stock. I cannot even get stock recovery on device. Ugh! What am I missing here.
BTW no option in setting to decrypt. Once encrypted I can only change password.
Going back to stock from what?
TWRP cannot see an encrypted data partition. AFAIK your only option is to format /data in TWRP (which will erase everything on your internal storage).
You cannot fastboot a rom and I wonder what you did exactly trying to fastboot flash the stock recovery.....
berndblb said:
Going back to stock from what?
TWRP cannot see an encrypted data partition. AFAIK your only option is to format /data in TWRP (which will erase everything on your internal storage).
You cannot fastboot a rom and I wonder what you did exactly trying to fastboot flash the stock recovery.....
Click to expand...
Click to collapse
I fixed issue... by going into recovery and wiping data

How do I decrypt my device

So I encrypted my moto 4g and all went fine. However I wanted to flash and install an app via my recovery(my device is rooted and I got custom recovery but I'm on stock rom) but It kept saying it could not access the data of the phone. I figured this was because it is encrypted. I also tried restoring an older backup from when the phone was not encrypted but that would not work either. If I do a factory wipe in recovery that won't work either. If I enter the Android settings and choose data wipe the phone starts to bootloop.
What can I do to decrypt my phone?
Did you encrypt the phone using stock recovery?
No I encrypted with the custom recovery.
Have you tried to erase cache and userdata using fastboot commands?
audit13 said:
Have you tried to erase cache and userdata using fastboot commands?
Click to expand...
Click to collapse
No I have not, haven't had time to try, I assume here are some guides about it and I will look into it when I have time.
Just wanted to say that I fixed it, had to reflash the whole device with flashboot, then I re rooted it and restored an backup.
Glad it worked out for you.

[Recovery][Boot] Recovery mode has highest boot priority?

So I unlocked, rooted and installed Euphoria ROM on my Moto G today, and now I'm perplexed to find that when I select the "Reboot" option either in Android or TWRP, I immediately get shoved back into TWRP. Rebooting to Bootloader works as expected, rebooting to Recovery works as expected, but the normal reboot doesn't.
Also, when my phone is offline and I plug it in, it immediately lights up and boots directly into TWRP. I don't know why this is, but I'd like to fix it since it's hit and miss trying to boot into the ROM normally.
Can anyone help me pin point the problem? In all my years with Android I've never seen an issue with boot priority such as this.
Things I have done:
-I tried to decide on a recovery so I flashed PhilZ, CWM, and TWRP in that order from the fastboot commandline
-wiped system, data, cache, dalvik cache, and flashed Euphoria ROM
Thanks!
One thing I would suggest is to flash the stock recovery and try rebooting, even i had encountered this problem. Later you can flash twrp again and everything will work fine.
Are you getting any errors while wiping partitions
sjandroiddeveloper said:
Are you getting any errors while wiping partitions
Click to expand...
Click to collapse
I'm having the same problem here. Wiping works alright, no errors at all. Although the built-in TWRP file manager is unable to see any files in the system folder.

[Q] flashing new ROM on encrypted phone?

How do I do this? No access to /sdcard in recovery mode, can't even wipe the phone in recovery. How can you install a new ROM when the phone is encrypted? Running CWM.
EDIT: Will a factory data reset get rid of the device encryption and enable me to install the updated ROM from recovery mode? I don't mind losing the data.
jb91 said:
How do I do this? No access to /sdcard in recovery mode, can't even wipe the phone in recovery. How can you install a new ROM when the phone is encrypted? Running CWM.
EDIT: Will a factory data reset get rid of the device encryption and enable me to install the updated ROM from recovery mode? I don't mind losing the data.
Click to expand...
Click to collapse
try using twrp. read somewhere it supported encryption. not sure though.
best bet would be disable encryption. flash the rom and encrypt again. its a work around not the solution you want though.
You can't disable encryption on Android. Unfortunately, TWRP won't work for me, as I need a custom recovery that is controllable with volume buttons (like CWM), because of a broken screen.
Fastboot flash back to stock.

[Resolved] Need help recovering data from encrypted Nexus 4 (mako)

Hi,
my Nexus 4 is currently caught in a reboot loop.
My current plan to fix it is to flash a new ROM (clearing all the different caches didn't help).
However I do still have data on it that I would hate to lose (photos). Problem is the partition is encrypted and my recovery system ClockworkMod (6.0.4.7) can't decrypt.
From what I've read TWRP can decrypt partitions. Is there a risk of losing access to the encrypted data if I install a new recovery system? Would flashing a ROM be better/worse?
thanks
In case somebody has the same problem as me:
Flashing TWRP as recovery did not affect the encrypted files.
Code:
fastboot flash recovery twrp.img
, reboot and I had access to my files again

Categories

Resources