[OFFICIAL/UNOFFICIAL] LineageOS 20 for Amlogic GXL/GXM/G12*/SM1/NE Family Devices

Search This thread

tannergt2

New member
Jun 9, 2023
1
2
Hi all,
I am trying to flash wade and i got into the same situation as @apropper, the official instructions work only until flashing the recovery image. Rebooting into recovery does not work, so I followed what was suggested here of using burn mode. `update bulkcmd fastboot` fails (aparently, at least), so it nevers enters into fastboot. In comments from previous releases of Lineage, some users say you can ignore that failing message and try to list the devices, but it does not seem to be the case anymore.

Any hints how to get into fastboot, or how to go back and try again the process?

Update:
I solved the issue by following the same steps but from Ubuntu and it works fine. So after `update bulkcmd fastboot`, still the same "error" shows up, just ignore it, and run `fastboot devices`, you will see the device will be listed. The same steps from windows do not work, in case someone else faces the same issue.
 
Last edited:

Billionairez

New member
Jul 9, 2017
2
0
Kuala Lumpur
All I have to say is WOW was that quick and easy. I didn’t even need to turn on my laptop. Upgrading is a breeze. I used root toolbox (I think it’s called) to flash the recovery .img without even exiting the android session. Then after rebooting recovery from that same app I verified the date it shows and confirmed it flash successfully. Then I just flashed the .zip from my usb flash drive for EXternal storage attached to OTG. I was going to wipe everything and start fresh. For whatever reason, the recovery decided to reboot after I didn’t hit any buttons for awhile. To my surprise everything migrated from 12 to 13 flawlessly with exception of magisk. I did not even have issues with my INternal storage usb drive. It’s installed but I will need to re-patch the boot img. If I do have any issues I will keep this dirty flash in mind. Thanks as always for your work. I like the file manager you added. Nice touch. Also I notice this build using about 300 mb larger than the average official highly build. Did you include more g apps or something? With this dirty flashed I won’t be able to tell anything I already had installed. Oh and also: the signature verification warning in recovery is no more. That’s excellent also.

View attachment 5797999View attachment 5798001
can teach me how to setup?
 

dany0808

Senior Member
Mar 27, 2011
50
8
Hello
I think this could be lil offtopic..
Does anybody knows if there is any chance to have a decent speed external storage on my dopinder?
Like some hack to speedup the micro usb otg or maybe a physical mod to main board for reading microSD/usb C otg
 

Functioner

Senior Member
Jan 16, 2023
236
109
Update:
I solved the issue by following the same steps but from Ubuntu and it works fine. So after `update bulkcmd fastboot`, still the same "error" shows up, just ignore it, and run `fastboot devices`, you will see the device will be listed. The same steps from windows do not work, in case someone else faces the same issue.

Nice find! I had considered the possibility that usb might be behaving differently on windows as compared to linux, so I opened a windows session in a vm. It appeared to work the same, but the version of windows that I have installed is v8.1. I don't have windows 10/11 installed because they are such horrific advertising engines.

I remember changes in the way usb was handled just between windows 8 and 8.1, so I guess windows 10 and/or 11 might have more usb changes. When you open a command prompt or powershell window in windows 10/11, do you do it as an administrator?
 

apropper

Member
Jun 5, 2023
14
2
Ok, so after getting a new box, following the instructions I've learned after the last couple of days, I was able to get it running. After unlocking the bootloader and doing a factory reset, I was able to flash the necessary files (though I did have to wrestle with reinstalling adb drivers to get it recognized in fastboot).

GOOD STUFF
- I'm genuinely surprised how well this runs. I was able to sideload apps no problem and so far everything works. The UI itself is really clean, no ads, no other bs. Remote works, bluetooth works, all that. Great job putting this together and I look forward to future updates.

NOT SO GOOD
- The instructions on the wiki are in DIRE need of updating. I don't mean to come off so critical, but there is no reason for someone to have to conduct hours of research when the outlined steps fail them.
- Also, you should all keep in mind that not everyone has the experience you do in using cmd and drivers and all that stuff. The main reason I had to make an account was because I'd see posts talking about terms without posting links, like it's given knowledge what worldcup drivers are and whatever else I was asking about before.

Again, not trying to insult anyone, I'm grateful for the help, I just want people to keep in mind how challenging this can be without properly safed instructions, and for those outside of the xda realm. I also want to reiterate how happy I am with my Lineage-infused box. Thanks again for all the hard work you've all done with this project, and good luck with your future endeavors. Peace and love.
 

fepij52921

Member
Nov 27, 2022
7
0
Oh there's 0 chance of that.

It took the lineage infrastructure team two years to deploy the new download portal, very doubtful that something like that would be adapted, it would also require extensive wiki changes, and a much more systematic approach to changing it out.

Don't see it happening officially ever tbh.
Real bummer, it would be nice to have an easier way to install some version of this since it is far from smooth if it ever works.
 

mmortal03

Senior Member
Apr 15, 2014
443
97
Does anybody knows if there is any chance to have a decent speed external storage on my dopinder?
Like some hack to speedup the micro usb otg or maybe a physical mod to main board for reading microSD/usb C otg
Very doubtful. I'm imagining that if some sort of transparent compression formatting of external storage was supported in LOS 20, you might be able to achieve somewhat faster effective transfers of content using the USB 2.0 OTG connection. But what is the use case? You're probably going to have better luck serving the files over 5GHz wireless.
 

hellerhd

New member
Jun 11, 2023
2
1
Ok, so after getting a new box, following the instructions I've learned after the last couple of days, I was able to get it running. After unlocking the bootloader and doing a factory reset, I was able to flash the necessary files (though I did have to wrestle with reinstalling adb drivers to get it recognized in fastboot).

GOOD STUFF
- I'm genuinely surprised how well this runs. I was able to sideload apps no problem and so far everything works. The UI itself is really clean, no ads, no other bs. Remote works, bluetooth works, all that. Great job putting this together and I look forward to future updates.

NOT SO GOOD
- The instructions on the wiki are in DIRE need of updating. I don't mean to come off so critical, but there is no reason for someone to have to conduct hours of research when the outlined steps fail them.
- Also, you should all keep in mind that not everyone has the experience you do in using cmd and drivers and all that stuff. The main reason I had to make an account was because I'd see posts talking about terms without posting links, like it's given knowledge what worldcup drivers are and whatever else I was asking about before.

Again, not trying to insult anyone, I'm grateful for the help, I just want people to keep in mind how challenging this can be without properly safed instructions, and for those outside of the xda realm. I also want to reiterate how happy I am with my Lineage-infused box. Thanks again for all the hard work you've all done with this project, and good luck with your future endeavors. Peace and love.
Hi @apropper,
Thank you very much for providing a general impression of the current ROM status. This looks very promissing!
Wiht your experience, couldn't you write up a short summarized Instruction 'how to install' for the 'non developers' to ease the process for them (and me :) ).
That would be great!
Thanks in advance.
 
Last edited:
  • Like
Reactions: ChriMo

sjustinas

Member
Nov 3, 2021
6
0
Is this something that makes sense to put in official builds?
I would say probably yeah. I am not an expert on those matters though - not sure if there are any drawbacks. IIRC stock ROM's "Droid Settings" app eventually gained this option (Auto-HDR depending on the source), the default "HDR always on" behavior was perhaps a bit of a mistake.
 

npjohnson

Recognized Developer
I would say probably yeah. I am not an expert on those matters though - not sure if there are any drawbacks. IIRC stock ROM's "Droid Settings" app eventually gained this option (Auto-HDR depending on the source), the default "HDR always on" behavior was perhaps a bit of a mistake.
done. Next build will have it.
 

niuxxd

New member
Dec 5, 2016
2
1
I have successfully installed LineageOS 20 (lineage-20.0-20230604-nightly-wade-signed.zip)on my Dynalink Android TV box, and most features are working flawlessly.

However, I am experiencing an issue with the volume control on my remote.

Strangely, the volume control does not work unless I connect the TV box with scrcpy at the same time. I have attempted to use KeyMapper to remap the launch app keys, but unfortunately, KeyMapper does not recognize the volume control key either.
 
  • Like
Reactions: dany0808

