yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] hemanthvarma:
Hello Everyone

For all those who are waiting for marshamallow update .Here it is live now

Xperia m and xperia m dual users u can update your android version with latest software now.

It is already available in Xperia M Original Android Development Forum

The original thread is here developed bu [MENTION=4343949]PecanCM[/MENTION]

bugs in this rom read this

This thread is for noobs who wants to use latest version but doesnt know where to start

Xperia m Single Sim users/DUAL

PREREQUISITES

who are on stock firmware [4.3JB] only has to follow this steps

1 .Root your device [A Reference on how to root and install recovery ]

For xperia m dual users

2.unlock bootloader and

3.install any custom recovery

----------------------------------------------------------------------------------------------------------------------------------------------------------

After completing above steps (Who already have above requirements fulfilled can directly proceed to this procedure now)

Before flashing this backup your rom with recovery so incase if any thing goes wrong you can revert back to stock rom

1. Go to this link and download this CM13 nightlies

2.Download Gapps from this link

choose Platform: ARM

Android: 6.0

Variant: any one depending up on your requirement(if you cant decicde choose MICRO best )

DUAL SIM USERS APPLY THIS patch WHEN FLASHING YOUR ROM,GAPPS

and also when you use this rom your custom recovery will be replaced with cyaongen . So to avoid this flash the zip right after flashing your rom then next gapps [ Zip in description ]

Who already are on other cm11/cm12.1 or any aosp roms etc.., i recommend you to flash stock firmware and follow the steps to use this rom

The all credit goes to our developer [MENTION=4343949]PecanCM[/MENTION] . THANK him

this rom actually developed by him

NOTE: DO AT YOUR OWN RISK , I AM NOT RESPONSIBLE FOR BRICKED DEVICE OR CORRUPTED SDCARD
[Sony Xperia M] hemanthvarma:
IF you have any doubts you can post your comments

i'll try to help
[Sony Xperia M] simmusss:
Heyyyyyy buddy......Hai......

Whats ur experience with mm.....

Am soo happy :D:D:D:thumbup::thumbup::thumbup::thumbup:

---------- Post added at 06:29 PM ---------- Previous post was at 06:28 PM ----------

But am npt able to conect data with sim1 brooo....wt about uuuu
[Sony Xperia M] hemanthvarma:
Yeah pretty good till now ...!
[Sony Xperia M] rohitnegi44:
Good work bro
[Sony Xperia M] simmusss:
What about urs...are u conect to data with 1st sim slot????
[Sony Xperia M] rohitnegi44:
I have single sim device
[Sony Xperia M] matrixex:
Everything is working great no bugs found tested

On Sony xperia m dual c2004
[Sony Xperia M] hemanthvarma:
I Dont know whether link2sd works or not in MM . Once format it with your pc and then try to do it with mobile
[Sony Xperia M] eboelens:
configuration:

xmd C2005

Works fine 2 sims detected , data on 1 sim, wifi works nice nice nice :) thank you.

I detect some problems:

1. When I did a reboot then I lost 1 sim and also no data on the only sim that is detected .

2. I didn'tflash 'FOTA-CWM.zip' direct after flashing the CM13 but F'XP_0115_CWM_boot' . The flashing goes correct but after rebooting in recovery it was still Cyanogenmod recovery.

kind regards

erik
[Sony Xperia M] Adarsh Dubey:
It doesn't work on mm.. . You can use adoptable sd card option instead
[Sony Xperia M] Adarsh Dubey:
That is fota recovery so you have to press volume up button to get CWM recovery.... Best is to install twrp manager from play store there will be an option to flash it... TWRP will work with adoptable sd cards too
[Sony Xperia M] eboelens:
configuration: xperia m c2005 dual

I played with fastboot and flashtool flashing etc.... i'm a newbie and in the beginning i didn't do the right things

I tried several stock rom's but always i have only 1 sim detect (only ones with cm11 or 12)

i will give cm13 a try with the patch for dual sims but what do you think ?

Even if I flashed stock rom's .ftf always only 1 sim

kind regards

erik
[Sony Xperia M] Siddk:
Repeating optimizing app

it repeat the optimizing process after complete device reboot and repeat the process
[Sony Xperia M] eboelens:
Xperia M Dual C2005 I have still the same problem only 1 sim detect and no data .

I followed every step . (unlock bl, flash cwm, rooting, wipe , flash cm , gapps and patch for dual)

I think the problem is not CM13 . CM13 runs great ! Thank you .

The same problem when I flash ftf stock roms for my C2005 I found on the web = only 1 sim detect

Someone suggestions please ?

regards

erik

ps: i don't understand when I unlock the bl and you have a xm dual then you have 2 IMEI 's is it necessary to unlock both IMEI's ?

---------- Post added 7th February 2016 at 12:03 AM ---------- Previous post was 6th February 2016 at 11:14 PM ----------

He told me the first simport is empty

strange I pull out the simcard and push it back and now he detects my 2 cards = maybe a bad contact ?

data is working on 1 sim

:) thanks again for cm13 for xmd

---------- Post added at 12:07 AM ---------- Previous post was at 12:03 AM ----------

What is the procedure for updating the nightly updates in cm13 ?

When I download the nightly update from 06 Feb there was a error installing from it .

I have now the cyanomod recovery

kind regards

erik
[Sony Xperia M] hemanthvarma:
for the first time after installing rom it performs optimization later it will not perform
[Sony Xperia M] Siddk:
After perform optimization at finishing boot it restart and the optimization start again

---------- Post added at 11:34 AM ---------- Previous post was at 11:33 AM ----------

after applying dual sim patch wifi does not turn on
[Sony Xperia M] hemanthvarma:
do a clean wipe of system,data and cache then flash again (OR) go back to stock rom and flash directly cm13
[Sony Xperia M] Siddk:
tried all of this but not work
[Sony Xperia M] hemanthvarma:
do once again

No one facing wifi problem in here , may be its your phone problem . So pls just flash stock firmware and check whether data , wifi working or not.! If working then flash cm13
[Sony Xperia M] mdhilipkumar:
Wifi Issue in CM13 XMD

Friends i am also facing the same wifi issue in cm13. I cannot get past the setup wizard screen select wifi network (To see available networks Turn on wifi). I have also done both clean install & dirty flash. Help me.

Thanks in advance.
[Sony Xperia M] mandar vast:
Hey guys what should i do if the flashtool fails to detect my device and if the xolumn which appears after connecting my device in flashmode appears empty??????
[Sony Xperia M] hemanthvarma:
install drivers properly...!
[Sony Xperia M] hemanthvarma:
which version of cm13 are you using ...? If you're unable to get pass wifi screen , I suggest you to flash cm13 beta version from stock rom 4.3 and then directly update to latest nightlies by just flashing over current rom ...!

I have no problem with wifi i have been using MM from over 1 month . Everything works fine for a daily use. Just follow the method i mentioned now
[Sony Xperia M] noggin-the-nog:
I have a similar problem with nightlies. when I set up the phone as "portable SD" updating nightlies works. if I use the "Use SD as internal" option the update fails and I can't see the CMxxxx.zip anywhere in TWRP to install, in fact I can't find the CMupdater folder either?

Am I missing the point here?

Any help welcome.

W.

edit...

Well installing TWRP 3.0.0 seems to have solved my updating problems!
[Sony Xperia M] simmusss:
Those who are facing data problem ,follow this step must,before flashing rom,u must enable data in stock 1st sim,otherwise u can't connect data with 1st sim,so everyone try this small step it ll works fine 100%,am also faced this problem in 1st time installation, hmmmm after I was flashed stock again and selected 1st sim for data and,wiped everything and flashed ROM and gapps,success data connects with 1st sim and working 3g also fine,so everyone must follow this who r facing data problem in dual,so follow this, and again thanx for our great developer [MENTION=4343949]PecanCM[/MENTION] for giving gift for our "M"....thanQ.hope its helpfull
[Sony Xperia M] mandar vast:
I installed flashmode fastboot and adb drivers from drivers folder in flashtool
[Sony Xperia M] mdhilipkumar:
Ok letme check with that and i willll post. Thanks Bro
[Sony Xperia M] hemanthvarma:
ok , now the drivers are detecting your device or not
[Sony Xperia M] mandar vast:
This column appears empty
[Sony Xperia M] Siddk:
Storage Running out there is no option for app to sdcard like cm12.1
[Sony Xperia M] jm.prathab:
Wifi Not Working

