I am editing paths on some binaries short of recompiling them.
I want to replace /lib/ld-linux-armhf.so.3
, which I cannot create, by a path of same length, that I can create without rooting the phone. It should be something of the same length because I am editing binaries. I have chosen the path /data/data/com.clk/.so.3
, after the different possibilities listed below. What I'm trying to do is create /data/data/com.clk/.so.3
, which should be a symbolic link to /data/data/com.spartacusrex.spartacuside/gentoo_armv6l/lib/ld-linux-armhf.so.3
I initially used /proc/5781/cwd/rmhf.so.3
, but this is not readable by other applications (which are other linux accounts).
I then tried /data/.tmp
, but it is specific to my phone, and not documented according to @ChrisStratton. Same about /data/logcat_log
.
/sdcard
is excluded because fuse options rw,nosuid,nodev,relatime,user_id=1015,group_id=1015,default_permissions,allow_other
restrict links and exectuables and /lib/ld-linux-armhf.so.3
is to be executed.
Does anyone know how else I can accomplish this?
ln -s /data/data/jackpal.androidterm/lib/libjackpal-androidterm4.so 3
in Terminal IDE, it will create a symbolic link even if /data/data/jackpal.androidterm does not exist. And if you install Terminal Emulator, that path will exists and the symbolc link will work. This works because all involved directory have at least the lastx
in tenth column of output ofls -l
(tryls -ld / /data /data/data /data/data/data/jackpal.androidterm/
after installing Terminal Emulator) – Corrincorrinamkdir /tmp/a ; chmod 711 /tmp/a ; date > /tmp/a/b ; chmod 644 /tmp/a/b
Then as the user, do:ln -s /tmp/a/b /tmp/b
: cat /tmp/b will then work. Did you miss #20460334 ? – Corrincorrinacat /tmp/a/b
without the symlink; you just have to somehow know that/tmp/a/b/
exists. Search permission means that if you know an exact name in a directory, you can use it, even if you have no read permission to actually scan the directory contents. Look, I've been using this Unix cruft since 1980-something. – Norenenorfleet/lib/ld-linux-armhf.so.3
with the actual location of that binary, I can only use as many characters, no more. The permission issue was raised by stackoverflow.com/questions/… and there is no permission issue here to access the fullpath/data/data/com.spartacusrex.spartacuside/gentoo_armv6l/lib/ld-linux-armhf.so.3
, I have only a problem with its length. – Corrincorrinahttps://play.google.com/store/apps/details?id=com.clk
to add my symlink inside. – Corrincorrina