Jump to content


Photo

[androidarmv6] [4.2] ColdFusionX 3 [CM10.1] [Updated - 12/04]

* * * * * 8 votes

  • Please log in to reply
1128 replies to this topic

#921
eloimuns

eloimuns

    Regular

  • Members
  • PipPip
  • 132 posts
  • Gender:Male
  • Devices:Huawei Ascend G510
Hi lalit, well, when i compiling using the last repos of androidarmv6, error in Hardware/libhardware legacy in the file AndroidPolicymanager base and the compilation stop. In the line 2337.

  • 0

#922
sasa_gm

sasa_gm

    Regular

  • Members
  • PipPip
  • 110 posts
  • Devices:Zte Skate

Hey all,

I've been incredible busy over the past few weeks but I see C3C0 has kept everyone satisfied with PA/RootBox :P.

I have built a new build but just havent had time to upload it. Hopefully I get some time soon but of course no promises.

AFAIK the new ROM should update to latest CM as well as having FM radio.


Does it include new ceco's kernel that fixes some graphical glitches?

  • 0

#923
Mohamed Atiea

Mohamed Atiea

    Enthusiast

  • Members
  • PipPipPip
  • 151 posts
@Tilal, I am trying to compile the latest code but I am getting the following error, I've compiled it successfully on 07-March and It was a nice build by the way :) (except some times status bar dose not respond when I try to expand it)
device/zte/msm7x27-common/libaudio/AudioHardware.cpp: In function 'int android_audio_legacy::msm72xx_enable_postproc(bool)':
device/zte/msm7x27-common/libaudio/AudioHardware.cpp:904:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/zte/msm7x27-common/libaudio/AudioHardware.cpp:909:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/zte/msm7x27-common/libaudio/AudioHardware.cpp:914:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/zte/msm7x27-common/libaudio/AudioHardware.cpp: In member function 'virtual android::status_t android_audio_legacy::AudioHardware::setVoiceVolume(float)':
device/zte/msm7x27-common/libaudio/AudioHardware.cpp:1120:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/zte/msm7x27-common/libaudio/AudioHardware.cpp:1120:98: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/zte/msm7x27-common/libaudio/AudioHardware.cpp: In member function 'android::status_t android_audio_legacy::AudioHardware::doRouting(android_audio_legacy::AudioHardware::AudioStreamInMSM72xx*)':
device/zte/msm7x27-common/libaudio/AudioHardware.cpp:1358:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/zte/msm7x27-common/libaudio/AudioHardware.cpp:1361:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/zte/msm7x27-common/libaudio/AudioHardware.cpp: In member function 'virtual ssize_t android_audio_legacy::AudioHardware::AudioStreamInMSM72xx::read(void*, ssize_t)':
device/zte/msm7x27-common/libaudio/AudioHardware.cpp:2077:10: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t {aka long int}' [-Wformat]
hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:2737:1: error: too many initializers for 'const android_audio_legacy::AudioPolicyManagerBase::VolumeCurvePoint* [10][3]'
make: *** [/media/mohamed/android/androidarmv6/out/target/product/skate/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/AudioPolicyManagerBase.o] Error 1
make: *** Waiting for unfinished jobs....

  • 0

#924
eloimuns

eloimuns

    Regular

  • Members
  • PipPip
  • 132 posts
  • Gender:Male
  • Devices:Huawei Ascend G510
Mohamed, can you try to delete these lines of hardware/libhardware_legacy/audio/audio/AudioPolicyManagerBase.cpp

#ifdef QCOM_FM_ENABLED																										
{ // AUDIO_STREAM_FM																										
	 sDefaultMediaVolumeCurve, // DEVICE_CATEGORY_HEADSET																										
	 sSpeakerMediaVolumeCurve, // DEVICE_CATEGORY_SPEAKER																									
	 sDefaultMediaVolumeCurve // DEVICE_CATEGORY_EARPIECE																										
},																									
#endif

or use this of my github:
https://github.com/C...hardware_legacy

I dont test it !!!

Edited by eloimuns, 12 March 2013 - 11:14 AM.

  • 0

#925
Mohamed Atiea

Mohamed Atiea

    Enthusiast

  • Members
  • PipPipPip
  • 151 posts

Mohamed, can you try to delete these lines of hardware/libhardware_legacy/audio/audio/AudioPolicyManagerBase.cpp

#ifdef QCOM_FM_ENABLED																										
{ // AUDIO_STREAM_FM																										
	 sDefaultMediaVolumeCurve, // DEVICE_CATEGORY_HEADSET																										
	 sSpeakerMediaVolumeCurve, // DEVICE_CATEGORY_SPEAKER																									
	 sDefaultMediaVolumeCurve // DEVICE_CATEGORY_EARPIECE																										
},																									
#endif

or use this of my github:
https://github.com/C...hardware_legacy

I dont test it !!!


Thanks a lot eloimuns it is compiling now, it didnt finish but I think it passed this erro, I'll let you know when it finish.

Edit: It is working fine now, the build is compiled

Edited by Mohamed Atiea, 12 March 2013 - 01:10 PM.

  • 1

#926
Mohamed Atiea

Mohamed Atiea

    Enthusiast

  • Members
  • PipPipPip
  • 151 posts
After flashing the lates build, I got a bootloop (log attached).

I/ServiceManager( 99): service 'media.audio_flinger' died
I/ServiceManager( 99): service 'media.player' died
I/ServiceManager( 99): service 'media.camera' died
I/ServiceManager( 435): Waiting for service media.audio_policy...
I/ServiceManager( 435): Waiting for service media.audio_policy...
W/AudioSystem( 435): AudioPolicyService not published, waiting...
I/ServiceManager( 435): Waiting for service media.audio_policy...

Attached Files


Edited by Mohamed Atiea, 12 March 2013 - 02:10 PM.

  • 0

#927
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate

After flashing the lates build, I got a bootloop (log attached).

I/ServiceManager( 99): service 'media.audio_flinger' died
I/ServiceManager( 99): service 'media.player' died
I/ServiceManager( 99): service 'media.camera' died
I/ServiceManager( 435): Waiting for service media.audio_policy...
I/ServiceManager( 435): Waiting for service media.audio_policy...
W/AudioSystem( 435): AudioPolicyService not published, waiting...
I/ServiceManager( 435): Waiting for service media.audio_policy...


It looks like it's a result of moving them lines.


I/DEBUG   (  102): 

I/DEBUG   (  102): stack:

I/DEBUG   (  102):          bed2b980  bed2b9ac  [stack]

I/DEBUG   (  102):          bed2b984  000118a8  [heap]

I/DEBUG   (  102):          bed2b988  00010430  [heap]

I/DEBUG   (  102):          bed2b98c  0001042c  [heap]

I/DEBUG   (  102):          bed2b990  00000000  

I/DEBUG   (  102):          bed2b994  400622af  /system/lib/libaudioflinger.so

I/DEBUG   (  102):          bed2b998  00000000  

I/DEBUG   (  102):          bed2b99c  40063361  /system/lib/libaudioflinger.so (android::AudioPolicyService::AudioCommandThread::volumeCommand(audio_stream_type_t, float, int, int)+106)

I/DEBUG   (  102):          bed2b9a0  00000000  

I/DEBUG   (  102):          bed2b9a4  00000008  

I/DEBUG   (  102):          bed2b9a8  000114b8  [heap]

I/DEBUG   (  102):          bed2b9ac  bed2b9d0  [stack]

I/DEBUG   (  102):          bed2b9b0  000105f8  [heap]

I/DEBUG   (  102):          bed2b9b4  40c97203  /system/lib/hw/audio_policy.msm7x27.so (android_audio_legacy::AudioPolicyManagerBase::getDeviceCategory(unsigned int)+6)

I/DEBUG   (  102):          bed2b9b8  df0027ad  

I/DEBUG   (  102):          bed2b9bc  00000000  

I/DEBUG   (  102):     #00  bed2b9c0  00000002  

I/DEBUG   (  102):          bed2b9c4  00000000  

I/DEBUG   (  102):          bed2b9c8  00000000  

I/DEBUG   (  102):          bed2b9cc  000105f8  [heap]

I/DEBUG   (  102):          bed2b9d0  00000002  

I/DEBUG   (  102):          bed2b9d4  00000000  

I/DEBUG   (  102):          bed2b9d8  0000000a  

I/DEBUG   (  102):          bed2b9dc  40c98d6d  /system/lib/hw/audio_policy.msm7x27.so (android_audio_legacy::AudioPolicyManagerBase::computeVolume(int, int, int, unsigned int)+100)

I/DEBUG   (  102):     #01  bed2b9e0  000105f8  [heap]

I/DEBUG   (  102):          bed2b9e4  0000000a  

I/DEBUG   (  102):          bed2b9e8  00010824  [heap]

I/DEBUG   (  102):          bed2b9ec  00000002  

I/DEBUG   (  102):          bed2b9f0  00010604  [heap]

I/DEBUG   (  102):          bed2b9f4  40c98d09  /system/lib/hw/audio_policy.msm7x27.so (android_audio_legacy::AudioPolicyManagerBase::computeVolume(int, int, int, unsigned int))

I/DEBUG   (  102):          bed2b9f8  000105f8  [heap]

I/DEBUG   (  102):          bed2b9fc  0000000a  

I/DEBUG   (  102):          bed2ba00  00000002  

I/DEBUG   (  102):          bed2ba04  40c96b49  /system/lib/hw/audio_policy.msm7x27.so (android_audio_legacy::AudioPolicyManagerBase::checkAndSetVolume(int, int, int, unsigned int, int, bool)+92)

I/DEBUG   (  102):     #02  bed2ba08  00000002  

I/DEBUG   (  102):          bed2ba0c  4015f77f  /system/lib/libutils.so (android::SortedVectorImpl::indexOf(void const*) const+8)

I/DEBUG   (  102):          bed2ba10  00000001  

I/DEBUG   (  102):          bed2ba14  00010604  [heap]

I/DEBUG   (  102):          bed2ba18  00000000  

I/DEBUG   (  102):          bed2ba1c  00000000  

I/DEBUG   (  102):          bed2ba20  40000000  /system/bin/linker

I/DEBUG   (  102):          bed2ba24  000105f8  [heap]

I/DEBUG   (  102):          bed2ba28  0000000b  

I/DEBUG   (  102):          bed2ba2c  00000002  

I/DEBUG   (  102):          bed2ba30  40c96aed  /system/lib/hw/audio_policy.msm7x27.so (android_audio_legacy::AudioPolicyManagerBase::checkAndSetVolume(int, int, int, unsigned int, int, bool))

I/DEBUG   (  102):          bed2ba34  40c98a1b  /system/lib/hw/audio_policy.msm7x27.so (android_audio_legacy::AudioPolicyManagerBase::applyStreamVolumes(int, unsigned int, int, bool)+62)

Edited by razzmataz1478, 12 March 2013 - 04:33 PM.

  • 0

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#928
eloimuns

eloimuns

    Regular

  • Members
  • PipPip
  • 132 posts
  • Gender:Male
  • Devices:Huawei Ascend G510
What do you do? use my git or modificate¿

  • 0

#929
tilal6991

tilal6991

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,781 posts
  • Gender:Male
  • Devices:ZTE Skate, Huawei U8150
I stopped using androidarmv6 sources temporarily. Using KonstaT legacymod sources until I can fix them properly.

  • 3
If you like my work or if I helped, click the Plus button.

#930
Mohamed Atiea

Mohamed Atiea

    Enthusiast

  • Members
  • PipPipPip
  • 151 posts

What do you do? use my git or modificate¿

I removed the code you've highlighted

  • 0

#931
Mohamed Atiea

Mohamed Atiea

    Enthusiast

  • Members
  • PipPipPip
  • 151 posts

It looks like it's a result of moving them lines.


I/DEBUG ( 102):

I/DEBUG ( 102): stack:

I/DEBUG ( 102): bed2b980 bed2b9ac [stack]

I/DEBUG ( 102): bed2b984 000118a8 [heap]

I/DEBUG ( 102): bed2b988 00010430 [heap]

I/DEBUG ( 102): bed2b98c 0001042c [heap]

I/DEBUG ( 102): bed2b990 00000000

I/DEBUG ( 102): bed2b994 400622af /system/lib/libaudioflinger.so

I/DEBUG ( 102): bed2b998 00000000

I/DEBUG ( 102): bed2b99c 40063361 /system/lib/libaudioflinger.so (android::AudioPolicyService::AudioCommandThread::volumeCommand(audio_stream_type_t, float, int, int)+106)

I/DEBUG ( 102): bed2b9a0 00000000

I/DEBUG ( 102): bed2b9a4 00000008

I/DEBUG ( 102): bed2b9a8 000114b8 [heap]

I/DEBUG ( 102): bed2b9ac bed2b9d0 [stack]

I/DEBUG ( 102): bed2b9b0 000105f8 [heap]

I/DEBUG ( 102): bed2b9b4 40c97203 /system/lib/hw/audio_policy.msm7x27.so (android_audio_legacy::AudioPolicyManagerBase::getDeviceCategory(unsigned int)+6)

I/DEBUG ( 102): bed2b9b8 df0027ad

I/DEBUG ( 102): bed2b9bc 00000000

I/DEBUG ( 102): #00 bed2b9c0 00000002

I/DEBUG ( 102): bed2b9c4 00000000

I/DEBUG ( 102): bed2b9c8 00000000

I/DEBUG ( 102): bed2b9cc 000105f8 [heap]

I/DEBUG ( 102): bed2b9d0 00000002

I/DEBUG ( 102): bed2b9d4 00000000

I/DEBUG ( 102): bed2b9d8 0000000a

I/DEBUG ( 102): bed2b9dc 40c98d6d /system/lib/hw/audio_policy.msm7x27.so (android_audio_legacy::AudioPolicyManagerBase::computeVolume(int, int, int, unsigned int)+100)

I/DEBUG ( 102): #01 bed2b9e0 000105f8 [heap]

I/DEBUG ( 102): bed2b9e4 0000000a

I/DEBUG ( 102): bed2b9e8 00010824 [heap]

I/DEBUG ( 102): bed2b9ec 00000002

I/DEBUG ( 102): bed2b9f0 00010604 [heap]

I/DEBUG ( 102): bed2b9f4 40c98d09 /system/lib/hw/audio_policy.msm7x27.so (android_audio_legacy::AudioPolicyManagerBase::computeVolume(int, int, int, unsigned int))

I/DEBUG ( 102): bed2b9f8 000105f8 [heap]

I/DEBUG ( 102): bed2b9fc 0000000a

I/DEBUG ( 102): bed2ba00 00000002

I/DEBUG ( 102): bed2ba04 40c96b49 /system/lib/hw/audio_policy.msm7x27.so (android_audio_legacy::AudioPolicyManagerBase::checkAndSetVolume(int, int, int, unsigned int, int, bool)+92)

I/DEBUG ( 102): #02 bed2ba08 00000002

I/DEBUG ( 102): bed2ba0c 4015f77f /system/lib/libutils.so (android::SortedVectorImpl::indexOf(void const*) const+8)

I/DEBUG ( 102): bed2ba10 00000001

I/DEBUG ( 102): bed2ba14 00010604 [heap]

I/DEBUG ( 102): bed2ba18 00000000

I/DEBUG ( 102): bed2ba1c 00000000

I/DEBUG ( 102): bed2ba20 40000000 /system/bin/linker

I/DEBUG ( 102): bed2ba24 000105f8 [heap]

I/DEBUG ( 102): bed2ba28 0000000b

I/DEBUG ( 102): bed2ba2c 00000002

I/DEBUG ( 102): bed2ba30 40c96aed /system/lib/hw/audio_policy.msm7x27.so (android_audio_legacy::AudioPolicyManagerBase::checkAndSetVolume(int, int, int, unsigned int, int, bool))

I/DEBUG ( 102): bed2ba34 40c98a1b /system/lib/hw/audio_policy.msm7x27.so (android_audio_legacy::AudioPolicyManagerBase::applyStreamVolumes(int, unsigned int, int, bool)+62)

What do you mean?

  • 0

#932
razzmataz1478

razzmataz1478

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,215 posts
  • Gender:Male
  • Location:HULL
  • Interests:Flashing ROMs, Being distracted by my skate
  • Devices:ZTE Skate
Well, it looks like taking these lines out has caused audio_policy.so to fail/cause memory errors


#ifdef QCOM_FM_ENABLED
{ // AUDIO_STREAM_FM
sDefaultMediaVolumeCurve, // DEVICE_CATEGORY_HEADSET
sSpeakerMediaVolumeCurve, // DEVICE_CATEGORY_SPEAKER
sDefaultMediaVolumeCurve // DEVICE_CATEGORY_EARPIECE
},
#endif

  • 0

Posted Image

Current Phone:

Xperia T


Previous Phones:

Orange Monte Carlo

Nokia 5530 XpressMusic (Nokia C6-00 CFW)

Sony Ericsson v640i

Nokia 3120

Various other Nokia phones.

Not the best history of phones Posted Image


#933
Mohamed Atiea

Mohamed Atiea

    Enthusiast

  • Members
  • PipPipPip
  • 151 posts

Well, it looks like taking these lines out has caused audio_policy.so to fail/cause memory errors


#ifdef QCOM_FM_ENABLED
{ // AUDIO_STREAM_FM
sDefaultMediaVolumeCurve, // DEVICE_CATEGORY_HEADSET
sSpeakerMediaVolumeCurve, // DEVICE_CATEGORY_SPEAKER
sDefaultMediaVolumeCurve // DEVICE_CATEGORY_EARPIECE
},
#endif

But leaving them wont compile the rom

  • 0

#934
Wacky.ddw

Wacky.ddw

    Addict

  • Members
  • PipPipPipPipPip
  • 866 posts
  • Gender:Male
  • Location:Sint-Niklaas (Belgium)
  • Devices:None :(
Cant wait for the new build of this ROM!

  • 0

>>>> [FAQ] Rooting for beginners <<<<

Tutorial on installing installing Superboot and Clockworkmod.

Changing bootscreen, how to unbrick and more.

[UPDATED 26-02-2012]



#935
eloimuns

eloimuns

    Regular

  • Members
  • PipPip
  • 132 posts
  • Gender:Male
  • Devices:Huawei Ascend G510

I removed the code you've highlighted


Put this github in local_manifest.xml
https://github.com/l...hardware_legacy

This libhardware, dont have errors
It's from Konstat Repos

  • 0

#936
Mohamed Atiea

Mohamed Atiea

    Enthusiast

  • Members
  • PipPipPip
  • 151 posts

Put this github in local_manifest.xml
https://github.com/l...hardware_legacy

This libhardware, dont have errors
It's from Konstat Repos

I've applied your code and commented codes in 3 extra files in zte common, and it passed this error but it is compaining about telephony package (missing java package)

  • 0

#937
eloimuns

eloimuns

    Regular

  • Members
  • PipPip
  • 132 posts
  • Gender:Male
  • Devices:Huawei Ascend G510
delete folder from hardware/libharware_legacy and download ths zip and extract in the same rute:
https://github.com/l...ive/cm-10.1.zip

  • 0

#938
Mohamed Atiea

Mohamed Atiea

    Enthusiast

  • Members
  • PipPipPip
  • 151 posts

delete folder from hardware/libharware_legacy and download ths zip and extract in the same rute:
https://github.com/l...ive/cm-10.1.zip

Yes I did this before but actually you have to remove the code from another 4 files in the following path device_zte_msm7x27-common\libaudio (attached) Now it is working fine and the rom is runing but FM is broken, I'll have a look at it., Thanks for you support.

Attached Files


  • 0

#939
Mohamed Atiea

Mohamed Atiea

    Enthusiast

  • Members
  • PipPipPip
  • 151 posts

Yes I did this before but actually you have to remove the code from another 4 files in the following path device_zte_msm7x27-common\libaudio (attached) Now it is working fine and the rom is runing but FM is broken, I'll have a look at it., Thanks for you support.

@eloimuns, @tilal I was able to compile the commited code without the "to many initializers for constant" error I was searching about it and I've found someone who complained about the same issue and xda memeber "Quarx" directed him to stream FM commit in system includes so I found the line of code familiar - I usually review commits - but I didn't find it in our local repositories even after a fresh sync,
The error was caused by a commit https://github.com/a...9f601a4440af565 to a different tag version (cm9) which messed our repos
I've compiled the code without removing anyting just add the change below to my repo, however I still cannot get FM to work, may be I'll have a look later.

  • 0

#940
Wacky.ddw

Wacky.ddw

    Addict

  • Members
  • PipPipPipPipPip
  • 866 posts
  • Gender:Male
  • Location:Sint-Niklaas (Belgium)
  • Devices:None :(
i have a bug in the 06/01 build that i cant send a message to multiple contacts first says converting to mms then ik keeps saying sending :)

i can wait till the new release! any idea when the release date might be?

Edited by Wacky.ddw, 16 March 2013 - 06:06 PM.

  • 0

>>>> [FAQ] Rooting for beginners <<<<

Tutorial on installing installing Superboot and Clockworkmod.

Changing bootscreen, how to unbrick and more.

[UPDATED 26-02-2012]






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users