yashsingh1/xdaforums huggingface dataset:
[Google TV General] JovialQuestion:
Okay. I may be confused. However there is 3 fastboot modes I'm so confused

Mode A. Plugging in while holding the Reset button 25seconds

-fastboot devices <

809995---------00000000 fastboot

_

I took out some numbers

Then if I

-Fastboot reboot-bootloader

-Fastboot devices

Fastboot Devices <

GUSA2323039460 fastboot

Of course reboot-fastboot gives me fastbootd

----

My issue is, I attempted to sideload the OTA listed here and the cord unplugged at step 2/2 and resulted in a bootloop. I can get into recovery. However I cannot start ADB Sideload without an adb connection.

I attempted to boot the TWRP ing for the ADB connection from the second listed fastboot mode. The boot failed after it attempted the boot. And the bootloop resumes.

Does anyone have an idea what I can do to enter Sideload on the stock recovery from any of these modes as sideload option is missing in recovery.

***UPDATE***

I got the TWRP to load adb and reboot sideload worked.

The issue was the USB slot on my PC. Changed slots and worked
[Google TV General] mooneydude:
well that worked. thank you!!
[Google TV General] tnomtlaw:
Worked for me too
[Google TV General] riadjb1005073:
Latest Walmart ONN Google TV Box already Android 12 is installed.

Is it possible to install LineageOS 20.0 over stock Android 12 ???

But, guideline is described in: https://wiki.oddsolutions.us/devices/dopinder/install

Here, mentioned to downgrade firmware into Android 10 before installaing.

Now the question is: how can I downgrade it to Android 10 ??? Any firmware link ???

If I try to install LineageOS 20.0 over stock Android 12, will brick the the device ???

Finally, I want to install LineageOS 20.0 in my latest Walmart ONN Google TV Box.

I need a proper solution for this.

Please clear me.
[Google TV General] JovialQuestion:
If the device was released with 12. You cannot downgrade.

I haven't found one to allow it yet
[Google TV General] BTK19:
That is for the first onn box not the 2023 Walmart ONN Google TV box it won't work on the 2023 Walmart ONN Google TV box
[Google TV General] riadjb1005073:
Have any root solution to debloat and integration 3rd party apps..???
[Google TV General] BTK19:
Use ADB to install apps and to debloat. As for root if you look up a few post you will find a root solution
[Google TV General] JovialQuestion:
The root solution listed here with the vendor_boot.img is a working root.

Scroll up

""Sorry I replied to the wrong post""
[Google TV General] riadjb1005073:
Ok brother, I already have seen about vendor_boot.img. But, I need to confirm that if this vendor_boot.img work on 2023 latest Android 12 installed Device??
[Google TV General] riadjb1005073:
adb debloat is not real debloating. It just disables from user 0. To remove apps from system with .xml files, root is must.
[Google TV General] riadjb1005073:
My device released with Android 12
[Google TV General] JovialQuestion:
Then there is no way known by me to downgrade as the file system/bootloader is incompatible with android 10
[Google TV General] JovialQuestion:
Yes. That's what this forum is for the 2023 device. I have used this for it. 100% works

Link to an OTA https://android.googleapis.com/packages/ota-api/package/7f458c58073555f202dda7c4f0cd90b149ef98e1.zip
[Google TV General] BTK19:
Then your out of luck no other way to debloat even with root. The developer of the lineage rom you linked said at some point there may be lineage for this onn box
[Google TV General] JovialQuestion:
It also disables the application from Initializing or executing any code while user 0. (The android system) is loaded. It essentially just leaves the application dormant in the device. However if your wanting to follow a root method of your own choosing. Root with the instructions and do so. But the adb shell pm uninstall -k --user 0 com.package.name.you.want will increase speed and force the application to be dormant until a factory reset or when its installed again. "(for anyone that wants non root)"
[Google TV General] SETSAE:
So how would I go about creating a nand dump ? SPTool ? shell dd ? MTK ? ... could anyone give me a suggestion pointing me in the right direction ?
[Google TV General] riadjb1005073:
Can you make a guideline for root...??

Or, after extracting boot.img from https://android.googleapis.com/packages/ota-api/package/7f458c58073555f202dda7c4f0cd90b149ef98e1.zip file and patching it in another phone, then flashing patched boot.img to Walmart ONN Google TV.

Will it work...???

