![]() |
#31 | |
Zealot
![]() Posts: 135
Karma: 98
Join Date: Dec 2018
Device: Onyx Leaf 2 (White)
|
Quote:
As for the border, the perfect e-reader doesn't exist haha. I'd like it to be all black with a 10" screen and 1 or 2GB more RAM. So basically a Onyx Note in black, with page-turn buttons, without the note-taking capabilities. |
|
![]() |
![]() |
![]() |
#32 |
Connoisseur
![]() ![]() ![]() ![]() Posts: 51
Karma: 300
Join Date: Dec 2022
Device: onyx boox leaf 2 black
|
I have found my "edl cable"
![]() I can give it a try, but I have read, that headphone connection on USB-C could interfere. Does Leaf2 support headphones? |
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Connoisseur
![]() ![]() ![]() ![]() Posts: 51
Karma: 300
Join Date: Dec 2022
Device: onyx boox leaf 2 black
|
There is some effect: Leaf2 looks dead after inserting this edl cable. No change on screen and no reaction to power button. And I can't see any new devices on PC. Only long press on power button restart device.
I'm rather reluctant to experiment with this rusty cable. I have fond, that there is USB-C version of cable, see here (I'm not sure if I can public links yet): Code:
https://www.mobilerdx.com/2022/12/how-to-make-qualcomm-modified-type-c-edl-cable-latest-security.html |
![]() |
![]() |
![]() |
#34 | |
Zealot
![]() Posts: 135
Karma: 98
Join Date: Dec 2018
Device: Onyx Leaf 2 (White)
|
Quote:
Thanks for testing. I'll make my own cable for further testing. |
|
![]() |
![]() |
![]() |
#35 |
Zealot
![]() Posts: 135
Karma: 98
Join Date: Dec 2018
Device: Onyx Leaf 2 (White)
|
By reading the official spec sheet on Qualcomms website I figured out that QCS/QCM2290 are the same. (both are QCS_AGATTI)
Qualcomm spec-sheet: qcs-qcm2290-soc-product-brief_87-28731-1.pdf When I searched a bit I found found some information on blog.csdn.net There are 13 articles on QCM2290 on that website and a few on AGATTI. This one looked interesting. From what I can make of it, you need to short Ground &U SB D+ (so the basic EDL cable) then press volume up + volume down while booting. It would be nice to know if there's a key combination for Fastboot too! Qualcomm QCM2290 platform key combination into 9008 Rough translation Requirements: Customers need to press the VOL_UP and VOL_DOWN key combinations to enter forced download mode when powering on, especially RESIN_N is used for VOL_DOWN. ![]() Qualcomm source code default is to have a forced download function, when pressing vol- and vol+ when the key value is SCAN_ESC, the abl stage obtains this key value and enters the EDL process, the customer because of VOL- to reset, the code is configured KEYPWR reset and KEYPWR_AND_RESIN reset, when pressing POWER and VOL- at the same time will always restart, because: Code:
POWER ON by KPDPWR, POWER OFF by S3 reset KPDPWR_ANDOR_RESIN Code:
diff --git a/BOOT.XF.4.1/boot_images/QcomPkg/Library/PmicLib/target/Agatti_pmCocos/system/src/pm_sbl_boot_oem.c b/BOOT.XF.4.1/boot_images/QcomPkg/Library/PmicLib/target/Agatti_pmCocos/system/src/pm_sbl_boot_oem.c index 31fe073a4..509a8d61b 100755 --- a/BOOT.XF.4.1/boot_images/QcomPkg/Library/PmicLib/target/Agatti_pmCocos/system/src/pm_sbl_boot_oem.c +++ b/BOOT.XF.4.1/boot_images/QcomPkg/Library/PmicLib/target/Agatti_pmCocos/system/src/pm_sbl_boot_oem.c @@ -1052,6 +1052,7 @@ pm_device_post_init ( void ) err_flag |= pm_comm_write_byte(1, 0x5046, 0x80, 0); config_gpio_cam2_standby(INPUT); err_flag |= pm_comm_write_byte(0, 0x0880, 0xd4, 0); + pm_pon_stage3_reset_source_cfg(0, PM_PON_RESET_SOURCE_RESIN, 32); return err_flag; } Last edited by denisuu; 12-09-2022 at 11:08 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#36 |
doofus
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,529
Karma: 13088847
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
|
I have a Libra 2 so I'm very interested to hear this. They're both 300 dpi so I'm unsure what sharper means. I guess you mean contrast? How do they look with the lights off? Is the background on one lighter than the other? Is the text on one darker the other? Thanks
|
![]() |
![]() |
![]() |
#37 |
Zealot
![]() Posts: 135
Karma: 98
Join Date: Dec 2018
Device: Onyx Leaf 2 (White)
|
I only understood half of what I posted above but I can confirm it works.
Holding the power button + volume down + the Qualcomm cable button on boot (or before rebooting) brings the device in Emergency Download Mode (EDL). So, in case of a brick you don't need to open the device. Now that we know the ways to access EDL, we just need to find a loader so we can read/write to it. I'll test UART tomorrow. |
![]() |
![]() |
![]() |
#38 | |
Zealot
![]() Posts: 135
Karma: 98
Join Date: Dec 2018
Device: Onyx Leaf 2 (White)
|
Quote:
I wouldn't upgrade to the Leaf 2 if I already had the Libra 2,unless PDF support or better performance is important. If I didn't have an e-reader I would pay the extra €30 for the Leaf 2. Unless you hold them next to each other you probably couldn't tell much difference in screen quality. I borrowed a friends Libra 2 for while before my (white) Leaf 2 arrived, if the device is just used for reading books, both are great devices! My opionion: Libra2: + Better buttons, waterproof, more user friendly. - Bigger, weighs more, terrible performance for anything else than e-books. Leaf2: + Beautiful design, weighs less, handles PDF's well, a lot of flexibility. - Not as intuitive, not waterproof, no kernel sources. Last edited by denisuu; 12-10-2022 at 04:39 AM. |
|
![]() |
![]() |
![]() |
#39 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,851
Karma: 12000011
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
That's a great find.
It confirms some things that I've never had proof of. The first is that (obviously) the test points are checked right in the ROM bootloader and will always work. The "grounding USB D+" is in XBL and is dependent on whether the code is in there. Also it necessitates standing on your head and having the timing correct. I've never gotten it to work on any device, but it's probably just me. I have done the "nuclear option" before and erased secondary bootloaders on things so that it had no choice but to go to ROM pbl. In abl there can be any number of things that will make it go into fastboot. There is usually detection for some things, unfortunately often buttons that don't exist. Sometimes screen touches, like corners. Or swipes. In any case, where are the Firehose loaders for this thing? Onyx (so far) has been very accomodating and not using Secure Boot. One last shot in the dark is this loader: https://github.com/bkerler/Loaders/r...5106_fhprg.bin It's for an SM/SMP_AGATTI. |
![]() |
![]() |
![]() |
#40 | |
doofus
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,529
Karma: 13088847
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
|
Quote:
Android is a mixed bag because there's more flexibility but 2gb ram is really limiting. Do you need to root it to run Koreader? Btw is there a Plato port for boox? If there were an easy cost free way for me to try it, I'd upgrade and sell my Libra 2 |
|
![]() |
![]() |
![]() |
#41 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2022
Device: BOOX Leaf2/Nova Air C
|
Quote:
I use your turial but stuck on 900E bootloop Thx |
|
![]() |
![]() |
![]() |
#42 | |
Zealot
![]() Posts: 135
Karma: 98
Join Date: Dec 2018
Device: Onyx Leaf 2 (White)
|
Quote:
If you manage to boot Fastboot, you can try switching the active boot partition. That fixed a bootloop for me. (Thanks @popej) Code:
fastboot --set-active=b Tip: Renate has made some amazing tools for troubleshooting and EDL. I recommend having her USBlog tool open to see when the device is being detected.
Last edited by denisuu; 12-10-2022 at 06:59 AM. |
|
![]() |
![]() |
![]() |
#43 | ||
Zealot
![]() Posts: 135
Karma: 98
Join Date: Dec 2018
Device: Onyx Leaf 2 (White)
|
Quote:
Quote:
Code:
Waiting for Firehose... No response, poking... Could not write device Maybe a loader for Qualcomm 630 (which CPU-z misidentifies it as) might work? I'm trying to figure out how the Python EDL program works while I'm waiting for the UART-USB to arrive. |
||
![]() |
![]() |
![]() |
#44 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,851
Karma: 12000011
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
Did we try that: https://github.com/bkerler/Loaders/b..._asus_peek.bin
The closest in the '90 that I see is the QCA6390 which is in the QC factory SDM662 that you tried. Yeah, I load the all the loaders into a directory then "qcomview * /s" and it lists all the models. I then search for the string to find which loader(s) that model is in. Spoiler:
I can see on my hardware console that if you push and hold the power button after it does a reset it pauses the boot. If you hold it long enough it reboots to 900e. I've never found anything that you can do with that except get the serial number. I can also see if you push the power button rapidly you can get: Code:
KeyPress:258, BootReason:0 But it doesn't do anything. Edit: If you hold Esc into the hardware console when it boots it will go to 9008 If you hold Backspace (^H) it will go to recovery *** Stop the presses! I can get it into fastboot mode! *** Reliably, no. But I've done it five times. You'll need your UART for this. Power reset until it starts booting, hold the backspace key down. When it says "BootIntoMode detect begin" hold it for another 3 seconds, then release. It should go into recovery. Power reset until it starts booting, hold the backspace key down. When it says "BootIntoMode detect begin" hold it for another 3 seconds, then release. It should go into fastboot. If it doesn't catch or reboots, just do the backspace again same as before. Warning: Fastboot initially has a fast timeout. Do any command within 5 seconds. After that, take your time. Code:
C:\>fastboot getvar all ![]() Last edited by Renate; 12-10-2022 at 10:16 AM. |
![]() |
![]() |
![]() |
#45 | |
Zealot
![]() Posts: 135
Karma: 98
Join Date: Dec 2018
Device: Onyx Leaf 2 (White)
|
Quote:
Code:
Sending 000ac0e100000000_7be49b72f9e43372_fhprg_asus_peek.bin 0% End transfer returned error 12 This is how I wired it:
Maybe the RX trace needs to be bridged somewhere first? Should it give output while booting or only in EDL-mode? |
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |