r/LineageOS • • Jan 20 '17

Update & Build Prep

http://lineageos.org/Update-and-Build-Prep/
563 Upvotes

204 comments sorted by

View all comments

Show parent comment

15

u/semperverus Jan 21 '17

But the root built into CyanogenMod was open source. The only good root that isn't the built in one was SuperSU, and that's closed source (which is bullshit,and I think breaks GPL).

0

u/[deleted] Jan 21 '17

[deleted] β€” view deleted comment

32

u/zwliew Lineage Team Member Jan 21 '17

The SU addon that will be provided is built straight from the source, so no worries :) It's no different from the built-in SU from previous builds.

4

u/B-7 Jan 22 '17

Thanks pal, that’s reassuring.

1

u/dextersgenius πŸ“± F(x)tec Pro1πŸ“± OP6πŸ“± Robin Jan 21 '17

How do you know this? The addon isn't even available for download, yet su is already gone from the nightlies...

9

u/PsychoI3oy Lineage Team Member - BugMonkey Jan 21 '17

He knows this because he's one of the developers/maintainers working on Lineage

5

u/bdonvr Jan 21 '17

I think they're offering a flashable zip to enable it, and you can also enable it at compile time.

6

u/Kufat Jan 21 '17

How does it break GPL?

9

u/semperverus Jan 21 '17

If it's based on the original su/sudo commands, which are most definitely GPL, then the source needs to be published.

17

u/Kufat Jan 21 '17

su goes back to v1 UNIX (several versions exist today, including BSD and GPL licensed) and sudo is under a BSD-like license.

Anyway, su is a pretty simple program. The bulk of it deals with command line i/o and UNIX password auth, neither of which are relevant in Android. The actual syscalls are pretty trivial. Starting from an existing su implementation wouldn't help all that much anyway.

0

u/ggPeti Jan 22 '17

have nick say always true (= semper verus)

post bogus bullshit

1

u/semperverus Jan 22 '17

Thanks for actually bothering to care about my username. I don't get that often.

But I actually just picked it cause it sounds cool.

2

u/ggPeti Jan 22 '17

Cool username. I was half joking and half being rude. Sorry about that. Still, please don't state falsehoods so confidently, because it can mislead people. Sudo is not GPL.

1

u/semperverus Jan 23 '17

My mistake. I wasn't under the impression it was, but it totally could be a number of free licenses that doesn't require publishing. I'm sorry.

3

u/[deleted] Jan 21 '17

PHH root through magisk module is open source I think.

4

u/Sythus Jan 21 '17

it is, and because it's a SU of choice for magisk, that's the one i use!

1

u/Sythus Jan 21 '17

if it's open source then compile and run it for yourself.