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 11-23-2011, 08:44 AM   #106
yifanlu
Kindle Dissector
yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.
 
Posts: 662
Karma: 170717
Join Date: Jul 2010
Device: Amazon Kindle 3
How about this? I will provide a function that transparently makes a copy of, edits, and bind mounts (like the screensaver hack) on startup, so when the package is deleted, the modified file will not be bind mounted and nothing is modified.
yifanlu is offline   Reply With Quote
Old 11-23-2011, 10:40 AM   #107
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,186
Karma: 2116649
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
Another suggestion: use unionfs-fuse to make COW overlays onto the root filesystem. FUSE is available and building unionfs-fuse should work fine. It's very similar to bind mounts, but it somewhat automates the copy-on-write path (but not in the first case presented next).

One option would be to have one overlay loop-mounted filesystem per package: They can be tailored specifically for the package regarding their size then. You would simply add/remove that filesystem-containing file in a special directory, let's say, "/mnt/us/overlays". Upon system boot, a single script would then be in charge of mounting each of these overlays onto e.g. "/tmp/overlays/<pkgname>" and then creating a unionfs mount to /. This gets messy however when it comes to writing.

Another option would be to have a general overlay filesystem and let packages just modify that upon installation/deinstallation.
hawhill is offline   Reply With Quote
Old 11-23-2011, 11:01 AM   #108
geekmaster
Всё гениальное просто.
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: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by hawhill View Post
Another option would be to have a general overlay filesystem and let packages just modify that upon installation/deinstallation.
Perhaps you could use some code from the OpenWrt project, which uses a COW file system .

The problem with a general overlay filesystem is that hacks would still have to be coordinated or they could damage each other due to namespace collisions .

Even simple launchpad key assignments risk hijacking by other apps, which is especially easy to do since the launchpad folder supports multiple .ini files. Either a .ini file could accidentally get replaced, or it could contain launch key assignments that are already in use in another .ini file. End users should not have to go in and compare and change all their .ini files to get them to work together -- that would be too much like the old days when plugging an ISA bus card into a PC meant removing all the other cards and changing their IRQ and address assignment jumper pins and DIP switches so that they could all work together (complicated by the fact that each card had a very limited supply of available settings, especially on 8-bit ISA) .

I really like Yifan Lu's idea of each hack getting its own filesystem (but some hacks might need access to other hack file spaces). I would recommend a cloop mount except in cases where a compressed loop mount uses too much CPU for the application using it .

Yifan Lu: If the kindle touch data dumps you want are in mmc, the mmc chip *could* be physically removed and read on an external computer (perhaps soldering the pins to a cheap microSD card adapter socket). Perhaps we could donate funds to get you a "sacrificial" kindle touch (I already donated $10 at your linked web page). Keep up the *great* work! .

Last edited by geekmaster; 11-23-2011 at 11:27 AM.
geekmaster is offline   Reply With Quote
Old 11-23-2011, 11:32 AM   #109
yifanlu
Kindle Dissector
yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.
 
Posts: 662
Karma: 170717
Join Date: Jul 2010
Device: Amazon Kindle 3
Quote:
Originally Posted by geekmaster View Post
Perhaps you could use some code from the OpenWrt project, which uses a COW file system .

The problem with a general overlay filesystem is that hacks would still have to be coordinated or they could damage each other due to namespace collisions .

Even simple launchpad key assignments risk hijacking by other apps, which is especially easy to do since the launchpad folder supports multiple .ini files. Either a .ini file could accidentally get replaced, or it could contain launch key assignments that are already in use in another .ini file. End users should not have to go in and compare and change all their .ini files to get them to work together -- that would be too much like the old days when plugging an ISA bus card into a PC meant removing all the other cards and changing their IRQ and address assignment jumper pins and DIP switches so that they could all work together (complicated by the fact that each card had a very limited supply of available settings, especially on 8-bit ISA) .

I really like Yifan Lu's idea of each hack getting its own filesystem (but some hacks might need access to other hack file spaces). I would recommend a cloop mount except in cases where a compressed loop mount uses too much CPU for the application using it .

Yifan Lu: If the kindle touch data dumps you want are in mmc, the mmc chip *could* be physically removed and read on an external computer (perhaps soldering the pins to a cheap microSD card adapter socket). Perhaps we could donate funds to get you a "sacrificial" kindle touch (I already donated $10 at your linked web page). Keep up the *great* work! .
I would try to get a serial connection going, but from what I read, it is hard to open the new kindles without breaking anything and voiding the warranty. That being said, if anyone has an already broken kindle touch, contact me.
yifanlu is offline   Reply With Quote
Old 11-23-2011, 12:14 PM   #110
synchrone
Junior Member
synchrone can extract oil from cheesesynchrone can extract oil from cheesesynchrone can extract oil from cheesesynchrone can extract oil from cheesesynchrone can extract oil from cheesesynchrone can extract oil from cheesesynchrone can extract oil from cheesesynchrone can extract oil from cheesesynchrone can extract oil from cheese
 
Posts: 8
Karma: 1126
Join Date: Oct 2011
Device: Amazon Kindle 3G
Guys, sorry i didn't read the whole thread, but did you already discuss the optware, which was proposed here on the forums ?

I mean hey, why inventing a wheel ?
synchrone is offline   Reply With Quote
Old 11-23-2011, 12:18 PM   #111
geekmaster
Всё гениальное просто.
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: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by yifanlu View Post
...from what I read, it is hard to open the new kindles without breaking anything and voiding the warranty.
The Kindle Touch should not be too hard to take apart, after you know the location of the clips. To prevent case damage, you need a plastic spudger tool (not a knife).

You can see the clips in this attached KT teardown photo:
Attached Thumbnails
Click image for larger version

Name:	KTouch.JPG
Views:	421
Size:	148.2 KB
ID:	79290  
geekmaster is offline   Reply With Quote
Old 11-23-2011, 01:32 PM   #112
yifanlu
Kindle Dissector
yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.
 
Posts: 662
Karma: 170717
Join Date: Jul 2010
Device: Amazon Kindle 3
I know how to take it apart, but everyone who has said they damaged some part of it. Even using plastic tools. I'm not going to destroy this $140 device, especially since I'm a poor student.
yifanlu is offline   Reply With Quote
Old 11-23-2011, 03:23 PM   #113
geekmaster
Всё гениальное просто.
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: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by yifanlu View Post
I know how to take it apart, but everyone who has said they damaged some part of it. Even using plastic tools. I'm not going to destroy this $140 device, especially since I'm a poor student.
We should start a new "Donate for a sacrificial Kindle Touch for Yifan Lu" sticky. Put your donate button from your web site on it."

I donated $10 to you on PayPal a few days ago. Please put that in your "sacrificial kindle" fund. Hopefully you won't damage a sacrificial kindle, but at least if you do, it would not cost you anything."

*** Come on team! Go to Yifan Lu's page and donate some money so he can have a spare kindle touch to open and find his serial port:

Or, click here:
Sacrificial Kindle Fund Donation

Last edited by geekmaster; 11-23-2011 at 03:32 PM.
geekmaster is offline   Reply With Quote
Old 11-23-2011, 03:30 PM   #114
yifanlu
Kindle Dissector
yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.
 
Posts: 662
Karma: 170717
Join Date: Jul 2010
Device: Amazon Kindle 3
Thank you, but knowing people, I don't think many will put in money for something like this. I still would rather get someone's already broken kindle, like one with a broken screen or something. It would also be recycling.
yifanlu is offline   Reply With Quote
Old 11-23-2011, 03:39 PM   #115
geekmaster
Всё гениальное просто.
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: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
I would think people would be more likely to donate if this were on a sticky and it had sufficient cheerleading.

Also, getting more exposure by posting it at hackaday.com and other similar places would help (but as mentioned by moderators at hackaday, they get complaints for any hacks that cost more than a McDonald's Happy Meal).

This is a bummer for the hacking community -- I have taken time to give donations for lots of things I like (I give money to WikiPedia every year)...

Of course, the purpose for hacking is often to spend time instead of money, so supporting a cause would be difficult.

Anyway, post a sticky in the Kindle Developer's Corner (with moderator permission) saying you need a broken kindle touch...

P.S. I fixed the "Donate" link above. HTML copied from your "PSN Update Finder" page worked better than trying to hack the POST form copied from your home page into a GET link...

Last edited by geekmaster; 11-23-2011 at 03:45 PM.
geekmaster is offline   Reply With Quote
Old 11-23-2011, 07:54 PM   #116
yifanlu
Kindle Dissector
yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.
 
Posts: 662
Karma: 170717
Join Date: Jul 2010
Device: Amazon Kindle 3
I've decided to start a IRC channel, something I've never done before, so bear with me.

irc://irc.efnet.net:6667/kindle

I'm looking for developers and experts who I can discuss ARM assembly, shellcodes, and memory debugging with. However, anyone can join, listen in, and contribute.
yifanlu is offline   Reply With Quote
Old 11-23-2011, 08:20 PM   #117
geekmaster
Всё гениальное просто.
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: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
It looks like the damage at blogkindle.com was caused by prying off the glued components, rather than opening the case. The pads near the display connector that he labelled "Serial???" does look like the most promising point to connect. You could connect an oscilloscope to the pins one at a time during bootup to find the Tx line (especially if it was a "spare" kindle).

Last edited by geekmaster; 11-23-2011 at 11:56 PM.
geekmaster is offline   Reply With Quote
Old 11-24-2011, 03:28 AM   #118
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: 581
Karma: 2061091
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Quote:
Originally Posted by hawhill View Post
Another suggestion: use unionfs-fuse to make COW overlays onto the root filesystem. FUSE is available and building unionfs-fuse should work fine. It's very similar to bind mounts, but it somewhat automates the copy-on-write path (but not in the first case presented next).
Sounds interesting but that would involve remounting the root partition late in the boot process. I don't think that's a hassle-free operation.
You can't do it before exporting US over USB because if things go wrong due to an error in one of the hacks the user wouldn't get chance to get rid of the hack by deleting its home dir.
I'd stick to bind-mounts, it's a tested, safe and lightweight solution.
COW is not that important here giving the fact that root fs modification/substitution is not desirable and should be reduced to a minimum.
dsmid is offline   Reply With Quote
Old 11-24-2011, 04:02 AM   #119
geekmaster
Всё гениальное просто.
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: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
On my kindles, I do a chroot to an ext3 loop file, and only the shell that did the chroot sees the new environment.

Last edited by geekmaster; 03-13-2013 at 11:42 AM.
geekmaster is offline   Reply With Quote
Old 11-24-2011, 10:43 AM   #120
Lorphos
Librie lab rat
Lorphos plays well with othersLorphos plays well with othersLorphos plays well with othersLorphos plays well with othersLorphos plays well with othersLorphos plays well with othersLorphos plays well with othersLorphos plays well with othersLorphos plays well with othersLorphos plays well with othersLorphos plays well with others
 
Lorphos's Avatar
 
Posts: 27
Karma: 2760
Join Date: Dec 2004
Location: Dortmund, Germany
Device: Trekstor 4ink
DuoKan says they will support Kindle 4 eventually:
Quote:
admin says:
November 24, 2011 at 2:58 am

We will support for Kindle 4,but it needs time.We will support for kindle 3 best first.

Thanks.
Source: http://en.duokan.com/?page_id=2#comment-582

I wonder if they have manage to root it...
Lorphos 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
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


All times are GMT -4. The time now is 05:38 AM.


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