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-30-2023, 09:54 AM   #136
Renate
Wizard
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: 2,460
Karma: 10475859
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Which bootloader? Did you overwrite abl?
You could see if the other slot has a good copy.
You could ask someone to grab a copy (there's nothing private in there).
Messing around flashing bootloaders when you don't have a Firehose loader could be detrimental to your sanity.
Renate is offline   Reply With Quote
Old 05-30-2023, 02:27 PM   #137
denisuu
Zealot
denisuu has learned how to buy an e-book online
 
denisuu's Avatar
 
Posts: 120
Karma: 90
Join Date: Dec 2018
Device: Onyx Leaf 2 (White)
You can extract the latest untouched boot.img from here, but as Renate suggested I would first pull the boot images from both slots on the device.

Build Number: 2023-04-20_11-32_3.3.2_9916cdce0
Link: http://firmware-us-volc.boox.com/30a...e51/update.upx
MD5: 30AD15B82F44A237A20AB7D67D752E51 (as in the URL)

You need to right click the url and copy it to a new tab.
denisuu is offline   Reply With Quote
Advert
Old 05-30-2023, 02:41 PM   #138
baruch
Member
baruch began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2023
Device: Onyx Boox Leaf2
Quote:
You could see if the other slot has a good copy.
Oh but I tried that as I wrote a little above.
on slot a, adb reboot bootloader get me to no usb, force reboot give me diag, force reboot again boots normally into system.
on slot b, adb reboot booloader gives me boot diag loop, recovery sequence get me out of the boot loop (i assumed it revert to slot a)

As I explained I already tried to reflash all partition extracted from the last update.upx (included boot.img) from the fastboot of recovery.

how can I flash a specific slot?
baruch is offline   Reply With Quote
Old 05-30-2023, 02:57 PM   #139
Renate
Wizard
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: 2,460
Karma: 10475859
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
All of the A/B partition names end in _a or _b.
I was asking about abl_a and abl_b.
Renate is offline   Reply With Quote
Old 05-30-2023, 03:24 PM   #140
baruch
Member
baruch began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2023
Device: Onyx Boox Leaf2
Quote:
I was asking about abl_a and abl_b.
You mean xbl maybe? The extraction of update.upn give the following files:
boot.img dtbo.img product.img system_ext.img system.img vbmeta.img vbmeta_system.img vendor.img xbl.img
so I should:
Code:
fastboot flash xbl_b ./xbl.img
or is this something else? I’m a bit new to this sorry :/
baruch is offline   Reply With Quote
Advert
Old 05-30-2023, 04:43 PM   #141
baruch
Member
baruch began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2023
Device: Onyx Boox Leaf2
ok so definitivly abl_b that explains also why updating from scratch with update.upx or flashing all partition from the ones extrated from update payload won’t solve my issue.

what’s the proper way to backup abl_a and copy it on abl_b?
I tried to dd it but it didn’t seem to have any change (i dd to a file then dd back to the other partition as root from adb) i also tried to fastboot flash the file again on the partition but still no change

could also someone send me a backup of a working abl? I’m not sure my abl_a is clean either given the fastboot not working on adb reboot bootloader issue. (at least it let me boot the device properly either in system or recovery)

Last edited by baruch; 05-30-2023 at 04:47 PM.
baruch is offline   Reply With Quote
Old 06-01-2023, 03:33 AM   #142
baruch
Member
baruch began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2023
Device: Onyx Boox Leaf2
so I ended up dding all A partitions on B ones. I could check after reboot that the partititons are the same (diff and md5sum) still my device doesn’t boot on slot B
anything else I could try?
baruch is offline   Reply With Quote
Old 06-01-2023, 07:20 AM   #143
Renate
Wizard
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: 2,460
Karma: 10475859
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Quote:
Originally Posted by baruch View Post
so I ended up dding all A partitions on B ones.
Yes, but are you sure that you copied good-to-bad or was it bad-to-good?

If you can get to where you can dd why don't you just install an update?
Renate is offline   Reply With Quote
Old 06-01-2023, 09:01 AM   #144
baruch
Member
baruch began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2023
Device: Onyx Boox Leaf2
Quote:
Yes, but are you sure that you copied good-to-bad or was it bad-to-good?
yes I am sure. Slot B isn’t booting slot A is. So if I would have done it otherwise my device would be dead

Quote:
If you can get to where you can dd why don't you just install an update?
from my very first post here #122
Quote:
Here is what I tried so far, with no success:
- reset to factory
- copy last update.upx to device and redo update with the onyx update procedure
- use fastboot in recovery to rewrite all the partition provided after extraction of the payload.pin
also if I boot the device with slot A I suspect the update.upx is applied to slot A while my main problem is with slot B
nevertheless even applied to slot A updating didn’t solve the problem I have with bootloader on slot A not having fastboot anymore

Could someone send me a copy of abl_a and abl_b?

Last edited by baruch; 06-01-2023 at 09:04 AM.
baruch is offline   Reply With Quote
Old 06-01-2023, 03:45 PM   #145
Renate
Wizard
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: 2,460
Karma: 10475859
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
There's no reason if things are working that a slot and b slot can't be the same.
The minimum to get fastboot should be xbl abl rpm pmic
Renate is offline   Reply With Quote
Old 06-02-2023, 10:29 AM   #146
denisuu
Zealot
denisuu has learned how to buy an e-book online
 
denisuu's Avatar
 
Posts: 120
Karma: 90
Join Date: Dec 2018
Device: Onyx Leaf 2 (White)
Here's a full backup of the mmc on 3.3.1 (a3d24621e), because the full mmcblk0.bin file was 28GB I removed userdata.img and compressed it with 7z so it's only a 1,92GB file. I don't have any accounts on the device, so I'd be surprised if you somehow got any personal data from me.

LINK (Expires 09/06/23)

Content of mmcblk0.bin
Code:
abl_a.img
abl_b.img
apdp.img
bluetooth_a.img
bluetooth_b.img
boot_a.img
boot_b.img
catecontentfv.img
catefv.img
cateloader.img
ddr.img
devcfg_a.img
devcfg_b.img
devinfo.img
dip.img
dsp_a.img
dsp_b.img
dtbo_a.img
dtbo_b.img
featenabler_a.img
featenabler_b.img
frp.img
fsc.img
fsg.img
hyp_a.img
hyp_b.img
imagefv_a.img
imagefv_b.img
keymaster_a.img
keymaster_b.img
keystore.img
limits.img
logdump.img
logfs.img
mdtpsecapp_a.img
mdtpsecapp_b.img
mdtp_a.img
mdtp_b.img
metadata.img
misc.img
modemst1.img
modemst2.img
modem_a.img
modem_b.img
multiimgoem_a.img
multiimgoem_b.img
multiimgqti.img
onyxconfig.img
persist.img
qupfw_a.img
qupfw_b.img
rawdump.img
recovery_a.img
recovery_b.img
rpm_a.img
rpm_b.img
secdata.img
splash.img
spunvm.img
ssd.img
storsec.img
super.img
toolsfv.img
tz_a.img
tz_b.img
uefisecapp_a.img
uefisecapp_b.img
uefivarstore.img
userdata.img
vbmeta_a.img
vbmeta_b.img
vbmeta_system_a.img
vbmeta_system_b.img
xbl_a.img
xbl_b.img
xbl_config_a.img
xbl_config_b.img
Maybe you could flash everything?

I'm making a backup of my device now on 3.3.2 (991cdce0). If the the above doesn't work, I can factory reset it, boot Magisk (without flashing it) and make a full stock backup of the device, then restore my backup.
denisuu is offline   Reply With Quote
Old 06-02-2023, 05:03 PM   #147
Waldy
Connoisseur
Waldy once ate a cherry pie in a record 7 seconds.Waldy once ate a cherry pie in a record 7 seconds.Waldy once ate a cherry pie in a record 7 seconds.Waldy once ate a cherry pie in a record 7 seconds.Waldy once ate a cherry pie in a record 7 seconds.Waldy once ate a cherry pie in a record 7 seconds.Waldy once ate a cherry pie in a record 7 seconds.Waldy once ate a cherry pie in a record 7 seconds.Waldy once ate a cherry pie in a record 7 seconds.Waldy once ate a cherry pie in a record 7 seconds.Waldy once ate a cherry pie in a record 7 seconds.
 
Waldy's Avatar
 
Posts: 61
Karma: 1795
Join Date: Jun 2017
Device: Kobo,Tolino,BN,PB,Kindle,Likebook,Inkbook
Leaf 2 (white) with this firmware: 2023-04-10_08-38_3.3.2_9916cdce0
mmcblk0.img
Waldy is offline   Reply With Quote
Old 06-03-2023, 01:27 AM   #148
baruch
Member
baruch began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2023
Device: Onyx Boox Leaf2
Quote:
Originally Posted by denisuu View Post
Here's a full backup of the mmc on 3.3.1 (a3d24621e), because the full mmcblk0.bin file was 28GB I removed userdata.img and compressed it with 7z so it's only a 1,92GB file. I don't have any accounts on the device, so I'd be surprised if you somehow got any personal data from me.

LINK (Expires 09/06/23)

Content of mmcblk0.bin
Code:
abl_a.img
abl_b.img
apdp.img
bluetooth_a.img
bluetooth_b.img
boot_a.img
boot_b.img
catecontentfv.img
catefv.img
cateloader.img
ddr.img
devcfg_a.img
devcfg_b.img
devinfo.img
dip.img
dsp_a.img
dsp_b.img
dtbo_a.img
dtbo_b.img
featenabler_a.img
featenabler_b.img
frp.img
fsc.img
fsg.img
hyp_a.img
hyp_b.img
imagefv_a.img
imagefv_b.img
keymaster_a.img
keymaster_b.img
keystore.img
limits.img
logdump.img
logfs.img
mdtpsecapp_a.img
mdtpsecapp_b.img
mdtp_a.img
mdtp_b.img
metadata.img
misc.img
modemst1.img
modemst2.img
modem_a.img
modem_b.img
multiimgoem_a.img
multiimgoem_b.img
multiimgqti.img
onyxconfig.img
persist.img
qupfw_a.img
qupfw_b.img
rawdump.img
recovery_a.img
recovery_b.img
rpm_a.img
rpm_b.img
secdata.img
splash.img
spunvm.img
ssd.img
storsec.img
super.img
toolsfv.img
tz_a.img
tz_b.img
uefisecapp_a.img
uefisecapp_b.img
uefivarstore.img
userdata.img
vbmeta_a.img
vbmeta_b.img
vbmeta_system_a.img
vbmeta_system_b.img
xbl_a.img
xbl_b.img
xbl_config_a.img
xbl_config_b.img
Maybe you could flash everything?

I'm making a backup of my device now on 3.3.2 (991cdce0). If the the above doesn't work, I can factory reset it, boot Magisk (without flashing it) and make a full stock backup of the device, then restore my backup.
Thank you very much! I already flashed all slot B partitions and this doesn’t change anything. Now I wonder if I should go on because I fear killing my device ...
Anyway what is the proper way to backup a partition
Can I for instance dd a partition to a file and then restore it via fastboot from the file? is it the good format (raw)
baruch is offline   Reply With Quote
Old 06-03-2023, 07:03 AM   #149
Renate
Wizard
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: 2,460
Karma: 10475859
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Quote:
Originally Posted by baruch View Post
Can I for instance dd a partition to a file and then restore it via fastboot from the file? is it the good format (raw)
Yes, that should work fine.
A (truly) rooted ADB should be able to pull it directly.
Renate is offline   Reply With Quote
Old 06-08-2023, 01:31 PM   #150
denisuu
Zealot
denisuu has learned how to buy an e-book online
 
denisuu's Avatar
 
Posts: 120
Karma: 90
Join Date: Dec 2018
Device: Onyx Leaf 2 (White)
Did you manage to get the device working again, how do these parameters look on your device when you use 'fastboot getvar all'?

Code:
fastboot getvar all

...
(bootloader) has-slot:modem:yes
(bootloader) has-slot:system:no
(bootloader) current-slot:b
(bootloader) has-slot:boot:yes
(bootloader) slot-retry-count:b:6
(bootloader) slot-unbootable:b:no
(bootloader) slot-successful:b:yes
(bootloader) slot-retry-count:a:6
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:yes
(bootloader) slot-count:2
(bootloader) secure:no
(bootloader) product:bengal
...
denisuu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to root a Boox Leaf (7") Geremia Onyx Boox 42 11-10-2023 08:58 AM
Setting Resolution on Boox Poke/Leaf Mr.Shortstop Onyx Boox 4 06-28-2022 09:03 PM
General Discussion of Genres Nyssa General Discussions 37 03-17-2013 01:23 AM


All times are GMT -4. The time now is 01:23 PM.


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