View Single Post
Old 11-11-2015, 06:03 PM   #7
misterkind(le)
Junior Member
misterkind(le) began at the beginning.
 
Posts: 1
Karma: 12
Join Date: Nov 2015
Device: kindle 3g US
Resolve waveform problem using just a computer and the kindle (WLAN needed).

Hi everyone,

so I bought a screen of a supplier in Hong-Kong and it turns out the wave file is not recognized. I realized this only after getting rid of the old screen, so the solution of temporarily updating the file during a reset phase by swaping the connector to the old screen is not an option for me.

After reading intensively and fiddling around even more I did come up with the following procedure which at least works for now. Here is an overview of the steps:
1) root the kindle
2) generate the password for WLAN access to /
3) find out the screen description looking into stored files on the device
4) create a custom .wbf file on your computer by altering the name and content slightly to match your screen
5) transfer and make a symbolic link (ln -s) to it on your kindle.

so... details of the setps:
1) & 2)
I used the explanation on this site to root my kindle:
https://speely.wordpress.com/2012/12...ndle-keyboard/

3)
- configure the sshd server on the kindle when it is connected via USB
- unplug it
- activate the WLAN using the kindle menu (make sure it is not 3g)
- go into settings and find the ip address of your kindle
menu--settings
type 711 (Alt+U Alt+Q Alt+Q)
- activate the ssh server by typing following comands on the kindle
";debugOn" then Enter
"~usbNetwork" then Enter
- log into your kindle via WLAN using root and the password found under point 2)

looking around the drive i tried executing things, and found that following relevant information regarding my screen. Type:
[root@kindle /]# more /sys/devices/platform/eink_fb.0/eeprom_whole

ED060SC7H2!!!!!!
-1.50!!!!!!!!!!!
V220_E102_60_WNE
321_SC7H2_BTC
!!!
E102!!!!!!!!!!!!
E31508A21T060115
EME60B5091019039
!!!!!!!!!!!!!!!!

this indicates to me the screen to be V220_E102_60_WNE321_SC7H2_BTC which will be then name of my .wbf file.

also there is a list of devices here (just for information). I could guess the number behind "Mxx" of the screen using: M14.
[root@kindle /]# more /opt/eink/scripts/pvi_barcode_table.txt
E0R M01 60 # ED060SC4
E1M M03 60 # ED060SC4H1
E1X M04 60 # ED060SC4H2
E1U M06 60 # ED060SC5
E23 M0B 60 # ED060SC5H1
E22 M0C 60 # ED060SC5H2
E2N M12 60 # ED060SC7
E32 M13 60 # ED060SC7H1
E31 M14 60 # ED060SC7H2
E2R M23 60 # ED060SC5C1
E30 M24 60 # ED060SC7C1
E43 M3D 60 # ED060SC7T1
L01 MA1 60 # LB060S03-RD01
L02 MA2 60 # LB060S03-RD02

E0D M01 97 # ED097OC1
E0X M01 97 # ED097OC1
E2C M0D 97 # ED097OC1H1
E1Y M05 97 # ED097OC1H2
E29 M0E 97 # EF097OC3
E2B M0F 97 # EF097OC3H1
E2A M10 97 # EF097OC3H2
E2S M15 97 # EF097OC4
E33 M16 97 # EF097OC4H1
E34 M17 97 # EF097OC4H2
E35 M20 97 # ED097OC4
E36 M21 97 # ED097OC4H1
E37 M22 97 # ED097OC4H2

make the device writable for root (** be very carefull with this!**) by typing:
[root@kindle /]# mntroot rw

copy the whole /opt/eink/images to /mnt/base-us/folderOfYourChoice

4) & 5)
- plug the USB cable
- find all .wbf files you copied under /folderOfYourName directly on the USB-Drive the kindle is now
- copy the files to a safe place on your disk (**recommended**)
- rename the file that looks like it is the best guess. For me the original was V220_C008_60_WJ0705_ED060SC7H2_BTC.wbf, which I renamed to V220_E102_60_WNE321_SC7H2_BTC.wbf
- then edit the content at the beginning of the file in hex (a software called "HxD" worked for me) to match the filename. The attached image "coding.png" is my visual color-coded help to identify which bytes to change.
I started with the good information from user phikappa to understand the hex-hack:
https://www.mobileread.com/forums/sho...8&postcount=62
- copy the new file onto kindle via USB
- unplug the USB cable
- regain WLAN access to the kindle and copy the custom .wbf files to the /opt/eink/images where the other similar files still reside.

- create 2 symbolic links of the file in /var/local/eink/
ln -s 220E_102_60_M14 /opt/eink/images/V220_E102_60_WNE321_SC7H2_BTC.wbf
ln -s V220_102_60_M0E /opt/eink/images/V220_E102_60_WNE321_SC7H2_BTC.wbf
(I am not sure which one the kindle at this point :{| )

- restart the kindle
DONE!


(the image does not reflect the real values I used, it was generated just as an example)

Last edited by misterkind(le); 12-11-2015 at 05:07 PM. Reason: typo
misterkind(le) is offline   Reply With Quote