[DEV] ICS AOSP (from CM's source) Development Passion (N1) [Alpha8]

Status
Not open for further replies.
Search This thread

texasice

Retired Recognized Developer
Oct 27, 2009
603
3,434
Austin
This thread has been superseded by this thread: http://xdaforums.com/showthread.php?t=1366897

Changelog in Second Post:
Screenshots attached at bottom:

Link to Alpha8
This tarball also contains a userdata image where most of the gapps are.
People whose rotation/bluetooth doesn't work: Try flashing this new boot.img and see if it fixes it.
I will not be uploading any more flashable zips as they seem to be broken

Working:
Wifi
MMS
Calling (People I talk to say they can hear me better than the could when i was on CM7)(Probably coincidence)
Bluetooth (works for babijoee but broken for me)
TouchScreen (Multitouch)
Sound (Flawless)
GPS (works for me)
Accelerometer (rotation) (works for babijoee but broken for me)
Home button
3g (seems to like radio 5.08.00.04)(works for me)
Headphone jack
Network Stats and Quota
Not Working:
Trackball
Camera
USB mass storage (use adb)
Hardware Accelaration
Wifi Signal Strengh Icon in Status Bar.
Questions? Check out this FAQ (thanks alex_mobile)
Anyone that wants to colaborate
Join us in #ics_desire_nexus_dev on freenode
My nick is drewis.
Any help is welcome.

To flash the img files.
Code:
tar xjf ics-passion-alpha*.tar.bz2
adb reboot bootloader
fastboot -w
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash boot boot.img
fastboot reboot
I'm using blackrose hboot (standard partitioning) but i dont think it matters what hboot you use.

Don't tell me whats wrong with it (i already know that) Tell me how to fix it!

Here's my sources to get you started:

I have set up an organization on git hub where you can follow the progress
https://github.com/ics-passion-dev
[Note:] I am updating these regularly.

Get source (cm ics repos)
Code:
repo init -u git://github.com/ics-passion-dev/android.git -b ics
repo sync
Fix Audio.
Code:
cd hardware/msm7k
git fetch http://review.cyanogenmod.com/p/CyanogenMod/android_hardware_msm7k refs/changes/03/10303/1 && git cherry-pick FETCH_HEAD
Build it.
Code:
. build/envsetup.sh
lunch full_passion-userdebug
mka
Note: The above is not enough to get a clean build you will need to debug some minor errors.

On amd hexacore w/ 12gb ram takes 40 minutes. (where CM7 takes 14)
 

Attachments

  • device-2011-11-18-233559.jpg
    device-2011-11-18-233559.jpg
    37.9 KB · Views: 9,548
  • device-2011-11-20-120507.jpg
    device-2011-11-20-120507.jpg
    21.7 KB · Views: 5,562
  • device-2011-11-21-141628.jpg
    device-2011-11-21-141628.jpg
    39.4 KB · Views: 5,475
  • device-2011-11-21-144058.jpg
    device-2011-11-21-144058.jpg
    28.8 KB · Views: 6,001
Last edited:

texasice

Retired Recognized Developer
Oct 27, 2009
603
3,434
Austin
CHANGELOG

CHANGELOG
Alpha8 Link to Alpha8
New apn list from cm
Update gapps with ones from koush's NS build.
Headphone fix (thanks zivan56)
Back to pershoot's BFS kernel as base.
Added network stats and quota to kernel.
Built with opengl enabled (currently causing blank screen)(REMOVED)(still no HWAccel)(disable Window/Transition effects makes it much nicer)

Alpha7 Link to: Alpha7
Same as alpha6
Rebuilt with openjdk (this is aosp after all)
Added Gmail and Market
Market: login, try and download an app (only one), it will error. Reboot. Open market and it should start downloading. Then you're good.
Market: I wiped and now market does not work. same error. Can't seem to fix it.
Change to IntersectRaven's 2.6.38.8 AVS Kernel based on pershoot's

Alpha6 Link to: Alpha6
Added liba2dp for audio over bluetooth. (untested) (removed: caused build problems)
AUDIO FIX: a real audio fix (thank you firesnatch [sean neeley])
Head phone jack does not work yet. plays through speaker while plugged in.
added back all apps but VideoEditor and its libs and Camera
added back all ringtones and notifications
switched back to userdebug build
No gapps: Sorry. They were deleted when i rebased my tree. But they had issues anyway. So not bothering with them on this release.
gralloc's back (hence the lag) Disabling animation in developer settings helps.
3g seems to start the connect/disconnect thing after a while of non use. fix is either reboot. or go into setting and disable mobile data for a minute then turn it back on.


Alpha5: Link to Alpha5
switched from userdebug to eng variant
got su back and some bluetooth files (still broke for me)
removed most sounds (ringtones,notifications) to save some space
removed apps: Camera, VideoEditor, libWnnJpnDic, PinyinIME, Email, Exchange, libvideoeditor_jni, libvideoeditorplayer, libvideoeditor_core
Added Gapps: Market wont show up untill you sign in through settings
Issues: screen now flashes an orange outline on edge of screen when you click some buttons

Alpha4: Link to Alpha4 as system and boot images
Home button works! (thanks again to rampv78)
Removed soft buttons
Changed lcd density back to 240

Alpha3:Link to Alpha3 as a flashable zip
Rebase latest changes in CM tree.
Try new GPS code in CM gerrit.
Better Audio fix: Still broken but more stable (closer to working out a real fix)
Leave out gralloc since we dont have HW Acceleration yet.

Alpha2:Link to Alpha2 as a flashable zip
changed ro.sf.lcd_density to 220 to fix softkeys
build with gralloc: kind of makes it laggy if it bothers you delete /system/lib/hw/gralloc.qsd8k.so (but not gralloc.default.so)
Working:
Calling: (mic works they can hear you)
Sound/Mic: sort of (thanks to tip from rapmv78 and the Desire guys)
Gps: I think (might just be googles location features even though its unchecked in settings)(tested by visiting maps.google.com in browser with wifi off)
Not Working:
3g: still very sporadic (a few reboots fixes it somtimes)(maybe i need to update to latest radio)
Home button
Trackball

Alpha1: Link to Alpha1 as system.img and boot.img
Migrate source to CM repos
Using ICS init (alpha0 used CM7)
Pershoots CM7 2.6.38.8 Kernel
Added Soft Buttons to give us a working home button (although this causes the bottom row of the keyboard to be half way covered up) You can fix this by changing ro.sf.lcd_density to 220 or 200 in /system/build.prop
Not working:
3g (severe connect/disconnect issues)
Audio
Home button
Trackball
Some other stuff I can't remember
 
Last edited:

fabler

Senior Member
Aug 4, 2010
593
19
Ahmedabad
I would like to get a functioning ICS build as soon as possible. Anyone that wants to colaborate im hangin out in #cyanogenmod-dev on freenode with nick drewis. There is no way I will be able to do this by myself. So any help is welcome.

Pic below is a first build
Issues:
nothing works except touchscreen but it is still broken. It acts like a trackpad.
But it did boot on the first try so thats something.

I would really like to help you. And I am also very excited about having ICS running on my nexus one. I'm a java developer. Please let me know if I would be useful building ICS on nexus one?

Thanks. :)
 

texasice

Retired Recognized Developer
Oct 27, 2009
603
3,434
Austin
Update:
Bluetooth is working: I can pair my logitech dinovo keyboard to it and navigate.
Wifi is scanning but not connecting to wpa.
No progress on touchscreen acting like a trackpad. Upside multitouch works.
 
  • Like
Reactions: kostiak

texasice

Retired Recognized Developer
Oct 27, 2009
603
3,434
Austin
Will we get a test build to play with?

Soon. I've been trying to upload one but my internet f-ing blows and it keeps failing. Right now its no better than the sdk port.

Wifi turns on but won't connect.
3g won't stay connected
no audio

Touchscreen works thought
mms works
 

RotasOpera

Senior Member
Feb 2, 2011
91
8
Great news! I wish I could help somehow. Why don't you collaborate with drew garen? I'm sure he could help you.

Sent from my HTC Flyer P510e using XDA App
 

ajm2387

Senior Member
Feb 24, 2010
153
9
amazing work guys

I've since upgraded from an N1 but still use it to play around with builds so if you need testers i'd be more than happy to help!
 
  • Like
Reactions: drive2droad
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 85
    This thread has been superseded by this thread: http://xdaforums.com/showthread.php?t=1366897

    Changelog in Second Post:
    Screenshots attached at bottom:

    Link to Alpha8
    This tarball also contains a userdata image where most of the gapps are.
    People whose rotation/bluetooth doesn't work: Try flashing this new boot.img and see if it fixes it.
    I will not be uploading any more flashable zips as they seem to be broken

    Working:
    Wifi
    MMS
    Calling (People I talk to say they can hear me better than the could when i was on CM7)(Probably coincidence)
    Bluetooth (works for babijoee but broken for me)
    TouchScreen (Multitouch)
    Sound (Flawless)
    GPS (works for me)
    Accelerometer (rotation) (works for babijoee but broken for me)
    Home button
    3g (seems to like radio 5.08.00.04)(works for me)
    Headphone jack
    Network Stats and Quota
    Not Working:
    Trackball
    Camera
    USB mass storage (use adb)
    Hardware Accelaration
    Wifi Signal Strengh Icon in Status Bar.
    Questions? Check out this FAQ (thanks alex_mobile)
    Anyone that wants to colaborate
    Join us in #ics_desire_nexus_dev on freenode
    My nick is drewis.
    Any help is welcome.

    To flash the img files.
    Code:
    tar xjf ics-passion-alpha*.tar.bz2
    adb reboot bootloader
    fastboot -w
    fastboot flash system system.img
    fastboot flash userdata userdata.img
    fastboot flash boot boot.img
    fastboot reboot
    I'm using blackrose hboot (standard partitioning) but i dont think it matters what hboot you use.

    Don't tell me whats wrong with it (i already know that) Tell me how to fix it!

    Here's my sources to get you started:

    I have set up an organization on git hub where you can follow the progress
    https://github.com/ics-passion-dev
    [Note:] I am updating these regularly.

    Get source (cm ics repos)
    Code:
    repo init -u git://github.com/ics-passion-dev/android.git -b ics
    repo sync
    Fix Audio.
    Code:
    cd hardware/msm7k
    git fetch http://review.cyanogenmod.com/p/CyanogenMod/android_hardware_msm7k refs/changes/03/10303/1 && git cherry-pick FETCH_HEAD
    Build it.
    Code:
    . build/envsetup.sh
    lunch full_passion-userdebug
    mka
    Note: The above is not enough to get a clean build you will need to debug some minor errors.

    On amd hexacore w/ 12gb ram takes 40 minutes. (where CM7 takes 14)
    15
    CHANGELOG

    CHANGELOG
    Alpha8 Link to Alpha8
    New apn list from cm
    Update gapps with ones from koush's NS build.
    Headphone fix (thanks zivan56)
    Back to pershoot's BFS kernel as base.
    Added network stats and quota to kernel.
    Built with opengl enabled (currently causing blank screen)(REMOVED)(still no HWAccel)(disable Window/Transition effects makes it much nicer)

    Alpha7 Link to: Alpha7
    Same as alpha6
    Rebuilt with openjdk (this is aosp after all)
    Added Gmail and Market
    Market: login, try and download an app (only one), it will error. Reboot. Open market and it should start downloading. Then you're good.
    Market: I wiped and now market does not work. same error. Can't seem to fix it.
    Change to IntersectRaven's 2.6.38.8 AVS Kernel based on pershoot's

    Alpha6 Link to: Alpha6
    Added liba2dp for audio over bluetooth. (untested) (removed: caused build problems)
    AUDIO FIX: a real audio fix (thank you firesnatch [sean neeley])
    Head phone jack does not work yet. plays through speaker while plugged in.
    added back all apps but VideoEditor and its libs and Camera
    added back all ringtones and notifications
    switched back to userdebug build
    No gapps: Sorry. They were deleted when i rebased my tree. But they had issues anyway. So not bothering with them on this release.
    gralloc's back (hence the lag) Disabling animation in developer settings helps.
    3g seems to start the connect/disconnect thing after a while of non use. fix is either reboot. or go into setting and disable mobile data for a minute then turn it back on.


    Alpha5: Link to Alpha5
    switched from userdebug to eng variant
    got su back and some bluetooth files (still broke for me)
    removed most sounds (ringtones,notifications) to save some space
    removed apps: Camera, VideoEditor, libWnnJpnDic, PinyinIME, Email, Exchange, libvideoeditor_jni, libvideoeditorplayer, libvideoeditor_core
    Added Gapps: Market wont show up untill you sign in through settings
    Issues: screen now flashes an orange outline on edge of screen when you click some buttons

    Alpha4: Link to Alpha4 as system and boot images
    Home button works! (thanks again to rampv78)
    Removed soft buttons
    Changed lcd density back to 240

    Alpha3:Link to Alpha3 as a flashable zip
    Rebase latest changes in CM tree.
    Try new GPS code in CM gerrit.
    Better Audio fix: Still broken but more stable (closer to working out a real fix)
    Leave out gralloc since we dont have HW Acceleration yet.

    Alpha2:Link to Alpha2 as a flashable zip
    changed ro.sf.lcd_density to 220 to fix softkeys
    build with gralloc: kind of makes it laggy if it bothers you delete /system/lib/hw/gralloc.qsd8k.so (but not gralloc.default.so)
    Working:
    Calling: (mic works they can hear you)
    Sound/Mic: sort of (thanks to tip from rapmv78 and the Desire guys)
    Gps: I think (might just be googles location features even though its unchecked in settings)(tested by visiting maps.google.com in browser with wifi off)
    Not Working:
    3g: still very sporadic (a few reboots fixes it somtimes)(maybe i need to update to latest radio)
    Home button
    Trackball

    Alpha1: Link to Alpha1 as system.img and boot.img
    Migrate source to CM repos
    Using ICS init (alpha0 used CM7)
    Pershoots CM7 2.6.38.8 Kernel
    Added Soft Buttons to give us a working home button (although this causes the bottom row of the keyboard to be half way covered up) You can fix this by changing ro.sf.lcd_density to 220 or 200 in /system/build.prop
    Not working:
    3g (severe connect/disconnect issues)
    Audio
    Home button
    Trackball
    Some other stuff I can't remember
    12
    Alpha8 released. No HWAccel (sorry). But market works. headset. and network stats. Plus more gapps.
    7
    The driver structure looks very similar. I would guess that all you only need to change is https://github.com/pershoot/kernel-2638/blob/master/arch/arm/mach-msm/htc_35mm_jack.c

    and remove line 224:
    hi->ext_35mm_status |= BIT_35MM_HEADSET;

    This value makes the sysfs have a value of 120 instead of 2.
    #define BIT_35MM_HEADSET (1 << 7)

    ThankYou! this fixed it. packaging and uploading new kernel now.

    [edit] uploaded see OP
    4
    Presenting WORKING wifi! see OP