What part of the OS is used for encrypting a device? - Android Q&A, Help & Troubleshooting

I've got two devices which I'm unable to encrypt now, a Moto G 2nd Gen Dual Sim and a Lenovo S8-50 tablet.
With both, when I start the encryption process it just reboots normally. I thought it might be because I had CWM recovery installed on my Moto G, so I flashed back the stock recovery but it still does the same. With the S8-50, I've never installed a custom recovery, just rooted it. I also changed the DPI in build.conf but I doubt that could prevent it encrypting but I wouldn't have expected rooting it to affect it either.
So it doesn't seem to be the recovery that's used for encrypting as I thought, or at least not only the recovery, so what else does it rely on?

bump. Anyone able to help? I really want to encrypt my devices.

doveman said:
bump. Anyone able to help? I really want to encrypt my devices.
Click to expand...
Click to collapse
doveman said:
I've got two devices which I'm unable to encrypt now, a Moto G 2nd Gen Dual Sim and a Lenovo S8-50 tablet.
With both, when I start the encryption process it just reboots normally. I thought it might be because I had CWM recovery installed on my Moto G, so I flashed back the stock recovery but it still does the same. With the S8-50, I've never installed a custom recovery, just rooted it. I also changed the DPI in build.conf but I doubt that could prevent it encrypting but I wouldn't have expected rooting it to affect it either.
So it doesn't seem to be the recovery that's used for encrypting as I thought, or at least not only the recovery, so what else does it rely on?
Click to expand...
Click to collapse
The encryption is carried out by encryptfs module in kernel. Rest inside /system itself, its just the code to interact with this module.

Jaskaranbir Singh said:
The encryption is carried out by encryptfs module in kernel. Rest inside /system itself, its just the code to interact with this module.
Click to expand...
Click to collapse
Thanks, that's useful to know but I've definitely found in the past that after installing a custom recovery it's not possible to encrypt and the device just reboots normally, so I assumed it must need to boot into the stock recovery to carry out the procedure. However, with the stock recovery restored to my Moto G it still doesn't work and I've never changed the recovery on the S8-50, so what else could be causing it reboot normally instead of running the encryption process?
Is it possible to run the process from ADB instead or will it still need to reboot to start the process even doing that and just result in the same normal reboot instead?

Bump. Anyone able to help me fix this problem on both devices?

Related

Cannot decrypt encrypted partition when using TWRP or CWM

I unlocked and rooted my AT&T HTC One with the stock AT&T 4.3 image, installed TWRP 2.6.3.3 and rebooted into recovery. Due to restrictions from my company, I am required to have the partition encrypted. When I boot into TWRP, I enter the same password I use to decrypt the phone when I boot it from off. However, TWRP fails to accept the password and will not let me access the file system.
I have also tried using flashing the recovery to CWM 6.0.4.3 and using that only to have the same issue.
Ideally, I would like to be able to flash patches to remove both the AT&T bloatware and the 'Dial 611' check for tethering.
I have tried a few proposed solutions from XDA to the issue but still cannot get around it. If any has had success in getting around it, can you please post steps of what you did here for the sake of clarity?
Thank you!
shockidelica said:
I unlocked and rooted my AT&T HTC One with the stock AT&T 4.3 image, installed TWRP 2.6.3.3 and rebooted into recovery. Due to restrictions from my company, I am required to have the partition encrypted. When I boot into TWRP, I enter the same password I use to decrypt the phone when I boot it from off. However, TWRP fails to accept the password and will not let me access the file system.
Click to expand...
Click to collapse
I have the same issues. Did you find a solution?
I did not. I eventually wound up doing a reset of all data the phone, applied the ROM image I wanted and added things back.
i only found this one: https://github.com/TeamWin/Team-Win-Recovery-Project/issues/247
and then i changed the Password with cryptfs.
But it doesn't work for me......
I have the same issue here... =\
roux. said:
i only found this one: https://github.com/TeamWin/Team-Win-Recovery-Project/issues/247
and then i changed the Password with cryptfs.
But it doesn't work for me......
Click to expand...
Click to collapse
I was just searching for the same issue, and I stumbled upon that thread as well. Except there's now an additional post from mid-February with more details:
https://github.com/TeamWin/Team-Win-Recovery-Project/issues/247#issuecomment-34895111
Looks like HTC doesn't use the same encryption scheme as stock Android, but rather uses some specific HTC algorithm, so TWRP doesn't support it because it would be too much work to do so. Dissapointing, but also understandable. I've only just encrypted my device (in order to be able to check my Exchange email for work), and I didn't think about the TWRP no longer being able to access my data partition or the internal sdcard... Reading through some of the more recent comments, though, it's still possible future releases of TWRP (2.7+) may resolve the issue, though I just tried the most recent release (2.7.0.0) with no luck.
I have the same issue. I tried the most recent TWRP as of this writing, 2.7.1.1, and it still doesn't decrypt on my HTC One.
I've had this issue on mine as well. Simply decrypt storage within settings. Reboot in TWRP, flash patch, re-encrypt. Pain in the a$$ but it works for me.
atrixboy said:
I've had this issue on mine as well. Simply decrypt storage within settings. Reboot in TWRP, flash patch, re-encrypt. Pain in the a$$ but it works for me.
Click to expand...
Click to collapse
How do you mean "simply decrypt storage within settings" ?
ObadUl024 said:
How do you mean "simply decrypt storage within settings" ?
Click to expand...
Click to collapse
Go into settings and disable encryption within the main android OS. Reboot into recovery. Flash whatever you need. Reboot back into OS. Re enable encryption. Pain but it worked.

[Q] Any ROMs that support device encryption?

Are there any custom ROMs that support device encryption? My phone needs to be encrypted to allow me to access my work email. I had recently been running SlimKat when my work email changed to require encryption. I tried to encrypt phone but it did nothing. Then I read somewhere that maybe none of the Androd 4.4.x ROMs support device encryption, so I thought I would try Android 5 since I read that Android 5 enables encryption by default. I flashed CM12, but found that encryption isn't working in it either.
I've read that you need to unroot phone in order to get encryption to work. I did try that with SlimKat with no success. I haven't tried it yet on CM12, but I'm a little nervous that it might work just well enough to leave me with an unusable phone. Especially since the change log for the unofficial CM12 ROM specifically says that encryption doesn't work. Searching for "encryption" turns up lots of posts about unsuccessful encryption resulting in bricked devices.
I have gotten used to and really like the features of KitKat and Lollipop, and I don't want to have to downgrade all the way to stock ROM with Jellybean. But I do need to get to my work email from my phone. Does anyone know of any ROMs for the Razr out there with working device encryption?
Thanks in advance.
Another question along the same lines. If I boot the stock rom from the safestrap safe slot I should be able to encrypt my phone. I read that I may have to temporarily unroot it by killing the su process via adb to get it to start encrypting, but that should be no problem. Then once it's encrypted I'd want to go back to my custom ROM. It sounds easy enough, but since device encryption is not reversible I really want to know if it's going to work before I try it. It would suck to be trapped in stock ROM. If device encryption only affects the data partition and /sdcard then recovery should be ok (maybe), but I don't know if the safestrap ROM slots will still be functional/bootable after encryption.
Anyone have any experience with device encryption? Thanks in advance for any advice or thoughts on this.

Z2 Security

Hello,
Wondering what would happen if device get stolen? I've just started, especially since recovery is so easily accessible. Basically, anyone can enter, wipe data and everything left and put a new system... All that he needs is an microSD. Or in my case, I left all .zip files on mine, so that he can even chose whether he'd like more stock 5.1.1 or existenz.
Sometimes I don't know why I bother with a screen lock at all...
Anyone has any idea about preventing boot into recovery? Locking the recovery? Would disabled debugging and unknown sources fix the problem? Encryption?
Sorry if such subject already exists, couldn't find one.
Cheers!
Preventing recovery boot isnt something not known to be able to do however there is a "Theme" for Twrp that allows a password to be loaded up before accessing it
For your phone being turned on you can use Google device manager and enable required settings on your phones
Envious_Data said:
Preventing recovery boot isnt something known to be able to do however there is a "Theme" for Twrp that allows a password to be loaded up before accessing it
For your phone being turned on you can use Google device manager and enable required settings on your phones
Click to expand...
Click to collapse
OH. Didn't know about that. I'll have to try that one.
Sent from Xperia Z2
Luckily not from an iPhone = Yesterdays technology at tomorrows prices
I'll try that too. Found something for locking for 2.8.6.0, hopefully it will work for 2.8.7.0 too.
If all recoveries are locked and the android as well, would it be possible for someone to flash another recovery on top of existent ones?
dennnic93 said:
I'll try that too. Found something for locking for 2.8.6.0, hopefully it will work for 2.8.7.0 too.
If all recoveries are locked and the android as well, would it be possible for someone to flash another recovery on top of existent ones?
Click to expand...
Click to collapse
Depends on how you install
Flashable zips typically erase the partition where as images being flashed via command need to be wiped before installing

