Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-20-2011, 01:44 AM   #1
dasmoover
Connoisseur
dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.
 
Posts: 84
Karma: 26720
Join Date: Mar 2011
Device: Kindle 3 WIFI
Extended Linux Functionality - GUI Launcher Kindle Touch

Extend uses "optware" packages to enhance linux functionality by mounting a premade 512mb image file with software such as openssh, nano, screen, irssi, php, bash, rsync pre-compiled with optware tools. Packages can be managed with the command /opt/bin/ipkg, no need to cross-compile.

1.1 Update - Adds support for Yifanlu's GUI Launcher for Kindle Touch




Requirements:
Jailbreak
Shell Access (ssh, launchpad, etc)

Compatible Models:
Kindle 3 Keyboard
Kindle 4
Kindle Touch
Kindle DX

Instructions - Kindle Touch:
PREREQ: Install Yifanlu's GUI Launcher
1. Place the folders extend and extensions in /mnt/us/
2. Run install.sh to create necessary folders in /opt - ./mnt/us/install.sh
3. Restart Framework - restart framework
4. Mount Extend should now be the second option in launcher


Instructions - Kindle Keyboard:
1. Place the extend folder in /mnt/us/
2. Run install.sh to create necessary folders in /opt - ./mnt/us/install.sh
3. Use mount.sh to mount all dirs and image - ./mnt/us/mount.sh
4. Use unmount.sh to unmount all dirs - ./mnt/us/unmount.sh

Download:
12/10/11 v1.1 - gitbrew.org/..kindle_extend-1.1.zip

Future releases: Integrate custom updates for each model

Last edited by dasmoover; 12-20-2011 at 01:46 AM.
dasmoover is offline   Reply With Quote
Old 12-20-2011, 03:36 AM   #2
geekmaster
Carpe diem, c'est la vie.
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: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
This is good stuff. Getting away from console command line apps will be a big plus for many people.

That extended mount could hold a few X apps which could be launched from this menu system, and no SSH needed to use them. Now we just need to get X apps to update the framebuffer. xdaliclock and xeyes seem to run okay using built-in X display :0.0, but nothing ends up on the display. xcalc complains about being unable to load a usable font though, and xconsole complains about "Input Method Open Failed".

Last edited by geekmaster; 12-20-2011 at 04:28 AM.
geekmaster is offline   Reply With Quote
Advert
Old 12-21-2011, 07:38 PM   #3
lkewei
Member
lkewei began at the beginning.
 
Posts: 18
Karma: 12
Join Date: Dec 2011
Device: Kindle Touch
I haven't tried this yet. I wonder if you could start a Linux terminal window on Kindle touch.
lkewei is offline   Reply With Quote
Old 12-22-2011, 05:55 AM   #4
geekmaster
Carpe diem, c'est la vie.
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: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by geekmaster View Post
This is good stuff. Getting away from console command line apps will be a big plus for many people.

That extended mount could hold a few X apps which could be launched from this menu system, and no SSH needed to use them.
...
Update: x apps now run on the kindle touch. We still need a way to programmatically trigger a framebuffer update. More info here:
https://www.mobileread.com/forums/sho...d.php?t=162022

And I found elsewhere on mobileread how to play streaming radio with only built-in software. That will soon be available in the App Launcher menu as well.

Last edited by geekmaster; 12-22-2011 at 06:06 AM.
geekmaster is offline   Reply With Quote
Old 12-23-2011, 01:14 AM   #5
lkewei
Member
lkewei began at the beginning.
 
Posts: 18
Karma: 12
Join Date: Dec 2011
Device: Kindle Touch
I followed your instruction, and I got this:

[root@kindle us]# pwd
/mnt/us
[root@kindle us]# ./extend/install.sh
system: I mntroot:def:Making root filesystem writeable
mkdir: can't create directory '/mnt/us/circles/fs': No such file or directory
mkdir: can't create directory '/opt/etc': File exists
mkdir: can't create directory '/opt/share': File exists
mkdir: can't create directory '/opt/lib': File exists
mkdir: can't create directory '/opt/bin': File exists
mkdir: can't create directory '/opt/tmp': File exists
system: I mntroot:def:Making root filesystem read-only
[root@kindle us]#
lkewei is offline   Reply With Quote
Advert
Old 12-23-2011, 01:28 AM   #6
dasmoover
Connoisseur
dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.
 
Posts: 84
Karma: 26720
Join Date: Mar 2011
Device: Kindle 3 WIFI
Quote:
Originally Posted by lkewei View Post
I followed your instruction, and I got this:

[root@kindle us]# pwd
/mnt/us
[root@kindle us]# ./extend/install.sh
system: I mntroot:def:Making root filesystem writeable
mkdir: can't create directory '/mnt/us/circles/fs': No such file or directory
mkdir: can't create directory '/opt/etc': File exists
mkdir: can't create directory '/opt/share': File exists
mkdir: can't create directory '/opt/lib': File exists
mkdir: can't create directory '/opt/bin': File exists
mkdir: can't create directory '/opt/tmp': File exists
system: I mntroot:def:Making root filesystem read-only
[root@kindle us]#
Don't mind the circles folder, thats an error in the script, it will run just fine. An update will be released by next week.
dasmoover is offline   Reply With Quote
Old 12-23-2011, 11:47 PM   #7
lkewei
Member
lkewei began at the beginning.
 
Posts: 18
Karma: 12
Join Date: Dec 2011
Device: Kindle Touch
Thank you! I logged in to my kindle touch through USB networking. Then I tried to use ssh, but it complains that it cannot find the command. Could you please comment on that?

Last edited by lkewei; 12-24-2011 at 12:43 AM.
lkewei is offline   Reply With Quote
Old 12-24-2011, 02:30 AM   #8
dasmoover
Connoisseur
dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.
 
Posts: 84
Karma: 26720
Join Date: Mar 2011
Device: Kindle 3 WIFI
/opt/bin/ssh or ipkg install ssh
dasmoover is offline   Reply With Quote
Old 12-24-2011, 04:57 PM   #9
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Great additon, thank you for bringing my favorite apps to the Kindle!

It works great, but for my taste, it's a bit too big. It's 500 MB, but only a bit more than 50 are actually used. So how about creating a smaller version with the same contents?

I actually did that, reducing the image to 75 MB. That's still about 20 MB of margin in case anything extensively writes there (I doubt it), but at least it hogs less of the precious user storage.

Here's what I did (as root on my Linux PC, and in a temporary directory already containing optware.img)
Code:
mkdir {big,small}
mount -o loop optware.img big/
dd if=/dev/zero of=small.img bs=1024 count=76800
losetup /dev/loop1 small.img 
mkfs.ext3 /dev/loop1 
tune2fs -c -1 /dev/loop1
tune2fs -i -1 /dev/loop1 
tune2fs -L optware-extend /dev/loop1 
mount /dev/loop1 small/
rm -rf small/lost+found/
rsync -av big/ small/
umount big/
umount small/
losetup -d /dev/loop1
The resulting file (small.img) works as a drop-in replacement for optware.img, except that it's much smaller.

Hope this is useful somehow - maybe you can package and make available this variant as well?
ixtab is offline   Reply With Quote
Old 12-25-2011, 12:05 AM   #10
geekmaster
Carpe diem, c'est la vie.
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: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by ixtab View Post
Great additon, thank you for bringing my favorite apps to the Kindle!

It works great, but for my taste, it's a bit too big. It's 500 MB, but only a bit more than 50 are actually used. So how about creating a smaller version with the same contents?...
It is fine to start small. You can easily grow a disk image file later (like this):
http://www.tehfear.com/2007/10/08/re...op-disk-image/
geekmaster is offline   Reply With Quote
Old 12-26-2011, 11:58 PM   #11
lkewei
Member
lkewei began at the beginning.
 
Posts: 18
Karma: 12
Join Date: Dec 2011
Device: Kindle Touch
Quote:
Originally Posted by dasmoover View Post
/opt/bin/ssh or ipkg install ssh
There must be something wrong. I don't have ssh under /opt/bin, nor ipkg command.
lkewei is offline   Reply With Quote
Old 12-27-2011, 12:08 AM   #12
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by lkewei View Post
There must be something wrong. I don't have ssh under /opt/bin, nor ipkg command.
Must be user error
Are you sure you installed and mounted it correctly?

Here's what I see in /opt/bin:
Code:
[root@kindle /]# ls /opt/bin/
a2p                  clear                enc2xs               h2ph                 irssi                perl                 pod2man              ptar                 shasum               tic                  zipnote
botti                config_data          find2perl            h2xs                 libnetcfg            perl5.10.0           pod2text             ptardiff             slogin               toe                  zipsplit
bzcat                corelist             glib-genmarshal      iconv                nano                 perlbug              pod2usage            reset                splain               tput
bzip2                cpan                 glib-gettextize      infocmp              ncurses-clear        perlivp              podchecker           rnano                ssh                  tset
bzip2-bzip2          cpan2dist            glib-mkenums         infotocap            ncurses5-config      piconv               podselect            rsync                ssh-add              update-alternatives
bzip2recover         cpanp                gobject-query        instmodsh            openssh-scp          pl2pm                prove                s2p                  ssh-agent            xsubpp
c2ph                 cpanp-run-perl       gtester              ipkg                 openssh-ssh          pod2html             psed                 scp                  ssh-keygen           zip
captoinfo            dprofpp              gtester-report       ipkg-opt             openssl              pod2latex            pstruct              sftp                 ssh-keyscan          zipcloak
ixtab is offline   Reply With Quote
Old 12-27-2011, 12:19 AM   #13
lkewei
Member
lkewei began at the beginning.
 
Posts: 18
Karma: 12
Join Date: Dec 2011
Device: Kindle Touch
I just re-installed the program. It is working now. Thank you!
lkewei is offline   Reply With Quote
Old 12-27-2011, 12:38 AM   #14
lkewei
Member
lkewei began at the beginning.
 
Posts: 18
Karma: 12
Join Date: Dec 2011
Device: Kindle Touch
Is there a way to add ssh to the system? so you can run ssh instead of /opt/bin/ssh.

Last edited by lkewei; 12-27-2011 at 12:42 AM.
lkewei is offline   Reply With Quote
Old 12-27-2011, 01:04 AM   #15
dasmoover
Connoisseur
dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.
 
Posts: 84
Karma: 26720
Join Date: Mar 2011
Device: Kindle 3 WIFI
PATH=$PATH:/opt/bin:/opt/sbin

enter that into your shell.
dasmoover is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle 4 (no touch) GUI Localization Sir Alex Kindle Developer's Corner 43 09-13-2013 08:19 AM
GUI Launcher for Kindle Touch yifanlu Kindle Developer's Corner 299 01-24-2013 02:59 PM
Touch Kobo Touch Extended 2 Year Warranty - Is it worth the $34.99? EverC Kobo Reader 11 09-01-2011 12:47 AM
Touch Kobo Touch Extended Warranty Program SensualPoet Kobo Reader 1 07-17-2011 05:08 AM
linux server Mac GUI exjimmy Library Management 3 04-08-2011 10:31 PM


All times are GMT -4. The time now is 12:23 AM.


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