[android-kernel] Re: Power on device?

2013-12-03 Thread Anirudh Gargi
Firstly, the kernel does boots up in case of power-of charge. Its booted in a special mode (maybe with different .rc file) such that only the charging related process is spawned up (but kernel and drivers are loaded). Secondly, the power-off wake up can be done by RTC clock. As a RTC clock is

Re: [android-kernel] Bootloader Splash Screen

2013-12-03 Thread Jeremy Morales
You are looking to do a rle image http://forum.xda-developers.com/showthread.php?t=1140406 On Tue, Dec 3, 2013 at 11:56 AM, Maninder Singh wrote: > Hi All, > I have a query.When we power on an android phone say a Samsung > smartphone running the bootloader sboot , the bootloader image i

[android-kernel] Bootloader Splash Screen

2013-12-03 Thread Maninder Singh
Hi All, I have a query.When we power on an android phone say a Samsung smartphone running the bootloader sboot , the bootloader image i.e the splash screen displaying the model number like GT-N7100(Galaxy Note 2) is seen.Till now the kernel has not started yet.After that the screen dims

[android-kernel] How to change Android Emulators sensors and how to use printf for debugging

2013-12-03 Thread Thanasis Petsas
Hi all, I am trying to change the behavior of the default sensors used in Android Emulator. I am interesting of changing the Accelerometer sensor. I have downloaded and build the source succesfully through these instructions: Code: repo init -u https://android.googlesource.com/platform/manif

[android-kernel] About the kernel used in recovery environment

2013-12-03 Thread Kanchan Joshi
I have the understanding that recovery kernel is different from the main Android kernel (the one which boots normally). And usually that is stored on a different partition on underlying storage ("recovery" partition). I am aware of these three recovery environment - stock, CWM and TWRP. On my

[android-kernel] Re: Why are mounts only visible to root (Android 4.4 KitKat KRT16M - on Nexus 5)

2013-12-03 Thread zc
Finally I got a step further! The "Problem" really seams to be with SElinux, because when I mount using a shell-script (masked as a system-service like /system/bin/debuggerd) with "/system/bin/start" the mount is visible systemwide. So the remaining question is how to change the responsible SEl

Re: [android-kernel] android booting process (components involved and interactions with the internal storage)

2013-12-03 Thread Kanchan Joshi
Thank you Hedwin, for the wonderful link. Raja, I have a google nexus device (Nexus 4, and Nexus 7) and I intended to check the boot sequence on'em. Nexus 4 has qualcomm msm chipset and nexus 7 has nvidia tegra chipset. On Sunday, November 17, 2013 1:25:02 PM UTC-8, Hedwin wrote: > > beagleboard

Re: [android-kernel] Re: Why are mounts only visible to root (Android 4.4 KitKat KRT16M - on Nexus 5)

2013-12-03 Thread z.c
Hi Mark, thank you for the reply and no you shouldn't keep your mouth shut, I appreciate every discussion because I'am really stuck with this. I've thought about this myself and actually think that you are right, it's proppably not a "problem" but an securtiy enhancement. But this is security I w

Re: [android-kernel] Re: Why are mounts only visible to root (Android 4.4 KitKat KRT16M - on Nexus 5)

2013-12-03 Thread mark gross
I have not actually looked at the issue so I really should keep my mouth shut but, I can't help myself sometimes. Could this be a SE-linux configuration setting deployed with the N5? What do the dmesg's / logs say when you attempt to access the mount points? Do we know its actually a "problem" a

[android-kernel] Re: Why are mounts only visible to root (Android 4.4 KitKat KRT16M - on Nexus 5)

2013-12-03 Thread zc
I've also tried this with an AVD ("Android 4.4 - API Level 19"), but since "adb shell" is only possible as "root" on an AVD I installed a FileManager APK to verify the result. So I did the following: user@ubuntu:~$ emulator -avd KitKat user@ubuntu:~$ adb install user@ubuntu:~$ adb shell root@g