-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
HTOP and TOP and other packages requiring /proc do NOT work on Android 8! #103
Comments
Can you post this at https://github.com/termux/proot/issues too as this is Android 8 related? |
I have done so. |
https://bbs.archlinux.org/ this lead might help too. |
@Root-voidX this commit 9dd30de#diff-0a14072453ea02945d6a4527e38d5ca6 adds |
Hmm, @SDRausty ill try to refresh my install and check for you. |
@SDRausty I tried your new commit by doing a reinstall, the system doesn't install anymore..i get a Signal Script 1 warning. |
@Root-voidX here is the lastest update 759a810#diff-df3f7bde82dd80e7b1136118637c557d, and it should do what fake_proc_stat should. Does this resolve on Android 8? |
Hey @SDRausty htop works for me now! top doesn't because of some tty error. So when I load htop, it shows me at least 5 distinct processes and only shows 2 cores..so I don't know how accurate that is. |
This feature is currently available through
Hopefully, this will be automatically generated in the future, soon… To assist with this endeavor @Root-voidX, can you post system information from this device? Also, more information from stat and shmem should help us all, as well. Can you post |
@Root-voidX can you also check whether this change helps with https://github.com/sdrausty/TermuxArch/issues?q=is%3Aissue+shmem? For example, https://github.com/sdrausty/TermuxArch/issues?q=is%3Aissue+label%3Aspoon++label%3A%22help+wanted%22 did Firefox finally show up as expected in xorg as well? |
This 25aca60 commit adds the |
@SDRausty sorry i havent been able to get the stuff done. I will try to dump those cat files for you. I havent installed xserver yet on this install, but i can definitely say that for firefox to work well, we need software mesa or hardware rendering. I belive there was a method of doing this on a rpi3 but packages are in AUR, requires makepkg to find. |
@SDRausty so here is the results using cat: [04:38 home ]$ cat /proc/stat |
Lots of changes regarding addfbinds() and addfbindprocstat() @Root-voidX:
Changes regrading prootstmt:
This should ease diagnostics with the PRoot statement since now there is one more method to generate it. Enjoy! |
@SDRausty I did a refresh and I keep getting this warning using startarch
Definitely an selinux issue, unless there is a way to repress the selinux policies there isn't a away around it for me. |
@Root-voidX this commit c0d1d5b tweaks:
The function addfbindprocstat() should add var/binds/fbindprocstat via |
This is what i get after i refresh: bash setupTermuxArch.sh refresh 🕛 > 🕛 setupTermuxArch v1.6 will refresh your TermuxArch files in /data/data/com.termux/files/home/arch. Ensure background data is not restricted. Run bash setupTermuxArch.sh help for additional information. Check the wireless connection if you do not see one o'clock 🕐 below. Checking prerequisites… 🕛 > 🕧 Prerequisites: OK Downloading TermuxArch… setupTermuxArch. 100%[=======>] 153 --.-KB/s in 0s 🕛 > 🕐 TermuxArch download: OK setupTermuxArch.sh: UPDATED setupTermuxArch.sh refresh v1.6: DONE 🏁 $ bash setupTermuxArch.sh refresh Setting mode to refresh. 🕛 > 🕛 setupTermuxArch v1.6 id7674 will refresh your TermuxArch files in /data/data/com.termux/files/home/arch. Ensure background data is not restricted. Run bash setupTermuxArch.sh help for additional information. Check the wireless connection if you do not see one o'clock 🕐 below. Checking prerequisites… Using wget to manage downloads. 🕛 > 🕧 Prerequisites: OK Downloading TermuxArch… setupTermuxArch. 100%[=======>] 153 --.-KB/s in 0s 🕛 > 🕐 TermuxArch download: OK 🕛 > 🕜 TermuxArch v1.6 id7674 integrity: OK $ startarch Welcome to Arch Linux in Termux! Chat: webchat.freenode.net/ #termux [02:04 home ]$ htop |
The current version of |
https://github.com/michalbednarski shared quite a bit of technicalia at this termux/proot#32 (comment) post. It might be possible to resolve this SDRausty/termux-archlinux#4 important SELinux issue as well! |
Updated via git clone and retried setupTermuxArch.sh and now get this error: $ bash TermuxArch/setupTermuxArch.sh 🕛 > 🕛 TermuxArch v1.6 id0216 shall attempt to install Linux in /data/data/com.termux/files/home/arch. Arch Linux in Termux PRoot shall be available upon successful completion. To run this BASH script again, use Using wget to manage downloads. 🕛 > 🕧 Prerequisites: OK Downloading TermuxArch… setupTermuxArch. 100%[=======>] 153 --.-KB/s in 0s 🕛 > 🕐 TermuxArch download: OK 🕛 > 🕜 TermuxArch v1.6 id0216 integrity: OK $ |
@Root-voidX can you post output from
|
@Root-voidX this 7d56659 commit modifies:
Which should let the script continue without that peskey permission denied error. |
Here:
|
@Root-voidX update to at least version v1.6 id1636 (current development version is gen.v1.6 id831221044952); this information was requested:
Also; is it working as intended? https://github.com/michalbednarski contributed a review of our work termux/proot#32 (comment) just hours ago, and important adjustments were made prior to this ccc578f commit which may have resolved this issue. |
A new feature has just been added! Express Refresh; use |
@Root-voidX seeing how the Android 8 device looks in detail should help this issue as well; what is the output from |
Try the |
It is designed to be run from Termux $HOME via
Simply refresh TermuxArchBloom before beginning work. The download is lighter. There is no need for subsequent downloads when working from ~/TermuxArchBloom unless you want to update to the newest version. To access the development release, change to |
So i got a bit confused. Should I re git clone to update to latest comit and then run bloom? |
These two options (working in the repository and working in TermuxArchBloom) are completely independent from each other:
You can use any of these options including simply running |
Here is the sysinfo:
Here is the ls output:
|
@Root-voidX did When you post output, please post output; Add your comments outside output or as an inline comment. Examples: Cannot access xLog; It says permission denied:
Or clearly comment inline:
This should help us resolve the issue quicker.⚡
|
Yes the new lightweight refresh works for me!! Also
|
Good news! It looks like we are achieving the goal of this issue. Can you |
Okay @SDRausty
|
Hey everyone, so I am using a Samsung Galaxy S9+ on Android 8.0 on a SD845 soc. So I noticed that top, htop and any other app requiring /proc or /data do not work. If I run the same htop and top command in Termux it works but within arch it doesn't? This also effects makepkg as well if you wanna note that down as well.
The text was updated successfully, but these errors were encountered: