TeamWin / android_bootable_recovery

1.33k stars 415 forks source link

Unable to flash LineageOS on Asus Nexus 7 repartitionned (flox) due to device codename check error #197

Closed christophehenry closed 4 months ago

christophehenry commented 2 years ago

Device codename: flo (flox) TWRP version: 3.6.0

WHAT STEPS WILL REPRODUCE THE PROBLEM?

WHAT IS THE EXPECTED RESULT?

LinageOS package installs correctly

WHAT HAPPENS INSTEAD?

Installation fails with message "E3004: This package is for device: flox; this device is flo."

ADDITIONAL INFORMATION

As far as I unserstand, TWRP works correctly. The check on device name is just too strict. I wanted to open a PR myself but I can't find in the code where this check is performed.