Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > PocketBook

Notices

Reply
 
Thread Tools Search this Thread
Old 07-31-2023, 02:28 PM   #136
vita_k
Junior Member
vita_k began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2023
Device: PB TL3
Quote:
Originally Posted by opg2000 View Post
Replacing the internal memory card for Windows users
PocketBook PB626

# Opening the e-reader is easy to do with your fingernail around the case. No screws. Just click.
# Slide the SD card towards the contacts. Then it opens up a bit.
# Create a device image of the SD card using the card reader on the PC (Win10) and the program usb-image-tool-1-90.
# then write the created image to a replacement SD card (8GB in my case). (usb-image-tool-1-90)
# boot Simply@Clever Ubuntu from the USB stick and transfer the CID of the original SD card to a new SD card as described therein. (Only works with certain Samsung EVO Cards).
# Reinstall the SD card.

Simply@Clever -live-system is a mini-linux specially made for changing the CID on SD cards.
This worked for me :-)

The hardest part was to get a card with the hackable CID. Samsung Evo plus Made in Korea worked for me.

Thanks!

Last edited by vita_k; 07-31-2023 at 02:31 PM.
vita_k is offline   Reply With Quote
Old 10-07-2023, 01:44 PM   #137
Better_Boy
Junior Member
Better_Boy began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2023
Device: Pocketbook
I've followed instructions here
Thats what I've needed to do to get Pocketbook working and resize partition

Reading the CID of a new card
01. Read Pocketbook serial number in Settings -> About Device -> Device Model -> Serial number: YT...
02. Reading the CID number from the new SD card:
- Connecting the SD card to an Android phone with root
- In the terminal:
- adb root
- adb shell
- cat /sys/block/mmcblk1/device/serial
- Write down the extracted CID number of the new SD card

Alternative:
- Install Raspberry Pi OS - can be a Lite version. In the settings before installing to the card, enable SSH, set username and password. Enter the wifi network SSID and password.
- After connecting via ssh, execute the command:
- cat /sys/block/mmcblk0/device/serial
- Write down the extracted CID number of the new SD card


Preparing a new card
01. Backup the original SD card with the Pocketbook image with the USB Image Tool
02. Restore the SD card from the image to the new card. It can be of larger size.
03. Unzip progs.7z
04. Go to the Linux directory and execute the make command in the terminal
05. Go to the serial directory and execute the command in the terminal:
./serial --serial_number NUMBER_SERIAL_POCKETBOOK --sd_serial NEW_NUMBER_CID_CARD
A .freezestatus file should be created

Alternatively, it can be under Windows. In the win32/x64 directory run the command:
./serial.exe --serial_number NUMBER_SERIAL_POCKETBOOK --sd_serial NEW_NUMBER_CID_CARD

06. Upload the created file to Linux (ex.: scp .freezestatus pi@192.168.214.214:/home/pi)
07. Connect the new card to the Linux system
08. Execute the commands in the terminal as root:
- su // login as root
- mkdir /mnt/sd9
- fdisk -l // list the disks
Check what device name sd card has (ex. /dev/sdb)
- mount /dev/sdb9 /mnt/sd9 // mount partition number 9
- cd /home/pi
- cp .freezestatus /mnt/sd9/.freezestatus
- umount /dev/sdb9

Partition expansion if card is larger than original:
Tutorial on yt
Run the commands in terminal:
01. List drives: fdisk -l
Check what device name sd card has (ex. /dev/sdb)
02. fdisk /dev/sdb
03. p // list partitions
We check the list of partitions. Partition 1 in my case had 3.2GB - this partition we want to expand.
In my case there was also a problem with overlapping partitions. Partition sdb3 ended and partition sdb1 started at location 1009664.
04. d // delete partition
1 // number 1
05. n // create partition
p // primary
1 // numbered 1
1009665 // with a start block like the original partition number 1 (in my case one larger by overlapping)
Press "enter"
06. t // change partition type
1 // with partition number 1
0b // to W95 FAT32
06. w // save changes
Messages may pop up:
Failed to remove partition 1 from system: Device or resource busy
Failed to add partition 1 to system: Device or resources busy
Just ignore them.
07. After inserting the card into the Pocketbook, a message pops up to format the card. We perform the formatting.
08. We copy the contents of the old card to the newly formatted partition. By copying the hidden system folder, we will also move the book progress and other settings.
Better_Boy is offline   Reply With Quote
Old 10-08-2023, 05:08 AM   #138
neil_swann80
0000000000101010
neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.
 
