FORUMS
Remove All Ads from XDA

[ROM] LineageOS-11 [04 May 2019]

3,673 posts
Thanks Meter: 9,776
 
View First Unread Post Reply Email Thread
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
- This ROM is for the Amazon Fire Phone codenamed Kodiak.

Prerequisites for Installation
- Must be running Safestrap v4

Project Status

updated: 07 Jan 2016

Reporting Bugs
- Please report bugs here
- Report only one issue per bug report
- When reporting bugs please post a logcat and/or dmesg containing pertinent information regarding the issue...

Fresh Installation
- From Safestrap, go into Wipe Menu and Swipe to perform a factory reset.
- Installation in the Stock Slot is Mandatory
- Flash the ROM File
- Flash Open Gapps of your choice (any arm 4.4 version) - Except Aroma Version
- Flash the latest SuperSU package if you want root
- Reboot
- Enjoy!

Upgrading to new Version
- Flash the ROM
- Reboot
- Enjoy!
- If you previous had GAPPS it will be preserved automatically
- To preserve root between upgrades, you need to setup SuperSU to survive OTA updates.

Changing from another ROM to this one
IMPORTANT: Do NOT reboot until the end of the process

Within Safestrap
- Copy the latest Lineage ROM, Gapps, SuperSU-2.4.6 and cleansystempartition.zip to your phone
- Factory reset
- Flash cleansystempartition.zip
- Flash the rom
- Flash gapps (use latest opengapps, pico or nano)
- Flash supersu 2.4.6
- Reboot

Downloads
*** Please do NOT create any mirrors ***
- LineageOS-11 for Amazon Fire Phone
- Open Gapps
- Latest Xposed for KitKat
- Solarwarez Patched Xposed

Other Downloads
*** Please do NOT create any mirrors ***
- I modified safestrap to protect the /system partition
- So only use this if you need to do a clean install
- To use you flash this first, then immediately flash new, gapps and supersu before rebooting
- Clean System Partition Flashable zip

Source Code
- Kernel Source: Kodiak stock kernel, build number update-kindle-35.4.6.6_user_466000820

Credits
- Cyanogenmod
- LineageOS
- CAF

XDA:DevDB Information
LineageOS-11 Amazon Fire Phone, ROM for the Amazon Fire Phone

Contributors
ggow
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Stock base of 461-466 and Safestrap v4
Based On: CyanogenMod

Version Information
Status: Stable

Created 2015-07-06
Last Updated 2019-05-04
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2015-07-06-17-28-43.jpg
Views:	109306
Size:	58.4 KB
ID:	3393243   Click image for larger version

Name:	Screenshot_2015-07-06-17-29-07.jpg
Views:	107422
Size:	77.4 KB
ID:	3393244   Click image for larger version

Name:	Screenshot_2015-07-06-18-34-16.png
Views:	107546
Size:	131.0 KB
ID:	3393275  
The Following 251 Users Say Thank You to ggow For This Useful Post: [ View ]
 
 
6th July 2015, 04:56 PM |#2  
ggow's Avatar
OP Recognized Developer
Thanks Meter: 9,776
 
Donate to Me
More
Release Notes / Changelog
04 May 2019
- Security patches up to April 2019

21 December 2018

- Security patches up to December 2018

30 November 2018
- Retire AOSP Browser due to security holes
- Please install an up to date browser of your choice
- Upgrade external/openssl: 1.0.1e -> 1.0.1j
- ANT+: Update to v4.0.0
- giflib: Update to v5.1.4
- bsdiff: Check for corrupt patch
- jhead: Update to cm-13.0 branch
- libexif: Update to android-5.1.1_r38 branch
- e2fsprogs: Update 1.41.14 -> 1.42.9

2018-09-04
- Security patches up to August 2018
- Fixed Youtube crashing (need more testing to confirm)

2018-06-01
- Security patches up to March 2018
- There are no relevant security patches after this date to now.
- Fix Bluetooth LE issue

2018-02-24
- Security patches up to Feb 2018

2017-10-08
-Ported relevant security patches up to October 2017

Older History

2017-10-03
-Ported relevant security patches up to September 2017
- All bluebourne patches are included

2017-07-20
- Security patches up to July 2017
- Fixed boot-loop on upgrade
- Fixed Xposed compatibility - Standard Xposed Framework Build should work
- Added option in Developer Options to Enable/Disable Signature spoofing
- Download link on OP now lists all Lineage-11.0 releases
- Linked latest KitKat Xposed in OP downloads section.

2017-07-05
- Security patches up to June 2017

2017-06-05
- Security patches up to May 2017

2017-04-24
- Ported security patches up to April 2017

2017-03-25
- Ported security patches up to March 2017

2017-01-05
- Switch to LineageOS repository
- Ported December 2016 Security Patches
- Fixed issues preventing latest gapps from being used

2016-11-22
- Ported November 2016 Security Patches
- Add camera HAL wrapper (Work in progress)

2016-10-16
- Ported October 2016 Security Patches
- Removed CM Updater app (not required for unofficial builds)
- Updated backlight auto adjustment

2016-10-11
- Build logcat from source - can now use logcat -C for colour output
- Clean up media codecs
- Xposed fixed: borked implementation of security update was the cause

2016-10-02
- This is a BETA release
- Fixed bluetooth tethering
- Fixed USB tethering
- Adjusted display auto backlight values
- Fixed bug in dual band WiFi detection
- Enabled WiFi background scanning
- Enabled WiFi batch scanning support

2016-09-15
- Ported September 2016 Security Patches
- bsdiff: Add overflow check when checking for a corrupt patch

2016-08-06
- Ported August 2016 Security Patches
- There will be no more updates from Cyanogenmod in this ROM.
- Going forward I will implement/backport fixes etc as necessary

2016-07-26
- Use liboemcrypto.so from hammerhead
- Fix loading of widevine firmware
- Fix loading of keymaster firmware
- Ported July 2016 Security Patches

2016-06-19
- Fix swipe functionality on AOSP keyboard
- Fix crash of AOSP Keyboard on fresh install
- Updated CM Code

2016-06-09
- June 2016 Security Patches Included
- Enable Swipe functionality on AOSP keyboard (Broken)
- Updated CM Code

2016-05-12
- May 2016 Security Patches Included
- Updated CM Code

2016-04-07
- April 2016 Security Patches Included
- Updated CM Code

2016-03-17
- 01 March 2016 Security Patches Included
- Updated CM Code

2016-03-10
- Implemented new backport of Signature spoofing primarily for microG framework
- Signature spoofing now needs to be enabled in Settings->Developer options->Allow signature spoofing
- Fixed crash on initial Setup Wizard
- Updated CM Code

2016-02-16
- Updated CM Code

2016-02-03
- Updated CM Code
- 01 February 2016 Security Patch Included

2016-01-26
- Updated CM Code

2016-01-18
- Fixed battery stats - readings should be as accurate as with FireOS
- Updated CM Code

2016-01-14
- Switch to using Amazon 4.6.6 US Binaries
- Removed CM Camera App due to instability and Flash not working
- Snap Camera HDR or Open Camera are the most stable options
- Fixed 5 GHz WiFi issue (Amazon 4.6.6 binaries)
- Update CM Code

2016-01-11
- Fixed HDCP for wireless display - Enjoy Netflix via Miracast
- Fixed compass, should now show the correct direction
- Improved GPS accuracy - needs testing
- Add voice-handset-hac entry to mixer_paths.xml from Stock 4.6.3 firmware
- 01 January 2016 AOSP security patches included
- Updated CM-11 Code

2016-01-04
- Cleaned up build.prop
- Add launcher rotation setting to build.prop (disabled by default)
- Add lock screen rotation setting to build.prop (disabled by default)
- Updated CM-11 Code

2015/12/23
- Updated CM-11 Code

2015/12/09
- Updated CM-11 Code
- Making baby steps with Camera
- Now able to load the OV680 firmware but still no benefit at the moment

2015/11/25
- Updated CM-11 Code
- NFC is now working
- Fixed bug which prevents phone from entering Deep Sleep Mode

2015/11/19
- Updated CM-11 Code
- Xposed now installs correctly
- Remaining Stagefright fixes are included

2015/11/15
- Updated CM-11 Code

2015/10/24
- Updated CM-11 Code
- Back port signature faking to enable use of microG framework

2015/09/30
- Updated CM-11 Code
- In camera app, fixed upside down orientation for rear camera in portrait and landscape
- In camera app, fixed video recorder crashes

2015/09/25
- Updated CM-11 Code
- Establish 3G/LTE connection faster
- Switch to using 4.6.3 binaries

2015/09/16
- Updated CM-11 Code

2015/08/29
- Updated CM-11 Code

2015/08/10
- Updated CM-11 Code
- Stagefright patches included
- Dirty Flash should be fine.

2015/07/26
- Added back Stock Browser App
- Added back Stock Calendar App
- Changed recommended Gapps in the OP to PA Gapps Modular Pico
- Added Known Issues to OP
- Remove Stock Camera App

2015/07/25
- Updated CM-11 Code
- Build PowerHAL from source
- Fixed random crash occurring in PowerHAL
- Build memtrack library from source
- Build keystore library from source
- Removed oemcrypto library (Responsible for a lot of google play service crashes)
- Haven't had a single crash yet running HDX Nexus Gapps which had the highest rate of occurrences (But early days)
- Setup hardware key options correctly
- Ignore the stock camera app, I was using it for debugging purposes and forgot to remove it.

2015/07/15
- Camera button fixed for taking photos
- Torch fixed
- Made a change to WiFi config - may help with 5GHz connecting without needing channel changes.
- I don't have 5GHz so can't test
- Disabled NFC for now, this should improve battery life due to no repeated startup and failure of service.

2015/07/08
- Partially fixed up camera: Use Open Camera from Playstore
- Selecting video mode in Google Camera crashes the App, need to clear app data to make it work again.
- Pictures taken with the flash are washed out.
- Fixed Battery Stats
- Implemented NFC - Not working
- Removed Stock Calendar app
- Removed Stock Browser app
- Removed Stock Camera app
- Removed unnecessary media kernel modules just taking up space.

2015/07/07
- Fixed Media Playback

v2015/07/06
- Initial BETA Release
The Following 108 Users Say Thank You to ggow For This Useful Post: [ View ]
6th July 2015, 04:56 PM |#3  
ggow's Avatar
OP Recognized Developer
Thanks Meter: 9,776
 
Donate to Me
More
Frequently Asked Questions
Question 1:
I installed HDX Nexus Gapps and now want to use Mini Gapps package. However CM-11 seems to preserve HDX Nexus Gapps. How do I fix this?
Answer:
- Flash this in Safestrap
- This wll clean the /system partition ready for fresh installation.
- You will then need flash a new ROM, Gapps etc.
- This is required, as a result of a change I made in the recovery code to protect Safestrap from been wiped out.

Question 2:
My phone doesn't show up when connecting via USB, what's going on?
Answer
- This may help
- Go into Settings->Storage
- Click on the 3 vertical dots in the top right corner
- Select "USB computer connection"
- Then select Connect as "Media device (MTP)"
- Your phone should then appear as a Media Device

Question 3:
How do I get into Amazon's stock recovery?
Answer
- With the phone powered off
- Whilst holding the volume up key, press the power button.
- When it power's on let go of the power button (still holding the volume up key)
- You should end up in stock recovery.

Question 4:
The camera button isn't working on the 2015/07/25 build, how do I fix it?
Answer
- On the lock screen look for the camera icon in the bottom right corner
- swipe it left and select which camera you want as default

Question 5:
When will we get CM-12?
Answer
- Hold the phone, we only just got CM-11 - enjoy!
- We need an updated kernel so we need FireOS 5 with working root

Question 6:
Contribution by: @hijax2001
How do I reset to Factory Stock 4.6.1 - removing CM11/root/Safestrap in the process?
Answer
1) Downloaded Minimum ADB tools, installed to C:\ADB for convenience
2) Downloaded 4.6.1 stock image from http://fire-phone-updates.s3.amazona..._461013320.bin, saved it to C:\ADB and renamed this file update.bin
3) Followed these steps to gain ADB USB access. Alternately, I found out later I could go to Settings on the phone, then to Device, then to "Get info about your Fire" and then tap on the Model Number several times until "Developer Options" comes up. Clicking that will take you to the option to enable "USB Debugging".
4) I also grabbed the Kindle Fire ADB drivers from here for convenience in Step 7 (below)
4) Rebooted into stock recovery by holding Power and Volume Up. Yes, you can do this from anywhere - phone on or off. And yes, you can still get to stock recovery this way even if you have Safestrap recovery installed
5) Use volume down to reach "Apply update from ADB" option then press Power
6) Open Command Prompt from Windows, reach your ADB folder (mine is C:\ADB in this example), type ADB devices. If you see what looks like a serial number (letters and numbers), then ADB is seeing your phone and you can skip to Step 8. If nothing there, follow Step 7.
7) For me, ADB did not initially detect my phone. I ended up having to go into Control Panel in Windows, to Device Manager, find the Fire phone, choose Update Drivers, then Browse My Computer, Let Me Pick, Show All Devices, Have Disk, then find the folder from Step 4 (above) and add Android Composite ADB Interface by hand. Once I did that, I unplugged and replugged the USB to the phone and then typed "ADB devices" again at the ADB command prompt, like in Step 6. There it is! Ok, next step...
8) Type the command ADB sideload update.bin and let the magic happen. When done, reboot the phone and everything is reset.
9) If you're going to sell the phone, or if you don't want all of your Android apps from before repopulating (because some of them just aren't going to work or work correctly under Fire OS), immediately go to Settings/Device and "Factory reset your Fire" - this will wipe the SD partition where the old apps are saved.

Cool side-note, regarding Step 9... I still had Nova launcher available. Running it under Fire OS works great! Nice to have the stability of the Fire OS the hardware desires, along with a zippy, traditional launcher to navigate.

Question 7:
Contribution by: @DatwasEz
MUTE Button does not work during calls, what can I do about this?
Answer:
- Btw on a side note I have noticed that although mute button doesn't work during calls, you can press the pause button for hold, this acts like mute and they can't hear tested myself last night
-

Question 8
Contribution by: @gooserayos
How do I configure Snap Camera HDR for my Fire Phone?
Answer:
- Click the bottom left menu icon then click the "Other" tab
- Check "Show Advanced Settings"
- Go back to "Photo" tab
- Check "Zero Shutter Lag" and (optional) "Denoise"
The Following 45 Users Say Thank You to ggow For This Useful Post: [ View ]
6th July 2015, 06:00 PM |#4  
sridhar_kkin's Avatar
Member
Thanks Meter: 5
 
More
Congrats

Sent from my SD4930UR using XDA Free mobile app
The Following 3 Users Say Thank You to sridhar_kkin For This Useful Post: [ View ] Gift sridhar_kkin Ad-Free
6th July 2015, 06:18 PM |#5  
Junior Member
Thanks Meter: 3
 
More
I wish best of luck for your work
Do you have donation button? Everybody likes coffee
The Following 3 Users Say Thank You to bufferfree For This Useful Post: [ View ] Gift bufferfree Ad-Free
6th July 2015, 07:05 PM |#6  
ggow's Avatar
OP Recognized Developer
Thanks Meter: 9,776
 
Donate to Me
More
Quote:
Originally Posted by bufferfree

I wish best of luck for your work
Do you have donation button? Everybody likes coffee

Thank you. Look on one of my posts and it's the yellow button just below my avatar.
The Following 7 Users Say Thank You to ggow For This Useful Post: [ View ]
6th July 2015, 07:12 PM |#7  
ggow's Avatar
OP Recognized Developer
Thanks Meter: 9,776
 
Donate to Me
More
Talking Let the games begin
- The Files are up now.
- Appreciate any testing and feedback/comments
- Please report bugs as per the OP.
- Enjoy - it's been long overdue.
The Following 19 Users Say Thank You to ggow For This Useful Post: [ View ]
6th July 2015, 07:57 PM |#8  
Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by ggow

- The Files are up now.
- Appreciate any testing and feedback/comments
- Please report bugs as per the OP.
- Enjoy - it's been long overdue.

awsome
thanks for your hard work
The Following User Says Thank You to m4nik10 For This Useful Post: [ View ] Gift m4nik10 Ad-Free
6th July 2015, 08:44 PM |#9  
Junior Member
Thanks Meter: 4
 
More
Red face
I'll use my unlocked fire phone as a guini pig

Now to root flash etc on osx lol
6th July 2015, 09:41 PM |#10  
Junior Member
Thanks Meter: 2
 
More
hi cant install cm11.zip with safestrap
get failed
phones rooted
The Following User Says Thank You to m4nik10 For This Useful Post: [ View ] Gift m4nik10 Ad-Free
6th July 2015, 09:46 PM |#11  
ggow's Avatar
OP Recognized Developer
Thanks Meter: 9,776
 
Donate to Me
More
Quote:
Originally Posted by m4nik10

hi cant install cm11.zip with safestrap
get failed
phones rooted

Can you tell me what the error is you get?

EDIT: Just tried flashing again and it works fine here.
The Following User Says Thank You to ggow For This Useful Post: [ View ]
Post Reply Subscribe to Thread

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