i am trying to port omni ROM for oneplus2 using device tree of unofficial CM13 builds that are available for OP2.
What i have done so far and what i think i need help with
1. i have synced omni ROM android 6.0 source
2. i have also added local manifest file to .repo/manifest/ folder
my local_manifest file contains this
i synced repo again after creating loacl manifest file and addidng that device tree. it synced fine but i can't seemto find files that are mentioned here on this page
where are these files (omni make file, androidproducts.mk and vendorsetup.sh) located and in which folder? or do i need to amke them and move them in some specific folder?
i can edit these files, i just need to know the location or where to place them?
3. i have edited or made the bve mentioned files adn those can be seen here if you want to have a look at them
took lot of time to figure some basic GIt tsuff and push them online.
4. biggest hep i need is with omni dependencies file. i know how to male most of it but again, where to put it and hwo to get started with it. i figured out the example mentioned on the omni rom website and also had a look at oneplus one omni dependencies file. here is the text from oneplus one dependencies file
avove code is for oneplus one and i am building for oneplus 2. which is msm8994 and omni rom doesn't have its repor so iwill have to take it from somewhere else. like from garak or regalstreak repo. which i understand. but i can't seemto find full them or what i found was not enough according to me.
From regalstreak cmdependencies file
i am guessing above stuff should be enough if its not then also i will figure out the rest of the stuff that needed in this. just need confirmation on this and why is it not showing on my computer OMNI folder? or where is it?
4. brunch command.
with all the above stuff not sorted out i though why not try building the ROM and see what i am missing by errors that i get.
i know too early to do that but just from learning point of view i did it.
brunch oneplus2 gave following error
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_oneplus2". Stop. Your device can't be found in device sources.. Traceback (most recent call last): File "build/tools/roomservice.py", line 296, in <module> fetch_device(device) File "build/tools/roomservice.py", line 265, in fetch_device git_data = search_gerrit_for_device(device) File "build/tools/roomservice.py", line 78, in search_gerrit_for_device device_data = check_repo_exists(git_data, device) File "build/tools/roomservice.py", line 58, in check_repo_exists "exiting roomservice".format(device=device)) Exception: oneplus2 not found,exiting roomservice build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_oneplus2". Stop.
** Don't have a product spec for: 'omni_oneplus2' ** Do you have the right repo manifest?
from what i can figure out from above error its all because of those files which i can't seem to find. editing comes later.
So as of now all inedd is those file location, iwill edit them myself and if i have to move them some where else so where to move them??
thank you for reading all this. i am noob when it comes to building ROM so if you help me, then please use simpler term or steps with little details.