neil_swann80's Avatar
 
Posts: 5,332
Karma: 10101011
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
Better_Boy's very first link (above) 404s.
If anyone needs it, it is Post 93 of this thread

This solution should be better as you can theoretically use any microsd card, not just one with a hackable CID.

USB Image Tool - for creating image of original microsd
If you can't backup your own microsd image, try this IMAGE

To read the CID of the microsd card from an Android phone that isn't rooted, you could try THIS

Attached the necessary progs.7z (now progs.zip to be forum compliant) - for preparing the new microsd
Attached Files
File Type: zip progs.zip (368.3 KB, 118 views)

Last edited by neil_swann80; 10-10-2023 at 11:45 PM.
neil_swann80 is offline   Reply With Quote
Old 03-05-2024, 05:45 PM   #139
Hell_Keeper
Junior Member
Hell_Keeper began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2024
Location: France
Device: PocketBook Touch lux 2
Thank you very much for all information . I just realize that my memory was dead this day and I solved to fix the reader with your post .

I only struggle about the size of the data partition that can be extended. After some tries reading @Better_Boy instruction without succes I used fdisk sectore recommandation deleting and creating the partitoon and now I hace "something working", but in this case the reader sees the memomy at a total of 4Gi and a free space of the real partition size. Have you the same behavior ? I didn't succeed to keep book reading history but no matter I prefer to have a working reader than a read only xD !

Last edited by Hell_Keeper; 03-05-2024 at 05:48 PM.
Hell_Keeper is offline   Reply With Quote
Old 03-06-2024, 04:23 AM   #140
Gillou57
Member
Gillou57 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Mar 2024
Device: Pocketbook touch lux 2
Quote:
Originally Posted by Hell_Keeper View Post
Thank you very much for all information . I just realize that my memory was dead this day and I solved to fix the reader with your post .

I only struggle about the size of the data partition that can be extended. After some tries reading @Better_Boy instruction without succes I used fdisk sectore recommandation deleting and creating the partitoon and now I hace "something working", but in this case the reader sees the memomy at a total of 4Gi and a free space of the real partition size. Have you the same behavior ? I didn't succeed to keep book reading history but no matter I prefer to have a working reader than a read only xD !
hello,
I'm French, I have a problem with my Pocketbook touch lux 2 and I can't repair it, could you give me a simple tutorial for Ubuntu?
Thank you in advance, I would like to give it to a friend.
Gillou57 is offline   Reply With Quote
Old 03-06-2024, 12:15 PM   #141
Hell_Keeper
Junior Member
Hell_Keeper began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2024
Location: France
Device: PocketBook Touch lux 2
Bonjour, cela va être un peu difficile à vous répondre sans savoir a quel point vous pouvez être à l'aise les différents éléments mais le commentaire de Better_Boy au dessus devrait suffire . Il faut juste pas utiliser le CID comme indiqué avec le nom "NEW_NUMBER_CID_CARD" mais le serial number de la nouvelle carte SD.
Hell_Keeper is offline   Reply With Quote
Old 03-06-2024, 02:22 PM   #142
Gillou57
Member
Gillou57 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Mar 2024
Device: Pocketbook touch lux 2
Bonjour,
c'est un peu compliqué pour moi sous ubuntu, je ne suis pas tres à l'aise avec les commandes.
je suis plus a l'aise avec Windows

en fait j'ai suivi ce tuto
http://luator.de/linux/2019/11/23/po...ce-memory.html

j'ai réussi à graver la nouvelle image sur une nouvelle SD 8GO
j'ai récupéré .sd_original_serial et monitor.app avec SD_prepare

j'ai ensuite fais ceci
Code:
Insérer simplement la nouvelle carte dans la liseuse ne fonctionnera pas, car le CID de la nouvelle carte ne correspond pas à la valeur attendue par le logiciel. Le application vérifiant qu'il s'agit bien du monitor.app que nous avons extrait dans le début. Ouvrez ce fichier dans un éditeur hexadécimal. Recherchez la chaîne suivante :

/sys/block/mmcblk%c/device/serial

et remplacez-le par

/mnt/secure/.sd_original_serial

Important : La nouvelle chaîne est un peu plus courte que celle d'origine, vous vous devez le remplir avec zéro octet pour correspondre à la longueur !

Enregistrez le fichier modifié sous le nom monitor_patched.app. Conservez une sauvegarde du fichier d'origine !
Voilà ce qu'il me reste à faire mais je n'y arrive pas, je n'ai pas les droits pour le faire

Code:
Maintenant, nous plaçons le fichier corrigé et le fichier avec le CID d'origine sur les partitions appropriées de la nouvelle carte. Si l'image a été copiée correctement, le la carte doit contenir dix partitions.

    Monter /dev/sdx9et copiez le fichier .sd_original_serial à cela.
    Monter /dev/sdx8et copiez le fichier monitor_patched.app à cela.

    Dans le répertoire dans lequel vous avez monté /dev/sdx8 exécuter ce qui suit commandes :

    chmod a+x monitor_patched.app
    mv pocketbook pocketbook_ORIG
    ln -s monitor_patched.app pocketbook
voilà merci pour l'aide
Gillou57 is offline   Reply With Quote
Old 03-07-2024, 02:57 PM   #143
Hell_Keeper
Junior Member
Hell_Keeper began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2024
Location: France
Device: PocketBook Touch lux 2
Les commandes comme mount (monter une partition) ou umount (la démonter) nécessitent des priviléges supérieurs (en mode administrateur si vous voulez). Sur un système comme ubuntu, vous pouvez utiliser, avant de taper les commandes, la commande 'sudo' pour utiliser un terminal avec l'utilsateur root (votre mot de passe d'utilisateur devrait dévérouiller la fonctionnalité).

Attention avec des droits administrateur vous pouvez literralement tout faire et aussi tout casser ^^ !

Personnelement je n'ai pas utilisé cette méthode pour réparer ma touch lux 2 mais cette avec l'appli 'serial du forum russe'. Si je peux vous aider pour l'enchainement des commandes, il faut d'abord que vous identifiez les bonnes partitions à monter (le sdx fait référence à une lettre a,b,c ... et cela va dépendre des disques dur / ssd déjà présent dans votre machine. Afin d'identifier la bonne lettre, le plus simple est de :

1/ Ne pas connecter la carte sd à votre pc
2/ Utiliser la commande 'ls /dev/sd*'
3/ Brancher la carte SD
4/ Utiliser la commande 'ls /dev/sd*'

A ce moment vous devriez voir de nouveau "fichier" sdx allant certainement de 1 à 9 (si c'est comme ma liseuse) comparé au résultat de la commande de l'étape 2. On va considérer que dans votre cas, c'est là lettre b (avec la carte SD connecté vous voyez sdb1,sdb2....,sdb9).

Pour la suite des commande, vous pouvez utiliser un terminal en mode root. Pour ce faire

'sudo su'

Entrer votre mot de passe et à partir de là on fait attention à ce que l'on tape !
Voici l'ensemble des commandes pour simplifier votre étape manquante :

Code:
cd /tmp
mkdir sdcar_sdb8 sdcar_sdb9
mount /dev/sda8 sdcar_sdb8 
mount /dev/sda9 sdcar_sdb9
cp ?????/.sd_original_serial  ./sdcar_sdb9
cp ?????/monitor_patched.app ./sdcar_sdb8
cd sdcar_sdb8
chmod a+x monitor_patched.app
mv pocketbook pocketbook_ORIG
ln -s monitor_patched.app pocketbook
cd .. 
umount sdcar_sdb8 
umount sdcar_sdb9
Les ????? sont à remplacer par le chemin du dossier qui contient les fichiers créés précédement '.sd_original_serial' et 'monitor_patched.app'. Le terminal utilisé peut être fermé à présent et la carte SD éjecté.

J'espère que çà peut vous aider .
Hell_Keeper is offline   Reply With Quote
Old 03-08-2024, 03:48 AM   #144
Gillou57
Member
Gillou57 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Mar 2024
Device: Pocketbook touch lux 2
Merci pour cette réponse

une fois les "?" remplacé, je peux copier coller toutes les lignes en même temps et les exécuter ?
Gillou57 is offline   Reply With Quote
Old 03-08-2024, 04:06 AM   #145
Hell_Keeper
Junior Member
Hell_Keeper began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2024
Location: France
Device: PocketBook Touch lux 2
Quote:
Originally Posted by Gillou57 View Post
Merci pour cette réponse

une fois les "?" remplacé, je peux copier coller toutes les lignes en même temps et les exécuter ?
Si je ne me suis pas trompé oui !
Hell_Keeper is offline   Reply With Quote
Old 03-08-2024, 04:44 AM   #146
Gillou57
Member
Gillou57 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Mar 2024
Device: Pocketbook touch lux 2
ok je vais essayer ça
Gillou57 is offline   Reply With Quote
Old 03-08-2024, 04:59 AM   #147
Gillou57
Member
Gillou57 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Mar 2024
Device: Pocketbook touch lux 2
en gros ça devrait donner ça !!

Code:
cd /tmp
mkdir sdcar_sdb8 sdcar_sdb9
mount /dev/sda8 sdcar_sdb8 
mount /dev/sda9 sdcar_sdb9
cp /dev/sdb9/.sd_original_serial  ./sdcar_sdb9
cp /dev/sdb8/monitor_patched.app ./sdcar_sdb8
cd sdcar_sdb8
chmod a+x monitor_patched.app
mv pocketbook pocketbook_ORIG
ln -s monitor_patched.app pocketbook
cd .. 
umount sdcar_sdb8 
umount sdcar_sdb9
c'est ce que je vois dans le terminal
Gillou57 is offline   Reply With Quote
Old 03-08-2024, 09:29 AM   #148
Gillou57
Member
Gillou57 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Mar 2024
Device: Pocketbook touch lux 2
Je viens de faire un essai et voila ce que ça me dit

Code:
gilles@gilles-HP:~$ sudo su
[sudo] Mot de passe de gilles*: 
root@gilles-HP:/home/gilles# cd /tmp
root@gilles-HP:/tmp# mkdir sdcar_sdb8 sdcar_sdb9
root@gilles-HP:/tmp# mount /dev/sda8 sdcar_sdb8 
mount: /tmp/sdcar_sdb8: le périphérique spécial /dev/sda8 n'existe pas.
root@gilles-HP:/tmp# mount /dev/sda9 sdcar_sdb9
mount: /tmp/sdcar_sdb9: le périphérique spécial /dev/sda9 n'existe pas.
root@gilles-HP:/tmp# cp /dev/sdb9/.sd_original_serial  ./sdcar_sdb9
cp: impossible d'évaluer '/dev/sdb9/.sd_original_serial': N'est pas un dossier
root@gilles-HP:/tmp# cp /dev/sdb8/monitor_patched.app ./sdcar_sdb8
cp: impossible d'évaluer '/dev/sdb8/monitor_patched.app': N'est pas un dossier
root@gilles-HP:/tmp# cd sdcar_sdb8
root@gilles-HP:/tmp/sdcar_sdb8# chmod a+x monitor_patched.app
chmod: impossible d'accéder à 'monitor_patched.app': Aucun fichier ou dossier de ce type
root@gilles-HP:/tmp/sdcar_sdb8# mv pocketbook pocketbook_ORIG
mv: impossible d'évaluer 'pocketbook': Aucun fichier ou dossier de ce type
root@gilles-HP:/tmp/sdcar_sdb8# ln -s monitor_patched.app pocketbook
root@gilles-HP:/tmp/sdcar_sdb8# cd .. 
root@gilles-HP:/tmp# umount sdcar_sdb8 
umount: sdcar_sdb8: non monté.
root@gilles-HP:/tmp# umount sdcar_sdb9
J'en deduit que ce n'est pas bon ?
Gillou57 is offline   Reply With Quote
Old 03-08-2024, 12:42 PM   #149
Gillou57
Member
Gillou57 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Mar 2024
Device: Pocketbook touch lux 2
Code:
Préparation d'une nouvelle carte
01. Sauvegardez la carte SD d'origine avec l'image Pocketbook avec USB Image Tool
02. Restaurez la carte SD de l'image vers la nouvelle carte. Il peut être de plus grande taille.
03. Décompressez progs.7z
04. Accédez au répertoire Linux et exécutez la commande make dans le terminal
05. Accédez au répertoire série et exécutez la commande dans le terminal :
./serial --serial_number NUMBER_SERIAL_POCKETBOOK --sd_serial NEW_NUMBER_CID_CARD
Un fichier .freezestatus doit être créé

06. Téléchargez le fichier créé sur Linux (ex. : scp .freezestatus pi@192.168.214.214:/home/pi)
07. Connectez la nouvelle carte au système Linux
08. Exécutez les commandes dans le terminal en tant que root :

su 
mkdir /mnt/sd9
mount /dev/sdb9 /mnt/sd9 
cd /home/pi
cp .freezestatus /mnt/sd9/.freezestatus
umount /dev/sdb9
Je suis entrain de regarder le tuto de Better_Boy

en gros il faut juste que je fasse ce qui est au dessus sans la partie rouge c'est ça ?
Gillou57 is offline   Reply With Quote
Old 03-10-2024, 07:36 AM   #150
Hell_Keeper
Junior Member
Hell_Keeper began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2024
Location: France
Device: PocketBook Touch lux 2
Salut, si il te faut trouver le serial de ta nouvelle carte (partie la moins évidente à faire) et utiliser cette commande. Dans mon cas j'ai utilisé une tablette android pour çà mais je ne sais pas si tu peux avoir une application ou autre pour avoir l'info car je suis passé en mode adb shell et ligne de commande pour récupérer l'info.

Dans ta tentive précédente ta première erreur est :

mount: /tmp/sdcar_sdb8: le périphérique spécial /dev/sda8 n'existe pas.


Tu n'as pas du trouver le bon périphérique. Il est fort probable que ce ne soit pas sda mais un sdb, sdc, sdd, ...
Je recopie comment faire pour identifier les bonnes partitions :

Quote:
il faut d'abord que vous identifiez les bonnes partitions à monter (le sdx fait référence à une lettre a,b,c ... et cela va dépendre des disques dur / ssd déjà présent dans votre machine. Afin d'identifier la bonne lettre, le plus simple est de :

1/ Ne pas connecter la carte sd à votre pc
2/ Utiliser la commande 'ls /dev/sd*'
3/ Brancher la carte SD
4/ Utiliser la commande 'ls /dev/sd*'
Hell_Keeper is offline   Reply With Quote
Reply

Tags
pb626, pocketbook


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No write access to Kobo internal memory (seemingly) simonk Kobo Reader 3 11-22-2015 12:35 PM
Touch Is it better to us SD than internal memory? CatherineStewart Kobo Reader 5 09-12-2012 11:46 AM
Books on internal memory show as on Memory Stick doreenjoy Sony Reader 6 06-05-2009 02:08 AM
Internal Memory jlbfoot Sony Reader 3 12-16-2008 04:34 PM
Memory cards and internal memory Valloric Sony Reader 30 02-15-2008 05:46 AM


All times are GMT -4. The time now is 09:25 AM.


MobileRead.com is a privately owned, operated and funded community.