[Android Software/Hacking General [Developers Only]] Charlie R.:
I'm on a Samsung Note 2, which is far down on the list for getting any patch.

If a patch does come, it will likely lock up my bootloader even tighter than before.

I'd rather sufficiently lobotomize these libraries and leave MMS disabled to keep root rather than swallow the Samsung koolaid.

---------- Post added at 01:02 PM ---------- Previous post was at 12:17 PM ----------

I am running a custom Touchwiz rom that (I believe) contains the original Samsung stagefright libraries.

If I run the following commands (on a CENTOS x86 machine), I find additional shared objects that contain references to ESDS, SampleTable, and MPEG4.

$ unzip -l Alliance_4.4.2_Build30.zip | grep -i stagefright

1823 02-13-2014 06:26 data/data/com.adobe.flashplayer/lib/libstagefrigh_froyo.so

3584 02-13-2014 06:26 data/data/com.adobe.flashplayer/lib/libstagefrigh_honeycomb.so

1383864 11-04-2014 01:04 system/lib/libstagefright.so

5228 11-04-2014 01:04 system/lib/libstagefrighthw.so

50232 11-04-2014 01:04 system/lib/libstagefright_amrnb_common.so

21508 11-04-2014 01:04 system/lib/libstagefright_avc_common.so

54488 11-04-2014 01:04 system/lib/libstagefright_chromium_http.so

5128 11-04-2014 01:04 system/lib/libstagefright_enc_common.so

70864 11-04-2014 01:04 system/lib/libstagefright_foundation.so

107680 11-04-2014 01:04 system/lib/libstagefright_httplive.so

115992 11-04-2014 01:04 system/lib/libstagefright_omx.so

222636 11-04-2014 01:04 system/lib/libstagefright_soft_aacdec.so

275628 11-04-2014 01:04 system/lib/libstagefright_soft_aacenc.so

91312 11-04-2014 01:04 system/lib/libstagefright_soft_amrdec.so

58480 11-04-2014 01:04 system/lib/libstagefright_soft_amrnbenc.so

118380 11-04-2014 01:04 system/lib/libstagefright_soft_amrwbenc.so

129248 11-04-2014 01:04 system/lib/libstagefright_soft_flacenc.so

13372 11-04-2014 01:04 system/lib/libstagefright_soft_g711dec.so

25812 11-04-2014 01:04 system/lib/libstagefright_soft_gsmdec.so

111932 11-04-2014 01:04 system/lib/libstagefright_soft_h264dec.so

91248 11-04-2014 01:04 system/lib/libstagefright_soft_h264enc.so

62576 11-04-2014 01:04 system/lib/libstagefright_soft_mp3dec.so

87152 11-04-2014 01:04 system/lib/libstagefright_soft_mpeg4dec.so

119920 11-04-2014 01:04 system/lib/libstagefright_soft_mpeg4enc.so

13372 11-04-2014 01:04 system/lib/libstagefright_soft_rawdec.so

17468 11-04-2014 01:04 system/lib/libstagefright_soft_vorbisdec.so

197880 11-04-2014 01:04 system/lib/libstagefright_soft_vpxdec.so

234712 11-04-2014 01:04 system/lib/libstagefright_soft_vpxenc.so

222416 11-04-2014 01:04 system/lib/libstagefright_wfd.so

9272 11-04-2014 01:04 system/lib/libstagefright_yuv.so

$ unzip Alliance_4.4.2_Build30.zip system/lib/libstagef*

...

$ for x in *.so; do echo $x ======; readelf -Ws $x | egrep -i 'esds|sampletable|mpeg4'; done

The additional detected library appears to be core StageFright:

/system/lib/libstagefright.so ======

Feeling like living dangerously, I'm taking this library out:

su -

mount -o remount,rw /system

cd /system/lib

chmod 000 libstagefright.so

mv libstagefright.so bad

cd

mount -o remount,ro /system

exit

After rebooting my phone, it's stuck at the splash screen. It appears that you cannot boot without the vulnerable library.

I used SafeStrap's UNIX command line to put the library back and restore the permissions. My phone booted normally afterwards.

---------- Post added at 01:38 PM ---------- Previous post was at 01:02 PM ----------

These functions are rolled into many more objects in my /system/lib:

$ for x in *.so; do readelf -Ws $x | egrep -i 'esds|sampletable|mpeg4' > /dev/null; if [[ $? -eq 0 ]]; then echo $x; fi; done 2> /dev/null

libAAX_SDK.so

libASP18_ffmpeg_neon.so

libASP18_TMI_Player_dep_kk.so

libASP18_TMI_Player_kk.so

libgcastv2_support.so

liblifevibes_mediashare_hw_jni.so

liblifevibes_mediashare_sw_jni.so

libmediaConverter.so

libmediaplayerservice.so

libMP4Converter.so

libOMX.SEC.M4V.Decoder.so

libOMX.SEC.M4V.Encoder.so

libOpenCv.so

libsavsff.so

libsfextavi.so

libsfextcmn.so

libsharevia.so

libsmata.so

libsomxmp4vd.so

libsomxmp4vdsw.so

libsomxvenc.so

libstagefright.so

libstagefright_soft_mpeg4dec.so

libstagefright_soft_mpeg4enc.so

libvideoeditor_core.so

libvideoeditor_jni.so

libvideoeditorlite_hf.so

libvideoeditorplayer.so

libvtstack.so

libvwengine.so

libwilhelm.so