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

Root CM12.1 Unofficial Beta

Hey scary
Would you have a clue as to where i should look for the green tint camera issue?
I looked through some files doing comparison and didn't see any differences. Could something be left out?

Sorry, @HasH_BrowN, I've honestly no idea :(.

I did a quick Google search and see a lot of threads about this (especially old ones for HTC devices) but no simple instructions for fixes...

Best of luck guys!
 
Anyone else experiencing random restarts? I put this on my girlfriends Volt a few days ago and her phone randomly restarts 2-3 time per day. She's also having some other issues, like alarms not using sound. I'm reflashing it tonight but in case that doesn't work-does anyone have any ideas?
 
@HasH_BrowN and anyone else who wants to learn, go here: http://androidforums.com/threads/cyanogenmod12-1-build-environment-set-up.918323/

This will help you setup a build environment. You'll need a machine with at least 4GB of RAM, a decent processor, and a way to run Linux. Then create a new repo manifest in ~/path/to/source/.repo/local_manifests/x5.xml. Paste this into it:
Code:
<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<!--Fetch's Bad_MOFO_33's source trees-->
<project name="arj1231/device_lge_x5" path="device/lge/x5" remote="github" revision="master" />
<project name="arj1231/kernel_lge_msm8226" path="kernel/lge/msm8226" remote ="github" revision="LP" />"
<project name="arj1231/vendor_lge_x5" path="vendor/lge/x5" remote="github" revision="master" />

<!--Fetches some hardware dependencies we need to build for the Volt-->
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-12.1" />

</manifest>
Save it, and run
Code:
$ repo sync -f -j8 --no-clone-bundle
This will then download the source code as well as Bad_MOFO_33's sources for the Volt, which can be used to build CyanogenMod. Once you've synced up the source code, run:
Code:
 $ . build/envsetup.sh
$ brunch x5
This will initialize the build scripts and begin building for the Volt. The first build will take a long time, depending on the specs of your machine (a fresh build on my machine takes about four and a half hours). After the initial build though, subsequent builds shouldn't take as long, because the compiler has generated all the build files it needs and can reference them for updated builds.

Once the build has completed, you'll need to add the boot.img file to the ROM update zip, otherwise you'll get a boot error after you flash and reboot from recovery.

We managed to get the camera working by taking "/arch/arm/boot/dts/msm8226-x5_spr_us/ msm8226-x5-camera.dtsi" from the stock kernel source provided by LG and adding it to the kernel build by the CM compiler, so that's one place to start.

Best way to learn? Read everything, play with the code and see what goes where, and take risks. And most importantly, ask questions.
 
Last edited:
@HasH_BrowN and anyone else who wants to learn, go here: http://androidforums.com/threads/cyanogenmod12-1-build-environment-set-up.918323/

This will help you setup a build environment. You'll need a machine with at least 4GB of RAM, a decent processor, and a way to run Linux. Then create a new repo manifest in ~/path/to/source/.repo/local_manifests/x5.xml. Paste this into it:
Code:
<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<!--Fetch's Bad_MOFO_33's source trees-->
<project name="arj1231/device_lge_x5" path="device/lge/x5" remote="github" revision="master" />
<project name="arj1231/kernel_lge_msm8226" path="kernel/lge/msm8226" remote ="github" revision="LP" />"
<project name="arj1231/vendor_lge_x5" path="vendor/lge/x5" remote="github" revision="master" />

<!--Fetches some hardware dependencies we need to build for the Volt-->
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-12.1" />

</manifest>
Save it, and run
Code:
$ repo sync -f -j8 --no-clone-bundle
This will then download the source code as well as Bad_MOFO_33's sources for the Volt, which can be used to build CyanogenMod.

We managed to get the camera working by taking "/arch/arm/boot/dts/msm8226-x5_spr_us/ msm8226-x5-camera.dtsi" from the stock kernel source provided by LG and adding it to the kernel build by the CM compiler, so that's one place to start.

Best way to learn? Read everything, play with the code and see what goes where, and take risks. And most importantly, ask questions.
Excellent. Great to hear about development starting point.
So the camera fix/correction is in the development tree (already compiled in the kernel)? Or am i reading that wrong? Just asking.
 
Yes, the fix is already in the kernel tree, @Bad_MOFO_33 has been using it in his most recent release builds I believe.
So then CM 12.1 doesnt have the green tint issue with the camera...correct? o_O

EDIT: I probably was going off on the wrong foot. I should start at the camera working in the compile to look for the green tint...???
 
Last edited:
So then CM 12.1 doesnt have the green tint issue with the camera...correct? o_O

Can you make a flashable zip? I would like to test.....
And then the developer can make it public.

Not trying to rush you.

Sorry, let me clarify. The "fix" I was referring to was the one that let us use the camera again in the ROM. It still has the green tint and problems with videos, so there's not really any point in releasing another build yet. We still have all the current issues we've been experiencing.

Besides, this isn't really my ROM, it's Bad_MOFO_33's, so I'm not going to hijack his work or anything. When he feels ready to release an update, he will. Until then, I'm just dinking around with the source code, trying to fix the camera bugs (and the ones that have popped up in my SlimROM port).
 
Sorry, let me clarify. The "fix" I was referring to was the one that let us use the camera again in the ROM. It still has the green tint and problems with videos, so there's not really any point in releasing another build yet. We still have all the current issues we've been experiencing.

Besides, this isn't really my ROM, it's Bad_MOFO_33's, so I'm not going to hijack his work or anything. When he feels ready to release an update, he will. Until then, I'm just dinking around with the source code, trying to fix the camera bugs (and the ones that have popped up in my SlimROM port).
:) thank you for your help.
 
Anyone else experiencing random restarts? I put this on my girlfriends Volt a few days ago and her phone randomly restarts 2-3 time per day. She's also having some other issues, like alarms not using sound. I'm reflashing it tonight but in case that doesn't work-does anyone have any ideas?


Yeah I've been getting this quite frequently too! I thought it was just me but I guess we're all getting this problem It seems!
 
I am also getting random restarts. I do not remember seeing these with the 6/28 (?) build, but I only used that for a couple of weeks before switching to the September build
Yeah I've been getting this quite frequently too! I thought it was just me but I guess we're all getting this problem It seems!
It's a CPU issue. Read the OP, there's a link towards the bottom that links to an app on XDA that fixes this.
 
It's a CPU issue. Read the OP, there's a link towards the bottom that links to an app on XDA that fixes this.

*facepalm* I downloaded it, but forgot to flash it. Its not restarting anymore, but now its freezing-twice in the last three hours.

*edit*

Doesn't seem like the deep sleep fix actually fixed anything. Its restarted twice in the last half hour.
 
Last edited:
*facepalm* I downloaded it, but forgot to flash it. Its not restarting anymore, but now its freezing-twice in the last three hours.

*edit*

Doesn't seem like the deep sleep fix actually fixed anything. Its restarted twice in the last half hour.
Did you make it a system app?
 
Did you make it a system app?

I installed it according to the instructions. I don't know if it automatically installs as a sys app. It doesn't matter anyways though, apparently vines don't play on the Tumblr app, which is a nonstarter for her. So now I have to try BlissPop. Guess that's what I get for trying to help.
 
I installed it according to the instructions. I don't know if it automatically installs as a sys app. It doesn't matter anyways though, apparently vines don't play on the Tumblr app, which is a nonstarter for her. So now I have to try BlissPop. Guess that's what I get for trying to help.
Not trying to pull anyone from custom development. But if you want something stable, everything working, you can try @Curtis1973
http://androidforums.com/threads/zv5-debloated-no-gapps-xperia-apps.958304/ . Its running really smooth.
Its an option.
 
Not trying to pull anyone from custom development. But if you want something stable, everything working, you can try @Curtis1973
http://androidforums.com/threads/zv5-debloated-no-gapps-xperia-apps.958304/ . Its running really smooth.
Its an option.

Actually I already switched her over to that. I don't know if the vine issue is a CM12.1 issue or not, but I'm not going to jump through hoops to try to get her a rom that works if a stock ROM does everything she needs.
 
I installed it according to the instructions. I don't know if it automatically installs as a sys app. It doesn't matter anyways though, apparently vines don't play on the Tumblr app, which is a nonstarter for her. So now I have to try BlissPop. Guess that's what I get for trying to help.
BlissPop uses the same trees as this ROM, so videos don't work there either.
 
Back
Top Bottom