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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,698
» Latest member: rth
» 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
Today, 02:02 AM
» Replies: 8
» Views: 15,505
Reinstallation Arch Linux...
Forum: General Discussion on PineTab
Last Post: rth
Yesterday, 08:25 PM
» Replies: 1
» Views: 203
Old Danctnix server in Pa...
Forum: PineTab Software
Last Post: brorean
11-21-2025, 08:45 PM
» Replies: 1
» Views: 125
PinePhone, PinePhone Pro,...
Forum: PinePhone Hardware
Last Post: brb78
11-20-2025, 04:15 PM
» Replies: 0
» Views: 102
Recycling pinephone as ho...
Forum: PinePhone Hardware
Last Post: biketool
11-20-2025, 09:04 AM
» Replies: 5
» Views: 603
Light Sensor / Proximity ...
Forum: General Discussion on PinePhone
Last Post: WhiteHexagon
11-18-2025, 03:07 PM
» Replies: 1
» Views: 168
How to stop it turning on
Forum: General Discussion on PinePhone
Last Post: biketool
11-18-2025, 02:30 PM
» Replies: 3
» Views: 475
8/24 status of JumpDrive
Forum: PinePhone Software
Last Post: biketool
11-18-2025, 01:27 PM
» Replies: 5
» Views: 2,165
Questions about running U...
Forum: General Discussion on PineTime
Last Post: alicesphere
11-18-2025, 12:48 AM
» Replies: 0
» Views: 101
Difficulty with openSUSE ...
Forum: PinePhone Software
Last Post: danm1988
11-17-2025, 07:49 AM
» Replies: 0
» Views: 102

 
  PBP Displayed Clock-Calendar Drops Hour Setting On Reboot.
Posted by: jcj52436999 - 12-18-2019, 10:50 AM - Forum: Pinebook Pro Hardware and Accessories - Replies (15)

PBP Displayed Clock-Calendar Drops Hour Setting On Reboot or shutdown.  Clock appears to hold minutes correctly, but not hour of the day.  Almost acts like the PBP fails to hold Time Zone setting across reboots, one must reset the time each time one reboots.  Does PBP have a battery held time chip?  My PBP was just delivered to me early this month, December; and was delivered with the Debian OS.


  Binary blobs in the PinePhone
Posted by: amosbatto - 12-18-2019, 07:50 AM - Forum: General Discussion on PinePhone - Replies (9)

I'm trying to figure out what binary blobs exist in the PinePhone.

The Allwinner A64 has many GPL violations:

Quote:Kernel:
  • lichee/linux-3.10/modules/aw_schw/libschw
  • lichee/linux-3.10/modules/nand/sun50iw1p1/libnand_sun50iw1p1
  • lichee/linux-3.10/drivers/input/touchscreen/aw5x06/libAW5306
  • lichee/linux-3.10/drivers/video/sunxi/disp2/hdmi/libhdmi_sun50iw1
  • lichee/linux-3.10/drivers/media/platform/sunxi-vfe/lib/lib{isp,mipicsi2_v1,mipicsi2_v2}
U-Boot:
(Only u-boot-2014.07 is checked here)
  • lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv8/wine/dram/libdram-homlet
  • lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv8/wine/dram/libdram-pad
  • lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/dram/libchipid
  • lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/dram/libdram
  • lichee/brandy/u-boot-2014.07/drivers/video/sunxi/disp2/hdmi/libhdmi_sun50iw1
  • lichee/brandy/u-boot-2014.07/nand_sunxi/sun50iw1p1/libnand-sun50iw1p1

Allwinner is using binary blobs for the Flash memory, HDMI, DRAM, MIPI CSI interface and touchscreen. The question is whether all of these binary blobs have been removed in mainline Linux. Does anyone have links to the files so I can check?

The Realtek RTL8723CS Wi-Fi/Bluetooth chip requires proprietary firmware in the /lib/firmware directory.

Are there any other components that require binary blobs?


  How to fix keymap of ISO keyboard - default Debian desktop
Posted by: hmuller - 12-17-2019, 07:42 PM - Forum: Pinebook Pro Tutorials - Replies (10)

Problem Statement

In an x11 terminal if you press Shift-` or Shift-3, or AltGr-4, you do not get the expected characters.

And if you open a console (Ctrl-Alt-F1) and login, and you press Shift-`, or Shift-3, or AltGr-`, or AltGr-4, you again do not get the expected characters.

Disclaimer/Recognition

The solution provided below works on the default Debian desktop that is shipped with the Pinebook Pro. Thanks @Mrfixit2001  and @Luke for your work on crafting this.

Solution

You will need an internet connection to install a package (console-setup) farther down.

Confirm you have the problem by checking the keys as described in the Problem Statement above, this could potentially be fixed in a later version of the default Debian desktop.

Open a terminal in an x11 session (the second icon from the left next to the Menu button) and run the following:

Code:
$ localectl
$ sudo localectl set-keymap uk
$ sudo localectl set-x11-keymap gb pc105
$ localectl
$ systemctl reboot

The localectl command shows you what's currently configured, the last command does what you expect and reboots the machine.

Open a terminal in an x11 session again, and run the following:

Code:
$ sudo dpkg-reconfigure keyboard-configuration

Enter the following when prompted:

Keyboard model:

Generic 105-key (Intl) PC

Keyboard layout:

English (UK)

Key to function as AltGr:

Right Alt (AltGr)

Compose key:

No compose key

Use Control+Alt+Backspace to terminate the X server?

No

Then in the terminal run:

Code:
$ localectl
$ systemctl reboot

After the system reboots and you have logged into an x11 session, open a terminal and run the following:

Code:
$ sudo dpkg-reconfigure locales

When prompted, enter the following:

Locales to be generated:

Select your specific locale, in my case I would select en_US.UTF-8 UTF8. If you are in the UK, it would be en_GB.UTF-8 UTF8

Default locale for the system environment:

Select the same thing you entered in the previous question

Then run in the terminal:

Code:
$ localectl
$ systemctl reboot

After you have logged back into an x11 session, if you open a terminal and check the keys, they should be fully functional in the x11 session.

In a terminal run:

Code:
$ localectl
$ sudo apt install console-setup

This should not require user input, and when finished the console keymap should work fully as the x11 keymap does. A reboot is not required.

Some of the reboots above may not be required, but they don't hurt. The localectl commands peppered throughout may be omited, I just thought it was interesting to watch the changes show up.


  Command line flashing script with media verification, xz image support
Posted by: Arglebargle - 12-17-2019, 07:16 PM - Forum: General Discussion on Pinebook Pro - Replies (2)

Hi all,

I've seen a lot of people struggling flashing images to sd cards/emmc from the command line and even more people asking for support after flashing images improperly or without media verification. I wrote a script to make this process easier, hopefully it will reduce the number of problems people are experiencing.

The script handles both raw images (.img files) and xz compressed images and will write and then verify, or with the --verify-only flag simply verify, that your media has been written correctly.

The script is located here: https://github.com/foundObjects/sbc-flasher

Installation is simple, either download the script and optionally make it executable and place it somewhere in your path or just run the installer code below. If pv isn't installed in your distribution by default you'll need to install it if you want pretty progress meters. The installer will ask for sudo permission to install the script in /usr/local/sbin as needed, so there's no need to run it with sudo or as root.

Code:
bash <(wget -o /dev/null -qO- https://raw.githubusercontent.com/foundObjects/sbc-flasher/master/install.sh)
sudo apt install -y pv

Use:

Code:
# sudo flasher.sh
Usage: /usr/local/sbin/flasher.sh (--flags) image(.img|.xz) /dev/target_block_device

Flags:
  -W | --write-only  | --write    Write pass only, no verification
  -V | --verify-only | --verify   Verify only
  -x | --debug                    Extremely verbose output (like bash -x ...)
       --no-pv                    Don't use pipeviewer

Flashing an image:

Code:
root@pinebookpro:/data/images# flasher.sh pinebookpro-debian-mrfixit-191127.img.xz /dev/mmcblk0
writing xz compressed image to /dev/mmcblk0
5.01GiB 0:02:46 [30.8MiB/s] [==================================================================>] 100%
0+574861 records in
0+574861 records out
5377097728 bytes (5.4 GB, 5.0 GiB) copied, 181.469 s, 29.6 MB/s
Write successful
Verifying xz image
5.01GiB 0:03:37 [23.6MiB/s] [==================================================================>] 100%
Image verified successfully

Flash verification is simple as well:

Code:
root@pinebookpro:/data/images# flasher.sh --verify-only pinebookpro-debian-mrfixit-191127.img /dev/mmcblk0
Verifying raw image
335MiB 0:00:11 [26.6MiB/s] [===>                                                                               ]  6% ETA 0:02:37

Debugging:

Run the script with -x: `sudo flasher.sh -x yourimage /dev/flash_target |& tee flashlog` to see what's going wrong and dump execution flow to a file. Please use pastebin.com (or hastebin.com, everyone should use hastebin because hastebin is awesome) instead of pasting debug output here if you need help.

You're welcome to do whatever you want with this script, hopefully it saves everyone some time.


  android permission query
Posted by: mdyksa - 12-17-2019, 03:47 PM - Forum: Android on Rock64 - Replies (5)

Hi all,


I have query regarding permissions for external drive on android TV and android 7.1 


Android TV 7.1 Community Build Image [microSD Boot] by ayufan
and 
Android 7.1.2 Stock Image [microSD Boot] [Rooted] [20171204]

In both cases external drive (2T ntfs partition) is mounted as read only Is there any possible to change that situation. I know that second release is rooted but I've tried use root account and change permission and owner with chmod and chown but without result.

 Or maybe I should you some other release? 

Thanks in advance. 


  US 4G/5G LTE support
Posted by: rocket2nfinity - 12-17-2019, 01:07 PM - Forum: PinePhone Hardware - Replies (17)

I've been talking with Quectel's  engineers about the possibility of swapping the EC25-G module with the EC25-AF that has all the bands for US 4G+ LTE on AT&T and T-Mobile and their related MVNOs.

They tell me that electrically, it's possible - the modules are compatible, and the antennas would likely not need to be changed. However, getting the EC-25-G module off the board would be difficult. It requires unsoldering the pins and heating the module to soften the solder underneath. The module will not survive the disassembly. But cleaning the pads and putting the EC25-AF should be straight forward. The module has it's software and IMEI and serial# loaded to the module but would require registering it if it hasn't been done already (I have a registered module sitting on my desk).

Before I consider risking doing this,  I'd like to know the possibility of Pine doing a batch of PinePhones for the North American market next year. How hard would it be to portion a subset of the next batch with the EC25-AF  module?


  Forums - List Formatting
Posted by: hmuller - 12-17-2019, 10:02 AM - Forum: General - Replies (5)

What is the proper method to apply list formatting (numbered or bulleted) to a post? I have used both the formatting buttons and MyCode. In each case I see the list in the editing window, but when previewed or posted, the lists do not show.

Curious


  Welcome letter - feedback welcome
Posted by: Luke - 12-17-2019, 06:50 AM - Forum: General Discussion on Pinebook Pro - Replies (14)

Hi all,

We'll be including a 'welcome' letter - or perhaps more accurately a 'getting started' letter - with future Pinebook Pro shipments. Here are the contents, let me know if I missed something:


Quote:Dear Piner,

Congratulations on your new Pinebook Pro! The Pinebook Pro has been created in conjunction with our community of developers and end-users like yourself. 

Our community maintains a well documented Wiki found on wiki.pine64.org. The Pinebook Pro Wiki section includes information about troubleshooting, available OSs, hardware disassembly, NVMe installation and compatibility, activation of privacy switches, the PCB layout as well as many other aspects of your device. Make sure to consult it regularly and contribute to it in any way you see fit. 

Anyone with a PINE64 forum account (forums.pine64.org) can contribute to the Wiki.      

Here are a few things to get you started: 
To power on your Pinebook Pro long-press the power button. On initial boot you’ll see a custom Debian PINE64 splash screen, after which the Pinebook Pro will reboot itself. This only occurs upon initial startup. We suggest that you do not plug in any external USB peripherals (USB-C docks, SSD/HDDs, mice, etc.,) on the first boot. Once the Pinebook Pro power cycles, you’ll be greeted with a LightDM login screen. 

The default operating system is Debian with a stylized MATE desktop 
The default login credentials are: rock / rock 

You can find out more information about the default Debian build on our forums - the thread is found in the Pinebook Pro section -> General Discussion on the Pinebook Pro -> Default OS update log. 

This thread also provides information on how to update the installation to newest version, change your username and home directory name, and lists all known bugs and improvements made to the system over time. 

Here is where you get help:
You are welcome to share your experience and ask any questions you may have on our forums and in the PINE64 community chats. The default OS comes with HexChat (IRC client) preinstalled that connects directly to our IRC server. Other chat options are also available and accessible via Forums and Chats drop-down on our main page (pine64.org). 

Have fun!


  Looking for Linux decoder/encoder API in H6 as well as any transcoding example
Posted by: gojustingo - 12-17-2019, 02:48 AM - Forum: Linux on Pine H64 - Replies (1)

Subject: looking for Linux decoder/encoder API in H6 as well as any transcoding example


Dear community,

Please allow me to ask a very basic question here. 

Can anyone help me where to find decoder/encoder Linux API's in H6 as well as any transcoding exemplary code by using those API's?


Justin


  Node Red on the Pine
Posted by: DonFL - 12-16-2019, 04:21 PM - Forum: General Discussion on PINE A64(+) - No Replies

Curious if anyone has done anything of significance with Node Red on the Pine. I've seen one post detailing the install, but otherwise, not a lot of discussion.

I just got messing around with Node Red this weekend, using a Raspberry Pi, and it got me thinking about these Pine boards sitting here not really doing much. The tool can do some pretty cool stuff, I'm sure I could come up with something useful for the Pine to be doing via Node Red.

The Pi has some nodes created for it, so its easy to control gpio, but not sure I've seen any mention of the same thing being done for the Pine. And, not being a node.js guru, not sure just how complex it would be to create some for the Pine.

Anyone? Any expert insight is appreciated.