yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] Sebbo06:
Thanks Nicklas,

a reboot fixed it.
[Sony Xperia M] icoolguy1995:
Did you done a clean install?

And a important note to all:

When you are flashing rom, flash both rom and gapps together on a single go. If you flash rom and then reboot and then flash gapps setupwizard will FC.
[Sony Xperia M] bjo81:
Thanks for the beta, it works like a charme after a dirty upgrade.
[Sony Xperia M] Tu Dam:
Thanks guys, I fixed it :p
[Sony Xperia M] Tu Dam:
I fixed it by reflash rom: wiped system/data/cache/dalvik then flash rom & gapps-mm-mini.zip. But this time, I can't use "Apps permission" feature :/, force closed "Unfortunatly, package installer has stoped"
[Sony Xperia M] abhatia1435:
Portable SDcard issue!

[MENTION=4343949]PecanCM[/MENTION] Why can't the files be downloaded to sdcard when using it as portable storage? No app can set its dowload location to sdcard? Write issue or what? I have enabled all the permissions (including storage permission) but no luck. Is it just for us or Marshmallow's official problem? And also can the apps be moved to sdcard? Please look into this issue and see if you could tweak any settings/files to make it work in your free time :) Thanks again for new build! :good: and Guys If anyone has a temporary fix for this, Tell Please. :)

Edit: Found that there's a problem with permission WRITE_EXTERNAL_STORAGE. Fix it please!
[Sony Xperia M] bjo81:
Yesterday I got a "disk i/o error" in Evernote and Telegram did not update the history. Both apps were running on the sd card. I moved them on the internal storage and they were running fine again. As I tried to move them back to sd, I got an error "not enough space" though there was 5GB free. After rebooting all apps on sd were running fine again.
[Sony Xperia M] Bonoboo:
So your sdcard just buggy (due wear) and can fully fail in any moment.

Be careful with data on it.
[Sony Xperia M] Harish DS:
Mobile Data is not working

Mod edit: OP quote removed

Mobile Data is not working please help
[Sony Xperia M] Bonoboo:
Both patches:

– Earpiece: sound appeared, but low, mic ok

– Headset: still low mic

– Speakerphone: mic appeared, but low

Also now at 2G/3G call earpiece again low.

UPD: my voice at normal call distorted.

Maybe will easier to test on your side, so I sent on your Gerrit e-mail login / password for SIP account.

There is number for echo sound test.

This happens sometimes. Flash stock ROM, boot and flash CM13 again.

Also check APN settings.
[Sony Xperia M] PecanCM:
Thanks, i will check.

how's normal call with this patch ? https://www.mediafire.com/?7r0sjgwt8vrz5c6
[Sony Xperia M] Bonoboo:
Better, but a still not same clear (voice loud and clinking).

UPD: tested Skype. Low earpiece / speaker volume and mic a bit more sensitive than normal at least in echo test.
[Sony Xperia M] PecanCM:
getting perfect volume is most hard in new hal then fixing broken function and don't have good amount of free like old days anyways fixed headset mic and some volume changes, now normal calls looks close to fine me now https://www.mediafire.com/?42fq44qrwavh9c1

btw we should use hangouts for testing, more easier then xda posting.
[Sony Xperia M] Bonoboo:
Well, it's temporary and then sound just works.

Also I don't have much time too.

Hm, just for info, with 5th patch:

Normal call

– Earpiece volume still low. Ok when "voice-handset" changed from 76 to 90.

– ..mic a bit too loud

– Headset: mic low

– Speakerphone: too loud on max volume

SIP, all 3 modes

– low sound and low mic

– also echo on speakerphone

I want to experiment with values, but don't understand relationships between volumes at beginning of mixer_paths.xml (you tune them too) and volumes for devices below.

And maybe also something other needs to be changed to get normal result.

XDA imho perfectly suitable for non-urgent consistent process when someone have a time.
[Sony Xperia M] PecanCM:
don't you hearing noise with 90 volume ?

well some basic info:

volumes at beginning are default volumes, if volumes are not changed later for diff devices then these volumes are used. it's also possible to change volume at runtime using tinymix. like when at voice calls to change voice-handset volume tinymix "RX1 Digital Volume" "90" .

which use case is used can be found from log like "select_devices: out_snd_device(2: speaker) in_snd_device(0: )" for mic it's in instead out.

audio config is same as old hal but use case device names (more devices added), few devices default ACDB ID (can be changed via audio_platform_info.xml) and volumes are changed, like in old hal max ADC volume was 100 now it's 3.
[Sony Xperia M] Bonoboo:
Strange, but no. Also ideal value for me 91 89

Hm, doubt, that devices have hardware differences in audio aspect.

Maybe on speaker stick some metal dust which makes sound bad.

Not only I had this problem. Resolved by replacing speaker.

And thanks for info about file, I'll try later.
[Sony Xperia M] AlexiusItaly:
I'm on 09-07-2016 nightly and i can't install any kind of apk download from web (i can install only apk from playstore).. Please help me [emoji17]

It say:

Now i'm trying to do a fresh install of 13-07-2016 nightly and see what happen

EDIT: Nothing change.. So now i install apk by using "1 Click Installer" app
[Sony Xperia M] PuiuMarius2000:
No problems for me.:)CM13 b 20160709,fully odexed,V4A.

You can flash in recovery your apk or just copy your apk and set right permissions.

Sent from Xperia M powered by Marshmallow.
[Sony Xperia M] icoolguy1995:
Have you given storage permission to browser?
[Sony Xperia M] AlexiusItaly:
What fo you mean abot "set right permissions"? After download apk what i have to do? Because with the "1 Click Installer" i can install app without change anything

Yes infact i can dowload apk but can't install it [emoji17]
[Sony Xperia M] PuiuMarius2000:
Use "1 Click Installer" app.It's better.

Sent from Xperia M powered by Marshmallow.
[Sony Xperia M] Pallavc1234:
Gogle play bug?

Is the Google play store bug fixed when downloading automatically stops and cat be resumed. Then I have to turn of mobile data and again switch it on so it continues. It happens approximately after 10 mins of download start
[Sony Xperia M] Bonoboo:
Sounds like it's GPlay app bug.

Even if problem in Android (unlikely), it must be fixed in CM code by their developers, not here for device.

Also never experienced this.
[Sony Xperia M] hemanthvarma:
Phone reboots randomly

Xperia m reboots randomly when i have to make a call , this happens occasionally but i dont know why ...!!!:rolleyes:

The same happens to my dad phone (Android one canvas a1) which is also on MM 6.0.1 and the phone is not rooted at all.

So guys what may be the problem you think , i denied phone permissions for third party apps but also still its repeating ..!!!
[Sony Xperia M] Bonoboo:
To find out cause on Sony install Terminal app, enter this:

su
cat /proc/last_kmsg > /sdcard/1.txt

Then upload file 1.txt from internal sdcard.
[Sony Xperia M] icoolguy1995:
From few days, i am getting this weird issue. If i want to make a call, i have to try like 5 times to get it connected, but if i turn aeroplane mode on and then off call connects in the first attempt, this make me think that this might be related RIL(maybe), attaching radio log.

PS: Sorry for the inconvenience, as pastebin is blocked by ISP.
[Sony Xperia M] Bonoboo:
2 All

Small idea.

Our developer, PecanCM gave our devices new life. Fourfold.

First, in Dec 2013 with CM11 (KitKat, 4.4)

Second, with CM12.1 (Lollipop, 5.1)

Then with CM13 (Marshmallow, 6.0)

And now with latest CM14.1 (Nougat, 7.1)

Plus basing on his roms created bunch other customs.

I remind, that stock firmware stuck on 4.3

We use his work every day.

So I suggest to consider give Ron a donation.

It will be your real "Thanks" for continuous support during 3 years.

Please note: paying via button "Donate to me" under PecanCM's avatar not work.

You will get error "users from India not allowed to receive payments".

But all ok if manually make this like payment for service (which is true):

1. Press "Donate to me" button under any PecanCM's post, e.g. here or direct link

2. Copy e-mail above page

3. Login on PayPal site

4. Select Pay or send payments > Pay for goods or services

5. Paste that e-mail as recipient

Such steps required to not indexing address by search engines.
[Sony Xperia M] litemaster:
Thanks for the reminder, Bonoboo.

Donation sent! :D
[Sony Xperia M] PecanCM:
Thank you and everyone for this but please remove that email address from post, address now in google search and i don't want that. anyone who want donate can get address by opening "donate to me".
[Sony Xperia M] Bonoboo:
Aw, sorry, I was doubt about posting e-mail as plain text due spam.

Just tried to explain steps most easily.

Done: removed mail and changed guide here and on other forum.

Also submitted same url's to Google for re-indexing. I sure, soon it will removed.
[Sony Xperia M] eboelens:
nightly 20160715 no simcards placed

Hi updating to 20160715 gives me simcards not placed . Also no securityscreen for unlock simcards.

Xperia M C2005

cu regards

erik
[Sony Xperia M] PecanCM:
got some time this weekend, want to finish all volumes updates now. apart from this, speaker headphones combo uses case fixes in new patch https://www.mediafire.com/?wdey5rc3pott233

no problem.

you re-flashed dual sim patch ? i don't remember seeing any cm change that can cause this.
[Sony Xperia M] :
This same problem only on 20160715
[Sony Xperia M] Bonoboo:
Nice!

Compared side by side with other phone with old HAL:

Normal call

– Earpiece: seems volume must be 90. Mic finally ok.

– Headset: voulmes ok. Sound definitly not so soft, as before

– Bluetooth: all ok

– Speakerphone: too loud on max volume. My voice bad if talk at distance. Sounds like Fluence is working, same glitches.

SIP

– Earpiece: all ok

– Headset: low sound and mic

– Bluetooth: all ok

– Speakerphone: low volume, low mic, big echo

Html5 audio:

– mic volume now ok

FM radio

– headset and speaker: a bit lower volume

Bugs after using speakerphone at normal call, happens not always:

– Media (music) going to earpiece and volume can't be changed

– FM radio: speaker going broken, sound still routed to headset and volume can't be changed

Logs (sorry, no grep):

Logs_bug_after_speakerphone.zip
[Sony Xperia M] ki69:
i have C2005 am install CM 20160717, and second sim don´t work, and some times sim 1 also don´t show up.

I installed the Dual Sim patch via TWRP but nothing happens
[Sony Xperia M] hemanthvarma:
Which patch have you used...??

Today morning i also performed a clean install , i got network in two sims
[Sony Xperia M] :
[MENTION=6526097]hemanthvarma[/MENTION] i have used this patch http://xdaforums.com/showpost.php?p=65104843&postcount=49 and i have tried install stock 4.3 and install cm 13 and still this same problem

screenshots (i have only one sim, now i don't use dual sim)

Screen_1

Screen_2
[Sony Xperia M] eboelens:
same here for xperia m dual C2005 simslots 1 and 2 empty and

with root and usb debugging on no MTP , phone is not more reconized by osx or linux .(phone don't give me a popup for choosing mtp or loadin batterie)

I cannot use flashtool for going back to stockrom now

do you have a solution please ?

erik

from Belgium
[Sony Xperia M] ki69:
I use the one of the inicial page and don´t work.

I now have both sim´s working without problems with [ROM] [6.0.1] [OFFICIAL] [Marshmallow] [Nicki] Resurrection Remix Marshmallow v5.7.1.

no need to patch, just install and Dual Sim is working with C2005
[Sony Xperia M] PecanCM:
did you checked with 14 july build ? dual sim works in that build or broken ? and backup,wipe and flash latest build and check dual sim.
[Sony Xperia M] Bonoboo:
[MENTION=4343949]PecanCM[/MENTION]

Regarding recent bug on Dual.

On other forum plus 3 users, that after updating to 15.07 have:

– second sim operator name uses name of first

– long network search after boot

Reverting to 14.07 without wipes fixes bugs.

So problem commit in between: CMXLog and screenshot

My guess about removing and then restoring selective-spn-conf.xml of course wrong, because problem persist for user, that skipped removing.

From CM related only this, other commits for device from Adrian DC.

GsmSS: Use per-slot resources for carrier-bound options

Thought that problem in this commit.

It removes persist.rild.nitz_* properties as unreferenced.

But they are same unreferenced in stock build.prop and other devices too.

Asked one user to add them back, but this not helped.

Also strange, but on Jira still no relevant reports

So problem in device-tree?

P.S. About indexing your e-mail.

Checked via exact search of address in Google and now there again 1 result instead 3 before.
[Sony Xperia M] eboelens:
I will check next week (on holiday now)
[Sony Xperia M] PecanCM:
ok dual sim guys, check with this zip https://www.mediafire.com/?ofw8woqcptnk86u (no need of extra patch right now, just flash zip) also try backup,wipe and reflash once and yeah i need to contact xda for that.
[Sony Xperia M] Bonoboo:
Got report from other forum: no, patch not helps.

Also attached radio log.

BTW as commit Use per-slot resources for carrier-bound options changes only telresources.apk I extracted it from ok 14.07 and asked to replace on 15 and higher.

Nothing changes, so this theory refuted and left only other device-commits

P.S. That site just someone's unofficial mirror of XDA.
[Sony Xperia M] PecanCM:
test 14 july telephony framework not that apk and yeah i know but it's also in xda but anyways.
[Sony Xperia M] AdrianDC:
Alright for those having the Dual SIM issues, please test this and let us know how it goes :

https://basketbuild.com/filedl/devs...ent/pack-20160719-1617-telephony-cm_nicki.zip
[Sony Xperia M] kh34d:
I compared " checksums " for Zip file and I found it's not equal?! Why

Thanx
[Sony Xperia M] Bonoboo:
Beacuse file damaged during downloading. Try again.

File ok for me, md5 match.

I also asked on other forum replace only telephony-common.jar from 14.07, but still didn't got response.
[Sony Xperia M] kh34d:
I downloaded it again by my device and by PC but it's same.

View attachment 3817465

View attachment 3817467
[Sony Xperia M] AdrianDC:
Simply because you're using a SHA1 checksum like written with big font in the app,

and the basketbuild checksum is indicated as a MD5 checksum :) .
[Sony Xperia M] kh34d:
So, can I use it safely?

Sorry I'm not expert [emoji6]
[Sony Xperia M] Bonoboo:
Of course.

In any case if file damaged you just get error in twrp.

Flash and report, please.
[Sony Xperia M] kh34d:
It's same again [emoji27]
[Sony Xperia M] sathish s:
sony xperia mu dual proplems

cm-13.0-20160719-NIGHTLY-nicki.

this working but some problems plz help.

dual sim working but 1st and 2nd sim same network name displayed same number then

but am using different network but display 1st sim network.

then 2nd sim data not working
[Sony Xperia M] Bonoboo:
1. Recent regression bug, discussed on last pages of thread. No problem on 14.07 build. Flash without any wipes.

2. Known unfixable for now bug, described in bug list that in first post of thread.
[Sony Xperia M] sathish s:
sony xperia m dual proplems

cm13 is working but portablewifi hotspot not work tap is visable but not working plz hlp me
[Sony Xperia M] Bonoboo:
Back to regression on Dual.

[MENTION=4850039]kh34d[/MENTION] yesteday flashed ZIP with apk and jar provided by Adrian DC

But in fact patch was not applied due some error in updater-script: /system was not mounted.

Anyway after replacing script by my simple and flashing still no result.

Ok, combined all 4 possible solutions in one ZIP for sure:

– kernel and modules from PecanCM's patch

– apk and jar from last good 14.07 build (files was different with Adrian's)

– adds persist.rild.nitz_* lines in build.prop

– deletes telephony.db to exclude caching sim's info

And still no result.

What else can be cause bug among this commits?

It works for me. Maybe reboot phone?

Also for questions there is special thread, this is for development.
[Sony Xperia M] Khaled$4:
Thanks a lot

I have xperia m dual c2005 and when I flash this ROM I had a problem when screen is off after 2 minutes I can't turn it on again and the whole device frozen until I remove the battery and turn my phone on again

Please help me [MENTION=4343949]PecanCM[/MENTION]
[Sony Xperia M] Pallavc1234:
Lags while gaming!!!

The gaming lag wasnt there till 17-9 update. After the 17-09-2016 update dont know hwat happend but my mobile lags, often becomes slow and hangs while gaming and runming heavy apps too...are the adreno 305 drivers installed in Cm 17092016 rom?

I doubt..coz many games lag on my Sony M..this want the issue in Stock rom
[Sony Xperia M] Mas20:
XMD bug sim 1 st and 2 nd after roms 20160714

after roms 20160714 (20160715 --> 20160720) every single roms after i try installed had bug in 1 st sim card and 2 nd sim card. One of it cannot connect internet, one other cannot detect sim card, and the other have 2 icon sim card (even if i only use 1 sim card).

I am always wipe data,chace, and dalvik firstly and then flash path XMD after installed roms and gapps.

Luckily, i have rom 20160714 that work normally. 1 st sim card detect and can connect internet and 2 nd sim card detect but cannot connect internet.

Please fix this issue for XMD user like rom 20160714 that work fine

Thanks...

Sorry my bad english...
[Sony Xperia M] adi2500:
[MENTION=4343949]PecanCM[/MENTION]

Im building temasek CM on my own for nicki, but i get several errors during building regarding "/hardware/qcom/" and a few subfolders like "display-caf/msm8960/".

The first error was in the orig header of msm8960 in ion.h:

struct ion_allocation_data {
size_t len;
size_t align;
unsigned int heap_id_mask;
unsigned int flags;
ion_user_handle_t handle;
};

it initialised a member heap_id_mask, but in the /hardware/qcom/display-caf/libgralloc/ionalloc.cpp the member heap_mask is used.

I fixed it changing heap_id_mask in /external/kernel-headers/original/uap/linux/ion.h to heap_mask.

But now im getting more and more errors about msm8960. Does our device use codes from that? Or can i safely delete that folder?
[Sony Xperia M] sathish s:
sony xperia mu dual proplems

Good work bro but wifi and hotspot not working
[Sony Xperia M] PecanCM:
ok, dual sim users try this build, it will confirm caused by device changes or not https://www.mediafire.com/?e88tog82jd3pcup

which device tree are you using ? use device tree and kernel from cm organization github.
[Sony Xperia M] Bonoboo:
Report from other forum: bugs persist.
[Sony Xperia M] adi2500:
Thanks, the kernel was the problem. I used NUI kernel sources. Seems the actual sources are broken. Luckily ive forked it and have a seperate branch with the working code.
[Sony Xperia M] xxxreyxxx:
hi, i faced some problem here

in the beginning it's work normal but yesterday my internal apps always not responding and then i'm restart it but after that my phone got bootlop, so i'm trying to reflash it via twrp but it always failed it says "failed to mounted /data invalid argument"...

so i think, i need to flash stock rom via flashtool but i'm faced some problem again it says "loader.sin failed" or "kernel.sin failed", and i can't go to recovery again...

please help, i don't know what happen

every answer is very appreciate

sorry for my bad english :D
[Sony Xperia M] Bonoboo:
Typical, often happened hardware failure with this model when NAND-memory chip quickly degradate untill breaks down completly, just like microSD can.

Solution: only replacing board.

One from many reference thread and google "xperia m ebola".

There a lot same cases over world, believe me.

Seems here preinstalled faulty chip.
[Sony Xperia M] xxxreyxxx:
i see, if i'm replacing the board would it happened again ?
[Sony Xperia M] Bonoboo:
Maybe, who knows.

[MENTION=4343949]PecanCM[/MENTION]

Bug: USB tethering (RDNIS) not working.

After tap on switch phone "reconnects" to pc, but switch stays off.

Similar to MTP issue. What happens in logcat, nothing interesting:

I UsbDeviceManager: Setting USB config to rndis,adb

D Tethering: sendTetherStateChangedBroadcast 1, 0, 0

I UsbDeviceManager: Setting USB config to mtp,adb

D Tethering: InitialState.processMessage what=4

D Tethering: sendTetherStateChangedBroadcast 0, 0, 0

D MtpService: starting MTP server in MTP mode

UPD:

Just suggestion: maybe in init.usb.rc required few lines, that persist for example for Nexus 4 here?

(bDeviceClass, bDeviceSubClass, bDeviceProtocol)
[Sony Xperia M] shubhamgupta1024:
I am at CM 12.1 on my C2004 what should i do to flash this so that dual sim works??
[Sony Xperia M] Bonoboo:
This thread about CM13. CM12.1 discussed there

Regarding question: you need different RIL

Update for post above.

Just suggestion: maybe in init.usb.rc required few lines, that persist for example for Nexus 4 here?

(bDeviceClass, bDeviceSubClass, bDeviceProtocol)
[Sony Xperia M] AdrianDC:
Alright let's do a full test & bisection of the Xperia M Dual SIM issues :

To everyone concerned by the Dual SIM issues, please flash each of these ROMs,

and report on which ones work & which ones start not to work anymore.

Nicki Downloads : https://basketbuild.com/devs/AdrianDC/Development/Nicki
[Sony Xperia M] Bonoboo:
Thanks for trying figure out problem!

From other forum: at least "1" without bugs.

Other versions still need to be tested?

UPD: already done
[Sony Xperia M] Antrikos48:
You need to test until you find the first one that doesn't work (this is because he did a git bisect, which basically makes one build for each commit and thus narrows down the search to that specific commit)
[Sony Xperia M] xxxreyxxx:
i think, buy new device is the best choice

thanks for the answer
[Sony Xperia M] Bonoboo:
Full report from other forum:

1, 2, 3 - all ok

4, 5 - bugs persist

Ah, sure, not delved.
[Sony Xperia M] AdrianDC:
Alright on last build (5 or Nightly), please flash this & see how it goes : TEST ABORTED
[Sony Xperia M] Mas20:
^^^ Adrian, it will work on XMD ?
[Sony Xperia M] AdrianDC:
No. It is reserved to a very secret & private organization, which users only know the secret password and handshake.

Furthermore, if the phone is booted without the movement of that secret handshake,

it will erase itself automatically out of safety reasons (secret organization, you understand).
[Sony Xperia M] AdrianDC:
Previous test aborted.

Dual SIM users, on last Nightly, edit your /system/build.prop, find "rild.libargs", and fix it on one line "rild.libargs=-d /dev/smd0".

And please confirm it's ok.
[Sony Xperia M] Bonoboo:
Report from other forum user blacky27:

Flashing RIL not helped

But fixing line in build.prop resolves all bugs!

So this was only a typo.
[Sony Xperia M] AdrianDC:
Supposedely final test build before committing : https://basketbuild.com/filedl/devs...lopment/cm-13.0-20160725-UNOFFICIAL-nicki.zip

Not really a typo, more vicious than that, a parsing glitch that can't be known until it happens :) .
[Sony Xperia M] Bonoboo:
Again report from other forum user blacky27: all ok with this build.
[Sony Xperia M] :
[MENTION=2233641]Adrian DC[/MENTION] editing build.prop brings solution :) thanks ;)
[Sony Xperia M] PecanCM:
good. merged adrian's change next nightly will have out of box dual sim working again also now that ds works, can you ask them test this zip again ? want to see dual sim work better now or same as before.
[Sony Xperia M] Khaled$4:
In other versions when the screen is off can't turn on again until I remove the battery and turn the device on ...did the problem fixed in this version
[Sony Xperia M] Bonoboo:
User says, no changes. At least not worse.

What actually must be changed in "telephony experience"? And what changes in patch?

Also I had so big hope on this commit regarding USB.

Description looked like it will definitely fix MTP / USB tethering, but no.

And question: what is BusPM? (this commit)

Can't understand from source code

Don't use test builds anymore, flash latest nightly.
[Sony Xperia M] hemanthvarma:
[MENTION=5037002]Bonoboo[/MENTION]

Would you recommend XMD users to update to latest nightlies now or need to wait for some more time...? [AND What about the bug having same operator name after 14.07 builds , is it fixed..?]