Welcome, Guest |
You have to register before you can post on our site.
|
|
|
Flashing rk2aw to the PinePhonePro |
Posted by: mikehenson - 09-21-2024, 06:23 PM - Forum: General Discussion of PinePhone Pro
- No Replies
|
 |
Flashing rk2aw to the PinePhonePro
#https://xff.cz/kernels/
Code: cd Downloads
wget https://xff.cz/kernels/bootloaders-2024.04/ppp.tar.gz
tar -xvzf ppp.tar.gz
cd ppp
sudo ./spinor-flash-initial-setup.sh
#wait until it finishes
Device: PinePhonePro
OS: DanctNIX Arch with Phosh
|
|
|
Updating Biktorgj from 0.7.2 to 0.8.0 |
Posted by: mikehenson - 09-21-2024, 06:09 PM - Forum: General Discussion of PinePhone Pro
- No Replies
|
 |
Updating to Biktorgj from 0.7.2 to 0.8.0
#https://themodemdistro.com/docs
#https://github.com/the-modem-distro/pinephone_modem_sdk/releases/tag/0.8.0
Code: fwupdmgr get-devices
sudo pacman -S android-tools
cd Downloads
wget https://github.com/the-modem-distro/pinephone_modem_sdk/releases/download/0.8.0/package.tar.gz
tar -xvzf package.tar.gz
sudo ./flashall
# If the modem doesn't disappear when the script starts, try running the flashall script as root.
# Wait for the modem to come back, maybe 2 minutes on my PinePhonePro
Code: fwupdmgr get-devices
Device: PinePhonePro
OS: DanctNIX Arch with Phosh
Carrier: USA - Patriot Mobile (T-Mobile SIM)
EG25 Firmware: Biktorgj 0.8.0
ADSP Version: 01.003
|
|
|
2024 Sep 21 - PinePhonePro Calls Working |
Posted by: mikehenson - 09-21-2024, 04:48 PM - Forum: General Discussion of PinePhone Pro
- Replies (9)
|
 |
START EDIT:
Clean up and adding Mobian steps.
OS: DanctNIX Arch with Phosh fully updated
OS: Mobian fully updated
EG25 Firmware: Biktorgj 0.8.0
ADSP Version: 01.003
This uses PipeWire, Not PulsaAudio
DanctNIX Arch with Phosh
pipewire-alsa is required to get call audio.
Code: sudo pacman -S pipewire-alsa
alsa-utils is required to run alsamixer so we can set the Microphone volume to 0
Code: sudo pacman -S alsa-utils
pine64-alsa-ucm configuration files
Code: cd /usr/share/alsa/ucm2/PinePhonePro/
#backups are good
sudo mv VoiceCall.conf VoiceCall.conf.org
sudo mv PinePhonePro.conf PinePhonePro.conf.org
sudo mv HiFi.conf HiFi.conf.org
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/VoiceCall.conf
sudo wget https://raw.githubusercontent.com/dreemurrs-embedded/Pine64-Arch/master/PKGBUILDS/pine64/alsa-ucm-pinephonepro/PinePhonePro.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/HiFi.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/EnableSeq.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/DisableSeq.conf
Restart the phone
During a call, run alsamixer and set the default (PipeWire) microphone value to 0.
The Audio on the "other phone" should clear up
Plug in a headset (3.5mm headphones with microphone)
run alsamixer again and set the default (PipeWire) microphone value to 0.
DONE!
Mobian
alsa-utils is required to run alsamixer so we can set the Microphone volume
Code: sudo apt install alsa-utils
pine64-alsa-ucm configuration files
Code: cd /usr/share/alsa/ucm2/Rockchip/PinePhonePro/
#backups are good
sudo mv VoiceCall.conf VoiceCall.conf.org
sudo mv PinePhonePro.conf PinePhonePro.conf.org
sudo mv HiFi.conf HiFi.conf.org
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/VoiceCall.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/PinePhonePro.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/HiFi.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/EnableSeq.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/DisableSeq.conf
Restart the phone
During a call, run alsamixer and set the default (PipeWire) microphone value to 0.
The Audio on the "other phone" should clear up
Plug in a headset (3.5mm headphones with microphone)
run alsamixer again and set the default (PipeWire) microphone value to 0.
DONE!
Benefits
Calls are OK after each reboot
Calls are OK after deep sleep (and calls waking the phone up)
Calls are OK after plugging in a headset and switching to the headset profile in settings >> sound
The volume up and down buttons actually WORK during a phone call!!!
Issues
Plugging IN a headsets (3.5mm headphones with mic) will not switch over correctly. Go to Settings >> Sounds and select headset.
Un plugging a headset will not auto switch back to the phones earpiece and mic. Go to settings >> Sounds and select earpiece
END EDIT
START OF ORIGINAL POST
After many hours, this is how I got Calls to a stable OK state on my PinePhonePro.
OS: DanctNIX Arch with Phosh (archlinux-pinephone-pro-phosh-20240326.img)
BootLoader: rk2aw
Carrier: USA - Patriot Mobile (T-Mobile SIM)
EG25 Firmware: Biktorgj 0.8.0
ADSP Version: 01.003
1) Fresh install of the OS on the eMMC
2) Full upgrade "sudo pacman -Syu"
3) No audio during calls
Code: journalctl showed:
danctnix callaudiod[4807]: Card 'alsa_card.platform-rt5640-sound' lacks speaker and/or earpiece port, skipping...
"sudo pacman -S pipewire-alsa" stopped the "alsa_card" error.
4) Keep in mind, there is no pulseaudio on this version of the OS, they moved to pipewire.
5) Call audio worked, but sounded like a fright train! Extremely loud.
6) I installed "sudo pacman -S pulsemixer "
Code: pulsemixer --list
Sink: ID: sink-117, Name: Built-in Audio Headphones, Mute: 0, Channels: 2, Volumes: ['40%', '40%'], Default
Source: ID: source-117, Name: Monitor of Built-in Audio Headphones, Mute: 0, Channels: 2, Volumes: ['100%', '100%']
Source: ID: source-118, Name: Built-in Audio Headset Microphone, Mute: 0, Channels: 2, Volumes: ['0%', '0%'], Default
Source output: ID: source-output-103, Name: GNOME Settings, Mute: 0, Channels: 1, Volumes: ['100%']
Source output: ID: source-output-104, Name: GNOME Settings, Mute: 0, Channels: 1, Volumes: ['100%']
7) I did a volume change on Built-in Audio to volumes set to 0
Code: pulsemixer --id source-118 --change-volume -100
8) This helped until a phone reboot and new nodes were created with 100 as the volume
9) I then installed "sudo pacman -S alsa-utils" to set the mic default levels to 0
10) I ran alsamixer during a phone call to set the default mic to 0 for the internal mic.
11) I plugged in a 3.5mm headset (headphones with microphone)
12) I ran alsamixer again with the headset and set the default mic to 0 again.
13) "Freight train" sound is fix. Just leaves the echo on the other (not PinePhonePro) phone
14) The default VoiceCall.conf (danctnix) file had to many options and there was an echo...
15) I tried the VoiceCall.conf from biktorgj and I had to set the default mic back to 0 with alsamixer
16) Steps to use biktorgj VoiceCall.conf
Code: cd /usr/share/alsa/ucm2/PinePhonePro/
#backups are good
sudo mv VoiceCall.conf VoiceCall.conf.org
sudo cp PinePhonePro.conf PinePhonePro.conf.org
sudo mv HiFi.conf HiFi.conf.org
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/VoiceCall.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/PinePhonePro.conf (NOT THIS ONE, it points to a different folder, use the default PinePhonePro.conf)
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/HiFi.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/EnableSeq.conf
sudo wget https://raw.githubusercontent.com/Biktorgj/pine64-alsa-ucm/master/ucm2/PinePhonePro/DisableSeq.conf
#backups are good
sudo cp VoiceCall.conf VoiceCall.conf.biktorgj
sudo cp HiFi.conf HiFi.conf.biktorgj
sudo cp EnableSeq.conf EnableSeq.conf.biktorgj
sudo cp DisableSeq.conf DisableSeq.conf.biktorgj
So, No "echoing" no loud feedback!
Calls are OK after each reboot
Calls are OK after deep sleep (and calls waking the phone up)
Calls are OK after plugging in a headset and switching to the headset profile in settings >> sound
EDIT: The volume up and down buttons actually WORK during a phone call!!!
I messed around with a lot settings. I am not sure the pulsemixer steps are needed...
|
|
|
Can't install some software with pacman anymore |
Posted by: 3v22dilio - 09-20-2024, 09:14 PM - Forum: General Discussion on PineTab
- Replies (2)
|
 |
I'm trying to reinstall some stuff after distro hopping and when I try to install firefox, I get the following error.
Code: sudo pacman -S firefox
resolving dependencies...
warning: cannot resolve "tracker3", a dependency of "gtk3"
warning: cannot resolve "gtk3", a dependency of "firefox"
:: The following package cannot be upgraded due to unresolvable dependencies:
firefox
:: Do you want to skip the above package for this upgrade? [y/N]
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'tracker3' required by gtk3
:: unable to satisfy dependency 'gtk3' required by firefox
I wasn't getting this error before I tried disro-hopped, and I don't know why I'm getting it now. I checked out http://fl.us.mirror.archlinuxarm.org/aarch64/extra/ to see what was there and while there is a tracker package, it isn't called "tracker3" or even looks like it is versioned that high. A lot of posts I've found when googling suggest tricking pacman into thinking it is installed (I think, I may be misunderstanding), but doesn't explain why this is happening now. I lso don't see any posts about arch in general getting this problem. I've also tried a full sudo pacman -Syyu with a reboot, and still have the same issue.
Is there something I could do to address this or do I just wait for it to sort itself out?
|
|
|
A64 Euler FAN Support on Armbian |
Posted by: Breacher - 09-20-2024, 09:57 AM - Forum: Armbian
- No Replies
|
 |
