Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-13-2011, 06:09 AM   #16
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
"Rotate screen" and "Prevent screensaver" launchpadlets are missing in the list.
dsmid is offline   Reply With Quote
Old 04-16-2011, 01:13 AM   #17
Mario1up
Connoisseur
Mario1up has a complete set of Star Wars action figures.Mario1up has a complete set of Star Wars action figures.Mario1up has a complete set of Star Wars action figures.Mario1up has a complete set of Star Wars action figures.
 
Mario1up's Avatar
 
Posts: 53
Karma: 374
Join Date: Mar 2011
Device: Kindle 3/G
Added some more hacks and a tagging system. It tells some basic requirements for hacks, such as NJ: no jailbreak needed, UN: USB Networking is needed, and LP: Launchpad is needed.
Mario1up is offline   Reply With Quote
Advert
Old 05-04-2011, 08:39 PM   #18
tempname2001
Junior Member
tempname2001 began at the beginning.
 
Posts: 4
Karma: 13
Join Date: Feb 2010
Device: kindle 3
it's a great job!3x btw!
tempname2001 is offline   Reply With Quote
Old 05-05-2011, 05:02 AM   #19
djtm
Junior Member
djtm began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2011
Device: Kindle 3 Wifi
Great post! Here is a nice overview of the internals, maybe also worth a link.
http://linux-tipps.blogspot.com/2011...el-config.html

And here is a way to access the kindle via wifi + ssh with a launchpad shortcut (requires usbNetwork and launchpad): http://linux-tipps.blogspot.com/2011...wifi-with.html

Last edited by djtm; 05-08-2011 at 04:20 PM.
djtm is offline   Reply With Quote
Old 05-07-2011, 09:41 PM   #20
kingerg
Member
kingerg is out to avenge the death of his or her father, Domingo Montoya.kingerg is out to avenge the death of his or her father, Domingo Montoya.kingerg is out to avenge the death of his or her father, Domingo Montoya.kingerg is out to avenge the death of his or her father, Domingo Montoya.kingerg is out to avenge the death of his or her father, Domingo Montoya.kingerg is out to avenge the death of his or her father, Domingo Montoya.kingerg is out to avenge the death of his or her father, Domingo Montoya.kingerg is out to avenge the death of his or her father, Domingo Montoya.kingerg is out to avenge the death of his or her father, Domingo Montoya.kingerg is out to avenge the death of his or her father, Domingo Montoya.kingerg is out to avenge the death of his or her father, Domingo Montoya.
 
Posts: 19
Karma: 34152
Join Date: May 2011
Location: MI, USA
Device: Sony prs-700, Kindle DX Graphite, Kindle Touch 3G
Wow! This was needed.
By the way I think you meant MANGA instead of MAGNA.

Good Job.
kingerg is offline   Reply With Quote
Advert
Old 05-15-2011, 10:16 PM   #21
Mario1up
Connoisseur
Mario1up has a complete set of Star Wars action figures.Mario1up has a complete set of Star Wars action figures.Mario1up has a complete set of Star Wars action figures.Mario1up has a complete set of Star Wars action figures.
 
Mario1up's Avatar
 
Posts: 53
Karma: 374
Join Date: Mar 2011
Device: Kindle 3/G
Thank you, djtm and kingerg. I added those links and fixed those mistakes.
Mario1up is offline   Reply With Quote
Old 08-30-2011, 10:16 PM   #22
Mario1up
Connoisseur
Mario1up has a complete set of Star Wars action figures.Mario1up has a complete set of Star Wars action figures.Mario1up has a complete set of Star Wars action figures.Mario1up has a complete set of Star Wars action figures.
 
Mario1up's Avatar
 
Posts: 53
Karma: 374
Join Date: Mar 2011
Device: Kindle 3/G
Updates! Added the Georgia2 font, clippings parser, ssknap, removing ads on the KSO, adding translate to the ebook search menu, kinamp, using the Kindle as an extra PC screen, Kaffiene, stopping the kindle from flashing the screen, perl for kindle, fbprint, and fbout.
Mario1up is offline   Reply With Quote
Old 10-04-2011, 01:11 PM   #23
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Merged Developer Keystore

@Mario1Up in your next sticky update, some people have asked if you could add to the developer tools this link https://www.mobileread.com/forums/sho...95#post1772095 which requires USB Networking.
PoP is offline   Reply With Quote
Old 10-04-2011, 08:24 PM   #24
Mario1up
Connoisseur
Mario1up has a complete set of Star Wars action figures.Mario1up has a complete set of Star Wars action figures.Mario1up has a complete set of Star Wars action figures.Mario1up has a complete set of Star Wars action figures.
 
Mario1up's Avatar
 
Posts: 53
Karma: 374
Join Date: Mar 2011
Device: Kindle 3/G
Sure, that looks great!

Added:
[Custom Kernel] Next/Prev page using any buttons
Merged Developer Keystore
CoolReader 3 on Kindle
Kindle VNC Viewer
KindleVNC
EDIT 10/05/11: Added Duokan Lite and Mutt e-mail Client

Last edited by Mario1up; 10-06-2011 at 12:41 AM.
Mario1up is offline   Reply With Quote
Old 10-14-2011, 07:42 PM   #25
Mario1up
Connoisseur
Mario1up has a complete set of Star Wars action figures.Mario1up has a complete set of Star Wars action figures.Mario1up has a complete set of Star Wars action figures.Mario1up has a complete set of Star Wars action figures.
 
Mario1up's Avatar
 
Posts: 53
Karma: 374
Join Date: Mar 2011
Device: Kindle 3/G
Added:
Klippings
Kindle CLippings Organizer
Bash for Kindle
Removed ssknap and added LP Kaffiene (newer and provides the same functionality plus some)

Moved Perl for Kindle and fbprint to Development Tools. Changed "eBook and Collection Managing" to "eBook, Collection, and Clipping Management" and moved Clippings Parser there.

Last edited by Mario1up; 10-14-2011 at 07:49 PM.
Mario1up is offline   Reply With Quote
Old 10-28-2011, 04:03 PM   #26
Kozzi
Enthusiast
Kozzi began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Sep 2011
Device: Kindle 3, Kobo Aura H2O
could you add date next to the name everytime you add something ? I would be easier to check what's new right away. Thanks for your list it helped me alot.
Kozzi is offline   Reply With Quote
Old 10-28-2011, 04:28 PM   #27
hzsolt
Junior Member
hzsolt began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2011
Device: Kindle 3
The physkeyb has newer versions with timeout in the thread. Wouldn't it be better to remove the hotlink?
hzsolt is offline   Reply With Quote
Old 10-31-2011, 02:30 AM   #28
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Can you add usertts and Matan's terminal emulator ?
dsmid is offline   Reply With Quote
Old 11-20-2011, 07:53 PM   #29
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by Mario1up View Post
I noticed that there seems to be no thread that compiles all the hacks into one topic. So, to make things easy to find, I've decided to make this list of all the Kindle hacks I could gather. I will update it as new ones are made.

If I miss any, please feel free to post them here and I will add them. If you think a hack should go into a different category or there should be a new category, please go ahead and say so.
This 'mntusb' script allows connecting multiple kindles simultaneously to a host linux PC, where they will all be usable at the same time.

I expanded on a 'mntusb' script I had posted elsewhere on this forum. Previously, it required command-line parameters to specify which kindle number and which usb number.

This version is all automatic. It finds the kindles and assigns each of them a unique HWaddr MAC address, and an IPv4 address in a unique IP subnet, as defined in their /mnt/us/usbnet/config files.

I use 10.10.x.x/24 subnets because they will not conflict with 192.168.x.x addresses already assigned to common networking devices.

For each kindle number 1 to 9, The script "pings" 10.10.x.2 subnet range 1 to 9 to find newly attached kindles.

This script also lists which IP and MAC addresses are assigned to all of the kindles, so is useful to run just to get information about them.

This script may also be useful to run in the background as a scheduled daemon task.

*** UPDATE 2011 Nov 22 ***

The script source code and attached file have been updated to tell the Gnome Network Manager to stop messing with the usbnet connections. This should stop the problems with spontaneous usbnet disconnects. It will have to be repeated whenever another usb network device is attached. (Thanks ryran)

Source code:
Spoiler:
Code:
#!/bin/sh
### mntusb - find and mount usb kindles at 10.10.x.2
### This script runs on a linux host (not on the kindles).
### Each kindle must be on a different IPv4 subnet (unique 'x' above).
### Kindle subnets are set in the /mnt/us/usbnet/etc/config file. 
echo Mounting usb network kindles...
for U in $(nmcli dev|awk '/usb.*connecting/{print$1}'); do
    nmcli dev disconnect iface $U>/dev/null
done
for U in 0 1 2 3 4 5 6 7 8 9; do
  sudo ifconfig usb$U up 2>/dev/null||continue
  ifconfig|grep -A1 usb$U|grep "inet ">/dev/null&&ifconfig|grep -A1 usb$U&&continue
  for K in 1 2 3 4 5 6 7 8 9; do
    ifconfig|grep ":10.10.$K.1 ">/dev/null&&continue
    sudo ifconfig usb$U down
    sudo ifconfig usb$U hw ether ee:49:00:00:00:0$K
    sudo ifconfig usb$U 10.10.$K.1 netmask 255.255.255.0
    sudo ifconfig usb$U up
    ping -c1 -w1 10.10.$K.2>/dev/null&&(
      ifconfig|grep -A1 usb$U
### Optional: mount kindle file system in host /mnt/.
#     mkdir /mnt/kindle$K 2>/dev/null
#     sudo umount /mnt/kindle$K 2>/dev/null
#     sshfs /mnt/kindle$K root@10.10.$K.2:/
    )&&break
    sudo ifconfig usb$U down
    sudo ifconfig usb$U del 10.10.$K.2 2>/dev/null
    sudo ifconfig usb$U up
  done
