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 03-07-2022, 05:25 PM   #1
squelch
Junior Member
squelch began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2022
Device: Kindle KT2
Question [question] Standalone Koreader on Kindle

Hi, just today I did a jailbreak and installed KUAL and then Koreader on my KT2, everything works great, thank you so much to all contributors for your great work!

I went poking around the files and found out that the kindle firmware is mostly just linux (no big surprise) and this gave me an idea.

I greatly prefer my devices to run freedom software as much as possible so I was wondering how far fetched it would be to completely do away with the proprietary amazon software and instead use an alternative reader like Koreader on it's own?

Is there anything preventing this or posing an obstacle? For instance, is Koreader just a regular GUI program or does it interface with daemons/services provided by the amazon software?
squelch is offline   Reply With Quote
Old 03-07-2022, 07:28 PM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,482
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Somewhat harder to achieve on a Kindle, and not necessarily straight forward (or a good idea) on more recent devices, but it has been done on other platforms (e.g., Cervantes or Kobo).
NiLuJe is offline   Reply With Quote
Advert
Old 03-08-2022, 07:37 AM   #3
squelch
Junior Member
squelch began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2022
Device: Kindle KT2
That's interesting, I assume it would take some programming work and a new build? Or is it just a matter of setting it up?
squelch is offline   Reply With Quote
Old 03-08-2022, 10:37 AM   #4
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,482
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Mostly just a matter of setting it up without breaking anything (on both sides of the fence).

EDIT: Except on Kindle, where it would require writing code for basically all the non-eInk bits of the HAL (device & powerd), as that currently relies on stock deamons.
NiLuJe is offline   Reply With Quote
Old 03-08-2022, 04:04 PM   #5
squelch
Junior Member
squelch began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2022
Device: Kindle KT2
That sounds like a ton of work, and after reading through this:
https://wiki.mobileread.com/wiki/Kin...g#Architecture
I'm even more impressed with the developers on this forum for figuring out this giant mess!

For now I'll just keep it as is and hope the spooky amazon demons will have mercy on me
squelch is offline   Reply With Quote
Advert
Old 03-09-2022, 04:08 AM   #6
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,087
Karma: 4234828
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
@squelch
If you would like to stop Kindle sending stuff to Amazon, here is how you can do it:

Warning! Before firmware update, restore usr/bin/showlog binary, otherwise the update's gonna fail.


How to disable logging:
1) Backup files
/usr/sbin:
syslog-ng (syslog server and logging daemon)
loginfo (pulls specific info from syslog)
tinyrot (rotates log files to be pulled from remote servers)
/usr/bin:
showlog (specifies which log file to send)

2) Link log files to null location:
Code:
mntroot rw
ln -s -b /dev/null /usr/sbin/syslog-ng
ln -s -b /dev/null /usr/sbin/loginfo
ln -s -b /dev/null /usr/sbin/tinyrot
ln -s -b /dev/null /usr/bin/showlog
mntroot ro
How to Revert back:
Code:
mntroot rw
mv /usr/sbin/syslog-ng~ /usr/sbin/syslog-ng
mv /usr/sbin/loginfo~ /usr/sbin/loginfo
mv /usr/sbin/tinyrot~ /usr/sbin/tinyrot
mv /usr/bin/showlog~ /usr/bin/showlog
mntroot ro
Disable user store reset and shipping mode:
Code:
mntroot rw
ln -s -b /dev/null /usr/sbin/userstore_reset
ln -s -b /dev/null /usr/sbin/userstore_clean
ln -s -b /dev/null /usr/sbin/shipping_mode
mntroot ro
Restore:
Code:
mntroot rw
mv /usr/sbin/userstore_reset~ /usr/sbin/userstore_reset
mv /usr/sbin/userstore_clean~ /usr/sbin/userstore_clean
mv /usr/sbin/shipping_mode~ /usr/sbin/shipping_mode
mntroot ro
mergen3107 is offline   Reply With Quote
Old 03-09-2022, 09:37 AM   #7
squelch
Junior Member
squelch began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2022
Device: Kindle KT2
@mergen3107
Hey, thanks, now I feel more confident in using it while connected to wifi!
btw does disabling user store reset mean I could unregister the device and not lose my files?
squelch is offline   Reply With Quote
Old 03-09-2022, 10:18 AM   #8
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,087
Karma: 4234828
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
No, user store reset just doesn’t allow to factory reset anymore. Although I didn’t test it so be careful.
mergen3107 is offline   Reply With Quote
Old 03-09-2022, 10:33 AM   #9
squelch
Junior Member
squelch began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2022
Device: Kindle KT2
I see, thanks!
squelch is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Question: Kobo Clara HD] How to access borrowed books (overdrive) via Koreader? creality KOReader 6 04-08-2021 10:30 AM
Koreader with Forma question Gadgetguy Kobo Reader 3 08-29-2020 04:53 PM
New user. A few question on how to do things in koreader the_need_to_read KOReader 4 08-13-2017 03:30 PM
Newbie question: download epubs directly from the internet into koreader camifran KOReader 2 02-26-2017 02:19 PM
How can i run python (standalone version? ) on my kindle fire? ah_ha Kindle Fire 6 04-03-2013 01:36 AM


All times are GMT -4. The time now is 09:54 AM.


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