[Connected Car] iamrance.asa:
Hello all XDA Developers and site visitors, ;)

I recently picked up a Junsun A931 Rear View Mirror on AliExpress and didn't see any forums on it. So, I decided to write my own about how I managed to gain root and install Magisk. Links to all the files will be included.

This works for Junsun's A930/A931 with Android 5.1. The process will probably work for other Rear view Mirrors with MTK chips, you will need to have access to the boot.img and scatter file for your device.

**Disclaimer: Proceed at your own risk! Although this worked for me without issues, there is always a chance of bricking your devices/making your device unusable. I am not responsible for your device(s).

Instructions:

1. Install MTK Drivers provided.

**I only have the ones for Windows. Mac/Linux, I couldn't find any MTK drivers for you.

**If you have trouble installing drivers, try turning off "signed drivers" in Windows Recovery.

2. Attach device to computer via USB cable.

3. If computer doesn't recognize device when it's fully booted:

-Go to "Set Up"

-Slide over to "Other" tab

-Scroll down to "Version"

-Click on "Version" until it brings up a menu (Same principle as Developer Mode, except it pop's up a menu)

-Click on "USB Host"

-Select "USB Device" (the one that has "adb" in the description)

**If this doesn't work, then try switching USB ports on your computer. It only ever works on my USB 3.0 ports.

4. Install Kingoroot on PC.

5. Launch Kingoroot and let it recognize your device, then click "Root."

** This is only a temporary root. It will reset every time you shutdown/restart. If that's what you want, stop here. Otherwise, continue on.

PERMANENT ROOT:

6. Open your choice of ADB on your PC. (I used Minimal ADB and Fastboot)

-Type "adb devices" to see if your devices is recognized and listed.

-Type "adb install [location of magisk.apk on computer]"

**replace "[location of magisk.apk on computer]" with location of magisk.apk (provided in RootPack.zip). This can be done by just dragging the file into adb or you can type the address from Windows Explorer.

-Type "adb push [location of boot.img for device] /sdcard/download"

**replace "[location of boot.img for device]" with location of boot.img for YOUR DEVICE. USING A BOOT.IMG FOR A DIFFERENT DEVICE WILL MOST LIKELY RESULT IN YOUR DEVICE BEING BRICKED!!! That being said, I have provided the software for Junsun A930/A931 for Android 5.1. If you have a different device, you will need the boot.img for it.

-Type "adb install [location of file explorer apk]" or install an file explorer from the Playstore, etc.

**replace "[location of file explorer apk]" with file explorer of your choice. I used ES Explorer.

7. Now open Magisk on the Rear View Mirror. (Make sure you're either connected to WiFi or Data)

**Be sure to grant it SuperUser Permission from Kingo SuperUser.

- Click "Install" next to "Magisk is not installed"

- Click "Install" on propt that pops up

- Choose "Select and patch a file" option.

- Scroll down and click on Es Explorer (or the file explorer you chose)

- Now go into the "download" folder and click the "boot.img"

- Click the option "File way"

**The "Normal Android Way" option kept failing for me.

- Let this complete.

8. Go back into ADB on the PC

- Type 'adb pull "sdcard/download/magisk_patched.img" C:/Downloads'

**You can replace "C:/Downloads" with whatever location you want to pull the file to on your computer.

9. Launch SP Flash Tool on your PC (provided in RootPack.zip)

-Load Scatter File by clicking the "Scatter-loading" button next to "Scatter-loading File" in the "Download" tab.

**This can be found in the firmware that I've provided, IF you have the Junsun A930/A931. If you have a different device, load the scatter file for it, instead.

-Now unclick all the boxes.

-Now click the box for "location" on the "boot" aisle.

-Select the "magisk_patched.img" that we just made from C:/Downloads or wherever you saved yours. Click "Open."

-It should have now have put the location of your "magisk_patched.img" file in the "location" box and the box next to the "boot" aisle should now be selected again (If not, make sure it is. Also, that it is the only one selected)

-Now click on the "Download" button (with the Green Arrow) at the top.

-Hold the home button the Rear View Mirror and click "Restart" (be sure to keep the mirror connect to the computer via USB)

-Now let the bar at the bottom finish.

-When it's done, there will be a pop-up that says "Download OK"

-Your device will restart

10. In your Mirror, launch Magisk Manager.

-Congratulations! The Magisk Installed option should now be green and you should have permaroot! Enjoy!

**You can now uninstall Kingo SuperUser.

Links:

Root Pack: https://drive.google.com/open?id=11poc-Pr30J_aPmhVJktuqZx1H9fkX371

Firmware: https://drive.google.com/open?id=19zUz_piQ6aiO_uGCQTmKpC9ErAR5-4xZ

A BIG THANK YOU TO THE DEVELOPERS AT MAGISK, KINGOROOT, MINIMAL ADB AND FASTBOOT, MTK DRIVERS, SP FLASH TOOL, XDA, AND EVERYONE ElSE WHO ATTRIBUTED TO THIS THROUGH DEVELOPMENT OF PROGRAMS USED! IF THIS WAS HELPFUL, BE SURE TO THANK ALL OF THEM!