[CUSTOM RECOVERY] Cyanogen Recovery (2015-11-04)

Search This thread

ggow

Recognized Developer
Feb 28, 2014
4,114
10,993
Disclaimer
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 using it! YOU are choosing to make these modifications.

Notes
- The recovery cannot boot if flashed to the recovery partition instead it must be booted via fastboot using:

Code:
fastboot boot recovery.img

- The reason it cannot be flashed is that the bootloader is signature checking the flashed image against Amazon's RSA keys.
- External sdcard is not accessible from the recovery at the moment - will fix
- The touchscreen panel is not usable at the moment - instead use the volume up/down keys to navigate and power button to select
- The volume up/down keys are swapped - will fix this
- Apply update from internal memory and sideload are working.
- This is a basic recovery - it has no backup or restore function
- This does the job until TWRP is available

Download
- Amazon Fire Cyanogen Recovery

XDA:DevDB Information
Cyanogenmod Recovery, Tool/Utility for the Amazon Fire

Contributors
ggow

Version Information
Status: Beta

Created 2015-11-04
Last Updated 2015-11-06
 

Awesomeslayerg

Senior Member
Jul 5, 2014
796
372
Los Angeles
So what can we sideload and cannot? And the amzn rsa is located in /system/vendor/data. Now I'm wondering if someone still has the rsa bug from the hdx the old one and we can replace that with that file and try unlocking the bootloader.
 

ggow

Recognized Developer
Feb 28, 2014
4,114
10,993
So what can we sideload and cannot? And the amzn rsa is located in /system/vendor/data. Now I'm wondering if someone still has the rsa bug from the hdx the old one and we can replace that with that file and try unlocking the bootloader.

- Pretty much anything we want to sideload, we can
- I have sideloaded:
Official Amazon Firmware
SuperSU.zip
Modified Gapps Package.zip
Xposed​
- CVE-2014-0973 (the vulnerability which was exploited on the HDX) is patched in the Fire's bootloader
 
Last edited:

ggow

Recognized Developer
Feb 28, 2014
4,114
10,993
And the bootloader won't recognise the different Rom? I have heard on some devices if you install a different ROM then it doesn't go past the bootloader.

Sent from my XT912 using Tapatalk

- The bootloader has no knowledge of the Android ROM AFAIK
- We have to bear in mind that we are limited to the stock boot.img therefore
- Any rom we produce should be based off the stock boot.img
- If we did base the ROM off a custom kernel then we would have to "fastboot boot" the custom_boot.img each boot or reboot - so this is not feasible in terms of user experience.
- On the HDX, when it was a locked device I was able to boot AOSP in this manner
 
Last edited:

Vlasp

Senior Member
Mar 18, 2012
843
272
Plano, Texas
- The bootloader has no knowledge of the Android ROM AFAIK
- We have to bear in mind that we are limited to the stock boot.img therefore
- Any rom we produce should be based off the stock boot.img
- If we did base the ROM off a custom kernel then we would have to "fastboot boot" the custom_boot.img each boot or reboot - so this is not feasible in terms of user experience.
- On the HDX, when it was a locked device I was able to boot AOSP in this manner
We should be able to use custom boot.img when we get safestrap, right?

Sent from my KFFOWI using Tapatalk
 

inscythe

Senior Member
Dec 22, 2010
289
143
OnePlus 6
Xiaomi Mi Pad 4
- Pretty much anything we want to sideload, we can
- I have sideloaded:
Official Amazon Firmware
SuperSU.zip
Modified Gapps Package.zip
Xposed​
- CVE-2014-0973 (the vulnerability which was exploited on the HDX) is patched in the Fire's bootloader

I'm actually interested in that modified gapps package... I'd like to keep the gapps as system apps properly.

Do you mind sharing which gapps package did you use and what modification you did?
 

ggow

Recognized Developer
Feb 28, 2014
4,114
10,993
Is it possible to flash the OpenGApps package? I usually stick with the Pico one and install apps from there.

I'm actually interested in that modified gapps package... I'd like to keep the gapps as system apps properly.

Do you mind sharing which gapps package did you use and what modification you did?

- Yes, I'll post it shortly
- I have only flashed it so far with no testing
- My Fire hasn't been online yet because I haven't blocked OTA updates yet
- Will test and provide a link for download

