yashsingh1/xdaforums huggingface dataset:
[Kindle Fire HDX 7" & 8.9" Android Development] djclark25:
Thanks for help.

I'm on a thor. I downloaded the 4.0.1 for thor file direct from the link in first post.

I hard shut off and when powered on I got the safestrap splash screen with 2 options, recovery or boot system. Safestrap says it is disabled. Boot system works fine and I get into my normal 4.5.2 system.

Recovery goes straight to a black screen and nothing happens. Have to hard reboot again.

Any ideas. Shall I try installing in again?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Can you do the following:

- reboot into your ROM

- connect to your computer via usb

- open command prompt or terminal

- type "adb shell getprop >props.txt"

- send me the resulting props.txt file
[Kindle Fire HDX 7" & 8.9" Android Development] djclark25:
I'm not near my adb installed laptop at the moment but take it you want the build.prop from the hdx.

I have attached it here. Also just to let you know, when I launch the safestrap app, it says safestrap is installed and safe system says not active

Also don't know if it relevant but I have xposed and gapps installed
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I'd still like the out output of that command if that's ok.

However in the meantime you can try this:

- boot into your rom

- uninstall the recovery from the safestrap app

- uninstall the app too.

- get yourself an md5 checker and check the md5 of the safestrap.apk, it should be 2b28594dec8571be4c0a802043ba510c

- if not re-download until you get the correct md5

- if you have the correct md5 install and try again.

EDIT: Safestrap not active on the splash screen is normal at this point in time.
[Kindle Fire HDX 7" & 8.9" Android Development] djclark25:
Will install a terminal emulator and get the output that way and attach. Will also check the md5 and try installing again.

Thanks
[Kindle Fire HDX 7" & 8.9" Android Development] djclark25:
Checked md5 of downloaded file and is ok. Downloaded file again from another mirror and md5 fine for that one as well. Uninstalled recovery, uninstalled app. Reinstalled app, reinstalled recovery and have same issue.

Attached is the output you asked for, hope it helps!
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
That all looks normal.

It's peculiar that the splash screen shows, but then the recovery does not.

You will have to do the following when your at your computer to get a kernel log

- reboot

- when the splash screen comes up hit recovery

- you should be a blank screen as you described

- connect the device to usb

- check if you have adb access by "adb devices"

- if so get a kernel log by "adb shell dmesg >klog.txt"

- send me the klog.txt file

Hopefully it will contain some useful info.
[Kindle Fire HDX 7" & 8.9" Android Development] djclark25:
Ok. May not be able to do that till Monday morning now as might not be able to get my laptop with adb and drivers all setup on it till then.

What about trying a factory reset? Is that worth a go? I take it xposed wouldn't cause it?

Also while clutching at straws, what about busybox versions or something like that causing an issue?
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
You could try a factory reset in theory because you are running stock 4.5.2. It will wipe all your /data so backup anything you want to keep. Also as far as I'm aware a factory reset doesn't touch your /system partition so any changes you made there should remain. So I'm not sure as to how much success you'll have.

But in case you want to try it:

- uninstall safestrap completely (recovery and apk)

- Then boot into amazon recovery and reset from there.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Although likely not the cause I suggest disabling (uninstalling) Xposed framework. No need to remove individual modules; they should reactivate and retain all settings when Xposed is reinstalled. Seems like a quick/easy/safe test that can eliminate a variable.

Ditto for Greenify if you have it installed...although the experimental features (most likely to cause a problem) will be disabled if Xposed is not active. I have actually seen the most weirdness with Greenify. Gravitybox also has deep hooks.
[Kindle Fire HDX 7" & 8.9" Android Development] djclark25:
Fixed it!! I checked in titanium backup and I only had 4mb in the system partition. I wondered if this wasn't enough for the install and deleted a couple of printing apk's from the private folder. This gave me about 15mb, tried. Installing again and on rebooting when straight into safestrap recovery!!

Obviously this has only happened to me but perhaps there is some kind of free space checker you could put in the install script in a future release?

Thanks for your help and now looking forward to I stalling your nexus rom :)

---------- Post added at 08:23 PM ---------- Previous post was at 08:21 PM ----------

Thanks for the suggestion. I have fixed it by creating more space in the system partition. Your suggestion would of fixed it as well but I didn't want it to be a red herring as by u installing x posed I would of freed up space but xposed wouldn't of been the issue.

I also have greenify installed so if the free space hadn't of worked I would of definitely tried your suggestion
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Good to hear, that's very useful to know what the cause was. Would you mind filing a bug report. Just so that it doesn't get lost. Hope you enjoy nexus v4 :)
[Kindle Fire HDX 7" & 8.9" Android Development] djclark25:
Yes, no problem. How do I go about that? Looked in app but can't see a bug report button or anything
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Here's a link...

http://xdaforums.com/devdb/project/?id=10405#bugReporter
[Kindle Fire HDX 7" & 8.9" Android Development] djclark25:
Just posted bug report. Installed nexus rom last night and looking good. Thanks for your excellent work on safestrap and the rom. Turned a crippled device into a brilliant tablet!
[Kindle Fire HDX 7" & 8.9" Android Development] wildgunman:
can you create a savestrap for fire hdx 8.9 (Saturn) ?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
If you can obtain root -and- are on FireOS 4.5.2 then Safestrap for Apollo should work fine on Saturn as the devices are quite similar. You may be able to run Safestrap v4 on higher firmware levels (rooted) but it has only be tested on 4.5.2.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
The kernel for the Saturn device is very different, I don't think it will work.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I can create one for a rooted firmware. The problem been I do not own the device. So if I make one blindly and it doesn't work then there is a risk of producing an expensive paperweight.

Is there an option to sideload a stock firmware in the Saturn's recovery?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
[MENTION=2463156]wildgunman[/MENTION] - Yikes, sorry for the misinformation. I'll just go back in the corner and be quiet. No one needs another wanna-be know-it-all (lol). :eek:
[Kindle Fire HDX 7" & 8.9" Android Development] wildgunman:
root... check

4.5.2... no... 4.5.3

no sideload option in recovery :(
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I am willing to produce Safestrap for Saturn, but equally I don't want to brick anyone's device.

The risk is high.
[Kindle Fire HDX 7" & 8.9" Android Development] wildgunman:
hm, i understand but i am risky ;)
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
I'll pm you tomorrow. I'll try to put something together but will need some info from your device.
[Kindle Fire HDX 7" & 8.9" Android Development] fuxkamazon:
thanks for the great work GG. Im now on safestrap 3.72 using thor which is Android 4.2. i would like to upgrade to 4.4. but i wanna make sure few things.

now my original hdx7 fire os is 13.3.2.3.2. do i need to do manual update in order to get the safestrap v4.01? and how can i get root access after that? bc toolkit for fast root n ota blocker only work version before 13.3.2.3.2. thank you for advance!
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
13.3.2.3.2 is the correct firmware version for unlocking your bootloader.

- Stay on the firmware version you are on right now

- Follow the instructions here to unlock your bootloader.

- Uninstall Safestrap recovery and the APK.

- Install the latest TWRP from.

- Then flash Nexus v4 in TWRP.
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
[MENTION=3887557]Moscow Desire[/MENTION]

- Can we create a separate development forum for the 4th generation Fire HDX 8.9?

- I don't want stuff on for the 3rd generation tablets to be confused with any new stuff for the Saturn 4th gen device.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
A few quick clarifications:

- consider making a backup from Safestrap recovery before proceeding (one or both slots)

- make sure FireOS 13.3.2.3.2 is running in the STOCK slot (some people mistakenly flashed Nexus to the stock slot)

- you will not be unrooting or unblocking OTA

- Safestrap v4 is not needed - Nexus v4 can run natively on your device (with an unlocked bootloader)
[Kindle Fire HDX 7" & 8.9" Android Development] fuxkamazon:
thank you for your reply, but i just cant figure out how to unlock the bootloader. is there any tool i should use for?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
You'll need to follow the guide linked by ggow (here) which is rather technical and requires a Windows host to complete (there are variants for Linux and OS X) plus a fair bit of technical knowledge. There are no canned tools, videos or step-by-step tutorials. Unlocking is not risky (failed attempts won't harm your device) but it can be a frustrating experience.

If unlocking feels uncomfortable you can do a controlled upgrade to FireOS 4.5.2 and then install Safestrap v4 followed by Nexus v4 or CM11. However, you will permanently loose the ability to unlock your bootloader which is the key to running roms like Nexus and CM in 'native' mode. Unlocking also offers greater recovery capability should something go wrong.

There is also the 'do nothing' option which leaves you with a perfectly serviceable device running a very nice Nexus rom (Jelly Bean 4.2 based).
[Kindle Fire HDX 7" & 8.9" Android Development] lekofraggle:
The other option is to use draxie's tool not to unlock your boot loader, but to create a version of x.4.5.2 that does not overwrite the boot loader and flash that through twrp. There is a little risk here in that if you try to flash a bad zip, it is easier to brick your device, and there may be little recourse if you do so. In addition, it will be almost impossible to safely roll back, or do a complete clean install and upgrade the boot loader and the os without bricking the device. An ota update will almost certainly brick the device beyond repair.

If you go this root, be sure you are on x.3.2.3 and have twrp before you begin to upgrade.

Good luck.
[Kindle Fire HDX 7" & 8.9" Android Development] Rvby1:
Question about getting the proper version

Very sorry if this has been asked before, but I'm hoping to try and update my system from 3.2.8 to 4.5.2 soon; I've got the bin downloaded, but it's listing its name as "update-kindle-13.4.5.2_user_452004220" instead of "update-kindle-13.4.5.2_user_452004120." I'm pretty sure this is an important distinction, since it was made so crystal clear in the OP. However, I can't seem to find the 4120 bin--every 4.5.2 download seems to get me the 4220. Does anyone have a link to the 4120 bin?
[Kindle Fire HDX 7" & 8.9" Android Development] paul26rem:
I am using "update-kindle-14.4.5.2_user_452004220" and it worked for me
[Kindle Fire HDX 7" & 8.9" Android Development] jeryll:
Thor

https://kindle-fire-updates.s3.amazonaws.com/update-kindle-13.4.5.2_user_452004120.bin
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Sorry for delayed response. While it is unclear what differences, if any, exist between 4120 and 4220 both versions have been successfully used for 3.2.8 -> 4.5.2 upgrades. I see others have posted links to 4120. Either is fine.
[Kindle Fire HDX 7" & 8.9" Android Development] Rvby1:
Alright, I have gotten all the way to the point of using "install" on both the GAPPS and Nexus files in Safestrap v4.01. However, I am slightly lost on where to go from here--the instructions I was following (here) tell me to wipe the dalvik/cache, but I can't find that option anywhere. Further, it seems like that brings on some troubles for him, but that might be unavoidable. But I'd much rather go the factory reset way. This is just the slide option under wipe with no advanced changes, correct?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Correct. Default slide action under wipe is what you are looking for.
[Kindle Fire HDX 7" & 8.9" Android Development] Rvby1:
Awesome. And from there am I wanting to reboot to System, Recovery, or Download?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
System.
[Kindle Fire HDX 7" & 8.9" Android Development] Rvby1:
Everything went through and I am now running Nexus. Thank you so much!

To pay back a little bit, I went ahead and made a guide going through my experience going from 4.5.4 to flashing. Let me know any feedback you might have after taking a look. Let me know if I should post it somewhere else, too.
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Whoa - thank you very much!! Lots of detail! I am buried in a work project the next day or two (16 hr days - ugh!) but look forward to reading through the guide. Thanks again for sharing your experiences and giving back to the community.
[Kindle Fire HDX 7" & 8.9" Android Development] Rvby1:
Looking forward to your feedback after you make it through those crazy hours!

I'm glad to be able to give something back :) Thanks again to you and everyone who helped make it possible!
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Well, I am just a regurgitator flavored with a bit of personal experience and a leaning toward safety. Acknowledgements get spread far and wide with bits and pieces of knowledge coming from many individuals such as yourself. Whack the 'thanks' button when you encounter a helpful post; lets the author know their work is appreciated.

I read through your guide; lots of helpful guidance with no obvious errors or omissions. My only comment is the procedure will work for Apollo devices (need to grab a different file set) which are Gen 3 8.9" models with a 2.2 GHz processor. The successor released in 2014 is largely identical but sports a slightly faster 2.5 GHz processor, a different SOC and a few other tweaks. Known as Saturn it can not be rolled back to 3.2.8. HDX 7" models were not updated and have remained functionally unchanged since their 2013 release. CPU-Z (also available in the Amazon and Google app stores) makes it easy to identify specific models.

Thanks again for the guide. It has already proven helpful as evidenced by recent posts in the other thread.
[Kindle Fire HDX 7" & 8.9" Android Development] gog08:
Hi, you removed the links for the stock roms for flashing within safestrap to rollback, where i can find those?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Here. Note the v4 images are unrooted and not do NOT have OTA blocked. Only flash these from within Safestrap. Any other use is asking for trouble.
[Kindle Fire HDX 7" & 8.9" Android Development] gog08:
Thanks, I've already acknowledged that, after the sad experience of some users here.
[Kindle Fire HDX 7" & 8.9" Android Development] M-A-X:
Hi there.

I'm really confused what to do. I read this entire Thread and some others... Maybe someone can help me:

I'm on a fire hdx 7 (thor) device with 13.3.2.4. I have root, safestrap 3.75 installed.

On Stock there is the FireOS and in Slot2 there is nexus 1.01. I disabled OTA but i really cant remember how.

If it helps: I have towelroot installed so i have used this back in the days. And I am pretty sure, that i used some kind of script from my windows PC to disable OTA updates.

All these steps were long ago and I was pretty happy with all this till some days ago. Google Play Services kept bugging and the work around that i used doesnt work any more (as the new Youtube app f.e. needs newer google play services). So i want to upgrade to Nexus 4 Rom.

As far as I understand i cant get safestrap 4 working on my device (as its not on 4.5.2) and I cannot flash 4.5.2 without safestrap 4.

Then i read something in this Thread about unlocking the bootloader.

Sadly there are no steps included in the manual "http://xdaforums.com/kindle-fire-hdx/orig-development/dev-bootloader-unlock-procedure-software-t3030281"

So im not sure what to do. As i understand the best for me would be to unlock bootloader? (how?) and then just use a modded TRWP and install Nexus Rom? Or ist there a better way?
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
You have a few options:

1) Unlock your bootloader which will permit flashing several ROMs including Nexus v4 and several CM variants

2) Upgrade to FireOS v4, install Safestrap v4 and flash Nexus v4 or CM11

3) Fix Google Play in Nexus v1.0.1 (I would not attempt a fix in the FireOS v3 slot)

Option #1 is more coveted as it completely unlocks your device and offers more robust recovery capability. But it can be challenging adventure. Patience, time and a willingness to troubleshoot are prerequisites. Bricking is possible but unlikely if you follow instructions. Returning to FireOS is more challenging with this option with no dual-boot capability. You should only consider this if your are committed to Nexus or CM.

Option #2 is easier, relatively safe and will be quite familiar given your experience with Safestrap v3. However, once you go this route you will permanently loose the ability to unlock your device at a later time. Time and patience still required but fewer steps are involved.

Option #3 is the simplest. To my knowledge the latest versions Google Play remain fully compatible with Jelly Bean 4.2 which is the underlying version of Android in Nexus v1.0.1. Reflashing GAPPS may solve it or you may need to reflash Nexus v1.0.1. All easy to do with little risk. The first two options remain available if this does not work. If you are having problems with Google Play/Services on the FireOS side I can not help (more accurately, politely decline to assist) although I can hook you up with others who might.

BTW - I have a pretty good idea how you may have blocked OTA on 13.3.2.4. If accurate it's pretty easy to reverse :).
[Kindle Fire HDX 7" & 8.9" Android Development] M-A-X:
Hey.

Thanks for the quick answer. I'd like to try option one.

What are the steps to get to the point where i can follow the instructions in the other thread.

Switch to Stock rom, uninstall safestrap (how) and then follow it?

Thanks

Max
[Kindle Fire HDX 7" & 8.9" Android Development] DB126:
Quick outline (assumes OTA blocked on FireOS):

- (optional) boot into Safestrap and backup Nexus and/or FireOS partitions. You'll appreciate these if something goes wrong. Files will be big. Do one slot, boot into FireOS or Nexus, tether device, copy backup file to PC (located in twrp folder), delete from HDX, repeat for remaining slots.

- boot into FireOS and install Safestrap 3.7.5 apk from here. Just install for now; don't change anything.

- return to Safestrap recovery and delete Nexus slot. Double/triple check you are not deleting/wiping the stock slot where FireOS is located.

