[ROM] CyanogenMod-7 for Optimus 2X - NIGHLTIES [05/01/2011]

Search This thread

pastime1971

Senior Member
Apr 25, 2011
1,893
1,076
Plesanton, CA
hello there , i want my photos from camera and the video save in the phone storage and not in sdcard .. does anyone know how i could do it ?

If u really want it, I had made a camera app that allows to change where pic and video are saved.
click my id and then threads started by me. (Typing from p990, so bit inconvenient to find the link and post it ATM)
It's a bit old, but should work.

edit: the link is http://xdaforums.com/showthread.php?t=1162125 and the apk had been compiled for #187, so quite old. i will try to compile it again for #204 when i get a chance.
edit: recompiled it. now it is up to date.
 
Last edited:
  • Like
Reactions: omiblack

pastime1971

Senior Member
Apr 25, 2011
1,893
1,076
Plesanton, CA
google map

it was bothering me that the new google maps 6.0.0.0 broke the compass, so i searched for the older version and installed 5.12.0, and it brought back the compass.
as you remember, 5.12.0 doesn't change screen orientation (unless you restart the map, or go to the setting and come back. annoying, but still better than no compass)
if anyone needs one, here is the link http://www.mediafire.com/?v1hc3g7uzbzcxvx
 
  • Like
Reactions: kemmo123

Ohlikken

Senior Member
Jun 16, 2011
51
5
If u really want it, I had made a camera app that allows to change where pic and video are saved.
click my id and then threads started by me. (Typing from p990, so bit inconvenient to find the link and post it ATM)
It's a bit old, but should work.

edit: the link is http://xdaforums.com/showthread.php?t=1162125 and the apk had been compiled for #187, so quite old. i will try to compile it again for #204 when i get a chance.
edit: recompiled it. now it is up to date.

Is there also a option for turning the sound off when taking a picture or recording? :p
 

koboltzz

Senior Member
Dec 26, 2008
633
240
It seems that there is the problem back with the sensor usage after closing some apps since a few kang updates.
I'm pretty sure that this level was low before.
Now even the camera consumes battery non stop...
 

Ohlikken

Senior Member
Jun 16, 2011
51
5
that's already in cm.
just go to Settings > CM settings > Sound settings > Mute camera shutter

Ah thank you so much <3

Found one annoying thing do that made me switch back.
With CM7 when watching twitch.tv with CM7 the video will just go green and unwatchable. :(

Really hoping that that get fixed, liked CM7 the small time I tested.:)
 

pastime1971

Senior Member
Apr 25, 2011
1,893
1,076
Plesanton, CA
It seems that there is the problem back with the sensor usage after closing some apps since a few kang updates.
I'm pretty sure that this level was low before.
Now even the camera consumes battery non stop...

I don't think camera, gallery, map apps consume more battery, because they logs sensor usage.
My phone was on for 8 hours w/o running them, and 7 hours after running them, and battery drain rates are identical.
Maybe it needs one more test w/ unchecking automatic screen, which keeps sensor off, until you run camera app. (Yes, even with that setting off, sensor turns on once you run camera app, because it needs orientation, and it accesses sensor directly.)
My point is that it may not directly reflect battery consumption just because it logs usage time, but that is just my guess.
Battery usage does say map, gallery, camera apps consumed 12% each right now, so I could be totally wrong. Nevertheless I am pretty happy w/ battery consumption of 3% per hour. That's about 1.5 days.
 

koboltzz

Senior Member
Dec 26, 2008
633
240
I don't think camera, gallery, map apps consume more battery, because they logs sensor usage.
But in any case. On latest KANG, open camera once and look, how fast battery will drain. This Problem does not exist for opera mobile and quickpic, which also uses g-sensor.
My phone was on for 8 hours w/o running them, and 7 hours after running them, and battery drain rates are identical.
Strange. Lucky guy! Do you wipe before you flash a new build? What do you wipe? I wipe everything for huge updates and get this problem.
 

tychodebrahe

Senior Member
May 24, 2009
93
13
Prague
Video camera problem

I have a problem with videocamera in nightly 204 (and also following KANGs). When I switch to video in CM7 camera app I see the moving preview for a second, then the camera refocuses and then the picture freezes, sometimes together with camera app UI. Random tapping on the screen causes FC. If I start video camera without SD card mounted, the it does not freeze.

I'm attaching output from alogcat, if anyone can help me out or at least have the same issue with videocamera, please, share a word.

//I tried using a different memory card and the problem is gone. Seems my Kingston 8GB class 4 is ready to reformat.

//OK, a simple (quick) format did the trick. As ussual to start looking for a solution for real I had to share my problem with xda :D
 

Attachments

  • alogcat.2011-12-06-11-32-06+0100.txt
    58.7 KB · Views: 2
Last edited:

pastime1971

Senior Member
Apr 25, 2011
1,893
1,076
Plesanton, CA
Strange. Lucky guy! Do you wipe before you flash a new build? What do you wipe? I wipe everything for huge updates and get this problem.
i experienced that dalvik cache wipe is necessary when i was updating part of rom, such as framework, camera app, etc. so, it may not be necessary for rom update, but i wipe dalvik cache once in a while. i used to wipe cache as well, but not any more.
well, i would say i am lucky. after all, i still get charging BSOD once in a while. i will try to test battery consumption again, but i think 36 hours usage per charging is pretty good for this kind of hardware.

edit: ok, so i tested battery drain with respect to sensor usage: screenshot at http://www.mediafire.com/i/?c2qzcuueci83vcp
first 3 hours w/ sensor disabled, rebooted, second 3 hours w/ camera, gallery, map apps run, third 3 hours w/ sensor enabled back.
for the first 2 hours, wifi was off for some reason (i move from subbasement to ground, and wifi gets lost sometimes), and that is why drain is slower, but once wifi is back on, the slope is exactly same as the other two portions. it was unfortunate that i only have 1 hour of the first test, but i think it confirms that sensor usage logging may not be exact reflection of battery consumption. you can do a similar test, and see what happens.
 
Last edited:
J

jmike72

Guest
i still get charging BSOD once in a while

I'm geting BSOD while charging veri often :(. Regarding the battery, the drainage with the latest changes and a KANG rom is very big! Only 9 hours and need to plug the phone again to charge and the usage today was very, but very low! Some e-mails and a couple of phone calls, something that with older builds will give me about 50% or even more after 9h!

Miguel
 

pastime1971

Senior Member
Apr 25, 2011
1,893
1,076
Plesanton, CA
I'm geting BSOD while charging veri often :(. Regarding the battery, the drainage with the latest changes and a KANG rom is very big! Only 9 hours and need to plug the phone again to charge and the usage today was very, but very low! Some e-mails and a couple of phone calls, something that with older builds will give me about 50% or even more after 9h!

Miguel

try flashing this kernel http://www.mediafire.com/?28g9ud8ylrjoi8k (it is basically cm kernel compiled w/ some CFLAGS)
it doesn't completely fix BSOD, but it seems to charge better. i've had two successful overnight charges yesterday and today. if it helps BSOD, then we can pursue further. if not, it is a placebo effect... :(
as for battery drain, i get about 33 hours w/ minimum usage, email checking per 15 min, gmail sync, gtalk logged in, wifi always on, and mobile data turned off
 
Last edited:
J

jmike72

Guest
try flashing this kernel http://www.mediafire.com/?28g9ud8ylrjoi8k (it is basically cm kernel compiled w/ some CFLAGS)
it doesn't completely fix BSOD, but it seems to charge better. i've had two successful overnight charges yesterday and today. if it helps BSOD, then we can pursue further. if not, it is a placebo effect... :(
as for battery drain, i get about 33 hours w/ minimum usage, email checking per 15 min, gmail sync, gtalk logged in, wifi always on, and mobile data turned off

Testing now this kernel with temasek latest kang. Let's see how it behaves.

Miguel
 

Top Liked Posts

  • There are no posts matching your filters.
  • 141
    CyanogenMod is a free, community built distribution of Android 2.3 (Gingerbread) which greatly extends the capabilities of your phone.

    Code:
    #include <std_disclaimer.h>
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     */



    Visit the CHANGELOG for a full list of changes and features!

    All source code is available at the CyanogenMod Github!

    If you'd like to to contribute to CyanogenMod, checkout our Gerrit instance (howto).


    INSTRUCTIONS:
    - First time flashing CM 7 to your Optimus 2X (or coming from another ROM)?
    1. Root your device
    2. Install ROM Manager (search the market for it, no need to use the Premium version), and from there install ClockworkMod Recovery
    3. Do a Nandroid backup!
    4. WIPE (wipe data/factory reset + wipe cache partition)
    5. Install the ROM
    6. Optionally install the Google Addon

    HOW TO REPORT BUGS OR PROBLEMS?
    - Was it a hard reboot? Go into recovery and dump the "/proc/last_kmsg" file.
    - Was it a soft reboot or a "boot loop"? Run "adb logcat" and get send the full output.
    - Pastebin links preferred
    - Please use the issue tracker whenever possible!

    Please visit the CyanogenMod Wiki for step-by-step installation walkthroughs and tons of other useful information.

    This is the latest release candidate so any and all feedback is appreciated!

    The preferred method of installation is via ROM Manager, or you can head over to the CM Forums for manual downloads.

    Latest version: NO RELEASE YET. Nightlies started on May 1st.
    Download: CM Mirrors

    Google Addon: 20110307 Universal
    Download: http://goo-inside.me/google-apps/

    NOTE: Modaco's version of clockworkmod for the 2X is broken, and has a wrong device identifier; installing CM with it WILL FAIL. Please use an actual clockworkmod recovery, as installed by ROM Manager.



    Thank you to EVERYONE involved in helping with testing, coding, debugging and documenting! Enjoy!
    16
    temasek's KANG build P204-23


    NOTE

    This is a KANG build of CM7 ( CyanogenMod 7 ) for p990 and by NO means this is my ROM. I am just compiling from CM Source and 100% credits goes to CyanogenMod and the device maintainer of p990, Ricardo Cerqueira.


    - From this build P204-23, the filename will revert to original filename of KANG CM7 ROM. I will append my build numbering to facilitate easy management. This is to respect the CyanogenMod Team. If in the past due to my renaming of KANG filenames, I apolgise sincerely.
    - As per request by @vegas, cherry picked "Change If8f37d8f: Default volume control media (2/2 CMParts)" --- Confirmed working :)
    - To enable this function -> Settings -> CM Settings -> Sound -> Default volume media
    - This KANG comes with 218 RIL


    CHANGELOG ( Same log for N1 P253-21 , LG OB P20-10 )

    MERGED COMMITS UP TO
    Change Ia8307212: add support for rom manager, new kernel containing most module built in the kernel, and fix autobrightness
    http://review.cyanogenmod.com/#q,status:merged+branch:gingerbread,n,z

    CHERRY-PICKS
    If you see any picking is missing from last build, it is because it was merged, abandoned, reverted by me or I've eaten it up. :p
    NEW - Change If8f37d8f: Default volume control media (2/2 CMParts)
    Change I95c987f1: Toggling the flashlight by long pressing the HOME button (1/2)
    Change I5db06ce5: Toggling the flashlight by long pressing the HOME button (2/2)
    Change I51c9b33d: Update Russian translation - T9 Dialer
    Change I459f34ec: Exchange: calendar sync window linked to email sync window
    UPDATED - Change I923fa5aa: AndroidTerm: Merge remote branch 'upstream/master' into update
    Change I95b8f2b1: The Torch app had to much "old" and deprecated code.
    Change I1658d538: es_ES: Fix spanish translations
    Change Ie02702b6: es_ES: Add and fix spanish translations
    REVERTED - Change Icc179c90: Additional icons for CM Device Settings
    Change I2e6e6071: BT GPS in framework base
    Change Ib25e89ea: BT GPS setting in android app (PATCH#1)
    Change I0e4ebbc0: Estonain keyboard
    Change Ibef23046: Added option to use either removable SD card or internal memory
    UPDATED - Change I0f6dbe81: LockScreen Alignment: Right (Part 1/2)
    Change I9962172d: LockScreen Alignment: Right (Part 2/2)
    Change I540fc206: change device specific icon (hdpi/mdpi), original one is 'blur'
    Change I29c3b84c: Add option for music widget transparency.
    Change I85bc7836: es_ES: Add missing translations
    Change I64f48576: getNextCalendarAlarm: query instances to get recurring events right
    REVERTED - Change I6368d518: Add option to lock volume keys in silent mode (framework part)
    REVERTED - Change I57d54e64: Add option to lock volume keys in silent mode (CMParts part) (PATCH #4)
    Change I055fb5f1: Ringlock (1/3): Style options added to CM settings
    Change Id2e58880: Ringlock (2/3): Style options added to CM settings (PATCH #2)
    Change Ieebeaeee: Ringlock (3/3): Style options added to CM settings
    Change I875a5ba5: Ability to debug over Network (framework part)
    Change I227ef11e: Add ability to debug over Network (Settings half)
    Change Id3e68a75: Notification power widget mobiledata auto 2g/3g (PATCH #2)
    Change I2e365a33: Notification power widget mobiledata auto 2g/3g
    Change I4427e3f2: [bionic] Replace strlen() with ARMv7 optimized version
    UPDATED - Change I6c43625d: Allow custom snooze times for calendar reminders.
    Change Ia99dbdd5: Show number of pending calendar reminders.
    Change Iaaf7f1c4: LGEStarRIL: Apply DST regardless of Infineon fix (PATCH #3)
    Change I3a7ffd3b: Fix a possible null pointer exeption editing a contact.


    NOTE: NITZ Fix by pastime1971(for p990 only)

    Change Iaaf7f1c4: LGEStarRIL: Apply DST regardless of Infineon fix (PATCH #3)

    For SU660 824 BB users, you are required to flash this from recovery after u flashed your KANG. This is to add 'ro.telephony.nitz=GMT' in build.prop http://www.mediafire.com/?8od4tbxyg9mxfog

    For other BB users, you are NOT required to flash anything else. Its in the rom by default. Just got reminded by pastime1971 :p

    File & Fix courtesy from pastime1971.

    I believe if you don't use Automatic Time but use app lilke clocksync to sync your time, then you don't require to flash the above NITZ fix.


    DOWNLOAD LINKS:
    http://www.mediafire.com/temasek
    http://minus.com/temasek


    MD5: be02157860eb4b37916d65a018be76ce


    CREDITS

    CyanogenMod
    Ricardo Cerqueira aka aremcee / arecee / RC , maintainer for p990
    aMpeX, who wrote the "How to compile a KANG tutorial" :D
    pastime1971, my unofficial advisor :p
    Rusty!, who shared his valuable experience.
    13
    Step by step

    Dear unfugor and JimmyLeeBillyBob, I know sometimes things are really annoying but I would resume all the steps to convert a Stock LG into "a CM7 beast". All these steps are explained in the forum but I will try to put them all together.

    STEPS (Please, follow the correct order):
    1) Root the device. There are 2 options but I've always used the first one (Super One Click):

    a) Super One Click - works with every ROM version (2.2.1 & above also supported) - By domi007
    Link : http://xdaforums.com/showthread.php?t=953182

    b) GingerBreak App - works with most ROMs inc stock - By Chainfire
    Link : http://xdaforums.com/show....php?t=1044765

    1.1) How to Root with Super One Click:
    1.1.1) Install the LG Drivers into your PC to have ADB access to your phone www.globalparts.es/ftp/miui/LGUnitedMobileDriver_S4981MAN32AP22_ML_WHQL_Ver_3.2.1.exe
    1.1.2) Install Super One Click www.globalparts.es/ftp/miui/SuperOneClickv2.2-ShortFuse.zip
    1.1.3) Enable the USB debugging in your phone: Settings -> Applications -> Development. Also it's important to activate the "Allow no-market Applications" under Settings -> Applications
    1.1.4) Connect your phone to the PC through the USB
    1.1.5) Run SuperOneClick.exe
    1.1.6) Press the ROOT key and you will have ROOT ACCESS to your phone. It is recommended to run the test at the end of the process.

    2) Install Recovery "ClockWorkMod" (CWM)
    2.1 Download CWM from www.globalparts.es/ftp/miui/cwm-5.0.2.7-P990_Moon.zip
    2.2 Unzip the downloaded file where you want (ex. in the Desktop)
    2.3 Connect the phone with the USB debugging enabled (Point 1.1.3)
    2.4 Run the executable according to your Operating System
    2.4.1 Windows: file install-cwm-mod-p990-windows.bat
    2.4.2 Linux: install-cwm-mod-p990-linux.sh
    2.4.3 Mac: install-cwm-mod-p990-mac.sh

    NOTE: Once installed, to enter into the CWM Recovery you have to power off the phone and then keep pressing the VOL- key while pressing the power On button until the phone enters into the CWM recovery menu (about 10 seconds).

    3) Change the Baseband:
    3.1) Download the Smartflash utility from here: www.globalparts.es/ftp/miui/smartflash.zip
    3.2) Unzip where you want
    3.3) Download the Baseband you want.
    3.4) Unzip the Baseband where you want.
    3.5) Run SmartFlashTool_P990.exe
    3.6) Turn device off, remove the battery and plug the USB phone to the PC while holding volume down - . You should see a software update message on the screen and the COM port of the Smartflash program should be filled automatically. You can now unpress the volume down - key.
    3.7) Select the 'ROM Copy D/L' tab
    3.8) Ensure 'Normal Mode' is selected
    3.9) Ensure 'Erase CAL' is NOT selected
    3.10) Click the browse button next to 'CP Bin:' and select the baseband (FLS) file.
    3.11) Click 'Start' and wait for the flash to complete. The phone will automatically reboot and you can unplug the USB cable and mount the battery. back

    NOTE: We will flash the matching RIL after CM7 will be installed.

    4) Install latest CM7 nightly http://cm-nightlies.appspot.com/?device=p990 .
    4.1) Once downloaded the CM7 put the zip into the root of your external SD card and enter into the CMW Recovery as explained on point 2. At this point I recommend to do a backup under the menu "backup and restore" just in case something goes wrong.
    4.2) Once the backup has been done choose WIPE (wipe data/factory reset + wipe cache partition)
    4.3) Then choose "install zip from SD card" and choose the zip you put into the root of your SD card. Then wait until the end and choose reboot.
    4.4) After rebooting your phone configure all the options. If you want you can install the Google Apps that you can download from here: www.globalparts.es/ftp/miui/gapps-gb-20110907-signed.zip

    5) Install the matching RIL
    5.1) Go to the "Market" and search for the GetRIL application. Once installed execute and choose the RIL that matches your Baseband and check the option "keep RIL after flashing a new ROM". Then choose "Download and Install".
    5.2) If you prefer you can download the RIL in zip format and install it with the CWM Recovery as "Install zip from SD card"

    6) Change the Kernel:
    6.1) I recommend the Vorkkernel: http://xdaforums.com/showthread.php?t=1059910.
    NOTE: At the moment the E-Peen version gives me problems with the camera so I prefer the stable non E-Peen version.

    6.2) If you want you can download from the Market the app VorkKernel Updater and change the parameters according to your needs.

    NOTE: If you activate the FM Radio with this kernel you'll miss all the incoming calls so If you usually use the FM Radio I recommend to install the swiftextreme kernel or the one you prefer.

    7) Install additional applications:
    7.0) Google Applications Pack http://dl.dropbox.com/u/43058142/P990/Apk/gapps-gb-20110907-signed.zip
    7.1) Go Launcher - An outstanding Desktop (I recommend the Plate Theme)
    7.2) Go Keyboard and the Gingerbread theme. Don't forget to download your language pack (ex Spanish for Go Keyboard).
    7.3) SetCPU - This allows you to "Overclock your phone through the CM7 menu Settings -> CyanogenMod Setting -> Performance ->CPU Settings and choose max CPU Frequency to 1216.
    7.4) AllcallRecording - To record your incoming and outgoing phone calls.
    7.5) WhatsApp and Viber (of course)
    7.6) Sygic Navigator (an incredible offline Navigator)
    7.7) AppBrain (a Market alternative with best search results)
    7.8) MX Player - An incredible Video Player (A++++++)
    7.9) Soundhound - An improved version of Shazam to search for music (A++)
    7.10) TuneIn Radio
    7.11) Super Manager
    7.12) Titanium Backup
    7.13) Screen Off and Lock
    7.14) DroidWall - To deny access through the 2G/3G or wifi to the selected applications (A+++)
    7.15) More.... just search into the Market.
    10
    OK I set your values and testing it now. It seems bit less distorted on my side. Other side do not complain and said my voice is crystal clear.

    If someone else want's to try these values please feel free, since I could be subjective about sound quality.

    Replace this file in /system/bin

    Set 755 (rwx r-x r-x) permissions

    Don't forget to backup original one in case you don't like what you hear.

    P.S. My mother confirmed that she can hear me better then usual. (perhaps I should call more often)

    I've taken the values for the microphone volume (0x1a and 0x1b) from that, and moved the back-loop disable to nvrm_daemon. It should be in the next nightlies.
    10
    MERRY CHRISTMAS TO ALL
    No more KANGs till after Christmas :p
    Small update! So take it as a Christmas Gift ... :D

    temasek's KANG build P204-16

    MD5: 0fed71019117dfa174d332bb28bbde37

    Changelog

    Merged commits up-to
    Change Ic489a611: Camera: Autofocus camcorder only if needed
    http://review.cyanogenmod.com/#q,status:merged,n,z

    Cherry-Picks
    Change I6368d518: Add option to lock volume keys in silent mode (framework part)
    Change I055fb5f1: Ringlock (1/3): Style options added to CM settings
    Change Id2e58880: Ringlock (2/3): Style options added to CM settings
    Change Ieebeaeee: Ringlock (3/3): Style options added to CM settings
    Change I875a5ba5: Ability to debug over Network (framework part)
    Change I227ef11e: Add ability to debug over Network (Settings half)
    Change Id3e68a75: Notification power widget mobiledata auto 2g/3g
    Change I2e365a33: Notification power widget mobiledata auto 2g/3g
    Change I4427e3f2: [bionic] Replace strlen() with ARMv7 optimized version
    Change I6c43625d: Allow custom snooze times for calendar reminders.
    Change Ia99dbdd5: Show number of pending calendar reminders.
    Change Iaaf7f1c4: LGEStarRIL: Apply DST regardless of Infineon fix (PATCH #3)
    Change I3a7ffd3b: Fix a possible null pointer exeption editing a contact.
    Change I5ec0b565: Dialpad: perform search when retrieving last dialled number
    Change Ibef23046: Added option to use either removable SD card or internal memory

    NOTE: NITZ Fix by pastime1971

    Change Iaaf7f1c4: LGEStarRIL: Apply DST regardless of Infineon fix (PATCH #3)

    For SU660 824 BB users, you are required to flash this from recovery after u flashed your KANG. This is to add 'ro.telephony.nitz=GMT' in build.prop
    http://www.mediafire.com/?8od4tbxyg9mxfog

    For other BB users, you are NOT required to flash anything else. Its in the rom by default. Just got reminded by pastime1971 :p

    File & Fix courtesy from pastime1971.

    I believe if you don't use Automatic Time but use app lilke clocksync to sync your time, then you don't require to flash the above NITZ fix.

    Download from:
    http://www.mediafire.com/temasek
    http://minus.com/temasek

    Note: Above cherry pickings may not be related to your device :p

    STATUS: Upz!