Android :: Can Boot Into A Single Application On Boot
Oct 24, 2009
How easy is it to make an application that's just a wrapper around the browser? Can the Android OS boot directly into that application so that only a certain application launches after boot. I'm building a client some custom software and I'd prefer to use one of those Archos 5 MIDs than a Linux netbook.
I try to understand android boot sequence on my JB (under CM10). I found some docs and there should be specific partitions (boot, recovery, system, cache, data).
My understanding of the boot sequence is now:
A) normal boot: 1) Power ON -> 2) bootloader -> 3) boot-partition where i flashed the kernel aka boot.img -> 4a) system-partition with the OS (libs, UI, etc) where i unpacked over CWM my customROM.zip -> 4b) data-partition, where i unpacked google-apps.zip and installed all the apps -> 4c) cache-partition with user data
B) recovery boot (adb reboot recovery): 1) Power ON -> 2) bootloader -> 3) recovery-partition with CWM where i may unpack all the .zip stuff to proper partitions, or restore from sdcard, etc.
Is this correct? I wonder, because i didn't installed CWM into recovery-partition. It cames from install of CM10 (fastboot -i 0xfce flash boot boot.img), so it must be in boot-partition and not in recovery?
So, next confusion: i looked up to /proc/mtd and i don't see neither boot nor recovery partition here:
I did a backup with CWM and loocked the data. There aren't boot, and recovery backups:
# ls -lha /sdcard/clockworkmod/backup/2012-10-04.18.49.55/ d---rwxr-x 2 system sdcard_r 4.0K Oct 4 18:56 . d---rwxr-x 3 system sdcard_r 4.0K Oct 4 18:49 .. ----rwxr-x 1 system sdcard_r 1.6K Oct 4 18:54 .android_secure.vfat.dup ----rwxr-x 1 system sdcard_r 54.6M Oct 4 18:55 cache.yaffs2.img ----rwxr-x 1 system sdcard_r 360.2M Oct 4 18:53 data.yaffs2.img ----rwxr-x 1 system sdcard_r 212 Oct 4 18:56 nandroid.md5 ----rwxr-x 1 system sdcard_r 214.6M Oct 4 18:51 system.yaffs2.img #
So, i think i didn't understand the boot sequence and partition schema corectly.
Instead of seeing the boring old Android logo or my service provider's logo, I'd love to see the standard text-based Linux boot screen that shows the status of all the hardware and configuration info as my phone boots. My current phone is an HTC EVO 3D running Cool ICS with Sense 3.6 and Revolutionary CWM.
I went to reboot my Droid because it was lagging a little and when it came back on it go stuck at the Cyanogen boot screen. I pulled the battery, put it back in and held the X to boot in recovery and my recovery won't come up either. It just skips right to the Motorola M and if it doesn't get stuck there it goes back to the Cyanogen screen.
I haven't made any changes to the phone at all so I am completely puzzled on why this is happening. I obviously can't take it back to Verizon since its rooted so if there is a way to fix this I really want to because I love my phone and my wife will kill me if it is screwed up.
Other than downloading a 3rd party application that auto-starts apps on boot, is there a way within the OS itself to autostart programs when the phone reboots? I have a few apps I use for work and would be nice if they autostarted on my Droid without having to launch each one independently.
I have registered a Receiver component for ON_BOOT_COMPLETED broadcast, in my application. The receiver does just prints a line in its onReceive() callback. However, when I boot the emulator(by executing Run as->Android application command from Eclipse) and unlock the screen on start up, I get an ANR dialog displayed in my Application. Following are the exceptions logged:
I tried installing Tranquility and must have screwed something up because now my phone won't boot past the Motorola Logo. It's been sitting here like this for about 15min and I can't even boot into recovery by holding the power and home buttons. I don't know what else to do now. Idk if my phone is bricked but even if it is don't I need the SBF file to unbrick it and I can't find that file any where. I did a nand backup or whatever before doing any of this so hopefully that can help me. What should I do now?
at the moment I am thinking about a new app and need some information to decide whether to develop on Android or an alternative OS. I am particularly interested in "time to first screen", "boot-up time", "time to first Audio" and "app-start" (can be any from the android market or even one of the pre-installed ones) time? Does anyone know a source or perhaps measured those numbers?
I'm trying to guess what are the files that contain the low level code of the boot.img/recovery.img images. I tried modifying the .S files in the sub folders of "/bootable/bootloader/legacy/", but after a re-compilation the boot image are exactly the same as before my edits to the file(s) (Checked with shasum before & after the re-compilation). Also, I'm trying to avoid a "make clean", because a full compilation takes me about 3.5 hours
I want to get the booting log. But when I use the logcat, I can't get the whole info. In file dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/ provider/jsse/SSLParameters.java, I added "java.util.logging.Logger.global.log(java.util.logging.Level.SEVERE, "SSLParameters.getDefault() is called");" in the function getDefault () . But when I use the logcat, I can't get the sentence "SSLParameters.getDefault() is called". I can test that the function is surely called. Why? How can I get the info?Thanks.
I have compiled Android source code already (which I downloaded using GIT), and I am being editing the source code of an Application for testing on Emulator, each time I wanna see results I have to re-Compile the source code again using 'make' I am pretty sure that there is a way to partly-compile the image.
I would like to know if there is a way to lock (prevent) an application from starting.And i also would like to know if there is a way to prevent a service(application) from starting at boot of the device.i would like to know because i would like to create an anti-malware app.
I want to reduce the boot up time of android.I have tried removing some stuff such as not required .apk from the / system/apps folder.from init.rc file some services which is not required.my kernel uncompressing is taking 11 sec almost.how can reduce that.one thing is that i can remove the drivers which are not needed but i am not finding any .config file to remove it?From where can i remove the not required driver from kernel code?What all other stuff can i remove to reduce boot up time?
I was wondering if it is possible to dual boot ios on android? Yes, there are already threads on it, but time passed so you never know. Is it impossible or are there ways? I would really love to dual boot.