or will my device be bricked...???
[Google TV General] tnomtlaw:
Yes it does work on Android 12 version of 2023 onn.4k.I rooted mine Friday
[Google TV General] McNifico:
I can confirm that this worked for me! Thanks!

Just one stupid question: where can be a script or apk installed so it's not touched by factory resets or android updates?

Or I must use Functioner's vendor_boot method to block android updates and move the script/apk into system partition?
[Google TV General] McNifico:
Ok, it's been so long since I rooted my last android (Samsung S3... yeah, I'm that old haha).

While fastboot boot twrp.img does get adb root access, I had no success mounting any memory blocks that would allow me to inject a test.rc or test.sh into the system or vendor partition.

I then tried the Functioner's Magisk method (although I didn't really want to modify the device "that much"), and it's not possible to rw remount partitions containing the / (containing system) or /vendor partitions.

Could anyone enlighten me on this? I already have the script written and it works correctly (even without root). But somehow I want to incorporate it into /system/etc/init, /system/bin, /vendor/bin and /vendor/etc/init. So the script runs on boot, I think about use both system and vendor in a intent to make the script resistant to updates.

It occurs to me that it could be modifying the vendor_boot.img and saving it to Onn again, but I need some more clues.

I tried magiskboot unpack both the already patched Functioner's .img, and one extracted directly from the device.

After extracting the files with cpio, the ramdisk does not have many files/folders, there is no system, vendor, init, etc.

I think this ramdisk actually points to blocks of memory.

Any clues, help, or guidance that you can give me to move forward?
[Google TV General] Functioner:
Not sure that I understand what you want to do. And, if whatever it is that you want to do is just for your test setup (just for your use), or how you want to distribute the script for others to use also.

Magisk allows use of boot scripts. Maybe that could work? If for some reason you instead decide to modify a ro partition as rw, you'll need to patch vbmeta to disable verity. Modifying the boot image probably isn't the best way to go.
[Google TV General] McNifico:
Thanks for the light in the path, Functioner!

I'll check that option.

The script is for my use, I don't consider distribution. However, I try first to make it run with minimal changes to the system.

Sound contradictory since I was talking about patch system images haha.

UPDATE:

Functioner's Magisk boot scripts approach worked perfectly!

However, I think that since the script is on the /data partition, a factory reset will delete all files on this partition, correct?

Which options do you think are the most technically feasible?
[Google TV General] Functioner:
That's correct, the userdata partition gets wiped as part of a factory reset. It's not named "data" (at the partition level) for android 12, although the user will see it as "/data" in userspace.

That's the primary thing that a factory reset does. Manually wiping userdata accomplishes much the same thing.
[Google TV General] bnevets27:
Since I couldn't PM you. Is it ok if I link to this patched recovery you posted in my guide? If you have a chance I would appreciate it if you could take a look at it to spot any mistakes. Thanks
[Google TV General] sharon999:
The rooting solution didnt work for me.

$ fastboot flash vendor_boot v.img

target reported max download size of 268435456 bytes

sending 'vendor_boot' (22056 KB)...

OKAY [ 1.078s]

writing 'vendor_boot'...

FAILED (remote: cannot find partition)

finished. total time: 1.109s

Any ideas what i m missing.

That is confirmed to work with android 12 version??
[Google TV General] JovialQuestion:
Dont flash images not approved for this device. It will brick it. Yes
[Google TV General] JovialQuestion:
You need root
[Google TV General] JovialQuestion:
What fastboot are you in. Fastboot or fastbootD. Run

fastboot getvar all

See if it shows the Vendor_boot partition I believe I flashed this in Fastboot

The one with the ONN blue screen visible on the TV.

If your in Fastbootd enter

fastboot reboot-bootloader

Then

fastboot flash vendor_boot /path/to/patched_vendor_boot.img

If your at the ONN logo

Fastboot reboot-fastboot

Or from recovery select enter fastboot.

Then

fastboot flash vendor_boot_b or vendor_boot_a /path/to/patched_vendor_boot.img

make sure you download the Patched img in this form as that's what I used

if you download the TWRP listed here too as well as the OTA.zip

You can recover a soft brick by

unplugging the power and locating the button by the HDMI cable port.

press and hold this button and plug in power

KEep pressing until you see the ONN logo and the TV and the light on the box remains white. Then send

