yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] gavinfernandes2012:
I'll try doing it today, or if I can't then tomorrow, no guarantees cause I have a biology exam tomorrow but I'll try.

One problem though, I need someone to upload binary blobs for me, my phone doesn't turn on, any working xperia m with any cm or stock rom should work.

Won't be able to test though, i'll need someone willing to risk their phone for a test, mine doesn't turn on any more.

BTW if anyone else wants to try, the cm wiki has awesome resources to get you building
[Sony Xperia M] :
If you tell me exactly what to look for in the phone and how to copy it, I'll do it. But right now I have absolutely no idea what are you talking about :(

I know nothing about programming and even less about Android (that's why I can't imagine building it myself).
[Sony Xperia M] gavinfernandes2012:
Yeah it's okay, I'm just setting up everything so I can build it for you guys, I'll tell you the commands very soon and walk you through everything, but for now gimme a sec.

And don't worry I myself am only half sure I'm speaking sense.

Okay about 10 minutes and half will be set up, the other half might take a long time.

Okay some delays and school homework, I'll leave all the files to download overnight, I'll be able to start building by tomorrow.

The source code is downloading, should be done in 8 hours by tomorrow, then I'll leave it to compile and leave for school
[Sony Xperia M] gavinfernandes2012:
Anyone here with a working xperia m and a Linux machine, willing to run a script and send me a few files, please reply to this or pm me.

[MENTION=7449255]WalrusInAnus[/MENTION] Do you use linux?
[Sony Xperia M] :
Nope, I am Windows user.
[Sony Xperia M] gavinfernandes2012:
Okay yeah thanks for replying, when any Linux user contacts me I'll be able to make a complete build. Until then we wait.

Edit: I have an idea, I might not need anyone's help.

Sitrep: I found the problem that kept me from building, I'm fixing it now.
[Sony Xperia M] adi2500:
If any blobs work, try to fetch the correct from themuppets on github. Those are used for official cm Build. I would Upload those by myself, but my Upload sucks and i have Internet Problems atm.
[Sony Xperia M] Bonoboo:
If someone gonna build CM11, please, made these changes in code:

1. In BoardConfig.mk add line

BOARD_CHARGER_SHOW_PERCENTAGE := true

This will show current battery level during offline-charging.

2. Implement this commit

It will fix bug with Screen Peek feature (turn on screen by focus button).
[Sony Xperia M] gavinfernandes2012:
Okay yeah thanks.
[Sony Xperia M] gavinfernandes2012:
Okay thanks soo much, didn't see your post at first, I'll check out what you said now.
[Sony Xperia M] Bonoboo:
2 All

PecanCM released CM14.1 (Android 7.1 Nougat)

Also there is AOSP 7.1
[Sony Xperia M] gavinfernandes2012:
I've been getting error cannot resolve github.com errors on repo sync for the past week or so, it came up when I added TheMuppets xml for their blobs repo, any idea what I might be doing wrong. Trying to build this ROM.
[Sony Xperia M] :
Any luck yet?
[Sony Xperia M] gavinfernandes2012:
None sorry, plus I have exams so work might be slow, one last idea left to try but I'll only be able to try later because exams.
[Sony Xperia M] :
Any news yet?
[Sony Xperia M] Agu_Ra:
Stop asking for ETA or we'll need to report it as it is against XDA rules. If there is a progress, you'll see it here.
[Sony Xperia M] :
You don't need to do anything. Stop policing the forums, it's ridiculous and pathetic. Don't you have better things to do than threatening and bothering others?
[Sony Xperia M] Agu_Ra:
Lol, is it really me who bothers others? It's people who put a pressure on developers and enthusiasts by always asking for "new release", "this bug fix", "any news". That is annoying and irritating, and utterly useless. That's not just about one of the most famous rules of XDA (asking for ETA). It's about respect and forum etiquette. User above have already told you that he has exams, so he doesn't have spare time. I'm sure he'll post here as soon as he'll be able to build CM11. Or won't post if he is not. Either way, he is not ought to. So stop bothering him by asking. At the end of the day, you could try building it yourself (if you have sufficient hardware and enough drive storage on PC), it's not that hard given that there are all sources available.
[Sony Xperia M] gavinfernandes2012:
Okay okay guys chill, sorry for no news for soo long, problem is my xperia m is dead, and I can't find any way to get the proprietary blobs(some essential files) for it, if anyone is willing to send me or upload them somewhere and has a Linux pc, I stand a chance of getting this working, until then don't put too much hope on my feeble attempts.

PS If I can't get this fixed by May/June, I won't be able to work until July cause I have my board exams. I'll try getting it working again now and search for solutions, anyone guidance will be much appreciated.

One sec [MENTION=5917809]cucumber09[/MENTION] I had this idea, probably stupid but, the blobs considered part of the kernel right, so what if I was to replace the kernel with a custom one like Hana kernel or Nui?
[Sony Xperia M] gavinfernandes2012:
ohhhh my God I was fiddling around with some of the build scripts and managed to extract the blobs from the CM11 Last Nightly Zip file.

Everything is building now, there is hope, I might get a build by tomorrow(It takes hours to build)(GMT+8)

Build error, I'll fix it tomorrow cause I have to sleep(parents).
[Sony Xperia M] Agu_Ra:
Hi [MENTION=7099722]gavinfernandes2012[/MENTION], why do you ever need to extract vendor blobs when they are available on TheMuppets Sony vendor repo. Moreover, you don't need to pull them manually as they are already listed in cm.dependencies file and will be pulled automatically during lunch or breakfast. You need to pull blobs only when building device tree from scratch or when there is new official firmware, and even then it is good idea to push them to the git repository as very often you need to replace stock ROM blobs with the newer ones from the other devices to support newer Android versions without shims. In our case, all this is already done by Ron. So you should normally download sources, apply patches [MENTION=5037002]Bonoboo[/MENTION] talked about and just start a build and wait for a while.
[Sony Xperia M] gavinfernandes2012:
Wait are you sure, cause last time I tried building without extracting blobs it threw some error(i can't remember what).
[Sony Xperia M] rpdroky:
Unfortunatly i'm a little busy with i9300 atm , but as soon as i'm done i could try to make a build for you guyz ;)

Cheers :highfive:
[Sony Xperia M] :
That would be awesome.

I decided I've had enough of CM13, its flat design and general slowness (on M at least) and would like to go back.
[Sony Xperia M] gavinfernandes2012:
Okay thanks for this Bonoboo,

To everyone here, I managed to make one build, I'm trying to implement the second change above in the quote, and then I'll rebuild and post. Any thoughts about what I should use to post?, Google Drive? 4shared?

Okay I started a build with the first change, couldn't wrap my small head around the second but I'll keep trying, if my build finishes without errors before 2400 (in 1 hours), I'll upload it to google drive and share it with a link here.
[Sony Xperia M] rpdroky:
Well i guess there is no need for my build then :)

Cheers :highfive:
[Sony Xperia M] gavinfernandes2012:
Don't say that soo soon, I might have unknowingly done something stupid cause I'm not exactly very experienced. Plus no guarantee what I built will work.
[Sony Xperia M] rpdroky:
If everything is synced propedly then you have nothing to worry about :)
[Sony Xperia M] gavinfernandes2012:
And if my build environment is set up, what do you suggest though? Where should I upload the zip?
[Sony Xperia M] rpdroky:
Anywhere is ok as long people can acces it :)
[Sony Xperia M] gavinfernandes2012:
Done uploading, here's the link, no guarantees everything works and I can't test, someone test it on a secondary phone or backup their xperia.

https://drive.google.com/open?id=0B1GNwloT8DTsd05UaGQ3TjhvbFU

Reply here after flashing.

