[ROM][KANG³][CM9][UNOFFICIAL] Linaro Optimized Droid Incredible CM9 ROM

Search This thread

mamarley

Senior Member
Mar 27, 2011
398
105
Mamarley, good to see you still around.

Haven't seen invisiblek or your updates lately.

Are you guys still working on CM9?
Or have you moved on?

Thanks, a fan of your work.

Sent from my ADR6300 using xda premium

I don't know what invisiblek is doing anymore, but I have pretty much stopped working on this ROM (or any ROM, for that matter). College started back up, which reduced the amount of free time I have by about 120%. Most of the optimizations I did are already in stock Jellybean, so once the graphics driver becomes mature I would recommend switching to the unofficial CM10 nightlies being compiled by some XDA user whose name I cannot currently recall.
 

zachf714

Senior Member
Jun 4, 2012
3,596
984
Mooresville
I don't know what invisiblek is doing anymore, but I have pretty much stopped working on this ROM (or any ROM, for that matter). College started back up, which reduced the amount of free time I have by about 120%. Most of the optimizations I did are already in stock Jellybean, so once the graphics driver becomes mature I would recommend switching to the unofficial CM10 nightlies being compiled by some XDA user whose name I cannot currently recall.

Pons and Zimeron

Sent from my ADR6300 using xda app-developers app
 

thevoiceless

Senior Member
Mar 21, 2010
241
15
Had the Navigation freezing issue again yesterday, so I guess it doesn't matter what kernel I use. Is there some way I can troubleshoot this? Since I have to do a battery pull when it happens, last_kmsg isn't much help.
 

tiny4579

Inactive Recognized Developer
Jan 15, 2011
9,327
5,060
Had the Navigation freezing issue again yesterday, so I guess it doesn't matter what kernel I use. Is there some way I can troubleshoot this? Since I have to do a battery pull when it happens, last_kmsg isn't much help.
How long do you wait for it to reboot? Does it reboot within a couple minutes? It should auto reboot after a kernel panic if the navigation causes it. if the phone freezes due to being pegged it should clear on its own. If it clears then a logcat would be good.
 

thevoiceless

Senior Member
Mar 21, 2010
241
15
How long do you wait for it to reboot? Does it reboot within a couple minutes? It should auto reboot after a kernel panic if the navigation causes it. if the phone freezes due to being pegged it should clear on its own. If it clears then a logcat would be good.

