11-23-2011, 07:44 AM | #106 |
Kindle Dissector
Posts: 662
Karma: 475607
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.
|
11-23-2011, 09:40 AM | #107 |
Wizard
Posts: 1,379
Karma: 2155307
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. |
11-23-2011, 10:01 AM | #108 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
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 10:27 AM. |
|
11-23-2011, 10:32 AM | #109 | |
Kindle Dissector
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
|
Quote:
|
|
11-23-2011, 11:14 AM | #110 |
Junior Member
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 ? |
11-23-2011, 11:18 AM | #111 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
You can see the clips in this attached KT teardown photo: |
|
11-23-2011, 12:32 PM | #112 |
Kindle Dissector
Posts: 662
Karma: 475607
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.
|
11-23-2011, 02:23 PM | #113 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
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 02:32 PM. |
|
11-23-2011, 02:30 PM | #114 |
Kindle Dissector
Posts: 662
Karma: 475607
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.
|
11-23-2011, 02:39 PM | #115 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
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 02:45 PM. |
11-23-2011, 06:54 PM | #116 |
Kindle Dissector
Posts: 662
Karma: 475607
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. |
11-23-2011, 07:20 PM | #117 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
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 10:56 PM. |
11-24-2011, 02:28 AM | #118 | |
Linux devotee
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
Quote:
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. |
|
11-24-2011, 03:02 AM | #119 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
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 10:42 AM. |
11-24-2011, 09:43 AM | #120 | |
Librie lab rat
Posts: 32
Karma: 2760
Join Date: Dec 2004
Location: Dortmund, Germany
Device: Tolino Vision 4 HD
|
DuoKan says they will support Kindle 4 eventually:
Quote:
I wonder if they have manage to root it... |
|
|
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 |