Changes

Jump to: navigation, search

Porting to a new device

29 bytes added, 01:54, 22 October 2017
Device-specific package
<pre class="shell">cp -r aports/device/device-samsung-i9100 aports/device/device-vendor-name</pre>
The important files are <code>APKBUILD</code> (''build recipe, [[Glossary#apk|apk is an Alpine Linux term]]'') and [[deviceinfo]]. Please adjust them as necessary. (More For more info , see [[How_to_find_device_specific_information#Fastboot_.28bootHow to find device specific information]], particularly the section "Fastboot (boot.img) flash offsets".29_flash_offsets]])<br/> Note that if your device uses '''fastboot''' or [https://wiki.postmarketos.org/wiki/Deviceinfo_flash_methods#Isorec_or_bootimg.3F '''heimdall-bootimg'''], you will need to add <code>mkbootimg</code> to the <code>depends=</code> list in the <code>APKBUILD</code>, and the following variables at the end of <code>deviceinfo</code> ([https://wiki.postmarketos.org/wiki/How_to_find_device_specific_information#Fastboot_.28boot.img.29_flash_offsets guide], [https://github.com/postmarketOS/pmbootstrap/blob/eddf81a730b68076e59b66f2a6163e6587b7fc84/aports/device/device-sony-yuga/deviceinfo#L22-L28 example]):
<pre class="shell"># Fastboot related
40
edits

Navigation menu