Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android 4.2.2 RSA disabling

Tags:

android

How to disable RSA autentification for android 4.2.2 I has tried following methods:

1) setprop ro.adb.secure 0
   getprop still return 1.
2) Root phone and retry method 1 
   getprop still return 1.
3) Root phone and manually change ro.adb.secure to 0 in the /default.prop
   getprop still return 1.

Does anybody know how can I disable this check:

enter image description here

like image 403
Laser Avatar asked Jan 19 '26 11:01

Laser


2 Answers

Here's why the methods you tried did not work:

  1. ro.* properties are read-only. Once a read-only property is set, it can never be changed or removed. Your ROM is probably setting it in default.prop which is advised very early during init, so setprop will never be able to change it.

  2. Same as (1).

  3. /default.prop lives on the ramdisk and is only advised early during boot so changing it will have no effect on the property while Android is up and running, and once you reboot default.prop will be back to it's original ramdisk version.

The only way to change this property is to rebuild your boot partition with a modified ramdisk containing a modified default.prop. There's a pretty good HowTo HERE on unpacking and re-packing a boot.img on Android.

like image 106
netboy Avatar answered Jan 21 '26 03:01

netboy


If you have a fixed set of machines you can collect their public keys into a single file and add it to your device.

I described it here for a single machine but for multiple machines you have to repeat the first step before adding the file in one go to your device.

like image 21
hultqvist Avatar answered Jan 21 '26 02:01

hultqvist



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!