View Single Post
Old 11-11-2010, 03:50 AM   #182
FethryDuck
Addict
FethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enoughFethryDuck will become famous soon enough
 
FethryDuck's Avatar
 
Posts: 281
Karma: 520
Join Date: Nov 2010
Location: sometimes Norway, planet Earth
Device: Kindle3, DXG
wrote:

I don't quite get how the bootloader even works, it looks like option 3 boots into USBnet mode + telnet server? Looks like it, they also provide usb net driver in their install package:

echo "sub Lan"
mntroot rw
rmmod g_file_storage
rmmod g_ether
modprobe g_ether
ifconfig usb0 192.168.0.88
route add default gw 192.168.0.1
echo nameserver 208.67.222.222 > /etc/resolv.d/resolv.conf.default
echo nameserver 208.67.220.220 >> /etc/resolv.d/resolv.conf.default
cp /etc/resolv.d/resolv.conf.default /var/run/resolv.conf
/mnt/us/DK_System/bin/busybox telnetd
display_logo_screen
mntroot ro
return 0;

-------- It is for the stores, and we may perhaps come up with some modification ourselves ?

It does a check for mv /etc/rc5.d/S96rundk /etc/rc5.d/s96rundk constantly, I assume it's because the partition is fat32 and it has to make sure it's lowercase, and they copied it over directly rather than extracting it from a tarball.

--------- They have updates which would remove old stuff, install new, and their focus were for their own books, not Amazon - perhaps they did not think to much about uninstall ?

dkswitchmenu.bin seems to take the input for the 3 menu choices?
dkswitch.bin seems to boot into the os

Yes, in settings you can choose to have it boot up the last system it used - it will timeout and boot the 3rd option without intervention. I think it is very nice.

From reading the scripts, here are the files it appears to install:

(these are generated + removed by install.sh)

/etc/rcS.d/S79switch
/etc/rc5.d/s96rundk
/etc/rc5.d/S96rundk
/etc/rc5.d/rundk.sh
/dev/DK_Debug.log

--------------- yes, I don't see anything that is not normal on a multiuser, but wonder if
Amazon's could use runlevel 3 ?

(debug log is probably not even created I think debugging is disabled, should see file in DK_SYSTEM folder cat /dev/DK_Debug.log >> /mnt/us/DK_System/DK_Debug.log)

---------------- yes...

It removes these 2 files all on its own for some reason, since they are in /dev i assume they are also generated by it because usually stuff should not be in /dev:
/dev/viewinfodat.txt
/dev/viewinfodat1.txt

----------------- the TTS system comes from Microsoft, and is proprietary. May explain something.

What is the kindle's normal rc script?
What happens if these 4 are simply removed?

------------------ First one, - I don't know. Second one - I believe nothing. There are some check of a file in /mnt/us/DK_system...... that it exist and that it has not changed size, else it will not run, and it will bootup Amazon. There need to be input and output for those 4 startup scripts. I don't seek any harm. But I do expect they will supply an uninstall script.


That was very good curstpriest ! Thank you !
ha, so you do have some of that powder that makes things light up ?
FethryDuck is offline   Reply With Quote