11-17-2022, 01:07 AM | #1 |
Enthusiast
Posts: 39
Karma: 10
Join Date: Dec 2018
Device: none
|
Boox Leaf 2 general discussion
Currently, discussions about Boox Leaf 2 are being spread across multiple threads, it would be nice if it can be in 1 place.
anyway, to help to start things up, some useful links
Last edited by orangpelupa; 12-03-2022 at 11:35 AM. Reason: Links |
11-17-2022, 03:53 AM | #2 |
Wizard
Posts: 2,898
Karma: 3933245
Join Date: Sep 2012
Location: Salzburg AT
Device: Bigme 3/3, Boox 4/14, Like-/Meebook 2/8, Tolino 1/10, Ki/Ko 0/8
|
|
Advert | |
|
11-20-2022, 05:40 AM | #3 |
Enthusiast
Posts: 39
Karma: 10
Join Date: Dec 2018
Device: none
|
i agree, a lot of topics are related to leaf.
unfortunately currently instead of posting them as new threads, a lot of people post them inside threads with different topics. |
11-23-2022, 03:45 AM | #4 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2010
Device: Kobo Glo HD, Onyx Boox Leaf 2
|
It was me who had asked how to root the device. I am not an expert at all on that so it would be nice if someone could write a tutorial.
|
11-23-2022, 03:52 AM | #5 |
Wizard
Posts: 2,898
Karma: 3933245
Join Date: Sep 2012
Location: Salzburg AT
Device: Bigme 3/3, Boox 4/14, Like-/Meebook 2/8, Tolino 1/10, Ki/Ko 0/8
|
|
Advert | |
|
11-23-2022, 08:34 AM | #6 | |
Onyx-maniac
Posts: 3,149
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Quote:
Rooting of them is pretty much all the same. There are explicit tutorials up already.
|
|
11-24-2022, 06:19 AM | #7 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2010
Device: Kobo Glo HD, Onyx Boox Leaf 2
|
I have issues with KOReader that it does not follow the rotation of the device, and the same is valid for the physical buttons. When I force the rotation on KOReader though its settings menu, the screen rotates but the physical buttons don't change accordingly.
I don't have issues with other android apps (like wallabag or feedme) but only with KOReader. Do you know how could I solve? |
11-24-2022, 08:28 AM | #8 |
Onyx-maniac
Posts: 3,149
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
You seem to be saying that you are using an option inside KOReader to rotate the screen.
Does that actually rotate the screen system-wise. Can you go to the system pull down and see that you're actually changing the system rotation (and not just how KOR renders privately). The keys are mapped through framework.jar, libinputreader.so and some layout in /system/usr/keylayout. I don't own one and I'm still unclear on what people are doing and whether they want the same button to do the same thing or whether they want a button in the same relative position to do the same thing. |
11-24-2022, 09:51 AM | #9 | |
Member
Posts: 10
Karma: 10
Join Date: Sep 2010
Device: Kobo Glo HD, Onyx Boox Leaf 2
|
Quote:
I would like the botton down to be page down, and that also should follow when I rotate 180 degrees the screen. That happens systemwise and with all the applications except for KOreader as written above. |
|
11-24-2022, 10:09 AM | #10 | |
Onyx-maniac
Posts: 3,149
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Quote:
It's easy to have an option inside an app that actually changes the system rotation. Why don't you just let the accelerometer change change the rotation? That way the system knows. Or use the system pulldown to change the rotation. Speaking of buttons always ends in confusion. If I hold the device with the buttons on the right and I push the button nearest me to go to the next page and I rotate the device so that buttons are on the left and push the buttons nearest me to go to the next page. Then the buttons are ROTATION MAPPED. In this case the physical buttons I pushed are different. This ROTATION MAPPING can be done in two different places. Inside Onyx custom code or in libinputreader.so. They could even negate each other. |
|
11-24-2022, 10:14 AM | #11 |
Wizard
Posts: 1,326
Karma: 4740000
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
|
11-24-2022, 10:28 AM | #12 |
Onyx-maniac
Posts: 3,149
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
As I said, the problem comes with EVERYBODY trying to rotate the buttons. If they patch KOReader for this it will screw up everybody else.
A well-behaved app doesn't try to second-guess the system. It shouldn't know how big the screen is, only how big a chunk of screen it received. Likewise for buttons. |
11-24-2022, 03:13 PM | #13 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2010
Device: Kobo Glo HD, Onyx Boox Leaf 2
|
It seems that the problem is Android on Onyx and all the other apps and not KOReader from what Renate writes (but I could be misunderstood ).
But anyway, it seems I have to live with that unless I root the device or patch KOReader? For curiosity, does the same happen on a Kobo Libra 2? |
11-24-2022, 03:42 PM | #14 |
Onyx-maniac
Posts: 3,149
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
You're working with too many unknowns.
You can attack this from either side. Preliminaries: Start with a fresh boot and don't touch the KOReader at all. Turn on Onyx auto rotate. Install and run UsbMode.apk in http://www.temblast.com/usbmode.htm Hold the Leaf2 in your right hand, press the A, then the B, note what happens. Hold the Leaf2 in your left hand, press the A, then the B, note what happens. See diagram. The A button is always the same physical button. Likewise B. |
12-02-2022, 06:06 AM | #15 |
Zealot
Posts: 136
Karma: 98
Join Date: Dec 2018
Device: Onyx Leaf 2 (White)
|
Here are some more detailed instructions on how to root the Leaf 2. I'm not sure if it's allowed to share the patched boot image on here?
1. Test if ADB and Fastboot are working, if the commands below don't work, install ADB and the Google USB drivers Code:
PS C:\00 - Standalone\ADB> .\adb.exe devices List of devices attached 1EED4B07 device PS C:\> adb reboot bootloader PS C:\> .\fastboot.exe devices 1EED4B07 fastboot PS C:\> .\fastboot.exe reboot rebooting... finished. total time: -0.000s 3. Right-click DeBooxUpx.py and open it in a text editor (I use VS Code), add the following to 'boox_strings = {}' Code:
'Leaf2': { "MODEL": "Leaf2", "STRING_SETTINGS": "okRZqgfOHft/Y5jHx1N0ECjqrc/Op/nADFj2uL7Jbuxq", "STRING_UPGRADE": "10Na33u5HfsCVHqjtwLrwACOW+2cz5MSnXUogONCTd9c" }, Code:
pip install pycryptodome 6. Add the update.upx to the decryptBooxUpdateUPX folder and run the following command in Powershell: Code:
python DebooxUpx.py Leaf2 8. Download Payload_Dumper and extract it (Allow it in Windows Defender or do it in a VM) 9. Put payload.bin in the payload_input and run payload_dumper.exe 10. Move the boot.img from the payload_output folder to the internal storage on your Leaf2 12. In Magisk tap: 'Install' > 'Next' > 'Select and Patch a File' > (Select your boot.img) > 'Let's Go' 13. Once complete, copy the 'magisk_patched-xxxxx_xxxxx.img to your PC 14. In Powershell run: Code:
adb reboot bootloader Code:
PS C:\> adb reboot bootloader PS C:\> fastboot devices 1EED4B07 fastboot PS C:\> fastboot boot .\magisk_patched-25200_r3xw3.img downloading 'boot.img'... OKAY [ 2.130s] booting... OKAY [ 0.143s] finished. total time: 2.274s 17. In Magisk tap: 'Install' > 'Next' > 'Direct Install (Recommended) > 'Let's Go' Last edited by denisuu; 12-02-2022 at 06:08 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to root a Boox Leaf (7") | Geremia | Onyx Boox | 42 | 11-10-2023 09:58 AM |
Setting Resolution on Boox Poke/Leaf | Mr.Shortstop | Onyx Boox | 4 | 06-28-2022 10:03 PM |
General Discussion of Genres | Nyssa | General Discussions | 37 | 03-17-2013 02:23 AM |