yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] PecanCM:
device,kernel and proprietary blobs is already in github. now about other repos

for audio pick following commits: https://github.com/CyanogenMod/andr...mmit/1726a291a0f27e2df7fd7fdb9be8cdcd5ea9bdb3

https://www.codeaurora.org/cgit/qui...8&id=0041c5f5fe0df1216caff9f2e154efa3bca60a22

copy audio_amplifier.h from cm libhardware to aosp

either copy caf LA.BF.1.1.3 system/media or pick "extended audio features" commit

copy cm13 caf-8960 audio hal and remove pathmap check from main makefile.

for wifi just use caf LA.BF.1.1.3 hardware/qcom/wifi

for bt apply this diff http://pastebin.com/uv2vnjqV

clone this repo to device/qcom/sepolicy for sepolicy https://github.com/RonGokhale/android_device_qcom_sepolicy

for building copybit: https://github.com/CyanogenMod/andr...mmit/0bd8fe85ae1ca5d19f540fd0fabefe1a456f9d13

system/core:

you need https://www.codeaurora.org/cgit/qui...5&id=22abdc3934cc255a136ba7050c0aa49cb0a0f9ba and

now pick caf system/core qcom_diag permission commits

and last you can apply this patch to build repo: https://www.mediafire.com/?chssbi4eo3zbq4o (custom mkbooting, inline kernel building etc.)

that's all you need for building android-6.0.1 for nicki.
[Sony Xperia M] smartAgent47:
Thanks Alot for guiding the developers [MENTION=4343949]PecanCM[/MENTION].

Is it fine if the patch is not applied ? [MENTION=4343949]PecanCM[/MENTION]
[Sony Xperia M] oorvashe:
I installed this ROM few days back and the when I dial or receive a call, the call volume is very low and I hardly hear the other person. I tried increasing the volume to maximum and still finding it difficult to hear the other person.

Does anyone face the same problem. I went back to 5.1.1 to check the voice quality and its excellent in 5.1.1. I came back to this ROM and still face the low voice during calls.

Sathish
[Sony Xperia M] PecanCM:
from my post "(custom mkbooting, inline kernel building etc.)" so without that changes no recovery,no inline kernel building (tyou need prebuilt kernel) etc.

i will see this when i get back to aosp.
[Sony Xperia M] nirmal471:
After flashed xposed framework in aosp beta 1, gets little lag
[Sony Xperia M] Nicklas Van Dam:
Please check here first before report any bugs

If you're using xposed you can't report any bug cause from xposed framework or module here
[Sony Xperia M] jaimeen k patel:
Next Build (Beta 2 AOSP 6.0.1) for Xperia M

When can we expect Beta 2 of AOSP 6.0.1 for Sony Xperia M with All or major bug Fixes ? I Like AOSP more than CM . So eager for AOSP Beta Release
[Sony Xperia M] bikash123:
gaaps for 6.0.1 c1904
[Sony Xperia M] PecanCM:
Update to BETA 2

Update time !!

beta 2 changelog:

Platform source updated to android-6.0.1_r11 (MMB29Q)

Bluetooth audio fixes

Encryption fixes

Misc updates/fixes

experimental xperia m dual support

Built with qcom boot,memory and skia optimizations

Updated adreno blobs to january version

Updated widevine blobs

Download link: https://www.mediafire.com/?3b37f26t18dbm61

dsds patch: https://www.mediafire.com/?p5limlx22x3k3k0 (check notes section below)

notes:

I can't reproduce bug reported in post #336

though aosp marshmallow have better dual sim support then lollipop but i'm not sure how it's not gonna work without qcom fixes/enhancements anyways flash dsds patch and check.

can anyone check this bt-audio bug on aosp ?
[Sony Xperia M] simmusss:
This rom supports theme manager??? If works I'll test now??
[Sony Xperia M] Zakaria.R:
It's aosp, it doesn't have features like cyanogen or other roms it's pure android
[Sony Xperia M] AdrianDR94:
"Theme engine" by Cyanogen NO, but you can install "Layers Manager" by BitSyko Development from google play and install layers for every app.
[Sony Xperia M] mankokoma:
Of course I would - it's my problem ;) but have no time at the moment...
[Sony Xperia M] jaimeen k patel:
This is a screenshot while i was trying to call after flashing Google Dialer 2.3 as the rom has old dialer , please provide new dialer in next beta release
[Sony Xperia M] kjiratssiekoedel:
I updated mij c2005 running 12.1 by accident to CM13... The whole phone (link2sd) messed up... Now installing fresh CM13, I hope it will run stable!
[Sony Xperia M] ankushkushal:
Did smbdy try if dual sim working??
[Sony Xperia M] ankushkushal:
Dual sim working. Data also working on sim one. Rom ultra smooth no gltches . Some bugs like browser crashes when starting download.and cant install anything using inbuilt file Explorer and most importantly flashed su for rooting it won't root.so reverted back to cm
[Sony Xperia M] PecanCM:
that's great and you mean data works on both sim in aosp ?
[Sony Xperia M] ankushkushal:
I didmt test on 2nd sim sorry was having zero balance n net was on 1St so... Ill test it again n report but do something about root rom was awesome but I left it because of no root facility thanx btw for working for our nicki [MENTION=4343949]PecanCM[/MENTION]
[Sony Xperia M] Bonoboo:
Installed for test on Dual.

In short words mobile data experience was glitchy.

At first boot was no data anywhere, even after selecting APN.

One time after selecting 2nd SIM internet actually used from 1st: some site info about IP confirmed this.

At next tries (with reboots) there was no data on 2nd SIM.

In this tries signal on second SIM completely disappeared at some conditions, helped airplane mode.
[Sony Xperia M] zahaflr:
How can I remove google search bar from home screen, after installing this beta on C1905? Thank you.
[Sony Xperia M] Bonoboo:
Long tap on home screen, pull up panel, disable search bar.
[Sony Xperia M] zahaflr:
There's no panel to pull up, and can't disable search bar.
[Sony Xperia M] Bonoboo:
So you have installed Google launcher (with gapps).

There can't be disabled search bar.

Use other launcher from Play Store.
[Sony Xperia M] zahaflr:
[MENTION=5037002]Bonoboo[/MENTION]: Thank you for the answers. Can you recommend me some launcher to use? Hope will not slow down my phone or something else.
[Sony Xperia M] Zakaria.R:
You can try Nova launcher, or look for Xperia home on the forums there are versions that support icon packs
[Sony Xperia M] PecanCM:
I expected bug like this. without qcom changes aosp dual sim isn't stable enough for non-Google devices.
[Sony Xperia M] reynevayen:
Hey. I have Xperia M Dual (model 2005). I know, Dual sim on M dual not working, but it's not problem for me. Can I install this ROM? Rest of things will be ok?
[Sony Xperia M] DibyenduMaji:
yes it's good, and its pure android, without modification.. if you like customized experience you should try CM13 Nightly.
[Sony Xperia M] reynevayen:
It's not a problem for me. Thanks! ;)
[Sony Xperia M] ankushkushal:
Bro yu should read some posts before saying anything because dual sim is working. its all given how to make them work. ;)
[Sony Xperia M] iambalaji:
hey i didn't try beta 2 but coming from beta 1 at present ... i have found few bugs ......

1) the fone gets shut down @ 10% battery life(this was same problem i faced in kitkat too but was good at my original 4.3)

2)some times i cant attain calls ,, some times i make a call it reboot

3) i checked with fm... the problem was when the swipe from status bar above is used... the sound buffers.. i checked it 10 times the same problem came)

anyone out with this problem.......

am using presently beta 1 [MENTION=4343949]PecanCM[/MENTION] on my xperia m dual.... sry for my bad english
[Sony Xperia M] Abhi142:
Root

How to root this rom?
[Sony Xperia M] dasansi_13:
I have detected a potential bug in beta 2.

While you are charging the phone switched off, the display will be remain on (the backlight).

