Comments (3)
on the off chance that i'm using it incorrectly... this fails to show /data/app
in the mounts:
if(RootTools.isRootAvailable()) {
String appsDirPath = "/data/app";
File appsDir = new File(appsDirPath);
boolean result = RootTools.remount(appsDirPath, "rw");
if(result) {
try {
RootTools.getMounts();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
Original comment by [email protected]
on 2 May 2012 at 8:17
from roottools.
Well, remount is suppose to be used for system mounts...I suppose I should make
that a bit clearer.
You don't want to remount that, you need to change the permissions on that
directory.
We don't have a function for this, but I will add it in.
Use chmod to change the permissions of that directory to 0777 so that you can
access the data stored there. However make sure you return the permissions to
what they were before you changed them.
Original comment by [email protected]
on 2 May 2012 at 8:34
- Changed state: Accepted
from roottools.
Ahh. My apologies for the misunderstanding. Thanks for taking the enhancement
request then. =)
Original comment by [email protected]
on 7 May 2012 at 3:31
from roottools.
Related Issues (20)
- File resource is not released HOT 5
- isAccessGiven() returns false when Superuser (com.noshufou.android.su) is installed HOT 12
- Streams are not closed which leads to "too many open files errors" HOT 2
- Make deleteFileOrDirectory() a static method HOT 1
- copyFile() doesn't check the exit status from "cp" HOT 1
- ForceClose On getShell() HOT 9
- Add Rootools to Maven repository HOT 2
- Add a Busybox path setter HOT 2
- remount command not compatible with android 4.3? HOT 8
- Adding a non-returning command to a shell will trigger terminated timeout exception, even though it's not actually terminated. HOT 6
- Android 4.3 Remount issue and a small logic error HOT 2
- getMountedAs() returns wrong resulst HOT 3
- installBinary() - feature requests HOT 4
- RootTools.isRootAvailable() exception HOT 1
- Block Until Command has been processed HOT 1
- The method waitForFinish() is undefined for the type Command HOT 8
- Proper way to wait for the command to end HOT 9
- Read Command Output HOT 4
- Root action does not works when phone is sleeping HOT 2
- Android Zombien process
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.