Quote:
Originally Posted by nftstra
I tried this as well but it didnt solve the problem the device keep running on the original vcom which is in my case off by a lot so its hurting the screen, the last thing gpt suggest is to change the hex files on the sd card
so im going to look how i can carefully remove the sd card and clone it on a new one and see what happens
|
It is not necessary to remove the SD card from the device to change the vcom values.
Enable network access (SSH, FTP, Telnet) on your Kobo Libra 2 using NickelMenu, or
enable SSH manually. Use any SSH, FTP, or Telnet client, such as PuTTY.
Copy the unpartitioned 24 MB area (sectors 0–49151) from the device to the root of the device using dd:
Code:
dd if=/dev/mmcblk0 of=/mnt/onboard/0-49151_24MB.img bs=1M count=24
Check the vcom value of your new screen (for example, mine is -1.67 mV).
Take the value -167 (in my case) and convert it using a
Decimal to Hexadecimal converter.
For -167, I got FF59.
Connect the Kobo Libra 2 to your PC and open the file 0-49151_24MB.img using the HxD editor.
Go to offset 80030 (Ctrg + G).
At offset 80030, change the values in columns 07 and 08 to FF59 (yours will be different) and save the file.
Safely disconnect the Kobo from the PC and connect via the network (SSH, FTP, Telnet).
Copy the modified 0-49151_24MB.img to the device using dd.
Code:
dd if=/mnt/onboard/0-49151_24MB.img of=/dev/mmcblk0
Once the process is complete, reboot the device.
Here is a short
video, it might be helpful to someone.
If necessary, we handle a "non-native" SD card image in the same way.
Open the SD card image in a hex editor, locate offset 80030, change the hex values in columns 07 and 08 to the ones calculated using a "Decimal to Hexadecimal converter," and save the file.
I’m no expert, so please let me know if there are any errors or if there’s a different way to do it.
This was discussed
here at some point, but the topic didn't generate much interest.