|  12-04-2014, 12:10 PM | #1 | 
| Junior Member  Posts: 4 Karma: 10 Join Date: Dec 2014 Device: Kindle PW2 |  Troubles after 5.6.1 update 
			
			Hi guys! Today my K got update to 5.6.1 (Yes, I know, I had to install OTA prevention, but I didn't) So, I lost some hacks, but I was really glad to know that KUAL still work. In KUAL, I had only kterm and KOReader. kterm is working, but KOR isn't. Can I get it work someway? I really need to read DJVUs on my K. Thank you | 
|   |   | 
|  12-04-2014, 12:16 PM | #2 | 
| Going Viral            Posts: 17,212 Karma: 18210809 Join Date: Feb 2012 Location: Central Texas Device: No K1, PW2, KV, KOA | 
			
			You have kTerm still working? As what user? (Enter: whoami ) If your (still) root - then you probably can fix things up from the kTerm command line. | 
|   |   | 
| Advert | |
|  | 
|  12-04-2014, 12:19 PM | #3 | |
| Junior Member  Posts: 4 Karma: 10 Join Date: Dec 2014 Device: Kindle PW2 | Quote: 
 When I execute "login root" is reports "login: must be suid to work properly" Last edited by seffka_p; 12-04-2014 at 12:25 PM. | |
|   |   | 
|  12-04-2014, 01:38 PM | #4 | |
| Going Viral            Posts: 17,212 Karma: 18210809 Join Date: Feb 2012 Location: Central Texas Device: No K1, PW2, KV, KOA | Quote: 
 your running as user 'framework' you want to 'switch user' (I.E: su) without root having a password. check the files in NiLuJe's most recent jailbreak package, there may be an 'su' utility in there, if there is, it is one that doesn't check for or ask for a password.   | |
|   |   | 
|  12-04-2014, 01:49 PM | #5 | |
| Junior Member  Posts: 4 Karma: 10 Join Date: Dec 2014 Device: Kindle PW2 | Quote: 
 | |
|   |   | 
| Advert | |
|  | 
|  12-04-2014, 01:58 PM | #6 | 
| BLAM!            Posts: 13,506 Karma: 26047202 Join Date: Jun 2010 Location: Paris, France Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E | 
			
			setuid bit, dust off your unix manual about file permissions   . Given the fact that you need to be root to actually set the setuid bit (obviously), catch-22: you're screwed. [And even before that, you also need to be on a FS which actually handles unix permissions, ie. not vfat, which rules out the userstore]. Last edited by NiLuJe; 12-04-2014 at 02:00 PM. | 
|   |   | 
|  12-04-2014, 03:22 PM | #7 | 
| Going Viral            Posts: 17,212 Karma: 18210809 Join Date: Feb 2012 Location: Central Texas Device: No K1, PW2, KV, KOA | 
			
			On a complete (not an embedded) Linux system: man suid that is the man(ual) command to look up suid Also recognized by web search engines, just search: man suid as in: http://man7.org/linux/man-pages/man1/man.1.html | 
|   |   | 
|  12-04-2014, 04:57 PM | #8 | |
| Junior Member  Posts: 7 Karma: 14 Join Date: Dec 2014 Device: KPW2 | Quote: 
 Hacked my device successfully (jailbreak, KUAL, USBNet...) forgot to install OTA preventation - now my kpw2 runs on 5.6.1. KUAL doesn't start anymore in my case. try to start ;un , doesn't happen. Anyway to make it undo? -,- bite myself in the ass... Don't want to screw the device up to soldering serial port. | |
|   |   | 
|  12-04-2014, 09:49 PM | #9 | 
| Ex-Helpdesk Junkie            Posts: 19,421 Karma: 85400180 Join Date: Nov 2012 Location: The Beaten Path, USA, Roundworld, This Side of Infinity Device: Kindle Touch fw5.3.7 (Wifi only) | 
			
			Your options are limited to: 
 | 
|   |   | 
|  12-09-2014, 06:44 PM | #10 | 
| Junior Member  Posts: 5 Karma: 10 Join Date: Nov 2014 Device: Kindle PW2 | 
			
			Also was force-upgraded to 5.6.1, also have stuff only running as framework now. I do however still have a working hacked su binary with suid flag set in: Code: /var/local/mkk/su Code: /var/local/mkk/su -c | 
|   |   | 
|  12-09-2014, 06:50 PM | #11 | 
| Ex-Helpdesk Junkie            Posts: 19,421 Karma: 85400180 Join Date: Nov 2012 Location: The Beaten Path, USA, Roundworld, This Side of Infinity Device: Kindle Touch fw5.3.7 (Wifi only) | 
			
			I believe KUAL now automatically elevates to root before running extensions (that was part and parcel of the JB=1.13 update). Have you checked you are running the latest version of KUAL (2.5)? Last edited by eschwartz; 12-09-2014 at 06:57 PM. | 
|   |   | 
|  12-09-2014, 06:51 PM | #12 | 
| BLAM!            Posts: 13,506 Karma: 26047202 Join Date: Jun 2010 Location: Paris, France Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E | 
			
			@Case: As @eschwartsz mentioned, upgrade to KUAL >= 2.5, it'll take care of everything.
		 | 
|   |   | 
|  12-09-2014, 09:01 PM | #13 | 
| Junior Member  Posts: 5 Karma: 10 Join Date: Nov 2014 Device: Kindle PW2 | 
			
			Thank you for your help eschwartz and NiLuJe, that solved it.
		 | 
|   |   | 
|  12-09-2014, 09:02 PM | #14 | |
| Going Viral            Posts: 17,212 Karma: 18210809 Join Date: Feb 2012 Location: Central Texas Device: No K1, PW2, KV, KOA | Quote: 
 The busybox and anything else in /bin will be replaced with the next Amazon upgrade ; The things in /var/local belong to you, they will not be replaced. Hackish as it may seem, leave the special su where it is and use a full path to it in any scripting - - that is much more likely to be a stable solution. Last edited by knc1; 12-09-2014 at 09:05 PM. | |
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| The 3.4 Update and related troubles | kiri87 | Kindle Developer's Corner | 5 | 10-25-2012 06:29 PM | 
| some troubles with Calibre and DR | Floeee | Calibre | 15 | 09-17-2009 07:25 AM | 
| PDF troubles | coldcell | Workshop | 5 | 01-30-2008 01:09 AM | 
| Cybook Troubles | imperceptible | Bookeen | 6 | 01-27-2008 04:32 PM |