Hi friends,

I own an xperia m dual c2004, I flashed the latest build (clean install) everything works fine except Wifi, Wifi automatically turns off when I turn it on.

Please Help, Thanks in advance
[Sony Xperia M] DibyenduMaji:
for some people sim 1 works for some sim 2 works for data... test yourself...

and Flash "enable_dual_in_CM13_Nightlies.zip " to enable dual sim in nightly.. :)

download zip from here
[Sony Xperia M] maniganala:
Does this ROM consist official Sony Apps?

Or can I flash StryFlex minimal version on Top of this ROM?
[Sony Xperia M] DibyenduMaji:
No, No stock apps are included in cm13..

but you can get sony apps for cm13 here .. Just flash the zip from recovery..

No, StryFlex is for Lollipop based, so it will not work on cm13..
[Sony Xperia M] arfan_lg:
Hy

Any one can help me to get back to stock ROM

My USB port is not working properly

Can I use adb over wifi
[Sony Xperia M] hemanthvarma:
No such type arrangements are there to flash adb over wifi

Theirs one way to flash stock rom .

You can go back to stock rom by using your current recovery (only if you have backed up your rom before flashing custom roms)

(OR)

If you have cwm recovery installed on your phone follow this link .It helps you to go back to stock rom without pc
[Sony Xperia M] Dimi72:
Boot animation loop

I followed Sony's procedure on how to unlock the bootloader, but it failed and my M went into boot animation loop.

I could restore it to stock rom with flashtool and an ftf file. If I try to unlock the bootloader again, will it again go to boot loop, or should it be fine this time?

Note - The first time I tried unlocking it on Windows 10, 32 bit and had some hassles with the adb driver before I got it to work.

I can try the same on a fresh Windows 7 PC.
[Sony Xperia M] hemanthvarma:
yeah bootloop is common after unlocking the bootloader , just flash a stock rom ...

you dont have to unlock again after flashing stock rom , one time is enough

just check the status of bootloader after flashing stockrom .

Dial *#*#7378423#*#* . Then go to -> "Service Info" --> "Configuration". If it says

Bootloader unlock allowed - Yes << this means that your Bootloader is Locked

Bootloader Unlocked - Yes << this means that your bootloader is unlocked
[Sony Xperia M] Dimi72:
Indeed, it has remained unlocked, thanks for you quick response!
[Sony Xperia M] AshokDevan:
my problem in xperia M last installed cm13 still cant find a solution for the problem anyone help me please :confused:

when i on my phone its open normal

https://drive.google.com/open?id=0BxWKxuFNiVhgZFNQdkhHbEp5cWs

then

its starts apps

https://drive.google.com/file/d/0BxWKxuFNiVhgSld4dGc1SEVYT2s/view?usp=sharing

then stuck here

https://drive.google.com/open?id=0BxWKxuFNiVhgOU1YNWllbFlNaVU

i entered passwords as 0000

then its says description unsuccessful

https://drive.google.com/file/d/0BxWKxuFNiVhgaEhzMEJDWlpBek0/view?usp=sharing

i can use emergency calls and sounds too

https://drive.google.com/open?id=0BxWKxuFNiVhgc0ZiV1JyekptWjg

https://drive.google.com/open?id=0BxWKxuFNiVhgNWlMbE9xdEl2UTA

then i click RESET

https://drive.google.com/open?id=0BxWKxuFNiVhgTXltQ0RodkdvSk0

its boots and goes to recovery mode

https://drive.google.com/open?id=0BxWKxuFNiVhgd1JabC1yRkpGeDQ

i apply update from SD card or emulated

https://drive.google.com/open?id=0BxWKxuFNiVhgVDJWR3ZWdjl5dk0

its shows

https://drive.google.com/open?id=0BxWKxuFNiVhgekZub21ZcDc0ZDg

then i reset in recovery

https://drive.google.com/open?id=0BxWKxuFNiVhgRFlkUTVDTEdYZlk

https://drive.google.com/open?id=0BxWKxuFNiVhgRFlkUTVDTEdYZlk

cant reset anything but only can clear wipe cache..

seee its showsw error in CM recovery

https://drive.google.com/open?id=0BxWKxuFNiVhgN2R6YWlJLUxFQlU

please help guys ,, im stuck in recovery mod,, i cant acces my phone ..please help me :(:confused::confused::crying:
[Sony Xperia M] hemanthvarma:
flash stockrom via flashtool
[Sony Xperia M] hemanthvarma:
try to download current firmware and do again
[Sony Xperia M] Pramodkumawat:
Hello, Rom is very nice but wifi is not working in my xperia m dual i also make a clean install but still wifi is not working.

help
[Sony Xperia M] hemanthvarma:
Sorry , which recovery are you using ..? CWM causes problem sometimes

Use official TWRP recovery.Go to playstore and download TWRP manager and from their search for xperia m i.e nicki and install it

Here is the official xda thread and TWRP site
[Sony Xperia M] hemanthvarma:
UPD:WIFI fix

To whoever facing wifi connectivity issues after upgrading to cm13 , I recommend them to use TWRP recovery it is better.

Wifi connection issue is mainly because of using CWM recovery, as it replaces kernel. So please use TWRP recovery

How i get to know this is by doing the trials

Yesterday i have updated my cm13 nightly over cyandelta app but something went wrong, it caused bootloop for me . So i decided to go back to restore my 28th date made backup but my CWM recovery unable to recovery it , always throwing an error "cant be restored".

I have no options left to restore my backup. so i used flashtool to flash the Stock 4.3JB and again installed cwm recovery (i.e because for stockrom there is no TWRP recovery ) and from there again flashed the cm13 but still i can connect to wifi (I did this for couple of times) got frustrated and

Now downloaded TWRP manager app from playstore and installed the recovery all by using mobile data. F**k again here also i got the message that recovery is not properly installed . Got frustrated just rebooted my phone to recovey mode and HOLA magic happened my CWM got replaced with TWRP .

Now i have factory reseted , cleared data, wiped cache and installed the cm13 . This time everything went correct , Got wifi back......!!!!:good::):)
[Sony Xperia M] sbiswas:
hemanth, while I was in cm11, I was using CyanDelta. Then with cm13 I found some issue. So moved to CM Downloader. Here you can choose what recovery CWM/TWRP to use for flashing the delta update. It's working great for me.Till now no issue.
[Sony Xperia M] hemanthvarma:
Yeah from the day one of rooting to till now i used cwm recovery only , but after sudden bootloop in cm13 the cwm recovery raising some issues . Thats why i said whoever facing wifi issues i asked them to change to TWRP (not everyone )
[Sony Xperia M] Dimi72:
First time WRP flashing ?

Hello all, I unlocked my bootloader and now tried TWRP Manager and Rashr to install TWRP recovery, but I couldn't get in to recovery.

Cucumber09 says here taht you cannot use it with the stock kernel.

http://xdaforums.com/xperia-m/orig-development/recovery-twrp-xperia-m-t3147051

What is the first step then? How can I install recovery and CM13 at the same time?
[Sony Xperia M] hemanthvarma:
First try to install cwm recovery via adb and flash cm13

Then install twrp manager app and flash twrp recovery from there
[Sony Xperia M] nandisenjaya:
Can someone give me solution for root explorer problem force close when get permission for modify ext sdcard?

I've try to clear data, reinstall, but the problem same, force close when getting permission...
[Sony Xperia M] hemanthvarma:
in developer options enable root access (apps and adb)
[Sony Xperia M] nandisenjaya:
Root active & I have Supersu too... ES Explorer work fine, but I doesn't like ES Explorer UI.. My SElinux mode is permissive because I use Apps2sd, can the problem on root explorer because SElinux mode? If I change SElinux mode to enforcing, will Apps2sd work fine?
[Sony Xperia M] hemanthvarma:
May be ... try it !!!

have you tried any other root explorer ...?
[Sony Xperia M] nandisenjaya:
I've try any root explorer version, but still got the problem when getting permission of SD card.

I will try to change SElinux mode to enforcing, but I worry that can effect to apps2sd... :D
[Sony Xperia M] nandisenjaya:
I have try change SElinux mode, but the problem still appear...
[Sony Xperia M] PritamSaha:
I tried all the things as you say. Done with twrp recovery but still wifi is not working. Then checked advanced menu and i saw the MAC address of the wifi has been changed.

Now how to fix this problem???
[Sony Xperia M] hemanthvarma:
can you please list the process what have you done ...!!1
[Sony Xperia M] litemaster:
CM13 on XMD is awesome!

Luckily, I had a spare XMD (C2005, latest stock ROM 15.5.A.1.5 ) for a dry run.

This is a recap (adopted from first post in this thread) of the steps I did:

Copy CM13 nightly ZIP onto microSD card (with SDCard adapter in PC) - my version is 20160315

Copy Google Apps (ARM / 6.0 / nano) onto microSD card - I used nano because I only use very few Google apps

Copy the Dual SIM patch onto microSD card (the link in the first post is to an outdated version, I got this link from page 4, and pecanCM's original thread)

Ensure that latest CWM recovery is installed (don't install TWRP yet, it will not boot!) - I had "XM M DUAL 4.3 CWM 6.0.4.9 For New 15.5.A.1.5 ROM"

Make sure battery has at least 60% power (mine used like 40% during the whole process of flashing and booting)

Boot into CWM recovery

Wipe data, cache (and I wiped system too, just because ;))

Install CM13 zip

Reboot device and wait until it's finished - WiFi was not available because of issues caused by custom kernel in CWM, but TWRP will work now

Power off

Go to fastboot (keep Volume UP pressed while pluging in USB, LED turns blue)

Flash TWRP 2.8.7.0 (I tried 3.0.0.0, but it would get stuck after clicking a menu button) with

fastboot flash boot twrp-2.8.7.0-nicki.img

Note: As I just read, this it not the right way to do it, but all recommended ways failed due to WiFi not working (I don't have a data plan)

When finished, unplug USB

Boot to recovery by powering on and clicking Volume UP repeatedly (I always miss the right moment when the LED turns pink.. :silly:)

Wipe data and cache again

Install CM13 zip

Install gapps zip

Install Dual SIM Patch zip

Reboot device and wait

WIN

Note: No warranties that this will work for you (and some steps might not be required), but this how I got it working. Twice.

In addition, I've partitioned my microSD card with 'Adopted' storage (60% remaining as 'portable') following this blog post: Android 6 semi-adopted storage .

Greatly makes up for the limited internal storage and the fact that Link2SD is not working on MM at the moment.
[Sony Xperia M] litemaster:
Follow the link in step 3. in my previous post above. This is the dual sim patch that works.

The one linked in the first post of this thread (filename "nickids-mm-test2.zip") includes "Cyanogen Recovery", which causes the WiFi issue on XMD.
[Sony Xperia M] addicted_deepz:
I tried the same patch. Infact, I have seen your post before doing this experiment. I have C2004. Can you share screenshots of using dual sim & Wifi connected with installed version. Looking forward. :)
[Sony Xperia M] vipimg:
As litemaster (dual sim Patch) addicted_deepz Suggested It worked for me

use TWRP Mine is C2004 wifi is working didnt check the rest

Just have some question

how to use google launcher as default(launcher is different)
[Sony Xperia M] jjmomanyis:
wifi Issues

After flashing the patch for dual sim in my phone, wifi no longer works. How can I fix this?
[Sony Xperia M] addicted_deepz:
Thanks litemaster . It worked. So, here is the thing.

Flash the cm13 after that flash dual sim patch & gapps. It doesn't matter whether you use CWM recovery or TWRP, worked in both ways. Everything working. I was testing this firmware - I installed around 50apps from my laptop. Everything works fine. Then I restarted system. And another bug. Took around 15min to back to screen which says optimizing apps & it stuck in bootloop. So, I am back on Resurection Remix 5.6.4. Its more stable than CM.

And for setting google launcher as default, you need to clear cdefauls in Trebuchet. You found it under Setting>Apps.

It is default launcher so to change it clear its cache & clear defaults. Then when you go to home it asks to choose launcher. Touch on Google Launcher and then touch always. It will work.

---------- Post added at 05:02 AM ---------- Previous post was at 04:58 AM ----------

-----------
[MENTION=6189714]jjmomanyis[/MENTION] ------------ you are using the wrong patch for Dual sim. It is of 178kb in size. I am sure you are using the one which is around 12mb in size.
[Sony Xperia M] hemanthvarma:
Sorry for the wrong patch , now i have updated the link for patch it will work this time
[Sony Xperia M] hemanthvarma:
Go to Settings->Home ->Select your preferred launcher thats it ..!!
[Sony Xperia M] vipimg:
i tried that but it was missing the launcher very strange i had to re flash it again to get it

now everything is working

---------- Post added at 07:16 AM ---------- Previous post was at 07:16 AM ----------

i tried that but it was missing the launcher very strange i had to re flash it again to get it

now everything is working
[Sony Xperia M] addicted_deepz:
[MENTION=1010008]vipimg[/MENTION] why don't yoearch for your laucher in play store. If you found it in Apps section under settings, Unuinstall it & Reinstall from PlayStore
[Sony Xperia M] vipimg:
No not different launcher when i installed first it asked first use Google Now launcher or Trebuchet that was the one missing After reinstall it came back

Now everything is working for wifi fix use new dual sim patch
[Sony Xperia M] vipimg:
There is a new ver out

Can i update from the updater or download it manually

Is it necessary to wipe everything & install it all the time...?

Hate reinstalling & setting up every thing again
[Sony Xperia M] addicted_deepz:
[MENTION=1010008]vipimg[/MENTION] Its not necessary to wipe everything. It is said to clean cache drive every time you install as overloading of previous cache brick the device. But it is recommended to clean, as sometimes device got stuck in bootloop while overlapping the previous files.
[Sony Xperia M] vipimg:
i tried to update over the air but its not going to recovery gets stuck after boot
[Sony Xperia M] addicted_deepz:
[MENTION=1010008]vipimg[/MENTION] Remove & Insert the battery. Go to recovery by keep holding volume up button after turning on device. Follow the process again. You will sort it out.
[Sony Xperia M] vipimg:
not working i think something wrong with recovery

removed battery & power on it works but not installed latest ver same old ver

i tried to boot to recovery manually but it gets stuck with blue light

going to install recovery & check
[Sony Xperia M] vipimg:
ok now working did a clean install wiped everything

Can we change lock screen wallpaper
[Sony Xperia M] hemanthvarma:
Cant change lock screen directly in CM13

But you can change it by this app . Lockscreen changer
[Sony Xperia M] addicted_deepz:
Can anyone tell me, how you guys are managing root permissions in CM13. Its like whenever i install SuperSu my device stuck in bootloop. Its feels something is missing without supersu. So tell me, how can i get it bback in cm13?

Also, Let me know if is there is a way to disable one sim in XMD-nicki. (except via app).
[Sony Xperia M] vipimg:
Have you tried the developer option there is a root access in it (not tried yet)
[Sony Xperia M] addicted_deepz:
yeah there we can set root access to apps & ADB. but still wants SuperSu. and also in this ROM, can we connect our device to Laptop as Mass Storage, haven't dig it up , its not available. Anybody found it?
[Sony Xperia M] vipimg:
Yes root access works (tested)

If we install different rooting option will it block the cm updater ..?

yeah there is no mass storage option