Quantcast
Channel: MobileRead Forums - Kindle Developer's Corner
Viewing all 4477 articles
Browse latest View live

K5 Search bar launch functions

$
0
0
Hi All,

By modifying the "/usr/share/webkit-1.0/pillow/javascripts/search_bar.js" file, it is very easy to modify the behavior of the back, home and store buttons.

I was able to make the store button, so it will make TTS with speed 220 on the first tap, and if it is already set, (on the second tap) launch the store:

Code:

var m_systemCallbacks = {
        back: function () {
            nativeBridge.setIntLipcProperty(APP_MANAGER_ID, 'backward', 0);
        },
        home: function() {
            nativeBridge.setLipcProperty(APP_MANAGER_ID, 'start', HOME_ID);
        },
        store: function() {
            if (nativeBridge.getIntLipcProperty('com.lab126.tts', 'TtsISpeed') !
                nativeBridge.setIntLipcProperty('com.lab126.tts', 'TtsISpeed', T
            } else {
                nativeBridge.setLipcProperty(APP_MANAGER_ID, 'start', STORE_ID);
            }

        }
    };

Does anyone know how to chage the search bar so it can add new functionality with user typed parameters?

For example, type TTS speed in number into the search bar, and select TTS and have it go to that speed?

I noticed that catalog (My Items), store (Kindle Store), wikipedia (Wikipedia), and dictionary (Dictionary) are defined.

Thanks,
James

Jailbreaking £89 kindle after latest update

$
0
0
Hi, I'm new to this so hope I'm posting my question in the right place.I successfully installed custom screen savers on my Kindle non touchby using the following http://dl.dropbox.com/u/16679763/kindle-nt-jailbre... and http://dl.dropbox.com/u/16679763/update_ss_0.26.N_.... My wife was so impressed she asked me to do hers as well.However I cannot get it to work on her kindle.She got hers about six months after me and amazon have updated it with the aeroplane mode method of turning wifi on and off(mine still has the old style way of doing this as I rarely use wifi)I can only assume that this has something to do with it.The linkss folder does not appear.After a lot of searching yesterday I found a newer version of the rar file This was it kindle-ss-0.27.N.When I opened it there was a 'src' folder and in that was a 'linkss' folder which I placed in the Kindle.After updating and restarting the kindle the 'linkss' folder was there with the screensavers folder within it and the little picture telling me the hack was successful.However when I place pictures in it and then restart the kindle they don't appear I still have the amazon pictures of pen nibs etc.Has anyone successfully added screensavers to a kindle non touch (the £89 one)since the aeroplane mode update? I hope someone can help me as I feel I have 'almost got it' but have just fallen at the last hurdle! Thanks , Noel

K5 Accessory port

$
0
0
As the accessory port is being ignored as an output port here (I haven't found here it's used somewhere), I created script that sends text string to the port.
Spoiler:
acsend.sh:
Code:

#!/bin/sh
ac='/sys/devices/system/mx50_accessory/mx50_accessory0/mx50_accessory_state'
rate=10000
nullstop=$(expr 3 \* ${rate})

get_chcode()
{
echo $(printf '%d' "$'$1")
}
binconv()
{
padto=0
[ ${#2} -ne 0 ] && padto=${2}
bstr=''
d=0
num=${1}
while [ ${num} -ne 0 ]; do
d=$(expr ${d} + 1)
bit=$(expr ${num} % 2)
bstr="${bit}""${bstr}"
num=$(expr ${num} / 2)
done
while true; do
[ ${padto} -eq 0 ] && break
[ ${d} -ge ${padto} ] && break
padleft=$(expr ${padto} - ${d})
bnulls=''
for i in $(seq 1 ${padleft}); do
bnulls="${bnulls}"'0'
done
bstr="${bnulls}""${bstr}"
break
done
echo "${bstr}"
}

[ ${#1} -eq 0 ] && return 1
str=''
for i in $(seq 0 $(expr ${#1} - 1)); do
code=$(get_chcode "${1:${i}:1}")
[ ${i} -ne 0 ] && str="${str}"' '
str="${str}""$(binconv ${code} 8)"
done
str="${str}"' '
sto=$(expr ${#str} - 1)
chp=0
echo -n "${1:${chp}:1}"
for i in $(seq 0 ${sto}); do
state="${str:${i}:1}"
[ "${state}" == ' ' ] &&
{
echo 0 > ${ac}
usleep ${nullstop}
chp=$(expr ${chp} + 1)
[ ${i} -ne ${sto} ] && echo -n "${1:${chp}:1}"
continue
}
echo ${state} > ${ac}
usleep ${rate}
done
echo


Connect the LED to the port and try it with ./acsend.sh 'Hello World!'!
Timing is very unreliable because it's shell script, but it's not bad anyway.

Got a Demo Kindle (k5) from work, need to remove demo software.

$
0
0
at work we had a kindle demo but it has the demo software running.

Anyone know if i can wipe it and load the stock software?

Thanks, I hate to throw out a perfectly good kindle.

K5 Running proxy on KT

$
0
0
Hey guys,
Unfortunately in my country there are many restrictions of using the Internet, filtering many sites, restriction on the current of free information and so forth.
Is there any way to implement a proxy/vpn on the device?

Thanks in advance

K5 Kindle 5.1.x JailBreak

$
0
0
Hello again :)

Like the title says, here's a FW 5.1.x JailBreak!

It's heavily based on yifanlu's jailbreak, with a few tweaks to make it more Touch centric,
and an updated delivery method for FW 5.1.x ;). So, as always, thanks to everyone involved in Touch hacking, particularly yifanlu, ixtab & geekmaster ;).

Latest Updates (09/05/2012):

JailBreak v1.2.N (Firmware 5.1.x support).

INSTALL:

Jailbreak:
Spoiler:


Note for Kindle 5.0.x Users:

Please use the "data.tar.gz" file instead of the "data.stgz" one ;).




Download the attached kindle-jailbreak-1.2N.zip file, and unpack it. In here, you'll find a few files and directories.
Leave the directories alone, and upload the data.stgz file to the root directory of your Kindle.

Now, eject your Kindle, and go to [HOME] -> [MENU] > Settings -> [MENU] > Restart. During the reboot you should see a pretty Jailbreak image,
and a new 'book' will appear in your Home screen to confirm that the device is jailbroken (You can safely delete this 'book' ;)).

And that's it, your Kindle is now ready to install custom hacks!


ChangeLog:
Spoiler:
  • Jailbreak:
    • v1.2.N:
      • Works on firmware <= 5.1.2 :).
  • Doc: $Id: MR_THREAD 8347 2012-07-31 19:49:50Z NiLuJe $

Attached Files
File Type: zip kindle-jailbreak-1.2.N.zip (98.1 KB)

Tools JOE (Joe's Own Editor) compiled for Kindle

K5 can i customize k5 page turn areas?

$
0
0
i want to change k5 pageturn areas to my liking.is there a patch for jbpatch or something in gui launcher or anything to achieve this.

KT 5.1.0 - brick after USB bundle install

$
0
0
Hello everyone,

Today I made a brick from my KT 5.1.0 :(

All began when I decided to do its jailbreak. I used probably most easiest way i.e. by web page jailbreak-kt.tk. Although it was easy, I had to screw it up. :(

I don't know why but after first or second restart when I was in diag mode I chose option "Exit, Reboot or Disable Diags" and then I decided to choose "USB bundle install" (please don't ask me why because I don't even know myself). From this time I have still the same image on my screen.



I have tried to do hard resets and go through with the guide from this page (http://www.mediafire.com/view/?d4mqgzr4cbrttzu) but I get stuck on the 4th page in 8th point. I can't see Kindle-Fastboot in my device manager.

I don't know it's normal or not but I see the same image on my screen all the time (doesn't matter I reset, plug or unplug KT. It's still frozen as above, no touch response).

Could you give me a little piece of advice how to bring my Kindle to life?

Thank you in advance.

Kindle Touch bricked? after installing calc

$
0
0
so today i installed the calculator tool off of the kindle touch wiki:
http://wiki.mobileread.com/wiki/Kind...ing#Calculator
i used the calculater, all was fine until i made the number too big and it went into infinity. The program then crashed, and i cant go to the home screen, or click ex. for exiting. i tried reset, magic reset. i plugged it in, and did hte magic reset, and now i wont even recognize on the comp:eek: im a total noob to ereaders. geekmaster help?

EDIT: i ran mfg tool, didnt know what i was doing, and i clicked start and got the kindle to boot into diag mode. now i tried to disable diagnostics, and foundthat device_info.xml wasnt found. i remember this bug fromthe first time i tried to jailbreak the kindle using data.tar.gz method, and now how do i get it to go out of diag mode?

EDIT2: so i managed to get it to exit diags thru device settings, testing now

EDIT3: SUCESS sorry for the thread mods delete please

WARNING: DONT USE THE CALC FOR LARGE OPERATIONS!

Converting projects with graphics to the kindle: or "Qtkindle, I do what now?"

$
0
0
QtKindle port of GPL Backgammon
(Yes, I know it's gpl'd, we just want to play backgammon right?)

Quote:

Quote:
Originally Posted by Vitel http://www.mobileread.com/forums/sho...6&postcount=39
[Re Backgammon port...]
Interesting, thanks. [About Gnu Backgammon]
I thought about porting other board games to Kindle, but unfortunately I don't have enough time to do that. BTW I don't know how to play backgammon However, if someone can tune this backgammon project (which uses QT) to include proper graphics, layout and keyboard control on a PC, I can help compile it for qtKindle.
Hey all,
I have it compiled with Qt on Linux from source.

Setting about the required modifications:

Would like some tips on a) adding the required bits and bobs
(I'm talking about adding keyboard support and any graphics bits, the server configuration bit I will worry about later)

b) getting it running with qtkindle. How to include the right libs?

Is it a case of x-compiling with the right Libs reffed?
If so, which ones and where.
I can't seem to get my head around reffing the existing qtkindle libs: libQtGui.so.4, libQtCore.so.4, etc.. please help this total noober.

Many many thanks

Bit of history and current status:

Pulled down Qindle from Git and dug around in there. :book2:

I have the pre-compiled QtKindle Libs/plugins/share on the kindle

Worst case I'll just side-by-side one of the included Qindle projects that DOES run on a kindle but any pointers would REALLY speed the job up. :bookworm:

Not even sure of the overall process I am attempting to complete.
Other than get compiled code from here to there...
If I could get some pointers on x-compiling using the qtlibs I think I can manage it.

Dug around for docs on it but only managed 5 threads on here and one doc in Asian script in the source (That I have posted a rough translation of for the next hapless European reader)

Cheers, Thanks again.

K3 Kindle highlight hack?

$
0
0
Kindle has a good function. You can highlight some text and press "SPACE", then pops a textbox contain the text you highlighted, you can do many things for this text like Google, Dict etc.
But when I do this for a book in Chinese, the entire paragraph contain the highlighted text show in the pop up textbox. It seems kindle get the text by search the space, cause in Chinese there is no space in the paragraph.
I wounder if this "search space" design can be hacked? Just show the highlight text in the pop up textbox.
Anyone reply will be appreciated.

BTW, I use kindle 3 3.3

is there a extreme fast refresh hack for the kindle touch

$
0
0
I just found out that the nook str and the sony prs t1 have a extreme fast refresh hack that makes scrolling and reading much faster and a breeze.I wonder if one such hack exists fir the kindle touch too.if not is there a half refresh hack for the kt.

K5 Kindle Touch SSH Over Wifi Zip Request

$
0
0
I am hoping someone has a copy of the kindle-touch-jb-wifi.zip as linked through the KT Hacks wiki:

SSH Over Wifi Portion of Wiki

The Gitbrew mirror has been down for some time and all Googled links lead to Rome.

If someone can pm me, I'll glady post it to MediaFire or the like.

:thanks:

K5 Help with SSH

$
0
0
Hi Guys,
I'm a complete newbie on the kindle scene, I only bought one as I was recently in America and was shocked at the price, and I have managed to get my kindle jailbroken and with the kindlet jailbreak and ixtab's JBPatch installed as well as the GUI Launcher and the 'Launcher Collection'.
The problem I have is that I have no idea how to SSH the the kindle. I have enabled Usbnetwork from the launcher and installed the drivers for the network device on my Win7 Ultimate x64 machine, and I seem to be able to ping the device at 192.168.15.244 after setting the network adapter's settings to 192.168.15.1 and 255.255.255.0. Any help would be greatly appreciated, or any tips on how to sort it over Wi-Fi would also be great as the instructions I have found I am struggling to follow.
I'm no n00b with computers at all, however the instructions or the wording at least I find very hard to grasp.
Thanks,
Bill

EDIT: Completely forgot to mention the fact that I have puTTY here and I also tried WinSCP which I use to SSH to my iPod touch. I don't remember SSHing ever being this stubborn before :D. It just gives me an error which says "PuTTY Fatal Error - Network error: Connection refused" when I try to connect to 192.168.15.244. I'm doing this all while booted into the normal OS, with the toggle in the launcher. I've not yet tried the diags mode.

K4 Need help on mount /dev/mmcblk0p1 on KT

$
0
0
Hi! All

I am using a Kindle Touch. It's system is 5.1.2.

I was jailbreaked my KT when it was 4.x. But sometimes ago It was fallen on the ground and system was broken. ( system still running but all the fonts was gone. ) So I have to install an new system on it. Then it becomes 5.1.2.

I finished the jailbreak steps and usbnetwork steps mentioned in page

http://wiki.mobileread.com/wiki/Kind...:_NOT_5.1.2.29

and

http://wiki.mobileread.com/wiki/Kind...USB_Networking

Now I can login to my Kindle as root via ssh. But I am not able to mount /dev/mmcblk0p1. So that I am not able to modify font configurations in /etc/fonts/.

Here is my device information. Thanks in advance.

Code:


[root@kindle fonts]# cat /proc/partitions
major minor  #blocks  name

  7        0    3418104 loop0
 179        0    3907584 mmcblk0
 179        1    358400 mmcblk0p1
 179        2      65536 mmcblk0p2
 179        3      32768 mmcblk0p3
 179        4    3418112 mmcblk0p4
[root@kindle fonts]#
[root@kindle fonts]#
[root@kindle fonts]# mount /dev/mmcblk0p1 /mnt/us/root/
mount: /dev/mmcblk0p1 already mounted or /mnt/us/root/ busy
[root@kindle fonts]# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (ro,noatime,nodiratime,data=writeback)
none on /proc type proc (rw,nosuid,nodev,noexec,relatime)
none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
tmpfs on /dev/shm type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /var type tmpfs (rw,relatime,size=32768k)
/dev/mmcblk0p3 on /var/local type ext3 (rw,relatime,errors=continue,data=writeback)
fsp on /mnt/us type fuse.fsp (rw,nosuid,nodev,noatime,user_id=0,group_id=0)
/dev/loop/0 on /mnt/base-us type vfat (rw,noexec,noatime,nodiratime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
fsp on /mnt/us type fuse.fsp (rw,nosuid,nodev,noatime,user_id=0,group_id=0)
fsp on /mnt/mmc type fuse.fsp (rw,nosuid,nodev,noatime,user_id=0,group_id=0)
[root@kindle fonts]# uname -a
Linux kindle 2.6.31-rt11-lab126 #1 Tue Jul 17 16:55:47 PDT 2012 armv7l GNU/Linux
[root@kindle fonts]# exit
Connection to 192.168.15.244 closed.

Kindle 4 SO non-touch won't update! :'(

$
0
0
I am trying to update my K4NTSO from 4.0.1 to 4.1.0 but it always failed on the second stage (either U006 or u008)...

I think this is about my stupid bout in trying to do a screensaver hack meant for K4NT months ago (w/o SO)... I was new to kindle back then so I am not sure what I was doing but now I really don't care about the screensaver but I would just like to have the 4.1.0 update. Help...

P.S. I was reading some posts regarding the errors and their fixes and tried them all (although not sure if I did it correctly) but to no avail

K3 Nano 2.3.1 for the Kindle 3

$
0
0
Compiled from source.

Tested on kindle 3, on other devices YMMV.

(AA) key is ctrl.

Released 'As is', As stated: YMMV.

Installation: Simply copy the bin under the /mnt/us somewhere and run.

Uninstall: Delete it.

:2thumbsup

Attached Files
File Type: gz nano.tar.gz (76.0 KB)

K5 Keyboard sends (or ?) after each symbol

$
0
0
Let me first thank the developers here for all the wonderful software.

I've installed the GUI launcher, terminal emulator, networking tools, extend, and jbpatch. At some moment, the keyboard occasionally starts misbehaving - seemingly it starts issuing newline characters after each keystroke. This happens both with the native on-screen keyboard and in the xterm emulator keyboard. As a result I cannot type in any searches, and cannot also dump any logs in that state. Restart does help. Unfortunately so far I've been unable to pin down precise combination of events that triggers this misbehaviour.

Would be grateful for any advice on this.

K5 Calibrating touch screen

$
0
0
hello,

Do you know anyone how to calibrate touch screen on Kindle Touch ? I have one with shifted about 2cm to right, so if i want to touch to button i must touch to 2cm left from button. I did not found in diags. Maybe there is some app can be run from ssh. Thank you.
Viewing all 4477 articles
Browse latest View live


Latest Images