APKBUILD + deviceinfo (work in progress)

- Removed ACTIVATE_DOWNLOAD_MODE.txt and ACTIVATE_RECOVERY.txt

From lineage-14.1-20170602-nightly-titan-signed.zip

$ unpackbootimg -i boot.img
Android magic found at: 0
BOARD_KERNEL_CMDLINE androidboot.bootdevice=msm_sdcc.1 androidboot.hardware=qcom vmalloc=400M utags.blkdev=/dev/block/platform/msm_sdcc.1/by-name/utags buildvariant=userdebug
BOARD_KERNEL_BASE 00008000
BOARD_RAMDISK_OFFSET 01000000
BOARD_SECOND_OFFSET 00f00000
BOARD_TAGS_OFFSET 00000100
BOARD_PAGE_SIZE 2048
BOARD_SECOND_SIZE 0
BOARD_DT_SIZE 1763328
This commit is contained in:
Pablo Castellano 2017-06-04 13:42:38 +02:00
parent bbf3913428
commit 4f8531f39a
4 changed files with 11 additions and 17 deletions

View File

@ -1,3 +0,0 @@
- make sure, the device is powered off
- hold power + volume down
- let go of the power button, as soon as something appears

View File

@ -1,3 +0,0 @@
- make sure, the device is really powered off
- hold volume up + home + power button
- when the samsung logo appears, only hold volume up + home

View File

@ -1,11 +1,11 @@
pkgname=device-samsung-i9100
pkgname=device-motorola-titan
pkgver=1
pkgrel=2
pkgdesc="Samsung Galaxy SII"
pkgdesc="Motorola Moto G 2014"
url="https://github.com/postmarketOS"
arch="noarch"
license="MIT"
depends="linux-samsung-i9100"
depends="linux-motorola-titan"
makedepends=""
install=""
subpackages=""
@ -23,5 +23,5 @@ package() {
"$pkgdir"/etc/udev/rules.d/90-android.rules
}
sha512sums="f2dfe6b848ab751eea2d3aad82c214985b7910865a2911a7be843e44c5479299cb66c768925b4452e8dbdd84efd6bd8b69eb2e2dc49cfa27fc8a3e189ddf68a5 deviceinfo
sha512sums="38f2df8d64d697b598654dc67d1da6a70fd518c78eb950874d7682056753fe6398e1550d106f1f7675360227bf6ef80fad3be67f3738e0b972f5fd3f9539992f deviceinfo
8aead706ddb118a44de7d049f07d10a27e727d17724058d132e4ec4fa73fed29c9ccfe03f02aca459c922ec0fbba24e171fe3c76e33f7c5462631e3dd5506e36 90-android.rules"

View File

@ -3,8 +3,8 @@
# Use only double quotes.
deviceinfo_format_version="0"
deviceinfo_name="Galaxy SII"
deviceinfo_manufacturer="Samsung"
deviceinfo_name="Moto G 2014"
deviceinfo_manufacturer="Motorola"
deviceinfo_date=""
deviceinfo_keyboard="false"
deviceinfo_nonfree="????"
@ -19,8 +19,8 @@ deviceinfo_arch="armhf"
# You can for example extract these from an existing boot.img
deviceinfo_flash_offset_base=""
deviceinfo_flash_offset_kernel=""
deviceinfo_flash_offset_ramdisk=""
deviceinfo_flash_offset_second=""
deviceinfo_flash_offset_tags=""
deviceinfo_flash_pagesize=""
deviceinfo_flash_offset_kernel="0x00000000"
deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"