![]() |
#16 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2023
Device: Onyx Boox Air 3 C
|
Quote:
|
|
![]() |
![]() |
![]() |
#18 |
Member
![]() Posts: 19
Karma: 10
Join Date: Nov 2018
Device: Kindle
|
How do you get the link to the `update.upx` for Note Air 3C? There is an update now. Last time, I got the link from packet sniffer, but there should be a better way.
Furthermore, is it possible to sideload `update.upx` from the one downloaded on the computer? Thanks. |
![]() |
![]() |
![]() |
#19 | |
Connoisseur
![]() Posts: 71
Karma: 66
Join Date: Jan 2024
Device: Boox Note Air 3
|
Quote:
http://data.onyx-international.cn/ap...t%22:%22%22%7D Run these commands to install it. adb push update.upx sdcard adb shell am start -a onyx.settings.action.firmware |
|
![]() |
![]() |
![]() |
#20 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 36
Karma: 8888
Join Date: Mar 2016
Device: Onyx Boox Max
|
So, I'm trying to root this thing. It got recently upgraded to 3.5.4: NoteAir3C_2024-09-10_21-41_3.5.4_1a0fe4e9b.
I could not find any EDL loader that works. I'm on Linux. Tried everything that could make sense, it either errors straight away ("Mode detected: error"), or breaks somewhere soon enough: Code:
$ ./edl/edl --loader $l --memory=UFS printgpt Loading Loaders/lenovo_motorola/001b80e102e80000_8b2d1c830d9d8576_fhprg_moto_g52.bin Capstone library is missing (optional). Keystone library is missing (optional). Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2024. main - Using loader Loaders/lenovo_motorola/001b80e102e80000_8b2d1c830d9d8576_fhprg_moto_g52.bin ... main - Waiting for the device main - Device detected :) main - Mode detected: sahara Traceback (most recent call last): File "/home/john/Work/android-tools/./edl/edl", line 393, in <module> base.run() File "/home/john/Work/android-tools/./edl/edl", line 293, in run version = conninfo.get("data").version ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: type object 'req' has no attribute 'version' So I decided to go straight for root from the official update.upx: Code:
$ fastboot flash boot magisk_patched-27000_bucD7.img Sending 'boot_b' (98304 KB) OKAY [ 2.700s] Writing 'boot_b' FAILED (remote: 'unknown command') fastboot: error: Command failed Is this some "upgrade" brought along by the 3.5.4, or is there something special about my setup? Know of a loader that works? Something else I should try? Note that I'm pretty technical. Thanks |
![]() |
![]() |
![]() |
#21 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,930
Karma: 17500001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
fastboot has been chopped down and now does not do anything useful.
Do not use a Motorola loader. That _g52.bin file is restricted. Even if you got it working it would not be able to access all of flash. (Yes, I suggested it previously, but I can learn stuff in a year.) The thing is, you're not bound by the hash so the possibilities is larger. In such cases I run an automated trial and can try 1000 loaders in 20 minutes. But I don't have one of these NoteAir3C. Try https://github.com/bkerler/Loaders/t...eneric/qcm2290 |
![]() |
![]() |
![]() |
#22 | |||
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 36
Karma: 8888
Join Date: Mar 2016
Device: Onyx Boox Max
|
@Renate, thanks for the reply.
Quote:
Quote:
Quote:
Code:
$ shopt -s globstar $ for l in Loaders/qualcomm/**/*.{bin,elf,mbn}; do > echo "== Loading $l" > ./edl/edl printgpt --loader $l > echo; echo > sleep 1 > echo "== Loading $l / UFS" > ./edl/edl printgpt --loader $l --memory ufs > echo; echo; > sleep 1 > done Code:
main - Device detected :) main - Mode detected: sahara Traceback (most recent call last): File "/home/john/Work/android-tools/./edl/edl", line 293, in run version = conninfo.get("data").version ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: type object 'req' has no attribute 'version' I could do a script to run unattended on /everything/. But I somehow feel I won't get differing results. @Renate such brute force works for you without any need to reset the connection between attempts with different loaders? |
|||
![]() |
![]() |
![]() |
#23 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 36
Karma: 8888
Join Date: Mar 2016
Device: Onyx Boox Max
|
Quote:
I wonder if the know-how within decryptBooxUpdateUpx could be used for the reverse operation: to build a signed update.upx, or the encryption is asymmetric. |
|
![]() |
![]() |
![]() |
#24 | |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,930
Karma: 17500001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Quote:
You need to do a full reset between trials. But the good news is, most (all?) Firehose loaders don't care about batteries and certainly the PBL has no idea of what a battery is. That means you can run basic operations with PBL and loading a Firehose loader without the battery connected. Of course it has to get power over USB. But it doesn't need much, just 100 mA or so (vs. the 1000 mA or more for booting the full multicore OS). So if you have a software controlled relay (or software power supply) you can use it to disconnect the USB power for a second to do a full reset. Note that I am not claiming that flashing a whole device while running only on USB without a battery is the best idea. AES is symmetric. You can turn a zip into a upx. But that won't get you much. |
|
![]() |
![]() |
![]() |
#25 | ||
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 36
Karma: 8888
Join Date: Mar 2016
Device: Onyx Boox Max
|
Quote:
This doesn't scare me, and I bet I could come up with something using a microcontroller... I'm just not all that fond of taking the thing apart. :) (but I do have a heatgun :) ) I'll write a script then to monitor for its appearance, put it into edl, monitor again, and then try the loader. And do much manual shutting down. Do you have any hints for making my life easier? Try only ufs? I'll focus on the “obvious“ loaders in the beginning. Quote:
P S.: thanks so much for the input. very valuable. |
||
![]() |
![]() |
![]() |
#26 | |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,930
Karma: 17500001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Quote:
I bought an old TinkerKit DMX controller with 4 relays for $5 and rewrote the software to be a USB controlled relay set. I also have a little homebrew CV/CC power supply that is USB controlled. I can use that to generate the 5V for USB Vbus. Oh, I forgot to mention. You have to jumper the EDL test points so that it will come up in EDL mode all the time. Finding the EDL test points is a big theme. In olden days Onyx made it obvious. Now they are tricky. Compare the test points of the Poke3 (reed.jpg) vs. the Poke5 (reed3.jpg). Both of these have a reed magnetic switch on them so that I can always get to EDL without opening the cases (again). You could also just use the power button. You could mechanically press it. You could electrically press it. It's easy enough to find with a DVM. Moreover, they always have an accessible test point for powering up the board by itself. Worst case, 10 second press of power button, 30 second normal boot up to system, "adb reboot edl" to get to edl mode, loader attempt, repeat. Loaders have some combination of support for eMMC, UFS, NAND, NOR. But you don't have to specify that until after you get the loader loaded. Loaders also support some subset of processors AND some subset of power management ICs. So without the limitation of PK hash, the field is wide open. For most folks, simply installing Magisk is the easy way out. If you're going to be difficult (I am) you can patch the kernel, resize internal partitioning of super, unshare system & vendor, rewrite sepolicy... |
|
![]() |
![]() |
![]() |
#27 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Sep 2024
Device: Boox Note Air 3C
|
Hi! I've been trying to root my new NA3C (via a macbook) for the past few days, and scouring so so many threads here, to no avail. I'm also getting the same issue of fastboot rejecting the commands that work in other threads. E.g.,
Code:
./fastboot flash boot ./magisk_patched.img -v fastboot: verbose: Do flash boot_b /Users/me/workspace/boox_workspace/platform-tools/magisk_patched.img fastboot: verbose: target reported max-download-size of 788750336 bytes Sending 'boot_b' (98304 KB) OKAY [ 2.331s] Writing 'boot_b' FAILED (remote: 'unknown command') fastboot: error: Command failed From what I gathered, is this the goal?
Just wanted to add a post here to give it some attention too. Good luck with the EDL search! |
![]() |
![]() |
![]() |
#28 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2024
Device: Onyx Boox Note Air 3 C
|
I'm in the same boat! Got my NA3C a week or two ago, and I'm reading up on rooting threads. I was hoping the rooting would be easier. Seems like we are too late to the party and are stuck until we find a workable EDL loader to get at the NA3C
|
![]() |
![]() |
![]() |
#29 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,930
Karma: 17500001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
I don't get it. Way back on page 1 of this thread somebody got loaders to work.
You've got to always start with it freshly booted to EDL mode. If you screw up, you can't just keep trying things and having them fail. You have to have reliable USB cables and ports. If you use my Windows EDL client I will help you. If you use something else that is spouting nonsense errors ("phlogiston has gone critical in reactor #3) then I can't help. |
![]() |
![]() |
![]() |
#30 |
Member
![]() Posts: 25
Karma: 24
Join Date: Dec 2016
Device: none
|
I am about to buy an air 3c hoping i ll be able to root it.
Renate i see i should use your edl software here http://www.temblast.com/edl.htm. Now i see from the first page that i should use the Qualcomm factory loader and that it should work. Anyone can confirm we have loader that works? After that comes the question of the A/B partition. Looking at this thread https://www.mobileread.com/forums/sh...=355147&page=5 it seems i should do both boot_a and boot_b. But Renate you seems to be saying in first page we should not bother with A/B partition. What does that mean in terms of the command to run? Maybe it would be nice to have a list of commands to run so that people can clearly see what to do (knowing we need to use your edl with the correct loader). Would be nice to also have commands to backup/restore stock to ensure we can go back. Maybe those commands exist somewhere but tbh i have search quite a bit and could not find something definitive based on latest updates not supporting fastboot. Now i have a different question. I want to modify some android system jar. Do you think that would be possible? Like decrypt the image, extract android system jar, then build it again, then encrypt into upx again. Not even sure that would be possible. finally a dumb question. Do I need an edl cable to root an air 3c (seeing we use edl commands make me wonder)? If so any cable.will do ? Or do we need some specific cable? Thanks again for this community and the great job they do EDIT: btw actually if we use the boot.img extracted from the upx to root using magisk, why do we need edl command? Must be a dumb question i am sure but seems like i could (if the bootloader is unlocked?) update air 3c to latest, download the corresponding upx, extract the boot.img, open it with magisk app, let magisk do the rest. Last edited by farfromrefuge; 11-20-2024 at 11:14 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Root the Onyx Boox Note Air 2 Plus (Windows) | Chitter | Onyx Boox | 160 | 06-18-2025 01:58 PM |
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 |