[UNOFFICIAL BUILD] Huawei Honor View 10 (berkeley)

Device info https://wiki.lineageos.org/devices/berkeley
Rom https://www.androidfilehost.com/?w=files&flid=299845

Please Note: This is an Untested build. Please try at your own risk.

1 Like

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 KERNEL.img and RECOVERY_RAMDIS.img (no K) from the stock ROM of your phone
  • The file /META-INF/com/google/android/updater-script within 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/ (e-0.7-p-20190929-UNOFFICIAL-berkeley.zip).

HOWEVER, if I install OpenGapps (open_gapps-arm64-9.0-pico-20210420.zip) after LineageOS (and before rebooting)… the ROM boots fine !!! :scream:

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/… :cry: