Comments (1)
This works for me using the most update version. It looks to me like you are using an outdated version.
Example:
Command cmd = new Command(0, "cat /default.prop") {
@Override
public void commandOutput(int i, String s)
{
Log.e("CAT FILE", s);
}
@Override
public void commandTerminated(int i, String s)
{
}
@Override
public void commandCompleted(int i, int i2)
{
}
};
try
{
RootTools.getShell(true).add(cmd);
}
catch(Exception e)
{
e.printStackTrace();
}
RESULT:
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ #
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ # ADDITIONAL_DEFAULT_PROPERTIES
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ #
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ ro.product.locale.region=GB
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ telephony.sms.shift_table=1
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ persist.sys.timezone=Europe/London
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ keyguard.no_require_sim=false
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ ro.sf.lcd_density=240
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ panel.physicalWidthmm=52
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ panel.physicalHeightmm=89
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ ro.opengles.version=131072
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ gsm.net.interface=rmnet0
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ persist.service.crashlog.enable=1
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ persist.system.at-proxy.mode=0
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ ro.secure=1
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ ro.allow.mock.location=0
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ ro.debuggable=0
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ wifi.interface=wlan0:0
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ persist.ril-daemon.disable=0
05-03 23:24:32.309 2343-2343/? E/CAT FILE﹕ persist.sys.usb.config=mtp
from roottools.
Related Issues (20)
- Install "Aptoide" HOT 1
- Crash when Shell run HOT 3
- Root tool
- [email protected] HOT 1
- New
- is still alive the project?
- RootTools
- Apple
- __Originally posted by @jackiebrewster307 in https://github.com/IdeasOnCanvas/MNDocumentController/issues/1__
- Apple root HOT 1
- Apple root iPhone HOT 1
- save
- Roottools HOT 1
- How to unlock bootloader and on stylo 6???
- Root HOT 1
- Vivo
- Help me HOT 1
- .
- Permission
- I'm using Castify
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roottools.