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

Status
Not open for further replies.
Search This thread

matrix200200

Member
Jun 22, 2010
47
4
After having tried several times to follow the guide for dopinder, now my device is stuck at boot screen.
Fastboot doesnt see the device.
What are my options?
 

matrix200200

Member
Jun 22, 2010
47
4
No.
Neither adb, nor fastboot.
Using Windows 10 (but can try Linux).
And no, device manager is not seeing the usb device.
The last option is to open up the device and use a usb to serial to reflash it, I guess?
 

matrix200200

Member
Jun 22, 2010
47
4
Wow thanks.
I got into recovery!
Now I need to search, what to do next.
I actually searched the thread for "stuck at boot logo" and didn't find anything useful
Wonder what I should have searched for.
 

npjohnson

Recognized Developer
This thread has 84 pages and at least a handful of people have had the exact same issue as you, with others posting the solutions. It also doesnt help most lineageOS install guides are incorrect and assume everyone knows about driver signing on windows 10+ or needing to run fastboot with elevated privs. Then there's the "i dont want to read 84 pages to find the answers already posted" and i don't blame people, who has time for that.

Hold the button on the side of the device down, and plug the usb A male connector slowly into your PC until just the power pins make contact, then release the button. This will change how the device boots. After you do so, plug the usb A male connector fully into the port to allow a data connection. Your windows pc should make a "do doop" noise. Now see if you can get somewhere.

For future reference for Anyone flashing their android devices (outside of samsung devices). Linux is much easier to do it from and most linux distros can boot to a live CD without needing to install. All functionality of downloading files from firefox and installing the adb fastboot tools are available without installing linux. Both Ubuntu & Mint (debian based) and EndeavourOS (arch based) work great for this.

Google "Ventoy" for making a usb boot drive that you can use for multiple ISOs at the same time. You can partition space to allow a "permanent" storage area for said ISOs to write downloaded files to when booted into the live environments.
Driver signing? What driver are you using?

The Google (signed) USB driver works fine for adb and fast boot.

Are you talking about the am logic driver? There are signed versions. But anyway, I'm just going to add a "Linux only" tag to the install guide for wade and dopinder.
 
  • Like
Reactions: BTK19

jim16127

Senior Member
Jul 18, 2015
65
3
Searching 84 pages is daunting! Although I only needed to read page 1 and page 84.
There are a few steps in the wiki linked on page 1 for Dopinger - Walmart Onn UHD Box that WOULD NOT WORK.
On this page https://wiki.oddsolutions.us/devices/dopinder/install under Unlocking the Bootloader < Step 5. It states to enter this command

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

The only way I could get it to work was typing each command separately

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


Then under Flashing the dtb and dtbo partitions it has 2 links for the required files...and one link is DEAD! The real place to find those 2 files is INSIDE the LineageOS zip that you download (the OS Install file. It's over 700MB) kudos @XDA-DB

Finally on Step 6 of Installing a Custom Recovery using fastboot. It states to type "fastboot reboot-recovery" but it never boots Recovery.
Power cycling the device then puts it in a state with NO fastboot or adb connection!
Unplug device. Hold button on device and slightly plug into PC until it powers on. When you see the Onn splash screen. Let go of button and fully plug in. You're now in Lineage Recovery that you installed. Again kudos @XDA-DB
 
  • Like
Reactions: S1ngl3-x

jim16127

Senior Member
Jul 18, 2015
65
3
I have one final inquiry. What's the best method to enable root on these unofficial LienageOS builds. I do not see a toggle in developer options. Currently a few mouse clicks away from trying Magisks official github install. Just seems like extra since I just went through all that. Lol
 

npjohnson

Recognized Developer
Searching 84 pages is daunting! Although I only needed to read page 1 and page 84.
There are a few steps in the wiki linked on page 1 for Dopinger - Walmart Onn UHD Box that WOULD NOT WORK.
On this page https://wiki.oddsolutions.us/devices/dopinder/install under Unlocking the Bootloader < Step 5. It states to enter this command

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

The only way I could get it to work was typing each command separately

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


Then under Flashing the dtb and dtbo partitions it has 2 links for the required files...and one link is DEAD! The real place to find those 2 files is INSIDE the LineageOS zip that you download (the OS Install file. It's over 700MB) kudos @XDA-DB

Finally on Step 6 of Installing a Custom Recovery using fastboot. It states to type "fastboot reboot-recovery" but it never boots Recovery.
Power cycling the device then puts it in a state with NO fastboot or adb connection!
Unplug device. Hold button on device and slightly plug into PC until it powers on. When you see the Onn splash screen. Let go of button and fully plug in. You're now in Lineage Recovery that you installed. Again kudos @XDA-DB
So, running them separately doesn't make much sense. `&&` says "run this after that if it succeeds" - this is on linux?

DTB - ugh, I need to fix my upload scripts - will do

reboot-recovery - fixing it.
some special notes that could be added to the dopinder wiki as well.

Fastboot needs to be run as root (or sudo / doas) on linux

In order for dopinder to show up in adb, under developer options, set MPT on but turn off usb debug first or the stock OS crashes (does not occur under LOS). once MPT is enabled, re-enable usb debugging.

Onn's booting into another mode when detecting data causes trouble for quite a few.

And some advice for anyone looking to buy one of the devices: just buy a wade. dopinder has so many little issues (emmc burning out, overheating and freezing, the mtp slider crashing the OS, not booting recovery when connected to a pc). The only redeeming quality of dopinder is the remote (and the price).

You don't need to give me credit for anything, jim. I don't help others for e-clout.
Not everyone will read, not everyones native language is english, not everyone has the foundational knowledge. All we can do is try to make it as easy as possible. If those "who know" can offload the burden of the devs, they can focus on doing what they like to do best (unless you like herding cats then who am I to judge).
fastboot - does not need root/sudo at all - it needs proper u-dev which is detailed on the wiki. You don't need to set MTP - ADB works just fine? I'm using it now.

The half-plug thing is an interesting finding I will note the wiki - thanks.

Wade is way better - can't agree more. IMO IR remote of wade is better even.

Appreciate it.
 

wright6432

Member
Nov 29, 2022
5
0
Thanks to all of the helpful comments here in the forum. I thought I bricked two devices, but I was able to unbrick them through the usb trick given by XDA-DB given here in the forums. Very appreciative. I successfully got lineage os to boot, but there are no apps. Only "Settings." I saw the lineage directions to load the GAPPS on first boot, but I was not planning to use GAPPS, so I did not think it applied to my situation. I was planning to sideload F-Droid. I have attempted several times to sideload the F-Droid apk now and I'm being given an error "E: Failed to find binary META-INF/com/google/android/update-binary." I'm assuming I should have sideloaded F-Droid before first boot. Is it going to be possible to sideload the F-Droid apk or do I need to start over from scratch?

The compleate readout is:
Verifying update package...
E: footer is wrong
Update package verification took 0.1 s (result 1).
E: Signature verification failed (I click "yes proceed with the installation" here)
E: error: 21
Installing update...
E: Failed to find update binary META-INF/com/google/android/update-binary

Install from ADB complete (status 2).

After this, I "Apply updates" and "Reboot System now," but there is no F-Droid app and nothing in the downloads folder. Any help would be appreciated. Thank you.
 
Last edited:

jim16127

Senior Member
Jul 18, 2015
65
3
@npjohnson
Thank you for reading and taking note. THAT'S AWESOME! The separating of commands only even popped in my head because of the error I kept receiving. "Status write failed (too many links)"
I didn't know how to slow the execution of commands aside from manually entering them. All of this was done on Windows 7 Pro. I failed to mention that. I tried in Linux first but couldn't connect to adb over USB. Not until I was attempting in a windows environment did I think to try without the otg cable connected. And voila! Again thanks for all the effort into this project!
 

edwrapxda

Member
Mar 23, 2021
9
8
Thanks to all of the helpful comments here in the forum. I thought I bricked two devices, but I was able to unbrick them through the usb trick given by XDA-DB given here in the forums. Very appreciative. I successfully got lineage os to boot, but there are no apps. Only "Settings." I saw the lineage directions to load the GAPPS on first boot, but I was not planning to use GAPPS, so I did not think it applied to my situation. I was planning to sideload F-Droid. I have attempted several times to sideload the F-Droid apk now and I'm being given an error "E: Failed to find binary META-INF/com/google/android/update-binary." I'm assuming I should have sideloaded F-Droid before first boot. Is it going to be possible to sideload the F-Droid apk or do I need to start over from scratch?

The compleate readout is:
Verifying update package...
E: footer is wrong
Update package verification took 0.1 s (result 1).
E: Signature verification failed (I click "yes proceed with the installation" here)
E: error: 21
Installing update...
E: Failed to find update binary META-INF/com/google/android/update-binary

Install from ADB complete (status 2).

After this, I "Apply updates" and "Reboot System now," but there is no F-Droid app and nothing in the downloads folder. Any help would be appreciated. Thank you.
If you’re successfully in Lineage, just like with regular Android after turning on USB debugging, you can use adb to install any apk - “adb install <f-droid.apk>“

You can also toggle on adb over wifi in the developer options, after which you’ll need to “adb connect <IP address>”
 

wright6432

Member
Nov 29, 2022
5
0
If you’re successfully in Lineage, just like with regular Android after turning on USB debugging, you can use adb to install any apk - “adb install <f-droid.apk>“

You can also toggle on adb over wifi in the developer options, after which you’ll need to “adb connect <IP address>”
Wow, that was easy and yes it worked. For some reason I thought I had to sideload it. Thank you very much.
 

viggi5k

Member
Nov 19, 2016
11
0
I just installed the newest nightly on a freshly bought wade.

Some notes:

- thanks for the hint with the button and usb cable to access recovery after the fastboot reboot-recovery not worked.

- don't use the included usb cable as it seems to not have data pins (at least eu version sold at amazon.de).

Sadly I cant activate Wifi. This seems to have been a bug in an older release. Any help on this?

thanks
 

viggi5k

Member
Nov 19, 2016
11
0
I just installed the newest nightly on a freshly bought wade.

Some notes:

- thanks for the hint with the button and usb cable to access recovery after the fastboot reboot-recovery not worked.

- don't use the included usb cable as it seems to not have data pins (at least eu version sold at amazon.de).

Sadly I cant activate Wifi. This seems to have been a bug in an older release. Any help on this?

thanks
Adding to this:
I wanted to downgrade LOS to the 1106 nightly but it denies because of SPL downgrade
 

viggi5k

Member
Nov 19, 2016
11
0
I just installed the newest nightly on a freshly bought wade.

Some notes:

- thanks for the hint with the button and usb cable to access recovery after the fastboot reboot-recovery not worked.

- don't use the included usb cable as it seems to not have data pins (at least eu version sold at amazon.de).

Sadly I cant activate Wifi. This seems to have been a bug in an older release. Any help on this?

thanks
lineage-19.1-20221113-nightly-wade-signed.zip fixed it
 

jim16127

Senior Member
Jul 18, 2015
65
3
Is it possible to enable exfat filesystem support? Whether natively or via root? Mainly I want Kodi or MrMC to read a 5TB external drive formatted to exfat and load local media? Any input is appreciated.

I specifically purchased this device to accomplish having a fully offline portable media library. If exfat cannot be accomplished. NTFS is my only other option (not prefered). I know the stock firmware would mount NTFS but I didn't test any further since I knew I wanted to ditch the stock rom.

Also, is there a method to remap the bottom 4 buttons on the remote?
 
Last edited:

ChriMo

Senior Member
Oct 13, 2014
473
124
I know/use Lineage OS 18.1 TV (A11) and it misses a function from smartphone Android ROMs
App Info > Permissions > Mobile data & Wi-Fi > Multiple Options to Allow/Reject
App Info > Permissions > Network > Allow/Reject
(or similar path/words)

It would interest me if this Lineage OS 19.1 TV (A12) has that feature to forbid WLAN/LAN(/MobileData) access for an App?
BTW: I saw A13 TV is released for ADT-3 devs, so maybe that iteration will have that option? Did not find it in the Release Notes.
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    So anyone have this working on a radxa zero ?
    1
    I just bought a dynalink (wade) device and trying to flash the LOS unofficial 20 on it. I followed the instructions as I have done also on 2 dopinder (ONN) devices. I can get into the LineageOS recovery fine but after following I cannot navigate using the button. I can only press and hold the button down which highlights "Reboot system now" by turning the selection green but nothing happens. Suprisingly I can use the remote control to navigate up and down on the LOS recovery, but when I hold down the circle (o) button, it does the same - just highlights the command green and thats it. So I cannot do `adb sideload` because in recovery I cannot select "Apply Update". I can only highlight it. I then tried to do the same with LOS19 recovery, but its doing the same thing. Am I missing sometime? The button appears to be working fine as it allows me to get into fastboot mode and reboot fine.
    use the power button to select stuff in recovery
  • 27
    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
    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.
    6
    wade and deadpool are official now!