yashsingh1/xdaforums huggingface dataset:
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
I don't think Substratum has to be installed in system, but it really doesn't make any difference whether legacy or not, since in the legacy case, the app asks for root and in OMS version, the rom is already "prepared" for Substratum.

And by the way, I was forced to remove Slim's Theme Engine. That's fine. I have complied, but

the fact that I was forced to remove Slim's Theme engine on the grounds that Substratum had anti-piracy feature and Slim's Theme Engine did not, was a BLATANT VIOLATION OF GPL3 LICENSE. First of all, Substratum is licensed under GPL. Second of all, Theme Engine is not a fork of Substratum, but rather a separate app, but even if I, let's say, had forked Substratum and openly removed their anti-piracy feature or changed anything or everything to my liking, under GPL, they are EXPLICITLY PROHIBITED from limiting or otherwise infringing upon the ability of others to change the forked app to their liking. And here is the relevant language:

"c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it."

"When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures." https://www.gnu.org/licenses/gpl.html

Had Substratum been a closed source/proprietary app, yeah, removal of anti-piracy feature would have been warez/piracy, but Substratum is NOT closed source and cannot be licensed any other way. It can NOT be made proprietary simply because the sources they used are based on Sony Open Source project, which is also licensed under GPL...

That's the beauty that Linus Torvalds has given to the world: you can use published work for free; you can do with it everything you want; but you can't change the terms of the license and you can't prevent others from doing what you are doing... :)
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] NeoChontrix:
The compiled themes get this permission.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] pankaj1244:
Substratum Working or not?

Hello Guys and Rom Developers,

Can anyone confirm whether Latest build ( 16th june ) Support all substratum themes in Zuk Z2 Plus.

And volte working fine or i need to do some steps to make it work ?

Please Help your replies will be appreciated.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Substratum is not working, but the new Slim Theme Engine, which works with substratum themes is coming.

Volte works, as confirmed by many users. However, it depends on what firmware you have and how it was installed. If volte worked on your phone on stock rom and you still have the same firmware, you are fine. If you upgraded your firmware and did NOT install and run stock rom with working volte once, then you will need to do that. The reason being that you can only activate volte modem on stock rom.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] pankaj1244:
I'm about to get delivered my zuk z2 plus and i hope it will run on nougat OS so do i need to flash any firmware or stock rom after flashing Jaguar ROM ?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Your phone will come with stock rom. Turn it on and try to upgrade firmware. If you have a Chinese device/firmware, you will need to use a vpn with Chinese IP address for OTA update. If your phone is Indian, you should be able to upgrade without restrictions. Once upgraded, unlock your bootloader, reboot and run stock rom to make sure that Volte works. After that you should install the latest TWRP, wipe everything and flash Jaguar...

Edit: in case you can't use OTA at all, you can upgrade your firmware by using my TWRP flashable zip in this thread. The upgrade will re-lock your bootloader. After that you should unlock bootloader and reboot to run stock rom again to enable Volte. After that, you can flash Jaguar...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] pankaj1244:
I don't need to flash any Rom again if i have upgraded firmware right ? I will just unlock bootloader and reboot and will check volte working or not and then i will flash latest TWRP recovery.

Correct me please if I'm wrong.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
That's right. I have re-written my post. You just need to reboot after unlocking to make sure volte is working. To upgrade via TWRP you need unlocked bootloader and TWRP. So, after upgrading, you won't need to reflash TWRP...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] pankaj1244:
Ok Thanks a lot :)

One More thing when can i expect substratum themes in Jaguar Rom ? When slim rom will add support ? Any idea bro ?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Soon. I already had Slim Theme Engine with working substratum themes in the previous release, but I was forced to remove it (see the circus above), but the app has been re-written to include anti-piracy feature. So, soon...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] pankaj1244:
That's great news mate... [emoji6]

Eagerly waiting for your Upcoming update with substratum support for this Rom.

Thank you for clearing my doubts [emoji4]
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sykopompos:
I guess you have zero clues to how automatically generated privacy policies get generated and you can just list what services and functions you are using and it creates the policy for you then.

Then again, Substratum is open source so you can actually go and read the code and confirm that it isn't stealing anyone's data so you can make all the claims you want but the code which has been read by a lot of developers says otherwise
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sykopompos:
You do realize that is not how gpl works, the issue was with copyrighted code that was the issue and did violate the copyright but once again the issue with slim is done and over with and all resolved.

As far as anti piracy which the issue was it removed the Google licensing check is a form of warez and has zero to do with gpl, it has to do with it doesn't do the licensing checks on the themes.

Slim removed the theme engine from their own builds because of this issue and has been working with us to secure the assets so it can't be bypassed again along with going through the Google licensing checks before they readd it to their own builds again.

Once again, it is resolved and there is no competition with slim or subs, we are actually working together on several things.

White Knight all you want but it isn't helping you when things like claiming subs is stealing your data when the code is open source to read that isnt true just makes you look silly when you keep going on and on.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Rright. You are responsible for privacy policy. Also, Firebase, aside from providing analytics, is a known spyware/malware and if I remember correctly, it is also proprietary and it grabs all kinds of data and sends it to Google. You could have worked out your own analytics system without Google. But that' your choice. And our discussion was NOT that you, guys, are stealing data, but that your Substratum basically compromises the device...

But let's set aside our argument regarding the code. You may be a good developer, but you have no clue about workings of GPL license. Substratum is licensed under GPL, because it is based on Sony Open Source project, which is also licensed under GPL and no one can put restrictions or change the license. You are free to have anti-piracy feature, but anyone else is free to remove the same. Read this: https://xdaforums.com/showpost.php?p=72743586&postcount=1236

You were lucky Slim has agreed to implement anti-piracy feature, but they didn't have to, because neither you no XDA nor anyone else can put restrictions on GPL license. Even if someone were to fork Substratum or Theme Manager, remove anti-piracy, internet permission, publish their app on Google play for a charge, , they would still be within their rights.

OK. Time to end this...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sykopompos:
I got plenty of clue about gpl but I have something even better, it is called a lawyer, who's job it is to work with copyright.

As far as if XDA can, it is a private site with its own rules and one of the site's rules are no piracy or ways to circumvent piracy which is why it was asked to be removed.

So having something that bypasses the Google license checks is violating one of XDA's rules which is why you were asked to remove it till the updated version is done.

As far as fork it, you are right but slim theme engine was not a fork and that was the issue with copyright, if it had been a fork there would have been zero issues.

There is zero fight between slim and subs anymore so I have zero clue why you are trying to slander subs with false information easily disproven because the issues have been worked out and there is zero competition between the two teams.

You are free to use whatever theme manager app that you want in your rom when slim releases their updated manager and thanks to the collaboration with slim, the themes and their resources will be better protected
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
You simply can't have piracy with an open source app. And you are also wrong about XDA. XDA is a private site, but they can't change or put restrictions on GPL license. This is not your First Amendment right that applies to the Government only and on private forums, there is no free speech. GPL license applies to everybody: government, public, corporations, private companies and private citizens. So, XDA is included. Run it by your lawyer and if he tells you something different, get rid of him and get a better one... :)
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sykopompos:
XDA can say what can't and can be uploaded and hosted on their site in their rules and tos
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Yes, they can have whatever rules they want, as long as they don't violate the law. They can have a rule that no one can post more than 5 posts a day or make everyone sing hallelujah on login . That's fine. But they can't violate the law, i.e., in this case, violate GPL license by putting restrictions on it. The same way as they can't sell drugs or have a casino on this forum...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sykopompos:
Lmfao, what?

I'm not even gonna bother with responding anymore.

Good luck with your slander when it can all be easily disproven
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Good luck to you too. Stick to things you have understanding about. :)
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] singhvishvendra:
Op is there any way to fix offline charging?
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] vigilante7373:
Wow, I've enjoyed this discussion a lot! Still I don't understand why substratum or slim engine would have those anti-piracy features? Features against what? Against stolen paid themes...? And what does google licensing check has to do with all that story?

I really don't get what all those people need here...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Apparently, it is tied up to bootloader status, because otherwise the code has offline charging. Do you know if offline charging works on stock with unlocked bootloader? If it doesn't, then it is impossible...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] singhvishvendra:
i am not sure about it..
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Well. Themers want to get paid for their painting, which is their right. And themers are the ones who published Substratum. The app, therefore, checks for whether you paid for the theme with Googleplay. Their problem is Substratum is based on Sony work, which is open source, so, the app has to be open source too, and since it is open source, everyone is free to modify it: remove google binaries/licensing check or do whatever else they want. The same way any rom developer may implement whatever theme engine they want, which may work with Substratum themes. They have basically created a for profit enterprise using someone else's open sources. Substratum is a free hook, but you have to pay for the themes. They can do that, but they can't prevent anyone from modifying an open source app (not themes). And they can't go proprietary on Substratum, because that would be in violation of GPL. The proper way to do it would be to implement changes in themes, but that is probably difficult and might also require changes in Substratum or another theme engine. But as soon as they make changes in Substratum, the code could be picked up and modified by others So, what they are doing is trying to go around GPL license, which prohibits any restriction on modification and cry piracy, which you can't have on an open source app. In my view, the actual pirates are them: they are using Sony sources to their liking for profit (which is OK), but they don't want anyone else using the same Sony sources and that's a violation of GPL. In addition, they are rude and arrogant, which usually comes handy in the same package. You have seen ample examples of that in this thread. :)

They should have created their own proprietary app, then they could do whatever they want, but they just cant. Hence, cry wolf.:).
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sykopompos:
Lmfao, what?

Substratum is not based on Sony's work, it works with aosp apache code of RRO or OMS that has existed for years contributed to aosp, you don't see Samsung or Sony releasing the code for their manager.

We developed Substratum from the ground up and released it gpl3 on our own because we wanted to, please do show me Sony's code for it, please show me Sony's code for creating Substratum themes, you can't, we could have released it under apache or even closed sourced it.

Please show me where we are profiting off of other people's work.

We haven't made any profit off of Substratum, go ask any themer if we have ever gotten a cent off of their themes and only one developer of Substratum has a theme that was released before he did any development for Substratum

You say to me to stick to things I know but you clearly have zero and are just making things up.

Everything you have said so far can easily be disproven yet you still keep going
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
You are talking Gibberish now. :) And who worked on Pro engine and OMS? Hint: Sony. Here is an XDA article about Layers Manager/Substratum: https://www.xda-developers.com/layers-manager-is-being-deprecated-in-favor-of-substratum/ A few excerpts : " Layers has seen a gradual rise to power, becoming a feasible and potent replacement for the CyanogenMod Theme Engine. Layers builds up on the RRO framework developed by Sony as it allows more complex resource switching and the possibility to theme more elements than RRO originally did. To further its own work on the RRO, Sony worked on OMS (which stands for Overlay Manager Service). As the name would imply, OMS is a client for managing overlays, allowing the providers to dynamically control priorities and enable/disable overlays. This causes a few conflicts with Layers, as traditionally these functions were under the control of the themer. To work around the issues brought up by OMS, and to further the functionality of Layers, the developers behind Layers Managers have teamed up to create Substratum, which is a client with OMS functionality"

You can call it OMS/AOSP/Sony AOSP, whatever, the point is: you have built on someone else's sources...

I believe you that you are not turning any profit and I can predict that you won't be able to in the future, even with the strictest licensing checks: not because you are bad (although rude and arrogant), but because no one can make money on Android, the same way no one can make money on Linux, unless you provide services to businesses. So, why are you crying wolf and attacking everyone if there is no profit?! Either do it for pleasure, as it is done in almost all cases here on XDA and generally in Android and Linux communities or don't do it at all. Just stop crying piracy and stop attacking people who do it for pleasure, like Slim Team or others or me or hundreds of others. Look at yourself, your app contains firebase which is 90% malware/spyware. Your "privacy" policy is a champion of creepiness. I bet, if you wanted to publish on F-Droid, they would tell you to get rid of binaries or get lost... Shame.

Anyway, let's stop this and good luck to you...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] Knoth:
Just today I tried it and I can say that yes, with the bootloader unlocked and ZUI works the offline charging.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Then theoretically, it is possible, but practically very difficult, because Lenovo, as many other OEMs, probably made changes on Android side to work with their firmware and those changes are not published. We can't make those changes, because unlike Lenovo, we don't have access to firmware sources... It may happen by accident though...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sykopompos:
It uses the rro framework and also OMS that is in aosp, that doesn't mean that it uses anything from Sony in it, that's like claiming every app that works on a Android phone is Google's code and also required to be open source because it works with apis provided by Google.

That's the same as claiming every program that works on Windows is Microsoft's code or any app that works on Android is Google's code.

Do yourself a favor and actually read the code instead of making baseless accusations because you will be easily proved wrong on everything if you read the code, we have zero to hide and provide the code open source to prove that.

The problems with slim theme manager were copyright and the Google license checks, two different things, the issue with copyright was just that and that issue was resolved because it was released originally under apache, that is all resolved .

The license checks are another issue because bypassing the protections is considered warez, this is separate from anything gpl.

You claim firebase is malware and creepy when it is by Google and works with Google services and we have no access to personal data, if you got a issue with Google's services then go to that up with them but you can easily read Substratum's code and see we are doing nothing malicious.

Everything you said so far is just misinformation and slander while being completely baseless
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Rright. After I took apart each and every one of your bogus arguments. So, which app sends a licensing code and which app wouldn't allow installation unless that licensing code comes back verified? Whose copyright? Google's firebase? LOL. You can't legally prevent anyone from removing or modifying licensing or any other code from an open source project licensed under GPL or creating a similar app without any license checks. And that's what you are trying to accomplish with your screams. Slim? You sent your thugs to their Google+, who started screaming Slims are Pirates! I wouldn't be surprised if you got a lawyer, who gets paid by the State and whose day job is to provide criminal defence to low income folks. And he sent Slim a "scary" letter, as a side job? For $100? Just a guess. Well. They got scared. That's their business, but they could have just sent you to Hell, as legally, you can't do anything.

OK. We are just going in circles. I am done with you. Let's agree to disagree. There is nothing more to say...
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sykopompos:
You didn't tear apart any arguments because you can look at the code for Substratum to see you are wrong.

The issue with gpl code was copyright and is done, taken care of and resolved, you can look at Slim's git to see that.

The issue with license checks has nothing to do with the gpl, bypassing license checks makes it warez and that doesn't have anything to do with gpl or copyright.

Go head and fork it and release without the license checks, it is on both sides with Substratum/slim now and the themes and because of the loophole to bypass the license checks and our collaboration with slim to close down that bypass very soon.

If you release with it on XDA then your rom has warez in it and it gets removed for violating XDA's rules and that is why you were asked to remove it.

Idk what your point in all your baseless slandering, all the issues with slim has been worked out and we have been working in collaboration to bring their theme manager back out with the fixes very soon with copyright fixed, license check bypassing removed and patched so that can't be done.

We aren't trying to remove slim theme manager or prevent it from being released.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] optimumpro:
Going in circles again. You can't have varez in an open source app licensed under GPL. That's absurd, as GPL specifically PROHIBITS any restrictions on modification. I have already posted the relevant language for you in my prior post.

"We are not trying to remove slim theme manager" That's precisely what you have done! They have bent over to your bullying, but as I have already said, they could have sent you to Hell instead: their choice. Maybe they got tired of deleting your screams at Google+...

That's my final communication with you. Please get lost. After all, I am not the one who came to your thread and had my thugs bumping my every post.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] sykopompos:
Lol, I didn't have any thugs come here they have just been all laughing at you because you are spouting nonsense and literally have zero clue what you are talking about other then trying to slander and spread misinformation.

Please go back trying to spread misinformation about how nobody merges security patches till months later except you
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] NeoChontrix:
So after you definition of warez I wouldn't be allowed to create/release an emulator for an old console if the console had some kinds of DRM implemented and I wouldn't reimplement it in the emulator? And therefore wouldn't be allowed to release it on XDA? (Or a reimplementation of an game)

I understand your points but NOT implement I is something is NOT warez, it may make pirating easier but it is not piracy it self.

You may correct me but please explain the why PPSSPP is allowed and even got his own news article and SLIM Theme Stuff gets forced to implement such stuff.
[Lenovo ZUK Z2 (Plus) ROMs, Kernels, Recoveries, & ] faizauthar12:
Meh...

Unlocked and locked bootloader has a working offline charging at stock zui

Try cleaning your ramdisk lines, see what will happen

since we don't have a clean ramdisk..

as far as i know, z2 doesn't need firmware ( am i right ? ) ,

anyways, every single msm8996 device it's not required an extra /firmware .., we're playing with dts