Hello, i'm searching for a Way to connect my 3 Pin Fan to the Euler Pins or other.
The PI2 Pins are not useable.
Greetings
Breacher
|
|
|
Battery Life- hardware abstraction layer-GPU VS optomizing app for GPU-openGL |
Posted by: biketool - 09-20-2024, 01:34 AM - Forum: PinePhone Hardware
- Replies (1)
|
 |
The biggest block to daily driving both the Pinephone and Pinephone pro is battery life. I am not an expert but it appears to me that except for Clapper video app few if any parts of the UI or web browser take proper advantage of the GPU and therefore have to force the graphics through the CPU which is a large part of the total unusual electricity budget of the pinephone family devices.
On the Nokia N900, which was sold loaded with Maemo5 Linux, the GPU was accessed via a hardware abstraction layer(HAL) every time openGL was called, individual apps did not have to be optimized, the major exception were graphic intensive games including the rich(for the time) library imported from Palm/WebOS which was possible because the last gen of Palm devices used the same kernel and GPU as the N900/Maemo5 so were very specifically targeted directly to the GPU silicon for best performance.
The N900 was average battery life for an early(2009) smartphone we could do several hours of GPS guided navigation, web surfing, or playing graphic intensive games like tuxcart, N64 games via muppen64, or X-Plane imported from WebOS games. I do not remember watching the battery % drop at least 5% for every unluck and 1-2% per minute of unlocked screen eve though the N900 had a 1200mA/H vs the PP/PPP with a 3000mA/H battery.
|
|
|
Need Help Choosing the Right Pine64 Board for My Project |
Posted by: jacoballen - 09-18-2024, 06:13 AM - Forum: General
- Replies (1)
|
 |
Hey everyone,
Im looking for some advice on which Pine64 board would be best for my latest project. I am planning to build a small home automation system that integrates with sensors (temperature, humidity, motion, etc.) and controls some basic devices around the house (lights, fans, etc.).
I've been looking at the different Pine64 boards available, but I am not entirely sure which one would be the best fit for this project. I need something that’s fairly easy to set up, has good GPIO options, and can handle running multiple sensors and devices at the same time without any performance issues.
And for the same I have been through these articles/resources https://forum.pine64.org/showthread.php?tid=18116 Generative AI Tutorial that are quite informative. But I’d love to hear more from the community member.
Also, I’d appreciate any tips on getting started with the software side. I am thinking about using Home Assistant, but I’m open to suggestions if there’s a better option.
Thanks in advance for any recommendations or experiences you can share.
Best Regards
|
|
|
FIXED-Newer ver of EC25 Modems, FOSS FW upgr breaks funct- repair FW and IMEI rebuild |
Posted by: biketool - 09-12-2024, 11:11 AM - Forum: PinePhone Hardware
- Replies (4)
|
 |
(The fix for disfunctional but flashable after firmware load in newer EC25 modems PPP and maybe newer PPs is described here https://themodemdistro.com/efs_recovery )
The process for installing the firmware on my old pinephone was pretty easy; download, unzip, and run flashall then follow instructions to flash the NON-HLOS.ubi
https://github.com/the-modem-distro/pine...LASHING.md
I never encountered any problems.
I got a replacement upgrading to PPpro; mostly the same modem (uses nano vs micro-SIM); the behavior after flashing is very different.
After running flashall utility and the NON-HLOS.ubi(ADSP) successfully the modem reboots but has the slash through the signal-bars symbol and no longer works for telephony and GPS though shows as a quectel modem on lsusb. I managed to spend a few evening hours a few weeks ago flashing between the upgraded firmware and the stock quectel_eg25_recovery and firehose flashing utility, and every ADSP found on the git; I gave up and let the PPpro sit until the next day with the battery out. For no reason I know of the modem was working at bootup of the PPpro where it had not the night before.
After having modem audio problems likely related to Mobian unstable updates I tried flashing the modem to a different more stable ADSP thinking it was the full shutdown vs hot-rebooting(no full shutdown/power-down for modem) that was my previous problem.
As I am sure others have experienced this problem.
What is the best way to debug a 'stuck' modem that does partly boot, can be flashed, but will not connect to the network or give a GPS ttyusb interface beyond trying flashing the stock firmware? Once fixed I will try to document it as best I can for the wiki.
|
|
|
Registering via protonmail |
Posted by: biketoool2 - 09-12-2024, 09:22 AM - Forum: General
- Replies (2)
|
 |
I have an account which I registered using protonmail(biketool), unfortunately the code to recover my account doesn't arrive in my inbox nor spam folder.
I registered this account(biketool2) and the confirmation dlso did NOT arrive in my protonmail inbox/spam.
I suppose I could register a third account but my first account biketool has maybe seven years history.
|
|
|
|