EDIT: Good news the Gapps package works with full play store functionality :)
I'll upload it and post a link in the General Section
 
Last edited:
  • Like
Reactions: sd_shadow

ggow

Recognized Developer
Feb 28, 2014
4,114
10,993
We should be able to use custom boot.img when we get safestrap, right?

Sent from my KFFOWI using Tapatalk

- I started investigating this and Safestrap may not be possible
- Safestrap is usually for locked devices granted, however...
- Even if it were possible our kernel doesn't have kexec capabilities
- As with other amazon devices we really need a way to unlock the bootloader.
 
  • Like
Reactions: a1yet

ggow

Recognized Developer
Feb 28, 2014
4,114
10,993
Modified Open Gapps Package

I'm actually interested in that modified gapps package... I'd like to keep the gapps as system apps properly.

Do you mind sharing which gapps package did you use and what modification you did?

Is it possible to flash the OpenGApps package? I usually stick with the Pico one and install apps from there.

- I have posted the Modified Open Gapps package here.
- Tested and seems to be working fine.
 

Moogagot

Senior Member
Jul 16, 2015
59
18
ggow is the ****ing bomb!
Between all your work on the FirePhone and this tablet, tell me what I owe you!
 
  • Like
Reactions: GoughGhan

sandman512

Senior Member
Nov 12, 2007
861
77
If someone wouldn't mind explaining the process of getting this recovery in my tablet. I' mused to flashing on my phone. Thanks
 

sd_shadow

Recognized Contributor / XDA Welcome Team
Sep 21, 2011
18,972
2
9,989
South Dakota
goo.gl
Motorola Droid X
Amazon Fire
If someone wouldn't mind explaining the process of getting this recovery in my tablet. I' mused to flashing on my phone. Thanks
you need adb and fastboot files
several options there are some basic information in my Amazon Fire Index
Fire Index: Which Amazon (Kindle) Fire Do I have?

once you have adb setup

boot Fire into fastboot mode: power off, Hold volume down, power on
if it boots to recovery select bootloader
once in fastboot mode check device manager Fire should be listed as Android adb interface
If so you should test fastboot commands with
Code:
fastboot -i 0x1949 getvar product
should get this back
Code:
ford
if so
place recovery.img in the same location as listed in command prompt
then boot recovery.img with
Code:
fastboot boot 2015-11-04-cm-12-recovery.img

Sent from my KFFOWI using Tapatalk
 
Last edited:
  • Like
Reactions: a1yet

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    Disclaimer
    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 using it! YOU are choosing to make these modifications.

    Notes
    - The recovery cannot boot if flashed to the recovery partition instead it must be booted via fastboot using:

    Code:
    fastboot boot recovery.img

    - The reason it cannot be flashed is that the bootloader is signature checking the flashed image against Amazon's RSA keys.
    - External sdcard is not accessible from the recovery at the moment - will fix
    - The touchscreen panel is not usable at the moment - instead use the volume up/down keys to navigate and power button to select
    - The volume up/down keys are swapped - will fix this
    - Apply update from internal memory and sideload are working.
    - This is a basic recovery - it has no backup or restore function
    - This does the job until TWRP is available

    Download
    - Amazon Fire Cyanogen Recovery

    XDA:DevDB Information
    Cyanogenmod Recovery, Tool/Utility for the Amazon Fire

    Contributors
    ggow

    Version Information
    Status: Beta

    Created 2015-11-04
    Last Updated 2015-11-06
    3
    TWRP fully working here. Just testing and trying to fix sdcard issue. Will post when issues are sorted out.
    3
    Modified Open Gapps Package

    I'm actually interested in that modified gapps package... I'd like to keep the gapps as system apps properly.

    Do you mind sharing which gapps package did you use and what modification you did?

    Is it possible to flash the OpenGApps package? I usually stick with the Pico one and install apps from there.

    - I have posted the Modified Open Gapps package here.
    - Tested and seems to be working fine.
    2
    I keep thinking that I'll just update my Fire to the newest Slim build in a couple of minutes, but then remember that I'm not at home/at my computer to fastboot/recovery :). Oh well, it'll happen one day, or at worst it's not the worst thing in the world, I figure.

    Well it may be possible.

    http://xdaforums.com/showpost.php?p=64278314&postcount=727