Quote:
Originally Posted by NiLuJe
I'm not sure if getting into the diagnostics mode would be of use, as I'm not familiar with it, and I don't even know if it's doable with a broken userstore and no means of executing code on the device... :/.
|
I poked around in the 3.3 firmware. I did not see an SSH export in the diag menu. I did find a potential jailbreak though.
It appears that the kindle 3 sets LD_LIBRARY_PATH to a path on the USB Drive for loading some custom font library code. Can you believe amazon would actually load and execute code loaded from the user store partition? Trusting people there at amazon (or not enough coffee that day) I think...
Diags will export a console login to the serial port, and that root login is probably mario, even though the main root was fionaXXX (3 hex digits on my kindle 3 -- just chop the last digit from what KDT says). Then use that to fix things.
For general poking around, or for making backups, all kindles let you login to a user account (no write access): username framework, password mario. It works on all my kindles. I do not have a k1 or k2 to test it on though. The downside is that everything is read-only (even /mnt/base-us/ -- there is not /mnt/us/). Would need to write out to external storage device.
The kindle 3 that this thread is about is not bricked though. Did we get an answer about the size of the USB Drive? There are a number of outstanding questions I would like answered (two of them highlighted in blue in a previous post).
It might need serial port access to fix it.
EDIT: Interesting... I see that when logged in as user framework, all the important writable persistent store folders have bind-mounted tmpfs (ramdisk) folders mounted over them, with some stuff copied in. So most stuff cannot be changed, and what can be changed only lasts until the next reboot.
As mentioned earlier, you would need external storage media (like a wifi shared folder -- pings work) to copy backup files onto. Still useful, but much better if a priveledge escalation could be found ...