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 02-06-2016, 07:19 PM   #31
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: 9,819
Karma: 17500002
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
@Gigahawk: The version in my snapshots handles the Wario range of devices properly.
NiLuJe is offline   Reply With Quote
Old 02-06-2016, 07:28 PM   #32
Gigahawk
Member
Gigahawk began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jan 2016
Device: Kindle 7th Gen
Oh wow your code is looks far more complicated lol.

I was just thinking of unpacking it and changing one of the variables to run a cat on the KT2 charging directory.

Slightly off topic, but what language is all this written in, and how would I go about debugging other stuff thats crashing?

Thanks for all the stuff you do in this community man.
Gigahawk is offline   Reply With Quote
Advert
Old 02-06-2016, 07:32 PM   #33
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: 9,819
Karma: 17500002
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
@Gigahawk: This, specifically (as well as a number of KUAL extensions) are basic shell scripts. (The keyword being 'shell', not 'bash', the Kindle bundles a terribly outdated version of busybox ash).

In the case of the RP/CRP, there's also an upstart job in there. Which, funnily enough, includes a shell script part xD.

I honestly don't remember how the original code looked, but it's basically three lines, so... .

Last edited by NiLuJe; 02-06-2016 at 07:44 PM.
NiLuJe is offline   Reply With Quote
Old 02-06-2016, 07:39 PM   #34
Gigahawk
Member
Gigahawk began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jan 2016
Device: Kindle 7th Gen
Ah thanks, that makes sense.

At the risk of sounding like an idiot, what exactly is "RP/CRP"?
Gigahawk is offline   Reply With Quote
Old 02-06-2016, 07:40 PM   #35
knc1
99.44/100% On Holiday
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: 17,147
Karma: 18200597
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Gigahawk View Post
Oh wow your code is looks far more complicated lol.

I was just thinking of unpacking it and changing one of the variables to run a cat on the KT2 charging directory.

Slightly off topic, but what language is all this written in, and how would I go about debugging other stuff thats crashing?

Thanks for all the stuff you do in this community man.
Shell scripts?

enter:
sh -x script
on the command line.
or
put a:
set -x
line in the script itself.

Same-Same as Bash in this respect.
knc1 is offline   Reply With Quote
Advert
Old 02-06-2016, 07:44 PM   #36
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: 9,819
Karma: 17500002
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
@Gigahawk: RP: RescuePack; CRP: Coward's Rescue Pack.

(I tend to use a *lot* of acronyms, hopefully most of them should be transparent when used in-context, but don't hesitate to ask if something looks fishy ^^).
NiLuJe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rescue Pack for Paperwhite and Touch ixtab Kindle Developer's Corner 107 10-23-2017 09:41 PM
How could i re-install rescue pack? tommytian Kindle Developer's Corner 2 06-18-2013 09:41 PM
A problem of rescue pack for KPW szfisher Kindle Developer's Corner 8 03-15-2013 06:50 PM


All times are GMT -4. The time now is 09:57 PM.


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