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

Proot issues on grapheneos #474

Open
Department-stack opened this issue Dec 28, 2024 · 0 comments
Open

Proot issues on grapheneos #474

Department-stack opened this issue Dec 28, 2024 · 0 comments

Comments

@Department-stack
Copy link

$ pkg install wget openssl-tool proot tar -y && hash -r && wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Fedora/fedora.sh && bash fedora.sh

Get:1 https://termux.net stable InRelease [1088 B]
Get:2 https://termux.net stable/main aarch64 Packages [236 kB]
Fetched 237 kB in 2s (112 kB/s)
11 packages can be upgraded. Run 'apt list --upgradable' to see them.
tar is already the newest version (1.35-1).
Installing:
openssl-tool proot wget

Installing dependencies:
libtalloc libuuid

Suggested packages:
proot-distro

Summary:
Upgrading: 0, Installing: 5, Removing: 0, Not Upgrading: 11
Download size: 678 kB
Space needed: 2310 kB

Get:1 https://termux.net stable/main aarch64 libtalloc aarch64 2.4.2 [33.1 kB]
Get:2 https://termux.net stable/main aarch64 libuuid aarch64 2.40.2-2 [14.3 kB]
Get:3 https://termux.net stable/main aarch64 openssl-tool aarch64 3.3.2 [262 kB]
Get:4 https://termux.net stable/main aarch64 proot aarch64 5.1.107-66 [83.0 kB]
Get:5 https://termux.net stable/main aarch64 wget aarch64 1.25.0 [286 kB]
Fetched 678 kB in 1s (987 kB/s)

Selecting previously unselected package libtalloc.
(Reading database ... 3875 files and directories currently installed.)
Preparing to unpack .../libtalloc_2.4.2_aarch64.deb ...
Unpacking libtalloc (2.4.2) ...
Selecting previously unselected package libuuid.
Preparing to unpack .../libuuid_2.40.2-2_aarch64.deb ...
Unpacking libuuid (2.40.2-2) ...
Selecting previously unselected package openssl-tool.
Preparing to unpack .../openssl-tool_3.3.2_aarch64.deb ...
Unpacking openssl-tool (3.3.2) ...
Selecting previously unselected package proot.
Preparing to unpack .../proot_5.1.107-66_aarch64.deb ...
Unpacking proot (5.1.107-66) ...
Selecting previously unselected package wget.
Preparing to unpack .../wget_1.25.0_aarch64.deb ...
Unpacking wget (1.25.0) ...
Setting up libuuid (2.40.2-2) ...
Setting up wget (1.25.0) ...
Setting up openssl-tool (3.3.2) ...
Setting up libtalloc (2.4.2) ...
Setting up proot (5.1.107-66) ...
--2024-12-27 21:18:15-- https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Fedora/fedora.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.108.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2912 (2.8K) [text/plain]
Saving to: ‘fedora.sh’

fedora.sh 100% 2.84K --.-KB/s in 0s

2024-12-27 21:18:15 (8.07 MB/s) - ‘fedora.sh’ saved [2912/2912]

Download Rootfs, this may take a while base on your internet speed.
--2024-12-27 21:18:15-- https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Rootfs/Fedora/arm64/fedora-rootfs-arm64.tar.xz
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.108.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 38746064 (37M) [application/octet-stream]
Saving to: ‘fedora-rootfs.tar.xz’

fedora-rootfs 100% 36.95M 2.83MB/s in 14s

2024-12-27 21:18:30 (2.56 MB/s) - ‘fedora-rootfs.tar.xz’ saved [38746064/38746064]

Decompressing Rootfs, please be patient.
tar: xz: Cannot exec: Permission denied
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Setting up name server
fedora.sh: line 32: etc/hosts: No such file or directory
fedora.sh: line 33: etc/resolv.conf: No such file or directory
fedora.sh: line 34: etc/resolv.conf: No such file or directory
writing launch script
Setting up pulseaudio so you can have music in distro.
Installing:
pulseaudio

Installing dependencies:
abseil-cpp libopus
dbus libsndfile
libandroid-execinfo libsoxr
libexpat libvorbis
libflac libwebrtc-audio-processing
libltdl speexdsp
libogg

Summary:
Upgrading: 0, Installing: 14, Removing: 0, Not Upgrading: 11
Download size: 4219 kB
Space needed: 22.8 MB

