yashsingh1/xdaforums huggingface dataset:
[Walmart Onn Tablets General] martyfender:
Thanks for posting. I forgot you had custom roms on this so that won't be useful to compare.

Years ago I used spflashtools on my first Android device given to me for restoring a stock rom to a Samsung S3. This was my first experiences with Android.

I hated spflashtools. I think that running spflashtools from Linux Mint, on that first, returned tablet, is what pushed it over the brink, or bricked it.

TFM Tool and others were mentioned previosly. Is this a safe place to get it and is it paid? They make no mention of it being paid on that site.

LINK REMOVED

Is much easier to use than spflashtools?

Also, do you know any good tools like this for Linux, besides spflashtool?

I have Windows 7 in duel boot mode with Linux Mint Mate on an SSD and hardly ever boot to Windows any more. I primarily just use Windows with Teamviewer to do remote tech support for family and some friends.

MTK Droid Tool looks promising but there are so many links to know which ones are safe from malware? Many these sites for the above tools seem possibly dubious. And I can't seem to find the original authors links in DuckDuckgo search.

Thanks again all of you are the best, here.
[Walmart Onn Tablets General] tek3195:
I thought you were wanting Onn info but then again that you may have wanted to compare something between stock and custom. Oh well got 'em anyway.

TFM is paid although not too pricey compared to a lot of the others on the market. It is still in it's infancy sort of so not as many supported devices and features as the bigger names. Got a big update recently that added a metric ass_load of mtk chip support. Two year license was $22.00 and may be $24 now depending on who you buy it from. There is also no box or dongle to contend with. Their facebook is here https://www.facebook.com/groups/417334542230115// . The other link you put up is to the best of my knowledge not permitted on xda as it is for cracked software. Cracked software steals from developers and xda is not the place for it . If you don't mind pull that down so a Moderator doesn't have to. I don't know how much appearance actually matters but would prefer we not make ourselves look bad. And generally speaking, no not safe normally in fact crack sites are normally unsafe. If you looked around there too much you may want to get a tetanus shot for your PC.
[Walmart Onn Tablets General] martyfender:
I removed that link in my post but it still shows up in my quote in your message. I am not a member of facebook, nor do I want to be and I didn't see a link in there to buy it but I will look again. Is there some other legitimate source to buy it from?

Also, what about MTK Droid Tool legit link?

This may be a somewhat dumb question, but if I unistall Magisk in MM and restore my stock boot.img, will this device boot properly without deleting userdata? I want to do that and then again restore the Magisk patched image again so I can see if to fixes and issue that the module author I am using suggested, that the logs I provided him indicate a possible faulty Magisk install.

Everything is fine and I don't need the module, I just want to test it. (tinkering) as one of you calls it.

Thanks again for starting this thread to make us aware of a great device!
[Walmart Onn Tablets General] tek3195:
That is the best way to purchase it that I know of. You just have to click on messenger I think is what it is and send the admin a message that you want it. I don't use facebook either, in fact use my wifes account when I do go on it. Check out videos on youtube first to see if you want it. Don't buy it because of anything I said. I didn't recommend it I just said I use it. I do like it but it is still a work in progress so don't know how much better it will get but I do think it's cool for the price.

The only time you lose /data is when unlocking or relocking. Or of course if you wipe it intentionally. Magisk doesn't mess with data partition so much as it focuses on boot and appearantly recovery now on some devices. So far as I know you can unroot safley.
[Walmart Onn Tablets General] martyfender:
Yea, unfortunately facebook pops up a message that you must join. No way. I am betting this is done by someone in India or south east Asian facebook is extremely popular in those regions to distribute software. I found that out when I was looking into some other tool a year, or two ago. No disrespect intended, by the way, just saying it is popular in those cultures, I guess.When I was looking into that tool, of which I can't remember, every link was a facebook page, which is irritating if you are not on facebook.

You must not be the one who mentioned mtkdroid tools, I will have to search back. Someone said that they used it, just looking at available options.

I have no problem to pay for a tool if it does the job much better and easier than spflashtools. Sorry, I just can't get over being long winded, it is in my nature, I guess, to be thorough.
[Walmart Onn Tablets General] CaffeinePizza:
Flashing the Stock ROM

Dumps from ONA19TB002 (8" tablet) and ONA19TB003 (10" tablet), build 20190516, have been uploaded to my server. https://www.nathanbar.net/files/android/

I plan to write a tutorial on using Wwr MTK tool and SP Flash Tool for backing up at some point.

NOTICE

SP Flash Tool will work with Linux and Windows. (This was tested only with Windows.)

Wwr MTK Tool is Windows-only.

Install the USB device drivers.

--Unzip the MediaTek VCOM drivers to an appropriate location.

--Open Device Manager.

--Click Action in the menu bar.

--Click Add legacy hardware.

--Click Next and select "Install the hardware that I manually select from a list (Advanced)." Click Next.

--Ensure "Show All Devices" is checked. Click Next.

--Click "Have Disk..." Browse to the location of the unzipped MediaTek VCOM drivers.

--Navigate to

.\MediaTek USB VCOM drivers\Drivers\USB VCOM Driver\Win7\

for systems running Windows 7 or newer. (Select the appropriate folder and following INF files if your OS is older.) Select usb2ser_Win7.inf for 32-bit systems or usb2ser_Win764.inf for 64-bit systems. Click Open. Click OK.

--Select "MediaTek PreLoader USB VCOM Port." Click Next twice. Ignore the error. Click Finished.

Note: If this doesn't work, you can attempt to right-click and select "Update driver" on the unknown device quickly and use a procedure similar to above.

How to flash:

--Unzip the stock dump to your location of choice.

--Open SP Flash Tool; device MUST be off and microUSB unplugged.

--Under the Download tab, click the "Scatter-loading" button. Navigate to the stock dump directory you unzipped. Select "MT8163_Android_scatter.txt." Click "Open."

--If nvram is an option and it is checked, uncheck it.

--Click the Format tab. Be sure "Auto Format Flash" and "Format whole flash except Bootloader" are checked.

--Press Start; plug in the device. After it has formatted the device, a pop-up dialog with a green checkmark. will notify you that it is finished.

--Unplug the device.

--Return to the Download tab. Ensure that the drop-down menu is selected as "Download Only." Click the "Download" icon with the green arrow.

--Plug in the device and wait. The screen will remain black.

--When the flashing is finished, unplug the device and attempt to power-on.

Note: The device, if flashed properly, will take several minutes for the cache to build. The first boot will be slow.

I am not responsible for bricked devices, explosions, missing limbs, deaths, etc, if you flash my dumps.
[Walmart Onn Tablets General] martyfender:
Thanks for the uploads. Is the file name for your Onn 8, 20190516, the build date of your device? Mine is 20190282. If so as I suspect there could be revisions in your build. /system/data/misc/git.log will show all of the revisions done on your device, to the date of the build.

Also, has anyone else discovered the engineermode and factory modes of this tablet? It may be old news for you mtk device veterans, but it is news to me.
[Walmart Onn Tablets General] CaffeinePizza:
It is the build of the firmware as listed in build.prop and in the "About tablet" in Settings.
[Walmart Onn Tablets General] tek3195:
I was the one that told you to try MTK Droid Tools, but I've never used it successfully. I offered it up just from its reputation and documented success. Yeah tfm is indian I believe with roots in Vietnam if I remember correctly, which I don't always do.
[Walmart Onn Tablets General] martyfender:
I am reading this post again and if I had this when I tried on my first, returned device, it might have worked. I believe I tried it from fastboot mode and maybe when the device was off. And I believe I tried with download mode first, not the format option first. I thought it would autoformat before it flashed the rom since I had the options you checked above on in the format section.

I used spflashtools many many years ago on my first android 4.4 Digiland tablet given to me. So I forgot. Somehow, On my first Onn 8, what I did, appeared to brick the device.

Or maybe it was fastboot flash system system.img of an incompatible version for the newer version of the tablet. Who knows. I am going to move on to another tool to do backup. If not, what is the procedure with spflashtools to backup the rom or is it possible with it? TWRP is a work in progress right now for this device.

UPDATE: 11/5/19: I found out last night it was the Linux version of spflashtools that was the issue on my Linux Mint Mate 64 bit install. I did a flash last night booted into With spflashtools and it worked very well under Window 7 Home.

Thanks
[Walmart Onn Tablets General] CaffeinePizza:
I do know that the system will most likely refuse to boot if anything other than stock is flashed if the bootloader is locked. I did my flash testing before unlocking the bootloader, and it worked, though with an exact dump. If someone beats me to building TWRP, less work for me. :) I'm working on a chem degree, so I have little time.
[Walmart Onn Tablets General] DB126:
The more important question is how restorable are the 'backups' created by whatever method you choose. On portable devices I backup with a single purpose in mind: recovering from user error. In that context easy and reliable restoration is essential. Anything I really care about gets sent to the desktop or cloud which has an entirely different set of backup methodologies/tools.
[Walmart Onn Tablets General] martyfender:
Yes how reliable the restores will be is a question I have had in the back of my mind. I have not tried any of them yet. The only thing I have done so far is dd image, boot, recovery, vbmetadata and system. I don't really want to test this on this device, but I may buy another to to test various options presented to me by several users.

Yesterday, my day off, I was obsessed with finding a suitable twrp device tree to build for this device. I have never done this so it seems to be overwhelming.

So far, I found the BQ Aquqrius M8 at twrp.me. It has the MTK8163, but has Android 6 on it. Does anyone know if the 6 tree can be used to build twrp for this Android 9 device? I have no experience in this. I just researched it years ago for my Nextbook 8A devices. It well may be over my head.

Thanks
[Walmart Onn Tablets General] DB126:
Depending on your risk tolerance you probably don't want to roll this on your own. Lots of nuances at the device level. Akin to building a pacemaker based on schematics pulled from a Chinese website. One of the liabilities of going with a non-mainstream device.
[Walmart Onn Tablets General] Rortiz2:
Hi.

I'm the maintainer of the Aquaris M8;)

You can use it but you'll need to modify a few things.

I can help you or compile it if you want.

If you want to msg me in Telegram: R0rt1z2.

Cheers.
[Walmart Onn Tablets General] novatillo:
Hi, I'm interested in source code of the kernel of this tablet.

Does anyone know where it can be obtained?

Has Walmart released it?

Thanx
[Walmart Onn Tablets General] CaffeinePizza:
The dumps created by SP Flash Tool should be restorable using SP Flash Tool. However, I only have one of each device and will have to buy another to test restoration on a different device. Restoration on the same device the dump came from works fine.

---------- Post added at 03:58 PM ---------- Previous post was at 03:56 PM ----------

I'm also going to message you about this when I get a chance. I have both the x002 and x003 tablets.
[Walmart Onn Tablets General] DB126:
Response suggests restoration to an identical device (specifically Onn xxx) has been demonstrated. There is often a divide between 'should' and 'did' which only shows up when actually needed. Glad it worked for you.
[Walmart Onn Tablets General] martyfender:
We just got new Onn 7 tablets at Walmart. They are not out for sale yet. They have the same processor and only 1g of ram and 16g of storage. ~$45 US.
[Walmart Onn Tablets General] martyfender:
[MENTION=8978978]Rortiz2[/MENTION] I can't seem to find you on Telgram with this in search: R0rt1z2. I did find your projects on github though. If you can give me a working telegram name, I will contact you. The other option is to message you here on xda, if that is acceptable.

Thanks
[Walmart Onn Tablets General] Vortell:
Maybe the period?
[Walmart Onn Tablets General] martyfender:
Yes, I saw that in my copy and paste, removed it and that did not work.
[Walmart Onn Tablets General] Rortiz2:
Sorry I did a typo [emoji14]

Is R0rtiz2 xD

Regards.
[Walmart Onn Tablets General] Pix12:
There might be either new packaging or a new tablet. Walmart's Onn is going through a rebrand to "onn." With a light green accent. So we might be getting a different model to reflect this change.

EDIT - I'm kinda dumb for not scrolling up, someone already posted that there's a new *cheaper* tablet.
[Walmart Onn Tablets General] Pix12:
Guys the onn. 7" is out. It's $50

https://www.walmart.com/ip/onn-Andr...onus-10-off-Walmart-eBooks-Included/337319622
[Walmart Onn Tablets General] DB126:
For +$14 USD the 8" variant is a better value (IMO).
[Walmart Onn Tablets General] NFSP G35:
^ yeah, I felt like that too... Also, they're really not bragging on the battery life eh? 4 hr? ?
[Walmart Onn Tablets General] Kaijones23:
Is there any way to ask them for the kernel source some way?
[Walmart Onn Tablets General] Pix12:
Definitely, you get HD at 720p, normal Android and a bigger battery/display.
[Walmart Onn Tablets General] DB126:
Memory difference is the biggest factor; 1 GB vs 2 GB makes a tremendous difference in responsiveness even with only a few apps open.
[Walmart Onn Tablets General] FanboyStudios:
So far it's not working on my 8' model. I wasn't able to get Phhusson's AOSP 9 to boot fully. It just kept looping, even after several minutes of waiting.
[Walmart Onn Tablets General] tek3195:
did you do (the following are with img's included in zip)

"fastboot flash cache cache.img" then

"fastboot --disable-verification flash vbmeta vbmeta.img" then

"fastboot erase system" then

"fastboot flash system system.img" and finish by

"fastboot oem reboot-recovery" .

once in recovery you need to flash disable dm-verity and force-encrypt of your choosing as I seem to remember there being several to choose from. I use one by [MENTION=6037748]Zackptg5[/MENTION] and works well for me. Magisk and GAPPS are up to you then factory reset and boot into system. All this is just off the top of my head right now. There's a lot of excellent info here: https://www.xda-developers.com/flash-generic-system-image-project-treble-device/ . All I can say is try it again, it will work.

You may need to wait a bit longer also, some took 5 to 10 minutes to boot. If it loops more than 3 or 4 times I would stop it, otherwise just give it some time. If it looks frozen but not looping, keep waiting. 10 mins can seem like forever.
[Walmart Onn Tablets General] FanboyStudios:
Nope I did not. I just followed what you posted vaguely in post #169

*the following are with img's included in zip*

What zip, the stock backup zip?

I just downloaded [MENTION=1915408]phhusson[/MENTION] AOSP Pie system image "system-quack-arm64-ab-gapps.img".

https://github.com/phhusson/treble_experimentations/releases

Update 2: Oh wait a minute, system-quack-arm64-ab-gapps.img that's not Pie, that's Android Quesadilla. My bad.

The only zips I have are the stock firmware on nathan's site and Phhusson's AOSP Extended. I plan to flash AOSP Extended Official Pie on top for better customization. https://sourceforge.net/projects/aospextended-rom/files/treble_gsi/

Also what recovery?

I don't think you can flash GAPPs (or anything not stock) with stock OEM recovery. For Magisk, do I use a boot image from stock patch it or do I use something from the GSI image? I've flashed phones before, but those were normal ROMs using TWRP, not GSI ROMs.

If you can link the threads where you got *flash disable dm-verity and force-encrypt* then that would be pretty nice.

Update: Tried flashing the disable dm-verity and force-encrypt zip from https://zackptg5.com/android.php#disverfe in stock recovery and Signature verification failed and got error 21. Installation aborted!

It would be awesome for me, and the potential other visitors here if you could write a clearer step by step guide on how to do this. I've spent my whole day today trying to get a GSI to boot to no avail.
[Walmart Onn Tablets General] tek3195:
Not sure if you mean my post was vague or your following of it. But either way it pains me to inform you that you have been misled. I got my notes crossed up and I apologize and would never intentionally mislead anyone as this crap can be confusing and frustrating enough as it is. The images I used were not phhussons although I'm sure his should work. The images I used were from aosp-pie-gsi | Branch Grid here: https://ci.android.com/builds/branches/aosp-pie-gsi/grid? . You have to pick one (you'll see what I mean) I don't know much about it other than it looks confusing and a bit intimidating when not wanting to get the wrong thing. When you pick a build go for somewhere around latest successful. That directs you to the build artifacts page for that build and it can be even more confusing but there are img.zip's near the top. That zip contains system, vbmeta and cache. I did not use the symbols, apps or coverage zips. They may be beneficial but I simply don't know. I only used the aosp_arm64_ab-img####.zip when doing mine. In an earlier post I told someone that the OP wasn't a guide, more like the ramblings of a madman trying to retrace his steps. Unfortunately this is what I was trying to avoid. Going to fix those errors as soon as I'm done here. The recovery is kinda like your on your own till someone puts up a good one. There are some good people in the community that can help but the quickest way is to follow guide here: https://xdaforums.com/android/general/guide-porting-twrp-source-t3843473 It is fairly simple, quick and functional enough to do what you need temporarily. I think people tend to hang on to theirs for the same reasons I won't post mine which is because it is not fully functional. You can say you're not responsible all you want, but if you knowingly put up a bad .img I think you would not only be responsible but a real phuckin dic*head as well. Again bubba, I apologize for the error. Check out those links and holler if you get jammed up.
[Walmart Onn Tablets General] Spatry:
Unfortunately, the images you saved will not flash using the SP Flash tool on the ona19tb002 8".

Somehow the device ended up in fastboot mode and using all known methods searching this community, I was unable to get out of it. So I tried to SP flash your supplied images and now it is hard bricked, screen does not come on at all.

This is the The SP flash tool gives the following error: ERROR : S_DL_GET_DRAM_SETTING_FAIL (5054) [EMI] Obtain DRAM Failed!

[HINT]: Please check your load matches to your target which is to be downloaded.

I found information in post #192 that I will try out, though the screen on the device does not come on, I am still able to communicate with it <crossing fingers> UPDATE: I followed the instructions in post #192 (Thanks CaffeinePizza) and now the device is booting properly.
[Walmart Onn Tablets General] NFSP G35:
I've learned not to jump to any "hard bricked" conclusions when it comes to this device
[Walmart Onn Tablets General] tek3195:
Yeah those img's in the backup folder only work as a whole backup with tfm tool or can be flashed individually with fastboot. TFM tool prints a different scatter than SPFT. I don't quite understand that but the scatter is TFM specific. The raw images in the main folder are for fastboot flashing as they were copied from device with dd. You got the right ones for SPFT that [MENTION=9936108]CaffeinePizza[/MENTION] posted. I didn't know at time of posting if tfm backup would flash with spft or not. I thought it would but it was untested at the time. I now know the scatter is different and will edit that post. Thanks for bringing it up.
[Walmart Onn Tablets General] martyfender:
Yes, if I had had this new info before, the first bricked device I returned, more than likely could have been saved. I don't blame any one as it was not known then.
[Walmart Onn Tablets General] FanboyStudios:
My tablet is no longer able to access the bootloader, and is not stuck looping on the Onn "Powered By Android" splash screen.

Volume keys don't work to get me to the bootloader or recovery. So now I'm trying to do a restore using SP Flash Tools.

Ok I followed these steps exactly, but it's not working. I get Error 4058 as shown in the screenshot. I need some help please.
[Walmart Onn Tablets General] Spatry:
Try taking the back cover off of the device and unplugging the battery.... Then follow your quoted procedure, YES, I was able to flash the images on the tablet with the battery disconnected the WHOLE TIME. For best results use Linux when interfacing with your device.

I just purchased a second one of these units.... I am hoping a good tutorial for flashing one of the roms mentioned in this thread comes out... Would love to try BeastRom but after bricking my Onn 8" a few times, I am leery about trying anything new without a guide.... he he he
[Walmart Onn Tablets General] novatillo:
Error 4058

Message: BROM ERROR: S_FT_GET_MEMORY_FAIL (4058).

Reason: SP Flash Tool cannot find the partition you want to flash.

Solution: Deselect any object (its corresponding box) with an empty directory.
[Walmart Onn Tablets General] FanboyStudios:
I tried unchecking all of the boxes except system, boot, and recovery. Still did not work.

Update: I even tried just system and it would not work.
[Walmart Onn Tablets General] Spatry:
Just out of curiosity, did you try to format the device? Did it give you errors when you ran that? Maybe a driver issue? Just guessing here, it has been so long since I touched a Windows machine.
[Walmart Onn Tablets General] FanboyStudios:
Tried disconnecting the battery, still did not work. It's stuck bootlooping on the one screen in the picture below (sorry for bad quality, I used my laptop webcam). It turns on, stay on for a few second then turns off. It repeats doing that even after hitting the reset button. I'm pretty eager to kinda try new things and see how far this cheap boy can go, but I wish I had a reliable restore method because I can't even access fastboot now. Still getting Error 4058.

I was thinking of porting TWRP (although I never done it before). I found an interesting tool on hovatech forums https://forum.hovatek.com/thread-21839.html and gave it a go, but the recovery image it output was to large; I tried to boot it without flashing using "fastboot boot recovery.img" and it did not work although it looked like it would. The command sent successful, but TWRP didn't show up on the tablet.

Right now I'm going to try TFM tool. I'm not risking my money on a sketchy Facebook page so I'll try a cracked version (although I don't condone it or recommend it). I'll of course scan it with my AV. I have my doubts still. I think it's bricked.