[OFFICIAL/UNOFFICIAL] LineageOS 19.1 for Amlogic G12*/SM1 Family Devices

Status
Not open for further replies.
Search This thread

AiM2LeaRn

Senior Member
Aug 11, 2021
221
65
The good news first: I was able to revive my TV box.
However,, the tips here and the extensive searching here on XDA were of no help to me. I finally found on the WWW the "Amlogic G12* SM1 Family Devices Tools v1.00" which reinstalled stock Android 10.


The bad news: The installation after the LineageOS Wiki Install LineageOS on wade bricks again my DynaLink TV Box Model DL-ATV36.

Unlocking the bootloader

adb reboot bootloader
fastboot devices
fastboot oem 'setenv lock 10101000;save'
fastboot reboot bootloader
fastboot flashing unlock

(6.) The TV box did not reboot automatically, so I rebooted it manually.

(7.) Since the device was completely reset, USB debugging had to be re-enabled to continue.
Flashing the partitions dtb and dtbo


Flashing the dtb and dtbo partitions
- - -
adb reboot bootloader
fastboot flash dtb dtb.img
fastboot flash dtbo dtbo.img


Installing a custom recovery with fastboot
- - -
adb reboot bootloader
fastboot devices
fastboot flash recovery lineage-19.1-20221211-recovery-wade.img
fastboot reboot-recovery

The command »fastboot reboot-recovery« was not executed, that means the TV-Box did not boot into the recovery to verify the installation.

Trying to boot the TV box manually into recovery mode failed and ended again at the DynaLink logo - and again could not be controlled with adb or fastboot commands. So I was again at the point #1.737 "My DynaLink TV Box Model DL-ATV36 is broken".

I will not use the official LOS installation guide again, so: which How-To brings me to the successful 'LineageOS on wade' installation?




Unlocking Process​

#enable usb debugging
adb reboot bootloader
#check to see if your device is detected
fastboot devices
#send unlock code to device
fastboot oem 'setenv lock 10101000;save'
#reboot to bootloader for system to acknowledge and apply previous code
fastboot reboot bootloader
#unlock the bootloader
fastboot flashing unlock
#reboot to system
fastboot reboot


FLASHING PROCESS

#enable USB Debugging
adb reboot bootloader
#fastboot flash dtb dtb.img
fastboot flash dtb lineage-19.1-20221024-dtb-wade.img
#fastboot flash dtbo dtbo.img
fastboot flash dtbo dtbo.img
##flash recovery image
fastboot flash recovery lineage-19.1-20221211-recovery-wade.img
##attempt to boot into recovery
fastboot boot lineage-19.1-20221211-recovery-wade.img
#it will either boot into recovery or it will hang/freeze
##DO NOT LET IT BOOT INTO SYSTEM
##DO NOT LET IT BOOT INTO SYSTEM
##DO NOT LET IT BOOT INTO SYSTEM
##you must either go directly to recovery by
##manual method or by commands
#personally it hung on me every time i tried the command and i had to manually reboot into
#recovery by disconnecting the usb cable and then
#hold power button on actual device (not the remote) while plugging in the usb cable into the computer
#once in the linage recovery
#Now tap Factory Reset, then Format data / factory reset and continue with the formatting process.
#DO NOT Format System
#now you can sideload lineage by choosing
#“Apply Update”, then “Apply from ADB” to begin sideload.
adb sideload lineage-19.1-20221211-nightly-wade-signed.zip
#optional if you want Gapps
adb sideload MindTheGapps-12.1.0-arm-AndroidTV-20220912_160805.zip
#reboot to system using recovery and enjoy


EXTRA NOTES:
# if it hangs and gets in a bootloop/soft brick,
# just disconnect usb power cable and then hold the power button down on the actual device
# and then power on the device by plugging back in the usb cable
#having windows volume on to hear the USB Hardware detection sound helps alot to know when its in recovery/bootloader mode

