![]() |
#16 |
Seeking for Graal
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 181
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"? |
![]() |
![]() |
![]() |
#17 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,823
Karma: 12000001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Seeking for Graal
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 181
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 01:10 PM. |
|
![]() |
![]() |
![]() |
#19 |
Seeking for Graal
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 181
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 03:30 AM. |
![]() |
![]() |
![]() |
#20 |
Seeking for Graal
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 181
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 11:26 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,823
Karma: 12000001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
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 11:41 AM. |
![]() |
![]() |
![]() |
#22 | |
Seeking for Graal
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 181
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
|
Quote:
![]() I'll keep you posted! |
|
![]() |
![]() |
![]() |
#23 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,823
Karma: 12000001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
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. |
|
![]() |
![]() |
![]() |
#24 |
Seeking for Graal
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 181
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!! |
![]() |
![]() |
![]() |
#25 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,823
Karma: 12000001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
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 05:26 PM. |
![]() |
![]() |
![]() |
#26 | |
Seeking for Graal
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 181
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. |
|
![]() |
![]() |
![]() |
#27 |
Seeking for Graal
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 181
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? |
![]() |
![]() |
![]() |
#28 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,823
Karma: 12000001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
|
![]() |
![]() |
![]() |
#29 | |
Seeking for Graal
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 181
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. |
|
![]() |
![]() |
![]() |
#30 | |
Seeking for Graal
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 181
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 04:04 PM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boox Page adb / fastboot / recovery /edl walkthrough | Anghirrim | Onyx Boox | 26 | 05-20-2024 06:28 AM |
Use fastboot to boot from USB? | cwalls | Kindle Developer's Corner | 2 | 01-25-2022 05:46 AM |
C65ML BootLoop looking for recovery mode | murciano2 | Onyx Boox | 6 | 11-12-2014 12:07 PM |
Boot/flash Custom recovery | ziamrziamr | Onyx Boox | 0 | 11-08-2014 04:32 AM |
U-boot with fastboot support for k3 | giorgio130 | Kindle Developer's Corner | 4 | 12-01-2012 09:34 AM |