yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
Yeah, there seems to be something wrong here indeed.

As [MENTION=5181412]OdlG26[/MENTION] mentioned here, the OTA apk was renamed already, so it seems Fire OS was at least rooted before somehow. So it's really difficult to suggest a perfect way to solve these issues now.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
I have seen 'partial roots' where some executive actions work while others do not. The 'partial root' descriptor may not be technically accurate (sorry) but the symptoms are unmistakable. Not saying that is what's happening here but I would prioritize making SuperSU happy as in my experience it is often the canary in the coal mine.
[Kindle Fire HDX 7" & 8.9" Android Development] OdlG26:
Phew, thank you guys for your help! I appreciate it a lot.

So, I could imagine that SuperSU is being the faulty guy here. When I start it and it says I have to update the binary, I choose "normal" instead of "twrp/cwm" and it says it fails and I should try again after a reboot (what doesn't solve anything).

I will also go through the priv-apps and see if anything else was renamed and report back.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
SuperSU probably isn't the cause of your Safestrap issue; rather its behavior suggests there is a problem with root or the mechanisms used to control root access. Reviving the canary is not the fix. However, when it stops complaining your have likely identified/corrected the underlying problem.
[Kindle Fire HDX 7" & 8.9" Android Development] OdlG26:
I uninstalled Recovery, then Safestrap app, then unrooted in Kingroot Settings, then pushed Kingroot, Safestrap and ES explorer via adb. I rooted with Kingroot (said it failed), but on the next start of the app it says it is rooted. So I renamed the DisableOTA in Root Explorer successfully. There is also a SetupWizard.apk_off in priv apps, I suppose that is Googles?

Now I just installed the recovery and can boot into it?! Doing a system backup in this moment

Edit: Can you please give me step be step instructions on how to install the Custom ROM (+GApps, SuperSU)? I do not want to mess up now that I am so far. The three ZIPs are already on the SD Card and I'm in recovery menu.

Edit (SOLVED!): I followed these instructions (but with Nexus ROM) and it worked! Thank you so much for your help. Dealing with amazon devices definitely is frightening!

• Open SafeStrap from the app drawer
• Tap 'Reboot to recovery'
• You may be asked to grant root access, grant it
you should now be in recovery mode
• some have suggested a backup. If you desire, create a backup from *'Backup' button now, when done return to the main screen to continue*
• Tap 'Wipe'
• Swipe from left to right on the slider at the bottom to perform a factory reset
• Tap 'Home' when done
• Once at the main screen, tap 'Install'
• Scroll down to the folder 'Download', tap on it
• You should see the following three files:
cm-11-20xxxxxx-UNOFFICIAL-kodiak.zip
pa_gapps-modular-pico-4.4.4-20xxxxxx-signed.zip
UPDATE-SuperSU-vx.xx.zip
• Tap on cm-11...
• Tap 'Add More Zips'
• Tap on pa-gapps...
• Tap 'Add More Zips'
• Tap on UPDATE-SuperSU...
• Swipe from the left to the right on the bottom slider
After it's done loading, tap on 'Reboot System'
After the pre-initialization of apps, you are done! If you want root access, open SuperSU and follow the prompts.
[Kindle Fire HDX 7" & 8.9" Android Development] Awesomeslayerg:
Since fire is 5 is almost out' how can one make thier own safe strapped ROM??
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
- Nowhere near that at the moment

- First we need root access to FireOS 5 then..

- Safestrap will have to be ported to work with the new kernel

- And also depending on what FireOS 5 contains it may not even be possible

- We'll have to wait and see.
[Kindle Fire HDX 7" & 8.9" Android Development] ftf841:
Will this work with fire OS 4.5.5?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
No - must be running rooted 4.5.2. You can get to that version by rolling back to 3.2.8 and then upgrading to 4.5.2. The procedure is risky; directions must be understood and followed carefully to avoid a brick. I do not recommend this path unless you are familiar with Android and associated tools. Better to wait for a root exploit to come to 4.5.5.
[Kindle Fire HDX 7" & 8.9" Android Development] Techno-:
Thanks!

Thanks for all your hard work after spending 3 days reading all the threads I installed this on a 8.9 that came from ebay with 4.5.2 on it. I am unclear on one thing though.Is there a version of the stock rom that can installed in a non stock slot?

Thanks again, John.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Yep - [MENTION=5749760]ggow[/MENTION] is the man!

Regarding your question only CM11 will run in a secondary slot (possibly with adverse battery impact). Issue is with WiFi; it will not activate on FireOS v4 and Nexus v4 when installed in a secondary slot. On CM11 WiFi never enters low power mode when left enabled although it can be set to toggle off when the device sleeps.

Safestrap v4 should be viewed as a tool to enable the installation of a supported rom; ignore secondary slots except for testing and stand-alone use.
[Kindle Fire HDX 7" & 8.9" Android Development] djclark25:
I was on Nexus 4.0.2 and I notice when I first installed it that I seemed to have some previous apps still on my Kindle. I recently have been having some Google Play issues so decided to download Nexus4.0.5 and do a clean install.

I rebooted into recovery, wiped System, Data, cache and Dalvik. I then checkd to make sure I had no priv-app directory with apps in there (Which I didnt) and then flashed Nexus4.0.5

Upon reboot I still had apps installed!!! i then rebooted into Recovery again, did the wipe again and then used the file manager to look what was going on. The data directory was wiped apart from the Apps folder which had my user apps still in it. I wiped data again and still they were there. I used the file manager to delete the APK's.

Coming from Android phones, I have never seen this behaviour before!?!?! When wiping data on those, it always deletes the whole Data partition?

Am I missing something on the Kindle or is this a bug?!?!?!
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
- I'll take a look and get back to you
[Kindle Fire HDX 7" & 8.9" Android Development] djclark25:
Just had a thought.........

When there was the issue (when on FireOS) of GAPPS going wonky due to framework apk being updated, I changed the permissions on the Google services framework.apk so it wouldnt get owerwriten. (That was one of the fixes I believe) That APK was in the Data directory.

Is that, perhaps, why the Apps folder wasnt deleted? Not sure as would expect the other apps in that folder to get deleted and just leave the protected file?!?!

Just a thought! Thanks for looking at it anyway.
[Kindle Fire HDX 7" & 8.9" Android Development] johim:
Quick question - I have a new thor 3rd gen device from Amazon for testing for a couple of days - then I need to return it

It came with 4.5.3, so lets say I've successfully downgraded to 3.2.8, then upgraded to 4.5.2, rooted and installed SS. Then flashed CM11 into stock slot. Is there any procedure for reverting back to original stock FW (I assume I can use the SS flashable images from ggow for 4.5.2). Then probably boot into 4.5.2 (with airplane mode on), uninstall SS, then try to flash stock firmware or just let it OTA? I dont want Amazon to know that I returned the device rooted or flashed with SS.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Short answer - yes. Delete any secondary slots, flash a SS flashable image to stock (only!), reboot, uninstall SS recovery, app and any personal data. Not sure about your comment in the OTA sentence. Obviously you can't flash anything once SS is gone. Nor do you want to. Power it down and ship it off.

Be aware it is relatively easy to detect if a device has been rooted through digital forensics. However, Amazon is not going to do this. They probably won't even look other than to confirm the device powers up before putting in the refurb chain which involves a comprehensive purge/reimage. Amazon is a big company and is not going to invest resources pouring over the vast number of devices that are returned on a daily basis. Perhaps a random sample if return rates exceed some threshold.
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
In addition to [MENTION=5488402]Davey126[/MENTION]'s answer, after un-installing Safestrap, re-rename the OTA.apk, and un-root with Kingroot. But keep WLAN off/flight mode active at all times.
[Kindle Fire HDX 7" & 8.9" Android Development] johim:
What I meant is that, ss runs on 4.5.2,and after flashing ss stock image and removing ss, the device would ota itself to latest fw. Therefore no traceof root would be present?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Possible but unlikely. OTAs and other updates to an existing base do not replace all files. As previously noted don't sweat having obtained root. To date no one has indicated Amazon pushes back when such devices are returned/exchanged.
[Kindle Fire HDX 7" & 8.9" Android Development] Bear6009:
Hey guys,

Thanks for all the hard work here. I spent some time going through this thread trying to ascertain enough info to give my kindle another go.

I have been enjoying a rooted kindle for a while now but I have, like most people run into Google services issues. As well as amazon services starting to not work. I would be what someone already said a frankin-kindle. Lol. So I am ready to either take a full dive into resetting to stock and let amazon control me forever or going to a Rom. AND this nexus Rom looks much better.

I have bricked 1 kindle already. I really don't want to do it again. So here is where I am at:

- version 14.3.2.5_user_325001120 (build date August 5 2014) (

- (ROOTED) using kindle took kit

-oat is obviously blocked, but I can't exactly remember how I did it.

-gapps running by a package of all four Google apps via xposed/ hdxposed

-NO safestrap

What is the best way to get to a place of getting nexus on?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
You best path IMO is to rollback to 3.1.0, install a custom recovery (TWRP), unlock the bootloader and then flash the HDX room of your choice (at present Nexus v4, CM11 or CM12). You would need to reenable OTA updates and remove gapps and hdxposed to minimize the risk of bricking while rolling back. There are a number of smaller steps needed to complete the job and there is always a risk of putting your device into an unrecoverable state when rolling back and performing other sensitive tasks. Such risks can be largely mitigated through attention to detail.

I can provide guidance if you wish. However, it will need to wait until next week due to personal schedule conflicts. Bounce back if interested; just be aware of the delay unless another contributor opts to jump in with the details.

Edit: Further details here
[Kindle Fire HDX 7" & 8.9" Android Development] Bear6009:
Help would be much appreciated.

In the past with phones and other devices i usally just hack my way to the finish line, and learn as I go, but this kindle is not one to do that on. though I am rooted, I am still gun shy to do anything else as this is my SECCOND kindle, the first one, well, lets just say, is not longer with us. RIP.

no worries about any time delay, i will take a look though some more stuff to try and understand everything in the mean time.

thanks
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
As [MENTION=5488402]Davey126[/MENTION] suggested take a look at this thread, read through the info, and ask there if you're unsure regarding certain steps, so we avoid further posts here in the Safestrap thread.

Also read the info available in the linked threads. Basically it's all there, i.e. downgrade to 3.1.0, TWRP Installation, TWRP flashable 3.2.3.2 bootloader, and bootloader unlock procedure.

Don't pay attention to [MENTION=4028746]sykarian[/MENTION]'s situation on the second page of that thread, he was on 3.2.4 and could use the rollback images, you must use the downgrade procedure like [MENTION=6710361]316894[/MENTION].
[Kindle Fire HDX 7" & 8.9" Android Development] johim:
Guys, I decided to try what we were discussing earlier in this thread. I had 4.5.2 rooted, installed SS. The tried different SS roms - flashed in stock. Then decided to flash FireOS 4.5.2 TWRP flashable in order to get back to stock rom and uninstall SS and unroot. Unfortunatelly, after flashing 4.5.2 images, there is no way to access Kingroot nor Safetrap apps (even thou I can see SS recovery during boot). Any suggestions how to atleast remove SS so that amazon wouldnt know I tempered with the device?

Probably install Kingroot again, then reinstall Safetrap 4? and from the SS application -> uninstall recovery? Then unroot from Kingroot?

Whats your suggestion guys?
[Kindle Fire HDX 7" & 8.9" Android Development] EncryptedCurse:
That sounds right.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
What happens when you power up (cold start)? Do you get to the Safestrap recovery screen? Or does it hang on the grey Kindle screen.
[Kindle Fire HDX 7" & 8.9" Android Development] ankitaroramba:
Thanks Davey, yes after trying multiple times, it switched on and i reached to Safestrap screen. The issue was i was not aware that as i select the new ROM in safestrap its the default for booting. I had not loaded the CM11 on it.

So i changed to Stock and problem solved. Hope it helps somebody here.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Common oversight for those new to Safestrap. Glad you were able to work through it :)
[Kindle Fire HDX 7" & 8.9" Android Development] slothdabski:
Does anyone know if there are plans for CM12 or any lollipop ROMs to be ported for safestrap? Not gonna lie, for this reason I'm jealous of those with an unlocked BL!
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
- CM-12.1 might be possible for Safestrap however:

- We would need FireOS 5 Amazon Update

- We would need root access which may not be easy at all because of how locked down it will be

- Then there is simply no guarantee that Safestrap can be ported to FireOS 5

- We will have to wait to see what Amazon does for us.
[Kindle Fire HDX 7" & 8.9" Android Development] slothdabski:
All that makes sense, thanks!!!!!!!
[Kindle Fire HDX 7" & 8.9" Android Development] chrischa:
stupid question, can't confirm this, im on 452004220 rom (provided here)

will it work or do i have to reproduce the *->3.2.8->4.5.2 update cycle?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
By all reports 452004220 works just fine; no need to rollback/reinstall 452004120.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
It will work with the 452004220 version of ROM.
[Kindle Fire HDX 7" & 8.9" Android Development] chrischa:
thank you guys. i dont get into safestrap recovery :(. I installed safestrap app and pressed install recovery but state stays "Not installed".

when pressing install recovery the "installation complete" toast appears but state doesnt change. maybe im doing something wrong.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
- not sure what's going wrong

- maybe the best thing to do would be start from fresh

- uninstall safestrap recovery and the app

- downgrade to 3.2.8 and back up to 4.5.2

- you might also want to factory reset when back to 4.5.2 to ensure any misc files are cleared out and not causing any problems

- then try again to root, safestrap etc
[Kindle Fire HDX 7" & 8.9" Android Development] chrischa:
thanks for the quick reply. i also will try 4120 :D

/e: forgot to say installed gapps before and renamed ota apk
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
Just to be sure: you did root with Kingroot?
[Kindle Fire HDX 7" & 8.9" Android Development] chrischa:
no rooted with this exploit apk and installed su. but root is working
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Too many off script tweaks. Go with [MENTION=5749760]ggow[/MENTION]'s guidance. Rollback/upgrade to clear out crud, root with Kingroot followed by safestrap v4 and the rom of your choice (cm11 or Nexus v4). Stay away from gaaps on FireOS. No need to block OTA if flashing (overwriting) FireOS in the stock slot.
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
I'd still recommend to disable OTA and create a backup of the stock slot before flashing any custom ROM, in case of restoring the stock slot it helps to avoid instant screwage. ;)
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Definitely backup the stock slot before blowing away FireOS! Disabling OTA first is a personal choice. I prefer to leave stock as-is but [MENTION=6815340]Cl4ncy[/MENTION] has a point about instant screwage if you restore later and forget to disable WiFi.
[Kindle Fire HDX 7" & 8.9" Android Development] mrw187:
I finally got hold of a 7" LTE, upon checking firmware it is 13.3.2.5.

so I guess I do this safestrap like I did to my non LTE I did a few months ago?

Used once, it still smells like new, got it for approx $117usd off a new Zealand auction website.

I was quite chuffed. problem is it wasn't advertised very well at all, but us hdx lovers know how good it is! he he
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
3.2.5 can downgrade to 3.1.0, and use TWRP & unlocked bootloader then!

All info here! :D
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Be aware most HDX roms do not provide robust support for LTE. If mobile capability is a key consideration you may want to stick with FireOS (really the only reason to stick with FireOS unless one prefers the UI).
[Kindle Fire HDX 7" & 8.9" Android Development] EncryptedCurse:
To clarify Davey's post, that doesn't mean that you can't still enjoy the benefits of an unlocked bootloader and TWRP; you'll just need to flash a compatible FireOS ROM with all the 'bad stuff' stripped away.
[Kindle Fire HDX 7" & 8.9" Android Development] mrw187:
ffs i managed to edit the build.prop manually but still failing says invalid update im about to lose it
[Kindle Fire HDX 7" & 8.9" Android Development] mrw187:
ok ive progressed im now successfully on 13.3.1 i mustve stuffed up something so i updated to 13.3.2.6 and started all over again
[Kindle Fire HDX 7" & 8.9" Android Development] mrw187:
Ok yay I've finally done it. had some troubles with fastboot cause I use Win 10 Beta Builds on my main pc but at least rtm on the laptop lol so i raged out and installed win7 on my laptop and then i was successfully able to unlock bootloader.

happily running nexus 4.05 atm txting works great yay!
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
Great you got it working, enjoy your "free" HDX. ;)

Too bad newer Windows versions make it more and more difficult to install the required drivers though.
[Kindle Fire HDX 7" & 8.9" Android Development] _Alex_:
Is safestrap close enough to TWRP so it's possible to create a password protection via custom theme? I have a very impatient 2 year old who I can imagine rebooting the device in frustration and then clicking on everything until he manages to brick his tablet...
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Many adults exhibit the same behavior... :)
[Kindle Fire HDX 7" & 8.9" Android Development] B3NJY:
Oops...I thought I was ok to install straight over 3.75 with jellybean on and on reboot screen loops a flash so done a complete reset wipe and now its just runs jellybean from boot no safestrap..any advice other than you should have read through first hehe..
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
Actually I'm surprised your device still works at all. :eek:

Did you run your Jellybean ROM from stock slot or a secondary slot, i.e. do you still have Fire OS in the stock slot?
[Kindle Fire HDX 7" & 8.9" Android Development] B3NJY:
I have just uninstalled safestrap 4 and reinstalled 3.75 and transferring the twrp backups from pc right now ,so now I have only rom slot : stock which is ggows nexus v1 rom, hopefully the backups work and I can get back on track I think I should be on kindle 4.5.2 before I can install safestrap 4 is that right ?
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
Well, wait a minute!

The backups you have are Safestrap backups (the REAL TWRP is different!)? And those backups where backups of the stock slot or secondary slots? Restoring a backup of a secondary slot to the stock slot will probably overwrite Safestrap files and brick the device, so do NOT restore a backup of a secondary slot to the stock slot!

And another question:

Do you know which Fire OS version you had installed? Safestrap v3.75 means there's a certain likelihood that you could downgrade to 3.1.0 and use the real TWRP with an unlocked bootloader then. Depending on the Fire OS version (3.2.3.2, 3.2.4 or 3.2.5/3.2.6) the procedure is different though, so if you've any interest it'd require to know that version.
[Kindle Fire HDX 7" & 8.9" Android Development] wejgomi:
Hi,

Thank you for keeping this project alive and the effort you put into this. I'd like to know if it is possible to rotate the screen while in recovery.

I have a KF7 HDx with a broken screen and cant make use of this because I am unable to reach for the Install and Status buttons. I tried many things as to use an OTG mouse and editing the .twrp adding the correct lines, however both efforts have failed for me.

I would be glad if you could add or activate this feature, as it would help revive many broken unused Fire's.

Thanks
[Kindle Fire HDX 7" & 8.9" Android Development] B3NJY:
Thanks cl4ncy I restored before I had chance to read your reply..the restore file worked ok and has brought my apollo back to 14.3.2.8 I am on this as I bought kindle on os 4.5.3 so could nt unlock bootloader so had to go back to 3.2.8 then up to 4.5.2 but I So now I am 3.2.8 again I am unsure of my next moves to get safestrap up to 4.
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
[MENTION=5488402]Davey126[/MENTION] gave a good overview here, so read all the info and ask before you brick your HDX! If you don't follow the procedure 100% correctly, you will brick your HDX!

Note that you must keep WLAN off/flight mode active during the update procedure, getting updated by Amazon by OTA will brick your HDX!

You must un-install Safestrap v3.75, and re-enable OTA with HDX Toolkit before updating to 4.5.2, that's why I make it that clear what will happen if you don't have WLAN off/flight mode active!

After successful update to 4.5.2 you must root with Kingroot.

Kingroot requires a short internet connection, so just enable it to root, and disable right after success! Otherwise you will get updated to 4.5.5. and have to do the whole down- and upgrade process again, with all the risks!

After successful rooting you can install Safestrap v4 and use eiter Nexus or CM11. Now while CM11 works in secondary slots it is recommended to use the stock slot due to higher battery usage of secondary slots (Nexus works in the stock slot only - WLAN won't work in secondary slots). Do NOT restore a backup of a secondary slot to the stock slot! This will overwrite Safestrap files and will brick the HDX! Safestrap is not like the real TWRP!

Be sure to create a backup of your stock slot before you flash any custom ROM, and copy that backup to your PC!

Again: any questions please ask first. ;)
[Kindle Fire HDX 7" & 8.9" Android Development] B3NJY:
Ok thanks Davey, I know I should have read up first its a lesson learnt and I am lucky not to brick !
[Kindle Fire HDX 7" & 8.9" Android Development] Cl4ncy:
Oh yes, you dodged a bullet right there. Good luck though, there's still lotsa trouble ahead. It never gets boring with amazon's HDX. ;)
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Thanks but the kudos go to [MENTION=6815340]Cl4ncy[/MENTION]. Glad it all worked out and rather amazing your device didn't brick when you made the first boo-boo (the Kindle gods were watching over you). :)