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 04-07-2022, 09:03 PM   #46
Machinus
Enthusiast
Machinus began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Sep 2017
Device: Kindle
Now it won't go past the boot screen, even with the original img file. How do I undo that?
Machinus is offline   Reply With Quote
Old 04-07-2022, 09:06 PM   #47
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,363
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
I just timed mine, 60 seconds total, but it sits on the original boot command for 30 seconds. And yes, I used fastbogus and not fastboot.

Is yours Android 11? Maybe they changed things.
But your reboot command just tells it to boot what is already in the flash.
Did anyone ever take a peek at their images using imgutil.exe /v just for sanity?

You can try "fastboot boot mag..." then "fastboot continue"
That may just boot up what's in flash too.

Why don't you zip up the magisk image and post it here or elsewhere.
Renate is offline   Reply With Quote
Advert
Old 04-07-2022, 09:10 PM   #48
Machinus
Enthusiast
Machinus began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Sep 2017
Device: Kindle
Quote:
Originally Posted by Renate View Post
I just timed mine, 60 seconds total, but it sits on the original boot command for 30 seconds. And yes, I used fastbogus and not fastboot.

Is yours Android 11? Maybe they changed things.
But your reboot command just tells it to boot what is already in the flash.
Did anyone ever take a peek at their images using imgutil.exe /v just for sanity?

You can try "fastboot boot mag..." then "fastboot continue"
That may just boot up what's in flash too.

Why don't you zip up the magisk image and post it here or elsewhere.
Lumi2 uses Android 11.

No "fastboot" commands work on my system. I have only been able to use "fastbogus" that you wrote. It won't leave the loading screen now.

Code:
C:\>fastbogus continue
Resuming boot                                      FAILED (remote: 'Failed to load image from partition: Load Error')
fastboot: error: Command failed
Attached Files
File Type: rar magisk_patched-24300_I3L2y.rar (16.16 MB, 104 views)

Last edited by Machinus; 04-08-2022 at 08:57 AM.
Machinus is offline   Reply With Quote
Old 04-07-2022, 09:19 PM   #49
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,363
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Right, fastboot, fastbogus.

It's the time of day when my internet goes to nothing, it's saying 30 minutes to download that file. No, it just said that it failed. Now it's saying an hour and a half.

A full reset doesn't get you back? You didn't even flash anything, right?
Attached Thumbnails
Click image for larger version

Name:	slow1.png
Views:	113
Size:	3.6 KB
ID:	193163  

Last edited by Renate; 04-07-2022 at 09:21 PM.
Renate is offline   Reply With Quote
Old 04-07-2022, 09:23 PM   #50
Machinus
Enthusiast
Machinus began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Sep 2017
Device: Kindle
Quote:
Originally Posted by Renate View Post
Right, fastboot, fastbogus.

It's the time of day when my internet goes to nothing, it's saying 30 minutes to download that file. No, it just said that it failed. Now it's saying an hour and a half.

A full reset doesn't get you back? You didn't even flash anything, right?
Hard reset is stuck on the "ONYX" boot screen.

If I reload the original img file, and reboot, it still is stuck on the loading screen.

I cannot get into normal adb mode, or edl mode. Both hard reset and "fastbogus reboot" only go back to fastboot mode. What do I need to do to get back to a normal boot sequence?
Machinus is offline   Reply With Quote
Advert
Old 04-07-2022, 09:39 PM   #51
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,363
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
It doesn't sound good. Normally, since you didn't flash anything you should be fine.

Did you try a reset and then just "fastbogus continue"?

You need to check the images that you have. imgutil.exe /v
Did you make the 100 Meg backup too?
Renate is offline   Reply With Quote
Old 04-07-2022, 09:46 PM   #52
Machinus
Enthusiast
Machinus began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Sep 2017
Device: Kindle
Quote:
Originally Posted by Renate View Post
It doesn't sound good. Normally, since you didn't flash anything you should be fine.
What can I do with fastbogus to restore the previous settings?

Quote:
Originally Posted by Renate View Post
Did you try a reset and then just "fastbogus continue"?
Code:
C:\>fastbogus continue
Resuming boot                                      FAILED (remote: 'Failed to load image from partition: Load Error')
fastboot: error: Command failed
Quote:
Originally Posted by Renate View Post
You need to check the images that you have. imgutil.exe /v
I can do this, but I don't know anything about what to fix. This is above my knowledge.

Quote:
Originally Posted by Renate View Post
Did you make the 100 Meg backup too?
I have the long, short, and patched *.img files. How do I use them to restore the original boot?

https://easyupload.io/rwg3lu

Last edited by Machinus; 04-07-2022 at 09:51 PM.
Machinus is offline   Reply With Quote
Old 04-07-2022, 10:02 PM   #53
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,363
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Just to confirm:
You used edl.exe to get your boot files, long and short.
Things were working fine still after the last time you touched edl.exe
You could still get to normal Android.
After juggling problems with drivers and fastboot is when you stopped being able to get to Android (and ADB).

There is the other set of slots, but we don't know what's in there and it would be risky to just switch over.
Has this device already had one normal update to it?

You can do a "fastbogus getvar all" and compare it to the first one you got.

You might be able to "fastbogus boot long.img". Try it.

I finally got your Magisk'ed file.
It looks normal, but I'm not sure if the DTB is missing and it's using dtbo or what.
I'll have to look at the long.img tomorrow when my internet speed comes back up.
How about uploading it somewhere and PM me the link, please?
As long as you hold onto those files and we still have fastboot we haven't dug too deep a hole.

That's it for me for the night. My apologies.

Last edited by Renate; 04-07-2022 at 10:21 PM.
Renate is offline   Reply With Quote
Old 04-07-2022, 10:15 PM   #54
Machinus
Enthusiast
Machinus began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Sep 2017
Device: Kindle
Quote:
Originally Posted by Renate View Post
Just to confirm:
You used edl.exe to get your boot files, long and short.
Yes, they are linked in the previous post.

Quote:
Originally Posted by Renate View Post
Things were working fine still after the last time you touched edl.exe
You could still get to normal Android.
After juggling problems with drivers and fastboot is when you stopped being able to get to Android (and ADB).
The device worked until I did this the second time:

Code:
C:\>fastbogus boot magisk_patched-24300_I3L2y.img
C:\>fastbogus reboot
Quote:
Originally Posted by Renate View Post
Has this device already had one normal update to it?
It is Android 11 with one Boox update.

Quote:
Originally Posted by Renate View Post
You can do a "fastbogus getvar all" and compare it to the first one you got.
Quote:
Originally Posted by getvar #1
(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:5
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:yes
Quote:
Originally Posted by getvar #2
(bootloader) current-slot:a
(bootloader) has-slot:boot:yes
(bootloader) slot-retry-count:b:6
(bootloader) slot-unbootable:b:yes
(bootloader) slot-successful:b:yes
(bootloader) slot-retry-count:a:0
(bootloader) slot-unbootable:a:yes
(bootloader) slot-successful:a:no
Machinus is offline   Reply With Quote
Old 04-07-2022, 10:27 PM   #55
Machinus
Enthusiast
Machinus began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Sep 2017
Device: Kindle
The getvar indicated the issue. I was able to get back to Android this way:

Code:
C:\>fastbogus --set-active=b
Setting current slot to 'b'                        OKAY [  0.048s]
Finished. Total time: 0.049s

C:\>fastbogus boot long.img
Sending 'boot.img' (98304 KB)                      OKAY [  2.265s]
Booting                                            OKAY [  0.093s]
Finished. Total time: 2.414s
Maybe I should not try to root this device since my fastboot is broken.
Machinus is offline   Reply With Quote
Old 04-08-2022, 12:03 AM   #56
Machinus
Enthusiast
Machinus began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Sep 2017
Device: Kindle
I disabled signed driver requirement on Windows 10 and forced installation of ADB USB driver. This enables fastboot execution.

I repeated all steps that worked previously.

Code:
adb reboot edl

edl.exe /lQualcomm_662_loader.elf

edl.exe /u /r /pboot_a long.img

edl.exe /u /r /pboot_a short.img /c4025

--Magisk patch short.img--

adb reboot bootloader

fastboot boot magisk_patched-*.img
At this point, the device hangs and does not complete the boot.

Forcing a restart through hard-reset or "reboot" does not lead to su privileges in adb shell.

Magisk claimed the img was successfully patched, but it does not root. Flashing without root leads to frozen boot sequence.
Machinus is offline   Reply With Quote
Old 04-08-2022, 05:15 AM   #57
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,363
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Well, I'm glad that you're not disheartened, we're almost there.

Your boot image is in Android image header format #2.
Not being aware of this I lopped off the DTB and Magisk didn't notice.
Give me a couple of hours to write some new code and then write a test.

Until then, don't bother doing anything.
Except a copy of that long.img would be appreciated. Thanks, got them.

Also, if originally B was active, was the edl.exe /g indicating it the other way around?
Did the relabelling of the partitions not occur when there was a swap?
Another mystery.

Last edited by Renate; 04-08-2022 at 06:07 AM.
Renate is offline   Reply With Quote
Old 04-08-2022, 07:22 AM   #58
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,363
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Ok, we're ready. Download the latest edl.exe, it is 132,096 bytes

Try to figure out which is really the latest, _a or _b

Code:
C:\>edl.exe /lwhatever
C:\>edl.exe /u /r /pboot_a boot.img /t
You should get a nice file exactly 16,822,272 bytes.
Magisk it, fastboot boot it.

Last edited by Renate; 04-08-2022 at 09:49 AM. Reason: Edit: I put in the /r flag
Renate is offline   Reply With Quote
Old 04-08-2022, 08:50 AM   #59
Machinus
Enthusiast
Machinus began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Sep 2017
Device: Kindle
Quote:
Originally Posted by Renate View Post
Code:
C:\>edl.exe /lwhatever
C:\>edl.exe /u /pboot_a boot.img /t
This does not work without /r flag.

Code:
04/08/2022  08:37 AM        16,822,272 boot.img
Code:
C:\>fastboot boot magisk_patched-24300_nNAMf.img
Sending 'boot.img' (16916 KB)                      OKAY [  0.388s]
Booting                                            OKAY [  0.097s]
Finished. Total time: 0.495s
C:\>adb shell
MaxLumi2:/ $ su
Permission denied
Code:
C:\>adb reboot bootloader
C:\>fastboot flash boot magisk_patched-24300_nNAMf.img
< waiting for any device >
Sending 'boot_b' (16916 KB)                        OKAY [  0.399s]
Writing 'boot_b'                                   OKAY [  0.104s]
Finished. Total time: 0.564s
C:\>fastboot reboot
Code:
C:\>adb shell
MaxLumi2:/ $ su
Permission denied
New long.img attached.
Attached Files
File Type: rar long.rar (15.73 MB, 108 views)

Last edited by Machinus; 04-08-2022 at 08:56 AM.
Machinus is offline   Reply With Quote
Old 04-08-2022, 09:47 AM   #60
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,363
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Quote:
Originally Posted by Machinus View Post
This does not work without /r flag.
Good point.

Since "su" is not part of stock and you're getting "Permission denied" and not "Not found"...

Have you actually got a Magisk image?
Code:
$ ls -l /sbin
magisk32.xz ...
magisk64.xz ...
Code:
$ mount|grep magisk
magisk ...
Code:
$ which su
<somepath>
$ ls -lZ <somepath>/su
Code:
$ dmesg|grep denied.*su
Renate is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Let's root our Max Lumi yokos Onyx Boox 110 01-03-2024 12:39 PM
Max Lumi - Is it possible to buy one yet anywhere? Papered Over Onyx Boox 15 03-12-2021 02:26 AM
Max 3 / Max Lumi: lack of physical buttons annoying? mr_sm1th Onyx Boox 6 12-19-2020 10:45 AM


All times are GMT -4. The time now is 07:19 AM.


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