Hi, you need ro.secure=0 have in your device /default.prop file to be able to get a root shell using "su".
By default, adb shell will drop you into a shell without root permission. You can change this default behavior using the command: # adb root This will normally work only on engineering builds and not on user builds. Br, Zoltan On Wednesday, March 6, 2013 9:50:45 AM UTC+1, Alex wrote: > > 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.