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

Error. Please help! #453

Open
EBMX220 opened this issue Nov 20, 2023 · 4 comments
Open

Error. Please help! #453

EBMX220 opened this issue Nov 20, 2023 · 4 comments

Comments

@EBMX220
Copy link

EBMX220 commented Nov 20, 2023

I am running a Motorolla 5g uw ace, i am getting this

No bootstrap detected, proceeding with installation
💻 Arch: aarch64
💻 Bootstrap extracted, setting it up...
💻 >ls
🐸 add-user.sh
🐸 fake_proc_stat
🐸 install-bootstrap.sh
🐸 ioctlHook.so
🐸 root
🐸 rootfs.tar.xz
🐸 run-bootstrap.sh
💻 >chmod -R 700 .
💻 >sh install-bootstrap.sh
🐸 install-bootstrap.sh[8]: ../root/bin/minitar: can't execute: Permission denied
🐸 install-bootstrap.sh[13]: can't create bootstrap/etc/resolv.conf: No such file or directory
🐸 bootstrap ready, run with run-bootstrap.sh
💻 >sh add-user.sh octoprint
🐸 add-user.sh[5]: can't create bootstrap/etc/passwd: No such file or directory
💻 An exception has occurred at:
java.lang.RuntimeException: Process exited with error code 1. [add-user.sh[5]: can't create bootstrap/etc/passwd
 at com.octo4a.utils.ProcessUtilsKt.waitAndPrintOutput(ProcessUtils.kt:43)
 at com.octo4a.utils.ProcessUtilsKt.waitAndPrintOutput$default(ProcessUtils.kt:16)
 at com.octo4a.repository.BootstrapRepositoryImpl$setupBootstrap$2.invokeSuspend(BootstrapRepository.kt:152)
 at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
 at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
 at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
 at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
 at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
 at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
 at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
 at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
 at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
 at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
 at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
 at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
 at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
 at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
 at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
 at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

Exception:
java.lang.RuntimeException: Process exited with error code 1. [add-user.sh[5]: can't create bootstrap/etc/passwd

  | ReplyForward -- | --

@SonOfSardaar
Copy link

At what percent does your installation fail ? you could try installing manually from the shell if it has gone past the installation of shell. Additionally it is worth trying a different ROM/Build for your phone. I tried different ones on HTC M8 and all ended up with different issues. But one of them took me farthest.

@dangret
Copy link

dangret commented Apr 16, 2024

I have the same problem in a moto G41, @SonOfSardaar bootstrap installation is the very beginning, shell has not been installed yet, I tried your suggestion without success

@SonOfSardaar
Copy link

I have the same problem in a moto G41, @SonOfSardaar bootstrap installation is the very beginning, shell has not been installed yet, I tried your suggestion without success

Have you tried different ROM ? I had to try 3-4 of them to find one that worked. It is likely to do with drivers available on these roms

@feelfreelinux
Copy link
Owner

Please recheck on 2.0.0 release, possibly the new bootstrap changes resolved this issue

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

4 participants