![]() |
#16 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jan 2012
Device: Kindle Touch
|
Execute optware on the Kindle Touch
I am an experienced Linux user, Java programmer, and html//css/javascript developer and would like to develop some enhancements for the Kindle Touch (which I will gladly share). I am brand new to Kindle, having just gotten a Kindle Touch a week ago.
Thanks to the fine folks here at MobileRead, I have succeeded in jail-breaking, installing the GUI Launcher, installing the extended opware, adding /opt/bin to the PATH in profile, connecting wirelessly via SSH, and executing said optware programs via SSH from a Linux and OSX terminal. I understand how to access wifi info, server info, debug mode, etc via shortcut bar commands such as ;711. However, I cannot figure out how to run any of the installed linux utilities from the KT itself. I would like to be able to run a terminal emulator especially, or at least execute shell commands on the KT. It seems to be possible given the statement regarding backup on the wiki page: on the Host: nc -l 31337|dd of=mmcblk0p1.bin on the Kindle: dd if=/dev/mmcblk0p1|nc 192.168.15.1 31337 https://wiki.mobileread.com/wiki/Kind...Hacking#Backup Any pointers in the right direction would be greatly appreciated. I appreciate all of the hard work done by various tweakers, and look forward to contributing. |
![]() |
![]() |
![]() |
#17 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84
Karma: 26720
Join Date: Mar 2011
Device: Kindle 3 WIFI
|
Either follow my previous post and add it to your ssh session path or call it as such /opt/bin/nano
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 9502
Join Date: Oct 2010
Location: California
Device: Kindle 3 WiFi, Kindle 4 Touch
|
Hey, thanks for a great job on getting the image to us. Separate thanks to ixtab for his useful idea.
I'm trying to add a menu item to YiFanLu's Launcher to start an ftp server. Any input on how to do it? I'm assuming I would have to start sftp, with some params pointing to the server path and a config file. Is this correct? Last edited by vaniaspeedy; 01-05-2012 at 08:21 PM. |
![]() |
![]() |
![]() |
#19 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 9502
Join Date: Oct 2010
Location: California
Device: Kindle 3 WiFi, Kindle 4 Touch
|
For those interested; I made a toggle for removing ads and a toggle for selectively hiding folders/books.
ads - https://www.mobileread.com/forums/sho...d.php?t=164261 (pardon the typo) folders - https://www.mobileread.com/forums/sho....php?p=1913727 |
![]() |
![]() |
![]() |
#20 | |
hub
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Quote:
All the credits go to dasmoover & ixtab. |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
How would I be able to use ipkg? I assumed it would just install new programs to the optware image, but its complaining about a read only filesystem, which makes me thing its trying to install things to root. Thanks.
|
![]() |
![]() |
![]() |
#22 | |
hub
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Quote:
Code:
mntroot rw ![]() Last edited by thatworkshop; 03-20-2012 at 08:38 PM. |
|
![]() |
![]() |
![]() |
#23 | |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#24 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Code:
[root@kindle root]# strace -f -F /opt/bin/ipkg list 2>&1|tail munmap(0x4001b000, 34) = 0 close(3) = 0 open("/var/local/system/tzVar", O_RDONLY) = -1 ENOENT (No such file or directory) gettimeofday({1332300008, 690798}, NULL) = 0 getpid() = 18936 mkdir("/opt/ipkg-g1rwEY", 0700) = -1 EROFS (Read-only file system) write(2, "ipkg_conf_init: Failed to create"..., 85ipkg_conf_init: Failed to create temporary directory `(null)': Read-only file system ) = 85 exit_group(30) = ? Process 18936 detached [root@kindle root]# Code:
TMPDIR=/tmp /opt/bin/ipkg list_installed TMPDIR=/opt/tmp /opt/bin/ipkg list_installed In either of these cases, it works smoothly with root mounted ro. |
|
![]() |
![]() |
![]() |
#25 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 5000
Join Date: Jun 2012
Location: CZE
Device: Kindle Touch
|
Could anyone reupload the extensions scripts for mount and umount since it seems (at least for me that gitbrew is down).
we can still use ixtabs disk images : http://ge.tt/9Qoa9YD |
![]() |
![]() |
![]() |
#26 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
I just uploaded the installer to the same ge.tt location
![]() |
![]() |
![]() |
![]() |
#27 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 5000
Join Date: Jun 2012
Location: CZE
Device: Kindle Touch
|
thank you very much
![]() i will edit the Wiki post ah you already did it ![]() Last edited by aranwe; 09-14-2012 at 08:03 AM. |
![]() |
![]() |
![]() |
#28 |
Member
![]() Posts: 13
Karma: 10
Join Date: May 2012
Device: Kindle touch
|
Has anyone used nanorc initialization file? In which directory should I put it?
edit: I needed this for setting the operating dir and I kind of solved this by creating a n -sh file with nano -o /mnt/us inside it, but would still be nice to know. Last edited by Tonttu; 09-19-2012 at 06:53 AM. |
![]() |
![]() |
![]() |
#29 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,755
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
|
Installed on PW - SUCCESS
I installed this today on my PW. Works great. Except of course the menu-items. Deleted all cp cmds in mount.sh and unmount.sh.
This is what I did (in that order): 1) I READ ALL POSTS FIRST in this thread 2) grab file in post #20 3) edit /mnt/us/extend/mount.sh and unmount.sh to remove the cp commands for .json (won't work on pw) 4) delete /mnt/us/extensions - no use on PW 5) do post #10. I did that right on the PW with Code:
# dd if=/dev/zero bs=1024k count=100 >> /mnt/us/extend/optware.img # resize2fs /mnt/us/extend/optware.img 6) now it is time to mount this with: Code:
# /mnt/us/extend/mount.sh 8) then I did: Code:
# ipkg update # ipkg upgrade # ipkg install vim And then the last thing I did was edit /etc/motd to add me a reminder that I should run /mnt/us/extend/mount.sh. No need for me to mount at boottime, only needed when actually logging in. That should be all. This is now also supporting the PW. Last edited by DuckieTigger; 01-06-2013 at 12:08 AM. Reason: modfied steps slightly |
![]() |
![]() |
![]() |
#30 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 37
Karma: 260446
Join Date: Feb 2013
Device: Kindle Paperwhite
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle 4 (no touch) GUI Localization | Sir Alex | Kindle Developer's Corner | 43 | 09-13-2013 07:19 AM |
GUI Launcher for Kindle Touch | yifanlu | Kindle Developer's Corner | 299 | 01-24-2013 01:59 PM |
Touch Kobo Touch Extended 2 Year Warranty - Is it worth the $34.99? | EverC | Kobo Reader | 11 | 08-31-2011 11:47 PM |
Touch Kobo Touch Extended Warranty Program | SensualPoet | Kobo Reader | 1 | 07-17-2011 04:08 AM |
linux server Mac GUI | exjimmy | Library Management | 3 | 04-08-2011 09:31 PM |