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/databases3. Create a java app at the launches with a system permission at the first start and changes thedefault 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-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting
---
You received this message because you are subscribed to a topic in the Google Groups "android-porting" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-porting/3vm49rZ-1U4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-porti...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I think it is enough to update the following value in SettingsProvider:
<bool name="def_lockscreen_disabled">false</bool>
in frameworks/base/packages/SettingsProvider/res/values/defaults.xml
Regards,