5,600,841 Members 41,679 Now Online
XDA Developers Android and Mobile Development Forum

[Q] plz help! How to change default.prop?

Tip us?
 
dicksonlok
Old
#1  
Junior Member - OP
Thanks Meter 5
Posts: 25
Join Date: Feb 2013
Location: Hong Kong
Prompt [Q] plz help! How to change default.prop?

I want to change some proprieties of the default.prop(yeah, not build.prop )
(ro.secure=0==>1
ro.debuggable=1==>0
persist.service.adb.enable=1==>0)
But I don't know to change that in Rom 4.2 onwards (I could change it in Kayant's 4.1.1 AOKP Rom by changing /system/bootmenu/config/default.prop but this method don't work on another CM android 4.2 Rom, because of 2ndboot?)
How to change the default.prop (or the corresponding values)?
(Coz the app I want to use is checking those values, and refuses to start if it detects ro.secure=0 or ro.debuggable=1 or persist.service.adb.enable=1)
(I want to move to a new Rom but I have to solve this problem first)
 
neo.ank
Old
(Last edited by neo.ank; 15th December 2013 at 04:39 AM.)
#2  
neo.ank's Avatar
Senior Member
Thanks Meter 418
Posts: 965
Join Date: Apr 2011
default.prop is in the boot.img

You will need to unpack the boot.img, edit default.prop and then repack it.
This should help.

http://android-dls.com/wiki/index.ph...ck_Boot_Images


This is something I wouldn't do until its very crucial.

DROID RAZR with Tapatalk 4
My friend told me,there was life outside the internet and that I should check it out.
I said "Cool.! Send me the link. !!"


 
dicksonlok
Old
#3  
Junior Member - OP
Thanks Meter 5
Posts: 25
Join Date: Feb 2013
Location: Hong Kong
Default Where

Quote:
Originally Posted by neo.ank View Post
default.prop is in the boot.img

You will need to unpack the boot.img, edit default.prop and then repack it.
This should help.

http://android-dls.com/wiki/index.ph...ck_Boot_Images


This is something I wouldn't do until its very crucial.

DROID RAZR with Tapatalk 4
I know, but where is boot.omg, I can't find in the zip
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes