yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] munchy_cool:
[MENTION=2623456]GalaxyUser[/MENTION] - I have been reading this thread since day 1 but not posted for obvious reasons.

However was doing some google and came across this as a possible in call audio fix.

http://xdaforums.com/showpost.php?p=51401274&postcount=15

Not running Sense as the N5 is my DD so couldn't check if it works or not.
[Nexus 5 Android Development] iTzGavin96:
It will not work with clockwork mod. You need to install multi rom twrp and set it as your secondary rom then go through the aroma installer, and at the end don't reboot from aroma, but hit the power button, quit installer, and reboot from twrp. If you don't get the htc splash screen after 10 seconds, you've done something wrong

Ps you will need a compatible kernel like elemental or Franco kernel set into your primary rom for this to boot as secondary. At least this is how I got mine working
[Nexus 5 Android Development] wolfu11:
That MOD is from sun_dream he has ported a lot of sense roms
[Nexus 5 Android Development] Vicpdx18:
do you think it would work though?

I am not on this rom right now so cant test but it would be cool if that fixed in-call audio

also does Bluetooth audio work? or is it the speaker and Bluetooth audio?
[Nexus 5 Android Development] raymond4:
Not true isn't Phil recovery based on clockworkmod? I used it to flash the sense rom.
[Nexus 5 Android Development] Vekhez:
You are correct, I used the same thing to flash it on mine. Going to try and use it as my primary rom as it's got everything I need to function, everything else is an added bonus (aside from Sound).
[Nexus 5 Android Development] iTzGavin96:
I was just repeating what someone else and my own experiences taught me, I remember one of the devs or someone told me clockwork would not work. I just remember in did basically the same thing with cwm minus dualboot ans never got past the google splash.
[Nexus 5 Android Development] wolfu11:
It might if the build prop is rewritten I'll look at it tomorrow but have a feeling there will be a lot of trial and error.

At the present time there is no audio at all.
[Nexus 5 Android Development] sorceforge:
I am thinking of ways to applying sun_dream's in-call audio fix, but, without adequate modifying, I am so sure that it would just get the phone into boot loop.

나의 Nexus 5 의 Tapatalk에서 보냄
[Nexus 5 Android Development] Williamsss:
Step by step this is coming together. Its amazing that Sense will even boot on a non HTC device let alone have most of its functionality. Only things keeping me from using this for more than testing is the Sounds and the sensors (including GPS).

Get those working and I might be able to use this for a day of testing.
[Nexus 5 Android Development] armyboy11b:
False ...boots fine using cwm
[Nexus 5 Android Development] xVermicide:
no offense but no one asked you to test, and it's stated in the OP that this is for devs only and testers are NOT NEEDED.

this is nowhere near daily driver ready and it isn't even meant for end-users to flash on their phones. please don't try to worry the devs with what you think needs to be fixed asap. if you read through the posts you'll see that mods have to cleanup this thread on a basis because people like you don't read that this is not even meant for regular users to flash.

Sent from my Nexus 5
[Nexus 5 Android Development] xXminiWHOOPERxX:
Just throwing this out there. But try libimu.so from your AOSP to see if it fixes sensors..But sensors must be working correctly in kernel before that lib will seal the fix.... Was broken on my HTC Butterfly S Rom till we replaced that file
[Nexus 5 Android Development] GalaxyUser:
Thanks but don't have this lib in Nexus 5 AOSP.

Today i will try to fix NFC and WiFi Hotspot. I know it's the most important but i would like to see if it can be fixed of my hands.

And for sound in call fix i will try when sound will be fixed

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Nexus 5 Android Development] DryaT:
This is just awesome, thank you.
[Nexus 5 Android Development] supremerick:
Which download link is the one with the fixed ril?,

never mind, got it
[Nexus 5 Android Development] sGollSv:
TV should be kept. Even though we can't remote a TV we do still have a TV guide.
[Nexus 5 Android Development] yashade2001:
doesnt boot at all.
[Nexus 5 Android Development] zai89:
Thanks genius.
[Nexus 5 Android Development] AndroidAndroid88:
I remember that my sensors didn't work on my HTC Sensation in CM until I replaced the libimu.so file with one from stock
[Nexus 5 Android Development] jamal2367:
NFC Files on the ROM

system/lib

libnfc.so

libnfc_jni.so

libnfc_nci_jni.so

libnfc_ndef.so

libnfc-nci.so

system/lib/hw

nfc.qcom.so

system/framework

com.android.nfc_extras.jar

system/etc/permissions

android.hardware.nfc.xml

android.hardware.nfc.hce.xml

system/etc

libnfc-brcm-20791b05.conf

libnfc-brcm.conf

nfcee_access.xml

nfcscc_access.xml

system/app

Nfc.apk

NfceeService.apk

NfcNci.apk

All NFC Files what im Found on the Sense 6.0 ROM
[Nexus 5 Android Development] Vekhez:
Is there anything missing (or that's not) in AOSP on the Nexus 5?
[Nexus 5 Android Development] yooouuri:
Compare youself :)
[Nexus 5 Android Development] jamal2367:
The most files are not on avaible on Nexus 5 stock rom
[Nexus 5 Android Development] Vekhez:
The one's in bold I couldn't find on PA4.0 B4 Hammerhead.

Files that I could find are in the RAR below.

RAR: http://d-h.st/pWm
[Nexus 5 Android Development] jamal2367:
Yes right most files are not avaible on Nexus 5 ......
[Nexus 5 Android Development] supremerick:
NCI is for unlocking your phone with NFC.

The nexus does not support this feature by default.

correct me if i'm wrong.

MIUI V6 does have them, i believe
[Nexus 5 Android Development] yashade2001:
Umm. I wiped all the things but its still same, stuck at bootanimation. Re flashed it many times..
[Nexus 5 Android Development] Vekhez:
Use ClockworkMod, erase system, cache, data and dalvik, flash the ROM, then reboot, boot it, flash patch, then reboot, boot, flash supersu, reboot.
[Nexus 5 Android Development] yashade2001:
Thanks man! I am using twrp so im gonna flash cwm now.
[Nexus 5 Android Development] jamal2367:
i have replaced all NFC files from Stock Rom to Sense Rom NFC FC :(

I have replaced the NfcNci.apk with that from Sense same error :( ...

i think i dont touch the NFC Files on the Sense rom this caused the FC's
[Nexus 5 Android Development] Vekhez:
Yeah, I did the same thing, ended out with the same result.

Maybe it'll involve something a bit more indepth. ugh.

At the rate that things are going in this thread NFC should be fixed in a day or two, sound soon following :D

[MENTION=2623456]GalaxyUser[/MENTION] any ideas with NFC, maybe it'll involve the same thing that the WiFi fix did.
[Nexus 5 Android Development] DubelBoom:
MIUI has all files related to NFC mentioned before, except for the apks. I don't have time to try it :(
[Nexus 5 Android Development] Tung_meister:
Really looking forward to trying this out once sound is working. You've made some great progress so far keep it up!
[Nexus 5 Android Development] DryaT:
ART bootloops the phone, it should be in ''bugs''. And vídeos like the ones in Gallery and in Youtube doesn't work too. The rom is amazing and it has a good performance and battery life, congralutations.

Enviado desde mi HTC One_M8 mediante Tapatalk
[Nexus 5 Android Development] -DarkKnight-:
Art should be the least of our worries right now

However video playback is a legit issue, but it might be fixed when we fix the audio
[Nexus 5 Android Development] jsgraphicart:
Videos will play if you open them with MX PLayer. Which probably means there are some video codecs missing somewhere that MX PLayer has. Just my guess.
[Nexus 5 Android Development] l.m.prowse:
The ROM is deodexed, art only works on odexed I believe
[Nexus 5 Android Development] -DarkKnight-:
It will work with MXplayer's software decoding.

That means hardware decoding doesn't work
[Nexus 5 Android Development] jsgraphicart:
Good call. I didnt notice the HW/SW decoding settings.
[Nexus 5 Android Development] dirtbikerr450:
we are on the xda Portal

http://www.xda-developers.com/andro...tmctr=(not provided)&__utmv=-&__utmk=93014170
[Nexus 5 Android Development] modyt:
Featured on XDA portal!
[Nexus 5 Android Development] VyktorJonas:
I hope it brings more devs interested on helping
[Nexus 5 Android Development] Jawwad.John:
what about same port on nexus 4..i dont think it might be a problem after successful port on nexus 5 ? :/
[Nexus 5 Android Development] deadman96385:
Strange looks like it is not compatible with mulitrom, going to look into it.
[Nexus 5 Android Development] sorceforge:
According to GalaxyUser;
[Nexus 5 Android Development] mrfeuss:
If you look back a few pages I recall someone posting instructions on how to successfully flash this with the Multi-ROM TWRP.
[Nexus 5 Android Development] jsgraphicart:
I'm running it with MultiROM
[Nexus 5 Android Development] sorceforge:
There are a few people who successfully installed the rom with MultiRom as the secondary rom. According to them, choosing the 'Do not share the kernel' before installing is the key to success. Of course, an adequate kernel which supports kexec function is a must.

However, for me, it was really hard to install it into secondary rom, so I installed Sense rom as the first rom, and did the same thing for SlimKat rom as the secondary. Therefore, I installed both rom with one shared ElementalX kernel, and I could both enjoy Sense 6 rom and use the AOSP rom when needed for a few days. :D

The point is, it seems that there are more than one way to do it. So, if we choose one way out of many ways, install them in that way, then both roms would both work. :D

Oops, oh, I forgot you have been the maintaining the Liquid rom. :eek: Good to see you in here :D
[Nexus 5 Android Development] sykomaniac:
Where's my mention ?
[Nexus 5 Android Development] jamal2367:
And my ???
[Nexus 5 Android Development] sykomaniac:
Haha nevermind
[Nexus 5 Android Development] KingUsman:
Someone please port sense 6 to the moto g
[Nexus 5 Android Development] vwgti18:
This is sick! Thanks for the port cant wait for this to be 100% stable! Keep up the good work. :good:
[Nexus 5 Android Development] rtimoff:
And Nokia X please!!!

Отправлено с моего Nexus 5 через Tapatalk
[Nexus 5 Android Development] luisangel89:
That won't happen any time soon. The developers are trying to get this port working for the nexus 5. In sure that's the last thing on their minds right now.
[Nexus 5 Android Development] jamal2367:
Please stop For asking a port for another phone ...
[Nexus 5 Android Development] Tyrany:
People please don't clutter the topic, create on your device General Forum a thread with a link to this rom and ask people over there, i'm not trying to be a jackass but Galaxyuser and others modders have hands full of work here
[Nexus 5 Android Development] GtrCraft:
Brace yourselves, the off topic posts are coming... Oh wait they are already here
[Nexus 5 Android Development] Cuzz1369:
OK, can you port this to my Toshiba microwave? PLEASE!!!
[Nexus 5 Android Development] jamal2367:
Hahahahahahahahahahaha
[Nexus 5 Android Development] VyktorJonas:
I jinxed us :crying: #BanVyktorJonas
[Nexus 5 Android Development] toocool4all:
Just a matter of time when HTC will asked developers to stop this project as it's violating law of copyright

Sent from my Nexus 5 using CHAOS kernel and SENSONIC ROM . Thank God I mean audio god.
[Nexus 5 Android Development] jaronstrypsteen:
Is the Toshiba Fridge good too?

---------- Post added at 08:41 PM ---------- Previous post was at 08:40 PM ----------

They never stopped a development before (not that I know of)
[Nexus 5 Android Development] jamal2367:
Back 2 Topic Please :D
[Nexus 5 Android Development] pikachukaki:
Thanks for the great port....i love sense roms...we are waiting for a more stable version...thanks again!!!Keep up the great work
[Nexus 5 Android Development] GalaxyUser:
Hi,

I got good news: now speakers are detected by the phone. But still not sound.

The problem is in this code:

int size = native_get_min_buff_size(sampleRateInHz, channelCount, audioFormat);
if ((size == -1) || (size == 0)) {
loge("getMinBufferSize(): error querying hardware");
return AudioTrack.ERROR;
}
else {
return size;
}

Here is logcat:

As you can see this func return -1, and so player cannot play sound.

If anyone can help me, it can be amesome.
[Nexus 5 Android Development] CJD14:
Looks like you got your wish! Awesome! Keep up the great work. Can't wait.
[Nexus 5 Android Development] DumF0rGaming:
Anyone tried to use this with MultiROM?
[Nexus 5 Android Development] KingBeike:
Works..search the thread for how to
[Nexus 5 Android Development] arc_u:
[MENTION=2623456]GalaxyUser[/MENTION] the code is located in which file?

red n5
[Nexus 5 Android Development] ILA:
So as far as I can see, everything there is OK with that. Must be the native_get_min_buff_size(..) function that's screwed up...

Better paste that part of the code here (pastebin) :)
[Nexus 5 Android Development] izi501:
I'm currently looking for the implementation of that method to see what could return -1 or 0... I think the problem is about channelCount, given the fact that the M8 has some sound modifications.

Envoyé depuis mon LG Marteau avec Tapatalk
[Nexus 5 Android Development] jsgraphicart:
I found something in this thread. :)

