FORUMS

Analysis & Opinion

Top Forum Discussions

CyanogenMod 9 Development

32 posts
Thanks Meter: 136
 
By intrepresentation, Member on 19th May 2012, 05:58 AM
Post Reply Subscribe to Thread Email Thread
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 02:20 AM. Reason: updates
The Following 84 Users Say Thank You to intrepresentation For This Useful Post: [ View ]
 
 
19th May 2012, 06:18 AM |#2  
ShyamSasi's Avatar
Recognized Contributor
CLASSIFIED
Thanks Meter: 1,809
 
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, 07:58 AM |#3  
Kickasskev's Avatar
Senior Member
Flag Sunderland
Thanks Meter: 194
 
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, 09:10 AM |#4  
endursa's Avatar
Senior Member
Flag Linz
Thanks Meter: 275
 
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, 04:03 PM |#5  
empyyy's Avatar
Member
Thanks Meter: 5
 
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 04:54 PM.
19th May 2012, 05:11 PM |#6  
Senior Member
Thanks Meter: 133
 
More
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, 05:13 PM |#7  
OP Member
Thanks Meter: 136
 
More
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, 05:24 PM |#8  
empyyy's Avatar
Member
Thanks Meter: 5
 
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, 05:28 PM |#9  
Planet X's Avatar
Senior Member
Thanks Meter: 256
 
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, 06:11 PM |#10  
empyyy's Avatar
Member
Thanks Meter: 5
 
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.
19th May 2012, 06:45 PM |#11  
Goku80's Avatar
Senior Member
Flag Within the Matrix
Thanks Meter: 6,621
 
More
Quote:
Originally Posted by Planet X

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.

exactly...same goes for other devs here as well which use normal HTC builds. they create something awesome, devs asks permission from the creators if they can use their tweaks or mods in their roms and like the divas they are most of the times they say no..so tell me what is open source then. same goes for the guy who is compiling the cm9 Trip whatever his name is...android is open. and if by doing the right procedure and giving the right credits people should be helping each other out to make the community better..not worse by acting like little divas.

@OP ask a mod if you can move this thread in development cause you guys are compiling a build from source so it makes more sense if it was there instead of general..you do not lose anything by asking.. i wish you all the best cause cm9 is by far the best ICS i tried

Read More
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