Top Liked Posts

  • 1
    Wow, I installed all 3 of them.
    Luckily, none bricked my device, or had any other ill effects :)
    Perhaps its a good strategy to wait a few updates, before installing updates.
    Also, any reason why all these updates (going back to July I believe), are still available in the updater?
    It would be nice, if it only showed either the latest one, or maybe two updates, so people could revert if the need arises.
    They get cleared out every 6 months by me.
  • 2
    In order to support the onn. Google TV 4K Streaming Box 2023 (Codename Yoc), I've ordered 2 of them and sent them off to @npjohnson.

    He should be able to use them to enable LineageOS developers to get their hands on these and hopefully start on initial support.
    I got them!

    Like I mentioned, I am moving but I will get them to relevant devs by the end of the month!

    Thanks.
    2
    Hi, I just updated my dynalink to the newest sept 10 update and now I don't see anything onscreen. I see the androidtv logo, the lineageos logo, then black. I have a signal coming from the box, otherwise my tv would say "no signal", and if I hold the power button on the remote I can see the advanced power menu. Rebooting doesn't do anything. Can someone please help me?

    I had the same problem yesterday. I didn't have time to think it over so I have just rolled back to last working update and device booted normally.

    Something about the lineage-20.0-20230910-nightly knocked my wade (dynalink) out of commission. It froze right after the linneage OS animation. I had to go through fastboot and downgrade to an august release to get it working again. I tried upgrading again to the same nightly and same result.
    We are pulling this weeks builds for all devices, and re-pushing them for officials.

    For unofficial they are all rebuilding now.

    Sorry about that.
    2
    We don't support it - if someone donates one I will send it to a developer to bring up, thought.
    In order to support the onn. Google TV 4K Streaming Box 2023 (Codename Yoc), I've ordered 2 of them and sent them off to @npjohnson.

    He should be able to use them to enable LineageOS developers to get their hands on these and hopefully start on initial support.
    2
    I'm aware. I tried to flash it like an idiot. 😅
    I'm wondering if anyone could point me towards finding and reinstalling the original firmware.
    Here is a link to the firmware. Post in thread 'Walmart ONN Google TV' https://forum.xda-developers.com/t/walmart-onn-google-tv.4586587/post-88539531
    2
    Really one of us just needs to get our hands on it, we already have a work in progress tree for that generation of device, I just personally haven't had time
    Y'all still need one? I'd be happy to grab one and send it to whoever.
  • 10
    lineage-os-logo.png

    Amlogic GXL/GXM/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 20 thread for the Amlogic GXL/GXM/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:
    • deadpool - Google ADT-3
    • wade - Dynalink TV Box (4K)
    • m5 - Banana Pi M5 (Android TV)
    • odroidc4 - ODROID C4 (Android TV)
    • radxa0 - Rock Pi Radxa Zero (Android TV)

    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:
    • deadpool - Google ADT-3
    • dopinder - Walmart Onn UHD Box
    • sabrina - Chromecast with Google TV
    • wade - Dynalink TV Box (4K)
    • m5 - Banana Pi M5 (Android TV)
    • odroidc4 - ODROID C4 (Android TV)
    • radxa0 - Rock Pi Radxa Zero (Android TV)
    Additionally, with no Google apps, and no support provided, full-android builds are available for devkits:
    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) 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 the Android TV 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.
    • GApps are NOT included on the following targets due to space restrictions: `m5_tab`, `odroidc4_tab`, `radxa0_tab`. No, I will not be providing tablet style builds for any device that isn't a devkit - it just doesn't make sense.
    • 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 (NE): https://github.com/LineageOS/android_kernel_amlogic_linux-5.4
    Kernel Source (G12*/SM1): https://github.com/LineageOS/android_kernel_amlogic_linux-4.9
    Kernel Source {GXL/GXM): https://github.com/LineageOS/android_kernel_amlogic_linux-4.9-pie

    Contributors:
    • npjohnson
    • bgcngm
    • stricted
    • webgeek1234
    • deadman96385
    • trautamaki
    • luca020400
    • aleasto
    • chrmhoffmann
    • highwaystar
    • mikeioannina
    7
    Good news for all - the new ONN box and the newer generation of devices can be supported by the current tree.

    Will just need some work.

    We will 100% need the ADT-4 to be released though.
    7
    Official builds of 20 for deadpool/wade will ship within a week!
    4
    I would say probably yeah. I am not an expert on those matters though - not sure if there are any drawbacks. IIRC stock ROM's "Droid Settings" app eventually gained this option (Auto-HDR depending on the source), the default "HDR always on" behavior was perhaps a bit of a mistake.
    done. Next build will have it.
    3
    Good news for all - the new ONN box and the newer generation of devices can be supported by the current tree.

    Will just need some work.

    We will 100% need the ADT-4 to be released though.
    Fingers crossed that there won't be any problems with L1 (widevine) and the 2nd generation ONN Google TV box.