FORUMS

[HubDroid][U/P/Sola/Go][Xperia STE] CyanogenMod 11.0/12.0/12.1

1,380 posts
Thanks Meter: 2,486
 
Thread Closed Email Thread


Hello !

The team Xperia STE with
@Garcia98 @Abhinav2 @gigitux @Gava97 @percy_g2 @alwaysadeel @wan5xp @HardLight and me @Info4Geek
present to you our first team project.

We update here CyanogenMod 11 and now CyanogenMod 12 for all Xperia 2012 with NovaThor U8500 (U/P/Sola/Go) while other devs work on AOSX.
We are not as good as AOSX, but we try to do our best to provide you the most reliable builds possible
Any help would be highly appreciated !

Here, you can post reports with (or without) logcats, ideas and more.

You can find Changelogs and links at 2nd post.

Sources: https://github.com/XperiaSTE

Don't forget to help our team and other developers with donations for our HubDroid server >
Or you can use Bitcoin: 1Py1PgA5Tx87EYoTjCiXqRZJiun8pRL3ur

€706.03EUR recieved with donations ! 16 months (October): OK
(rent started in july 2014)
The Following 83 Users Say Thank You to Nathanael_Mtd For This Useful Post: [ View ] Gift Nathanael_Mtd Ad-Free
29th April 2014, 11:42 PM |#2  
Nathanael_Mtd's Avatar
OP Senior Member
Flag Grenoble
Thanks Meter: 2,486
 
More
You can update to the last Build automatically with OpenDelta on Settings > About > System Updates

Links:
HubDroid CM11 Nightlies homepage: http://builds.hubdroid.com/cm11/nightlies/final/
Mirror: http://mirror.hubdroid.com/cm11/nightlies/final/

Xperia U (Development Thread):
HubDroid page: http://builds.hubdroid.com/cm11/nigh...final/kumquat/
Mirror: http://mirror.hubdroid.com/cm11/nigh...final/kumquat/

Xperia P (Development Thread):
HubDroid page: http://builds.hubdroid.com/cm11/nightlies/final/nypon/
Mirror: http://mirror.hubdroid.com/cm11/nightlies/final/nypon/

Xperia Sola (Development Thread):
HubDroid page: http://builds.hubdroid.com/cm11/nightlies/final/pepper/
Mirror: http://mirror.hubdroid.com/cm11/nightlies/final/pepper/

Xperia Go (Development Thread):
HubDroid page: http://builds.hubdroid.com/cm11/nightlies/final/lotus/
Mirror: http://mirror.hubdroid.com/cm11/nightlies/final/lotus/


Changelog for Xperia U, Sola & Go:
Code:
Weekly FINALE
- Final CyanogenMod 11.0 build
- CyanogenMod 11.0 sources updated to 2015/06/25
Bugs & Todo:
Code:
Xperia U / P / Sola / Go:
- A2DP
- FM Radio
- Bugs reported
Old changelogs:
Code:
Weekly 2015/03/28 (XU: 40 - XSola: 38 - XGo: 31) - Last TWRP version (probably) - Many CM fixes like SystemUpdateService fix - CyanogenMod 11.0 sources updated from 2015/01/25 to 2015/03/27 Weekly 2015/01/25 (XU: 39 - XSola: 37 - XGo: 30) - BlueZ 5.23 - TWRP 2.8.4.0 - Memory tweaks - CyanogenMod 11.0 sources updated to 2015/01/25 Weekly 2014/12/14 (XU: 37 - XSola: 35 - XGo: 28) - Only some CyanongenMod fixes - CyanogenMod 11.0 sources updated to 2014/12/14 Weekly 2014/12/07 (XU: 36 - XSola: 34 - XGo: 27) - CyanogenMod 11.0 sources updated to 2014/12/07 Weekly 2014/11/30 (XU: 35 - XSola: 33 - XGo: 26) - Illumination Bar fix for Xperia U DELETED ! - Bug about Display Settings fixed (because LED bar fix deleted) - CyanogenMod 11.0 sources updated to 2014/11/30 Weekly 2014/11/23 (XU: 34 - XSola: 32 - XGo: 25) - Illumination Bar fix for Xperia U (See Xperia U development thread) - CyanogenMod 11.0 sources updated to 2014/11/23 Weekly 2014/11/16 (XU: 33 - XSola: 31 - XGo: 24) - GPS Fix ! (Really now) - Some other fixes - CyanogenMod 11.0 sources updated to 2014/11/09 Weekly 2014/11/09 (XU: 32 - XSola: 30 - XGo: 23) - GPS Fix ! (Really now) - Some other fixes - CyanogenMod 11.0 sources updated to 2014/11/09 Weekly 2014/11/02 (XU: 31 - XSola: 29 - XGo: 22) - CyanogenMod 11.0 sources updated to 2014/11/02 Weekly 2014/10/19 (XU: 29 - XSola: 27 - XGo: 20) - CyanogenMod 11.0 sources updated to 2014/10/19 Weekly 2014/10/12 (XU: 28 - XSola: 26 - XGo: 19) - Twitch fix - CyanogenMod 11.0 sources updated to 2014/10/12 Weekly 2014/10/05 (XU: 27 - XSola: 25 - XGo: 18) - YouTube fix - CyanogenMod 11.0 sources updated to 2014/10/05 Weekly 2014/09/21 (XU: 26 - XSola: 24 - XGo: 17) - CyanogenMod 11.0 sources updated to 2014/09/28 Weekly 2014/09/21 (XU: 25 - XSola: 23 - XGo: 16) - Bluez updated to version 5.23 - TWRP updated to version 2.8 - CyanogenMod 11.0 sources updated to 2014/09/21 Weekly 2014/09/14 (XU: 24 - XSola: 22 - XGo: 15) - TWRP updated to version 2.8 - CyanogenMod 11.0 sources updated to 2014/09/14 Weekly 2014/09/07 (XU: 23 - XSola: 21 - XGo: 14) - CyanogenMod 11.0 sources updated to 2014/09/07 Weekly 2014/08/31 (XU: 22 - XSola: 20 - XGo: 13) - Xperia STE logo on Settings is back - CyanogenMod 11.0 sources updated to 2014/08/31 Weekly 2014/08/24 (XU: 21 - XSola: 19 - XGo: 12) - CyanogenMod 11.0 sources updated to 2014/08/24 Weekly 2014/08/17 (XU: 20 - XSola: 18 - XGo: 11) - CyanogenMod 11.0 sources updated to 2014/08/17 Weekly 2014/08/10 (XU: 19 - XSola: 17 - XGo: 10) - Bluez updated to version 5.22 - TWRP updated - CyanogenMod 11.0 sources updated to 2014/08/10 Xperia U: Build 18 (2014-08-02): - TWRP updated - Fixed receiving of all types of files via Bluetooth - libmedia with audio parameter - New audio resampler - Testing sco audio blob for Bluetooth - Updated CM 11 Sources to 2014/08/03 Build 17 (2014-07-27): - Kernel bootrec fix (Recovery fix) - Updated CM 11 Sources to 2014/07/27 Build 16 (2014-07-20) - Updated CM 11 Sources to 2014/07/20 Build 14/15 (2014-07-13) - Some fixes (probably) - Updated CM 11 Sources to 2014/07/13 Build 13 (2014-07-06) - Goodbye OTA Updater ! Hello OpenDelta ! :) - Netflix fix - Updated CM 11 Sources to 2014/07/06 Build 12 (2014-06-29) - We use TWRP now ! - Update kernel toolchain - Updated CM 11 Sources to 2014/06/29 Build 11 (2014-06-22) - Android 4.4.4 - BlueZ 5.20 - Patch Towelroot - Logo in Settings > About phone - Updated CM 11 Sources to 2014/06/22 Build 10 (2014-06-15) - Improve Audio effects - Allow EGL hibernation - Fix bootanimation stutters - Add 1024 free extra kbytes (RAM) - Enable zRAM (64MB) - Read only 1 page cluster at a time - Enable option to wake device using volume rocker - Start Dalvik with a low memory footprint - Re-enable JIT cache - Decrease minimum brightness avalaible - Updated CM 11 Sources to 2014/06/15 Build 9 (2014-06-08) - Android 4.4.3 - CWM 6.0.4.9 - Fixed video recording - Reduced animation scales to 0.75 - Adapted RIL to STE - Added stereo widening effect - Improved rotation time - Restored original autobrightness speed - Deferred KSM timer enabled - Built with Google GCC 4.8 - Patches from AOSX - New OTA Updater Logo (our logo) - Updated CM 11 Sources to 2014/06/08 Build 8 (2014-06-01) - Fixed games Force Close - Updated ArchiDroid Optimizations to V3 - Changed build type: eng to user - Updated BlueZ to 5.19 - OMX updates - Added initial F2FS support - Made keyboard service persistent - Added Battery LED control in Settings - Tuned ActivityManager & LMK to allow more memory to be used by processes - Fixed LED on boot - Fixed Reboot to Recovery - Updated CM 11 Sources to 2014/06/01 Build 7 (2014-05-21) - System compiled with Linaro GCC 4.8 - Kernel compiled with Linaro 4.9.1 toolchain (optimized for Cortex A9 - Thanks @Christopher83) - Optimized flags (Thanks @JustArchi) - Updated CM 11 Sources to 2014/05/21 Build 6 (2014-05-17) - Fix memory leaks - Xperia STE bootsplash - Updated cm-11 Sources to 2014/05/17 Build 5 (2014-05-13) - SystemUI hangs fixed - Updated cm-11 Sources to 2014/05/13 Build 4 (2014-05-08) - Less memory leaks (SystemUI hangs) - Some new video/audio codecs - Updated CM 11 Sources to 2014/05/08 Build 3 (2014-05-06) - Device tree, kernel and vendor updated from AOSX (thanks to AOSX team) - Adapt gralloc, copybit, hwcomposer, stelpcutils, memtrack from sources - BlueZ updated to 5.18 (Full Stable FTP) - Fix call via bluetooth - CWM touch Recovery 6.0.4.8 (updated) - Updated cm-11 Sources to 5/6/2014 - OTA integrated in Settings > About (and deleted from launcher) Build 2 (2014-05-02) - Updated CM11 sources - Fixed status bar reboots - RAM management and performance improved - WiFi passwords keeped after reboot - App2SD working after reboot - OTA Updater added Build 1 (2014-04-29): - Updated CM11 sources - CWM Recovery 6.0.4.8 Xperia Sola: Build 16 (2014-08-02) - TWRP updated - Fixed receiving of all types of files via Bluetooth - libmedia with audio parameter - New audio resampler - Testing sco audio blob for Bluetooth - Updated CM 11 Sources to 2014/08/03 Build 15 (2014-07-27) - Kernel bootrec fix (Recovery fix) - Updated CM 11 Sources to 2014/07/27 Build 14 (2014-07-20) - Updated CM 11 Sources to 2014/07/20 Build 12/13 (2014-07-13) - Some fixes (probably) - Updated CM 11 Sources to 2014/07/13 Build 11 (2014-07-06) - Goodbye OTA Updater ! Hello OpenDelta ! :) - Netflix fix - Updated CM 11 Sources to 2014/07/06 Build 10 (2014-06-29) - We use TWRP now ! - Update kernel toolchain - Updated CM 11 Sources to 2014/06/29 Build 9 (2014-06-22) - Android 4.4.4 - BlueZ 5.20 - Patch Towelroot - Logo in Settings > About phone - Updated CM 11 Sources to 2014/06/22 Build 8 (2014-06-16) - Improve Audio effects - Allow EGL hibernation - Fix bootanimation stutters - Add 1024 free extra kbytes (RAM) - Enable zRAM (64MB) - Read only 1 page cluster at a time - Enable option to wake device using volume rocker - Start Dalvik with a low memory footprint - Re-enable JIT cache - Decrease minimum brightness avalaible - Updated CM 11 Sources to 2014/06/15 Build 7 (2014-06-08) - Android 4.4.3 - CWM 6.0.4.9 - Fixed video recording - Reduced animation scales to 0.75 - Adapted RIL to STE - Added stereo widening effect - Improved rotation time - Restored original autobrightness speed - Deferred KSM timer enabled - Built with Google GCC 4.8 - Patches from AOSX - Updated CM 11 Sources to 2014/06/08 Build 6 (2014-06-02) - Fixed games Force Close - Updated ArchiDroid Optimizations to V3 - Changed build type: eng to user - Updated BlueZ to 5.19 - OMX updates - Added initial F2FS support - Made keyboard service persistent - Added Battery LED control in Settings - Tuned ActivityManager & LMK to allow more memory to be used by processes - Fixed LED on boot - Fixed Reboot to Recovery - Updated CM 11 Sources to 2014/06/02 Build 5 (2014-05-21) - System compiled with Linaro GCC 4.8 - Kernel compiled with Linaro 4.9.1 toolchain (optimized for Cortex A9 - Thanks @Christopher83) - Optimized flags (Thanks @JustArchi) - Updated CM 11 Sources to 2014/05/21 Build 4 (2014-05-17) - Fix memory leaks - Xperia STE bootsplash - Updated cm-11 Sources to 2014/05/17 Build 3 (2014-05-15) - SystemUI hangs fixed - STE Multimedia [1/2] and UI performance Increased - New theme Engine From CyanogenMod - Updated cm-11 Sources to 5/15/2014 Build 2 (2014-05-09) - Less memory leaks (SystemUI hangs) - Some new video/audio codecs - Updated CM 11 Sources to 2014/05/09 Build 1 (2014-05-07) - Device tree, kernel and vendor updated from AOSX (thanks to AOSX team) - OTA integrated in Settings > About - Other things Xperia Go: Build 9 (2014-08-03) - TWRP updated - Fixed receiving of all types of files via Bluetooth - libmedia with audio parameter - New audio resampler - Testing sco audio blob for Bluetooth - Updated CM 11 Sources to 2014/08/03 Build 8 (2014-07-27) - Kernel bootrec fix (Recovery fix) - Updated CM 11 Sources to 2014/07/27 Build 7 (2014-07-20) - Updated CM 11 Sources to 2014/07/20 Build 4/5 (2014-07-13) - Some fixes (probably) - Updated CM 11 Sources to 2014/07/13 Build 3 (2014-07-06) - Goodbye OTA Updater ! Hello OpenDelta ! :) - Netflix fix - Updated CM 11 Sources to 2014/07/06 Build 2 (2014-06-16) - Improve Audio effects - Allow EGL hibernation - Fix bootanimation stutters - Add 1024 free extra kbytes (RAM) - Enable zRAM (64MB) - Read only 1 page cluster at a time - Enable option to wake device using volume rocker - Start Dalvik with a low memory footprint - Re-enable JIT cache - Decrease minimum brightness avalaible - Updated CM 11 Sources to 2014/06/15 Build 1 (2014-06-08) - First build - Android 4.4.3 - Updated CM 11 Sources to 2014/06/08
The Following 42 Users Say Thank You to Nathanael_Mtd For This Useful Post: [ View ] Gift Nathanael_Mtd Ad-Free
29th April 2014, 11:42 PM |#3  
Garcia98's Avatar
Senior Member
Flag Salamanca
Thanks Meter: 1,440
 
Donate to Me
More
Cool How to build CyanogenMod 11 yourself
Here I'm going to explain you how can you build CyanogenMod 11 for your device in a few simple steps

Prerequisites
  • A Linux system with at least 4GB of RAM and 30GB of free disk space, Ubuntu 14.04 LTS is a recommended distribution. It is also possible to build Android in a virtual machine on unsupported systems such as Windows. If you are running Linux in a virtual machine, you need at least 16GB of RAM/swap in order to build the Android tree. Building under Mac OS is also possible but that process is not described in this guide.
  • A 64-bit environment.
  • A brain.


Setting up a Linux enviroment

Installing Java

First of all you need to install the Java Developer Kit, for CyanogenMod 11 we need Java 6 from Oracle.
So you need to get rid of any other Java version installed on your machine, also you need to add the repository from you will download Java, after that, you can install Java:

Code:
sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update && sudo apt-get install oracle-java6-installer

Installing required packages

We need some build tools in order to compile Android, such as GNU Make, Python, or Git:

Code:
sudo apt-get install git gnupg flex bison gperf build-essential  zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev  libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386  libgl1-mesa-dev g++-multilib mingw32 tofrodos  python-markdown libxml2-utils xsltproc zlib1g-dev:i386
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

Building CyanogenMod 11

To build CyanogenMod 11, firstly it is needed to download the sources, they weighs around 10GB. After the sources have been downloaded you can start building CyanogenMod 11. In CompileROM script you need to specify the device which you are building for; if you have a Xperia U use the option -ru, if you have a Xperia P use the option -rp, if you have a Xperia Go use the option -rg and if you have a Xperia Sola use the option -rs:

Code:
git clone https://github.com/XperiaSTE/android_scripts.git -b cm-11.0 cm-11.0
cd cm-11.0
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
./Update.sh
export LD_LIBRARY_PATH=out/host/linux-x86/lib
./CompileROM.sh [ -ru / -rp / -rg / -rs ]
./CompileRamdisk.sh [ -ru / -rp / -rg / -rs ]
rm out/target/product/*/*.zip
./CompileROM.sh -ru
If everything went fine you will find flashable zip in out/target/product/<codename of your device>/cm-11-kumquat-blablabla.zip

For following builds commands change a bit, because you have to clean precompiled stuff before building again:

Code:
make clean && make clobber
./Update.sh
export LD_LIBRARY_PATH=out/host/linux-x86/lib
./CompileROM.sh [ -ru / -rp / -rg / -rs ]
./CompileRamdisk.sh [ -ru / -rp / -rg / -rs ]
rm out/target/product/*/*.zip
./CompileROM.sh -ru
Enjoy!



Tips

Time that takes building process depends on the power of your computer, but here you have some tips to speed up the process.

Enable ccache

You can optionally tell the build to use the ccache compilation tool. Ccache acts as a compiler cache that can be used to speed-up rebuilds. This works very well if you do "make clean" often, or if you frequently switch between different build products.
Put the following in your .bashrc or equivalent:

Code:
export USE_CCACHE=1
The suggested cache size is 50GB. You will need to run the following command once you have downloaded the source code:

Code:
prebuilts/misc/linux-x86/ccache/ccache -M 50G

Use a separate output directory

By default, the output of each build is stored in the out/ subdirectory of the matching source tree.
On some machines with multiple storage devices, builds are faster when storing the source files and the output on separate volumes, so if you have a SSD you definitely want that the output directory is in it. For additional performance, the output can be stored on a filesystem optimized for speed instead of crash robustness, since all files can be re-generated in case of filesystem corruption.
To set this up, export the OUT_DIR_COMMON_BASE variable to point to the location where your output directories will be stored:

Code:
export OUT_DIR_COMMON_BASE=<path-to-your-out-directory>

Buy more RAM

The RAM is usually the easiest component to change in a PC, and it is not very expensive, and having more RAM makes a difference in build time. So I recommend you to use so much RAM as your motherboard supports.


Questions?



Every command is written without su access and commands may vary in differents Linux distributions.

Sources: Android Open Source Project
The Following 25 Users Say Thank You to Garcia98 For This Useful Post: [ View ] Gift Garcia98 Ad-Free
30th April 2014, 02:25 AM |#4  
Senior Member
Thanks Meter: 44
 
More
so..
Sorry for noob question but...whats working, whats not working. what difference between this and AOSX ??

thanks
30th April 2014, 02:30 AM |#5  
Member
Flag Cimahi
Thanks Meter: 16
 
More
Quote:
Originally Posted by pedromms86

Sorry for noob question but...whats working, whats not working. what difference between this and AOSX ??

thanks

this is CyanogenMod, and the other is based on AOSP
30th April 2014, 02:35 AM |#6  
Senior Member
Thanks Meter: 44
 
More
Quote:
Originally Posted by Cyber_C

this is CyanogenMod, and the other is based on AOSP

and what works and dont works ??
30th April 2014, 09:34 AM |#7  
matood's Avatar
Senior Member
Thanks Meter: 281
 
More
Thumbs up sola
If you decide do the same for sola I can be a tester.
The Following User Says Thank You to matood For This Useful Post: [ View ] Gift matood Ad-Free
30th April 2014, 10:47 AM |#8  
Nathanael_Mtd's Avatar
OP Senior Member
Flag Grenoble
Thanks Meter: 2,486
 
More
Quote:
Originally Posted by pedromms86

and what works and dont works ??

Bugs added in second post
30th April 2014, 02:34 PM |#9  
Junior Member
Flag Cuneo
Thanks Meter: 16
 
More
Prompt Statusbar crash
Here is a logcat of when I try to pull down the statusbar and the phone crash(sometimes it also reboot)

Device: Xperia U
Attached Files
File Type: 7z logcat.7z - [Click for QR Code] (1.2 KB, 61 views)
The Following 3 Users Say Thank You to AfterSiD For This Useful Post: [ View ] Gift AfterSiD Ad-Free
30th April 2014, 02:36 PM |#10  
Member
Thanks Meter: 9
 
More
logcat fo statusbar
I tried to make a logcat for status bar crash...
https://drive.google.com/file/d/0B3r...it?usp=sharing
Attached Files
File Type: txt log.txt - [Click for QR Code] (1.3 KB, 53 views)
The Following User Says Thank You to brunodems For This Useful Post: [ View ] Gift brunodems Ad-Free
30th April 2014, 02:56 PM |#11  
gigitux's Avatar
Senior Member
Flag Napoli
Thanks Meter: 124
 
More
Quote:
Originally Posted by brunodems

I tried to make a logcat for status bar crash...
https://drive.google.com/file/d/0B3r...it?usp=sharing

Are you using CM11 theme ?
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes