![]() |
#241 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2011
Device: Kindle 4
|
yifanlu,
I know you posted a new thread with jailbreak info but perhaps you'll want to update your first post on this thread too to indicate that the jailbreaks have been done just to be completely clear and concise. |
![]() |
![]() |
![]() |
#242 |
Junior Member
![]() Posts: 9
Karma: 32
Join Date: Nov 2011
Device: Kindle 4
|
My first post and first steps:
!! Read the entire tutorial before starting. If you don't understand one of the steps don't try it. You will risk bricking your Kindle !! How to enable SSH via Wifi on Kindle 4 (4.0.1) nt on windows: 1) Get your kindle serial from the settings menu 2) Run the following python code to get your root password Code:
#!/usr/bin/env python import hashlib print("fiona%s"%hashlib.md5("XXXYOURSERIALXXX\n".encode('utf-8')).hexdigest()[7:11]) 4) In diagnostic mode plug in the USB cable and go to usb networking: Misc individual diagnostics -> Utilities -> Enable USBnet 5) Install windows driver. Windows (7) won't recognize the correct driver, so you have to select it manually: Go to device manager, and select the new unkown device, right click and install driver. Then click your way to the driver list, select "Network card" then "Microsoft Inc" then "Remote NDIS based internet sharing device" 6) setup windows network. Setup the IP for the new connection: IP 192.168.15.1 Subnet 255.255.255.0, rest empty 7) Open ssh client like putty and connect to 192.168.15.244 user name root and password from the python script 'fionaXXXX' (or 'mario' for 4.0) 8) mount main partition Code:
mount /dev/mmcblk0p1 /mnt/base-mmc Code:
cp -r /usr/local /mnt/base-mmc/usr/ sync Code:
vi /mnt/base-mmc/etc/sysconfig/iptables Code:
-A INPUT -i wlan0 -p tcp --dport 22 -j ACCEPT 11) reboot: On the kindle exit usb mode and go to the main menu, then select 'Exit, Reboot or Disable Diags' -> 'Disable Diagnostics' 12) disconnect USB cable 13) after it finished rebootin you can point your SSH client (or WinSCP) to the Wifi IP when kindle is running in normal mode Last edited by Belkaar; 12-11-2011 at 12:46 PM. Reason: Brick warning |
![]() |
![]() |
![]() |
#243 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Dec 2011
Location: Uzbekistan
Device: Kindle 4
|
removed
Last edited by AlexeyII; 12-11-2011 at 03:44 PM. |
![]() |
![]() |
![]() |
#244 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
Quote:
|
|
![]() |
![]() |
![]() |
#245 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
And for kindle touch owners who do not want a full jailbreak on their kindle, a stripped version of the hack that ONLY fixes the mp3 bug would be a good thing to have. |
|
![]() |
![]() |
![]() |
#246 |
Junior Member
![]() Posts: 9
Karma: 32
Join Date: Nov 2011
Device: Kindle 4
|
|
![]() |
![]() |
![]() |
#247 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2011
Device: Kindle 4
|
First of all, thanks for your work and congratulations for all you've already achieved!
However, I find this little unfair, that Kindle4 non-touch users (such as myself) are being marginalized :P Id be greateful for an answer; if it's actually possible to change K4 classic screensavers to the custom ones? As nobody answered hawkeye85 question - Im waiting to change screensavs too and have been following this thread since I got my K4! Do I need to manually ssh Kindle, like Belkaar described? |
![]() |
![]() |
![]() |
#248 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48
Karma: 33436
Join Date: Dec 2011
Device: Kindle 4 Touch
|
Actually, even though the thread says kindle 4 touch everyone keeps posting solutions for the kindle 4 nt isn't that non-touch (as you can tell from my posts amount I new) ? Will any of the posted solutions actually work for the touch?
|
![]() |
![]() |
![]() |
#249 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 32
Karma: 35466
Join Date: Jul 2010
Location: Japan
Device: Kindle2, Kindle3, Kindle4, Kindle Touch, Kindle Fire
|
pw generating script
I m not sure, but the above script is in public? and are there no risk of brick k4 with the above method for entry users?
|
![]() |
![]() |
![]() |
#250 |
Kindle Dissector
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
|
If anyone's interested in writing a book reader or reader plugin for the Kindle Touch, I can help. I don't have the time to do it, but I know pretty much how the Reader SDK works. Still waiting for that epub plugin...
|
![]() |
![]() |
![]() |
#251 | |
Junior Member
![]() Posts: 9
Karma: 32
Join Date: Nov 2011
Device: Kindle 4
|
Quote:
Most of the information above (including the script) I got from the internet and this forum. It's just all packaged in one place. |
|
![]() |
![]() |
![]() |
#252 | |
Junior Member
![]() Posts: 9
Karma: 32
Join Date: Nov 2011
Device: Kindle 4
|
Quote:
But if you have ssh you can do the following: 1) create a folder on the kindle called 'screensaver' (where the documents folder is) 2a) ssh into the kindle via wifi Code:
mv /opt/amazon/screen_saver/600x800 /opt/amazon/screen_saver/600x800_ ln -s /mnt/us/screensaver /opt/amazon/screen_saver/600x800 Code:
mount /dev/mmcblk0p1 /mnt/base-mmc mv /mnt/base-mmc/opt/amazon/screen_saver/600x800 /mnt/base-mmc/opt/amazon/screen_saver/600x800_ ln -s /mnt/us/screensaver /mnt/base-mmc/opt/amazon/screen_saver/600x800 Don't worry if you delete the folder or don't have any files in it the screensaver will be blank white Last edited by Belkaar; 12-11-2011 at 12:52 PM. |
|
![]() |
![]() |
![]() |
#253 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Dec 2011
Location: Uzbekistan
Device: Kindle 4
|
Usbnetwork & Dropbear package for Kindle 4 no touch for runing in production (non-diag) mode
This stuff need because in PROD mode needed files in /usr/local absent, and startup scripts cannot run usbnetwork & dropbear services Requirements: Kindle 4 no touch 4.0.0/4.0.1 firmware, installed jailbreak Installing: 1) instal jailbreak if you dont have 2) place update_k4w_usbnetwork&dropbear.bin to root folder of attached kindle 3) update Activate: 1) place empty ENABLE_USBNET in root folder of attached kindle & restart 2) after restart you will see screen about usb connection with no switch to main screen 3) ssh to 192.168.15.244, login as root and enter password (password relative to serial number of your device, you need calculate it before ) 4) if you want remove "usb connection screen" do command: Code:
lipc-set-prop -i com.lab126.volumd useUsbForNetwork 1 /etc/init.d/volumd stop /etc/init.d/volumd start /etc/init.d/framework restart 6) file ENABLE_USBNET will be deleted by kindle automaticaly, after reboot usbnetwork will be disabled Last edited by AlexeyII; 12-12-2011 at 06:11 PM. Reason: added sources, 4.0.1 upd, "usb con. screen" removing |
![]() |
![]() |
![]() |
#254 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48
Karma: 33436
Join Date: Dec 2011
Device: Kindle 4 Touch
|
I'll give it a shot, though I also notice when getting my serial number, my firmware is actually version 5.0.0 not 4.0.1 we'll see what happens!
|
![]() |
![]() |
![]() |
#255 |
Kindle Dissector
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
|
Some useable tweaks I've found:
-To stop the browser from using an large font, edit /var/local/waf/browser/config.xml and delete the line that says "<setting name="defaultFontSize" value="20"/>" (must be done at each reboot as the device resets the settings) -To rotate the device (in books and the browser but not home screen), type (in ssh) # lipc-set-prop com.lab126.winmgr orientationLock L for landscape left # lipc-set-prop com.lab126.winmgr orientationLock R for landscape right # lipc-set-prop com.lab126.winmgr orientationLock U for portrait # lipc-set-prop com.lab126.winmgr orientationLock D for inverted portrait -To enable accelerator (no point except allow the Kindle to see rotate event, it does nothing with those events though), edit "/etc/upstart/makexconfig" and on line 120, edit "IS_ACCEL=0" to "IS_ACCEL=1" |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
No Progress bar on the Touch... | grizedale | Amazon Kindle | 13 | 09-29-2011 06:02 PM |
Questions about jailbreaking a Kindle 3 | daviesgeek | Kindle Developer's Corner | 0 | 09-13-2011 03:09 PM |
Touch screen vs keyboard e-ink only | Zarich | Which one should I buy? | 24 | 03-05-2011 07:47 AM |
Which Kindle do I need for jailbreaking? | chas0039 | Kindle Developer's Corner | 6 | 11-10-2010 11:04 PM |