yashsingh1/xdaforums huggingface dataset:
[Walmart Onn Tablets General] Viva La Android R.I.P.:
To the right side of the word Installed.

On the UI above, it shows N/A to tie right side of the word Installed. What is showing to the right side of the word Installed on your Magisk app?
[Walmart Onn Tablets General] garyww39:
did u get my screenshot? my magisk looked identical to yours except im running the 24.3 version magisk app says installed 24.3
[Walmart Onn Tablets General] Viva La Android R.I.P.:
I didn't get a screenshot. I'm trying to find out what is on the right side of the word Instalied on your Magisk app
[Walmart Onn Tablets General] garyww39:
under magisk app says 24.3 installed under magisk itself its N/A beside installed i also just factory data reset one of my onn tablets seeing if it would act different and no its still acting the same way with the soft reboot to onn screen and wont let me open anything except magisk app
[Walmart Onn Tablets General] garyww39:
well i thought i had it i factory data reset my onn tablet then i reinstalled v24.3 magisk booted into fastboot mode and reflashed boot image then rebooted into recovery and it went straigh tthru to the onn logo booted up to home screen tapped on magisk app it did prompt me that additonal settings needs to be done i accepted it hit install then patch vbmeta and recovery mode was check marked i clicked install then it installed magisk bottom right said reboot in blue i tapped that restarted back into boot menu then selected recovery and booted back up and now it says magisk N/A
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Ok sounds like you are rooted. Power down. Use the power and volume up combo to get to Boot Menu. Select recovery mode. Upon reboot check the Magisk app again.
[Walmart Onn Tablets General] garyww39:
it showed that magisk was installed but i had to repatch the boot image again after i rebooted from recovery it said N/A again
[Walmart Onn Tablets General] garyww39:
ok i got magisk to stay installed but it keeps soft crashing when i try and open up any apps after it says reboot from patching magisk from the app do i let it do a full reboot and it also displays for a split second factory reset then reboots after magisk detects patched boot image i have supersu installed but when i open it it says su binary occupied and magisk is installed in magisk has a red trash can and says uninstall magisk didnt have that before and magisk 24.3 is installed and app 24.3
[Walmart Onn Tablets General] garyww39:
and if i reboot normal seems like everything is lost i shut off boot into recovery and it loads the no command android if i want root back i have to factory data reset but it always soft reboots after i actually get root
[Walmart Onn Tablets General] Viva La Android R.I.P.:
That's odd indeed.
[Walmart Onn Tablets General] garyww39:
yea not sure what's going on
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Okay I just read your post again and I now understand what you're saying. Yes, a normal reboot won't work for persistent root access. In order to have root access, you must boot into recovery mode on any reboot. Magisk has been flashed to /recovery and hijacks its partition. This is a pain indeed, but it is the only workaround for these devices with no boot-ramdisk.

So, if you do a normal boot the device will boot the Android OS, but with no root access.

If you boot into recovery mode, the Android OS boots up with root access via Magisk. Even if you reboot from the Magisk app, a normal reboot will ensue, with no root. Instead, power completely off and choose recovery mode once you use Power + Volume Up to initiate the Boot Mode menu. Always boot to recovery mode in this manner if you want persistent root access..
[Walmart Onn Tablets General] garyww39:
yea i do that but all my apps crash except for a few like walmart app samsclub and magisk and if i go to settings it crashes same with root checker and supersu thats after i power off restart to boot menu select recovery and it boots straight thru to android desktop then i try apps some crash some dont
[Walmart Onn Tablets General] Viva La Android R.I.P.:
This sounds a lot like some type of corruption in the recovery-ramdisk or the kernel. I will patch a fresh recovery image pulled directly from the Surf 7 firmware package, and post you a link for it. You can flash the image again and let's see if that resolves your issues.
[Walmart Onn Tablets General] garyww39:
ok thanks also i started noticing weird artifacts as well like one tablet had lines running thru all the letters after i flashed the patched image and the other had like a darkish white border around the edges of the screen but if i lock the screen and tap the power button to turn the screen back on sometimes the artifacts disappear but if i factory data reset its fine and before i messed with them they were fine
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Ok that "tunnel effect" on the display is an issue specific to Magisk, and involves wakelocks. Once your display goes to sleep for an extended period, it essentially has issues waking.back up and will result in the tunnel effect. One way to prevent this is by setting the.display to never sleep via a timer. As long as you put the.displau to sleep manually -- such as tapping the power button -- you shouldn't experience this issue waking it back up.

I'll get the new recovery image finished shortly and I'll post a link here.
[Walmart Onn Tablets General] garyww39:
ok thanks
[Walmart Onn Tablets General] Viva La Android R.I.P.:
No problem. I am tied up with work at the moment, but soon as I get free I will get this done for you.
[Walmart Onn Tablets General] garyww39:
ok thanks alot your really helpful i also have a onn pro tablet with the metal body have you messed with those any with rooting?
[Walmart Onn Tablets General] Viva La Android R.I.P.:
No but what is its model number?
[Walmart Onn Tablets General] garyww39:
100003561
[Walmart Onn Tablets General] garyww39:
its running android 10
[Walmart Onn Tablets General] garyww39:
tek3195 let me download the firmware for it off google drive but i haven't messed with it
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Here you are https://drive.google.com/file/d/1-Afc5IV-TEaHtX1boCAZpnzDGDjUqwIT/view?usp=drivesdk

Do a factory reset before flashing it.

The command will be

fastboot flash recovery magisk_patched.img
[Walmart Onn Tablets General] garyww39:
ok thanks i will give it a go. ok nvm i got it downloaded when i clicked the link u gave me it said i had to ask for access but i checked my email and the download link was already there.
[Walmart Onn Tablets General] garyww39:
ok i tried the new image and still same problem i factory reset then installed magisk 24.3 restarted and went into boot menu selected fastboot sent the patched image file to tablet went back into boot menu selected recovery went straight passed stock recovery and booted up opened magisk was prompted that it needed to do some more stuff done that seen it was patching the boot iamge after that tapped the restart blue button in magisk immediately went back into boot menu selected recovery went straight thru and booted up tapped on root checker and it crashed with onn logo and then back to desktop screen slide up to unlock
[Walmart Onn Tablets General] garyww39:
in the magisk app it says that the magisk software is installed 24.3 but it also still says install blue letters not sure if thats why its messing up mybe the tablet thinks magisk isnt installed not sure. so am i suppose to let it reboot after magisk patches the image normally then shutdown and go into recovery and boot back up? i tapped install again on magisk app and its doing the patching image all over again like its not detecting its installed or something.
[Walmart Onn Tablets General] garyww39:
but i noticed youtube music will open wont crash but youtube crashes sams club opens google go opens chrome crashes play store crashes its kinda like the storage is hanging up when its rooted cause i was able to get google files open and tap download folder and try and reinstall root checker it got to the install screen then a blank white page popped up then crashed then i retried it and now it crashes soon as i tap install. but if i reboot normal everything is fine no crashes. and when in rooted state i lose wifi and the android system pop up when usb cable is plugged into a pc where u can transfer files to and from pc. another weird thing i discovered the apps i tried to open when i was getting crashes when rooted the tabs were still there when i restarted like i never closed them when u tap the sqaure icon at bottom to open recently opened or closed programs
[Walmart Onn Tablets General] garyww39:
what version of windows was you on when u done the root? im on windows 11 but i do have a old laptop with windows 7 on it
[Walmart Onn Tablets General] Viva La Android R.I.P.:
The Windows version won't have any relevance or affect on the integrity of the procedure. Windows 7 will suffice just fine. I'm thinking your best option at this point is to flash your tablet with a stock firmware package using.SP Flash Tool, which will revert your device back to its unmodified, stock factory state. From there, unlock the bootloader again and proceed with flashing the patched recovery image to attain root. I have no doubt that your issue stems from firmware corruption to one or more device partitions. Since we have now ruled out the recovery-ramdisk, your best option would now be to fully restore your tablet's firmware.

Are you familiar with SP Flash Tool? This is a link to my tutorial on restoring firmware to a Hyundai tablet using SP Flash Tool. The procedure will be exactly the same for the Surf 7 tablet, except you will be using the firmware package you downloaded for your tablet. Moreover, your Windows 7 laptop will work just fine for the operation. Just pay extra attention to the topic of property installing the MediaTek vCom drivers on your computer. This is crucial to the process working successfully.

SP Flash Tool Firmware Flashing Guide
[Walmart Onn Tablets General] garyww39:
not really familiar with sp flasher but i used odin before
[Walmart Onn Tablets General] garyww39:
do u know where i can get a stock firmware from for the onn surf 7 mine is android 9
[Walmart Onn Tablets General] garyww39:
i think i found the stock firmware here https://xdafirmware.com/onn-surf-7
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Okay very similar concept. As Odin is a tool for flashing firmware to Samsung mobile devices, SP Flash Tool is used to flash firmware to mobile devices that have MediaTek chipsets. The guide I linked should give you ample guidance. I have linked the Android 9 Go Edition stock firmware below and in the downloads section of the OP.
[Walmart Onn Tablets General] Viva La Android R.I.P.:
OnnSurf7_9.0-PPR1.180610.011 Stock Firmware
[Walmart Onn Tablets General] garyww39:
hey im trying to reflash the stock android on these tablets sp flasher keeps saying error: status_too_large (0xc0040004) then stops i made sure i loaded sp flasher up as administrator and i installed the mtk media drivers as well it does flash a red bar at the bottom progress bar then the rest is yellow progress bar it gets to system download flash to 100% 1.65GB then it starts to do userdata download flash at 1% then pops up that error the file size that it stops at is 2.00M
[Walmart Onn Tablets General] garyww39:
ok i got one tablet to reflash but it still states my bootloader is unlocked and it also ask for a password to boot into android which i never set one so i put a random password in and it said that it was a correct password but it needed to be factory reset
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Why are you using SuperSU? That project was deprecated over 5 years ago. As such, it is no longer supported and isn't considered safe for newer Android releaase versions.
[Walmart Onn Tablets General] garyww39:
i have not rooted anything in a while supersu is what i used to use back in the day is there another one thats better?
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Magisk is the only supported rooting project that supports Android 5.0 and every vetsion up to, and including, Android 13. Yeah, I commonly used SuperSU back in the day also. And it stiii works for older Android versions (Nougat and prior releases).
[Walmart Onn Tablets General] garyww39:
ok so i can delete supersu and just use magisk? cause when i loaded up root checker it wouldnt find root till it was granted to not sure if magisk works similar to supersu i remember way back i use to root my samsung S3's and S4's and always used supersu and lineageos on them
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Absolutely. The Magisk app acts as your root permission manager for apps requesting root. It's all you need. By the way, the error you were getting while flashing the firmware is due to the userdata image file. On SP Flash Tool, uncheck the /userdata partition and this will fix the error. You will just need to factory data reset right after flashing. Also I just posted a firmware guide specifically for the 1st Gen Surf 7. https://xdaforums.com/t/guide-onn-s...ry-firmware-restoration-guide.4509337//unread
[Walmart Onn Tablets General] garyww39:
ok i will try that do you know if there is any custom android firmware's for the ONN tablets? i just bought a ONN 4k android box im thinking about fiddling around with that and see what i can do with it
[Walmart Onn Tablets General] garyww39:
i also have some older ONN tablets cause i use to do a small phone farm back when u could use apps to earn little extra money but since i moved i need to figure out where there at and i think some RCA voyager tablets
[Walmart Onn Tablets General] Viva La Android R.I.P.:
I have a couple of the 7" RCA Voyager tablets myself. There are several variants and models. Should you decide to unlock and root them,get me the model numbers. I have firmware for several RCA tablets, as well as some stable TWRP builds for a couple of models.
[Walmart Onn Tablets General] Viva La Android R.I.P.:
The Onn tablets are Treble supported, which means that there are a number of custom GSI ROMs that, in theory, should boot and run on our devices.
[Walmart Onn Tablets General] garyww39:
ok i will let you know i have to find them first since i moved
[Walmart Onn Tablets General] garyww39:
hi im working on another onn surf 7 tablet last time we talked i had everything working but since then i have had to do a full windows reinstall for some reason i cannot get mtk usb drivers to work i did reboot into recovery options and disabled windows driver signature enforcement and installed the mtk drivers in order to use sp flasher but keeps saying driver installed but cannot start code 10
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Greetings @garyww39. Just follow this step-by-step guide on Installing MefiaTek vCom drivers on your Windows 10/11 laptop or PC.

[Guide]Windows 10 MTK VCOM USB Drivers for 32 & 64 bit + Driver install tutorial

Windows 10 MTK VCOM USB Drivers for 32 & 64 bit + Driver install tutorial To determine the version of Windows 10 that you have (32 bit or 64 bit): - Right-click on Start then click on System - In the System window that opens, in System...

xdaforums.com

This will resolve the SP Flash Tool not detecting your powered-off tablet.
[Walmart Onn Tablets General] garyww39:
hey this is what happens after i disable windows driver signature enforcement and install the mtk drivers
[Walmart Onn Tablets General] garyww39:
i also lost the stock firmware for these tablets when i had to start over with a fresh windows install and the spflasher i used last time
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Those are linked in the OP of my firmware restoration thread here

https://xdaforums.com/t/guide-onn-s...g-factory-firmware-restoration-guide.4509337/

I'm researching your driver issue
[Walmart Onn Tablets General] Viva La Android R.I.P.:
@garyww39, what is your computer model? Is it Windows 10 or 11?
[Walmart Onn Tablets General] garyww39:
windows 11 22h2 lenovo ideapad 330
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Wow I have the Lenovo L340. Great gaming laptop. I'll take a few minutes and research the vCom driver issue in relation to your model, to see if that issue is common for that particular Lenovo IdeaPad.
[Walmart Onn Tablets General] garyww39:
nice the laptop use to be a turd till i put more ram in it and put a ssd in it its setup for dual boot right now i got chrome os on one ssd and windows on the other
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Can you post a photo of your Windows Device Manager list? I'm thinking you may have a driver conflict going on. Please expand the Ports heading in device manager.
[Walmart Onn Tablets General] garyww39:
i think i got it using a driver installer unlock tool but seems like i get no response from the tablet when i load the firmware into spflasher
[Walmart Onn Tablets General] garyww39:
Onn_Surf_7_MT8167_231019_9.0 is the firmware i try to use with spflasher v5.1924
[Walmart Onn Tablets General] garyww39:
i did post a screen shot of my device manager earlier not sure if u got it the last post on page 5
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Must not have uploaded to the XDA servers yet. The firmware build and the SP Flash Tool version are both fine. Be sure and change USB ports and try another data sync cable. Also, are you certain your tablet is powered completely off when connecting it to your laptop?

Okay I see the photo. Did you uninstall the MTK USB port like the guide instructed,? You need to right click on the MTK USB Port and select uninstall. However, do not check the box to allow the drivers themselves to be uninstalled. SP Flash Tool will not work unless you do that.
[Walmart Onn Tablets General] garyww39:
yea its off reason why i want to reflash firmware cause i sent the flashed image for magisk but magisk didnt see it never got the pop up like last time and when i try and go into recovery its in all chinese
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Did you uninstall the MTK USB Port in Device Manager?
[Walmart Onn Tablets General] garyww39:
ok i got it to show for split second MediaTek PreLoader USB VCOM then disappears thats after rebooting the device and shutting i off
[Walmart Onn Tablets General] garyww39:
yea i uninstalled the driver
[Walmart Onn Tablets General] garyww39:
i just changed my usb cable thinking mybe it was that and it wasn't
[Walmart Onn Tablets General] Viva La Android R.I.P.:
That's where you messed up. You uninstall the device but not the driver. Look back at the guide I linked you and you'll see my meaning.

By the way, you can flash firmware via fastboot command lines if you're able to boot into fastboot mode.
[Walmart Onn Tablets General] garyww39:
yea i can get into fastboot
[Walmart Onn Tablets General] garyww39:
i was able to send the flashed image earlier to the device but magisk didnt see it
[Walmart Onn Tablets General] garyww39:
i did uninstall the mtk usb port and made sure the driver box was unchecked and it still shows MediaTek PreLoader USB VCOM for a split second then disappears
[Walmart Onn Tablets General] Viva La Android R.I.P.:
You mentioned Magisk doesn't recognize the patched recovery image. Did you boot into recovery mode from a powered off state exactly like the steps outline?
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Anyway @garyww39, since you are able to initiate fastboot mode, let us flash firmware using command lines. You will need to extract the firmware package and save the files to your ADB/fastboot directory. & system.img from the stock firmware package and save them in your ADB/fastboot directory. Boot your tablet into fastboot mode, connect it to your laptop with a data sync cable, and open a command window in the path of your ADB/fastboot directory. Execute these commands after verifying device recognition:

fastboot flash preloader preloader_mid7015_mk_32.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot erase system
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash dtbo dtbo.img
fastboot flash tee1 trustzone1.bin
fastboot flash tee2 trustzone2.bin
fastboot flash lk lk.bin
fastboot flash lk2 lk2.bin
fastboot erase userdata
fastboot flash userdata userdata.img
fastboot erase cache
fastboot flash cache cache.img
fastboot erase metadata
fastboot reboot

NOTE: this script effectively flashes the entire firmware package by way of fastboot mode.

Note that system.img is a large file. Fastboot may notify you of a header issue once you execute the flashing command. Nonetheless, fastboot will dissect system.img into a series of smaller sparsechunk files, which will then be progressively flashed to your device. Just be patient as the process takes 4 or 5 minutes. The vendor.img will likely behave in a similar manner, though the flashing process will be faster than system.img.
[Walmart Onn Tablets General] garyww39:
i try to but the tablet boots into the recovery but its all in chinese
[Walmart Onn Tablets General] garyww39:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img

target reported max download size of 134217728 bytes

Invalid sparse file format at header magic

erasing 'system'...

OKAY [ 1.609s]

sending sparse 'system' 1/12 (130129 KB)...

OKAY [ 3.443s]

writing 'system' 1/12...

OKAY [ 2.025s]

sending sparse 'system' 2/12 (127800 KB)...

OKAY [ 3.373s]

writing 'system' 2/12...

OKAY [ 1.872s]

sending sparse 'system' 3/12 (127601 KB)...

OKAY [ 3.364s]

writing 'system' 3/12...

OKAY [ 4.274s]

sending sparse 'system' 4/12 (128473 KB)...

that look correct? its still going
[Walmart Onn Tablets General] garyww39:
hmmmm it finished but i still get chinese language instead of american only in recovery options looks like a different recovery option than normal
[Walmart Onn Tablets General] garyww39:
seems like its a chinese diagnostic testing recovery when i mess around with it i could check digitizer and a picture of a cat comes up on one and i can get into some bts
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Is your tablet booting up? Yeah the Chinese mode is a MediaTek proprietary hardware diagnostic suite, though I am a bit puzzled as to why your device is opting to boot into that mode versus recovery mode.

Try flashing this patched recovery image via fastboot, then immediately power down. After that, try to boot recovery mode again.

File on MEGA

mega.nz
[Walmart Onn Tablets General] garyww39:
yea it boots up like normal but instead of getting the normal 3 options when i hold down pwr and vol down i get a bunch of chinese language options
[Walmart Onn Tablets General] garyww39:
its a totally different boot menu like yellow lettered chinese
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Ok I modified the fastboot script. Try it and things should revert to normal. The current script includes commands to flash the tablet with the entire firmware package.
[Walmart Onn Tablets General] garyww39:
yea boot menu is still chinese
[Walmart Onn Tablets General] Viva La Android R.I.P.:
@garyww39, the fastboot command output looks successful. Good work. Let me know how it does.
[Walmart Onn Tablets General] garyww39:
also noticed my bootloader is still unlocked
[Walmart Onn Tablets General] Viva La Android R.I.P.:
Indeed. It's a Catch-22 phenomenon. An unlocked bootloader cannot be used to flash a file which will result in locking the bootloader -- at least not during a particular flashing session.
[Walmart Onn Tablets General] garyww39:
ok im not sure what happened to this tablet its a 2nd hand tablet and i cant see any way to switch it to english another weird this is i do see normal boot menu only after unlocking bootloader if i hold power and vol down button anytime after that i go straight into a chinese boot menu with testing and tablet information
[Walmart Onn Tablets General] garyww39:
when it boots up its english just not the boot menu/testing mode