View Single Post
Old 08-12-2016, 09:15 PM   #5
coplate
Guru
coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 1888888
Join Date: Jun 2009
Device: prs-505, Kindle Keyboard 3g, PW3
Method #3 - Start with a copy of your kindle

I think this will end up haveing several of the same bits as #2, with twobobs premade image, but it starts with this command, instead of downloading his image.

First clone your kindle - you must have already put your SSH key onto it.
  1. mkdir -p /chroots/kindle
  2. rsync -avP --numeric-ids --exclude='/dev' --exclude='/proc' --exclude='/sys' root@192.168.2.57:/ /chroots/kindle

Then working off these instructions to run apps from within it, download the qemu static, and a test file
  1. apt-get install qemu binfmt-support qemu-user-static
  2. dpkg --add-architecture armel
  3. apt-get update
  4. apt-get install libc6:armel
  5. wget http://http.us.debian.org/debian/poo...10-1_armel.deb
  6. dpkg -x hello_version_armel.deb hello_armel

Then install it into your kindl folders, and try to run things
  1. cp /usr/bin/qemu-arm-static /chroots/kindle/usr/bin
  2. cp ~/hello_armel/usr/bin/hello /chroots/kindle/usr/bin/
  3. chroot /chroots/kindle
[LIST]

Quote:
osboxes@osboxes:~$ sudo chroot /chroots/kindle/
/ # cd usr/bin/
/usr/bin # ./hello
Hello, world!
/usr/bin #
So far, all I have done with this is to run the test script there.
coplate is offline   Reply With Quote