View Single Post
Old 09-11-2012, 11:32 PM   #30
jack_slapped
Junior Member
jack_slapped began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2012
Device: KSO 4 NT
Quote:
Originally Posted by poomex View Post
From what I have tried to remove the ads it looks like it's enough to do:

Code:
	
mv /var/local/adunits /var/local/adunits.bkp
touch /var/local/adunits
You don't need to create the script.
I know this is kind of an old thread, but I was wondering if anyone could help me out with removing the ads off of my kindle 4 NT. I tried using these lines of code and got access denied. The username I used was "framework" password "mario". As none of the root usernames would work for me.

I wanted to try this method, but I wasn't exactly sure how to do it. So I decided against it. If anyone could shed some light on how to remove ads on the 4.1.0 firmware I would be very grateful. All the information on the wiki seems to be outdated.

Code:
mntroot rw
if [ ! -f /var/local/adunits.bkp ]; then
	mv /var/local/adunits /var/local/adunits.bkp
	touch /var/local/adunits
fi
mntroot ro
Save, exit and make the following:
Code:
chmod +x /mnt/us/RUNME.sh; mntroot rw
Make a backup about the mntus.params file with this:
Code:
cp /var/local/system/mntus.params /var/local/system/mntus.params.BKP
Extend the original mntus.params with the followings:
Code:
if [ -e /mnt/us/RUNME.sh ]; then
	sh /mnt/us/RUNME.sh
fi
If you would like to see a log then change the "sh /mnt/us/RUNME.sh" with "sh /mnt/us/RUNME.sh > /mnt/us/RUNME.log"

If you are ready, just create and link the screensaver folder, just like before:

Code:
mkdir /mnt/us/screensaver
mount /dev/mmcblk0p1 /mnt/base-mmc
mv /mnt/base-mmc/opt/amazon/screen_saver/600x800 /mnt/base-mmc/opt/amazon/screen_saver/600x800.bkp
ln -sfn /mnt/us/screensaver /mnt/base-mmc/opt/amazon/screen_saver/600x800
exit
jack_slapped is offline   Reply With Quote