yashsingh1/xdaforums huggingface dataset:
[Walmart Onn Tablets General] DB126:
Appreciate this side note. I was moments away from pulling the trigger on a second full priced device (had first for months with no major issues) when I saw the post. Now have two in route for less than the price for one. Sweet!

As an aside, I have been modding Amazon devices for years with variable levels of satisfaction. Still use my 3rd gen HDX on a daily basis but find the latest 8th gen HD 8 less rewarding given lack of fully vetted custom ROMs. Various 7" models fall somewhere in between largely due to lack of RAM and so-so displays. In contrast, the Onn 8" is highly usable out of the box with no mods beyond those available in settings. I like 'easy' as it permits redirecting enthusiast tendencies to more productive avenues. ;)
[Walmart Onn Tablets General] Throg:
How does one flash the image to the tablet?
[Walmart Onn Tablets General] tek3195:
[MENTION=1795879]Vortell[/MENTION] I'm glad you done that cause I hate typing. I'm not qualified to write a real guide anyway, more like the ramblings of a mad man trying to retrace his steps. May want to check a couple spots where you have add instead of adb so nobody gets confused and tries to add anything. There's also a magisk_patched.img on my google drive link at post #57 in this thread if anybody needs it. Also one more option is fastboot oem reboot-recovery.

[MENTION=8978978]Rortiz2[/MENTION] thanks again. I added scatter file to the link.
[Walmart Onn Tablets General] OgremustCrush:
Can confirm that this GSI will run (in my case on 10", but I don't think that matters much.) Has some graphical issues (quick settings tiles misaligned even after tweaking dpi) and won't pass safety net even with magisk since it's pre-rooted, but it did seem smoother than the stock rom (although I didn't play with it much yet, that was on a freshly installed state.) You do have to flash vbmeta with one with AVB disabled, not sure if magisk is required to make it boot since I already had it setup first. I first was ambitious and tried to boot Google's Android 10 GSI+GMS build, but no luck there. Phh has a special magisk zip that needs flashed with his 10 builds to make them boot with Magisk (but won't boot anything else,) but without a custom recovery I didn't mess with that. Not sure if Google's 10 build would work with non-patched boot image, never tried that.
[Walmart Onn Tablets General] NFSP G35:
Excited about the potential for running different ROMs on this device.

A note of caution though, I thought I bricked mine a while back, even with the bootloader unlocked.

Just make sure you only try flashing stuff on a full battery.

It won't charge in the fastboot, and if you mess up recovery it won't boot into system or recovery.

Then, if the battery is too low, fastboot won't let you flash anything (so you can't just flash a backup recovery.img and fix it)

As soon as you plug the charger in, it will try and boot but can't and thus can't charge.

The only way I was able to fix it was a script that would basically constantly fastboot reboot-bootloader

Apparently, it will get just a tiny bit of charge between the reboots (somehow) and eventually gets enough that fastboot will let you flash again... but it takes hours.
[Walmart Onn Tablets General] diplomatic:
Well, I would actually prefer that you don't make mirrors. I'd like to keep a rough count of the number of downloads. (BTW, I think the XDA view count actually shows double the number of downloads. :rolleyes: ) It will also be updated and people should get the latest version. Also, the thread you linked to is the one for Fire HD devices. This is the general MTK temp root one, which has all the files.
[Walmart Onn Tablets General] Vortell:
Ok I will remove and set I meant to link to your thread I linked right back to this one...
[Walmart Onn Tablets General] OgremustCrush:
Yeah, with the stock vbmeta, if you flash anything other than the signed stock image to system you can't get into recovery either, even if it is untouched. I'm not surprised that the same appears to apply for unsigned images to recovery.
[Walmart Onn Tablets General] OgremustCrush:
Well after testing some more ont he GSI, I can see more graphical issues (no display of windows in recent apps, weird blanking during screen rotate) that makes me think that perhaps some graphics acceleration isn't working. In addition there is no audio. I tried going back to stock boot and flashing both Google android 10 build and phh android 10 build, but both hang at boot screen. So for now I'm back on stock with Magisk. I'm sure the issues can be worked out, but stock isn't too bloated or too far out of date yet, so I don't know if I can be bothered to mess with it more for now.
[Walmart Onn Tablets General] DB126:
Not having to mess with flaky custom ROMs is one of the significant selling points for this device. As noted, stock is fairly lean with a reasonably recent patch level. Toss in root and you can easily mitigate any minor annoyances.
[Walmart Onn Tablets General] OgremustCrush:
True, that is why I bought it. But since it's also the first device I've ever had with treble and an unlockable bootloader, had to at least dip my toes in and see what that felt like.
[Walmart Onn Tablets General] twfs:
Hi I am guessing you are flashing A-only 32 bit GSI or is it actually a 64 bit? Thanks
[Walmart Onn Tablets General] Vortell:
Dang it I was hoping you wanted to try to actually get the gsi images working perfect. Not that I would be helpful in anyway, just hoping since I think that would make this better then most media tablets on the market right now and I just bought 2 for $30 a piece. God if this had HDMI out it would be basically perfect for a media only tablet. Right now I'm hoping the $30 11" RCA I bought is mtk...
[Walmart Onn Tablets General] OgremustCrush:
64bit A/B (this has system-as-root so needs A/B even though it doesn't support seamless updates.) I'm not that surprised the 10 GSIs didn't boot. Phh android 9 aosp 119 did boot, but had graphical glitches and no sound.

---------- Post added at 11:05 AM ---------- Previous post was at 11:00 AM ----------

Yeah, I'm comfortable flashing stuff around, but I'm not a developer. Still, stock does work pretty well as is, I figured I'd probably take a look at running GSI's again once it gets more out of date.
[Walmart Onn Tablets General] tek3195:
I can second that. I left mine sitting in fastboot while working on recovery.img and fell asleep. Woke to dead battery with no recovery and screwed up GPT from previously and carelessly flashing recovery to secro (had different device on my mind and went to p12 instead of p11). I wouldn't know where to begin writing a script to constantly reboot bootloader. So, I was able to get mine back using a scatter file that [MENTION=8978978]Rortiz2[/MENTION] gave me and flashed stock recovery to it (unticked all except for recovery) and let it charge a while with just recovery then flashed the remaining img files I had to it. Still had data but lost root, not a big deal all things considered. I flashed it with TFM Tool but am assuming any mtk flash tool would work, ie. SP Flash Tool, Miracle Box, Secret Tool or any one from the multitude that are available

F.Y.I.: scatter.txt is on your device at /system/data/misc/MT8163_Android_scatter.txt if anyone thinks they may want to grab it before a crisis. There is also a copy of MT8163_scatter.txt and magisk_patched.img along with most others copied from device using dd here https://drive.google.com/drive/folders/1WD3bkuf3AhDLg_2NyxYj0I07sA3s25FM?usp=sharing

DON'T LET YOUR BATTERY DIE It's a lot easier to keep it charged than it is to recover it.
[Walmart Onn Tablets General] twfs:
Would the files work on a 10.1? And if I understand this correctly I can download SP flash tool and make a backup of my tablet? Totally new on how things work with a mediatek processor tia
[Walmart Onn Tablets General] tek3195:
I wouldn't think so. People have said they are the same but interchanging .img files between two tablets with different resolutions doesn't sound like a working option to me. I could be wrong but I don't think it will work. Others in this thread have both versions and could answer that better than myself. As for SPFT I can only tell you to try MTK Droid Tools for a backup as I despise SPFT from a bad first encounter and am still avoiding a second one at all cost. Stubborn that way, I don't have google services on 10 out of 11 devices either, I seem to always do things the hard way. But, there are are plenty of guides here on xda to get whatever you need. Good luck.
[Walmart Onn Tablets General] tek3195:
I was looking in Source Android and noticed this.

This may have something to do with Android 10 not booting:

In Android 10, the root file system is no longer included in ramdisk.img and is instead merged into system.img (that is, system.img is always created as if BOARD_BUILD_SYSTEM_ROOT_IMAGE was set). Devices launching with Android 10:

Use a system-as-root partition layout (automatically enforced by the build with no options to change the behavior).

Must use a ramdisk, which is required for dm-linear.

Must set BOARD_BUILD_SYSTEM_ROOT_IMAGE to false. This setting is used only to differentiate between devices that use a ramdisk and devices that don't use a ramdisk (and instead mount system.img directly).

The meaning of a system-as-root configuration differs between Android 9 and Android 10. In an Android 9 system-as-root configuration, BOARD_BUILD_SYSTEM_ROOT_IMAGE is set to true, which forces the build to merge the root file system into system.img then mount system.img as the root file system (rootfs). This configuration is mandatory for devices launching with Android 9 but is optional for devices upgrading to Android 9 and for devices running lower versions of Android. In an Android 10 system-as-root configuration, the build always merges $TARGET_SYSTEM_OUT and $TARGET_ROOT_OUT into system.img; this config is the default behavior for all devices running Android 10.

Android 10 makes further changes to support dynamic partitions, a userspace partitioning system that enables over-the-air (OTA) updates to create, resize, or destroy partitions. As part of this change, the Linux kernel can no longer mount the logical system partition on devices running Android 10, so this operation is handled by the first stage init.

The following sections describe the system-as-root requirements for system-only OTAs, provide guidance on updating devices to use system-as-root (including partition layout changes and dm-verity kernel requirements, and detail changes to ramdisk in Android 10.
[Walmart Onn Tablets General] lockback:
Has anyone had any luck setting it to boot on power when offline? I want to mount this in my vehicle. After rooting, I opened the kpoc_charger file in system/bin and replaced it with

#!/system/bin/sh

/system/bin/reboot

But I still get the charging animation and no restart. Ideas?
[Walmart Onn Tablets General] FanboyStudios:
I just got my Onn 8 in today!

Any good news of TWRP and custom ROMs coming or will this device be sort of niche?

Apparently you don't need root to get rid of the Walmart button. The command earlier in this thread worked well, even after a reboot.

All you need to do is enable developer options and usb debugging, then open adb on your pc.

Type adb shell

Press enter

Copy settings put secure sysui_nav_bar 'space[1.5WC],back;home;recent,space[1.5WC]'

Press enter

Walmart button should now be gone.
[Walmart Onn Tablets General] FanboyStudios:
The Walmart button actually launches an app called KubeDemo.

Removing the Walmart button and this app, plus the Walmart apps may make it more like stock.

Something else, under System -> About Tablet

There's an additional wireless update button. Seems to me like it's a bit of an extra app for getting updates. Whether it's for the whole Operating System or not I don't know. It might be something you want to remove if the system doesn't depend on it. Perhaps it just downloads updates for the Walmart bloat but I don't know.

My Razer Phone doesn't have an extra Wireless Update button in its About Phone section.

Disclaimer: If you remove it, I'm not liable for anything that happens. Ain't my fault if it bricks.
[Walmart Onn Tablets General] tek3195:
Wireless update app is your OTA's. I pulled one from storage before it installed and opened it up. It has META-INF,RC(rootcheck),compatability.zip and lk,dtbo,boot,preloader,tee and vbmeta.img's;logo.bin;scatter.txt,system and vendor new.dat & patch.dat and system and vendor transfer.list.

I am just now starting to mess around with treble roms on it but future looks great to me. Whether you build your own or grab a prebuilt img, the options are more than I've ever had for one device. In fact I'm sending this post on a Bootlegger ROM built on phhusson GSI or built with his build script anyway. I just counted 17 Official Android 9 Pie GSI's and about 33 Unofficial Pie GSI's.

Well still phuckin with this rom so link is not forthcoming but I put screenshots of update.zip contents in drive folder linked in post #57 on page 6 of this thread.
[Walmart Onn Tablets General] NFSP G35:
Where was it in storage? I wanted to grab a copy of each update and start building a library (plus, the images and scatter files can come in handy)
[Walmart Onn Tablets General] tek3195:
You will have to edit for your sdcard, I just copied & pasted so as not to screw it up.

/storage/28A9-0BEA/Android/data/com.adups.fota/files/adupsfota/update.zip
[Walmart Onn Tablets General] CaffeinePizza:
I have successfully dumped the stock ROM and tested it for the 10.1" model with WwR_MTK and SPFTool. I'm not sure if nvram varies between each tablet, but I do know that the ITEMS definitely differs between the 8" model and 10.1" model. The ITEMS partition is a text file that tells the device the type of screen and digitizer that is connected. I will upload my dump soon.
[Walmart Onn Tablets General] NFSP G35:
Cool. I was able to get the update.zip off the ONA19TB002 (with keyboard) 10" tablet, but unfortunately my ONA19TB003 is already up to date. Latest release on it was from May. I checked and there weren't any newer ones. Anyone have one of the 10 models without a keyboard that isn't updated yet?
[Walmart Onn Tablets General] Vortell:
Couldn't you just factory reset it and then take the files? I mean since we have adb/root you could always backup data partion. For ease you could use titanium backup or migrate app as well. Ok it would just because I'm too lazy to connect to computer again. Mine is an ONA19TB007 it's a 10" keyboard model. They are all just Joyar private label tablets im pretty sure after seeing it in cpu info app and looking then up. As a fyi, heck might even be able to get something from them. Like maybe the scource code for the os.
[Walmart Onn Tablets General] nl3142:
Is the twrp you have for the 8 inch or 10 inch tablet? Also, does using your twrp require anything else like a non-stock vbmeta and if so is that included?
[Walmart Onn Tablets General] tek3195:
I just took it down, it's just not what it needs to be and I don't want to be the reason someone bricks there tablet. Sorry
[Walmart Onn Tablets General] martyfender:
What kind of issues are you having with the twrp?
[Walmart Onn Tablets General] tek3195:
Can't seem to get encryption taken care of. I can format data and run disabler script to no avail. Upon reboot it encrypts data again. Couple times I thought I had it but on next reboot tabet was encrypted again. adb nor mtp work it only charges. I don't know what to do other than start over. I had one that worked except usb-otg on a tab that bricked and returned to store for replacement. Couldn't find that twrp.img anywhere on pc and haven't gotten it right on one since that one. The more I try to edit fstab and build.prop the worse it gets. I'm just hoping that someone who mentioned building one a few days ago is able to find time and decides to go ahead and build it. Not going to call him out in public but I hope he see's this. Fingers crossed.
[Walmart Onn Tablets General] martyfender:
The twrp that [MENTION=2472806]vampirefo[/MENTION] built for the Nextbook Ares 8A's that I own will not decrypt the data partition, but if userdata is deleted and patched with Magisk to remove encryption and dm_verity, a new, unencrypted data partition is created after the first boot.

Back when I first got my first Nextbook Ares 8A, I used Supersu unofficial system mode. I had to open the boot.img in Android Image kitchen and patch the image to remove encryption and dm_verity before installing SuperSu unofficial system mode. [MENTION=2472806]vampirefo[/MENTION] had sent me a modified boot.img that also made selinux permissive.

Later I started using the official, SuperSu beta as like Magisk it patched the boot.img on install, so I didn't have to use Android Image kitchen to do it.

Sorry this has gotten so long, but I am wondering if you pre-patched the stock image to remove encryption and dm_verity, then patched it in Magisk, if the data would still be encrypted in twrp. Someone in the main: how to build twrp thread may know what is causing that issue and may be able to help you fix it.

This thread is authored by [MENTION=912474]Dees_Troy[/MENTION] , the twrp author:

https://xdaforums.com/showthread.php?t=1943625
[Walmart Onn Tablets General] tek3195:
Thanks, I'm familiar with that thread. I subscribed to it sometime last year when I was porting recovery for unsupported Huawei T3 7. I'll followup with it later. Right now encryption is solved as I'm not running Onn ROM on it. I have aosp-pie-gsi@5904009 from https://ci.android.com/builds/branches/aosp-master/grid? installed on it and it's running great so far. I haven't found anything not working yet. The only thing I have found so far is long pressing keyboard keys has no effect, but I'm using Hacker's Keyboard and it was also the same way with Bootleggers ROM yesterday when I checked it out. So I 'm not blaming that on aosp rom. Most likely something between keyboard and gsi images. The aosp rom seems to be a helluva lot smoother which makes it seem faster. I'm not benchmarking anything I 'm just saying that is what it seems like to me. I also am not running gapps on it. I have been using a combination of f-droid with privileged extension and m-droid (for the frontend) along with a list of paid and unpaid apps I keep on sdcard coming from playstore, yalp store and acmarket. A lot of apps warn that they will not function without play services but only a few force close, just have to hit back button at warning and not the OK on the toast. May run totally different with gapps, but I won't know anything about it. Final thought... aosp rom is about as spicy as a glass of warm milk, no adv. power menu, no bells, no whistles just pure A.O.S.P.
[Walmart Onn Tablets General] CaffeinePizza:
I dumped the stock ROM from my ONA19TB003. nathanbarDOTnet/files/android/

I'm not sure if the nvram varies between devices, so I recommend not flashing it in SPTool. Scatter file is included. The boot.img can be patched by Magisk Manager for root with dm-verity disabled, if you uncheck the preserve option. If someone can find kernel sources on this device, it'd be great. I'm attempting to compile TWRP for it, but I may have to modify device tree from another MT8163 device.

This dump is ONLY applicable to the 10.1" device, ONA19TB003. If you flash the different items.ini in SPTool, your device will technically work, but the screen will be black/nonfunctional digitizer, because of the incorrect screen size.

The nvram probably holds MAC addresses and such, so I'd not flash that partition. I only have one device, so I cannot determine this myself.

I've lurked around here for years, and I don't intend to spam. So apologies, admins, for the link.

I am NOT responsible for bricked devices, explosions, deaths, etc, if you flash my dump.
[Walmart Onn Tablets General] tek3195:
[MENTION=9936108]CaffeinePizza[/MENTION] for the convenience of everyone, https://www.nathanbar.net/files/android/

'preciate it, thanks
[Walmart Onn Tablets General] martyfender:
When patching the boot.mg with Magisk Manager, can the forced encryption box also be unchecked to remove encryption, if userdata is deleted? I know on Android 10 encryption is a requirement, but I'm not sure on the Android 9 this uses.

On my Nextbook Ares 8A's I just have to format userdata and cache in fastboot or factory reset to remove encryption then flash the Magisk patched boot.img. I have TWRP the Nextbook, so I can do all of the above from it, instead of fastboot.

Also, can I just download the boot.img, patch it with Magsik manager, then flash it in fastboot mode to root the device, instead of initially using the temp root method in the op? Or use the Magisk pre-patched boot.img.

I believe the 8" tablets boot.img gdrive link is posted a ways back in the thread. I am on the verge buying the 8" model.

Thanks
[Walmart Onn Tablets General] CaffeinePizza:
I have not tested disabling encryption, since I didn't want to wipe the tablet for a third time in my testing; however, as long as you wipe userdata it will probably work.

Fastboot can be used to flash the patched boot.img.

fastboot flash boot magisk_patched.img

It probably can be flashed in SPTool also, but I did not try it.

At some point in the hopefully near future, I'm going to attempt to port TWRP to the 10.1" tablet, and potentially to all the others as well. I'm new to Android work like this. The difficult part is not having source code from the Chinese manufacturer. I've tried to contact them in an attempt to get code.

I'm not responsible for bricked devices, loss of limbs, explosions, etc.
[Walmart Onn Tablets General] martyfender:
The Onn tablets are Walmart's replacement for the Nextbook tablets.

If they are like Nextbook, (Yifang), they will not release the source code. Nextbook never even released stock roms, so I have to depend on my virgin TWRP backups to restore. I saved them when the devices were new and unrooted by temp booting TWRP. Apparently you all know how to do a backup without twrp. How does one do that?

Thanks
[Walmart Onn Tablets General] CaffeinePizza:
I followed a post on hovatek (they require an account to access), and used the Wwr MTK software and SP Tool. SP Tool was used to dump the preloader and the rest of the ROM chip. The Wwr software somehow reads the preloader to find all the partition locations in the ROM dump image. I mean, the same thing could probably be done using dd if you know the locations and sizes of the partitions in the dump. Wwr is annoying though because of the 120 second popup you must wait on because I am not a "donator." I thought I bricked my device upon testing my dump until I realized that it needed me to flash the items.ini (That's what I named it.) and possibly nvram, which I did. I had to specify in the Wwr software to save that partition. I'm not sure if nvram gets wiped when selecting "format except bootloader" in SP Tool. I haven't checked for that. Both pieces of software I used are in my link the OP kindly posted a few back since I have fewer than ten posts as of now. If the author of either program wishes I not redistribute, they are welcome to message me, and I'll provide an alternative method of retrieving the software.

It is also unfortunate that I don't expect source code to be released despite the GPL2 requirement of the Linux kernel. They are in China after all...
[Walmart Onn Tablets General] martyfender:
Android is open source, but the way I understand it, Manufacturers don't have to release it, at least in China? Nextbook was distributing a Yifang Digital tablet, so that may be why they wouldn't release it. It was another user who tried to get it from them, that was working on a custom rom for the original Nextbook Ares 8, Android 5.0, I believe.

And yes, I have used dd to dump some of my partitions, but it is rather difficult something like knowing mmcblk by name, one example on my device: android_bootloader->/dev/block/mmcblk0p1 I can't remember for sure.
[Walmart Onn Tablets General] Vortell:
You could ask the manufacturer Joyar (Ada64)or onn for scource code.