Quote:
Originally Posted by Garret
I am supposed to receive the Leaf 2 today and join the club (ordered through ereader.store).
I have been reading all messages on this thread and also on the other ("Three new Boox readers") about the rooting process but admit I can't really get it at all.
I have had some experience in the past with installing roms in android devices and also Magisk on rooted devices but everything you have been mentioning (framework.jar, create a module with magisk, etc...) seems quite difficult and don't really get how to do it.
Do you know where can I find an easy guide to follow stepwise?
As I understand, it seems safe to update the device to the latest firmware when I receive it and then my plan was to root it, especially to avoid the device phoning home to China but to get the extra functionality with the keys as well.
Thank you very much in advance!
|
Unless you want to remap the side buttons, then the discussion about framework.jar and Magisk modules isn't relevant for you.
Basically, as you may already know, if you want to root with Magisk, you need the boot.img for your device. Getting boot.img for an Onyx device is where it gets complicated. Moreover, there are no custom recoveries like TWRP for the Leaf 2 yet. That takes away some rooting options.
I know of two options. One is to extract it from an update. Onyx sends out updates in the format update.upx, not update.zip. So, we need to convert one to the other. That's where DeBooxUpx.py comes in. Even when converted to update.zip, you still don't get boot.img, but a larger img file that contains it. So, you need another process to finally extract boot.img. Both need to be set up on your desktop or laptop.
The second option is to use edl mode. That requires installation of the proper packages on your desktop/laptop, enabling adb on your device, finding a loader for your device, and some dumb luck. Edl mode is finnicky, but a bit simpler as far as what you need to do beforehand to set it up.
I say this to give you an indication of what it might take to write up a guide for either process. The info is on this forum in bits and pieces. A written guide to rooting would be very useful. It would take time to do it well, though.