Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50069

Rooting the Poke5

$
0
0
I bought a Poke5 half a year ago but kept on using my Poke3 because of two (for me) intolerable things that I had fixed on the Poke3 but hadn't on the Poke5. I prefer to root without Magisk if I can, with Magisk if I must.

So, the first step is to update to the latest Poke5 update.
If you use Wifi on your device you could do the normal update.
But since you need the update anyway, download the update to your desktop.
Code:

Model:  Poke5P
Finger: Onyx/Poke5P/Poke5P:11/2023-11-17_05-41_3.5_801526b7d/6777:user/dev-keys
Link:  http://firmware-us-volc.boox.com/9ba08e866b3617763dadb55a2ccda422/update.upx
Size:  1600986982
MD5:    9ba08e866b3617763dadb55a2ccda422

When it's on your desktop:
Code:

adb push update.upx sdcard
am start -a onyx.settings.action.firmware

Say yes to update.

Now you need to get stuff from the update.upx for your own nefarious purposes.
We would be using DeBooxUpx.py, but you must use the patched version attached.
You need to have Python installed. It might handle .py files automatically or you might have to say "python DeBooxUpx.py".
Code:

DeBooxUpx.py Poke5P update.upx update.zip
Notice that that says "Poke5P" with a "P" at the end.
This should make update.zip which is the same size, 1600986982

Now you use your normal unzipper (7zip or friends) to get payload.bin:
Code:

7zip x update.zip payload.bin
You should have a file 1,600,983,123.

Now you want to get a few files out of that.
You need https://drive.google.com/file/d/1Qps...lK6v2gJSi/view
You can unzip this and there is only one file you need "payload_dumper.py".
The other file is obsolete and you use the attached file "update_metadata_pb2.py".
The two files must be put in the same directory.
Code:

payload_dumper.py update.zip
When it's done you should have boot.img and vbmeta.img and some other files.

Now get Magisk from https://github.com/topjohnwu/Magisk, "Latest release" and install it.
Code:

adb push boot.img sdcard
Run Magisk, select install, select /sdcard/boot.img and let it fly.
Code:

adb pull sdcard/Download/magisk_patched-12345678.img
(It will be named something random.)

Now we're ready to burn!
Code:

adb reboot fastboot
fastboot devices
fastboot getvar current-slot

This is your slot, remember it, do all the commands with _a or _b using your own letter.
Code:

fastboot --disable-verity  --disable-verification flash vbmeta_a vbmeta.img
fastboot flash boot_a magisk_patched-12345678.img
fastboot reboot

That's all there is to it!
Ok, this is intentionally complete so anybody can follow it if things change.
Some civic-oriented person can post completed things which will work only if your device is the same.

Attached Files
File Type: zip poke5.zip (7.6 KB)

Viewing all articles
Browse latest Browse all 50069

Latest Images

Trending Articles



Latest Images