This problem doesn't happen when the phone is on.

Could you check if you have the same problem?

Thanks!
[Sony Xperia M] Antrikos48:
IIRC that was a known bug with healthd and it was fixed in CM a while ago.
[Sony Xperia M] dasansi_13:
Ah! Thank you! I hope [MENTION=4343949]PecanCM[/MENTION] can fix it in the next AOSP release.

PD: Another bug I found in this version was in camera app: Vertical photographs are shown rotated. It is imposible to take a vertical photo. I also have problems with the videocam (camcoder).

Thanks!
[Sony Xperia M] PecanCM:
it will be fixed in next beta.

what problems you have with video recording ?
[Sony Xperia M] dasansi_13:
The problems with video recording was because the Google Camera app. Using the open source camera app, I only have the problem with the rotated images (could you check it?)

On the other hand would be possible to include the FM Radio in the next beta??

Thank you so much [MENTION=4343949]PecanCM[/MENTION]
[Sony Xperia M] PecanCM:
Fixed vertical photo bug.
[Sony Xperia M] nirmal471:
Plz add File Manager app in next beta [MENTION=4343949]PecanCM[/MENTION]
[Sony Xperia M] Bonoboo:
BTW there is basic at Settings > Storage & USB > tap > Explore below
[Sony Xperia M] nirmal471:
Yes I knew that, in this Explorer can't install any app. :(
[Sony Xperia M] PecanCM:
Update to BETA 3

Time for new release

beta 3 changelog:

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

Download link: https://www.mediafire.com/?gdxhaj84ymlc795

Xperia M dual patch: https://www.mediafire.com/?g6cef62ln1qb9di
[Sony Xperia M] Nicklas Van Dam:
This ROM is very stable so far, didn't find any critical bug. But what is over-counted anyway?
[Sony Xperia M] Agu_Ra:
It's a difference between calculated and actual battery drain.
[Sony Xperia M] Nicklas Van Dam:
Hmmm I think you're right, Thanks :D.
[Sony Xperia M] iambalaji:
hey i have a small doubt , his this version of beta 3 doesnt have root access in developer option. is there any way to root my phone... actually getting fear if supersu fails i should start flashing from flash... wish any one have solution for it
[Sony Xperia M] Bonoboo:
It's done via Android if you want: we talking about it.

BTW I updated that post with more info:
[Sony Xperia M] suryaz124:
So we don't need to wipe anything who r coming from lollipop right:rolleyes:? Thanks [MENTION=4343949]PecanCM[/MENTION] u finally made android m for our m:D:D:D
[Sony Xperia M] Bonoboo:
Of course better wipe /data to prevent bugs.

Maybe it's ok if upgrade from AOSP, but I doubt from CM12.1

Here we talking about sdcard – it will be wiped / formatted if you choose to adopt it as internal storage.

But this process unsuccessful for now.
[Sony Xperia M] Nicklas Van Dam:
How about root access? can we flash supersu.zip on this ROM? :confused:
[Sony Xperia M] suryaz124:
When it will be formatted [MENTION=5037002]Bonoboo[/MENTION],I mean during boot or after?cuz I don't know about this ROM,I am coming from cm 12.1 plz give me an idea about this ROM I am downloading now:D:D
[Sony Xperia M] Bonoboo:
I don't know.

Current SuperSU Beta requires patched kernel, available only for Nexus'es.

Below confirmed, that flashing this enough.

1. After when you want. Read this article about adopting internal storage.

2. And read / scroll all this to know more.
[Sony Xperia M] SunitTalwar:
flashing super su beta v2.52 works full root acess :)
[Sony Xperia M] Mysteryagr:
Dual sims is not enabled on the device tree?

And the rom still using ril from XZ LP5.1?
[Sony Xperia M] suryaz124:
Plz provide a link bro:):)
[Sony Xperia M] Nicklas Van Dam:
okay, thanks for your suggest :D. I'm on installing progress now and i will tell result after succesfull install this ROM :D
[Sony Xperia M] SunitTalwar:
best of luck buddy :good::good: do make sure to flash the gaaps (if you want) right after the rom installation before restarting the phone to avoid force close of gaaps (it did force close for me for sure ,maybe i did some bad step)

rom is way to fast than lollipop and also the animations are awsome

also one thing that i noticed videos play in mx player without any lag (it used to hang a lot in hw mode of mx in lp)

overall awsome rom just waiting for external card to be made internal feature to be fully resolved by our great developer :)
[Sony Xperia M] babyyeobo14:
i think flashing gapps is necessary not (if you want) it is included on instruction on 1st page :)
[Sony Xperia M] Nicklas Van Dam:
after do adopt ext sd card to internal sd card, process is stuck and failed in 20% and my ext_sdcard is totally broke :confused:

and it's only read for 15mb on windows, but exactly real size is 16GB. i think file system is broken and only way solution is format it from one partition software on windows and convert file system to FAT32 after format to NTFS. why my ext_sdcard is broke after failed in adopt external to internal? :confused:
[Sony Xperia M] Wolfgician:
adopt ext sd card to internal sd card not working for now
[Sony Xperia M] Mysteryagr:
Because you didn't read previous posts :D

Obviously the feature in broken on alpha build.

Wait until it is fixed in the coming releases...
[Sony Xperia M] Bonoboo:
This was already mentioned twice in thread.

Now fully format sdcard via cardreader with this app, insert in phone and format as external storage (first option).
[Sony Xperia M] adi2500:
To which FS is the sdcard partitioned in the phone? I would try to format it on PC and try then.
[Sony Xperia M] Bonoboo:
Unknow.

I think this must be done only on phone, because data on card will be encrypted.
[Sony Xperia M] Nicklas Van Dam:
hmmm, okay i will try another feature too. if not i will revert to cm12.1 for daily use in school. are you use this ROM?

---------- Post added at 07:43 PM ---------- Previous post was at 07:38 PM ----------

i don't know too why my sdcard can be read on windows, in first time my sdcard can't be read on windows and i insert it again to my phone and try to format on TWRP. Because my sdcard still can read on TWRP with size 15mb, so i format it and try to make backup boot.img with 20mb size. and but that's make error but sdcard is full after create backup and i wipe again on TWRP. After that i insert it on pc with card reader. and windows can read it with 15mb storage and 16mb for full wipe.

And i do full repartition using mini tool partition wizard on windows and change file system to ntfs, after success i only need to convert filesystem to fat32 and my sdcard is safe for now and can be use properly :D
[Sony Xperia M] Mysteryagr:
Formatting as "internal" storage will switch from the usual VFAT file system to Ext4, and adopted drives get encrypted with a per-volume, static 128-bit AES key.

Not yet, planning to take a backup and test the rom as soon as I have more spare time.

(I need dual sims for now)
[Sony Xperia M] SunitTalwar:
super su works with this rom just flash it right after flashing the rom

i still use super su beta 2.52 it works perfectly not sure about later versions but this version works with all betas
[Sony Xperia M] gavinfernandes2012:
I couldn't find the source code, is the folder named nicki in the google repo.

Sorry if I missed something and am being stupid.

btw does this work with the nui kernel by any chance?

anyone tried?
[Sony Xperia M] PecanCM:
you should read first post.
[Sony Xperia M] Agu_Ra:
Unfortunately, nicki is not in Google's source code and never was, there are only Nexus and probably Android One devices there. You need to download nicki tree from Ron's repo if you are going to build something directly based on AOSP (excluding CM) or AOSP itself. You'll need device sources:

mkdir -p device/sony
git clone https://github.com/RonGokhale/android_device_sony_nicki -b marshmallow device/sony/nicki

kernel sources:

mkdir -p kernel/sony
git clone https://github.com/RonGokhale/android_Kernel_sony_msm8x27 -b marshmallow kernel/sony/msm8x27

and some common repos (you can find them in *.dependencies file in device tree).

BTW, it might be more handy to add them to local manifest (any xml-file in .repo/local_manifests/) than to clone them manually using git, so you'll be able to download and keep them up to date by single repo sync command.
[Sony Xperia M] gavinfernandes2012:
Okay really sorry, I thought i read it completely, I'll re read.

Ohh ****tt, I'm such a genius, I looked at the part after the screenshots, really sorry.
[Sony Xperia M] Agu_Ra:
Also AOSP needs slight patching for our device. Ron already wrote about this somewhere.

And yes, it should work with NUI.
[Sony Xperia M] gavinfernandes2012:
I looked at the part at the end of the post, hence the confusion, sorry.

Okay I'll just backup and try, thanks.

Worked with nui, thanks.
[Sony Xperia M] PecanCM:
and for working build and getting flashable zip extra changes needed http://xdaforums.com/showpost.php?p=64465386&postcount=334
[Sony Xperia M] dhruubo:
How can i fix the permission access?? It always ask to give me the permission... Plz help
[Sony Xperia M] PecanCM:
who is asking for permission ?
[Sony Xperia M] dasansi_13:
I was testing the Beta 3 and I think all works great! Good work [MENTION=4343949]PecanCM[/MENTION]

I have tried to install an Radio FM for the xperia without sucess. Do you know how I Can? Would be possible to include it in the next release?

Thanks!
[Sony Xperia M] PecanCM:
will see about fm when i'm back to aosp.
[Sony Xperia M] PecanCM:
Update to BETA 4

April release time!!

beta 4 changelog:

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

Download link: https://www.mediafire.com/?7xeo1p65kucjpb3

Xperia m dual patch: https://www.mediafire.com/?k191ywfno3dpu7u
[Sony Xperia M] Vampire_copper:
Downloading! will report about rom.

Thanks for keeping alive our Nicki :)
[Sony Xperia M] Nicklas Van Dam:
New update for AOSP :laugh:, thanks to keep this update :good:
[Sony Xperia M] Nitin69:
Can I use this in D2302
[Sony Xperia M] Antrikos48:
Nope, Xperia M only
[Sony Xperia M] Nicklas Van Dam:
Sir [MENTION=4343949]PecanCM[/MENTION] just like you said about custom kernel in cm 13 thread, if I use custom kernel in new AOSP build. Will get crash on FM too?
[Sony Xperia M] ndrancs:
Thanks for updated the rom.
[Sony Xperia M] PecanCM:
beta 4 still uses radio module so you can use FM with current custom kernel.
[Sony Xperia M] Nicklas Van Dam:
Thanks sir for response :laugh:, I can open radio and they can search frequency from radio station. But no one of them is work? Only can search, can't make sound is out?
[Sony Xperia M] syedafzal.shah:
Hii Friends.. iam on CM 12.1 and have CWM , so can I flash TWRP with CWM?
[Sony Xperia M] :
[mention] syedafzal.shah[/mention] you must flash twrp by twrp app https://play.google.com/store/apps/details?id=com.jmz.soft.twrpmanager&hl=pl
[Sony Xperia M] PecanCM:
audio worked fine when I tested. you flashed any mods etc ? checked with backup and wipe ? and in end give logcat.
[Sony Xperia M] Agu_Ra:
If you'll make yourself flashable zip, then yes. It is better to use TWRP Manager app, but it needs root.
[Sony Xperia M] MiniGNU:
There are bug: can't adjust volume for voice calls. On beta 3 it worked fine.
[Sony Xperia M] matrixex:
Everything works fine but problems occur when i try to flash

1.superSU(NOT WORKED " SU BINARY NOT INSTALLED ")

2.GAPPS( TRIED WITH A FRESH INSTALL BUT FAILED APP CRASHED , not a serious problem )

THANKS
[Sony Xperia M] Nicklas Van Dam:
You need to install SuperSU zip by chain fire and choose normal SuperSU not systemless mode, for gapps try to clean install or use another gapps.
[Sony Xperia M] PecanCM:
volume bug will fixed in next version.
[Sony Xperia M] Vipul Verma:
Everything is fine in ROM just facing one bug on Xperia M Dual Version that I'm unable to change network mode of the data sim which I had chosen it is just sticked to WCDMA mode and if I'm switching the data to next sim then the data doesn't works please look to it this is really bit annoying

---------- Post added at 01:08 PM ---------- Previous post was at 01:06 PM ----------

Everything is fine in ROM just facing one bug on Xperia M Dual Version that I'm unable to change network mode of the data sim which I had chosen it is just sticked to WCDMA mode and if I'm switching the data to next sim then the data doesn't works please look to it this is really bit annoying
[Sony Xperia M] Bonoboo:
To fix this you need temporary revert to stock firmware and boot once (here backups btw).

Then restore CM and bug will gone.

No solution for now, data can be used only on 1st SIM.
[Sony Xperia M] Bonoboo:
No.

It works only on CM11.
[Sony Xperia M] mjjyo:
Not able to flash super su

---------- Post added at 02:17 PM ---------- Previous post was at 02:04 PM ----------

I tried flashing SuperSU . zip file
[Sony Xperia M] Nicklas Van Dam:
Try to not flash systemless supersu.zip file, here try non-systemless of supersu.zip file

https://download.chainfire.eu/696/supersu/
[Sony Xperia M] Surpriser:
there is not any other solution to WCDMA only bug? i tried to change preferred_network_mode , preferred_network_mode1 , preferred_network_mode2 to 0 in settings_global.xml but it not changed.

Edit: i did your solution, first backup current AOSP, then flash stock ftf, and then restore AOSP and it fixed that bug! can someone explain why this happens? cant understand what changed to fix this issue!
[Sony Xperia M] ndrancs:
In meantime.. Hope this room got updated with zram related commits..
[Sony Xperia M] PecanCM:
Fixed in-call volume last night. problem was when i applied audio changes from cm, git changed non-stereo dmic ucd acdb id's instead of changing dmic stereo ucd. patch to fix on beta 4 https://www.mediafire.com/?g445hdalbxpxox4
[Sony Xperia M] PecanCM:
Update to BETA 5

Alright guys now it's update time!

Changelog for beta 5:

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.

Download link: https://www.mediafire.com/?j5728vwat2tcgvu

Xperia M dual patch: https://www.mediafire.com/?qbpodyn46cx6h7m
[Sony Xperia M] Bonoboo:
Just bug-reports from other forum:

– in-call speaker fix won't help (in Beta 5 same), volume still not changing and now it's very loud

– if taking photos with flash enabled pics overexposed (?)

And thanks for keeping AOSP fresh.
[Sony Xperia M] PecanCM:
just checked volume again, can change volume in both modes and i don't see how photos are affected, nothing is changed that can affect camera.
[Sony Xperia M] Vampire_copper:
review of beta5.

smooth animations battery drain is less games are working good ( coc and nfs mw ) apps reload less if they are kept in background.

[MENTION=4343949]PecanCM[/MENTION] why sixaxis is not able to get Bluetooth address? it is working in stock, cm11,cm12,cm12.1 but in cm13/aosp its not able to get.

attached some ss of battery life.
[Sony Xperia M] PecanCM:
i will see.
[Sony Xperia M] Bonoboo:
Yes, of course this "bugs" was too doubtfully.

Anyway I decided to inform you.

Updates:

1. Speaker: later user said, that he had installed Walkman mod, without it ok.

2. Camera: no more info provided. Probably hardware problem.

Sorry for disturbing.
[Sony Xperia M] PecanCM:
expected many times bug happens because of 3rd party modification and it's ok.
[Sony Xperia M] Vampire_copper:
[MENTION=4343949]PecanCM[/MENTION] i searched on other forms about sixaxis and its not device specific. google made changes in 6.0 so apps cant access mac address of device by default.
[Sony Xperia M] nathankaunang:
bro can this port to xm2 d2305 and how to do it?
[Sony Xperia M] ojas12345:
this ain't the place for that ! and better contact a dev who has xm2
[Sony Xperia M] ankitnaik16:
Does layers work properly?