Please Note: This is an Untested build. Please try at your own risk.
After sweating tears and blood for hours, I eventually managed to install LineageOS and/or /e/ on a Honor View 10 following this post : https://forum.xda-developers.com/t/rom-official-berkeley-9-lineageos-16-0.3876509/post-80821031
In particular :
- You’ll need to extract
K) from the stock ROM of your phone
- The file
/META-INF/com/google/android/updater-scriptwithin the installation zip file must be modified to comment out “
getprop("ro.boot.slot_suffix") == "_a" || abort("E3000: This package expects the value \"_a\" for \"ro.boot.slot_suffix\"; this has value \"" + getprop("ro.boot.slot_suffix") + "\".");” (4th line), otherwise the ROM won’t flash and return error 7
- Wipe/factory reset won’t work from within TWRP. One needs to reflash the stock recovery (
fastboot flash recovery_ramdisk RECOVERY_RAMDIS.img) in order to do so (TWRP can be reflashed afterwards)
- The stock kernel must be reflashed after ROM installation (
fastboot flash kernel KERNEL.img), otherwise the ROM won’t boot and the phone will reboot into fastboot mode instead
And once all that is done, the ROM won’t still finish booting : the LineageOS boot animation will appear but the phone will eventually reboot before finishing the boot sequence. I have no idea why. This happens with both LineageOS (
lineage-16.0-20210210-nightly-berkeley-signed.zip) and /e/ (
HOWEVER, if I install OpenGapps (
open_gapps-arm64-9.0-pico-20210420.zip) after LineageOS (and before rebooting)… the ROM boots fine !!!
I have absolutely NO IDEA why flashing GApps should be needed for this ROM to work properly… any thoughts ?
And of course, this solution is not applicable with /e/…