Cancelled

android application running as root

hello guys

basically i am running some system commands using android application some of my commands need root privileges

now i have tried in my java application to do

####################

p = [url removed, login to view]().exec("su");

os = [url removed, login to view]();

dos = new DataOutputStream(os);

[url removed, login to view](command + "\n");

[url removed, login to view]();

p = [url removed, login to view]().exec(command);

reader = new BufferedReader(new InputStreamReader([url removed, login to view]()));

while ((line = [url removed, login to view]())!= null) {

Log.d("iBridge-autodetect", " line = " + line);

}

[url removed, login to view]();

###################

but i get this error message

#########################

01-01 01:10:51.378 1080-1114/[url removed, login to view] W/[url removed, login to view]: [url removed, login to view]: Error running exec(). Command: [busybox, lsusb] Working Directory: null Environment: null

01-01 01:10:51.378 1080-1114/[url removed, login to view] W/[url removed, login to view]: at [url removed, login to view]([url removed, login to view])

01-01 01:10:51.380 1080-1114/[url removed, login to view] W/[url removed, login to view]: at [url removed, login to view]([url removed, login to view])

01-01 01:10:51.380 1080-1114/[url removed, login to view] W/[url removed, login to view]: at [url removed, login to view]([url removed, login to view])

01-01 01:10:51.380 1080-1114/[url removed, login to view] W/[url removed, login to view]: at [url removed, login to view]([url removed, login to view])

01-01 01:10:51.380 1080-1114/[url removed, login to view] W/[url removed, login to view]: at [url removed, login to view]([url removed, login to view])

01-01 01:10:51.380 1080-1114/[url removed, login to view] W/[url removed, login to view]: at [url removed, login to view]([url removed, login to view])

01-01 01:10:51.382 1080-1114/[url removed, login to view] W/[url removed, login to view]: Caused by: [url removed, login to view]: Permission denied

01-01 01:10:51.382 1080-1114/[url removed, login to view] W/[url removed, login to view]: at [url removed, login to view](Native Method)

01-01 01:10:51.382 1080-1114/[url removed, login to view] W/[url removed, login to view]: at [url removed, login to view]([url removed, login to view])

01-01 01:10:51.382 1080-1114/[url removed, login to view] W/[url removed, login to view]: ... 5 more

your task is to make sure i am

your task

1) to make sure my android application can run system command with root privilege?

Regards

Nick

Skills: Android, Embedded Software, Software Architecture

See more: system err, root your android, root my android, new android os, java system err, java command line application, err java, busybox android, android thread, android runtime, android permission, android guys, android command line, android busybox, basic gps running application android code, gps running application android code, prting application android, webex application android, soundboard application android, database application android, application android sip voip, start camera application android, simple database application android, net running application without gui, porting iphone application android

About the Employer:
( 1 review ) Woking, United Kingdom

Project ID: #11084246

7 freelancers are bidding on average $168 for this job

KESHAVINFOTECH

Hi Thanks for your valuable time. :-) Please check below points : 1. hello guys basically i am running some system commands using android application some of my commands need root privileges now i have More

$250 USD in 15 days
(341 Reviews)
7.9
JinDongZhe

We are web & mobile development team of JinDongZhe freelancer We have powerful back-end(Java,Spring Framework, Hibernate, JPA, Oracle, Hadoop etc) and front-end(Android, iPhone, Hybrid App, Mobile web, Sencha ExtJS, More

$210 USD in 3 days
(16 Reviews)
5.3
vantuanvn

Hello sir, I am from Vietnam, I have 8 year in Software Industry with many running product. I have experience in web application with many large sites, also enterprise applications and mobile applications. My More

$60 USD in 3 days
(31 Reviews)
4.9
sabirshah4545

I have a great experience in this field. Kindly, contact me now and I’m sure we will make a reasonable deal thanks a lot.

$666 USD in 30 days
(4 Reviews)
4.5
AdeelAslam4

Hi there! I have read what you exactly need, however I would like to ask you a few questions. I wouldn't call myself a master but I do work smart and do not rest until I get the job done. Please feel free to ping me an More

$188 USD in 3 days
(3 Reviews)
2.6
$155 USD in 3 days
(3 Reviews)
2.6
emiliogaiines

I have several years of Android experience and have published many apps on the Play Store. I have also developed professional apps for both private parties and companies. I am used to developing layouts with Material More

$111 USD in 1 day
(1 Review)
2.6
BeautifulFemale

Dear client Greeting of the day! We are happy to discuss our proposal with you. KEY POINTS THAT MAKE US DIFFER FROM OTHERS: ~ We have 7 years of experiences in Unity 3D, Xcode, CoCoa 2d, Phonegap and major i More

$100 USD in 3 days
(6 Reviews)
1.8
wasyl123

Hello. I have good skills in Android and mobile web development with over 8 years experiences. I am always ready for you and your job. If you give me a chance, I shall do my best for your job success. I think thi More

$200 USD in 2 days
(0 Reviews)
0.0