Try clearing Substratum data in Settings > Apps > Substratum > Data.Hi there
I used the third method to include OMS to my LOS ROM for my OnePlus 3.
I don't know why, but when I install Substratum, it tells me that I'm using Legacy, and not OMS...
Did I miss something to install OMS and not Legacy..?
Try clearing Substratum data in Settings > Apps > Substratum > Data.
Sent from my Nexus 6P using XDA Labs
Thanks for the help, it worked and substratum works fine. This was my second build and I am happy that I was able to add OMS/Substratum support. Since I'm a beginner I'll try the first method soon. Thank you alot. :good:Delete the file "sepolicy/themeservice_app.te" in your device tree. I removed CMTE's sepolicy as ours conflicts.
I use the same......Let @bigsupersquid try this outIs it possible to do for this build. Can anyone HELP me with video tutorial plz..
---------- Post added at 06:56 AM ---------- Previous post was at 06:41 AM ----------
Iam using HTC desire 816.i have flash this build cm14.1-20161120-unofficial-a5dwg can u plz help me to how to do this.
@Xeon721, Maybe because it's missing the build.prop entry that Substratum read.
https://github.com/substratum/substratum/commit/086ff1b3f51a3896112e3a14a54140737829f24a
All I can recommend is either waiting for the Play Store to update or building a debug APK to test: https://github.com/substratum/documentation/blob/master/BuildingSubstratum.mdIt stays on Legacy after cleaning Data and Cache.
(And I cannot screenshot you the settings page, it FC when I click on Settings).
That build prop entry has been deprecated since 7.1.1 dropped.@Xeon721, Maybe because it's missing the build.prop entry that Substratum read.
bash lineage_oms_merge.sh -h
Not a beginner to programming and terminal, but beginner to building android from source, got this when merging:For those who are going to be consistently merging or want a quick way to do it once, I have made a script to do so: https://github.com/LineageOMS/merge_script
Some caveats:
1. This is going do everything automatically in one shot; make sure your repos are clean and not heavily modified when doing this as you may get errors. Pay attention to the output.
2. Run
to see how the script works.Code:bash lineage_oms_merge.sh -h
3. If OMS commits are detected, the script will error out to protect you from creating merge conflicts. Do not use this as a way to stay up to date with Substratum commits unless you are straight building from Lineage and can force sync your additions away.
Let me know of any issues, enjoy!
Not a beginner to programming and terminal, but beginner to building android from source, got this when merging:
===============================
== Merging frameworks/base ==
===============================
remote: Counting objects: 535, done.
remote: Compressing objects: 100% (121/121), done.
remote: Total 535 (delta 353), reused 516 (delta 336), pack-reused 0
Receiving objects: 100% (535/535), 360.09 KiB | 622.00 KiB/s, done.
Resolving deltas: 100% (353/353), completed with 113 local objects.
From https://github.com/LineageOMS/android_frameworks_base
* branch cm-14.1 -> FETCH_HEAD
PREVIOUS COMMITS FOUND; SCRIPT MUST BE RUN ON A CLEAN REPO! EITHER REPO SYNC OR PICK COMMITS MANUALLY!
I followed the lineage wiki on how to build from source and attempted to merge after initializing the source repo and then downloading the source with repo sync. I had gotten interrupted once and had to fc terminal and run repo sync once more. Once I had that all done, I figured I would need to pull from the repo before I prepared the device specific code. Currently running repo sync once more then attempting once more and if not I will just delete my current repo download and start from scratch again without any interruptions.
edit: after running repo sync and running the bash script i get this:
===============================
== Merging .repo/manifests ==
===============================
From https://github.com/LineageOMS/android
* branch cm-14.1 -> FETCH_HEAD
On branch default
Your branch is ahead of 'origin/cm-14.1' by 1 commit.
(use "git push" to publish your local commits)
You are currently cherry-picking commit f13d8ea.
nothing to commit, working directory clean
The previous cherry-pick is now empty, possibly due to conflict resolution.
If you wish to commit it anyway, use:
git commit --allow-empty
If you wish to skip this commit, use:
git reset
Then "git cherry-pick --continue" will resume cherry-picking
the remaining commits.
===============================
== Merging frameworks/base ==
===============================
From https://github.com/LineageOMS/android_frameworks_base
* branch cm-14.1 -> FETCH_HEAD
PREVIOUS COMMITS FOUND; SCRIPT MUST BE RUN ON A CLEAN REPO! EITHER REPO SYNC OR PICK COMMITS MANUALLY!
Not sure what to do here as when I attempt git reset and then git cherry-pick --continue
I just get this everytime: fatal: Not a git repository (or any of the parent directories): .git
Not a beginner to programming and terminal, but beginner to building android from source, got this when merging:
===============================
== Merging frameworks/base ==
===============================
remote: Counting objects: 535, done.
remote: Compressing objects: 100% (121/121), done.
remote: Total 535 (delta 353), reused 516 (delta 336), pack-reused 0
Receiving objects: 100% (535/535), 360.09 KiB | 622.00 KiB/s, done.
Resolving deltas: 100% (353/353), completed with 113 local objects.
From https://github.com/LineageOMS/android_frameworks_base
* branch cm-14.1 -> FETCH_HEAD
PREVIOUS COMMITS FOUND; SCRIPT MUST BE RUN ON A CLEAN REPO! EITHER REPO SYNC OR PICK COMMITS MANUALLY!
I followed the lineage wiki on how to build from source and attempted to merge after initializing the source repo and then downloading the source with repo sync. I had gotten interrupted once and had to fc terminal and run repo sync once more. Once I had that all done, I figured I would need to pull from the repo before I prepared the device specific code. Currently running repo sync once more then attempting once more and if not I will just delete my current repo download and start from scratch again without any interruptions.
edit: after running repo sync and running the bash script i get this:
===============================
== Merging .repo/manifests ==
===============================
From https://github.com/LineageOMS/android
* branch cm-14.1 -> FETCH_HEAD
On branch default
Your branch is ahead of 'origin/cm-14.1' by 1 commit.
(use "git push" to publish your local commits)
You are currently cherry-picking commit f13d8ea.
nothing to commit, working directory clean
The previous cherry-pick is now empty, possibly due to conflict resolution.
If you wish to commit it anyway, use:
git commit --allow-empty
If you wish to skip this commit, use:
git reset
Then "git cherry-pick --continue" will resume cherry-picking
the remaining commits.
===============================
== Merging frameworks/base ==
===============================
From https://github.com/LineageOMS/android_frameworks_base
* branch cm-14.1 -> FETCH_HEAD
PREVIOUS COMMITS FOUND; SCRIPT MUST BE RUN ON A CLEAN REPO! EITHER REPO SYNC OR PICK COMMITS MANUALLY!
Not sure what to do here as when I attempt git reset and then git cherry-pick --continue
I just get this everytime: fatal: Not a git repository (or any of the parent directories): .git
Sound like lineage is already ahead of @The Flash with commits. So the script doesn't work anymore
I would try running a repo sync --force-sync to get rid of any previously picked OMS commits.
Hmm, at this point it would be the waiting game before I can merge and build or would there be a work around for this? thanks for the info though.
---------- Post added at 02:52 AM ---------- Previous post was at 02:50 AM ----------
I'll try this if the error shows up again. I had just started to download the source over again, if it shows up again I will attempt what you suggested. Thanks for the response.:good:
i saw the topic : OMS7 in the Gerrit Code Review of lineageos.
is lineageos will support OMS officially soon ?
Thanks to @GtrCraft, I found I had derped the logic of finding previous commits. I just pushed a commit that fixed it, give it a go when your sync is done :good:
So grateful for this though, had recently switched from S7 Edge to Nexus 6P, I had gotten used to being able to apply themes at a breeze with the samsung themes so when I saw the Lineage didn't support OMS officially I was heartbroken once I had found out about Substratum and then faith was revived when I saw this post.
git fetch <url> cm-14.1
git cherry-pick <first_sha1>^..<second_sha1>
git fetch https://github.com/LineageOMS/android_frameworks_base cm-14.1
git cherry-pick d6b3f93bec61769fab7ebf31e78bf0acb42bb2e6^..1e00bba63c5b6facec5a8beef1bb39863b251183
git pull <url> cm-14.1
git pull https://github.com/LineageOMS/android_frameworks_base cm-14.1
mkdir LineageOMS && cd LineageOMS
repo init -u https://github.com/LineageOMS/android -b cm-14.1 --no-clone-bundle --depth=1
repo sync -j$( nproc --all ) --force-sync -c --no-clone-bundle --no-tags --optimized-fetch --prune
cd .repo
mkdir -p local_manifests
cd local_manifests
wget https://raw.githubusercontent.com/LineageOMS/local_manifest/master/substratum.xml
cd ../..
repo sync --force-sync
cd .repo
mkdir -p local_manifests
cd local_manifests
wget https://raw.githubusercontent.com/LineageOMS/local_manifest/master/substratum.xml
cd ../..
repo sync --force-sync