[ROM][UNOFFICIAL][11][ARM64] LineageOS 18.1 for Amazon Fire HD 10 (maverick/9th gen)

Search This thread

jasonjohn95

Member
Feb 12, 2016
17
1
Let's try to dump pstore from the device when it's trying to boot then.
Wait for the device to reboot after being on the amazon logo, immediately on the next boot up, go into recovery mode. Then, enable ADB.
You can dump pstore with the following adb command (adbd should run as root in recovery):
adb pull /sys/fs/pstore
Hopefully there should be some logs in there which you can attach here, if not, keep retrying until you get something in there. If you are 100% nothing is being dumped to pstore, just let me know.
As a side note, I am using the kernel source and blobs from the 7.3.2.7 firmware, so I'm not sure why it's not seeming to boot on later firmware.
Hey there! After installing ArrowOS 13 for Maverick and then trying this install of LOS18 again, it seems to have worked for me. It just booted for me. I'm guessing the initial install for ArrowOS fixed something that enabled LOS to work. Sorry this wasn't more interesting. Thank you for your work here!
 

bengris32

Member
Dec 28, 2020
46
83
OnePlus 6T
Realme 8
Hey there! After installing ArrowOS 13 for Maverick and then trying this install of LOS18 again, it seems to have worked for me. It just booted for me. I'm guessing the initial install for ArrowOS fixed something that enabled LOS to work. Sorry this wasn't more interesting. Thank you for your work here!
Good to hear that! I guess we'll never know what really happened there, but I'm glad to see that it's working fine on old and new firmware versions!
 

bengris32

Member
Dec 28, 2020
46
83
OnePlus 6T
Realme 8
64-bit LineageOS 20 (based on Android 13) coming possibly maybe soon to a maverick near you!
 

Attachments

  • Screenshot_20230502-223123_Settings.png
    Screenshot_20230502-223123_Settings.png
    197 KB · Views: 213
  • Screenshot_20230502-223126_Trebuchet.png
    Screenshot_20230502-223126_Trebuchet.png
    550.9 KB · Views: 208
  • Screenshot_20230502-223132_Trebuchet.png
    Screenshot_20230502-223132_Trebuchet.png
    60.4 KB · Views: 165
  • Screenshot_20230502-223145_Android System.png
    Screenshot_20230502-223145_Android System.png
    554.2 KB · Views: 163
  • Screenshot_20230502-223245_AIDA64.png
    Screenshot_20230502-223245_AIDA64.png
    162.6 KB · Views: 162
  • Screenshot_20230502-223345_Treble Info.png
    Screenshot_20230502-223345_Treble Info.png
    92.3 KB · Views: 220

bengris32

Member
Dec 28, 2020
46
83
OnePlus 6T
Realme 8
FYI: Me and my friend have started a Telegram Group for Amazon development that aims to make communication with users (for testing and more minor progress updates) much easier. Note that I'm still going to continue to provide support over here on XDA, but if you want more in-depth progress updates or are wanting to ask some quick questions, feel free to join!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Lineage_OS_Logo.png

    Disclaimer
    Code:
    /*
     * Your warranty is... still valid?
     * 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 the one choosing to make these modifications.
     */

    IMPORTANT
    This ROM is only for the Amazon Fire HD 10 2019 (maverick) Do not try to flash it on any other device.

    This ROM requires the temporary bootloader unlock found here. Read the instructions carefully and come back once you have a working temporary unlock.
    This thread will be updated should another unlock method be available.
    This ROM requires that you be on the 7.3.1.0 launch firmware. If you have temp unlocked your device, you should already be on this firmware.


    LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and reliability over stock Android for your device. All the source code for LineageOS is available in the LineageOS Github repo. If you would like to contribute to LineageOS, please visit our Gerrit Code Review.

    This is a custom build of LineageOS for the Amazon Fire HD 10 9th generation (maverick) which is 64-bit, allowing you to run 64-bit applications and benefit from better performance, unlike the stock OS which is 32-bit.


    Working
    • Audio
    • Bluetooth
    • Camera
    • DRM L1 (playback not tested)
    • DT2W (double-tap-to-wake)
    • Media Playback (Hardware OMX)
    • Sensors
    • SDcard
    • USB (MTP, PTP, etc)
    • Wi-Fi
    Not Working
    • SELinux is Permissive
    • Deep Sleep (?)
    • Hotspot
    Notes
    • The stock gallery app has some issues playing media which is higher than 1920x1080, if you face this issue please try a third-party gallery app.
    • If you have flashed GApps, you should wait for the device to "settle" after completing setup wizard. During the first 10-ish minutes of use, the tablet could heavily lag and freeze.
    • Since this is a beta build, you should be prepared to face bugs and issues, along with possible stutters and lags.
    • You are free to use any recovery to flash this ROM, however, I recommend using the attached recovery (Lineage Recovery) to flash this ROM in order to avoid any potential issues.
    How to Flash?
    It's important to note that you will have to boot your device with mtkclient every time you reboot!
    First of all, boot the device into fastboot mode. Once you see something like => FASTBOOT mode... appear on your devices display, you can flash the Lineage Recovery image with the following fastboot command:
    Code:
    fastboot flash recovery lineage-18.1-XXXXXXXX-UNOFFICIAL-maverick-recovery.img
    fastboot reboot recovery
    This flashes the custom recovery to the devices recoverypartition, and then tells it to reboot into recovery mode.
    To make sure the device boots into recovery upon the next reboot, hold the volume up button on the device after sending the preloader again with mtkclient.
    DO NOT let the device boot back into FireOS at this point, as it will flash the old recovery back to the device, and you will need to start from the beginning again.

    The unlocked LK indicates which mode the device will boot into, you should see something like lk boot mode = 2 on the devices display, meaning it is booting into recovery mode.
    Once in Lineage Recovery, tap on "Apply Update", and then tap on "Apply from ADB". There are also options to apply updates from external storage if you wish.
    Now, it's time to actually install the ROM. We are going to sideload the Lineage ZIP to our device using adb with the following command.
    Code:
    adb sideload lineage-18.1-XXXXXXXX-UNOFFICIAL-maverick.zip
    At this point, all you need to do now is wait for the flashing process to complete.
    Once finished, you will be brought back to the apply update menu. Simply press the back button to go back to the main menu.
    Now, tap on factory reset and tap on the option Format data/factory reset. This is going to erase all of the old FireOS userdata from the device.
    If you do not wish to install GApps, skip to the finishing up process below the GApps flashing instructions.

    Optional: Flashing GApps
    To install Google Services to your new ROM, you will want to start by downloading the recommended GApps package (see Downloads section).
    Once downloaded, you can follow a similar process that you did for installing the ROM ZIP.
    Tap on "Apply Update" again, and "Apply from ADB".
    Once you have done that, you can sideload the GApps package with the following command:
    Code:
    adb sideload MindTheGapps-11.0.0-arm64-XXXXXXXX_XXXXXX.zip
    If you wish to install other addons (e.g. Magisk), repeat the same steps, substituting the GApps package file name with the Magisk zip file name.

    Finishing Up
    Once you have done everything you need to do in Lineage Recovery, it's time to boot into the new ROM.
    It's important to note that the reboot system now option does not work correctly, so follow these steps to workaround it.
    Tap on Advanced, and then tap on Reboot to bootloader.
    Once you see => FASTBOOT mode... on the devices display once again, type the following fastboot command to reboot.
    Code:
    fastboot reboot
    After a short while, you should see the LineageOS boot animation on your device. First boot usually takes 5-10 minutes, especially if you have installed Google Services.
    Wait for the device to boot and you should be presented with the setup wizard. Enjoy!

    Downloads
    ROM
    Recommended GApps

    Source Code
    Device
    Kernel
    Vendor
    3
    64-bit LineageOS 20 (based on Android 13) coming possibly maybe soon to a maverick near you!
    1
    @bengris32 - great to see this post, thanks!
    I see you've put vendor and kernel on github already.
    Is there a maverick device tree you could recommend for a lineage self-build? (Maybe: https://github.com/PQEnablers/android_device_amazon_maverick ?)
    The device tree is currently private for whatever reason. I will let bengris know through Telegram.
    1
    @bengris32 - great to see this post, thanks!
    I see you've put vendor and kernel on github already.
    Is there a maverick device tree you could recommend for a lineage self-build? (Maybe: https://github.com/PQEnablers/android_device_amazon_maverick ?)
    Hey, currently the new device tree is not open source yet, I will make it open source once I fix the remaining issues (mainly getting SELinux Enforcing). Kernel tree is open due to the GPL license.
    1
    Hi there, I'm having issue with this ROM as it is bootlooping after install with TWRP or provided LOS Recovery. For what it's worth, I have a maverick that is permanently bootloader unlocked, so as far as I know I do not have to use mtkclient. I'm not sure if this is a hard requirement. Flashing via TWRP or provided LOS recovery does not work for me. Am I missing something?
    Hello, interesting to say you have "a maverick that is permanently bootloader unlocked", is it an engineering unit? Could you provide more details such as the firmware version you are on? Also, which kind of boot loop, does it at least get past the Amazon logo or just reboot? Or do you see LineageOS boot animation which never ends?