|
|
#1 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18
Karma: 2602
Join Date: Mar 2012
Device: Kindle 4NT
|
De-sandboxed kindlet loader
I've written a small tool that allows loading Kindlets outside of their sandbox. Right now it only works for the Kindle 4 (software version 4.1.0), but I think it could be easily ported to Kindle 3 and Touch. It implements a custom classloader for the kindlets, which skips all the sandboxing checks: certificates, java permissions and class whitelisting. With it, when launching a Kindlet for the first time, you will get a dialog (see attached screen-shot) asking if you want to allow it full permissions (using the custom classloader) or load it normally (inside the regular Kindlet API sandbox). If you load it with full permissions:
Detailed documentation is available, as well as an already-built .jar ready-to-use. Hope you find it useful .Cheers, -pwr |
|
|
|
|
|
#2 |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,254
Karma: 3921779
Join Date: Feb 2012
Device: K0
|
Its an entire function, it deserves a copyright statement and a license statement.
What OSI license are you releasing this under? MIT? Something else?
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan - -> JB on BD |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18
Karma: 2602
Join Date: Mar 2012
Device: Kindle 4NT
|
Haven't thought of that. BSD, I guess?
I'll update the sources and upload a license file. Cheers, -pwr |
|
|
|
|
|
#5 | |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,028
Karma: 6382209
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
Quote:
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() Last edited by geekmaster; 06-15-2012 at 07:16 PM. |
|
|
|
|
|
|
#6 |
|
discoverer of principles
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
|
Nice. If you are looking for KT Java libraries, you can take them from mmcblk0p1 images floating somewhere in this forum.
|
|
|
|
|
|
#7 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18
Karma: 2602
Join Date: Mar 2012
Device: Kindle 4NT
|
It only allows for more powerful Kindlets. While using the available Java framework classes is possible, is quite limited compared to ixtab's; certainly it does not offer the possibility to change the Java bytecode on-the-fly. On the plus side, it does not require having to mess about with the bytecode
. It's more high-level, if you like, with all the benefits and disadvantages it implies.Cheers, -pwr |
|
|
|
|
|
#8 | |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,028
Karma: 6382209
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
Quote:
Your method may be more desirable for beginners, while power users may prefer ixtab's method (which I use myself).
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() |
|
|
|
|
|
|
#9 | |
|
discoverer of principles
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
|
Quote:
You're describing jbpatcher, while geekmaster spoke about Kindlet jailbreak. |
|
|
|
|
|
|
#10 | |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,028
Karma: 6382209
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
Quote:
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() |
|
|
|
|
|
|
#11 |
|
discoverer of principles
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
|
jbpatcher is definitely using custom classloader, but described major technical differencies between jbpatcher and pwr's solution are pretty obvious and uninteresting for me. It's also obvious that pwr's solution has goals different to jbpatcher, despite the fact that it takes similar approach. I'm [persistently] pointing exactly to ixtab's Kindlet jailbreak as I'd like to know whether pwr personally will find it targeted at the same goals as his solution or not.
|
|
|
|
|
|
#12 | |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,028
Karma: 6382209
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
Quote:
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() |
|
|
|
|
![]() |
| Tags |
| hack, kindle4, kindlet |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| loader problem with old Ubuntu Hardy | silver84 | Calibre | 10 | 01-04-2011 02:47 PM |
| loader processes don't die | VulcanRidr | Calibre | 2 | 06-11-2010 11:07 PM |
| Micro Boot Loader v1.3 | OrcaBlue | iRex | 2 | 03-06-2010 11:59 AM |
| loader | rogue_ronin | Calibre | 9 | 12-13-2009 02:36 PM |
| Gmail Loader (GML) | Colin Dunstan | Lounge | 0 | 06-18-2004 03:23 AM |