yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Q&A, Help & Troubleshooting] Rajeev:
U can use an app for turn display off without root bro. But i don't know any apps that turn ur display on without root.. No. No damage for proximity sensors..

Download Power toggles from playstore. It has some good features that access to Power Button. No root needed. But for turn display on without root no idea mate
[Xperia Z2 Q&A, Help & Troubleshooting] mr.loverlover:
Using proximity sensor won't damage your device, but I think that gravityscreen prevents phone to going to sleep mode.

If you have root you can use xposed modules to set volume buttons to wake up your device.

[edit] I've just read that you don't want to mod your device. So you have to keep to gravityscreen.

Sent from Xperia Z2

Luckily not from an iPhone = Yesterdays technology at tomorrows prices
[HTC Tornado] N8falke:
just wanted to say: IT WORKS!!

finally i can answer calls AND listen to music cause my wired headset is mono (damaged jack i guess).

after installing one of the new wm6 roms and constantly reading anything here i finally ordered a bluetoth headset (motorola HT820 on german ebay for 24 incl. shippment - unbelievable dont you tthink..)

it came today and everything works fine.. stereo music (although i have to say goodbye to my new toy named speex codec as it seems to be to difficult to be handled by the cpu) and calling.. i even can talk to the voice commander

just wanted to share my happiness :)

but since this a problem solving forum: can i use the motorola headset buttons to start voice commander?

nice day to everyone
[HTC Tornado] N8falke:
ok, found it in Excalibur section. Works perfect and if anyone wanted to know here it is again:

how to enable voice command with bluetooth headset button:

HKLM\Software\Microsoft\Bluetooth\Audiogateway\

Entry "BTAGextModule" has to be changed to "vcbthag.dll"

My default Entry was different than mentioned in the Excalibur thread(btagext.dll) but as it worked i didnt care :)
[HTC Tornado] ashgotti:
Awesome! kinda off-topic, but do you know how to increase the Bluetooth sound output? my headshet is a little low.
[HTC Tornado] mijxyphoid:
Awsome stuff ! Got to love voice command !

Do you know where we can get it as a seperate cab file, as the BETA Rom, and the Pefect English Roms have this ESSENTIAL software removed from them....

(Its the only reason why I havent upgraded to the newer roms !)

Anyway very good find !!!!!!
[HTC Tornado] N8falke:
I am happy that i am not the only one who likes it :)

Dont know where to get a cab, cause its not legaI.. i am looking for german version, same problem (only trials available)

Didnt upgrade to later roms also because they are missing some features. But i like the rom i have now. No need to upgrade. No CPU Problems for example

The volume problem is not that easy to solve i guess.. what headset do you have?
[Galaxy S6 Edge+ Themes and Apps] tanipat:
i have G9287 rooted and very keen to have my International Stock keyboard from G928F ( i want Thai Language). The stock samsumg keyboard in G9287 is Chinese version and has no Thai language. I try everyway like push apk and set permission and it just force close, i found flashable zip from Note4 flashable zip but it small on the device. Anybody know how to create flashable zip please give me a hand
[Galaxy S6 Edge+ Themes and Apps] galleguito7788:
I need the stock keyboard...
[Samsung Galaxy S Relay 4G] david13579:
Last summer (last year) my relay started getting slow, I then installed JB on it using odin and it started getting even slower, the screen sometimes tears when I move and on rarer ocasions even by itself with no movement, it also randomly turns the screen blue and I have to force-restart it. I tried going back to ICS using odin but when I do, wifi never works... here we are over a year later and the slowness is getting almost unbearable...

I bought a new S5 from ebay but it came defective and the exchange also came defective... while I deal with getting a refund and getting a new S5 im still stuck using my old, slow, relay.

So since i cannot go back to ICS and JB as been a torture since day one, you guys think one of the custom roms on this site could make the phone faster for the time being?
[Micromax Canvas A1] bittu6444:
how to convert back my canvas a1 marshmalo to KitKat

