09-27-2024, 02:43 AM | #1 |
Connoisseur
Posts: 74
Karma: 10
Join Date: Sep 2024
Device: Max Lumi 2
|
Recover hard-bricked Max Lumi 2
I flashed the payload.bin extracted from Boox Update v3.5.4 onto sector 0. I didn't have any backup of the GPT table, so I couldn't flash the right files again. My device is now hard-bricked, so no fastboot (which was crippled with v3.5.3 anyway). Correct me if I'm wrong, I can use QDL https://github.com/linux-msm/qdl to flash new firmware, right? I just need the .mdn, rawprogram0.xml and patch0.xml files, where can I find them? Or can someone guide me to recover GPT table?
Thanks Last edited by richard.black; 10-19-2024 at 08:01 AM. |
09-27-2024, 02:50 AM | #2 |
Connoisseur
Posts: 74
Karma: 10
Join Date: Sep 2024
Device: Max Lumi 2
|
I can still find my device using lsusb
Bus 003 Device 002: ID 05c6:900e Qualcomm, Inc. QUSB_BULK_SN:8A149816 |
Advert | |
|
09-27-2024, 04:08 AM | #3 |
Onyx-maniac
Posts: 3,135
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
900e is system crash. You can't do anything from there.
You want 9008, which is EDL mode. Flashing payload.bin is exactly the wrong thing to do, especially to sector 0. You've wiped out the MBR & GPT of LUN 0 or which LUN? You should be able to restore from the backup GPT (but not directly). I forget how they are mirrored. AFAIK, there are none of those XML files for Onyx available (although they could be created). Don't go crazy flashing stuff. All that rawprogram and patch stuff is really designed for factory flashing of blank devices. Edit: The GPT entries from backup will be correct. The GPT headers will need current_lba & backup_lba swapped, entries_lba changed and header_crc recalculated. Last edited by Renate; 09-27-2024 at 04:23 AM. |
09-27-2024, 05:44 AM | #4 | |||
Connoisseur
Posts: 74
Karma: 10
Join Date: Sep 2024
Device: Max Lumi 2
|
Quote:
Code:
./edl wf ./payload.bin Quote:
Quote:
|
|||
09-27-2024, 06:11 AM | #5 |
Onyx-maniac
Posts: 3,135
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
The complicated stuff like LBA and GUID and names is already in the backup GPT.
You just need to shuffle the stuff around to make a main GPT. Instead of doing something useful I just spent the morning writing a utility to do just that. The bigger problem is that you wiped out a lot of stuff in LUN 0 too. You'll have to get it from somebody because most of that stuff is not in updates. |
Advert | |
|
09-27-2024, 06:40 AM | #6 |
Connoisseur
Posts: 74
Karma: 10
Join Date: Sep 2024
Device: Max Lumi 2
|
Hey, I just received a reply from Boox support. It guided me to reboot and hold the back button for 15 seconds which lead to Android Recovery. It works! Recovery and fastbootd works, but I do get a lot of errors:
Code:
E: Failed to clear BCB message: failed to open /dev/block/bootdevice/by-name/misc: No such file or directory E: Failed to WriteUpdateInProgress: failed to open /dev/block/bootdevice/by-name/misc: No such file or directory failed to stat /dev/block/bootdevice/by-name/misc |
09-27-2024, 09:30 AM | #7 |
Onyx-maniac
Posts: 3,135
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
You killed the partitioning for /misc apparently.
You should display the GPT and see if it's there. |
09-27-2024, 10:13 AM | #8 |
Connoisseur
Posts: 74
Karma: 10
Join Date: Sep 2024
Device: Max Lumi 2
|
What should I do now? Maybe?
Code:
adb sideload update.zip On a related note, how can I find v3.5.3 firmware for Max Lumi 2 using the API link? |
09-27-2024, 11:06 AM | #9 | |
Connoisseur
Posts: 74
Karma: 10
Join Date: Sep 2024
Device: Max Lumi 2
|
Quote:
Can you help me here, Renete? Last edited by richard.black; 09-27-2024 at 11:09 AM. |
|
09-27-2024, 11:13 AM | #10 |
Connoisseur
Posts: 74
Karma: 10
Join Date: Sep 2024
Device: Max Lumi 2
|
Code:
Supported API: 3 Finding update package... Verifying update package... Update package verification took 57.5 seconds (result 0) Code:
Installing update... E: Error in /sideload/package.zip (status 1) |
09-27-2024, 12:08 PM | #11 |
Connoisseur
Posts: 74
Karma: 10
Join Date: Sep 2024
Device: Max Lumi 2
|
I've tried this on both linux and windows, but the progress bar always gets stuck at 47%. What should I do now?
|
09-27-2024, 12:54 PM | #12 |
Connoisseur
Posts: 74
Karma: 10
Join Date: Sep 2024
Device: Max Lumi 2
|
Okay, I figured that 47% isn't actually a problem, but there's this error:
Code:
E: Error in /sideload/package.zip (status 1) Install from ADB complete with status 1. Installation aborted. |
09-27-2024, 01:22 PM | #13 |
Onyx-maniac
Posts: 3,135
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
What? You're telling me that you don't know what "status 1" means???
(I don't either.) Actually, I never use adb sideload because it's driving a bit blind. This is the older "Edify" script update, isn't it? It's even worse for the new payload.bin updates. |
09-27-2024, 02:02 PM | #14 |
Connoisseur
Posts: 74
Karma: 10
Join Date: Sep 2024
Device: Max Lumi 2
|
I'm once again asking you this question: What should I do now? fastboot is crippled with v3.5.3 and I can't install a working OS using adb sideload (not even using a SD card). The problem may as well be with the file type I'm using. What are the steps I should take to reflash a working OS?
|
09-27-2024, 02:05 PM | #15 |
Onyx-maniac
Posts: 3,135
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
It could be that it can't find partitions besides /misc, like /cache.
I don't know this device or what the partitions should be. Do a print out of the partitions. I don't use the EDL client that you are using so I can't address that. If you use my EDL client (in the sig) I might be able to say something intelligent. |
Tags |
max lumi 2, onyx boox |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free Boox Max Lumi 1 (Eu) | Neru | Flea Market | 0 | 10-16-2022 11:11 AM |
Max Lumi | Dodman | Onyx Boox | 3 | 03-18-2022 12:15 PM |
Max 3 / Max Lumi: lack of physical buttons annoying? | mr_sm1th | Onyx Boox | 6 | 12-19-2020 11:45 AM |
max lumi reviews | whopper | Onyx Boox | 27 | 10-14-2020 12:13 PM |