FORUMS

[Q&A] Issues with building with Substratum support? Ask here!

13,739 posts
Thanks Meter: 50,822
 
By nathanchance, Recognized Developer / Recognized Contributor on 14th May 2017, 06:23 AM
Post Reply Email Thread
As the title suggests, this is a thread to help with compiling with Substratum. If you run into any issues with compiling, please post a full build log with some information about what you are compiling and we will do our best to assist!

How to add support: https://github.com/substratum/docume...dingSupport.md
The Following 3 Users Say Thank You to nathanchance For This Useful Post: [ View ]
4th July 2017, 09:15 PM |#2  
Member
Thanks Meter: 0
 
More
I'm running the latest build of pure Nexus and installed the flux them pack from the play store and gives me this error Everytime I compile :
» [com.android.musicfx]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/spinner_item.xml:2: error: Error: No resource found that matches the given name (at 'drawableRight' with value '@*com.android.musicfx:drawable/more_icon').
» [com.android.musicfx]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/visualizer.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@*com.android.musicfx:id/EQBandSeekBar').
» [com.android.musicfx]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/visualizer.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@*com.android.musicfx:id/EQBandTextView').
» [com.android.musicfx]: /data/user/0/projekt.substratum/cache/SubstratumBuilder//res/layout/visualizer.xml:5: error: Error: No resource found that matches the given name (at 'layout_height' with value '@*com.android.musicfx:dimen/eq_text_height').
» [com.android.musicfx]: Installation of "com.android.musicfx" has failed.
13th December 2017, 01:31 AM |#3  
Junior Member
Thanks Meter: 0
 
More
Trying to compile LineageOS 14.1 with Substratum support for Nexus 6P (Angler). I've never even used github before this, let alone considered compiling from source, so I may have messed up anywhere. I've been primarily following this guide from the wiki, with instructions to add Substratum support from this thread (section 4, "use the provided local manifest") and the section from this guide about adding in the proprietary files (./extract-files.sh wasn't working and I never did figure out why, but I have a feeling it's related).

I'm doing this in a brand-spanking-new install of Ubuntu 16.04.03 inside Oracle VM, running on Win10 64bit. I've got 8GB of RAM and I thought Jack might have been running out; the VM gets 6 and Jack gets 5. Didn't help. I'm not 100% certain if this is what you're looking for but this link contains an exact transcript from my terminal, where I run these exact commands in this exact order from ~/android/lineage

Code:
repo sync
source build/envsetup.sh
breakfast angler
croot
brunch angler
I'm utterly bloody lost so hopefully I've made a clear, easy mistake. Knowing my personal record, I probably managed to corrupt the process from the start.
6th May 2018, 07:52 AM |#4  
Senior Member
Thanks Meter: 62
 
More
Hi there !! Noticed that Facebook Messenger is not supported. Is there any chance for it to get supported ? Like creating an partial negative/inverted mode, for the white colour, while leaving the rest the same.
25th May 2018, 02:54 PM |#5  
Senior Member
Thanks Meter: 11,334
 
Donate to Me
More
Hi @nathanchance,

this is sligtly off topic, because I have no issues building the rom after patching nlos (los based). The resulting rom is working flawlessly (tested wirh flux and swift dar), but one single issue (I guess it's a errornous conflict resolving): If no theme is applied and dark mode is enabled, the qs edit page is white text on white background...

I've done basically this:
Code:
#!/bin/bash

. build/envsetup.sh

# exposures
repopick -g https://substratum.review -P frameworks/base/ 455 460 461 462 463 464 465 466 467 468 469 470 475 476 477 478 480 485 487 488 491 494 -f
repopick -g https://substratum.review -P packages/apps/Settings/ 471 472 473 479 482 484 -f

# sysserv
repopick -g https://substratum.review -P frameworks/base/ 423 424 425 427 430 431 448 454 458 -f
repopick -g https://substratum.review -P packages/apps/Settings/ 447 -f
repopick -g https://substratum.review -P system/sepolicy 432 450 -f

# Various
repopick -g https://substratum.review -P build/make/ 459 -f
repopick -g https://substratum.review -P frameworks/base/ 481 489 492 499 -f
repopick -g https://substratum.review -P system/sepolicy 493 -f
repopick -g https://substratum.review -P packages/apps/Settings/ 495 496 -f
This results in this repos:
https://github.com/nvertigo/android_...tree/nlos-15.1
https://github.com/nvertigo/android_...tree/nlos-15.1
https://github.com/nvertigo/android_...tree/nlos-15.1
https://github.com/nvertigo/android_...tree/nlos-15.1

I have double checked twice the conflict resolvings, but to no avail. Since I'm clueless, I really hope it's something you know of (as lineageoms dev).

My second issue relates to https://github.com/substratum/docume...dingSupport.md .
Quote:

Let us promote you if you do decide to add support. Send a PR to our supported ROMs list so we can add you!

If I try to click on the link, I get a 404. What can I do, to get https://forum.xda-developers.com/one...80223-t3754855 added?

As stated, I think this thread is the best match for the "qs edit page stealth mode", if you think it's better to place this posting elsewhere, feel free to do so, or contact me and I'll ask the moderators. Sorry in advance.

BTW: if you want to continue lineageoms I would be happy to help you.
30th May 2018, 04:59 PM |#6  
Senior Member
Thanks Meter: 11,334
 
Donate to Me
More
Quote:
Originally Posted by nvertigo67

Hi @nathanchance,

this is sligtly off topic, because I have no issues building the rom after patching nlos (los based). The resulting rom is working flawlessly (tested wirh flux and swift dar), but one single issue (I guess it's a errornous conflict resolving): If no theme is applied and dark mode is enabled, the qs edit page is white text on white background...

After some more nights, I tried just reverting:
https://substratum.review/c/Substrat...rks_base/+/480

This solves the issue drak mode and no substratum theme applied. I expected this to break the ability to theme QS edit page's background. To my surprise (and I can't understand this... ) i.e. flux and swift dark have no problems at all to theme the background...

Quote:
Originally Posted by nvertigo67

BTW: if you want to continue lineageoms I would be happy to help you.

For reference I've added ">>>>>>>>>> OMS begin <<<<<<<<<<" respectively ">>>>>>>>>> OMS end <<<<<<<<<<" commits in the 4 repos with Oreo OMS commits. Could be a starting point for people wanting to add OMS service mode to their los based roms, though it's not nearly as sophisticated as L8neageOMS for 14.1.
20th August 2018, 06:15 PM |#7  
Junior Member
Thanks Meter: 0
 
More
This might be off topic (I hope it isn't) but here goes my issue:
I have been trying to make an overlay for com.monotype.android.font.foundation to add another font and Android studio builds it fine and all but when I try installing it the substratum logchar gives me this:
Code:
» [com.monotype.android.font.foundation]: ERROR: resource directory '/data/user/0/projekt.substratum/cache/SubstratumBuilder//res/' does not exist
» [com.monotype.android.font.foundation]: Installation of "com.monotype.android.font.foundation" has failed.
.
20th September 2018, 03:16 PM |#8  
Senior Member
Thanks Meter: 11,334
 
Donate to Me
More
substratum.review
Maybe I misswd something, but wher has the content of i.e. https://substratum.review/#/q/branch gone?
10th November 2018, 04:05 PM |#9  
Member
Thanks Meter: 8
 
More
Hey guys I needed an overlay which will hide my back soft key on home screen on pie .

I want the functionality be like when I visit my home screen then the back button doesn't disappear if you are using some custom launcher so I want an overlay to hide that button .
Thanks .
7th December 2018, 09:29 PM |#10  
Junior Member
Thanks Meter: 0
 
More
This is off topic and not an issue, it doesn't need to be answered exactly.
I was wondering –If possible– roughly how much would need to be done (in general) to add oms support for a stock zenui nougat rom without framework source code by modifying prebuilt framework/system. I just don't want to compile a custom rom, but I will if I have to.
9th December 2018, 09:24 AM |#11  
Senior Member
Thanks Meter: 11,334
 
Donate to Me
More
pie
What do I need to build lineageos-16.0 with oms/substratum support?

I'm pretty sure I need to merge these:
https://substratum.review/#/q/statuspen

Is service mode not needed any longer on pie? Or do I need to port service mode from n (something llke theses: http://gerrit.aospextended.com/q/top...serv-pie%2522+ )

If this is the way to go, would you please readd oreo topic sysserv to https://substratum.review/ ? (Just out of curiousity: why di you drop branches n and o from https://substratum.review/ at all? It was great for reference and merging - it's a pain in the ass to find all related/needed commits from git instead of gerrit.)
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes