Jump to navigation Jump to search
=== Contributors === * ollieparanoid === What works === * Installation to sdcard (<code>pmbootstrap install --sdcard=/dev/mmcblk...</code>)* Touchscreen* Weston* XWayland === What does not work === * The rest (Wifi, bluetooth, making calls, ...)* Installation to the device memory (<code>pmbootstrap flasher flash_rootfs</code>, see [ #422]) === How to enter flash mode === * Connect an USB cable* Make sure, the device is powered off* Hold power + volume down* As soon, as the samsung logo appears on the screen, only press volume down === Boot process === Unlike most other Android devices, the i9100 can not boot a <code>boot.img</code> (which consists of <code>kernel</code> + <code>initramfs</code>). Instead, the <code>boot.img</code> file is just a regular kernel. Here's an example from a LineageOS <code>boot.img</code> for the i9100 (for &quot;real&quot; boot.img files, <code>file</code> says something like <code>boot.img: Android bootimg, kernel, ramdisk, page size: 2048</code> ): <pre>/tmp/test # file boot.imgboot.img: Linux kernel ARM boot executable zImage (little-endian)</pre>However, it is possible to directly integrate a <code>initramfs</code> into the kernel at kernel compile time (this is totally different from the boot.img approach, if this is unclear to you, please ask in the channel), and this is what the Android ROMs do on the i9100. While it is not a big deal in the Android compilation process, it is a problem for postmarketOS, because we want to be able to build the <code>initramfs</code> independently from the kernel. The following workaround is currently implemented: * We flash the ''real'' initramfs to the recovery partition (REDIRECT [ source])* The initramfs [ init script built into the kernel] checks if the recovery partition contains a compressed initramfs, and if it does, it extracts it and passes execution to the real initramfs' init script.* This idea is based on something called [ &quot;isorec&quot;]. While this works for the i9100, this approach needs to be improved to also work on other Samsung devices, that need to be flashed with heimdall, like the i9070 Samsung_Galaxy_SII_(see [ #22]). === Links === * [ Device package] === Photos === * [ Initramfs asking for the password via telnet]* [ Weston with various programs opened]* [ postmarketOS demo menu (XWayland)]* [ Firefox (XWayland)]* [ Weston-smoke demo]


Navigation menu