- reboot to FireOS. Launch Safestrap and delete Safestrap recovery partition. Then unistall Safestrap 3.7.5 itself (so you don't accidentally reinstall it later)

- head into Kindle settings and make sure ADB is enabled. The terminology may be slightly different (I forget); just make sure that sucker is on before next step

- hold breath and reboot device. It should come up fine. Congrats - you are now running a largely stock version of FireOS 13.3.2.4 (rooted).

- uninstall any HDX 'helper' apps that you may have used in the past. In particular xposed framework and any associated modules. Then reboot (again).

Random thoughts:

- I strongly encourage upgrading to 13.3.2.5 or 13.3.2.6 prior to rolling back to 13.3.1.0. Lower risk and clears out 'crud' that could ruin your day.

- Use HDX toolkit to block/unblock OTA. Don't mess with any other technique; bad day follows.

- Once OTA is unblocked stay off WiFi. Period. Do transfer/installs via tether. Belt-and-suspenders types engage airplane mode and delete existing WiFi profiles too.

- Double check every action before executing. Stop and ask questions if unsure. Juggling babies is safer than taking a wrong turn (ok ... maybe that's a bit extreme).

- Many guides suggest bootloader unlocking before installing TWRP recovery. My comfort meter goes the opposite way. Your call. There are decent arguments for both approaches.

Good luck.
[Kindle Fire HDX 7" & 8.9" Android Development] M-A-X:
Hey.

I did the steps you mentioned (beeing on a "largely stock version") now. I also updated to 13.3.2.5 and downgraded to 13.3.1.0.

How do i upgrade to 3.2.3 bootloader? It says that i should use twrp and the IMG file that only contains the bootloader. But when i read the thread about the modded twrp it states "Ensure you are running stock firmware .3.2.3.2"

So i need to install TWRP with 3.1.0? which would be not "ensuring" that im on 3.2.3.2

EDIT: I wrote to fast.. Downgrade to 13.3.1.0 didnt work.. "Update broken" or something like this pops up... Im downloading the bin again atm

EDIT2: Downgrade worked now.

I also startet the unlock but I'm stuck atm. I used python to create a 0Xmmssssssss.unlock (where mm and ssssssss are my digits) i also entered fastboot mode at kindle. But after "fastboot -i 0x1949 flash unlock 0xmmssssssss.unlock" its stuck... "Waiting for device"...

EDIT3: ADB drivers needed to be reinstalled... thats like the 100th time i reinstalled them for different devices :=)

EDIT4: it seemed to work. I installed Nexus Rom from twrp.. hoping the best :) Thanks a lot
[Kindle Fire HDX 7" & 8.9" Android Development] fiengzhu:
Hello, is nexus 2.0.5 or safestrap nexus 1.0.1 going to be compatible with this version of safestrap? Thanks!
[Kindle Fire HDX 7" & 8.9" Android Development] ggow:
Hi fiengzhu,

No the two ROMs you mention will never be compatible with Safestrap v4. This is because they use different kernels that are incompatible.
[Kindle Fire HDX 7" & 8.9" Android Development] Tapeinos:
Assistance much appreciated

Hi,

Ive just bought a HDX 7 and am looking to install the Nexus platform on it. Ive been reading through these forum pages for the last day or so and I have a few questions that I would be greatly appreciative of any help on before I take the plunge and root and flash the device. I am currently on the stock build of 13.3.1.0 and have it in Aeroplane mode so it cannot conenct for any updates. I read some of the earlier how to's by Hashcode and ive downloaded the KFHDX Toolkit aswell as the 3.2.4 ROM. I was going to proceed to install the Safestrap 3.7.5 but its no longer on the link in the http://xdaforums.com/kindle-fire-hdx/general/tut-kindle-rooted-otaed-safestrapped-t2954893 guide. It was after getting stuck on this that I stumbled across ggow's (thanks for all the effort and help youve given to the community!) guide on installing the Nexus 4 ROM. My questions (apologies for their basic nature) are as follows:

Is this ROM fully safe to use with all features working?

If I install this ROM on the stock slot will I then have an android device that can download updates to the OS from the Android official OS?

As my device is still on 3.1.0 what would you recommend is the best course of action for me to get it onto the Nexus 4 ROM? - is it dangerous to goto direct to 4.2 from 3.1.0? How should I install SafeStrap 4 if im not on 4.2 in the first place?

Should I follow this process instead > xdaforums.com/showpost.php?p=58897784&postcount=67 as it appears this is the most desired method?

Thank you so much for all your efforts and any help you can provide