Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,519 Members 39,264 Now Online
XDA Developers Android and Mobile Development Forum
Announcement from Luminger: We are 100% Xposed compatible now!

[APP][2.3+][ROOT][SUPERUSER] AnJaRoot - Android Java Root | 100% compatible with Xposed

Tip us?
 
Luminger
Old
#1  
Luminger's Avatar
Member - OP
Thanks Meter 67
Posts: 87
Join Date: Oct 2010

 
DONATE TO ME
Default [APP][2.3+][ROOT][SUPERUSER] AnJaRoot - Android Java Root | 100% compatible with Xposed

AnJaRoot stands for Android Java Root, and it's just that - a replacement for the previous generation of supersuer access on Android. The days of calling su to execute scripts in a limited environment are over, developers are now able to perform previously restricted actions directly from Java!

While I've tested AnJaRoot multiple times for the last weeks on emulators and real devices (4.3 and 2.3.7) I still consider it to be in beta phase. Please install it only if you are able to recover your device from possible bootloops.

AnJaRoot 1.1.0 is now 100% compatible to the Xposed Framework!

To get the latest version of AnJaRoot, go to the downloads tab or from the project homepage located at http://www.anjaroot.net/.

Installation
The prefered installation method is via sideloading/installing from sdcard the AnJaRoot Installer update.zip. The installer will automatch your device arch (armeabi, mips and x86 are supported right now). If the installer reports an error, you can find the installation logs on /cache. Please upload them to this thread or fill a bugreport so I can fix the problem.

AnJaRoot is also able to install itself via recovery. I've tested on the CWM recovery images, but it should work everywhere as no special tools are used except a shell in.

Uninstall/Failure Recovery
AnJaRoot is still new, you might need to uninstall it or recover from bootloops. To uninstall AnJaRoot use the provided uninstall update.zip, it will clean AnJaRoot from your device and should also recover you from bootloops.

Current Status
Please also note that AnJaRoot is currently not that interesting for endusers as no app out there has support for it. I will support developers with getting their apps running with AnJaRoot. Once you have adopted your app I will also list them here.

Adding support to your app
In order to use AnJaRoot in your app you have to utilize the provided AnJaRoot Library. Everything which should be needed for you is documented via JavaDoc comments (Online Version). Fir a reference implementation refer to the source of AnJaRoot Tester.

Developers
The project homepage lists some resources on how to integrate your AnJaRoot into your app. Please don't use this thread for questions regarding the Library, use this thread instead. It also shows how to get started hacking.

ROM Developers
AnJaRoot is currently not as easy as I want it to be integrateable. It's lacking a proper build system for ROMs and multiple changes have to be performed to change the package names (just for example). I will add support for it in the feature. Meanwhile you may just preinstall the lastest (signed by me) APK.

Key features:
  • Supports Android >=2.3 (Gingerbread, API level 9) on arm, x86 and mips
  • Developers have a nice and robust library to utilize AnJaRoot to unlock the full potential of their ideas.
  • Need to run native code as root? AnJaRoot can grant root also to subprocesses without the use of su!
  • Simple to install: Install via app or directly flash/sideload the update.zip (which is useable on all supported systems) from http://www.anjaroot.net/
  • Developers don't need to write hard to debug Shellscripts in order to issue commands as root, it was never easier to make use of superuser permissions.
  • Simple management UX for users
  • It's fully open source - AnJaRoot itself is GPLv3 licensed while the Library is published under the Apache License.

Future features:
  • Android 4.x multi user support
  • Full replacement for the previous SuperUser tools
  • Major UX overhaul (more options and a real design)
  • Support for custom ROM integration
  • Compatibility with the XPosed Framework

Disclaimer
While I've developed it and made sure that your device doesn't get damaged, I can't guarantee that nothing bad will happen. It's your responsability about what you do to your device. Please be carefull!

XDA:DevDB Information
AnJaRoot, a App for the No Device

Contributors
Luminger

Version Information
Status: Stable
Current Beta Version: 1.1.0
Beta Release Date: 2013-11-02

Created 2013-10-19
Last Updated 2013-11-05
The Following 13 Users Say Thank You to Luminger For This Useful Post: [ Click to Expand ]
 
Luminger
Old
(Last edited by Luminger; 19th October 2013 at 02:16 PM.)
#2  
Luminger's Avatar
Member - OP
Thanks Meter 67
Posts: 87
Join Date: Oct 2010

 
DONATE TO ME
Default Reserved

Apps which uitilize AnJaRoot
  • AnJaRoot Tester
The Following 2 Users Say Thank You to Luminger For This Useful Post: [ Click to Expand ]
 
Luminger
Old
(Last edited by Luminger; 4th November 2013 at 09:35 PM.)
#3  
Luminger's Avatar
Member - OP
Thanks Meter 67
Posts: 87
Join Date: Oct 2010

 
DONATE TO ME
Default Reserved

Changelog

1.1.1
  • AnJaRoot now supports a 'system installation' (directly from Android without support from a recovery system).
1.1.0
  • AnJaRoot is now 100% Xposed compatible!
  • AnJaRoot 1.1.0 and AnJaRoot Library are compatible with the old releases. But you have to reinstall via update.zip if you have AnJaRoot 1.0.0 installed on your device.

v1.0.0
  • initial release
The Following User Says Thank You to Luminger For This Useful Post: [ Click to Expand ]
 
pyler
Old
#4  
Senior Member
Thanks Meter 410
Posts: 337
Join Date: Jan 2013
This is soooo interesting!
The Following User Says Thank You to pyler For This Useful Post: [ Click to Expand ]
 
coolnessQ
Old
#5  
Account currently disabled
Thanks Meter 300
Posts: 955
Join Date: Aug 2012
Location: Rotterdam

 
DONATE TO ME
This sure looks insteresting!! Can you share some piccs?? ^^

Sent from my GT-I9505 using app: XDA Premium and rom: CgoastINC Rom v14
 
Luminger
Old
#6  
Luminger's Avatar
Member - OP
Thanks Meter 67
Posts: 87
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by coolnessQ View Post
This sure looks insteresting!! Can you share some piccs?? ^^

Sent from my GT-I9505 using app: XDA Premium and rom: CgoastINC Rom v14
I've attached some picks to the devdb entry of AnJaRoot, it should be accessable from the tabbar above the thread. There isn't that much to see, most of the work was done under the hood, the UI is still WIP but it's functional
 
coolnessQ
Old
#7  
Account currently disabled
Thanks Meter 300
Posts: 955
Join Date: Aug 2012
Location: Rotterdam

 
DONATE TO ME
Quote:
Originally Posted by Luminger View Post
I've attached some picks to the devdb entry of AnJaRoot, it should be accessable from the tabbar above the thread. There isn't that much to see, most of the work was done under the hood, the UI is still WIP but it's functional
Hope the xposed thing will be fixed

Sent from my GT-I9505 using app: XDA Premium and rom: CgoastINC Rom v14
The Following User Says Thank You to coolnessQ For This Useful Post: [ Click to Expand ]
 
Luminger
Old
#8  
Luminger's Avatar
Member - OP
Thanks Meter 67
Posts: 87
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by coolnessQ View Post
Hope the xposed thing will be fixed

Sent from my GT-I9505 using app: XDA Premium and rom: CgoastINC Rom v14
I'm currently working on a patch for Xposed. As we both mess with the app_process binary (xposed replaces it with its own version, I replace it with a wrapper script) this is a little bit tricky. Basically both xposed and AnJaRoot need to be aware of each other.
The Following User Says Thank You to Luminger For This Useful Post: [ Click to Expand ]
 
coolnessQ
Old
#9  
Account currently disabled
Thanks Meter 300
Posts: 955
Join Date: Aug 2012
Location: Rotterdam

 
DONATE TO ME
Quote:
Originally Posted by Luminger View Post
I'm currently working on a patch for Xposed. As we both mess with the app_process binary (xposed replaces it with its own version, I replace it with a wrapper script) this is a little bit tricky. Basically both xposed and AnJaRoot need to be aware of each other.
Great cannot wait for it! ^^

Sent from my GT-I9505 using app: XDA Premium and rom: CgoastINC Rom v14
 
pyler
Old
#10  
Senior Member
Thanks Meter 410
Posts: 337
Join Date: Jan 2013
Quote:
Originally Posted by Luminger View Post
I'm currently working on a patch for Xposed. As we both mess with the app_process binary (xposed replaces it with its own version, I replace it with a wrapper script) this is a little bit tricky. Basically both xposed and AnJaRoot need to be aware of each other.
Do you talk with Xposed dev? Maybe you can find one solution to rule all.
Or maybe check if Xposed is installed and then copy right app_process (xposed's app_process + your changes)
if its not installed then stock app_process + your changes

The Following User Says Thank You to pyler For This Useful Post: [ Click to Expand ]
Tags
android, anjaroot, java, root, superuser
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes