5,598,297 Members 48,074 Now Online
XDA Developers Android and Mobile Development Forum

CyanogenMod 9 Development

Tip us?
 
intrepresentation
Old
(Last edited by intrepresentation; 27th June 2012 at 02:20 AM.) Reason: updates
#1  
Member - OP
Thanks Meter 136
Posts: 32
Join Date: Apr 2012
Default CyanogenMod 9 Development

I'm working on porting CM9 to HTC One X. I've made a lot of progress but there are still issues. I wanted to get the source out as soon as possible to get more people working on it.

See the wiki for more information.

Status

Working:
  • Radio (calls and 3G)
  • Audio
  • Hardware Acceleration
  • WiFi
  • Bluetooth
  • GPS
  • NFC
  • Camera
  • FM Radio
  • Echo/In call volume fixed
  • Wifi Tethering

Issues/TODO list:
  • Wifi Direct
  • Blank screen on rotation
  • Data connection occasionally fails
  • Camera focusing on face issue

Nightly Builds

Thanks to jangrewe for providing the nightly builds.

Downloads: http://mirror.faked.org/cm9/
Jenkins: http://faked.org/jenkins

Reporting issues

https://github.com/intermediaterepre...ndeavor/issues

Flashing ROM

Using CWM you can flash the ROM.

The kernel must be flashed manually unless you have S-OFF:

Extract the zip file.

Code:
fastboot flash boot boot.img
Building

Add the following to your .repo/local_manifest.xml:

Code:
<project name="intermediaterepresentation/android_hardware_ti_wlan" path="hardware/ti/wlan" remote="github" revision="p-ics-mr1-release"/>
<project name="intermediaterepresentation/android_kernel_htc_endeavor" path="kernel/htc/endeavor" remote="github" revision="master" />
<project name="intermediaterepresentation/android_device_htc_endeavor" path="device/htc/endeavoru" remote="github" revision="master" />
Sync code.

Code:
repo sync
And compile:

Code:
add_lunch_combo cm_endeavoru-userdebug
lunch cm_endeavoru-userdebug
(cd device/htc/endeavoru && ./extract_files.sh)
make -j4 otapackage
Contributions

Please send me pull requests on GitHub if you want to contribute.

Sources

Device Configuration - https://github.com/intermediaterepre...e_htc_endeavor
Kernel - https://github.com/intermediaterepre...l_htc_endeavor

Change Log

5/19/2012 - Initial import of project
5/20/2012 - Bluetooth support added
5/20/2012 - GPS added
5/21/2012 - NFC added
5/28/2012 - Add build links
5/28/2012 - Auto brightness, ICS switcher for hardware key, and more (thanks gorbi) - https://github.com/intermediaterepre...ndeavor/pull/1
5/28/2012 - Camera is now working!
5/30/2012 -
akaspin - fix bug with editing custom backlight levels
tgascoigne - fix usb mass storage
gorbi - fix for chrome. system tweaks.
6/26/2012 - Update changelog and add wiki link
The Following 84 Users Say Thank You to intrepresentation For This Useful Post: [ Click to Expand ]
 
ShyamSasi
Old
#2  
ShyamSasi's Avatar
Recognized Contributor
Thanks Meter 1664
Posts: 2,691
Join Date: Dec 2010
Location: CLASSIFIED

 
DONATE TO ME
I guess someone from XDA (JDR0iD?) is also working on CM9 you might wanna ask them as well.
 
Kickasskev
Old
#3  
Kickasskev's Avatar
Senior Member
Thanks Meter 191
Posts: 1,250
Join Date: Jul 2010
Location: Sunderland

 
DONATE TO ME
I thought its already out, but its only posted in the modaco forum

Sent from my HTC One X using Tapatalk 2
 
endursa
Old
#4  
endursa's Avatar
Senior Member
Thanks Meter 254
Posts: 819
Join Date: Dec 2008
Location: Linz

 
DONATE TO ME
Good to see that someone who actually shares the open source work works on cm9 now! The guy over at modaco seems like a bit of a douche, cause he insist on not sharing his repo and as I think this shouldn't be supported because open source is about open source!

Keep up the work, I hope you can fix at least the heavy bugs like mobile connection so you can post a build :)

Sent from my HTC One X using XDA Premium HD app
The Following 4 Users Say Thank You to endursa For This Useful Post: [ Click to Expand ]
 
empyyy
Old
(Last edited by empyyy; 19th May 2012 at 04:54 PM.)
#5  
empyyy's Avatar
Member
Thanks Meter 5
Posts: 41
Join Date: Feb 2012
Code:
error: revision refs/heads/ics in intermediaterepresentation/android_device_htc_endeavor not found
When syncing my repo.

Edit:
I fixed it by changing
Code:
<project name="intermediaterepresentation/android_hardware_ti_wlan" path="hardware/ti/wlan-omapzoom" remote="github" revision="p-ics-mr1-release"/>
<project name="intermediaterepresentation/android_kernel_htc_endeavor" path="kernel/htc/endeavor" remote="github" />
<project name="intermediaterepresentation/android_device_htc_endeavor" path="device/htc/endeavor" remote="github" />
to
Code:
<project name="intermediaterepresentation/android_hardware_ti_wlan" path="hardware/ti/wlan-omapzoom" remote="github" revision="p-ics-mr1-release"/>
<project name="intermediaterepresentation/android_kernel_htc_endeavor" path="kernel/htc/endeavor" remote="github" revision="master"/>
<project name="intermediaterepresentation/android_device_htc_endeavor" path="device/htc/endeavor" remote="github" revision="master"/>
Edit 2:
Next error:
Code:
fh-mac:cm9 fh$ lunch cm_endeavor-userdebug
Looking for dependencies
Traceback (most recent call last):
  File "build/tools/roomservice.py", line 150, in <module>
    fetch_dependencies(repo_path)
  File "build/tools/roomservice.py", line 127, in fetch_dependencies
    dependencies = json.loads(dependencies_file.read())
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 360, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 378, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

** Don't have a product spec for: 'cm_endeavor'
** Do you have the right repo manifest?
 
F4M0U569
Old
#6  
Senior Member
Thanks Meter 80
Posts: 334
Join Date: Dec 2011
Quote:
Originally Posted by endursa View Post
Good to see that someone who actually shares the open source work works on cm9 now! The guy over at modaco seems like a bit of a douche, cause he insist on not sharing his repo and as I think this shouldn't be supported because open source is about open source!

Keep up the work, I hope you can fix at least the heavy bugs like mobile connection so you can post a build :)

Sent from my HTC One X using XDA Premium HD app
It is his choice, so get over it. Just be glad he is sharing his ROM with the community for free. He doesn't owe us anything. Seriously, you people are ungrateful brats
The Following User Says Thank You to F4M0U569 For This Useful Post: [ Click to Expand ]
 
intrepresentation
Old
#7  
Member - OP
Thanks Meter 136
Posts: 32
Join Date: Apr 2012
Sorry about that...looks like my cm.dependencies was empty. I put an empty JSON object in there and all is good. repo sync or pull the changes from android_device_htc_endeavor and lunch should work.

Quote:
Edit 2:
Next error:
Code:
fh-mac:cm9 fh$ lunch cm_endeavor-userdebug
Looking for dependencies
Traceback (most recent call last):
  File "build/tools/roomservice.py", line 150, in <module>
    fetch_dependencies(repo_path)
  File "build/tools/roomservice.py", line 127, in fetch_dependencies
    dependencies = json.loads(dependencies_file.read())
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 360, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 378, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

** Don't have a product spec for: 'cm_endeavor'
** Do you have the right repo manifest?
The Following User Says Thank You to intrepresentation For This Useful Post: [ Click to Expand ]
 
empyyy
Old
#8  
empyyy's Avatar
Member
Thanks Meter 5
Posts: 41
Join Date: Feb 2012
Quote:
Originally Posted by intrepresentation View Post
Sorry about that...looks like my cm.dependencies was empty. I put an empty JSON object in there and all is good. repo sync or pull the changes from android_device_htc_endeavor and lunch should work.
Seems to work now, thanks!
 
Planet X
Old
#9  
Planet X's Avatar
Senior Member
Thanks Meter 124
Posts: 689
Join Date: May 2008
I am so happy that you have stated this. I really miss cm9 since I sold my GN. And the nightly hours of compiling for myself... Lets hope that some geniuses will help you to get it running soon. CM9 is open and has to stay open. Otherwise he uses the wrong name for the ROM.
LG Optimus G Pro - E-986 - powered by CM 11
Samsung Galaxy S4 i9505 - powered by Google Edition
Samsung Tab 2 10.1 P5110 - powered by cm11
...and lots of flashgood before

................and lots of flashgood before
 
empyyy
Old
#10  
empyyy's Avatar
Member
Thanks Meter 5
Posts: 41
Join Date: Feb 2012
Next one...
Code:
fh-mac:cm9 fh$ make -j4 otapackage
============================================
<...>
============================================
build/core/base_rules.mk:166: *** hardware/ti/wlan/mac80211/config: MODULE.TARGET.ETC.wpa_supplicant.conf already defined by external/wpa_supplicant_8/wpa_supplicant.  Stop.

Tags
cm9, open source
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes