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 11-21-2023, 02:47 PM   #1
SuiVu1fa
Member
SuiVu1fa began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Nov 2018
Device: Kindle
Root Boox Note Air 3C

I wonder whether it is possible to root Onyx Boox Note Air 3C? I do not see any post on it.

The output of `cat /proc/cpuinfo` is

Code:
Hardware	: Qualcomm Technologies, Inc KHAJE
which seems to be Qualcomm Snapdragon 680 (SM6225). I failed to find an EDL loader for that.

Thanks.
SuiVu1fa is offline   Reply With Quote
Old 11-21-2023, 09:03 PM   #2
Renate
Wizard
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 2,401
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Quote:
Originally Posted by SuiVu1fa View Post
I do not see any post on it.
You just started one.

Code:
Model:  NoteAir3C
Finger: Onyx/NoteAir3C/NoteAir3C:11/2023-10-17_09-55_3.5_a37b266eb/2482:user/test-keys
Link:   http://firmware-us-volc.boox.com/34a441f633e667cf64adaa74dbe0e477/update.upx
Size:   1575084503
MD5:    34a441f633e667cf64adaa74dbe0e477
There's a full update available, so you should be able to install Magisk easily.
We don't have the strings yet.
The easiest would be if you could pull and post this as there have been some changes recently.
Code:
adb pull /system/lib64/libota_jni.so
As far as EDL goes, that's very good to have but its absence won't prevent rooting.
I don't see any loaders offhand for that either, but loaders usually cover lots of models.
There can be problems with the memory and peripherals like PMIC.

You can go to EDL mode and then perform a basic query to get the info we need for loader.
Code:
adb reboot edl
edl.exe /l
That's for my Windows EDL client, the Python is similar but different.
Renate is offline   Reply With Quote
Advert
Old 11-21-2023, 09:22 PM   #3
SuiVu1fa
Member
SuiVu1fa began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Nov 2018
Device: Kindle
The decryption is slightly different. See https://github.com/Hagb/decryptBooxU...ent-1805154847

After that, there is no difficulty patching boot partition and flashing via fastboot. Does the root survive after upgrades? Or it might be usually possible to boot the previously patched boot partition then perform a "Direct Install" to the updated boot partition after every upgrade? Thanks.
SuiVu1fa is offline   Reply With Quote
Old 11-22-2023, 09:22 AM   #4
Renate
Wizard
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 2,401
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Quote:
Originally Posted by SuiVu1fa View Post
Or it might be usually possible to boot the previously patched boot partition then perform a "Direct Install" to the updated boot partition after every upgrade?
No. After an update grab the new boot image. Most problems with Magisk are because somebody flashed a boot image which was not related to the existing boot image.
Renate is offline   Reply With Quote
Old 11-22-2023, 11:55 AM   #5
SuiVu1fa
Member
SuiVu1fa began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Nov 2018
Device: Kindle
Quote:
Originally Posted by Renate View Post
No. After an update grab the new boot image. Most problems with Magisk are because somebody flashed a boot image which was not related to the existing boot image.
I am ignorant, but if I understand correctly, the boot partition contains a Linux kernel and an initramfs. There should be very few kernel-level updates in minor system upgrades, thus I guess that boot partitions should be pretty much compatible with various versions (my experience of backporting Linux kernels on computers seems to coincide with this).

Anyway, the approach I proposed does not involve "flashing a boot image not related to the existing boot image". I wanted to say that, use `fastboot boot` to boot the system with an old (Magisk-patched) boot image, and use Magisk to install itself on the boot partition.
SuiVu1fa is offline   Reply With Quote
Advert
Old 11-23-2023, 05:29 AM   #6
Renate
Wizard
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 2,401
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Boot images have a kernel, maybe a DTB, usually not a ramdisk.
Recovery images will have a ramdisk.
Version conflicts between kernel modules and kernels will prevent them from loading.
Renate is offline   Reply With Quote
Old 11-23-2023, 09:22 AM   #7
SuiVu1fa
Member
SuiVu1fa began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Nov 2018
Device: Kindle
Now let me try to seek a loader for EDL.

I run the python version of EDL without parameter (I am under Debian Linux), which returns

Code:
main - Trying with no loader given ...
main - Waiting for the device
main - Device detected :)
sahara - Protocol version: 2, Version supported: 1
main - Mode detected: sahara
sahara - 
Version 0x2
------------------------
HWID:              0x001b80e100000000 (MSM_ID:0x001b80e1,OEM_ID:0x0000,MODEL_ID:0x0000)
CPU detected:      "divar"
PK_HASH:           0xd40eee56f3194665574109a39267724ae7944134cd53cb767e293d3c40497955bc8a4519ff992b031fadc6355015ac87
Serial:            0x146292ab
I hope that these help.
SuiVu1fa is offline   Reply With Quote
Old 11-23-2023, 01:37 PM   #8
Renate
Wizard
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 2,401
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Quote:
Originally Posted by SuiVu1fa View Post
Now let me try to seek a loader for EDL.
There are three that pop out:
Code:
qualcomm/factory/sdm662/0014d0e100000000_d40eee56f3194665_FHPRG.bin
lenovo_motorola/0000000002e80000_abbcc86fe393b13d_fhprg.bin
lenovo_motorola/001b80e102e80000_8b2d1c830d9d8576_fhprg_moto_g52.bin
Try them.
Renate is offline   Reply With Quote
Old 11-23-2023, 03:17 PM   #9
SuiVu1fa
Member
SuiVu1fa began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Nov 2018
Device: Kindle
Code:
lenovo_motorola/001b80e102e80000_8b2d1c830d9d8576_fhprg_moto_g52.bin
I do not see this one. I tried the first two with

Code:
./edl printgpt --loader=[LOADER]
and it always ends up with (the loader shown in "Uploading loader ..." changes, but everything else remains the same: USB Error 19)

Code:
sahara - Protocol version: 2, Version supported: 1
sahara - Uploading loader Loaders/lenovo_motorola/0000000002e80000_abbcc86fe393b13d_fhprg.bin ...
sahara - 64-Bit mode detected.
sahara - Firehose mode detected, uploading...
sahara - Loader successfully uploaded.
main - Trying to connect to firehose loader ...
DeviceClass - USBError(19, 'No such device (it may have been disconnected)')
DeviceClass - USBError(19, 'No such device (it may have been disconnected)')
DeviceClass - USBError(19, 'No such device (it may have been disconnected)')
DeviceClass - USBError(19, 'No such device (it may have been disconnected)')
DeviceClass - USBError(19, 'No such device (it may have been disconnected)')
I tried to use a different cable, a different USB port, and connect it to a USB Hub, and it does not help.
SuiVu1fa is offline   Reply With Quote
Old 11-23-2023, 05:16 PM   #10
Renate
Wizard
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 2,401
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Quote:
Originally Posted by SuiVu1fa View Post
I do not see this one.
It's newish, 3 months ago.
https://github.com/bkerler/Loaders/b...g_moto_g52.bin
Renate is offline   Reply With Quote
Old 11-23-2023, 06:09 PM   #11
SuiVu1fa
Member
SuiVu1fa began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Nov 2018
Device: Kindle
Thanks. It starts to work miraculously (with any of these three loaders). It looks like that this is an A/B device from the result of printgpt. Unfortunately, the OTA update reboots the system automatically (otherwise one can patch boot right after the update), but it seems possible to set the active slot to the "older" one after update, patch the other boot partition of the updated slot, then reboot to the updated and patched slot.
SuiVu1fa is offline   Reply With Quote
Old 11-24-2023, 06:21 AM   #12
Renate
Wizard
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 2,401
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Quote:
Originally Posted by SuiVu1fa View Post
It starts to work miraculously...
Then only use the Qualcomm factory one. While the two Lenovo/Motorola ones (somewhat) work they have Motorola limitations built in.

Don't mess around with slots. The update gives you the boot image on a platter. Use it.
Renate is offline   Reply With Quote
Old 12-26-2023, 12:40 PM   #13
kyokugen
Junior Member
kyokugen began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2023
Device: Onyx Boox Air 3 C
I'm looking at getting one of these, so as of now, can these be rooted? If so, has anyone typed up any instructions yet?
kyokugen is offline   Reply With Quote
Old 12-26-2023, 12:50 PM   #14
SuiVu1fa
Member
SuiVu1fa began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Nov 2018
Device: Kindle
Quote:
Originally Posted by kyokugen View Post
I'm looking at getting one of these, so as of now, can these be rooted? If so, has anyone typed up any instructions yet?
Yes, they can be rooted.

1. Download the ROM that you want to root (usually the one that you are using).
2. Decrypt the ROM (decryptBooxUpdateUpx is already updated for Note Air 3C, thus now the usage is no different from that for other devices).
3. Patch the boot partition.
4. Flash the patched boot partition via fastboot.

I am using Linux (and I did not record the procedure), but as far as I see, the usual manual for Windows works as is.
SuiVu1fa is offline   Reply With Quote
Old 12-26-2023, 01:37 PM   #15
Renate
Wizard
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 2,401
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Quote:
Originally Posted by kyokugen View Post
I'm looking at getting one of these, so as of now, can these be rooted? If so, has anyone typed up any instructions yet?
It's pretty similar to this thread.
Of course you start with the the correct update.upx
Renate is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Root the Onyx Boox Note Air 2 Plus (Windows) Chitter Onyx Boox 114 03-28-2024 11:45 AM
Root for Note Air 2? downeaster59 Onyx Boox 187 11-08-2023 05:54 PM
Ended Boox Note Air 2 downeaster59 Flea Market 3 11-22-2022 08:59 AM
Ended Looking for Boox Note 2 or Air (or other?) Neru Flea Market 2 09-15-2022 08:09 AM
Boox Note Air 2 Plus Sonnenfee Android 0 06-16-2022 08:29 AM


All times are GMT -4. The time now is 12:04 AM.


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