CM Unofficial cm11 based on M1cha kernel

Discussion in 'Xiaomi Mi 2 / Mi 2S' started by Torro Rosso, Feb 1, 2014.

  1. Torro Rosso

    Oct 2, 2013
    35
    33
    38
    In this thread I want to share my work with you..
    This is a rom, compiled with Linaro gcc 4.7.4 toolchain.
    It`s based on latest M1cha source codes (kernel, device tree, proprietary) and latest cm source.
    I hope what you will test it and try!
    Also, I need your help, I don`t know, how to fix linaro gcc 4.8 compilation, and how to apply better optimisations( I mean, for example in this rom http://forum.xda-developers.com/showthread.php?t=2359249, i don`t know, what is -O 3 optimizations, what is CFLAG, what is Linaro bionic)
    I will be very glad, if someone gives me any advice for new features for optimising!)

    Lots of thanks to M1cha and Linuxx users! Thank you!
    You can download my work at dropbox
     
  2. O3 is a higher optimization level but according to linus torvalds it's too aggressive and could break things.
    But some custom kernels still use it. Dunno who is right :D
     
  3. siropchik

    siropchikMembers

    Nov 14, 2013
    160
    53
    38
    Male
    I think it's not bad :)
    TorroRosso, thx for your great work!
    I think linaro 4.8 optimization it's good idea. We need your help :)
     
  4. doomedahab

    doomedahabMembers

    Sep 21, 2013
    105
    18
    28
    Male
    Rom feels glassy smooth! But I fear battery life is pretty bad.
     
  5. stillka

    stillkaMembers

    Aug 31, 2011
    139
    62
    50
    great, just downloading...
     
  6. paulrlz

    paulrlzMembers

    Nov 23, 2013
    584
    167
    80
    Male
    i hope in linaro for battery life! Thanx alot torro rosso!
     
  7. doomedahab

    doomedahabMembers

    Sep 21, 2013
    105
    18
    28
    Male
    #7doomedahab,Feb 2, 2014
    Last edited: Feb 2, 2014
    Today I got 10,5 hrs with 3,5 hrs screen time. I had 10% battery life left when I plugged in the charger. That is not very good battery life but on the other hand, the performance is just great. No lag anywhere.
     
  8. nordon07

    nordon07Members

    Jun 16, 2013
    84
    13
    20
    Male
    Just tried it, everything works just fine
    Great work from you Torro Rosso, Thanks buddy
     
  9. paulrlz

    paulrlzMembers

    Nov 23, 2013
    584
    167
    80
    Male
    @doomedahab do you have any wakeloks? you configured the governor? Anyway, hoping that Torro rosso continues to improve it with varius flag optimizations :)
     
  10. doomedahab

    doomedahabMembers

    Sep 21, 2013
    105
    18
    28
    Male
    Yes: Suspend backoff for 2.5 Hrs since 8.00 this morning. That seems to be the problem for the battery performance.

    I did not touch the governor settings.
     
  11. Torro Rosso

    Oct 2, 2013
    35
    33
    38
    Hi to all! I tried to compile an optimised rom all this time, with the different -O cflags, the best i can build is -O3 gcc4.7
    the gcc4.7 from linaro crashing the compilation process each time.. I need to find out, why.. By the way, i found the fixes for kernel gcc4.8 compilation, and build the zImage, but it`s not run((
    All this is very sad, i think it`s two ways to made a 4.8`-compiled rom.. 1)Compile a different rom - like sabermod, but 4.3.. 2)find the fixes for cm11
    Listen people, I really need your help, especially the guys, who have a good expepiance with rom/kernel compilation..
     
    MSephiroth likes this.
  12. paulrlz

    paulrlzMembers

    Nov 23, 2013
    584
    167
    80
    Male
    omg!! Saber mod! Do it pls! :Q__
     
  13. manohar

    manoharMembers

    Jun 6, 2013
    904
    243
    80
    Male
    @Torro Rosso; what kind of help you are looking at bro ?
    If you need beta tester, count me in. or anything else if possible i will do it. Just shoot at me.
    I am listening !
     
  14. manohar

    manoharMembers

    Jun 6, 2013
    904
    243
    80
    Male
    Hi Torro Rosso, i have signature verification error in ur file...
    It fails to install in CWM recovery. Any idea or anyone encountered this problem ?
     
  15. manohar

    manoharMembers

    Jun 6, 2013
    904
    243
    80
    Male
    Bro, your File uloaded in dropbox has signature error.
    It is not working for me...
    Help me
     
  16. Torro Rosso

    Oct 2, 2013
    35
    33
    38
  17. manohar

    manoharMembers

    Jun 6, 2013
    904
    243
    80
    Male
    CWM latest by M1cha....
     
  18. Torro Rosso

    Oct 2, 2013
    35
    33
    38
    I made it, guys... Rom compiled with sabermod gcc 4.8 cflags is -Ofast (better than -O3)
    For now, the kernel is problem.. Try to fix..
     
    MSephiroth and TiKaZz like this.
  19. Torro Rosso

    Oct 2, 2013
    35
    33
    38
    I`ve fixed the kernel))) Works good) but want to try different cflags)
     
  20. paulrlz

    paulrlzMembers

    Nov 23, 2013
    584
    167
    80
    Male
    Pls share it *-*

    Inviato dal mio MI 2S utilizzando Tapatalk
     
    TiKaZz likes this.
  21. Torro Rosso

    Oct 2, 2013
    35
    33
    38

    Attached Files:

    vivalasven and MSephiroth like this.
  22. Gooners

    GoonersMembers

    Aug 4, 2013
    60
    9
    18
    Male
    Will try this right after doing squats.. :)
     
  23. paulrlz

    paulrlzMembers

    Nov 23, 2013
    584
    167
    80
    Male
    Downloading!:)

    Inviato dal mio MI 2S utilizzando Tapatalk
     
  24. Torro Rosso

    Oct 2, 2013
    35
    33
    38
    there is a little problem: The Art runtime isn`t work, will try to solve(
     

Share Our Site