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 12-05-2013, 12:51 PM   #1
TheArtfulDodger
Connoisseur
TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.
 
TheArtfulDodger's Avatar
 
Posts: 59
Karma: 155110
Join Date: Nov 2010
Location: Ashford, Kent, England
Device: Kobo Touch, Kindle, Nook Touch
Question Android Possible on K4?

Hello:

I am trying to put HunkyPunk on my K4 so that I can run Zork, among others. In order to do that I need to load Android. I can't find any reference on here that describes how to do it (mostly because when I search for 'Android on K4' the search machine ignores the 'on K4' part) so I was wondering if anyone that sees this could direct me to the process. I have already done the jailbreak procedure successfully, but nothing past that.

Thanks in advance for any help anyone can offer!

Sparky
TheArtfulDodger is offline   Reply With Quote
Old 12-05-2013, 12:58 PM   #2
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,903
Karma: 6677557
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by TheArtfulDodger View Post
Hello:

I am trying to put HunkyPunk on my K4 so that I can run Zork, among others. In order to do that I need to load Android. I can't find any reference on here that describes how to do it (mostly because when I search for 'Android on K4' the search machine ignores the 'on K4' part) so I was wondering if anyone that sees this could direct me to the process. I have already done the jailbreak procedure successfully, but nothing past that.

Thanks in advance for any help anyone can offer!

Sparky
Short answer: there is no Android for the K4 (or any other e-ink Kindle).

Long answer: it should theoretically be possible to get Android to run on those machines. But you'd be in for some major (and I mean MAJOR!) development -- probably dozens of man-years, and requiring expertise from ARM assembly and kernel-level drivers to UI programming and polishing.
ixtab is offline   Reply With Quote
Old 12-05-2013, 01:13 PM   #3
TheArtfulDodger
Connoisseur
TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.
 
TheArtfulDodger's Avatar
 
Posts: 59
Karma: 155110
Join Date: Nov 2010
Location: Ashford, Kent, England
Device: Kobo Touch, Kindle, Nook Touch
Hello, ixtab:

Thanks for being honest - the difficulty must explain why I can't find anyone that has done it. Having said that, before you started making your contributions, you were likely looking at a similar period of work!!

Thanks again - I'll have to re-think my problem.

Sparky
TheArtfulDodger is offline   Reply With Quote
Old 12-05-2013, 01:22 PM   #4
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,827
Karma: 6314522
Join Date: Feb 2012
Device: Too many.
Can you just re-build the source of (or get for standard 32bit, Linux/ARM) what you want to run?
That would be an easier problem to solve.

Note: Some of the developers here DO HAVE Android development experience - if what you ask was easy - it would have been done years ago.
knc1 is offline   Reply With Quote
Old 12-05-2013, 01:23 PM   #5
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,903
Karma: 6677557
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by TheArtfulDodger View Post
Hello, ixtab:

Thanks for being honest - the difficulty must explain why I can't find anyone that has done it. Having said that, before you started making your contributions, you were likely looking at a similar period of work!!
Well, the stuff that I enjoy doing may be a bit scary for some, but it's still several orders of magnitude less complex than porting Android to a new device - the very initial, proof of concept version of JBPatch was developed in 3 or 4 days and was only ~ 400 lines of code (but yes of course, a couple of years of experience in reverse engineering and a solid background with Java and JVM helps... as with everything, it gets easier with time...)
ixtab is offline   Reply With Quote
Old 12-05-2013, 01:53 PM   #6
TheArtfulDodger
Connoisseur
TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.
 
TheArtfulDodger's Avatar
 
Posts: 59
Karma: 155110
Join Date: Nov 2010
Location: Ashford, Kent, England
Device: Kobo Touch, Kindle, Nook Touch
Question Stupid Question

Quote:
Originally Posted by knc1 View Post
Can you just re-build the source of (or get for standard 32bit, Linux/ARM) what you want to run?
That would be an easier problem to solve.

Note: Some of the developers here DO HAVE Android development experience - if what you ask was easy - it would have been done years ago.
If I may ask a stupid question: I guess the processor is ARM, for which compilers must exist, but what OS does the K4 run?

Thanks for the suggestion.

Sparky
TheArtfulDodger is offline   Reply With Quote
Old 12-05-2013, 01:55 PM   #7
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,903
Karma: 6677557
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by TheArtfulDodger View Post
If I may ask a stupid question: I guess the processor is ARM, for which compilers must exist, but what OS does the K4 run?

Thanks for the suggestion.

Sparky
Linux, I think with one of the 2.6.x kernels, but I may be wrong concerning the version.
ixtab is offline   Reply With Quote
Old 12-05-2013, 03:48 PM   #8
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,827
Karma: 6314522
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by TheArtfulDodger View Post
If I may ask a stupid question: I guess the processor is ARM, for which compilers must exist, but what OS does the K4 run?

Thanks for the suggestion.

Sparky
Ah, yeah, since most common processor in Android devices is ARM.
They got compilers for ARM (so do we, and the rest of the world).

Each of the OSs (Google/Android and Amazon/Kindle) use a Linux kernel.
With a few specializations, but 99.99% the same.

The difference is in the applications build -
Android uses its own breed of system C library,
Kindle uses one of the standard system C libraries.

So an Android application must first be re-built to use the same, standard, system library as the Kindle.

I.E: Android build != Standard Linux build.

As I posted, get the sources and re-build against the same library used on the Kindle,
OR,
Go to the vendor of what you want to run, see if they have already built a version against a standard library.
(Your only choice if it is "closed source").
knc1 is offline   Reply With Quote
Old 12-05-2013, 06:46 PM   #9
icantbebothered
Penguin
icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.
 
icantbebothered's Avatar
 
Posts: 1,017
Karma: 4742434
Join Date: Jul 2012
Device: Kindle Touch 5.3.2.1
Or put debian on your kindle, apt-get the app, and rip it out.
icantbebothered is offline   Reply With Quote
Old 12-05-2013, 07:29 PM   #10
h1uke
Zealot
h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.
 
Posts: 121
Karma: 82565
Join Date: Aug 2010
Location: Maryland, USA
Device: dxg, k3w,k4nt,kpw
Quote:
Originally Posted by TheArtfulDodger View Post
the difficulty must explain why I can't find anyone that has done it.
BTW, when it comes to K4 model, the main difficulty/obstacle is the lack of an
adequate input device on it.
h1uke is offline   Reply With Quote
Old 12-06-2013, 12:50 PM   #11
TheArtfulDodger
Connoisseur
TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.
 
TheArtfulDodger's Avatar
 
Posts: 59
Karma: 155110
Join Date: Nov 2010
Location: Ashford, Kent, England
Device: Kobo Touch, Kindle, Nook Touch
Question Debian Might Work!

Quote:
Originally Posted by icantbebothered View Post
Or put debian on your kindle, apt-get the app, and rip it out.
Hello, i:

You mentioned Debian and I just found a version of the program that is a port to Debian. Here's the description: "Sfrotz 0.02, an SDL-based port of Frotz to Debian Linux, by Aldo Cumani. Based on Frotz 2.40 by Stefan Jokisch and Windows Frotz by David Kinder. Supports Blorb graphics and sounds, and includes partial support for the Standard 1.1 extensions."

Does this sound to you like it might work? If so, my first question is whether or not there is a version of Debian that can be run from a CD/DVD, much like Ubuntu? I would very much like to make sure the program actually does what I hope it does on my desktop prior to loading on the Kindle.

Then, my next question will be: how does one load Debian onto the Kindle and then how does one load a program into that Debian on Kindle?

I realize some of this might be on this forum but I don't seem to have a lot of luck finding what I'm looking for.

Thanks for the information and in advance for any further information you can provide.

Sparky
TheArtfulDodger is offline   Reply With Quote
Old 12-06-2013, 12:54 PM   #12
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,827
Karma: 6314522
Join Date: Feb 2012
Device: Too many.
"Sfrotz 0.02, an SDL-based port of Frotz to Debian Linux, by Aldo Cumani. Based on Frotz 2.40 by Stefan Jokisch and Windows Frotz by David Kinder. Supports Blorb graphics and sounds, and includes partial support for the Standard 1.1 extensions."

Already ported to the Kindle - just search for it here.
knc1 is offline   Reply With Quote
Old 12-06-2013, 01:15 PM   #13
TheArtfulDodger
Connoisseur
TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.TheArtfulDodger can grok the meaning of the universe.
 
TheArtfulDodger's Avatar
 
Posts: 59
Karma: 155110
Join Date: Nov 2010
Location: Ashford, Kent, England
Device: Kobo Touch, Kindle, Nook Touch
Question

Quote:
Already ported to the Kindle - just search for it here.
Hello, knc1:

As I indicated earlier, I can't seem to find much using the search function. When I searched the "Amazon Kindle" and the "Kindle Developer's Corner" for "Sfrotz", the only hit I got was this thread. If I'm doing something wrong I'd sure like to know what it might be!!

Thanks.

Sparky
TheArtfulDodger is offline   Reply With Quote
Old 12-06-2013, 01:23 PM   #14
icantbebothered
Penguin
icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.
 
icantbebothered's Avatar
 
Posts: 1,017
Karma: 4742434
Join Date: Jul 2012
Device: Kindle Touch 5.3.2.1
Quote:
Originally Posted by TheArtfulDodger View Post
Hello, i:

You mentioned Debian and I just found a version of the program that is a port to Debian. Here's the description: "Sfrotz 0.02, an SDL-based port of Frotz to Debian Linux, by Aldo Cumani. Based on Frotz 2.40 by Stefan Jokisch and Windows Frotz by David Kinder. Supports Blorb graphics and sounds, and includes partial support for the Standard 1.1 extensions."

Does this sound to you like it might work? If so, my first question is whether or not there is a version of Debian that can be run from a CD/DVD, much like Ubuntu? I would very much like to make sure the program actually does what I hope it does on my desktop prior to loading on the Kindle.

Then, my next question will be: how does one load Debian onto the Kindle and then how does one load a program into that Debian on Kindle?

I realize some of this might be on this forum but I don't seem to have a lot of luck finding what I'm looking for.

Thanks for the information and in advance for any further information you can provide.

Sparky
You have to (from linux on a pc) debootstrap debian 7.2 into a .img, then put it on the USB stirage on your kindle. Dos1 made a handy script to mount and launch debian(dosowisko.net/kindle/debian). It expects the directory mnt/debian. More info on tis somewhere on the mobileread wiki.

Once debian is instaled and launched on your kindle, run apt-get install whatever. Debian ports you find outside of the debian repositories on't work due to a) architectures, and b) the kindle's cpu being niether 32x or 64x. Then you can use twobob's script to get the binary and libs of whatever program you installed, which will now run outside debian.



Alternatively , grab baf's port of gargoyle.
icantbebothered is offline   Reply With Quote
Old 12-06-2013, 01:24 PM   #15
icantbebothered
Penguin
icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.icantbebothered ought to be getting tired of karma fortunes by now.
 
icantbebothered's Avatar
 
Posts: 1,017
Karma: 4742434
Join Date: Jul 2012
Device: Kindle Touch 5.3.2.1
And to your first question, yes, any linux will run from a CD.
icantbebothered is offline   Reply With Quote
Reply

Tags
android, hunkypunk, k4nt

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recognition for azbooka n516, android tablet and android phone vyazovoi Devices 3 08-13-2011 02:32 AM
Released 14 HoneyComb ROM MOD for Android OS 1.6 /Android OS 2.1 HCV13.0 B20 tipstir Android Devices 0 05-20-2011 03:59 AM
Android Android news stumbles upon not-yet-released Amazon Android App store sarah11918 enTourage Archive 7 03-22-2011 02:07 PM
Android Developers: Licensing Service For Android Applications kjk Android Devices 0 07-28-2010 04:23 PM


All times are GMT -4. The time now is 08:33 PM.


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