From 359fefaaa47016259d840c456f184f4319710f67 Mon Sep 17 00:00:00 2001 From: hhm Date: Sun, 10 Feb 2013 05:43:42 +0000 Subject: [PATCH] Added a comment: Write and exec on unrooted Android. --- ...t_1_689adac7e26cb0b0a4e7ecc787cfd716._comment | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/design/assistant/blog/day_184__just_wanna_run_something/comment_1_689adac7e26cb0b0a4e7ecc787cfd716._comment diff --git a/doc/design/assistant/blog/day_184__just_wanna_run_something/comment_1_689adac7e26cb0b0a4e7ecc787cfd716._comment b/doc/design/assistant/blog/day_184__just_wanna_run_something/comment_1_689adac7e26cb0b0a4e7ecc787cfd716._comment new file mode 100644 index 0000000000..b6ad3ac7e0 --- /dev/null +++ b/doc/design/assistant/blog/day_184__just_wanna_run_something/comment_1_689adac7e26cb0b0a4e7ecc787cfd716._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="hhm" + ip="108.17.80.177" + subject="Write and exec on unrooted Android." + date="2013-02-10T05:43:41Z" + content=""" +See for info on where in the android filesystem you have write, exec ability. + +Basically you have these abilities in `/data/local` from `adb shell` (and in debuggable app's folders using run-as with `adb shell`), and in `/data/data//` for each app (for example the terminal emulator's data dir when using the terminal emulator). + +It might be possible to just have temporary root using an old exploit and writing up a bit of code to just setuid on the process and exec sh (source for nachoroot exploit ). + +It *is* possible to install a distro without root using a chroot faker. + +I am working here on a way to install the OpenWrt distro on Android. This is working on my phone already for quite a while! So far only sketchy notes are up, but more to come, G-d willing. +"""]]