yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M2] TrickiePad:
I'm just implementing stuff others (like jerpelea) do. They are the man! (but thanks anyway)

I also wished I could really help them, but I know too little about Sony binaries and firmware stuff (and the integration with AOSP)
[Sony Xperia M2] Supercharlie25:
Can someone post screenshots of the desktop, (not settings, i know how they are) please? I cannot test it because im at village now.
[Sony Xperia M2] ImArlet:
So what version firmware i must have before flashing latest 5.1 build for Eagle?
[Sony Xperia M2] TrickiePad:
4.3 and 4.4.2 seem to be fine (but not 4.4.4).

It seems I'm having issues with bluetooth while it has worked before....

So until now:

working: call (at least with "my" build), wifi

not working (or issues): camera, bluetooth

not tested yet: NFC, mobile data
[Sony Xperia M2] ImArlet:
Mobile Data and bluethooth not work

for mobile data i tried 4.4.4 latest modem and did not work

Im disappointed a little!

Even cm12 latest have data connection work but lagging so heavy :(
[Sony Xperia M2] AssoDiPicche:
Nfc and data works!!!

---------- Post added at 08:18 PM ---------- Previous post was at 08:17 PM ----------

@ImArlet You can read? USE AOSP OF TRICKIE PAD CALL AND DATA WORKS. :mad:
[Sony Xperia M2] TrickiePad:
Are you using the AOSP build 5.1 from https://drive.google.com/file/d/0B3K...ew?usp=sharing ?
[Sony Xperia M2] ImArlet:
Noo!

This page even not found!!

i using from FXPblog
[Sony Xperia M2] TrickiePad:
(

oops: typo :D use https://drive.google.com/file/d/0B3Kv6vLpoAA0amszNWhBSThrWTA/view?usp=sharing

(see the link if you hover over it)

---------- Post added at 09:20 PM ---------- Previous post was at 08:35 PM ----------

update: still having bluetooth issues.... it seemed to work for a moment, but now not anymore....

I will investigate further....

However: I'm sure it has worked with AOSP 5.0.2.
[Sony Xperia M2] RatchetHacked:
Just swap bluethoot apk whit cm12's one
[Sony Xperia M2] AssoDiPicche:
Work? You can try?
[Sony Xperia M2] TrickiePad:
cm12 is AOSP 5.0.2 based? I have that apk but it could also be kernel-related. (dmesg= <3>[ 125.407274] Bluetooth: Frame for unknown HCI device (hdev=NULL).

Perhaps I'll give it a try. Thanks for the tip!
[Sony Xperia M2] RatchetHacked:
On omni works, try out if you want
[Sony Xperia M2] TrickiePad:
With kernel omni (flashed only boot.img) phone boots but no bluetooth.

erikcas also mentioned this on the 24th of march: "Not working: camera / bluetooth"

Sometimes I get bluetooth working on AOSP 5.1 (I can see devices) but when I turn bluetooth off and on again it doesn't come back on-line. I'll wait for the evolution on the xperiadev github.....

update: it works now! (flashed AOSP 5.1 again, it didn't work immediately but now I can see the bluetooth icon and I can detect + see devices)

I will not turn it off again. How do I best get the logs for this? (dmesg log was not indicating very much)
[Sony Xperia M2] TrickiePad:
fxpblog new AOSP 5.1 build

I see fxpblog.co has new AOSP 5.1 builds for the Xperia M2.

I just tested the march 31 file (AOSP_L_MR1_150331_eagle.zip): same bluetooth issue as I experienced with my own build but also the fxpblog still has no call (at least on my phone). My own build (as per Sony instructions) has call.

And for bluetooth: at present I see constant crashing of com.android.bluetooth in logcat....
[Sony Xperia M2] galaxyfreak:
Bluetooth behaviour described here looks like same I had on CM12, workarounded by reverting hci_smd commits on Jan 28.
[Sony Xperia M2] TrickiePad:
thanks for the tip!

I did the reverts, made a new boot.img with the kernel but now I get constant pop-up "unfortunately, bluetooth share has stopped" (previous there was no pup-up at all).

Haven't checked logs yet, but it seems a regression to me (at least on the M2).
[Sony Xperia M2] galaxyfreak:
Try adding this lib (system/vendor/lib/) .
[Sony Xperia M2] TrickiePad:
update: AOSP bluetooth works (as long as I don't shut it down), so I'm using AOSP 5.1 for daily use now.

battery is good, call, bluetooth and wifi all working (+ really fast, and no bloatware at all)

I'm going to keep studying the whole driver/hal/library thing.

Is there a guide somewhere indicating all the differences/challenges for devices on Android and clarify more on terms like firmware/blob/binaries? I know what all terms basically mean but I still miss the general picture like: Android controls devices with technology X for situation Y.... (so that I really would understand this difference in bluetooth code between AOSP and CM instead of just implementing it without any real knowledge by me).
[Sony Xperia M2] Supercharlie25:
I ve tested ROM with Trickie Pad build and its great exceptong camera and video playback...

The most which i like are colors!! They are much powerfull now!
[Sony Xperia M2] quake73:
I publicly apologize to TrickiePad for calling him 'troll!' ;)

There are so many lost souls in these M2 threads/forums, ppl not knowing what they talk about, lying etc. I take my words back!... I previously owned an Xperia P, the forums there were much more 'intelligent', here it looks much more different, sometimes you cannot tell an idiot from a guy with some brain. :)
[Sony Xperia M2] aidy.lucas:
I'm a complete noob at this myself fella and even I couldn't agree more. There are some people on here who really shouldn't be touching anything to do with modding phones as they clearly can't read or follow instructions. Google and reading up maybe several times before you do anything is just common sense.

Xperia M2 D2303 stock 4.4.4 kk rooted l/b philz touch recovery xposed mods bravia engine 2+x-reality viperaudio
[Sony Xperia M2] Supercharlie25:
I dont know if it is a bug, but gps doesnt work for me.

EDIT: Forget it, it works :p
[Sony Xperia M2] TrickiePad:
:) I'm catching up by browsing the AOSP sources, beginning to see some structure but still a looooong way to go.....
[Sony Xperia M2] quake73:
i have tried your rom, tried the fxp aosp5.1, with the original kernel and with omni5 kernel...have tried all the roms circulating around, in every combination rom/kernel...yours had excellent battery life with the omni's kernel but no calls.

and as a side note and i'd like to hear from other people's experiences...with kernels that have deep sleep fixed, i get the best battery life by setting the governor to "performance", i did the same to my previous phone, xperia P and was very pleased...i wait now for a functional kernel/rom that has deep sleep fixed
[Sony Xperia M2] TrickiePad:
It's not really "my rom" because It's just a build following the instructions on Sony AOSP, but it has calls and most is working (except camera and some other things) so I'm using it constantly now. Battery life seems not too bad, but more on that after a few days (I'll probably will use battery saver all the time and get rid of the orange bars when it's activated)

Strange the fxpblog build has no call....
[Sony Xperia M2] quake73:
yeah, you finally admit - no calls. that was the reason i called you a troll & a liar ;)

and about battery, i managed to make my phone say 17 days left with omni i think :P

http://xdaforums.com/showpost.php?p=59735701&postcount=759
[Sony Xperia M2] TrickiePad:
quoting myself: "but it has calls" and "most is working (except camera and some other things)"

I repeat: I have calls with the build I made from AOSP! :)

