Port to Essential PH-1



  • Before I began the process of compiling my own build I wanted to check if anyone else has made a port for the PH-1 Essential. If so did it work, are you currently running it and what sort of advantages vs disadvantages have you faced through running it over stock android. Is it daily worthy?



  • @un5een afaik there isn't a port, or an attempt to port, PH-1.



  • Funnily enough I was going to attempt this myself - just haven't had time + I don't want to sacrifice my daily driver for development just yet, at least not without an adequate replacement.

    Maybe when I manage to get my Xperia X's digitizer replaced so I have a decently reliable spare I'll try working on this.



  • I was trying to port this device, first of all we have to use halium to create an image.

    I give some tips here https://github.com/Halium/projectmanagement/issues/122

    Basically to work we have to make some changes

    1 - sudo apt install libssl-dev
    2 - Comment line 113 from ./kernel/essential/msm8998/drivers/staging/Kconfig
    ---- #source "drivers/staging/qcacld-3.0/Kconfig"
    3 - Modify file: build/target/product/verity.mk
    ---- Set PRODUCT_SUPPORTS_VERITY := false
    ---- And delete verity_key from PRODUCT_PACKAGES

    With that changes i build halium-boot.img and system.img

    But when i installed it i was on bootloop
    Anyone tried it?
    Anyone know how to debug the bootloop?



  • Ok, i tried to debug why i am on bootloop and i get that:

    https://paste.ubuntu.com/p/VSH3dKhgzd/



  • @alefnode said in Port to Essential PH-1:

    Ok, i tried to debug why i am on bootloop and i get that:

    https://paste.ubuntu.com/p/VSH3dKhgzd/

    Did you follow the advice on github by disabling the verify option in the fstab - that appears to be enough to get it to boot?
    I'm working on this port too. I also noticed that in that log there appears to be quite a few files that aren't loading. I'm curious how well the hardware functions once you get it to boot.



  • Yeah, i disabled verity, even that, there are more changes since that


Log in to reply