I'll have to try it sometime when I know where I'm going, or when I can stop for a little while. I usually don't wait more than a minute or so, since I don't want to get lost.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    Because the CyanogenMod developers decided not to switch to the Linaro toolchain, I decided that I would do it myself. This ROM is very similar to invisiblek's nightlies, but has a few more patches from the CyanogenMod queue applied and other changes made to enable building with GCC 4.7 and -O3. I will try to put up a new build at least once every few days if there is much being merged into the CM9 tree.

    The main benefit of using the Linaro optimized ROM is that the UI is faster and snappier. Some applications (especially heavy ones like Google Play) are noticeably less laggy. Also, you get higher benchmark scores. (Yay!)

    My kernel is included as the stock kernel in this ROM.

    As always, if you are in any doubt whatsoever, you should do a Nandroid backup before flashing this ROM.

    Changelog:

    8/15/2012
    • No changes from me; just updates from the CM repo

    8/12/2012
    • Revert the patch increasing the number of cached app pages, as this used more memory and made the launcher homescreens lag

    8/10/2012
    • No changes from me; just updates from the CM repo

    8/7/2012
    • Remove the ext4 sdcard patch because it was causing multiple regressions in handling the sdcard, even though it was still fat32

    8/6/2012
    • Apply patch (http://review.cyanogenmod.com/#/c/20061/) to remove videos intended only for the tuna device
    • Attempt to workaround the lag issues by making the browser kill itself when the last tab is closed

    8/3/2012

    7/31/2012
    • Update to the Linaro 2012.7 toolchain
    • Compile the kernel with "-O3 -fno-tree-vectorization"

    7/22/2012
    • Add TCP MSS iptables filter to the kernel as it seems to be used during tethering
    • Add the Linaro string processing optimizations to the ROM

    7/21/2012
    • Include my "Lite" kernel with the ROM
    • Update to a new, unreleased-as-of-yet version of my kernel with more optimizations


    7/16/2012

    7/10/2012

    7/8/2012
    • Apply Evan McClain's libskia update (fixes the blacked-out JPEG issue)
    • Fix some media players like MX Player (an instruction was missing because it was optimized out by O3)
    • Apply more optimization flags

    6/27/2012
    • Initial release
    • Apply CM9 patches to fix compile failures with GCC 4.7 and enable O3 optimizations
    • Switch to libjpeg-turbo
    • Disable scrolling cache (increases scrolling smoothness for non-hardware-accelerated listviews)

    Issues (specific to the Linaro optimized version):
    • Turning off Bluetooth causes the Phone app to crash. It restarts immediately, so there are no long-term effects.
    • Bluetooth file transfer (OPP) does not work. The Linaro team experiences this bug too and is currently looking for a solution. I will update as soon as a solution is found.

    You can download the source I use to compile this ROM by following these instructions: https://github.com/invisiblek/android_device_htc_inc/blob/ics/README.md

    Compiling Instructions:
    These compiling instructions are for Linux. They should work on any distro, but I am using the latest release of (K)ubuntu.

    1. Follow all of the instructions from the source link above except for the last one. This will download the source tree and get you set up to build.
    2. Assuming you are already in the root directory of your source tree ("~/cm9" if you followed the above instructions), run the following commands in the terminal. Some of the git pulls will display a text editor screen. When you get this, just press Ctrl-O, Enter, and finally Ctrl-X.
      Code:
      cd external/skia
      git pull http://review.cyanogenmod.com/CyanogenMod/android_external_skia refs/changes/85/14585/1
      git pull http://review.cyanogenmod.com/CyanogenMod/android_external_skia refs/changes/86/14586/1
      git pull http://review.cyanogenmod.com/CyanogenMod/android_external_skia refs/changes/87/14587/1
      git pull http://review.cyanogenmod.com/CyanogenMod/android_external_skia refs/changes/88/14588/1
      git commit -a
      git pull http://review.cyanogenmod.com/CyanogenMod/android_external_skia refs/changes/89/14589/1
      git pull http://review.cyanogenmod.com/CyanogenMod/android_external_skia refs/changes/10/15810/1
      cd ../webkit
      git pull http://review.cyanogenmod.com/CyanogenMod/android_external_webkit refs/changes/90/14590/1
      git pull http://review.cyanogenmod.com/CyanogenMod/android_external_webkit refs/changes/91/14591/1
      cd ../../frameworks/base
      git pull http://review.cyanogenmod.com/CyanogenMod/android_frameworks_base refs/changes/92/14592/1
      git pull http://review.cyanogenmod.com/CyanogenMod/android_frameworks_base refs/changes/80/17380/2
      cd ../../external/freetype
      git pull http://review.cyanogenmod.com/CyanogenMod/android_external_freetype refs/changes/54/12654/2
      cd ../../build
      git pull http://review.cyanogenmod.com/CyanogenMod/android_build refs/changes/58/17358/4
    3. Follow the instructions here to replace your libjpeg with libjpeg-turbo.
    4. Open the file ~/cm9/frameworks/base/core/java/android/widget/AbsListView.java in your favorite text editor. Go to line 753 and change it to read "setScrollingCacheEnabled(false);".
    5. Open the file ~/cm9/bionic/libc/arch-arm/bionic/libgcc_compat.c in your favorite text editor. Go to line 114 and insert two new lines reading "XX(__aeabi_llsl) \" and "XX(__aeabi_llsr) \" below it.
    6. Open the file ~/cm9/build/core/config.mk in your favorite text editor. Go to line 91 and change it to read "COMMON_GLOBAL_CFLAGS:= -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Wno-error=strict-aliasing -Wno-error=enum-compare". Go to line 312 and change it to read "TARGET_GLOBAL_CFLAGS += $(COMMON_GLOBAL_CFLAGS) -march=armv7-a -mcpu=cortex-a8 -mtune=cortex-a8". Go to line 315 and change it to read "TARGET_GLOBAL_CPPFLAGS += $(COMMON_GLOBAL_CPPFLAGS) -march=armv7-a -mcpu=cortex-a8 -mtune=cortex-a8".
    7. Open the file ~/cm9/build/core/combo/TARGET_linux-arm.mk in your favorite text editor. Go to line 47 and change it to read "prebuilt/$(HOST_PREBUILT_TAG)/toolchain/linaro-4.7.1/bin/arm-linux-androideabi-". Go to line 149 and change it to read "TARGET_GLOBAL_CPPFLAGS += -fvisibility-inlines-hidden".
    8. Download this file and unzip it to ~/cm9/prebuilt/linux-x86/toolchain/linaro-4.7.1
    9. You are finally ready to build! Open a terminal to the ~/cm9 directory, then run ". build/envsetup.sh" and "brunch inc". This will take a long time.
    3
    I don't know whether it's something in the ROM or in the kernel, but this is the first install of ICS that I've had where unplugging from the charger doesn't cause the screen to automatically come back on. I like that, as that little quirk had been annoying on every other ICS install that I've used (and I've used most of them). So thank you, mamarley, good stuff!

    I turned it off in the overlay configuration. I didn't like that "feature" either.
    3
    I just posted a new update with a few more optimizations and all the latest changes from CM merged in.
    2
    Can i flash this over invisiblek's Cm9 nightlies?

    Or do i have to do a full wipe?

    I have all my apps and everything just the way i want it.. I really dont wanna wipe.

    You can flash over.

    I have been flashing over since the CM7 days and have never had any problems. I even flashed the CM9 ROM right on top of the CM7 ROM and only had to clear the data for 2 apps to get everything working again.
    2
    I agree! CM9 has the option for having weather on the lockscreen. Why not SMS? I liked being able to just turn on my phone and see the new texts without having to open up anything. I suppose I could get Widgetlocker and try to add an SMS widget, but I'm afraid it's going to start slowing down my phone.

    I found one ROM called Gummy that has a SMS preview in on the Lockscreen. Is there any way this could be added to our ROM?

    Here's the link to the article explaining it (about halfway down is the SMS Preview feature): https://docs.google.com/document/d/...A7KGTcEvKMjaFWSIA/edit#heading=h.40lqha9kitme

    Guys..the CM team has spent most of their time on ICS just getting it to run. The features are coming next, so be patient! Hopefully we can get JB to run ('m sure the guys over at evervolv can do it), because I have a feeling JB is gonna be where all the CM features are at. These guys do all this great work for free, so just be patient and thankful!