{Ray}[DEV][KitKat 4.4.4][CM11.0] LegacyXperia

Status
Not open for further replies.
Search This thread

mikeioannina

Recognized Developer
Mar 22, 2011
1,969
27,129
Ioannina
Lenovo P2
Xiaomi Mi Mix 2
eiOWgKr.png


Code:
[COLOR="Purple"]#include <std_disclaimer.h>[/COLOR]
[COLOR="Navy"]/*
 * 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.
 */[/COLOR]

This is an unofficial build of CM11.0.
This is an attempt to stay close to official cm11.0 and not make crazy hacks to make things working.

This is a pure CM build, only contains official CM features. I will not add any other external feature/app/etc.


For an up-to date working/not working list, bug tracker, useful guides & FAQ, visit our website:
http://legacyxperia.github.io


WARNING: This ROM uses a modified internal memory layout.
Our /system partition is originally 400MB but this space is not enough for a fluid kitkat experience and a full installation with proper google apps.
Our /cache partition is also too small to fit art-cache when we enable the ART runtime. We originally had 100MB /cache but art-cache needs ~150mb of free space.
I have repartitioned the internal memory layout, giving:
450mb in /system
469,5mb in /data
8mb in /cache

If you want to use this ROM you will always have to use the included kernel or use a kernel that includes the layour changes. Bug reports with non-standard kernels will be ignored.
You will have to wipe the device and make a clean install.
You cannot restore nandroid backups from previous android versions or restore nandroid backups from this ROM to other ROMs that don't use the new partition layout since you risk corrupting the data.
I suggest to use Titanium Backup, Helium or any other similar app to backup your data if you really need to.


Requirements:
* Have the stock ICS 4.1.B.0.587 full ftf flashed (doesn't matter if you have flashed it in the past or if you flash it before installing cm11.0, it will work both ways)
* LT15i (Arc) users need to flash LT18i (Arc S) ftf
* MT15i (Neo) users need to flash MT11i (Neo V) ftf

Steps required for correct installation (order is important):
1: Flash boot.img in fastboot & reboot into recovery
1.1 (optional): If the device is not booting, reboot to bootloader again and run:
fastboot erase system
fastboot erase userdata
2: Enter recovery, go to mounts and storage
3: Format /system, then /data and then /cache (Important step!)
4: Flash update zip
5: Flash gapps (recommended package is the one provided in the link below)

Steps 1.1, 2 & 3 are not needed when you install new cm11 nightlies on top of older cm11 builds in the future

If you want to return to a ROM that doesn't use the new partition layout, you need to follow the above steps again (only replace boot.img & update zip with the ones you want to use).

How to build:
[GUIDE][DEV] How I build my own CM11.0 test builds

Changelog:
Release/nightly changes

Working/Non-working list
CM11.0 with new kernel 3.4 status

Downloads:
https://s.basketbuild.com/devs/LegacyXperia
PLEASE DON'T MIRROR OUR UPLOADS

Recommended Google Apps:
Google Apps Minimal Edition

KCzv621.png


NOTE:
Following xda's rule #12 spirit: If you are developing something that is based on my work, you MUST first seek my permission, you must add my name in the credits and you must add links pointing to my original thread and to my github sources.
Breaking this rule will lead me to report the thread to the moderators.


NEW!!! BUG Tracker
If you want to help fixing those bugs, please report the bugs in the bug tracker. Thanks!
Logs are needed (logcat/dmesg/last_kmsg), not just "got FC" or "+1" useless replies.

XDA:DevDB Information
LegacyXperia, ROM for the Sony Ericsson Xperia Mini, Mini Pro, Active

Contributors
mikeioannina, nobodyAtall, pcfighter, Blefish
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Latest version of official ICS firmware: 4.1.B.0.587 or the latest supported baseband: 8x55A-AAABQOAZM-203028G-77
Based On: CyanogenMod

Version Information
Status: Beta
Current Beta Version: nightly 20140702
Beta Release Date: 2014-07-02

Created 2013-11-27
Last Updated 2014-09-06
 

Attachments

  • bootlogo.png
    bootlogo.png
    34.4 KB · Views: 11,203
  • homescreen.png
    homescreen.png
    167.9 KB · Views: 13,434
  • drawer.png
    drawer.png
    155.9 KB · Views: 13,322
  • qs.png
    qs.png
    32.8 KB · Views: 12,049
  • pin.png
    pin.png
    143.3 KB · Views: 11,684
  • m4B9qby.png
    m4B9qby.png
    43.3 KB · Views: 9,903
  • dNEA7t1.png
    dNEA7t1.png
    32 KB · Views: 13,481

ApriliaM3

Retired Senior Moderator
Feb 5, 2012
8,483
18,406
Bangkok
The OP has requested Developer Discussion Only here guys, so the non-Dev posts have been removed.
Please follow the rules and the request of the OP because I don't want to keep returning here to cleanup.
Thanks
 

z75h

Senior Member
Apr 4, 2009
54
18
I think we don't need to care about how many RAM did the system use, but the apps.
So ART is the most thing that interest me.
 

matgras

Senior Member
Jun 2, 2012
2,229
318

cajhin

Senior Member
Jan 5, 2006
208
176
My notes after playing with it for a while...

For a first alpha, it is very good; much better than the first 10.2 or 10.1.
It feels a bit faster, even after all apps are installed; side by side with a 10.2, the difference is small but on average apps open/close faster.

Ram: about 30-50MB more is shown as free. A similar effect can be had by installing KK gapps on 10.2. The homescreen reloads less often than 10.2.
Max memory available to an app is ±the same, 220MB.

Didn't try Art as noone has it working.

I'll wait a while until I put it on my daily driver. Give some time to cyanogenmod, to Mike, and last but not least, to app developers.
(I'd probably do it right now, if I didn't have the luxury of a test Ray. I love the smell of brand new roms :)

Some issues on top of the known 10.2 issues that I encountered:
- a couple of random battery killers (so far, I had two wakelocks, and cLock kept the GPS turned on while the device was off)
- Android browser (and any app that uses it, like my newsreader) is very very slow. Opera too. Chrome runs like on 10.2
- a couple of glitches here and there, stuff like:
..- "reboot to recovery" hangs, and the home button workaround no longer works
..- unlocking and turning off the screen causes Bluetooth music stutters.
..- sth spams the logcat with "D/AudioTrack( 241): latency() mLatency = 490, newLatency = 490"
- the google launcher is a bit too simple compared to Trebuchet

Again, for a first alpha, those are nice problems to have. I have high hopes for the future of this rom.

Yeah, and we're all really really lucky that we have a dev like Mike. He does a L.O.T. of work for us; and he works in an organized and professional manner, otherwise he couldn't keep all these releases under control. I think the rollout of your KitKat roms went really smooth. Hats off to you, Sir.
 
Last edited:

jafarm

Senior Member
Sep 14, 2013
71
15
i really like this rom and kitkat. it is vry advanced for a first time build. stable too :D:D:D

but the battery is a problem. i went to sleep at 12, at that time battery was 98%. and woke up at 9, at that time 44%. (brightness-minimum, wifi-off, evrythng off) but in battery stats, it shows it was always awake. :(:eek::(:eek:
 

Dilesh Perera

Senior Member
May 26, 2012
1,802
943
Colombo
Xiaomi Poco F1
Xiaomi Poco F3
really impressive. stable. one thing i cannot find is the options where we can change the appearance of status bar with batter percentage. clock AM/PM etc. its not available. Wifi works for me without any issue. have reboot phone many times and every time wifi connected as soon as boot up. system partition got almost full . but i have remove unwanted stuff and freed now have 90mb + battery is ok without any unusual drain. but i haven't fully charged it till 100.

attached some pics for reference :)
 

Attachments

  • Screenshot_2013-11-29-10-02-30.png
    Screenshot_2013-11-29-10-02-30.png
    77.3 KB · Views: 1,392
  • Screenshot_2013-11-28-22-09-41.png
    Screenshot_2013-11-28-22-09-41.png
    139.1 KB · Views: 1,298
  • Screenshot_2013-11-28-22-08-03.png
    Screenshot_2013-11-28-22-08-03.png
    136 KB · Views: 1,224
  • Screenshot_2013-11-28-22-06-08.png
    Screenshot_2013-11-28-22-06-08.png
    86 KB · Views: 1,097

Langes

Senior Member
Sep 23, 2012
1,713
2,731
51
Sweet Spot
really impressive. stable. one thing i cannot find is the options where we can change the appearance of status bar with batter percentage. clock AM/PM etc. its not available. Wifi works for me without any issue. have reboot phone many times and every time wifi connected as soon as boot up. system partition got almost full . but i have remove unwanted stuff and freed now have 90mb + battery is ok without any unusual drain. but i haven't fully charged it till 100.

attached some pics for reference :)

I suspect that the charging stops at 100%
Two nights in a row, leaving the phone on the charger and the next morning battery is less than 100% and not charging
 

cajhin

Senior Member
Jan 5, 2006
208
176
I suspect that the charging stops at 100%
Two nights in a row, leaving the phone on the charger and the next morning battery is less than 100% and not charging

If you look into kmsg, you'll see that charging cycles between 95% and 100% when the charger is connected long enough. I guess it's better for the battery.


[...]
1. appearance of status bar
2. clock AM/PM etc. its not available.
3. Wifi works for me without any issue.
4. system partition got almost full . but i have remove unwanted stuff and freed now have 90mb +

1. CM hasn't implemented that yet
2. settings > date&time > 24h format
3. Wifi is ok but not fixed, like the latest 10.2 builds. It still restarts in the background, and occasionally the connection drops
4. why do you want free space in /system ? It's wasted because nothing writes to /system - or am I wrong here?
 
Last edited:

nedunilavan

Senior Member
Nov 22, 2012
162
58
29
KL
I flashed this ROM only to try the flavour of kit-kat because I always use ICS based ROMs as daily ROM which always includes some great Walkman and Cybershot mods.

But I really feel that its a good time to change to this KK CM11 ROM.

This ROM is just awesome with the 1st build itself.

Thanks for this great development... bro

I will use this as my daily ROM because this ROM is full of potential.
 

Langes

Senior Member
Sep 23, 2012
1,713
2,731
51
Sweet Spot
If you look into kmsg, you'll see that charging cycles between 95% and 100% when the charger is connected long enough. I guess it's better for the battery.
That is the standard behavior (but the user will not see this as the charging indicator stays on).

On my phone the charging stopped completely. After disconnecting and re-connecting this morning, battery was at 92%

I'll investigate this further though and provide an update :)
 

dsgamer1224

Senior Member
Feb 21, 2011
59
5
Really like the rom, awesome the Ray may experience android 4.4.

Some thoughts:
The phone feels more responsive/faster than the last 4.3.1 build, even with all apps reinstalled.

Some bugs:
- When pressing the settings button while in app drawer 'wallpapers' 'widgets' and 'settings' can't be pressed (theyre behind the apps)
- Reboot doesn't work (hangs)
- ADB screen recording not working (also tried with custom resolution but to no avail)
- Settings are missing, i.e.: Buttons, Home screen and more.
- Browser very slow
- Wrong resolution when entering pin
- Echo when calling (repeating my words)
 
  • Like
Reactions: matgras

Langes

Senior Member
Sep 23, 2012
1,713
2,731
51
Sweet Spot
Really like the rom, awesome the Ray may experience android 4.4.

Some thoughts:
The phone feels more responsive/faster than the last 4.3.1 build, even with all apps reinstalled.

Some bugs:
- When pressing the settings button while in app drawer 'wallpapers' 'widgets' and 'settings' can't be pressed (theyre behind the apps)
- Reboot doesn't work (hangs)
- ADB screen recording not working (also tried with custom resolution but to no avail)
- Settings are missing, i.e.: Buttons, Home screen and more.
- Browser very slow
- Wrong resolution when entering pin
- Echo when calling (repeating my words)

Chrome works a lot better than the stock browser on CM11, scrolling freezes are almost completely gone.
 
  • Like
Reactions: sigma95
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 124
    eiOWgKr.png


    Code:
    [COLOR="Purple"]#include <std_disclaimer.h>[/COLOR]
    [COLOR="Navy"]/*
     * 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.
     */[/COLOR]

    This is an unofficial build of CM11.0.
    This is an attempt to stay close to official cm11.0 and not make crazy hacks to make things working.

    This is a pure CM build, only contains official CM features. I will not add any other external feature/app/etc.


    For an up-to date working/not working list, bug tracker, useful guides & FAQ, visit our website:
    http://legacyxperia.github.io


    WARNING: This ROM uses a modified internal memory layout.
    Our /system partition is originally 400MB but this space is not enough for a fluid kitkat experience and a full installation with proper google apps.
    Our /cache partition is also too small to fit art-cache when we enable the ART runtime. We originally had 100MB /cache but art-cache needs ~150mb of free space.
    I have repartitioned the internal memory layout, giving:
    450mb in /system
    469,5mb in /data
    8mb in /cache

    If you want to use this ROM you will always have to use the included kernel or use a kernel that includes the layour changes. Bug reports with non-standard kernels will be ignored.
    You will have to wipe the device and make a clean install.
    You cannot restore nandroid backups from previous android versions or restore nandroid backups from this ROM to other ROMs that don't use the new partition layout since you risk corrupting the data.
    I suggest to use Titanium Backup, Helium or any other similar app to backup your data if you really need to.


    Requirements:
    * Have the stock ICS 4.1.B.0.587 full ftf flashed (doesn't matter if you have flashed it in the past or if you flash it before installing cm11.0, it will work both ways)
    * LT15i (Arc) users need to flash LT18i (Arc S) ftf
    * MT15i (Neo) users need to flash MT11i (Neo V) ftf

    Steps required for correct installation (order is important):
    1: Flash boot.img in fastboot & reboot into recovery
    1.1 (optional): If the device is not booting, reboot to bootloader again and run:
    fastboot erase system
    fastboot erase userdata
    2: Enter recovery, go to mounts and storage
    3: Format /system, then /data and then /cache (Important step!)
    4: Flash update zip
    5: Flash gapps (recommended package is the one provided in the link below)

    Steps 1.1, 2 & 3 are not needed when you install new cm11 nightlies on top of older cm11 builds in the future

    If you want to return to a ROM that doesn't use the new partition layout, you need to follow the above steps again (only replace boot.img & update zip with the ones you want to use).

    How to build:
    [GUIDE][DEV] How I build my own CM11.0 test builds

    Changelog:
    Release/nightly changes

    Working/Non-working list
    CM11.0 with new kernel 3.4 status

    Downloads:
    https://s.basketbuild.com/devs/LegacyXperia
    PLEASE DON'T MIRROR OUR UPLOADS

    Recommended Google Apps:
    Google Apps Minimal Edition

    KCzv621.png


    NOTE:
    Following xda's rule #12 spirit: If you are developing something that is based on my work, you MUST first seek my permission, you must add my name in the credits and you must add links pointing to my original thread and to my github sources.
    Breaking this rule will lead me to report the thread to the moderators.


    NEW!!! BUG Tracker
    If you want to help fixing those bugs, please report the bugs in the bug tracker. Thanks!
    Logs are needed (logcat/dmesg/last_kmsg), not just "got FC" or "+1" useless replies.

    XDA:DevDB Information
    LegacyXperia, ROM for the Sony Ericsson Xperia Mini, Mini Pro, Active

    Contributors
    mikeioannina, nobodyAtall, pcfighter, Blefish
    ROM OS Version: 4.4.x KitKat
    ROM Kernel: Linux 3.4.x
    ROM Firmware Required: Latest version of official ICS firmware: 4.1.B.0.587 or the latest supported baseband: 8x55A-AAABQOAZM-203028G-77
    Based On: CyanogenMod

    Version Information
    Status: Beta
    Current Beta Version: nightly 20140702
    Beta Release Date: 2014-07-02

    Created 2013-11-27
    Last Updated 2014-09-06
    34
    ## Alpha build 20131127 - cm-11.0
    * Latest cm11.0 changes
    * Initial KitKat 4.4 build

    Builds will roll alphabetically for all devices until tomorrow

    Please do not spam the thread with "thanks" posts.
    Only use the thread for development discussion, anything else belongs to the Q&A thread.
    32
    New build coming - READ THE WHOLE POST

    ## Alpha 2 build 20131210 - cm-11.0
    * Latest cm11.0 changes
    * Updated to android 4.4.1
    * Repartitioned internal memory layout
    * Fixes:
    - Battery indicator alignment
    - PIN/PUK layout
    - Lockscreen clock layout
    - Camera flash in photo mode (urushi)
    - Music distortion on lock/unlock sounds
    - Disable back key on incoming call
    - Gesture typing
    * Many bugfixes from CM upstream
    * Many bugfixes/small features ported from cm10.1/cm10.2
    * Features:
    - APN Settings
    - Mass storage settings
    - DeskClock: Add increasing volume option for alarm clocks
    - DeskClock: Profile support
    - DeskClock: Add back user-defined world cities
    - "Clear all" button on recent apps
    - Hardware key settings
    - Lockscreen shortcut configuration
    - 2G/3G toggle
    - Circle battery
    - Battery with percentage
    - Noise suppression
    - Allow some customization in Launcher
    - Add cLock settings back to lockscreen settings
    - Allow configuration of wake on plug behavior
    - Allow configuration of country code for wifi
    - Display rotation settings
    - WhisperPush secure messaging
    * Temporarily disabled low ram config to enable 4.4 UI features
    * Disabled animated bootlogo to free some /boot partition space
    * Added all resolutions in camera
    * Enabled Performance Profiles
    * Enabled zRAM by default
    * Testing a SYM key change on mango & iyokan

    Builds will roll alphabetically for all devices until tomorrow
    Gapps package is also updated, please redownload it.


    WARNING: This update introduces a modified internal memory layout.
    Our /system partition is originally 400MB but this space is not enough for a fluid kitkat experience and a full installation with proper google apps.
    Our /cache partition is also too small to fit art-cache when we enable the ART runtime. We originally had 100MB /cache but art-cache needs ~150mb of free space.
    I have repartitioned the internal memory layout, giving:
    450mb in /system
    469,5mb in /data
    8mb in /cache

    dalvik-cache/art-cache is now stored in /data partition
    We still have to use the lite gapps that are provided in LX basketbuild folder.

    If you want to use this ROM you will always have to use the included kernel or use a kernel that includes the layour changes. Bug reports with non-standard kernels will be ignored.
    You will have to wipe the device and make a clean install.
    You cannot restore previous nandroid backups or restore nandroid backups from this ROM to other ROMs that don't use the new partition layout since you risk corrupting the data.
    I suggest to use Titanium Backup, Helium or any other similar app to backup your data if you really need to.


    A note to other devs that use LX as a base to their KitKat ROMs: If you decide to modify the partition layout, please use the same layout in your kernel so people will be able to backup/restore nandroid backups between 4.4 ROMs and they won't need to wipe the whole device when they switch between 4.4 ROMs.


    Requirements for the new partition layout:
    * Have the stock ICS 4.1.B.0.587 full ftf flashed (doesn't matter if you have flashed it in the past or if you flash it before installing cm11.0, it will work both ways)
    * LT15i (Arc) users need to flash LT18i (Arc S) ftf
    * MT15i (Neo) users need to flash MT11i (Neo V) ftf

    Steps required for correct installation (order is important):
    1: Flash boot.img in fastboot & reboot into recovery
    1.1 (optional): If the device is not booting, reboot to bootloader again and run:
    fastboot erase system
    fastboot erase userdata
    2: Enter recovery, go to mounts and storage
    3: Format /system, then /data and then /cache (Important step!)
    4: Flash update zip
    5: Flash gapps

    If you want to return to a ROM that doesn't use the new partition layout, you need to follow the above steps again (only replace boot.img & update zip with the ones you want to use).

    Only use the thread for development discussion, anything else belongs to the Q&A thread.
    29
    Thread closed

    Since people don't learn how to read, I can't handle this situation anymore.

    I come in the thread and instead of finding something useful, there are only the same posts repeated again and again, ignoring my posts and xda rules.

    Thread locked until further notice.
    29
    New build coming

    ## Nightly build 20140531 - cm-11.0
    * Latest cm11.0 changes
    * Fixed SystemUI crashes, lockups & soft reboots
    * Updated kitkat adreno GPU libs from Galaxy S3 (d2lte) (Tag AU_LINUX_ANDROID_KK_2.7_RB1.04.04.00.007.018)
    * Updated BFQ IO scheduler to v7r3
    * Fixed several kernel security vulnerabilities (CVE-2014-0196, CVE-2014-3145, CVE-2014-3144, CVE-2014-3122, CVE-2014-2851, CVE-2014-2523)
    * Bumped mic & speaker volumes to nAa kernel level
    * Make ION MM heap use CMA: makes ~26MB of RAM available to userspace when not used by video encoder/decoder
    * Make PMEM_ADSP heap use fmem: makes ~47MB on devices with 8MP camera or ~31MB on devices with 5MP camera available to userspace when not used by camcorder
    * Rebased kernel on top of latest CAF kk_2.7-stable changes
    * Testing fix for media storage crashes after hot reboot
    * Updated KSM for better power consumption

    Builds will roll alphabetically for all devices until tomorrow