• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][T][UB][L] CyanogenMod 12.1 - Neo's Homebuilds [DISCONTINUED]

Search This thread

LeonardK

Senior Member
Dec 25, 2014
209
40
last night i put in charge my xperia t and this morning i found it with 0% of charge and the messages "gapps has stopped working" or "google play services has stopped working" when phone arrive to 3% of battery. I tryed to charghe it turned off but i restart by itself. Now i'm trying o do a buckup to recovery and a full wipe. can work?
i had the same but I guessed it was the cable (it stunk burned). maybe our phone is damaging cables? lol
 

panostr

Member
Jan 1, 2012
11
0
I am with the previous build,do i have to flash the unistaller zip first before i flash the new build (15 feb)? And about F2FS how can i use it? When i first flash the rom will be in ext or f2fs? The f2fs in what "partitions" is working?System,data or all the rom?
 

TechnoLover

Member
Jul 1, 2010
37
34
So, I get sometimes some random soft reboots while playing castle clash. It gets a little laggy first and then I see the cm bootscreen.

Is there anything I can provide after the phone rebooted to investigate the problem?

All in all, your rom makes me stay with my XT - great work!
 
  • Like
Reactions: WhiteNeo

WhiteNeo

Senior Member
Feb 13, 2013
2,449
4,097
So, I get sometimes some random soft reboots while playing castle clash. It gets a little laggy first and then I see the cm bootscreen.

Is there anything I can provide after the phone rebooted to investigate the problem?

All in all, your rom makes me stay with my XT - great work!

Well. I need a logcat.. One that starts before the issue occurs. :)
You might install a logcat app and enable permanent recording, then try to reproduce the reboot.

As the kernel didn't crash it might well be a general CM12 or Android L bug. We'll see..


Thanks for your nice feedback, by the way. It's quite impressive how many people keep their "old" phones, just because of a decent firmware. :)

I wonder why manufacturers don't ship their devices with compiler optimizations and other stuff.. Actually it just requires a few hours of work , and the result is definitely worth it.
 

LeonardK

Senior Member
Dec 25, 2014
209
40
Well. I need a logcat.. One that starts before the issue occurs. :)
You might install a logcat app and enable permanent recording, then try to reproduce the reboot.

As the kernel didn't crash it might well be a general CM12 or Android L bug. We'll see..


Thanks for your nice feedback, by the way. It's quite impressive how many people keep their "old" phones, just because of a decent firmware. :)

I wonder why manufacturers don't ship their devices with compiler optimizations and other stuff.. Actually it just requires a few hours of work , and the result is definitely worth it.
they want to sell new phones ;)
 

el_angelo

Senior Member
Oct 11, 2012
88
9
It's a pity bluetooth still seems to be mostly not working... I have to reboot my phone about 3 times a day just to keep listening to music :(
 

guci00

Member
Dec 27, 2014
6
0
Hi, first of all thanks a lot for awesome ROM :) very nice experience so far, but i have one problem. Since i was using Omega rom by Darklord I haven't bother with resizing my internal storage. Now 1.97gb for apps and system is quite small so i tried to resize it and followed http://forum.xda-developers.com/showthread.php?t=2712253&highlight=twrp this thread, found that some guy with Omnirom 4.4.4 and TWRP made it work so decided to give it a go but after using "parted /dev/block/mmcblk0" it told me command not found :/ can somebody suggest something?
 

LeonardK

Senior Member
Dec 25, 2014
209
40
@WhiteNeo

Cool, just seen that you set up a proper GitHub repo ;). Though it's not in a different branch of the original one, I think it's quite nice to see :D.
Maybe I look into diff'ing updateing's sources against the CM's one so we -as I said- could have the best of both.

Basically to cook your ROM one just needs to use your kernel without any additional changes in the same directory and change O3-Flags for "normal" ROM + custom toolchain + Dex-preopt. Theoretically updater-script and cust. recovery and some small patches could be added but they are not core. Cool :D
 

djfm

Senior Member
Nov 29, 2012
387
55
VLAARDINGEN
OK, tested the ROM for two days.

Battery:
One day with fb sync off (16 hours).
One day with fb sync on (9 hours).

With blue tooth music streaming to my car radio there is no bass in it and the equalizer does not work.


No freezes, no lagging, the volume of the speakers is great..
 

WhiteNeo

Senior Member
Feb 13, 2013
2,449
4,097
@WhiteNeo

Cool, just seen that you set up a proper GitHub repo ;). Though it's not in a different branch of the original one, I think it's quite nice to see :D.
Maybe I look into diff'ing updateing's sources against the CM's one so we -as I said- could have the best of both.

Basically to cook your ROM one just needs to use your kernel without any additional changes in the same directory and change O3-Flags for "normal" ROM + custom toolchain + Dex-preopt. Theoretically updater-script and cust. recovery and some small patches could be added but they are not core. Cool :D

I intentionally created a new repo, as I wanted to keep the previous commits and give people a chance to see what I based my work on. ;)

I have already compared the sources with Beyond Compare.. updateing is using CAF sources (so I've been using CAF for this rom as well.. :D)
There are too many differences..

However, it should be possible to cherry-pick my "Neo Transformation" commit to CM12 kernel source.. The resulting kernel would work properly on official CM. :)


Well.. Yeah. ^^
However, doing work for the first time is always more difficult than afterwards. :)

OK, tested the ROM for two days.

Battery:
One day with fb sync off (16 hours).
One day with fb sync on (9 hours).

With blue tooth music streaming to my car radio there is no bass in it and the equalizer does not work.


No freezes, no lagging, the volume of the speakers is great..

So, overall impression is positive? :D
Facebook is a battery killer and I can't do much about that. :/
 

LeonardK

Senior Member
Dec 25, 2014
209
40
@WhiteNeo
Ah, okay. Cool to hear that about CAF :)

Cherry-picking should work, though it might be a bit of a hassle to merge so many lines of code^^ (though theoretically possible of course).

It is somehow possible to "split up" commits so this could be sth. to do for me if I have too much time ^^
 

WhiteNeo

Senior Member
Feb 13, 2013
2,449
4,097
@WhiteNeo
Ah, okay. Cool to hear that about CAF :)

Cherry-picking should work, though it might be a bit of a hassle to merge so many lines of code^^ (though theoretically possible of course).

It is somehow possible to "split up" commits so this could be sth. to do for me if I have too much time ^^

It's only so many lines because of the removed defconfigs..
Should be around 40 changed files, and much less conflicts. :)
 
  • Like
Reactions: LeonardK

Top Liked Posts

  • There are no posts matching your filters.
  • 117
    CyanogenMod 12.1 is a free, community built distribution of Android 5.1 (Lollipop) which greatly extends the capabilities of your phone.

    GjpZZ6Z.png



    ROM Features:
    • Based on latest CyanogenMod 12.1 sources
    • Compiled with SaberMod 4.9 and JustArchi's Optimizations V4.1 for maximum performance
    • Full F2FS support - no mount issues during ROM updates
    • SELinux set to 'permissive' by default
    • Android default UID and GID for internal storage
      (No more write issues after formatting sdcard!)
    • Slim and fast user build

    Kernel Features:
    • Based on latest CAF kernel sources (LA.AF.1.1.c1)
    • Compiled with ArchiToolchain 4.9 and several Cortex-A9 optimizations
    • Overclocking up to 1.62 GHz
    • Underclocking up to 162 MHz for maximum battery life
    • User-customizable CPU Voltage driver (thanks to faux123)
    • Intelliactive and IntelliMinMax CPU governors (thanks to faux123)
    • In-kernel Thermal Driver (thanks to franciscofranco)
    • SIO and FIOPS IO schedulers
    • F2FS (Flash-Friendly File System) support (Performance comparison vs EXT4)
    • FauxSound support for maximum audio gain control (thanks to faux123)
    • Latest TWRP recovery, including a Materialised TWRP theme by z31s1g
    Be aware that improper usage of kernel features can cause serious damage to your device!
    Only use the stuff above if you know what you're doing!


    In agreement with the GPL, you can find the sources and defconfig used to compile this kernel right here.


    Known Issues:
    Please keep in mind that CM12.1 sources are still work in progress. As a result, some features may be broken or only partially working.
    That's why I decided to only list device-specific issues below.
    • Below ~60% battery, the displayed battery level will reduce significantly on rebooting. This is a known issue with all AOSP based ROMs.

      After switching to a new battery, I noticed this behavior is related to automatic battery calibration and directly affected by the health of your phone's battery.

    Disclaimer:
    By downloading and installing this ROM, you agree that I cannot be held responsible for any damage caused to your device while installing or using it. Please keep in mind that it's YOU who chose to do these modifications to your device!

    Installation:
    • Make sure your bootloader is unlocked - if not, follow this guide: Link
    • First installation? Flash the boot.img from ROM zip via Flashtool (use Fastboot mode!)
    • Boot into TWRP recovery
    • Do a factory reset and wipe system partition
    • Flash latest ROM zip (check "Downloads" section)
    • Flash suitable GApps for CM12.1 or CM12
    • Flash latest SuperSU from here: Link
    • Reboot

    Downloads:
    • Final CM12.1 version: Link (Last updated: Jan 08, 2016)
    • Final CM12 version: Link (Last updated: April 05, 2015)
    • CM default su binary: Link (Don't flash if you're using SuperSU!)
    • Uninstaller zip: Link (Restores default storage permissions)

    Credits:
    • CyanogenMod Team for their active development on the CM12.1 sources.
    • updateing for helping me with lots of compilation issues and initial bugfixing on Xperia V.
    • JustArchi for his awesome optimizations!

    Changelog:

    - 20160108 (final build):
    • Latest CM12.1 changes
    • Fixed the lags in power save mode by slightly increasing the cpu clock
      .​
      Thanks to everyone for using and supporting my work! It's been a great time with you all! :)
    - 20151115:
    • Latest CM12.1 changes
    • Optimized system for better RAM performance
    • Enabled CM Performance Profiles support
    • Reduced minimum screen brightness
    • Reverted Toast UI to AOSP default
    • Experimental fix for vibrate intensity settings
    - 20151010:
    • Latest CM12.1 changes
    • Reverted SONY lockscreen clock to AOSP default
    • Reverted softkeys to AOSP default
    • Removed Xperia fonts
    - 20150929:
    - 20150912:
    - 20150824:
    • Latest CM12.1 changes
    • Recreated NeoKernel with latest CAF sources from here.
    • Updated ArchiDroid's Optimizations to V4.1
    • ROM is now built with SaberMod 4.9 toolchain!
    • Re-colored recoveryboot LEDs. Got sick of this ugly purple! :D
    • Replaced stock TWRP ui with latest Materialised Play theme from here. Credits to z31s1g for the great theme and ElArchibald for his help!
    • Recoveries present on FOTAkernel will be ignored from now on - fixes installation issues caused by broken CWM or outdated TWRP versions
    • Disabled Dex-Preoptimization to allow greater and easier customizability, as well as more free space on system partition
    • Fixed Xposed framework causing bootloops
    • Fixed GPS for some users (Got rid of QUIPC)
    - 20150808:
    - 20150726:
    • Latest CM12.1 changes
    • Added medium L2 clock rates to NeoKernel, should improve battery life
      .​
      NOTE: The device tree used to build this ROM is now fully open-source! :)
    - 20150620:
    • Latest CM12.1 changes
    • Fixed delayed PIN screen on boot
    • Added SONY styled lockscreen clock from here. (Credits to idid idamrep!)
    • Included all stock Xperia fonts in the ROM
    - 20150603:
    • Latest CM12.1 changes
    • Enabled Multiuser UI with a maximum of 3 users
    • Fixed Google Play Services repeatedly force closing
    • Updated TWRP sources to latest
    - 20150516:
    - 20150424:
    - 20150419:
    • Latest CM12.1 changes
    • Added unlimited call log mod from here
    • Fixed backup issues in TWRP (using updated sources now)
    • Fixed installation reverting system partition to EXT4
    - 20150412:
    • Latest CM12.1 changes
    • Reverted updates in F2FS sources (should fix the random bootloops)
    • Fixed non-working sensors (added prebuilt sensors.msm8960.so)
    - 20150405 (CM12.1 build):
    • Initial release of CM12.1 (Android 5.1)
    • Merged all kernel features and optimizations from CM12
    • Updated TWRP to 2.8.6.0
      .​
      NOTE: A full wipe is recommended, but not required!
    - 20150405 (CM12 build):
    • Final CM12 build (Android 5.0)
    • Latest CM12 changes
    • Added SIO and FIOPS io schedulers
    • Added in-kernel Thermal Driver (thanks to franciscofranco)
    • Updated F2FS sources in kernel
    • Switched to official CM12 libril
    • Reverted to TWRP 2.8.4.0 to fix some ui bugs
    - 20150329:
    • Latest CM12 changes
    • Compiled with JustArchi's ArchiDroid Optimizations V4
    • Updated CAF kernel source
    • Additional kernel optimizations for Cortex-A9
    • Disabled debug flags in kernel
    • Switched to ArchiToolchain 4.9 for kernel
    • Switched to SaberMod 4.8 toolchain for ROM
    • Removed USB "Mass Storage" and "Charge only" modes
    - 20150321:
    - 20150314:
    - 20150309:
    • Latest CM12 changes
      (Introduces a bug: Clock in statusbar disappears on reboot. Hide/unhide statusbar clock in Settings as a workaround)
    • Removed FM Radio - Have a look at this one!
    - 20150303:
    • Latest CM12 changes
    • Fixed the segmentation fault when trying to mount/remount
    • Most likely fixed the volume errors some people encountered
    • Reverted to AOSP LLVM compiler (QCOM one needs more work)
    • Other minor bugfixes
    - 20150301:
    • Latest CM12 changes
    • Added FM Radio
    • Replaced AOSP LLVM compiler with Qualcomm one, optimized for krait cpus (thanks to MusterMaxMueller)
    • ROM is now built with Linaro 4.8 instead of SaberMod 4.8
    • Kernel is now built with Linaro 4.9 instead of SaberMod 4.10
    • Updated kernel source to latest CAF
    • Minor changes and improvements in device tree
    - 20150222:
    - 20150215:
    • Latest CM12 changes
    • FolderMount and "sd issue" fixed - ROM is now using android default uid for sdcard0
    • Added intellimm and intelliactive cpu governors (thanks to faux123)
    • Added ultra low CPU clocks to kernel (162 and 270 MHz)
    • F2FS (Flash-Friendly File System) support
    • Latest Faux Sound features
    • Graphite Loop Optimizations in kernel
    • O3 optimized GPU drivers
    • Updated TWRP to version 2.8.5.0
    • Some changes and cleanup in installer zip
      .​
      NOTE: From this version on, you will have to flash my neo-uninstall.zip before switching ROMs!
    - 20150207:
    - 20150201:
    - 20150125:
    - 20150117:
    • Latest CM12 changes
    • Merged official CM device repos
    • Updated TWRP to version 2.8.4.0
    • Added "Charge only" USB mode
    • Cherry-picked HeadsUp Settings
    • Other minor fixes and improvements
    - 20150104:
    - 20141228:
    - 20141224:
    • Initial release
    If you like my work and want to support me, please hit that thanks button, give some positive feedback or consider a small donation for my efforts. :)

    XDA:DevDB Information
    CyanogenMod 12.1, ROM for the Sony Xperia T

    Contributors
    WhiteNeo
    Source Code: https://github.com/WhiteNeo-?tab=repositories

    ROM OS Version: 5.1.x Lollipop
    ROM Kernel: Linux 3.4.x
    Based On: CyanogenMod 12.1

    Version Information
    Status: No Longer Updated

    Created 2014-12-26
    Last Updated 2016-01-08
    42
    FAQ:
    • How to update to latest build?

      1. Reboot to recovery
      2. Flash latest rom zip
      3. Flash latest gapps linked in OP
      4. Flash SuperSU
      5. Wipe Cache & Dalvik Cache
      6. Reboot
    • How to safely uninstall this rom?

      1. If you were using F2FS, revert to EXT4 before uninstalling!
      2. Reboot to recovery
      3. Flash neo-uninstall.zip
      4. Proceed with the installation steps of your new rom

      Should you face storage issues with your new rom, run the following Terminal commands:
      Code:
      su
      chmod 777 /mnt/media_rw/sdcard0
      chown 2800:2800 /mnt/media_rw/sdcard0
      chown -R 2800:2800 /mnt/media_rw/sdcard0

    Troubleshooting:
    • I can't create folders in internal storage!

      Follow the instructions on updating to latest build. While flashing, my rom will apply its required storage permissions automatically.

      Alternatively, you may simply run the following Terminal commands:
      Code:
      su
      chmod 777 /mnt/media_rw/sdcard0
      chown 1023:1023 /mnt/media_rw/sdcard0
      chown -R 1023:1023 /mnt/media_rw/sdcard0
    • Camera any Gallery won't save my photos!

      Follow the instructions on updating to latest build. While flashing, my rom will apply its required storage permissions automatically.

      Alternatively, you may simply run the following Terminal commands:
      Code:
      su
      chmod 777 /mnt/media_rw/sdcard0
      chown 1023:1023 /mnt/media_rw/sdcard0
      chown -R 1023:1023 /mnt/media_rw/sdcard0
    • I can't move apps to sdcard!

      Moving apps to internal storage is quite buggy and discouraged. I recommend repartitioning your device with the instructions below. :)

    Advanced Modifications:
    • Switching to F2FS:

      First of all, make sure you're running homebuild version 20150215 or later!
      1. Copy all important files from internal storage to the external sdcard
      2. Reboot to recovery
      3. Do a full backup (make sure to select external sdcard as target location)
      4. Disable MTP in "Mount" menu
      5. Go to "Wipe" > "Advanced Wipe" menu
      6. Check "System", then tap "FS Options" and "Change FS"
      7. Select "F2FS", then swipe to apply the change
      8. Repeat steps 5 and 6 for "Data" and "Cache" partitions, as well as internal storage
      9. Navigate to TWRP Settings and check "Use rm -rf instead of formatting"
      10. Restore your previous backup
      12. Reboot to system
      13. Restore your copied files from external sdcard
      14. Reboot
    • Reverting to EXT4:

      1. Copy all important files from internal storage to the external sdcard
      2. Reboot to recovery
      3. Do a full backup (make sure to select external sdcard as target location)
      4. Disable MTP in "Mount" menu
      5. Go to "Wipe" > "Advanced Wipe" menu
      6. Check "System", then tap "FS Options" and "Change FS"
      7. Select "EXT4", then swipe to apply the change
      8. Repeat steps 5 and 6 for "Data" and "Cache" partitions, as well as internal storage
      9. Navigate to TWRP Settings and check "Use rm -rf instead of formatting"
      10. Restore your previous backup
      12. Reboot to system
      13. Restore your copied files from external sdcard
      14. Reboot
    • Repartitioning your device:

      Note:
      • Up to 14GB of free space on external sdcard might be required to perform the steps below! (Should be less if your internal storage isn't completely bloated :D)
      • The value XXXX used below has to be replaced with a calculated number and varies depending on your desired space. I recommend 5120, as it's a decent balance between general data storage (used for most apps) and space on internal storage for apps with bigger data (games). Refer to step 13 of this link if you want to calculate your own partition sizes. :)

      1. Copy all important files from internal storage to the external sdcard with the following terminal command:
      Code:
      rsync -P -a /sdcard /ext_card/sdcard0/
      2. Reboot to recovery
      3. Do a full backup (make sure to select external sdcard as target location)
      4. Navigate to "Mount" menu, disable MTP and unmount all partitions listed there
      5. Navigate to "Advanced" > "Terminal Command" and type the following code:
      Code:
      parted /dev/block/mmcblk0 print
      This command should display some text like this:
      Code:
      Model: MMC MAG2GA (sd/mmc)
      Disk /dev/block/mmcblk0: 15.6GB
      Sector size (logical/physical): 512B/512B
      Partition Table: gpt
      
      Number  Start   End     Size    File system  Name        Flags
       1      131kB   2228kB  2097kB               TA
       2      2228kB  3801kB  1573kB               Boot
       3      3801kB  5374kB  1573kB               Boot2
       4      6291kB  27.3MB  21.0MB               Kernel
       5      27.3MB  28.3MB  1049kB               TZ
       6      29.4MB  32.5MB  3146kB               modemst1
       7      33.6MB  36.7MB  3146kB               modemst2
       8      37.7MB  40.9MB  3146kB               fsg
       9      40.9MB  46.1MB  5243kB               ramdump
      10      46.1MB  54.5MB  8389kB  ext4         apps_log
      11      54.5MB  71.3MB  16.8MB               FOTAKernel
      12      71.3MB  1359MB  1288MB               System
      13      1359MB  1621MB  262MB                Cache
      14      1621MB  3769MB  2147MB               Userdata
      15      3769MB  15.6GB  11.9GB               SDCard
      We're going to remove Userdata and SDCard partitions, so check if these partitions also have the numbers 14 and 15 on your phone.

      6. Type the following terminal commands to proceed with resizing the partitions:
      Code:
      parted /dev/block/mmcblk0 rm 14
      parted /dev/block/mmcblk0 rm 15
      parted /dev/block/mmcblk0 mkpartfs logical ext2 1621 [B]XXXX[/B]
      parted /dev/block/mmcblk0 name 14 Userdata
      parted /dev/block/mmcblk0 mkpartfs logical ext2 [B]XXXX[/B] 15.6GB
      parted /dev/block/mmcblk0 name 15 SDCard
      7. Leave the terminal screen and go to "Wipe" > "Advanced Wipe" menu
      8. Check "Data", then tap "FS Options" and "Change FS"
      9. Select "EXT4" or "F2FS", then swipe to apply the change
      10. Repeat steps 8 and 9 for internal storage (is named "sdcard" in this menu)
      11. Restore your previous backup
      12. Restore your backed-up files from external sdcard with the following terminal command:
      Code:
      cp -a /external_sd/sdcard0/* /sdcard/
      13. Reboot
      14. Enter the following terminal commands to fix storage permissions:
      Code:
      su
      chmod 777 /mnt/media_rw/sdcard0
      chown 1023:1023 /mnt/media_rw/sdcard0
      chown -R 1023:1023 /mnt/media_rw/sdcard0
    23
    Dear friends and CM12.1 users,

    I’ve been releasing ROMs for our Xperias for nearly two years now, that’s why I want to thank every single one of you for your lasting support and positive feedback that kept motivating me to continue working on this project and invest countless hours of my free time and weekends into making a decent ROM even better.

    I did enjoy the work myself, but as time passed, I figured out that these hours would better be invested in my real life and my studies, and I somehow felt the need for something “new”. A phone that simply worked out of the box, and that I didn’t have to invest my time in to have the latest firmware version, security updates and so on.

    That’s why I have some news that probably won’t surprise most of you.
    I have recently bought a new phone – not an Android one – with the aim of having a decent, working device for daily usage that didn’t make me feel like I had to instantly root or install custom firmware.

    As I’ve always wanted to be present in the forums and transparent in my development, I feel like I can’t simply abandon this project without an explanation.
    That’s why I’m writing this stuff here.

    CM13 was actually planned as some kind of goodbye present, but is much harder to port than I have expected. I have uploaded my compressed WIP sources here, so if any developer wants to continue the project and keep this phone alive, feel free to do so. However, be careful, as I have heard of hard-bricked Xperia phones because of a simple (and successful) CM13 installation.

    So, to conclude, development on this ROM and all my other projects is discontinued for now, and I probably won’t visit the forums frequently anymore. I apologize.

    Once more thank you all for being a great community!

    Michael
    20
    And finally, here's Android 5.1 for Xperia T! :good:
    Check OP for a download link.

    Flash, enjoy and give some feedback, people! :D
    And.. Thanks for your support! :)
    16
    Screenshots:
    PsVD33S.png

    Video:
    Here's another video by taaviu that gives you an impression of Android L. :)