A comprehensive, step-by-step practical guide for unlocking, backing up, rooting, and unbricking the Bigme B6 and Bigme HiBreak (MT6765 / Helio P35) on Linux (Arch / Ubuntu / Debian / Fedora).
- Device Architecture & Prerequisites
- Workstation Environment Setup
- Installing MTKClient (With Bigme Auto-Reboot Fix)
- Linux USB & Udev Permissions
- Step 1: Enable Developer Options & OEM Unlocking
- Step 2: Bootloader Unlocking
- Step 3: Full Partition Backup (Crucial Safety Net)
- Step 4: Rooting with Magisk
- Step 5: Recovery, Restore & Unbricking
- Troubleshooting & Hardware Quirks
- SoC: MediaTek Helio P35 (MT6765)
- Architecture: AArch64 (ARM64), 64-bit kernel with 32/64-bit userspace
- Partition Layout: A/B slot system-as-root with dynamic partitions (
super), active boot slot typically_a. - Hardware Buttons: Single physical Power button (no physical Volume Up/Down buttons for standard Android recovery combos).
- Low-Level Interface: MediaTek BootROM (BROM) exposed over USB (
0e8d:0003).
- Bigme B6 / HiBreak device with battery charged to at least 50%.
- Quality USB-C Cable (data-capable; avoid charging-only cables).
- Linux PC (Arch Linux, Ubuntu/Debian, or Fedora).
sudo pacman -S android-tools python python-pip python-pipx git libusbsudo apt update
sudo apt install android-tools-adb android-tools-fastboot python3 python3-pip pipx git libusb-1.0-0-devsudo dnf install android-tools python3 python3-pip pipx git libusbx-develwhich adb fastboot python3 pipx gitEnsure all commands resolve successfully.
Important
Why use our custom fork instead of upstream?
Standard upstream bkerler/mtkclient has a critical limitation on MT6765 devices: the hardware watchdog timer is disabled (enablewdt = 0) upon DA shutdown. Because the Bigme B6 only has a single physical power button and no hardware recovery keys, the device locks up or enters an unbootable offline charging loop after flashing, forcing manual power button holding.
Our fork (right9code/mtkclient) writes directly to the MT6765 hardware watchdog register (0x10007014 = 0x1209) and introduces the --reboot and --fastboot flags. This enables 100% automated flashing and instant rebooting with zero physical button presses.
pipx installs the tool into an isolated virtual environment while making the mtk binary available globally across your shell:
# Ensure pipx environment path is configured
pipx ensurepath
# Install directly from the patched GitHub repository
pipx install git+https://github.com/right9code/mtkclient.git --forcemkdir -p ~/BigmeRoot && cd ~/BigmeRoot
git clone https://github.com/right9code/mtkclient.git
cd mtkclient
pipx install . --forceRun:
mtk w -h | grep -E "reboot|fastboot"Expected output:
--reboot Reboot device to Android after DA operation
--fastboot Reboot device to Fastboot mode after DA operation
If you see these two flags, your setup has the auto-reboot watchdog fix.
MediaTek BROM and Preloader interfaces operate via USB vendor ID 0e8d. Configure udev rules so that non-root users can communicate with the device.
Run the following commands to create /etc/udev/rules.d/51-edl.rules:
sudo bash -c 'cat << "EOF" > /etc/udev/rules.d/51-edl.rules
# MediaTek BootROM & Preloader
SUBSYSTEM=="usb", ATTR{idVendor}=="0e8d", ATTR{idProduct}=="0003", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0e8d", ATTR{idProduct}=="2000", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0e8d", MODE="0666"
# Android ADB & Fastboot
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666"
EOF'ModemManager can grab the MediaTek serial port and disrupt the BROM handshake. Filter or stop it:
sudo udevadm control --reload-rules
sudo udevadm trigger
# If ModemManager is active, temporarily disable it during flashing
sudo systemctl stop ModemManager.service 2>/dev/null || true- On your Bigme device, navigate to Settings > About Tablet / Device.
- Locate Build number and tap it 7 to 10 times until the prompt "You are now a developer!" appears.
- Go back to Settings > System > Developer options.
- Enable:
- OEM unlocking (Allows bootloader unlock)
- USB debugging (Allows ADB commands)
- Plug the device into your PC with the USB cable.
- A prompt will appear on the device screen asking to allow USB debugging: check "Always allow from this computer" and tap Allow.
adb devicesExpected Output:
List of devices attached
B6BWE0W2GF4A006000461 device
Warning
Unlocking the bootloader erases user data and triggers a factory reset. Ensure any critical documents or files on the device are backed up first.
If your device's bootloader is already unlocked, you can skip to Step 3. Otherwise, follow these steps:
- Launch MTKClient unlock listener in a terminal:
mtk da seccfg unlock
- Power off the device:
adb reboot poweroff
- Connect the USB cable while holding the Power button for 3–5 seconds until MTKClient detects the BootROM.
- If prompted to erase user data to complete the unlock:
mtk e metadata,userdata,md_udc
- Power on the device. (If it does not boot immediately, tap the power button periodically until the boot splash displays).
Before modifying any partition, creating a complete backup of your device's stock partitions is essential for unbricking.
Because adb reboot briefly cycles through the BootROM initialization phase, you do not need to manually juggle cables or buttons:
- Create a working backup folder:
mkdir -p ~/BigmeRoot/backup_stock && cd ~/BigmeRoot
- Start the MTKClient partition read listener in the background:
mtk rl backup_stock & - Trigger a system reboot via ADB:
adb reboot
- MTKClient will instantly catch the device in BROM mode during the reboot sequence and begin reading all flash partitions.
(Note: Reading all partitions including large user storage may take 15–30 minutes. If you only want critical boot and system images, you can read specific partitions using mtk r boot_a,vbmeta_a,lk_a,recovery_a backup_stock/).
Inspect the pulled files:
cd ~/BigmeRoot/backup_stock
# 1. Verify boot partition exists and has correct Android header
od -A x -t x1z -N 16 boot_a.bin
# Expected output contains: "ANDROID!"
# 2. Verify vbmeta partition
od -A x -t x1z -N 16 vbmeta_a.bin
# Expected output contains: "AVB0"
# 3. Check boot image details
file boot_a.bin
# Expected output: Android bootimg, kernel, page size: 2048...Download and install the official Magisk Manager APK onto your Bigme device:
cd ~/BigmeRoot
curl -sL "https://github.com/topjohnwu/Magisk/releases/download/v30.7/Magisk-v30.7.apk" -o magisk.apk
adb install -r magisk.apkCopy the verified boot_a.bin to the device's internal storage:
adb push ~/BigmeRoot/backup_stock/boot_a.bin /sdcard/Download/boot_a.bin- On your Bigme device, open the Magisk app.
- In the top Magisk card, tap Install.
- Under Method, tap Select and Patch a File.
- In the file picker, browse to Downloads and select
boot_a.bin. - Tap LET'S GO. Magisk will unpack the kernel, patch the ramdisk, and repack the image.
- Look at the output log; it will output:
Output file is written to /storage/emulated/0/Download/magisk_patched-XXXXX_XXXXX.img - All done!
From your Linux PC terminal, retrieve the newly created patched boot image:
# Locate the generated file name
adb shell ls /sdcard/Download/magisk_patched*
# Pull the image to your workstation as patched_boot_a.img
adb pull $(adb shell ls /sdcard/Download/magisk_patched* | tr -d '\r') ~/BigmeRoot/patched_boot_a.img
# Verify file integrity
file ~/BigmeRoot/patched_boot_a.img
# Expected: Android bootimg...Choose either of the two methods below. Method 1 is recommended as it is fully automated with zero physical interaction.
Using our watchdog-enabled fork of MTKClient, you can write the partition and auto-reboot:
cd ~/BigmeRoot
# 1. Start the flash listener with automatic hardware reboot flag
mtk w boot_a patched_boot_a.img --reboot &
# 2. Trigger reboot via ADB
adb rebootWhat happens:
- Device reboots.
- MTKClient catches the BROM interface.
- MTKClient uploads the DA (Download Agent) and writes
patched_boot_a.imgintoboot_a. - MTKClient writes the MT6765 hardware watchdog reset trigger (
0x10007014 = 0x1209). - The device automatically boots straight into rooted Android without touching any physical button!
If you prefer standard Android fastboot:
# 1. Reboot device into fastboot mode
adb reboot fastboot
# 2. Check active slot (typically 'a')
fastboot getvar current-slot
# 3. Flash the patched boot image to the active boot slot
fastboot flash boot_a ~/BigmeRoot/patched_boot_a.img
# 4. Reboot device
fastboot rebootOnce the device boots up to the desktop:
- Open Magisk Manager on the device. It should now state Installed: 30.7 (or your version).
- Test root access in your terminal via ADB:
Expected output:
adb shell "su -c 'id'"uid=0(root) gid=0(root) groups=0(root) context=u:r:magisk:s0 - A superuser prompt will appear on your e-ink screen — tap Grant (or Remember permanently).
Congratulations! Your Bigme device is now fully rooted.
If the device ever fails to boot, encounters a bootloop, or you want to return to 100% stock firmware:
Since rooting only modifies the boot_a partition, reflashing your stock boot_a.bin immediately restores the original state:
cd ~/BigmeRoot
# Automated BROM restore
mtk w boot_a backup_stock/boot_a.bin --reboot &
adb rebootIf the device is completely powered off or won't boot past the splash screen:
- Open a terminal and run:
mtk w boot_a backup_stock/boot_a.bin --reboot
- Make sure the USB cable is unplugged.
- Hold the Power button for 10–15 seconds to ensure the device is completely powered off.
- Insert the USB cable into the PC while holding the Power button for 3 seconds.
- MTKClient will detect the hardware BROM and flash the stock image.
| Symptom | Cause | Solution |
|---|---|---|
Permission denied on USB |
Missing or unloaded udev rules | Ensure /etc/udev/rules.d/51-edl.rules is installed and run sudo udevadm control --reload-rules && sudo udevadm trigger. |
| Device freezes in black screen after flashing | Standard upstream mtkclient disables the hardware watchdog timer |
Use the patched fork (pipx install git+https://github.com/right9code/mtkclient.git --force) with the --reboot flag. |
BROM mode not detected on adb reboot |
Port timing issue | Power off device completely with adb reboot poweroff. Start mtk <command>, then connect USB while holding Power for 3 seconds. |
INSTALL_FAILED_UPDATE_INCOMPATIBLE |
Signature mismatch when installing APKs | Run adb uninstall <package_name> prior to installing a differently signed build. |
| ModemManager serial port contention | Linux ModemManager attempting AT handshake on BROM port | Run sudo systemctl stop ModemManager.service. |
~/BigmeRoot/
├── backup_stock/
│ ├── boot_a.bin # Untouched stock boot image (Keep safe!)
│ ├── vbmeta_a.bin # Verified boot metadata
│ └── lk_a.bin # Little Kernel bootloader
├── patched_boot_a.img # Magisk-rooted boot image
└── magisk.apk # Magisk Manager app