- 06-10-2012, 12:28 PM
Thread Author #1
[ROM+Kernel] MiRaGe-CM7.2-IHO (04152013)
I have been building LG Optimus V ROMs from the / repo and sharing my builds with the community in the IHO thread since some time. Besides the geek satisfaction, I build for removing some extras and customize for performance. Following the original IHO thread has become too difficult due to its enormous size and simultaneous discussion of many other builds. This thread is for sharing what I build for myself with the community, a place for receiving feedback, posting changes for my builds, and returning at least some of what I received from this community.
Please thank/donate to CM project, and especially the IHO developers, Blarf, Bob, Jerry, LeslieAnn, tdm, thekraven, and many others.
I prefer MiRaGe to be a barebones/basic ROM closely following CyanogenMod. The changes below are only aimed at enhancing the performance, fixing bugs, and slight touches on the interface without diverging from the original.
The followings are added:
- Custom MiRaGe kernel compiled with gcc-4.6 linaro toolchain using -O2 optimization
- ICS fonts for system and lockscreen clock,
- ICS style battery, signal, wifi, sdcard, data icons for statusbar,
- ICS icons for the power widgets, menu, and settings,
- transparent notification background,
- Android boot logo
- Cyanbread_light: a tiny theme to replace the orange highlights with cyan/blue that matches with the recent Google Play apps (included in the ROM) (source code is )
- Unique bluetooth MAC addresses. Source code here
- Baseband version in About Phone screen. Source code
- Bluetooth volume settings are not limited by voice dialer. Source code here
- AGPS patch for better accuracy. Available
- Optional stock Android 2.3.5 Launcher2 available
- in the kernel which has less overhead for the system and more suitable for flash memory
- for quicker user interface and better efficiency
- Read-copy update (RCU) synchronization mechanism which improves scalability by allowing readers to execute concurrently with writers and reduces the system overhead.
- Many bug/security fixes for ext2, ext3, ext4, fat, mmc file systems, sound system, block layer, bluetooth, networking, and ARM architecture backported from .
- instead of inaccurate MD4 in the kernel.
- Backport staging android drivers and ashmem from lge msm7x27 kernel
- Sluggish accelerometer problem is fixed in the kernel with updated sensor drivers from the 2.6.35.9 lge msm7x27 kernel drivers
- Improved Compass accuracy and response time with updated sensor drivers from the 2.6.35.9 lge msm7x27 kernel drivers
- Backported the updates and fixes in mach-msm/qdsp5 code from the 2.6.35.9 lge msm7x27 kernel to resolve phone freezing while playing music with Google Play Music app.
- Updated the interactive CPU governor with the latest version and removed smartass and interactiveX governors that were derivatives of the old interactive governor in addition to userspace and powersave governors that are more suitable for desktop systems.
- Added as the default memory allocator
- use optimized strnlen, strncpy, and crc32 functions in ARM (thanks to faux123)
- added support in the kernel and dalvik-vm (reverted in 07302012 build for now)
- default to hardware EGL libraries (adreno200) instead of using generic android EGL libraries (thanks to leolawliet)
- kernel patched to
- swtiched to Koush's Superuser
- updated to the latest CM bootanimation
The followings are removed: extra themes, CMwallpaper, FM radio, large ring tones, CM services, development app, and all languages except English(US) and Spanish.
Changelog for CM and MiRaGe kernel:
Detailed list of CyanogenMod 7 changes are
Complete list of my changes on the IHO kernel are
Downloads:
. MD5sum: 0ae22b7bdb030a35f86989457f294391
. MD5sum: ad7619681787ec363832618c07989032 (for VM670 on Verizon network) (read first regarding OV with VZW)
. MD5sum: fb8cbb5c7a02b6d1ee90eeac769e939b (for LS670 on Sprint network)
. MD5sum: d8cd3b0ead9d37789c916cebbb0e2214
For service providers other than VM, you can flash one of the VM670_VZW or LS670 conversion patches (not both) after flashing the VM670 build. If you are just upgrading from the previous MiRaGe by wiping only cache/dalvik-cache, you can flash either patch right after ROM without rebooting. Otherwise, booting once before flashing the patch is necessary after /system wipe.
GAPPS is not included. You can download it at the following link. Choose the package for CM7 (Android 2.3.7) (20110828).
Please see , stickies in this forum, and "Suggestions & Recommendations" section in the third post in this thread before asking questions.
Copying:
You can use my builds without my permission for derivatives/ports to distribute as long as proper credits given. Source is open and I have links above to all of the source code changes I have made on Android and kernel code. You can use the source code without any permission.Last edited by mrg666; 05-13-2013 at 06:07 PM.
Thanked by 94:+ Show/Hide list of the thanked -
A-android-B, adamhos, AndyOpie150, Anonymo, anthonycr, b.roid, badblue1__, Badboytoast, bdg49089, bigrickie77, BobZhome, clodfelterac, Conrail16, crickie, curtis1973, daffy_duck_nj, Dannemand, DarthCodan, dbacon84, Deal Trees, demoport, dennyc23, diecastdonkey, DizzmalDan420, duffieldj1, economichitman, Elias1724, Encerspay45, favelarx, flapjack.fiasco, glarepate, HOD1234, HurrrDurrrDURP, inceyet, indieguy76, irish-68, java007, jawz101, jerrykid, johnh02, jonny5449, jru, kalaniboy, kenharkey7, Kiernon, laceous, LeoLawliet, LeslieAnn, liebezeit, MarkD426, Master Gowa, MISRy, mlson, morenoa48, mustafu, Nathanos, norwoodsteel, O13, obh_online, pandulce1, patkrepp, pbailey212, poetichustlah, QuinnSF, r00t, rat_t, Raul720, reaper420, rebel69ization, Revenant Ghost, riggerman, Ronin Wolf, RyanJKremer, Ryuk6666, Schlidel, scotti1111, sellers86, shawne11, shockdude, skeeterfood, Sneaky_1, speakxj7, t3kHe4d, Teh_Gaberz, terthii, ThatGuyLurkin, thewraith420, tli, tunajelly, vm_760, Whyzor, yaconsult, zedorda, zoidberg_md
- 06-10-2012, 12:29 PM
Thread Author #2
Last edited by mrg666; 07-18-2012 at 07:30 PM.
Thanked by 12:+ Show/Hide list of the thanked
- 06-10-2012, 12:30 PM
Thread Author #3
Re: [ROM+Kernel] MiRaGe-CM7.2-IHO
Suggestions & Recommendations:
- is recommended. Learn how to use it and you will be rewarded. I have never had any kind of insufficient space problem with Link2SD. However, as soon as we root our phones and flash a custom ROM, we are now on the other side on our own. You will need to figure out how to find your way around and there are many different ways. Please find the good practices and methods that work for you and don't clutter the thread with insufficient space problems.
I use link2sd with 60 apps and it takes at most 5 minutes to update the ROM with the following way.
- copy the new zip to SDcard and boot into recovery
- wipe cache and dalvik-cache
- flash ROM
- reboot
- wait for link2sd warning for missing mount scripts
- run link2sd and recreate mount scripts (if you touch the link2sd notification from the pull down, link2sd will automatically open with mount scripts dialog)
- reboot
- run link2sd
-- relink dalvik-cache files
-- relink library files
- done!
And no application reinstalls necessary. There are many tricks/mods to link /data to the sdcard. Whatever method we choose, there will be disadvantages and problems since OV does not have large internal storage as the other high-end phones do. The best practice is to sticking with one of the methods (I use and recommend Link2SD) and learning to deal with it. I don't want to use a method that is making the ROM dependent on the sdcard since not everybody has a large sdcard. Also, sdcards exhibit extremely wide variation of reliability and performance, mostly inferior to internal storage. If I link /data to sdext by default, people will be bringing here many complaints due to sdcard performance and failure. For my sanity, I will avoid that.
Additionally, if you have missing apps with Link2sd after the first boot following a ROM update, please check this post.
- is recommended instead of default Gallery3D in the ROM. I will still keep Gallery3D in the ROM but you can just open the ROM zip file (don't unzip to your disk) with your archive manager (e.g. 7zip in Windows or file-roller in Ubuntu). Go to /system/app and delete Gallery3D.apk before flashing ROM. This is what I do. You don't need to reinstall Quickpic after your ROM updates unless you do a clean wipe.
- If you want an ICS theme, I recommend . I must warn that there is some performance and battery life penalty that goes with such heavy themes. If you also want ICS icons in your launcher, I suggest .
- The battery consumption is ~1.5% per hour on my OV running MiRaGe when I leave it over the night with data, wifi, location updates, email/calendar sync on and 0% TWS (see the screenshot below). Every phone is configured and used differently and the signal is different in different locations. If you have battery problems, it is not because of the ROM. Again, please don't clutter the thread with battery life problems.

- I don't recommend the Google Play Music app on the Market. The default Music app in the ROM works excellent without the heavy load on the system.
- My cpu settings that give me the best battery life is as follows. I recommend and use interactive governor which is a well-tested cpu governor developed by Google for Android. Just use the updated interactive governor in the latest kernel and choose the minimum CPU frequency as 122. This configuration gives better battery life and does not cause any extra lag. The smartass and interactiveX governors are derivatives of the interactive governor and I don't see any advantage of them over the default interactive governor. I will be removing those governors from the kernel for reducing the kernel size and eliminate unnecessary/idle code. Regarding the maximum CPU frequency, you need to find the maximum stable value by testing. 806 MHz is the maximum recommended value since anything higher increases heat and battery consumption considerably.
- Please check the followings before reporting WiFi problems. Nobody is making popcorn in the microwave, your neighbor or your kids are not hogging the WiFi watching Youtube or Netflix, your router is not a cheap junk, the fridge is not running near the router, your network provider is not having problems, the cat is not sleeping on the warmth of the router, the dog has not tipped the router's antennas, you are not trying to connect to your neighbor's WiFi ...
- If headphone is plugged in and unplugged before starting the camera app, camera records video without sound. There are ways to resolve this temporarily. If you do a quick reboot in Links2SD (it takes 15-20 seconds) camera records video with sound after that. If you disable the shutter sound in camera, this problem does not happen. Lastly, if you take a picture before recording video, the video is recorded with sound normally. I am looking into this and will post here when I can find a permanent solution.
- See this post about auto brightness issues.Last edited by mrg666; 11-15-2012 at 01:22 PM.
Thanked by 20:+ Show/Hide list of the thanked
- 06-10-2012, 01:04 PM #4
First
Truly the most fast, stable, cm7 Rom for the OV!! Thanks
Sent from my LG-VM670 using Tapatalk 2Last edited by Badboytoast; 11-14-2012 at 10:09 AM.
IF I Help You In Any Way Please Push The Thanks Button [HL]It Feels Good To Know You Helped!![/HL]
Thanked by 3: - 06-10-2012, 01:07 PM #5
Woot! Easier to find updates now.

Keep it up!
Sent from my LG-VM670 using Tapatalk 2 - 06-10-2012, 01:14 PM #6
Re: [ROM+Kernel] MiRaGe-CM7.2-IHO
Yeah the IHO thread is hard to follow. By the way I'm working on a new governor it is based of both SmartassV2 and Conservative. My hope is that it offer the battery saving of Conservative and the performance of SmartassV2.
- 06-10-2012, 01:21 PM #7
- 06-10-2012, 01:34 PM #8
- 06-10-2012, 02:19 PM
Thread Author #9
Re: [ROM+Kernel] MiRaGe-CM7.2-IHO
Thanks, I have been planning to start this thread since a long time. I have finally found enough motivation probably due to questions in the IHO thread if I was also quitting the ROM development. I don't have any plans to replace my OV yet. I will be updating the ROM as long as I keep it (actually them, we have three at home).
Thanked by 15:+ Show/Hide list of the thanked
- 06-10-2012, 03:23 PM #10
- 06-10-2012, 03:33 PM #11
this rom has all the latest fixes. awesome work. i know backside is the only one with the editable status bar dropdown menu background,would it be possible to add that tweak to mirage via flash or whatever? its not a necessary function just a theme extra.
Sent from my LG-VM670 using Android Central ForumsThanked by 2: - 06-10-2012, 03:33 PM #12
- 06-10-2012, 04:24 PM #13
- 06-10-2012, 04:56 PM
Thread Author #14
- 06-10-2012, 05:00 PM #15
- 06-10-2012, 05:04 PM
Thread Author #16
Re: [ROM+Kernel] MiRaGe-CM7.2-IHO
I don't like the transparent status bar since Gingerbread has not been designed with that in mind. Some applications look really odd, the text in the status bar becomes unreadable with some applications. Also there were many questions in the IHO thread about the status bar transparency. Plus it is a very intrusive mod together with center clock. Such modifications create difficulty keeping the codebase in sync with CM. I would rather not have it instead of dealing with them. I have always kept MiRaGe lean and simple, I want to keep it that way.
Thanked by 5: - 06-10-2012, 05:10 PM #17
- 06-10-2012, 05:11 PM #18
Re: [ROM+Kernel] MiRaGe-CM7.2-IHO
I know each phone is a little different but what overclock settings do you recommend (if any)?
I've been using 480,768 with the SMARTASSV2 governor since it has worked pretty good but just wondering what you personally use. Maps has been causing reboots lately. - 06-10-2012, 05:13 PM
Thread Author #19
Thanked by 2: - 06-10-2012, 05:14 PM #20
- 06-10-2012, 05:15 PM
Thread Author #21
- 06-10-2012, 05:28 PM #22
- 06-10-2012, 05:34 PM
Thread Author #23
Thanked by: - 06-10-2012, 05:37 PM #24
- 06-10-2012, 05:42 PM
Thread Author #25



Reply




































