-
Notifications
You must be signed in to change notification settings - Fork 166
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
Proot problem on oreo 8.1 #49
Comments
I couldn't reproduce with If it didn't help then please run proot with |
A lot more is working now on Huawei devices, but there is a lot still not working. I wonder if this is another one of those issues. Getting the log would probably help as you mentioned. |
CypherpunkArmory/UserLAnd#398 talks about issues related to Huawei devices some. |
@michalbednarski I found a reproducible case for this. If on a Huawei device, I |
The other Huawei issue I am having is that the pokedata work around cannot properly handle if any of the code changes the system number to
I worked around this in some places previously by using a different benign system call, but it looks like it is popping up in some other use case. What is the proper fix for this bug? |
About this issue...not the other Huawei issue I just mentioned. It looks like the issue is related to |
So, when going through login on a newer Huawei device, that has |
Here is the log: https://www.dropbox.com/s/qj3qpv7wu0vcwrv/Huawei_PRoot_Debug_Log?dl=0 |
When syscall was cancelled by poke data workaround, don't relaunch it if it was cancelled by us (otherwise we'll relaunch it as cancel wasn't intended, but required to actually perform different operation (memory write)) #49
@corbinlc Commited experimental fix, but this will need further testing |
I will test it out on my Huawei device. Do you think this is the underlying issue for both of the issues I mentioned 1) |
The change makes it so installing readline-common no longer dies with the |
Oddly, for the |
@michalbednarski, do you have any new thoughts on this? |
Not really new thoughts, but I can write down what I've found: First, this issue with Huawei kernels can be emulated using #include <dlfcn.h>
#include <errno.h>
#include <sys/types.h>
#include <stdlib.h>
long ptrace(int request, pid_t pid, void *addr, void *data)
{
if (request == 4 || request == 5)
{
errno = -EIO;
return -1;
}
if (request == 0) {
unsetenv("LD_PRELOAD");
}
return ((long(*)(int,pid_t,void*,void*))(dlsym(RTLD_NEXT, "ptrace")))(request, pid, addr, data);
}
Original issue happened when on devices with broken When I've checked updated version with |
Can you describe the fix for this... |
Because it should be ok for an extension or otherwise to ultimately cause the sysnum to get changed to PR_void, either by returning a negative number or manually doing so. |
Looks like if people are able to upgrade their devices to EMUI 9, the pokedata issue on Huawei devices goes away. Still interested in the item you said was a bug (two comments ago) for people stuck at android 8. |
When syscall was cancelled by poke data workaround, don't relaunch it if it was cancelled by us (otherwise we'll relaunch it as cancel wasn't intended, but required to actually perform different operation (memory write)) termux#49
When syscall was cancelled by poke data workaround, don't relaunch it if it was cancelled by us (otherwise we'll relaunch it as cancel wasn't intended, but required to actually perform different operation (memory write)) #49
Hi
I dont know where to write this so sorry if that is wrong place :/
I have Honor 8x android 8.1 and after installing LXDE on Kali nethunter in Termux (in kali apt update && apt upgrade are ok) i have such error:
Setting up man-db (2.8.4-2+b1) ...
Building database of manual pages ... ./tracee/event.c:517: int handle_tracee_event(Tracee *, int): assertion "!IS_IN_SYSENTER(tracee)" failed proot warning: signal 6 received from process 7750
$
I can admit that everything was ok on my ze520kl android 8.0 version.
Does anybody has solution for my problem?
Originally posted by @kazz2020 in #13 (comment)
The text was updated successfully, but these errors were encountered: