05-21-2024, 01:33 PM | #16 |
Seeking for Graal
Posts: 186
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
|
Ok, it worked after another try.
I was able to flash my recovery.img backup. It did solve the bootloop issue though. To flash my complete 32Gb backup, should I just " edl.exe /w backup.img"? |
05-21-2024, 01:41 PM | #17 |
Onyx-maniac
Posts: 3,160
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
|
Advert | |
|
05-21-2024, 02:05 PM | #18 | |
Seeking for Graal
Posts: 186
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
|
Quote:
Each individual files were backed up with: Code:
.\edl.exe /r /pmypartitionname backupimagename.img Code:
.\edl.exe /r 3.5.1_full_NAND_stock_backup.img Code:
.\edl.exe /w /precovery_a recovery-a.img So what should I do to flash this full backup (knowing that my device has an eMMC), this? Code:
.\edl.exe /w /s0 /c0 3.5.1_full_NAND_stock_backup.img Last edited by Anghirrim; 05-21-2024 at 02:10 PM. |
|
05-21-2024, 02:21 PM | #19 |
Seeking for Graal
Posts: 186
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
|
Hmmmm, seems from what I can see on edl.exe /g, the active bootloader switched to slot b.
I think I have tried to send the slot change command through fastboot last Monday, but it remained stuck on "waiting for the device". Could it have somehow managed to change the active slot? Or it was the "fastboot boot customrecovery" that did it? Last edited by Anghirrim; 05-22-2024 at 04:30 AM. |
05-22-2024, 11:52 AM | #20 |
Seeking for Graal
Posts: 186
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
|
Hi @Renate,
Sorry to bother you, but can you please just confirm how I should restore my backup with your edl utility? Here is what I found based on your website. Should I go little by little, partition by partition like this: Code:
.\edl.exe /w /ptargetpartition mypartitionbackup.img Code:
.\edl.exe /w /s0 /c0 3.5.1_full_NAND_stock_backup.img Note: I just called my backup a NAND backup by habit, but it's indeed the eMMC backup. Last edited by Anghirrim; 05-22-2024 at 12:26 PM. |
Advert | |
|
05-22-2024, 12:37 PM | #21 |
Onyx-maniac
Posts: 3,160
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Just do the full backup/restore.
Bootloops can change many things. It's just easier to restore clean. I've been working on patching super and I've already had to full restore twice. For me, this will do it all while I read my book on my old Poke3. Code:
edl /lpoke5.bin /w /s0 /c0 poke5.img /z Last edited by Renate; 05-22-2024 at 12:41 PM. |
05-22-2024, 01:03 PM | #22 | |
Seeking for Graal
Posts: 186
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
|
Quote:
I'll keep you posted! |
|
05-22-2024, 03:43 PM | #23 | |
Onyx-maniac
Posts: 3,160
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Quote:
I wrote one byte to vbmeta_system_a and _b each. It bricked. I compared using something that I had just written. There was a ton of stuff that had changed, but ignoring userdata: Code:
(null) 0 784 uefisecapp_b 11649024 1712 persist 11651072 20139 persist 11659264 15714 persist 11661312 1216 persist 11665408 2262 persist 11669504 5111 persist 11681792 2 persist 11694080 1 persist 11698176 5 persist 11714560 532 metadata 11722752 2188 metadata 11739136 5 catecontentfv 12716032 20 uefivarstore 12718080 30 modemst1 12845056 1044028 modemst1 12847104 522280 modemst2 12849152 1043933 modemst2 12851200 522238 fsc 13107200 20 onyxconfig 13109248 715 The second is block number (quantized to 1MB or 2048 x 512 bytes). The third is the number of bytes changed in that 1MB. |
|
05-22-2024, 03:58 PM | #24 |
Seeking for Graal
Posts: 186
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
|
Uhhhhh ok, I wouldn't have imagined this!!
So, HUGE thanks to you man!! Reflashing the complete backup saved my Boox Page. It's alive again. You definitely deserve your wizard title! I'll take some time to organize the notes and pictures I took to make a "Saving tutorial". Thanks a million. Now... I'll have to understand how and why it failed that much. Thanks again!! |
05-22-2024, 05:58 PM | #25 |
Onyx-maniac
Posts: 3,160
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Oh! In my case I just had to switch the slot.
I restored the two bytes in the vbmeta_system_a & _b. Code:
fastboot set_active a The hint for this was the modemst. Apparently, they don't A/B that, just switch the contents. Nope, this stuff is just rewritten all the time anyway. So, my half-baked comparator did tell me something useful. Last edited by Renate; 05-22-2024 at 06:26 PM. |
05-22-2024, 06:33 PM | #26 | |
Seeking for Graal
Posts: 186
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
|
Quote:
So lesson learned, instead of fastboot boot an image and have it loaded somewhere out of control, I'll flash the inactive slot recovery and switch between both. |
|
05-24-2024, 02:11 PM | #27 |
Seeking for Graal
Posts: 186
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
|
Well, kept trying to work on the recovery with adb activated.
I did as I explained before. - Unpack recovery - Modified the prop.default (attached) with: ro.secure=0 ro.adb.secure=0 ro.allow.mock.location=0 - Repacked When flashing the stock recovery on recovery_a, I can't boot into it. I just have a white screen with no adb, or nothing else. However, force reboot works fine by pressing the power button. What else can I do? |
05-24-2024, 02:29 PM | #28 |
Onyx-maniac
Posts: 3,160
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
|
05-24-2024, 03:05 PM | #29 | |
Seeking for Graal
Posts: 186
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
|
Quote:
I regularly use MagiskTools to repack the TWRP that I maintain for the Galaxy Tab S9 FE on XDA and it works fine. I'll keep you posted. |
|
05-24-2024, 04:07 PM | #30 | |
Seeking for Graal
Posts: 186
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
|
Quote:
Will it work with fastboot flash, or I'll have to go with edl (just asking because I don't want to mess-up the partition size on my device)? Last edited by Anghirrim; 05-24-2024 at 05:04 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boox Page adb / fastboot / recovery /edl walkthrough | Anghirrim | Onyx Boox | 32 | 08-23-2024 04:05 PM |
Use fastboot to boot from USB? | cwalls | Kindle Developer's Corner | 2 | 01-25-2022 06:46 AM |
C65ML BootLoop looking for recovery mode | murciano2 | Onyx Boox | 6 | 11-12-2014 01:07 PM |
Boot/flash Custom recovery | ziamrziamr | Onyx Boox | 0 | 11-08-2014 05:32 AM |
U-boot with fastboot support for k3 | giorgio130 | Kindle Developer's Corner | 4 | 12-01-2012 10:34 AM |