From Gentoo Wiki
Jump to: navigation, search

This FAQ is a collection of questions and answers from the gentoo-prefix IRC and private emails about Gentoo on Android.

I want to use passwd, but it isn't there.

${EPREFIX}/bin/passwd is installed by sys-apps/shadow, a package that does not support Prefix. If password is only for ssh login, try to use public key pairs. Otherwise, please help patch sys-apps/shadow to let it work on Prefix.

How can I reboot or shutdown my phone from the Gentoo shell?

Android ships /system/bin/reboot and /system/bin/shutdown. Appending /system/bin to PATH could be convenient.