View Single Post
Old 12-22-2011, 01:41 AM   #52
inameiname
Groupie
inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.
 
Posts: 159
Karma: 20390
Join Date: Feb 2009
Device: none
Copy these hacks without usbnetwork (or myts-6 terminal) hack?

Quote:
Originally Posted by Tanga View Post
I too would like a solution to the browser issue that doesn't involve using the usbnetworking hack. Anyone found one?
Yes, a Launchpad script is an option. It is probably the quickest and best solution for people who do not want to install/use the USB Hack, nor want to install myts-6, open the terminal on the Kindle, and manually enter all of the commands to replace the files.

Anyway, as pointed out by thomass on this thread about merged developer keystore keys (https://www.mobileread.com/forums/sho...d.php?t=152294), here is how to do it without using the USB hack:

readabilitymod.ini
Code:
[Actions]

; ReadabilityMod
R M I = !source /mnt/us/launchpad/readabilitymod_install.sh
R M U = !source /mnt/us/launchpad/readabilitymod_uninstall.sh
readabilitymod_install.sh
Code:
###### ReadabilityMod
mntroot rw
# backup the old ones if exist:
if [ -f /usr/share/browser/readability/readability_min_utf16.css ]
then
	mv /usr/share/browser/readability/readability_min_utf16.css /usr/share/browser/readability/readability_min_utf16.css.bkp
fi
if [ -f /usr/share/browser/readability/readability_min_utf16.js ]
then
	mv /usr/share/browser/readability/readability_min_utf16.js /usr/share/browser/readability/readability_min_utf16.js.bkp
fi
# copy the new ones:
if [ -f /mnt/us/launchpad/readability_min_utf16.css ]
then
	cp /mnt/us/launchpad/readability_min_utf16.css /usr/share/browser/readability/
fi
if [ -f /mnt/us/launchpad/readability_min_utf16.js ]
then
	cp /mnt/us/launchpad/readability_min_utf16.js /usr/share/browser/readability/
fi
mntroot ro
exit
readabilitymod_uninstall.sh
Code:
###### ReadabilityMod
mntroot rw
# restore the old ones:
rm /usr/share/browser/readability/readability_min_utf16.css
rm /usr/share/browser/readability/readability_min_utf16.js
mv /usr/share/browser/readability/readability_min_utf16.css.bkp /usr/share/browser/readability/readability_min_utf16.css
mv /usr/share/browser/readability/readability_min_utf16.js.bkp /usr/share/browser/readability/readability_min_utf16.js
mntroot ro
exit
So all you have to do, after putting those scripts and ini inside your launchpad folder (and the readabilitymod .css and .js files), and then refreshing Launchpad (Shift > Shift > Space), just (R > M > I) to install, and (R > M > U) to uninstall.

Finally, I do not know whether or not this works for firmware 3.3 yet. Hopefully whatever updates were done by Amazon with it, one wasn't messing with these two files.
Attached Files
File Type: zip readabilitymod_ini_and_scripts.zip (25.1 KB, 278 views)

Last edited by inameiname; 12-22-2011 at 02:18 AM.
inameiname is offline   Reply With Quote