Check the checksums before flashing guys.
[Sony Xperia M] gavinfernandes2012:
Ohh yeah [MENTION=6155853]rpdroky[/MENTION]

You're way more experienced than me that's why I'm asking, can you guide me through the second change Boonoboo mentioned below?

I'll try understanding both the files again but I'll probably need help.
[Sony Xperia M] Garv Maggu:
[MENTION=7099722]gavinfernandes2012[/MENTION]

1. Go to device/sony/nicki, open BoardConfig.mk and add the following line :- BOARD_CHARGER_SHOW_PERCENTAGE := true

2. Go to kernel/sony/msm8x27, then go to arch/arm/mach-msm and open board-8930.c, in this file, change .wakeup = 0, to .wakeup = 1, in the camera focus section.
[Sony Xperia M] gavinfernandes2012:
ohh okay that's it??

I already did that, doesn't our xperia m use 8960 not 8930 though??
[Sony Xperia M] Garv Maggu:
Yeah, then change in both, it won't make any difference. :)
[Sony Xperia M] gavinfernandes2012:
But I couldn't find the corresponding structure in our 8960s file.

I checked our boards(8960s) file, our boards gpiomux file, camera file, and I found nothing significantly similar.
[Sony Xperia M] Garv Maggu:
Then it's okay, don't edit the 8960 file.

By the way, did you tried building? Did this thing cause any error, if no, then you are good to go. :)
[Sony Xperia M] gavinfernandes2012:
Yeah I built it thanks for the help, no errors.
[Sony Xperia M] Garv Maggu:
My pleasure. :)
[Sony Xperia M] rpdroky:
You already got yre answer , sorry for being late btw ( i'm way to busy at work in holydays )
[Sony Xperia M] :
I flashed the image and it seems to work, however I have a different problem. For reasons unknown to me, flashing CM also overwrote TWRP with CM recovery. I reflashed TWRP, but now the stupid phone is stuck booting into TWRP no matter what I do.

What's wrong? Help!

---------- Post added at 14:39 ---------- Previous post was at 14:20 ----------

Also a first problem: right after first boot, clicking "set up Google account" doesn't work at all.
[Sony Xperia M] gavinfernandes2012:
Regarding the first problem, did TWRP work with the Cyanogenmod kitkat zip in OP's first post in this thread?

And regarding the second, you flashed gapps right?,

Btw did you do a clean flash?(don't think it's necessary but just asking to rule out causes)
[Sony Xperia M] :
I don't know. I just flashed your rom right away. The other phone runs CM13 and that works fine.

It got messed up regardless of gapss.

And to be honest I have no idea what clean flash means. I absolutely don't understand anything regarding phones, and all of the Android-related stuff is like klingon language to me. I just kind of learned how to boot into recovery and then insert some weird ass text into command line for adb.exe.

When I flash new rom I just kind of randomly select everything in the wipe stuff screen.

---------- Post added at 16:01 ---------- Previous post was at 15:47 ----------

So what I did was:

1) boot into TWRP (I installed that through fastboot just like I supposedly should not do it according to a post in TWRP's thread)

2) wipe everything I could

3) ADB sideload your rom

4) reboot

CM started, I selected language, connected to wifi, clicked on "set up Google account", and.... nothing. It produced a click sound but nothing happened.

Something is wrong with the rom I believe.

If I skip that step, there's no way to add Google account afterwards. It's just not in the account settings at all.
[Sony Xperia M] gavinfernandes2012:
ohhhh okay no wonder, chill I'll guide you through this one second I'm typing.

Search for open gapps on the Web, select the one that looks right,

Then select kitkat (android 4.4 or anything similar)

Then select arm

Then select nano

Then click the download button

,

Now in TWRP, clear all the data, cache, everything,

Go to the adb sideload option on TWRP, (you'll find it if it's your first time)

Sideload my rom with your pc,

Then go to the option in TWRP again and sideload the gapps zip that you dowbloaded( It gives you Google play services)

Then just reboot and you should be fine

BTW for now I don't think TWRP works on our kitkat roms, I'll try fixing that but for now, you can install NUI kernel for our device(has an app on the play store), That has a built in TWRP

Tell me how things went when you're done
[Sony Xperia M] gavinfernandes2012:
Still not done??:p

BTW I won't be able to build anything now cause I'm going where there's no Internet, and after that I'll have pre boards and boards till May/June.
[Sony Xperia M] :
But that's exactly the same thing I did.

It's still impossible to setup Google account at all. I tried with and without gapps and it makes no difference. I believe something must be wrong with the rom. I have to point out I installed it without a SIM if that's important.
[Sony Xperia M] gavinfernandes2012:
No it must be something on my end, try using the rom in the first post with gapps if you want, tell me how it goes, though I might not be online for long.
[Sony Xperia M] :
After installing gapps, it works. So unfortunately it probably is something in your rom :(

---------- Post added at 20:48 ---------- Previous post was at 20:07 ----------

Ok another installation and this time it works (no idea what the problem was).

BUT I ran into an old problem: gapps crashing. Specifically, after logging into my Google account, I got greeted by repeated "Unfortunately Google Play Services has stopped working". This is the whole reason why I eventually installed CM13, because I couldn't make this error go away. I hoped it would be solved by CM11 built from much newer sources, but apparently not. This sucks really badly :(

But... I can't be the only one to have this problem. Unfortunately even after googling left and right I couldn't find any answers and no solutions from any source.
[Sony Xperia M] gavinfernandes2012:
Another installation as in installation of my rom???

Okay as for the problems now I'm curious why they're coming up, I'll try looking at this and hopefully I'll be able to get one build when I go back home from India.
[Sony Xperia M] Kurajmo:
How battery life is in this custom?

Is stable?

I ask because i need something stable with good battery life for old Xperia M Single sim
[Sony Xperia M] gavinfernandes2012:
Its best if you use marshmallow or nougat cause the audio is better, they're more secure, plus the battery life is better. Stability wise I can't remember (I don't use my Xperia any more).
[Sony Xperia M] Kurajmo:
I just need stable Rom with good battery life.

Thats all. I dont need newest android version.
[Sony Xperia M] gavinfernandes2012:
Yeah nougat and marshmallow have better battery than kitat on this phone.
[Sony Xperia M] olibub:
where i can download fxp? "link not work"
[Sony Xperia M] Kurajmo:
Ok thanks for answer. I try those roms.
[Sony Xperia M] rpdroky:
I made a cm11 build based on lineage repo for nicki , feel free to grab it from here , also i included these 2 commits mentioned here :)

[MENTION=4343949]PecanCM[/MENTION] , whould you be kind to add this commit to the cm-11.0 branch to because without it the kernel won't compile and other users won't be able to build this rom properly

Cheers:highfive:
[Sony Xperia M] e-bert:
Hi. Thanks for your work. Does your new build correct music playing issues for our device? I can't find a single custom ROM for nicki that can play music flawlessly, any player.
[Sony Xperia M] rpdroky:
This build was a request and because i don't own the device i cant give you more info about what works and what doesn't :(
[Sony Xperia M] :
Installed, and generally it seems to work, but.... there's no camera. I mean, none at all. I wanted to add the shortcut to the quickbar but it's just not anywhere. Did I miss something?
[Sony Xperia M] :
And another bug: torch doesn't work.
[Sony Xperia M] rpdroky:
Well this is one of the reasons why i don't like to build roms for devices i don't own , i will remove the build so there won't be any more missunderstandings :)

Cheers:highfive:
[Sony Xperia M] :
Hm, ok :( Thanks anyway.

I hope someone who owns the phone might eventually make a build.

edit: what a shame - the horrible bug where you get constant flow of "Unfortunately, Google Play services stopped working" error messages is fixed with this build.
[Sony Xperia M] extremetek:
How did you make it? Just trying to make a build.
[Sony Xperia M] rpdroky:
Same way you build all cm , just use the lineage branch "repo init -u https://github.com/LineageOS/android.git -b cm-11.0"
[Sony Xperia M] extremetek:
I tried, I built it, but it seems to use the old prebuilt boot image, which causes the phone to stuck at Sony logo.

Can you PM me your build that you deleted so I can merge my build with yours?
[Sony Xperia M] rpdroky:
lineage-11-20170227-RPDROKY-nicki.zip Online

This is my last atemp to build this ROM ( without the device i can't do more ) , i triple checked the repos before building it and yes i included both commits mentioned here

Cheers :highfive:
[Sony Xperia M] :
Unfortunately, the Google play services crashing bug is back, and camera, despite being back, is crashing as well.

I think I'll just throw this damn phone away and look for one where CM11 works without problems :(
[Sony Xperia M] extremetek:
Camera and Torch still doesn't work though :(

I think it's time to move to lollipop

Nothing is wrong with Google Play on my device though
[Sony Xperia M] :
The Google play services crashing must be related to gapps somehow. I am using the pico version. I know I didn't have that problem ages ago before I was forced to switch to CM13. No idea what the real cause is, but you can google quite a lot of complains about that.

Anyway, torch works for me, and so does camera, BUT camera gets random crashes and so do themes.

Finding a phone similar to Xperia M will be tricky (especially since I want something similarly cheap).
[Sony Xperia M] freakzapster:
THANK YOU VERY MUCH SIR FOR PERMISSION

Sent From My Xperia M
[Sony Xperia M] Bonoboo:
Does navbar landscape issue and visual glitches was fixed in Alpha 2?

Also about missing torch app and tile: here's some example commits that must bring it back.

Many thanks to all Devs that don't forget this device!
[Sony Xperia M] szkandiszkandi:
I'd like to say thank you for this job, it's really great !

I'm using this ROM for couple of days and everything works very well but can be the speaker louder ? When I call to somebody I almost don't hear anything even the settings is on maximum level.

Thanks!
[Sony Xperia M] sidrock622:
Almost perfect

but several games gets force close why??

its working perfect in nexus 7

plant vs zombies 2 angry birds go which i downloaded from play store getting FC

i heard its due to some drm certificate stuff

plz help anyone
[Sony Xperia M] villacelt:
installed and working fine, great work
[Sony Xperia M] Bonoboo:
Compilation of _device-related_ bugs in CM11

Don't forget that development of CM11 stopped.

Better upgrade to CM13 where less amount bugs and for other reasons

Thanks to all users for responses!

Thanks to PecanCM, CyanogenMod and FXP Team for this awesome ROM!
[Sony Xperia M] TheDj408:
Superb.. Congrats for the post on xda page :good: great room by the way :D
[Sony Xperia M] ckrishnakanthc:
[MENTION=5037002]Bonoboo[/MENTION] Wifi tile works perfect, I use it atleast 5 times a day.. Also, the USB tethering works perfect.

WiFi Direct not working, tested by sending files through Superbeam, Works only when the two devices are on the same network, the default WiFi Direct method doesnt work..

Also, i face FC's upon entering ART mode. Installed complete GApps.. This didn't happen on Alpha 1. No idea why.. Flashed multiple times, same result.

Also,there seems to be the deep sleep bug rom Alpha 1. Phone Soft Reboots when used after a very long time.

Keypad in the In-Call menu doesn't show the buttons, but takes values when you press in the approximate locations.

DSP manager's sound modification settings were pretty awful [MENTION=4343949]PecanCM[/MENTION] The sound in your LG-P350 ROM was pretty awesome. (Still using... :p )

There is no USB Mass Transfer mode that was found in 4.1 Stock.

Is it possible to add.. I know its too much to ask..

-Knock2Wake feature (LG-G2) I'm worried about the life of the power button..

-Burst Mode / (Port Z1 Camera?)

-Integrate the optimised Dalvik & Bionic libs?

-Battery life improvements?

-Overclock/Undervolt?

-Smallapps integration?
[Sony Xperia M] RF-XDA:
Reports:

-FM Radio works, tested with spirit2 fm, stock 4.2 fm radio app give me force close

-Offline charging work
[Sony Xperia M] Bonoboo:
On other forum one user says, that:

Offline charging works, but:

– If to try power on connected phone it again falls into offline charging mode

– If to try enter recovery while charger connected phone freezes

– No indication of battery level by LED
[Sony Xperia M] sukha961:
Plz tell to how I can unlock bootloader & relock this....
[Sony Xperia M] luqman98:
Please, Google for it.

1. Love doesn't need any reason.

2. Wanna speed up 3G (not 4G LTE)?

Here it is:

http://xdaforums.com/showthread.php?t=2586876
[Sony Xperia M] yogesh448:
Gravity BOX and many others modules still does not works.. Why?

Sometimes system crashes automatically

Device automatically gets switched off... After reinstalling the battery it works fine.
[Sony Xperia M] hobbypunk90:
Hey everybody

Have a problem, my GSM didn't work :(

My xperia says unknown baseband, can anybody upload my a backup of his working baseband? A flashable zip would be great :)

Greets,

Marcel
[Sony Xperia M] Sala1988:
[MENTION=4343949]PecanCM[/MENTION] use this to add torch tile:

https://github.com/czechop/android_...mmit/0a8513d47455dedce316b817d68b3fe5bd6db215
[Sony Xperia M] kiratheone:
yes, me too

problem not solved for this from alpha 1 until now

some one can explain this why?
[Sony Xperia M] gadgetroid:
ART is but only an experimental feature. Google do not recommend it for everyday use. Mass Storage mode in KitKat AOSP (KOT49H) is a unified storage. Since CM11 is more or less AOSP KitKat without many modifications to the core source, it is probable that Cyanogen haven't worked out the unified storage issue. You can use the USB Mass Storage switcher from Play Store. I haven't personally tried this, but it should work.

Gravity Box is a compilation of mods found in CyanogenMod, Paranoid Android and other AOSP based ROMs. It is possible that the mods you have enabled in Gravity Box coincide and conflict with the mods that are already present in CyanogenMod by default. Gravity Box is for AOSP vanilla ROMs only.

Another thing could be that you are using the Gravity Box for Jelly Bean instead of the Gravity Box that is specific for KitKat. Many of the Jelly Bean modules don't work well with KitKat. Request the developer for KitKat compatibility if you find the Xposed module doesn't work correctly on KitKat.
[Sony Xperia M] Bonoboo:
Find probably fix for low in-call volume.

Maybe in one file just set incorrect values.

In this thread (also one more) it's all about /system/etc/snd_soc_msm/snd_soc_msm file.

This file and a bunch of other persist in stock rom, but missing in CM11.

CM11 have only snd_soc_msm_Sitar there.

Ok, compared it with same stock file: a lot of differences.

CM left, stock right: http://diffchecker.com/dkshlxk9

So to post attached modified flashable ZIP I found on XDA that replaces snd_soc_msm_Sitar with stock.

Will be nice if someone test it, I haven't device. Also attached ZIP to revert.

UPD: yes, volume going normal, but microphone complete disabled. So, problem really in this file.

Files removed because they was only for test and not useful, more harmful.

PecanCM already fixed this bug.

Sorry for my English.
[Sony Xperia M] coolboyforeva:
When i used this rom, my wifi connection dropped several times. It showed connected on the notifiction area but there was not data transfer taking place. I had to disconnect wifi and reconnect it again...and after few min. Same issue occoured....

Anyone has an idea why was wifi dropping again nd again.. ??