<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://leste.maemo.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Venji10</id>
	<title>Maemo Leste Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://leste.maemo.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Venji10"/>
	<link rel="alternate" type="text/html" href="https://leste.maemo.org/Special:Contributions/Venji10"/>
	<updated>2026-05-21T22:55:00Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://leste.maemo.org/index.php?title=PinePhone&amp;diff=1253</id>
		<title>PinePhone</title>
		<link rel="alternate" type="text/html" href="https://leste.maemo.org/index.php?title=PinePhone&amp;diff=1253"/>
		<updated>2022-01-03T00:09:23Z</updated>

		<summary type="html">&lt;p&gt;Venji10: Fix grammar&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Stub}}&lt;br /&gt;
&lt;br /&gt;
{{Infobox Device&lt;br /&gt;
|image=&lt;br /&gt;
|manufacturer=Pine64&lt;br /&gt;
|codename=&lt;br /&gt;
|dimensions=&lt;br /&gt;
|release_date=&lt;br /&gt;
|soc=Allwinner A64&lt;br /&gt;
|dram=&lt;br /&gt;
|power=&lt;br /&gt;
|lcd=&lt;br /&gt;
|video=&lt;br /&gt;
|audio=&lt;br /&gt;
|network=&lt;br /&gt;
|storage=&lt;br /&gt;
|usb=&lt;br /&gt;
|camera=&lt;br /&gt;
|sensors=&lt;br /&gt;
|other=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The first Pinephone (braveheart) phone&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; [https://maedevu.maemo.org/images/pinephone/ Testing images repo.] &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; What you can do with the 20200223 image:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Run any applications in Debian and Devuan on your phone&lt;br /&gt;
* Connect to wifi&lt;br /&gt;
* Use the terminal&lt;br /&gt;
* (With not yet finished userspace, terminal only) connect to 2G/3G/4G data connections&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; TODO mention/link to:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* USB peripheral&lt;br /&gt;
* Develop for Maemo Leste and work on applications that interface with modems&lt;br /&gt;
* Make it work on latest pine64 kernel&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Note that: &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Virtual keyboard should work in all gtk2 applications (not yet in gtk3 and qt, but this is coming).&lt;br /&gt;
* Default virtual keyboard is set to off. You may want to go to setting and change that first for using the terminal. Click the top left corner-&amp;gt;&amp;quot;Settings&amp;quot;-&amp;gt;&amp;quot;Text input&amp;quot;-&amp;gt;check the &amp;quot;Use virtual keyboard&amp;quot; option. You may also want to change the keyboard layout by changing the dictionary setting.&lt;br /&gt;
* WiFi and terminal work.&lt;br /&gt;
* Some rendering bugs in portrait mode remain, so the default desktop orientation is landscape for now (&amp;lt;code&amp;gt;xrandr -o right&amp;lt;/code&amp;gt;). Please note that if orientation is changed (e.g. with &amp;lt;code&amp;gt;xrandr -o normal&amp;lt;/code&amp;gt;) the ui will still be reading original key positions.&lt;br /&gt;
* Screen brightness adjustments in UI do not work on the Pinephone yet. There is also a user reported when &amp;quot;brightness&amp;quot; UI setting is set to minimum (no visual change normally), the screen will stay black after reboot with WiFi set to ON with kill switch. However screen is normal after reboot if WiFi set to OFF with kill switch even minimum &amp;quot;brightness&amp;quot; UI setting. You may still change the screen brightness with terminal commands: &amp;lt;code&amp;gt;xrandr --output DSI-1 --brightness 0.5&amp;lt;/code&amp;gt;&lt;br /&gt;
* Performance is not bad, but will get better, with hildon-desktop optimisations and as lima improves.&lt;br /&gt;
* We are not shipping the latest Pinephone kernel yet (feel free to work on that, or anything above!)&lt;br /&gt;
* Many &amp;quot;games&amp;quot; packages in the Application Manager don&#039;t work well yet.&lt;br /&gt;
* For some reason the X cursor is still shown (usually it&#039;s hidden)&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Feature&lt;br /&gt;
! Leste supported&lt;br /&gt;
! Notes&lt;br /&gt;
|-&lt;br /&gt;
| Kernel version || 5.10 || Mainline + some patches: https://github.com/maemo-leste/pine64-kernel&lt;br /&gt;
|-&lt;br /&gt;
| Serial || Yes || Via headphone jack (disable headphone switch)&lt;br /&gt;
|-&lt;br /&gt;
| Charging || Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Wireless || Yes || Involves installing out of tree driver&lt;br /&gt;
|-&lt;br /&gt;
| Ethernet || N/A ||&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth || ? || &lt;br /&gt;
|-&lt;br /&gt;
| Infrared || N/A || TX only (hardware limitation). &lt;br /&gt;
|-&lt;br /&gt;
| USB C || Yes || Peripheral/slave only, exposes network gadget by default. Host Untested&lt;br /&gt;
|-&lt;br /&gt;
| Keyboard || N/A || !&lt;br /&gt;
|-&lt;br /&gt;
| Screen || Yes || Modesetting driver&lt;br /&gt;
|-&lt;br /&gt;
| 3D Acceleration || Yes || mesa-lima&lt;br /&gt;
|-&lt;br /&gt;
| Touchscreen || Yes || Capacitive&lt;br /&gt;
|-&lt;br /&gt;
| Audio || Yes || Pulseaudio and UCM units&lt;br /&gt;
|-&lt;br /&gt;
| 2G/3G data || WIP || Works with ofono; UI underway: https://github.com/maemo-leste/connui-cellular ; see https://github.com/maemo-leste/bugtracker/issues/76&lt;br /&gt;
|-&lt;br /&gt;
| SMS || WIP || Works with ofono, will using telepathy-ring, no UI yet, not enabled by default&lt;br /&gt;
|-&lt;br /&gt;
| Phone calls || WIP || Reported to work, not enabled by default, community is quite far along, needs to work package their work&lt;br /&gt;
|-&lt;br /&gt;
| Accelerometer || Yes ||&lt;br /&gt;
|-&lt;br /&gt;
| Proximity sensor || Yes || &lt;br /&gt;
|-&lt;br /&gt;
| RGB LED || WIP || Works, but mce can&#039;t deal with LEDs without controllers yet.&lt;br /&gt;
|-&lt;br /&gt;
| Vibration Motor || ? || &lt;br /&gt;
|-&lt;br /&gt;
| GPS || WIP || Works with WIP Leste GPS stack&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
(Work in Progress)&lt;br /&gt;
&lt;br /&gt;
Currently: &lt;br /&gt;
* .img.xz does not match .img.sha&lt;br /&gt;
* working out how to install .tar.gz&lt;br /&gt;
&lt;br /&gt;
Unlike most phones, it&#039;s pretty simple.&lt;br /&gt;
&lt;br /&gt;
Download the image and the corresponding &amp;lt;code&amp;gt;.sha&amp;lt;/code&amp;gt; file, then verify the image&#039;s integrity:&lt;br /&gt;
&lt;br /&gt;
 $ cat maemo-leste-*-arm64-pinephone-*.img.sha&lt;br /&gt;
 $ sha256sum maemo-leste-*-arm64-pinephone-*.img.xz&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 $ cat maemo-leste-*-arm64-pinephone-*.tar.gz.sha&lt;br /&gt;
 $ sha256sum maemo-leste-*-arm64-pinephone-*.tar.gz&lt;br /&gt;
&lt;br /&gt;
Verify that the number that each command spits out is exactly the same number. If it is not, do not use the image. Try redownloading or ask for help.&lt;br /&gt;
&lt;br /&gt;
=== SD Card Installation ===&lt;br /&gt;
==== Prepare the SD card ====&lt;br /&gt;
&lt;br /&gt;
Format the SD card as ext4 using any of your preferred tools.&lt;br /&gt;
&lt;br /&gt;
====if you downloaded the .img.xz====&lt;br /&gt;
&lt;br /&gt;
extract the image:&lt;br /&gt;
&lt;br /&gt;
 $ cp maemo-leste-*-arm64-pinephone-*.img.xz /path/to/sd-card&lt;br /&gt;
 $ cd /path/to/sd-card&lt;br /&gt;
 $ tar --extract -f maemo-leste-*-arm64-pinephone-*.img.xz&lt;br /&gt;
&lt;br /&gt;
dd the image to an SD-Card. If using a Windows machine, you can use [https://etcher.io/ Etcher] NOTE: Etcher does not warn you before starting the flashing operation, so please be extra careful that you choose the correct device to flash to.&lt;br /&gt;
&lt;br /&gt;
In a terminal window, use the command below, making sure you replace the input file &amp;lt;code&amp;gt;if=&amp;lt;/code&amp;gt; argument with the path to your file, and the &amp;lt;code&amp;gt;/dev/sdX&amp;lt;/code&amp;gt; in the output file &amp;lt;code&amp;gt;of=&amp;lt;/code&amp;gt; argument with the correct device name. This is very important, as you will lose all the data on the hard drive if you provide the wrong device name. Make sure the device name is the name as described above, with no partition numbers. For example: sdd, not sdds1 or sddp1; mmcblk0, not mmcblk0p1. In most cases with SD cards, your computer might read the SD card as mmcblk0 or something similar. Don&#039;t copy and paste this command, type it out and use TAB completion.&lt;br /&gt;
&lt;br /&gt;
 $ dd bs=4M if=maemo-leste-*-arm64-pinephone-*.img of=/dev/sdX conv=fsync&lt;br /&gt;
&lt;br /&gt;
Please note that block size set to 4M will work most of the time. If not, try 1M, although this will take considerably longer. Also note that if you are not logged in as root you will need to prefix this with sudo.&lt;br /&gt;
&lt;br /&gt;
====if you downloaded the .tar.gz====&lt;br /&gt;
&lt;br /&gt;
This might work? &lt;br /&gt;
&lt;br /&gt;
 $ cp maemo-leste-*-arm64-pinephone-*.tar.gz /path/to/sd-card &lt;br /&gt;
 $ cd /path/to/image/&lt;br /&gt;
 $ tar --extract -f maemo-leste-*-arm64-pinephone-*.tar.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then insert SD card, replace the back cover, and turn it on.&lt;br /&gt;
&lt;br /&gt;
These steps should work in theory, but at the moment the image is unbootable.&lt;br /&gt;
&lt;br /&gt;
=== eMMC Installation ===&lt;br /&gt;
&lt;br /&gt;
==== Extract the image ====&lt;br /&gt;
&lt;br /&gt;
Download the .img.xz version of the image and extract it:&lt;br /&gt;
&lt;br /&gt;
 $ unxz -k maemo-leste-*-arm64-pinephone-*.img.xz&lt;br /&gt;
&lt;br /&gt;
==== Modify the image to use eMMC paths ====&lt;br /&gt;
&lt;br /&gt;
The image, by default, points to &amp;lt;code&amp;gt;/dev/mmcblk0&amp;lt;/code&amp;gt; for SD cards, which must be modified to point to &amp;lt;code&amp;gt;/dev/mmcblk2&amp;lt;/code&amp;gt; for the eMMC.  To start, determine the starting points of the image partitions:&lt;br /&gt;
&lt;br /&gt;
 $ fdisk -u -l maemo-leste-*-arm64-pinephone-*.img.xz&lt;br /&gt;
&lt;br /&gt;
In the output of this command, look for the &#039;&#039;&#039;Start&#039;&#039;&#039; column and multiply these values individually with the value given by the &#039;&#039;&#039;Units&#039;&#039;&#039; section -- this gives the offsets of the partitions from the beginning of the file.&lt;br /&gt;
&lt;br /&gt;
Mount the first partition and enter it:&lt;br /&gt;
&lt;br /&gt;
 $ sudo mount -o loop,offset=&amp;lt;Partition 1 offset&amp;gt; maemo-leste-*-arm64-pinephone-*.img /mnt&lt;br /&gt;
 $ cd /mnt&lt;br /&gt;
&lt;br /&gt;
Use the editor of your choice to edit &amp;lt;code&amp;gt;boot.txt&amp;lt;/code&amp;gt;, replacing &amp;lt;code&amp;gt;/dev/mmcblk0&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;/dev/mmcblk2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Regenerate &amp;lt;code&amp;gt;boot.scr&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $ sudo mkimage -A arm -O linux -T script -C none -a 0 -e 0 -d boot.txt boot.scr&lt;br /&gt;
&lt;br /&gt;
Leave the first partition and unmount it:&lt;br /&gt;
&lt;br /&gt;
 $ cd ~&lt;br /&gt;
 $ sudo umount /mnt&lt;br /&gt;
&lt;br /&gt;
Mount the second partition and enter it:&lt;br /&gt;
&lt;br /&gt;
 $ sudo mount -o loop,offset=&amp;lt;Partition 2 offset&amp;gt; maemo-leste-*-arm64-pinephone-*.img /mnt&lt;br /&gt;
 $ cd /mnt&lt;br /&gt;
&lt;br /&gt;
Use the editor of your choice to edit &amp;lt;code&amp;gt;etc/fstab&amp;lt;/code&amp;gt;, replacing &amp;lt;code&amp;gt;/dev/mmcblk0&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;/dev/mmcblk2&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Leave the second partition and unmount it:&lt;br /&gt;
&lt;br /&gt;
 $ cd ~&lt;br /&gt;
 $ sudo umount /mnt&lt;br /&gt;
&lt;br /&gt;
The image is now ready to be installed to the eMMC.&lt;br /&gt;
&lt;br /&gt;
==== Install image to eMMC ====&lt;br /&gt;
&lt;br /&gt;
Refer to the [https://wiki.pine64.org/index.php/PinePhone_Software_Release#Installation_to_eMMC_.28Optional.29 Pine64 Wiki].&lt;br /&gt;
&lt;br /&gt;
[[Category:Device]]&lt;/div&gt;</summary>
		<author><name>Venji10</name></author>
	</entry>
	<entry>
		<id>https://leste.maemo.org/index.php?title=Image_Builder&amp;diff=965</id>
		<title>Image Builder</title>
		<link rel="alternate" type="text/html" href="https://leste.maemo.org/index.php?title=Image_Builder&amp;diff=965"/>
		<updated>2021-02-16T21:45:44Z</updated>

		<summary type="html">&lt;p&gt;Venji10: git is required for cloning repositories&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to build your own images =&lt;br /&gt;
&lt;br /&gt;
== Maemo 7 Leste ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://github.com/maemo-leste/image-builder Github]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1.) Install the following packages: &amp;lt;pre&amp;gt;debootstrap curl git wget qemu-user-static build-essential rsync gcc-arm-none-eabi gcc-multilib lib32z1 u-boot-tools device-tree-compiler lzop dosfstools vboot-utils vboot-kernel-utils libftdi-dev libfdt-dev swig libpython-dev bc bison flex libssl-dev zsh git&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1.1) If you&#039;re using a distribution that is not Devuan, you will have to add a beowulf target to its scripts until the patch is merged upstream&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# wget -O /usr/share/debootstrap/scripts/ceres https://salsa.debian.org/installer-team/debootstrap/-/raw/e835c655006881af69de5476455ac0e7c824bcc4/scripts/ceres&lt;br /&gt;
# ln -s /usr/share/debootstrap/scripts/ceres /usr/share/debootstrap/scripts/beowulf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.) In your terminal, run the following commands: &lt;br /&gt;
 $ git clone --recurse-submodules https://github.com/maemo-leste/image-builder.git&lt;br /&gt;
 $ cd image-builder/arm-sdk&lt;br /&gt;
 $ zsh -f&lt;br /&gt;
 $ source sdk&lt;br /&gt;
 $ load devuan DEVICE_NAME maemo&lt;br /&gt;
 $ build_arm_dist&lt;br /&gt;
&lt;br /&gt;
Note: replace &amp;lt;code&amp;gt;DEVICE_NAME&amp;lt;/code&amp;gt; with your board name:&lt;br /&gt;
&lt;br /&gt;
* n900&lt;br /&gt;
* n950&lt;br /&gt;
* n9&lt;br /&gt;
* droid4&lt;br /&gt;
* odroidxu&lt;br /&gt;
* odroidxu4&lt;br /&gt;
* ouya&lt;br /&gt;
* raspi1&lt;br /&gt;
* raspi2&lt;br /&gt;
* raspi3&lt;br /&gt;
* raspi4&lt;br /&gt;
* rock64&lt;br /&gt;
* pinephone-dontbeevil&lt;br /&gt;
* pinephone&lt;br /&gt;
* pinetab&lt;br /&gt;
* sunxi&lt;br /&gt;
* turbox-twister&lt;/div&gt;</summary>
		<author><name>Venji10</name></author>
	</entry>
	<entry>
		<id>https://leste.maemo.org/index.php?title=Image_Builder&amp;diff=964</id>
		<title>Image Builder</title>
		<link rel="alternate" type="text/html" href="https://leste.maemo.org/index.php?title=Image_Builder&amp;diff=964"/>
		<updated>2021-02-12T23:58:35Z</updated>

		<summary type="html">&lt;p&gt;Venji10: add zsh to dependencies list&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to build your own images =&lt;br /&gt;
&lt;br /&gt;
== Maemo 7 Leste ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://github.com/maemo-leste/image-builder Github]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1.) Install the following packages: &amp;lt;pre&amp;gt;debootstrap curl git wget qemu-user-static build-essential rsync gcc-arm-none-eabi gcc-multilib lib32z1 u-boot-tools device-tree-compiler lzop dosfstools vboot-utils vboot-kernel-utils libftdi-dev libfdt-dev swig libpython-dev bc bison flex libssl-dev zsh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1.1) If you&#039;re using a distribution that is not Devuan, you will have to add a beowulf target to its scripts until the patch is merged upstream&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# wget -O /usr/share/debootstrap/scripts/ceres https://salsa.debian.org/installer-team/debootstrap/-/raw/e835c655006881af69de5476455ac0e7c824bcc4/scripts/ceres&lt;br /&gt;
# ln -s /usr/share/debootstrap/scripts/ceres /usr/share/debootstrap/scripts/beowulf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.) In your terminal, run the following commands: &lt;br /&gt;
 $ git clone --recurse-submodules https://github.com/maemo-leste/image-builder.git&lt;br /&gt;
 $ cd image-builder/arm-sdk&lt;br /&gt;
 $ zsh -f&lt;br /&gt;
 $ source sdk&lt;br /&gt;
 $ load devuan DEVICE_NAME maemo&lt;br /&gt;
 $ build_arm_dist&lt;br /&gt;
&lt;br /&gt;
Note: replace &amp;lt;code&amp;gt;DEVICE_NAME&amp;lt;/code&amp;gt; with your board name:&lt;br /&gt;
&lt;br /&gt;
* n900&lt;br /&gt;
* n950&lt;br /&gt;
* n9&lt;br /&gt;
* droid4&lt;br /&gt;
* odroidxu&lt;br /&gt;
* odroidxu4&lt;br /&gt;
* ouya&lt;br /&gt;
* raspi1&lt;br /&gt;
* raspi2&lt;br /&gt;
* raspi3&lt;br /&gt;
* raspi4&lt;br /&gt;
* rock64&lt;br /&gt;
* pinephone-dontbeevil&lt;br /&gt;
* pinephone&lt;br /&gt;
* pinetab&lt;br /&gt;
* sunxi&lt;br /&gt;
* turbox-twister&lt;/div&gt;</summary>
		<author><name>Venji10</name></author>
	</entry>
</feed>