-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"nice to meet you" on LG G3 D852 #31
Comments
"Hello, I am LAF. Nice to meet you." is the standard response when the command isn't in the list of supported commands. The EXEC shell is severely limited on these newer laf binaries, likely due to it being a path to root previously. The obvious supported commands in the binary I'm looking at are: dmesg, umount, fota, gota, ls, mkdir, getenforce, ps, grep. There may be others, but these are the ones that are checked directly by stricmp (or similar)... it almost looks like some commands can be preceded by an 'S' and it goes off on a syscall, but I didn't go any deeper than that. I did come across a vague mention of being able to get out of this little EXEC jail but as I can't unlock my bootloader (fastboot is literally stripped from my bootloader) I hit the end of my patience for LG entirely. They lost a customer in me at this point. |
yeah, so that's exactly what I figured here: they locked down the commands so you can't actually run anything. i'm not sure what I can actually do with this here - i was also hoping to root this device to make it useful again. as it is now it's full of spyware and thoroughly contaminated by a number of apps that can't be uninstalled because provided by the previous carrier. the neighborhood shady cell phone repair shop told me they could root it for 20$ so maybe i'll just go and do this instead. ;) thanks for the support, and yes, clearly, LG is not going to get any love from me in the future, considering the amount of time I wasted on this crap. the gory details are here. so probably not this program's fault, closing... :( |
@anarcat do commands like |
On 2017-11-28 23:43:48, Peter Wu wrote:
@anarcat do commands like `ls` work for you? If you have grep, you could read text files with `grep ^ /proc/cpuinfo` for example (assuming that SELinux is not locking down things too much).
grep, ls, nothing works at all.
|
Sounds like pull #28 is relevant? |
definitely - i confirm that |
well, i can run some commands - but most commands are denied by the LAF. not sure i can go much further, unfortunately - as long as i can't run shell commands... i'm a still stuck and they win. :/ more precisely, i can't seem to install anything that would give me root out there. i can't write files, i can't use the mount command, ... the of the commands you mentioned, the following works: ps, ls, mkdir (but does nothing), gota (same), fota (same), getenforce (says "Enforcing"). any other commands i can think of give the "Hello" message. i have tried using absolute paths to commands as well, and the btw, i can trigger a traceback when i mess around with the
maybe a better example, trying something that's in the README:
is that normal? |
i can run |
https://github.com/Lekensteyn/lglaf#advanced-usage
Are you able to use |
grep fails:
|
With latest master, I still can't run any commands in recovery mode on this LG G3 D852 phone (after adding usb rules as per #30). i was hoping that #27 would help - and it does get further than before, but it still fails with a friendly error message.
here's a debug trace:
not sure what that message means... anything i can do to help diagnostics here?
The text was updated successfully, but these errors were encountered: