|  02-20-2011, 01:38 PM | #16 | |
| Wizard            Posts: 1,105 Karma: 1025784 Join Date: Oct 2010 Device: WiFi Kindle3 | Quote: 
 Wifi is also off here. I've been downloading Amazon freebies to the computer and sideloading. Although this morning I updated my html file which is basically a redo of my Blackberry homepage - links I use and like. I had copied it to the k3 for use in its browser but now I'm reluctant to test it since it needs wifi. So has NOBODY tested this as of yet? | |
|   |   | 
|  02-20-2011, 01:55 PM | #17 | 
| Noggin (1998-2011)  Posts: 63 Karma: 42 Join Date: Dec 2009 Location: Ankh-Morpork Device: Kindle 3 | |
|   |   | 
|  02-20-2011, 02:30 PM | #18 | 
| Wizard            Posts: 1,105 Karma: 1025784 Join Date: Oct 2010 Device: WiFi Kindle3 | |
|   |   | 
|  02-20-2011, 03:27 PM | #19 | 
| Junior Member  Posts: 4 Karma: 10 Join Date: Feb 2011 Device: Kindle 3 | 
			
			I know, first post, but I follow these forums a lot for various developer content. I obviously don't normally comment, but as no one else has tried this, I figured I would. Anyhow, I installed this, switched it to "amazon", updated to 3.1, then switched it back to "hack". I haven't actually installed anything, I will when I have a bit more time and find something interesting, but the option to update is indeed there. Everything else seems to be functioning normally. Oh, I was also connected via wifi for quite awhile last night with "hack" enabled and it didn't update. I've been reading some people have had it auto update on them. It didn't download the update for me, so I'm not sure if I even ran into that. Last edited by Shbek; 02-20-2011 at 03:30 PM. | 
|   |   | 
|  02-20-2011, 03:33 PM | #20 | 
| Member  Posts: 15 Karma: 10 Join Date: Feb 2011 Device: Kindle 3G | 
			
			I'm using this hack to avoid getting the 3.1 upgrade pushed. No problems so far. I just wanted to use wireless again and i didn't feel like installing USB networking. I've been using UNIX/Linux for over 10 years but the experts here have talked up such a storm about how anyone using USB networking is liable to brick their Kindle i figured this would be safer for now. I plan to uninstall the hack and upgrade when a 3.1 jailbreak is available.
		 | 
|   |   | 
|  02-20-2011, 03:42 PM | #21 | |
| Wizard            Posts: 1,105 Karma: 1025784 Join Date: Oct 2010 Device: WiFi Kindle3 | Quote: 
 | |
|   |   | 
|  02-20-2011, 11:14 PM | #22 | 
| Kindle Dissector            Posts: 662 Karma: 475607 Join Date: Jul 2010 Device: Amazon Kindle 3 | 
			
			Is it ok if I use your idea in my Kindle 3.1 jailbreak? I'll give you credits in the readme, and the code won't be exactly the same.
		 | 
|   |   | 
|  02-21-2011, 01:31 AM | #23 | |
| Linux devotee            Posts: 598 Karma: 2069047 Join Date: Feb 2011 Device: Kindle 3, Kindle 4B, Kindle PW2 | Quote: 
 Although I haven't mentioned any license in the README, usually anything I release is GPLed. Last edited by dsmid; 02-21-2011 at 01:36 AM. | |
|   |   | 
|  02-21-2011, 01:28 PM | #24 | 
| Kindle Dissector            Posts: 662 Karma: 475607 Join Date: Jul 2010 Device: Amazon Kindle 3 | 
			
			I've noticed a bug in your script. Amazon looks for "KEYFILES=$(ls /etc/uks/*pem)" aka, files ending with pem in the keys folder. Your keys end with ".hack" or ".amazon", so they won't work on < 3.1. Also, here's my version of your script: Code: #!/bin/sh
PATH=/usr/sbin:/usr/bin:/sbin:/bin
_FUNCTIONS=/etc/rc.d/functions
[ -f ${_FUNCTIONS} ] && . ${_FUNCTIONS}
NAME=update-provider
KEY_DIR=/etc/uks
CONF_DIR=/mnt/us/$NAME
HACKS="HACK_UPDATES"
AMAZON="AMAZON_UPDATES"
SELECTION="amazon"
start() {
	# Make sure extra files aren't considered
	ACTIVE=$(find "$CONF_DIR" -maxdepth 1 -type f | sort -r | grep "$HACKS\|$AMAZON" | head -n 1)
	ACTIVE=${ACTIVE##*/}
	if [ "$ACTIVE" == "$HACKS" ]; then
		SELECTION="hack"
	fi
	
	# Check if user selection changed
	cmp $KEY_DIR/pubprodkey01.pem $KEY_DIR/pubprodkey01.$SELECTION.pem 2>&1 >/dev/null
	if [ $? -ne 0 ]; then
		mntroot_rw
		cp -f "$KEY_DIR/pubprodkey01.$SELECTION.pem" "$KEY_DIR/pubprodkey01.pem"
		cp -f "$KEY_DIR/pubprodkey02.$SELECTION.pem" "$KEY_DIR/pubprodkey02.pem"
		mntroot_ro
	fi
}
case "$1" in
  start)
    start
  ;;
  stop)
  ;;
  restart|force-reload)
    start
  ;;
  *)
    echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload}" >&2
    exit 1
  ;;
esac
exit 0Last edited by yifanlu; 02-21-2011 at 01:31 PM. | 
|   |   | 
|  02-21-2011, 05:32 PM | #25 | 
| Junior Member  Posts: 5 Karma: 10 Join Date: Feb 2011 Device: Kindle 3 | 
			
			That seems overly complicated, and still requires modifying the root filesystem.  I would suggest instead: Code: #!/bin/sh
KEYS_DIR=/mnt/us/update-switcher/keys
case "$1" in
	start|restart)
		# If custom keys are present and enabled, mount a
		# temporary filesystem over /etc/uks and copy the
		# custom keys there
		umount /etc/uks
		if [ -d $KEYS_DIR ] ; then
			mount -t tmpfs -o size=1M none /etc/uks &&
			cp -r $KEYS_DIR/* /etc/uks/
		fi
		exit 0
		;;
	stop)
		umount /etc/uks
		exit 0
		;;
	*)
		echo "Usage: $0 {start|stop|restart}" >&2
		exit 1
		;;
esacAnother idea would be to make symlinks in the tmpfs rather than copying the key files, which would allow the user to switch between hack and official keys without rebooting. It might not be a good idea to do official updates while the hack is enabled, though. | 
|   |   | 
|  02-22-2011, 01:11 AM | #26 | |
| Linux devotee            Posts: 598 Karma: 2069047 Join Date: Feb 2011 Device: Kindle 3, Kindle 4B, Kindle PW2 | Quote: 
 IMHO it would be confusing if the same setup does something else in 3.0.x compared to 3.1. Last edited by dsmid; 02-22-2011 at 02:07 AM. | |
|   |   | 
|  02-22-2011, 02:11 AM | #27 | 
| Linux devotee            Posts: 598 Karma: 2069047 Join Date: Feb 2011 Device: Kindle 3, Kindle 4B, Kindle PW2 |   
			
			There's no need to install this hack now as it has been superceded by Jailbreak 3.1 with similar functionality. Do not install it and make sure to uninstall it before installing Jailbreak 3.1. Please use version 0.2 uninstaller even if you originally installed version 0.1. Last edited by dsmid; 02-22-2011 at 04:43 AM. | 
|   |   | 
|  03-12-2011, 09:53 PM | #28 | |
| Zealot            Posts: 128 Karma: 5792 Join Date: Mar 2011 Location: Australia Device: Kindle 3 | Quote: 
 T.T <<< sad panda. | |
|   |   | 
|  03-12-2011, 10:01 PM | #29 | 
| BLAM!            Posts: 13,506 Karma: 26047202 Join Date: Jun 2010 Location: Paris, France Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E | 
			
			Not anymore.
		 | 
|   |   | 
|  03-24-2011, 10:49 AM | #30 | |
| Enthusiast  Posts: 28 Karma: 10 Join Date: Mar 2011 Device: Kindle 3 | 
				
				Use this w/ yifanlu's hack >= 0.4, but not NiLuJe's
			 Quote: 
 It will still conflict with earlier yifanlu jail breaks, and with NiLuJe's jail breaks. greyTraveler | |
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| eBook, eMagazine provided by different provider | kentchan | General Discussions | 2 | 08-19-2010 01:13 AM | 
| Ebook DRM provider goes dark, the books you paid for disappear | orwell2k | News | 17 | 02-04-2010 03:23 PM | 
| Hack Attack! Esquire wants us to hack their e-paper cover | TadW | News | 26 | 10-22-2008 03:51 AM |