fastboot reboot-bootloader

or if in recovery as sometimes recovery boots press the button once to scroll to highlight enter fastboot and hold to select

then fastboot reboot-bootloader

you can then

fastboot boot /path/to/TWRP.img

NOTE THE DISPLAY WILL NOT SHOW HDMI SIGNAL but adb devices will show

Then type adb reboot sideload

-

this is also the command line you can dd your partitions for a backup. However I was unable to mount SDCARD so I couldn't until I achieved root by flashing the vendor_boot_a partition or Vendor_boot_b depending on what boot slot is active

patching the boot.img won't work on this as root is in the vendor_boot partition

-

once sideload is displayed on the screen simply send the ota listed on this form...

all files are posted in this form by other users.

Patched Vendor_boot

https://xdaforums.com/attachments/vendor_boot-magisk_patched-26100-zip.5958685/

TWRP

TWRP временное

TeamWin recovery (TWRP) - модифицированный неофициальный recovery, который выпускается для большинства устройств, работающих под управлением Android.Обладает гораздо более широкими возможностями, чем родной recovery. Создание и восстановление резервной копии прошивки. Для Android 9 1.

slimboxtv.ru

Stock OTA

https://android.googleapis.com/packages/ota-api/package/7f458c58073555f202dda7c4f0cd90b149ef98e1.zip
[Google TV General] vyhung712:
Was anyone able to completely uninstall Youtube app after root? After I installed vendor_boot from @Functioner, I was able to uninstall Youtube using adb command. It no longer show up in 'adb pm list packages'. However, when I go to show all systems app, Youtube still shows up (no storage used, maybe just a placeholder for shortcuts). This prevents me from installing ATV Bridge for Smarttube. Any suggestions? Thanks.
[Google TV General] JovialQuestion:
Have you tried a root file manager to delete the YouTube.apk file in the system. The device will keep the YouTube.apk in the system so when you factory reset it will be reinstalled.

Sometimes this can cause bootloops so be prepared to restore the device if this fails.

After you delete the YouTube folder /product/app/YouTubeTV just reboot the device and upon reboot it will be permanently gone.

You can install system apps this way too

Sometimes you need to delete a file or application from the system before you can modify the system from a root file manager.

This is due to the size of the partition not having available space to mount R/W. Delete something like the calculator or copy a file over with the same name like the calculator Calculator.apk is the app in the system folder. Make a blank txt file named Calculator.txt and change the file extension to .apk. It will overwrite the .apk and free up space to hopefully be able to delete the YouTube folder entirely from system.

I haven't tried it on this device to know if it will trigger a bootloop.

I use X-plore file manager. If you use this app. Go to configuration settings in the app and make sure mode is SuperUser Read write
[Google TV General] vyhung712:
Thanks for the quick reply @JovialQuestion

I wasn't able to delete anything in the /product folder. It is read only, even with SuperUser + mount writable in X-plore (also tried Solid Explorer and File Manager+) and SuperUser rights from Magisk. I've also tried to delete/change permission in adb shell su but also failed.

The permission for '/product' is shown as: drwxr-xr-x 2 root root

If you can think of anything else to try, please let me know. Thanks.
[Google TV General] JovialQuestion:
If you boot the TWRP img. You will have a Recovery shell.

In either root or twrp try

adb shell rm /product/app/YouTube/YouTube.apk

Then reboot

Or make a blank file name in xplore and name it the same as the .apk file that's in product for YouTube

So if it's name is YoutubeGo.apk

Name a blank file

YouTubeGo.apk

Then use the x plode file manager to copy it to the .apk location.

It should ask you to overwrite the file reducing the file size of the apk to 0

You can also click and hold in xplore to set permissions on a specific file.
[Google TV General] vyhung712:
I'm unable to make changes to any file or folder using X-plore (except for /sdcard), with Superuser + mount writable. It does show in Magisk that it was granted SU access. I also can't make changes using adb shell (also granted SU, mount rw).

When I boot into twrp.img (using v11 posted in previous page), I did have root access. However, I can only view the top level folders, everything below are empty. I tried to add some folders and empty files but after restart, they didn't show up.

It's possible that I may have missed some steps that would allow me to modify system/read-only files. Below are the basic steps that I took to root the 2023 Onn. Please let me know if I missed something. Thanks.

1. Boot into bootloader

2. fastboot flashing unlock

3. fastboot reboot

4. Run through the Onn inital setup, enable USB debugging again

5. Install Magisk 26.1

6. Boot into bootloader

7. fastboot flash vendor_boot vendor_boot-magisk_patched-26100.img
[Google TV General] JovialQuestion:
The twrp UI is not displaying so try to enter when you first connect to adb

adb shell twrp remountrw

Then try to access the system files. I assume the slider toggle asking if you want to allow modification is not toggled. The ADB shell twrp remountrw should work. I will get on mine and see if I have any luck. Are you simply wanting YouYube uninstalled?

As I would assume YouTube Music needs to be removed as well as those two apps work in combination through the YouTube App.

Let me know and I will try it on mine

---

The steps you listed are correct..

Granted that doesn't mean the root is flawless. Sometimes it's a Flake lol
[Google TV General] JovialQuestion:
I also am unable to make changes. I am going to pull the super.img from mine and unpack the system vendor and product from it. Maybe I can edit the system or product img and get it YouTube removed.

I will let you know if I make any progress. I know with a lot of my devices lately I've had to use Magisk 24.0 in order to make changes anything after 24.3 doesn't seem to allow the changes. So if you know how to patch the vendor_boot. You can try using a different version. Just don't flash it in regular boot. Sorry.. I'll have to tinker with it..
[Google TV General] riadjb1005073:
As bootloader unlocking is possible for this device, I think we need to work on making a proper TWRP recovery. It will solve all problems and fulfil all modification demaned. Like: debloating, integrating with system SmartTubeNext, and other mod apk, implementing buildprop tweaks etc. Proper TWRP means that it can show all partition in TWRP mode and can able to mount/unmount related partition like: system, vendor, super partition etc.
[Google TV General] JovialQuestion:
It wouldn't fix everything. You can accomplish a lot with the TWRP here ever if it's just commands.

Also. You can get the magic-flash Magisk module and as long as it's not a rom you can use it to flash zips as with a terminal emulator command. Haven't tried it for this device yet. If that works you can at least flash .zips
[Google TV General] SETSAE:
I have root , and I've successfully done quiet a few heavy modifications ...

so I'd like to make a dump ?
[Google TV General] fixsony:
Since ONN 2Gen uses adnl (amlogic DNL protocol), drivers are needed for this and I installed them, but it's not so easy. Maybe someone can suggest an easier way. Thank you
[Google TV General] benraiso:
Excuse me, Is there anyway to change the launcher to ATV launcher instead GGTV launcher?
[Google TV General] BTK19:
Thread '[Guides] 2023 Walmart ONN Google TV' https://xdaforums.com/t/guides-2023-walmart-onn-google-tv.4610749/ look there it has instructions how to do that
[Google TV General] SETSAE:
So just use the SystemRW / SuperRW fMakeRW / ro2rw by lebigmac ...
[Google TV General] vyhung712:
Have you successfully done it on an android tv before. I've tried it on 1st gen Onn a few days ago. After flashing super.img, I lost the home screen, all google apps, local file apks can't be installed, no developer options. I was able to delete system files but the device was basically non functional. I flashed the original super.img and it's back to normal now.
[Google TV General] julio99:
Hello, my nephew brought me from the USA 2 ONN 4k android tv box 2023 with google tv. On the first day after updating the software and installing some normal apps, it got bricked.I can't perform a factory reset. Attached image with error. I've seen stock firmware in the forum but in paylod.bin format. I could extract several img files.How can i upgrade using amlogic tool if i do na not have a firmware image but several? Using ADB ? i am anewbie on this subjects but not in computers/imformaticas. Thanks
[Google TV General] julio99:
Hi where can I get the right drivers cause adb not find the device thanks
[Google TV General] Chicharito Nguyễn:
thanks
[Google TV General] julio99:
SOLVED.

Thanks for helping.

See : https://xdaforums.com/t/onn-4k-google-tv-2023-bricked.4610319/
[Google TV General] riadjb1005073:
How to take screenshot on this device...???
[Google TV General] themaxpower:
I want to revert channels on home screen like on good old ATV. Installed ATV Home Launcher (com.google.android.tvlauncher - 6.2.9-553468205-f) & Android TV Core Services , disabled the stock one (adb shell pm

disable-user --user 0 com.google.android.apps.tv.launcherx and adb shell pm disable-user --user 0 com.google.android.tungsten.setupwraith), but after rebooting or pressing home button it shows only

black screen though "adb shell cmd shortcut get-default-launcher" outputs Launcher:ComponentInfo{com.google.android.tvlauncher/com.google.android.tvlauncher.MainActivity} & adb shell cmd package set-home-activity "com.google.android.tvlauncher" ends up with "success". If I install Launcher Manager (LM (ATV) - 1.0.4.apk) it does not allow to select "com.google.android.tvlauncher" as a launcher app, it just not display it in the options list.

Is there any hack to make com.google.android.tvlauncher work on ATV12?
[Google TV General] riadjb1005073:
(Tested on my device) Onn. 4K Streaming Box 2023 fastboot flash stock firmware link:​

AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com
[Google TV General] Chicharito Nguyễn:
i need a rom onn stick 2k 2021

please help me
[Google TV General] Functioner:
Your "Flash Stock ROM.cmd" script doesn't appear to make any attempt to ascertain whether the device has a bootloader fastboot connection or a fastbootd connection.

The dynamic partitions (those stored within the super partition) must be flashed using fastbootd (if a fastboot connection is used).
[Google TV General] riadjb1005073:
Ensure your device in in fastboot mode installing fastboot driver.

Inside the ROM folder open CMD.

Check your device is in fastboot mode via "fastboot devices" command.

If yes, then double click on "Flash Stock ROM.cmd".

Directly will be flashed 100%.

Note: No checking command has been applied in "Flash Stock ROM.cmd".

Only for direct clean flash.

So, fastboot mode ensured by yourself.

Further more, there is no supporting files for Linux.

Ony for Windows.

I thik you got it.

No, need to be confused, it will work 100%.
[Google TV General] Functioner:
There are three types of "fastboot" connections for the onn 4k 2nd gen.

1. bootloader fastboot

2. fastbootd

3. adnl
[Google TV General] riadjb1005073:
Ensure your device in in fastboot mode installing fastboot driver.

Inside the ROM folder open CMD.

Check your device is in fastboot mode via "fastboot devices" command.

If yes, then double click on "Flash Stock ROM.cmd".

Directly will be flashed 100%.

Note: No checking command has been applied in "Flash Stock ROM.cmd".

Only for direct clean flash.

So, fastboot mode ensured by yourself.

Further more, there is no supporting files for Linux.

Ony for Windows.

I thik you got it.

No, need to be confused, it will work 100
[Google TV General] riadjb1005073:
fastbootd
[Google TV General] riadjb1005073:
I think you should try then "fastbootd"

But, my device is still running.

Plz try in "fastbootd" mode

go to "fastbootd" mode and click on "Flash Stock ROM.cmd"
[Google TV General] riadjb1005073:
Please physically try according to my guideline, I think it will work. Probably you are not in a track.

I will make a complete guideline within a few days.
[Google TV General] ali387:
Using this thread and guide thread (by bnevets27), I have unlocked the bootloader and installed vendor_boot-magisk_patched-26100.img (by Functioner) on a 2023 Onn 4K device. I have installed and activated launch manager and wolf launcher. All works very well. Thanks.

I want to to run this new box as a JellyFin client using ethernet (wired network) connection but running into a problem:

The issue happens with both stock image and modified device. Maybe someone can guide me in the right direction.

When I remove Google Account and the system switches to a basic mode then ethernet connection stops working. WIFI works fine but I need to use Ethernet adapter with my Onn 4K box. Ethernet works fine during the entire setup and customization but when I remove my google account, it stops working.

Is there an adb shell command that can be run to enable ethernet while using the device without a google account.
[Google TV General] the.real.p3y0t3:
So I picked up another one of these today, and str8 away it grabbed a OTA of 80.3mb... So I jam through setup, and wtf? OEM Unlocking is DISABLED! It says beneath it to connect to the internet (it is..) or contact my service provider. Hummmmm now what.
[Google TV General] ali387:
please see this reply:

https://xdaforums.com/t/walmart-onn-google-tv.4586587/post-88554043

I got mine few days ago too and it got that 80MB update as well. But using fastboot method bootloader was unlocked.
[Google TV General] the.real.p3y0t3:
Rgr that. I wanted to get console up and working on it first anyways... Which ive done, and am getting the uboot stuff but then it just hangs. *scratches head*