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

Root [H631/MS631] CyanogenMod 12.1 for LG G Stylo

Can someone please link the Gapps they used (Direct Download) thanks in advance and has someone heard an update to this ROM to fix video recording? Or has development stopped?

http://opengapps.org/ Here you go! You can install them using a graphic install! You can choose which google apps you want to install! IF you get the aroma package!
 
Upvote 0
See attached.

E/mm-camera( 322): stats_port_proc_downstream_set_parm Enable AEC & AWB subsampling optimizations

E/mm-camera-sensor( 322): module_sensor_event_control_set_parm:3411 module_sensor_event_control_set_parm:3411 panorama_shot = -1

E/mm-camera-sensor( 322): module_sensor_event_control_set_parm:3623 module_sensor_event_control_set_parm:3623 isSktVt = 0

E/QCameraParameters( 307): int32_t qcamera::QCameraParameters::commitParamChanges(), m_bZslMode = 0 , m_bZslMode_new = 0

D/QCameraParameters( 307): int32_t qcamera::QCameraParameters::setNumOfSnapshot(): nBurstNum = 1, nExpnum = 1

E/QCameraStateMachine( 307): stateMachine : m_state [2], evt [7]

E/QCamera2HWI( 307): getParameters() mbLowluminanceCondition = 1, mbLowluminanceConditionForVideo = 1, mbBacklightCondition = 0

E/QCamera2HWI( 307): getParameters() Flash is not firing !!!

E/QCameraStateMachine( 307): stateMachine : m_state [2], evt [8]

E/QCameraStateMachine( 307): stateMachine : m_state [2], evt [13]

E/QCameraStateMachine( 307): stateMachine : m_state [2], evt [13]

I/ExtendedUtils( 307): Invalid HFR rate specified : 0

I/ExtendedUtils( 307): Invalid HSR rate specified : 0

W/ExtendedUtils( 307): Invalid HFR rate specified

D/MediaCodecSource( 307): bitrate:17000000, samplerate:0, channels:0

D/mm-camera( 322): cpp_module_handle_stream_crop_event:785 frame id 93 stream_crop.x=0, stream_crop.y=0, stream_crop.dx=1920, stream_crop.dy=1080, width 0 height 0 identity=0x10002

I/OMX-VENC( 307): Component_init : OMX.qcom.video.encoder.avc : return = 0x0

E/OMX-VENC( 307): set_parameter: metamode is valid for input port only

W/OMXNodeInstance( 307): [c9:qcom.encoder.avc] component does not support metadata mode; using fallback

E/ACodec ( 307): [OMX.qcom.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -1010

W/ACodec ( 307): do not know color format 0x7fa30c04 = 2141391876

W/ACodec ( 307): do not know color format 0x7f000789 = 2130708361

E/ACodec ( 307): [OMX.qcom.video.encoder.avc] does not support color format 39

E/ACodec ( 307): [OMX.qcom.video.encoder.avc] configureCodec returning error -2147483648

E/ACodec ( 307): [OMX.qcom.video.encoder.avc] configureCodec returning error -2147483648

E/ACodec ( 307): signalError(omxError 0x80001001, internalError -2147483648)

E/MediaCodec( 307): Codec reported err 0x80001001, actionCode 0, while in state 3

E/MediaCodec( 307): configure failed with err 0x80001001, resetting...

I/OMX-VENC( 307): Component Deinit

I/OMX-VENC( 307): Component_init : OMX.qcom.video.encoder.avc : return = 0x0

I/OMX-VENC( 307): Component Deinit

E/StagefrightRecorder( 307): Failed to create video encoder

D/CameraSource( 307): reset: E

W/CameraClient( 307): attempt to use a locked camera from a different process (old pid 307, new pid 32037)

E/QCameraStateMachine( 307): stateMachine : m_state [2], evt [16]

D/CameraSource( 307): reset: X

E/MediaRecorder(32037): start failed: -2147483648

E/CAM_VideoModule(32037): Could not start media recorder.

E/CAM_VideoModule(32037): java.lang.RuntimeException: start failed.

E/CAM_VideoModule(32037): at android.media.MediaRecorder.start(Native Method)

E/CAM_VideoModule(32037): at com.android.camera.VideoModule$11.onStorageUpdateDone(VideoModule.java:1388)

E/CAM_VideoModule(32037): at com.android.camera.CameraActivity$18.onPostExecute(CameraActivity.java:2164)

E/CAM_VideoModule(32037): at com.android.camera.CameraActivity$18.onPostExecute(CameraActivity.java:2149)

E/CAM_VideoModule(32037): at android.os.AsyncTask.finish(AsyncTask.java:636)

E/CAM_VideoModule(32037): at android.os.AsyncTask.access$500(AsyncTask.java:177)

E/CAM_VideoModule(32037): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653)

E/CAM_VideoModule(32037): at android.os.Handler.dispatchMessage(Handler.java:102)

E/CAM_VideoModule(32037): at android.os.Looper.loop(Looper.java:135)

E/CAM_VideoModule(32037): at android.app.ActivityThread.main(ActivityThread.java:5294)

E/CAM_VideoModule(32037): at java.lang.reflect.Method.invoke(Native Method)

E/CAM_VideoModule(32037): at java.lang.reflect.Method.invoke(Method.java:372)

E/CAM_VideoModule(32037): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)

E/CAM_VideoModule(32037): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)

I/CAM_VideoModule(32037): Releasing media recorder.

V/CAM_VideoModule(32037): Empty video file deleted: /storage/emulated/0/DCIM/Camera/VID_20160603_094408.mp4.tmp
 

Attachments

  • out2.txt
    750.6 KB · Views: 84
Upvote 0
Hey guys I don't know if this is going to be any help but I was searching on XDA last night and I found that a lot of people or fixing older mods of CM 10 and 11 by porting the stock camera app from the phone over to CyanogenMod maybe this will help I don't know but it's worth a try if I knew how to do it I would do it
 
Upvote 0
I've been waiting for cynogen to work 100% on any device since 2011. I don't even try it any more. Don't send me hate mail, Guys its just my experience with it.

Totally agree. The last CM cut I used where everything worked, even completely tweaked was CM7 on my Optimus M. Starting with CM9, it's good for tinkering and nothing else.

I'll settle for a reworked stock ROM with everything working over CM anytime. GameTheory and PlayfulGod did great with last few LGs I've used. I wonder where they went :(

EDIT - Oh, even if you have a flagship device.... I ran all kinds of CM11, 12.X nightlies on my Nexus 5.. Even with the heavy development there, it was a pain. By the time I themed, tweaked it to where I wanted it, i had to keep d**king with it to keep it running right. And that's without ever touching CPU settings. It gets old lol
 
Last edited:
Upvote 0
that's the last thing I flashed on my zmax...cm13...I think..I don't pay attention to it...I used it for a Pandora server a few times...
but,I have to plug in the cord a certain way and lay out under the phone and this that and the other....
I only got into the cm based rom's because of themes.....but, they're all the same with different names and slight color variations...
I still don't see how"material style"themes are the rage..
but, then again I have no skills, no memory, no patience, no attention span...
so I guess I should shut up....
 
  • Like
Reactions: mrrom
Upvote 0
So if someone is interested in setting up a build environment, basically follow the steps here: http://forum.xda-developers.com/atrix-hd/development/guide-how-to-build-cm12-source-mb886-t3035334

Just when you first do the command:
repo init -u git://github.com/CyanogenMod/android.git -b cm-12.0

Change the -b cm-12.0 to cm 12.1.

The local_manifest.xml file should be as follows:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Cyanogenmod/android_external_mm-dash" path="external/mm-dash" revision="cm-12.1" />
<project name="Cyanogenmod/android_device_qcom_common" path="device/qcom/common" revision="cm-12.1" />
<project name="TeamRegular/android_kernel_lge_msm8916" path="kernel/lge/msm8916" revision="cm-12.1-lg" />
<project name="TeamRegular/android_device_lge_msm8916-common" path="device/lge/msm8916-common" revision="cm-12.1" />
<project name="TeamRegular/android_device_lge_g4stylus-common" path="device/lge/g4stylus-common" revision="cm-12.1" />
<project name="TeamRegular/android_device_lge_h631" path="device/lge/h631" revision="cm-12.1" />
<project name="TeamRegular/vendor_lge" path="vendor/lge" revision="cm-12.1" />
</manifest>


Once you get the first repo sync done, add the local_manifest.xml and repo sync again, all you have to do is:
cd ~/cm12
. build/envsetup.sh
brunch cm_h631-userdebug

Then it should start compiling.

Lessons learned: Make sure update-alternatives doesn't point to wrong java and javac version. It must point to exact same version of openjdk7, otherwise change it.
 
Upvote 0
does it crash in every cam app when vid record is attempted?????
that's the breaker ....i am back to MM rooted n stuff....but, the sound is semi bla cause i'm half deaf and every time i try to bump it up in mixer_paths it makes all sound mute and i have to reflash MM and blah blah blah....
i should be a pro at it by now...
but,when you get hit by a car and your brain splashes around in your nugget...
things are a near constantly new adventure when it comes to stuff that's not constantly being recalled..
i am sure im missing some simple step some where......
this phone is not as simple as the zmax to tool around......
it does'nt seem to like willy nilly fudging and poking
 
Last edited:
Upvote 0
does it crash in every cam app when vid record is attempted?????

I think there are a few apps that have the codecs built in.


FYI reposting from XDA:
Did some Googling.
W/ACodec ( 307): do not know color format 0x7fa30c04 = 2141391876
http://alumnus.caltech.edu/~heirich/styled-6/index.html

COLOR_QCOM_FormatYUV420SemiPlanar32m

W/ACodec ( 307): do not know color format 0x7f000789 = 2130708361
https://lists.freedesktop.org/archiv...er/043721.html
OMX_COLOR_FormatAndroidOpaque

Huh?! That's not NV12 is it?
 
  • Like
Reactions: CYCONUMNUM
Upvote 0
Any developers around? I'm thinking of adding to frameworks\av\media\libstagefreight\CameraSource.cpp a couple lines for the two above:

if (!strcmp(colorFormat, CameraParameters::pIXEL_FORMAT_YUV420SP_NV21)) {
static const int OMX_SEC_COLOR_FormatNV21Linear = 0x7F000011;
return OMX_SEC_COLOR_FormatNV21Linear;
}

I would also need to modify CameraParameters.h and CameraParameters.cpp like https://github.com/TeamRegular/android_frameworks_av/commit/d5de1e7b636ba5673a2b20be8685287ff60fb487 had done.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones