Hi all!
I've just bought a Kobo Aura HD and I'm trying to dump internal microsd without using another memory.
This is my script:
Quote:
#!/bin/sh
insmod /drivers/ntx508/wifi/sdio_wifi_pwr.ko
insmod /drivers/ntx508/wifi/dhd.ko sleep 2
ifconfig eth0 up
wlarm_le -i eth0 up
wpa_supplicant -s -i eth0 -c /etc/wpa_supplicant/wpa_supplicant.conf -C /var/run/wpa_supplicant -B sleep 2
udhcpc -S -i eth0 -s /etc/udhcpc.d/default.script -t15 -T10 -A3 -f -q
mount 2>&1 | nc 192.168.1.5 2223
mount -o ro,remount / 2>&1 | nc 192.168.1.5 2223
mount -o ro,remount /mnt/onboard 2>&1 | nc 192.168.1.5 2223
# On the other side: $ nc -l 2222 > dump.img.xz
(dd if=/dev/mmcblk0 bs=8M | xz | nc 192.168.1.5 2222) 2>&1 | nc 192.168.1.5 2223
# restore mounted devices as expected
mount -o rw,remount / 2>&1 | nc 192.168.1.5 2223
mount -o rw,remount /mnt/onboard 2>&1 | nc 192.168.1.5 2223
|
Obviously 192.168.1.5 is my pc local ip address, and I've two nc processes that are listening for data.
The first part is taken from
https://bitbucket.org/david_weese/ko...7261?at=master (I'm not sure if wifi connection works while updating) while the rest is taken from this discussion.
The strange think is that... Nothing happens! It just reboot itself, nothing more. As you can see, I'm using nc in order to try to understand what's happening and to save my dump, but no data is sent. Is there a better way to have some kind of feedback, like text on screen while updating?
Another question for you: why do you copy the code from upgrade-wifi.sh provided with the firmware? It doesn't seem to do anything useful because there's no real upgrade.