Commit graph

27 commits

Author SHA1 Message Date
Bart Ribbers
5c90b186a8
main/postmarketos-android-recovery-installer: fix contributor email (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
b87c9240e2
main/postmarketos-android-recovery-installer: build from new repo (!694) 2019-11-05 22:15:10 +01:00
Luca Weiss
a66fed62cc
Format **/*.c with clang-format (!465)
[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
2019-06-26 22:36:24 +02:00
Robert Yang
5aa8866347
android-recovery-installer: Use an explicit list of zip file contents (!324)
The working directory can contain other files. For example pmbootstrap uses
the same directory for generating android recovery zip files. Extra files
can end up being archived into the recovery zip.

This change explicitly passes the list of files to be archived.
2019-04-18 21:10:21 +02:00
Attila Szollosi
b24a2a4c96 recovery zip: fix "No OS installed" warning (!169)
Tested on sony-amami with TWRP 3.0.2.
2019-01-28 09:52:02 +01:00
Attila Szöllősi
ea341e8b2f
Autodetect fstab column order and support flashing to e.g. userdata
Before, flashing was just possible to system / external_sd and not to
userdata ("data").
2018-11-27 07:47:11 +01:00
Luca Weiss
ea0040efc1
pmos-android-recovery-install: copy mtk symlinks
Copy Mediatek /emmc@partitionname symlinks to the chroot. This is
needed on Mediatek devices because the fstab file references the
partitions using those symlinks (which the kernel creates - for
whatever reason - in the root directory) and otherwise we don't know
which partition is which.
2018-11-27 07:47:11 +01:00
C0rn3j
6f4bca13bd
make FDE set_passwd notice more flashy 2018-09-04 09:00:57 +02:00
Martin
f508cf14b7 recovery zip: support twrp.fstab filename in addition to recovery.fstab (fix for compatibility with TWRP on sony-yuga) 2018-08-16 21:21:45 +00:00
NotKit
c5dc9bdba7 Change default user uid to 10000 2018-08-02 20:10:56 +00:00
Oliver Smith
a31244d28a Remove github.com references
* Travis and Coveralls badges
* aports: instead of <https://github.com/postmarketOS>, use
  <https://postmarketos.org>
* References to full URLs to issues and pull requests replaced with
  a hash and the number
* grsec check: simplify error message, remove link to github issue
  (nobody is using that anymore anyway)
2018-06-30 09:00:48 +02:00
Oliver Smith
f468d3ed7e Disable metadata_csum when generating ext4 rootfs (#1367)
Some downstream kernels don't support this, and this recently became
the default in e2fsprogs.
2018-03-28 18:00:18 +00:00
Attila Szöllősi
ca5b16d6a4 Fix regex in recovery installer (#1339)
Fixes #1322.
2018-03-17 18:25:39 +00:00
alive4ever
3e198bac24 recovery-installer: include tar inside recovery.zip (#1337)
busybox tar applet is messing with symbolic link extraction. Include GNU
tar binary to handle tarball extraction correctly.
2018-03-15 22:16:50 +00:00
Oliver Smith
4c9b0de4f5 Fix invalid /etc/apk/repositories entry on device (#1189)
It used to have an entry for /mnt/pmbootstrap-packages, which only
makes sense while working on the chroot with pmbootstrap. After the
installation on the device, there's no repo in that path.
Furthermore, empty lines were added to the recovery installer script
for readability (thanks @ata2001!)
2018-02-01 22:44:20 +00:00
Attila Szöllősi
ceefc5d8ec [recovery-installer] Copy contents of /etc/skel to home directory (#1114) 2018-01-12 21:53:15 +00:00
Attila Szöllősi
7a92fc03d4 [recovery-installer] Log into one logfile instead of two (#1031) 2017-12-22 18:39:44 +00:00
Oliver Smith
bc21aed803 Fix android recovery zip (thanks @kaendfinger for the patch!)
Fixes #937.
2017-12-09 02:58:17 +01:00
Attila Szöllősi
fdbbc774a9 Run recovery installer in chroot (#901)
The recovery installer now has as few dependencies on the
Android recovery system as possible.
2017-11-16 22:20:57 +00:00
Attila Szöllősi
9ba8b8fe2c [recovery-installer] Don't fail when reflashing after fail (#786) 2017-10-18 18:58:58 +00:00
drebrez
50d682901e [android-recovery-zip] Add missing apk keys (#747) 2017-10-14 15:41:12 +00:00
drebrez
d4df6dc96b Add mkfs.ext2 and mkfs.ext4 binaries to the android-recovery-installer (#684) 2017-10-07 18:36:23 +00:00
Attila Szöllősi
e4fad30e2a android-recovery: Don't extract tar archive in tmpfs (#654) 2017-09-30 21:59:08 +00:00
Attila Szöllősi
06dc9adf4a Add support for isorec flashing in recovery installer (#609) 2017-09-28 22:05:00 +00:00
Attila Szöllősi
71ad48a487 Add ascii art to recovery installer (#498)
* Add ascii art
* Bump version number
2017-09-02 18:44:04 +00:00
Attila Szöllősi
b8423c02bc Fix shellcheck issue (#470) 2017-08-25 22:31:55 +00:00
Attila Szöllősi
5f754e3e64 Recovery installer zip (#404)
Supports flashing with TWRP and other Android recovery OS through adb sideload,
as well as exporting a generated recovery zip file.
See also:
https://github.com/postmarketOS/pmbootstrap/wiki/deviceinfo_flash_methods#recovery-mode-adb
2017-08-24 21:07:36 +00:00