| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 29,700
» Latest member: runongw
» Forum threads: 16,260
» Forum posts: 117,188
Full Statistics
|
| Latest Threads |
Volumio (PINE A64-LTS / S...
Forum: Linux on PINE A64-LTS / SOPINE
Last Post: kapqa
Yesterday, 02:02 AM
» Replies: 8
» Views: 15,528
|
Reinstallation Arch Linux...
Forum: General Discussion on PineTab
Last Post: rth
11-22-2025, 08:25 PM
» Replies: 1
» Views: 214
|
Old Danctnix server in Pa...
Forum: PineTab Software
Last Post: brorean
11-21-2025, 08:45 PM
» Replies: 1
» Views: 147
|
PinePhone, PinePhone Pro,...
Forum: PinePhone Hardware
Last Post: brb78
11-20-2025, 04:15 PM
» Replies: 0
» Views: 116
|
Recycling pinephone as ho...
Forum: PinePhone Hardware
Last Post: biketool
11-20-2025, 09:04 AM
» Replies: 5
» Views: 616
|
Light Sensor / Proximity ...
Forum: General Discussion on PinePhone
Last Post: WhiteHexagon
11-18-2025, 03:07 PM
» Replies: 1
» Views: 180
|
How to stop it turning on
Forum: General Discussion on PinePhone
Last Post: biketool
11-18-2025, 02:30 PM
» Replies: 3
» Views: 481
|
8/24 status of JumpDrive
Forum: PinePhone Software
Last Post: biketool
11-18-2025, 01:27 PM
» Replies: 5
» Views: 2,179
|
Questions about running U...
Forum: General Discussion on PineTime
Last Post: alicesphere
11-18-2025, 12:48 AM
» Replies: 0
» Views: 109
|
Difficulty with openSUSE ...
Forum: PinePhone Software
Last Post: danm1988
11-17-2025, 07:49 AM
» Replies: 0
» Views: 106
|
|
|
| full disk encryption with luks on manjaro xfce |
|
Posted by: limxr - 02-06-2020, 10:27 PM - Forum: Pinebook Pro Tutorials
- Replies (48)
|
 |
This recipe is for a manjaro xfce pinebook pro image installed to an sdcard. This recipe may work with other manjaro pinebook pro images.
First I created a separate partition for /boot that remained unencrypted. Second, I encrypted the existing root / installation using luks.
I used debian os installed to emmc of pinebook pro, any os that supports luks should work (the default os on pinebook pro does not support luks). You may want to make sure to have a good backup first in case something goes wrong.
Code: ===================================
separate partitions for boot & root
===================================
boot to debian on emmc
create new partition layout using gparted
(boot will be on 1st partition & root on 2nd partition)
resize mmcblk1p1 partition to smallest size to create free space
(don't touch ~31m unallocated space at start of sdcard)
copy mmcblk1p1 & paste into remaining free space
format mmcblk1p1 ext4 to delete files
resize mmclk1p1 to your desired size, for me ~800mb
(don't touch ~31m unallocated space at start of sdcard)
label mmcblk1p1 BOOT
resize/move mmcblk1p2 to fill all remaining free space
move files to /boot
sudo mkdir /mnt/boot; sudo mount /dev/mmcblk1p1 /mnt/boot
sudo mkdir /mnt/root; sudo mount /dev/mmcblk1p2 /mnt/root
cd /mnt/boot
sudo mv /mnt/root/boot/* /mnt/boot
set automount for boot partition
sudo nano /mnt/root/etc/fstab
/dev/mmcblk1p1 /boot ext4 defaults 0 2
configure bootloader
get PARTUUID, for me its 781b2cf9-02
sudo blkid|grep mmcblk1p2
add PARTUUID for root and remove /boot/ folder from 3 lines
cd /mnt/boot/
sudo nano boot.txt
#setenv bootargs console=ttyS2,1500000n8 root=PARTUUID=${uuid} rw rootwait bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash append video=eDP-1:1920x1080@60
setenv bootargs console=ttyS2,1500000n8 root=PARTUUID=781b2cf9-02 rw rootwait bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash append video=eDP-1:1920x1080@60
#if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/Image; then
if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} Image; then
#if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/${fdtfile}; then
if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} dtbs/${fdtfile}; then
#if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /boot/initramfs-linux.img; then
if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} initramfs-linux.img; then
sudo apt install u-boot-tools
sudo ./mkscr
boot to manjaro on sdcard
============
encrypt root
============
boot to manjaro on sdcard
add modules & hooks to initram
(the order the modules and hooks are loaded is important)
sudo nano /etc/mkinitcpio.conf
MODULES=(panfrost rockchipdrm drm_kms_helper hantro_vpu analogix_dp rockchip_rga panel_simple arc_uart cw2015_battery i2c-hid iscsi_boot_sysfs jsm pwm_bl uhid)
BINARIES=()
FILES=()
HOOKS=(base udev keyboard autodetect keymap modconf block encrypt filesystems fsck)
COMPRESSION="cat"
sudo mkinitcpio -P
boot to debian on emmc
encrypt existing partition in place with luks
make sure mmcblk1p2 is not mounted
sudo e2fsck -f /dev/mmcblk1p2
sudo resize2fs -M /dev/mmcblk1p2
sudo cryptsetup-reencrypt /dev/mmcblk1p2 --new --reduce-device-size 16M
sudo cryptsetup open /dev/mmcblk1p2 cryptroot
sudo resize2fs /dev/mapper/cryptroot
sudo mount /dev/mapper/cryptroot /mnt/root
configure bootloader
get UUID for mmcblk1p2
sudo blkid|grep mmcblk1p2
get UUID root, for me its 6d1c2895-f2c2-477f-8415-b04f7a4641da
change kernel parameters for encrypted root including display to console & disable splash
sudo mount /dev/mmcblk1p1 /mnt/boot
cd /mnt/boot
sudo nano boot.txt
# setenv bootargs console=ttyS2,1500000n8 root=PARTUUID=781b2cf9-02 rw rootwait bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash append video=eDP-1:1920x1080@60
setenv bootargs console=tty1 root=/dev/mapper/cryptroot cryptdevice=UUID=0d739f2d-92af-40ec-bd8b-c8f241e6a2ce:cryptroot:allow-discards rw rootwait quiet append video=eDP-1:1920x1080@60
#booti ${kernel_addr_r} - ${fdt_addr_r};
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
sudo ./mkscr
reboot to manjaro on sdcard
|
|
|
|
| Cases and cooling |
|
Posted by: clach04 - 02-06-2020, 09:55 PM - Forum: Rock64 Hardware and Accessories
- Replies (1)
|
 |
I ended up buying https://www.amazon.com/gp/product/B0756RLGRH/
iUniker Raspberry Pi 3 B+ Case with Cooling Fan.... along with a Dremel. It fits rock64 after a few cuts :-) (my board came in a cardboard box so was not able to follow https://forum.pine64.org/showthread.php?tid=4961)
Fan works great (I think I can use the P5 connector and then cut out space for the regular GPIO pins to be usable in this case). I ended up hacking together a stress script to plot charts ala Stressberry that works on the rock64 and the pi. The fan is definitely worth using based on my quick tests.
It came with 3 heatsinks and tape. 2 Aluminium ones with fins and a solid copper one with no fins. I was going to use the bigger finned one on the CPU but wondered about what to do with the other chip. Do nothing or use either the copper or aluminum one. Any thoughts/comments on that?
EDIT added PNG (SVGs not allowed by forum) of temps
temp.png (Size: 111.85 KB / Downloads: 565)
|
|
|
|
For those having issues with the screen turning off |
|
Posted by: wesleyorama - 02-06-2020, 09:22 PM - Forum: SailfishOS on PinePhone
- Replies (5)
|
 |
I finally figured out how to get around the screen turning off and on with the current version of sailfish. Looks like the issue is the with the light sensor, I found that it would the screen would turn off less often if I angled it just right into some strong light. I was able to get into the settings and turn off the "Adjust automatically" setting in the "Display" settings. Once that was turned off everything worked as normal.
|
|
|
|
| Activesync and Ridesharing Apps |
|
Posted by: Prescience500 - 02-06-2020, 07:36 PM - Forum: PinePhone Software
- Replies (2)
|
 |
I'm really excited about the PinePhone and look forward to being able to buy one. However, I'll only be able to use it if I can get work email from Exchange or Office 365 (activesync) and possibly the Lyft app for when I'm traveling. Is there a native linux mobile email app that can handle activesync? Will Android emulation be good at handling Lyft? Thank you for any insight you can give.
|
|
|
|
| Suspend with NVME not working - Default Debian |
|
Posted by: appdev46 - 02-06-2020, 06:56 PM - Forum: General Discussion on Pinebook Pro
- Replies (5)
|
 |
Suspend stopped working after I installed an NVME drive. It appears the PBP goes into suspend. The screen goes black and the led turns red. However, when pressing the power button the PBP will never wake up again. I have to hold the power button 6 seconds to reset it and then boot from scratch.
The drive I installed was the Intel 660p SSDPEKNW512G8X1
I am setting power limiting on boot. I added "sudo nvme set-feature /dev/nvme0 -f 2 -v 2" in /etc/rc.local and have verified that it is setting the feature correctly on boot.
Any ideas how to troubleshoot? Has anyone else gotten suspend to work with an NVME drive installed?
|
|
|
|
[Solved][BraveHeart] PinePhone Failed Headphone Test |
|
Posted by: MrArca9 - 02-06-2020, 12:01 PM - Forum: PinePhone Hardware
- Replies (4)
|
 |
Got the device, tested everything. Seems the headphone jack wasn't producing sound (From either headphone). Interesting, didn't mind too much because the speaker was working.
However, It seems that Ubuntu Touch is locked in Headphone mode. Not entirely sure if this is because of the OS, or because something in the jack port is locked up.
Any ideas how I should go about troubleshooting this?
EDIT:
Okay while writing this up i decided to do some logical testing. Silly me forgot about the kill switches on the back. While the headphone switch was on, it was still not producing anything. After killing it I got the tell tale electrical interference sound, so I knew it wasn't a solder issue. When i Re-enabled the switch the audio seem to come back after testing again.
For anyone landing here from google, or other wise, remember that audio is only produced in the left headphone during the test. This should probably be changed to 'front left' 'front right' 'front left'.
For Ubuntu Touch, it seems it's a OS issue as it worked fine during main testing.
|
|
|
|
| Building/Flashing |
|
Posted by: ashimokawa - 02-06-2020, 09:14 AM - Forum: Nemo Mobile on PinePhone
- Replies (11)
|
 |
When I downloaded the "0.5 image" linked from the wiki, it was just a tarball from the rootfs (including kernel, but no boot script), I tried copying everything to a ext4 partition, but it did not boot that way. Any hints?
Also if someone could point me to build instuctions that would be awesome.
|
|
|
|
|