## Obtaining root on the Onda V10 Pro

First off, let me say that I picked this Android tablet up on BangGood - so it’s basically a no-frills Chinese tablet (at a really attractive price).

My criteria for buying it were a little non-standard, since all I am going to use it for is reading PDFs of papers, of which I have a huge backlog ‘organised’ in a folder structure on my various machines. The Onda V10 Pro has 4Gb RAM, high resolution display, and good speed statistics. One shortcoming was the Android 6.0 OS - but I decided that I didn’t need the more modern OS features given the specs.

One thing I should have checked more thoroughly, though, is how easy it would be to obtain root access…

Why did I want that?

• The file-syncing set-up I have (based on my own servers and unison) probably needs root to operate ‘Free’

• I have root on all my devices (desktops, servers, laptops, phones, tablets, TV, etc.) - it’s a bit of a compulsion.

The following are step-by-step instructions about how to do it - and is the result of reading multiple Russian-based forums, lots of dead-ends, and lots of trial-and-error. Hope this makes it easier for you too!

### Check that adb works

You’ll need this later for redoing the firmware :

### Install Magisk on the tablet itself

• https://topjohnwu.github.io/Magisk/install.html#boot-image-patching

• https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445):

### Get suitable firmware for this tablet

I looked through a lot of sources, all of which advocated different firmwares, etc. But I didn’t understand how it would be used. Eventually, I picked the most recent official-looking one, and installed it (as below), only to discover that I had just completely overwritten what was there before…

But, no matter : Since I now had the firmware that matched the (overwritten) tablet, I could now do the tricks required on the firmware itself.

Here are some of the sources that I looked over :

• V1.0.4_V5 (with Phoenix)
• V10 Pro_V1.0.1_V7 (with Phoenix)
• http://onda.cn/Search.aspx?keyword=V10 Pro&ch=0

It seems that you are required to obtain a copy of the stock boot image, which can be found by extracting OEM provided factory images or extracting from OTA update zip

To find the version number of your device, please see the ninth, 10th position of the SN code on the back of the case ‘V7’

Current firmware, reported by System-Settings-AboutTablet-DeviceFirmwareVersion = v1.0.1_V7.

So, the following was the best bet :

• https://4pda.ru/pages/go/?u=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fhp4zfla1j8qvbdk%2FV10%2520Pro_V1.0.1_V7.rar%3Fdl%3D0&e=77513633
• Link to firmware actually installed here
• This is a rar file of 857,321,855 bytes

I then tried to use a combination of Magisk and FASTBOOT.

Problem :: FASTBOOT approach merely/nearly bricked my device… So : I then went on a different tack, and used the ‘SP Flash tool’

### Install the SP Flash tool

https://spflashtool.com/

https://forum.xda-developers.com/general/rooting-roms/tutorial-how-to-setup-spflashtoollinux-t3160802

And install it (along with dependencies to make it run on Fedora) :

The “Scatter File” is in the data from the image downloaded (and expanded using unrar above) :

V10 Pro_V1.0.1_V7/SP_Flash_Tool_exe_Windows_v5.1640.00.000/Firemware/

• Select just the ‘logo’ file for testing…
• Hit ‘Download’ and plug in device (which was turned off) :

#### Curious error messages

Something just isn’t connecting…

Something else just isn’t connecting…

#### Fixing the COM port so that it works

So, as suggested online, blacklist the COM port device for the two MTK vendor IDs the flash tool uses…

As root, create : /etc/udev/rules.d/20-mm-blacklist-mtk.rules containing :

And reload the udev configuration with :

But that seems like a relatively dead end… Since it doesn’t change the messages.

### What’s going on during plug-in of the device?

Potentially relevant docs

Investigate the sequence of things that occur as the device is plugged in :

Hypothesis : The device is tested for being a COM port for a few seconds upon plugin, but if it doesn’t respond as a modem quickly enough, it falls back to being a standard USB storage device.

So : Why isn’t this modem working?

### Change the ownership of the modem device…

Now : DIFFERENT OUTPUT RESULTS!! :

With a Big Tick output

So : The format thing works! At least there’s an action that can be performed using the SP Tool.

## Next : Try to Put Image onto Tablet

Try to load the image into the tablet… Problem :

The issue seems to be that the files are not all listed on the right-hand-side in the file listing area. Idea : Move them over from their -verified names to just plain names.

Finally, after the image seems to have uploaded :

• Reset button
• Power button (hold 3 seconds)
• Onda logo

Again, go for ‘OEM unlocking’=Enabled. ‘USB Debugging’=Enabled

#### Bootable image installed…

Now that we’ve got a completely consistent boot+loader etc image, perhaps the Magisk thing will work…

• https://topjohnwu.github.io/Magisk/install.html#boot-image-patching

• Install Magisk 7.3.2 (224) direct from GitHub releases
• Connect USB, and AllowDebugging

In Magisk, do ‘install v19….’ by just ‘patch .img file’ Choose /sdcard/boot-verified.img

### Reflash using the SP Tool (again)

So, now we can reflash using the same SP Tool again (need only select the updated boot.img file, I guess)

• Press reset
• PowerButton 3 secs
• Boots with PhoenixOS logo - but straight back into Android desktop unchanged
• Load Terminal from 360 store (!)
• Try ‘su’ :: Magisk will offer to Grant Forever! SUCCESS!

### All Done!

Next steps :

• Install aptoid app using Chrome - this is an off-brand app store.
• Look for ‘Google Play Services’ in Aptoid app. It ought to be possible, since I see :

yes exactly, I download aptoide apk from the official site, I installed it and search in aptoide the google play services, I press update and the google play services updated automatically without problems.

• Current version of Google Play Store = 7.2.13 = Old, but it’s a start…

• (Kill 360 App - there was an annoying Ad)
• (Kill WPS Mail - looks like junk)

• After a reboot (or simply giving the machine some time to ‘orient itself’) can now use Aptoid to install ‘Google Play’ v16.3.36-all = Modern

• Install ‘ssh server’ (has a folder-like icon) on tablet

• Install unison (potentially another post)