This is the manifest to clone the judy family device trees.
- 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.
- 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
- Since
- 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.
- Run the
rom.sh
script that was copied fromsetup.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
orvendor/evolution
etc.
- ie.
# Make sure it is exectuable chmod +x rom.sh # Run the script ./rom.sh
- When prompted, specify your device codename and the ROM name found inside
- 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.
- This includes the
- 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
- It is best if you add the remote from JLST-LG845 and cherry pick it.
- 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.