• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Boost Mobile] Hroark's Warp Kernel Source

ok CM7 would not boot with a zImage that only had those few patch files, it is strange that Stock ROM did

I made another zImage that has those patch files and more of the Blade Plus files (most of them) and it did boot

and handset audio is working, I guess I should have been doing some testing with CM7 too, but I wanted to make sure kernel works on stock ROM

I am using a different ramdisk for CM7, so I am gonna try that ramdisk on stock


and I will also try using some of my CM7 audio libs on stock ROM too
 
oh.. lol. Well I can definitely tell you guys will most certainly get there. I'm sorry that I'm being of no use.. This kind of stuff is way over my head. I'd better stick to the less complex stuff :p

Though one day I'll get there.. Hopefully :D
 
i noticed another thing

i have been browsing the directory structure in adb shell


and one thing that stands out to me is in

sys/devices/platform

when using stock zImage you have a bunch of devices in that folder

the zImages I have complied with both sources have the same devices except two

snddev_icodec.12


and

snddev_icodec.29




.
 
Nothing inside the qdsp5 folder is being built from what it looks like would that have anything to do with the handset audio?
 
so we are using marimba sound and those two devices are

snddev_icodec.12 msm_idual_mic_endfire_device
snddev_icodec.29 msm_ihac_rx_device

here are the rest of the devices in marimba that we have / use

snddev_icodec.0 msm_iearpiece_device
snddev_icodec.1 msm_imic_device
snddev_icodec.10 msm_ifmradio_headset_device
snddev_icodec.16 msm_itty_hs_mono_tx_device
snddev_icodec.17 msm_itty_hs_mono_rx_device
snddev_icodec.18 msm_ispeaker_tx_device
snddev_icodec.2 msm_ihs_stereo_rx_device
snddev_icodec.21 msm_ihs_stereo_speaker_stereo_rx_device
snddev_icodec.27 msm_fm_headset_stereo_rx_device
snddev_icodec.28 msm_fm_headset_stereo_tx_device
snddev_icodec.3 msm_ihs_mono_rx_device
snddev_icodec.30 msm_ispeaker_aux_tx_device
snddev_icodec.6 msm_ihs_mono_tx_device
snddev_icodec.7 msm_ifmradio_handset_device
snddev_icodec.8 msm_ispeaker_rx_device
snddev_icodec.9 msm_ifmradio_speaker_device
snddev_mi2s.0 msm_snddev_mi2s_stereo_rx_device
snddev_mi2s.1 msm_snddev_mi2s_fm_tx_device
snddev_virtual.0 msm_a2dp_rx_device
snddev_virtual.1 msm_a2dp_tx_device
snddev_virtual.2 msm_uplink_rx_device








.
 
Nothing inside the qdsp5 folder is being built from what it looks like would that have anything to do with the handset audio?


i think there is only one filed called in any of the the qdsp5 folders and it is for the event log or something

other than that all the audio related stuff that gets called (that i know of)

are in

arch/arm/mach-msm/qdsp5v2
arch/arm/mach-msm/include/mach/qdsp5v2
include/linux/msm-audio*
sound/soc/msm

and we are using Marimba
 
calls for both those devices are in snddev_data_marimba.c

I ran a log cat

D/OtaUtils( 504): CdmaOtaInCallScreenState: constructor init to UNDEFINED
E/AudioHardwareMSM7X30( 111): setParameters() HACSetting=OFF

Code:
E/AudioHardwareMSM7X30(  111): [YXS]failed to open '/proc/hs'
D/AudioHardwareMSM7X30(  111): msm_mixer_count:mixer_cnt =33
E/AudioHardwareMSM7X30(  111): index = 0
E/AudioHardwareMSM7X30(  111): Found device: handset_rx:index = 0,dev_id: 0
E/AudioHardwareMSM7X30(  111): class ID = 0,capablity = 5 for device 0
E/AudioHardwareMSM7X30(  111): index = 1
E/AudioHardwareMSM7X30(  111): Found device: handset_tx:index = 1,dev_id: 1
E/AudioHardwareMSM7X30(  111): class ID = 0,capablity = 6 for device 1
E/AudioHardwareMSM7X30(  111): index = 4
E/AudioHardwareMSM7X30(  111): Found device: headset_stereo_rx:index = 4,dev_id: 2
E/AudioHardwareMSM7X30(  111): class ID = 0,capablity = 5 for device 2
E/AudioHardwareMSM7X30(  111): index = 5
E/AudioHardwareMSM7X30(  111): Found device: headset_mono_tx:index = 5,dev_id: 4
E/AudioHardwareMSM7X30(  111): class ID = 0,capablity = 6 for device 4
E/AudioHardwareMSM7X30(  111): index = 17
E/AudioHardwareMSM7X30(  111): Found device: bt_sco_rx:index = 17,dev_id: 5
E/AudioHardwareMSM7X30(  111): class ID = 1,capablity = 5 for device 5
E/AudioHardwareMSM7X30(  111): index = 18
E/AudioHardwareMSM7X30(  111): Found device: bt_sco_tx:index = 18,dev_id: 6
E/AudioHardwareMSM7X30(  111): class ID = 1,capablity = 6 for device 6
E/AudioHardwareMSM7X30(  111): index = 6
E/AudioHardwareMSM7X30(  111): Found device: fmradio_handset_rx:index = 6,dev_id: 7
E/AudioHardwareMSM7X30(  111): class ID = 0,capablity = 17 for device 7
E/AudioHardwareMSM7X30(  111): index = 2
E/AudioHardwareMSM7X30(  111): Found device: speaker_stereo_rx:index = 2,dev_id: 8
E/AudioHardwareMSM7X30(  111): class ID = 0,capablity = 5 for device 8
E/AudioHardwareMSM7X30(  111): index = 8
E/AudioHardwareMSM7X30(  111): Found device: fmradio_speaker_rx:index = 8,dev_id: 9
E/AudioHardwareMSM7X30(  111): class ID = 0,capablity = 17 for device 9
E/AudioHardwareMSM7X30(  111): index = 7
E/AudioHardwareMSM7X30(  111): Found device: fmradio_headset_rx:index = 7,dev_id: 10
E/AudioHardwareMSM7X30(  111): class ID = 0,capablity = 17 for device 10
E/AudioHardwareMSM7X30(  111): index = 12
E/AudioHardwareMSM7X30(  111): Found device: tty_headset_mono_tx:index = 12,dev_id: 11
E/AudioHardwareMSM7X30(  111): class ID = 0,capablity = 38 for device 11
E/AudioHardwareMSM7X30(  111): index = 11
E/AudioHardwareMSM7X30(  111): Found device: tty_headset_mono_rx:index = 11,dev_id: 12
E/AudioHardwareMSM7X30(  111): class ID = 0,capablity = 37 for device 12
E/AudioHardwareMSM7X30(  111): index = 3
E/AudioHardwareMSM7X30(  111): Found device: speaker_mono_tx:index = 3,dev_id: 13
E/AudioHardwareMSM7X30(  111): class ID = 0,capablity = 6 for device 13
E/AudioHardwareMSM7X30(  111): index = 13
E/AudioHardwareMSM7X30(  111): Found device: headset_stereo_speaker_stereo_rx:index = 13,dev_id: 14
E/AudioHardwareMSM7X30(  111): class ID = 0,capablity = 5 for device 14
E/AudioHardwareMSM7X30(  111): index = 15
E/AudioHardwareMSM7X30(  111): Found device: hdmi_stereo_rx:index = 15,dev_id: 17
E/AudioHardwareMSM7X30(  111): class ID = 3,capablity = 1 for device 17
E/AudioHardwareMSM7X30(  111): index = 14
E/AudioHardwareMSM7X30(  111): Found device: fmradio_stereo_tx:index = 14,dev_id: 18
E/AudioHardwareMSM7X30(  111): class ID = 2,capablity = 2 for device 18
I/QualcommCameraHardware(  111): getCameraInfo: IN
I/QualcommCameraHardware(  111): getCameraInfo: loading libqcamera at 0xb000dfd0
E/mm-camera(  111): mm_camera_get_camera_info: controlfd is invalid No such file or directory
I/QualcommCameraHardware(  111): getCameraInfo: numOfCameras = 0
I/QualcommCameraHardware(  111): getCameraInfo: OUT
E/AudioHardwareMSM7X30(  111): AudioStreamOutMSM72xx::setParameters() routing=2
E/AudioHardwareMSM7X30(  111): set output routing 2
E/AudioHardwareMSM7X30(  111): doAudioRouteOrMute() device 1, mMode 0, mMicMute 1
E/AudioHardwareMSM7X30(  111): do_route_audio_rpc(1, 1, 1)
D/AudioHardwareMSM7X30(  111): new_rx_device = 2, DEV_ID(new_rx_device)=8
D/AudioHardwareMSM7X30(  111): new_tx_device = 3, DEV_ID(new_tx_device)=13
D/AudioHardwareMSM7X30(  111): updateDeviceInfo: E rx_device 2 and tx_device 3
D/AudioHardwareMSM7X30(  111): No active voicecall/playback, disabling cur_rx 65535
D/AudioHardwareMSM7X30(  111): No active voicecall/recording, disabling cur_tx 65535
E/AudioHardwareMSM7X30(  111): There is no node in the routing table!
D/AudioHardwareMSM7X30(  111): updateDeviceInfo: X cur_rx 2 cur_tx 3
D/AudioHardwareMSM7X30(  111): AudioStreamOutMSM72xx::standby()
D/AudioHardwareMSM7X30(  111): setVoiceVolume(1.000000)
E/AudioHardwareMSM7X30(  111): msm_set_voice_rx_vol(100) failed errno = 1
I/SamplingProfilerIntegration(  110): Profiler is disabled.
 
yes but looking just at that file will not help

you must consider all files that are in the include section at the top

It could be the profile for this phone, honestly..... but im not sure

#include <mach/qdsp5v2/marimba_profile.h>

Considering it works with CM7 im not sure what to think anymore lol, seems kinda bass ackwards
 
get out of my head

Lmao, I've heard that all my life so i use it from time to time, i swear i wont climb in there again! Its to bright and happy in there for me lol

Anyways i tried adding libaudio.so and a few other audio libraries to the stock rom but it just screws everything up it seems
 
I just reviewed some of my posts in this thread and realized that I have broken almost every rule that I have made in the OP

If you can guess which two rules I have not broken, you can win 5 "hroark dollars" Redeemable at any local Circuit City

the answer must be given within the next 5 posts
 
This thread is not about ZTE's broken source code that they did release

Please lets keep this thread clean, and keep it on topic, so that others will want to read it and learn

Thats all i can find really


if you look on page two you will see that I started working with ZTE's Warp source again and made a patch

and on my last post I started a contest


and your just jealous because I have 11 toes

.
 
and your just jealous because I have 11 toes

Seriously? lol i have one kidney... no joke

You think you could use this source to start work on CM9? see if maybe audio works on there. it would be nice to have it fully working on stock but I'm not to concerned with ZTE's shoddy job they call android. you can't even play games on it really without an FC or close to home, heck even a reboot from time to time
 
right now would be a good time for me to post something silly on my Face Book page

but I have been banned from Face Book for stalking
 
right now would be a good time for me to post something silly on my Face Book page

but I have been banned from Face Book for stalking

when you see beyond your self, you may find peace of mind waiting there

and the time will come, when you see where all one, and life flows on with or without you
 
when you see beyond your self, you may find peace of mind waiting there

and the time will come, when you see where all one, and life flows on with or without you

someone is getting tired, oh i used the egl libs from your cm7 i think it stabilized the phone a bit more on stock
 
holy wow, you guys are making alot of progress on the kernel...keep up the good work, also, you didnt keep the thread on topic.. lol wheres my 5 hroark dollars! hahahaha

[EDIT]

i guess i just broke 2 of the rules lmao
 
you didnt keep the thread on topic.. lol wheres my 5 hroark dollars! hahahaha

you were suppose to give the answer within the next five posts

man, I have a pretty bad hang over today

I am pretty annoying when I drink, so sorry about all the silly posts from last night everyone, especially shinru2004, I hope I did not annoy you

I think we are getting closer with this kernel

I want to be able to produce a kernel that has all the devices in that folder the same way the stock kernel does


that hac device looks like it may be the culprit

I am hoping this is done by the end of the weekend, because I am starting to get tired of looking at kernel source code






'
 
Back
Top Bottom