12-30-2011, 12:52 PM | #376 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2011
Device: Amazon Kindle 4
|
Quote:
Erik-Cupals-iMac:fsatboot erikcupal$ gcc -Wall -lpthread -framework CoreFoundation -framework IOKit -framework Carbon protocol.c engine.c fastboot.c usb_osx.c util_osx.c -o fastboot engine.c: In function ‘match’: engine.c:162: warning: unused variable ‘len’ engine.c:160: warning: unused variable ‘val’ fastboot.c: In function ‘do_oem_command’: fastboot.c:300: warning: unused variable ‘i’ fastboot.c: In function ‘main’: fastboot.c:414: warning: implicit declaration of function ‘fb_queue_check’ fastboot.c:417: warning: unused variable ‘pname’ fastboot.c:322: warning: unused variable ‘page_size’ fastboot.c: At top level: fastboot.c:278: warning: ‘setup_requirements’ defined but not used In file included from util_osx.c:29: /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:70:35: error: SecurityHI/SecurityHI.h: No such file or directory Erik-Cupals-iMac:fsatboot erikcupal$ What now ??? |
|
01-02-2012, 08:57 AM | #377 | |
Enthusiast
Posts: 48
Karma: 33436
Join Date: Dec 2011
Device: Kindle 4 Touch
|
Quote:
@6od9 Check out this thread for links to usbnetwork and read the readme file included in the zip. I've also done some step by step instructions on how to install these kinds of files earlier in this thread. |
|
Advert | |
|
01-02-2012, 09:31 AM | #378 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Or you can just have cron periodically move or delete the log files in /var/local/logs/*.
Last edited by geekmaster; 01-02-2012 at 09:34 AM. |
01-08-2012, 11:41 AM | #379 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2012
Device: Kindle4 (NT)
|
Hi, I wanted to install a custom localization to my Kindle4 NT (https://www.mobileread.com/forums/sho...d.php?t=160796). But I have a problem - I can't update, only thing i got is screen saying that an error occured during update and error code is U007. I have installed jailbreak (https://www.mobileread.com/forums/sho...&postcount=240) and i have working SSH over WiFi.
|
01-08-2012, 12:44 PM | #380 |
Enthusiast
Posts: 26
Karma: 300000
Join Date: Dec 2011
Device: kindle 4
|
I'm pleased to announce that I've found an easy to use code execution method for the kindle 4 non touch. It only requires putting files on the usb drive and rebooting the kindle.
This is similar to ixtab's method for the kindle touch (https://www.mobileread.com/forums/sho...8&postcount=41) but it exploits a different file. We'll be exploiting the fact that /var/local/system/mntus.params is sourced when mounting the user share partition. This file can be overwritten by placing a slightly different version in a data.tar.gz file which is extracted by the kindle upon boot. (Those two items are handled by the /etc/init.d/userstore init script on the kindle.) Please note that mntus.params contains some information about the userstore partition which means that you have to be careful before replacing its contents. This is what it looks like here: Code:
# auto-generated file -- do not modify! # computed values MNTUS_PART_START=16 MNTUS_PART_SIZE=1427448 MNTUS_PART_OFFSET=8192 # constant values MNTUS_FATSIZE=32 Replacing the file's contents with Code:
# auto-generated file -- do not modify! # computed values MNTUS_PART_START=16 MNTUS_PART_SIZE=1427448 MNTUS_PART_OFFSET=8192 # constant values MNTUS_FATSIZE=32 if [ -e /mnt/us/RUNME.sh ] then sh /mnt/us/RUNME.sh > /mnt/us/RUNME.log 2>&1 fi The steps to deploy this hack are thus: * create the modified mntus.params file and put it in a system directory. chown -R 0:0 system. * create the data.tar.gz file with: tar cvzf data.tar.gz system --transform 's#^#/var/local/#' --show-stored-names -P * copy that file to the kindle's user store over usb * reboot the kindle through the system menu * create a RUNME.sh file in the user store * reboot the kindle to execute RUNME.sh An example RUNME.sh file could be something like: Code:
if [ ! -e /usr/local ] then mntroot rw mount /dev/mmcblk0p2 /mnt/mmc cp -dpr /mnt/mmc/usr/local /usr/local umount /mnt/mmc fi I've attached a data.tar.gz file containing the RUNME.sh launcher as well as a dummy RUNME.sh script to this post. If everything runs correctly you should have "hello world!" message in a file called RUNME.log after the last reboot. Last edited by dionoea; 01-08-2012 at 01:21 PM. |
Advert | |
|
01-08-2012, 12:48 PM | #381 | |
Kindle Dissector
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
|
Quote:
|
|
01-08-2012, 01:40 PM | #382 |
Enthusiast
Posts: 26
Karma: 300000
Join Date: Dec 2011
Device: kindle 4
|
Sure I just wanted to provide one such way for us kindle non touch users (as I hadn't seen any published yet)
|
01-08-2012, 01:50 PM | #383 |
wannabe developer
Posts: 192
Karma: 156548
Join Date: Mar 2011
Device: Kindle: 2xKeyboard, Classic, 2xTouch, 2xPW, PW2; Onyx: Boox M92
|
@dionoea, have you tested this method?
I've been trying to execute script from edited mntus.params about week ago without luck... |
01-08-2012, 01:57 PM | #384 | |
Enthusiast
Posts: 26
Karma: 300000
Join Date: Dec 2011
Device: kindle 4
|
Quote:
I've tested with the provided data.tar.gz and RUNME.sh and it worked fine. Maybe you need to make sure that you did a complete reboot? |
|
01-08-2012, 07:43 PM | #385 |
wannabe developer
Posts: 192
Karma: 156548
Join Date: Mar 2011
Device: Kindle: 2xKeyboard, Classic, 2xTouch, 2xPW, PW2; Onyx: Boox M92
|
Somehow full reboot (holding power button for 30s) did not work. After rebooting from settings script worked fine.
|
01-09-2012, 02:18 AM | #386 |
Enthusiast
Posts: 26
Karma: 300000
Join Date: Dec 2011
Device: kindle 4
|
|
01-09-2012, 02:48 AM | #387 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I have another tar exploit that triggers when wireless is turned on. It works on the k4nt and the touch. ixtab had others have the complete details (they PM'd me). ixtab's initial announcement on the irc channel sent me on an immediate quest to find all variations I could on all my different kindle models. Mine may (hopefully) survive the defeat of ixtab's method by an update (no common dependencies, but you never know how thorough the next update will be, you know?)
Last edited by geekmaster; 01-09-2012 at 02:53 AM. |
01-09-2012, 02:51 AM | #388 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
After some firmware update one of these days (especially if too much "theft of free 3G" crap gets published), we are going to have to graduate out of this "script kiddie" stuff and get back to stack smashes and defeating ASLR (Address Space Layout Randomization) and writing UTF-8 compatible assembly language exploits (the adult stuff). Perhaps amazon left all this "low hanging fruit" here intentionally to encourage a free community support environment for kindle owners.
Last edited by geekmaster; 01-09-2012 at 02:53 AM. |
01-13-2012, 10:19 AM | #389 |
Enthusiast
Posts: 36
Karma: 10
Join Date: May 2010
Device: Kindle PaperWhite
|
I have a question I'm hoping someone will answer. I'm pretty good with computers, but this is outside my realm of knowledge. I ran the jailbreak so that I can put on my own screen savers. And I understand the process for putting the screen savers on. However, is there any problem with putting music on my Kindle Touch now? I imagine not, but just wanted to make sure there wasn't a problem with the jailbreak being there. I image it will just sit there. Am I correct?
|
01-13-2012, 02:29 PM | #390 | |
Member
Posts: 20
Karma: 62828
Join Date: Dec 2011
Device: Kindle Touch
|
Quote:
|
|
|
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 |