Closed Hadenix closed 3 years ago
Hey bro, do you solve this problem?
python problem I'm also porting a rom but can't figure out how to fix please tell us if you fix this
Try this patch: https://review.lineageos.org/c/LineageOS/android_build/+/2981/2/tools/check_radio_versions.py#59 This patch might also be needed: https://review.lineageos.org/c/LineageOS/android_build/+/2988
Try this patch: https://review.lineageos.org/c/LineageOS/android_build/+/2981/2/tools/check_radio_versions.py#59 This patch might also be needed: https://review.lineageos.org/c/LineageOS/android_build/+/2988
These patches fixed the build on Linux Mint 20.3, Python 3.8.10 and running the latest version of twrp minimal. Both were required to get the build to a stable state. The first i applied fixed the check_radio_versions exception. The second was required to fix a "'dict' object has no attribute 'iteritems'" excpetion.
You cannot compile the entire source using python3, you need to update your symlink for python to python2 not 3. Otherwise you will run into issues with print statements.
Device codename: A5_Pro TWRP version: 3.4.0_9
WHAT IS THE EXPECTED RESULT?
I get this error and can't build a recovery
ADDITIONAL INFORMATION