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

[5.1.1][Development] Cyanogenmod 12.1

Status
Not open for further replies.
Search This thread

Mrcl1450

Senior Member
Aug 26, 2013
690
2,533
logo-cid.png

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

Unlocked Bootloaders Only!

Nightlies: http://download.cyanogenmod.org/?device=huashan
ChangeLog: http://www.cmxlog.com/12.1/huashan/

Report bugs only if:
- You are using the stock kernel
- You don't any mods/tweaks installed like xposed, etc.
- You searched in the thread for a solution or isn't a know bug.
- You have a log (if apply).

Please don't spam with useless posts here. Talk about Cm12.1 and do questions here: http://forum.xda-developers.com/xperia-sp/help/qa-cyanogenmod-12-1-t3070956
Don't ask for eta's! Be patient!

Screenshots: http://forum.xda-developers.com/devdb/project/?id=9523#screenshots

Thanks to:
-All the Cyanogenmod Team
-uberlaggydarwin
-asanan1
-Adrian DC
-Dark Passenger

XDA:DevDB Information
Cyanogenmod 12.1, ROM for the Sony Xperia SP

Contributors
Mrcl1450
Source Code: https://github.com/CyanogenMod/android_device_sony_huashan

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x

Version Information
Status: Nightly

Created 2015-04-29
Last Updated 2015-07-24
 

Mrcl1450

Senior Member
Aug 26, 2013
690
2,533
Instructions:
- Boot into Recovery
- Full Wipe (dalvik, system, data, cache)
- Flash Rom
- Flash Gapps (optional)
- Reboot
Note: You don't need to clean install if you are updating the rom.

Change to F2FS File System: This will delete all you user data!
- Reboot into recovery
- Plug the usb cable to computer
- Use the following adb commands
- adb shell mkfs.f2fs /dev/block/platform/msm_sdcc.1/by-name/Cache
- adb shell mkfs.f2fs /dev/block/platform/msm_sdcc.1/by-name/Userdata
- Reboot
 
Last edited:

Mrcl1450

Senior Member
Aug 26, 2013
690
2,533
How to do a logcat​
Download Logviewer and extract the files.

Connect the phone to pc an check if you have usb debugging active

Opening logview.bat it will ask for adb path (adb is in the logview folder)

Now you should see the log spamming about sensors. Right click in the message and press "Hide with this tag". Do this for the 5 sensors messages and you should be good to start logging.

Now go to the menu adb and click reset logs. After this reproduce the bug.

Example:
Camera app is crashing.
-Click reset log.
-Open camera.
-Disconnect device from pc to stop logging
-Go to file, save, give a name.

Send me the log.
 
Last edited:

anmolkakkar

Senior Member
Apr 23, 2012
465
111
Delhi
Can you please explain how to install the 'Alternative Recovery' in detail. I am getting bootloop when it try to install XZDualRecovery.
Steps taken:
1. After installing this ROM, we get simple CM Recovery.
2. Downloaded the installable zip of Xperia SP Dual Recovery. After getting installed, the phone reboots and gets stuck in bootloop.

Can you please help?
 

Mrcl1450

Senior Member
Aug 26, 2013
690
2,533
Can you please explain how to install the 'Alternative Recovery' in detail. I am getting bootloop when it try to install XZDualRecovery.
Steps taken:
1. After installing this ROM, we get simple CM Recovery.
2. Downloaded the installable zip of Xperia SP Dual Recovery. After getting installed, the phone reboots and gets stuck in bootloop.

Can you please help?
Did you tried the installer method?
 

Theliakos

Senior Member
May 24, 2012
374
66
gythion
CM12.1 for LBL is almost here. Tomorrow we should have the first test build in cm test group. I know I said yesterday but I'm still fixing build errors, sorry.
I will not create a thread until I have sure the rom is working.
Join us here

@Mrcl1450 i think you should tell us how we flash the imgs you stated ! like philz huashan once they are only recoveries and not kernels !
 
  • Like
Reactions: ajityadav

Android_trucker

Senior Member
Feb 28, 2015
90
4
According to the battery log, whenever wifi is turned on and turned off, the battery log says that the wifi is still on despite the wifi switched off via the toggle.

It's a bug?
 

anmolkakkar

Senior Member
Apr 23, 2012
465
111
Delhi
Did you tried the installer method?

I had installed using the install.bat file only which comes in the zip package of the recovery. But got stuck in bootloop.
Can anybody help :confused:

---------- Post added at 02:32 AM ---------- Previous post was at 02:26 AM ----------

According to the battery log, whenever wifi is turned on and turned off, the battery log says that the wifi is still on despite the wifi switched off via the toggle.

It's a bug?
Nope, that is not a bug. If you go to Advanced settings inside the Wifi, you will see a few options.
Firstly, Turn off the 'Scanning Always' option.
Secondly (the reason why Wifi always shows 'ON' under Battery tab), switch 'Keep wifi on during sleep' to 'Never'. Doing this, after sometime when you check back, you'll be able to spot the difference. Wifi module actually is turned off after changing the above mentioned setting. :rolleyes:
 

Android_trucker

Senior Member
Feb 28, 2015
90
4
I had installed using the install.bat file only which comes in the zip package of the recovery. But got stuck in bootloop.
Can anybody help :confused:

---------- Post added at 02:32 AM ---------- Previous post was at 02:26 AM ----------


Nope, that is not a bug. If you go to Advanced settings inside the Wifi, you will see a few options.
Firstly, Turn off the 'Scanning Always' option.
Secondly (the reason why Wifi always shows 'ON' under Battery tab), switch 'Keep wifi on during sleep' to 'Never'. Doing this, after sometime when you check back, you'll be able to spot the difference. Wifi module actually is turned off after changing the above mentioned setting. :rolleyes:

Fyi I have turned off "scanning always on" for location - however I didn't change the wifi keep as always on when sleeping, will do that and see if it makes a difference.
 

backstaber

Senior Member
Aug 31, 2014
52
6
...I did this ->Flashed stock rom-->root-->installed xzdualreocvery-->flashed -20150425- rom-->reboot--> flashed supersu-->reboot-->lost xzdualrecovery-->intalled it again--> booted to recovery and tried flashing gapps but failed in both twrp and philz touch....and im unable to boot to CWM as CM recovery still exists....how to solve this?.....should i have to flash a cm11 based 4.4.4 rom before flashing your rom?.....which 4.4.4 rom should i download?.... Pls help dev..... :(
 

OsGhaly

Senior Member
Jan 26, 2014
605
351
Cairo
...I did this ->Flashed stock rom-->root-->installed xzdualreocvery-->flashed -20150425- rom-->reboot--> flashed supersu-->reboot-->lost xzdualrecovery-->intalled it again--> booted to recovery and tried flashing gapps but failed in both twrp and philz touch....and im unable to boot to CWM as CM recovery still exists....how to solve this?.....should i have to flash a cm11 based 4.4.4 rom before flashing your rom?.....which 4.4.4 rom should i download?.... Pls help dev..... :(

Try the other way (mentioned at second post) to flash recovery imgs using Rashr then flash GApps
 
Status
Not open for further replies.

Top Liked Posts

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

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

    Unlocked Bootloaders Only!

    Nightlies: http://download.cyanogenmod.org/?device=huashan
    ChangeLog: http://www.cmxlog.com/12.1/huashan/

    Report bugs only if:
    - You are using the stock kernel
    - You don't any mods/tweaks installed like xposed, etc.
    - You searched in the thread for a solution or isn't a know bug.
    - You have a log (if apply).

    Please don't spam with useless posts here. Talk about Cm12.1 and do questions here: http://forum.xda-developers.com/xperia-sp/help/qa-cyanogenmod-12-1-t3070956
    Don't ask for eta's! Be patient!

    Screenshots: http://forum.xda-developers.com/devdb/project/?id=9523#screenshots

    Thanks to:
    -All the Cyanogenmod Team
    -uberlaggydarwin
    -asanan1
    -Adrian DC
    -Dark Passenger

    XDA:DevDB Information
    Cyanogenmod 12.1, ROM for the Sony Xperia SP

    Contributors
    Mrcl1450
    Source Code: https://github.com/CyanogenMod/android_device_sony_huashan

    ROM OS Version: 5.1.x Lollipop
    ROM Kernel: Linux 3.4.x

    Version Information
    Status: Nightly

    Created 2015-04-29
    Last Updated 2015-07-24
    85
    Instructions:
    - Boot into Recovery
    - Full Wipe (dalvik, system, data, cache)
    - Flash Rom
    - Flash Gapps (optional)
    - Reboot
    Note: You don't need to clean install if you are updating the rom.

    Change to F2FS File System: This will delete all you user data!
    - Reboot into recovery
    - Plug the usb cable to computer
    - Use the following adb commands
    - adb shell mkfs.f2fs /dev/block/platform/msm_sdcc.1/by-name/Cache
    - adb shell mkfs.f2fs /dev/block/platform/msm_sdcc.1/by-name/Userdata
    - Reboot
    61
    NIGHTLIES

    Congrats @Mrcl1450

    I merged in the last changes for cm-12.1 nightlies and due to our collaboration: we have merged in all changes and nightlies will start within 48 hours.

    This also means that Mrcl1450 will be a official maintainer, he will work with me (I am very busy with other projects so I only have time to do code review) to keep this device up to date..
    52
    How to do a logcat​
    Download Logviewer and extract the files.

    Connect the phone to pc an check if you have usb debugging active

    Opening logview.bat it will ask for adb path (adb is in the logview folder)

    Now you should see the log spamming about sensors. Right click in the message and press "Hide with this tag". Do this for the 5 sensors messages and you should be good to start logging.

    Now go to the menu adb and click reset logs. After this reproduce the bug.

    Example:
    Camera app is crashing.
    -Click reset log.
    -Open camera.
    -Disconnect device from pc to stop logging
    -Go to file, save, give a name.

    Send me the log.
    51
    New Build 06/07/15

    ChangeLog:
    - Update Sources to 5.1.1_r6
    - HeadSet Button fixed!
    - More Media Profiles improvements!
    - Add back TRIM support to f2fs!
    - Change Back to qcom power hal (Fix overheat issues?)
    - Check github for more...