Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old 05-25-2024, 02:28 AM   #1
artyums
Junior Member
artyums began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2024
Device: Onyx Boox Air Nova C
Question Rooting Onyx Boox Air Nova C problem

Trying to root my Onyx Boox Air Nova C via guide:
https://www.mobileread.com/forums/sh...d.php?t=346175

There is two problems:
1) The size of extracted boot.img is 3.7 GB (Is it normal?). When Magisk trying to patch boot.img it's ended with "Failed to output to (file)..." error because the memory is out.
Have 14GB of free memory but it's not enought... (Why?!....)
So I transferred boot.img to my mobile phone (Xiaomi Mi 11) and successfully patched boot.img on it.

2) Sent my Onyx to bootloader via adb reboot bootloader command.
fastboot devices shows Onyx device.
fastboot boot magisk_patched_boot.img gives error:

terminating with uncaught exception of type STD::length_error: vector

Could you help me?
artyums is offline   Reply With Quote
Old 05-25-2024, 04:34 AM   #2
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: 174
Karma: 16198
Join Date: Jul 2013
Location: France
Device: Kobo Forma / Onyx Boox Page
Hey, nope it's not normal.

Can you please detail the exact commands you wrote when you dumped the boot.img?

While for the second problem, your command is not correct, you missed "flash". It's
Code:
fastboot flash boot_a yourpatchedimage.img
boot_a or boot_b of course depending on your active slot.

And don't flash your big boot.img file. It should be around 100Mo only.

Last edited by Anghirrim; 05-25-2024 at 04:37 AM.
Anghirrim is offline   Reply With Quote
Advert
Old 05-25-2024, 06:16 AM   #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,562
Karma: 11672405
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Yes, 3.7 GB is just wrong and I don't even know how Magisk made heads or tails of it.
If you have Windows you can use imgutil.exe (in my sig) to see what you have.
Code:
C:\>imgutil /v mystery.img
Code:
fastboot boot yourimage.img
This is correct to try out an image without flashing.
There are situation where it does not work but flashing it would.
Renate is offline   Reply With Quote
Old 05-25-2024, 09:38 AM   #4
artyums
Junior Member
artyums began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2024
Device: Onyx Boox Air Nova C
Quote:
Originally Posted by Anghirrim View Post
Can you please detail the exact commands you wrote when you dumped the boot.img?
All commands as said here: https://www.mobileread.com/forums/sh...d.php?t=346175

Code:
adb reboot edl
edl.exe /lq662.elf /r /pboot_b boot.img /t /v
This command gives me 3.7GB boot.img file. I'm also tried to extract boot_a and the result was the same.

---

Quote:
If you have Windows you can use imgutil.exe (in my sig) to see what you have.
Code:
imgutil /v boot.img
Output:
Code:
Could not map C:\platform-tools\boot.img
artyums is offline   Reply With Quote
Old 05-25-2024, 09:45 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,562
Karma: 11672405
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Quote:
Originally Posted by artyums View Post
Code:
edl.exe /lq662.elf /r /pboot_b boot.img /t /v
Something screwy is going on.
Try that without the /t
I'm pretty sure that's your problem.

Didin't it give you a warning?

Try doing "edl.exe /g" and copy just the two boot_x lines

Last edited by Renate; 05-25-2024 at 09:51 AM.
Renate is offline   Reply With Quote
Advert
Old 05-25-2024, 10:26 AM   #6
artyums
Junior Member
artyums began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2024
Device: Onyx Boox Air Nova C
Thumbs up

Quote:
Originally Posted by Renate View Post
Try that without the /t
I'm pretty sure that's your problem.
You're wizard! Thank you so much!
The problem was in "/t" key of EDL.
Without "/t" the size of "boot.img" has become ~100Mb and other procedures completed successfully.
artyums is offline   Reply With Quote
Old 05-25-2024, 10:31 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,562
Karma: 11672405
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Yes, for some reason it was estimating the size of image incorrectly.
Could you run "imgutil /v boot.img"
I'd like to see where it's going amuck.

Could you do me a favor?
Code:
edl.exe /r /pboot_b /c256 shortie
This will grab just a chunk of the boot image so that I can figure out what went wrong.
It should be only 131,072 bytes.

Last edited by Renate; 05-25-2024 at 10:36 AM.
Renate is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rooting Nova Air C TheNoname Onyx Boox 90 05-07-2023 06:46 PM
Sell ONYX BOOX Stylus Pen 2 PRO & ONYX BOOX Note Air Protective Sleeve readandread Flea Market 0 03-08-2022 03:09 PM
Help - Boox Nova Air Frozen Screen. fbrII Onyx Boox 3 02-11-2022 01:52 AM
Rooting Onyx Boox Note Air afainber Onyx Boox 8 01-04-2021 10:03 AM
Onyx Boox Nova Pro - problem with backlight and wifi Tutek Onyx Boox 4 11-14-2019 02:16 PM


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


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