yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] texasice:
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:

Not Working:

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.

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)

repo init -u git://github.com/ics-passion-dev/android.git -b ics
repo sync

Fix Audio.

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.

. 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)
[Nexus One Android Development] fabler:
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. :)
[Nexus One Android Development] texasice:
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.
[Nexus One Android Development] dr1337:
Did you manage to get GL acceleration working?
[Nexus One Android Development] sunnybhai:
Does this help for the touchscreen issue? The touchscreen was working well on the SDK port

http://xdaforums.com/showpost.php?p=18711543&postcount=55
[Nexus One Android Development] dr1337:
Just use the IDC file from my SDK port.
[Nexus One Android Development] texasice:
Yup. fixed it.
[Nexus One Android Development] texasice:
No i havent even looked at that.
[Nexus One Android Development] evcz:
nice work :)
[Nexus One Android Development] skitty:
Will we get a test build to play with?
[Nexus One Android Development] texasice:
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
[Nexus One Android Development] RotasOpera:
Great news! I wish I could help somehow. Why don't you collaborate with drew garen? I'm sure he could help you.
[Nexus One Android Development] drive2droad:
this is awesome work , have you tried contacting any of the developers or contributors from TeamDouche ... they may help you to resolve any issues !!
[Nexus One Android Development] imfloflo:
Have you try to contact @drewgaren to ask him which trick did he use to correct the problems he was having with first sdk port?

Maybe he can share some drivers file which can be helpful.

Thanks for all the work you put in this DEV.

F.
[Nexus One Android Development] lolobabes:
Wow! Great initiative guys, good luck and hope move developers can contribute.
[Nexus One Android Development] ajm2387:
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!
[Nexus One Android Development] bruno3691:
great work

;)

keep going
[Nexus One Android Development] GerooTech:
Keep Going guys, i wish i can help but i have no idea about developing at all.
[Nexus One Android Development] dookie23:
Need help?

If you need help on development work, I might be able to help. I am also a Java developer. Thanks and keep up with the good work!
[Nexus One Android Development] baseballfanz:
Here's good infos

http://wiki.cyanogenmod.com/wiki/Fastboot

Better to leave these type of questions out of a dev thread please.:)

I think you're doing a great job texas.
[Nexus One Android Development] supperbas:
Flashed zip and installed them manually using adb install.

Talk - Works as expected

Youtube also starts (haven't watched a video yet)

Calendar starts but it has a sync issue

Gmail - gives stopped unexpectedly

Maps and lattitude - works

Vending (Market) - works (not sure if it's different from OP's version)

the LatinIME works and also has a dictionary working

Other 'bugs' - alpha 7

When I enable file transfer (storage -> menu / settings) settings crashes but the checkbox remains checked however I cannot use it as a USB drive (the SD card that is)

Gallery is all black unless when you try to 'drag' or 'whipe' on the screen then it shows pictures but as soon as you stop touching the screen it is black again.

And I think that's about it so far, great job OP =]
[Nexus One Android Development] olm3ca:
Does anyone have a blackrose partition layout recommendation for ICS AOSP? I want to try changing partitions and will be helping to test this ROM as well, however I don't want to shrink cache too much to impact running ICS. From blackrose threads, these are suggestions for the various ROMs. Would stock scheme be best, or any other ideas?

145/95/196 Stock

105/5/331 Oxygen

125/5/306 MIUI

150/5/281 Cyanogen
[Nexus One Android Development] bnguyen1983:
This is going faster than I thought it would. Once headphone jack and camera works, it would be perfect for me.
[Nexus One Android Development] yumcax:
Also if it makes it easier you can CD to the download/extraction location and then just run

fastboot flash system system.img

etc
[Nexus One Android Development] heroid007:
Thank you so much guys! I will definitely give it a try! @baseballfanz didn't mean to disturb the flow here, will try and behave in the future! ;)
[Nexus One Android Development] zivan56:
We got headphones working on the HD2:

http://xdaforums.com/showpost.php?p=19672994&postcount=526

Perhaps its a similar fix for the N1?

Bottom line is /sys/class/switch/h2w/state needs to have a value of 1 or 2 (1 is with mic, 2 without). The value was being OR'd with some funky HTC flag that Android does not recognize, so I just removed it.
[Nexus One Android Development] harunjo:
i had running this rom with

2mb /cache

150mb /system

~ /data

its was running fine,

also can download app from market sucessfully with 2mb /cache
[Nexus One Android Development] blunden:
Based on the description of the current issue I'd say it's very likely. Thanks a lot. :)

I don't know where they host the kernel used for this ROM though so I can't check.
[Nexus One Android Development] DaXmax:
Gosh, i want to use this badly! :(
[Nexus One Android Development] texasice:
@blunden I'm just using pershoots kernel I'll take a look but I'm not sure where i need to change this. https://github.com/pershoot/kernel-2638
[Nexus One Android Development] blunden:
The drivers seems to have been changed, yes. Check the file below. More specifically the insert_headset(int type) function at line 658.

You might want to set/define CONFIG_DEBUG_H2W before compiling to see if you get any interesting output when testing the current version of the code. Though on second thought the dmesg info might be enough already to see what is happening. Does it detect it corretly as it is now?

https://github.com/pershoot/kernel-2638/blob/master/arch/arm/mach-msm/htc_headset.c
[Nexus One Android Development] texasice:
Current dmesg:

<6>[ 161.201019] [H2W] htc_35mm_jack_plug_event 1
<6>[ 161.201416] 3.5mm_headset plug in
<6>[ 161.203125] htc-acoustic: turn_mic_bias_on called 1
<6>[ 162.196807] microp_headset_has_mic: microphone (1) not present
<6>[ 162.197021] 3.5mm without microphone
...someother not related stuff
<6>[ 169.774932] [H2W] htc_35mm_jack_plug_event 0
<6>[ 169.775115] 3.5mm_headset plug out
<6>[ 169.777008] htc-acoustic: turn_mic_bias_on called 0

It seems like were using the file htc_35mm_jack.c

htc_headset.c does not have an object file present after build
[Nexus One Android Development] DaXmax:
U gonna update it?? Can u just provide a patch.zip, my bandwith is gonna be reaching the limit soon... :(
[Nexus One Android Development] texasice:
This is with the current kernel used with alpha6 and 7. I haven't changed anything.
[Nexus One Android Development] blunden:
Hmm, yes I missed that that file was available in both kernels. Check include for the header files.

It could also be an audo routing issue or something since it seems to detect it normally.

It's almost 5 am over here though so have to catch some sleep. :)
[Nexus One Android Development] DaXmax:
Oh ok, anyway im using it now, as daily use... Bluetooth headset is working though... Thanks for the work, looking for more updates!
[Nexus One Android Development] harunjo:
Any info working superuser.apk for this ICS rom?
[Nexus One Android Development] texasice:
Download v3.0.7 from here http://androidsu.com/superuser/ it works with ics.
[Nexus One Android Development] zivan56:
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)
[Nexus One Android Development] DaXmax:
Urghh, thought can use it for daily, but i cant as:

-the ui is too slow (lags)

-my Singtel operator not auto connected (always need to go to the mobile network to register) and

-mobiledata wont connect everytime (on and off)

Hope you can complete the aosp soon with best performance! ;)
[Nexus One Android Development] Bi0haZarD:
Bro, the rom is still in ALPHA phase, so these errors are expected to occur...and you can't use it as a daily driver yet...patience!!! you can only help the development of the rom by reporting errors in each ALPHA release ;)
[Nexus One Android Development] olm3ca:
Wow, so 2mb for cache is enough even on ICS? I thought this was a CM7 feature of moving cache to SD if there isn't enough space.
[Nexus One Android Development] blunden:
Ah, yeah you are right. :) I missed that line. It's certainly worth a try.
[Nexus One Android Development] DaXmax:
Yea i know, i able to use without them but internet is my passion...
[Nexus One Android Development] enlothien:
are you trolling in here or are you simply looking to get flamed?

posting something like stay foolish to me shows you have no idea what the android mod community is all about.

what these developers and those rom addicts like me are doing is helping the community grow and bring updates to phones that was negelected.

at the end of day it is a win win situation for everyone but then again i don't expect you to understand this.
[Nexus One Android Development] babijoee:
It was simply a joke.
[Nexus One Android Development] texasice:
ThankYou! this fixed it. packaging and uploading new kernel now.

[edit] uploaded see OP
[Nexus One Android Development] supperbas:
Great work Texasice, using it as a daily rom will try to post feedback of all bugs I discover =]
[Nexus One Android Development] FishFan319:
For the remaining needs: Camera, Hardware Acceleration...is it possible to look to the structure of our brethren on the Nexus Side to see differences in the strings, like those that Tex and team used just now to solve the headphone problems?
[Nexus One Android Development] marlonbr:
Wow! Alpha 8 will be my daily driver!

Awesome work guys!
[Nexus One Android Development] harunjo:
i thought it was working, but when i tried to download more than 2 mb..the market was fail..

maybe do below steps will be help:

su

rm /cache/download

ln -s /data/local/download /cache/download
[Nexus One Android Development] blunden:
The normal way to fix it is by symlinking dalvik-cache to /data/dalvik-cache on boot with an init script.
[Nexus One Android Development] DaXmax:
Gonna wait for Alpha 8 to use it as daily!!! :)
[Nexus One Android Development] bnguyen1983:
Its working pretty good so far but I think I have to go back to 2.3 until we get some sort of hardware acceleration. It is way to laggy without it.
[Nexus One Android Development] lyicon:
what should opengl improve?

only know that it has something to do with graphics..
[Nexus One Android Development] DaXmax:
If opengl is enabled, lagginess wont be appeared anymore (i guess)
[Nexus One Android Development] texasice:
That's what I'm hoping. Only thing is our current adreno200 libs aren't compatible. So it is a huge chore getting it working.
[Nexus One Android Development] zivan56:
Great, glad to help. Now you guys can do the Adreno 200 :)
[Nexus One Android Development] DaXmax:
Oh well, development on optimus one having the same thing, but we will get the libs working... Anyway, using older opengl wont work for temporary use??
[Nexus One Android Development] apratomo:
Wow this is great collaboration, good job OP!

Would somebody put a video of this alpha 6/7. I'd like to know how slow/lag it is, is it feasible to use daily.
[Nexus One Android Development] DaXmax:
If u dont mind using without camera, trackball (anyway trackball is working only as mouse pointer), Gaming (like NFS Shift needs hw acceralation), then ur set to go...

Im thinking of using opengl 1.0 libs, so maybe it will lags abit or maybe it super lag, i dunno, nid to try... Now waiting patiently for alpha 8...
[Nexus One Android Development] texasice:
Haven't worked on HWAccel today. I'm waiting to see if shaky153 gets them working on the DHD. And then tells me how to do it. So i did some kernel hacking. (or rather pulled commits from teamhacksung's tree). Here's a first crack at network stats new kernel as flashable zip. (includes headset fix).
[Nexus One Android Development] DaXmax:
Ok... now the main thing is 2D acceralation...
[Nexus One Android Development] bnguyen1983:
In my opinion, the lag is the only thing that truly holds it back from being a daily driver. I cant text due to the lag. Once that's done and gone, it'd be good.
[Nexus One Android Development] DaXmax:
Not only that, please support the 'auto connect to provider'...
[Nexus One Android Development] blunden:
I think you misunderstand. The issue is getting the driver to load. That's more about getting the OS and surrounding libs like gralloc compatible with the older style drivers. It's not really about opengl libs.
[Nexus One Android Development] crazybyte:
Do you know what are the main changes between old and new implementation? If we read GN source code we cannot try to understand it?
[Nexus One Android Development] blunden:
No, I don't know specifically what has changed. Yes, reading the source and finding differences is bascially the only way to do it now. I have been unable to find any documentation of the changes.
[Nexus One Android Development] fabler:
Now waiting for HWAcc to get fixed. :D
[Nexus One Android Development] HairyMerkin:
I am also waiting.
[Nexus One Android Development] johnston9234:
This needs to be stickied, nice work dev! Lets get that HWacc then this is a daily rom.
[Nexus One Android Development] defro:
Anyone familiar with this ROM?

h**p://drewgaren.com/DrewGaren.com/ICS/Entries/2011/11/21_ICS_FULL_AOSP_ALPHA_2_Download.html

There aren't any links to sources yet, but it might be good to keep an eye out. Unfortunately, no HW accel in his either though...
[Nexus One Android Development] DaXmax:
This guy is just doing for his NS...
[Nexus One Android Development] Signfang:
This kind of work had been done before he made it, and it was SDK port, not source-based work.

http://xdaforums.com/showthread.php?t=1314781

I tried both of them and they were worked pretty much the same.
[Nexus One Android Development] texasice:
Alpha8 released. No HWAccel (sorry). But market works. headset. and network stats. Plus more gapps.
[Nexus One Android Development] Galitrin:
Thank you very much texasice for your work :)!

I'll wait until HWAccel works to try it. When do you think it will work?

Best regards,
[Nexus One Android Development] RReeD:
ALPHA8 looks promising!

still wait for next release.

Thx a lot for your effort!
[Nexus One Android Development] fabler:
Me too.. still waiting for HWAcc to work. Anyways, texasice nice work. Thank You! :) This ROM is going to be awesome. :D
[Nexus One Android Development] j00m:
Greater! Waiting hw ac for weekend.

Good luck OP.
[Nexus One Android Development] Signfang:
Trackball button select works for me(although it works only like mouse pointer)

If pressed long enough, it works on app drawer and settings.

still doesn't work for the homescreen though.
[Nexus One Android Development] drive2droad:
Can anyone here tell me who is responsible for maintaining CM for the Nexus 1 ?? I would very much like to ask him if CM9 has been abandoned for N1 ??
[Nexus One Android Development] lcchan1:
Koush is working on the NS on the CM team (he was on N1 before), may be he knows.
[Nexus One Android Development] omegacorp:
I'm just waiting for tracball support and i will upgrade.

THX for the work !
[Nexus One Android Development] :
Pretty sure cyanogen maintains the n1.
[Nexus One Android Development] yumcax:
CM9 will come to Nexus One, I'm sure. It's just a matter of getting stock ICS (with HWAccel, Camera etc.) ported stably to the phone first. Just like the Nexus S, "CM9" is just stock ICS for now.

It will be more time until we start seeing the CM features we love actually integrated.

Alpha8 looks promising, flashing now. Hopefully we can get HWAccel working soon!
[Nexus One Android Development] klausdieter79:
I downgraded my radio from 5.12.00.08 to 5.08.00.04 and 3G is working for me now, too. Has anybody a 3G signal with the 5.12.00.08 radio?
[Nexus One Android Development] maddes1402:
Sony Ericsson xperia X10 is going to get CM9, confirmed by FXP team team that is responsible for the xperia devices. So phones with similar hardware like Desire and Nexus One should get CM9 as well ;)
[Nexus One Android Development] chrs2021:
Rotation

I'd like to note that rotation doesn't work because the daemon for the accelerometer isn't running so add akmd to init.rc or init.d for people that want rotation now just type this in to an adb shell "akmd &"

and you'll have rotation
[Nexus One Android Development] texasice:
lol I can't believe it was this easy. Thanks [Edit] it actually already in init.mahimahi.rc just not running properly.
[Nexus One Android Development] harunjo:
no issue for me, i can got 3G with 5.12, you just need manual search to get 3G
[Nexus One Android Development] lyicon:
Texas sry 4 asking this annoying question,, but how goes the progress on hw acceleration ..?

Thx in forward :)
[Nexus One Android Development] Bexton:
Alpha 8 Feedback with a focus of verifying the OP's list of what works and what doesn't. (Note: when i say "worked", this means "it worked for me during 2h of testing):

Wifi worked (Connectivity on a 200 mb test download seemed to be stable)

3G worked (radio 5.08.00.04), though no HSDPA (what works with CM7, but also not with stock GRK39F!?)

Sending/receiving MMS worked

Touchscreen/Multi-touch worked

Home button worked

Network Stats (Wifi and Mobile) worked

Bluetooth worked

Sound worked

Telephony worked

I don't had a headset right here, but only my in-ear headphones (for music). But what using the headphones as audio output chanel and the device's mic as input worked properly while phone calls.

Listen Music through headphone (obviously also) worked

----

Another thing i came across when looking for a usb mass device solution, i thought it might be of interest for some, is a whitepaper on the subject of the N1's USB interface (though with a different purpose): http://cs.gmu.edu/~astavrou/research/acsac10.pdf and this link: http://www.linux-kvm.org/page/USB_Host_Device_Assigned_to_Guest

Edit: Linked the original docs

Edit 2: Just saw that koush fixed the usb thing with his ics alpha series for the nexus s: http://xdaforums.com/showpost.php?p=19552156&postcount=1
[Nexus One Android Development] taney:
Hi! I'm not sure if this is any help but I thought I'd throw it out there.

DrewGaren has an working AOSP ICS build for the N1/NS:

http://drewgaren.com/DrewGaren.com/ICS/ICS.html

Check it out and maybe the devs could work with him to further advance this project. =)
[Nexus One Android Development] dang025:
He doesn't have a non SDK nexus one build.

The only AOSP build he has is for the Nexus S. But there is already CM9 alpha running on it, so I would definitely go with that if I had a nexus s.
[Nexus One Android Development] dreamhunterr:
CM7 has a different icon to distinguish 3G from HSDPA that doesn't exist in AOSP (same icon for both), so it's to be expected :]

If you really want to test, you ought to do a speedtest and compare to CM7.
[Nexus One Android Development] johnston9234:
I have seen alot of people posting how to flash these roms. Just extract the tar file then flash the system image and boot image through fastboot.
[Nexus One Android Development] atoyu:
did cm9 team build a driver use this SDK??

https://developer.qualcomm.com/develop/mobile-technologies/graphics-optimization-adreno
[Nexus One Android Development] madj42:
I had tested build 6 and 7 and had issues with my work email through exchange sync. Anyone else having any issues related to this in beta 8?
[Nexus One Android Development] yumcax:
Most people that are asking for instructions have never used Fastboot before. Your instructions are included in the OP.
[Nexus One Android Development] OJ in Compton:
Played with this rom today, I am surprised at how much is working. I had some odd reboots when dealing with my contact list and text messaging but calling, 3G, wifi, GPS and music all worked. If it wasn't for the slow speed, it could easily be a daily driver. I would recommend anyone using this rom to turn off the transitions and animations, it helps the usability a lot.

I'll be back and ready to send error reports soon!
[Nexus One Android Development] j00m:
Accelerometer (rotation) doesn't work for me. :confused:

My phone is n1 at&t.
[Nexus One Android Development] DaXmax:
+1, is it causing that our version is AMOLED and the others is SLCD??
[Nexus One Android Development] bluedragon1982:
Also no rotation here

German Vodafone Nexus One Amoled
[Nexus One Android Development] texasice:
I have been able to fix both rotation and bluetooth on my att amoled nexus1 though changes in init.rc. to be included in alpha9. (note this should not break rotation/bluetooth for the people it currently works for)

Try flashing this new boot.img and see if it fixes it.
[Nexus One Android Development] bluedragon1982:
For the screenshot issue (screenshot could not be saved) i told about yesterday on irc - i just fount out using root explorer, the the sdcard has mountpoint /mnt/sdcard

Maybe thiscould help
[Nexus One Android Development] texasice:
This should also be fixed in the new boot.img. I added a symlink to /sdcard
[Nexus One Android Development] blunden:
The CM way is to modify the parts of Android that links to the driver to make them compatible with those older drivers. They don't write new drivers.
[Nexus One Android Development] texasice:
This is correct. TeamDouche is already working on a fix in the opengl wrapper for us. At current it is still very unstable. But give them time (and perhaps donations) and they will get it working for use. On that note I am abandoning all efforts on HWAccel and focusing on getting a rock solid base rom so the minute CM releases its HWAccel fix we will have the best rom out there. :)
[Nexus One Android Development] j00m:
How about signal strengh icon, gellary doesnot show pics.

Confirmed rotate worked!

Not test bt,