[ROM][SNAPSHOT][6.0.1] CyanogenMod 13.0 for Xperia T

Search This thread

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,955
Île-de-France
adriandc.github.io
logo-cid.png

Code:
#include <std_disclaimer.h>
/*
 * 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.
 */


About CyanogenMod
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 6.0 (Marshmallow),
which is designed to increase performance and reliability over stock Android for your device.

All the source code for CyanogenMod is available in the CyanogenMod GitHub repo.
And if you would like to contribute to CyanogenMod, please visit our Gerrit Code Review.

Official CyanogenMod 13 Release post : http://www.cyanogenmod.org/blog/cm-13-0-release-1
Mint CyanogenMod Wiki : https://wiki.cyanogenmod.org/w/Mint_Info


CyanogenMod 13.0 for Sony Xperia Blue


Downloads Links
CyanogenMod 13.0 (Unlocked Bootloader) :
Xperia T (Mint) : https://mega.nz/#F!7wtkiTAa!JBV6sp0krPeX2s1_FJ2exQ

Google Applications (optional) :
OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 6.0, Micro or Pico)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

Recommended Recovery (optional) :
TWRP 3.0 : http://forum.xda-developers.com/xperia-t-v/t-development/recovery-twrp-3-0-0-touch-recovery-t3319588

Useful alternatives to CM Updater (with Deltas) : CM Downloader on Play Store
About CyanogenMod : ChangeLog available on http://www.cmxlog.com/13/mint/


Unification of the user partitions into UserData
Read more about the UserData unification : https://wiki.cyanogenmod.org/w/Mint_Info

Migrate to the one big partition for CM-13.0 :
- (Optional) Backup all your data, applications, internal storage, ...
- (Optional) If wished, do a full Nandroid backup from Recovery
- Flash the latest ROM zip of your device to start the unification
- Read and follow the instructions from the zip if anything goes wrong
- (Optional) Restore your Nandroid backup if you want to
- Flash the same ROM zip for CyanogenMod 13.0

Reverse the migration for older ROMs :
- (Optional) Backup all your data, applications, internal storage, ...
- Reboot to recovery and do a Factory reset (data will be lost)
- Flash restore_sdcard-YYYYMMDD-blue.zip
- Read and follow the instructions from the zip if anything goes wrong
- Flash the ROM you want now and restore your data


Flashing and updating
CyanogenMod clean install :
- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool
- (Optional) Wipe the data & cache (Backup to make sure not to loose data)
- Flash the CyanogenMod 13.0 ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot

CyanogenMod update / upgrade :
- (Information) Don't wipe anything unless you want to
- (BETA / UNOFFICIAL) Nothing to wipe when switching
- Flash the latest CyanogenMod 13.0 ROM zip from the Recovery
- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
- (Optional) Every additional zip you want to flash
- Reboot


About the builds


Issues and reports
- Report issues only if you use the ROM kernel
- If an additional mod is installed, make sure it's unrelated, and mention it
- Make sure the issue wasn't discussed earlier in the threads
- Share a log of the error with CatLog for example


Q&A - FAQ
CM-13.0 Mint Regular Questions and Answers : Q&A Thread

About CM-13.0 : https://en.wikipedia.org/wiki/CyanogenMod

The CyanogenMod team would like to thank everyone involved
in helping with testing, coding, debugging & documenting! Enjoy!




CyanogenMod available for Mint also thanks to :
- The CyanogenMod Team
- CodeZero and SdtBarbarossa for originally importing Huashan CM13 sources & confirming the revival was possible
- Everyone involved in working and testing, as well as those who participated in my acquiring of an Xperia T​


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

Contributors
Adrian DC
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod

Version Information
Status: Snapshot
Current Stable Version: 20161221-SNAPSHOT
Current Beta Version: UNOFFICIAL

Created 2016-07-11
Last Updated 2017-03-20
 

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,955
Île-de-France
adriandc.github.io
Reserved

FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Micro Ok
- Dual Recovery : Ok (see below)
- WiFi : Ok (real SONY MAC address)
- Bluetooth : Ok (real SONY MAC address)
- WiFi Hotspot : Ok (2.4GHz and 5GHz)
- RIL - Phone - Data : Ok
- GPS : Ok
- Camera : Ok
- Camcorder : Ok
- MicroSD : Ok
- Accelerometer : Ok
- Compass : Ok
- Gyroscope : Ok
- AOSP sensors : Ok
- FM Radio : Ok
- Vibrator : Ok
- Microphone : Ok
- Audio & external audio : Ok
- Bluetooth audio : Ok
- NFC : Ok
- Kernel : Ok, Updating frequently based on Huashan kernel
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok (RTC real hardware clock, in TWRP recovery too)
- Powered-off alarm : Ok
- Offline Charging : Ok (with SONY design)
- Encryption : Status unknown
- SEPolicies : Fully enforced


IMPORTANT FEATURES TO KNOW
  • Boot sequence : Once the LEDs light up :
    - Press Volume - to open CyanogenRecovery,
    - Press Volume + to open the FOTA recovery (TWRP usually) if available
  • Powered-off alarm : When you have set an alarm
    - If you power down the device, it will wake automatically 5 minutes before
    - If you let the device charge offline, it will automatically reboot 5 minutes before
  • Gestures : Events like hand-wave and pocket removal can be enabled in the Settings
  • Force reboot : You can reset the device by holding Power and Volume+ 5 seconds
 

Attachments

  • screenshot.png
    screenshot.png
    104.2 KB · Views: 1,663
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,955
Île-de-France
adriandc.github.io
Reserved

Current status of the ROM Builds
  • Nightlies : Only once everything is considered working and stable.
  • Beta : When needed. Newest changes to test, full builds or kernels / packages to flash.

Current local manifest of the ROM build
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://github.com/CyanogenMod/android -->
<manifest>

  <project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
  <project name="CyanogenMod/android_device_sony_common" path="device/sony/common" remote="github" />

  <project name="CyanogenMod/android_external_stlport" path="external/stlport" remote="github" />
  <project name="CyanogenMod/android_hardware_sony_DASH" path="hardware/sony/DASH" remote="github" />
  <project name="CyanogenMod/android_hardware_sony_thermanager" path="hardware/sony/thermanager" remote="github" />

  <project name="AdrianDC/android_device_sony_blue-common" path="device/sony/blue-common" remote="github" />
  <project name="AdrianDC/android_device_sony_mint" path="device/sony/mint" remote="github" />
  <project name="AdrianDC/android_kernel_sony_msm8x60" path="kernel/sony/msm8x60" remote="github" />
  <project name="AdrianDC/proprietary_vendor_sony" path="vendor/sony" remote="github" />

</manifest>
 
Last edited:
G

Guestx00205

Guest
repartitioning from other ROM (Neos 12.1) stays the same after clean install or only update is recommended? and what about other things, twrp for ex. this rom has newer i guess.
 

SdtBarbarossa

Senior Member
Dec 15, 2014
2,405
2,130
can i use xposed in this rom bcuz i'm using microG gApps ? and what recovery we had in rom?

Xposed is not possible because this is selinux enforced

Sent from my Xperia T using XDA Free mobile app

---------- Post added at 06:39 AM ---------- Previous post was at 06:37 AM ----------

repartitioning from other ROM (Neos 12.1) stays the same after clean install or only update is recommended? and what about other things, twrp for ex. this rom has newer i guess.

Repartitioned devices will work with this rom as long as they have same numbers and order of partitions

TWRP is not inside... please look at the OP ... there you can find newest FOTA-TWRP

Sent from my Xperia T using XDA Free mobile app
 
  • Like
Reactions: AdrianDC

nhicko95

Senior Member
Xposed is not possible because this is selinux enforced

Sent from my Xperia T using XDA Free mobile app

---------- Post added at 06:39 AM ---------- Previous post was at 06:37 AM ----------



Repartitioned devices will work with this rom as long as they have same numbers and order of partitions

TWRP is not inside... please look at the OP ... there you can find newest FOTA-TWRP

Sent from my Xperia T using XDA Free mobile app

sir on Aicp 10 selinux is enforcing and xposed is working maybe in this it will work i give a response if xposed is working
 
G

Guestx00205

Guest
Repartitioned devices will work with this rom as long as they have same numbers and order of partitions

TWRP is not inside... please look at the OP ... there you can find newest FOTA-TWRP

Sent from my Xperia T using XDA Free mobile app

THX, how can i find it out? do you have any info about this ROM partitions?
 

SdtBarbarossa

Senior Member
Dec 15, 2014
2,405
2,130
THX, how can i find it out? do you have any info about this ROM partitions?

it uses the standard one!

As Long as your Partitions have The normal Numbers ( like userdata is Number 14 ) everything is ok

screenshot_2016-07-11-11-40-04.png


to find out your partition table do following in a terminal:

su fdisk -l /dev/block/mmcblk0

Sent from my Xperia T using XDA Free mobile app
 
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,955
Île-de-France
adriandc.github.io
cant find internal storage only there is 2 sdcard1 and root what happen

Is your external MicroSD using the ext4 format ?
If yes, please remove it for the time being.

We discovered an issue with that inside Android vold,
and happens only on the few devices like Blue with separated internal storage partition.

Will be looked into soon.
 
  • Like
Reactions: St.Jimmy90
G

Guestx00205

Guest
i tried to flash twrp 3.0.2 from twrp 2.8.7 without success. i downloaded ZIP version using install menu. it says success but no change, still 2.8.7. version. neos 12.1 ROM.
 

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,955
Île-de-France
adriandc.github.io
i tried to flash twrp 3.0.2 from twrp 2.8.7 without success. i downloaded ZIP version using install menu. it says success but no change, still 2.8.7. version. neos 12.1 ROM.

ZIP FOTA recovery will only work if you already have a ROM supporting FOTA boot like official based CyanogenMod.

On CM13, you'll get the boot selection with my sony_init, dual recovery boot with Volume + (FOTA) and Volume - (CyanogenRecovery).

I'd advise you to flash the TWRP bootimage, it'll boot to TWRP only, then flash ROM, GApps & FOTA zip.
Or flash it all inside your current TWRP from old ROM, it's the same result.

Starting from a clean new TWRP bootimage is just the easiest and cleanest way to start.
Same clean way is to flash the boot.img bootimage from the CM13 zip.
 

dzadzev

Senior Member
May 24, 2011
318
189
Macedonia
@Adrian DC
I flashed the latest TWRP bootimage for Xperia T (mint) and then tried to flash latest mint ROM but with no success, it shows "error 7" and it's aborting the install.
Clearly something is ****ed up from our last encounter xD. I'm on stock rom now ...
 

dzadzev

Senior Member
May 24, 2011
318
189
Macedonia
Flash the CM13 bootimage from the zip & to everything new and clean.

I also tried that ... error 7 .. strange man

"Updater process ended with ERROR:7"
"Unable to mount storage"

I saw you wrote in earlier post if MicroSD is using the ext4 format to remove it ... I don't have external sd but all my internal partitions are ext4 (system, cache, userdata, sdcard(internal) ). Maybe something with permissions ?

 
Last edited:

SdtBarbarossa

Senior Member
Dec 15, 2014
2,405
2,130
I also tried that ... error 7 .. strange man

"Updater process ended with ERROR:7"
"Unable to mount storage"

I saw you wrote in earlier post if MicroSD is using the ext4 format to remove it ... I don't have external sd but all my internal partitions are ext4 (system, cache, userdata, sdcard(internal) ). Maybe something with permissions ?

tjUPCXL.png
n6aERT7.png
1qQJdh1.png

please give us a recovery log ( advanced-> copy log to sd )

Sent from my Xperia T using XDA Free mobile app
 
  • Like
Reactions: dzadzev

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    logo-cid.png

    Code:
    #include <std_disclaimer.h>
    /*
     * 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.
     */


    About CyanogenMod
    CyanogenMod is a free, community built, aftermarket firmware distribution of Android 6.0 (Marshmallow),
    which is designed to increase performance and reliability over stock Android for your device.

    All the source code for CyanogenMod is available in the CyanogenMod GitHub repo.
    And if you would like to contribute to CyanogenMod, please visit our Gerrit Code Review.

    Official CyanogenMod 13 Release post : http://www.cyanogenmod.org/blog/cm-13-0-release-1
    Mint CyanogenMod Wiki : https://wiki.cyanogenmod.org/w/Mint_Info


    CyanogenMod 13.0 for Sony Xperia Blue


    Downloads Links
    CyanogenMod 13.0 (Unlocked Bootloader) :
    Xperia T (Mint) : https://mega.nz/#F!7wtkiTAa!JBV6sp0krPeX2s1_FJ2exQ

    Google Applications (optional) :
    OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 6.0, Micro or Pico)
    Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

    Recommended Recovery (optional) :
    TWRP 3.0 : http://forum.xda-developers.com/xperia-t-v/t-development/recovery-twrp-3-0-0-touch-recovery-t3319588

    Useful alternatives to CM Updater (with Deltas) : CM Downloader on Play Store
    About CyanogenMod : ChangeLog available on http://www.cmxlog.com/13/mint/


    Unification of the user partitions into UserData
    Read more about the UserData unification : https://wiki.cyanogenmod.org/w/Mint_Info

    Migrate to the one big partition for CM-13.0 :
    - (Optional) Backup all your data, applications, internal storage, ...
    - (Optional) If wished, do a full Nandroid backup from Recovery
    - Flash the latest ROM zip of your device to start the unification
    - Read and follow the instructions from the zip if anything goes wrong
    - (Optional) Restore your Nandroid backup if you want to
    - Flash the same ROM zip for CyanogenMod 13.0

    Reverse the migration for older ROMs :
    - (Optional) Backup all your data, applications, internal storage, ...
    - Reboot to recovery and do a Factory reset (data will be lost)
    - Flash restore_sdcard-YYYYMMDD-blue.zip
    - Read and follow the instructions from the zip if anything goes wrong
    - Flash the ROM you want now and restore your data


    Flashing and updating
    CyanogenMod clean install :
    - (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool
    - (Optional) Wipe the data & cache (Backup to make sure not to loose data)
    - Flash the CyanogenMod 13.0 ROM zip from the Recovery
    - (Optional) Flash the GApps to have the Google Applications
    - (Optional) Every additional zip you want to flash
    - Reboot

    CyanogenMod update / upgrade :
    - (Information) Don't wipe anything unless you want to
    - (BETA / UNOFFICIAL) Nothing to wipe when switching
    - Flash the latest CyanogenMod 13.0 ROM zip from the Recovery
    - (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
    - (Optional) Every additional zip you want to flash
    - Reboot


    About the builds


    Issues and reports
    - Report issues only if you use the ROM kernel
    - If an additional mod is installed, make sure it's unrelated, and mention it
    - Make sure the issue wasn't discussed earlier in the threads
    - Share a log of the error with CatLog for example


    Q&A - FAQ
    CM-13.0 Mint Regular Questions and Answers : Q&A Thread

    About CM-13.0 : https://en.wikipedia.org/wiki/CyanogenMod

    The CyanogenMod team would like to thank everyone involved
    in helping with testing, coding, debugging & documenting! Enjoy!




    CyanogenMod available for Mint also thanks to :
    - The CyanogenMod Team
    - CodeZero and SdtBarbarossa for originally importing Huashan CM13 sources & confirming the revival was possible
    - Everyone involved in working and testing, as well as those who participated in my acquiring of an Xperia T​


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

    Contributors
    Adrian DC
    ROM OS Version: 6.0.x Marshmallow
    ROM Kernel: Linux 3.4.x
    Based On: CyanogenMod

    Version Information
    Status: Snapshot
    Current Stable Version: 20161221-SNAPSHOT
    Current Beta Version: UNOFFICIAL

    Created 2016-07-11
    Last Updated 2017-03-20
    13
    A very important change will hit your devices upon next release.

    The device will now use a "normal" unified UserData partition structure, with the internal storage emulated as part of it.

    The easy way of telling that is that now, only your 2GB original Data partition will be accessible.
    And only TWRP will keep compatibility to access the SDCard partition (if it exists) as "Legacy SDCard".

    Now you're probably unhappy and wondering "Where are my 10+GB going ??".


    The first answer is : You will not be allowed to flash the next Release I build.
    A system I just finished working on will detect you still have a SDCard partition BEFORE flashing anything,
    and will totally abort the installation & explain to you why and where to find more informations (soon, on CM Wiki).

    Once that build is uploaded, I will ask you guys to flash it on purpose,
    just to make sure you can't flash it & see the message.
    Do no worry, the worst that can happen is that you don't have a lot of space to save medias one day or two.

    So the final step will be me finishing to work on a very special flashable zip
    that will perform the unification of the UserData partition automatically,
    ONLY IF you are using the correct zip, on the correct device,
    with the correct partitions detected, and ONLY IF they are empty.


    This might evolve but so far, this is how the zip will work.
    You'll be invited to backup your data and wipe everything afterwards,
    only when you've consciously performed that change will you be allowed to flash the ROM.

    Might sound a bit annoying at first sight, but believe me, it's the safest, most reliable,
    and less "hacky" way of bringing Marshmallow to Xperia Blue devices,
    since their internal SDCard requires a lot of hacks to work in original ext4,
    introduces giant glitches and bugs with ext4 MicroSD, and still forces users
    to struggle for space & end up resizing partitions in the end.

    For Tsubasa, this change will be most effective, due to its even lower storage space,
    and will therefore even the usage of the device with Huashan who's fine since all that time.

    More soon...
    12
    Reserved

    FEATURES AND ISSUES
    Code:
    - Boot : Ok
    - GApps : OpenGApps Micro Ok
    - Dual Recovery : Ok (see below)
    - WiFi : Ok (real SONY MAC address)
    - Bluetooth : Ok (real SONY MAC address)
    - WiFi Hotspot : Ok (2.4GHz and 5GHz)
    - RIL - Phone - Data : Ok
    - GPS : Ok
    - Camera : Ok
    - Camcorder : Ok
    - MicroSD : Ok
    - Accelerometer : Ok
    - Compass : Ok
    - Gyroscope : Ok
    - AOSP sensors : Ok
    - FM Radio : Ok
    - Vibrator : Ok
    - Microphone : Ok
    - Audio & external audio : Ok
    - Bluetooth audio : Ok
    - NFC : Ok
    - Kernel : Ok, Updating frequently based on Huashan kernel
    - Graphics : Ok
    - 3D Rendering : Ok
    - Clock : Ok (RTC real hardware clock, in TWRP recovery too)
    - Powered-off alarm : Ok
    - Offline Charging : Ok (with SONY design)
    - Encryption : Status unknown
    - SEPolicies : Fully enforced


    IMPORTANT FEATURES TO KNOW
    • Boot sequence : Once the LEDs light up :
      - Press Volume - to open CyanogenRecovery,
      - Press Volume + to open the FOTA recovery (TWRP usually) if available
    • Powered-off alarm : When you have set an alarm
      - If you power down the device, it will wake automatically 5 minutes before
      - If you let the device charge offline, it will automatically reboot 5 minutes before
    • Gestures : Events like hand-wave and pocket removal can be enabled in the Settings
    • Force reboot : You can reset the device by holding Power and Volume+ 5 seconds
    10
    Reserved

    Current status of the ROM Builds
    • Nightlies : Only once everything is considered working and stable.
    • Beta : When needed. Newest changes to test, full builds or kernels / packages to flash.

    Current local manifest of the ROM build
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- https://github.com/CyanogenMod/android -->
    <manifest>
    
      <project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
      <project name="CyanogenMod/android_device_sony_common" path="device/sony/common" remote="github" />
    
      <project name="CyanogenMod/android_external_stlport" path="external/stlport" remote="github" />
      <project name="CyanogenMod/android_hardware_sony_DASH" path="hardware/sony/DASH" remote="github" />
      <project name="CyanogenMod/android_hardware_sony_thermanager" path="hardware/sony/thermanager" remote="github" />
    
      <project name="AdrianDC/android_device_sony_blue-common" path="device/sony/blue-common" remote="github" />
      <project name="AdrianDC/android_device_sony_mint" path="device/sony/mint" remote="github" />
      <project name="AdrianDC/android_kernel_sony_msm8x60" path="kernel/sony/msm8x60" remote="github" />
      <project name="AdrianDC/proprietary_vendor_sony" path="vendor/sony" remote="github" />
    
    </manifest>
    10
    Here we go...
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone