Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

CyanogenMod 9 Development

OP intrepresentation

19th May 2012, 06:58 AM   |  #1  
OP Member
Thanks Meter: 136
 
32 posts
Join Date:Joined: Apr 2012
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
Last edited by intrepresentation; 27th June 2012 at 03:20 AM. Reason: updates
The Following 84 Users Say Thank You to intrepresentation For This Useful Post: [ View ]
19th May 2012, 07:18 AM   |  #2  
ShyamSasi's Avatar
Recognized Contributor
CLASSIFIED
Thanks Meter: 1,752
 
2,753 posts
Join Date:Joined: Dec 2010
Donate to Me
More
I guess someone from XDA (JDR0iD?) is also working on CM9 you might wanna ask them as well.
19th May 2012, 08:58 AM   |  #3  
Kickasskev's Avatar
Senior Member
Flag Sunderland
Thanks Meter: 192
 
1,253 posts
Join Date:Joined: Jul 2010
Donate to Me
More
I thought its already out, but its only posted in the modaco forum

Sent from my HTC One X using Tapatalk 2
19th May 2012, 10:10 AM   |  #4  
endursa's Avatar
Senior Member
Flag Linz
Thanks Meter: 260
 
828 posts
Join Date:Joined: Dec 2008
Donate to Me
More
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: [ View ]
19th May 2012, 05:03 PM   |  #5  
empyyy's Avatar
Member
Thanks Meter: 5
 
41 posts
Join Date:Joined: Feb 2012
More
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?
Last edited by empyyy; 19th May 2012 at 05:54 PM.
19th May 2012, 06:11 PM   |  #6  
Senior Member
Thanks Meter: 128
 
507 posts
Join Date:Joined: Dec 2011
Quote:
Originally Posted by endursa

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: [ View ]
19th May 2012, 06:13 PM   |  #7  
OP Member
Thanks Meter: 136
 
32 posts
Join Date:Joined: 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: [ View ]
19th May 2012, 06:24 PM   |  #8  
empyyy's Avatar
Member
Thanks Meter: 5
 
41 posts
Join Date:Joined: Feb 2012
More
Quote:
Originally Posted by intrepresentation

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!
19th May 2012, 06:28 PM   |  #9  
Planet X's Avatar
Senior Member
Thanks Meter: 156
 
781 posts
Join Date:Joined: May 2008
More
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.
19th May 2012, 07:11 PM   |  #10  
empyyy's Avatar
Member
Thanks Meter: 5
 
41 posts
Join Date:Joined: Feb 2012
More
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.

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes