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 01-31-2023, 10:06 AM   #1
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,319
Karma: 9999999
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
"Wait for 30 seconds before proceeding"

You've probably not noticed this and if you did it probably didn't make a dent in your life.
If your bootloader is unlocked then every time your device reboots (including powering up from fully off) it will wait for 30 seconds.
The idea is to display a warning that your device is unlocked.
Unfortunately (or fortunately) there is no warning implemented so it's rather pointless.
I've wasted years of time waiting for this 30 seconds as I've switched between edl, fastboot, recovery, system.

So, I wrote a patch for abl (the Android bootloader) that skips this delay.
It's only a teensy mod but of course it requires unpacking/packing/rehashing.
I have it running on my Poke3 just fine. It's a dandy improvement (for me).
If you'd like the same for your device, just pull and give me a copy of your abl.

Last edited by Renate; 01-31-2023 at 10:20 AM.
Renate is offline   Reply With Quote
Old 01-31-2023, 02:19 PM   #2
denisuu
Zealot
denisuu has learned how to buy an e-book online
 
denisuu's Avatar
 
Posts: 119
Karma: 90
Join Date: Dec 2018
Device: Onyx Leaf 2 (White)
That's awesome! So it actually cuts 30 seconds of the boottime?
denisuu is offline   Reply With Quote
Advert
Old 01-31-2023, 02:31 PM   #3
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,319
Karma: 9999999
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Yes, it kills the dead time.
Still, if you're a normal user and never reboot (just sleep) you'll hardly notice the difference.

Edit: I've got creating the patch down to 100% automatic procedure now.

Last edited by Renate; 02-01-2023 at 05:53 PM.
Renate is offline   Reply With Quote
Old 02-01-2023, 09:52 PM   #4
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,061
Karma: 4234828
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
But does this mean that if you got stuck in a “bootloop” like in a neighboring thread with removed system apps, you have no chance to talk via adb during boot? So edl will be the only option left
mergen3107 is offline   Reply With Quote
Old 02-02-2023, 06:31 AM   #5
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,319
Karma: 9999999
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Quote:
Originally Posted by mergen3107 View Post
You have no chance to talk via adb during boot?
The earliest you ever get ADB is after Linux has started and the init daemon has started ADB.
This is about 10 seconds before you see your home screen.
With some systems ADB has to wait until the Android subsystem sets the USB configuration.

Here's a short rundown of booting:
Code:
Run Primary BootLoader (PBL) from ROM
Run Secondary BootLoader (xbl) from flash
Run Android Bootloader (abl) from flash
If want to do fastboot
    -> Do fastboot (inside abl)
If want to do recovery
    -> Load recovery
Load boot image, but don't start it
If device is unlocked
    Print "Wait for 30 seconds before proceeding"
    Sleep 30 seconds (doing absolutely nothing)
Start boot image
Start init daemon
Start adbd
Start zygote (Android subsystem)
Start home application (Launcher)
So, in those 30 seconds, there is no ADB running, no EDL, it's not even listening for key presses.
Renate is offline   Reply With Quote
Advert
Old 02-02-2023, 09:49 AM   #6
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,061
Karma: 4234828
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Ok! I might give it a try
Where do I find the abl?
mergen3107 is offline   Reply With Quote
Old 02-02-2023, 10:13 AM   #7
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,319
Karma: 9999999
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Do you have an EDL loader for this?
I just want to make sure that you have EDL available in worst case.

You can:
Code:
C:\>adb shell
# dd if=/dev/block/by-name/abl of=/sdcard/abl
# ^D
C:\>adb pull sdcard/abl
This is presuming that you're not A/B, i.e. abl_a, abl_b
Renate is offline   Reply With Quote
Old 02-02-2023, 01:08 PM   #8
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,061
Karma: 4234828
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Yes, I do have EDL and I can access it without command line. That was my step 1 even before achieving root.

Thanks! I’ll PM you when I find it this evening.
mergen3107 is offline   Reply With Quote
Old 02-03-2023, 09:33 PM   #9
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,061
Karma: 4234828
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Thank you Renate!

Customized loader by you works OK!

However, I haven’t seen the 30 sec improvement, maybe only 10-15 sec. Total boot time after restart is 40 sec. What are your timings before and after the patch?
mergen3107 is offline   Reply With Quote
Old 02-04-2023, 06:33 AM   #10
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,319
Karma: 9999999
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
I went back and checked the timings.
There really should be exactly a 30 second difference and there is.
I ran this from adb reboot with a chained desktop timer:
Code:
adb reboot & wndctrl timer /kspace

        Onyx logo  boot animation  starting Android  Launcher ready
        ---------  --------------  ----------------  --------------
abl     5          15              25                30
ablmod  5          45              55                60
Renate is offline   Reply With Quote
Old 02-04-2023, 02:34 PM   #11
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,061
Karma: 4234828
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
What is wndctrl I cannot find it anywhere.
mergen3107 is offline   Reply With Quote
Old 02-04-2023, 02:38 PM   #12
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,319
Karma: 9999999
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Quote:
Originally Posted by mergen3107 View Post
What is wndctrl I cannot find it anywhere.
No, of course you can't.
It's just one of my little helper apps that can talk to other apps. Like Tasker or something.
Timer is my own little app too.

But in any case it's not really important. You can do this all with a kitchen clock with a sweep second hand.
Renate is offline   Reply With Quote
Old 02-04-2023, 03:12 PM   #13
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,061
Karma: 4234828
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
OK
I don't know now, I can't see the difference, even the 10-15 sec anymore. It is 39-41 second from I send "reboot" in shell until I see main screen.

Thank you anyway!
mergen3107 is offline   Reply With Quote
Old 02-04-2023, 03:16 PM   #14
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,319
Karma: 9999999
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
It could be that you don't have that 30 second delay at all.
Unless it was previously 70 seconds boot time.
Is your bootloader unlocked?
Renate is offline   Reply With Quote
Old 02-05-2023, 12:11 AM   #15
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,061
Karma: 4234828
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Yes, it is unlocked with “oem unlocked something something” key in fastboot.

Maybe I don’t have the delay, because AFAIR it has never been more than 50 seconds to boot
mergen3107 is offline   Reply With Quote
Reply

Tags
abl unlocked


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting PW4 Stuck on "Please wait a moment while your kindle starts up" nanobot567 Amazon Kindle 0 06-14-2021 11:19 PM
"Loading please wait..." message when accessing the server by IP miracle152004 Server 2 05-04-2019 04:43 PM
Wait, no "Search" option for Kobo iPad/iPhone app?! andsoitgoes Kobo Reader 1 04-03-2012 10:07 AM
Message "Updating DB. Please wait..." repeating forever kerrware iRiver Story 0 08-29-2010 06:00 AM


All times are GMT -4. The time now is 10:11 PM.


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