yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] Bonoboo:
Yeah, bad formulation – fixed.

Only workaround – open video in fullscreen.
[Sony Xperia M] Boki11111:
I update to 07.17, not problems,all stock, cm recovery and tk gapps from PecanCM link
[Sony Xperia M] Nicklas Van Dam:
ok, thanks for your information. i use same tk gapps from PecanCM link too. stock package, but before i apply update i switch my dpi from 240 to 220. is that can be affected to systemui after apply update?:confused:
[Sony Xperia M] kh34d:
I'm on 16.7.2015 no problems here
[Sony Xperia M] Nicklas Van Dam:
i think the issue is from gapps that not supported my new dpi size, when i wipe system partition and re install only cm rom update. i can boot up successfully without any crash. and after that i switch back again my dpi to 240 and flash gapps package without any error.

but i'm still dizzy where is the exactly problem come from ? gapps package or my dpi problem :confused:
[Sony Xperia M] Agu_Ra:
There are multi-dpi gapps, they should be downloaded if you use changed dpi.
[Sony Xperia M] Nicklas Van Dam:
so i must re download gapps the proper to my dpi? :confused:
[Sony Xperia M] imdkiller:
This mi 2 ril patch is no way smoother or stable than previous ril patch. The network appearing time is the same accpt the sim icons which appears just after the phone start but no signal.

Today when i switched on my cell, it was keep on rebooting automatically after data connected. Then I flashed previous ril patch and everything goes fine.
[Sony Xperia M] Mysteryagr:
Try the patch on a recent and clean install, believe me it is way more better.
[Sony Xperia M] mbc07:
Never experienced delayed SMSes from second SIM card in any of the RILs.

The random reboot when enabling mobile data is just the same bug I talked about earlier, not related to what RIL are you using. Basically, if you update to a newer nightly or change your RILs without wiping data your device may randomly reboot when enabling mobile data or data connection simply won't work at all. And at least here I get network signal as soon as the device finishes booting, different from the old Xperia Z RIL blobs...
[Sony Xperia M] Agu_Ra:
No, some gapps providers have multi-dpi version of GApps.
[Sony Xperia M] manal.21sinha:
Try SlimGapps. They have a multi-DPI addon package zip that you can flash after installin one of their GApps packages. SlimGapps worked perfectly for me, but I don't change the stock DPI so you can use the add-on package and check whether after changing DPI the gapps works or not.
[Sony Xperia M] AlexiusItaly:
Sometimes during normal use the screen become all blue for about 0.3/0.4 second

Someone know why?

I'm on 13-07-2015

EDIT: Update to 18-08-2015 and no problem
[Sony Xperia M] abhatia1435:
[REGARDING GAPPS]

Just download the Gapps from this official CyanogenMod site. They are always stable and don't give any errors. I have been using a package of 88mb since official release of our nightlies of CM12.1. And got no error yet :D

Link: http://wiki.cyanogenmod.org/w/Google_Apps
[Sony Xperia M] e1smann:
I installed this ROM a few weeks ago and it is running really good.

But: Somehow I can't reset my phone. When I go to the reset menu (factory default) I choose "delete personal content" and press reset. Then it is rebooting to the Android mascot with a text saying "erasing...". After that it ends up in the Recovery menu.

Is this supposed to happen? Does the ROM lack a normal erasing function? Or is the CM Recovery the problem?
[Sony Xperia M] AlexiusItaly:
I unistall play service updates, then i update play service from play store and now Gmail work :)

Before i update gapps from www.apkmirror.com so maybe i update with a bad version of the app

EDIT: now i don't have play service error when i start up the smartphone :D so.. all that have this error try tu unistall play service updates and then update it from play store :thumbup: ;)
[Sony Xperia M] Agu_Ra:
It is normal that it reboots to recovery to do a full wipe. But if it doesn't work then yes, it is CM recovery problem, use TWRP instead (and go to Wipe > Factory reset or Wipe > Advanced wipe and tick Data, Cache and, if you want, Internal storage).

@PecanCM, can you update the link to TWRP thread, please? Seems that one in the OP is broken.
[Sony Xperia M] kh34d:
is it necessary to keep updating my Gapps?

Now I'm on gapps-5.1.x-20150404-minimal-edition-signed
[Sony Xperia M] JustArchi:
Using it in my recent AD as well.

Great package.
[Sony Xperia M] XtremeWave:
you know, necessary ? not exactly if your device updates apps auto. for me, play store ain't working. so downloaded 20150717 build [TK gapps] . now it's fine. but can't install many themes.. trying to get it fixed now...
[Sony Xperia M] much1:
Hello PecanCM & co,

I am not asking for ETA,

is the main issue till BETA5 the

DUAL SIM RIL

stuff?

Thanks a lot! <3 your work
[Sony Xperia M] rahulbarai:
I want to add two more points about why Mi2 RIL have less bugs than Z1 RIL :

1. On Z1 RIL mobile data connection never worked for me on Roaming networks, specifically this is very much required here in India specially for frequent travellers. Whereas on MI2 RIL data connection is working fine on Roaming network too.

2. Network search on MI2 Ril takes about 3 minutes that's near about same as Z1 Ril that's marginal. But the main difference is that, on Z1 ril either the 1st sim showed up 1st then after few moments 2nd sim showed up or vice versa. Whereas on Mi2 Ril network on both sim is showing up at the same time.
[Sony Xperia M] XtremeWave:
hasn't "Bonoboo imported the mi2 ril ? hasn't he uploaded a link ?
[Sony Xperia M] much1:
he did, but it's not included in BETA4, is it?.. sorry for my misunderstanding
[Sony Xperia M] Mysteryagr:
The patch will work on any android 5.1 rom for xperia M which supports dual sim and built with a specific commit mentioned before.

So it isn't version related, you can flash it on beta 4
[Sony Xperia M] much1:
wow, great, thank you for this info! :)
[Sony Xperia M] Power-Inside:
I've finally uploaded my first gerrit change regarding this: http://review.cyanogenmod.org/#/c/103797/

Login to CM's gerrit, click "reply" on that and press "+1" and submit to vote it up.
[Sony Xperia M] Mysteryagr:
You're welcome, information was included with the patch :)
[Sony Xperia M] XtremeWave:
anyone having a problem with the theme engine ? i think i am [haha xD] after flashing tkgapps i can't kinds install any theme. not much of a problem though. anyone having the same problem ?
[Sony Xperia M] AlexiusItaly:
I don't have any problem with ROM (PAgapps)
[Sony Xperia M] mayur_dhameliya:
Please anyone provide download link of cm-12.1-20150715-NIGHTLY-nicki because that version now not available on official website please
[Sony Xperia M] Biplob_Biswas:
Hi, I don't have any problem with theme engine ..using tkgapps minimal . any 12.1 or 12 theme is working perfect.
[Sony Xperia M] kh34d:
[MENTION=5037002]Bonoboo[/MENTION] I think APN issue

is fixed here

http://review.cyanogenmod.org/#/c/103985/

Is that true?
[Sony Xperia M] Bonoboo:
Yay. Seems yes, as title says: fix APN msim issue where both sims show the same APNs

Probably this commit special for our case.

Let's wait for next build.
[Sony Xperia M] rahulbarai:
Yes I have reviewed this commit. Let's hope this work out for us. Keeping my figures crossed.
[Sony Xperia M] Mysteryagr:
So it wasn't ril issue after all!

We can consider mi2 ril blobs bugless now.
[Sony Xperia M] Antrikos48:
[MENTION=5037002]Bonoboo[/MENTION]

I haven't tried it yet, but this commit should fix the disappearing apps, so you may want to cross that off the list. http://review.cyanogenmod.org/#/c/103568/
[Sony Xperia M] Bonoboo:
Thanks, removed from bugs list

But it will persist for those who have full gapps with Google Experience Launcher that replace Trebuchet.
[Sony Xperia M] Agu_Ra:
BTW, stock gapps, not full. As far as I remember, full gapps don't replace AOSP/CM packages (excluding very few).
[Sony Xperia M] rahulbarai:
After update I can report that manually adding and selecting APN for SIM2 is working now, previously any manual entry of APN for SIM2 was getting deleted automatically, now its sticking that mean I can select two different APNs for two the SIMs . This change is quite significant and as it is mentioned in the commit message .

Though selecting SIM2 for data connection is still not working, its reverting back to the SIM1 if I try to select data connection on SIM2. So mobile data is working on SIM1 only for the time being.
[Sony Xperia M] Power-Inside:
Guys, a little help please.. does anyone know how to get logcat BEFORE CM12.1 fully loads? I get SystemUI crashes on my device and I need to debug it.
[Sony Xperia M] Agu_Ra:
Plug via USB and

adb logcat > file.log
[Sony Xperia M] Power-Inside:
ADB does not work like that initially since in android 4.2+, we have to set USB debugging mode on (but I cannot do this since SystemUI keeps crashing and I cannot access settings)
[Sony Xperia M] Agu_Ra:
That's sad. But you can try changing default properties using recovery. Pull the file build.prop from system or something like default.prop from boot ramdisk, also try to add adbd binary to ramdisk.It can be done by using Android Image Kitchen by osm0sis, you can find it on XDA, and command line (it needs to unpack ramdisk.cpio).
[Sony Xperia M] Bonoboo:
Good advice.

[MENTION=4055106]Power-Inside[/MENTION]

Flash attached ZIP.

This will add into build.prop these lines.

It enables ADB and disables it's authentication (requires tap that impossible).

persist.service.adb.enable=1
ro.adb.secure=0
[Sony Xperia M] Agu_Ra:
In recovery mode adb doesn't need authorizations. I think, it can be done on early boot by adding adbd file to ramdisk and changing something in init.usb.rc (it is in ramdisk too) if needed.

---------- Post added at 14:50 ---------- Previous post was at 14:48 ----------

But it can stop working when system will boot as adb is probably restarted.

---------- Post added at 14:53 ---------- Previous post was at 14:50 ----------

I see, you edited your post, [MENTION=5037002]Bonoboo[/MENTION], changing build.prop is good idea.
[Sony Xperia M] xxteg:
Xperia M C2005, CM12.1 20150724, Kernel 3.4.0 CM+, Security functions

Hardware: XMD C2005

Software: Android 15.5.A.1.5, after wipe data and cache

cm-12.1-20150724 and dual_patch_MI2

Hi

I really want to switch from Android 4.3 to 5.1 (CM12.1) if I can use some security function.

So I tested CM-12.1-20150724 today.

It functioning better than cm-12.1-20150530, thank you all for your work!

Unfortunately my needed security function still not working.

SIM/RUIM card lock

Tested: Not working

Lock settings only for SIM1 possible

Lock settings for SIM2 is the same as SIM1

SIM cards

Tested: Not working

SIM1 and SIM2 showing still the same number...

Deactivate or activate just working for SIM1 !

SIM2 can´t activate or deactivate.

Encrypt phone

Tested: (Not) working ??

I´m not sure that this function is working.
[Sony Xperia M] Power-Inside:
Thanks for the suggestion, while this looks promising, it does not work. adb devices show nothing. However, I added the following lines to build.prop after the lines you said (got them by googling a lot):

persist.service.usb.setting=1
persist.sys.usb.config=adb

Now adb devices always show "unauthorized". Apparently, the RSA secure adb thing is still being in effect :/

when I try adb shell, I get:

why ro.adb.secure=0 does not work? Are the positioning of properties important in build prop?

PS: Anyway, I think I just got myself a new type of bootloop because of all this. Is modifying the build.prop from /system through adb recovery the right way?
[Sony Xperia M] Power-Inside:
I've finally GOT IT TO WORK!. All I need to do was push my public key (from my computer) onto the phone:

adb push ~/.android/adbkey.pub /data/misc/adb/adb_keys

Just do the above command from your computer when device is in recovery. (the above line is for linux. On windows, your keys maybe generated in $ANDROID_SDK_HOME env var. just find the adbkey.pub on your computer and put it in /data/misc/adb/adb_keys

Remember to mount /data from recovery when you're doing this.
[Sony Xperia M] Power-Inside:
Thanks to getting adb to work, now I was able to debug it and came up with this: http://review.cyanogenmod.org/#/c/104202/ (hope this gets merged like the last one)
[Sony Xperia M] manups4e:
sorry for the question but how did you guys fix it?
[Sony Xperia M] AlexiusItaly:
Someone know why the first number don't show the letters never? :confused:
[Sony Xperia M] AlexiusItaly:
[MENTION=4343949]PecanCM[/MENTION] it's not a bug but there isn't italian translate..

The correc translation is

"Apri in una nuova scheda incognita"

The second line in correct italian is "Apri in una nuova scheda" not "Apri in nuova scheda" :)
[Sony Xperia M] gziegfrid032712:
Impressive and stable enough for daily use

[MENTION=4343949]PecanCM[/MENTION]

I have tested the rom and tried almost everything i can say this rom is much smoother to your previous work cm12.

Everything is ok but found some bugs:

Dialer crashes when trying to import contacts both internal storage and sim card.

Some random reboots but not all the time and tolerable.

USB OTG doesn't work and affects the sd card and will reboot if you try to access both sd card and USB OTG.

Cast Screen doesn't detect devices in Quick Settings but can detect devices on Settings > Display > Cast Screen.

Navigational Buttons and Notification Bar sometimes won't reappear after you open an app that is on full screen mode but swiping it to reappear does the trick(Just thought you should know).

Storage can't access the USB Computer Connection

Thats all. Please Fix the issues specially the USB OTG.

Thank you. Job well done man.

---------- Post added at 02:19 AM ---------- Previous post was at 02:09 AM ----------

[/COLOR [MENTION=4343949]PecanCM[/MENTION]

I have tested the rom and tried almost everything i can say this rom is much smoother to your previous work cm12.

Everything is ok but found some bugs:

Dialer crashes when trying to import contacts both internal storage and sim card.

Some random reboots but not all the time and tolerable.

USB OTG doesn't work and affects the sd card and will reboot if you try to access both sd card and USB OTG.

Cast Screen doesn't detect devices in Quick Settings but can detect devices on Settings > Display > Cast Screen.

Navigational Buttons and Notification Bar sometimes won't reappear after you open an app that is on full screen mode but swiping it to reappear does the trick(Just thought you should know).

Storage can't access the USB Computer Connection

Thats all. Please Fix the issues specially the USB OTG.

Thank you. Job well done man.
[Sony Xperia M] Bonoboo:
USB OTG: it works for me.

No reboot if open scard in RootExplorer or write on it from apps (e.g. Snap Camera).

But there is nuance: till USB-stick connected apps moved to SD-card temporary disappear.

Not sure for reason of this: bug in CM or device. Logcat attached.

Cast Screen: well, sometimes devices shown in notification bar too, not found at what conditions.

BTW not all bugs "belongs" to PecanCM.

Most bugs are in CyanogenMod itself and persist on all devices, not only ours.

And they must be reported (when we get snapshot release) at bug-tracker
[Sony Xperia M] manal.21sinha:
Yeah USB OTG works for me too. File transfer from USB stick to ext sd card also working. After unmounting usb stick, no problems with sd card.
[Sony Xperia M] gziegfrid032712:
yeah apps on sd will temporarily disappear this is what i am talking about and the device will reboot if you will not remove the usb otg

what model of xperia m are you using? mine is c1905

---------- Post added at 07:14 AM ---------- Previous post was at 07:10 AM ----------

I didn't say it was PecanCM ' s bugs. I was just requesting to him to fix the bugs specially the USB OTG.
[Sony Xperia M] PecanCM:
Update to BETA 2

Time for BETA 2.

BETA 2 changelog:

Fixed writing to external sdcard in ums mode

Re-enabled multicolored notification

Updated adreno blobs to LA.AF.1.1_rb1.16(android-5.1)

Disabled legacy mmap

Enabled qcom art and skia optimization

Added missing qcom power hal

Other general cleanup and updates

Updated cm source

Download link: https://www.mediafire.com/?n472e5zk4e2z9ge
[Sony Xperia M] kh34d:
thank you sir You're a great man
[Sony Xperia M] Ydraulikos:
Official YouTube app takes a while to start & videos lag when buffering on C1905 using beta 2 (happens also on previous versions & 5.0.2)

Very good job :good:
[Sony Xperia M] Bonoboo:
I mean that not all mentioned bugs must be addressed to him.

There is CM team, they fix wide problems in ROM.

PecanCM works on device-side – ability to run CM on Xperia M.

Seems this appeared after recent app update.

Try a bit older (delete current app before installing).

And about it complained even in CM's bug-tracker for Nexus 4.

About Beta 2

Imho apps opening faster (due ART optimizations?).

And for now no random reboots, even when connected to PC.
[Sony Xperia M] kh34d:
i connected to PC....there no reboot until nom:D
[Sony Xperia M] Rajesh_m:
I have the YouTube bug for long long time. Video Sven started gets delayed for moment and goes back to normal. Anyone got a solution?
[Sony Xperia M] Boki11111:
Gps works good. For igo primo navigation, this version no bugs on CM 12.1 (iGO primo Israel 2.4 9.6.29.427562 [KitKat])
[Sony Xperia M] icoolguy1995:
I have got a random reboot without connecting to PC! Did you guys done a clean install?
[Sony Xperia M] Boki11111:
I do clean installation with beta1 ,and flash beta2 without wipe,no random reboot for now
[Sony Xperia M] Bonoboo:
Yep, same, was only once.

Dirty install. Seems need to wipe.

But maybe someone who done clean flash can confirm no reboot after *few* days?
[Sony Xperia M] bluepinkpanther:
I just flashed it, no reboot yet, we have to wait to truly confirmed that problem is gone.
[Sony Xperia M] Ydraulikos:
From https://source.android.com/devices/tech/dalvik/configure.html

By adding the following to your build.prop will force ART to skip compiling apps at startup making more free space.

dalvik.vm.dex2oat-filter=interpret-only

Wipe cache/dalvik-cache & reboot

[IMG="Clean install + gapps"]http://i.imgur.com/XuUSL2q.png[/IMG]
[Sony Xperia M] janolucero:
Updated to beta 2 and facebook app sotped loading news feed :(

Everything else works fine :)
[Sony Xperia M] FakrudeenAhamed:
5.0 gapps works with this ??

Cos, the link in the first post has only gapps for 5.0

Thanks
[Sony Xperia M] kh34d:
I have this error

View attachment 3252153
[Sony Xperia M] Ydraulikos:
Yes they work
[Sony Xperia M] Agu_Ra:
Ron is not working in the ROM development, he just makes needed code in device tree to make it work properly with CM. So translation is not his work. Don't annoy him with issues that are no way device-related. It has nothing to do in this thread.
[Sony Xperia M] digt:
wiki.cyanogenmod.org/w/Doc:_Translation_Guide/it
[Sony Xperia M] AlexiusItaly:
Okkey thanks..
[Sony Xperia M] adjidorporah:
why does my sdcard not detected when using camera?

even when i use other camera apps?
[Sony Xperia M] Nicklas Van Dam:
same, i can't do that too. :confused:
[Sony Xperia M] Miladj:
How is the data games to SD in this ROM?
[Sony Xperia M] Nicklas Van Dam:
may be you can try gltosd app to move your obb file to your external storage, this will move it directly without any need repartition on your external storage
[Sony Xperia M] manoj36:
I don't think so this app support our Nicki bcoz when I tried I failed.. It's not stable for cm12.1.. I had to use xposed module xinternalsd to link it to sdcard
[Sony Xperia M] Nicklas Van Dam:
I'm use it now, and never have problem with anything and I can confirm this stable , safe your internal storage :)
[Sony Xperia M] mbc07:
Quick update: apparently the Mi2 RIL blobs fixed that infamous mobile data bug. I've been using it for around one week and never experienced that bug again since then...
[Sony Xperia M] AlexiusItaly:
Is there any solution? :what:
[Sony Xperia M] Mysteryagr:
I can confirm that too
[Sony Xperia M] AlexiusItaly:
Stagefright bug is fix right?
[Sony Xperia M] adjidorporah:
are u using this rom right now?

if so, how can u use your camera?
[Sony Xperia M] Nicklas Van Dam:
Yes I'm using it this ROM right now, but photo is safe on internal storage and I moved it manually to external storage.
[Sony Xperia M] adjidorporah:
how could u do that?

when i open camera i can't even taking photos

it still asking for inserting sdcard
[Sony Xperia M] hemanthvarma:
use snap camera app it works fine i mean you can change storage location also and camera app is also very nice

here it is playstore link https://play.google.com/store/apps/details?id=com.marginz.snaptrial&hl=en
[Sony Xperia M] rahulbarai:
What camera are you using? If you are using Google camera then you will never be able to select sdcard as your default storage, no matter what ROM (starting from kitkat) and what device you use. I am using stock AOSP camera and I can select sdcard as default storage in it. Google had made a mess out of this camera and irony is they have built it on stock AOSP camera only. Meanwhile some third party cameras do have the privilege to save to sdcard.
[Sony Xperia M] PecanCM:
is that paid version ? even if it's trial version please remove that apk and just post google play link.
[Sony Xperia M] adjidorporah:
any fix for camera issue?
[Sony Xperia M] Bonoboo:
Details?

Ah, find
[Sony Xperia M] XtremeWave:
yes, i used to use pagapps and it was fine. TKGapps isn't fine. atleast for me. well doesn't matter much..
[Sony Xperia M] StraightEdgeKid:
Everythings working fine, update 29-07-2015. Google Camera working great!
[Sony Xperia M] AlexiusItaly:
Someone else have lag in settings>display & lights>expanded desktop?

And someone have "settings stop to work" after change language?

And finally someone can confirm my error of theme app? Just after few time that i see my install bootanimation, app crash
[Sony Xperia M] adjidorporah:
update 2015-07-31

solved this problem by formatting internal storage, flashing official 4.3, flash boot.img, then flash zip and gapps from recovery

maybe this problem caused by swapped memory :confused:

anyway case closed :victory:
[Sony Xperia M] kh34d:
[MENTION=4343949]PecanCM[/MENTION] , every time I uninstall any application and reboot,I found it again???!!!

Anyone else faced this bug??

especially from 24-7-2015 until 29-7-2015 build
[Sony Xperia M] StraightEdgeKid:
Yes, that was present for me, but quite a while ago, not sure if it is still there, will test and let you know.
[Sony Xperia M] PecanCM:
no such a problem here. are you running stock cm ?
[Sony Xperia M] kh34d:
Yes [MENTION=4343949]PecanCM[/MENTION]

View attachment 3424962
[Sony Xperia M] itsnie:
I got many errors about adreno-egl, what is that ..

Logcat attached
[Sony Xperia M] kh34d:
Is this addon.d cause my problem?

Because today I uninstall 6 apps after that I update my rom to 1-8-2015 ,when I finished I found that 6 apps again.It return back??!!
[Sony Xperia M] StraightEdgeKid:
No buddy, no such issue... I tried it for few apps but no, not an issue for me. currently in build 31st July.

Why don't you install fresh copy of CM? Wiping everything? (Data, Cache, Dalvik)? Just give it a try.
[Sony Xperia M] rahulbarai:
Thanks a lot [MENTION=4343949]PecanCM[/MENTION] for these http://review.cyanogenmod.org/#/c/104870/ and http://review.cyanogenmod.org/#/c/104868/ patches...
[Sony Xperia M] Antrikos48:
Just updated from build 29-07 to 04-08 and I experience constant System UI & AOSP Keyboard FCs, so I'll be restoring back. Does anyone else have these problems?
[Sony Xperia M] simmusss:
But shuffling simcards was not at all working sir

Its sims recocgnised but mobile data was not working after shuffled

Its showning notification drawer no service .but why?

How to fix this problm

My simcards was BSNL&UNINOR

i want to use sometimes uninor and for 3g purpose bsnl

But there shuffling simcards not working

What is the solution for this bug plz help me

And sorry for my bad english,,THANQ

Sent from my C2004