FORUMS
Remove All Ads from XDA

[ROM][WIP] CM9-marvel-UNOFFICIAL [UPDATE: April 25th]

1,068 posts
Thanks Meter: 3,847
 
By modpunk, Recognized Contributor on 14th January 2012, 12:50 AM
Post Reply Email Thread
This is a project trying to get CyanogenMod 9 working on the HTC Wildfire S.


If you are a developer and you're working on a device with msm7x27 hardware, contact me, we have a dev only IRC channel to work together.


People who helped during development, with their input, knowledge and patches:

alquez (CM7 port and kernel fixes)
Droste (Input, help and patches)
PabloPL (Thanks for the input)
WinSuk We worked together on fixes for Marvel and Liberty


There will be an official marvel (unofficial CM9) release next week (week 18). I need to prepare for that.


TODO:
* Get camera fully working.



The HTC Aria (Liberty) uses the my kernel tree now. Thanks WinSuk for the trust


NOTE: Don't send me private messages asking for a HOWTO. Everything is documented in the CyanogenMod Wiki. You can't help if you're not able to set it up on your own.

SOURCES: http://git.cryptomilk.org/
The Following 80 Users Say Thank You to modpunk For This Useful Post: [ View ] Gift modpunk Ad-Free
 
 
14th January 2012, 11:34 AM |#2  
OP Recognized Contributor
Thanks Meter: 3,847
 
Donate to Me
More
ChangeLog


ALHPA0

2012-04-25
* KERNEL:
- Fix ICS/HTC ril problems
* ROM:
- Fix USB Mass Storage
- Fix memory leaks and pmem problems with camera (Thanks Droste)

2012-04-24
* KERNEL:
* ROM:
- Fixed camera preview
- Fixed GPS
- Fixed YouTube
- A lot of cleanups

2012-04-22
* KERNEL:
- Fixed usb_function_switch
- Added more cpufreq governors
- Set interactive governor as default
* ROM:
- Added initial camera support (not fully done)
- Fixed RIL (Radio Interface Layer)

2012-04-20
* KERNEL:
- Added support for liberty
- Added support for marvelc and marvelct
The Following 24 Users Say Thank You to modpunk For This Useful Post: [ View ] Gift modpunk Ad-Free
Henry_01
14th January 2012, 12:06 PM |#3  
Guest
Thanks Meter: 0
 
More
Good work.
Think I cant help much, I can only cook roms using dsixda kitchen.

I will make a MIUI theme for CM9, I like themes.
14th January 2012, 01:09 PM |#4  
Member
Thanks Meter: 2
 
More
Smile
Quote:
Originally Posted by modpunk

It boots and I can access logcat. At least this is the first success. However it is waiting for SurfaceFlinger. I think I need to start it. That's the next thing to find out how to do it.

If you want a tester i am there for you 24/7 at your service and if you want you can teach me in this stuff as well... good going though keep up the good work and port cm9 fast on our devices
14th January 2012, 02:29 PM |#5  
OP Recognized Contributor
Thanks Meter: 3,847
 
Donate to Me
More
I'm currently stuck with surfaceflinger, but I think it is a kernel problem. We can't access /dev/kgsl

Code:
[pid   220] 13:08:58 open("/dev/kgsl", O_RDWR|O_SYNC|O_LARGEFILE) = 12
[pid   220] 13:08:58 ioctl(12, 0xc00c0902, 0x100ffc6c) = 0
[pid   220] 13:08:58 ioctl(12, 0xc00c0902, 0x100ffc74) = 0
[pid   220] 13:08:58 mmap2(NULL, 4096, PROT_READ, MAP_SHARED, 12, 0x2d822) = -1 ENODEV (No such device)
The Following 7 Users Say Thank You to modpunk For This Useful Post: [ View ] Gift modpunk Ad-Free
14th January 2012, 03:31 PM |#6  
Member
Thanks Meter: 2
 
More
Smile
Quote:
Originally Posted by modpunk

I'm currently stuck with surfaceflinger, but I think it is a kernel problem. We can't access /dev/kgsl

Code:
[pid   220] 13:08:58 open("/dev/kgsl", O_RDWR|O_SYNC|O_LARGEFILE) = 12
[pid   220] 13:08:58 ioctl(12, 0xc00c0902, 0x100ffc6c) = 0
[pid   220] 13:08:58 ioctl(12, 0xc00c0902, 0x100ffc74) = 0
[pid   220] 13:08:58 mmap2(NULL, 4096, PROT_READ, MAP_SHARED, 12, 0x2d822) = -1 ENODEV (No such device)

How can i help??
14th January 2012, 04:22 PM |#7  
benjamingwynn's Avatar
Inactive Recognized Developer
Flag Cardiff
Thanks Meter: 2,408
 
Donate to Me
More
Quote:
Originally Posted by modpunk

Hello,

the last days I've chatted with alquez. He told me how to build cm7 and we discussed how to proceed with a kernel for marvel, marvelc and marvelct. We decided to work together on a new kernel. During this week I've started to look how cm9 is built and started to work on it. 10 min ago my first cm9 finally build trough.

I've submitted all my patches upstream or to my git repo. I still wonder how to fix webrtc so that it works for all people out there. It tells you it doesn't support several assembler functions but they are available on arm6. So you need to trick it to think your building for armv7.

I still don't have a kernel for it with atmel fix. That's the next step, then rebuilt it and give it a try. I will let you know as soon as I could boot it.

If you're a developer working on a QCOM device let me know. We need an upstream fix for webrtc and a kernel with patches which are accepted upstream (=cyanogenmod).

I'm tired and have to sleep now...

Awesome
The Following User Says Thank You to benjamingwynn For This Useful Post: [ View ] Gift benjamingwynn Ad-Free
14th January 2012, 04:58 PM |#8  
OP Recognized Contributor
Thanks Meter: 3,847
 
Donate to Me
More
Some posts above I wrote that the problem is SurfaceFlinger not starting. The reason is it can't open KGSL device. The only thing you can do is to tell me what's the problem. I have to dig into the code check check what it doing on the device and then try to figure out what's missing from the kernel side.


If you know don't know how Linux on the system level works, understand C/C++ and know how to debug these things there is nothing you can do.

If you know these things I can send you the rom or the instructions how to build it.


Sorry if I'm rude.
The Following 6 Users Say Thank You to modpunk For This Useful Post: [ View ] Gift modpunk Ad-Free
16th January 2012, 10:31 PM |#9  
OP Recognized Contributor
Thanks Meter: 3,847
 
Donate to Me
More
We needed gralloc.msm7x27 and copybit.msm7x27. Now it looks like mass storage support isn't working and kills us.
The Following 6 Users Say Thank You to modpunk For This Useful Post: [ View ] Gift modpunk Ad-Free
16th January 2012, 10:52 PM |#10  
eoghan2t7's Avatar
Recognized Contributor
Flag Belfast
Thanks Meter: 2,656
 
Donate to Me
More
Quote:
Originally Posted by modpunk

We needed gralloc.msm7x27 and copybit.msm7x27. Now it looks like mass storage support isn't working and kills us.

So what works and what doesn't any ideas yet?

Sent from my HTC Wildfire using xda premium
The Following User Says Thank You to eoghan2t7 For This Useful Post: [ View ] Gift eoghan2t7 Ad-Free
16th January 2012, 11:16 PM |#11  
OP Recognized Contributor
Thanks Meter: 3,847
 
Donate to Me
More
It boots, you can access the shell, follow logcat, then it reboots ...

The problem is the time is short to get on the device and figure out what's going on. I need to attach strace to some daemons to see what they are doing. Maybe tomorrow...
The Following 3 Users Say Thank You to modpunk For This Useful Post: [ View ] Gift modpunk Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes