Originally Posted by nsking
I have a Meebook M6A, and I have successfully rooted it.

Like many of you, this device does not have the "OEM Unlock" option in the Settings - Developer Options. However, when I checked using adb shell with the command "getprop | grep lock", I found that the value of "ro.oem_unlock_supported" is "1" on this device. Hence, I believe the OEM unlock is actually enabled. Following this, I used adb reboot bootloader and then entered the fastboot flashing unlock command to successfully unlock the device.
Next, I attempted to sideload a userdebug mode GSI (i use "andyyan-gsi") using the "dsu sideload" tool, but it didn't work as the device got stuck at the logo during boot. However, I noticed that the device was still accessible via adb. I discovered that the adb shell could switch to root using su -. This indicated that the GSI was successfully flashed, but some customizations from the manufacturer prevented it from taking control of the display.
Afterwards, I reinserted the TF card to get it recognized (on my device, its name is mmcblk0p1, and you need to manually mount it to an empty directory). Then, I used "dd if=/dev/block/mmcblk2 | gzip -c > /xxx/xxx/xxx.img.gz" to back up the entire eMMC to the memory card and "dd if=/dev/block/by-name/boot_a of=/xxx/xxx/xxx.img.gz" to back up the boot partition. The next steps were straightforward: use Magisk to patch the boot image and flash it (note the fastboot a/b slot). The first boot after flashing will be slow, so just wait patiently.
--------------
###I cant speak english very well,, so the above content was translated from Chinese by GPT. Thank you for your understanding.
|