Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-20-2012, 01:00 PM   #1
murz_07
Connoisseur
murz_07 began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch SO
Exclamation Kindle 4 Touch post-hacking problems

Hello!
I've just recieved my K4T SO, jailbroke it, installed usbnetwork, localization, keyboard localization, auto-rotation and changed margins. Through SSH.
Then I tryed to change screensaver timeout with this script:

#!/bin/sh

# Version 0.01 (20090724) ebs
V="0.01"

# Default timeout in seconds
TIMEOUT=3600

L=/mnt/us/screensaver-timeout_install.log

# Result codes
OK=0
ERR=1

echo >> $L
echo "install: screensaver-timeout v$V, `date`" >> $L

# Give user a way to override timeout
U=/mnt/us/screensaver-timeout
if [ -f $U ]; then
T=`cat $U | head -n 1 | sed 's/[^0-9]//g'`
if [ "$T" -gt 59 ]; then
echo "Using user specified timeout $T from $U" >> $L
TIMEOUT=$T
fi
fi

F=/etc/upstart/powerd.conf

# Make a backup just in case
[ -f $F.orig ] || cp -p $F $F.orig 2>> $L || exit $ERR

K="t1_timeout:"
OT=`grep "^$K" $F | cut -b 13-`
if [ -n "$OT" ]; then
if [ "$OT" != "$TIMEOUT" ]; then
echo "Replacing sleep timeout ($OT -> $TIMEOUT)" >> $L
sed -i -e "s/^\($K\).*$/\1 $TIMEOUT/" $F 2>> $L || exit $ERR
else
echo "Timeout is already set to $TIMEOUT, skipping..." >> $L
fi
else
echo "Addding sleep timeout ($TIMEOUT)" >> $L
(echo "$K $TIMEOUT" >> $F) 2>> $L || exit $ERR
fi

echo "Done!" >> $L
exit $OK


After executing and reboot I noticed battery looking like [__!__]
When I plugged cable in I saw message: "Kindle is not charging now" instead of usual one. And Kindle was not going to sleep at all.

So I restored factory defaults (yes, so naive ) and instead of solving problem I created another one - now I have no root access! I jailbroke it again, tryed to install usbnetwork, but when I press "Update your kindle" nothing happens. It doesnt even reboot. And when I restart it "ERROR 3" appears.

So I assume I ruined some power scheme. I dont know how to fix it.
Any ideas?
murz_07 is offline   Reply With Quote
Old 02-21-2012, 12:48 PM   #2
murz_07
Connoisseur
murz_07 began at the beginning.
 
Posts: 67
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch SO
Exclamation Kindle 4 Touch post-hacking problems


murz_07 is offline   Reply With Quote
 
Enthusiast
Old 02-21-2012, 12:51 PM   #3
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,066
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Read this:
http://www.mobileread.com/forums/sho...d.php?t=169645

You can repair your kindle from diags mode. Additional tools will be provided soon to make it easier.

BTW: Kindle touch is not a K4. Some early posts when it first came out were a little confused on that issue. The number following the K is the generation / firmware major version number, and the latest touch firmware is version 5.0.3. So, the touch is really a K5. Around here, we usually call it a Touch or a KT. The K4 was usually called a K4NT in the early days to distinguish it from the Touch, but the NT part is just a bad habit left over from confusion about the Touch version number. The "real" names used by amazon are the "Kindle Touch" (K5), "Kindle Mini" (K4), and "Kindle Keyboard" (K3).

Last edited by geekmaster; 02-21-2012 at 01:00 PM.
geekmaster is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle 4th gen non-touch - hacking kubbur Kindle Developer's Corner 208 07-04-2014 11:55 AM
Touch Hacking into the Kobo Touch stef70 Kobo Developer's Corner 58 01-04-2014 04:12 AM
Kindle Touch odd charging problems sparklemotion Amazon Kindle 8 01-25-2012 02:55 PM
Hacks Kindle Touch Custom Screensaver Problems Noramac Amazon Kindle 3 01-11-2012 07:26 PM


All times are GMT -4. The time now is 04:18 PM.


MobileRead.com is a privately owned, operated and funded community.