http://xdaforums.com/showthread.php?t=2694917
[Nexus 5 Android Development] VyktorJonas:
it's not a module though, it's a full ROM, I'm going to look into what it offers and see if they can be used on our Sense 6, nice find :highfive:
[Nexus 5 Android Development] jsgraphicart:
Post #1760

http://xdaforums.com/showpost.php?p=51693437&postcount=1760
[Nexus 5 Android Development] henrylife:
Is there a way I can help?
[Nexus 5 Android Development] francescobabbaro:
This ROM is simply amazing! Thanks for your porting, but I have a problem. I have installed this ROM with multirom, and it worked, then I uninstalled it by mistake. I reinstalled it with multirom, but Google logo doesn't disappear, I have a bootloop on Google logo, shortly. Can anyone help me? Thanks again.

Sorry for my bad English.

Sending from my Nexus 5 using Tapatalk.
[Nexus 5 Android Development] jsgraphicart:
Try downloading the ROM again. I think MultiROM does something to the zip that messes up a second installation.
[Nexus 5 Android Development] LeJolly:
And YOU GOT TO PORTAL CALLED IT WOOT WOOT (sorry for caps, or rather sorry I'm not sorry :P)

---------- Post added at 10:55 PM ---------- Previous post was at 10:52 PM ----------

Well it's there :P
[Nexus 5 Android Development] iTzGavin96:
what did you do to get it to boot from cwm? i tried everything (this was before the second build was up when i tried this though, i switched to twrp anyway)
[Nexus 5 Android Development] VyktorJonas:
it's working :good::good::good::good::good:

DL Link for Sense 6 Toolbox Module for XPOSED here

Thank here

install normally as any APK

some of them you'll need a softreboot for it to start working
[Nexus 5 Android Development] jsgraphicart:
And don't update in Xposed Framework. I think it will update to the Sense 5 Toolbox.
[Nexus 5 Android Development] toocool4all:
Can anyone upload superuser.zip please

Sent from my Nexus 5 using CHAOS kernel and SENSONIC ROM . Thank God I mean audio god.
[Nexus 5 Android Development] jsgraphicart:
I can link you to it.

http://xdaforums.com/showthread.php?t=1538053
[Nexus 5 Android Development] nexus9988:
What happens when you remove "(size==-1)"

from

if ((size == -1) || (size == 0)) {

bypassing that condition from that error?

or finding out where getMinBufferSize() function is

Edit: I'm a java programmer/php programmer but don't have my own dev platform of this setup to tinker with the code.
[Nexus 5 Android Development] sykomaniac:
What makes you think it's that's code as the error message isn't in the log you posted
[Nexus 5 Android Development] kronflux:
http://www.xda-developers.com/android/htc-sense-6-ported-to-the-nexus-5/

nice!
[Nexus 5 Android Development] armyboy11b:
All I did was flash it lol I've don't nothing special for it to boot man worked fine with cwm for me
[Nexus 5 Android Development] Linch89:
Multirom is great but flash it the old fashioned way if you want it to install properly
[Nexus 5 Android Development] wolfu11:
Google It

Just a thought

This thread is for Devs and porters working on a huge project .

Please read through all the posts before repeating the same questions the thread is getting cluttered with non dev questions
[Nexus 5 Android Development] Aaahh:
I'm going to assume that the backups/zips are hand made and I can't get the sources... am i right?
[Nexus 5 Android Development] Shaky156:
Have been keeping an eye on this, do people on here not have the ability to read?! This is a development only thread as stated in the title! not a support thread! Nor a troubleshooting thread! Create a thread for those in the correct area and leave this for development! Thank you :)
[Nexus 5 Android Development] trh1341:
Sense is not open source if that's your question? So its mainly smali edits..:(
[Nexus 5 Android Development] raynan:
I had to set it as my primary,back it up, and restore it as a secondary from backup
[Nexus 5 Android Development] Aaahh:
Does anyone keep track of the edits? I want to work on this...
[Nexus 5 Android Development] trh1341:
It would be easier to just download the current and go from there
[Nexus 5 Android Development] diveoz:
Thanks to Galaxyuser and others Devs for your efforts!!! This ROM rocks even in it's infant stage!

After a few years with Vanilla Android I've been itching to have a Sense or Touchwiz device...something different. So I also want to thank you guys for saving me the cost of a new phone! :D
[Nexus 5 Android Development] Shaky156:
Thread created for general questions/issues regarding this ROM etc

http://xdaforums.com/showthread.php?t=2719205

Note: leave this thread for developers only as itll speed up development

Edit: method to reduce non-dev talk = report posts
[Nexus 5 Android Development] jsgraphicart:
General discussion thread created. Lets let the devs do their work.

http://xdaforums.com/google-nexus-5/general/nexsense-rom-discussion-t2719207/post51934059
[Nexus 5 Android Development] orihuri:
I wanted to write the same thing. I almost bought an htc one m8 but now I'm sure that ill wait for the next nexus ?
[Nexus 5 Android Development] raymond4:
This thread needs to be closed cause obviously people keep posting things that isn't helping the dev at all. If you need support then make a support thread or talk somewhere else. People learn to read seriously if you don't know how to get it up and running don't attempt its an alpha port for God sakes.
[Nexus 5 Android Development] jsgraphicart:
It also doesnt help that multiple people keep posting this exact same thing. But Like I posted above...General discussion thread created.

http://xdaforums.com/google-nexus-5/general/nexsense-rom-discussion-t2719207/post51934059

And I guess someone else had the same idea
[Nexus 5 Android Development] raymond4:
I didn't see your post until now but good that you made a thread.
[Nexus 5 Android Development] Cuzz1369:
This will be much needed. Now that it was on the portal its blowing up my g+ feed. Nearly every android related page is reporting and linking this thread. Good and bad all at the same time
[Nexus 5 Android Development] vin4yak:
Afaik, the sensor files are all libs, right?? So doesn't it mean restoring the previous libs would fix the sensors?

Btw, efs is just the modem... It doesn't have any sensor files... I do remember reading a thread where the OP needed some sensor files... I jst can't get hold of that thread in QnA...

-Flowed from an IceCold Hammerhead!
[Nexus 5 Android Development] Dark-Black-71:
I got proximity sensor and light sensor back online with the 2 minute power down button holding metod.

Sent from my Nexus 5
[Nexus 5 Android Development] Daiskei:
What did you do exactly?
[Nexus 5 Android Development] Dark-Black-71:
Phone was on and I pressed the power button and i kept holding it for 2 minutes and then I powered the phone back up.

Sent from my Nexus 5
[Nexus 5 Android Development] kufikugel:
Na. Efs partition holds the base information about mac adress wifi bluetooth imei of your phone

The modem is another partition. There are manufactures who have linked some processing from sensors into the drivers/chips

Good for you. All other should try it as well again. Whatever alone that you needed to do this is not a good sign and speaks for it that the sensors got into a state out of the usual working state chip wise which can lead in a complete breakage.

---------- Post added at 06:36 AM ---------- Previous post was at 06:32 AM ----------

About the libs question flashing a ROM or restore stock via fastboot restores all libs and overwrite the broken one. That's why you can say that the hardware got into trouble if the stock firmware is not able anymore to utilize it correct.
[Nexus 5 Android Development] Daiskei:
Not seeming to work for me, even tried longer than two minutes.
[Nexus 5 Android Development] David_Vaz:
Not work, the installation kills the two sensors.
[Nexus 5 Android Development] GalaxyUser:
Hey sorry for sensor. I don't know why this happened. I removed the download link.

But as i said it's only for devs..

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Nexus 5 Android Development] tadgerloks:
Have you guys tried flashing any other kernels on top? Leaving the phone off for a while, or simulating a battery pull? Some gs4 users that "killed" their Prox. Sensors, revived it by restoring, rebooting, and then flashing a flashlight directly at the prox. Those are some options. I'd still very much like a flashable zip of this ROM as soon as RIL fix is implemented and sound fixed :P dev you warned everyone so you shouldn't feel bad and you shouldn't be blamed :)

---------- Post added at 06:23 AM ---------- Previous post was at 06:12 AM ----------

Note 3 users have reported applying pressure to the top bezel of phone where sensors are located and earpiece. As well as using pressurized air in the ear piece. Just my 2 cents :P doesn't hurt to try , I know they're different manufacturers and phones, but the problems for them occurred after a software update , so still "software" that "killed" the sensors.

A small workaround for phone call with prox is to turn on "end call with power button" in settings>accessibility.
[Nexus 5 Android Development] GalaxyUser:
My prox was already broken before flashing my Sense 6.0. So i did not know that it will break prox :/ Hope you fix that.

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Nexus 5 Android Development] vin4yak:
You will need to go fully stock, reset the flash counter, flash stock recovery and lock the bootloader...

Everything in detail has been posted here:

http://xdaforums.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701

Good Luck!
[Nexus 5 Android Development] GalaxyUser:
I will send my phone to RMA then i will flash zip of ROM not backup. And if sensors are not broken i will release it. Else i give up

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Nexus 5 Android Development] sendhiloo7:
I believe some hidden partitions wrongly formatted.. Did you checked /firmware ?