View Single Post
Old 09-09-2024, 05:47 AM   #8
aeris_
Junior Member
aeris_ began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2024
Device: Pocketbook Inkpad 840
Quote:
Originally Posted by Petr_zit View Post
Hello, thank you. You are right. Unfortunatelly, it is very problematic to make some changes as it is squash fs, little indian as far as I know. I have read only problem with my card, I wanted to try https://luator.de/linux/2019/11/23/p...ce-memory.html solution, but I have not found how to do it, it looks to complicated for me, because it is not possiblke to address all folder as shown and also SD_prepare.zip prepare two files, but they are zero size, empty...

If someone would have any help or recommendation I would be happy. I know that PocketBook 840 is old type, but it is only 8" I can find. There are only 10" or 6-7" on the market, and it is too big or too small, I really like 840 InkPad 8".... Thank you very much.
Hello!

There's another way to replace the internal micro SD card. I also tried the tutorial from your link last week but couldn't figure it out as I'm not used to Linux in general so I tried to find solutions which could work using Windows.

Here's how I did it:

1. Download the serial.zip attached to this post and extract content on the root of your external SD card (this will place the serial.app in the "applications" folder on the external card), put the card in the reader and launch the app.
It will generate a deviceinformation.txt file which contains the serial number of the reader (device serial) + the serial number of your external sd card (CID-external) that you'll need later.

2. Make a full backup image of the old (4gb) micro SD card. (used HDDRawCopy portable version https://hddguru.com/software/HDD-Raw-Copy-Tool/ )

3. Restore the backup on the new (I used a Samsung EVO 32gb) micro SD card.


-You won't need your old sd card anymore. From this point everything will be done on the new micro SD card-
(keep the old card and the full backup around just in case you need to try again if something doesn't work)


4. I used VirtualBox and launched ubuntu https://ubuntu.com/download from it (it's not necessary to install it, I used the 'try ubuntu" mode, but be careful if you place files on it don't close the virtual box or save the state when you turn it off, to keep the folders/files)

5. On ubuntu I installed GIT (it retrieves packages in github) by opening a console from desktop and using the command

sudo apt-get install git-all

6. The github package pocketbook-bootloop-fix helps to generate a .freezestatus file which is the file to replace on internal memory to be able to use the new sd card.

The command to download it is

git clone https://github.com/spanceac/pocketbook-bootloop-fix

7. Locate the pocketbook-bootloop-fix folder, then go to the Linux folder and open a console from that folder

In the command prompt use the following command:

make

Then press ENTER


Now that the tool is ready to generate files, this is the code that will generate the file you need:

./serial/serial --serial_number POCKETBOOK_SERIAL_NUMBER --sd_serial SD_CARD_SERIAL_NUMBER

Where POCKETBOOK_SERIAL_NUMBER is the serial number of the device and SD_CARD_SERIAL_NUMBER your NEW sd card’s CID number. (don't be like me and use the old SD card's CID number and wonder what went wrong for hours lol)

Example with random numbers:

./serial/serial --serial_number YT001900087600W000X9 --sd_serial 0xd709e03f


Now you've got a .freezestatus file in the /pocketbook-bootloop-fix/Linux folder

8. To be able to copy it to the right folder you'll have to enable read/write permission for the new sd card.

note: I don't know much about Linux so there might be a faster way to do it

9. Mount the sd card using a usb reader (Linux won't recognise the computer's micro sd card reader).

I have one like this https://www.amazon.co.uk/Wen-Cheng-M.../dp/B073SYX1TF

10. From file manager I clicked on every folder that appeared (you should see about 5 folders) (for some reason this is the only way I found for the terminal to detect my folders, once they appeared in file manager I was able to apply commands for these folders)

11. There's a 103MB folder that cannot be read, try to open it anyway so it appears in media/ubuntu

12. Once all folders are visible in media/ubuntu I opened a console in that folder* and used the command:

*(you can use cd /media/ubuntu/ to make sure you're in the right folder)

sudo chmod -R -v 777 *


13. You should be able to open all folders now, locate the one that has a .freezestatus file (it should be a folder that contains other folders such as “dictionaries, lost+found, pbpk, ppbk,” etc.) , and replace the .freezestatus file present with the one you've created.

That's it! Put the new card into the internal slot and it should launch.

14. (optional) Increase internal memory size using a bigger micro SD card:

If you have a bigger SD card and want to increase the internal memory size, this post https://www.mobileread.com/forums/sh...8&postcount=89 sums up all the commands to use and works well! (don't forget to make a backup of the "Pocketbook" partition that contains all your personal files, as you have to delete the partition before recreating it). Thanks polossatik!

-> To find the card's path name to be able to apply sudo fdisk /dev/sdx where x is a letter that can change each time you plug your card, go to one of the card's folder click right and go to the properties, then open it in Disks.

Disks will display the full name of the partition's path (for instance /dev/sdd1, so you'll know to replace sdx with sdd for the command, don't add the partition number as fdisk will run for the whole sd card).



If anyone has questions feel free to ask, this is summarised version of a longer tutorial I wrote to myself in case this happens again.

Massive thanks to the other threads where I found the .freezestatus method and how to increase internal memory size. Links below

https://www.mobileread.com/forums/sh...0&postcount=93


https://www.mobileread.com/forums/sh...55#post4406955


https://www.mobileread.com/forums/sh...d.php?t=278728


https://www.mobileread.com/forums/sh...8&postcount=89



Source of the serial.app (thanks a lot nhedgehog!)

https://www.mobileread.com/forums/sh...2&postcount=56



Misc.: Formatting a micro SD card in fat32 using max 32kb sectors allows to put a bigger external SD card in the reader.
Tried it using guiformat https://github.com/inconsistent-dg/g...readme-ov-file to format a 64Go sd card, works well.
Ended up with 32Gb internal + 64Go external. Might work with bigger SD cards.
Attached Files
File Type: zip Serial.zip (1.0 KB, 215 views)
aeris_ is offline   Reply With Quote