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 09-17-2010, 12:05 PM   #16
dinkus
Junior Member
dinkus began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2010
Device: kindle 3
Zafkin's method appears to be the only currently published way to get a shell on a kindle 3. I'm surprised there isn't more discussion here. Has anyone reproduced? I'm waiting for some parts for my serial cable and will report back as soon as I've tried.

What method are people using to enable access to running OS via wifi ("jailbreak")? Can you copy zafkin's dropbear onto the filesystem and have it run at boot? Has anyone used this to look for easier vectors to shells?
dinkus is offline   Reply With Quote
Old 09-17-2010, 07:27 PM   #17
capitanfracassa
Junior Member
capitanfracassa began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2010
Device: none
Would you mind giving a more detailed step-by step?
What do you mean by "/2 voltage divider"?
How do you interrupt u-boot? How do you upload and run?

Sorry for being dumb, but I have never done it.
capitanfracassa is offline   Reply With Quote
Old 09-17-2010, 11:57 PM   #18
Tiersten
Guru
Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.
 
Posts: 987
Karma: 8641
Join Date: Aug 2010
Device: Kindle 3G+WiFi
Quote:
Originally Posted by capitanfracassa View Post
What do you mean by "/2 voltage divider"?
Two 10K resistors will do.

Quote:
Originally Posted by capitanfracassa View Post
How do you interrupt u-boot?
Press a key.

Quote:
Originally Posted by capitanfracassa View Post
How do you upload and run?
Sorry for being dumb, but I have never done it.[/QUOTE]
Read the u-Boot documentation.

If you don't know what you're doing or aren't 100% confident then I wouldn't attempt it as there is a chance to damage your Kindle.
Tiersten is offline   Reply With Quote
Old 09-18-2010, 03:51 AM   #19
capitanfracassa
Junior Member
capitanfracassa began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by Tiersten View Post
Two 10K resistors will do.
I assume, in series on the TX/RX lines? ( PC - 10K - Kindle Tx, PC -10K -Kindle Rx)? But why? Isn't the Kindle's serial port hooked internally with around 4V?

Quote:
Originally Posted by Tiersten View Post
If you don't know what you're doing or aren't 100% confident then I wouldn't attempt it as there is a chance to damage your Kindle.
I won't do it until I know what I'm doing, that is why I am asking for detailed instructions, thanks for the link.
capitanfracassa is offline   Reply With Quote
Old 09-18-2010, 05:14 AM   #20
Dibblah
Member
Dibblah is not intimidated by interfenestral monkeys.Dibblah is not intimidated by interfenestral monkeys.Dibblah is not intimidated by interfenestral monkeys.Dibblah is not intimidated by interfenestral monkeys.Dibblah is not intimidated by interfenestral monkeys.Dibblah is not intimidated by interfenestral monkeys.Dibblah is not intimidated by interfenestral monkeys.Dibblah is not intimidated by interfenestral monkeys.Dibblah is not intimidated by interfenestral monkeys.Dibblah is not intimidated by interfenestral monkeys.Dibblah is not intimidated by interfenestral monkeys.
 
Posts: 15
Karma: 26592
Join Date: Aug 2010
Device: Kindle 3
The kindle serial port is 1.8v. A resistive divider will work for the:
PC -> Kindle

But the other direction is far more complex - 1.8v -> 3.3v won't work with the standard mosfet level shifter.

Best bet is to get an adapter which does 1.8v natively - I made one with a FT232rl.

I can confirm that the kernel with initrd works fine to change the password. If the kindle appears "stuck", just hit the power switch for a short time (1s) and it wakes back up.

Cheers,

Allan.
Dibblah is offline   Reply With Quote
Old 09-18-2010, 04:49 PM   #21
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 4,657
Karma: 4440239
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2
Okay. I'm stupid.

Unless I'm mistaken, I've got a jailbreak working. It's even dumber than before. -_-"

EDIT: Yep, it works. >_<". And when I say that it's dumb, it's *really* dumb. So dumb I'm amazed no one tried it before o_O. And my update to the packager work, so that's nice too .

UPDATE: Oops. Figured out why no one tried it before :P. It couldn't work on FW 2.x .

Last edited by NiLuJe; 09-19-2010 at 07:46 PM.
NiLuJe is offline   Reply With Quote
Old 09-18-2010, 06:16 PM   #22
isotherm
Connoisseur
isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.
 
Posts: 74
Karma: 123797
Join Date: Jul 2010
Device: Kindle 2
Great! When will we be able to test it?
isotherm is offline   Reply With Quote
Old 09-18-2010, 07:18 PM   #23
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 4,657
Karma: 4440239
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2
It's attached in the Fonts/SS/Misc Hacks thread .
NiLuJe is offline   Reply With Quote
Old 09-18-2010, 07:24 PM   #24
Tiersten
Guru
Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.Tiersten shines like a glazed doughnut.
 
Posts: 987
Karma: 8641
Join Date: Aug 2010
Device: Kindle 3G+WiFi
Quote:
Originally Posted by NiLuJe View Post
EDIT: Yep, it works. >_<". And when I say that it's dumb, it's *really* dumb. So dumb I'm amazed no one tried it before o_O. And my update to the packager work, so that's nice too .
Huh. That is really simple. I always forget you can put symlinks into a tarball. I guess sometimes the "simple" ones are the hardest to find though since you automatically go nahhh... they wouldn't let us do that...

Nice work
Tiersten is offline   Reply With Quote
Old 09-18-2010, 07:42 PM   #25
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 4,657
Karma: 4440239
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2
That's actually what the previous jb did, only it did it from an official signed update script that ran like a proper update after the misc. .bin parsing [Said update then failed horribly because obviously we didn't bundle the patches & stuff, so the patching process in itself failed, but the tarball had already been unpacked, so we were good]. Turns out we didn't even need to go there at all on fw 3.x ^^.

EDIT: USBNet updated in the Fonts thread. .

Last edited by NiLuJe; 09-19-2010 at 07:47 PM.
NiLuJe is offline   Reply With Quote
Old 09-18-2010, 09:37 PM   #26
isotherm
Connoisseur
isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.isotherm is an accomplished Snipe hunter.
 
Posts: 74
Karma: 123797
Join Date: Jul 2010
Device: Kindle 2
Awesome, usbNetwork works! I can work on hotkeys again...

With wifi, it seems we can just connect to our devices over the network, even if they're not plugged into the computer. I'm trying this now, but want to make sure I get the security right. By the same token, be careful now when enabling "auto" mode of usbNetwork. You might not want everyone to be able to telnet to your Kindle, if you happen to connect it to your computer at a hotspot!

Last edited by isotherm; 09-18-2010 at 09:53 PM.
isotherm is offline   Reply With Quote
Old 09-18-2010, 10:06 PM   #27
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 4,657
Karma: 4440239
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2
Yeah, I haven't looked at the WiFi at all yet, I guess there's some iptables trickery involved to get somewhere? (Not that familiar with iptables myself, unfortunately :/).

But, yeah, getting something like SSHFS working over wifi would be kinda nice .
NiLuJe is offline   Reply With Quote
Old 09-19-2010, 05:35 AM   #28
ecostin
Member
ecostin will become famous soon enoughecostin will become famous soon enoughecostin will become famous soon enoughecostin will become famous soon enoughecostin will become famous soon enoughecostin will become famous soon enough
 
Posts: 22
Karma: 650
Join Date: Sep 2010
Device: PRS-500-505-700, Kindle3
Quote:
Originally Posted by NiLuJe View Post
Okay. I'm stupid.

Unless I'm mistaken, I've got a jailbreak working. It's even dumber than before. -_-"

EDIT: Yep, it works. >_<". And when I say that it's dumb, it's *really* dumb. So dumb I'm amazed no one tried it before o_O. And my update to the packager work, so that's nice too .
This is incredible! Whoever at lab126 has chosen the tar source code (busybox, whatever) should search for another job, like programmer at Microsoft ...

To everybody - apply this soon, a new update might bring a real GNU tar binary and this JB would no longer work.

Great job!!
ecostin is offline   Reply With Quote
Old 09-19-2010, 05:46 AM   #29
ecostin
Member
ecostin will become famous soon enoughecostin will become famous soon enoughecostin will become famous soon enoughecostin will become famous soon enoughecostin will become famous soon enoughecostin will become famous soon enough
 
Posts: 22
Karma: 650
Join Date: Sep 2010
Device: PRS-500-505-700, Kindle3
Quote:
Originally Posted by NiLuJe View Post
Yeah, I haven't looked at the WiFi at all yet, I guess there's some iptables trickery involved to get somewhere? (Not that familiar with iptables myself, unfortunately :/).

But, yeah, getting something like SSHFS working over wifi would be kinda nice .
The iptables default INPUT policy is DENY, with the exception of the trojan port 40317. iptables -P INPUT ACCEPT changes this and it can be accessed via both WIFI and USB-NET (and 3G, of course). Binaries (target armv6l works very well, no libs required) for ssh/dropbear, strace can be found at:
http://impactlinux.com/fwl/downloads/binaries/extras/
ecostin is offline   Reply With Quote
Old 09-19-2010, 09:04 AM   #30
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 4,657
Karma: 4440239
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2
Thanks! I'll take a look at iptables to do something a bit less 'wide-open' for SSH/TelNet in the USBNet script
NiLuJe 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
Kindle 3.0.1 firmware and usbNetwork bmf Kindle Developer's Corner 15 10-18-2010 06:12 PM
Hacks Kindle 2 - Firmware 2.5.4 - usbNetwork Zaidi Amazon Kindle 8 10-06-2010 08:23 AM
How do I mount Kindle DX rootfs on a Mac - usbNetwork needed? software.enginee Kindle Developer's Corner 14 06-08-2010 03:20 PM
SSH to Kindle Zorz Kindle Developer's Corner 16 01-15-2010 01:18 AM
Kindle + SSH? Elegant Forkbomb Amazon Kindle 3 03-05-2009 08:12 AM


All times are GMT -4. The time now is 12:40 AM.


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