Tired of being locked out of the full potential of your brand new AI companion that's really just Android with a Flutter App?
Well, look no further!
The following collection of scripts will do the following:
You probably need to do nothing, except have a Linux machine with root access (sudo).
If you're using a custom kernel, make sure cdc_acm
module is present and loaded.
Please note, currently only amd64/x86_64 systems are supported. It will not work on ARM PCs.
(If you do manage to get it working using box64, I'd be happy to merge it!)
The script currently supports Arch, Debian and Fedora distros.
You will need adb/fastboot drivers, you can grab them straight from Google, XDA or use Koush's driver package:
XDA and Koush's all-in-one package is possibly a bit dated, but will do the job.
You will also require MediaTek Preloader USB VCOM drivers. Now, there are many sources on rather shady websites, but I suggest grabbing them from an OEM's instructions directly, for example:
Windows might also automatically try downloading and installing these drivers, but your mileage may vary.
Okay, lets get down to business.
Set-ExecutionPolicy unrestricted
r1.ps1
.\r1.ps1
./r1.sh
If the script stalls at any point, please check devmgmt.msc
- Device Manager, and select the appropriate driver.
If the script says "Plug in USB" or similar, you may need to select any "Preloader USB VCOM" driver
If the script says "Waiting for device" or similar, you may need to select any "fastboot" driver.
¯\_(ツ)_/¯
Upon booting, you may be spammed with notifications saying "Your device isn't certified". This is currently normal, and you can workaround this by following here: https://www.google.com/android/uncertified
(Thanks to @jadentha and @Davis8483!)
Download and unzip a r1 backup.
Run mtkclient from the command line using:
On Windows: python mtk wl "path\to\backup" --serialport
On Linux: python mtk.py wl "path\to\backup"
(or use mtkclient-GUI).
(If you have issues with slow write speeds, follow this issue).
Sit back and relax as your r1 is reset back to stock. This could take 20 minutes up to a few hours.