I also remember coming across some other interesting properties in
frameworks/base/services/java/com/android/server/SystemServer.java, a quick
grep yields:

        String factoryTestStr = SystemProperties.get("ro.factorytest");
        final boolean headless =
"1".equals(SystemProperties.get("ro.config.headless", "0"));
        boolean disableStorage =
SystemProperties.getBoolean("config.disable_storage", false);
        boolean disableMedia =
SystemProperties.getBoolean("config.disable_media", false);
        boolean disableBluetooth =
SystemProperties.getBoolean("config.disable_bluetooth", false);
        boolean disableTelephony =
SystemProperties.getBoolean("config.disable_telephony", false);
        boolean disableLocation =
SystemProperties.getBoolean("config.disable_location", false);
        boolean disableSystemUI =
SystemProperties.getBoolean("config.disable_systemui", false);
        boolean disableNonCoreServices =
SystemProperties.getBoolean("config.disable_noncore", false);
        boolean disableNetwork =
SystemProperties.getBoolean("config.disable_network", false);


But those implies you have already started the zygote.


On Wed, Apr 9, 2014 at 3:44 PM, Kyle Manna <[email protected]> wrote:

> There is a factory test mode that attempts to do some of this, but you
> need to dig deep in to the ActivityManager and friends to see what exactly
> happens and how broken it might be.
>
>
> On Wednesday, April 9, 2014 10:29:42 AM UTC-7, Somdutta Roy wrote:
>>
>> I believe there is also a headless android configuration which you
>> specify while building, essentially this would eliminate the surface
>> flinger, audio flinger  and lot of other framework components so you will
>> probably be left with android kernel booting with a few of the android file
>> system, you need to google it
>>
>> On Wednesday, April 9, 2014 4:36:51 AM UTC-4, Richard Phillips wrote:
>>>
>>> Hi,
>>>
>>> Thanks, I'll give that a try then!
>>>
>>> Regards,
>>> Richard.
>>>
>>>
>>> On 8 April 2014 17:44, Thiago C. Santini <[email protected]> wrote:
>>>
>>>> From my own experience, "Android" is quite an abstract term. But yes,
>>>> an empty init.rc should give you a clean system (i.e. only basic kernel
>>>> processes/threads such as init, khelper, kworkers, binder).
>>>>
>>>> I would leave the console and the adbd services though, so you get an
>>>> console and you still can access your device through adb.
>>>>
>>>> Hope it helps,
>>>>
>>>>
>>>> On Tue, Apr 8, 2014 at 12:45 PM, Richard Phillips <[email protected]>wrote:
>>>>
>>>>> Hello all,
>>>>>
>>>>> How can I stop Android booting, once the kernel is up-and-running?
>>>>> Would an empty "init.rc" do the job?
>>>>>
>>>>> Regards,
>>>>> Richard.
>>>>>
>>>>> --
>>>>> --
>>>>> unsubscribe: [email protected]
>>>>> website: http://groups.google.com/group/android-porting
>>>>>
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "android-porting" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Atenciosamente / Kind Regards
>>>>
>>>> Thiago Caberlon Santini
>>>> Computer Engineer - Federal University of Rio Grande do Sul
>>>>
>>>> Website:   http://www.inf.ufrgs.br/~tcsantini/
>>>> PGP-Key: http://www.inf.ufrgs.br/~tcsantini/tcsantini.asc
>>>>
>>>
>>>


-- 
Atenciosamente / Kind Regards

Thiago Caberlon Santini
Computer Engineer - Federal University of Rio Grande do Sul

Website:   http://www.inf.ufrgs.br/~tcsantini/
PGP-Key: http://www.inf.ufrgs.br/~tcsantini/tcsantini.asc

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to