12-12-2011, 10:35 AM | #271 |
Enthusiast
Posts: 26
Karma: 300000
Join Date: Dec 2011
Device: kindle 4
|
I doubt that the battery drain would be noticeable at all. Processes which just listen for incoming tcp connections do not use any CPU at all (and dropbear's memory usage is minimal)
|
12-12-2011, 11:14 PM | #272 | |
Enthusiast
Posts: 48
Karma: 33436
Join Date: Dec 2011
Device: Kindle 4 Touch
|
Quote:
1) Restart the Kindle 1) If you have not followed the readme instructions and set a password yet, do so by entering ";un password YOUR_PASSWORD" in the search bar on the main screen (don't put in the quotes and replace "YOUR_PASSWORD" with the password you want to use) 2) Enter ;un (or ;usbnetwork) in the search bar on the main screen 3) Attach the Kindle via USB to your computer 4) Linux/Macs will list it as a new network adapter rather than the standard drive 4b) Window's users will need to install the Linux RDNIS I don't know where to get this, I used a Linux VM on my Windows machine (it was easier to me) 5) Set the new adapter's ip address to 192.168.15.1 (or anything in the 192.168.15.XXX range) 6) Open a terminal and enter "ssh root@192.168.15.244" (minus the quotes) 6b) Windows users use putty or some such SSH program 7) It should prompt you to connect and ask you for your password. After that you should be in! Like I said, I'm still not sure how to do it via wifi, but I'm sure we'll find out sooner or later. |
|
Advert | |
|
12-13-2011, 12:59 AM | #273 |
Kindle Dissector
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
|
I want to write a screensaver hack for non kso devices (you paid $30 after all, might as well get something useful out of it).
How the kindle touch's screensaver works is that the system runs libblanket, which is responsible for putting stuff on screen that the framework does not do (USB message, ota update message, boot splash, screensaver, etc). These are loaded as "modules" (Linux shared libraries). In theory, if we decompile the module and reverse the Apis from it, we can write our own modules and easily write stuff like custom screensavers with a calendar and weather or auto-convert images, or get rss feeds, etc. currently, I painfully decompiled the init function by hand (automatic tools are expensive and produces crappy results): http://pastebin.com/sNWBniJp as you can see, work needs to be done |
12-13-2011, 01:43 AM | #274 | |
Groupie
Posts: 157
Karma: 1777
Join Date: Sep 2010
Location: Minsk, Belarus
Device: Kindle 4
|
Quote:
Clear screen: /usr/sbin/eips -c Show image: /usr/sbin/eips -f -g <path_to_image> Also, any one knows, how to make PNG images for this eips function? I'm working on K4 localization, and my /opt/amazon/low_level_screens shows 2x wide (stretched) (I mean screens for Startup, Update, Critical battery level....) Edit: Never mind. Got working images with ImageMagick: convert src.png -colorspace Gray result.png Last edited by Sir Alex; 12-13-2011 at 03:31 AM. |
|
12-13-2011, 03:30 AM | #275 |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Out of curiosity has this hack revealed any collections files that the Touch uses to store collections data??
|
Advert | |
|
12-13-2011, 04:34 AM | #276 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2011
Device: Kindle Touch 3G
|
Quote:
Code:
$ sqlite3 ./cc.db SQLite version 3.7.7 2011-06-23 19:49:22 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> .schema Entries CREATE TABLE Entries ( p_uuid PRIMARY KEY NOT NULL, -- ID of entry (UUID) p_type, -- App-defined type (string) p_location, -- Location (URI to content) p_lastAccess, -- Last access (datetime) ... |
|
12-13-2011, 05:35 AM | #277 |
Junior Member
Posts: 7
Karma: 10
Join Date: Nov 2011
Device: Kindle Touch
|
Stupid question, admited, so please don't lambast me on it, but what can the SSH feature be used for? I'm not too proficient in it, but I use it at work for remote management of some servers. Not sure how this would translate to the touch.
|
12-13-2011, 05:44 AM | #278 |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2011
Device: Kindle Touch 3G
|
The same reason you use it for your home servers: checking out stuff, changing parameters, code and configurations to prepare useful mods.
|
12-13-2011, 08:07 AM | #279 | |
Enthusiast
Posts: 35
Karma: 12
Join Date: Dec 2011
Device: Kindle4, PW
|
Quote:
I would like to find out how to use ssh via WiFi. I did all the configurations you posted before but I need to know more about how to get it running. Is there an ENABLE_USBNET file or something that needs to be in /mnt/us/ ? I followed your directions for Windows and then tried Linux, but I couldn't figure out how to see the Kindle on my network. Anyway, there's some great work going on here. I read the whole thread a couple weeks ago and it was all greek to me. As I read it again, things are beginning to make sense. |
|
12-13-2011, 08:57 AM | #280 |
Junior Member
Posts: 2
Karma: 10
Join Date: Dec 2011
Device: Kindle 4
|
I am trying to ssh onto Kindle using putty, but when I run USBnet, and then open new connection to 192.168.15.244, putty does not prompt me for login and password.
What am I supposinglt doing wrong? After enabling USBnet thers RNDIS/Ethernet Gadget in Device Manager, and it doesnt have properly installed driver. Im using WinXP 32bit Edit: Ok, I managed to download driver http://www.davehylands.com/linux/gum...bnet/linux.inf. Lets see if this works Last edited by zackor; 12-13-2011 at 09:10 AM. |
12-13-2011, 10:42 AM | #281 |
Enthusiast
Posts: 35
Karma: 12
Join Date: Dec 2011
Device: Kindle4, PW
|
I didn't have any luck w/putty either. I used Win7 instead of XP. Linux worked out of the box though.
|
12-13-2011, 11:37 AM | #282 | |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
Unfortunately the use of the file, if it supports editing and if I were able to add support for it in the plugin, would be very limited to people willing to hack their device and run the necessary commands to access it. |
|
12-13-2011, 01:31 PM | #283 |
Junior Member
Posts: 3
Karma: 12
Join Date: Dec 2011
Device: kindle 4 NT SO
|
I have had success getting custom screensavers on the Kindle 4 non touch special offers. 4.0 Firmware
Roughly how (using info from this thread as well as others): 1. Plug in kindle, and put an empty file called ENABLE_DIAGS, as well as a folder called screensavers filled with your own screensavers to the root of your kindle user partition. (make sure you aren't hiding file extensions and that the file has no file extension) 2. Reboot kindle and go through debug menu system to start USB networking (see previous posts) 3. Plug the kindle into your computer (I used windows 7) and setup the new network device. Also I found that windows did have the right driver, but I sometimes had to plug it in and unplug it back and forth a couple of times for it to work. 4. ssh into the device with putty, I was using the older firmware so my username was root, pass was mario. 5. delete or rename the .assets folder located in /mnt/us/ 6. delete or rename /var/local/adunits directory 7. delete or rename /mnt/base-mmc/amazon/screen_saver/adunits/600x800/banner.gif and screensvr.gif 8. delete or rename /mnt/base-mmc/amazon/screen_saver/600x800 9. create a link from /mnt/base-mmc/amazon/screen_saver/600x800 to your own screensavers (/mnt/us/screensaver): ln -s /mnt/us/screensaver /mnt/base-mmc/opt/amazon/screen_saver/600x800 I then rebooted and now all of my screensavers from my folder cycle through when put to sleep. Last edited by ikiller; 12-13-2011 at 02:32 PM. Reason: Removed references to removing ads. |
12-13-2011, 01:57 PM | #284 |
Enthusiast
Posts: 48
Karma: 33436
Join Date: Dec 2011
Device: Kindle 4 Touch
|
oh, that's smarter than what I did. I edited the hosts file to point the ad server url to 127.0.0.1. It works, but if they change the URL, I would get ads again.
|
12-13-2011, 02:05 PM | #285 |
Kindle Dissector
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
|
Stop talking about removing ads in this thread. There are other threads that discuss this. Thank you.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
No Progress bar on the Touch... | grizedale | Amazon Kindle | 13 | 09-29-2011 05:02 PM |
Questions about jailbreaking a Kindle 3 | daviesgeek | Kindle Developer's Corner | 0 | 09-13-2011 02:09 PM |
Touch screen vs keyboard e-ink only | Zarich | Which one should I buy? | 24 | 03-05-2011 06:47 AM |
Which Kindle do I need for jailbreaking? | chas0039 | Kindle Developer's Corner | 6 | 11-10-2010 10:04 PM |