PINE64
New PinePhone Pro. No sudo command or access to root password. - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=177)
+--- Forum: General Discussion of PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=178)
+--- Thread: New PinePhone Pro. No sudo command or access to root password. (/showthread.php?tid=19714)



New PinePhone Pro. No sudo command or access to root password. - DanNewman - 02-27-2025

I recently purchased a new PinePhone Pro and I'm working on getting everything working with my carrier, but I've found that the sudo command appears to be missing entirely and I don't know if there's a default root password set on these when shipped new. I tried the recovery mode process by shutting the phone completely off then holding power and volume up, but the phone will not even turn on when doing this. I'm a Linux professional and I know my way around in bash rather well, but I need to get past this initial hurdle before I can do much of anything.


RE: New PinePhone Pro. No sudo command or access to root password. - teekay - 02-27-2025

Unlike Android, there is no recovery, just a simpler more desktop-like bootloader and you boot into whatever you want (SD card or eMMC). I think by default you get SailfishOS which I'm not familiar with, but see this for "sudo" info: https://www.reddit.com/r/sailfishos/comments/saofar/sailfish_and_terminal/
There are LOTS of other distros to try: https://wiki.pine64.org/wiki/PinePhone_Pro_Software_Releases


RE: New PinePhone Pro. No sudo command or access to root password. - mikehenson - 02-27-2025

(Yesterday, 12:38 AM)DanNewman Wrote: I recently purchased a new PinePhone Pro and I'm working on getting everything working with my carrier, but I've found that the sudo command appears to be missing entirely and I don't know if there's a default root password set on these when shipped new.

Dan,
This phone can be a lot of fun! I learned a lot setting mine up. Find a distro that you know the best and go with it! 
I use Arch Linux on EVERYTHING, so... I think Arch works well. 

See this post for a complete install and setup.
https://forum.pine64.org/showthread.php?tid=18192

See this post for my experience on functionally 
https://forum.pine64.org/showthread.php?tid=18377&pid=118783#pid118783

See this post for how I got Calls working on my PinePhonePro.
https://forum.pine64.org/showthread.php?tid=19428

2023 May through today my daily driver is a PinePhonePro running DanctNIX Arch with Phosh
2021 May through 2023 May my daily driver was a PinePhone running DanctNIX Arch with Phosh

I am running DanctNIX Arch with Phosh on a PinePhonePro and I have not had any of the issues people keep talking about. Calls, VoLTE, SMS, MMS, cell broadcast messages, voice mail, internet, Wifi, 4G data, mobile hot spot, calendar, calendar notifications, contacts, syncthing, Navigation with GPS and offline maps via osmin work, connecting Google accounts work, Groupme via firefox, Facebook via firefox ALL WORK. Calls, SMS, MMS all work from sleep.

I have not tested alarms from sleep. I have not tested any bluetooth items. The camera somewhat works with compiling my own packages. I currently use an Android device to take pictures and syncthing puts them on the PinePhonePro.

Device: PinePhone 32Gig (Used for building packages)
Device: PinePhonePro (Daily driver)
OS: DanctNIX Arch with Phosh
Carrier: USA - Patriot Mobile (T-Mobile SIM)
EG25 Firmware: Biktorgj 0.8.0
ADSP Version: 01.003


RE: New PinePhone Pro. No sudo command or access to root password. - DanNewman - 02-27-2025

(Yesterday, 06:01 AM)teekay Wrote: Unlike Android, there is no recovery, just a simpler more desktop-like bootloader and you boot into whatever you want (SD card or eMMC). I think by default you get SailfishOS which I'm not familiar with, but see this for "sudo" info: https://www.reddit.com/r/sailfishos/comments/saofar/sailfish_and_terminal/
There are LOTS of other distros to try: https://wiki.pine64.org/wiki/PinePhone_Pro_Software_Releases

Got it now. The devel-su command was what I was looking for. I have SMS and voice working with a Verizon SIM, but so far no luck getting mobile data working. Verizon support tried activating it on their end, but they are getting an error message back that the device isn't compatible. I'll keep at it though. I know there is a app in development for MMS, but I forgot what it was called. Thanks!