pmaports/device/device-lg-bullhead/APKBUILD
PureTryOut 0746e147d0
device/device-lg-bullhead: disable 2 cpu's to prevent bootlooping (!139)
Quite a few Nexus 5X devices have the tendency to bootloop after a while
of being on, iirc because it overheats. This has been a known issue for
quite some time, and most Android ROM's for it have measures in place to
prevent this, in the form of disabling some CPU cores (iirc "Big cores"
or something like that). My Nexus 5X is also subject to this issue.

According to craftyguy, resolving this is as easy as changing the boot
command to not use those CPU cores. This commit does exactly that. It
should probably be made optional for people with this device without
that issue, but since I have no clue how to do that atm, this is the
safest for now.
2019-01-23 09:54:12 +01:00

22 lines
617 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname="device-lg-bullhead"
pkgdesc="Google Nexus 5X"
pkgver=0.1
pkgrel=6
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-lg-bullhead mkbootimg mesa-dri-swrast libsparse msm-fb-refresher"
makedepends="devicepkg-dev"
source="deviceinfo"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="f34a66422c240d80c5222f7b5ce6c34c023b36824b7e18a835cb8159230161f9ccf4735fd555e9f4fabd26be8c475280ee503eb213bef3bae598eb0e18f21ac6 deviceinfo"