permacomputing

Source repository for the main permacomputing wiki site
git clone http://git.permacomputing.net/repos/permacomputing.git # read-only access
Log | Files | Refs

chalinebang.mdwn (2015B)


      1 #PostmarketOS Installation 
      2 
      3 **If my phone is so smart, why am I only using it to do silly things?**
      4 **Installation steps on how to 'Linux your Android' using PMos**
      5  <li><a href="https://postmarketos.org">PostmarketOS</a>, a touch-optimized, pre-configured Alpine Linux with own packages, that can be installed on smartphones</li>
      6 
      7 For this (...) we are using a <a href="https://wiki.postmarketos.org/wiki/Samsung_Galaxy_A3_2015_(samsung-a3)">Samsung Galaxy A3 2015</a> but you can find your <a href="https://wiki.postmarketos.org/wiki/Devices"> device</a> in the community section.
      8 
      9 1.Install **heimdall** and **fastboot**. In the terminal run the following:
     10 
     11     sudo apt-get install heimdall-flash fastboot
     12 
     13 2.Download Samsung A3 1k2nd bootloader <a href="https://github.com/msm8916-mainline/lk2nd/releaseslk2nd-msm8916.img">lk2nd-msm8916.img</a>  
     14     If you use a browser to download this file, it will end up in the users **Downloads** folder. In order to follow along with the guide, make sure you cd to the **Downloads** folder by writing **cd ~/Downloads** in the terminal
     15 
     16 3.Shutdown the phone, and boot it holding the
     17     
     18     HOME + Volume UP + POWER
     19 
     20 4.Connect the phone to the PC using a micro USB cable
     21 
     22 5.In the terminal, enter the following command to flash the downloaded firmware:
     23 
     24     heimdall flash --BOOT lk2nd-msm8916.img
     25 
     26 6.The phone should boot into the ik2nd bootloader
     27 
     28 7.Download a pre-built image with <a href="https://postmarketos.org/install/">sxmo-de-sway</a> (Stable). Make sure to download the **.xz** file without **boot** in the filename.
     29 
     30 8.Unpack the **.xz** archive
     31 
     32     unxz --keep 20241002-0701-postmarketOS-v24.06-sxmo-de-sway-1.15.0-samsung-a3.img.xz
     33 
     34 9.Flash PostmarketOS
     35 
     36     fastboot flash userdata 20241002-0701-postmarketOS-v24.06-sxmo-de-sway-1.15.0-samsung-a3.img
     37 
     38 10.Erase system and reboot the phone
     39 
     40     fastboot erase system && fastboot reboot
     41 
     42 11.**DONE!** The phone should boot into PostmarketOS
     43 
     44 
     45  
     46     HOME + Volume DOWN + POWER 
     47 use the file downloaded 
     48