Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] adbd root with ro.secure=0

OP iua

5th July 2014, 12:18 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
22 posts
Join Date:Joined: May 2014
Hi,

adb root prompt me that it is unable on product builds. But I gave a try this way after Googling. Though adb deamon is not in root mode I have rooted my device with the help of saferoot. (Thanks saferoot)
adb shell su (now with root)
I mount rootfs / in read write mode.
I notice default.prop file and open it using vi. Value of ro.secure=1 and ro.debuggable=0.
I change those value as follow: ro.secure=0 and ro.debuggable=1
exit from shell and execute adb kill-server and adb start-server

But still adb root tells that it is unable on product builds.

Can I get adbd run as root in this way? what has I missed.

Many thanks,
iua
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes