Skip to content

The local manifest files to bringup the device trees for building ROMs.

Notifications You must be signed in to change notification settings

JLST-LG845/local_manifests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

banner

LGE SDM845 Tree Manifest

This is the manifest to clone the judy family device trees.

How to clone trees

Prerequisites

  • Knowledge on how to initialize ROM source.
  • Familiarity with using Git.
  • Setup build environment.
    • For Arch users, just install lineageos-devel and you should be good to go.

Instructions

Before sync

  • Clone this repository inside the .repo folder.
    • Since local_manifests folder is empty, the manifest stuff will be inside .repo/local_manifests.
    cd .repo
    git clone https://github.com/JLST-LG845/local_manifests.git -b U
  • Navigate to the local_manifests directory.
    cd local_manifests
  • Then run the setup script to add the line to clone your desired device.
    • When prompted, select the number that corresponds to your device codename.
    • After this, the script will automatically remove the line that clones the default display HAL in the default XML file inside the manifests folder.
    # Make sure the script is executable
    chmod +x setup.sh
    # Run the script
    ./setup.sh
  • If the script ever failed to remove the line for default display HAL, reference this commit.

After sync

  • Run the rom.sh script that was copied from setup.sh to change the ROM prefix and clone the KernelSU submodule inside kernel source.
  • Run the script
    • When prompted, specify your device codename and the ROM name found inside vendor folder.
      • ie. vendor/lineage or vendor/evolution etc.
    # Make sure it is exectuable
    chmod +x rom.sh
    # Run the script
    ./rom.sh
  • Apply this and this commits to fix some errors for our devices.
    • This includes the internal error message and the battery light being stuck at 100% for G7 users.
  • If your test build encounters random reboots, reference and apply this commit inside build/soong.
    • It is best if you add the remote from JLST-LG845 and cherry pick it.
      # From the root of your ROM source
      cd build/soong
      # Fetch remote and cherry pick
      git fetch https://github.com/juleast/android_build_soong.git 69b1f28e3f935e962b7a762b709d954e9179c5da
      git cherry-pick FETCH_HEAD

Credits

  • Thanks to @EmanuelCN for original device trees, kernel, and vendor.
  • rom.sh script based on the original file by Emanuel available in his Telegram channel.

About

The local manifest files to bringup the device trees for building ROMs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages