yashsingh1/xdaforums huggingface dataset:
[Xperia SP Android Development] MetalOllie:
I don't know what people are doing wrong, but the audio fix works perfectly for me. I made a call yesterday (yes, I know.. I don't talk to many people!), and the clarity was fine.. The other party was able to hear me perfectly, no echoing or unwanted noise. Video camera works a treat, with audio at just the right level. I'd say it's all on a par with stock, with xLoud switched off.
[Xperia SP Android Development] spicx212:
Exactly the same i flashed through recovery, and ppl cant here me anymore :/
[Xperia SP Android Development] MrSteve555:
You are just saying - it's not working. End of the story. You aren't giving the needed info - clean flash or dirty flash?. Could you give a logcat, etc, etc?
[Xperia SP Android Development] neXus PRIME:
[MENTION=2805706]MK99[/MENTION]

It could be the reason if you clean flashed or dirty flashed.

I think old builds had multiple files in

/system/etc/snd_soc_msm

The latest patch requires that only one file, as available in patch, should be there. Maybe the remaining files are clashing with this one.

Try deleting this folder, and then install the patch. Hopefully it will work fine,
[Xperia SP Android Development] MK99:
I'm just a beginner here, so this is hard'm learning. But my phone works fine now.

I do always dirty flash, if I change to another rom. So now done it. ;) Only one file on that folder.

I think the new patch has typo or somethink. Please check line 4505. There was 'DEC4 Volume':1:0. If I delete line or change it to e.g 1:80, all working fine again. Of cource volume is now bigger/better... ;)
[Xperia SP Android Development] Raz9:
I clean flashed but the problem is still there.

I made a factory reset and format /system in CWM then I installed the new build plus Gapps and after that I installed the patch.

Only 1 file exists in /system/etc/snd_soc_msm.

In call I can't hear anybody and they can't hear me too.
[Xperia SP Android Development] dghostpt:
I've installed the rom, the fix and then gapps. On a call I hear the others but they can't hear me.

Enviado do meu Xperia SP através de Tapatalk
[Xperia SP Android Development] neXus PRIME:
[MENTION=5579865]MrSteve555[/MENTION]

Problem solved... I think from now on, dirty flash is dangerous when we update system tree. Conflicting Files cause these issues.

[MENTION=2805706]MK99[/MENTION]

Please help this guy as he has same problem as you had early.

[MENTION=4477222]Raz9[/MENTION], Use Philz recovery. CWM is not good.
[Xperia SP Android Development] MrSteve555:
deleted
[Xperia SP Android Development] neXus PRIME:
Steve the issue is fixed. This file is the same from latest git tree. I had already told MK99 to use your ota patch and his problem is solved now.
[Xperia SP Android Development] dghostpt:
It is working fine now.

Thanks!
[Xperia SP Android Development] MrSteve555:
Wait, I'm confused. He said he edited the OTA Patch file to get it working. So my patch is somewhat broken for some people. Idk if I understood it correctly, though.
[Xperia SP Android Development] Fat_boy555:
Does this apply for PA?
[Xperia SP Android Development] MrSteve555:
What file worked fine for you? I'm really confused now and I need an answer :p
[Xperia SP Android Development] dghostpt:
I have used the file from the post that you removed a moments ago... From mega.

Check it on post #279
[Xperia SP Android Development] spicx212:
Si at the end is there a fix for calls ? The patch doesnt work for me, clean install

I am not complaining, just asking kindly
[Xperia SP Android Development] MK99:
Yes, that removed fix works.

In my opinion, all these mic-patches works somehow strange. When you take a video, the front microphone is really sensitive, I can even hear my breath in the video.

(Take a video and Click for your fingers on the front and then behind to the phone)
[Xperia SP Android Development] neXus PRIME:
@ ALL

The OTA patch was FINE. IT WAS GOOD. ALL OTAs were good.

BUT it needed FULL WIPE. or at least deleting the folder from /system/etc/snd...

THen that OTA works OK.

[MENTION=5579865]MrSteve555[/MENTION]

I am doing one thing in Build # 10,

I will add a script to erase System/etc, bin and lib folders. Every time. I dont think anything except /system/app,framework needs to be preserved. We can wipe the rest. So users can install builds without wipe and stay safe.
[Xperia SP Android Development] ak.akshay:
In Call Volume Fix :D

Flash the attach file via zip or copy it manually
[MENTION=2988582]NexusPrime[/MENTION] sorry for posting :P
[Xperia SP Android Development] neXus PRIME:
Ok, locking this thread as its purpose is over now. You got a fresh CM build.

DL Link for latest Build.

http://d-h.st/K8H

Audio patch IF YOU NEED it. Otherwise leave it alone:

https://mega.co.nz/#!vQp1BCha!kvuw31Bx5r03qf_b3U8vMZ64qU9doBQc4f6vsK6nH48
[Xperia SP Android Development] chikrron:
[MENTION=4350492]neXus PRIME[/MENTION] dont worry bro you are very smart to fix the bugs in next updates :) thanks for support for LB users :D
[Xperia SP Android Development] peters.:
Have u seen this commit? http://review.cyanogenmod.org/#/c/65009/

This was the reason for non working radio on fxp320 and up.
[Xperia SP Android Development] neXus PRIME:
Yes i have seen this. It probably explains why my aokp 4.4.2 and cm 4.4.3 have similar bugs. I have to study selinux for android before diving into this. Thanks.
[Xperia SP Android Development] dionisis1976:
Love your feedback to that, LMAO, perfect answer :). Will flash by CWM and see what happens :)

Many thanks NEXUS x
[Xperia SP Android Development] Revontheus:
Guys if this is for Locked Bootloader...does the ROM have it's own kernel or does it use the .201 or the .205 Kernel?

thanks alot
[Xperia SP Android Development] neXus PRIME:
201/205. if you already have that... no need to do anything.

Way i see it is simple.

1. Keep a philz/cwm/twrp system backup handy.

2. you have 201/205 kernel so NEVER need to touch it.

3. Flash this, test n enjoy.

4. If get bored with bugs n logs n testing, reboot to recovery and restore your backup and continue your phone.
[Xperia SP Android Development] neXus PRIME:
[MENTION=5579865]MrSteve555[/MENTION]

I have updated SEpolicy and releasetools with latest cm trees. You also have a look at my commit to see if i left any typo or bug. Building with it now.

Bagyusz trees under "bagyusz" branch, and my modified in master.

https://github.com/neXusPRIME/android_device_sony_huashan

And as you mentioned sometime ago, if this is successful, we will continue patching official tree changes into ours for optimization.
[Xperia SP Android Development] MrSteve555:
[MENTION=4350492]neXus PRIME[/MENTION]

For a first glance, everything looks OK. One thing I noticed is that you removed Glove Mode switch from settings, and you didn't remove it from init.qcom.sh, so now we have it half-working. It shouldn't cause any issues other than oversensitive touch on some occassions.

And also what bothers me:

TARGET_KERNEL_SOURCE := kernel/sony/huashan in BoardConfig

There is no such thing in CM sources or in your git, the only thing what appears is 8960t. Ofc we don't need a kernel to be built, but it just looks unclean.

Other than that sepolicies you added look fine, I haven't found any typo or anything, so I think next build will be working fine in every aspect.
[Xperia SP Android Development] neXus PRIME:
i like you observation skills. Don't worry about the kernel sources. i have cloned it locally to "huashan" instead of 8960t.

And CM Settings has been updating which causes conflicts with bagyusz old patch. So i will fix it later.

I am uploading the build # 2 for you and others. Please test it with all recoveries and if you notice any change, let me know.

Will post link as soon as its done.
[Xperia SP Android Development] neXus PRIME:
Build # 2:

http://d-h.st/rCA

Please test n report....
[Xperia SP Android Development] Logen91:
Phone works?
[Xperia SP Android Development] neXus PRIME:
I can't test right now, going out... I want a volunteer
[Xperia SP Android Development] Logen91:
I can check it in a hour. ;)
[Xperia SP Android Development] MrSteve555:
[MENTION=4350492]neXus PRIME[/MENTION]

Tested it, baseband still unknown and bluetooth also not turning on.
[Xperia SP Android Development] Logen91:
Yes, After nandroid backup restore, there is no baseband. How can I solve this? Do I have to do a full reinstall from 4.1?
[Xperia SP Android Development] MrSteve555:
[MENTION=4350492]neXus PRIME[/MENTION]

Fixed.
[Xperia SP Android Development] Emma22288:
hoow ??

Tapatalk-kal küldve az én C5303-el
[Xperia SP Android Development] MrSteve555:
Swapped ramdisks(I used ramdisk from previous version in new version).

Fixed build: https://mega.co.nz/#!WApk0QaL!oIsNBseh-7bhbrEp9fMXFUtSGGw6TNpPdSvtZEq1ICc

Also [MENTION=4350492]neXus PRIME[/MENTION]

I don't know how, but the ramdisk in the newest version contains files from SlimROM ramdisk. The source doesn't indicate this, so I don't really know what happened in the compilation process.
[Xperia SP Android Development] Logen91:
I don't have baseband with the fixed update. :(
[Xperia SP Android Development] Emma22288:
THanks. Its working :D
[Xperia SP Android Development] Logen91:
How did you install?
[Xperia SP Android Development] MrSteve555:
Flash it with CWM or TWRP, don't use Philz because it could cause baseband loss.
[Xperia SP Android Development] leorobby92:
[MENTION=5579865]MrSteve555[/MENTION]

I need flash the file (C5303_12.1.A.1.205_FW.ftf) and install this file too (205.zip) for this rom?? :rolleyes:
[Xperia SP Android Development] air001:
Absolutely no!
[Xperia SP Android Development] MrSteve555:
I'd recommend you to do so, but if you don't want to do it, just don't do it and stay on .201 kernel.
[Xperia SP Android Development] leorobby92:
Ok, thanks!! I will try with this kernel!
[Xperia SP Android Development] MK99:
I can confirm this. This rom works! :laugh:
[Xperia SP Android Development] spicx212:
So now this rom is fully usable? :D

+ the. 205 zip needs to be flashed through recovery?
[Xperia SP Android Development] Jermin94:
I have one problem : there is no home access in settings. It's normal ?
[Xperia SP Android Development] Logen91:
Okay, it works. Thanks a lot! :highfive:
[Xperia SP Android Development] neXus PRIME:
Lol. probably due to fact that i am not cleaning after previous builds properly. I used slim trees for aokp and leftovers must be in cm11 build. Damn it.

I dont have time to download fixed build, can you please only share a patch. With the correct files.

EDIT:

ALSO, would you be so kind as to test whether the fix works for my 1st build as well or not.

Very important.
[Xperia SP Android Development] MrSteve555:
Here you are:

https://mega.co.nz/#!TEIS0JZa!vyFKPF1yDJCiN7Ck2_H_GX6FTZi6A5JIwWvqwMjeuQE

Just push it to /system/bin and everything will work fine.
[Xperia SP Android Development] neXus PRIME:
OHO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

DAMN !!!!!!!!!!!!!!!!!!!!!!!!!!!

SUCH

A

BASIC

MISTAKE

...

Thanks anyway. Do people need anything more or shall i go on to PA.
[Xperia SP Android Development] MrSteve555:
When I tried fixing it and it worked, I thought: "Damn, that was easy" :) I couldn't believe my eyes so I wiped and reflashed two times :P

Anyway, I think you should try to port PA, because as for now everyone is satisfied with CM, so there is now no need to update it often.
[Xperia SP Android Development] neXus PRIME:
Nevermind. My brain is dead today.

You copied stuff from bagyusz rootdir and pasted in hijack.tar....

Good job man. SELINUX changes were unnecessary so i think i will revert that.
[Xperia SP Android Development] MrSteve555:
I extracted it from the last bagyusz build. His ramdisk sources are in android_device_sony_huashan_rootdir, not in hijack-ramdisk-huashan.

EDIT: Okay, I answered it after you edited and I didn't noticed you edited the post... If that makes sense :P
[Xperia SP Android Development] Soulblinded:
So now this rom is fully stable and usable? With no bugs ? Same as 4.4.2?
[Xperia SP Android Development] :
Nope, Nope and nope.

I really havent used it more than 10 minutes. I will give a proper clean working build hopefully tomorrow. That build will stay on for a week or so and then we can maybe call it useable. For now, i wont give such statement to be safe.
[Xperia SP Android Development] neXus PRIME:
Someone who has tested the fixed version please give me a working non-working list so i can add to OP.
[Xperia SP Android Development] leorobby92:
Hi friend, thanks for the awesome ROM!! Great job..

I have many hours whit this ROM, and so far I have no problems, GSM - 3G works fine, Bluetooh works, touch, sensors, apps works fine!! If I find a bug, I tell you!!

:good: :p

Sorry for muy bad english!! :silly:

PD: I not replaced the file, I used the ROM complete by MrSteve555! :D
[Xperia SP Android Development] MrSteve555:
List of non working or working things:

Working:

Bluetooth

GPS

WiFi

NFC

Both cameras

All sensors

LTE/3G/2G

Audio

Video

Not working:

FM Radio

And it seems like strictmode is turned on permamently (red frame around the screen in chrome, especially when refreshing).
[Xperia SP Android Development] Logen91:
There is a problem with a game. Castle clash.

It starts succesfilly, but if I start a battle it stops.

Can anyone test and repair it in the rom?

With 4.4.2 there was not any problem.

Tapatalk-kal küldve az én C5303-el
[Xperia SP Android Development] neXus PRIME:
Thanks. I am going to post the working non working given above.

I will fix FM and strict mode... must be some prop entry. (although i think you will find it before me. I could hire you ;);))
[Xperia SP Android Development] neXus PRIME:
OP updated with new instructions and clean up. Fresh build coming tonight.
[Xperia SP Android Development] air001:
Don't forget to upload the kernels too!
[Xperia SP Android Development] MrSteve555:
[MENTION=4350492]neXus PRIME[/MENTION]

I found out you compiled cm as eng - this is probably the reason for strictmode being on all the time. I think compiling it as userdebug should fix the issue. And also FM radio should be fixed with cleaning the SlimROM leftovers, but I'm not exactly sure.
[Xperia SP Android Development] neXus PRIME:
Yes, i started the build last night with userdebug. thanks for mentioning.

And yep, i hope its fixed coz this time i deleted out folder and re-synced whole repo. I think the ramdisk is good to go for PA/AOKP as well.

Tonight will post CM and tomorrow start PA.
[Xperia SP Android Development] chetan_p:
Can you please try to compile using linaro toolchain 4.9.1.It gives huge speed improvementd

Thanks
[Xperia SP Android Development] Revontheus:
Hmm So basically the rom is in "Alpha" stage where it is bootable but for from being the ROM you can use daily right?

Great work guys, thanks for the love for LB hahaha
[Xperia SP Android Development] neXus PRIME:
I don't see what could improve for locked bootloader if we are stuck on stock kernel.

someone convince me otherwise. because it would mean re download source and remove ccache of 20 gb.
[Xperia SP Android Development] neXus PRIME:
Not alpha anymore. I have updated thread.
[Xperia SP Android Development] chetan_p:
Then maybe you can can try doing it for pa

Mahdi and vanir compiled from linaro are really fast and smooth compared to ub cm11

Thanks
[Xperia SP Android Development] neXus PRIME:
lol...you guys are over using me[emoji12][emoji12]

only Cm and PA. nothing else for now.
[Xperia SP Android Development] chetan_p:
You misunderstood me. I said that vanir and mahdi which are already here in orig dev section which are already compiled from linaro are faster
[Xperia SP Android Development] MK99:
Just to make sure. Is the first page V2-link correctly, it opens the hijack.tar file?
[Xperia SP Android Development] Oblox:
Great work Nexus, ill try out the next build as I eagerly await PA!

Does the rear mic work for recordings in this version does anyone know? I didnt realise it wasnt working in Bagyusz version till i tried a video over the weekend.
[Xperia SP Android Development] neXus PRIME:
Sorry, correct link below:

https://mega.co.nz/#!WApk0QaL!oIsNBseh-7bhbrEp9fMXFUtSGGw6TNpPdSvtZEq1ICc

Thanks for pointing out.

UPDATED OP as well.
[Xperia SP Android Development] Valaran:
Thanks for link update :)
[Xperia SP Android Development] dionisis1976:
Tested out the GPS on my cycle to work this morning and worked very well, wifi also works well.

:)
[Xperia SP Android Development] dja2002:
+1

I want to know it too
[Xperia SP Android Development] neXus PRIME:
working is same as in bagyusz cm11 4.4.2. if it worked there, it should work here as well
[Xperia SP Android Development] igor_anta:
I flashed the rom as I would any CM11 update, wipe system, dalvik and cache then flash the rom so I didn't lose any data.

So far so good, everything seems to work without a hitch. Thank for the work [MENTION=4350492]neXus PRIME[/MENTION] I'm pretty sure everyone here is grateful that you stepped in to continue development of the rom while [MENTION=5765508]bagyusz[/MENTION] sorts out his hardware issues. Keep up the good work, thanks.
[Xperia SP Android Development] Oblox:
Ok so not working as far as anyone knows. Will test myself when I clean flash the next version.
[Xperia SP Android Development] spicx212:
So no factory reset as mentioned in the Op?

Beacuse im coming from slimkat, if i could Keep my data that'd be great
[Xperia SP Android Development] igor_anta:
I came from the previous LBL CM11 build, so I can't guarantee about Slimkat, though it's possible it could work. You can always backup and try though :)
[Xperia SP Android Development] neXus PRIME:
OP Install Instructions:

4. Wipe factory reset (dont argue why full reset, and why wipe AFTER installing zip)

I know sometimes things work without wipe, but i am not here to help if anything goes wrong DUE TO NOT WIPING. So to be safe,always wipe. But as a general rule, wipe not needed.

EDIT:

When you keep data of old rom, there are some data relating to Settings.apk which causes conflicts....

thats y i say wipewhole data.
[Xperia SP Android Development] spicx212:
I will wipe!

Thx for ur work bro. Will you update slimkat? (idk if its similar build to cm, i dont know anything about dev :p).
[Xperia SP Android Development] issawillwin:
Can't wait to test a bugfree build of this with 205 kernel! Keep up the good work !!

Envoyé de mon C5303 en utilisant Tapatalk
[Xperia SP Android Development] neXus PRIME:
Someone please make a 205 kernel only FTF and post link here. I will add to OP.

BTW: new build uploading on dev host right now. Hopefully more stable than before.
[Xperia SP Android Development] MrSteve555:
[MENTION=4350492]neXus PRIME[/MENTION]

Here's a link for kernel only FTF: https://mega.co.nz/#!zJohFDzb!bgo6C1MjtiBdVQZXkjl-r-n9wQAkTAsRzo0K5ynERWk
[Xperia SP Android Development] Logen91:
Could you see the problem that I mentioned?

Tapatalk-kal küldve az én C5303-el
[Xperia SP Android Development] neXus PRIME:
Build # 3 which i am uploading now has updated ramdisk, fixed system and build props, and correct sepolicies. check on this again and let me know result,
[Xperia SP Android Development] vwadam:
Hello

Thanks for this rom i have 2 problems,

1. Antutu is 17-18k

2. Games are lagg, Low fps
[Xperia SP Android Development] MrSteve555:
1. Antutu is 23k for me

2. Games work better on CM than on stock for me.

So idk what causes issues for you, maybe you didn't wipe data or sth.

I think you should wait for build #3 which will be clean and this could fix your issues.
[Xperia SP Android Development] MK99:
This is best antutu-numbers never for me with CM. (Now on V2)
[Xperia SP Android Development] vwadam:
Idők...i will try Full l reinstall....
[Xperia SP Android Development] chikrron:
Its stable now?
[Xperia SP Android Development] neXus PRIME:
V3

- CM source update

- fixed and updated ramdisk

- Sepolicies restored to original

- Userdebug build instead of eng

http://d-h.st/EUK
[Xperia SP Android Development] Treboeth:
Do we need to Factory reset or can we dirty flash the updates?

And thankyou
[Xperia SP Android Development] neXus PRIME:
total wipe

every partition format. its a clean rebuild.
[Xperia SP Android Development] Logen91:
If I restore a cem backup, do I have to full wipe before the restore?

Tapatalk-kal küldve az én C5303-el
[Xperia SP Android Development] neXus PRIME:
why restore. use clean rom
[Xperia SP Android Development] Logen91:
I want zo try V3, but it is not good for me because of the game, i have to restore. the backup.

Tapatalk-kal küldve az én C5303-el
[Xperia SP Android Development] MrSteve555:
[MENTION=4350492]neXus PRIME[/MENTION]

Now there are no strictmode issues. The only thing that doesn't work is radio. I think it's connected to "add lionheart governor"(it's not only adding governor, there's also some files related to sound) commit by bagyusz.
[Xperia SP Android Development] neXus PRIME:
Good to know about strict mode. FM radio will be fixed in the final build coming on weekend. And any other loose ends will also be tied up.

So people, keep the bug reports coming.

Secondly,

bagyusz tried fixing rear mic with lionheart

"add lionheart governor

- rear microphone try fix(MOD: Not work :( )

"

Not related to FM radio.
[Xperia SP Android Development] MK99:
Flashing by Philz: not recognize sim.

by CWM sim works.
[Xperia SP Android Development] MrSteve555:
That commit fixed some audio issues and before that I'm sure radio worked fine. In Spirit FM it catches signal but it doesn't output it to the speakers or headphones, so maybe it's connected.
[Xperia SP Android Development] neXus PRIME:
Even if its related, the commit you mentioned isin my source tree as well. So it should work.

However, bagyusz left out some FM radio stuff which i have added.

https://github.com/neXusPRIME/andro...mmit/40d5226e3abd6d2cf61ed76cb33bae0b1e87f2c9

But the problem is , there is no tree for FM radio in cm11 manifest. The latest branch of radio is for cm10.2 which i will try to use.

It should work.

Anyhow, good news for you all,

CM team has added two new apps as mentioned below:

1. manifest: Add PhotoPhase repo …

2. Add CMHome application.

Hopefully, with the build for FM fix, those two apps will also be there.
[Xperia SP Android Development] Oblox:
Just installed V3 all running fine so far. Great work Nexus!
[Xperia SP Android Development] neXus PRIME:
Then a couple of clicks on thanks wud be a nice treat for me. Just shows ur appreciation.:p
[Xperia SP Android Development] Oblox:
I always forget that button :p

Thanks, how goes PA?
[Xperia SP Android Development] neXus PRIME:
let me fix FM then we will do it
[Xperia SP Android Development] MrSteve555:
Okay, I was wrong. I remember radio was working in CM10.2, but I didn't properly check CM11. I thought that commit caused FM issues, but your post explained everything.

Anyway, the new build is really great after few hours of testing. If you add some optimizations and fix FM radio, this will be the best ROM till date.
[Xperia SP Android Development] neXus PRIME:
[MENTION=5579865]MrSteve555[/MENTION]

I have checked and all ramdisk stuff and init script of FM is already present in current build.

Just download below apk and push to system/app and permission as other apks. 0644.

Reboot and check if FM works or not and tell me ASAP.

EDIT: Wait, i am uploading.
[Xperia SP Android Development] MrSteve555:
[MENTION=4350492]neXus PRIME[/MENTION]

I've updated android_device_sony_huashan and android_vendor_sony repos to 12.1.A.1.205

Here's a link to my repo with updated android_vendor_sony:

https://github.com/Ultrax5/android_vendor_sony.

For android_device_sony_huashan I"ve just opened a pull request.
[Xperia SP Android Development] Oblox:
Great work you two.
[Xperia SP Android Development] neXus PRIME:
thanks. I'm going to redirect vendor tree to your account. don't mess it up or delete it.

I'm not forking coz I think you should maintain it.
[Xperia SP Android Development] issawillwin:
Nice work guys! Do your #4 build will be on OTA with cmupdater?

Envoyé de mon C5303 en utilisant Tapatalk