Skip to content
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

Doesnt install gnu libc, zlib, libff and others. #9

Open
emretutsak opened this issue Sep 26, 2016 · 6 comments
Open

Doesnt install gnu libc, zlib, libff and others. #9

emretutsak opened this issue Sep 26, 2016 · 6 comments

Comments

@emretutsak
Copy link

İt gives an error "unfortunately java installer has stopped" for android 6.0

@julianwi
Copy link
Owner

I think this is a problem with the new android runtime art in android 5+.
Would be nice if you could test the following on your device.
Go to settings and change the option "run install.sh in" to Terminal Emulator. Change "run jar file in" to Terminal Emulator.
Then go to package list open a package which failed before. Select "change path" and replace julianwi.javainstaller by jackpal.androidterm .
Please tell me if the install works with these configs.

@emretutsak
Copy link
Author

All done. They are all installed. But now it can't run a jar file:
"...
avainstaller/java -jar /sdcard/Download/Opera+Mini+7.jar <
/data/data/jackpal.androidterm/javafiles/jamvm: error while loading shared libraries: /data/data/jackpal.androidterm/javafiles/jamvm: cannot enable executable stack as shared object requires: Permission denied
..."

(Sorry for bad english)

@julianwi
Copy link
Owner

The SElinux policy on your device denies something important. I don't know exactly what it is. If your device is rootet, you can type in terminal emulator: "setenforce 0" and every thing will work. If your device is not rootet, you can type in terminal emulator: "dmesg | grep avc" after you tried to run a jar file and we will see what the exact error message looks like.

@emretutsak
Copy link
Author

Phone is not rooted.

Now shows this:

dmesg: klogctl: Permission denied

@julianwi
Copy link
Owner

Looks like this is also blocked. One thing to say: android 6 is really crap. Everything which makes fun is blocked. I wouldn't recommend anyone to use it without custom rom or root. I think I can't help you anymore.

@emretutsak
Copy link
Author

:) OK. Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants