LGgFour / android_issues

Issue tracker for LOS, eOS, AOSCP and any other custom ROM
4 stars 0 forks source link

eliminate BUILD workaround: memfd #2

Closed steadfasterX closed 2 years ago

steadfasterX commented 4 years ago

atm this workaround is needed:

https://review.lineageos.org/c/LineageOS/android_art/+/256444

even though the memfd patches have been integrated:

https://github.com/Suicide-Squirrel/Titan-Kernel-LG-G4/compare/eb931febdc2bfe50d34d54828c0bf456f47cb665...staging/memfd_noseal

they seem to work as it does not fail at this stage (where the workaround above was needed) but with different errors (will add them here when I start investigating again)

re-produce:

  1. do NOT apply the above workaround
  2. use the kernel commits linked above
  3. grab /cache/debug/.. logs
steadfasterX commented 4 years ago

applying the above workaround:

cd art
git fetch "https://github.com/LineageOS/android_art" refs/changes/44/256444/2 && git cherry-pick FETCH_HEAD
steadfasterX commented 3 years ago

Untested:

TARGET_HAS_MEMFD_BACKPORT

https://github.com/z3DD3r/android_device_lge_hammerhead/commit/66814553008e80e700bdee99e13f0f63492a7907

steadfasterX commented 2 years ago

Implement https://github.com/universal5433/android_device_samsung_gts2-common/commit/3eae1b00bc57ec7f70cd746059ff54ee92904856

steadfasterX commented 2 years ago

current workaround:

cd bionic
git fetch https://github.com/aoleary/platform_bionic camQfix
git cherry-pick eb58757bd8c776da56c0a23559e7c7ba7a01b522
cd ..
cd art
git fetch "https://github.com/LineageOS/android_art" refs/changes/44/256444/2 && git cherry-pick FETCH_HEAD
cd ..
steadfasterX commented 2 years ago

new workaround:

https://github.com/LGgFour/android_patches/blob/lineage-17.1/README.md

steadfasterX commented 2 years ago

won't fix. not an issue anymore on >= A11