(and others also who have downloaded the build)
[Sony Xperia M2] quake73:
EXACTLY that thing provoked me to call you a 'troll', saying that calls work when 15mins previously i had the rom tried and seen that calls dont work....ok, whatever, i had my apology delivered, big timez, i wouldnt want to become a troll myself and pollute the forum anymore...if i have smtg important to say about M2roms, i will write it here...cheers, TrickiePad! (cheers literally, its saturday ;) )

http://xdaforums.com/showpost.php?p=59708071&postcount=17 (brag brag brag :P)...in the meantime i added checking for new cm12 and aosp5.1
[Sony Xperia M2] TrickiePad:
Sorry to hear that you don't have calls, and I agree that this discussion has become pointless...

We could search for the reason you don't have calls (could be RIL firmware), but I swear I can make calls with my AOSP 5.1 build.

You are too quick with your conclusions.

Today, I have used the 5.1 build in my car (bluetooth): I have made calls and was called: no problems at all!

Have a nice easter-sunday!
[Sony Xperia M2] quake73:
HA!!!! thats exactly the reason i have cm12 on my phone right now, because i had problems with my car, have one of those obd devices, needed a functional bluetooth
[Sony Xperia M2] AssoDiPicche:
In AOSP 5.1 the SMS do not work! Please fix this :'(
[Sony Xperia M2] Supercharlie25:
Who uses sms now?? Excepting messages from the carrier?
[Sony Xperia M2] vusun123:
In 3rd world countries, technology isn' that advanced or popular like in the US. We still use message app since Hangout isn't popular in our countries either
[Sony Xperia M2] Supercharlie25:
What about whatsapp?

* im not from the US, im from Spain :)
[Sony Xperia M2] vusun123:
Not that either
[Sony Xperia M2] ReznorNInchNails:
In my country (which is also one of 3rd/developing countries) two carriers offer 3G/HSPA+ (speed varies on location) flatrate mobile internet for as little as about 7 USD for a month. And that's only internet. You have to recharge your credit for calls separately. It is a prepaid SIM card so you have to recharge it after your validity period has expired. There are also postpaid options, it is better because you pay one price for internet and calls, and pay your fee at the end of month, but I don't use calls that much so it is not an acceptable option for me.

Also, you can catch WIFI in cafes, but if you are student here and also have internet at home it's totally unprofitable. You also have postpaid (combination postpaid and prepaid) option as a student which is somewhat cheaper, but still can't use all of it on calls. So, it is a wasted credit.

So, at least when I'm at home I stay online on Viber and Messenger and when I'm going somewhere, other people then know when I'm not available.

Maybe there are similar options with carriers in your country?

[MENTION=6490569]TrickiePad[/MENTION] Yes SMS works in your build.
[Sony Xperia M2] ReznorNInchNails:
Logcat for build 150331: https://justpaste.it/kcie

Also have to notice greenish tint in youtube videos, I think it is included in log.
[Sony Xperia M2] hitmanle016:
Do somebody flash to m2 aqua 2403?
[Sony Xperia M2] TrickiePad:
build 150331? is that a fxpblog.co build?

The greenish tint is also sometimes in the build I made. I hope the Sony guys are working on it.....

Strange.... SMS seems to work fine with me (have sent multiple already)..... Do you get an error on screen?
[Sony Xperia M2] ReznorNInchNails:
Yes, it is FXP build. Also SMS works fine both on your and FXP build.
[Sony Xperia M2] h4x0rm1k3:
Working on M2 Aqua?

Hi all, just a quick question, has anyone tested this and confirm working on an M2 Aqua? Wouldn't mind trying a pre compiled Lollipop rom before maybe having a go at compiling myself! Thanks in advance
[Sony Xperia M2] Konstantinosj77:
No its not working...next time search before you post
[Sony Xperia M2] :
Can I use 5.0 or 5.1 as a daily rom?
[Sony Xperia M2] Supercharlie25:
Camera doesnt work
[Sony Xperia M2] :
Hah, I really don't need camera.

Have rom lag?
[Sony Xperia M2] mid-kid:
Hello, I've installed this rom on my phone (20150331), but I can't seem to be able to call anyone at all.

Is that a known bug, or do I have to do something to get that working?
[Sony Xperia M2] TrickiePad:
If it is the fxpblog.co builds you're using: they do not seem to have call.

If you make a build yourself following instructions at Sony (http://developer.sonymobile.com/kno...ld-aosp-lollipop-for-unlocked-xperia-devices/), they have call.....

I have made such builds, and almost everything works (all except camera), but the builds are changing often these days, so you'll have to wait if you don't mind....

But try the instructions, you'll see it's not that difficult....
[Sony Xperia M2] mid-kid:
I know it's not very difficult, but if I want to do that, I have to set up the only machine I have that's able to take such stress again, and wait 8 hours for it to compile, nevermind downloading the code in the first place.

If there's a build ready to download for me, great.

Is the cyanogenmod build in this same subforum any better? Could I install it easily on top of my current install?
[Sony Xperia M2] TrickiePad:
On a system with an i5-4670 CPU @ 3.40GHz and 8 GB mem, building AOSP 5.1 takes 1,5 hours....

I have no experience with CM.....
[Sony Xperia M2] AssoDiPicche:
Yeah, i've AMD Phenom II X3 2.60 GHz and 2GB of RAM, to night i have down repo 4.4.4 KitKat, abd today i'm ready for build an AOSP 4.4.4
[Sony Xperia M2] TrickiePad:
warning :) I have made AOSP 4.4.4 (working call, no camera), but once you've had Lollipop, you don't want to go back ;) (it stayed on my phone for 3 hours)

(this is my personal view, so don't take it too serious)
[Sony Xperia M2] mid-kid:
I'm sorry, I can't hear you over the sound of the fan of my 1.6Ghz AMD Athlon Dual core.
[Sony Xperia M2] DeckedSpring67:
So I flashed this through fastboot, All is returning to me is a black screen with infinite bootloop, adb doesn't seem also to work Actually I need to flash android 4.3 to my knowledge, Sorry for the inconvenient
[Sony Xperia M2] quake73:
TrickiePad did a nice compile, i use it for these 2-3 days, seems like the perfect 5.1 rom so far.

i apologize for calling him troll (i apologize publicly again, should i do this on every post?)

with the 3.10 kernel, deep sleep seems fine, many days left on standby, no battery drain

calls work, wifi too...really, for those insisting on having android5 on their 2303 phones, i suggest they try this...except camera, of course

good job, TrickiePad :)
[Sony Xperia M2] :
Sounds good :) Can you send me his rom?
[Sony Xperia M2] TrickiePad:
https://drive.google.com/file/d/0B3Kv6vLpoAA0amszNWhBSThrWTA/view?usp=sharing

Mind there are still some other issues. Bluetooth works but sometimes needs time to get on-line.... Good luck with it....

(You need to be on 4.4.2 or 4.3 before using this AOSP)
[Sony Xperia M2] RatchetHacked:
guys,TrickiePad did the same compilation on a clean AOSP rom, like erikcas did whit the omni one. AOSP sucks tough
[Sony Xperia M2] Lovenish Singh Panwar:
Can i make one for d2302.. I knw kernel tree does not support our device.. But is there any other to have aosp on our device..?? With any other kernel..??
[Sony Xperia M2] RatchetHacked:
again, no lollipop kernels for non LTE brands
[Sony Xperia M2] :
Thank you bro :)

I don't need camera, bluetooth :)

I will send my report when I install it, for 20 mins :D
[Sony Xperia M2] quake73:
send us a screenshot first
[Sony Xperia M2] :
I installed ROM now :) It's great!

Battery is great!

Rom has NO lags, very smooth!

I haven't tested bluetooth...

And, I don't have Google Play Store, I can't find an apk file on internet that works..Can anybody help me?

[IMG="LOVE THIS ROM"]http://i.imgur.com/znMsIQT.png[/IMG]
[Sony Xperia M2] TrickiePad:
for Google apk's: go to http://www.apkmirror.com/apk/google-inc/

and install them with "adb install"
[Sony Xperia M2] :
It says Invalid APK file

Edit: My bad :P Apk installed, and does not work, can't open.
[Sony Xperia M2] TrickiePad:
I've only installed chrome and maps once, and they worked. For play store perhaps you need play services as well?

So: you can always try to install play services first, next play store....

I'll try it myself tomorrow...
[Sony Xperia M2] Supercharlie25:
Justo flash gapps with 4.4.2 recovery and then reflash boot.img. thats all
[Sony Xperia M2] TrickiePad:
OK. installing Google Play with APK's from apkmirror.com doesn't seem to work..... (I'm not using google play so didn't notice it until now).

Perhaps somebody has an explanation? Or use another method like Supercharlie25 suggested...

I also didn't check logs. Perhaps they give a clue?
[Sony Xperia M2] AssoDiPicche:
Flash a kernel with any recovery, flash the GAppS, and reflash the kernel 5.1 stock, reboot, and enjoy :)
[Sony Xperia M2] TrickiePad:
new bootloader

