yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] mbc07:
Updates on mobile data issue, what I've discovered so far:

• If you want mobile data working, you should do a full system wipe (data/cache) when flashing any of the recent nightlies. Just doing an update will leave mobile data not working.

• After some time (random, sometimes it works for weeks, sometimes it works only for 2 days, etc), you'll trigger the mobile data bug. After you triggered it, mobile data connection won't be established anymore. A common way to check if you've triggered this bug is looking at the quick setting tiles: if it says "No SIM Card" even with both SIMs active and working, you've triggered this annoying bug, unfortunately, without solution at the moment (other than doing another full system wipe)

• Updating to a newer nightly without wiping data after triggering this bug will result in random reboots when enabling mobile data or issues with calls (you can start a call but won't be able to end it unless you reboot your phone or, in some cases, you won't be able to make or receive calls at all).

• Sometimes, if you update to a newer nightly after triggering this bug, your SIM cards won't be detected at all. When that occurs, the only solution I've found is flashing stock firmware and booting it at least once, then going back to CyanogenMod

Other symptoms after triggering the bug:

• You can't change the desired mobile data SIM card: it'll always revert to first SIM card, no matter what

• If you boot with only the first SIM card attached (second SIM slot empty) the device will still think there's a second SIM card and will actually try to make calls/send SMSes through it if you ask it

• If you boot with only the second SIM card attached (first SIM slot empty) the device won't detect any SIM card and you may trigger the dead modem problem (SIM cards won't be detected anymore in any nightly unless you go back to stock firmware and boot it once)

Also, unrelated to mobile data, I noticed the camera app won't start automatically when you hold camera button (like on CM11 or stock firmware). Is that a regression or it never worked in CM12? Would be possible to (re)implement that? [MENTION=4343949]PecanCM[/MENTION]
[Sony Xperia M] Nicklas Van Dam:
Anyone success install build 20150707?
[Sony Xperia M] ursidae1:
i did successfully install it. works well until now. i haven't found any issues
[Sony Xperia M] Nicklas Van Dam:
Did you wipe data?
[Sony Xperia M] ursidae1:
i did not. just dloaded through cm updater and clicked install. it rebooted into twrp fota recovery and installed the update.
[Sony Xperia M] Nicklas Van Dam:
From OTA update yaa? Hmm ok I will try it later, thanks for your suggest
[Sony Xperia M] ursidae1:
yes ota
[Sony Xperia M] Nicklas Van Dam:
Ok, thanks. I've download it on download.cyanogenmod.org when the build is release. But when try to flash, I've got error like that
[Sony Xperia M] emc02:
my install was working as usual, used OTA Update und flashed with TWRP with wipe cache and dalvik.
[Sony Xperia M] manoj36:
+1

Same network error by upgrading nightly.. Had to wipe data and install to get mobile data on
[Sony Xperia M] AlexiusItaly:
I install 08-07-2015 by downloading it from https://download.cyanogenmod.org/?device=nicki and flash in with TWRP and there isn't error (i don't do any wipe)

(I'm on c1905)
[Sony Xperia M] Nicklas Van Dam:
i don't know, still error to on build 20150708, i will try to wipe data now and send report here

EDIT : i success install build 20150708 after wipe data, may be i can confirm if anyone want try to flash build from 20150707 until now it's necessary need to wipe data first. so make backup and flash it right away :D
[Sony Xperia M] suryaz124:
Bro I tried 708 build via ota with twrp without any wipe and I installed successfully ;)
[Sony Xperia M] Nicklas Van Dam:
but i can't do that if not do wipe data, it's always error when try to flash it?
[Sony Xperia M] Ibjys13:
Did you use DeltaGAPPS?

mine too when i use delta gapps (too much addon.d scripts and causing the updater script to fail), but now i'm going back to slimgapps
[Sony Xperia M] Nicklas Van Dam:
No I use aroma pa-gapps?
[Sony Xperia M] kh34d:
hi all, when i create widget for GREADER nothing happen any suggestion?

thanks
[Sony Xperia M] Nicklas Van Dam:
Maybe app incompatible or problem on launcher ?
[Sony Xperia M] kh34d:
i think problem on launcher!!

becouz when i make it , msg pop up tell me (create widget and allow access?) i agree to allow trebuchet to create and access their data and clicked ok ,

then nothing happen??!! why
[Sony Xperia M] Nicklas Van Dam:
I don't know, try another launcher first. Like nova launcher or anything you like , if still error may be the app isn't compatible but if not trebuchet launcher is problem with that widget
[Sony Xperia M] Kushan.modi:
[MENTION=4343949]PecanCM[/MENTION]

Graphics glitch in Clash of Clan are gone now, tried with 8th july nightly.. All fine even without that patch!! Thx again
[Sony Xperia M] Bonoboo:
[MENTION=5592454]rostifaner[/MENTION] had same glitch on his Xperia L with 5.1

And it's gone too just after recent update of game.

So fix was there.
[Sony Xperia M] Kushan.modi:
Yea recent updates in game fixed that.

Just bringing it to the notice :)

Previously i used to flash patch.
[Sony Xperia M] Ibjys13:
[MENTION=438726]nicklas[/MENTION]VanDem oh, i thought you're using deltagapps -_- sorry
[Sony Xperia M] Nicklas Van Dam:
Ok, no problem. Thanks for your suggest :)
[Sony Xperia M] PecanCM:
that commit fixes CVE-2015-5366 it has nothing to do with zip flashing.

as you can see in changelog http://review.cyanogenmod.org/#/c/100375/ merged yesterday so it will work now

good they fixed in app.
[Sony Xperia M] mbc07:
That's good, thanks. And what about mobile data bug, any clue on what to do to avoid it or info about how to proceed if you trigger it?
[Sony Xperia M] daemonarch21:
Hey.just noticed that cm12.1 default camera app doesnt save geolocation.anyone else having that issue?

Στάλθηκε από το C1905 μου χρησιμοποιώντας Tapatalk
[Sony Xperia M] Nicklas Van Dam:
Anyone have problem error again with flash build 20150710? I can't install it again with same reason . can't install in incompatible, please wipe data?
[Sony Xperia M] suryaz124:
no problem in flashing 20150710 via ota.but i use pop z4 theme and the notification panel i.e the quicksettings are struggling apart to open in the notification panel.plz confirm me that is it the bug in the build or bug in the theme??
[Sony Xperia M] Nicklas Van Dam:
you can confirm that in theme app thread, can you tell me what your gapps package do you using it now? i think this problem from my gapps package? i use aroma open gapps package
[Sony Xperia M] suryaz124:
Dude its the tk gapps that is provided in:D the link in the 1st page of this thread

---------- Post added at 04:16 AM ---------- Previous post was at 04:13 AM ----------

Sorry for the offtopic I just want to conform that the bug Is in theme or build:confused:
[Sony Xperia M] Nicklas Van Dam:
Bug is in the theme app :)
[Sony Xperia M] suryaz124:
Alright every thing back to normal and working fine in the theme too.battery life is good compared to other builds

;)
[Sony Xperia M] Nicklas Van Dam:
that's great, my battery life only for 3 - 5 hours SOT.

maybe i will move back again to gapps from tk. but i don't why always happen error when try update to new nightly

like this

View attachment 3399517

i must wipe data in every update, this happen from build 20150707 :eek:

i don't know why?
[Sony Xperia M] suryaz124:
Ohh that's soo weird:confused: just try the tk gapps bro let's see what happens
[Sony Xperia M] Nicklas Van Dam:
okay, may be i will moved when new update is come again. thanks for your suggest :)
[Sony Xperia M] kh34d:
Bro try to back to twrp 2.8.0.5
[Sony Xperia M] hareshsangar:
Bro does it work for you
[Sony Xperia M] Nicklas Van Dam:
Twrp 2.8.0.5? Is the latest version twrp is 2.7.0.0?

---------- Post added at 12:33 PM ---------- Previous post was at 12:32 PM ----------
[Sony Xperia M] kh34d:
I mean 2.8.5.0
[Sony Xperia M] Nicklas Van Dam:
Ya I'm sorry, I don't get it. But why?
[Sony Xperia M] kh34d:
i don't know>

but i think maybe its not stable , so try that first before change your gapps
[Sony Xperia M] Nicklas Van Dam:
Okay thanks, that's working. But I've problem now on new build.

1. Battery percentage can't be show on status bar although I've set it next to the icon

2. Almost all app internal or external app can't read my internal storage, I don't know how this can be happen. So almost all media app can't read it only write it . for example : music app, Google play music, gallery and Google photos. All of that app can't read my internal storage

And for settings app to can read my internal but can't read ringtone or any sound file in my internal storage same like clock app.

I don't know why this strange problem can be happen , but can someone help me? I'm on build 20150710?

---------- Post added at 03:26 PM ---------- Previous post was at 03:24 PM ----------

But I still can install any app to my internal storage and take a pic and save pic and internal storage. Just like what I said, only write it not read it? Anyone help? :(
[Sony Xperia M] kh34d:
That's good[emoji2]

About your problems I don't know maybe it's fixed next update
[Sony Xperia M] Nicklas Van Dam:
You don't know it? Okay thanks I wait until next build. I hope it fixed it, but this problem it's very annoying and teribble :(
[Sony Xperia M] kh34d:
I" m still on 4-7-2015
[Sony Xperia M] Nicklas Van Dam:
Okay, no problem. I will try to re format my internal storage and install new build of cm or another build maybe 20150708. That's better for me :(
[Sony Xperia M] kh34d:
that's good idea
[Sony Xperia M] suryaz124:
So what u previously installed apps on internal storage is showing or not?? Cuz I took picture and downloaded some pics on internal storage and can see them in gallery and installed apps on internal storage and I can see them, they are accessible too bro.I don't know what happened to u but have u installed another gapps???
[Sony Xperia M] rahulbarai:
Yes almost same problem here, it looks like Open-Gapp's Aroma lp gapps that I am using, installer addon back up script is not working with cm's 07-07 and later build. Ater updating I lost all the gapps so had to re flash the gapps again. Then after flashing the gapps an error message ' there is an internal problem in android system, factory reset is required' kept flashing on screen. So I had to do factory reset after that. Since then its working well.
[Sony Xperia M] rahulbarai:
Green screen video bug is not there anymore in build 07-07.
[Sony Xperia M] Bonoboo:
2 All

Starting 9.07 build finally ported options for Camera button (from CM11, here commits: 1, 2).

They located in Settings > Buttons

Wake up device

Power on screen after full-press, works without problems.

Screen Peek

Till you hold focus button screen will glowing.

Very handy to check time or notifications.

But on our device it not works in deep-sleep. Same bug was on CM11 too.

UPD: fixed by PecanCM

Launch camera

Opens camera app from any place after long press. Finally, even stock app supported.

Now it activates after button release, not by timeout.

It works even if screen off – super-fast way to capture something.

[MENTION=4343949]PecanCM[/MENTION]

Please, can you look in why focus button not polling in deep-sleep (in driver)?

Maybe you can help commits from NUI Kernel: for example there not worked DT2W in deep-sleep, but it fixed for now.

Also bug with Wi-Fi during sleep unfortunately still there, even after possible fix.

BTW list of device-bugs updated.
[Sony Xperia M] kh34d:
excuse me is this port for only stuck camera?

im useing anther app for camera:confused:
[Sony Xperia M] CJ2311:
When you press the camera button, it will ask you which camera app you want to launch.
[Sony Xperia M] Nicklas Van Dam:
same, i'm using Open-Gapp's aroma lp gapps too, so from that error happen? i will try to move another gapps package to resolve this problem. thanks for your suggest :)
[Sony Xperia M] Mysteryagr:
Report aroma package issues to this thread

http://xdaforums.com/showthread.php?t=3010798
[Sony Xperia M] Boki11111:
TK GApps pico work perfect.
[Sony Xperia M] manoj36:
[MENTION=5037002]Bonoboo[/MENTION] and [MENTION=4343949]PecanCM[/MENTION]

This is to bring u notice about camera button.. When I try to take pic with button it shows can not connect to camera.. M on lastest nightly of 11th July..
[Sony Xperia M] Nicklas Van Dam:
thanks for your report :) , it seems open gapps have problem with currently affects the stock and aroma variants, seems that they make the recovery run out of RAM and then crash/reboot. [MENTION=6406875]Mfon[/MENTION]ville plans to extract in /cache instead of /tmp (RAM) which should fix the issue.

from now try to moved to another gapps package until this problem fix it
[Sony Xperia M] babyyeobo14:
is there anyway how to update the cm12.1 without downloading the 256MB size ? like for example in samsung, sony, etc phones they just give the small MB size for their stock firmware update.. i always download the 256mb for the update..
[Sony Xperia M] kh34d:
Here it's
[Sony Xperia M] Nicklas Van Dam:
but it's need more than 500mb free of internal storage? yes right? :confused:
[Sony Xperia M] kh34d:
Yes ,you must use link2sd with it
[Sony Xperia M] Nicklas Van Dam:
link2sd? :confused: , any solution?
[Sony Xperia M] kh34d:
i think link2sd is best solution
[Sony Xperia M] daemonarch21:
Guys sorry for asking again but is default cm12.1 camera app geolocation works?cause it doesnt works for me

Στάλθηκε από το C1905 μου χρησιμοποιώντας Tapatalk
[Sony Xperia M] Nicklas Van Dam:
New updated changelog is available on cmxlog about gcc tools or something. I think this about kernel? What will included on

[IMG="T"]https://lh4.googleusercontent.com/-ijAeRkYC5dQ/VaMdv8PFaUI/AAAAAAAAGYY/OFMgGBEsUvE/w975-h401-no/Untitled.png[/IMG]
[Sony Xperia M] PecanCM:
screen peek fixed https://github.com/CyanogenMod/andr...mmit/723378276cb3b1dcdc25a8a5a0303fc2dba20333

working fine here.

aarch64 - so yes for 64bit devices
[Sony Xperia M] daemonarch21:
Did u tried taking photo with data connection off?with data connection off it doesnt save geolocation.google camera save it just fine though

Στάλθηκε από το C1905 μου χρησιμοποιώντας Tapatalk
[Sony Xperia M] Bonoboo:
2 All

Old-new features in last build 13.07:

1. Regarding "Screen Peek" feature from post about new features for camera button

Yes, as mentioned above thankfully [MENTION=4343949]PecanCM[/MENTION] now it's fixed and works in deep-sleep.

Very handy to quick check time or notifications via half-press camera button.

2. In Settings > Battery now you can delete current stats: menu > Reset stats

3. New SMS now showing as Heads-Up (just like incoming call).
[Sony Xperia M] PecanCM:
yesterday tried lollipop ril blobs from xiaomi mi2 (another 8064 device) and so far all basic functions working out of box (call,sms,data etc) currently network search not working oh and with mi2 blobs carrier name show up in sim status. so dual sim users try it on your m dual and check dual sim functionality.

download link: https://www.mediafire.com/?h8x5wf4ylbv2w82

note: zip only contains ril blobs
[Sony Xperia M] mbc07:
Did a quick test with Mi2 blobs and so far everything is working the same as with the other RIL blobs. I noticed that both SIM cards get detected instantly (with the other blobs the device would take up to 5 minutes to detect the SIM cards). Also, you can enable SIM protection of any SIM card, however you can't enable PIN of both SIMs at the same time (somewhat better than with the other blobs where only the PIN from the first card could be enabled). Other than that, calls and SMS are working fine in both SIMs and data connection is working at least on first SIM (couldn't test in the second SIM -- my data plan is expired in that card). I'll try to update to a newer nightly without wiping data to check if mobile data bug is fixed...
[Sony Xperia M] manal.21sinha:
Some questions about this blob zip before installing :)

1. So after flashing this zip we need to make the necessary build.prop changes as before right?

2. Can i just flash it on top of my existing ROM setup with the previous RIL blobs, or do i need to wipe the phone and install the ROM and these blobs together?

3. Will this work on ANY Lollipop ROM as the previous blobs did? Or only CM12.1 nightlies? Because I wanted to try this on my AOSPA-L.
[Sony Xperia M] Bonoboo:
Seems build.prop changes required.

So if you have old patch enough just flash new. Wipes NOT are not necessary.

BTW for others I remind, that here tutorial for Dual
[Sony Xperia M] PecanCM:
that's good.

yes, you can flash on any lp roms that supports qualcomm's dual sim (not aosp's mtk one).

also releasing new mi2 lp ril zip that will set dual sim props on flashing so no more build.prop editing for enabling dual sim and updated xperia z ril blob zip here with auto prop set script.

new mi2-lp-ril-blobs download link: https://www.mediafire.com/?9bwda63fn0h59cx
[Sony Xperia M] kh34d:
what is different between old lp-ril and new one?
[Sony Xperia M] Mysteryagr:
He said that it will edit build.prop automatically.

-

Ron, Thank you ??

-

Guys who flashed new patch, anyone checked APN for the second sim?
[Sony Xperia M] Power-Inside:
Guys.. I have found a bug in ALL CM12.1 versions for Xperia M.

Some Xperia M users have their camera broken (due to IC overheating perhaps) and this causes a java.lang.StringIndexOutofBoundsException when camera is launched. But in CM12.1, this exception occurs during boot itself in com.android.systemui, making it impossible to boot!

Logcat: http://pastebin.com/kVV3ZJhz

I may know how to fix this, but I cannot enter the development area just because I don't have resources such as fast internet connection, RAM, disk space for all the sources etc.

Can someone patch this simple fix so we can use this on Xperia M devices which have faulty cameras?

Thanks!
[Sony Xperia M] Agu_Ra:
If you know how to patch it, I can try submitting it via CM's Gerrit. Just today learned how to push commits via Gerrit, lol.

---------- Post added at 17:25 ---------- Previous post was at 17:22 ----------

BTW, you don't need to download whole sources, just to clone needed project. But if you want to build and test your patch you will need to get full sources, yes.
[Sony Xperia M] Antrikos48:
I had a quick look at the splitRange function in Camera.java mentioned in the logcat and most probably you have to add an:

str.length() == 0

check in the first line of the function.

e.g.

if (str == null || str.length() == 0 || str.charAt(0) != '('
|| str.charAt(str.length() - 1) != ')')
[Sony Xperia M] Bonoboo:
[MENTION=4343949]PecanCM[/MENTION]

In Settings > Apps > menu missed option Preferred application install location

It's due recent commit that makes it configurable for each device.

Please, if possible enable it in config.xml

Or someone else who familiar with Gerrit.
[Sony Xperia M] Agu_Ra:
Where is located file, in which the change should be merged?
[Sony Xperia M] Mysteryagr:
How's the camera broken, I don't understand?
[Sony Xperia M] AlexiusItaly:
Why i can't see any YouTube video on browser?? It's green and fuchsia :( :confused:
[Sony Xperia M] Antrikos48:
It should be

[URL="https://github.com/CyanogenMod/android_frameworks_base/blob/cm-12.1/core/java/android/hardware/Camera.java"]/core/java/android/hardware/Camera.java[/URL]

in the

android_frameworks_base

tree.
[Sony Xperia M] Mysteryagr:
I think xiaomi ril blobs is better than Xperia Z blobs.

Although it still take 2 or 3 minutes for dual sims to get signal at startup.

For APNs, still both sims have the same APN selected (maybe it is the case on lollipop!?)
[Sony Xperia M] Agu_Ra:
Okay, but now I am a little bit busy with TWRP, updating device tree a bit, compiling and testing some things. So I hope I won't forget.
[Sony Xperia M] :
May be because of this http://xdaforums.com/showpost.php?p=61761169&postcount=929
[Sony Xperia M] AlexiusItaly:
There is some problem with email app:

1) if i try to delete e-mail from recycle bin, the e-mail back to noread e-mail :confused:

2) loading and reloading are too slow

3) if from the app i delete some e-mail, in the app the e-mail go in recycle bin but if i go on Gmail website (https://mail.google.com/) there isn't any e-mail in the recycle bin :confused:
[Sony Xperia M] Mysteryagr:
I think it is cm related bugs not device specific.

Try to use email from gmail app instead.
[Sony Xperia M] AlexiusItaly:
If i use gmail app PLAY SERVICE STOP TO WORK and gmail force close.. So i can only go to gmail from browser in desktop mode bit it's not easy to use :(
[Sony Xperia M] Mysteryagr:
Maybe gapps issue?

I'm using it without any problems.
[Sony Xperia M] AlexiusItaly:
I'm using pico gapps and never have any problem.. After some cm update gmail stop to work but it work before..

EDIT: I think gmail stop to work when i update from cm12 to cm12.1
[Sony Xperia M] Mysteryagr:
Did you updated gapps from cm12 to cm12.1 compatible gapps?

This may be the cause of the problem.
[Sony Xperia M] AlexiusItaly:
Oh.. Maybe i don't..

EDIT: yes i update gapps when i update cm to cm12.1
[Sony Xperia M] Bonoboo:
@PecanCM

Thanks for fixing missed option for preferred install location.

Small question about new MI2 RIL.

Do we need still remove lines in build.prop?

Yes, deleting missed in your patch, but maybe it's error.

UPD: seems they required, on Single network search works, if delete - no.
[Sony Xperia M] Mysteryagr:
Your only solution now is full wipe and clean install.
[Sony Xperia M] Mysteryagr:
Seems needed on dual sims too.

Btw how you find new ril performance? Better than Xperia Z ril blobs, right? (less bugs)

Edit: Question:

What is the function of this property

persist.radio.add_power_save=1

Does it save more battery?
[Sony Xperia M] Bonoboo:
2 All who owns Dual

I remind, that PecanCM recently released new Dual-patch with RIL from Xiaomi MI2

It have less bugs on Dual and so far no any on Single (it's important).

Users reports, that fixed:

Displaying both carrier names in all places (Single too)

Manual network search now have carrier names

PIN check can enabled for any SIM (but not both at same time)

Saving correct SIM's names and priority

So left these bugs:

Searching networks takes up to 3 minutes after every boot / airplane mode

Can't use cellular data on 2nd SIM: it always uses APN from 1st

(?) SMS on 2nd SIM can arrive with delay

Also I added into original patch auto-restore script, so it will persist even after ROM update.

Additionally ZIP adds probably missed build.prop lines that was removed by old Z1-patch.

Nevermind, just flash it even if already have old or new patch:

– Download ZIP

BTW added all new info into main post about RIL
[Sony Xperia M] kh34d:
[MENTION=5037002]Bonoboo[/MENTION] I'm on old patch with old restore script, can I flash your new ZIP now?

Just do that only Without any changes else ?
[Sony Xperia M] PecanCM:
disabling oem_socket not needed with lp ril so yes can remove that prop.

that's good mi2 ril fixed good amount of bugs so added mi2 link here i recommend very xmd users flash mi2 ril blobs and i'm not quite sure.

btw "Old RIL from stock not compatible with Dual – so there no 2 SIM support." - stock ril supports dual sim just not on lollipop.
[Sony Xperia M] AlexiusItaly:
Does anyone have a solution? :confused:
[Sony Xperia M] Nicklas Van Dam:
systemui not respond after update to build 20150716 ? i've flash it successfully and after reboot it's always stuck on starting apps screen?

why ya? :confused:

i'm from 20150711 build

EDIT: problem fixed by wipe system partition and flash new cm build. from where this can be happen?
[Sony Xperia M] Mysteryagr:
I tried to flash/update to new nightly but it always says that there is an error in update script.

Wiping system partition doesn't help too.

I cannot update until I do full wipe.

Using last available Twrp...
[Sony Xperia M] Nicklas Van Dam:
maybe problem from your gapps package, what current gapps package do you using it now? :confused:
[Sony Xperia M] Mysteryagr:
I don't think so... Aroma open gapps 14-7-2015 build.