yashsingh1/xdaforums huggingface dataset:
[Amazon Fire Phone] transentient:
I hope this is a real dumb question but - once I've rooted, safestrapped, and booted into CM11, is there any need for me to worry about the old Fire OS trying to do crap in the background?

My understanding of using safestrap is that you are pre-empting the existing bootloader to get your phone to start up from some other memory location. I just want to make sure that this doesn't mean that the old OS is hanging around in there thinking it has something to do.

---------- Post added at 05:01 PM ---------- Previous post was at 04:58 PM ----------

I rooted my phone with Kingroot, put supersu in charge, checked with rootchecker and it was all good.

I did not really have any problems with safestrap, so now I am running CM11 per the other thread!

But when I run rootcheck - it says I am no longer rooted. Running supersu right from the phone doesn't seem to work.

I'm curious about that - is this why the OP suggests to flash SuperSu from safestrap?
[Amazon Fire Phone] ggow:
- When you flash CM11 to the stock slot, fireos is completely overwritten.

- All traces of kingroot will be gone too, hence...

- You must flash the SuperSU.zip after flashing CM11
[Amazon Fire Phone] AvataroftheSun:
Having some issues. Followed the steps here to downgrade to 3.5.0, but now I cannot connect to my Amazon account (registration times out 100%), so Appstore doesn't work. Grabbing APKs from Google Play (or even just the towelroot apk from that thread) doesn't work, after doing an adb push, doing an abd install fails with "Invalid APK file". Additionally, the only icon on my home screen is the Appstore icon, so I'm completely at a loss as to how to install the APK with no file manager and while adb is useless.
[Amazon Fire Phone] sergio687:
But... But... The original post from [MENTION=5749760]ggow[/MENTION] is clear :(

You must have been on stock firmware, version 4.6.1. You downgraded instead, to 3.5.1, even with all the nasty overheating issues that happen when you do that, and the Amazon register problem you're reporting. For rooting, you used Towelroot (because now you were on 3.5.1). If you stayed in 4.6.1, you could have used Kingroot, as it says in the original post.

I guess you didn't do anything wrong to the Download Manager, right? You should return to 4.6.1 if possible. Try updating from the Settings app. If there isn't any update available, this thread could be of use. Then download Kingroot, root it and install Safestrap. The rest is what [MENTION=5749760]ggow[/MENTION] said in his original post.

Good luck!
[Amazon Fire Phone] AvataroftheSun:
Updating from the settings app is failing as well, and the whole reason I downgraded in the first place was because the current version I had on caused Kingroot to fail. I don't know where to get any of the stock firmwares that I can flash without Safestrap. Do I have any other options here?

EDIT Scratch that last part, it'd help to read a little closer into what's given to me
[Amazon Fire Phone] sergio687:
US version

UK version

German version

Connect the phone to the PC and press the power button with the volume down button at the same time. It'll put the device in recovery mode. Then select "Apply update from ADB". Sideload the update by writing:

adb sideload name-of-the-file.bin

Wait and enjoy.

I'm pretty much reposting the instruction. Original instructions by Bingo Bronson.
[Amazon Fire Phone] OffBeatMammal:
silly question... with this if I've encrypted the phone (requirement of my IT dept if I want to get email) is there any way I can flash either a new version of the gapps or an update to the ROM when available, without having to factory reset and rebuild everything from scratch?
[Amazon Fire Phone] alfick3:
I have a question; is this like a 2nd init recovery? I used to have an LG Motion 4G on MetroPCS. It had a locked bootloader and someone ported over an app recovery that allowed us Motion users to have custom ROM's. It never was a true recovery since we couldn't do a key combo to boot into recovery from power off. If we tried to use adb to reboot recovery, we just got the stock LG recovery which wiped the phone every time. I think I remember reading that you can boot into this recovery from power off, so that's not an issue for the Fire Phone I guess. The Motion's 2nd Init recovery was ported over from another LG phone, but I can't remember now which one.

Great work here. My wife has a Fire Phone, so I've been peeking in on these forums every now and then. It'd been a while so today was the first time I noticed this thread and the one for CM11.
[Amazon Fire Phone] ggow:
Yes it is a 2nd init based recovery. Hashcode originally wrote Safestrap: link here to his work: http://blog.hash-of-codes.com/downloads/safestrap/

I ported it across to the phone, then set to work on CM11.

While this isn't a true recovery, everytime you reboot you get asked whether you want to enter recovery, boot or timeout of 10 secs to boot OS. It's a really nice bit of work by Hashcode :)
[Amazon Fire Phone] alfick3:
Very nice. Yeah, the one we had for the LG phones could only be accessed once powered on. That's nice that yours will ask if you want to boot into recovery or to the OS.
[Amazon Fire Phone] Leecai:
Fail to flash the cm11 rom

Hi, I got failed message in the log as below, can someone tell me what could go wrong. I have Safestrap v4 running and the device firmware is as required. I have tried very carefully to follow the instruction from ggow.

Installing '/sdcard/APK/cm-11-20150715-UNOFFICIAL-kodiak.zip' ...

Checking for MD5 file ...

Skipping MD5 check: no MD5 file found

Error flashing zip '/sdcard/APK/cm-11-20150715-UNOFFICIAL-kodiak.zip'

Updating partition details...

I am downloading the zip file on mac and use USB cable to side load the files onto my fire phone.

Thanks in advance,

Lee
[Amazon Fire Phone] lukas1010:
Did you choose the stock slot for flashing in Safestrap?

You could also check the MD5 manually on your Mac: just open terminal, navigate to the folder with the .zip-file and run "md5 cm-11-20150715-UNOFFICIAL-kodiak.zip". Compare the value you get with the one from the download link (should be 043903963c9beee81150d1fd536a403e).

If terminal gives you some different value, you should download the zip again.

Don't worry about the md5 error you get in Safestrap, there is no file to compare the values on your phone.
[Amazon Fire Phone] rbeavers:
Try moving Rom out of /APK ?

Most twrp and cm installs say to put the rom in root of sdcard.
[Amazon Fire Phone] :
Hi, I'm a Mac.

And. I. can't. even. MD5. uhdoiiiii... :laugh:

Please try it like rbeavers suggested. If it still fails after that, "wipe it":

Please choose "wipe" from the safestrap recovery menu ➜ swipe to 'factory reset' ➜ reboot into recovery ➜ choose "install" ➜ try the CM11 zip file again.

[IMG="safestrap example"]http://i.imgur.com/Ej4TVBP.png[/IMG]
[Amazon Fire Phone] Leecai:
Hey, you are right that the problem lies in the MD5.

When I download the two zip files (link provided by ggow), my mac automatically extract the zips into directory. And When I follow your suggestion to do the MD5 check, the value is changed to something different during the unzip and zip process. So I have to go to safari > preference > general > and unchecked "open safe files after downloading". Then download the files again. This time, I MD5 the zip files and the returned values are as stated on the website. And then I side load them to the SDcard root directly. After that the flash is successful with a "wipe" and factory reset.

Thanks for the quick response. Very excited. Spend whole night digging around the web to find solution. And this is really my last resort.

Lee
[Amazon Fire Phone] Chocolina:
I went back momentarily to stock and discovered theres a new update to Fire OS. Is it something to avoid? I stopped before it updated.
[Amazon Fire Phone] dhack21:
4.6.3 can still be rooted with Kingroot and safe strap can still be installed.
[Amazon Fire Phone] HKSpeed:
Am I able to backup the FireOS ROM once I install Safestrap, then restore the backup after I install CM11? Sorry for the noob question. This is my first experience with safestrap.
[Amazon Fire Phone] jaycrewz:
So theres no need to use that Super Sume Pro app that another member recommended? I just want to be very sure that Kingroot is completely removed.
[Amazon Fire Phone] ggow:
- No that's fine, Kingroot will be all gone installing CM-11
[Amazon Fire Phone] madhu2kadel:
does this work with latest att fire os 4.6.4
[Amazon Fire Phone] amfractal:
4.6.4 Support?

Can this be used on 4.6.4 (464000220)? Desperately need to get off fire os...
[Amazon Fire Phone] hawsey:
Just downgrade to 4.6.1 first to be sure

http://xdaforums.com/fire-phone/help/phone-inadvertently-upgraded-to-4-6-4-t3178712

Good luck , be sure to report back :)
[Amazon Fire Phone] amfractal:
Installed CM on ATT unlocked fire phone with latest 4.6.4 update.

Followed the guide more detailed here: https://www.reddit.com/r/firephone/...guide_installing_cyanogenmod_on_amazons_fire/

Most things seem to work. Thanks for the awesome ROM.

The main issues I have seen so far:

- 5GHz wireless networks are not accessible. Which is a shame since the network card on fire supports 802.11ac.

If anyone has a fix for either issues specially the USB mounting problem would really appreciate it.

Edit: Follow FAQ Question 2 for the USB problem fix:

FIXED: (I cannot mount the phone on my Windows 10 x64 PC. It shows the USB charging but the phone is not accessible. This make moving my backups from my dead S3 phone to this a lot harder. )
[Amazon Fire Phone] sakdroid:
I got my Fire Phone with 3.5 and when i connected to Wifi it downloaded 4.6.1

After update to 4.6.1 its trying to update 4.6.4.. I disabled Wifi and it paused 4.6.4 download.

Now I am trying to root and install safe strap..

I downloaded on PC and transferred thru USB to download folder.

How do i install the apk files?

As per Reddit,

• Open File Manager, select the recently downloaded item

• Install the app

I don't see a file manager by default. How to access them?
[Amazon Fire Phone] Hackashaq:
ES File Explorer

Install "ES File Explorer" file manager from Amazon (or google play) Store.
[Amazon Fire Phone] sakdroid:
When i connect Wifi, it starts downloading 4.6.4 update.

I tried disabling 2 System update app but even then when i connect Wifi, it resumes update download.

Is there way i can install offline.

I am thinking we can do thru ADB but i couldn't find the device thru adb connection.. May be i am missing drivers?

Any idea how to ADB firephone?
[Amazon Fire Phone] jack9955:
Leave your phone wifi off. Follow the steps on Amazon to manually download and install Fire OS 4.6.3.
[Amazon Fire Phone] sakdroid:
I am looking to install Kingroot and SafeStrap Offline, So that i can flash CM11.

Currently i am on 4.6.1.. and dont want to get updated to 4.6.4.
[Amazon Fire Phone] jack9955:
Once you manually update to Fire OS 4.6.3, Fire OS 4.6.4 will not be installed. Kingroot needs wifi to root your phone, it will not root your phone offline.
[Amazon Fire Phone] sakdroid:
This worked perfectly.

Kingroot rooted successfully.
[Amazon Fire Phone] smokarz:
Just got my Fire Phone, and it comes with OS 3.6.8 (128003620)

How do I update to version 4.6.1? Try OTA update or sideload the image file posted on the other thread?

---------- Post added at 06:09 PM ---------- Previous post was at 06:04 PM ----------

Ok. I am a little confused.

The OP stated that I need to be on 4.6.1, however the last few posts seem to direct users to upgrade to 4.6.3.

So, which one is it?
[Amazon Fire Phone] sergio687:
The OP was written when the latest version of the OS was 4.6.1.

4.6.3 should work just fine.
[Amazon Fire Phone] axel2230:
Wrong time & date on SS

ggow it seems that safestrap has a wrong date and time. I managed to fix the time by adjusting the timezone but its not really using the correct timezone. My time zone is AST http://www.timeanddate.com/time/zones/ast but I have to use the UTC time zone to get the correct time. As for the date I don't see how to properly change it. It's a little confusing because every backup I make has the wrong date and I wonder which one is the newest. For now it seems that the current date SafeStrap has on my phone is somewhere near February 2014 If I'm not wrong.

P.S. I'm talking about SafeStrap here not the Android OS time & date which can be changed easily in settings.
[Amazon Fire Phone] aerialdrone:
I'm trying to sideload an update so I can use this recovery but adb isn't detecting this device when i boot to recovery and select the adb update. It detects it when im on the FireOs but not in recovery?
[Amazon Fire Phone] jack9955:
If you have ADB installed correctly, then you need to update ADB driver:

1) Right click SD4930UR or the device (Unknown device) that shows up when you plug your phone into the computer.

2) Select Update Driver Software> Browse my computer for driver software> Let me pick from a list of device drivers on my computer> select either Android Device or Kindle Fire> Next> Android Composite ADB interface> Next> Yes> Close>.

ADB should now detect your phone, if not, see How to Setup the Fire phone for ADB.
[Amazon Fire Phone] aerialdrone:
I updated and got it rooted and CM11 and SLimKat and everything but I can't seem to get any signal for cell service at all. I used the unlock code and i factory reset. Then updated the Fire OS. Then rooted and put CM11 on it. Do i need to flash something else or?
[Amazon Fire Phone] hawsey:
You should be good to go : have you tried all the usual , reboot , shut down , sim in and out etc .

Were you getting a cell connection OK before you started ?

Sent by SlimKat FirePhone
[Amazon Fire Phone] aerialdrone:
It seemed to recognize the att sim. But I never could get teh metro pcs sim to work even using stock after i used the unlock code. Don't know if it was an apn issue. But I have like no service or anything with cm11 and slimkat when i put the sim in. Is there a manual way to put in the unlock code again or? what
[Amazon Fire Phone] hawsey:
Hmm , someone else did have sim issues but I am not sure what their solution was , I am in the Uk and so I believe is the OP so we have different carriers here .

Many people are using these Roms ok in the US I am pretty sure , have a look through the threads to find the post I speak of :) I'll have a look and post back if I find them .
[Amazon Fire Phone] aerialdrone:
When i put the sim in it always says restricted access changed this is with the att sim and my metropcs sim
[Amazon Fire Phone] hawsey:
Sorry , not sure how you should proceed , I found the other post I mentioned but it was not your issue :( the sims are ok in another phone , right ?
[Amazon Fire Phone] aerialdrone:
Yep. I use it with my LG G3 SPrint version. I use a GSM rom and it works fine. get HSPA+
[Amazon Fire Phone] hawsey:
Have you tried this http://xdaforums.com/showthread.php?p=62075633
[Amazon Fire Phone] aerialdrone:
I'll try this but I'll probably go back to stock through the recovery and do all the steps over again and see if something changes. Gonna try to get the sim to work on stock rom first.

---------- Post added at 11:21 PM ---------- Previous post was at 10:58 PM ----------

When I select network operator and choose metropcs it says the selected network is unavaible

Apparently I had to call MetroPCS to switch it over to the other IMEI.
[Amazon Fire Phone] ggow:
Hello all, I forgot to say: I studied the differences between the the US and UK stock firmwares and determined that there was no advantage in building a US variant of CM11 or SlimKat
[Amazon Fire Phone] tylerwatt12:
safestrap confirmed working with Fire OS 4.6.5 (464000520)
[Amazon Fire Phone] azirgi:
I had the same sim detection issue after flashing the latest build of CM11, it was due to sim slot. I fixed mine after several attempts of inserting and ejecting and rebooting the device. Now it works fine...
[Amazon Fire Phone] kozad:
I have Safestrap and CM11 installed, and have had them installed since September, but when I boot the phone, Safestrap pops up and says that it is disabled. I am unable to figure out what I need to do to clear up this error - after 10 seconds, CM11 loads up, or I can tap Continue, but I'd like to give the phone to someone and they'd likely panic on seeing that message. Any ideas?
[Amazon Fire Phone] ggow:
- That's not an error, you don't need to do anything

- You can press continue if you wish
[Amazon Fire Phone] kozad:
Thank you for the clarification! =)
[Amazon Fire Phone] lolwatpear:
I'm not sure what happened, but I no longer see the safestrap screen come up after the Amazon logo. It just goes straight to CM loo and loads up.

edit: reinstalled it in CM, but I'm not sure why it happened.
[Amazon Fire Phone] SafinWasi:
[MENTION=5749760]ggow[/MENTION] could you please link me to the source that you're using for safestrap? Also a PM with building instructions would be greatly appreciated.
[Amazon Fire Phone] ggow:
- https://github.com/Hashcode/android_bootable_recovery/tree/twrp2.7-safestrap

- No build instructions, but if you look in the safestrap/devices folder you should be able to figure it out from there

- I am really stretched for time at the moment, lots of projects going at the moment so not available much for help in this way but you should be ok.
[Amazon Fire Phone] OmarD:
Hi friend, I have in my phone the last update (from 5 - May -15), and the curren version (in device/sytem uptading) is:

Fire OS 4.6.3 (463001620) but u say in 1° mess IT MUST BE "update-fire-phone-33.4.6.1_user_461013320.bin OR ...461013820.bin " I have to downgrade to one of this 2 versions?o i can try to install safestrap in muy current version

Thans mate
[Amazon Fire Phone] Buglol:
why please explain, I am about to buy this phone and I am familier with safestrap and boot menu manager which were for droid razr, I had tweaked them to work with Motorola Electrify 2 xt881(my older phone). I want to participate in development. Thank You.

EDIT: Repaired ATT G2
[Amazon Fire Phone] OmarD:
Tested in Fire OS 4.6.3 (463001620)

Its working flawless

thx [MENTION=5749760]ggow[/MENTION]
[Amazon Fire Phone] rbeavers:
It's cheap.....
[Amazon Fire Phone] Buglol:
Sorry, I don't understand you, what's cheap
[Amazon Fire Phone] rbeavers:
The Phone.
[Amazon Fire Phone] Buglol:
But Now I got back my Att Lg G2.
[Amazon Fire Phone] KingPin:
I have couple of newb questions that are shaking my head.

1. Normally we need unlocked bootloader to have custom recovery but i dont understand how we have this recovery.

2. We cant have newer CM versions because we dont have fireOS 5 kernel or we cant do it(why?) because we have locked bootloader.

We have a very simple process for our phone for flashing CM but i was about to buy korean version of LG G2 because of swappable battery and micro SD card but when i went to G2 forums i was bombarded with terms like loki, bump, bootstack, kernel with bumb etc, so i decided i should learn them. If you can redirect me to any forum that would be very helpful.
[Amazon Fire Phone] :
If kernel source code requires any big changes it would be worth waiting for amazon to release the updated kernel instead of trying to do the work involved when amazon may do it anyway.

If amazon doesn't release it, then it may or may not be worth it as the experience may be broken enough to the point where its not as much worth using.
[Amazon Fire Phone] KingPin:
Thanks.

And safestrap uses init.d support ?
[Amazon Fire Phone] Buglol:
Safestrap is Hack which is injected in /system/bin/logwrapper which unmounts system,data,cache then kills each and every process then loads again the kernel ramdisk, so we are able boot recovery or another system for that we only replace init.rc with that of other. You may already know that android passes control to ramdisk after kernel and in ramdisk init.rc is script(not bash script) which loads all processes and mounts system e.t.c.

And one thing useful that hacked logwrapper is a bash script and original logwrapper is backed up to /system/bin/logwrapper.bin.

Something hazy reply!
[Amazon Fire Phone] KingPin:
got it, Thank you. I am just taking baby steps on Android development(just trying to learn) and just starting so I appreciate your help. not many people do that.
[Amazon Fire Phone] JDubbed:
So I have had Safestrap 4.0.1 installed for a while now in order to backup my system(thanks dev!). But now I want to get CM-11 installed so getting back into the scene. Upon boot of my phone it always shows "Safestrap : Disabled" like its not working. Is it supposed to show Enabled? Did I not install Safestrap correctly? Amazon Fire Phone 4.6.1. - Thanks!
[Amazon Fire Phone] Buglol:
I myself haven't installed and used safestrap on fire phone, but I know safestrap disabled is shown when you are on stock system. If you go to virtual system then splash screen will change to safestrap enabled while I heard that it isn't working.
[Amazon Fire Phone] :
It always shows "Safestrap : Disabled", that is indeed nothing to worry about (when using it on the Fire Phone). It is installed correctly.

You can enter "recovery" by tapping the identically named button upon boot or you can "reboot to recovery" through the Safestrap app.

Within the Safestrap app it will also say "Safe System: Not active". Again, this is also normal and nothing to worry about.
[Amazon Fire Phone] cthulhu1987:
(deleted)
[Amazon Fire Phone] adeebulrehman:
Can I install on 4.6.6.
[Amazon Fire Phone] ferolac:
yes working fine on 4.6.6 tested it myself
[Amazon Fire Phone] lanAKAIan:
[MENTION=5749760]ggow[/MENTION] you keep giving us more toys to play with. Thank you for all your work on this phone.

You mention we cant use the secondary slots in safestrap on fire phone? Was that due to a technical limitation or just not having the time, and placing actual roms ahead on development priority?
[Amazon Fire Phone] ggow:
- Really is all an act of balance

- We needed to have something to flash custom ROMs which works

- I am working on something else which may mean I have to revisit Safestrap so I may take a look but it's not urgent right now

- And yes getting a custom ROM was priority.
[Amazon Fire Phone] lanAKAIan:
Thanks for taking the time to respond.

Completely understand, and would have gone the same route. Ive been considering looking into safestrap code but thought it would be good to know if there was a big dragon there lol.

Anyway again, thanks so much for your work on this phone.
[Amazon Fire Phone] adeebulrehman:
Any updates on 2nd slot, also did you got your computer
[Amazon Fire Phone] juwie69:
i am on Fire OS 4.6.6 (466000820) do i need a downgrade or can i install safestrap on this Fire OS Version?
[Amazon Fire Phone] ggow:
Yes you can install on 4.6.6
[Amazon Fire Phone] Awesomeslayerg:
The adb sidload feature is giving me a head ache. It says invalid argument for some reason

---------- Post added at 03:18 PM ---------- Previous post was at 03:18 PM ----------

And the backup is working but not the reatore
[Amazon Fire Phone] :
Backup and restore is working (as long as the backups are stored in the designated folder), I used it more than 10 times this week when I was testing things on Fire OS, flashing back and forth. Is your phone encrypted?

Details please? What ADB commands did you try? Phone properly recognized by PC? I just tested a simple zip, it works via ADB (see below).

It will leave a "copy" of your original zip in the root of the internal storage, so you may want to delete that later.
[Amazon Fire Phone] efuzone:
SafeStrap Recovery Issue

Hello,

I have followed all procedure, my mobile amazon fire is rooted and installed safestrap.. I have also downloaded cyanogenmod and gapps only issue is when i open safestrap and click to reboot into recovery it just blink lcd nothing happen then again i keep press power button to turn off mobile and switch on again it works as it is.. but safestrap is not going to recovery please tell me how to do it..

Fire OS Version is 3.5.0

It is asking for update to 4.6.1 but i am just thinking it is rooted if i will update it will be stuck on amazon logo...