|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Sorry for my English
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 3009894
Join Date: Aug 2018
Location: France.Besancon
Device: KOBO.PocketBook.ONYX
|
I need advice on how to send a binary file to a Pocketbook via UART from a PC.
Hi gang !
After a bad manipulation on the Pocketbook, I inadvertently deleted the important file for starting the device HWCONFIG.BIN DEVICE • Pocketbook Inkpad 4 EVENTS • The device can be started, the screen does not respond, you can only see the text Pocketbook. • After connecting the device to the PC (Win/Linux) I don't have the option to connect via USB, which would be really simple, so I could upload the HWCONFIG file to the root directory, which I would copy to the "/boot" folder and the problem would be solved, unfortunately life is not that simple. • I can only access the device through the UART port, when starting the device I see an error message that the device cannot be started because it cannot find the configuration file (HWconfig, which contains information about the device) I tried software on the PC side such as E-KEMRIT & KERMIT et which uses an older protocol like XMODEM, YMODEM or ZMODEM , but I think that in order for the file to be transferred I would have to run minicom on the Inkpad side as well? It seemed that I somehow managed to send a file from the PC to the Pocketbook once, but I couldn't find it anywhere on the device (pocketbook) (I don't even know where to look for it). QUESTION Does anyone have experience, a suggestion, or a procedure how I could send the HWBIN file to the Pocketbook using UART or otherwise? I tried to activate and mount the USB port through the command line (on the pocketbook page), but without success, even when Windows made the classic sound of the device being connected, but no drive appeared. It is not a simple text file where it is possible to manually write the information model=, scren= etc. through the text editor, but a binary file, so creating the HWCONFIG.BIN file manually is not considered. Well, maybe there will be someone who knows superhuman skills and will be able to give some advice or point me in the right direction. I downloaded the original and the new HWCONFIG.BIN file from another Inkpad4 device. At the very least, take this as a warning that when you do the slightest manipulation with files, always remember to make backups.. Last edited by Michal Jancik; Yesterday at 06:06 AM. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,997
Karma: 18346231
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Can you copy it to an SD card on your desktop, and then insert that into the inkpad and copy it from there?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Sorry for my English
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 3009894
Join Date: Aug 2018
Location: France.Besancon
Device: KOBO.PocketBook.ONYX
|
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,997
Karma: 18346231
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
How big is the missing file? If it isn't too big, you could 'echo' the contents into the file from the shell. For example, to write 0x00ff to a file:
echo -n -e \\x00\\xff > hwconfig |
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 757
Karma: 622656
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Is this your site?
https://cod-box.net/pocketbook-conne...via-uart-hack/ Did you try acces with Allwinner Tools? |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Sorry for my English
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 3009894
Join Date: Aug 2018
Location: France.Besancon
Device: KOBO.PocketBook.ONYX
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
IQ POCKETBOOK UART Conect | Michal Jancik | PocketBook Developer's Corner | 9 | 04-23-2024 12:35 PM |
How can I send a complex EPUB file via Send Kindle? | Vroo | Amazon Kindle | 8 | 12-16-2023 09:00 PM |
[Linux] Calibre 6.8.0 not starting "cannot execute binary file" | Artemide | Calibre | 1 | 11-09-2022 04:17 PM |
PW5 Getting UART and UART root shell on PW5 | trimen | Kindle Developer's Corner | 15 | 11-09-2022 07:20 AM |
FILE. Program to identify a file's format by scanning binary data for known patterns. | twobob | Kindle Developer's Corner | 3 | 05-13-2013 12:59 PM |