Notice that you need to execute a command to setup password after flashing recovery-based ROM could be more flashy
This makes the phone prompt for a password on bootup that I do not know, making it impossible to use.
c0rn3j@Superbia ‹ master › : ~/pmbootstrap
[0] % ./pmbootstrap.py init
[17:06:25] Location of the 'work' path. Multiple chroots (native, device arch, device rootfs) will be created in there.
[17:06:25] Work path [/home/c0rn3j/.local/var/pmbootstrap]:
[17:06:26] Target device (either an existing one, or a new one for porting).
[17:06:26] Available (96): amazon-thor, asus-duma, asus-flo, asus-grouper, asus-t00f, asus-tf101, asus-z00t, fairphone-fp2, google-glass, gp-peak, htc-a5ul, htc-ace, htc-bravo, htc-flounder, htc-m8, htc-vivo, huawei-angler, huawei-y530, infocus-flatfish, jolla-sbj, leeco-s2, lenovo-karate, lg-bullhead, lg-d285, lg-d855, lg-dory, lg-h815, lg-hammerhead, lg-lenok, lg-mako, motorola-athene, motorola-falcon, motorola-ghost, motorola-harpia, motorola-maserati, motorola-osprey, motorola-peregrine, motorola-potter, motorola-shamu, motorola-titan, nextbit-robin, nokia-n9, nokia-n900, nokia-rm885, oneplus-bacon, oneplus-oneplus2, oneplus-onyx, qemu-aarch64, qemu-amd64, qemu-vexpress, raspberry-pi, raspberry-pi3, samsung-espresso10, samsung-gts210vewifi, samsung-i747m, samsung-i8190, samsung-i8200, samsung-i9003, samsung-i9070, samsung-i9100, samsung-i9195, samsung-i9305, samsung-i9505, samsung-klte, samsung-kminilte, samsung-kylepro, samsung-kylessopen, samsung-kylevess, samsung-lt023g, samsung-maguro, samsung-manta, samsung-n5110, samsung-n7100, samsung-p4wifi, samsung-s6500d, semc-anzu, semc-smultron, sony-amami, sony-aries, sony-castor-windy, sony-coconut, sony-honami, sony-nicki, sony-scorpion, sony-seagull, sony-sirius, sony-yuga, t2m-flame, teclast-x80pro, wiko-lenny3, xiaomi-armani, xiaomi-cancro, xiaomi-ido, xiaomi-mido, xiaomi-santoni, zte-kis3
[17:06:26] Device [samsung-i9100]: samsung-kminilte
[17:06:30] Username [user]:
[17:06:31] Available user interfaces (7):
[17:06:31] * none: No graphical environment
[17:06:31] * hildon: (X11) Lightweight GTK+2 UI (optimized for single-touch touchscreens)
[17:06:31] * i3wm: (X11) Tiling WM (keyboard required)
[17:06:31] * matchbox: (X11) Very basic user interface for handhelds
[17:06:31] * mate: (X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)
[17:06:31] * plasma-mobile: (Wayland) Mobile variant of KDE Plasma, optimized for touchscreen (aarch64, x86_64 or hardware acceleration required!)
[17:06:31] * weston: (Wayland) Reference compositor (demo, not a phone interface)
[17:06:31] * xfce4: (X11) Lightweight GTK+2 desktop (stylus recommended)
[17:06:31] User interface [weston]:
[17:06:36] Build options: Parallel jobs: 5, ccache per arch: 5G
[17:06:36] Change them? (y/n) [n]:
[17:06:37] Additional packages that will be installed to rootfs. Specify them in a comma separated list (e.g.: vim,file) or "none"
[17:06:37] Extra packages [none]:
[17:06:38] Your host timezone: Europe/Prague
[17:06:38] Use this timezone instead of GMT? (y/n) [y]:
[17:06:39] Device hostname (short form, e.g. 'foo') [samsung-kminilte]:
[17:06:40] WARNING: The applications in the chroots do not get updated automatically.
[17:06:40] Run 'pmbootstrap zap' to delete all chroots once a day before working with pmbootstrap!
[17:06:40] It only takes a few seconds, and all packages are cached.
[17:06:40] Done!
c0rn3j@Superbia ‹ master › : ~/pmbootstrap
[0] % ./pmbootstrap.py install --android-recovery-zip
[17:07:40] *** (1/4) PREPARE NATIVE CHROOT ***
[sudo] password for c0rn3j:
[17:07:43] Update package index for armhf, aarch64, x86_64, x86 (16 file(s))
[17:07:49] Download http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.10.0-r1.apk
[17:07:50] (native) install alpine-base
[17:07:52] (native) install cryptsetup util-linux e2fsprogs parted dosfstools
[17:07:54] *** (2/4) CREATE DEVICE ROOTFS ("samsung-kminilte") ***
[17:07:55] (native) install qemu-user-static-repack qemu-user-static-repack-binfmt
[17:08:06] Register qemu binfmt (arm)
[17:08:06] (rootfs_samsung-kminilte) install alpine-base
[17:08:10] (rootfs_samsung-kminilte) install postmarketos-base ttf-droid device-samsung-kminilte postmarketos-ui-weston
[17:09:38] (rootfs_samsung-kminilte) write /etc/os-release
[17:09:38] (rootfs_samsung-kminilte) mkinitfs samsung-kminilte
[17:09:41] *** SET LOGIN PASSWORD FOR: 'user' ***
New password:
Retype new password:
passwd: password updated successfully
[17:10:02] NOTE: No valid keymap specified for device
[17:10:04] *** (3/4) CREATING RECOVERY-FLASHABLE ZIP ***
[17:10:05] (buildroot_armhf) install alpine-base
[17:10:06] (buildroot_armhf) install postmarketos-android-recovery-installer
[17:10:09] (buildroot_armhf) create recovery zip
[17:10:45] *** (4/4) FLASHING TO DEVICE ***
[17:10:45] Run the following to flash your installation to the target device:
[17:10:45] * pmbootstrap flasher --method adb sideload
[17:10:45] Flashes the installer zip to your device.
[17:10:45] * If this does not work, you can also create a symlink to the generated zip with 'pmbootstrap export' and flash outside of pmbootstrap.
[17:10:45] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
[17:10:45] Done
Edited by Administrator