If you have a device that has been ported to the postmarket, this page will help you to obtain, build and install postmarketOS on this device. All commands must be entered in the terminal are prefixed with $. You don’t have to insert the character, it just means that the following commands are used to enter / run in the terminal. For example, the following command to list the contents of the current working directory, ls will be listed on the page as:
We assume you are using Gnu/Linux. If you haven’t installed Gnu/Linux first, set up a virtual machine using VirtualBox. Python 3.4+ and git must be installed (see the documentation of your distribution for installing packages) Several gigabytes of free space in the ROM
The preparatory phase
Run the following commands in the Linux terminal to work with.
Carefully choose the user interface that you want to install. Check the wiki page of your device for the presence of interfaces that are known to work with your device. Weston and XFCE4 can be used on devices that do not have 3D hardware acceleration (most of them!), other noticeable slow down. Please read the relevant article of the user interface for information about how to use each interface, and keep in mind that most of them can’t be used.
Доступные пользовательские интерфейсы (5):
* none: нет графической среды
* hildon: (X11) легкий интерфейс GTK+2 (оптимизирован для сенсорных экранов с одним касанием)
* luna: (Wayland) webOS UI, портированный из проекта LuneOS (пока не работает)
* plasma-mobile: (Wayland) мобильный вариант KDE Plasma, оптимизированный для сенсорного экрана
* weston: (Wayland) Reference compositor (демо, не телефонный интерфейс)
* xfce4: (X11) легкая ГТК+2 СРС (рекомендуется)
User interface [weston значение по-умолчанию]:Здесь введите название среды, например mate
If You don’t know what you want to change something, you can respond to the default values, just press Enter.
Make sure the location has several GB of free space, and that’s a relatively standard Linux file system (so it supports device nodes and symbolic links). In particular, supported several: eCryptFS, encfs, fat, ntfs, nfs shares, tmpvs, VirtualBox shared folders.
Расположение рабочей папки. Несколько chroot-окружении (родные, телефона, устройства файловых систем) будут созданы там.
Work path [/home/user/.local/var/pmbootstrap]:
Параметры сборки: количество потоков сборки (число ядер процессора +1): 3, кэш на ccache: 5Гб
Менять их? (y/ n) [n]:
Дополнительные пакеты, которые будут установлены в корневой ФС. Укажите их в списке через запятую (например: vim, file) или " none"
Дополнительные пакеты [нет]:
Часовой пояс хоста: Азия / Екатеринбург
Использовать этот Часовой пояс вместо GMT? (y/ n) [y]:
Installation and firmware
Not all installation methods and firmware work for all devices. Please check the wiki page of your device for further instructions! Below You will find a General explanation of what actions the installation and firmware, in case the installation instructions are missing for your device. If so, please expand the Wiki.
The action “install”, in fact, performs the following actions:
building a chroot with a full install, as it will be available on the device copying it to an encrypted file system image asking user password encryption
You can disable the full disk encryption (FDE) option –no-fde (perhaps interface fde osk-sdl have not yet been transferred to your device). By default already off. On the contrary, to enable it add the key --fde
In addition, you can change the output Type (system image) to something else with the following parameters.
--sdcard: formatting and copying system on the SD card
--android-recovery-zip: creates a zip file that you can use with TWRP, CWM or other recovery systems Android.
Examples of commands (it makes sense to use only one):
This command wraps the different flash programs (such as fastboot and heimdall) General syntax and automatically fills in the path to the generated file. Usually you have to flash the system image (if You did not install the SD card or the zip recovery):
If your system partition is too small for the generated image, the system can be flashed to another section. Just don’t forget to erase all previous settings postmarketOS in other sections, because the boot script will start with the first one he faced. (To remove a previous version, use dd or just install it on a known working OS, for example Android).
And then you need to load or flash the kernel (so only run one of the commands). Again, this is not necessarily when you used the restore zip. But it is necessary in most cases with an SD card (unless the device can’t load the kernel from the SD card, such as N900).
$ ./pmbootstrap.py flasher boot # Запуск boot.img без прошивки
$ ./pmbootstrap.py flasher flash_kernel # Прошивка boot.img в бут-раздел
Like any team pmbootstrap, you can check the help page for details:
Community Pine64 announced the imminent start of accepting pre-orders for the smartphone PinePhone postmarketOS Community Edition with IOS mobile platform postmarketOS based on Alpine Linux, Musl and BusyBox. Opening of pre-orders scheduled for the beginning of July 2020. The cost of the smartphone will amount to 149.99 dollars.
The default value is the user shell Phosh developed by the company for the Purism Librem 5 smartphone based on the technology of the GNOME and Wayland. If desired, the user can upload the firmware with the KDE Plasma Mobile, but in order not to duplicate the efforts at stabilization postmarketOS Community Edition primary environment selected Phosh. Of the features of the firmware it is noted that the application of new installer to support installation with encrypted all data on the drive (the password for access to encrypted partitions is set at first boot).
The firmware is still under beta testing and not all of the errors and omissions corrected (major problems they promise to solve it before the delivery devices on pre-order). However, the basic functionality of a smartphone works, including the means to make calls, send and receive SMS, access the network via the cellular network or Wi-Fi. The interface is optimized for touch screens of small size and is based on standard technologies GNOME or KDE, depending on the selected shell.
Hardware PinePhone is designed to use interchangeable components – most of the modules are not soldered and connected via detachable cables, allowing, for example, if you want to replace the default one mediocre camera to a higher quality. The device is built on a Quad-core SoC Allwinner A64 c ARM Mali 400 MP2 GPU, has 2 GB of RAM, 5.95-inch screen (1440×720 IPS), Micro SD (support boot from SD card), 16GB eMMC (internal), USB-C port with USB Host and a combined video output for monitor connection, Wi-Fi 802.11 b/g/n, Bluetooth 4.0 (A2DP), GPS, GPS-A, GLONASS, dual cameras (2 and is 5mpx), a 3000mAh battery, hardware components with switchable LTE/GNSS, Wi-Fi, microphone and speakers.
The aim of the project postmarketOS is the possibility of using a GNU/Linux distribution on a smartphone, independent of life-cycle support for the official firmware and not tied to the model solutions from major industry players, defining the vector of development.
ORIGINAL PAGE – https://vk.com/@rucorenet-pinephone-s-postmarketos
All information posted has been taken from public sources and is provided for information purposes only and does not constitute an invitation to action. It was created only for educational and entertainment purposes. All information is intended to protect readers from illegal actions. The visitor undertakes all possible losses caused. The author does all actions only on his own equipment and in his own network. Do not repeat anything read in real life. | Also, if you are the rightholder of the material posted on the pages of the portal, please write to us through contact form complaint about the removal of a particular page, as well as read instruction for rightholders of materials. Thank you for understanding.
We are not against any use of materials, but when you specify an active link to our site. Be sure to share records on social networks - let's develop our cozy service together!
This is an open platform for viewing and publishing a variety of information about PCs, operating systems, gadgets such as Android and Apple, and more!
Connect with us
To contact us, you can write to us at the e-mail address specified in the section "contacts".