done

Sample output from mntusb script testing:
Spoiler:

Sample output from ifconfig after plugging in kindle4, then kindle2, then kindle3:
Code:
usb0      Link encap:Ethernet  HWaddr ee:49:00:00:00:00  
          inet6 addr: fe80::ec49:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:6464 (6.4 KB)

usb1      Link encap:Ethernet  HWaddr ee:49:00:00:00:00  
          inet6 addr: fe80::ec49:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:6122 (6.1 KB)

usb2      Link encap:Ethernet  HWaddr ee:49:00:00:00:00  
          inet6 addr: fe80::ec49:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:5982 (5.9 KB)
As you can see, they all have the same HWaddr, which will prevent all but one of them from working no matter WHAT IPv4 addresses get assigned to them.

Output from ./mntusb:
Code:
Mounting usb network kindles...
[sudo] password for user: 
usb0      Link encap:Ethernet  HWaddr ee:49:00:00:00:04  
          inet addr:10.10.4.1  Bcast:10.10.4.255  Mask:255.255.255.0
usb1      Link encap:Ethernet  HWaddr ee:49:00:00:00:02  
          inet addr:10.10.2.1  Bcast:10.10.2.255  Mask:255.255.255.0
usb2      Link encap:Ethernet  HWaddr ee:49:00:00:00:03  
          inet addr:10.10.3.1  Bcast:10.10.3.255  Mask:255.255.255.0
Output from ./mntusb after unplugging kindle2 and kindle4:
Code:
Mounting usb network kindles...
usb2      Link encap:Ethernet  HWaddr ee:49:00:00:00:03  
          inet addr:10.10.3.1  Bcast:10.10.3.255  Mask:255.255.255.0
Output from ./mntusb after plugging back in kindle2, then kindle4:
Code:
Mounting usb network kindles...
usb0      Link encap:Ethernet  HWaddr ee:49:00:00:00:02  
          inet addr:10.10.2.1  Bcast:10.10.2.255  Mask:255.255.255.0
usb1      Link encap:Ethernet  HWaddr ee:49:00:00:00:04  
          inet addr:10.10.4.1  Bcast:10.10.4.255  Mask:255.255.255.0
usb2      Link encap:Ethernet  HWaddr ee:49:00:00:00:03  
          inet addr:10.10.3.1  Bcast:10.10.3.255  Mask:255.255.255.0
As you can see, linux assigned different usb device numbers after they were reconnected in a different order.

If you uncomment the lines marked as "Optional" in 'mntusb', the script will also mount the kindle file systems in the linux host PC as /mnt/kindle* folders.
Attached Files
File Type: gz mntusb.tar.gz (639 Bytes, 879 views)

Last edited by geekmaster; 01-02-2012 at 09:37 AM.
geekmaster is offline   Reply With Quote
Old 11-29-2011, 09:36 PM   #30
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Question about code location

@Mario1: Is this a good place to post code? Should it go in a separate thread with only a link here?

I moved the previous code that I had posted here back to this thread:
https://www.mobileread.com/forums/sho...d.php?t=158589

I just discovered that my program only worked in my kindle debian build environment. It *was* working when called by launchpad, so something changed when I cleaned it up. I will repost when I get it working right...

UPDATE: I figured out the problem -- an unused buffer pointer in the ua structure was no longer set to NULL.

Last edited by geekmaster; 12-04-2011 at 02:00 PM.
geekmaster is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I removed the hacks, installed 3.1, then new hacks, and now Kindle is dead cloudyvisions Amazon Kindle 55 11-29-2023 07:27 PM
Kindle 3 hacks/screensavers? amytug Amazon Kindle 9 12-22-2010 12:54 PM
PRS-650 Modifications (Hacks, Custom Firmware, etc.) Link-Collection Achiever Sony Reader 8 11-27-2010 10:07 AM
Hacks Do any of the hacks that are currently out work on Kindle 3? lunixer Amazon Kindle 24 09-05-2010 05:07 PM
Hacks Kindle Hacks wildchild06241 Amazon Kindle 7 06-24-2010 02:24 PM


All times are GMT -4. The time now is 10:23 PM.


MobileRead.com is a privately owned, operated and funded community.