<commit_before># librootjava

[![ci][1]][2]

Example code for "How-To SU"

For some outdated background details, see:

[http://su.chainfire.eu/](http://su.chainfire.eu/)

Even though its outdated with regards to usage of this library,
if you're unfamiliar with writing code for root usage, it is not
a bad idea to read it.

## License

Copyright &copy; 2012-2019 Jorrit *Chainfire* Jongma

This code is released under the [Apache License version 2.0](https://www.apache.org/licenses/LICENSE-2.0).

## Deprecated

This library is not under active development right now, as I've mostly
moved away from the Android world. While I believe it still works great,
if it breaks due to changes on new Android versions or root solutions,
fixes may be slow to appear.

If you're writing a new app, you might consider using
[TopJohnWu's libsu](https://github.com/topjohnwu/libsu) instead. Barring
some edge-cases (that I personally seem to be the biggest user of) the
capabilities should be similar.

## v1.1.0 update

It is now 2019, 7 years since the initial release of
*libsuperuser*, and I have *finally* gotten around to releasing v1.1.0,
and writing an updated how-to. See, I don't need reminding every 6
months.

This update brings support for commands returning an `InputStream` for
STDOUT, as well as adding per-line and buffered STDERR support to<commit_msg>Update deprecation notice<commit_after># librootjava

[![ci][1]][2]

Example code for "How-To SU"

For some outdated background details, see:

[http://su.chainfire.eu/](http://su.chainfire.eu/)

Even though its outdated with regards to usage of this library,
if you're unfamiliar with writing code for root usage, it is not
a bad idea to read it.

## License

Copyright &copy; 2012-2019 Jorrit *Chainfire* Jongma

This code is released under the [Apache License version 2.0](https://www.apache.org/licenses/LICENSE-2.0).

## Deprecated

This library is not under active development right now, as I've mostly
moved away from the Android world. While I believe it still works great,
if it breaks due to changes on new Android versions or root solutions,
fixes may be slow to appear.

If you're writing a new app, you might consider using
[TopJohnWu's libsu](https://github.com/topjohnwu/libsu) instead. Barring
some edge-cases (that I personally seem to be the biggest user of) the
capabilities should be similar, but it's likely to be better maintained.

## v1.1.0 update

It is now 2019, 7 years since the initial release of
*libsuperuser*, and I have *finally* gotten around to releasing v1.1.0,
and writing an updated how-to. See, I don't need reminding every 6
months.

This update brings support for commands returning an `InputStream` for
STDOUT, as well as adding per-line and buffered STDERR support to
{'fraction_non_alphanumeric': 0.07884267631103074, 'fraction_numerical': 0.018806509945750453, 'mean_word_length': 4.40234375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2576367', 'n_tokens_mistral': 847, 'n_tokens_neox': 782, 'n_words': 396}