10-23-2012, 08:59 AM | #151 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
They did compensate (pay) you (in the form of a reduced purchase price) to let them display ads on your machine. So what you are looking for is not a purely technical decision. It is a question of how you can renege on your part of a business decision. |
|
10-23-2012, 09:27 AM | #152 | |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
|
|
10-23-2012, 09:34 AM | #153 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
The post which I replied to (and quoted) made the claim that the two activities where the same. I posted how they differed as a matter of fact, not as a matter of morals or ethics. I feel that I am within my rights to post such a distinction as I see it. |
|
10-23-2012, 10:35 AM | #154 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
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
|
Hi @Niluje
Knowing what we know now about the B011 touches system_diags file. (the single char patch I had to make to my binary to prevent /usr/local/* being deleted every boot into DIAGS...) referenced here: https://www.mobileread.com/forums/sho...&postcount=113 RE: [file referenced in DIAGS startup script as ../opt/factory/system_diags IIRC] would you consider a binary patch for those devices to be within the purview of this hacks modifications.... (with backup?) it is USBnetworking related. I thought. Or would it be a separate hack? Or more properly rolled into something else? Thanks mate. I really was an arse ache finding it and from what I remember I am not the only B011 international Touch device that fails the Diags/dropbear test OOTB IIRC. Last edited by twobob; 10-23-2012 at 11:49 AM. Reason: clear. hilights |
10-23-2012, 10:55 AM | #155 |
BLAM!
Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@twobob: Yeah, building a slightly tweaked installer that installs USBNet to the *diags* partition for those of us with the nasty ~5.1 diags was always part of the plan (the fact that it doesn't really rely on/put stuff in /usr/local, and is already somewhat resilient to updates messing with it helps ^^) .
I haven't actually done anything yet, but I am thinking about it . Last edited by NiLuJe; 10-23-2012 at 10:57 AM. |
10-23-2012, 11:18 AM | #156 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
/var/local is common to both 'main' and 'diags' and allows executables. On the 'downside' there is a lot of posts about blindly coping zeros to that partition to 'clear' it. Which of course would not do the sshd daemon any good at all. |
|
10-23-2012, 11:30 AM | #157 |
BLAM!
Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@knc1: I tend to stay away from /var/local (as much as possible, for some stuff it's unavoidable [fontconfig really doesn't like the userstore, for example]) because it still has the potential of soft-bricking the device if it gets full...
And in this specific case, there's a non-negligible amount of data involved (a couple of MB spread around a few binaries). |
10-23-2012, 11:44 AM | #158 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Last edited by eureka; 10-23-2012 at 12:09 PM. Reason: add link to knc1's original suggestion of using chattr |
|
10-23-2012, 11:49 AM | #159 |
BLAM!
Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@eureka: Does it?
Code:
A file with the `i' attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file and no data can be written to the file. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute. (I've never used xattr at all, so I'm trusting my interpretation of the manpage here, didn't check at all what actually happens on the Kindle ). That said, in my/USBNet case, the point is moot: I don't store anything in /usr/local (but it's nonetheless good to know if this actually works ). EDIT: I can't read >_<". '[...] can set or clear this attribute' (meaning the perm/cap refers to manipulating the xattr, not the file itself, so yup, should work). /me needs more coffee. Last edited by NiLuJe; 10-23-2012 at 11:53 AM. |
10-23-2012, 11:52 AM | #160 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
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
|
Quote:
: ) good thoughts. |
|
10-23-2012, 12:06 PM | #161 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
IIRC, enabling of USBNet from diags menu (I mean, through diags interface on KT screen) relies on presence of dropbear (and a bunch of related symlinks) in /usr/local/bin/. So setting /usr/local/ immutable will be a good deed.
|
10-23-2012, 12:20 PM | #162 |
BLAM!
Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@eureka: Yep. The plan was to completely bypass that, and use something 'new' (by tweaking the init script). But playing with xattr works, too .
|
10-23-2012, 12:32 PM | #163 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
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
|
Quote:
my only worry is the interactive way it fails. I thought it said something like "Really delete?" which worried me that it may cause a hang if scripted. but is that just gives "NOISY error" >2 each DIAGS boot then that would be fine (error noted here https://www.mobileread.com/forums/sho...&postcount=161) Worth bringing it up anyway I hope as a failed DIAGS startup script might be a bit horrible. : ) Last edited by twobob; 10-23-2012 at 12:37 PM. |
|
10-23-2012, 01:34 PM | #164 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
That is the usual source of the "really delete this?" message. Setting '-i' on a directory may not give you the expected results. I suppose it depends on your expectations though. Setting '-i' on an executable file that you do not want deleted, now that does what is expected (shows even root the middle finger). @NiLuJe: These are not actually xattr (which are name:value pairs), these are extended permissions. http://linux.die.net/man/2/listxattr Although this page (which lists file permissions) has the word "attributes" in the chattr description. http://linux.die.net/Linux-CLI/file-permissions.html The "key" to sorting out what is what here - "chattr" works on file systems even if the kernel does not have support for xattr optioned for that type of file system. |
|
10-23-2012, 01:57 PM | #165 |
BLAM!
Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@knc1: Ah, thanks for the clarification .
Because, yup, as I've said, on my box: Code:
zgrep XATTR /proc/config.gz # CONFIG_EXT2_FS_XATTR is not set # CONFIG_EXT3_FS_XATTR is not set # CONFIG_EXT4_FS_XATTR is not set CONFIG_TMPFS_XATTR=y |
Tags |
5.1.0, 5.2.0, jailbreak, kindle touch hacks, paperwhite, touch |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Touch 5.0 Jailbreak | yifanlu | Kindle Developer's Corner | 246 | 01-03-2013 04:57 PM |
Is a Kindle Touch for a PaperWhite a good trade? | route66 | Amazon Kindle | 7 | 09-29-2012 03:21 PM |
Kindle Touch with 'Paperwhite' backlit display | JoHunt | Amazon Kindle | 2 | 08-31-2012 04:33 AM |
[Kindle Touch] Firmware 5.1.0 and jailbreak | ixtab | Kindle Developer's Corner | 85 | 06-28-2012 04:43 AM |
How to Kindle touch - jailbreak, screensaver | morgun | Kindle Developer's Corner | 3 | 05-21-2012 06:39 PM |