Have TWRP but not root HDX 8.9 3rd gen

I got a new Motherboard and daughterboard in my HDX Apollo. I was able to get TWRP on it, but it keeps saying i dont appear to have root. I tried installing the latest supersu but it apparently didnt work. Anyway, i have realized that i just keep getting myself into trouble playing with root. All i want is to get my 3rd gen back to 4.5.5.1 fire os and wait for the fire os 5 update for it(hopefully) Any help on how i can do that? Ive tried downloading the latest Kindle update for apollo, renaming the .bin to update.zip and transferring it over and installing it but it never boots further than the 'kindle' screen.
Thanks for your help, sorry to be a pain
If you're on Fire OS 4.x you don't have TWRP, but Safestrap v4. After what you've done, do you still have access to Safestrap? Installing an amazon update with Safestrap installed, or even just rooted could easily mess up the device, i.e. brick it.
I don't think it's fire os 4x then. It does boot into the twrp interface and is fully functional but when you go to reboot into a different recovery it says something like "it appears you do not have root. Would you like to install supersu?" Even if I say yes it acts like it installs but apparently doesn't. I can post pics later
Sent from my SM-G920V using XDA-Developers mobile app
Cl4ncy said:
If you're on Fire OS 4.x you don't have TWRP, but Safestrap v4. After what you've done, do you still have access to Safestrap? Installing an amazon update with Safestrap installed, or even just rooted could easily mess up the device, i.e. brick it.
Click to expand...
Click to collapse
Oh and I'm not sure what the new board had on it. It never fully booted. That's why I installed twrp. Thanks for the reply though!
Sent from my SM-G920V using XDA-Developers mobile app
mhuck0625 said:
I don't think it's fire os 4x then. It does boot into the twrp interface and is fully functional but when you go to reboot into a different recovery it says something like "it appears you do not have root. Would you like to install supersu?" Even if I say yes it acts like it installs but apparently doesn't. I can post pics later
Click to expand...
Click to collapse
mhuck0625 said:
Oh and I'm not sure what the new board had on it. It never fully booted. That's why I installed twrp. Thanks for the reply though!
Click to expand...
Click to collapse
- how did you "install" TWRP (method)?
- how are you accessing TWRP - just pressing the power button or some key combination (yes, it's important)?
- does a graphic vaguely resembling Frankenstein appear when you power up the device?
Davey126 said:
- how did you "install" TWRP (method)?
- how are you accessing TWRP - just pressing the power button or some key combination (yes, it's important)?
- does a graphic vaguely resembling Frankenstein appear when you power up the device?
Click to expand...
Click to collapse
I installed TWRP using the method instructed here: http://forum.xda-developers.com/kin...-to-unbrick-kindle-fire-hdx-firmware-t3277197
When i want to get to TWRP i press and hold Power + Vol UP until it rebootes into the Teamwin screen and TWRP. It is version 2.8.7.0 now(the instructions got 2.8.5.0 installed then i upgraded)
I dont remember what the graphic looked like when booting into TWRP but i know it said TeamWin. I can check when i get it charged back up enough to turn on. Ive had it sitting unplugged for days and the battery ran dead. I hope this is enough info to help get me pointed in the right direction. Thanks!
Ok, if it's the real TWRP which it seems to be, Safestrap has no TeamWin logo at boot, I'd suggest you leave it be. Currently you can use all available ROMs, so if there'll be a future version of Fire OS you could use a TWRP flashable version of it. I doubt there will be a Fire OS 5 update for the "old" Thor/Apollo line though.
You would destroy the possibilities you currently have by updating to Fire OS 4.5.5.1.
Meanwhile you can unlock your bootloader (if you haven't already), and update TWRP to 3.0.0-1 (requires unlocked bootloader).
Don't I need root though? How can I unlock my bootloader from the stage I'm at now? I'm just a bit afraid of proceeding in case I brick it again
Sent from my SM-G920V using XDA-Developers mobile app
Cl4ncy said:
Ok, if it's the real TWRP which it seems to be, Safestrap has no TeamWin logo at boot, I'd suggest you leave it be. Currently you can use all available ROMs, so if there'll be a future version of Fire OS you could use a TWRP flashable version of it. I doubt there will be a Fire OS 5 update for the "old" Thor/Apollo line though.
You would destroy the possibilities you currently have by updating to Fire OS 4.5.5.1.
Meanwhile you can unlock your bootloader (if you haven't already), and update TWRP to 3.0.0-1 (requires unlocked bootloader).
Click to expand...
Click to collapse
Don't I need root though? How can I unlock my bootloader from the stage I'm at now? I'm just a bit afraid of proceeding in case I brick it again
Sent from my SM-G920V using XDA-Developers mobile app
There's no risk in unlocking, the bootloader either unlocks or it errors/fails. Try the one-click-solution first (might require the PDANet drivers). It's recommended to update the bootloader to 3.2.3.2 (do it only, if the unlock worked ok).
TWRP can be updated from TWRP itself, so I'd recommend doing it that way. Just be sure to flash the TWRP image to the recovery partition.
Cl4ncy said:
There's no risk in unlocking, the bootloader either unlocks or it errors/fails. Try the one-click-solution first (might require the PDANet drivers). It's recommended to update the bootloader to 3.2.3.2 (do it only, if the unlock worked ok).
TWRP can be updated from TWRP itself, so I'd recommend doing it that way. Just be sure to flash the TWRP image to the recovery partition.
Click to expand...
Click to collapse
Tried 1-Click. In both Linux(Ubuntu 16.04) and Windows(10.1 x64) i get an error saying ADB is not enabled on the device. Ive tried booting into fastboot(with fastboot cable) tried using the regular cable and booting into TWRP. Any combination of boot modes and cables i can think of wont work. Where should i go from here?
Thanks
mhuck0625 said:
Don't I need root though? How can I unlock my bootloader from the stage I'm at now? I'm just a bit afraid of proceeding in case I brick it again
Click to expand...
Click to collapse
Root is irrelevant at this stage as nothing has been flashed to the system partition (where ROMs live).
Davey126 said:
Root is irrelevant at this stage as nothing has been flashed to the system partition (where ROMs live).
Click to expand...
Click to collapse
Ok, so i will need root to install ROMs then? How do i solve my problem unlocking the bootloader?
mhuck0625 said:
Tried 1-Click. In both Linux(Ubuntu 16.04) and Windows(10.1 x64) i get an error saying ADB is not enabled on the device. Ive tried booting into fastboot(with fastboot cable) tried using the regular cable and booting into TWRP. Any combination of boot modes and cables i can think of wont work. Where should i go from here?
Thanks
Click to expand...
Click to collapse
Lack of a functioning ROM could prove problematic if ADB is not enabled. I do not recall if the version of TWRP you installed provides native support for MTP which is essential for moving files onto the device. You may need to go the manual route to unlock bootloader which still requires tethered access but only at the fastboot level.
Nearing the edge of my pay grade on this topic; looking for others with more recent experience to jump in...
Davey126 said:
Lack of a functioning ROM could prove problematic if ADB is not enabled. I do not recall if the version of TWRP you installed provides native support for MTP which is essential for moving files onto the device. You may need to go the manual route to unlock bootloader which still requires tethered access but only at the fastboot level.
Nearing the edge of my pay grade on this topic; looking for others with more recent experience to jump in...
Click to expand...
Click to collapse
I do have mtp access and can transfer files easily. Should I try installing a Rom to see if I get adb access? What's a good Rom to try
Sent from my SM-G920V using XDA-Developers mobile app
Davey126 said:
Lack of a functioning ROM could prove problematic if ADB is not enabled. I do not recall if the version of TWRP you installed provides native support for MTP which is essential for moving files onto the device. You may need to go the manual route to unlock bootloader which still requires tethered access but only at the fastboot level.
Nearing the edge of my pay grade on this topic; looking for others with more recent experience to jump in...
Click to expand...
Click to collapse
Just curious on one thing. Whenever i see a ROM to download it says i need to unlock the bootloader and have root before i can do that. In MY case i do NOT have either, yet i was able to flash a new recovery(TWRP) How is this possible? How would i go about installing a new ROM or unlocking the bootloader?
Is there a way to flash the stock recovery back so i can reinstall fireOS and start from scratch?
Is there a way to tell what bootloader i have from within TWRP?
I realize i probably should have done a little more reading before i started messing with it :/ I do appreciate all the help you have been able to provide so far!
mhuck0625 said:
I do have mtp access and can transfer files easily. Should I try installing a Rom to see if I get adb access? What's a good Rom to try
Click to expand...
Click to collapse
mhuck0625 said:
Just curious on one thing. Whenever i see a ROM to download it says i need to unlock the bootloader and have root before i can do that. In MY case i do NOT have either, yet i was able to flash a new recovery(TWRP) How is this possible? How would i go about installing a new ROM or unlocking the bootloader?
Is there a way to flash the stock recovery back so i can reinstall fireOS and start from scratch?
Is there a way to tell what bootloader i have from within TWRP?
I realize i probably should have done a little more reading before i started messing with it :/ I do appreciate all the help you have been able to provide so far!
Click to expand...
Click to collapse
- traveling; response will be brief
- suggest flashing cm11 as it does not require an unlocked bootloader nor GAaps for basic functionality
- include SuperSU in flash package to secure root
- follow flashing directions in cm11 OP
- report back results; will go from there
Davey126 said:
- traveling; response will be brief
- suggest flashing cm11 as it does not require an unlocked bootloader nor GAaps for basic functionality
- include SuperSU in flash package to secure root
- follow flashing directions in cm11 OP
- report back results; will go from there
Click to expand...
Click to collapse
Downloaded CM11 and installed via this thread
http://forum.xda-developers.com/kin...-cm-11-safestrap-20150628-unofficial-t3145547
Copied it as well as the latest SuperSu(v2.65) to the Kindle Fire
Went to Install, saw both Zip files. Selected them(CM11 first, then Supersu second) Swipe to install, rebooted and nothing came up. Rebooted into TWRP and repeated the process after wiping dalvik/cache. Still nothing
mhuck0625 said:
Downloaded CM11 and installed via this thread
http://forum.xda-developers.com/kin...-cm-11-safestrap-20150628-unofficial-t3145547
Copied it as well as the latest SuperSu(v2.65) to the Kindle Fire
Went to Install, saw both Zip files. Selected them(CM11 first, then Supersu second) Swipe to install, rebooted and nothing came up. Rebooted into TWRP and repeated the process after wiping dalvik/cache. Still nothing
Click to expand...
Click to collapse
Makes sense. Likely no kernel. Will probably need to install a full version of FireOS for underlying components. Need to have a think about which build to maximize results, minimize rework. More later....
Davey126 said:
Makes sense. Likely no kernel. Will probably need to install a full version of FireOS for underlying components. Need to have a think about which build to maximize results, minimize rework. More later....
Click to expand...
Click to collapse
You have no idea how much i appreciate the help!
I look forward to hearing what you come up with!!
I would be happy just going straight back to full fire os - Stock EVERYTHING and not even worrying about running another OS. I just want to have a usable tablet again!

Kindle fire hdx brick

After doing a decent amount of research I have not been able to find information concerning my situation.
About six months ago I rooted and installed the Kindle hdx Nexus rom with no problems. Then suddenly while playing Minecraft pe the device shuts off. I restart and it goes to the nexus boot with the four dots exchanging genetic material(lol) It got stuck at this point whenever I tried to restart. I hadn't changed and settings or software it just crashed
I am able to boot into safestrap recovery so I tried to reinstall stall the Thor rom since I still had the file on the Kindle. Theni got the boot loop from the colored dots stage and sometimes the boot would go to "initializing apps 1 of 50) or somthing like that and then it would loop.
I tried to restore to whatever previous back up and version I had and one of them must have been from the stock rom bc the loading "kindle logo" was the stock yellow and white... all I got was a loop so I reinstalled the Thor rom...
I probably should not have but at this point I tried to remove some apps via the safe strap file manager bc i know in my experience with phones certain apps can cause problems and my device was too full to preform backup via recovery
And in my last desperate attempt to not loose some of the things not backed up on the Kindle I connected to my computer to find out my computer can't recognize the device at this point...
I checked the plugins I checked the versions for compatability
I tried to use safestrap side load and came up with command not recognized for internal or external device (somthing like that)
Are there any other options for me? Does this mean it's a hard brick and what could have went wrong?
I think my mistake originally was I didn't create a separate rom slot before flashing(I don't think that bit of information was in the write up I followed)
Side note: for the record I did try to connect to my computer earlier than I stated with the device not being recognized while off or from ss recovery to try save some files
Zavxda said:
After doing a decent amount of research I have not been able to find information concerning my situation.
About six months ago I rooted and installed the Kindle hdx Nexus rom with no problems. Then suddenly while playing Minecraft pe the device shuts off. I restart and it goes to the nexus boot with the four dots exchanging genetic material(lol) It got stuck at this point whenever I tried to restart. I hadn't changed and settings or software it just crashed
I am able to boot into safestrap recovery so I tried to reinstall stall the Thor rom since I still had the file on the Kindle. Theni got the boot loop from the colored dots stage and sometimes the boot would go to "initializing apps 1 of 50) or somthing like that and then it would loop.
I tried to restore to whatever previous back up and version I had and one of them must have been from the stock rom bc the loading "kindle logo" was the stock yellow and white... all I got was a loop so I reinstalled the Thor rom...
I probably should not have but at this point I tried to remove some apps via the safe strap file manager bc i know in my experience with phones certain apps can cause problems and my device was too full to preform backup via recovery
And in my last desperate attempt to not loose some of the things not backed up on the Kindle I connected to my computer to find out my computer can't recognize the device at this point...
I checked the plugins I checked the versions for compatability
I tried to use safestrap side load and came up with command not recognized for internal or external device (somthing like that)
Are there any other options for me? Does this mean it's a hard brick and what could have went wrong?
I think my mistake originally was I didn't create a separate rom slot before flashing(I don't think that bit of information was in the write up I followed)
Side note: for the record I did try to connect to my computer earlier than I stated with the device not being recognized while off or from ss recovery to try save some files
Click to expand...
Click to collapse
No, creating a separate rom slot is not problem/solution (explicitly not recommended). What symptoms is your device exhibiting now? Which version of Safestrap?
Davey126 said:
No, creating a separate rom slot is not problem/solution (explicitly not recommended). What symptoms is your device exhibiting now? Which version of Safestrap?
Click to expand...
Click to collapse
Ok thanks good to know.:highfive: I thought I read somewhere some people do that.
Ss 4.01 (TWRP v2.7.1.0)
Basically the same as before, bootloop at the four loading dots not recognized by the computer
Zavxda said:
Ok thanks good to know.:highfive: I thought I read somewhere some people do that.
Ss 4.01 (TWRP v2.7.1.0)
Basically the same as before, bootloop at the four loading dots not recognized by the computer
Click to expand...
Click to collapse
Safestrap v4 has no native ability to communicate with the outside world. Not recognized via tether is expected with a non functioning rom. Suggest the following:
- perform a 'factory reset' from the Wipe menu (slider at bottom)
- reinstall Nexus rom using zip resident on the device
If symptoms persist it suggests corruption in the system partition which can not be wiped in Safestrap (option exists but is ignored behind then scenes as it would also destroy Safestrap recovery). Not much you can do about that short of replacing boards.
Note: There is an untested option that *may* work with a secondary slot. Try the above first and report back results.
Where would the nexus rom be located?
Davey126 said:
Safestrap v4 has no native ability to communicate with the outside world. Not recognized via tether is expected with a non functioning rom. Suggest the following:
- perform a 'factory reset' from the Wipe menu (slider at bottom)
- reinstall Nexus rom using zip resident on the device
If symptoms persist it suggests corruption in the system partition which can not be wiped in Safestrap (option exists but is ignored behind then scenes as it would also destroy Safestrap recovery). Not much you can do about that short of replacing boards.
Note: There is an untested option that *may* work with a secondary slot. Try the above first and report back results.
Click to expand...
Click to collapse
Well anyway doing factory reset and reinstalling the rom zip was not working... now when I go to restore or install option no rom file comes up
Zavxda said:
Well anyway doing factory reset and reinstalling the rom zip was not working... now when I go to restore or install option no rom file comes up
Click to expand...
Click to collapse
A zip file doesn't just disappear unless the file system is damaged. Look around with the Safestrap file manager. Without a rom zip on board your options are very limited.
Davey126 said:
A zip file doesn't just disappear unless the file system is damaged. Look around with the Safestrap file manager. Without a rom zip on board your options are very limited.
Click to expand...
Click to collapse
Yeah seems like it's missing... i think it went away after one of the factory resets I did...
I have this exact same issue - I can boot into Recovery, but I have no way of getting a ZIP onto the device to flash a ROM? Is there a way?
skoop99 said:
I have this exact same issue - I can boot into Recovery, but I have no way of getting a ZIP onto the device to flash a ROM? Is there a way?
Click to expand...
Click to collapse
Nope - no file transfer capability without a functioning ROM or custom recovery (requires an unlocked bootloader)
Zavxda said:
Yeah seems like it's missing... i think it went away after one of the factory resets I did...
Click to expand...
Click to collapse
Davey126 said:
Nope - no file transfer capability without a functioning ROM or custom recovery (requires an unlocked bootloader)
Click to expand...
Click to collapse
I actually managed to use ADB PUSH to transfer a ROM zip to the device - but after flashing it, the device still fails to boot. I'll try again with a different ROM...
skoop99 said:
I actually managed to use ADB PUSH to transfer a ROM zip to the device - but after flashing it, the device still fails to boot. I'll try again with a different ROM...
Click to expand...
Click to collapse
Update - I have now successfully pushed another ROM to the device, using:
ADB push <path to rom zip> /sdcard
Flashed said ROM, booted OK. Then re-installed the device in Windows as a "normal" Kindle portable device again, to enable drag & drop file transfers. Dropped Gapps zip on it, rebooted into Recovery, flashed Gapps. All good again!
So, Safestrap 4.xx DOES allow ADB connectivity to a device. As long as you can still boot into Recovery.
skoop99 said:
Update - I have now successfully pushed another ROM to the device, using:
ADB push <path to rom zip> /sdcard
Flashed said ROM, booted OK. Then re-installed the device in Windows as a "normal" Kindle portable device again, to enable drag & drop file transfers. Dropped Gapps zip on it, rebooted into Recovery, flashed Gapps. All good again!
So, Safestrap 4.xx DOES allow ADB connectivity to a device. As long as you can still boot into Recovery.
Click to expand...
Click to collapse
Whoa!! This is new and potentially great news for those with 'bricked' devices with a bootable Safestrap v4 recovery installed. I believe this was attempted in the past w/o success. Something changed or earlier tests were flawed.
Although it may not matter can you answer a few questions:
- Apollo or Thor?
- which rom was installed in the STOCK slot when the inadvertent wipe took place?
- what was the base version of FireOS (4.5.2 or 4.5.5.1) when Safestrap v4 recovery was first installed?
- ROM currently installed (the one that booted after adb push)?
- anything else unusual about the device or its history?
Again, this is a nice find a casts a shadow over previous statements, many made by me, that there was no resolution to this dilemma.
skoop99 said:
I actually managed to use ADB PUSH to transfer a ROM zip to the device - but after flashing it, the device still fails to boot. I'll try again with a different ROM...
Click to expand...
Click to collapse
Davey126 said:
Whoa!! This is new and potentially great news for those with 'bricked' devices with a bootable Safestrap v4 recovery installed. I believe this was attempted in the past w/o success. Something changed or earlier tests were flawed.
Although it may not matter can you answer a few questions:
- Apollo or Thor?
- which rom was installed in the STOCK slot when the inadvertent wipe took place?
- what was the base version of FireOS (4.5.2 or 4.5.5.1) when Safestrap v4 recovery was first installed?
- ROM currently installed (the one that booted after adb push)?
- anything else unusual about the device or its history?
Again, this is a nice find a casts a shadow over previous statements, many made by me, that there was no resolution to this dilemma.
Click to expand...
Click to collapse
- Thor
- Nexus: http://forum.xda-developers.com/kindle-fire-hdx/development/rom-hdx-nexus-v4-0-1-t3125808
- 4.5.2
- CM11: http://forum.xda-developers.com/kin...-cm-11-safestrap-20150628-unofficial-t3145547
- Nope.
Bootloader is also still locked.
I only figured this out when I noticed that device manager DID detect the device, but couldn't find a driver. So I installed the ADB driver, and hey presto: ADB DEVICES sees it.
C:\Users\KoopS\Dropbox\Downloads\android-sdk-windows\platform-tools>adb devices
List of devices attached
D070A0A0348300GD recovery
Hope it helps someone else. Again, though - you need to be able to boot into Recovery...
skoop99 said:
- Thor
- Nexus: http://forum.xda-developers.com/kindle-fire-hdx/development/rom-hdx-nexus-v4-0-1-t3125808
- 4.5.2
- CM11: http://forum.xda-developers.com/kin...-cm-11-safestrap-20150628-unofficial-t3145547
- Nope.
Bootloader is also still locked.
I only figured this out when I noticed that device manager DID detect the device, but couldn't find a driver. So I installed the ADB driver, and hey presto: ADB DEVICES sees it.
C:\Users\KoopS\Dropbox\Downloads\android-sdk-windows\platform-tools>adb devices
List of devices attached
D070A0A0348300GD recovery
Hope it helps someone else. Again, though - you need to be able to boot into Recovery...
Click to expand...
Click to collapse
Freaking amazing! Such an obvious and simple solution that has gone undetected for years. There are some tentative caveats (device type, older ROMs) but not sure any of it matters for basic adb access. Time will tell as others stumble into this situation.
For clarity, which recovery are you referencing? Stock or Safestrap? If the former adb access may offer a small measure of hope for those with other types of soft 'bricks'.
I unlocked the bootloader and flashed TWRP on all my HDX devices long ago and haven't loaded Safestrap for testing in months. Just continued to reference previous (mis)understandings around recovery capabilities which was generally bad news. I will likely create a new thread referencing you findings for those who may have shelved their romless but still functioning devices.
Thanks again for sharing. @skoop99 is the man of the day!
See pic. This is my KFHDX...
Wow this is fantastic news! has anyone else here had a chance to try this? I can't remember if the PC responded at all when I plugged in the Kindle
What was the first ROM you tried that didn't work?
Is there a reason you didn't flash the Nexus ROM again?
Zavxda said:
Wow this is fantastic news! has anyone else here had a chance to try this? I can't remember if the PC responded at all when I plugged in the Kindle
Click to expand...
Click to collapse
I'll try this soon. I have a Kindle HDX 7 (that I retrieved from the bin after reading this) that will boot to safe strap, but has no rom, and no zip file of a rom to install.
I'm guessing I need to download and use ADB devices?
Does this work with windows 10?
HDX is too nice to throw away, I hope this works....
Nagoyablue73 said:
I'll try this soon. I have a Kindle HDX 7 (that I retrieved from the bin after reading this) that will boot to safe strap, but has no rom, and no zip file of a rom to install.
I'm guessing I need to download and use ADB devices?
Does this work with windows 10?
HDX is too nice to throw away, I hope this works....
Click to expand...
Click to collapse
- works with Win 10
- you may need to install drivers (although Win 10 often gets it right)
- also consider Minimal ADB and Fastboot (here)
So, I pushed the zip of CM11 unofficial to my HDX. And installed it. I'm pushing the GAPPS now....
---------- Post added at 07:06 PM ---------- Previous post was at 07:05 PM ----------
And cyanogenmod is booting up! It works! My Kindle fire HDX 7 is saved! Amazing.

Categories

Resources