becoz I don't like a marshmalo
[Micromax Canvas A1] rohitSchouhan:
Just flash stock kitkat ROM
[Micromax Canvas A1] madhurajkumar:
It's easy

U can do it by applying this nandroid backup .. go to this thread

.

http://xdaforums.com/canvas-a1/help/dg-downgrade-to-stock-kitkat-4-4-4-t3070721
[Sony Xperia M] PecanCM:
Android Open Source Project Marshmallow For Xperia M​

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

This rom is based on Android Marshmallow 6.0 source (android-6.0.1_r43)

I have only made changes that needed to support our device other then that it's pure AOSP. it has no custom features to provide you stock android experience.

Device-specific source code:

Device

Kernel

Vendor Blobs

Discussion thread -->

What's working:

So far i have tested:

RIL (Calls, SMS, Mobile Datal)

Display

Camera (photos, camcorder)

Audio and video

Wifi

Bluetooth

OpenGL rendering

Sensors (accelerometer,compass,light,proximity)

Sdcard

auto brightness

notification led

Wifi,Bluetooth and USB tethering

NFC

GPS

Adoptable storage

Mtp/ptp

Not working/Tested:

You tell me

Note:

It's entirely possible that features not used by me (nor the people I've asked to test) are broken, but overall the device should be usable. You have been warned.

This is BETA so don't treat this as stable version.

AOSP is only for 4.3 baseband. If you are on 4.1/4.2 baseband/firmware then Follow this instruction

TWRP FOTA recovery is recommended for installing aosp, follow this thread for instructions

Download:

BETA 6: https://www.mediafire.com/?44he9luksc5flpr

Xperia M dual patch: http://www.mediafire.com/?241lho31pldlszx

gapps: http://opengapps.org/

Install instructions:

Before you install make sure you are on 4.3 firmware 1st with your bootloader is Unlocked and a cwm/twrp recovery installed. if you haven't installed recovery then flash boot.img from this rom zip via fastboot. (note: this rom comes with twrp recovery)

boot into recovery

Wipe data and cache

Flash the rom and gapps zip

Reboot

Upgrading from earlier version:

Boot into Recovery

Flash the rom and gapps zip

Reboot

Reporting bugs:

Before Reporting bugs make sure you

Read "note" section

Using stock kernel

Not installed any mods/tweaks - if you have installed mods like xposed you can't report bug

Not modified system files

Checked the posts below for a solution / fix

Read the last 10 pages of this thread for a post with a similar problem

Backup, reflash with a full wipe (do this if mods like xposed is installed) and check if the bug is still there

provide logcat,kmsg. if you reporting radio problem then provide radio log.

Screenshots:

Credits:

Fxp team and all other developer who is working on sony

Code Aurora Forum

CyanogenMod

XDA:DevDB Information

AOSP Marshmallow For Xperia M, ROM for the Sony Xperia M

Contributors

PecanCM

Source Code: https://android.googlesource.com/

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Stock 4.3 Firmware

Based On: AOSP

Version Information

Status: Beta

Created 2015-10-22

Last Updated 2016-07-19
[Sony Xperia M] PecanCM:
Changelog

BETA 7 19-07-2016

Updated Platform sources to android-6.0.1_r52(MOB30R)

Fixed stereo sound recording

Increased ZRAM size to 400MB

Attempt to improve battery life more

Small clean up

Kernel synced with cm

- lots of security fixes

BETA 6 14-06-2016

Updated Platform sources to android-6.0.1_r46(MOB30M)

GPS hal updates/fixes from LA.AF branch

System properties cleanup

Other misc updates/fixes

Kernel synced with cm

- PPR fixes

- camera/kgsl/wlan security fixes

- KGSL updates

- Enabled neon optimized SHA-256/224

- other misc changes

Reverted Adreno blobs reverted back to very stable feb version

BETA 5 16-05-2016

Updated Platform sources to android-6.0.1_r43(MOB30J)

Fixed in-call volume bug

Fixed network mode switching

Security fixes

Added support for USB MIDI function

Enabled usb audio

Enabled zram and PPR (Per process reclaim)

Re-using qcom skia optimization

Using new ACDB API for audio calibration

Using both 44 and 48KHz sample rate for A2DP

Other misc cleanup/updates and fixes

Updated power hal

- improve power consumption in screen off

kernel synced with cm

Updated adreno blobs to april version.

BETA 4 16-03-2016

Updated Platform sources to android-6.0.1_r30(MOB30D)

Audio updates

- Enabled fluence (in-call noise cancellation)

- Camcorder Stereo recording

WIFI updates

- Fixed p2p mac problem

- battery drain decreased durring sleep

- no disconnects/reconnects in sleep

Updated APN config from nexus 5

Some mics changes

Enabled FM

Kernel synced with cm-13

- security/bug fixes

BETA 3 16-03-2016

Updated Platform sources to android-6.0.1_r17(MMB29V)

Fixed Widevine DRM

Time service fixes

Fixed vertical photo bug

Security and stability fixes from qcom

Enabled adaptive LMK

Enabled AGPS

Using kitkat LMK min-free value

Increased OpenGL cache size

Updated Adreno blobs to qdev nexus7 MMB29Q

Update more proprietary blobs for aosp/marshmallow

BETA 2 8-02-2016

Platform source updated to android-6.0.1_r11 (MMB29Q)

Bluetooth audio fixes

Encryption fixes

Misc updates/fixes

experimental xperia m dual support (check post #324)

Built with qcom boot,memory and skia optimizations

Updated adreno blobs to january version

Updated widevine blobs

BETA 1 11-12-2015

Updated Platform source to Android 6.0.1 (MMB29M)

Fixed CVE-2014-9410

Fixed auto rotation

Fixed usb-otg

Mic works now

More Sepolicy denial fixes

misc fixes

Adreno blobs updated to december commercial version

Updated widevine blobs from bacon

ALPHA 2 07-11-2015

Updated platform source to Android-6.0.0_r5 (MRA58V)

Fixed adoptable storage feature

Fixed Bluetooth Transfer with some formats

Fixed manual network search and carrier name

Fixed Baseband version

Fixed music app glitch

Fixed compass

Added missing power hal

Added reboot option

Enabled Adreno RS driver

Performance optimization

ALPHA 1 22-10-2015

Initial release
[Sony Xperia M] PecanCM:
FAQ

Q: The 'Developer and Performance options' from 'settings' are gone. Where are they?

A: Touch the 'Build number' seven times in 'about phone'. Then they will appear.

Q: Why no root access?

A: This is AOSP rom, if you want root then flash supersu.

Q: I'm coming from 4.1 and now i can't view my internal sd data, Why ?

A: Go to Data/media now move your all internal sd data to folder named 0 Means under /data/media/0 then you can view your internal sd data.

Q: I can't find external sdcard in /ext_card, Why ?

A: Go to /storage you can find there
[Sony Xperia M] Mysteryagr:
Yaaaaay, Marshmallow is there ✌

Thanks a lot.

Mini gapps from Nexus 4 thread:

https://www.androidfilehost.com/?fid=24052804347835251
[Sony Xperia M] kh34d:
waaaaw

big thanxs:D

---------- Post added at 08:49 AM ---------- Previous post was at 08:28 AM ----------

what about gapps for Marshmallow 6.0?
[Sony Xperia M] Bonoboo:
Yay! Thanks for support!

Also I recommend to read detailed coverage about new features in 6.0 (78 articles)

And here huge review of Marshmallow
[Sony Xperia M] babyyeobo14:
Wow MARSHMALLOW is hereee! thanks [MENTION=4343949]PecanCM[/MENTION] you're the best ! :)
[Sony Xperia M] abhatia1435:
Oh Thanks So much man! You are the best! Superfast!
[Sony Xperia M] SunitTalwar:
bluetooth problem

maybe it is me only but i cant recieve a file via bluetooth

as soon as i installed the rom i found that file manager was missing so i began downloading the gaaps but meanwhile tried receiving es filemanager from my laptop via Bluetooth pairing was successful but when i began recieving it failed tried with 3 different phones but same result

thanx ron for the awesome rom buddy its too fast and stable really loved it thanx

plus sd card formatting gives error and corrupted my card proceed with caution
[Sony Xperia M] kh34d:
For me I can't download it. I think there something in link.?
[Sony Xperia M] Bonoboo:
Direct mirrors by [MENTION=5804988]FindYanot[/MENTION]

– ROM

– gapps
[Sony Xperia M] SunitTalwar:
thanx the gaaps worked but for me only after i flash them right after flashing the rom i.e before restarting the phone if i let the phone restart after flashing the rom and then flash gaaps then they force close
[Sony Xperia M] Bonoboo:
No, works fine.

BTW

- Marshmallow really fast

- Of course no network on Dual (with original radio)

- First boot longer than assumed

- MTP works on some conditions

- NFC works: tags and Beam with other phone
[Sony Xperia M] SunitTalwar:
but they give me setup startup force closes also can you plz confirm if sd card to internal meathod works for me it corrupted my 32 gb class 10 card(had to format it again using pc) and also bluetooth recieving
[Sony Xperia M] Nicklas Van Dam:
Yey !!! Finally Marshmallow to our Xperia M :laugh:

Thanks [MENTION=4343949]PecanCM[/MENTION] !!!
[Sony Xperia M] babyyeobo14:
[MENTION=5037002]Bonoboo[/MENTION] bro, do you think i can use it for my daily use? i just BROWSE, MESSAGING, AND PLAYING COC. do you think i can do it for the MARSHMALLOW without facing difficult problems?
[Sony Xperia M] Nicklas Van Dam:
i don't know too, i'm ready to get test after complete download. are you have problem with clock in status bar? :confused: when i see screenshot from [MENTION=4343949]PecanCM[/MENTION] in baseband version is unknown. i'm scare if my old problem is back again. it's only happen on C1905.
[Sony Xperia M] Bonoboo:
1. Successfully send and received file with other M via BT.

2. Yep, can confirm.

Sometimes formatting SD stuck on 20% or 40%

After full deep formatting on PC it passes process successfully, but can't be used: card filesystem broken.

And it suggest do same process again and again.

1. Maybe, I don't know. I use it only 1 hour in test.

2. There can be hidden bugs and problems because this is Alpha release.
[Sony Xperia M] babyyeobo14:
okay thanks i will just wait till the 6.0 is stable :)
[Sony Xperia M] Nicklas Van Dam:
Formatting SD? is this ROM need to format our ext sd card before use in marshmallow?
[Sony Xperia M] Bonoboo:
Bug: during offline-charging backlight always on.
[Sony Xperia M] Ydraulikos:
Just noticed that skype has the same microphone problem with gapps too.
[Sony Xperia M] coolboyforeva:
COC

Can any1 confirm running COC with google sign in?

i can install coc.. but google sign in is not working... Nothing happens on pressing sign in...
[Sony Xperia M] Nicklas Van Dam:
That problem from gapps package I think. Try to use another gapps like deltagapps or slimgapps that report it work for our ROM. But before that have you checked compatibility from that app with android 6.0? That can be come from compatibility issue too ?
[Sony Xperia M] abhatia1435:
Can anyone confirm the flashlight bug? It turns off automatically after 2 sec when switched from status bar. :confused:
[Sony Xperia M] Bonoboo:
Tested: yes, this happens sometimes.

Strange, that even disappear tile.
[Sony Xperia M] Ydraulikos:
Doze can be enabled manually via adb with

adb shell dumpsys deviceidle enable

Normally it goes through the following states:

INACTIVE -> IDLE_PENDING -> SENSING -> LOCATING -> IDLE_MAINTENANCE -> IDLE

However on our device it doesn't get further the STATE_INACTIVE maybe because of mNotMoving=false as it doesn't detect any significant motion sensor (deviceidle reports mSigMotionSensor=null)

You can force the device to IDLE state though with

adb shell dumpsys deviceidle force-idle

but you will get no notifications when screen is off.
[Sony Xperia M] Rajesh_m:
Battery drain when phone is idle is huge. It almost drains my battery. Couldn't find anything suspicious on Betterbattery stats.
[Sony Xperia M] Bonoboo:
Check "Kernel wakelocks".

On other forum one user also had persistent wakelock from "msm_camera".

Probably this is Android bug, like was before on Nexus'es.

Also offtopic: NUI Kernel now support Marshmallow (note from developer)

But don't report bugs with custom kernel installed!
[Sony Xperia M] babyyeobo14:
and now we will just wait for the Beta CM13
[Sony Xperia M] kh34d:
[MENTION=4343949]PecanCM[/MENTION] any progress with alpha 2,thanks for your efforts and time
[Sony Xperia M] elmkzgirxp:
If you hadn't known already, you can hold the settings button in the notification drawer to enable System UI Tuner.
[Sony Xperia M] abhatia1435:
[MENTION=4343949]PecanCM[/MENTION] Multiwindow Dialer bug.
[Sony Xperia M] Bonoboo:
It's hidden beta feature, what can you expect?

Also even in future it can be not optimized for such small display resolution like us.
[Sony Xperia M] coolboyforeva:
SD card as internal working

Confirmed!! :)

The only catch is that you wont be able to store or see your personal data in internal.. though you can still install apps on internal (Now you have full 2gb for that )..

I think this feature should solve low memory issues of our xperia m..

Thanks [MENTION=4343949]PecanCM[/MENTION]
[Sony Xperia M] Wolfgician:
beta will started if accelometer bug fixed , According to this post
[Sony Xperia M] abhatia1435:
Am I the only one who gets 'Optimising App 1 of 1' on every boot and then it takes 10 mins to boot? I don't know which app is causing that, anyone knows how to recognise which app is that?
[Sony Xperia M] Mysteryagr:
Happened to me on cm12.1

Tried a lot of things to find out, reflashed rom without flashing gapps.

Uninistalled all apps which I suspect.

And no hope.

I had to wipe data and reflash rom and gapps to solve the problem.

So, don't waste your time and do a clean flash.
[Sony Xperia M] abhatia1435:
Okay Thanks. :) Well, too lazy to do a clean flash now. Will do once BETA comes up :D :D
[Sony Xperia M] SunitTalwar:
rro layer on aosp 6.0

any one tried rro layers theme on aosp rom

tried it once the app installed fine but as soon as i installed the theme and rebooted system ui force closed

i have installed a 20+ apps now and also as recovery is not working for me cant make a backup so can anyone plz try and report if rro layer theme is working or not (only those try who have just installed the rom or can afford flashing all over again :p)

plz do report if theme worked and also write the name of the theme [MENTION=5037002]Bonoboo[/MENTION] [MENTION=5608002]Nicklas Van Dam[/MENTION]

one more problem most apps fail to install from playstore when screen is off asphalt failed 3 times and nova 2 times a lot more also:p

the data is downloaded and also the apk is downloaded but when the screen is on the app gets installed but if screen is off the app fails with some error 501 or 301 dont really remember also the obb gets deleted and have to download the whole app again :(
[Sony Xperia M] abhatia1435:
Layers works fine. Using it since the first day MM got released for XM. BTW I am using Magpie and Flat Material and also Navigate. Make sure that you install only 6.0 compatible themes/mods.
[Sony Xperia M] PecanCM:
i was on vacation BTW it's look like auto rotation actually working after deep sleep but there is long delay (2 minutes+) when rotating.
[Sony Xperia M] kh34d:
Happy vacation. [emoji41]
[Sony Xperia M] coolboyforeva:
Cant take nandroid backup on external SD

Can any1 confirm if they are able to, after formating SD card as internal?

It say updating partition details and nothing happens for minutes...

By the way, I formatted SD card as internal. Maybe due to this.. :confused:

M using FotaKernel TWRP recovery...

http://xdaforums.com/xperia-m/development/recovery-cwm-twrp-recoveries-custom-roms-t3016507
[Sony Xperia M] Mysteryagr:
So, can you enable dual sims in the next release?
[Sony Xperia M] PecanCM:
dual sim not going to work with aosp telephony, we need caf for that + right now I'm not sure if mm caf telephony going to work well for dual sim with 5.0/5.1 ril blobs.
[Sony Xperia M] Mysteryagr:
I got this...

So better to wait for cm13 commits for dual sims.

And about ril blobs, is it possible to release separate patch later for enabling dual sims to test and see, before enabling it in device tree?

I think it is the only way to find out whether it gonna work or no.
[Sony Xperia M] gadgetroid:
You need to reboot the phone. Usually media rescans take place when Android is booted up the first time or unless explicit calls to the system are made to trigger it, it doesn't scan.

A reboot should work just fine.
[Sony Xperia M] gadgetroid:
A few observations about the battery drain:

I was travelling a couple of days ago, and fearing battery drain, I put the phone to airplane mode. I had 69% when I left in the morning and when I returned back home later that night, I had lost just over 2%. Better Battery stats never reported any unusual wake locks or anything that could be draining the battery when I was connected to both 3G and Wi-Fi.

Removing the SIM card and using just the Wi-Fi seems to give a better battery life. The battery drain wasn't as significant, but I still couldn't get a decent battery life.

I was going through the thread yesterday when I noticed that I had completely missed the post that [MENTION=4343949]PecanCM[/MENTION] had made about the power HAL patch. Flashed it, and I can see an immediate improvement in the battery life. No drain whatsoever and I got a pretty decent SoT without GApps and no SIM card inserted. Phone seems to get unusually hot while charging though, but that's not much of a problem if you're not using it while charging
[Sony Xperia M] abhatia1435:
When a call is ended it shows 'invalid number' instead of 'call ended'?

Weird. :confused:
[Sony Xperia M] PecanCM:
here you go http://www.mediafire.com/?x2y25mub6il9zx3 and even if dual sim works doubt i''m going to enable ds by default if data bug is still there.
[Sony Xperia M] abhatia1435:
Hardware Camera button also doesn't work.

And flashlight works fine with NUI kernel, the tile doesn't disappear.
[Sony Xperia M] Agu_Ra:
[MENTION=4343949]PecanCM[/MENTION], I've sent pull request to your GitHub. Can you build the kernel with it? It should fix touchscreen issue in TWRP. At least, in cm-12.1 it does. But M kernel fails to build in my environment (it is cm-12.1 currently).
[Sony Xperia M] Mysteryagr:
Thanks a lot, gonna test and report soon.

Data bug on cm12.1 is gone after using fix by [MENTION=5037002]Bonoboo[/MENTION] , never faced it again since then.

However, connecting data to 3G isn't stable on all patches; mi2/xperiaZ/motoX ril patches, no idea what is causing this... So using 2G network almost all the time.
[Sony Xperia M] icoolguy1995:
PecanCM can you please update this rom to the latest r26 which released today(less buggy I guess?)
[Sony Xperia M] Agu_Ra:
2 All TWRP users: touchscreen lag fixed.
[Sony Xperia M] Mysteryagr:
Adding dual sims lines in build.prop to enable dual sims on M doesn't work.

I think ril daemon is starting for the 1st sim only.

radio log attached
[Sony Xperia M] PecanCM:
camera button not supported in aosp and i don't think it has anything to do with kernel but i will see.

i don't think there is any real benefits for our device by switching to MDA/B from MRA. android-6.0.0_r26 is for new nexus and android-6.0.0_r5 for old nexus and in case r26 have fixes for our problem then we can try cherry-picking that (and dependency if needed). so yeah new update with android-6.0.0_r5.

as i said aosp telephony not gonna work, need qcom one.
[Sony Xperia M] stefalv:
[MENTION=4343949]PecanCM[/MENTION] i'm facing a problem where the phone starts up but doesn't move past setup when it is checking connection as a result i cannot check out this ROM :(

facing this problem with mobile data as well as wifi. :confused:
[Sony Xperia M] Bonoboo:
Flashed OpenGapps?

Wipe /system, flash ROM again and now this gapps