AOSP Android 2.2 FroYo! 1/22/11 New Build Posted

mrinehart93

Well-known member
Apr 28, 2010
179
24
0
Hey guys! I'm excited to bring you my first ROM, and one that should help us do more customizations, and possibly lead to CyanogenMod! Without further meandering...

AOSP Android 2.2 (FroYo)!

What works:
  • Android
  • Multitouch
  • Vibration/Haptic Feedback
  • Busybox
  • Display

What doesn't work:
  • Mobile Networks (Can't find networks)
  • Sound
  • Bluetooth
  • Wireless Networks (Wifi)
  • Camera
  • Accelerometer
  • GPU Acceleration

I need helpers! The drivers will not load because of incorrect lib files. Please help me get the drivers working by swapping libs between the stock ROM and this AOSP ROM. Swapping them all out will only result in a bootloop, by the way.

Download: AOSP 2.2 - Click me!
Download link updated on 1/22/2011 @ 14:32 Central Time.

Logcat of AOSP booting (help me figure out why drivers aren't loading): --------- beginning of /dev/log/main I/DEBUG ( - AOSP Boot logcat


Thanks to Zefie for giving me some scripts that I used to help build our kernel (so that it boots!), Decad3nce @ XDA-Developers.com for helping me with some kernel stuff.

If you want to help out, freel free to join the IRC channel (use this link for webchat): http://webchat.bikcmp.com:9090/?channels=optimusaosp
 
Last edited:
Awesome!!!

I think. Honestly I have no idea what this means...I'm a total noob when it comes to android, but I know many others are as well. To head off all the nooby questions, I'm curious:

1) How is this different/better/worse than nROM or ThundeROM? I'm guessing, (purely guessing), that it's different because they are based on the Sprint/LG ROM that came on the phone, whereas your ROM is compiled from scratch, from Android source code?

2) Once some bugs are worked out, (sound, camera, phone, cell...etc), will this give more power/customizability/control/etc. than currently afforded to us by nROM and ThundeROM? What benefits will this have?

Thanks!
 
Awesome!!!

I think. Honestly I have no idea what this means...I'm a total noob when it comes to android, but I know many others are as well. To head off all the nooby questions, I'm curious:

1) How is this different/better/worse than nROM or ThundeROM? I'm guessing, (purely guessing), that it's different because they are based on the Sprint/LG ROM that came on the phone, whereas your ROM is compiled from scratch, from Android source code?

2) Once some bugs are worked out, (sound, camera, phone, cell...etc), will this give more power/customizability/control/etc. than currently afforded to us by nROM and ThundeROM? What benefits will this have?

Thanks!


You are correct with #1. This ROM is built entirely from Android source code. For #2, once the bugs are worked out and it's actually usable, we'll have complete customizability and control over the ROM. It will also be faster, since it will be running the bare minimum without any bloat whatsoever. So, the benefits are endless. It's essentially like having a Nexus One or Nexus S where it's just straight-up Google :)
 
You are correct with #1. This ROM is built entirely from Android source code. For #2, once the bugs are worked out and it's actually usable, we'll have complete customizability and control over the ROM. It will also be faster, since it will be running the bare minimum without any bloat whatsoever. So, the benefits are endless. It's essentially like having a Nexus One or Nexus S where it's just straight-up Google :)

Awesome mrinehart93! Downloading now to test it out.
 
Better make it a sticky. This one has promise. I just got a new laptop, looks like I will be dual booting this new one. I like setting everything up on the Linux side.

I am decent with Java, .NET, C#, basically anything OO. If there something needed, give me a shout.

EDIT - Decided not to dual boot, but just purchased 8Gb to max out RAM, and then I am going to find whatever virtualization application that will allow me to build gingerbread. Also, I am getting my HTC Hero back for some development fun!!!
 
Last edited:
good job on an aosp rom!

can't wait to see some further progess on it. if i can do anytihng to help, let me know.
 
Awesome. I don't have much experience in this arena (some programming experience in Java, C++, html, basic, etc.), but if you need any grunt work done, message me! I'd love to help!
 
This is a great start, keep it up.

Thanks guys! Right now, I'm trying to figure out the driver situation... it doesn't really make sense. The kernel I've been using HAS the drivers included (I think), but AOSP doesn't seem to want to use them. I've even tried using a boot.img from some others ROM's, and I got the same result. Just curious... do you think it matters that I'm using a ramdisk other than the one that was compiled when I compiled the ROM itself? I've tried the AOSP-compiled ramdisk, but I couldn't even get the phone to boot with that.
 
Awesome! I tried to use that kitchen to combine nROM and AOSP1 together but got looped. I have cooked about 4 diff roms and all get looped, lol. You got a good thing going here, thanks for the hard work!
 
Did you patch the ASOP kernel sources w/ the LG Kernel sources?

Yessir. That's why this is so strange, because it should be loading the drivers. I'm talking with some people in the official Android IRC channel to see if they can help me out.
 
Here is the result of a dmesg while in ADB shell:
Code:
<6>[    0.000000] Initializing cgroup subsys cpu
<5>[    0.000000] Linux version 2.6.32.9 (mike@mike-desktop) (gcc version 4.4.0 (GCC) ) #1 PREEMPT Thu Jan 13 20:16:33 CST 2011
<4>[    0.000000] CPU: ARMv6-compatible processor [4117b365] revision 5 (ARMv6TEJ), cr=00c5387f
<4>[    0.000000] CPU: VIPT aliasing data cache, VIPT aliasing instruction cache
<4>[    0.000000] Machine: THUNDER Sprint board (LGE LS670)
<6>[    0.000000] Partition (from atag) boot -- Offset:141 Size:38
<6>[    0.000000] Partition (from atag) cache -- Offset:179 Size:3e1
<6>[    0.000000] Partition (from atag) recovery -- Offset:55a Size:38
<6>[    0.000000] Partition (from atag) splash -- Offset:592 Size:a
<6>[    0.000000] Partition (from atag) FOTA_STO -- Offset:59c Size:38
<6>[    0.000000] Partition (from atag) system -- Offset:5d4 Size:4f4
<6>[    0.000000] Partition (from atag) userdata -- Offset:ac8 Size:527
<6>[    0.000000] Partition (from atag) misc -- Offset:fef Size:4
<6>[    0.000000] Partition (from atag) persist -- Offset:ff3 Size:c
<4>[    0.000000] Memory policy: ECC disabled, Data cache writeback
<7>[    0.000000] On node 0 totalpages: 122112
<7>[    0.000000] free_area_init_node: node 0, pgdat c05ca3f0, node_mem_map c0783000
<7>[    0.000000]   Normal zone: 954 pages used for memmap
<7>[    0.000000]   Normal zone: 0 pages reserved
<7>[    0.000000]   Normal zone: 121158 pages, LIFO batch:31
<6>[    0.000000] allocating 28794880 bytes at c1029000 (13229000 physical) for mdp pmem arena
<6>[    0.000000] allocating 11419648 bytes at c2b9f000 (14d9f000 physical) for adsp pmem arena
<6>[    0.000000] allocating 372736 bytes (at 80000 physical) for audio pmem arena
<6>[    0.000000] allocating 614400 bytes at c3683000 (15883000 physical) for fb
<6>[    0.000000] allocating 114688 bytes at c3800000 (15a00000 physical) for kernel ebi1 pmem arena
<6>[    0.000000] allocating 2097152 bytes at c381c000 (at 15a1c000 physical) for KGSL
<6>[    0.000000] L210 cache controller enabled
<4>[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 121158
<5>[    0.000000] Kernel command line: mem=477M console=ttyMSM2,115200n8 androidboot.hardware=thunderc uart_console=disable recovery=off lge.rev=10
<6>[    0.000000] UART CONSOLE : disable
<6>[    0.000000] BOARD: H/W revision = 1.2
<6>[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
<6>[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
<6>[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>[    0.000000] Memory: 477MB = 477MB total
<5>[    0.000000] Memory: 433792KB available (5180K code, 2171K data, 144K init, 0K highmem)
<6>[    0.000000] Hierarchical RCU implementation.
<6>[    0.000000] NR_IRQS:261
<4>[    0.000000] Console: colour dummy device 80x30
<6>[    0.000000] Calibrating delay loop... 599.65 BogoMIPS (lpj=2998272)
<4>[    0.220091] Mount-cache hash table entries: 512
<6>[    0.220630] Initializing cgroup subsys debug
<6>[    0.220651] Initializing cgroup subsys cpuacct
<6>[    0.220666] Initializing cgroup subsys freezer
<6>[    0.220696] CPU: Testing write buffer coherency: 
<1>[    0.220793] Initialized Zero page successfully
<4>[    0.220840] ok
<6>[    0.222896] NET: Registered protocol family 16
<3>[    0.223531] smem_find(137, 64): wrong size 56
<6>[    0.223651] socinfo_init: v2, id=44, ver=1.2, raw_id=992, raw_ver=2
<6>[    0.223678] acpu_clock_init()
<6>[    0.223845] L val: PLL0: 50, PLL1: 12, PLL2: 62
<6>[    0.223970] ACPU running at 600000 KHz
<6>[    0.223986] Id CPU-KHz PLL DIV AHB-KHz ADIV AXI-KHz D0 D1 D2 U0 U1 U2
<6>[    0.224013]  0   19200  -1   1   19200    1   30720 -1 -1 -1  1  4  3
<6>[    0.224038]  1  120000   0   8   60000    2   61440 -1 -1 -1  5  4  3
<6>[    0.224063]  2  122880   1   2   61440    2   61440  1 -1 -1  5  4  3
<6>[    0.224088]  3  200000   2   6   66667    3   61440  1  2 -1  5  4  6
<6>[    0.224115]  4  245760   1   1  122880    2   61440  1  2  3  7 -1  6
<6>[    0.224140]  5  320000   0   3  160000    2  160000  1  2  3  7 -1  6
<6>[    0.224165]  6  400000   2   3  133333    3  160000  5  4  3  7 -1  8
<6>[    0.224190]  7  480000   0   2  160000    3  160000  5  4  6 -1 -1  8
<6>[    0.224215]  8  600000   2   2  200000    3  200000  7 -1  6 -1 -1 -1
<6>[    0.224235] Shared PLL control available.
<6>[    0.224246] 5 scaling frequencies supported.
<4>[    0.225575] RAM CONSOLE START ADDR : 804257792
<4>[    0.225590] RAM CONSOLE END ADDR   : 804519935
<6>[    0.225676] ram_console: got buffer at 2ff00000, size 40000
<6>[    0.225733] ram_console: found existing buffer, size 34196, start 34196
<6>[    0.227093] console [ram-1] enabled
<4>[    1.538813] bio: create slab <bio-0> at 0
<6>[    1.539349] msm_i2c_probe
<6>[    1.539453] msm_i2c_probe: clk_ctl 315, 400000 Hz
<6>[    1.540833] Bluetooth: Core ver 2.15
<6>[    1.540978] NET: Registered protocol family 31
<6>[    1.540993] Bluetooth: HCI device and connection manager initialized
<6>[    1.541014] Bluetooth: HCI socket layer initialized
<6>[    1.541181] Switching to clocksource dg_timer
<6>[    1.542163] NET: Registered protocol family 2
<6>[    1.542369] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>[    1.542861] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
<6>[    1.543384] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
<6>[    1.543704] TCP: Hash tables configured (established 16384 bind 16384)
<6>[    1.543724] TCP reno registered
<6>[    1.543909] NET: Registered protocol family 1
<6>[    1.544163] Trying to unpack rootfs image as initramfs...
<6>[    1.562768] Freeing initrd memory: 160K
<6>[    1.565513] smd probe
<6>[    1.565534] smd_core_init()
<6>[    1.565626] smd_core_init() done
<6>[    1.565648] smd_alloc_loopback_channel: 'local_loopback' cid=100
<6>[    1.566711] smd_alloc_channel() 'DS' cid=0
<6>[    1.566839] smd_alloc_channel() 'DIAG' cid=1
<6>[    1.566936] smd_alloc_channel() 'RPCCALL' cid=2
<6>[    1.567046] smd_alloc_channel() 'DATA1' cid=7
<6>[    1.567148] smd_alloc_channel() 'DATA2' cid=8
<6>[    1.567246] smd_alloc_channel() 'DATA3' cid=9
<6>[    1.567339] smd_alloc_channel() 'DATA4' cid=10
<6>[    1.567434] smd_alloc_channel() 'DATA5' cid=11
<6>[    1.567528] smd_alloc_channel() 'DATA6' cid=12
<6>[    1.567664] smd_alloc_channel() 'DATA7' cid=13
<6>[    1.567778] smd_alloc_channel() 'DAL00' cid=38
<6>[    1.567878] smd_alloc_channel() 'DATA5_CNTL' cid=39
<6>[    1.567978] smd_alloc_channel() 'DATA6_CNTL' cid=40
<6>[    1.568093] smd_alloc_channel() 'DATA7_CNTL' cid=41
<3>[    1.568286] Notify: smsm init
<6>[    1.569183] SMD Packet Port Driver Initialized.
<6>[    1.569693] SMD: ch 2 0 -> 1
<6>[    1.569796] SMD: ch 2 1 -> 2
<6>[    1.570154] [adsp.c:adsp_init] rs3000000a -- 0
<6>[    1.570801] [audpp.c:audpp_probe] Number of decoder supported 5
<6>[    1.570821] [audpp.c:audpp_probe] Number of concurrency supported 7
<6>[    1.570839] [audpp.c:audpp_probe] module_name:AUDPLAY0TASK
<6>[    1.570858] [audpp.c:audpp_probe] queueid:13
<6>[    1.570873] [audpp.c:audpp_probe] decid:0
<6>[    1.570888] [audpp.c:audpp_probe] nr_codec_support:11
<6>[    1.570903] [audpp.c:audpp_probe] module_name:AUDPLAY1TASK
<6>[    1.570919] [audpp.c:audpp_probe] queueid:14
<6>[    1.570934] [audpp.c:audpp_probe] decid:1
<6>[    1.570949] [audpp.c:audpp_probe] nr_codec_support:5
<6>[    1.570964] [audpp.c:audpp_probe] module_name:AUDPLAY2TASK
<6>[    1.570981] [audpp.c:audpp_probe] queueid:15
<6>[    1.570996] [audpp.c:audpp_probe] decid:2
<6>[    1.571011] [audpp.c:audpp_probe] nr_codec_support:5
<6>[    1.571026] [audpp.c:audpp_probe] module_name:AUDPLAY3TASK
<6>[    1.571043] [audpp.c:audpp_probe] queueid:16
<6>[    1.571058] [audpp.c:audpp_probe] decid:3
<6>[    1.571073] [audpp.c:audpp_probe] nr_codec_support:4
<6>[    1.571089] [audpp.c:audpp_probe] module_name:AUDPLAY4TASK
<6>[    1.571106] [audpp.c:audpp_probe] queueid:17
<6>[    1.571119] [audpp.c:audpp_probe] decid:4
<6>[    1.571134] [audpp.c:audpp_probe] nr_codec_support:1
<6>[    1.572881] thunderc_gpio_earsense_work_func: ear sense detected : ejected
<6>[    1.573061] lge_mtd_direct_access_init: finished
<4>[    1.573249] diagcmd_probe:lg_fw_diagcmd
<6>[    1.574819] input: ats_input as /devices/virtual/input/input0
<6>[    1.593368] thunderc_gpio_earsense_work_func: ear sense detected : ejected
<4>[    1.606233] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
<6>[    1.606664] ashmem: initialized
<4>[    1.607331] yaffs Jan 13 2011 20:11:05 Installing. 
<6>[    1.607379] msgmni has been set to 848
<6>[    1.611963] alg: No test for stdrng (krng)
<6>[    1.612043] io scheduler noop registered
<6>[    1.612058] io scheduler deadline registered (default)
<4>[    1.613138] AAT28XX init start
<6>[    1.613314] msm_fb_probe:  phy_Addr = 0x15883000 virt = 0xde100000
<6>[    1.613943] MDP HW Base phy_Address = 0xaa200000 virt = 0xde200000
<6>[    1.614429] primary mddi base phy_addr = 0xaa600000 virt = 0xde054000
<4>[    1.625023] mddi_novatek_lcd_probe: started.
<4>[    1.625123] mddi_novatek_lcd_init: setting up panel info.
<4>[    1.625371] mddi_novatek_lcd_probe: started.
<4>[    1.651358] mddi_novatek_lcd_on: started.
<4>[    1.651903] Console: switching to colour frame buffer device 40x30
<6>[    1.651984] FrameBuffer[0] 320x480 size=614400 bytes is registered successfully!
<4>[    1.652048] load_565rle_image: Can not open /logo.rle
<6>[    1.660206] diagfwd initializing ..
<6>[    1.660608] SMD: ch 1 0 -> 1
<6>[    1.660624] diag opened SMD port ; r = 0
<6>[    1.660704] SMD: ch 1 1 -> 2
<6>[    1.660788] diagchar initializing ..
<6>[    1.661016] diagchar initialized
<6>[    1.661591] msm_serial: driver initialized
<6>[    1.661789] msm_serial_hs.0: ttyHS0 at MMIO 0xa0200000 (irq = 45) is a MSM HS UART
<6>[    1.662194] msm_serial_hs module loaded
<6>[    1.665153] brd: module loaded
<6>[    1.668176] loop: module loaded
<6>[    1.668328] pmem: Initializing pmem_kernel_ebi1 (in-kernel)
<6>[    1.668428] pmem: Initializing pmem (user-space) as cached
<6>[    1.669741] pmem: Initializing pmem_adsp (user-space) as non-cached
<6>[    1.670434] pmem: Initializing pmem_audio (user-space) as non-cached
<6>[    1.670793] LGE: Android Vibrator Driver Init
<6>[    1.671494] LGE: Android Vibrator Initialization was done
<6>[    1.671934] msm_nand_probe: phys addr 0xa0a00000 
<6>[    1.671956] msm_nand_probe: dmac 0x7
<6>[    1.672013] msm_nand_probe: allocated dma buffer at ffc0f000, dma_addr 2f514000
<6>[    1.672506] status: e00020
<6>[    1.672523] nandid: 5590bc2c maker 2c device bc
<6>[    1.672548] ONFI probe : Found an ONFI compliant device MT29F4G16ABBDA3W    ,
<6>[    1.672569] Found a supported NAND device
<6>[    1.672583] NAND Id  : 0x5590bc2c
<6>[    1.672596] Buswidth : 16 Bits 
<6>[    1.672608] Density  : 512 MByte
<6>[    1.672619] Pagesize : 2048 Bytes
<6>[    1.672631] Erasesize: 131072 Bytes
<6>[    1.672644] Oobsize  : 64 Bytes
<6>[    1.672656] CFG0 Init  : 0xa85408c0 
<6>[    1.672669] CFG1 Init  : 0x0004745e 
<6>[    1.672683] ECCBUFCFG  : 0x00000203 
<5>[    1.672706] Creating 9 MTD partitions on "msm_nand":
<5>[    1.672729] 0x000002820000-0x000002f20000 : "boot"
<5>[    1.673644] 0x000002f20000-0x00000ab40000 : "cache"
<5>[    1.674306] 0x00000ab40000-0x00000b240000 : "recovery"
<5>[    1.674959] 0x00000b240000-0x00000b380000 : "splash"
<5>[    1.675594] 0x00000b380000-0x00000ba80000 : "FOTA_STO"
<5>[    1.676141] 0x00000ba80000-0x000015900000 : "system"
<5>[    1.676693] 0x000015900000-0x00001fde0000 : "userdata"
<5>[    1.677266] 0x00001fde0000-0x00001fe60000 : "misc"
<5>[    1.677854] 0x00001fe60000-0x00001ffe0000 : "persist"
<6>[    1.678598] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
<6>[    1.678621] CSLIP: code copyright 1989 Regents of the University of California.
<4>[    1.679331] brcm_static_buf_init: initialize wifi_alloc_data
<4>[    1.679381] Section [3] initial allocation success size[139264]!!!
<4>[    1.679404] Section [2] initial allocation success size[32768]!!!
<4>[    1.679423] Section [1] initial allocation success size[12288]!!!
<4>[    1.679444] Section [0] initial allocation success size[12288]!!!
<4>[    1.679544] rmnet_init
<6>[    1.680914] __msm_rpc_connect: server not found 3000001a:20001
<4>[    1.682243] USB Cable type: msm_chg_LG_cable_type(): 2
<6>[    1.682864] usb_probe: io=de05c000, irq=47, dma=ffc11000(2f52f000)
<6>[    1.683353] usb_function_register: name = 'adb',  map = 4
<6>[    1.683524] usb_function_register: name = 'mass_storage',  map = 3
<6>[    1.683754] usb_function_register: name = 'diag',  map = 1
<6>[    1.684228] usb_function_register: name = 'modem',  map = 0
<6>[    1.684251] usb_function_register: name = 'nmea',  map = 2
<6>[    1.684273] usb_set_composition: composition set to product id = 618e
<4>[    1.686058] USB Cable type: msm_chg_LG_cable_type(): 2
<6>[    1.688081] msm_hsusb: functions bound. starting.
<6>[    1.688099] usb_bind_func() (modem)
<6>[    1.688148] usb_bind_func() (diag)
<6>[    1.688163] usb_bind_func() (nmea)
<6>[    1.688193] usb_bind_func() (mass_storage)
<6>[    1.688376] usb_bind_func() (adb)
<3>[    1.688428] usb_start: pm_app_rpc connect failed
<6>[    1.688456] usb_function_register: name = 'ethernet',  map = 5
<6>[    1.688933] input: touch_mcs6000 as /devices/virtual/input/input1
<6>[    1.689789] GPIO Matrix Keypad Driver: Start keypad matrix for thunder_keypad in interrupt mode
<6>[    1.690246] input: thunder_keypad as /devices/virtual/input/input2
<6>[    1.690788] KR3DM accelerometer driver
<6>[    1.690861] KR3DH accelerometer driver
<6>[    1.691058] using input dev ats_input for key reset
<6>[    1.691078] using input dev thunder_keypad for key reset
<7>[    1.691486] RTC Registering with rs30000048
<4>[    1.691784] USB Cable type: msm_chg_LG_cable_type(): 2
<3>[    1.691806] khlee debug : 24974 -------->25036 
<6>[    1.693339] usb_set_composition: composition set to product id = 61cc
<3>[    1.694878] msm_rpc_client_req: RPC call was not successful (3)
<7>[    1.694901] msmrtc_setup_cb: RPC client registration for PROC:12 failed
<7>[    1.694921] msmrtc_probe: Could not initialize RPC callback
<6>[    1.695516] using rtc device, msm_rtc, for alarms
<7>[    1.695539] msm_rtc: dev (254:0)
<6>[    1.695586] rs30000048 rs30000048.65536: rtc core: registered msm_rtc as rtc0
<7>[    1.695799] msm_rtc_secure: dev (254:1)
<6>[    1.695816] rs30000048 rs30000048.65536: rtc core: registered msm_rtc_secure as rtc1
<6>[    1.695903] i2c /dev entries driver
<6>[    1.696926] Registered led device: lcd-backlight
<3>[    1.696946] aat2870bl:aat28xx_probe: Registering led class dev successfully.
<3>[    1.697511] aat2870bl:aat28xx_probe: done
<6>[    1.697694] i2c-gpio i2c-gpio.2: using pins 89 (SDA) and 88 (SCL)
<4>[    1.698029] [Touch] ts_set_vreg() onoff:1
<4>[    1.698248] USB Cable type: msm_chg_LG_cable_type(): 2
<6>[    1.771224] MCS6000 F/W Version [0x21]
<6>[    1.791223] MCS6000 H/W Revision [0x10]
<6>[    1.791449] i2c-gpio i2c-gpio.3: using pins 91 (SDA) and 90 (SCL)
<4>[    1.791856] [Ecompass] ecom_power_set() onoff 1, prev_status 0
<6>[    1.795119] ami304_sensor 4-000f: force operating mode
<6>[    1.795134] Register input device!
<6>[    1.795449] input: Acompass as /devices/virtual/input/input3
<6>[    1.796169] i2c-gpio i2c-gpio.4: using pins 108 (SDA) and 107 (SCL)
<6>[    1.803079] input: accelerometer as /devices/virtual/input/input4
<6>[    1.803373] KR3DH 5-0019: KR3DH kr3dh: Accelerometer chip found
<6>[    1.803528] i2c-gpio i2c-gpio.5: using pins 3 (SDA) and 2 (SCL)
<6>[    1.803646] Linux video capture interface: v2.00
<6>[    1.803834] battery rpc: ept : 0xdd3ca260, prog : 0x30000089, vers : 0x10001
<6>[    1.803861] charger rpc: ept : 0xdd3ca160, prog : 0x3000001a, vers : 0x10001
<6>[    1.804471] msm_batt_get_charger_api_version(): num_of_chg_api_versions = 4  The chg api version = 0x00010004
<6>[    1.805778]  batt_clnt_handle = 2
<6>[    1.806404] device-mapper: uevent: version 1.0.3
<6>[    1.806968] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
<6>[    1.807041] Bluetooth: HCI UART driver ver 2.2
<6>[    1.807058] Bluetooth: HCI H4 protocol initialized
<6>[    1.807073] Bluetooth: HCI BCSP protocol initialized
<6>[    1.807089] Bluetooth: MSM Sleep Mode Driver Ver 1.1
<7>[    1.807368] bluetooth_power_init
<7>[    1.807441] bt_power_probe
<4>[    1.807848] USB Cable type: msm_chg_LG_cable_type(): 2
<4>[    1.808906] mmc0: mmc power down
<6>[    1.808953] mmc0: Qualcomm MSM SDCC at 0x00000000a0400000 irq 24,113 dma 8
<6>[    1.808981] mmc0: 8 bit data mode disabled
<6>[    1.808996] mmc0: 4 bit data mode enabled
<6>[    1.809009] mmc0: polling status mode disabled
<6>[    1.809028] mmc0: MMC clock 144000 -> 49152000 Hz, PCLK 100000000 Hz
<6>[    1.809044] mmc0: Slot eject status = 0
<6>[    1.809064] mmc0: Power save feature enable = 1
<6>[    1.809086] mmc0: DM non-cached buffer at ffc13000, dma_addr 0x2f602000
<6>[    1.809104] mmc0: DM cmd busaddr 0x2f602000, cmdptr busaddr 0x2f602300
<4>[    1.809696] mmc1: mmc power down
<6>[    1.809723] mmc1: Qualcomm MSM SDCC at 0x00000000a0500000 irq 26,157 dma 8
<6>[    1.809741] mmc1: 8 bit data mode disabled
<6>[    1.809754] mmc1: 4 bit data mode enabled
<6>[    1.809768] mmc1: polling status mode disabled
<6>[    1.809786] mmc1: MMC clock 144000 -> 49152000 Hz, PCLK 100000000 Hz
<6>[    1.809803] mmc1: Slot eject status = 1
<6>[    1.809816] mmc1: Power save feature enable = 1
<6>[    1.809833] mmc1: DM non-cached buffer at ffc14000, dma_addr 0x2f604000
<6>[    1.809853] mmc1: DM cmd busaddr 0x2f604000, cmdptr busaddr 0x2f604300
<6>[    1.810144] Registered led device: keyboard-backlight
<6>[    1.810246] Registered led device: button-backlight
<4>[    1.810831] mmc0: mmc power up
<6>[    1.811598] logger: created 64K log 'log_main'
<6>[    1.811736] logger: created 256K log 'log_events'
<6>[    1.811881] logger: created 64K log 'log_radio'
<6>[    1.812013] logger: created 64K log 'log_system'
<6>[    1.812124] Advanced Linux Sound Architecture Driver Version 1.0.21.
<4>[    1.812513] No device for DAI CODEC_DAI
<4>[    1.812531] No device for DAI CPU_DAI
<3>[    1.812799] msm_soc: create pcms
<6>[    1.813116] asoc: CODEC_DAI <-> CPU_DAI mapping ok
<3>[    1.813134] msm_soc: ALSA MSM Mixer Setting
<6>[    1.813818] ALSA device list:
<6>[    1.813834]   #0: msm-audio (MSM-CARD)
<4>[    1.813943] Netfilter messages via NETLINK v0.30.
<4>[    1.814044] nf_conntrack version 0.5.0 (6787 buckets, 27148 max)
<4>[    1.814379] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
<4>[    1.814401] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
<4>[    1.814419] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
<4>[    1.814638] ctnetlink v0.93: registering with nfnetlink.
<6>[    1.814876] xt_time: kernel timezone is -0000
<6>[    1.815033] IPVS: Registered protocols (TCP, UDP, AH, ESP)
<6>[    1.815178] IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
<7>[    1.815199] IPVS: Each connection entry needs 160 bytes at least
<6>[    1.815319] IPVS: ipvs loaded.
<6>[    1.815336] IPVS: [rr] scheduler registered.
<6>[    1.815351] IPVS: [wrr] scheduler registered.
<6>[    1.815366] IPVS: [lc] scheduler registered.
<6>[    1.815381] IPVS: [wlc] scheduler registered.
<6>[    1.815409] IPVS: [lblc] scheduler registered.
<6>[    1.815446] IPVS: [lblcr] scheduler registered.
<6>[    1.815461] IPVS: [dh] scheduler registered.
<6>[    1.815476] IPVS: [sh] scheduler registered.
<6>[    1.815491] IPVS: [sed] scheduler registered.
<6>[    1.815506] IPVS: [nq] scheduler registered.
<6>[    1.815528] IPVS: ftp: loaded support on port[0] = 21
<6>[    1.815876] ip_tables: (C) 2000-2006 Netfilter Core Team
<5>[    1.816031] ClusterIP Version 0.8 loaded successfully
<6>[    1.816109] arp_tables: (C) 2002 David S. Miller
<6>[    1.816226] TCP cubic registered
<6>[    1.816514] NET: Registered protocol family 10
<6>[    1.817181] lo: Disabled Privacy Extensions
<6>[    1.818096] Mobile IPv6
<6>[    1.818114] IPv6 over IPv4 tunneling driver
<6>[    1.818731] sit0: Disabled Privacy Extensions
<6>[    1.819404] ip6tnl0: Disabled Privacy Extensions
<6>[    1.819584] NET: Registered protocol family 17
<6>[    1.819631] NET: Registered protocol family 15
<6>[    1.819673] Bluetooth: L2CAP ver 2.14
<6>[    1.819686] Bluetooth: L2CAP socket layer initialized
<6>[    1.819709] Bluetooth: SCO (Voice Link) ver 0.6
<6>[    1.819723] Bluetooth: SCO socket layer initialized
<6>[    1.819943] Bluetooth: RFCOMM TTY layer initialized
<6>[    1.819969] Bluetooth: RFCOMM socket layer initialized
<6>[    1.819986] Bluetooth: RFCOMM ver 1.11
<6>[    1.820004] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
<6>[    1.820019] Bluetooth: BNEP filters: protocol multicast
<6>[    1.820036] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
<6>[    1.820563] clock_late_init() disabled 16 unused clocks
<6>[    1.821424] input: 7k_handset as /devices/virtual/input/input5
<6>[    1.821679] using input dev 7k_handset for key reset
<6>[    1.821723] __msm_rpc_connect: server not found 30000091:30001
<3>[    1.823254] msm_rpc_client_req: RPC call was not successful (4)
<3>[    1.823276] hs_rpc_cb_init: RPC client request failed for pwr key delay cmd, using normal mode
<6>[    1.823929] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
<6>[    1.825951] input: proximity as /devices/virtual/input/input6
<4>[    1.826139] [Proxi] prox_power_set() onoff 1, prev_status 0
<4>[    1.827769] proximity initialized (op mode: A, method: normal)
<4>[    1.828183] [Proxi] prox_power_set() onoff 0, prev_status 1
<7>[    1.829009] msmrtc_tod_proc_result: 01/18/2011 01:21:03 (01)
<7>[    1.829074] msmrtc_timeremote_set_time: 00/18/2011 01:21:03 (02)
<6>[    1.830071] msm_v4l2: msm_v4l2_init
<6>[    1.831943] Freeing init memory: 144K
<4>[    1.832094] Warning: unable to open an initial console.
<4>[    1.833293] USB Cable type: msm_chg_LG_cable_type(): 2
<7>[    1.833944] msmrtc_tod_proc_result: 01/18/2011 01:21:03 (01)
<7>[    1.834008] msmrtc_timeremote_set_time: 00/18/2011 01:21:03 (02)
<4>[    1.835143] USB Cable type: msm_chg_LG_cable_type(): 2
<6>[    1.835196] hsusb: IDLE -> ONLINE
<6>[    1.838203] hsusb suspend interrupt
<3>[    1.963134] init: cannot open '/initlogo.rle'
<6>[    1.965776] hsusb reset interrupt
<6>[    1.968059] hsusb resume: speed = HIGH
<6>[    1.976929] yaffs: dev is 32505861 name is "mtdblock5"
<6>[    1.976953] yaffs: passed flags ""
<4>[    1.976971] yaffs: Attempting MTD mount on 31.5, "mtdblock5"
<4>[    2.028536] yaffs: restored from checkpoint
<4>[    2.028689] yaffs_read_super: isCheckpointed 1
<6>[    2.051349] yaffs: dev is 32505862 name is "mtdblock6"
<6>[    2.051369] yaffs: passed flags ""
<4>[    2.051386] yaffs: Attempting MTD mount on 31.6, "mtdblock6"
<4>[    2.062746] yaffs: restored from checkpoint
<4>[    2.062846] yaffs_read_super: isCheckpointed 1
<6>[    2.067929] yaffs: dev is 32505857 name is "mtdblock1"
<6>[    2.067949] yaffs: passed flags ""
<4>[    2.067964] yaffs: Attempting MTD mount on 31.1, "mtdblock1"
<4>[    2.070941] yaffs: restored from checkpoint
<4>[    2.070999] yaffs_read_super: isCheckpointed 1
<4>[    2.072021] mmc0: host does not support reading read-only switch. assuming write-enable.
<6>[    2.072061] mmc0: new high speed SDHC card at address aaaa
<6>[    2.072601] mmcblk0: mmc0:aaaa SU08G 7.40 GiB 
<6>[    2.072914]  mmcblk0:
<6>[    2.078968] hsusb reset interrupt
<6>[    2.081249] hsusb resume: speed = HIGH
<3>[    2.085919] init: service 'console' requires console
<4>[    2.086099]  p1
<4>[    2.087109] mmc1: mmc power up
<3>[    2.116781] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
<4>[    2.124644] mmc1: mmc power down
<6>[    2.137871] enabling adb function
<6>[    2.137906] usb_function_enable: name = adb, enable = 1
<6>[    2.324643] warning: `rild' uses 32-bit capabilities (legacy support in use)
<6>[    2.441758] usb_set_composition: composition set to product id = 618e
<4>[    2.443564] USB Cable type: msm_chg_LG_cable_type(): 2
<4>[    2.450241] USB Cable type: msm_chg_LG_cable_type(): 2
<4>[    2.582236] USB Cable type: msm_chg_LG_cable_type(): 2
<4>[    2.584341] USB Cable type: msm_chg_LG_cable_type(): 2
<6>[    2.584388] hsusb: IDLE -> ONLINE
<6>[    2.587393] hsusb suspend interrupt
<6>[    2.604941] hsusb reset interrupt
<6>[    2.607228] hsusb resume: speed = HIGH
<4>[    2.621261] mddi_novatek_vsync_set_handler : handler = c01b9c68
<6>[    2.718981] hsusb reset interrupt
<6>[    2.721284] hsusb resume: speed = HIGH
<4>[    2.832419] USB Cable type: msm_chg_LG_cable_type(): 2
<6>[    2.832461] usb_chg_legacy_detect: CHARGER TYPE 0
<6>[    2.835284] 
<6>[    2.835293] usb_chg_legacy_detect: Standard Downstream Port
<6>[    2.851488] hsusb set_configuration wValue = 1 usbcmd = 1
<7>[    2.851799] diag: USB connected
<6>[    2.851953] usb_mass_storage usb_mass_storage: config #1
<4>[    7.053654] save exit: isCheckpointed 1
<4>[    7.057216] save exit: isCheckpointed 1
<4>[   13.053738] save exit: isCheckpointed 1
<6>[   14.512766] added alarm, wakeup at 1295313720000000000 (after 1295313705 sec): (now 14511536754)
<6>[   15.092423] request_suspend_state: wakeup (3->0) at 15091190089 (2011-01-18 01:21:16.758400031 UTC)
<6>[   15.962153] added alarm, wakeup at 859138402000000 (after 859122 sec): (now 15960925086)
<6>[   16.297176] added alarm, wakeup at 615960000000 (after 599 sec): (now 16295950087)
<4>[   19.074901] save exit: isCheckpointed 1
<6>[   21.251931] added alarm, wakeup at 1295392942461000000 (after 1295392921 sec): (now 21250700088)
<4>[   25.054059] save exit: isCheckpointed 1
<6>[   58.334006] triggerd alarm, wakeup at 1295313720000009989
<6>[   58.334261] added alarm, wakeup at 1295395200000000000 (after 1295395141 sec): (now 58333043380)
<6>[   58.342243] added alarm, wakeup at 1295313780000000000 (after 1295313721 sec): (now 58341018381)
<6>[   78.840238] request_suspend_state: sleep (0->3) at 78839011717 (2011-01-18 01:22:20.506221659 UTC)
<6>[   78.840353] early_suspend: early suspend funtion [c022cb38]
<6>[   78.840638] early_suspend: early suspend funtion [c01ac968]
<4>[   78.840661] [Touch] ts_set_vreg() onoff:0
<6>[   78.840733] early_suspend: early suspend funtion [c02262cc]
<6>[   78.844346] early_suspend: early suspend funtion [c00cd298]
<6>[   78.844366] early_suspend: early suspend funtion [c01ae058]
<4>[   78.931243] display_table() : delay 50 msec
<4>[   79.041401] display_table() : delay 100 msec
<4>[   79.041423] mddi_novatek_lcd_panel_poweroff: started.
<6>[   79.051659] early_suspend: early suspend funtion [c01ae7f0]
<6>[   79.051681] early_suspend: early suspend funtion [c01b125c]
<6>[   79.051834] early_suspend: early suspend funtion [c01baacc]
<6>[   79.051856] early_suspend: early suspend funtion [c02743c0]
<6>[   79.051874] early_suspend: early suspend funtion [c02743c0]
<6>[  105.845804] added alarm, wakeup at 705827000000 (after 599 sec): (now 105844575048)
<4>[  109.053726] save exit: isCheckpointed 1
<6>[  118.334006] triggerd alarm, wakeup at 1295313780000011657
<6>[  118.334201] added alarm, wakeup at 1295395200000000000 (after 1295395081 sec): (now 118332986715)
<6>[  118.342003] added alarm, wakeup at 1295313840000000000 (after 1295313721 sec): (now 118340780049)
<6>[  178.334004] triggerd alarm, wakeup at 1295313840000009990
<6>[  178.334204] added alarm, wakeup at 1295395200000000000 (after 1295395021 sec): (now 178332986715)
<6>[  178.341996] added alarm, wakeup at 1295313900000000000 (after 1295313721 sec): (now 178340773382)
<6>[  238.334008] triggerd alarm, wakeup at 1295313900000009991
<6>[  238.334213] added alarm, wakeup at 1295395200000000000 (after 1295394961 sec): (now 238332996716)
<6>[  238.342004] added alarm, wakeup at 1295313960000000000 (after 1295313721 sec): (now 238340781716)
<6>[  298.334006] triggerd alarm, wakeup at 1295313960000009990
<6>[  298.334206] added alarm, wakeup at 1295395200000000000 (after 1295394901 sec): (now 298332990048)
<6>[  298.341996] added alarm, wakeup at 1295314020000000000 (after 1295313721 sec): (now 298340775049)
<6>[  358.334006] triggerd alarm, wakeup at 1295314020000009991
<6>[  358.334214] added alarm, wakeup at 1295395200000000000 (after 1295394841 sec): (now 358332996716)
<6>[  358.336249] added alarm, wakeup at 1295314080000000000 (after 1295313721 sec): (now 358335028382)
<6>[  418.334006] triggerd alarm, wakeup at 1295314080000009991
<6>[  418.334211] added alarm, wakeup at 1295395200000000000 (after 1295394781 sec): (now 418332993382)
<6>[  418.342004] added alarm, wakeup at 1295314140000000000 (after 1295313721 sec): (now 418340780049)
<6>[  478.334006] triggerd alarm, wakeup at 1295314140000009992
<6>[  478.334223] added alarm, wakeup at 1295395200000000000 (after 1295394721 sec): (now 478333006717)
<6>[  478.337653] added alarm, wakeup at 1295314200000000000 (after 1295313721 sec): (now 478336430050)
<6>[  538.334004] triggerd alarm, wakeup at 1295314200000008324
<6>[  538.334201] added alarm, wakeup at 1295395200000000000 (after 1295394661 sec): (now 538332985048)
<6>[  538.342014] added alarm, wakeup at 1295314260000000000 (after 1295313721 sec): (now 538340793382)
<6>[  598.334006] triggerd alarm, wakeup at 1295314260000009990
<6>[  598.334216] added alarm, wakeup at 1295395200000000000 (after 1295394601 sec): (now 598333000048)
<6>[  598.342063] added alarm, wakeup at 1295314320000000000 (after 1295313721 sec): (now 598340838382)
<6>[  658.334006] triggerd alarm, wakeup at 1295314320000009990
<6>[  658.334204] added alarm, wakeup at 1295395200000000000 (after 1295394541 sec): (now 658332986715)
<6>[  658.342013] added alarm, wakeup at 1295314380000000000 (after 1295313721 sec): (now 658340790049)
<6>[  705.828226] triggerd alarm, wakeup at 705827008382
<6>[  705.828443] added alarm, wakeup at 859138402000000 (after 858432 sec): (now 705827226715)
<6>[  705.858731] added alarm, wakeup at 1305828000000 (after 599 sec): (now 705857508383)
<4>[  708.013678] save exit: isCheckpointed 1
<6>[  718.334004] triggerd alarm, wakeup at 1295314380000009990
<6>[  718.334203] added alarm, wakeup at 1295395200000000000 (after 1295394481 sec): (now 718332986715)
<6>[  718.341994] added alarm, wakeup at 1295314440000000000 (after 1295313721 sec): (now 718340771716)
<6>[  778.334008] triggerd alarm, wakeup at 1295314440000009991
<6>[  778.334209] added alarm, wakeup at 1295395200000000000 (after 1295394421 sec): (now 778332993382)
<6>[  778.342009] added alarm, wakeup at 1295314500000000000 (after 1295313721 sec): (now 778340785049)
<6>[  838.334011] triggerd alarm, wakeup at 1295314500000011658
<6>[  838.334218] added alarm, wakeup at 1295395200000000000 (after 1295394361 sec): (now 838333001716)
<6>[  838.342001] added alarm, wakeup at 1295314560000000000 (after 1295313721 sec): (now 838340778383)
<6>[  898.334007] triggerd alarm, wakeup at 1295314560000011656
<6>[  898.334214] added alarm, wakeup at 1295395200000000000 (after 1295394301 sec): (now 898332998380)
<6>[  898.342046] added alarm, wakeup at 1295314620000000000 (after 1295313721 sec): (now 898340823381)
 
I was thinking.. Since you are going through all this trouble to get aosp 2.2 working, why don't you take a shot at asop 2.3?
 
I was thinking.. Since you are going through all this trouble to get aosp 2.2 working, why don't you take a shot at asop 2.3?

Getting 2.3 to work will probably require porting, and I'd like to have some knowledge of something that will be *eventually* guaranteed to work, rather than take a shot in the dark, and also have to port.
 
do you think it matters that I'm using a ramdisk other than the one that was compiled when I compiled the ROM itself? I've tried the AOSP-compiled ramdisk, but I couldn't even get the phone to boot with that.

How far along does the boot get with the AOSP ramdisk? Can you log it via ADB at all?

You need to have the init.rc pointing to the right framework files, as well as handling the mount points and kernel modules.

What I would do it open the init.rc from the AOSP ramdisk, and one from a boot image that boots with everything working...compare line by line. Very likely it's just a few minor edits
 
How far along does the boot get with the AOSP ramdisk? Can you log it via ADB at all?

You need to have the init.rc pointing to the right framework files, as well as handling the mount points and kernel modules.

What I would do it open the init.rc from the AOSP ramdisk, and one from a boot image that boots with everything working...compare line by line. Very likely it's just a few minor edits

gbhil, as of right now, I can boot the AOSP ROM, but only with the zImage I've compiled, and a ramdisk from a custom ROM (not aosp). The problem now is that no drivers are even activated... only the minimal ones needed for Android to run (no gpu, sound, radio, etc.)

So if I interpret your post correctly, I should edit the AOSP ramdisk, and see what I need to change to make it look like the other ramdisk?
 
If you can grab a log file and know where it stalls, then it gets easier, but yes -- you're on the right track. The ramdisk you are using to get it to boot has some things pointing to the right file, enough to get it to boot.

The AOSP init won't boot, but it's pretty likely that fstab, kernel mounts, and drivers are good in it.

You need to mash them together :)
 
If you can grab a log file and know where it stalls, then it gets easier, but yes -- you're on the right track. The ramdisk you are using to get it to boot has some things pointing to the right file, enough to get it to boot.

The AOSP init won't boot, but it's pretty likely that fstab, kernel mounts, and drivers are good in it.

You need to mash them together :)

Aha! That's the guidance I've been looking for! Thanks gbhil! I'll take a look at it tomorrow (today was the last day of my four-day break :() So even though I'm using a ramdisk with the correct points in the stock Sprint rom, they aren't correct for AOSP?
 

Trending Posts

Members online

Forum statistics

Threads
956,900
Messages
6,970,517
Members
3,163,643
Latest member
stonefruit