Trendzz!!
By
TheButti
- Get link
- X
- Other Apps
Hey Folks,
If you are reading this then you must be fan Custom Roms xD
Ever Thought of Compiling it (making by your own).
Since I am a Noob I can understand the excitement but there doesn't exist an Proper guide for it .
So I have written an Guide/Doc For We or "us" like Noob.
Guide/Steps :
Let us Take An Overview ! [Watch Video Once - Mandatory]
Before Starting This You must Set up your Super Computer [lol]
For that There are many Guides in xda you can have a look.
Meaning of Certain Words are Given in Video above and You Guys will Surely Guide Building Errors !
So Here Basic Guide for Compiling Errors !
- If Error Says this is already Defined.
Option 1 - Revert Commit/Delete the One which is defined in Source
Option 2 - Adjust your Device tree accordingly
2.Missing Lib Errors
- If Error Says this lib is missing
(Commonly the Error is "Libxx_export Includes libxxx Includes")
Option 1 - Add the Lib from Similar Chipset to your vendor
Option 2 - Add Their Build rule in vendor/../../Android.mk
Option 3 - Some Libs Are Build from Source (like Ant radio AFAIK as I am Not a Pro)
- Clone Their Repo From LAos
3.Xml Not well Formed
If Error Says device/../../../../../res/res/values/config.xml is not well framed or any other xml is not well Framed ! And In Errors After config.xml an No. is represented (Error example device/config.xml:20) It means line no.20 In that XML Has Mistake in it.
Option - Open that XML file using the command "nano" eg. nano device/config.xml
Look for line no. xx (say 20 In our case)
Check if u have Missed these signs "< > / 'integer' 'bool' "
These are EasyAF, u can fix it from your common sense
4. File Is Missing
Option 1 - Add the Repo from LAos (Example ant wireless _Native)
Option 2 - Check device.mk (other files too but 1st these) is it defined there ?
You can Nuke that if it is not Important.
5.For PIE Based ROMs (Imp)
We rename the file to romname.mk (du.mk or rr.mk)
but for Initial Pie Builds we have to rename it to romname_devicecodename.mk (aosp_tomato.mk) and Add An File AndroidProducts.mk defining the same file !
Signing off,
Butti
- Get link
- X
- Other Apps