FORUMS
Remove All Ads from XDA

[RECOVERY][STOCK][LOCKED] Safestrap v4.0.1

3,458 posts
Thanks Meter: 9,065
 
Post Reply Email Thread
Announcement from ggow: Safestrap for Amazon Fire Phone
Code:

/*
 * I am not responsible for bricked devices, dead SD cards, thermonuclear war,
 * or you getting fired because the alarm app failed.
 * Please do some research if you have any concerns about features included
 * in the products you find here before flashing it!
 * YOU are choosing to make these modifications.
 */
Introduction
- Safestrap provides TWRP like recovery capabilities for locked devices.
- This is based on the original work of Hashcode.

Prerequisites for Installation
- You must be on stock firmware:
update-fire-phone-33.4.6.1_user_461013320.bin OR ...461013820.bin <- Please confirm this before proceeding <-
- You must have root access

Known Issues
- Secondary slots do not work at all. Any attempt to flash a secondary slot will result in you having to re-sideload stock 4.6.1

Compatible ROMS
- CM-11 coming soon

Installation
- If not already rooted, use Kingroot from here to obtain root access.
- Install the app
- Grant root access if needed
- Read user agreement and accept to proceed
- Then click install recovery
- When recovery is installed click reboot to recovery
- You should eventually end up in safestrap recovery.

Download
*** Please do NOT create any mirrors ***
- Safestrap for Amazon Fire Phone (Kodiak)

XDA:DevDB Information
Safestrap KK, Device Specific App for the Amazon Fire Phone

Contributors
ggow

Version Information
Status: Beta
Current Beta Version: 4.0.1

Created 2015-07-04
Last Updated 2016-08-17
Attached Thumbnails
Click image for larger version

Name:	IMG_20150703_175901.jpg
Views:	12764
Size:	257.4 KB
ID:	3390292  
The Following 42 Users Say Thank You to ggow For This Useful Post: [ View ] Gift ggow Ad-Free
 
 
4th July 2015, 11:23 AM |#2  
ggow's Avatar
OP Senior Member
Thanks Meter: 9,065
 
Donate to Me
More
Reserved
---
The Following 4 Users Say Thank You to ggow For This Useful Post: [ View ] Gift ggow Ad-Free
4th July 2015, 01:13 PM |#3  
ggow's Avatar
OP Senior Member
Thanks Meter: 9,065
 
Donate to Me
More
- Link is now up
The Following 4 Users Say Thank You to ggow For This Useful Post: [ View ] Gift ggow Ad-Free
4th July 2015, 02:40 PM |#4  
ggow's Avatar
OP Senior Member
Thanks Meter: 9,065
 
Donate to Me
More
CM-11 progress so far
- Attached is a couple of photos of CM-11 running on Fire phone

Things that are not yet working:

(1) Audio through the speakers
- Music and system sounds through the headphones seems to be working
- This phone uses a TFA9887 audio amplifier chip. Need to figure out a way to enable it. The stock kernel sources don't seem to make any references to it so... must be controlled in userspace.
- In the amazon stock ROM it looks be controlled by two shared libs: libaudio-ExternalSpeakerAmps.so and libaudio-NxpTfa9887.so which are loaded by audio.primary.msm8974.so
- When trying to use the stock audio.primary.msm8974.so I see this in the logs:

Code:
D/audio_hw_primary( 496): select_devices: out_snd_device(2: speaker) in_snd_device(0: ) D/hardware_info( 496): hw_info_append_hw_type : device_name = speaker D/ACDB-LOADER( 496): ACDB -> send_audio_cal, acdb_id = 53, path = 0 E/ExternalSpeakerAmpControl( 496): Failed to open the speaker amp control (0) at address = 0x34. Error = 108 E/ExternalSpeakerAmpControl( 496): Failed to open the speaker amp control (1) at address = 0x35. Error = 108 D/audio_speaker_platform( 496): Loading speaker use case "music"
Attached Thumbnails
Click image for larger version

Name:	IMG_20150704_143338.jpg
Views:	4598
Size:	253.5 KB
ID:	3390438   Click image for larger version

Name:	IMG_20150704_143415.jpg
Views:	4548
Size:	263.4 KB
ID:	3390439  
The Following 7 Users Say Thank You to ggow For This Useful Post: [ View ] Gift ggow Ad-Free
4th July 2015, 07:43 PM |#5  
Junior Member
Thanks Meter: 4
 
More
oooooo going to be keeping a very close eye on this thread now.
4th July 2015, 08:11 PM |#6  
ggow's Avatar
OP Senior Member
Thanks Meter: 9,065
 
Donate to Me
More
Info 2 Update
Progress for today.

- WiFi is working
- Sensors are working
- Baseband seems to be detected correctly - put my sim card in and got a SIM network unlock screen - screenshot attached. I got the phone for nearly next to nothing. But looks like I need it unlocked to use my SIM.
- Bluetooth is working - paired with a keyboard and works good.
- Gapps working

- Front and rear camera not working yet
- Sound, need to figure this out - this is a show stopper at the moment. No Ringing of phone etc

On the amplifier issue did a little digging and other devices like the HTC M7 tend to have a kernel driver which implements an IOCTL interface to userspace but this doesn't seem to the case in the Fire Phone's stock kernel in which I couldn't find any reference to the TFA9887.

I'll have to research a bit more.

I'll do an early preview release at a good point.
Attached Thumbnails
Click image for larger version

Name:	IMG_20150704_175439.jpg
Views:	2700
Size:	254.8 KB
ID:	3390824   Click image for larger version

Name:	Screenshot_2015-07-04-08-13-37.png
Views:	2746
Size:	69.2 KB
ID:	3390831  
The Following 9 Users Say Thank You to ggow For This Useful Post: [ View ] Gift ggow Ad-Free
4th July 2015, 08:34 PM |#7  
Thanks for your hard work.
The Following User Says Thank You to laidbackcloud For This Useful Post: [ View ] Gift laidbackcloud Ad-Free
5th July 2015, 02:49 AM |#8  
CadBuRy.VN's Avatar
Member
Flag Hanoi
Thanks Meter: 93
 
More
wonderful ! I just bought fire phone
The Following User Says Thank You to CadBuRy.VN For This Useful Post: [ View ] Gift CadBuRy.VN Ad-Free
5th July 2015, 05:09 AM |#9  
Junior Member
Thanks Meter: 0
 
More
Thanks for your. Hard.working,I just get my fire phone
5th July 2015, 06:27 AM |#10  
v6ser's Avatar
Senior Member
Flag Rome before, Brasilia now
Thanks Meter: 221
 
Donate to Me
More
Great work! Congrats!
The Following User Says Thank You to v6ser For This Useful Post: [ View ] Gift v6ser Ad-Free
5th July 2015, 07:13 PM |#11  
tintin1892's Avatar
Senior Member
Thanks Meter: 24
 
More
Great work will this also work on the US 4.6.1 software version 461013820.bin. thanks
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes