Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old 01-24-2023, 05:17 AM   #1
luismc
Junior Member
luismc began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2023
Device: Onyx Boox Max2, Kobo Aura, Sony PRS-505
Failing to root a Max2 with 3.3.1 firmware

I've just bought a second hand Max2 that I'm trying to root with no success.

It came with version 1.8.3 from 2018, that couldn't connect to my wireless AP using WPA. After temporarily disabling authentication on my AP, I did an OTA update and I got version 3.3.1.

I obtained the same version's update bundle from the URL that I got from: http://en-data.onyx-international.cn/api/firmware/update?where={"buildNumber":0,"buildType":"user"," deviceMAC":"","lang":"en_US","model":"Max2","submo del":"","fingerprint":""}

I decrypted it with https://github.com/Hagb/decryptBooxUpdateUpx and I extracted the update.zip. I pushed boot.img to the ereader, installed Magisk, generated the patched image and pulled it back to the computer.

Enabled developer mode, enabled ADB, etc...

The device seemed to be locked. After looking at several ways of unlocking it, I managed to unlock it by doing:

Code:
$ fastboot oem unlock ; fastboot oem unlock_accept
After automatically rebooting and doing a factory reset:

Code:
$ fastboot getvar unlocked 
unlocked: yes
Finished. Total time: 0.000s
And now the problems start. 'flashing unlock' gives and error, although I don't think I need it.

Code:
$ fastboot flashing unlock
                                                   FAILED (remote: '')
fastboot: error: Command failed
Code:
$ fastboot boot magisk_patched-25200_2WNQW.img
doesn't work. The led stays blue, nothing changes in the screen and the device disappears from the USB bus. Same thing happens with the original image:

Quote:
$ fastboot boot boot.img
which is weird.

I did:

Code:
$ fastboot flash boot boot.img
and the device rebooted fine, so I took the risk and tried flashing the patched image:

Quote:
$ fastboot flash boot magisk_patched-25200_2WNQW.img
This breaks it and the device boots directly into recovery. Thankfully from there I can easily sideload the full image using ADB.

I've tried a few times with different magisk patched images using all combinations of the two options, verity and vbmeta (which I don't think I need anyway) with same results.

In summary:

- 'fastboot boot' doesn't work, the device hangs
- flashing the original boot.img doesn't break anything
- flasiing magisk patched images forces the device to always boot into recovery

Has anyone managed to root a Max2 with a recent firmware?

Additional questions:

- Is there any way to boot into fastboot mode using some key combination or from the recovery? At the moment, the process of having to sideload the full image to recover full adb access to be able to reboot into fastboot again is quite time consuming. It'd be great if I could just flash the original boot.img each time that boot breaks after flashing a patched one. I have not been able to boot into recovery (with a working system) either with the process I've seen around, pressing the power button for 7 seconds and then pulse it 5 times; it just boots normally.

- 3.3.1 feels sluggish, it's the main reason I wanted to root it, so I could try to tweak a few things. The main limitation seems to be the 2GB of RAM; most of the time the CPUs are just on iowait state, probably just moving pages back and forth from zram. I'm wondering if some previous version is less demanding in resources and works better. What versions are people here using?

- Are there any RockChip tools compatible with this device that allow to do a full dump and flash the device? I thought I could try the recovery image method of Magisk, but I worried that if I brick the recovery too I won't be able to restore the device again.
luismc is offline   Reply With Quote
Old 02-02-2023, 05:32 PM   #2
luismc
Junior Member
luismc began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2023
Device: Onyx Boox Max2, Kobo Aura, Sony PRS-505
In case anyone here finds the information useful, and for the records, I finally managed to root the Max2 following some hints I was given on Reddit: using some RockChip flashing tools to dump the system partition (upgrade_tool and rkflashtool), mounting it on my Linux system, installing SuperSU manually on it and flashing it back.
luismc is offline   Reply With Quote
Advert
Old 06-03-2024, 05:19 AM   #3
kioftes
Junior Member
kioftes began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2024
Device: onyx boox max2 pro
Sorry to bump, could you share what you did to tweak your max2? How did you manually install supersu on the mounted partition?

Thanks!!
kioftes is offline   Reply With Quote
Reply

Tags
max2, root


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle App on Max2 (Firmware 2.1.2) readnsleep Onyx Boox 4 08-04-2019 10:32 PM
Firmware 2.0.1 for Note and Max2 released rafail Onyx Boox 9 12-30-2018 10:27 AM
Root onyx boox max2 deb2016 Onyx Boox 41 12-01-2018 02:37 PM
New Firmware 1.9.0 Max2 & Note DenisR Onyx Boox 27 08-11-2018 03:07 AM
Onyx Boox Max2/Max2 Pro (13.3) compared with Note 10.3 gandoe Onyx Boox 11 04-03-2018 04:22 PM


All times are GMT -4. The time now is 12:21 PM.


MobileRead.com is a privately owned, operated and funded community.