yashsingh1/xdaforums huggingface dataset:
[Google TV General] mediavieja:
Hi guys, its been a while since the last time i got into the forums but i need help with my Onn Tv Box.

I was following the guide from https://wiki.oddsolutions.us/devices/dopinder/install to flash lineos on my tv box, i unlocked the bootloader and then downloaded the dtb.img file only from the link, but couldnt find the dtbo.img file, it said the file didnt exists, so i flashed the lineage-19.1-20221024-dtb-dopinder.img and after that my box was no longer being recognized by windows, nor adb or fastboot and everytime i reboot the box is just sitting there at the onn. screen, is there a way to recover my box?

Edit1: i followed this guide https://xdaforums.com/t/official-un...-g12-sm1-family-devices.4313743/post-87830141 to flash all 3 images as it says, but when i do the update.exe bulkcmd fastboot i get the following error:

and heres the previous screen with all 3 imgs flashed properly

so i dont know what else to do :-(

Edit2: Fix it, i followed @itchidroid advice and ignore the error after runing the update bulkcmd fastboot command, so i tried fastboot devices and indeed it was working properly, after that i just finished the update process and everything is running now without issues :)
[Google TV General] mediavieja:
A question tho, how do i get back to the original firmware and all in case something is not working with LineageOS? and is there a way to run Netflix and Prime Video on this? i installed the apps from the play store but when i try to play any content, it hits me with an error :-(

Edith1: as sson as Google app gets updated, restart the deice and should go to Google TV interface
[Google TV General] activadroid:
On the first page of all this, It is stated that 'L1' not working for dopinder and a couple others.

That means that hardware supported DRM not working.

Same problem on my Onn / dopinder.

So, on npjohnsons recommendation, I bought a Dynalink (around $40 at that time), installed wade UNofficial version of LineageOS, and it works great with DRM.
[Google TV General] mediavieja:
Ya hehe, after a bit more reading found out it definetly doesnt work yet :-( had to go back to stock while they manage to make it work
[Google TV General] itchydroid:
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.
[Google TV General] BTK19:
use the power button to select stuff in recovery
[Google TV General] itchydroid:
Silly me and thank you @BTK19. I was using (o) button on the remote and also tried the button on the device itself (just as its done on the dopinder ONN device). All is well now.

Just wondering, if I didnt have a remote paired with the device, would I be SOL to activate the menu item?
[Google TV General] General_Mayhem:
Trying to install this on Dopinder on firmware 1.01.36. adb reboot bootloader just powers it off. I can use adb reboot recovery (which shows 'No Command') and use the button on the device to select bootloader but it just powers off.

I didn't see an option in dev options for OEM unlock. Safe to assume I'm on the wrong version of the firmware?
[Google TV General] karandpr:
Thread closed as per OP request @npjohnson

- XDA Staff
[Google TV General] hp420:
it's easier and works a million times better than voice typing an email address one letter at a time. it works perfectly. perhaps you should give it a shot and you'll see why i think it's such a no brainer to use this if you have no osk or don't want/have a physical one. i used it for the keyboard for my setup and it made the process an absolute breeze!
[Google TV General] tokoam:
Since we are unlocked now can we use the stock rom rooted with magisk until lineage is bug free ? There is alot of bugs with oon4k device . Anyone have a good write up to return back to stock ? *Nevermind I figured it outBasically flashed stock files in ADB but kept the custom recovery . Then installed Magisk by the way why after installing magisk you cannot find the apk anywhere ? I know its installed cause I see it once I open the after after install but it disappears cant find it in the app folder .
[Google TV General] hp420:
known android tv issue. this app will help.

TV Apps Drawer Free - Apps on Google Play

Install any app and then launch it using this sideload launcher

play.google.com
[Google TV General] ali387:
Thanks for the guide.

Updating your guide for OnnUHD device

Spoiler content hidden.
[Google TV General] ali387:
Once you have installed Magisk. To open it on your device, you may have to do this to locate it:

Settings --> Apps --> See All Apps --> Show system Apps

Thats how I located it, after installing it.
[Google TV General] Hig13:
deleted

The comment above me explained it perfectly.
[Google TV General] Hig13:
Yes, I had to do it without an OTG hub. I tried soldering together a few cables to create a powered OTG hub, but it didn't work very well and I'm not any good at soldering tiny wires together with very minimal length of wire.

When you download the stock rom .zip there is a file inside called "flash-all.sh" depending on your OS, you may or may not be able to use this. I'm personally on Windows, so I created a batch file with the exact same commands as the .sh file. I added pauses because the first time around it skipped flashing boot because it didn't wait for it to reboot before it sent that command. This caused my device to go into a boot-loop and I panicked, luckily with the dopinder, I was able to get back into an area where I could connect to it through adb and reboot it into the bootloader.

Spoiler content hidden.

Just open up word on windows, copy and paste this code inside, and save as "flash-all.bat". It does not really matter what you save it as, it's totally up to you what you want to name it, just make sure .bat is on the end.

Spoiler content hidden.

I really like the spoiler formatting because it allows me to write a lot without taking up so much space in the comments.

Spoiler content hidden.

I created the batch file with pauses between every command, but I think the only pause you technically need is the one after the first reboot.

Just as an FYI if you're interested, I just downloaded one of the stock rom files for my Pixel 3XL from google, and used their "flash-all.bat" file as a reference.

This method worked perfect for me and I was back into the stock ROM in no time. TBH, you should probably not mess around with a custom rom if what I just explained and wrote out is hard to follow.

That being said, you gotta learn somehow!
[Google TV General] tokoam:
Thanks for posting I figured this out on my own after some time I kept custom recovery and I patched the boot.img for magisk on the stock rom . Does anyone know if you update the stock rom via the updater if it will relock bootloader and if i will lose root ? If so is there a way we can disable updates to the rom . I'll have to rock the stock rom until we can get more of a stable Lineage build .
[Google TV General] hp420:
I've figured out how I turned on the on screen keyboard. This won't help with initial setup, but for that the android tv remote control app works flawlessly!!

Android TV Remote Control - Apps on Google Play

Android TV Remote

play.google.com

to enable OSK:

settings>accessibility>switch access (on)

when the selection screen shows up for usb or bluetooth, click back. you don't need to do the rest of the setup for this. as long as the toggle is flipped on then the on screen keyboard will show up.
[Google TV General] hp420:
it seems like it would almost definitely relock. the bootloader.img is located in the factory update, so a flashall would replace it.
[Google TV General] dewettie:
Can someone test if the recent apps menu works on any of the images?

After that paste the adb or terminal output of this command in a post here.

dumpsys SurfaceFlinger|grep -i activities

Since Android 11, launchers have to have their own recents and it's not handled by the system anymore.

If you use a different launcher like ATV Launcher, Wolf launcher, FLauncher etc. you won't he able to use the recent apps menu anymore hy double pressing the home button.

On Android 11, Launcher3 is set as the recent apps menu but can't work if you switch the launcher or use AndroidTV 11 with a different stock launcher.

I just want to see how LineageOS handles it and if it works.
[Google TV General] npjohnson:
actively trying. OSK is only a dopinder issue, not wade/deadpool - and it's an odd one.

Yeah it's a bootloader bug, reboot, it goes away.

No you didn't (99%), probably shows up in burn mode, no?

Not sure what you could've done to brick for real.

It's a WIP.

Sure

It works here?
[Google TV General] dirtcat:
Not sure what burn mode is but the Dopinder unit was no longer responsive. It started off being stuck at the "Onn." logo but eventually it wouldn't come up anymore after connecting to power. I would plug it in and no video appeared ever. Tried plugging in while pressing the button on the side as well.

Couldn't connect via ADB on Mac or PC. When plugged in via PC, I wouldn't be notified that a device had been plugged in - not sure if this is what happens when you plug in a known working unit, though - I had been connecting via my Mac and only connected to my PC in my attempts to revive the unit.

I would plug in the device and the light next to the button would flash for a fraction of a second, 7 seconds after plugging in. That's it.

Eventually, I even tried the directions you left here via a Windows PC. Nothing.

I went and exchanged the device for another one and installed Smart Tube Next which is fine for my purposes.

I look forward to seeing what you guys do with this project. If you ever get Netflix working properly, I'd love to have a look.
[Google TV General] p0werpl:
Posted this in the sabrina unlock thread, but putting here it as well.

I made the mistake of flashing the deadpool lineage recovery image to sabrina from fastboot (after unlocking it). How do I write back sabrina's recovery? The device is not entering fastboot mode after unlock. Thank you.

~/sabrina-unlock/bin$ ./update bulkcmd fastboot

AmlUsbBulkCmd[fastboot]

AM_REQ_BULK_CMD_Handler ret=-1,blkcmd=fastboot error_msg=error sending control message: Operation not permitted

[AmlUsbRom]Err:rettemp = 0 buffer = [fastboot]

ERR: AmlUsbBulkCmd failed!
[Google TV General] p0werpl:
On sabrina, how do I interrupt u-boot when connected to uart? I have tried enter, ctrl-c, space, and esc. Nothing works.
[Google TV General] tokoam:
can we flash xposed ? also has anyone figured out how to disable

I ran into similar issues on mine i mentioned a few pages back If for instance you dont have the tv or monitor on and the devices was turned on before that . You will either not get video or green screen . This is why I went back to stock on dopinder it isn't stable enough for day to day use nor did I expect it to .
[Google TV General] npjohnson:
All work. Means your TX isn't connected correctly.
[Google TV General] npjohnson:
This is actually how it would look. Default use sudo with update tho
[Google TV General] hp420:
I'm not able to get my usb ir remote working, but it works perfectly with stock, just plug and play. Anyone have any ideas why?
[Google TV General] p0werpl:
Thank you. What are the uart parameters: 115200, 8n1?
[Moto G 5G Questions & Answers] BadRx:
I just did what I though was the impossible... I was on TWRP recovery... I go to reboot to system... and i notice an option to switch into slot B.. so I press it... and the phone now cannot turn on AT ALL. PLEASE HELP!
[Moto G 5G Questions & Answers] sd_shadow:
It may be in EDL Mode and you need to flash a blankflash.

Is your device product "kiev" / XT2113-x ?

https://mirrors.lolinet.com/firmware/moto/kiev/blankflash/

Is my device in EDL Mode?

How to boot into EDL Mode
[Moto G 5G Questions & Answers] gregpilot:
If you can boot into twrp...hold vol up and power, when you get a screen release power and continue holding vol up until twrp boots, you can get switch back to slot A. If this key combo does not work you should be able to look up how to get your phone to reboot to recovery with hardware keys.

It might be wise to check if twrp can mount internal storage. By trying to boot from another slot you may have lost your internal storage due to being encrypted. Then the phone will never boot from the new slot (b in your case). So you have to format /data and switch to slot A and it should reboot to a new image (like a factory reset) and you can start over.

In my case I had a decrypted /storage, Lineage OS, and I made the same mistake you did.

Good luck
[Moto G 5G Questions & Answers] BadRx:
God I hope so. Thank you for this. I will try it out and report back.
[Moto G 5G Questions & Answers] BadRx:
Nah, the phone does not want to boot in any way. The battery has already drained out as I thought 'why leave it charging?'. So I plugged it back in after ready these replies and no... nothing. It doesn't turn on. Thanks for you help I appreciate your efforts! I will try this "blankflash" and see if that work. Will report what I find.
[Moto G 5G Questions & Answers] BadRx:
Oh and yes my device is "kiev" / XT2113-2.
[Moto G 5G Questions & Answers] Jasonwoodruff2018:
I have a similar problem with my xt2113-2. Unlocked bootloader, magisk rooted. Changed to slot b. Blank flash from above mentioned source does nothing but give errors. Seems like programmer.elf is not the correct file for the phones firmware. The only file I have been able to successfully send to the phone to partition 13 is the xbl file from stock firmware(testing the water).
[Moto G 5G Questions & Answers] BadRx:
Yeah same issues here. My device was under warranty so I just returned it and paid a small $25 deductible. I went straight to Motorola and spoke with someone there. You'll want to talk to tech support level 2. Don't worry about tripping the knox voiding warranty... if you pay $25.00 you get the new phone just make sure they get your old one. Which by the way they pay for shipping and handlling. I had rooted my phone and figured warranty was out of the question but when the lady on the phone told me that if I paid $25 now.... I wouldn't have to worry about whether or not it was customer negligence or not. They put on hold $250~ dollars until they receive the bricked phone. Once they receive it you get back your $250~ dollars minus $25.00. Good deal! So I did it. I currently have a new Motorola one 5G ace and I'm ready to custom build this thing. How ever if I ever come across the elf file for EDL mode flashing, I'll post an update here or in a related thread.
[Moto G 5G Questions & Answers] bencinilife:
I ha e similar issues. I'm trying to port twrp on my a/b trebel device. " aka scepter 8 tablet. I have it rooted with magiskSU. But want to take it up a notch. My issue is flashall command doesn't work. So I've booted into slot b flashed boot patched.img and flashed vbmeta_b ect. And then tried rebooting into bootloader because that's where fastboot is and not fastbootd. And after commands and rebbot to bootloader so I can boot twrp temporarily to then flash img. It reboots and screen comes on but no os. Can't even reboot to recovery nothing. I have to then refresh with allwinners phoenix usb and reboot and things are all normal. The partitions are there and available what not. But why won't it bootloader after reboot ?
[Realme GT] TikiThePug:
Since the common hidden menu code does not work on our device ( *#*#4636#*#* ), there is another way we must use.

1. Download this app from the Play Store: Force LTE Only (4G/5G)

2. Launch app and choose "METHOD3: (Android 11)"

3. Under Set Preferred Network Type dropdown, select the network type you want.

-- to get 4G/LTE and below, set to "LTE/TDSCDMA/CDMA/EvDo/GSM/WCDMA"

-- to get 5G, set to "NR/LTE/TDSCDMA/CDMA/EvDo/GSM/WCDMA"

This was the only way to enable 5G for me since I am in Canada.

Only issue with this is that it may not stick once you reboot. You would have to follow these steps again.
[Realme GT] lowridincrew,:
Thanks man. This helped me with my Global variant. It got 5g to kick on when I couldn't see it in the menus.
[Realme GT] lowridincrew,:
Update - Found the shortcut keys to get directly to it

*#*#4636#*#*
[Realme GT] TikiThePug:
I don't have the phone anymore, but when I did, I had tried that earlier; it never worked for me.
[Realme GT] FoneWatcher:
It didn't work on mine. When I punch in the final *, it just goes to my contact list.

Although the app ForceLTE mentioned earlier by TikiThePug did work perfectly.

I finally get 5G all day long on a T-Mo SIM.

It's such a fast, beautiful phone and now it has all its functionality.

View attachment 5403571
[Realme GT] mojorisin7178:
Hey I just started using Verizon coming from Fi. I have an unlocked.pixel 6 from the Google store what should my settings be? I know I need NR but what else or what would work best. I'm on new York it that matters at all.

And I can get to the menu via *#*#4636#*#* I just need to know what would work best for me .
[Realme GT] rinnycoop121:
I keep trying to set to NR/LTE/TDSCDMA/GSM/WCDMA ( Only way to get full speed on 5G

for some reason my setting keep resetting to NL/LTE/GSM/WCDMA (Very slow as if running 3G but says 5G)

How do I get my setting to stick Oh I'm on T-Mobile Network
[Realme GT] vonDubenshire:
It's always going to set to what your network tells

This menu isn't actually real control
[Android Q&A, Help & Troubleshooting] varun siewsankar:
can anyone put a link where i can download custom rom for my note 8
[Android Q&A, Help & Troubleshooting] toolhas4degrees:
https://xdaforums.com/f/samsung-galaxy-note-8-roms-kernels-recoveries.6801/
[OnePlus Nord N200 5G] daboross:
I saw the other thread on unlocking the T-Mobile variant, so I thought I'd document my experience unlocking the version bought directly from the OnePlus store.

Warnings​

This guide applies exclusively to OnePlus Nord N200 5G phones bought from the USA OnePlus online store.

It may work for other carrier-unlocked Nord N200 5G phones. However, I haven't tested them.

As always, this voids your warranty.

In addition, this adds an unremovable warning screen from the bootup process. After unlocking your device, the device will show a warning screen on every bootup for 5 seconds. It will read as follows:

As a last note, if successful, this will wipe your device. Backup all data you care about.

Prerequisites​

1. A OnePlus Nord N200 5G bought from the USA OnePlus store, running OxygenOS 11.

2. A computer with the `fastboot` android platform tool set up and working.

You can download a package containing fastboot from https://developer.android.com/studio/releases/platform-tools.

3. A usb-C cable to plug the phone into the computer.

Steps​

1. Enable developer settings.

Go to Settings -> About phone. Tap "Build number" 5 times until it brings up a prompt to enter your device password. Enter it.

On success, it will bring up a note saying "You are now a developer!"

2. Enable OEM Unlocking

Go to Settings -> System -> Developer Options. Tap "OEM Unlocking" and follow prompts.

3. Reboot into fastboot

Long-press the power button, then select "Restart". As the phone is restarting, hold down the volume down and volume up buttons.

The phone should now be showing a text interface. You can select different options with the volume buttons, and use the power button to select.

3. Unlock using fastboot

Connect the phone to the computer.

In a command prompt on the computer, use the following fastboot command:

fastboot devices

Verify that your device is connected, and the serial code matches the "SERIAL NUMBER" shown on the screen of the phone. For instance, my device shows as:

$ fastboot devices
SERIAL_NUMBER_REDACTED fastboot

And on my phone screen, it shows "SERIAL NUMBER - SERIAL_NUMBER_REDACTED".

Once you've verified this, use the following command to unlock the device:

Reminder: THIS COMMAND WIPES YOUR DATA. All data on the phone will be erased by this.

fastboot oem unlock

If successful, the computer will output this:

$ fastboot oem unlock
OKAY [ 0.042s]
Finished. Total time: 0.042s

On the phone, you will see a prompt for unlocking the device. Read it, and follow the instructions. Use the volume up/down buttons as up/down arrow keys, and the power button as "OK" or "Enter".

After you've confirmed you want to unlock the device, your phone will reboot several times, and erase all data. Once it's done, you'll be rebooted into the operating system.

4. Confirm the unlock worked

To confirm the unlock worked, reboot into fastboot mode again.

On the screen, the bottom row should now read "DEVICE STATE - unlocked".

Congrats! You've unlocked your device. Once someone builds a custom recovery or ROM, you'll be able to use fastboot to flash it to your device.
[OnePlus Nord N200 5G] alarmdude9:
So does this mean you can now pull the files someone would need to start on a custom recovery and/or a custom rom or at least majisk?
[OnePlus Nord N200 5G] daboross:
Unfortunately, this doesn't let you pull any files from the device. All it does is allow you to flash a custom recovery, ROM, or boot.img once someone develops one.

With that said, I have started researching steps for porting TWRP to the device.

Edit: since this is the only place I've mentioned it, might as well give an update. I'm giving up on porting TWRP for now - I think we really will need binary blobs, or a lot more hacking on things and finding a similar device. And given that our device is the first wave of devices with the sm4350 platform.... I think our best bet is OnePlus releasing binary blobs.

I've taken notes on everything I've been trying at https://github.com/daboross/android_device_oneplus_holi_notes, if anyone's interested.
[OnePlus Nord N200 5G] alarmdude9:
Man that stinks. I was hoping we could have at least gotten the files needed for majisk.
[OnePlus Nord N200 5G] edale1:
2 alternate ways to get into fastboot mode:

ADB:

The command

'adb reboot bootloader'

will restart the device in fastboot mode.

Advanced Reboot:

In the developer options, turn on 'Advanced Reboot'.

Hold the power button for a few seconds to bring up the power off/restart dialog.

At the top right corner will be 3 dots, tap them, select 'bootloader' from the resulting dialog.

The phone will reboot into fastboot mode.
[OnePlus Nord N200 5G] daboross:
I'm thinking it'll be a chain reaction as soon as we have *anything*.

Like, if we get magisk, we'll quickly be able to then pull the stock ROM and recovery and use those to build TWRP.

Or if someone can build TWRP, we can use that to pull boot.img and get magisk working, and pull the stock ROM and get a custom ROM built.

Or if someone can port a custom rom (though I imagine this is harder than the above two - probably impossible without binary blobs?) - we can include root in it, then use that to grab boot.img and the recovery image.

As soon as we get *any* control which gives us root access or otherwise unimpeded access, we should be able to do everything.
[OnePlus Nord N200 5G] areallydumbperson:
i dont specialize in oneplus phones but maybe you could somehow get the stock rom and extract the boot.img file to then patch with magisk or the recovery.img whatever it is
[OnePlus Nord N200 5G] daboross:
The hard part is "somehow get the stock rom".

As soon as we can get that, everything else will indeed be possible.