Rooting Huawei Mediapad with Injecting superuser

Rooting Huawei mediapad with injecting su (superuser)binary to system.img.ex4 is the most difficult method. This method only can do in linux.

Preparation

  • Download and extract Official ROM, you can find it Here or huawei official website
  • Download fastboot tools

Injecting superuser to system.img.ext4

  1. Extract official ROM until you find dload folder
  2. Extract system.img.ext4 from dload/update.zip
  3. Copy system.img.ext4 to linux
  4. Mount image

    #mkdir /mnt/tmp
    #mount -o loop system.img.ext4 /mnt/tmp

  5. Then insert superuser binary to /mnt/tmp/xbin

    #cp su /mnt/tmp/xbin

  6. Fix superuser permission binary

    #chmod 6755 /mnt/tmp/xbin/su

  7. unmount image

    #umount /mnt/tmp

Related Post