Audio [Q] Debricked Samsung Galaxy S3 (ATT) - No Sound (Debrick Image) Advanced Topic

Hello All,

About a year ago, I HARD bricked my AT&T Samsung Galaxy S3 (SGH-i747), trying to root it. In short, I recovered partial functionality with a debrick image. There's no sound. The details follow:

After bricking the device, I uploaded the culprits - was attempting to use Chainfire - I probably missed some crucial detail in the process:

CF-Root-SGS3-v6.1.zip
Odin307.zip
SuperSU_Bootloader_FIXED.zip (this may have been the big mistake)

After flashing CF-Root via Odin, she was a gonner.

Using a Debrick Image, I got a full boot (with the exception of sound). I attempted to flash a ClockWorkMod recovery. This failed. TWRP, on the other hand, worked like a charm. Bootloader mode allowed Odin to connect, but writing images failed.

Once I was able to boot into Recovery without the help of a Debrick Image, I looked for a Stock Rom. But, I couldn't find one that wasn't modded. Very optimistic about the recovery, I flashed SlimKat (4.4.4), with GApps (4.4.x) instead. This worked, with the exception of sound.

I gave up on gaining sound, just happy that I had a tablet with no sound.

More recently, I flashed Dirty Unicorns (4.3.1), with gave me ROOT access. Still there was no sound. And, Dirty Unicorns had a habit of spontaneously rebooting.

So, I thought, what the heck, why not try Hyperdrive ROM, RLS16 (4.1.2). Still there was no sound.

Brief recap:
Hard brick
Debrick image (no sound)
TWRP
SlimKat (4.4.4) via Zip File in TWRP (no sound)
Dirty Unicorns (4.3.1) - ROOT gained (no sound)
Hyperdrive RLS16 (4.1.2) - requires ROOT (no sound)

Current Phone Information from Settings Menu:

Rom Name: Hyperdrive RLS16 (4.1.2)
Kernel version, settings: 3.0.31 - 1300972 se.infra@S0210-9#2 SMP PREEMPT MON JUL 8 19:30:05 KST 2013
Baseband version: Unknown
Build Number: JZ054K.1747VRBMB1
Hardware version: (blank)

Using my background in Ubuntu, I obtained a little info
From dmesg
Code:
<3>[  457.790233] LOAD IMAGE q6, ret -5
<7>[  457.795574] load_image: load q6.mdt image
<3>[  457.804944] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  457.810437] LOAD IMAGE q6, ret -5
<7>[  457.814283] load_image: load q6.mdt image
<3>[  457.820692] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  457.825698] LOAD IMAGE q6, ret -5
<7>[  457.829146] load_image: load q6.mdt image
<3>[  457.835312] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  457.840408] LOAD IMAGE q6, ret -5
<7>[  457.845322] load_image: load q6.mdt image
<3>[  457.851823] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  457.856248] LOAD IMAGE q6, ret -5
<7>[  457.860613] load_image: load q6.mdt image
<3>[  457.866168] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  457.866229] LOAD IMAGE q6, ret -5
<7>[  458.100381] load_image: load q6.mdt image
<3>[  458.103830] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  458.108316] LOAD IMAGE q6, ret -5
<5>[  458.264123] mms_ts 3-0048: finger [0] down
<7>[  458.275110] tspdrv: ImmVibeSPI_ForceOut_AmpEnable
<6>[  458.277460] [TSP] DVFS On!
<5>[  458.307401] mms_ts 3-0048: finger [0] up
<7>[  458.310239] tspdrv: ImmVibeSPI_ForceOut_AmpDisable
<6>[  458.405951] [TSP] DVFS Off!
<7>[  459.112040] load_image: load q6.mdt image
<3>[  459.114848] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  459.119334] LOAD IMAGE q6, ret -5
<7>[  459.153670] load_image: load q6.mdt image
<3>[  459.161178] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  459.165542] LOAD IMAGE q6, ret -5
<6>[  459.322691] Sensors unset: 7fff
<6>[  459.325896] TIMERIRQ_START : period=20
<6>[  459.326171] Sensors set: 70
<6>[  459.329375] <6>MPL-accmpu6050_set_odr:19
<6>[  459.329558] <6>MPL-accODR : 50000 (19)mHz
<5>[  459.832504] mms_ts 3-0048: finger [0] down
<6>[  459.842850] [TSP] DVFS On!
<7>[  459.843155] tspdrv: ImmVibeSPI_ForceOut_AmpEnable
<7>[  459.863268] tspdrv: ImmVibeSPI_ForceOut_AmpDisable
<5>[  459.887105] mms_ts 3-0048: finger [0] up
<6>[  459.888753] !@[updateGrid]isGridInvalidated.get() = true
<6>[  459.985899] [TSP] DVFS Off!
<7>[  460.170547] load_image: load q6.mdt image
<3>[  460.175431] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  460.180283] LOAD IMAGE q6, ret -5
<5>[  460.314909] mms_ts 3-0048: finger [0] down
<6>[  460.325194] [TSP] DVFS On!
<7>[  460.326079] tspdrv: ImmVibeSPI_ForceOut_AmpEnable
<7>[  460.346650] tspdrv: ImmVibeSPI_ForceOut_AmpDisable
<5>[  460.368563] mms_ts 3-0048: finger [0] up
<6>[  460.371097] !@[updateGrid]isGridInvalidated.get() = true
<6>[  460.465832] [TSP] DVFS Off!
<5>[  461.045200] mms_ts 3-0048: finger [0] down
<7>[  461.054967] tspdrv: ImmVibeSPI_ForceOut_AmpEnable
<6>[  461.055363] [TSP] DVFS On!
<5>[  461.077399] mms_ts 3-0048: finger [0] up
<7>[  461.090157] tspdrv: ImmVibeSPI_ForceOut_AmpDisable
<6>[  461.175858] [TSP] DVFS Off!
<7>[  461.184739] load_image: load q6.mdt image
<3>[  461.187425] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  461.187456] LOAD IMAGE q6, ret -5
<7>[  461.258507] load_image: load q6.mdt image
<3>[  461.261773] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  461.266259] LOAD IMAGE q6, ret -5
<7>[  461.270593] load_image: load q6.mdt image
<3>[  461.273309] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  461.279108] LOAD IMAGE q6, ret -5
<7>[  461.283503] load_image: load q6.mdt image
<3>[  461.288295] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  461.293453] LOAD IMAGE q6, ret -5
<7>[  461.867449] load_image: load q6.mdt image
<3>[  461.872363] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  461.877094] LOAD IMAGE q6, ret -5
<7>[  461.882191] load_image: load q6.mdt image
<3>[  461.887379] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  461.892140] LOAD IMAGE q6, ret -5
<7>[  461.895650] load_image: load q6.mdt image
<3>[  461.900503] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  461.906149] LOAD IMAGE q6, ret -5
<7>[  461.909201] load_image: load q6.mdt image
<3>[  461.913352] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  461.918022] LOAD IMAGE q6, ret -5
<7>[  461.925255] load_image: load q6.mdt image
<3>[  461.928063] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  461.932397] LOAD IMAGE q6, ret -5
<7>[  461.939203] load_image: load q6.mdt image
<3>[  461.950160] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  461.950221] LOAD IMAGE q6, ret -5
<7>[  462.189531] load_image: load q6.mdt image
<3>[  462.194048] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  462.199572] LOAD IMAGE q6, ret -5
<3>[  462.205829] apr_tal:open timeout
<3>[  462.208026] APR: Unable to open handle
<3>[  462.211841] q6asm_audio_client_alloc Registration with APR failed
<3>[  462.221944] q6asm_audio_client_free: APR Common Port Already Closed
<6>[  462.227315] msm_pcm_open: Could not allocate memory
<3>[  462.227346] asoc: can't open platform msm-pcm-dsp
<3>[  462.231893]  MSM8960 Media1: dsp: failed to start FE -12
<6>[  462.238364] msm_pcm_routing_process_audio: reg 0 val 0 set 0
<3>[  462.283137] store_afe_cal: offset 1097847872 is > mem_len 344064
<6>[  462.330688] msm_pcm_routing_process_audio: reg 0 val 0 set 1
<4>[  462.330932]  MSM8960 Media1: asoc: MSM8960 Media1 no valid playback route from source to sink
<6>[  462.768625] Sensors unset: 7fff
<6>[  462.775919] TIMERIRQ_START : period=200
<6>[  462.776163] Sensors set: 70
<6>[  462.779398] <6>MPL-accmpu6050_set_odr:199
<6>[  462.779612] <6>MPL-accODR : 5000 (199)mHz
<7>[  463.200244] load_image: load q6.mdt image
<3>[  463.204059] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  463.208515] LOAD IMAGE q6, ret -5
<7>[  464.213917] load_image: load q6.mdt image
<3>[  464.219227] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  464.223744] LOAD IMAGE q6, ret -5
<5>[  464.946192] mms_ts 3-0048: finger [0] down
<7>[  464.956844] tspdrv: ImmVibeSPI_ForceOut_AmpEnable
<6>[  464.961513] [TSP] DVFS On!
<7>[  464.977201] tspdrv: ImmVibeSPI_ForceOut_AmpDisable
<5>[  465.057469] mms_ts 3-0048: finger [0] up
<6>[  465.059819] !@[updateGrid]isGridInvalidated.get() = true
<6>[  465.155806] [TSP] DVFS Off!
<7>[  465.227651] load_image: load q6.mdt image
<3>[  465.231771] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  465.236471] LOAD IMAGE q6, ret -5
<5>[  465.247031] mms_ts 3-0048: finger [0] down
<7>[  465.257073] tspdrv: ImmVibeSPI_ForceOut_AmpEnable
<6>[  465.258385] [TSP] DVFS On!
<7>[  465.277216] tspdrv: ImmVibeSPI_ForceOut_AmpDisable
<5>[  465.369601] mms_ts 3-0048: finger [0] up
<6>[  465.372043] !@[updateGrid]isGridInvalidated.get() = true
<6>[  465.465832] [TSP] DVFS Off!
<5>[  465.592766] mms_ts 3-0048: finger [0] down
<7>[  465.604700] tspdrv: ImmVibeSPI_ForceOut_AmpEnable
<6>[  465.607935] [TSP] DVFS On!
<7>[  465.639890] tspdrv: ImmVibeSPI_ForceOut_AmpDisable
<5>[  465.681092] mms_ts 3-0048: finger [0] up
<6>[  465.682679] !@[updateGrid]isGridInvalidated.get() = true
<6>[  465.775919] [TSP] DVFS Off!
<5>[  465.859301] mms_ts 3-0048: finger [0] down
<6>[  465.869189] [TSP] DVFS On!
<7>[  465.869372] tspdrv: ImmVibeSPI_ForceOut_AmpEnable
<7>[  465.889485] tspdrv: ImmVibeSPI_ForceOut_AmpDisable
<7>[  465.951350] load_image: load q6.mdt image
<3>[  465.952845] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  465.952845] LOAD IMAGE q6, ret -5
<7>[  465.954158] load_image: load q6.mdt image
<3>[  465.955867] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  465.955867] LOAD IMAGE q6, ret -5
<7>[  465.956416] load_image: load q6.mdt image
<3>[  465.975858] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  465.975888] LOAD IMAGE q6, ret -5
<7>[  465.977659] load_image: load q6.mdt image
<3>[  465.980405] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  465.980466] LOAD IMAGE q6, ret -5
<5>[  466.000244] mms_ts 3-0048: finger [0] up
<7>[  466.001800] load_image: load q6.mdt image
<6>[  466.003265] !@[updateGrid]isGridInvalidated.get() = true
<3>[  466.006073] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  466.010743] LOAD IMAGE q6, ret -5
<7>[  466.014436] load_image: load q6.mdt image
<3>[  466.017121] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  466.021608] LOAD IMAGE q6, ret -5
<6>[  466.095833] [TSP] DVFS Off!
<7>[  466.240378] load_image: load q6.mdt image
<3>[  466.246451] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  466.250816] LOAD IMAGE q6, ret -5
<7>[  466.299069] load_image: load q6.mdt image
<3>[  466.304867] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  466.304928] LOAD IMAGE q6, ret -5
<7>[  466.314512] load_image: load q6.mdt image
<3>[  466.318235] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  466.323363] LOAD IMAGE q6, ret -5
<7>[  466.328795] load_image: load q6.mdt image
<3>[  466.331573] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  466.336151] LOAD IMAGE q6, ret -5
<5>[  466.740790] mms_ts 3-0048: finger [0] down
<7>[  466.750068] tspdrv: ImmVibeSPI_ForceOut_AmpEnable
<6>[  466.750556] [TSP] DVFS On!
<7>[  466.770242] tspdrv: ImmVibeSPI_ForceOut_AmpDisable
<5>[  466.840683] mms_ts 3-0048: finger [0] up
<6>[  466.842118] !@[updateGrid]isGridInvalidated.get() = true
<6>[  466.935846] [TSP] DVFS Off!
<5>[  467.053288] mms_ts 3-0048: finger [0] down
<7>[  467.063970] tspdrv: ImmVibeSPI_ForceOut_AmpEnable
<6>[  467.066442] [TSP] DVFS On!
<7>[  467.084175] tspdrv: ImmVibeSPI_ForceOut_AmpDisable
<5>[  467.175553] mms_ts 3-0048: finger [0] up
<6>[  467.177659] !@[updateGrid]isGridInvalidated.get() = true
<7>[  467.255424] load_image: load q6.mdt image
<3>[  467.256645] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  467.261773] LOAD IMAGE q6, ret -5
<6>[  467.267327] [TSP] DVFS Off!
<3>[  467.325835] apr_tal:open timeout
<3>[  467.328032] APR: Unable to open handle
<3>[  467.331786] q6asm_audio_client_alloc Registration with APR failed
<3>[  467.338196] q6asm_audio_client_free: APR Common Port Already Closed
<6>[  467.344086] msm_pcm_open: Could not allocate memory
<3>[  467.344117] asoc: can't open platform msm-pcm-dsp
<3>[  467.348847]  MSM8960 Media1: dsp: failed to start FE -12
<6>[  467.354341] msm_pcm_routing_process_audio: reg 0 val 0 set 0
<3>[  467.380375] store_afe_cal: offset 1097847872 is > mem_len 344064
<6>[  467.413184] msm_pcm_routing_process_audio: reg 0 val 0 set 1
<4>[  467.413428]  MSM8960 Media1: asoc: MSM8960 Media1 no valid playback route from source to sink
<6>[  467.499221] !@Sync 15
<6>[  467.899679] Sensors unset: 7fff
<6>[  467.905997] TIMERIRQ_START : period=20
<6>[  467.906241] Sensors set: 70
<6>[  467.909476] <6>MPL-accmpu6050_set_odr:19
<6>[  467.909629] <6>MPL-accODR : 50000 (19)mHz
<7>[  468.262322] load_image: load q6.mdt image
<3>[  468.265130] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  468.269708] LOAD IMAGE q6, ret -5
<7>[  469.274713] load_image: load q6.mdt image
<3>[  469.279566] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  469.283930] LOAD IMAGE q6, ret -5
<7>[  470.022493] load_image: load q6.mdt image
<3>[  470.026735] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  470.031283] LOAD IMAGE q6, ret -5
<7>[  470.039767] load_image: load q6.mdt image
<3>[  470.043247] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  470.049229] LOAD IMAGE q6, ret -5
<7>[  470.055028] load_image: load q6.mdt image
<3>[  470.061345] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  470.066625] LOAD IMAGE q6, ret -5
<7>[  470.067388] load_image: load q6.mdt image
<3>[  470.073462] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  470.073554] LOAD IMAGE q6, ret -5
<7>[  470.077460] load_image: load q6.mdt image
<3>[  470.093026] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  470.098458] LOAD IMAGE q6, ret -5
<7>[  470.102639] load_image: load q6.mdt image
<3>[  470.105905] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  470.110331] LOAD IMAGE q6, ret -5
<7>[  470.289272] load_image: load q6.mdt image
<3>[  470.292171] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  470.297420] LOAD IMAGE q6, ret -5
<7>[  471.301205] load_image: load q6.mdt image
<3>[  471.304623] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  471.309323] LOAD IMAGE q6, ret -5
<5>[  471.327422] mms_ts 3-0048: finger [0] down
<6>[  471.339630] [TSP] DVFS On!
<6>[  471.341126] Sensors unset: 7fff
<7>[  471.341492] tspdrv: ImmVibeSPI_ForceOut_AmpEnable
<7>[  471.345429] load_image: load q6.mdt image
<6>[  471.345887] TIMERIRQ_START : period=200
<6>[  471.346009] Sensors set: 70
<5>[  471.347840] mms_ts 3-0048: finger [0] up
<6>[  471.352449] <6>MPL-accmpu6050_set_odr:199
<6>[  471.352571] <6>MPL-accODR : 5000 (199)mHz
<3>[  471.360445] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  471.364870] LOAD IMAGE q6, ret -5
<7>[  471.376651] tspdrv: ImmVibeSPI_ForceOut_AmpDisable
<7>[  471.389409] load_image: load q6.mdt image
<3>[  471.390447] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  471.394750] LOAD IMAGE q6, ret -5
<7>[  471.399206] load_image: load q6.mdt image
<3>[  471.400213] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  471.404852] LOAD IMAGE q6, ret -5
<5>[  471.423500] mms_ts 3-0048: finger [0] down
<7>[  471.444071] tspdrv: ImmVibeSPI_ForceOut_AmpEnable
<7>[  471.479261] tspdrv: ImmVibeSPI_ForceOut_AmpDisable
<5>[  471.512131] mms_ts 3-0048: finger [0] up
<6>[  471.605829] [TSP] DVFS Off!
<7>[  472.313963] load_image: load q6.mdt image
<3>[  472.316892] pil_qdsp6v4 pil_qdsp6v4.0: Not an elf header
<3>[  472.321226] LOAD IMAGE q6, ret -5
<3>[  472.405859] apr_tal:open timeout
<3>[  472.408057] APR: Unable to open handle
<3>[  472.411872] q6asm_audio_client_alloc Registration with APR failed
<3>[  472.418037] q6asm_audio_client_free: APR Common Port Already Closed
<6>[  472.424141] msm_pcm_open: Could not allocate memory
Tried modprobe snd_pcm > logfile, but for whatever reason it directed to STDOUT. It basically said the directory in which the right modules would be stored doesn't exist.

So, I tried to extract the entire ROM, locate the modules manually, and copy/paste them into /sys/modules, or wherever that was. Unfortunately, even with ROOT access, I was denied RW. Bit for directory is set to 660.

So, naturally, I'm at wits end. If anyone wants to help, I'm more than appreciative of what I can do from this point forward.

Thank you!!!