#use the remote to navigate recovery on WADE/DYNALINK
#Dynalink remote is BOTH a IR and Bluetooth remote
#note that other manufactures may just be Bluetooth remote
#if your remote doesnt have IR function you must use a microUSB to USB hub and connect a keyboard/mouse
-power button on remote is <enter><Select> on the recovery screen
-back button on the remote is to go back on the recovery screen
-up/down on the remote is to move up/down on the recovery screen
 
Last edited:

iodemos

Member
Feb 20, 2021
24
9
##attempt to boot into recovery
##fastboot boot lineage-19.1-20221211-recovery-wade.img[
#it will either boot into recovery or it will hang/freeze
##you must either go directly to recovery by
##manual method or by commands
Booting into the lineage recovery is not executed, neither by fastboot commands nor by manual method. The DynaLink logo is frozen, the contact to the host machine is broken. Nothing works anymore except - reinstalling stock Android 10.
 

AiM2LeaRn

Senior Member
Aug 11, 2021
221
65
Booting into the lineage recovery is not executed, neither by fastboot commands nor by manual method. The DynaLink logo is frozen, the contact to the host machine is broken. Nothing works anymore except - reinstalling stock Android 10.
it should work... all i can think of is that you are possibly flashing the wrong files or typing something wrong in the wrong place.

can you post the Three DIRECT links to the DTB DTBO and RECOVERY files you are using?

can you also post a screenshot of the ADB screen to see what you are typing?
 
Last edited:

matrix200200

Senior Member
Jun 22, 2010
69
7
I mean, you could search emotn ui launcher.. it’s actually designed for android tv, and has both live wallpapers and clock and weather widgets you can display. I just went to search it on play store before replying, and it’s seems it’s recently been removed. So, at your own risk and maybe search why is it not in play store or check out screen shots of how it looks on google images before downloading it. I can’t imagine a phone launcher like nova or apex to play nicely with android tv
Ok, so I got around th play with emotn ui launcher and I am sorry to say its an utter garbage.
No support for shortcuts, weather shortcut that I couldn't remove and where is clock again?
This launcher is basically, the same old tired junk I had on cheap chinese tv boxes in 2015.
I am sorry, but this one is hardly a reason to give up on Nova launcher.
 

S1ngl3-x

Member
Jun 10, 2022
27
15
Does anyone know if it is possible to get chromecast working?
I've got official wade and lineageos on phone as well with microg (avicii).
Both devices have screencasting in menu but loading up YouTube does not work.

Is there anything I am doing wrong?
 

matrix200200

Senior Member
Jun 22, 2010
69
7
Some wifi issues.
I am experiencing the device not automatically reconnecting to wifi after having been put to sleep.
Also, I tried setting up static ip and noticed the static ip screen in settings appears to be non functional.
I cannot type and cannot save a static ip.
Also except the static ip text box, there are no other settings present (subnet/gateway/dns etc).
 

zweiund40

Member
Apr 19, 2010
10
0
Booting into the lineage recovery is not executed, neither by fastboot commands nor by manual method. The DynaLink logo is frozen, the contact to the host machine is broken. Nothing works anymore except - reinstalling stock Android 10.
Seems like the Same Problem i had.
Solution for me was to switch from linux to Win11, installing Amlogic_USB_Burning_Tool_v2.0.2 as suggested in this thread including the Drivers to went back to Stock.
Started the Tool, pressed the Button on the Box when plugged the USB cable in the Port of My Laptop. I was very suprised that the recovery Started directly, without adb or fastboot - so i could finish the Installation of the Rom and till Now everything seems to work 😁
 

npjohnson

Recognized Developer

zweiund40

Member
Apr 19, 2010
10
0
Hi2all
I'd would like to thank the maintainer of this rom a lot. Great work!
With this it was possible for me to get an ungoogled Android Streaming Device (wade).
In case of an app that asked every time for googleservices (RTL+) I've installed Microg, which was a little bit tricky (adb sideload Magisk -> installing fdroid (adb) -> installing Material File Manager (from fdroid) -> installing LSPosed (within Magisk) -> installing Fakestore -> installing minMicrog-nogoolag(within Magisk).
The needed Apps for streaming I'm getting through Auroradroid/Aurorastore which is a little bit tricky too in case of the UI what is normally for Touch Devices. In cause of this is only a one-time process it seems no Problem for me.
Till now everything seems to work fine and I'm very happy with this.
Due to a more cleaner and easier installation a version with microg (or signature spoofing) within would be great, but I don’t know how hard it is to build it and how many Users would like to have this feature.
So again, thx a lot and best regards
Christoph
 

talksickisil

Senior Member
Dec 25, 2009
280
73
Aurora,IL
Hi2all
I'd would like to thank the maintainer of this rom a lot. Great work!
With this it was possible for me to get an ungoogled Android Streaming Device (wade).
In case of an app that asked every time for googleservices (RTL+) I've installed Microg, which was a little bit tricky (adb sideload Magisk -> installing fdroid (adb) -> installing Material File Manager (from fdroid) -> installing LSPosed (within Magisk) -> installing Fakestore -> installing minMicrog-nogoolag(within Magisk).
The needed Apps for streaming I'm getting through Auroradroid/Aurorastore which is a little bit tricky too in case of the UI what is normally for Touch Devices. In cause of this is only a one-time process it seems no Problem for me.
Till now everything seems to work fine and I'm very happy with this.
Due to a more cleaner and easier installation a version with microg (or signature spoofing) within would be great, but I don’t know how hard it is to build it and how many Users would like to have this feature.
So again, thx a lot and best regards
Christoph
This was something I wanted to look into. I fell out of the root /custom rom scene since I switched my phone in 2018. It’s these tv boxes that has me back. How do you install F droid through adb? Is it possible to just install all of my apks thru adb? When I tried going without g apps I got stuck due to having no file manager installed. I’m not sure how many of my apps NEED google services. Honestly if I could install my fx file manager apk thru adb id probably just start there
 

zweiund40

Member
Apr 19, 2010
10
0
Hi,
Yes, you can install fdroid via adb install. As Filemanager i prefere Material Filemanager from fdroid because it can browse the network. If you got all your needed apps for this architecture you can install them by adb too, but there will be no updates for them. Thats the reason I am using Aurorastore to install apps. Its an Appmanager to get apps from the playstore without the need of an Google account.
I think it's a good idea to start like you suggested. If there are problems in case of apps which needs Google services you can install microG and the rest later.
Hope I could helped you a little bit.
If you have more questions you can ask.
Good luck!
 

Slimshady997

Member
Jul 6, 2022
42
7
El hilo LineageOS 20 está activo: https://xdaforums.com/t/official-un...logic-gxm-gxl-g12-sm1-family-devices.4534935/

Actualización rápida:
- Las instrucciones de instalación de wade/dopidner se corrigieron para evitar el problema del bucle de reinicio de DTB/DTBO
- Descubrimos que los devkits no arrancan, ¡arrancarán muy pronto!
- dopinder/Sabrina podría haber arreglado L1, necesitará que todos ustedes prueben
- 20 también corrigió muchas cosas pequeñas de QOL en la plataforma

LineageOS 20 thread is up: https://xdaforums.com/t/official-un...logic-gxm-gxl-g12-sm1-family-devices.4534935/

Quick update:
- wade/dopidner install instructions are fixed to avoid DTB/DTBO reboot boot loop issue
- We figured out the devkits not booting, they will boot very soon!
- dopinder/Sabrina might have L1 fixed, will need y'all to test
- 20 also fixed a lot of small QOL things in the platform
The streaming services still do not work and in the case of Netflix it is not compatible with Android 13
 

MrPlayboy22

Member
Oct 13, 2022
9
0
Dear friends, you already helped me once (thanks again!) - so hopefully you can help me again.

Device: wade
Android version: 12.1 / LinageOS 19.1

I was on an unofficial version as of October 2022. Today I updated via the official updater (Settings -> System -> Updater) to the latest, unofficial version (2013-01-01). It updated sucessully and everything works, beside Wifi. This one seems to be broken for whatever reason (it was working before!). Obviously now "re-updating" does not work any longer, as there is no Wifi available.

How could I get my Wifi working again? Turning it off/on via the settings seems to not do the deal.
Furthermore, there seems to be an option via Ethernet. Would someone have a cable/ adapter solution (on Amazon?) that I could order as a backup for potential future Wifi issues?

Thanks a lot in advance for your kind support and help. Highly appreciated.
 

sjustinas

Member
Nov 3, 2021
10
0
Dear friends, you already helped me once (thanks again!) - so hopefully you can help me again.

Device: wade
Android version: 12.1 / LinageOS 19.1

I was on an unofficial version as of October 2022. Today I updated via the official updater (Settings -> System -> Updater) to the latest, unofficial version (2013-01-01). It updated sucessully and everything works, beside Wifi. This one seems to be broken for whatever reason (it was working before!). Obviously now "re-updating" does not work any longer, as there is no Wifi available.

How could I get my Wifi working again? Turning it off/on via the settings seems to not do the deal.
Furthermore, there seems to be an option via Ethernet. Would someone have a cable/ adapter solution (on Amazon?) that I could order as a backup for potential future Wifi issues?

Thanks a lot in advance for your kind support and help. Highly appreciated.

I have had my WiFi broken by updates many times, and what worked for me every time was to flash previous known-good DTB and DTBO. Use aml-flash-tool as described here. You don't need to follow all the steps, for me it was enough to:

1. Turn on wade while holding the side button (to enter AMLogic burn mode)
2. ./update bulkcmd fastboot
3. fastboot flash dtb dtb.img
4. fastboot flash dtbo dtbo.img
5. fastboot reboot

The DTB/DTBO files I use are from lineage-19.1-20221023-nightly-wade-signed.zip
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    lineage-os-logo.png

    Amlogic G12*/SM1 Family Devices
    Code:
    - Your warranty is now void.
    - You have been warned.
    - Use at your own risk.

    Introduction:
    This is the Official Lineage OS 19.1 thread for the Amlogic G12*/SM1 SoC family of devices.

    Downloads:
    Please follow the install instructions in your device's Wiki page linked below exactly, and make sure your device's firmware matches the required firmware listed:

    Official Builds:

    Disclaimer: My unofficial builds have full Android TV Google Apps and some other goodies included. OTA's roll roughly once a month. Support not guaranteed or implied.

    Unofficial Builds:
    We also support a few development boards, but at least (for now, until we have time to write up instructions), you're on your own to figure out the install process and set things up:
    EDIT: The development boards don't boot on LineageOS 19.1 at the moment for some reason, we're looking into it.

    If you don't follow these instructions, or use 3rd party add-ons (like Magisk) please don't expect support here.

    Known Bugs:
    • Recent apps/Multitasking menu doesn't launch.
    • (sabrina only) The remote firmware sometimes gets hung up, you can reboot to solve this issue.
    • (dopinder/sabrina) L1 is currently broken, this is what is holding up official builds for these devices.
    Notes:
    • GApps are baked in on Unofficial builds - No, I will not be building without GApps included for this device. These builds are built, packaged, and signed by me, and not affiliated with LineageOS whatsoever.
    • Firmware is shipped in the ROM package for this device, so you'll end up on the newest version of compatible firmware after install. Please don't touch firmware partitions after install.
    • On the unofficial OTA is provided the same way officials would have them.
    • Find any more on an official build? Report them according to this guide.
    FAQ:
    • Does L1 Widevine DRM break when I unlock my bootloader?

      Nope, it works fine. L1 certificates, and the mechanism that reports is all still exist and work as expected.

    • Can I haz Netflix?

      Yup! Play Store has it for you. Unless you're on dopinder or sabrina, but that will be fixed soon hopefully.

    • Is this Android TV or Google TV?

      Android TV, with some of the better components of Google TV.

    • Can I go back to stock and relock the bootloader?

      Yeah, grab the factory image for your device and flash it just like you would for a Pixel device, you can find the factory images here. Don't know it I'd relock though, consider that process largely untested on these device. Especially on sabrina, where you can't necessarily re-unlock should you ever want to.

    • Are these the stock codenames for these devices?

      Astute observation, no, they are not. The ADT-3 is actaully `adt3`, but earlier in production is was `deadpool`, which is much cooler. The Dynalink box internally is extremely similar to the ADT-3, so we coined it `wade` after Wade Wilson, AKA deadpool. The Onn box is in the same family, but different enough to coin it `dopinder`, after, well, go watch Deadpool the movie I guess. sabrina is actually the codename given by Google - no clue as to the reason.

    • Does it pass SafetyNet?

      Maybe - the only sure fire way it Magisk, as our boot loader is unlocked and can't be relocked safely.

    • Does the stock remote work?

      Yup, just like it would on stock, in-remote-microphone and all! If it's an IR remote like wade's, it will even work in recovery!

    • Can we we support higher resolution than 4K, higher FPS, or HDR on non-certified screens?

      Nope.

    • I have a very similar device! Can I install these builds and use them?

      No. Please don't do that. You will brick your device, as we include firmware and bootloader images.

      If you're a developer looking to help port to a new device, contact me.

    Kernel Source: https://github.com/LineageOS/android_kernel_amlogic_linux-4.9

    Contributors:
    • npjohnson
    • bgcngm
    • stricted
    • webgeek1234
    • deadman96385
    • trautamaki
    • luca020400
    • aleasto
    14
    Yeah, you used the stock recovery. You need to fastboot flash, then fastboot boot recovery, I'll update the docs.

    For dopinder, it's needed right now.

    Found a procedure for dopinder without the need for keyboard/OTG.

    The docs under "Installing a custom recovery using fastboot" state to use "adb reboot fastboot" which doesn't work for booting recovery, needed to do "adb reboot bootloader" instead.

    Full command log (after unlocking bootloader and re-enabling USB debugging) of the install process with just a regular Micro USB to USB A cable:
    Code:
    adb reboot bootloader
    fastboot flash recovery lineage-18.1-20210805-recovery-dopinder.img
    fastboot boot lineage-18.1-20210805-recovery-dopinder.img
    adb reboot sideload
    adb sideload lineage-18.1-20210805-UNOFFICIAL-dopinder.zip
    # if successful then load bootloader and factory reset
    adb reboot bootloader
    fastboot -w
    fastboot reboot

    Successfully booted to LineageOS after this!
    7
    deadpool an wade are official again, hopefully we got it all right this time around.

    onto dopinder and Sabrina. Hoping to get those shipped soon.
    6
    wade and deadpool are official now!
    6
    Note:

    Since the Lineage Android TV Builds for this little box (aka Boxes), are stable for the most part, but seems
    people are bouncing back in forth from Stock to Lineage and back to stock.

    I created a batch file that will auto flash the stock images and wipe data and so on.. pretty much it will
    make your box as it was when you first booted it after taking it home to try it.

    2nd, I also created a batch file that will backup current images.. No need for a fancy recovery or anything like the
    such. it will use the worldcup or what I like to say, USB Burn mode, and backup each and every partition.
    as well as some not so much needed ones like, misc and metadata. (Just for giggles)..

    backups will be copied to backup dir, I also created a separate batch file to restore your backup.


    I am one that hates doing things the long way over and over, so I always create ways to make things simple
    in the future for people.

    This way, you all can test your hearts out all the new lineages and still have your full Stock backup (including data).
    and restore back in forth as you wish.

    I will upload the backup_restore zip package as soon as I can and with @npjohnson permission I will link
    in thread. Otherwise you will have to just DM/PM me and ill link you the location.

    I am just trying to help the many that I seen complain and dont understand how to go back in forth.
    so with this script, it should take care of most on that. No Fancy Recovery needed...

    you will need worldcup driver for Amlogic........ you can find that on your own.

    Also, to get into USB Burn mode, press side button while plugging in USB cable.
    Keep pressing till you see the LOGO or hear the sound from your computer.

    then just run the batch file and wait..

    if its easier for you:

    Run the batch file, it will keep saying waiting for device..
    Just press the side button while plugging in USB, when you see it start, then release button...........
    and wait till finished..

    Only TESTED On Dopinder Boxes, but im sure they are all the same as for the partition layouts.