Hello,

I had issues with the latest AOSP builds on my M2 (bootloops when enabling power management), and the solution is to install another bootloader. See http://xdaforums.com/xperia-m2/general/bootloader-devices-real-recovery-t3096833

I'll build and test a new AOSP 5.1 somewhere this week....
[Sony Xperia M2] AssoDiPicche:
Any progress for camera?
[Sony Xperia M2] Dorisnov:
freexperia, there will be updates to cm12.1 and 5.1 with the new bootloader? Im waiting for cm12.1 and Trikie's build [emoji14]
[Sony Xperia M2] TrickiePad:
I made a build yesterday but I see new Sony binaries (may 5th). So tomorrow I'll build with those.

However: regarding the AOSP build I made yesterday: kswapd0 high CPU usage and not that good battery life (compared to the end-of-march builds).... I don't expect those issues to be solved immediately but who knows.....

I still have the end-of-march builds on my phone for daily use....
[Sony Xperia M2] Dorisnov:
Just to be sure, ca I use those build with the new bootloader?

I just flashed the last build from fxp blog (AOSP_L_MR1_150504_eagle.zip) f and the recovery dont works. Screen shows the andro with error logo.
[Sony Xperia M2] TrickiePad:
Yes: the new builds work with the new bootloader...

And I didn't test it that good (was more interested in AOSP itself), but I think the recovery had the same behavior as with the fxpblog one
[Sony Xperia M2] TrickiePad:
I just made a new AOSP build with latest Sony binaries:

https://drive.google.com/file/d/0B3Kv6vLpoAA0QnJ6VnJ6cFNQZWc/view?usp=sharing

new bootloader is required.

(I even installed 18.3.1.C.1.13 with Emma first and next the new bootloader)

With the new bootloader, older AOSP builds also still work: thus going back to 18.3.C.0.40 first before using AOSP seems not necessary anymore...

Issues:

- high CPU usage with kswapd0

- battery life: not that good compared with other AOSP build which I still prefer for daily use

- ???? (not tested very much as build is still hot from just cooking :D )

Have fun with it

Thanks to the Sony XperiaDev team and all contributors!
[Sony Xperia M2] Dorisnov:
Are you having lag with any app like Facebook or chrome? The battery life or the high CPU usage are very common lately. Battery is that bad?
[Sony Xperia M2] :
Lag?
[Sony Xperia M2] TrickiePad:
see the attached screenshot: I installed new AOSP on sunday evening. Monday it went down (part 1 of screen: may 4) and monday evening I reverted to an older AOSP: tuesday = perfect battery life (=part 2: may 5). Today I'm back on a new build (part 3) and it's going down fast again....

lag: not tested yet....
[Sony Xperia M2] freexperia:
you need new loader with recovery

power management is fixed

new builds uploaded

AOSP_L_MR1_150506_device.zip

enjoy

FXP
[Sony Xperia M2] TrickiePad:
I know: before the new bootloader power management didn't work at all: errors in dmesg and battery line going vertical :)

Now those errors are gone, but my point is: power management seemed a lot better with branch BF.2.1. (the one used in march builds)

Nowadays branch BF64.1.2.1 is used.

I also notice other issues like bluetooth pairing not working correctly (see a similar remark on http://xdaforums.com/showpost.php?p=60573638&postcount=912)

But I'm just posting experiences here as I know it's a work in progress. Thanks for your help!!
[Sony Xperia M2] bertles86:
Peeps which of the fxp ROMs is most stable for the M2? Does the camera work?
[Sony Xperia M2] iFlashed:
Just tried the extra kernel and didn't works too. When it boots, appears a vertical white line. Later, the bootlogo disappears and the brightnes becomes down and down very slowly. Now the screen is black... It's very strange

---------- Post added at 12:52 PM ---------- Previous post was at 12:50 PM ----------

I have just restarted the phone. When it starts booting omni, a vertical withe line appears moving very strangerly, and then the screen becomes black...
[Sony Xperia M2] Konstantinosj77:
[MENTION=6270042]freexperia[/MENTION] Will you provide ftf for the new bootloader?
[Sony Xperia M2] marcp39:
I've flashed the "AOSP_L_MR1_150510_eagle" build with JB 4.3 (18.0.C.1.13_Global Generic) as a base for radio, and wifi is refusing to start... Does anyone have the same problem ?
[Sony Xperia M2] TrickiePad:
I'm using my own builds with the new bootloader and 18.3.1.C.1.13 radio (used emma to update these 2: I flashed bootloader AFTER flashing 18.3).

If you want, you can try out a new build I made 2 days ago:

https://drive.google.com/file/d/0B3Kv6vLpoAA0YXhxeVJlNHJpcUk/view?usp=sharing

Issues:

- bluetooth paring seems gone after reboot

- battery lasts only 2 days (while deep sleep is working). The AOSP builds of march (with another kernel branch) lasted for 6+ days

br
[Sony Xperia M2] ZiHero:
Can you tell me in detail how you installed AOSP? I flashed through Emma .13, a new loader, flashed files using fastboot, and stuck on bootloop.
[Sony Xperia M2] TrickiePad:
strange: I did the same (first 18.3.1.C, next new bootloader and finally fastboot system, userdata, boot)

What happens if you use my builds? (try also with flashing cache)

br
[Sony Xperia M2] ZiHero:
Ok, i'll try it now. Thanks. It happens not only with your builds. It happens with EVERY custom rom for my D2303(CM, FXP AOSP, Omni, Crystal-PA, etc)
[Sony Xperia M2] marcp39:
Ok thanks for the info, and by using this build (the official firmware from sony), wifi is working ?
[Sony Xperia M2] TrickiePad:
I have a working Wifi (and sms + call).
[Sony Xperia M2] TrickiePad:
are you sure you're on the new bootloader? Because I had bootloops as well before using the new loader.

Try this one (from march): if that works I would take a look at the bootloader.

https://drive.google.com/file/d/0B3Kv6vLpoAA0amszNWhBSThrWTA/view?usp=sharing

note: with Emma the new bootloader shows as:

Additional information:

Boot: 1274-7024 S1_Boot_MSM8x26_LA1.0_1027
[Sony Xperia M2] ZiHero:
Ok, thanks again. i'll try it.

And im sure, bootloader installed, because i can flash recovery
[Sony Xperia M2] TrickiePad:
Well, I never even tried flashing recovery before, so I don't know if being able to flash recovery means being on the new bootloader....

The only thing I know for sure, is that I could see the change in bootloader version with Emma before and after flashing, so I would suggest checking that as well (just to be sure).

br
[Sony Xperia M2] ZiHero:
Ok, here is emma. I try to flash it again, but if no luck, i don't know what to do. Maybe in new revisions of the phone(i have a rev.7) everything different?
[Sony Xperia M2] TrickiePad:
Your bootloader version ends on 37. The new one ends on 1027 (as I stated before)

read the first post of http://xdaforums.com/xperia-m2/general/bootloader-devices-real-recovery-t3096833

"flash latest software available and on top new loader": this means flash bootloader AFTER latest software

Now I understand your problems:

- older AOSP doesn't work with 18.3.1.C.1.13 or later on your phone (18.3.C.0.40 or older was required)

- newer AOSP doesn't work with old bootloader

so again: use emma to update your phone and next to update the bootloader

---------- Post added at 02:22 PM ---------- Previous post was at 01:53 PM ----------

little more explanation on my experiences with AOSP and Sony firmwares on a Xperia M2

- before the new bootloader (which must be flashed seperately), AOSP didn't work with recent Sony firmwares: therefore you had to downgrade to 18.3.C.0.40 or earlier

- suddenly, recent AOSP's also didn't work anymore: a new bootloader was required

- with that new bootloader, it seems both the older and recent AOSP's now work with the latest Sony firmware installed

note: I still use the march AOSP for it has far better battery life
[Sony Xperia M2] marcp39:
Do you think it'll work if I flash only the new radio (without the rest of the Sony ROM) ?
[Sony Xperia M2] ZlyDzik:
Is this ROM fully functional? I mean does the camera work?