View Single Post
Old 08-15-2011, 07:09 AM   #6
MyPreciousss
In search of the precious
MyPreciousss has a complete set of Star Wars action figures.MyPreciousss has a complete set of Star Wars action figures.MyPreciousss has a complete set of Star Wars action figures.MyPreciousss has a complete set of Star Wars action figures.
 
MyPreciousss's Avatar
 
Posts: 30
Karma: 308
Join Date: Aug 2011
Location: Incredible India
Device: Kindle 3G, PSP Slim CFW, iTouch 1G, PocketViewer, Nokia 6270
Lightbulb This is exxyea's post

This is exxyea's post at https://www.mobileread.com/forums/sho...1&postcount=66
:-

I'm writing this guide since I just spent hours of frustration trying to figure out exactly how to remove the ads on my KSO. This is just a step-by-step guide for other complete noobs like me who know no programming, hacking, etc. I'm just synthesizing all the different guides here into one long, easy-to-follow (hopefully!) instruction manual.

I used Windows and did this on a Kindle 3 Wifi.

You will need:
- Yifan Lu's Kindle 3.1.2 Jailbreak [Guide] [Download zip]
- USBNet Hack [Guide] [Download zip]
- PuTTY [Download Page]- PuTTYgen --> key generator
- PuTTY --> for shell access
4 Parts:
1. Jailbreak using Yifan Lu's hack
2. Install USBNet Hack on your Kindle
3. SSH Key Access
4. Run Commands

1. Jailbreak using Yifan Lu's hack
- Yifan Lu's hack doesn't always succeed, so it may require several restarts and attempts.
- However, you can increase your chance of success at jailbreaking if you do this beforehand: - Rename your documents and system folder to "documents.bak" and "system.bak". Once you've successfully jailbroken your device, you can rename them back.
- Turn Wireless Off.
1. Press Menu -> Settings, so you're at the Settings page.
2. Once there, press Menu -> Restart.
3. While Kindle is still restarting, connect the Kindle to the computer using the USB cable.
4. As soon as your computer reads your Kindle, quickly copy the appropriate file to your Kindle's root directory.
ie. Kindle 3 Wifi = k3w
5. Eject your Kindle.
6. Press Menu -> Settings to go to the Settings page.
7. Select Update Your Kindle.
8. Your Kindle will update. You will see a checkmark if your jailbreak was successful. If not, then try again by restarting.


2. Install USBNet Hack on your Kindle
1. Connect your Kindle to the computer.
2. Copy the appropriate file from the USBNet Hack zip to your Kindle root directory.
3. Eject your Kindle.
4. Press Menu -> Settings to go to the Settings page.
5. Select Update Your Kindle.
6. Your Kindle will then update with the hack unless you did not jailbreak successfully.


3. Prepare for SSH Key Access
1. Connect your Kindle. There should now be a usbnet folder in your root directory.
2. Go to usbnet\etc\.
3. In the etc folder, open and edit the config file with a Notepad. Change these parts to:K3_WIFI="true"
K3_WIFI_SSHD_ONLY="true"
4. Open PuTTYgen, the key generator.
5. With SSH-2 RSA selected, click Generate. Move your mouse around the blank area to generate a code.
6. Make and confirm a passphrase.
7. Click Save public key to your computer as the file "authorized_keys" with no extension. You can also copy the generated code yourself, paste it to a Notepad, save, and then change the extension from ".txt" to no extension.
8. Click Save private key to your computer as any file name with the extension ".ppk".
9. Copy your "authorized_keys" file from your computer to your Kindle under usbnet\etc\.
10. Disconnect your Kindle.
11. Make sure your Kindle's Wifi is turned on and you are connected to a network. (You should also be registered or else you'll have to .)
12. In the Home page on your Kindle, press Del and then type these lines one after the other:;debugOn
~usbNetwork
;debugOff
13. Open up PuTTY for shell access.
14. Put in your Kindle's IP Address under Session.- The simplest way to view your Kindle's IP address is to go to the Settings page (click Menu -> Settings). Once there, hold down ALT and press UGG (711) to get to the 711 page.
14. On the left sidebar, go to Connections -> SSH -> Auth. In the box under Private key for authentication, select your saved private key file (the one with the extension ".ppk")
15. Click Open.


4. Run Commands
A black window should pop up once you connect. If you get network error: connection refused, I would reconnect my Kindle and regenerate some new keys.
1. When login appears, type "root".
2. Then type your pass code. (The first few times I didn't use a passcode, but it still prompted me for one, so I just regenerated new keys.)
3. Once you're in, it should say you need to change the file to rewritable. Type "mntroot rw".
4. Then type these commands one line after the other:/etc/init.d/framework stop
mv /var/local/adunits /var/local/adunits.bkp
touch /var/local/adunits
/etc/init.d/framework start
Your Kindle should automatically turn off and reboot during this process.
5. When your Kindle is rebooted, type "mntroot ro". Then you can close PuTTY.

Your Kindle should now be rebooted with no ads or banners


hope this helps the above guide.
MyPreciousss is offline   Reply With Quote