I've found a solution.
I've changed the init.rc where service console /system/bin/sh i've modified 
user and group to root !

Le mercredi 6 mars 2013 09:50:45 UTC+1, Alex a écrit :
>
> Thank you very much, it works great !!! :)
>
> But I have another problem, when i'm connecting to my board, i'm not ROOT 
> on the android shell, there is a way to have root rights ?
>
>
> Le mardi 26 février 2013 20:01:11 UTC+1, Zoltan Kuscsik a écrit :
>>
>> Hi,
>>
>> you can set your application category to HOME and replace the default 
>> Launcher.
>>  To disable the lock screen you will need to toggle 
>> the Settings.System.LOCKSCREEN_DISABLED value in the settings database.
>> You can achieve this by:
>>
>> 1. hacking the DatabaseHelper.java in framework/base/...
>> 2. edit the settings.db on the device in 
>> data/data/com.android.providers.settings/databases
>> 3. Create a java app at the launches with a system permission at the 
>> first start and changes the
>> default settings for the lock screen.
>>
>> 1.-2. can be a quick dirty-hack but number 3 is strongly advised ;)
>>
>> Z
>>
>> On Friday, February 22, 2013 12:09:25 PM UTC+1, Alexandre Pari wrote:
>>>
>>> Hi,
>>>
>>> I'm working on porting Android on a board and I want to modifiy the 
>>> "booting sequence".
>>> In facts I want to* disable/remove the lock screen* when Android is 
>>> finished to boot and I want to *start an application automatically*.
>>>
>>> I don't find in frameworks/base/services/... where I have to modify the 
>>> code to starting on application directly *without the lock screen* ?
>>>
>>> More if I want that the screen never locked, I read that I have to 
>>> modify the timeout but in which file, IPowerManager.cpp ?
>>>
>>> Thank you !
>>>
>>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
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 android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to