yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] nirmal471:
After enabled my Ext SD card as internal storage ( Adoptable storage) , it's not showing in cwm recovery why? I downloaded beta 4.1 in that only, but when going to recovery it's not showing after mounted? [MENTION=5037002]Bonoboo[/MENTION]
[Sony Xperia M] Tu Dam:
Is it a problem if I flash cm13 from cm12.1 :D?

I know that instruction say flash from 4.3 but I just want to know

Thanks pecan & hope mtp fixed soon.
[Sony Xperia M] Bonoboo:
Because CWM, nor TWRP not support adopted sdcard for now due special formatting.

TWRP maybe fix this in future, but for sure not CWM, it's abandoned.

Yes, you can try update directly and keep all data.

For safety format /system and use OpenGapps for 6.0

If you get crashing com.android.phone, then enter TWRP, mount /data, Advanced > File Manager

Delete file /data/data/com.android.providers.telephony/databases/telephony.db
[Sony Xperia M] Zakaria.R:
Am i the only one who cant seem to be able to receive or send texts via the sms/mms app or any other similar app ??? :confused:
[Sony Xperia M] Agu_Ra:
Yeah, CWM is deprecated as its development is already discontinued. So only necrophiles use CWM with modern Android version. As for TWRP, our beloved Dees_Troy already works on adopted storage, here is the Omni Gerrit change. Seems that it already works but needs improvement. If someone is interested in testing, I can run the build with this commit merged. I am lazy to install Marshmallow now and, moreover, to format my SD. For now you can use a little bit old build with disabled SD-card support from here ("nosd" variant).
[Sony Xperia M] Surpriser:
first i installed over cm 12.1 and it works but i see some small bugs so i decided to format all partitions and have a clean install.

i wiped all partitions (even internal storage afer backup) and installed cm13 beta 4 (and today updated to 4.1) and i can say its very stable and perfect rom.

Just i see one small bug and don't know its cm bug or device is when i have incoming calls when device is locked i cant answer to call.i drag ring to green icon but its not functioning. but when device is unlocked i can answer normally.

but totally is perfect.

Thank you [MENTION=4343949]PecanCM[/MENTION] for surviving our devices.
[Sony Xperia M] abhatia1435:
[MENTION=4343949]PecanCM[/MENTION] Battery Optimisation(Doze) doesn't work?
[Sony Xperia M] sersel2:
I used to have this kind of bug in β3 (I noticed input SMS lack only, not tested the other features). Both β4 and the incorrect β4.1 updates haven't solved this for me, totally breaking my radio software. I couldn't control or switch GSM, WiFi or BT. So I cleaned up everything with the stock 4.3 ROM (got all the connectivity including dual-sim working + some peace of mind). And after that I installed the final β4.1. Everything works great now! I am not sure that the stock made any sense, but I have spent a lot of time installing pure β-s, flashing different radio modules, patches and so on with no success before.

Yes, that is pretty interesting. Tonight I specially left my XMD with both WiFi and GSM turned on and got 30% drop.

11% = Android OS, 7% = Screen (that is normal), 3% = WiFi (that is probably normal, too).

"Android OS" keep awake time is 3h+, plus CPU total 1h+ during the nighttime.

Thanks, Sergey.
[Sony Xperia M] hemanthvarma:
problem with sd card storage

IN beta 3 i can able to save my photos on sd card but in beta4.1 you said we can save content on sd card

here in my case i have two options either internal storage or "0" . It means both options are internal storage only , if i select any of those photos and files they going to store in internal storage only not in sd card. what may be the problem..?
[Sony Xperia M] Bonoboo:
Ok for me in Beta 4.1

Try to clear Camera app data.
[Sony Xperia M] nirmal471:
In otg pd, video files not playing continously.. Why .? And otg pd nt showing in settings/ storage and USB, it's only visible in file manager only. ? [MENTION=5037002]Bonoboo[/MENTION]
[Sony Xperia M] PecanCM:
Fixed. offline charging patch for now https://www.mediafire.com/?hpcchgqrppdxzc2

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

