1. Are you ready for the Galaxy S20? Here is everything we know so far!

CM12.1 Unofficial Beta

Discussion in 'Android Devices' started by Bad_MOFO_33, Feb 24, 2015.

  1. HasH_BrowN

    HasH_BrowN Android Expert

    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?


  2. scary alien

    scary alien not really so scary

    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!
    HasH_BrowN likes this.
  3. tavisc

    tavisc Member

    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?
  4. deathstat

    deathstat Lurker

    Ok..... here's the truth.......

    I'm just a 10 yr old, just trying to flash roms and stuff
    scary alien and HasH_BrowN like this.
  5. HasH_BrowN

    HasH_BrowN Android Expert

    Ask and learn away!:)
    scary alien likes this.
  6. deathstat

    deathstat Lurker

    I've been doing this since March of this year, but just the rooting and flashing. And flashing custom recoveries, but that's it.
    HasH_BrowN likes this.
  7. HasH_BrowN

    HasH_BrowN Android Expert

    Thats how most of us started. At least your starting early. Your going to have such a big jump on all us older people, you'll be developing before you know it.
    dvdavid888 and scary alien like this.
  8. Ph0enix_216

    Ph0enix_216 Android Enthusiast

    @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 (Text):
    2. <?xml version="1.0" encoding="UTF-8"?>
    4. <manifest>
    6. <!--Fetch's Bad_MOFO_33's source trees-->
    7. <project name="arj1231/device_lge_x5" path="device/lge/x5" remote="github" revision="master" />
    8. <project name="arj1231/kernel_lge_msm8226" path="kernel/lge/msm8226" remote ="github" revision="LP" />"
    9. <project name="arj1231/vendor_lge_x5" path="vendor/lge/x5" remote="github" revision="master" />
    11. <!--Fetches some hardware dependencies we need to build for the Volt-->
    12. <project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-12.1" />
    14. </manifest>
    Save it, and run
    Code (Text):
    1. $ 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 (Text):
    1.  $ . build/envsetup.sh
    2. $ 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.
    #2033 Ph0enix_216, Oct 17, 2015
    Last edited: Oct 17, 2015
  9. HasH_BrowN

    HasH_BrowN Android Expert

    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.
    scary alien and Ph0enix_216 like this.
  10. Ph0enix_216

    Ph0enix_216 Android Enthusiast

    Yes, the fix is already in the kernel tree, @Bad_MOFO_33 has been using it in his most recent release builds I believe.
    scary alien and HasH_BrowN like this.
  11. deathstat

    deathstat Lurker

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

    Not trying to rush you.
  12. HasH_BrowN

    HasH_BrowN Android Expert

    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...???
    #2037 HasH_BrowN, Oct 17, 2015
    Last edited: Oct 17, 2015
  13. Ph0enix_216

    Ph0enix_216 Android Enthusiast

    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).
  14. HasH_BrowN

    HasH_BrowN Android Expert

    :) thank you for your help.
    scary alien and Ph0enix_216 like this.
  15. Ph0enix_216

    Ph0enix_216 Android Enthusiast

    No problem :) Biggest lesson I learned from a friend who's passed on was "Don't pay it back, pay it forward," which is what I try to do here. Have fun building, and if you need anything, feel free to PM me.
  16. dherman

    dherman Lurker

    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
  17. ScarletRooter

    ScarletRooter Well-Known Member

    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!
  18. Ph0enix_216

    Ph0enix_216 Android Enthusiast

    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.
  19. tavisc

    tavisc Member

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


    Doesn't seem like the deep sleep fix actually fixed anything. Its restarted twice in the last half hour.
    #2044 tavisc, Oct 18, 2015
    Last edited: Oct 18, 2015
  20. Ph0enix_216

    Ph0enix_216 Android Enthusiast

    Did you make it a system app?
  21. tavisc

    tavisc Member

    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.
  22. HasH_BrowN

    HasH_BrowN Android Expert

    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.
  23. tavisc

    tavisc Member

    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.
  24. Ph0enix_216

    Ph0enix_216 Android Enthusiast

    BlissPop uses the same trees as this ROM, so videos don't work there either.
  25. adamhos1234

    adamhos1234 Android Expert

    Just wanted to say thanks BadMOFO and whoshotjr2006!...I have been running this ROM from the beginning and its been great! I've learned some things and even tried building once because of your efforts.
    I have a moto g on the way, but I will always be lurking in the shadows...

    I should probably thank others and I don't mean to leave anyone out, but we wouldn't have this if it wasn't for those two
    #2050 adamhos1234, Oct 21, 2015
    Last edited: Oct 21, 2015

LG Volt Forum

The LG Volt release date was May 2014. Features and Specs include a 4.7" inch screen, 8MP camera, 1GB RAM, Snapdragon 400 processor, and 3000mAh battery.

May 2014
Release Date

Share This Page