Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,470
» Latest member: pandrhola
» Forum threads: 16,194
» Forum posts: 116,868

Full Statistics

Latest Threads
Compatible U.S. carriers ...
Forum: General Discussion on PinePhone
Last Post: Zebulon Walton
10 hours ago
» Replies: 2
» Views: 50
Long dialpad keypress to ...
Forum: Mobian on PinePhone
Last Post: Zebulon Walton
10 hours ago
» Replies: 3
» Views: 43
Are there plannes to crea...
Forum: PinePhone Pro Hardware
Last Post: Kevin Kofler
11 hours ago
» Replies: 4
» Views: 851
PinePhone Pro discontinue...
Forum: General Discussion of PinePhone Pro
Last Post: zetabeta
Yesterday, 12:27 PM
» Replies: 6
» Views: 254
Pinephone Pro wont boot t...
Forum: General Discussion of PinePhone Pro
Last Post: zetabeta
Yesterday, 04:22 AM
» Replies: 3
» Views: 113
prototyping to help someo...
Forum: General
Last Post: xerosenex
08-14-2025, 02:31 AM
» Replies: 0
» Views: 75
Password reset via u-boot...
Forum: PineNote Software
Last Post: lunnabae
08-13-2025, 01:17 AM
» Replies: 6
» Views: 1,729
incorporate a multimeter ...
Forum: General
Last Post: lalisa12
08-13-2025, 01:14 AM
» Replies: 2
» Views: 512
New PineNote: No WiFi aft...
Forum: PineNote Software
Last Post: krexplex
08-12-2025, 01:09 PM
» Replies: 5
» Views: 1,438
Full desktop Surfing and ...
Forum: General Discussion on Pinebook Pro
Last Post: Pattienner
08-10-2025, 10:35 PM
» Replies: 2
» Views: 530

 
  Install of ArchARM on latest pbp batch
Posted by: tallfrye - 08-22-2022, 02:36 PM - Forum: Linux on Pinebook Pro - No Replies

I am switching over my new pbp from Manjaro to ArchARM. I forgot what I put in for my user pw and couldn't find anything on a default pw for root, so failed to make a boot SD on the pbp, used a laptop with Slackware instead. I followed the instructions at github (Installation on microSD card or eMMC module) for making the SD card and installing it.

The first reboot put me at the Arch prompt, but 'wifi-menu' didn't work. I looked at PCI devices and nothing was showing up for wireless devices. Wifi was working under the default Manjaro. I went ahead with the rest of the install without a network connection. It didn't give any complaints while initializing and populating the keys.

I then went ahead and with the install for the eMMC (Installation on eMMC module without a USB adapter). I'm not sure what USB adapter is being referred to or how the install would go if I had one, figured this would work regardless. After a reboot, it goes through the Tow-Boot sequence, but then fails to mount /boot.

I repeated the process with rewriting the SD card but it gives me the same error. I looked through the journalctl logs and don't see anything more than generic error info, not sure what to report here. I can't exactly cut and paste with the state the pbp is in. There were some warnings and extra steps (keeping or removing a file system for the second partition) while preparing the SD that I made guesses on since they weren't mentioned in the install guide.

Not sure at this point if I should check this SD card for problems, try a different card, or a different install method...?


  Rescue Your Mobian post Update Aug22 faster fix to working guide
Posted by: biketool - 08-22-2022, 10:49 AM - Forum: Mobian on PinePhone - Replies (9)

This guide is broken up into main recovery steps, and two separate guides for fixing your partition size and setting up GPS(not even needed in bookworm) referred to as steps in the main install guide, I am live editing it for a bit to add links and clean it up.  Most of this is copy/paste fixes over ssh and file transfers over USB, pretty easy way to get a better than fresh system in under an hour.

This is a kludgy guide I made after needing to wipe and restart at an auspicious time right before the serious system breaking Mobian Bookworm issues of August 2022.

*******!!!Use towboot to mount your / over your USB cable to rescue your /home we will use it later!!!**********

Get tow-boot and set it up on a SD card if you haven't already, we need it for install and salvaging your old /home and it's recovery, you can easily install it on a broken system

https://wiki.mobian-project.org/doku.php?id=tow-boot

this should be an easy copypasta fixit toolbox to get a working everyday driver pinephone in under an hour, jsut hold on updates until Mobian is fixed soon.
this works for me, edit what you want for install packages, I am sure the mobian issues could be hand fixed but this is the fast fix I have right now.
This fix works for me in a repeatable way, let me know ways to improve it!
_____________________________________________________________
Use towboot mount(boot with volume up button pressed you get a blue LED) to easily copy /home or at least copy a backup of phone contacts from ~/.local/share/evolution/addressbook/system/contacts.db to your computer

******remove your SD card or at least unsocket it!!!******  (if you forget to remove SD how-to de-booting the SD card at end of main guide)

reinstall Mobian over towboot/USB an image I used https://images.mobian-project.org/pineph...814.img.gz

Code:
sudo apt install ssh

ssh in through cable or wifi

do partition fix below(be sure to pick the correct partition mine is for emmc)!!!!!! 

***FIX PARTITION SIZES FIRST OR YOU WILL NOT BE ABLE TO INSTALL ANY SOFTWARE(unless the partition size in your image is already fixed in the future)***
------------------------------
ROOT PARTITION FIX (NOT OPTIONAL UNTIL MOBIAN FIXES ISSUE)

Emmc/SD card not being expanded on the Pinephone
On specific Pinephone installer images the storage medium Mobian is installed to does not get expanded to the full disk size. This can cause storage issues but can be fixed on the Pinephone in the terminal.
Assuming a ext4 setup.

First install parted by running
Code:
sudo apt install parted

Next, use parted on the correct drive put mmcblk2 if its on a emmc. mmcblk0 for sd card
Code:
sudo parted /dev/mmcblk2
****OR***
Code:
sudo parted /dev/mmcblk2

verify the correct partition with
Code:
lsblk

To further verify run
Code:
print

Resize the second partition
Code:
resizepart 2 100%

Verify it has changed with
Code:
print
ctrl-C out of parted to finish

If you have FDE(Full Disk Encryption) setup run this to resize the encrypted device. If not using disk encryption skip this command.
Code:
sudo cryptsetup resize calamares_crypt

Next, resize the ext4 filesystem.
Code:
sudo resize2fs /dev/mapper/calamares_crypt

check the result with
Code:
df -h


This should fix the issue with file expansion on a fresh install.
____________________________________________________________________________
start installing additional software.  if you like to be speedy fix GPS while flatpak installs your app list but check occasionally as some installs will ask options and flatpak requires y/n for all installs before it runs

do this first so you can have a second window open and setup navigation while apt and flatpak are running, check back on the installation though as sometimes there is dialog needing answers
Code:
sudo apt install gpsd gpsd-clients

now you can do navigation fixes in one window while you run the installs below
Code:
sudo apt install flatpak tor screen links traceroute

***I recommend going into the software update app NOW and turning OFF automatic updates, at least as long as the current update is considered a problem.

(You HAVE to add flathub or you can't search software)

Code:
flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo
Install stuff edit as you like

Code:
sudo flatpak install authenticator clapper cozy enroute foliate fragments komikku puremaps shortwave teleport amberol osmscoutserver

do the bonus GPS fix below if you like, check for needing disc expansion below

Remember the backup copy we made of of /home? After setup is complete shutdown and use tow-boot(hold the volume up key and boot up) and transfer over USB now to replace with old /home if reloading (my restore overwrite took 15min for my 4gb) (edit)in hindsight I did only .kodi .local/share/evolution/ and .mozilla on my second try as something in home messed up the settings app and it couldn't open afterward

Insert you SD card if you haven't yet
If you accidently installed onto your SD card it will triy to block boot, easy to fix just run this on the SD from your computer or on the PP

Code:
sudo dd if=/dev/zero of=/dev/mmcblk0(or whatever device it is) bs=512 seek=16 count=1

Autoscale ALL apps

Code:
gsettings set sm.puri.phoc scale-to-fit true
 ---(or run it again as false if this gets annoying)  ***for auto scaling***
-------------------------------------------------------------------
GPS SETUP

Code:
sudo mmcli -m any --location-enable-gps-nmea --location-enable-gps-raw

(do the apt installs only if you didn't in the main guide)
Code:
sudo apt install gpsd gpsd-clients

scale the gui
Code:
scale-to-fit xgps on
scale-to-fit xgpsspeed on

Edit gpsd for the pinephone's modem/GPS connection in DEVICES="your modem"
Code:
sudo vi /etc/default/gpsd
  ------- add /dev/ttyUSB1 to devices--- 
Code:
DEVICES="/dev/ttyUSB1"
restart and daemons
Code:
sudo systemctl start gpsd.service
sudo systemctl status gpsd.service

Setup geoclue
Code:
sudo vi /usr/lib/systemd/system/geoclue.service
  ---- add in the “[Service]” section---
Code:
Environment="G_MESSAGES_DEBUG=Geoclue"

restart daemons
Code:
sudo systemctl daemon-reload
sudo systemctl restart geoclue.service

***Remember to turn ON navigation in the Settings app, under Privacy > Location Services***
Turning on Location services will get a mobile telephone network assist for AGPS as long as you have Internet too, if you are a privacy person you do not need to enable the Mozilla location service for AGPS to work as I show above.

I have found that puremaps seems to work best at triggering the GPS to take a fix and paired with OSM scout server so I can have my maps ready and offline, be sure to setup your maps before you travel

(edit) this thread gives you some important files to backup and recover after reinstall so you have your SMSs and calls as well as other stuff in your /home https://forum.pine64.org/showthread.php?...ght=chatty
__________________________________________________________________
**as always use your mobian wiki and PLEASE contribute verified fixes to the wiki, we notn need to reinvent the wheel as individuals!!!***

https://wiki.mobian-project.org/doku.php?id=location
https://wiki.mobian.org/doku.php?id=trou...-pinephone
https://wiki.mobian-project.org/doku.php?id=tweaks


  New Tow-boot release, how to upgrade?
Posted by: user641 - 08-22-2022, 10:32 AM - Forum: Mobian on PinePhone - Replies (3)

There's a new version of tow-boot, upgrading is just repeating the first install? Flash to sd and run it in the phone?


  Mobian is broken at the moment!
Posted by: mburns - 08-22-2022, 08:55 AM - Forum: PinePhone Pro Software - Replies (6)

An apt-get dist-upgrade command as of last night and today, August 22, removes the setup app and does not allow reinistallation. The pinephonepro-tweaks package is removed by the dist-upgrade in favor of mobile-tweaks, and does not allow recovery.

I need to copy back the image that I saved last night by way of the USB mode of Tow-boot.


  The settings icon disappeared
Posted by: kubussz - 08-22-2022, 07:46 AM - Forum: Mobian on PinePhone - Replies (34)

The settings icon disappeared after the last update.


  Would disabling all cpu's except one save power on the PPP?
Posted by: rp3 - 08-22-2022, 07:37 AM - Forum: General Discussion of PinePhone Pro - Replies (3)

Hi all, this is just a question to stimulate conversations and ideas, in the hope that something useful might come out of it;

I have had personal success on an original pinephone in saving significant power by disabling cpu's, and though I do not own a pinephone pro, I just thought I would post a copy of a post I have just made in the original pinephone section of the forum, in case there is anything of value in it for the pinephone pro??

Please bear in mind that I have never used a pinephone pro, and don't know how the script could be implemented, if at all, -and what problems it might cause, so this information is simply provided "as is", for research purposes for competent developers.


Here is a copy of the post:

Post Title:  Will this battery-saving script cause problems?

Just thought I would try to get some feedback on this script that I use on an older (6 months ago?) Mobian version which saves me quite a bit of battery life.


Disclaimer: though I use this myself, I don't know if there are negative side-effects, so I'm only seeking opinions from developers, I'm not recommending that anyone should try this themselves


I only use my pinephones (2gb and 3gb editions) in a very simple way, for file-management, storage and utility purposes, like a handheld computer, not even for web-browsing, and I do not have the modem enabled, though I sometimes enable wifi to update and install programs.


I use the following scripts to enable or disable all cpu's except for cpu0



Script to disable them:

#!/bin/bash
echo 0 | sudo tee /sys/devices/system/cpu/cpu1/online
echo 0 | sudo tee /sys/devices/system/cpu/cpu2/online
echo 0 | sudo tee /sys/devices/system/cpu/cpu3/online



Script to enable them:

#!/bin/bash
echo 1 | sudo tee /sys/devices/system/cpu/cpu1/online
echo 1 | sudo tee /sys/devices/system/cpu/cpu2/online
echo 1 | sudo tee /sys/devices/system/cpu/cpu3/online


the results are surprising, as can be seen in the powersupply app, with a quite significant reduction in power usage.


Because the reduction is while the phone is in use running programs, it gives a noticable improvement in power consumption during use, as sleep mode already works well when it is not in use. I suppose it would increase my phone-use time by 1-to-several hours depending on what was being run.


Speed is not affected hugely, though there is some effect. I suppose that most programs I use are using one just cpu anyway. I have found it far preferable to have extended use time, and to put up with an occasional second or so delay in program start times etc.


Shutdown is the only thing where I've noticed a problem, and I have to reenable the other 3 cpu's to shutdown properly, or I don't see the splash screen.


Disabling and reenabling the cpu's seems flawless, even multiple times. I can't remember it failing (although maybe it happened and I forgot...).


As stated, I do not use the modem (or gps or bluetooth), and I have no idea how they would react to this.


PS: I also tried reducing the cpu frequency, but that did not reduce power very much, and had a big impact on speed, so I did not bother to try to incorporate it into the script.


Does anyone have any feedback, opinions, warnings or suggestions in regard to doing this?


Regards everybody.


  Will this battery-saving script cause problems?
Posted by: rp3 - 08-22-2022, 07:00 AM - Forum: Mobian on PinePhone - Replies (1)

Just thought I would try to get some feedback on this script that I use on an older (6 months ago?) Mobian version which saves me quite a bit of battery life.

Disclaimer: though I use this myself, I don't know if there are negative side-effects, so I'm only seeking opinions from developers, I'm not recommending that anyone should try this themselves

I only use my pinephones (2gb and 3gb editions) in a very simple way, for file-management, storage and utility purposes, like a handheld computer, not even for web-browsing, and I do not have the modem enabled, though I sometimes enable wifi to update and install programs.

I use the following scripts to enable or disable all cpu's except for cpu0



Script to disable them:

#!/bin/bash
echo 0 | sudo tee /sys/devices/system/cpu/cpu1/online
echo 0 | sudo tee /sys/devices/system/cpu/cpu2/online
echo 0 | sudo tee /sys/devices/system/cpu/cpu3/online


Script to enable them:

#!/bin/bash
echo 1 | sudo tee /sys/devices/system/cpu/cpu1/online
echo 1 | sudo tee /sys/devices/system/cpu/cpu2/online
echo 1 | sudo tee /sys/devices/system/cpu/cpu3/online


the results are surprising, as can be seen in the powersupply app, with a quite significant reduction in power usage.

Because the reduction is while the phone is in use running programs, it gives a noticable improvement in power consumption during use, as sleep mode already works well when it is not in use. I suppose it would increase my phone-use time by 1-to-several hours depending on what was being run.

Speed is not affected hugely, though there is some effect. I suppose that most programs I use are using one just cpu anyway. I have found it far preferable to have extended use time, and to put up with an occasional second or so delay in program start times etc.

Shutdown is the only thing where I've noticed a problem, and I have to reenable the other 3 cpu's to shutdown properly, or I don't see the splash screen.

Disabling and reenabling the cpu's seems flawless, even multiple times. I can't remember it failing (although maybe it happened and I forgot...).

As stated, I do not use the modem (or gps or bluetooth), and I have no idea how they would react to this.

PS: I also tried reducing the cpu frequency, but that did not reduce power very much, and had a big impact on speed, so I did not bother to try to incorporate it into the script.


Does anyone have any feedback, opinions, warnings or suggestions in regard to doing this?

Regards everybody.


  Pinephone Pro vs Volla 22
Posted by: Uturn - 08-22-2022, 03:20 AM - Forum: PinePhone Hardware - Replies (7)

as Volla Phone 22 promises freee choice of OS, removable Battery, and is not so very much more expensive than PinePhone Pro. Built in Multi-Boot may be as funtional as boot from card. Build quality wise, I am a bit disappointed by my PinePhone.
What's everybody thinking: Could this be a interesting alternative, and in which aspects?


  RAM corruption, possible eMMC corruption
Posted by: alnyan - 08-22-2022, 03:01 AM - Forum: PinePhone Hardware - Replies (3)

Hi everyone, 

I've been tinkering with my PinePhone for a while and noticed that eMMC is likely corrupt/being corrupted sometimes.
I tested that by downloading files from remote host and checking if their sha256sums match, which they didn't. Also rsync just fails to copy file quoting the same mismatch error.
After running PostmarketOS update using apk update && apk upgrade it just stopped unlocking (lock screen just reappears after a valid pin code), though apk verify said nothing about that.

I'd like to know if anyone else has/had that problem and if there're any workarounds to get eMMC stable.


Forgot to mention: I also tried mounting tmpfs (which should be RAM-backed, I believe) and downloading my image there, but the result is the same — checksums mismatch

Another addition: each time I run sha256sum on the same file, it yields a different checksum, so that's possibly RAM and not eMMC (updating thread title as well)


  Booting NetBSD
Posted by: untitled - 08-22-2022, 02:19 AM - Forum: BSD on Pinebook Pro - Replies (12)

I managed to install NetBSD on eMMC by booting from an SD card with 9.3 arm64.img and running sysinst.

Now have trouble booting up the installed system. Tow-Boot on SPI complains

"Wrong image format for "source" command."
"Can't get kernel image!"

I reinstalled kernel just to be sure

Code:
install -o root -g wheel -m 555 netbsd-GENERIC64 /netbsd

and wrote u-boot into boot sector

Code:
dd if=/usr/pkg/share/u-boot/rksd_loader.img of=/dev/rld0 seek=64 conv=sync

Also copied everything in /boot of the SD card to /boot on eMMC.

Still no luck, the system won't boot.