![]() |
#1 |
Shaman of Time
![]() Posts: 6
Karma: 10
Join Date: Aug 2011
Device: Kindle Paperwhite First Gen
|
Writing to Protected Directories
So I have my Kindlet working, but I want to write a file to the "documents" directory. I found out really fast that my PW did not like that idea. At all. java.security.AccessControlException: access denied
So, am I just out of luck, or is there anyway to get around this? Thanks! |
![]() |
![]() |
![]() |
#2 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Hmm... Source is probably in one of ixtab's repositories if not included in the Kindlet Jailbreak archive. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Shaman of Time
![]() Posts: 6
Karma: 10
Join Date: Aug 2011
Device: Kindle Paperwhite First Gen
|
Found his source, and got it working perfectly. Now I can write to anywhere! The scary part means now I can write a Kindlet to wipe all the data from my Kindle...
A thought and a two questions, The thought: Because this is possible, I believe the forum should strongly encouraged that Kindlets be released with their source. Otherwise, it would not take very much malicious code to really screw up someone's Kindle. And the questions: Will the Kindlet Jailbreak allow me to use sockets for networking? And, does the Kindlet Jailbreak work on non-jailbroken devices? As for the second, I am sure Amazon would quickly revoke any developer that used it for a public release. Thanks! |
![]() |
![]() |
![]() |
#4 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
All devs here release their source. We're not amazon.
|
![]() |
![]() |
![]() |
#5 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
![]() That said, you can build your own safety net while developing by requesting very specific permissions (e.g., write permissions for a particular directory only, instead of AllPermissions), so you don't accidentally screw up. Concerning sockets: I never tried, but it should work. You may also need to extend SuicidalKindlet (instead of AbstractKindlet) in order to escape the restricted Kindlet Class Loader - see KUAL, JBPatch, or Collections Manager sources for examples. To install the Kindlet jailbreak, your device has to be jailbroken in the first place. So no, it won't work on stock FWs. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | ||
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
MR "trust" policy
Quote:
We use something here called: "Peer Pressure". Not a "policy" or "practice" enforced by the site operators. Which is why you will not find it written in the "Guidelines" page link. Quote:
But I was just surfing the web and found this XYZWX posted here - Should I trust the posting? Answer: Read the thread. Posted without sources will generate a large number of comment posts requesting that the source be released. Then, like anywhere else, make up your own mind. Our history here shows that it (peer pressure) works quite well. A bit slowly in a very few cases (authors wanted time to "clean up" their code first), but it works. PS: Three of our most technically knowledgeable developers here are also forum moderators. But I don't recall anyone's contribution that required it to be moderated into the bit bucket. (Other than the special case of copyright violations.) Last edited by knc1; 06-28-2013 at 08:34 AM. |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Odyssey directories | Bookripper | Bookeen | 21 | 11-30-2012 08:03 AM |
deleting corrupted directories | jebradley | Library Management | 11 | 10-13-2012 04:23 PM |
double directories | sar026@gmail.com | Calibre | 2 | 10-02-2012 07:47 AM |
PRS-600 Can somebody explain the directories? | Cue | Sony Reader | 5 | 01-19-2012 07:31 AM |
Default Directories | goldberry | Library Management | 8 | 04-10-2011 12:56 PM |