12-08-2021, 05:50 AM | #31 |
Junior Member
Posts: 5
Karma: 10
Join Date: Oct 2021
Location: Madrid
Device: Cervantes Light, Kobo Touch
|
Hi,
I do not want to give up... ;-) Reading at the end of the bq developer program page in wayback: To create this image: 1 Package the root filesystem on a tar.gz. 2 Use gpg to encrypt and sign this file using the hackers-keyring-host.tar.gz keyring. 3 Place encrypted image and the signature inside a folder called bqupdate with names update.img and update.asc respectively. 4 Zip the folder. 5 Share the folder with the community Could that be a way forward? I have also seen people setting up a Docker with the devel tools... |
12-10-2021, 06:15 AM | #32 | |
cosiñeiro
Posts: 1,331
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
The hackers keyring used to sign an update is valid ONLY IF the bootloader is unlocked. To have an unlocked bootloader you need to follow the steps that no longer work. Again: please create your own thread elsewhere if you insist it's doable. Let's see how it's going. |
|
Advert | |
|
12-18-2021, 09:14 AM | #33 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2012
Device: Samsung Galaxi S2
|
Quote:
Any idea how to install Developers edition firmware on a Cervantes 3 device? Regards |
|
12-28-2021, 10:38 AM | #34 | |
cosiñeiro
Posts: 1,331
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
A motivated user could try to open the device, find the serial port, solder it to a TTL USB serial, hook it to a computer and see if you get a login prompt (and hope there's no password in there). Honestly I've never played with stock firmware, so I'm not sure how hardened it is. I guess not much and, once you get shell access, you can start tweaking things in the root filesystem without problems. |
|
02-22-2022, 08:15 AM | #35 | |
Member
Posts: 13
Karma: 10
Join Date: Feb 2022
Device: bq Cervantes 4
|
Quote:
Just to make sure, if I am still in stock I can't install the Developers Edition somehow because it needs to connect with some server which is not up? |
|
Advert | |
|
05-27-2022, 11:12 AM | #36 |
Junior Member
Posts: 1
Karma: 91570
Join Date: May 2022
Device: none
|
Motivated user here. I freed a Cervantes 4 a few weeks ago.
Registering the device with the now defunct online service would just have created one of this flag files, depending on the model: /mnt/private/hackers_ok /mnt/private/hackers_e60q22_ok Installing hackers firmware checks if the file exists. 1. Open the device by sliding a guitar pick around it. The screen sticks with some adhesive to the top half of the case. Be careful not to break your screen. 2. There are at least 3 groups of the four pads that look like serial ports. The boot console is the one at the top. It uses TTL, so you'll need a level shifter. I used a BusPirate to connect. 3. Send ESC early at boot to enter the U-Boot console. 4. Add the kernel parameter 'init=/bin/bash' and boot. This will bypass most of the startup an go straight to a root shell. 5. Use sed to clear the root password from /etc/passwd (or /etc/shadow, I don't remember), reboot. 6. Login as root. 7. touch /mnt/private/hackers_ok /mnt/private/hackers_e60q22_ok 8. Clean the adhesive residue (not the strip, the other side) with alcohol, reassemble the device. 9. Now you can flash the hackers firmware as if your device was registered. This instructions are from memory, so details like the pinout of the serial port, sed usage and how to set U-Boot environment variables are left as an excercise to the reader. It might be possible to skip 5 and 6 and create the flag files from the recovery shell if /mnt/private is available or can be mounted from there. I did not try that. It might be possible to get the flag files written without opening the device. The original firmware is pretty old, I would be surprised if there is no vulnerability in it that allows that. |
06-25-2022, 01:39 PM | #37 |
Member
Posts: 11
Karma: 10
Join Date: Jul 2020
Device: BQ Cervantes Touch Light
|
Hello, for all running KOReader on BQ Cervantes devices, I noticed one thing:
Is there an easier way to move downloaded dictionaries to the dict folder in /mnt/private/koreader/data/dict/? I noticed that the folder in /mnt/private/koreader/data/dict/ is always invisible, even when looking through the file browser on the device. In comparison, creating a folder in /mnt/public/ called dict will make all files placed within this folder not get moved to the device through USB Mass Storage mounting. Since only the public folder is able to be mounted in USB Mass storage, it makes it a bit more cumbersome for me to move dictionaries when I have to create a randomly-named folder in the Books folder, and then go to telnet, mount that random folder, then mv to /mnt/private/koreader/data/dict. Is this a feature of koreader to hide the /dict/ folder from the file browser on the BQ Cervantes? I would like to be able to remove a dictionary if I find it is not of adequate quality without having to go through telnet. Thank you. |
06-25-2022, 03:00 PM | #38 | |
cosiñeiro
Posts: 1,331
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
/mnt/private is not exporter via USB. Only /mnt/public and /mnt/sd are. Was a design decision based on a previous attempt at make USBMS work inside KO. Since we currently handle USBMS outside the program I guess it is safe to export /mnt/private too. A lot of errors. More thab normal. Sorry, on mobilre ATM |
|
06-25-2022, 03:14 PM | #39 | |
Member
Posts: 11
Karma: 10
Join Date: Jul 2020
Device: BQ Cervantes Touch Light
|
Quote:
|
|
06-25-2022, 06:48 PM | #40 |
cosiñeiro
Posts: 1,331
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Yup. The whole thing is a bit messier than I would like.
In a perfect world the user data would be on the public partition (like on android) and would be exported on USBMS session. Sadly doing that now without breaking the workflow of the (10, 50, 100?) BQ users would be non trivial and a bit messy by itself. OTOH exporting the private partition can be done without breaking backwards compatibility assuming KOReader is the only program the user has installed and there're no daemons running at the time of export (mostly the SSH server bundled with KO). |
12-10-2023, 08:24 PM | #41 |
Member
Posts: 13
Karma: 10
Join Date: Feb 2022
Device: bq Cervantes 4
|
I have successfully broke free of the stock firmware. At least according to my usb to ttl console output. it says hacker in the shebang. I got a new screen from aliexpress but while it is working I don't have touch. All the buttons seem to work. Haven't tested to see if the touchscreen is being recognized. I only tried to run evtest which is missing. I am contemplating going back to stock with a complete reset just to be sure I haven't messed anything while I was trying to hack my way into the hackers firmware.
One interesting fact is that quite shorltly I get a freezing user space programs and I can't interact with the console at least not until I press the power button go to sleep then press it again and go back where I can interact with the machine for a couple of seconds before it freezes again. I guess that is a suspension mechanism, but can I disable it somehow at least until I figure out what is going on with my touchscreen? If I need to ask for a refund or fix it? |
12-13-2023, 10:03 AM | #42 |
Member
Posts: 13
Karma: 10
Join Date: Feb 2022
Device: bq Cervantes 4
|
I am creating a new reply since I don't seem to be able to edit previous posts. After replacing my screen I am glad to say that I am now using KOReader on my BQ Cervantes 4. You can install the developer's firmware over stock even now following the guidelines of QuixoteDon. I can create a more detailed guide if somebody wants it.
The only thing that I tried and seems to not work as before is the frontlight when I try manually to increase Brightness it seems to be working as intended but the Warmth slider while it is going from 0 to 9 it seems to be decreasing brightness (I guess maybe removing blue light which makes overall brightness be perceived as lower) yet when I pass to 10 or higher it shuts all leds altogether. While I remember on the stock firmware it went to a really bright orange colour. |
12-13-2023, 10:18 AM | #43 |
Member
Posts: 13
Karma: 10
Join Date: Feb 2022
Device: bq Cervantes 4
|
After replacing my screen I have installed KOReader on my BQ Cervantes 4 and everything seems to be working alright. Now other than getting used to the new UI the only thing that seems missing is the warm light.
In the Frontlight, brightness slider seems to be working as intended yet the Warmth only has a feedback from 0 to 9 which seems to be lowering brightness as you go up and upon hitting 10 it seems to disable frontlight altogether. On stock firmware (not developer's) you could make it a very bright orange. Is there any way to test it without going back to stock? P.S. I can write a detailed guide on how to install developer's firmware over stock even now if somebody wants it. |
12-13-2023, 12:10 PM | #44 | |
cosiñeiro
Posts: 1,331
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
As far as warmth please check with an old version of KOReader (something 2021 up to mid 22) to discard a regression in common code. Warmth works or at least worked fine here. Not sure if it behaves exactly like stock but I can bet there're no improvements to be made there. The only thing that differs from stock is double click actions on the home button, which are not available on KO. There's a ticket on github in case you want to dig in that particular feature. |
|
12-13-2023, 12:30 PM | #45 | |
Member
Posts: 13
Karma: 10
Join Date: Feb 2022
Device: bq Cervantes 4
|
Quote:
By the way before trying KOReader the stock reading app was crashing (on developer's firmware) on every page turn. Now that I am already in the developer's mode can I reset the device to an "almost" original state to check the Frontlight and the stock reading app? All the files I used are from the archive dot org so they may not be the latest. Do you maybe have those? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Koreader running on Kobos (all of them, hopefully!) | giorgio130 | KOReader | 3525 | 10-30-2024 06:25 AM |
Does KOReader work on keyboard based Kindle Devices now? | hayden | KOReader | 2 | 06-10-2018 09:56 PM |
KOReader problems with Boyue devices | chromeuser | KOReader | 0 | 06-12-2016 07:39 PM |
Errors with EPUB rendering on Kobo Aura H2O running koreader-stable-v2015.11 | algernonramone | KOReader | 8 | 03-16-2016 01:55 AM |
Running 2 devices with calibre | trott3r | Devices | 7 | 02-12-2011 11:05 AM |