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 11-18-2014, 12:03 PM   #136
knc1
Going Viral
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,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by NiLuJe View Post
@pghaworth: Same root (ha! pun intended) issue as the rest of the havoc caused by FW 5.6.1, KUAL (and thus, and more importantly, what it runs) doesn't run as root anymore, and as such doesn't have the permissions required to do most of the stuff we assumed we could do before.

TL;DR: Right now, most KUAL scripts are broken on FW 5.6.1.
I updated my PW2 upgrade overview this morning to include a reference to "De-Bricking" a PW2 over the serial port.
Some might consider having 5.6.1 installed on a PW2 a "Bricked" situation.

That reference requires a "main" file system image.
I haven't checked, but don't we have pre-5.6.1 forensic images posted for debricking?
If not, we probably should.

I am not sure how we will handle the KT2 forensic images for debricking -
It first hit the streets running 5.6.1

Maybe a KT + early PW2 cross-breed image?
Not certain - it is on my list of things to check into (since I seem to have the only disassembled KT2 here ).

Last edited by knc1; 11-18-2014 at 12:07 PM.
knc1 is offline   Reply With Quote
Old 11-18-2014, 12:58 PM   #137
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,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@knc1: We don't really need anything special, since the official updates ship with a full rootfs, so, just pick one >= 5.3.2 .
NiLuJe is offline   Reply With Quote
Advert
Old 11-18-2014, 05:02 PM   #138
mg10
Connoisseur
mg10 began at the beginning.
 
Posts: 77
Karma: 10
Join Date: Jul 2013
Device: Kindle Scribe, PW, Kobo Aura One
I have a doubt. If I comment or delete the lines with "OTA" word in "/etc/todo/handler_registry.conf", this should be enough to stop OTA updates from Amazon, isn't it?
mg10 is offline   Reply With Quote
Old 11-18-2014, 05:15 PM   #139
knc1
Going Viral
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,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by NiLuJe View Post
@knc1: We don't really need anything special, since the official updates ship with a full rootfs, so, just pick one >= 5.3.2 .
We can't just copy it, but we could certainly make an mmcblk0p1 image out of the contents.
knc1 is offline   Reply With Quote
Old 12-19-2014, 12:00 AM   #140
spinda
Member
spinda knows the square root of minus one.spinda knows the square root of minus one.spinda knows the square root of minus one.spinda knows the square root of minus one.spinda knows the square root of minus one.spinda knows the square root of minus one.spinda knows the square root of minus one.spinda knows the square root of minus one.spinda knows the square root of minus one.spinda knows the square root of minus one.spinda knows the square root of minus one.
 
spinda's Avatar
 
Posts: 12
Karma: 7954
Join Date: Dec 2014
Device: Kindle PW1/2/3/4/5, KV, KT2, K2
Does this work properly on 5.6.1(.0.2)?
spinda is offline   Reply With Quote
Advert
Old 12-19-2014, 02:13 AM   #141
iGold
Junior Member
iGold began at the beginning.
 
iGold's Avatar
 
Posts: 4
Karma: 10
Join Date: Nov 2013
Location: Russia
Device: Kindle PW2
@spinda: no, my Kindle upgraded from 5.6.1 to 5.6.1.0.2 with installed extension and locked door.

As I can see in 5.6.1 com.lab126.ota was renamed to com.lab126.otav1 in /etc/todo/handler_registry.conf, so lock.sh/unlock.sh needs to be patched.
iGold is offline   Reply With Quote
Old 12-19-2014, 03:16 AM   #142
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Thanks for the hint, the new version 12 now looks for ^com.lab126.ota.*$
dsmid is offline   Reply With Quote
Old 12-19-2014, 03:17 AM   #143
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Version 12:
Should work on 5.6.1x
dsmid is offline   Reply With Quote
Old 12-20-2014, 02:03 AM   #144
Ruskie_it
Fanatic
Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.
 
Posts: 536
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
Quote:
Originally Posted by dsmid View Post
Thanks for the hint, the new version 12 now looks for ^com.lab126.ota.*$
I'm not a guru of regex, but shouldn't string:

com.lab126.otav1

Escape the regex: ^com.lab126.ota.*$ because of the fact that you put a dot after 'ota' and before '*'?
Ruskie_it is offline   Reply With Quote
Old 12-20-2014, 08:55 AM   #145
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,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
dot means 'any character', so, nope, it's good .
NiLuJe is offline   Reply With Quote
Old 12-20-2014, 09:53 AM   #146
Ruskie_it
Fanatic
Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.
 
Posts: 536
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
Then why use . AND *?
Aren't they redundant?
Ruskie_it is offline   Reply With Quote
Old 12-20-2014, 10:03 AM   #147
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,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@Ruskie_it: * means '(previous) character appears zero or multiple times' . Hence .* basically matches anything, or nothing. regex is not shell globbing .

Last edited by NiLuJe; 12-20-2014 at 10:05 AM.
NiLuJe is offline   Reply With Quote
Old 12-20-2014, 12:16 PM   #148
Ruskie_it
Fanatic
Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.
 
Posts: 536
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
Quote:
Originally Posted by NiLuJe View Post
@Ruskie_it: * means '(previous) character appears zero or multiple times' . Hence .* basically matches anything, or nothing. regex is not shell globbing .
In other words, I have to do my homework
Too much time without tinkering with os scripting at all. :P
Ruskie_it is offline   Reply With Quote
Old 12-20-2014, 01:40 PM   #149
knc1
Going Viral
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,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Ruskie_it View Post
In other words, I have to do my homework
Too much time without tinkering with os scripting at all. :P
Code:
man 7 regex
In a terminal on a full *nix install or in your favorite web search engine:
http://man7.org/linux/man-pages/man7/regex.7.html
knc1 is offline   Reply With Quote
Old 12-20-2014, 01:58 PM   #150
Ruskie_it
Fanatic
Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.
 
Posts: 536
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
Yeah yeah, there are plenty of resources for that, and I have my very own on work laptop somewhere... it's just so much time I don't use it.
Ruskie_it is offline   Reply With Quote
Reply

Tags
k3 k4 k5 kpw backdoorlock


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevents ZIPs from becoming CBZs wladdy Calibre 3 03-01-2014 02:38 PM
BackDoorLock slantybard Kindle Developer's Corner 6 12-08-2013 02:50 PM
Kual y backdoorlock adegir1952 Amazon Kindle 3 06-14-2013 09:44 AM
Updates Provider hack dsmid Kindle Developer's Corner 51 05-08-2012 11:51 PM
Request: Silent updates. fabian Calibre 5 03-15-2011 11:34 AM


All times are GMT -4. The time now is 03:59 PM.


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