| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
Retro Gaming and Emulatio...
Forum: General
Last Post: NorrisFByrd
12-03-2026, 12:56 AM
» Replies: 1
» Views: 223
|
eMMC read errors making i...
Forum: General Discussion on PinePhone
Last Post: Zebulon Walton
12-02-2026, 07:32 AM
» Replies: 3
» Views: 260
|
Printing to a Canon G3010...
Forum: Linux on Pinebook Pro
Last Post: printersolved
12-02-2026, 02:41 AM
» Replies: 0
» Views: 194
|
Armbian has been released...
Forum: News
Last Post: noahclark
12-01-2026, 11:35 PM
» Replies: 24
» Views: 48,101
|
Will a 10000mAh power ban...
Forum: PinePhone Hardware
Last Post: noahclark
12-01-2026, 06:21 PM
» Replies: 0
» Views: 167
|
Video Editing Is Possible...
Forum: General Discussion on Pinebook Pro
Last Post: Askalld
11-30-2026, 05:23 AM
» Replies: 13
» Views: 18,409
|
4G VoLTE calls confirmed ...
Forum: General Discussion on PinePhone
Last Post: Robinson J.
11-29-2026, 07:17 AM
» Replies: 18
» Views: 40,992
|
New vibe coded apps (mobi...
Forum: PinePhone Pro Software
Last Post: kisdia
11-28-2026, 08:02 PM
» Replies: 0
» Views: 230
|
Let's get the PPP and Mob...
Forum: General Discussion of PinePhone Pro
Last Post: kisdia
11-28-2026, 03:03 PM
» Replies: 1
» Views: 1,141
|
rAudio for Rock64 V2/Pine...
Forum: Linux on Rock64
Last Post: shinzuka
11-28-2026, 02:11 PM
» Replies: 16
» Views: 6,252
|
|
|
| Automatic app scaling |
|
Posted by: a-wai - 07-02-2020, 02:59 AM - Forum: Mobian on PinePhone
- Replies (14)
|
 |
Hi,
In the past few days, a new phoc version has been released, which brings a long-awaited feature: automatic scaling of large windows!
It is however disabled by default, as it could cause some strange behavior for apps not requiring such "extreme" measures.
Therefore, this feature has to be enabled on a per-app basis, using instructions from the wiki.
Feel free to experiment and share your experience here or on the wiki
|
|
|
|
| NixOS getting started guide |
|
Posted by: _hg_ - 07-01-2020, 06:48 PM - Forum: Linux on Pinebook Pro
- Replies (4)
|
 |
I am a complete NixOS newbie, so it took me a while to get things settled. I thought I'd share this here in case it helps someone else. Note, this guide is not perfect and still requires some general Linux knowledge or careful Googling.
Building the system
- If you are not running the build on a system that has Nix, install Nix (see https://nixos.org/download.html).
- Clone https://github.com/samueldr/wip-pinebook-pro
- Edit both build.sh and default.nix, and replace 19.09 with 20.03. 20.03 is the current stable channel, and it should work better based on conversations in the project's GitHub issues.
- If you are on Manjaro (and maybe other distros?) edit build.sh and change nix-build to $(which nix-build). (Thanks to acsid's fork https://github.com/acsid/wip-pinebook-pr...9f71a0b6cf)
- Run build.nix to build it. Kernel build may take a long time, probably hours.
- Copy the wip-pinebook-pro folder to some storage media (ideally a thumb drive) in case you mess up, so you don't have to build everything again.
- Install:
- For SD install: use the dd command below, but make sure you are using the right /dev/mmcblk*. For me this was /dev/mmcblk1.
- For install to eMMC with USB adapter: use the dd command below, but change /dev/mmcblk0 to the location of your USB adapter. (Not tested but this should work.)
- For install to internal eMMC without adapter: first perform the SD install, then reboot into your new NixOS install on the SD card. Then see steps in the next section below.
Code: lsblk /dev/mmcblk0 && sudo dd if=result/idbloader.img of=/dev/mmcblk0 bs=512 seek=64 oflag=direct,sync && sudo dd if=result/u-boot.itb of=/dev/mmcblk0 bs=512 seek=16384 oflag=direct,sync
Building and installing to internal eMMC from booted SD image
If you saved your built image:
- Mount the storage media where you saved the wip-pinebook-pro folder.
- Run the dd command above, but change /dev/mmcblk0 to the correct device. For me this was /dev/mmcblk2.
- Shutdown, eject the SD card, and reboot.
If you lost your built image like I did and you need to rebuild:
- Set up networking. For wireless, you can do this by creating /etc/wpa_supplicant.conf with the proper setup and then run "sudo systemctl start wpa_supplicant.service". Ethernet may just work with a USB adapter, but I have not tested this.
- Clone https://github.com/samueldr/wip-pinebook-pro. You can pull down the repo using curl or run "nix-shell -p gitMinimal" to temporarily acquire git.
- Edit both build.sh and default.nix, and replace 19.09 with 20.03. 20.03 is the current stable channel, and it should work better based on conversations in the project's GitHub issues.
- Run build.nix to build it. Kernel build may take a long time, probably hours.
- Run the dd command from above, but change /dev/mmcblk0 to the correct device. For me this was /dev/mmcblk2.
- Shutdown, eject the SD card, and reboot.
Making a usable system
- Once you can boot, you will need configuration files before you can use nixos-rebuild. Run "nixos-generate-config" to get a starter /etc/nixos/configuration.nix and /etc/nixos/hardware-configuration.nix.
- Make your configuration. An example is here: https://github.com/tgunnoe/configuration...ration.nix. START SIMPLE. I would leave out anything graphical to start with, you just want to be able to rebuild your kernel and reboot. I may post a followup basic config later. Don't forget to include a reference to the wip-pinebook-pro patches, either using tgunnoe's method (linked) or by cloning the repo locally and referencing it in your imports section as in the repo's README.
- Set up networking. For wireless, you can do this by creating /etc/wpa_supplicant.conf with the proper setup and then run "sudo systemctl start wpa_supplicant.service". Ethernet may just work with a USB adapter, but I have not tested this. Make sure you also set networking options in your configuration.nix so you will have a functional connection after you rebuild!
- Run "nix-channel --update" to update your channel.
- Run "nixos-rebuild boot --update". This should pull down everything and rebuild everything.
Once you have a working configuration.nix, you should be able to add packages to it and run "nixos-rebuild switch" without a problem. Note that if you break your configuration, you may have to use the SD card image or the serial console to revert.
|
|
|
|
| Upgrading eMMC and Installing Majaro XFCD 20.06 |
|
Posted by: lyssa - 07-01-2020, 05:27 PM - Forum: Linux on Pinebook Pro
- No Replies
|
 |
Upgrading The eMMC And Installing Manjaro Xfce (or whatever image, I think)
Thanks to many others for bits and pieces, including Syonyk’s how-to at https://forum.pine64.org/showthread.php?tid=10279.
This post is more for the noob, like me. I did not want to use aditional software, like Etcher. Just use what I had.
Part 1 – Setting up the temporary SD card
1. Download compressed image and sha256 files to functioning PBP running from eMMC. Mine was 64Gb.
2. Verify whatever.img.xz file integrity against sha256 file. Note: whatever is place holder for your filename.
Code:
sha256sum -b whatever.img.xz
If OK, proceed. Otherwise, begin Part 1 again .
3. Expand the img.xz file.
Code:
unxz whatever.img.xz
Note: The compressed file will disappear unless you save a copy somewhere else before expanding. This procedure assumes everything is in your Downloads folder as is your terminal. Note: This takes a few minutes on PBP.
4. Write downloaded and checked Manjaro Xfce (or whatever) image to SD card with dd:
WARNING: CHECK WITH LSBLK TO VERIFY AND NOTE WHICH DEVICE IS YOUR SDCARD BEFORE RUNNING "dd" COMMAND TO WRITE YOUR IMAGE TO IT!
In my case, the target SD card was mmcblk1 while running on eMMC. Yours could be different, maybe?
Code:
sudo dd if=whatever.img of=/dev/mmcblk1 bs=4M status=progress
5. Power off and restart Manjaro Xfce from SD card. No need to remove, disable, turn off eMMC. Woohoo! It worked.
Part 2
At this point, the eMMC has been replaced with a new blank part, and the tools put away. Mine is 128Gb. There are other how-tos on that. Very simple. You are powered up now and running on the SD in the Downloads directory. I think it is easiest and safer to download the image files again instead of trying to shuffle things around between the SD and the old eMMC. So here we go again.
1. Download compressed image and sha256 files to your functioning PBP running from SD.
2. Verify whatever.img.xz file integrity against sha256 file. Note: whatever is place holder for your filename.
Code:
sha256sum -b whatever.img.xz
If OK, proceed. Otherwise, begin Part 2 again .
3. Expand the img.xz file.
Code:
unxz whatever.img.xz
Note: The compressed file will disappear unless you save a copy somewhere else before expanding. This procedure assumes everything is in your Downloads folder as is your terminal. Note: This takes a few minutes on PBP.
4. Write downloaded, checked, and expanded Manjaro Xfce (or whatever) image to the new eMMC card with dd:
WARNING: CHECK WITH LSBLK TO VERIFY AND NOTE WHICH DEVICE IS YOUR eMMC BEFORE RUNNING "dd" COMMAND TO WRITE YOUR IMAGE TO IT!
In my case, the eMMC was mmcblk2. Yours could be different, maybe?
Code:
sudo dd if=whatever.img of=/dev/mmcblk2 bs=4M status=progress
5. Turn off PBP, remove SD card and turn PBP on. It should boot from eMMC with Manjaro Xfce (or whatever) installed. Second woohoo! It worked again.
|
|
|
|
| NVME powersaving script |
|
Posted by: mamboman777 - 07-01-2020, 05:17 PM - Forum: General Discussion on Pinebook Pro
- Replies (10)
|
 |
I've tried to solve this and can't quite figure it out.
My goal: on AC power have a script that contains "sudo nvme set-feature /dev/nvme0 -f 2 -v 0" runs; according to the wiki this sets the NVME power management for maximum performance. On Battery power a script that contains "sudo nvme set-feature /dev/nvme0 -f 2 -v 2" runs; according to the wiki this sets the NVME power management for decreased performance, but better battery life.
I have the scripts running successfully, but only as sudo and I can't figure out how to get KDE to run them using the "power management" gui. I tried entering 'sudo /my/script.sh' into the KDE energy management, but it's either failing to run or running into some sort of permission problem.
How can I get these scripts to run whenever AC/BAT change is detected? I wish this were a feature in TLP, but I don't see it there either.
Thanks!
-Josh
|
|
|
|
| Improve WiFi stability |
|
Posted by: RTheren - 07-01-2020, 04:31 PM - Forum: SailfishOS on PinePhone
- No Replies
|
 |
Hello there,
To make WiFi usable on PP (way more stable than normal), run the following commands in terminal:
Code: $ devel-su
# echo 0 > /sys/module/8723cs/parameters/rtw_power_mgnt
Then turn WiFi off and on again. Ping to any IP/hostname doesn't drop so often now, and most apps work much better.
|
|
|
|
| IDE megathread - please contribute |
|
Posted by: brzegorz - 07-01-2020, 03:23 PM - Forum: General Discussion on Pinebook Pro
- Replies (4)
|
 |
Hi, information about IDE's are quite scattered around web and it'd be cool if you shared your experiences with what works, and what does not. I'll start, I'm using Manjaro.
- VS Code - https://aur.archlinux.org/packages/code-headmelted-bin/
works, though it's a bit choppy. It's my IDE of choice for C++ together with the "clangd" extension, which provides good autocompletion/find references/find implementation functionalities. Official C++ extension doesn't support ARM, but it's in progress. Clangd is a good replacement.
- KDevelop - I've installed it, though I don't remember how. I've messed with it a bit and then found out about clangd
- RStudio - I'm not aware of anyone installing it on Manjaro due to missing dependencies(whole Haskell, I think). It's possible it works on Debian, though.
|
|
|
|
| m.2 adapter board screw missing? |
|
Posted by: screamy - 07-01-2020, 02:05 PM - Forum: Pinebook Pro Hardware and Accessories
- Replies (4)
|
 |
I received my m.2 adapter board for the Pinebook Pro about a week ago. My kit came with the adapter board, 4 black screws, a brass-standoff for the m.2 drive, and the ribbon cable.
Three of the black screws are used to hold the adapter board in place, and the fourth I used from the bottom of the board to hold the brass-standoff in place. That leaves me with no m.2 hold-down screw. Also, the black screw used to hold the brass-standoff in place is too long and blocks you from being able to put a hold-down screw in the top of the standoff. Furthermore, the heads of the black screws are too small and can't be used as a hold-down screw as they aren't big enough to grab the edge of the m.2 drive. So is my kit missing a hold-down screw for the m.2 drive? And what do you do about the excessive length of the black screw holding the brass-standoff in place? The screw is so small that you can't hold it if you want to try to file down its length. Any constructive feedback appreciated.
|
|
|
|
|