General :: How To Interrupt Android Boot Sequence To Force It Boot To Linux Kernel Only

Sep 12, 2013

I am trying to do some low level performance testing related to device processor cores through adb which I feel it is affected by Android background services and system stuff.

As I know that the Android boot sequence stages are as follow:

1.Execute Boot ROM code.
2.Execute the boot loader.
3.Load the Linux kernel.
4.Launch Zygote, which initializes the Dalvik VM.
5.System server which loads the Android system.

So my question is how can I interrupt this sequence to force it stop on stage 3 to load Linux kernel. This can implement my intermediary performance testings before loading again Android system.

Does Fastboot or Clockworkmod recovery can load my device to a kind of Linux kernel?

General :: How to interrupt Android boot sequence to force it boot to Linux kernel only


General :: Android Boot Sequence And Backup / Access To Boot / Recovery Partitions?

Oct 4, 2012

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:

Quote:

# cat /proc/mtd
dev: size erasesize name
mtd0: 19000000 00040000 "system"
mtd1: 00600000 00040000 "appslog"
mtd2: 06580000 00040000 "cache"
mtd3: 1a400000 00040000 "userdata"

I did a backup with CWM and loocked the data. There aren't boot, and recovery backups:

Quote:

# 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.

View 2 Replies View Related

General :: Can Android Boot Logo Screen Be Configured To Show Linux Boot Logging

Jun 13, 2012

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.

View 2 Replies View Related

General :: HTC Explorer A310e - Boot Linux / Windows OS Instead Of Android

Oct 14, 2012

Is it possible to boot a linux or windows os instead of android? I saw something, if I remember right, there was an app which booted linux os. But it should be like custom ROM.

HTC Explorer A310e

View 9 Replies View Related

Sprint HTC Hero :: Copy And Post Files For Boot Sequence?

Aug 3, 2010

Is it possible that someone who still has 1.5 on their Hero to copy all the needed files for the COMPLETE boot sequence and post it so I can download it? Someone has already posted the HERO logo with the android waving but I would like the whole boot loop.

View 5 Replies View Related

General :: How To Modify Boot Kernel

Apr 19, 2012

How to modify boot kernel ?

View 1 Replies View Related

General :: Why Won't Allwinner A10 Kernel Boot

Jun 26, 2013

I am trying to use my cheap virtually unbrickable tablet to learn more about kernel development and eventually ROM building.

I have extracted the manufacturers (WoPad) LiveSuit image and used split_bootimg.pl to break up the boot image.

I extracted the config file from the kernel image using extract-ikconfig and it created a config file. I didn't see the config in /proc.

So, I have the factory ramdisk and the factory kernel config.

I have downloaded several kernel sources (lichee-3.0.8, ChritianTroy's 3.0.36, and another one from linux-sunxi 3.0.72). I can successfully compile all of them without errors and they all generate zImages, uImages, etc using the factory config as well as the sun4i_crane configs they come with.

When I repack the boot.img with the newly created kernel and install it on nandc it wont' boot past the android icon (u-boot). When I compare my boot.img to the factory one, they both have the same offset where the kernel starts (0x00000800). I have also ensured I'm replacing the kernel modules when I'm changing kernel versions.

Here is the line I'm using to repack the boot.img

Code:
mkbootimg --base 0x40000000 --pagesize 2048 --kernel zImage --ramdisk ramdisk-repack.cpio.gz --board sun4i --cmdline "console=ttyS0,115200 rw init=/init loglevel=8" -o boot.img

[Code]...

Also, I'm building on Ubuntu 13.04 with Google GCC 4.6 from the ndk. I have built kernels for other devices without issues.

View 3 Replies View Related

General :: Change Kernel Boot Logo

Aug 29, 2013

How to change the kernel boot logo on my samsung kernel? I don't mean the boot animation. I may have built a ROM but the kernel used there doesn't belong to me.

View 9 Replies View Related

General :: Porting A Kernel That Hangs At Boot

Feb 1, 2014

I am trying to port a kernel from one zte 8960 to another. I have cwm recover set up with kexec to get a log of what is going on. the kernel hangs at boot of the phone so I trying to find the cause

-last_kmsg after a failed boot of 3.4

pastebin.com/0AGpACsT

-last_kmsg after a boot of 3.0.8

pastebin.com/N3WtDHwC

-split-boot of boot.img

Code:
output directory: fi
boot_magic correct: ANDROID!
kernel size: 6045264
kernel address: 2149613568
Base: 2149580800 (hex): 0x80200000
[code]....

I am thinking it might had hit "un-allocated" memory area, I did have to change the ramdisk_offset from 0x01300000 to 0x02000000 make the kernel fit. what could I do to check to see if it is un-allocated space I am dealing with

View 1 Replies View Related

General :: Xperia Arc S Won't Boot Up After Installing Kernel

Dec 1, 2013

my device : xperia arc s

im new in android and a couple hours ago i try to instal beanstalk - legacy kitkat 4.4 and they suggest to download kernel from dark raven "dark kernel cm11.0" 11DarkUrushi20131130 after that im flash the kernel and something happen....

my phone dont boot up and the logo dont appear

im try to connect to flash tool but still dont get it...

nb : for guarantee already pass 3 month ago....

View 1 Replies View Related

General :: Any Way To Change Kernel Boot Logo / Animation?

Jan 25, 2014

Is there any way to change my kernel's boot logo / animation ?

E10i

View 2 Replies View Related

General :: Any 1.4Ghz Kernel For S7562 That Don't Overclock At Boot

Jan 19, 2014

I would like to know if is there any custom kernel (1.4 Ghz) for Galaxy S Duos (Gt-s7562)

That don't overclock to 1.4 Ghz until we do it by app

View 2 Replies View Related

General :: Flashed Kernel By MB-14 On Galaxy Ace Plus / Getting Original Boot Logo

Aug 27, 2013

Recently I flashed A Kernel By Mb-14 on my Galaxy Ace Plus.....It Changed my Boot Logo.....i Want my Original Bootlogo back...

View 3 Replies View Related

General :: Tweaking Kernel In Ubuntu To Change Boot Logo For I9300

Apr 29, 2013

I wanted to change the boot logo for i9300. Im well aware that you have to incorporate it in the kernel. I installed Ubuntu, the necessary libraries and brought the cyanogenmod source code. Only part is I dont have the necessary experience to tweak it using the NDK tools

View 2 Replies View Related

General :: Razr Maxx Stuck In Boot Loop After ICS Force Update

Jul 4, 2012

I tried to force ics update to my phone and it is stuck on the big Motorola M screen. ive tried to flash the update just like you would a rom and it didn't work. it was my only option cause the guide i was following was for a pc and I own a mac so the utility provided wouldn't open on my computer. after it didn't work i tried a factory reset but that hasn't done anything. what can i do? the sd card wont mount on my comp so i cant put anything on that.

View 1 Replies View Related

Motorola Droid X :: Small Linux Boot Animation For Device

Nov 16, 2010

Credit to Daali at MyDroidWorld
http://www.mydroidworld.com/forums/droid-x-themes/5361-d-amn-small-linux-bootanimation-droid-x.html

View 7 Replies View Related

General :: Boot.img: Updated Is Too Big For The Boot Image?

Jul 14, 2012

huawei u8860:

i compiled a kernel from the sources kernel-3.0.8-U8860-IcecreamSandwich.tar.gz .

on virtual box ubuntu 10.04 (oracle java 1.6.0u33 )with

Code:
gcc -v
x86_64-linux-gnu
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)[code]......

View 1 Replies View Related

Android :: Force Apps To Start On Boot?

Dec 3, 2009

Unfortunately, I've had to uninstall several apps that I liked because they force start on boot and my Droid was becoming completely laggy because of too many apps starting on boot. I understand that some apps/widgets need to start on boot, but others its completely unnecessary. At a minimum, make an option in settings to let the user decide if we want it to start on boot up.

I just uninstalled Note Everything, Estrong File manager and Weatherbug because they were starting on boot. I love MixZing and I am kind of annoyed that it starts on boot, but its an app I "need" so I can't uninstall it. I'll probably email all these devs and ask about giving the option not to start on boot.

View 6 Replies View Related

General :: Build Kernel MT6577 - Can't Boot After Build

Feb 21, 2013

I have a phone with a MT6577. The vendor (Wiko) published the kernel source code. So, i'm trying to build it. I can get the zImage. I converted it to boot.img but i can't boot with it on my phone.build a good zImage? (if you want to try) : URL...

