Ich habe meine Schritte fürs Rooten von meinem Shift6m dokumentiert, die ich gerne mit euch teile. Die Anleitung ist auf englisch, da die meisten Schritte aus anderen englischen Anleitungen übernommen habe.
I documented the steps I performed for rooting my Shift6m. It is created from most of the above linked sources. This introduction is surely not foolproof, but should get everybody going who knows what adb and fastboot is.
If you already have Magisk installed, it is strongly recommended to upgrade directly via Magisk Manager
Instructions for installing the first time only:
Download latest full OTA ->
https://forum.shiftphones.com/resources/
Download payload_dumper-win64.zip ->
https://androidfilehost.com/?fid=818070582850510260
Use dumper to extract boot.img from OTA
Copy boot.img to phone
Enable developer mode
In developer menu: Allow OEM unlock
In developer menu: Enable USB debugging
If you need ADB:
Download the ADB ZIP file for Windows ->
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Download and install Google USB Driver ->
https://developer.android.com/studio/run/win-usb
Reboot PC
Type "adb devices" and authorize access
Install the latest Magisk Manager ->
https://github.com/topjohnwu/Magisk/releases
Press Install > Install > Patch Boot Image File, and select your stock boot image file (boot.img from above)
Magisk Manager will now patch your boot image, and store it in [Internal Storage]/Download/patched_boot.img
Copy patched_boot.img back to PC -> adb pull /sdcard/Download/patched_boot.img
Start phone in fastboot mode -> adb reboot bootloader (Note: Text stating that FASTBOOT mode is enabled is VERY small!)
Type: fastboot getvar all
If "< waiting for any device >"
Open Windows Device Manager, find "Android" device with yellow exclamation mark
Install driver by choosing path to Google USB Driver from above, select "Android Bootloader Interface", dismiss warning that driver may no work
Now fastboot shows output. Optionally, search for line:
(bootloader) current-slot:_XXX
Unlock boot loader -> fastboot oem unlock -> then "Volume up" to confirm
Flash the patched boot image to your device. THIS WILL REMOVE ALL DATA FROM PHONE!! -> fastboot flash boot /path/to/patched_boot.img
You'll see that bootloader is flashed to current-slot from above. If you see error message similar to "cannot write to boot__a", use the given slot but remove the duplicated underscore and try again, e.g. "fastboot flash boot_a /path/to/patched_boot.img"
Reboot phone. This can take VERY long!! -> fastboot reboot
During boot you'll see warning:
"Orange state: Your device has been unlocked and can't be trusted"
Just ignore that.
Open app "Magisk Manager" and make sure it is correctly installed. Done! Apps can request root access!
If not, try rebooting. If still no success, start from beginning.