Get:1 https://termux.net stable/main aarch64 abseil-cpp aarch64 20240116.2-1 [1064 kB]
Get:2 https://termux.net stable/main aarch64 libexpat aarch64 2.6.4 [86.1 kB]
Get:3 https://termux.net stable/main aarch64 dbus aarch64 1.15.6-3 [425 kB]
Get:4 https://termux.net stable/main aarch64 libandroid-execinfo aarch64 0.1-1 [14.8 kB]
Get:5 https://termux.net stable/main aarch64 libogg aarch64 1.3.5 [189 kB]
Get:6 https://termux.net stable/main aarch64 libflac aarch64 1.4.3 [178 kB]
Get:7 https://termux.net stable/main aarch64 libltdl aarch64 2.5.4 [18.0 kB]
Get:8 https://termux.net stable/main aarch64 libopus aarch64 1.5.2 [186 kB]
Get:9 https://termux.net stable/main aarch64 libvorbis aarch64 1.3.7-2 [262 kB]
Get:10 https://termux.net stable/main aarch64 libsndfile aarch64 1.2.2 [218 kB]
Get:11 https://termux.net stable/main aarch64 libsoxr aarch64 0.1.3-7 [283 kB]
Get:12 https://termux.net stable/main aarch64 libwebrtc-audio-processing aarch64 1.3-1 [415 kB]
Get:13 https://termux.net stable/main aarch64 speexdsp aarch64 1.2.1 [37.4 kB]
Get:14 https://termux.net stable/main aarch64 pulseaudio aarch64 17.0-2 [843 kB]
Fetched 4219 kB in 2s (2448 kB/s)
Selecting previously unselected package abseil-cpp.
(Reading database ... 3900 files and directories currently installed.)
Preparing to unpack .../00-abseil-cpp_20240116.2-1_aarch64.deb ...
Unpacking abseil-cpp (20240116.2-1) ...
Selecting previously unselected package libexpat.
Preparing to unpack .../01-libexpat_2.6.4_aarch64.deb ...
Unpacking libexpat (2.6.4) ...
Selecting previously unselected package dbus.
Preparing to unpack .../02-dbus_1.15.6-3_aarch64.deb ...
Unpacking dbus (1.15.6-3) ...
Selecting previously unselected package libandroid-execinfo.
Preparing to unpack .../03-libandroid-execinfo_0.1-1_aarch64.deb ...
Unpacking libandroid-execinfo (0.1-1) ...
Selecting previously unselected package libogg.
Preparing to unpack .../04-libogg_1.3.5_aarch64.deb ...
Unpacking libogg (1.3.5) ...
Selecting previously unselected package libflac.
Preparing to unpack .../05-libflac_1.4.3_aarch64.deb ...
Unpacking libflac (1.4.3) ...
Selecting previously unselected package libltdl.
Preparing to unpack .../06-libltdl_2.5.4_aarch64.deb ...
Unpacking libltdl (2.5.4) ...
Selecting previously unselected package libopus.
Preparing to unpack .../07-libopus_1.5.2_aarch64.deb ...
Unpacking libopus (1.5.2) ...
Selecting previously unselected package libvorbis.
Preparing to unpack .../08-libvorbis_1.3.7-2_aarch64.deb ...
Unpacking libvorbis (1.3.7-2) ...
Selecting previously unselected package libsndfile.
Preparing to unpack .../09-libsndfile_1.2.2_aarch64.deb ...
Unpacking libsndfile (1.2.2) ...
Selecting previously unselected package libsoxr.
Preparing to unpack .../10-libsoxr_0.1.3-7_aarch64.deb ...
Unpacking libsoxr (0.1.3-7) ...
Selecting previously unselected package libwebrtc-audio-processing.
Preparing to unpack .../11-libwebrtc-audio-processing_1.3-1_aarch64.deb ...
Unpacking libwebrtc-audio-processing (1.3-1) ...
Selecting previously unselected package speexdsp.
Preparing to unpack .../12-speexdsp_1.2.1_aarch64.deb ...
Unpacking speexdsp (1.2.1) ...
Selecting previously unselected package pulseaudio.
Preparing to unpack .../13-pulseaudio_17.0-2_aarch64.deb ...
Unpacking pulseaudio (17.0-2) ...
Setting up libopus (1.5.2) ...
Setting up libsoxr (0.1.3-7) ...
Setting up libogg (1.3.5) ...
Setting up speexdsp (1.2.1) ...
Setting up libexpat (2.6.4) ...
Setting up libvorbis (1.3.7-2) ...
Setting up libandroid-execinfo (0.1-1) ...
Setting up libltdl (2.5.4) ...
Setting up dbus (1.15.6-3) ...
Setting up libflac (1.4.3) ...
Setting up abseil-cpp (20240116.2-1) ...
Setting up libsndfile (1.2.2) ...
Setting up libwebrtc-audio-processing (1.3-1) ...
Setting up pulseaudio (17.0-2) ...
Modified pulseaudio timeout to infinite
Disabled pulseaudio autospawn
fedora.sh: line 92: fedora-fs/etc/profile: No such file or directory
Setting Pulseaudio server to 127.0.0.1
fixing shebang of start-fedora.sh
making start-fedora.sh executable
removing image for some space
You can now launch Fedora with the ./start-fedora.sh script
~ $ ./start-fedora.sh
proot warning: can't sanitize binding "fedora-fs/root": No such file or directory
proot warning: can't chdir("/root/.") in the guest rootfs: No such file or directory
proot info: default working directory is now "/"
proot error: '/usr/bin/env' not found (root = /data/data/com.termux/files/home/fedora-fs, cwd = /, $PATH=(null))
fatal error: see proot --help.

On Pixel 7a graphenos, termux installed from f-droid I even disabled exploit protections

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

1 participant