cp mediatek-configs .config
TARGET_PRODUCT=s9081 MTK_ROOT_CUSTOM=../mediatek/custom make
# sudo mtk-tools/repack-MT65xx.pl -boot zImage boot.img-ramdisk boot.img
MTK-Tools by Bruno MartinsMT65xx repack script (last update: 27-01-2013)
Repacking boot image...
Ramdisk size: 2046 blocs
Repacked boot image into 'boot.img'.

Here are the Warnings I got when compiling

mediatek/platform/mt6577/kernel/drivers/video/tvc_drv.c:61:5: warning: "FIXED_WVGA_PARAMS" is not defined
net/ipv4/tcp.c: In function 'tcp_nuke_addr':
include/net/ipv6.h:338: warning: 'in6' may be used uninitialized in this function
net/ipv4/tcp.c:3367: note: 'in6' was declared here
In file included from net/ipv4/netfilter/ipt_LOG.c:27:
include/net/netfilter/xt_log.h: In function 'sb_close':
[code]....

View 9 Replies View Related

Nexus :: 2.2.1 Update - Force Close Launcher / Won't Boot

Oct 12, 2010

I've noticed my Nexus acting a bit buggy since the 2.2.1 update. Lots of force closes with the launcher. (which is exactly why I shredded and burned my old MyTouch for). After FINALLY getting a THIRD 16 gig card, after the other two got "damaged" costing me so far 25-30 gigs of content, I loading it up with movies and songs for my vacation. I go to reboot and it keeps looping the boot animation but wont boot up. Getting really close to kissing Android good bye as I've had NOTHING but bugs and damaged SD cards and an overall terrible user experience for a year and a half with two phones. I know we're only really two years into development but how much longer do we have to wait for a finished product that I don't have to keep making excuses for? More to the point WTF is going on with the boot loader on my phone and how do I fix it?

View 2 Replies View Related

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.

View 2 Replies View Related

Motorola Droid :: Won't Boot Past Cyanogen Boot Screen

Oct 30, 2010

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.

View 3 Replies View Related

HTC Eris :: Home Constant Force Close - Unable To Boot

Jul 14, 2010

Is there a way to boot into my Eris Safe Mode? When trying to turn on my phone last night, I get a force close pop up telling me aHome has stopped working, "Sorry". I've been searching since midnight for a way to start Safe Mode, or a step by step of what to do in recovery mode. I have a stock Eris on 2.1 OTA, 1.47 bootloader, and I do NOT have root. Is a Factory Reset my only alternative?

View 6 Replies View Related

General :: Nexus 7 - How To Build Latest Linux Kernel For Android Device

Mar 24, 2013

How to build latest linux kernel from off site for Android device (for example Nexus7)?

I have: AOSP source code

Android build for device (from aosp)
Downloaded kernel 3.8.4 from off site

The question is: How can I build latest kernel using all described stuff (aosp source, kernel config, latest kernel)?

View 1 Replies View Related

Motorola Droid X :: Won't Boot Past Motorola Logo Nor Boot In To Recovery

Sep 16, 2010

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?

View 9 Replies View Related

Android : How To Patch Linux Kernel?

Nov 17, 2010

I am having a serious problem. What i have in my hand : Linux Kernel 2.6.29 with Android Eclair patches and some board specific patches(as .patch files). Linux Kernel 2.6.32 with Android Froyo patches.

View 1 Replies View Related

Android :: When Will Google Rejoin Linux Kernel Community

Oct 13, 2010

Is Android is going down a dead end?

When will Google rejoin the Linux kernel community?

Is it Goodle's business model (spyware by any other name?) clashes with the ethics of the open source community?

View 2 Replies View Related

Android :: Upload Customer Compiled Linux Kernel - Replace

Jan 13, 2010

i want to add some features to linux kernel to run on my mobile (android based mobile perhaps). but i don't know who let me to upload my custom kernel. i want to buy such mobile phone. some restrictions about uploading custom kernel to phone:

1- replace existing kernel.
2- can use my phones functionalities: it is due to some drivers are closed source and i must use the vendor's kernel to use it's drivers.

View 2 Replies View Related

General :: Possible To Dual Boot IOS On Android

Aug 28, 2012

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.

View 1 Replies View Related

General :: How To Dual Boot Android To IOS 7

May 2, 2014

Is there anyway how to dual boot android to ios7 or even ios6.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved