|  03-12-2013, 09:37 AM | #76 | 
| Linux devotee            Posts: 598 Karma: 2069047 Join Date: Feb 2011 Device: Kindle 3, Kindle 4B, Kindle PW2 | 
			
			Thanks eureka, my intention was to make sure the changes are brought into effect even on a device I don't posses. Reboot was a safe bet. Version 8 
 | 
|   |   | 
|  03-12-2013, 09:44 AM | #77 | 
| ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr            Posts: 6,586 Karma: 6299993 Join Date: Jun 2012 Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch | 
			
			Index updated. Many thanks
		 | 
|   |   | 
|  03-12-2013, 09:47 AM | #78 | 
| SQUIRREL!!            Posts: 1,636 Karma: 8400000 Join Date: Nov 2010 Location: California Device: K-Fire, PW2, PW3 |        | 
|   |   | 
|  03-12-2013, 10:12 AM | #79 | |
| but forgot what it's like            Posts: 741 Karma: 2345678 Join Date: Dec 2011 Location: north (by northwest) Device: Kindle Touch | Quote: 
 | |
|   |   | 
|  03-12-2013, 10:21 AM | #80 | 
| Addict            Posts: 355 Karma: 1432252 Join Date: Oct 2009 Device: Kobo Forma | 
			
			Thank you for this update, dsmid & eureka!   To update (KUAL), do I only need to replace the backdoorlock folder under extensions with the new version, or do I need to unlock, delete the previous backdoorlock folder, and restart before copying the new version? | 
|   |   | 
|  03-12-2013, 11:24 AM | #81 | 
| ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr            Posts: 6,586 Karma: 6299993 Join Date: Jun 2012 Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch | 
			
			I also asked for some "Best-practice Update" instructions. Let's see what falls out of 'Camp Dsmid'. | 
|   |   | 
|  03-12-2013, 12:11 PM | #82 | 
| Wizard            Posts: 1,179 Karma: 11573197 Join Date: Feb 2011 Location: London, UK Device: Voyage | 
			
			I went with unlock, replace folder and then obviously lock again...
		 | 
|   |   | 
|  03-12-2013, 12:15 PM | #83 | |
| Linux devotee            Posts: 598 Karma: 2069047 Join Date: Feb 2011 Device: Kindle 3, Kindle 4B, Kindle PW2 | Quote: 
 Updating the bundle install involves just installing the newest version, no need to uninstall the previous one first. | |
|   |   | 
|  03-12-2013, 09:54 PM | #84 | 
| Addict            Posts: 355 Karma: 1432252 Join Date: Oct 2009 Device: Kobo Forma | |
|   |   | 
|  03-14-2013, 10:53 PM | #85 | |
| but forgot what it's like            Posts: 741 Karma: 2345678 Join Date: Dec 2011 Location: north (by northwest) Device: Kindle Touch | Quote: 
 So, if com.lab126.ota in /etc/todo/handler_registry.conf will be replaced with name of our own LIPC service providing handleToDoItem property, silent update attempt could be detected. The easiest way to write LIPC service in 5.x is to use Lua: Code: require("liblipclua")
local lipc_handle, error_message, error_number = lipc.init("com.example.fakeota")
if not lipc_handle then
    -- handle initialization error
else
    lipc.set_error_handler(function(error) --[[handle work error]] end)
end 
local handleToDoItem = lipc_handle:register_string_property("handleToDoItem", "w")
handleToDoItem.listener = function (name, value)
  -- handle string value
end
-- run event loop with timeout of Infinity seconds
while true do lipc.run_event_loop(math.huge) endLast edited by eureka; 03-19-2013 at 06:55 AM. | |
|   |   | 
|  03-15-2013, 11:14 AM | #86 | 
| plus ça change            Posts: 101 Karma: 32134 Join Date: Dec 2009 Location: France Device: Kindle PW2, Voyage | 
			
			Thank you for this great tool, dsmid!    | 
|   |   | 
|  05-08-2013, 08:37 AM | #87 | 
| Groupie            Posts: 165 Karma: 593460 Join Date: Oct 2012 Device: K5 B011 5.3.2.1 | 
			
			Please update the KUAL package in the first post for KUAL 2.0 compatibility, thank you. Ref https://www.mobileread.com/forums/sho...&postcount=778 Also, after I start backdoorlock from KUAL 2.0 I find this error line in the KUAL log file: Code: bin/lock.sh: line 12: */sbin/restart: not found Last edited by stepk; 05-08-2013 at 08:46 AM. | 
|   |   | 
|  05-09-2013, 02:31 AM | #88 | 
| Linux devotee            Posts: 598 Karma: 2069047 Join Date: Feb 2011 Device: Kindle 3, Kindle 4B, Kindle PW2 | 
			
			Hi stepk, thanks for the report. I assume you've got Kindle Touch. The line in lock.sh you are referring to looks like this: Code: [ -f /etc/todo/handler_registry.conf ] && /sbin/restart todo Symlink /sbin/restart is present in KPW firmware and I'm quite surprised to read it is missing in Kindle Touch. Can you check if it is present in /usr/sbin/ or elsewhere ? Concerning KUAL, do I understand it right that the only problem is the extra comma in menu.json ? Or are there any other issues/suggestions ? | 
|   |   | 
|  05-09-2013, 03:33 AM | #89 | 
| Groupie            Posts: 165 Karma: 593460 Join Date: Oct 2012 Device: K5 B011 5.3.2.1 | Code: [root@kindle tmp]# vi /mnt/us/extensions/backdoorlock/bin/lock.sh [ -f /etc/todo/handler_registry.conf ] &&../sbin/restart todo The extra comma is the only issue in menu.json. edit: OK, I checked the two dots in vim: they stand for a hard space character, 0xA0. It looks like a regular space character but it isn't and it becomes part of the file name. So "\0xA0/sbin/restart" isn't obviously found. unlock.sh has the same problem Code: # grep -R "*" extensions/backdoorlock/* extensions/backdoorlock/bin/unlock.sh:[ -f /etc/todo/handler_registry.conf ] &&*/sbin/restart todo extensions/backdoorlock/bin/lock.sh:[ -f /etc/todo/handler_registry.conf ] &&*/sbin/restart todo Last edited by stepk; 05-09-2013 at 06:39 AM. | 
|   |   | 
|  05-09-2013, 08:29 AM | #90 | 
| Linux devotee            Posts: 598 Karma: 2069047 Join Date: Feb 2011 Device: Kindle 3, Kindle 4B, Kindle PW2 | 
			
			Thanks for hunting that down, a new version 9 is available with both issues fixed. The U+00A0 character was probably some leftover from copy&paste. | 
|   |   | 
|  | 
| Tags | 
| k3 k4 k5 kpw backdoorlock | 
| Thread Tools | Search this Thread | 
| 
 | 
|  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 |