FORUMS

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by … more

How To Port Fully Featured Sony Xperia Z4 Camera

Xperia Z4’s hardware may not impress, but its software is definitely … more

Experimental TWRP Available For Moto G 2015

XDA Senior Member squid2 has posted experimental builds of TWRP for the Moto G … more

Sunday Debate: How Can We Get a No-Compromise Phone?

Join us in a fun Sunday Debate on Compromises. Come with your opinions and … more

[2014.11.10][ROOT] adbd Insecure v2.00

9,735 posts
Thanks Meter: 61,568
 
By Chainfire, Senior Moderator / Senior Recognized Developer - Where is my shirt? on 2nd June 2012, 03:29 PM
Post Reply Subscribe to Thread Email Thread
adbd Insecure lets you run adbd in root mode if your device is rooted.

(Note that if you are running a custom kernel, it is likely that it already implements this functionality)

If you are running a stock (made by the phone manufacturer) kernel on your device, chances are adbd is running in "secure" mode, even if you are rooted. This app lets you run adbd in "insecure" mode, which gives you root access in "adb shell", allows access to system files and directories through "adb push/pull", and lets you run the "adb remount" command to make your /system partition writable.

Of course, your device must already be rooted for this to work. It may not work with "S-ON" devices and locked bootloaders.

This app does not make any permanent changes to your device - a reboot will undo any modification. That's why there is also the option to enable this feature at boot.

Note that if you have USB connected when the app activates or deactivates adbd root mode, you may need to unplug/replug the cable or run "adb kill-server" on your computer before adb will work again.

Download

Download from Google Play

The Google Play download is not free - it costs about a beer (thanks!). The download listed below is 100% the exact same program, but free. Please consider supporting my work

REDISTRIBUTION IS NOT ALLOWED
(no posting on other sites, no cooking into your ROMs, etc)

(The download is free for now, but I reserve the right to pull it at any time)

( 1.0: 3616; 1.1: 3527; 1.2: 8582; 1.30: 35699 )
Attached Thumbnails
Click image for larger version

Name:	screen-1.png
Views:	34422
Size:	96.4 KB
ID:	1101319  
Attached Files
File Type: apk adbd-Insecure-v2.00.apk - [Click for QR Code] (734.6 KB, 55910 views)
Last edited by Chainfire; 10th November 2014 at 03:33 PM.
The Following 356 Users Say Thank You to Chainfire For This Useful Post: [ View ]
 
 
2nd June 2012, 03:29 PM |#2  
Chainfire's Avatar
OP Senior Moderator / Senior Recognized Developer - Where is my shirt?
Thanks Meter: 61,568
 
Donate to Me
More
2014.11.10 - v2.00
- Android 5.0 compatibility

2013.05.23 - v1.30
- SELinux fixes (SGS4)

2012.12.19 - v1.20
- Jelly Bean (4.2.x) fixes

2012.10.01 - v1.1
- Jelly Bean (4.1.x) fixes
Last edited by Chainfire; 10th November 2014 at 03:33 PM.
The Following 42 Users Say Thank You to Chainfire For This Useful Post: [ View ]
5th June 2012, 03:32 PM |#3  
cdesai's Avatar
Recognized Developer
Flag IN YOUR HEAD
Thanks Meter: 4,038
 
Donate to Me
More
Hey Chainfire

It'ld be nice to link this in the first post as source to the modded adb daemon

https://github.com/Chainfire/platform_system_core
5th June 2012, 03:44 PM |#4  
Chainfire's Avatar
OP Senior Moderator / Senior Recognized Developer - Where is my shirt?
Thanks Meter: 61,568
 
Donate to Me
More
Quote:
Originally Posted by cdesai

Hey Chainfire

It'ld be nice to link this in the first post as source to the modded adb daemon

https://github.com/Chainfire/platform_system_core

Actually, that link points to the adbd I use for CF-Root. There's no guarantee it will stay the same with the version I used in the "adbd Insecure" app.
The Following 2 Users Say Thank You to Chainfire For This Useful Post: [ View ]
6th June 2012, 04:57 PM |#5  
cdesai's Avatar
Recognized Developer
Flag IN YOUR HEAD
Thanks Meter: 4,038
 
Donate to Me
More
Quote:
Originally Posted by Chainfire

Actually, that link points to the adbd I use for CF-Root. There's no guarantee it will stay the same with the version I used in the "adbd Insecure" app.

I see.

Sent from my GT-P1000 using XDA
8th June 2012, 04:21 PM |#6  
GazaIan's Avatar
Senior Member
Flag Your basement
Thanks Meter: 416
 
Donate to Me
More
So, this basically saves us the trouble of typing 'adb remount' ?
The Following User Says Thank You to GazaIan For This Useful Post: [ View ]
8th June 2012, 04:24 PM |#7  
Chainfire's Avatar
OP Senior Moderator / Senior Recognized Developer - Where is my shirt?
Thanks Meter: 61,568
 
Donate to Me
More
Quote:
Originally Posted by GazaIan

So, this basically saves us the trouble of typing 'adb remount' ?

No, it *allows* you to run 'adb remount' on rooted devices that do not allow it (which is quite a few).
The Following 3 Users Say Thank You to Chainfire For This Useful Post: [ View ]
8th June 2012, 05:08 PM |#8  
Senior Member
Thanks Meter: 57
 
More
Great work. A few questions:

Do I have to reboot for this to work?

Can I turn it off without rebooting?

Thanks.
8th June 2012, 06:45 PM |#9  
segv11's Avatar
Senior Member
Thanks Meter: 477
 
More
So this saves me the trouble of typing "su" and "mount -o rw,remount - /system" in the shell? I just bought you a beer to save typing the long mount command. Enjoy.

Sent from my Galaxy Nexus using Tapatalk 2
8th June 2012, 06:57 PM |#10  
SifJar's Avatar
Senior Member
Thanks Meter: 263
 
More
Quote:
Originally Posted by segv11

So this saves me the trouble of typing "su" and "mount -o rw,remount - /system" in the shell? I just bought you a beer to save typing the long mount command. Enjoy.

Sent from my Galaxy Nexus using Tapatalk 2

As I understand it (which could be wrong), it's for devices where that command won't work. It makes that command (which I believe is pretty much the same as "adb remount") work on those devices.
8th June 2012, 07:02 PM |#11  
Chainfire's Avatar
OP Senior Moderator / Senior Recognized Developer - Where is my shirt?
Thanks Meter: 61,568
 
Donate to Me
More
No, that command does actually work, prefixed with "su". In fact, all of the things mentioned are still possible with su, inside adb shell, even without adbd insecure, on one of the devices this program is made for.

The thing is, say you want to pull something from a location thats "protected", you'd first have to shell into the device, "su", move it to a location accessable to adbd, logout of the shell, then adb pull. Push ? Same thing, other way around.

Same thing goes for a large number of commands, you can skip the entire "su" part needed on some devices.

Everything this enables is still possible on every rooted device, it just saves you quite a bit of typing (and hairpulling) for those who do not have adb running as root. If you use adb as much as I do, this is absolutely something you want.

On the other hand, if you're the occasional adb user only, you may not know what to do with this - and then this is not for you
Last edited by Chainfire; 8th June 2012 at 08:36 PM.
The Following 7 Users Say Thank You to Chainfire For This Useful Post: [ View ]

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes