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

Status
Not open for further replies.
Search This thread

toes2

Member
Nov 28, 2010
23
1
I cant write any line of code because i doesn't know where to find info about the NDK api, in android. But if in some pice of code we do a lock(mutex&) it's mandatory to do a relase(mutex&). Otherwise it will make a deadlock...
No. android::Mutex::Autolock automatically releases when it goes out of scope.
 

lilchicano

Senior Member
Feb 27, 2009
419
73
Marietta, GA
its coming along amazing you guys, i really wish i knew what to do like you guys, but my knowledge isnt as much as that yet =(

all i could do for you guys is just be a test dummy and help out any way i could. but i really do believe you guys will get our N1s a fully working ICS port =)

edit: just tried to install the alpha2 and it goes straight into fastboot for me.
the steps i took to install was booting into recovery, did a backup, used a format.zip file, and then the flashable zip file in the OP, then rebooted.
i even tried not using the format.zip file and just used the wipe built in the recovery and same results occured. phone info on my sig
 
Last edited:

babijoee

Retired Forum Moderator
Dec 7, 2008
1,548
163
Melbourne
Hey texasace, in the first post you mention that Accelerometer (rotation) isn't working but its working for me. Well in terms of rotation the screen from portrait to landscape.
 

poexone

Senior Member
Oct 20, 2010
192
17
Sacramento
Successfully flashed. Wifi doesn't work for me. Landscape doesn't either. Scrolling across homescreens are very slow as well. Menus and app draw are smooth as butter though.

Keep up the good work.

Sent from my HTC myTouch 4G using xda premium
 

ricky9237

Member
Jul 11, 2010
46
9
Flashed it with clockwork recovery. It works.

-Wifi does not work. Keep searching WIFI signal but not on at all. Wifi works after flashing with GB kernel.
-Cell (Tmobile) signal detected only manually. Can call in and out.
-3G and 2G data do not work (not stable, showing on/off).
-Accelerometer works. Can switch between landscape and portrait automatically.
-Gallery works but not fully. Whole picture preview does not show up but can see the picture using pinch to zoom.
-Music app works but one song is louder than the other one. Strange.
-Multitouch works as described in gallery.
-Soft buttons works but home button does not work.
-Bluetooth works. Can hear ringtone but the mic does not work with my headset.

Overall, great job. Thanks everyone for working on the ICS.
Can't wait to see a fully functional rom.
 
Last edited:

atoyu

Senior Member
Jan 4, 2010
272
29
will N1 have hardware acceleration? wait google release or we can use other source code compile ourself??
 

yumcax

Senior Member
Aug 29, 2010
277
125
Seattle
Flashing now. Will report back with bugs (edit them in).

EDIT: Stuck in re-boot loop. I'm trying again now after erasing data/cache/dalvik a couple more times, also re-downloading the file if this does not work. Do you think you could put up the MD5 for the file, so we can test and make sure we aren't flashing corrupted ROMs?

EDIT: I see that I am getting a random offset error during flashing. 0xa4. Possible causes?

EDIT: After re-downloading the ROM multiple times, I am still stuck in a boot loop. I guess I'll try again when alpha 3 comes out.
 
Last edited:

dang025

Senior Member
Jan 8, 2011
127
7
flashed successfully with CWM.

will report back if I find anything not previously mentioned.
 

lolobabes

Senior Member
Mar 1, 2010
497
26
Manila
nice now on alpha 4, wish I could help but am no programmer... ill try this now ty

by the way how do i flash a system and boot image? ty
 
Last edited:
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