[Fire TV Original Android Development] doomsboygaming:
Hey XDA community!

I'm excited to share our progress on developing a LineageOS 14.1 build for Sloane in collaboration with another XDA user who goes by dcellini21.

We pulled the device tree, vendor, and kernel from the repository located here: https://github.com/mt8173-dev/android_device_amazon_sloane/tree/cm-14.1 to kickstart our development process.

Build Details:

LineageOS Version: '14.1-20230801-UNOFFICIAL-sloane'

Build fingerprint: 'google/lineage_sloane/sloane:7.1.2/NJH47F/70158dcd24:userdebug/test-keys'

Revision: '0'

ABI: 'arm'

Current Issues:

Removing Default Setup Screens and Unnecessary Priv-apps:

We've noticed that there are some default setup screens and unnecessary privileged apps still present in the ROM. As part of the development process, we aim to remove these elements. Any guidance or advice from the community on how to achieve this efficiently would be highly appreciated.

Wifi/Bluetooth Functionality:

At the moment, we've encountered some challenges with Wifi and Bluetooth functionality. Although they seem to be partially working as ethernet is able to allow internet connectivity, we need to dig deeper into the underlying issues to ensure they function optimally. If anyone has experience troubleshooting these features on similar devices or has any insights, your contribution would be invaluable.

Sound Output through HDMI:

Another feature we'd like to bring to life is sound output through HDMI. Currently, this functionality is non-functional, and we are actively looking into ways to implement it effectively. If you have experience with handling HDMI sound output on LineageOS or any relevant tips, we'd love to hear from you!

Please follow the updated bootloader unlocking process as flashing on a locked bootloader will brick your device and will require you to unbrick it: Link

Instructions:

Reboot to recovery mode: Power off your device and then boot into recovery mode.

Cache: In the recovery mode, select "Wipe" or "Wipe Data/Factory Reset" option and confirm the action. Next, select "Wipe Cache Partition" and confirm. Also, choose "Wipe System" or "Format System" to ensure a clean installation.

Place the GApps zip file in the same location as the LineageOS ROM. (preferably a good MicroSD card)

In recovery mode, select "Install" or "Install Zip" and navigate to the location where you placed the LineageOS ROM file. Select it and confirm the installation. After it finishes, repeat the same process for the GApps zip file.

In order to have ADB control, you will need to either use an A-A cable or connect through Ethernet using the IP that will show on the Top Right of the screen.

IMPORTANT STEP! Push your RSA key!You need it in order to be able to navigate any menus.

For Windows Users: adb push C:\Users<your_username>.android\adbkey.pub /data/misc/adb/adb_keys

For Linux Users: adb push /path/to/your/adbkey.pub /data/misc/adb/adb_keys

Reboot and Test: Once both the LineageOS ROM and GApps are successfully flashed, select "Reboot System Now" to boot into the newly installed custom ROM. MAY TAKE A MINUTE TO START LOADING

Downloads:

LineageOS 14.1 UNOFFICAL ROM: Link

GApps: Open Gapps (arm64/7.1/tvmini) - Link

When reporting bugs, include the following information:

Grab a logcat: After the problem occurs, capture the logcat by connecting your device to a computer and using Android Debug Bridge (ADB) or use a logcat app from the Play Store. Please include at least a few pages of the log, not just the last few lines.

Known issues:

HW decoding

Wi-Fi direct

Sound

Wi-Fi

Bluetooth

MTP not working in TWRP

Notes:

SELinux is in Permissive mode.

The ROM only supports sloane

Any help is welcome, as well as help on how to fix issues.

How Do I:

Reboot into TWRP: Power off your device and connect via an A-A USB cable and Run sudo ./boot-recovery.sh on a terminal opened in the Amonet Directory then power back on the device.