chrisplus / rootmanager Goto Github PK
View Code? Open in Web Editor NEWA lib enable android developers to do things as a root user
A lib enable android developers to do things as a root user
my code below:
class UninstallSystemApp(var mContext: Context) : AsyncTask<Void, Void, Result?>() {
val appPackage = "a855solution.gais.app"
override fun doInBackground(vararg p0: Void?): Result? {
return RootManager.getInstance().uninstallSystemApp(AppManager.getAppApkPathInstalled(mContext, appPackage))
}
override fun onPreExecute() {
println("Uninstalling package $appPackage .")
super.onPreExecute()
}
override fun onPostExecute(result: Result?) {
println("Uninstall $appPackage ${result?.result} with the message ${result?.message}")
super.onPostExecute(result)
}
}
I see that the problem is in remount function and I think that this commit resolve it Stericson/RootTools@fa881ec
On the Lenovo Vibe A7010 (K4 Note) Android version 6.0.
Method rootManager.hasRooted() return false, but device has root.
Command pm uninstall "packageName" is not remove the system apps
i am tring to get Hash Value, but it always return me status code 0 and message is nothing.
Please check code below.'
val hashValue: StringBuilder = StringBuilder() val hashCommand = RootManager.getInstance().runCommand("md5sum $path") hashValue.append("MD5 : ${hashCommand.message}") Log.d("getHash","Hash Message : "+hashCommand.message) Log.d("getHash","Hash Status Code : "+hashCommand.statusCode) Log.d("getHash","Hash Result : "+hashCommand.result)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.