AOSP image with Developer Options enabled by default

1,688 views
Skip to first unread message

Daniel Doron

unread,
Mar 12, 2015, 8:50:40 AM3/12/15
to android...@googlegroups.com
Hi,

I would like to create an AOSP image where "Developer options" is enabled by default, usb debugging also enabled by default and always allowed. 
Is this possible? How can I do that? 

Thanks,
Daniel. 

Glenn Kasten

unread,
Mar 12, 2015, 11:21:48 AM3/12/15
to android...@googlegroups.com
The source code for Settings is at packages/apps/Settings/src/com/android/settings/DevelopmentSettings.java
Search around in there. Best case, you can find a property name that you can set in your device.mk properties,
or worst case you can modify the code to do what you want.

Daniel Doron

unread,
Mar 15, 2015, 7:05:18 PM3/15/15
to android...@googlegroups.com
Thanks Glenn, that is what I did, change the code in packages/apps/Settings/src/com/android/settings/DevelopmentSettings.java and some other places...

Daniel. 

Ian viché Brown

unread,
Jul 7, 2016, 10:08:31 AM7/7/16
to android-porting
I'm trying to do the same thing. I know I'm sort of reviving this old post, but which other places did you change?

Thanks
Reply all
Reply to author
Forward
0 new messages