PocketBook 614 plus (pocketbook-614-plus): Difference between revisions
Hitechshell (talk | contribs) [TEMP] temporarily added device tree and Uboot config |
Hitechshell (talk | contribs) added information about the original software |
||
Line 22: | Line 22: | ||
<!-- Features --> | <!-- Features --> | ||
<!-- the following status_* questions should be answered with Y for yes, P for partial, N for no, - for N/A or unavailable, or left blank for untested or unknown --> | <!-- the following status_* questions should be answered with Y for yes, P for partial, N for no, - for N/A or unavailable, or left blank for untested or unknown --> | ||
| status_usbnet = <!-- USB networking does work? then put Y here and delete this comment --> | | status_usbnet = Y <!-- USB networking does work? then put Y here and delete this comment --> | ||
| status_flashing = <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. --> | | status_flashing = <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. --> | ||
| status_touch = <!-- Touch screen is working? You can also answer these questions with P for partially. --> | | status_touch = <!-- Touch screen is working? You can also answer these questions with P for partially. --> | ||
Line 72: | Line 72: | ||
| status_uboot_sd = Y | | status_uboot_sd = Y | ||
| status_uboot_usbhost = | | status_uboot_usbhost = | ||
| status_uboot_usbperipheral = | | status_uboot_usbperipheral = Y | ||
| status_uboot_screen = | | status_uboot_screen = | ||
| status_uboot_keyboard = | | status_uboot_keyboard = | ||
Line 92: | Line 92: | ||
<!-- you can use {{My devices}} on your profile page to show table with all your devices --> | <!-- you can use {{My devices}} on your profile page to show table with all your devices --> | ||
== | == Original software == | ||
A regular sdcard is used as internal memory, so we can simply take it out and read/write it on the computer. It is worth noting that the image is tied to a specific sdcard (its serial number), but it is enough to simply untie the image from this dependence. | |||
{{note|'''Note:''' Before experiments, make a backup copy of the SD card (via dd)}} | |||
== | <div class="toccolours mw-collapsible mw-collapsed" style="width: 1000px; overflow: auto;"> | ||
< | <code># fdisk -l /dev/sda </code> | ||
// | <div class="mw-collapsible-content"> | ||
<pre> | |||
Disk /dev/sda: 7.37 GiB, 7908360192 bytes, 15446016 sectors | |||
Disk model: Card Reader | |||
*/ | Units: sectors of 1 * 512 = 512 bytes | ||
Sector size (logical/physical): 512 bytes / 512 bytes | |||
I/O size (minimum/optimal): 512 bytes / 512 bytes | |||
Disklabel type: dos | |||
Disk identifier: 0x00000000 | |||
/ | Device Boot Start End Sectors Size Id Type | ||
/dev/sda1 1009664 15446015 14436352 6.9G b W95 FAT32 | |||
/dev/sda2 * 73728 139263 65536 32M 6 FAT16 | |||
/dev/sda3 1 1009664 1009664 493M 85 Linux extended | |||
/dev/sda5 139264 172031 32768 16M 83 Linux | |||
/dev/sda6 172032 204799 32768 16M 83 Linux | |||
/dev/sda7 204800 275455 70656 34.5M 83 Linux | |||
/dev/sda8 275456 776191 500736 244.5M 83 Linux | |||
/dev/sda9 776192 976895 200704 98M 83 Linux | |||
/dev/sda10 976896 1009663 32768 16M 83 Linux | |||
/ | Partition table entries are not in disk order. | ||
</pre> | |||
<pre> | |||
sda1 - userdata | |||
sda2 - boot partition (with kernel) | |||
sda5 - ??? | |||
sda6 - ??? | |||
sda7 - root (/) | |||
sda8 - /ebrmain (contain cramfs.img) | |||
sda9 - /mnt/secure (contain some apps and libs) | |||
sda10 - ??? (contain dictionaries) | |||
</pre> | |||
</div> | |||
</div> | |||
Unlinking an image from a specific SD card: after the system starts, the main application is launched - pocketbook located in /dev/sda8 (in fact, this is a link to /mnt/cramfs/bin/monitor.app). This binary contains a check for the serial number of the memory card. However, we can easily cheat this check: replace the path to the serialnumber of sdcard with a simple text file with this number. | |||
copy the cramfs.img file from sda8 and unpack it: <code>cramfsck -x tmp_cram cramfs.img </code> As a result, there will be a monitor.app file in the tmp_cram/bin directory. | |||
Using strings we can find that the program gets the serial number from <code>/sys/block/mmcblk%c/device/serial</code> | |||
Сreate a file with serial number in /mnt/secure (you can do it in another place, the main thing is that the final path is the same length as the line above) and replace path from from <code>/sys/block/mmcblk%c/device/serial</code> to your file. | |||
now just copy the file to sda8, delete the old link and create a new one. <code>ln -s monitor_patched.app pocketbook</code> | |||
== Installation == | |||
== See also == | == See also == | ||
* {{MR|4901|pmaports}} Initial merge request | |||
<!-- | <!-- | ||
Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234): | Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234): | ||
Line 315: | Line 153: | ||
* [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page] | * [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page] | ||
--> | --> | ||
* {{Device package|device-pocketbook-614-plus}} | |||
* {{Kernel package|linux-postmarketos-allwinner}} | |||
* {{Device package| | |||
* {{Kernel package| | |||
Revision as of 17:08, 14 March 2024
CHANGE_ME CHANGE_ME | |
Manufacturer | PocketBook |
---|---|
Name | 614 plus |
Codename | pocketbook-614-plus |
Model | PocketBook 614 |
Released | 2017 |
Type | ebook reader |
Hardware | |
Chipset | Allwinner A13 |
CPU | ARM Cortex-A8 @ 1Ghz |
GPU | Mali 400 MP1 |
Display | 800x600 e-paper |
Storage | microSDHC |
Memory | 256 MB |
Architecture | armv7 |
Software | |
Original software | PocketBook firmware |
Original version | Linux 3.0.8 |
FOSS bootloader | yes |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | yes |
postmarketOS kernel | 6.8.0 |
Unixbench Whet/Dhry score | 0.0 |
Flashing |
No data |
---|---|
USB Networking |
Works |
Internal storage |
Works |
SD card |
Works |
Battery |
Works |
Screen |
No data |
Touchscreen |
No data |
Multimedia | |
3D Acceleration |
No data |
Connectivity | |
WiFi |
No data |
Miscellaneous | |
FDE |
No data |
USB OTG |
No data |
Sensors | |
Accelerometer |
No data |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Barometer |
No data |
Power Sensor |
No data |
Primary Bootloader |
Works |
---|---|
Secondary Bootloader |
No data |
Mainline |
Works |
Internal Storage |
Works |
SD card |
Works |
USB Host |
No data |
USB Peripheral |
Works |
Display |
No data |
Keyboard |
No data |
Buttons |
No data |
Contributors
Users owning this device
Original software
A regular sdcard is used as internal memory, so we can simply take it out and read/write it on the computer. It is worth noting that the image is tied to a specific sdcard (its serial number), but it is enough to simply untie the image from this dependence.
Note: Before experiments, make a backup copy of the SD card (via dd) |
# fdisk -l /dev/sda
Unlinking an image from a specific SD card: after the system starts, the main application is launched - pocketbook located in /dev/sda8 (in fact, this is a link to /mnt/cramfs/bin/monitor.app). This binary contains a check for the serial number of the memory card. However, we can easily cheat this check: replace the path to the serialnumber of sdcard with a simple text file with this number.
copy the cramfs.img file from sda8 and unpack it: cramfsck -x tmp_cram cramfs.img
As a result, there will be a monitor.app file in the tmp_cram/bin directory.
Using strings we can find that the program gets the serial number from /sys/block/mmcblk%c/device/serial
Сreate a file with serial number in /mnt/secure (you can do it in another place, the main thing is that the final path is the same length as the line above) and replace path from from /sys/block/mmcblk%c/device/serial
to your file.
now just copy the file to sda8, delete the old link and create a new one. ln -s monitor_patched.app pocketbook
Installation
See also
- pmaports!4901 Initial merge request
- Device package
- Kernel package