[20130727]CM 10.1+HALO+OpenPDroid+Hardware Customisation

arararagi

Senior Member
Jan 13, 2013
474
689
0
This is completely compatible with the official CyanogenMod 10.1 (and I'm planning to keep it that way), so you can switch to and from official without any problems.

The main focus of this ROM is to stay up to date with CyanogenMod 10.1 git branch and add features that allow finer grain customisation of hardware specific to the 4X.

What's added:
  • LG QuickMemo (hold Vol+ and Vol- to activate) [framework change]
  • Enable wake by pressing volume key setting [settings app change]
  • Control button backlight in System Settings (can stop it turning on whenever you touch the screen) [settings app + framework + hardware library change]
  • Button backlight used as notification light (can be enabled/disabled in System Settings) [settings app + hardware library change]
  • Button backlight used as battery light (recommend disabling in System Settings) [settings app + hardware library change]
  • Ability to dim backlight more than minimum (activate from ArararagiToolbox, otherwise like stock) [kernel change]
  • Ability to force fast charge even higher than default AC levels (activate from ArararagiToolbox, otherwise like stock) [kernel change]
  • 20130502: Fix headset button (thanks to Wenque) Now in official CM
  • 20130505: Disable baseband_xmm_power wake lock [kernel change]
  • 20130512: Torch brightness control. You need to clear data for the Torch app. Default is the minimum possible brightness, rather than the stock CM 10.1 brightness. [Torch app + kernel change]
  • 20130515: Fix known issues in torch brightness control caused by 20130512 changes. Clear Torch app data. [Torch app change] Disable touch debug printing in kernel. [kernel change]
  • 20130602: Use new vibrator implementation in line with CM. Add baseband_xmm_power wake lock back in.
  • 20130609: Uncap screen brightness
  • 20130611: Disable baseband_xmm_power wake lock again. Now using Linaro 13.05 GCC 4.7 to build (user + kernel).
  • 20130612: HALO ported from ParanoidAndroid
  • 20130613.1: OpenPDroid
  • 20130623: Enable ODEX
  • 20130623: Use -O3 for compiling native components
  • 20130623: Increase vibrator PWM duty cycle (should increase vibrator strength)
  • 20130625: Tweak background process parameters
  • 20130630: Add QuickMemo quick settings tile
  • 20130707: Add LG Hidden Menu (only GNSS Test works at the moment)
  • 20130713: Allow control of which backlight HVLEDs are enabled. Lets you make the screen even dimmer
  • 20130716: Allow control of gamma LUT from user space. Let's you over saturate the screen colours
  • 20130727: Add support for external GPS (http://review.cyanogenmod.org/#/q/owner:ich%40morphew.de+status:open,n,z)
  • Check github for full changelog. Each release also includes changes from official CM.

Optional (can be installed as normal app):
  • Memobin.apk: LG Notes
  • AraragiToolbox.apk: Actually activating some of the features mentioned above
  • CameraApp3.apk: 20130606. LG Jelly Bean stock camera app ported to Android 4.2/CM 10.1.

ArararagiToolbox features that work on any ROM:
  • Check battery current (drain/charge in mA)
  • Disable USB (for charging on untrusted computers)
  • Check KSM (kernel same page merging) stats

Note: Anything changed from AraragiToolbox won't stay across reboots, as it's more of a tool for testing. I'm planning to add them into the System Settings later on.

Install by flashing zip from ClockworkMod (Find "Optimus 4X" on the page). No need to wipe data if you are already using CM 10.1.

Download: cm-10.1-20130727-UNOFFICIAL-p880.zip (md5sum: 99d7acca2d33fcdac8c6faed57f44f0b)
Source: https://github.com/mzhou/arararagi_lge_p880_patches

Planned:
  • Overclocking, Schedulers, I/O Schedulers, Governors
  • Vibration strength Make it configurable
  • Control camera flash/torch brightness
  • USB mass storage
  • Fast charge tile

How to HALO:
See http://forum.xda-developers.com/showthread.php?t=2117444&page=976 (Thanks to kubics for original posting and Namor Noditz for linking) on how to configure.
Just mentally replace "Settings > RootBox Settings > HALO Settings" with "Settings > System".
This YouTube video goes through all the gestures: http://www.youtube.com/watch?v=d5WljHcOyXs
 

Attachments

Last edited:

nomaj

Senior Member
Apr 28, 2012
838
337
93
can create a zip file to add QuickMemo, Fast Charge, Backlight Dim, Notification Light, etc. to official CM 10.1?
+1 i think that will better ... now we will have mess official CM ... and this great fixes ... lot of things to monitor.
 

SimonTS

Senior Member
Oct 23, 2011
4,248
1,614
0
Bristol
What happened if I flash official CM10.1 nightly update over it?
My immediate guess would be the same as with any modified CM - you lose the additions to the ROM.
I think it would change just the moddified files, I guess. I will try an report.
It doesn't work. I have installed today's update then this modded ROM and then today's update again.
How often is you going to be updated this ROM?
Does that mean it did what I suggested and wiped out the additions? That's certainly what used to happen with older versions of CM and I would expect exactly the same to happen still.

It's the same as with the PDroid version - unless the OP sets up his own automated build system you can often find the build lagging behind the nightlies. That's why they often choose to base a modded version on the most recent 'stable' CM and then have to update it less frequently.
 
  • Like
Reactions: arararagi

SimonTS

Senior Member
Oct 23, 2011
4,248
1,614
0
Bristol
I think I found a bug. When I am charging my phone over USB or AC the button's lights are always on.
That's not a bug. You've got the screen set to "Always On" when charging, and the buttons set to "Always On" - therefore the buttons will always be on when charging?
 

mozcch

Member
Jan 21, 2012
23
1
0
Awesome!!!!This is what i need.Great job!

If qmemo can also turn on by long press menu/quick setting panel,that will be perfect.
 
Last edited:

arararagi

Senior Member
Jan 13, 2013
474
689
0
I think I found a bug. When I am charging my phone over USB or AC the button's lights are always on.
The button lights function as battery lights by default. Disable it in settings -> system -> battery lights.

It's difficult to release just modified files (as you can see from my kernel and other QuickMemo thread, it becomes a mess) and now that framework modifications are involved, it can cause conflicts if they are flashed over a CyanogenMod version that it wasn't designed for.
It might be possible to get the button backlight feature upstreamed in CM, but I doubt they'd accept any of the rest.

I'll look into setting up automated build, and also getting the source modifications organised on github or similar.
 

Attachments

  • Like
Reactions: xtribas

arararagi

Senior Member
Jan 13, 2013
474
689
0
20130429 uploaded. Still no changes from me.
I'm thinking of adding an accelerometer spoofer since I'm sick of apps being smart and rotating themselves when I'm uesing my phone on protrait lying in bed.
 
  • Like
Reactions: peter_altherr