This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rooting Android 6.0 Marshmellow with Magisk on Windows
#1
I didn't see any instructions for this, so I had to figure it out for myself and I figured if anyone else was wanting to do this, I'd type it up.

Used some instructions from here: https://tinkerboarding.co.uk/forum/threa...l#pid10152

Create D:\Android
Download adb tool from https://dl.google.com/android/repository...indows.zip and install (guide at https://www.xda-developers.com/install-a...cos-linux/) extract to D:\Android\platform-tools
Download bootimg tool from htps://github.com/cofface/android_bootimg and extract to D:\Android\bootimg
Download Magisk Manager https://magiskmanager.com/downloading-magisk-manager and place the apk into D:\Android

Boot up Tinker Board and connect to your wifi network
Now pull the boot.img
Open up command prompt to D:\Android\platform-tools\
type:
    adb connect 192.168.0.xx (whatever the IP address of your TB is)
    adb root
    adb connect 192.168.0.xx (I've seen some people say they have to reconnect after doing "adb root", for me it just says "already connected to xxx" after typing this, but whateves, doesn't hurt)
    adb pull /dev/block/platform/ff0f0000.rksdmmc/by-name/boot ./boot.img (it might be under /dev/block/platform/ff0c0000.rksdmmc/by-name/boot if OS is installed on SD card)
    adb push D:\Android\platform-tools\boot.img /sdcard/Download
    adb install D:\Android\MagiskManager-v7.1.1.apk

Launch Magisk Manager on TB
Click Install and then download Magisk-v18.1.zip (when you launch Magisk Manager there are two INSTALL buttons in the middle of the screen - click the top one)
Click Install again and then Patch Boot Image File and browse to /sdcard/Download/boot.img
Back to command prompt:
    adb pull /sdcard/Download/patched_boot.img D:\Android

Copy patched_boot.img to D:\Android\bootimg folder and rename boot.img
command prompt in the D:\Android\bootimg\ folder:
    bootimg.exe --unpack-bootimg

Copy ramdisk.gz from D:\Android\bootimg to D:\Android\rkflashtool folder
Command prompt in D:\Android\rkflashtool\ folder:
    rkcrc.exe -k ramdisk.gz newboot.img

Command prompt in D:\Android\platform-tools\ folder:
    adb push D:\Android\rkflashtool\newboot.img /sdcard/Download
    adb shell
    $ su
    # dd if=/sdcard/Download/newboot.img of=/dev/block/platform/ff0f0000.rksdmmc/by-name/boot
    # exit
    $ exit
    adb reboot

------------------------------------

This seems to root the device, but it's borked. Root Explorer and Adguard work and can be given root access, but then Titanium Backup won't recognize the device is rooted, and neither will Adaway. If anyone has any solutions, I'm all ears.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)