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 05-21-2024, 01:33 PM   #16
Anghirrim
Seeking for Graal
Anghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcover
 
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"?
Anghirrim is offline   Reply With Quote
Old 05-21-2024, 01:41 PM   #17
Renate
Onyx-maniac
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: 3,193
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Quote:
Originally Posted by Anghirrim View Post
To flash my complete 32Gb backup, should I just " edl.exe /w backup.img"?
NO!
Read and write are always used with respect to the device.
You just quoted a command that would write to your device.

This is how you make a backup.
Code:
edl.exe /r mybackup.img
Renate is online now   Reply With Quote
Advert
Old 05-21-2024, 02:05 PM   #18
Anghirrim
Seeking for Graal
Anghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 186
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
Quote:
Originally Posted by Renate View Post
NO!
Read and write are always used with respect to the device.
You just quoted a command that would write to your device.

This is how you make a backup.
Code:
edl.exe /r mybackup.img
Lol Ok, so here is what I have as backed-up files (see attachment).

Each individual files were backed up with:
Code:
.\edl.exe /r /pmypartitionname backupimagename.img
With the exception of my full 32Gb backup done with:
Code:
.\edl.exe /r 3.5.1_full_NAND_stock_backup.img
And when I just flashed back my recovery, I did the following:
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
I guess no need for /m as eMMC is the default?
Attached Thumbnails
Click image for larger version

Name:	backups.PNG
Views:	107
Size:	12.9 KB
ID:	208422  

Last edited by Anghirrim; 05-21-2024 at 02:10 PM.
Anghirrim is offline   Reply With Quote
Old 05-21-2024, 02:21 PM   #19
Anghirrim
Seeking for Graal
Anghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcover
 
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.
Anghirrim is offline   Reply With Quote
Old 05-22-2024, 11:52 AM   #20
Anghirrim
Seeking for Graal
Anghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcover
 
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
Or should I go restoring full backup (knowing that my device has an eMMC), like this?
Code:
.\edl.exe /w /s0 /c0 3.5.1_full_NAND_stock_backup.img
Thanks in advance.

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.
Anghirrim is offline   Reply With Quote
Advert
Old 05-22-2024, 12:37 PM   #21
Renate
Onyx-maniac
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: 3,193
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
With the /z it will reboot and I will hear it connect.

Last edited by Renate; 05-22-2024 at 12:41 PM.
Renate is online now   Reply With Quote
Old 05-22-2024, 01:03 PM   #22
Anghirrim
Seeking for Graal
Anghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 186
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
Quote:
Originally Posted by Renate View Post
Just do the full backup/restore.
Bootloops can change many things.
It's just easier to restore clean.
Cool thanks! Yeah, otherwise I planned to make a full backup of the bootlooping device, extract it and compare img files md5sum one by one to identify the ones that changed... Painful perspective.

I'll keep you posted!
Anghirrim is offline   Reply With Quote
Old 05-22-2024, 03:43 PM   #23
Renate
Onyx-maniac
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: 3,193
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Quote:
Originally Posted by Anghirrim View Post
I planned to make a full backup of the bootlooping device, extract it and compare img files md5sum one by one to identify the ones that changed... Painful perspective.
Yes, it gets complicated quickly.

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 first column is the partition name.
The second is block number (quantized to 1MB or 2048 x 512 bytes).
The third is the number of bytes changed in that 1MB.
Renate is online now   Reply With Quote
Old 05-22-2024, 03:58 PM   #24
Anghirrim
Seeking for Graal
Anghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcover
 
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!!
Anghirrim is offline   Reply With Quote
Old 05-22-2024, 05:58 PM   #25
Renate
Onyx-maniac
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: 3,193
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
And I got it all back without a full restore.

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.
Renate is online now   Reply With Quote
Old 05-22-2024, 06:33 PM   #26
Anghirrim
Seeking for Graal
Anghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 186
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
Quote:
Originally Posted by Renate View Post
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
And I got it all back without a full restore.

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.
I indeed have modemst1 and modemst2. And long time ago I had rewritten to on a phone.

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.
Anghirrim is offline   Reply With Quote
Old 05-24-2024, 02:11 PM   #27
Anghirrim
Seeking for Graal
Anghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcover
 
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?
Anghirrim is offline   Reply With Quote
Old 05-24-2024, 02:29 PM   #28
Renate
Onyx-maniac
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: 3,193
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Quote:
Originally Posted by Anghirrim View Post
What else can I do?
I don't trust other people's tools.
I'm not saying that mine are more reliable, only that I understand them better.
Use imgutil.exe in my sig.
Renate is online now   Reply With Quote
Old 05-24-2024, 03:05 PM   #29
Anghirrim
Seeking for Graal
Anghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 186
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
Quote:
Originally Posted by Renate View Post
I don't trust other people's tools.
I'm not saying that mine are more reliable, only that I understand them better.
Use imgutil.exe in my sig.
Ok, I'll give it a try thanks.

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.
Anghirrim is offline   Reply With Quote
Old 05-24-2024, 04:07 PM   #30
Anghirrim
Seeking for Graal
Anghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcoverAnghirrim exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 186
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
Quote:
Originally Posted by Renate View Post
I don't trust other people's tools.
I'm not saying that mine are more reliable, only that I understand them better.
Use imgutil.exe in my sig.
Ok, I did use your tool, it's really straightfoward. Quick one, the output recovery is now 45Mo large (instead of the original 100Mo).

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.
Anghirrim is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 11:00 AM.


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