no new dual sim bug reports till now so it's safe to assume dual sim working on beta 4+ just like beta 3 ?
[Sony Xperia M] hemanthvarma:
till now havent faced any issues about dual, hopefully expecting the same in future

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

About Storage

One more thing in beta 4.1 the default storage location is selected as internal storage only and in camera app when i want to select sd card to save photos its reverting back to default storage location .

Although I have left with options internal and "0" as two storage options .Both are internal only know...? Then why it is showing two options ..?

And one more interesting thing is if i check my storage&USB settings the "0" is showing as my external storage . The same thing if i check in my file mangager its showing as internal storage .Screen shot attached in description

I Connected my device to pc,here also its showing "0" as ext storage

As far as i know may be some apps doesnt support ext_storage option in marshmallow . So if thats the case there is a app called SHAREit which supports sdcard .it is allowing me to change my default location and accepting .But some apps like Cyanogen camera app,snap camera which also supports ext_storage , still those apps are not allowing me to change default locations ..

here i am attaching the screenshots taken from my phone and PC
[Sony Xperia M] icoolguy1995:
PecanCM still selection to 2g doesn't work, it reverts to 3g signal when available, by this, there is network loss.
[Sony Xperia M] Bonoboo:
Thanks, works perfectly.

Added patch in bug-list (will update it continuously because link now in OP, thanks)

And in OP in "kernel" repo link mistake in URL: cm-13.07

BTW what about init.d support?

Here workaround.
[Sony Xperia M] Bonoboo:
[MENTION=4343949]PecanCM[/MENTION]

Seems Doze mode broken.

There's error if run dumpsys deviceidle, but at some Beta (2?) there was related info.

And in fact as mentioned above no energy saving.

Maybe it's broken due SELinux denials?

UPD: After "setenforce 0" it shows info. And there:

mSigMotionSensor=null

For example on other device (from internet):

mSigMotionSensor={Sensor name="Invensense Significant Motion Detector", vendor="Invensense Inc.", version=1, type=17, maxRange=1.0, resolution=1.0, power=0.3, minDelay=-1}

So without supported ("emulated") motion sensor Doze not works anyway. It's SELinux problem too?

2 All with Dual

Internet really works on second SIM?
[Sony Xperia M] Alex_Gamer:
Bt call bug fixed?

Enviado desde mi C1904 mediante Tapatalk
[Sony Xperia M] mbc07:
Did an extensive test with Beta 4.1 and no, mobile data works only on the first SIM. You can select the second SIM for mobile data and even set APNs for it without any problem but no connection will be established at all. However, swapping the SIM cards works without any issues now, so I'm using that as workaround...

Also, I noted that during the first boot after a clean install no SIM cards will be detected at all. Reboot the phone once and the SIMs start working. Does anyone else experience this?
[Sony Xperia M] hemanthvarma:
Regarding storage issue

Once see my post which I posted yesterday .Is there any way fix that..?
[Sony Xperia M] PecanCM:
oops thanks and Toybox replacing Busybox, i'm not going to add any new thing that use busybox and also selinux might hate this.

doze mode got disabled during device tree rebase.

provide logcat with steps to reproduce bug but i don't have necessary accessories for testing bt calls so it may take time.

give me radio log (logcat -b radio). if you have time then backup,wipe and take radio log after boot and after enabling data for 2nd sim.

have you tried "Backup, reflash with wipe and check if the bug is still there" ?
[Sony Xperia M] Alex_Gamer:
Which log cat do you need?

Enviado desde mi C1904 mediante Tapatalk
[Sony Xperia M] dhruubo:
Any bug on xmd????
[Sony Xperia M] hemanthvarma:
I havent backed up my rom so cant go back .

But as you said i wiped cache and dalvik , now the default camera app which came with rom is allowing me too store photos on sd card ...

Interesting thing is the apps like cyanogen camera , snap camera which supports ext_storage to save photos , still they are not allowing me to change location .So for now i can say default camera is working with sdcard as storage option
[Sony Xperia M] abhatia1435:
Can it be enabled again?
[Sony Xperia M] Bonoboo:
Please, read recent posts.

There's no internet on 2nd SIM.

Maybe there small chance that it's CM bug.

I remember some commit in CM12.1 regarding handling APN's on DS.

But in CM13-thread for HTC M8 Dual mentioned working data.

UPD: on Xiaomi Redmi 1S data also ok
[Sony Xperia M] simmusss:
Am only able to conect data with sim2 only......i cant conect with sim 1......btw thanks.....
[Sony Xperia M] simmusss:
Offline charging bug patch only for single or dual tooo?????
[Sony Xperia M] Bonoboo:
Any.

Also for me and other user Wi-Fi won't turn on after installing.

Missing .ko modules?
[Sony Xperia M] dhruubo:
Tqz a lot bonoboo
[Sony Xperia M] mbc07:
Well, I returned to stock ROM before trying Beta 4.1 to see if it would improve anything and indeed it improved. Now both SIMs works since the first boot. About mobile data on second SIM, I tried everything I could think, it works only on the first SIM. I used a modded build.prop to have ADB enabled since the first boot and I attached the radio log below. First boot => welcome screen appeared => after about 5 seconds the device asked for the PIN of my SIM cards => entered it, both SIMs working => skipped joining a WiFi network => continued the first boot wizard => selected the second SIM as mobile data SIM => finished first boot wizard. No internet connection (and then I stopped the log)

WiFi working without any problem here, even on first boot...
[Sony Xperia M] PecanCM:
2 patches for test, test both but t1 first.

https://www.mediafire.com/?2l4bns1qf15j21i

https://www.mediafire.com/?lawvaekkouwmyeu

i guess you installed custom kernel ? replace all modules with b4.1 then
[Sony Xperia M] Bonoboo:
No.

Also Wi-Fi disappeared after couple reboots, not immediately.

Anyway I hope all will work as intended in future builds when ROM installing fully.
[Sony Xperia M] ghasemi.hussein:
Big thanks to pacman for this great work.

I use beta 4.1.

Rom is very good and smooth. Battery drain seems normal to me.

But I face some problem. Bluetooth terething didn't work.

I had a second partition on my sd. Rom recognized it as sperate sd card and gave me option to use it as internal storage but it format first and second partition togather. Cause me lots of data loss.

And I have internet connection on second sim only.

And I add airplane mode to power button menu but it don't work.

I would be very good if '3g only ' works fine.
[Sony Xperia M] mbc07:
Tested both patches (doing a full wipe -- including system partition -- between each test) and no changes, both patches behaves exactly the same as Beta 4.1 unpatched, mobile data only on first SIM...
[Sony Xperia M] PecanCM:
you sure 2nd sim data was working on beta 3 ? can you test this please https://www.mediafire.com/?ub8nqjv9c7gyvvc it's nicki-ds-test2 without bootimage
[Sony Xperia M] mbc07:
[MENTION=4343949]PecanCM[/MENTION] you're right, I tested your new patch and nothing changed, so I flashed stock ROM then tried Beta 3 again and indeed mobile data works on first SIM only, my previous report (mobile data working on second SIM) probably was the result of a dirty flash (AFAIR I flashed Beta 3 on top of CM12.1 Nightly when I reported that). Sorry for making you hunt a regression that doesn't exist :(
[Sony Xperia M] simmusss:
My device only conects data with sim2 only..
[Sony Xperia M] ghasemi.hussein:
Little bug

Another small bug. As you see in screenshot, apps size on internal storage is bigger than hole capacity.
[Sony Xperia M] kh34d:
[MENTION=4343949]PecanCM[/MENTION] I hope we get nightlies before other devices from Sony, it's very good filling[emoji6] to see Nicki appear first in CyanogenMod nightlies [emoji106] [emoji1]
[Sony Xperia M] seanp25:
Really great to have this (near-nightly?) quality CM13 build for this phone.

Any tips on how I might

1) batch move many apps to SD card from internal storage?

2) make all future app installs go to SD card?

I find the 2GB is filling up very quickly.

I see lots of check-in on CM related to Snap camera, I wonder if that will be a nice improvement also to this device.
[Sony Xperia M] PecanCM:
it's ok. so no 2nd sim data is only dual sim bug i guess ?
[Sony Xperia M] mbc07:
That's right. As far as I tested Beta 4.1, everything RIL related is working fine in Xperia M dual except for mobile data which works only on first SIM Card...

EDIT: forgot something, that's probably a CM bug and it's very minor but it's worth reporting, at least here there's only one SIM Toolkit "app" in the launcher and it opens the toolkit from the first SIM (on CM12.1 I remember having two SIM Toolkit apps, one for each SIM). It's useless at least for me but I think it's worth letting you know (other dual users may need this?)
[Sony Xperia M] "A09":
Is WCDMA only mode working ???
[Sony Xperia M] Bonoboo:
For me after clean install (from stock) on Dual there's 1 app, but inside can be opened menus for both SIM's (that's nice, no two shortcuts)

And yes, both SIM's available in SetupWizard, as intended.
[Sony Xperia M] kh34d:
Yes, and 3G mode not working on Beta 4.1 but working in beta 3.

I'm now on beta 3 with full access to super su
[Sony Xperia M] AlexiusItaly:
I think that depends on the app installed on SD, i'm on cm12.1 and as you can see it's the same :) infact i have installed more big app on sd
[Sony Xperia M] Bonoboo:
Please, explain problem.

Tested mono BT headset, all fine.
[Sony Xperia M] mankokoma:
for me also alright. Use mostly stereo headset, is fine. And built-in-car also alright. Once or twice it connected, but no sound - after reboot okay :good:
[Sony Xperia M] Alex_Gamer:
Yeah, its fine but when i answer a call i can't hang out till i turn off the bt device or bt.
[Sony Xperia M] Adarsh Dubey:
[MENTION=4343949]PecanCM[/MENTION]

Waiting for new update.... Will the next update be nightly? Hope to see Nicki getting the official cm13
[Sony Xperia M] mankokoma:
I'm sorry I have to revise... Tested some more, because of getting doubts:

1.) The stereo headset (from company called "inLine") can't be used to make calls, but only works as headphones. So I can only listen to music. When I try to make a call through it, the sound/mic of the phone does not use the BT-headset. When I get an incoming call, the phone only vibrates (no ringing sound) and the Phone UI does not appear - I can't answer the call... when I switch off the BT (Phone or BT-Device) there is a soft reboot.

2.) When I connect the Stereo device, configured as "media only" in BT-Settings, I can make calls with the phone as usual (in & out)

3.) When I use only car-BT or Mono-headset (company "Jabra") everything works alright.

4.) I tried to connect both BT-Devices, configure Stero-BT for media only and Mono-BT for Phone/Contacts --> same effect as in 1.) - none or a faulty phone UI

So maybe it's just a fault in the BT-device from the "InLine" company, but I think it's something to do with the software in the phone, because it worked all well under CM12.1

So I caught the logcat of the last testing with both BT-Devices connected - hope it does help a little.

P.S.: tested also with 'setenforce 0' what didn't change anything...
[Sony Xperia M] PecanCM:
Update to BETA 5

Update time!!

beta 5 changelog:

Fixed offline charging backlight

Reverted "Enabled WCDMA only mode"

switched to open source libril/rild (using LA.AF.1.1_rb1.16 branch)

switched to snap camera as deafult camera app

- remember caf lp5.1 snapdragon camera ? now with cm enhancement

Updated cm source

Download link: https://www.mediafire.com/?a5i7xom2abdg9h9
[Sony Xperia M] kh34d:
[MENTION=4343949]PecanCM[/MENTION] can I flash beta 5 over beta 3 without any problems with super us?

2- now can I chose only GSM?

Really I appreciate your efforts thanks
[Sony Xperia M] seanp25:
Thanks for new build.

Having some trouble with SD card on Beta 5.

I had moved many of my apps to an SD card with beta 4, seems on beta 5 it's not recognised. I get "SanDisk SD card missing. Reinsert this device" notification, and apps don't open.
[Sony Xperia M] bjo81:
On my phone, it's not missing, but still being checked.
[Sony Xperia M] Bonoboo:
[MENTION=4343949]PecanCM[/MENTION]

Thanks for new build.

1. Reverting that network commit also fixes fall-back mode after reboot. Nice.

Seems "only 3G" must be added via different way due code changes.

2. About RIL commit. Just for info: it not fix data on 2nd SIM.

3. Hmm, Doze still broken: SELinux blocks at least dumpsys deviceidle and there still not listed sensor (null)
[Sony Xperia M] digt:
Me too

Inviato dal mio C1905 utilizzando Tapatalk
[Sony Xperia M] Bonoboo:
2 All

Changes in CyanogenMod for Beta 5 (previous here)

Dual: network settings merged into one section

Dual: added ability to set ringtone for 2nd SIM

fixed crashing Browser at downloading file (added runtime permissions)

fixed "flickering" at tiles editing

in Settings added item for hiding status-bar icons

ToyBox now replaces BusyBox utility

fixed January vulnerabilities

partial support upgrading from CM11

fixed navigation bug at opening traffic for specific app
[Sony Xperia M] icoolguy1995:
Upgraded to beta 5 here are some observations:-

1) If you are using SDCARD as internal in beta 4, format it as portable, cause internal SDCARD feature is broken in this build. Whenever you format your card as internal, it'll show "checking" and this never gets over. If someone by mistake has flashed beta 5 with SD as internal, downgrade to beta 4.

2) Almost all issues are fixed, just noticed the above one.

Thanks PecanCM.
[Sony Xperia M] bjo81:
I downgraded back to beta 4 and all data on sd as internal storage is usable again.
[Sony Xperia M] seanp25:
Thanks, flashed beta 4.1 over beta 5 and I can see SD card now and all data on it.

Although the apps still don't work, I get app not installed. Not sure if there's a way to fix this, but at least I can access the data again.
[Sony Xperia M] bjo81:
Maybe you'll have to reboot again, the apps should appear after some time then.
[Sony Xperia M] coolboyforeva:
For those who want to set file sharing as default option under MTP, here is an app

http://xdaforums.com/android/apps-games/app-mtp-enbaler-t3263467

U wont need to select file sharing everytime you connect to PC.

Make sure to enable root permission under developer settings.
[Sony Xperia M] Bonoboo:
If you can't connect to Mi Band or other BLE-wearable flash in recovery this patch

It's temporary CM bug

UPD: fixed in Beta 5.2

But there still empty device in My Computer.
[Sony Xperia M] seanp25:
Thank you. I just had to wait a short time for the apps to appear again.

On both beta 4.1 and 5, my phone cant receive calls. In fact the phone soft reboots whenever I try to ring it. Is this some known RIL issue, or maybe something unique to my set up. I will check if this is because I installed the Google Dialer from apkmirror
[Sony Xperia M] mankokoma:
Just to mention: I tried the patch and it did not solve the problem with BT I described here.

Everything else in BETA Five is working very good - I really love it. Yes, I know, everything seems to be easier with single sim device... Even GPS is working better than ever before!
[Sony Xperia M] coolboyforeva:
Try rebooting the phone and restarting windows. Make sure u r rooted.

set the default setting to "connect to USB" in the app.

Also, u can install BusyBox and then try.

For me it worked in one go. Pop-up came and it automatically switched to USB Connection and displayed drives.
[Sony Xperia M] PecanCM:
beta 5.1 coming with adoptable fix. tested on my phone adopted storage working again.
[Sony Xperia M] PecanCM:
Update to BETA 5.1

beta 5.1 up with Adoptable storage fix.

beta 5.1 changelog:

Adoptable storage working again

Fixed CVE-2015-7872,CVE-2015-8575,CVE-2015-7509

Disabled ext2/3

- now using ext4 for ext2/3

Updated cm source

Download link: https://www.mediafire.com/?il286gyyqqyxvy7
[Sony Xperia M] Bonoboo:
Again thanks for Beta!

Regarding Doze.

Now command dumpsys deviceidle works without disabling SELinux.

But there still not listed sensor (mSigmotionSensor=null), so I doubt that it works.

And regarding old commit, that enables stereo video recording (2nd mic) by [MENTION=4929675]thichthat[/MENTION]

Unfortunately, in noise environment other side hear voice too loud and distorted.

There a bunch users on other forum, that complicated about this.

Personally I reverted snd_msm_soc_Sitar too.

Imho, in-call voice quality more important (used more often), than sound in rare video recordings.

Even tuning volume not give proper result.

It was my mistake to suggest put it into main code.

So please, if possible, revert this and this commits in 12.1 and 13 branches.

If someone want to have stereo, he can install patch with auto-restore.
[Sony Xperia M] emc02:
after flashing 5.1 TWRP was replaced by CM-Recovery and flashing FOTA-TWRP via ADB not working. Has something changed in kernel?

When reflashing older versions of CM, TWRP comes back.
[Sony Xperia M] abhatia1435:
This is because of ToyBox atm. Try to Hold power button+Volume down or Power Button+Volume Up to access FOTA TWRP. Report if it works.
[Sony Xperia M] emc02:
sorry, just restored my CM12.1 backup, maybe someone else can confirm?
[Sony Xperia M] Rajesh_m:
After flahing new beta I cannot go pass the lockscreen. Everytime I enter the lock code, it goes back to lock state again. And as stated above Twrp has been replaced by cwm recovery.

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

To all on the latest beta, to enter twrp recovery , you need to hold power button+volume up key. Pressing the volume down key will take you to cwm recovery.
[Sony Xperia M] Bonoboo:
Yep, can confirm. CM's bug.

Yep, it's functionality of new init system

Same now on other Sony devices
[Sony Xperia M] icoolguy1995:
PecanCM regarding adoptable storage, it's only partially fixed. When SDCARD is adopted as internal it doesn't show up in file manager, instead, only internal storage is shown while selecting path for SDCARD. And one more issue, that i noticed, is after adoption of SDCARD as internal mobile slows down incredibly does anybody can confirm this?

Thanks PecanCM for your support.
[Sony Xperia M] Rajesh_m:
so any way to bypass the lockscreen? or should i flash old beta?
[Sony Xperia M] PecanCM:
yeah we don't have significant motion sensor, i hear there are some other ways to get doze working but no idea how that work right now and hmm ok.

it was working fine in beta 5 i assume ?

looks like cm issue. well http://review.cyanogenmod.org/#/c/122003/ this commit caused beta 5 mounting issue (fix http://review.cyanogenmod.org/#/c/128834/) anyways will see when i have access to my spare sdcard.
[Sony Xperia M] Rajesh_m:
I was on beta 4, flashed beta 5.1, and now i cannot go pass the lockscreen.
[Sony Xperia M] AlexiusItaly:
[MENTION=4343949]PecanCM[/MENTION] you're the best, thanks you so much :thumbup:
[Sony Xperia M] babyyeobo14:
MTP/PTP not working... so i cannot use my phone for transfering some file from phone to pc or pc to phone? or is there any way ?
[Sony Xperia M] Mysteryagr:
Keep disconnecting and connecting the phone until it works.

It is buggy...
[Sony Xperia M] Bonoboo:
Seems you just need re-format it in CM13.

Without it previous data can't be accessed.

Tested Doze: it doesen't work.
[Sony Xperia M] Arun_Daniel:
I'm currently on cm12.1. Should I wipe data and system to flash cm13 or just wiping data is enough? And will I lose my current TWRP in the process? I currently use NUI kernel. Thanks
[Sony Xperia M] Bonoboo:
Of course wipe /data preferred, but seems it will work anyway.

Just delete folder /system/addon.d and flash ROM.

If TWRP persistent – no.