yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] sykomaniac:
Woot just sound left. I've been looking at this as many others have. From my research and I could be wrong but I think the issue lies with

Audio_policy.default.so in system lib hw

This is still the HTC lib when you replace it with the aosp lib things break

Also the error message about can't get speaker for strategy sonification comes from this lib (when you hex edit it you can see its in there)
[Nexus 5 Android Development] wolfu11:
. delete
[Nexus 5 Android Development] trh1341:
Does your fix get camera working? If not, care to try the m7 app?
[Nexus 5 Android Development] wolfu11:
No it doesn't fix the camera unfortunatly
[Nexus 5 Android Development] Vekhez:
Wouldn't it be better to base off of though, because it doesn't have the duo camera stuff.
[Nexus 5 Android Development] wolfu11:
Sensor fixed

Okay I tried this 5 different times and it has worked I've only done it from a clean install though so not sure if that matters.

All you need to do to fix the sensors is delete sensor_def_qcomdev.conf from the system/ect folder.

I've done it through root explorer with success as well as deleting it from the rom zip itself and did a clean install.

Anyone want to give it a try?
[Nexus 5 Android Development] trh1341:
Downloading as file explorer right now. Gimme one second
[Nexus 5 Android Development] tehsu:
Any ideas on fixing this for CDMA support? I've tried to mess with build.prop and compare it to the build.prop posted from the M8 Sprint version, no luck.
[Nexus 5 Android Development] Vekhez:
You are correct it would seem.

EDIT: nope. Thought because auto brightness worked it did...but I need to read more. Auto brightness works by default.
[Nexus 5 Android Development] trh1341:
Okay just did it using a file explorer, and the outcome... it didnt work it seems
[Nexus 5 Android Development] wolfu11:
I used root explorer and restarted the phone for it to take affect.
[Nexus 5 Android Development] tehsu:
I deleted the sensor_def_qcomdev.conf file, didn't work.
[Nexus 5 Android Development] trh1341:
Did not work for me but may have been because i need a fresh install but im to tired to do that for now, it has already been confirmed so ill talk your word for it:)

Edit: just kidding what else did you do?
[Nexus 5 Android Development] nomaj:
yup!... tried all... IMEI seems to be ok... As i see there is hardware problem =(

(tried 2minute power, restored EFS, bootloader, stock)

Only sensor that works is sound...
[Nexus 5 Android Development] memnoc:
try what I just posted mate, you got nothing to loose, RMA is your only way otherwise, but I don't think there's something fried here, of course is your choice:good:
[Nexus 5 Android Development] nomaj:
is there diference? i already restored stock on ...
[Nexus 5 Android Development] memnoc:
actually yes..fastboot is more powerful than any recovery, and wipe, format, and erase are three different things in linux..so yes, it worth trying..for example, some 32 GB devices show as they're a 16GB ones, which is obviously a fault, and despite any wipe or flash or format you can do, the only way to get rid of that is erasing the partitions, which it actually cleans more than anything, hence is the cleanest operation a device can perform. If that fails, it's most likely hardware.

P.S. as I said, there's no need to erase all your partitions, I'd say that system, data and cache is enough, then you can boot into recovery and flash any rom you want

PPS: DO NOT wipe your current booting rom, as I can't remeber if erasing data will wipe all the content of your internal SD memory
[Nexus 5 Android Development] Prezlamen:
thanks for suggestion!

erased system and flashed it. no result
[Nexus 5 Android Development] memnoc:
maybe you can try all of partitions? so sorry about that :( try again mate, may The Force be with you!:good:
[Nexus 5 Android Development] GalaxyUser:
Ok so everyone. I'm so sorry that this rom has broken your sensors. My sensors was not working before flashing Sense 6.0 rom (i thought it was a hardware issue).

So, i called RMA and i will send my phone to them. When i receive the new phone, i will flash a flashable zip (not this sh** backup) and i will try the rom.

If the rom does not break sensors i will release it (+ RIL almost fixed (not data) but can receive sms).

Again i'm really sorry for that !
[Nexus 5 Android Development] jabza:
Don't do that. Or, if you do, don't restore his EFS. If you flash an EFS that isn't from a backup you made on your own phone, you'll break your phone. Each EFS is unique, and there's no way to get a new one.

If you flash someone else's EFS, you really will have to RMA your phone.

Sent from my Nexus 5
[Nexus 5 Android Development] cile381:
Is it a problem for all sensors except for the sound sensor? Install sensor box from market and check....the sensors problem has nothing with the EFS partition !
[Nexus 5 Android Development] memnoc:
Agreed, they are beyond any action I know. So sorry for every dead Nexus, OP one included. Coming from an old dev like me, when you fry a device porting stuff, you really are a true modder, bad part is money of course, but ten points to the brave op and flashers. **** happens, just hope Google or providers will replace the phone without charging anything ;)

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Android Development] GalaxyUser:
Hey Paradoxxx :) I was in nexus s section while you was in S2, i was i Sense4All project ;)

THanks you your help will be really appreciated

Hey man, thanks but till fix sensor is not fixed (i will receive my new N5 in the next week) i will not release any rom :)
[Nexus 5 Android Development] Paradoxxx:
Yeah I remember your name too, hook me up with a PM with current build if you want, i'll take a look really quick to check out that sensor issue. ;)

Didnt had time to check i before the links got removed. :p
[Nexus 5 Android Development] Paradoxxx:
Attached.
[Nexus 5 Android Development] mrfeuss:
For people with all the sensors broken:

Since this was only posted about 2 minutes ago, I'll assume this fix hasn't been discussed in this thread, yet.

This is not my work-just sharing what I saw elsewhere that may be helpful.
[Nexus 5 Android Development] grim489:
Worked for me thank you very much! will give thanks to you and the other dude, just want to confirm. I even went through factory image flashing and this is what worked.
[Nexus 5 Android Development] usaff22:
Everyone with broken sensors, after trying mrfeuss's attempt above, can you go into /data/misc/sensors/debug and report what is in the log? It may help us find out what is wrong with the borked phones.

-----

Edit: his attempt seems to be working. Great work [MENTION=5021517]mrfeuss[/MENTION] and [MENTION=823251]cile381[/MENTION] !
[Nexus 5 Android Development] David_Vaz:
Worked!

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 Android Development] usaff22:
[MENTION=2623456]GalaxyUser[/MENTION]

Can you try and see if this method fixes your sensors too? You might not need to RMA your device.

Edit: what's interesting is that the factory resets didn't help at all. I would have thought a factory image completely erases ALL user data.
[Nexus 5 Android Development] GtrCraft:
HTC One M8 GPE Kernel leaked: http://www.androidfilehost.com/?fid=23329332407583185
[Nexus 5 Android Development] Prezlamen:
Delting those folders and files worked for me too.

I would like to thank all people here who helped!

And thanks to developer for his words!
[Nexus 5 Android Development] wolfu11:
IDK I tried it with a NAND backup and it didn't work so I did a clean install, flashed the wifi patch, rooted and installed Root explorer.

I then removed that file and all the sensors are working.

I also removed it straight from a ROM zip and flashed that and booted up with all sensors working.

Except for sound ..for obvious reasons, I'm not a dev just a porter so I can't explain what the file did all I know is it was out of place so I tried until i figured it out.
[Nexus 5 Android Development] dexxa05:
Anyone tried the new google camera? Maybe it should be work
[Nexus 5 Android Development] sykomaniac:
I've just tried this on a clean install of:

ROM zip,

Latest fix patch

SuperSu

Doesn't work here:
[Nexus 5 Android Development] wolfu11:
IDK what to tell you I just flashed it 5 times and did it 3 different ways try flashing the ROM and Superuser boot into rom and see if your sensors work. Easy way to tell is open browser and flip the phone. if it works go back into recovery and flash patch.

I'll try it right now the way you stated and see what I have. The one thing I notice from your pic is none of your sensors are working which ROM zip did you use?
[Nexus 5 Android Development] Vekhez:
Idk if this can easily be fixed with a simple edit, but there's still the SD card option under storage in settings.
[Nexus 5 Android Development] Tyrany:
I know lots of people would love the m8 camera but for making this more functional wouldn't be better to use the stock google camera? since it only uses one camera?
[Nexus 5 Android Development] Vekhez:
As long as it has the HTC icon in cool with it that way. It'd probably be a ton easier to port too.
[Nexus 5 Android Development] Shaky156:
Backup system partition and allow devs to have a look at it

For people testing wipe sensor data
[Nexus 5 Android Development] Vicpdx18:
Could someone tell me,

im not sure if this is a question I ask here or in the general fourm, but since I merged the fix zip and rom zip it wont start aroma and just show the "fixing this and that" and then completes. Is there a way to get aroma to install like normal with the both zips combined?
[Nexus 5 Android Development] wolfu11:
You can't do that the patch zip has to be separate, the only way to incorporate the fixes into the rom would be to unzip and put into appropriate places just easier to flash the patch after the rom.
[Nexus 5 Android Development] Vicpdx18:
oh alright just needed to know.
[Nexus 5 Android Development] wolfu11:
I agree lets let GalaxyUser give it a try I did a clean install with that file removed from a copy of the ROM and it worked 4 times.

all I did was remove the sensor_def_qcomdev.conf and replaced the sensor_def_hh.conf with this one. http://d-h.st/5Hx
[Nexus 5 Android Development] DanielMod:
For those who care I tried to fix the signal bar reception bug with no luck (always shows one bar at the notification bar and weird numbers in the Signal Strength and 0 asu) with no dev skills, but thought it worth a try :) .

I remember that i had the same problem in my razr xt910 on cyanogen mod 10.2 ROM which was later fix by HashCode\Dhackr29.

What they did is that they made a flashable zip with moto-ril-multimode.so lib inside of /system/lib and some build prop edits that fixes this issue (or just an option to tick from advanced settings in CM10.2 that does the same things) , now it is obvious that It's not a moto phone and that there is no such lib , so I tried to replace aosp ril libs with sense rils with no success (the only files that were the same between the roms is libril-qc-qmi-1 and libril so I replaced only those files however nothing changed,than I deleted all sense ril lib files and pasted nexus 5 aosp ril lib files...nothing changed,still incorrect signal ) .

Than i tried to flash from the recovery Nexus 5 Stock Radio image but the log output in TWRP was: "Full SELinux support is present" and it wont let me flash the radio img.

I will look into that deeper later (maybe some build prop edit needed also).

Some Relevant Links:

http://www.droidforums.net/forum/dr...b-rom-development-09-24-datafix-43-print.html

https://www.google.co.il/search?q=E...ome..69i57&sourceid=chrome&es_sm=122&ie=UTF-8

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

It is mainly an OMAP devices problem by the look in the internet.
[Nexus 5 Android Development] tehsu:
The file you posted fixed some sensors.

and it fixed my CDMA issue.... Interesting. I now get signal.. but no data
[Nexus 5 Android Development] Quinny899:
APNs?
[Nexus 5 Android Development] tehsu:
Checked the APN, it's correct.
[Nexus 5 Android Development] Vekhez:
It worked for you that's interesting, I'll try it again in a bit and see if I just did something wrong. Here's hoping I did.

What is the app that everyone is using to test their sensors? I should probably know by now but I can't seem to find it :(
[Nexus 5 Android Development] wolfu11:
Good to hear
[Nexus 5 Android Development] Quinny899:
https://play.google.com/store/apps/details?id=imoblife.androidsensorbox
[Nexus 5 Android Development] tehsu:
I replaced the file he posted. Removing the other file was half the fix, not all sensors work though. Light Sensor, Orientation, Proximity are the ones that show up in the sensor box as working now.
[Nexus 5 Android Development] Quinny899:
They've been working all along
[Nexus 5 Android Development] tehsu:
I have signal, but cant call out nor send texts, I'm gonna test the build prop from the Sprint M8

---------- Post added at 09:09 AM ---------- Previous post was at 09:06 AM ----------

Those were showing up as not working before I did the changes.
[Nexus 5 Android Development] wolfu11:
Restart your phone and check again
[Nexus 5 Android Development] tehsu:
This is after reboot.

Messing with the build prop broke the signal.. :]
[Nexus 5 Android Development] wolfu11:
This is what I got now and if you tap on the sensor the screen comes on to test the particular sensor. I did this on a clean install but have reinstalled a rom zip with these files replaced several times with the same results

My phone can make and receive calls now too without softbooting but still no sound.

Maybe GalaxyUser can figure out what i did....
[Nexus 5 Android Development] Vicpdx18:
Oh so are you saying that the phone still thinks they are not there but when you tap to test the phone now knows they are there?
[Nexus 5 Android Development] sykomaniac:
Come lets avoid confusion here.

In full what did you do to fix this. I deleted the previous file you suggested which had no effect (other than break all sensors)
[Nexus 5 Android Development] Quinny899:
Light/Proximity/Orientation has been working all along, they were the ones you mentioned
[Nexus 5 Android Development] Shaky156:
Developers need an IRC, much more better than xda no offence, if someone can create it? I would but very busy
[Nexus 5 Android Development] wolfu11:
I did as I stated and it worked for me I'm going to try a clean install and see if I get the same results. I tried it with a NAND backup intially and it didn't work I got the same results as everyone's stating.
[Nexus 5 Android Development] lets_zock:
He also said that he replaced one file.
[Nexus 5 Android Development] jamal2367:
the file for sensor is the same than this from sense rom !!!!..... this is not needed to replaced !!! lol
[Nexus 5 Android Development] GalaxyUser:
Hi,

Thanks [MENTION=5090002]wolfu11[/MENTION] for fix sensors.

It only works on fresh install, but i will do a patch which will work without need a new installation of the rom.

Just be patient.

EDIT: Ok so next patch will not need a new installation for sensors working :D
[Nexus 5 Android Development] tusharverma:
could the camera not be working because its looking for a ultra pixel input as oppsed to the regular camera from the nexus?

maybe trying the camera app from some other sense 6 device with a regular camera?
[Nexus 5 Android Development] jamal2367:
So i have making a clean install and all Sensor works well .....sound Sensor not ..... :)
[Nexus 5 Android Development] CJD14:
I can't seem to get WiFi to toggle to on. I keep trying and it just sits there trying to turn on for a bit then just turns off automatically. Also not sure if this was ever working but mobile data isn't as well. It seems to be doing the same thing as WiFi is. It turns on and off constantly. A Toast notification is displayed each time saying: 'SIM is being prepared'. It does indeed detect T-Mobile and is set to the LTE APN. The signal bar keeps cycling from having 2 bars and showing '4G' to having none.

So all in all. Just not getting data by any means.

I installed the ZIP via MultiROM as well. So that may have something to do with this.

Thanks for this opportunity. This is wonderful.
[Nexus 5 Android Development] DanielMod:
I don't know if that helps but Iv'e downloaded lg camera from Google play and the app started but no camera input (screen was all black) before sensor got working and now i tried Google Camera (the update that was released yesterday for the stock camera app) and it do not work it says "Can't connect to camera".

I DID NOT DID SENSOR FIX THING.
[Nexus 5 Android Development] Vicpdx18:
Though im not really supposed to be helping you on this thread on the rom i noticed with multirom it does not work very well. I installed this rom on the internal or my "main rom" and to get both working it needs to have the patch file flashed after to get wifi and mobile data working. If you could though and have more problems or need more help I dont have the link but if you search the thread there is a link to the general thread that me and some other people can help you!
[Nexus 5 Android Development] ewalk4866:
I have been working on getting data to work with one of the best htc rom porting guys out there chubbz. Last night we did make some progress and got txt to and kinda of phone calls but it's just a matter of time but we will get it. Also there are going to files we need to update our prl, profile and what not i have pm'ed and talk to sprint dev hawknest that is getting me together a list of what files we need to get that stuff work. So it's just a matter time but it's being worked on
[Nexus 5 Android Development] GalaxyUser:
Hey,

New patch in the OP:

GPS Fix

Sensors Fix

Maps Fix

So in my port in use an sensors.qcom bin that i have hexedited to change the patch of config file.

The config file is /data/sensorsfix/sns.reg

We needed to remove it to get sensors working without a fresh intall

Thanks to [MENTION=3068641]jamal2367[/MENTION] for testing
[Nexus 5 Android Development] Vicpdx18:
sweet were on a roll again!
[Nexus 5 Android Development] TheLastSidekick:
Nice work.

I have a question. I'm trying to download the patch but Google drive lists all files is there something I'm missing? I was under the impression it would be one zip file?

Edit : Google Drive doesn't seem to play nice with mobile browsers.

The Nexus 5 advocate (Team Inferno)
[Nexus 5 Android Development] Vicpdx18:
yes it actually is one zip file, look up in the top left corner of google drive and it will say download and that will download everything

Edit: click file and then at the bottom of the list it will say download and that is the whole zip
[Nexus 5 Android Development] TheLastSidekick:
Thanks unfortunately it wasn't working on AOSP or Chrome browser I'll have to do it from my computer.

The Nexus 5 advocate (Team Inferno)
[Nexus 5 Android Development] sykomaniac:
No idea what's going on but sensors still not working here. (I've reverted to AOSP and they are all working OK)

This is a fresh install with the latest patch
[Nexus 5 Android Development] DryaT:
Doesn't work for me too.
[Nexus 5 Android Development] Dev.7:
Open the link in chrome browser.

Then check request desktop site in option menu.

Then follow the instructions as above.

Click on file and the download.

If you have already downloaded it ignore this post.
[Nexus 5 Android Development] Vicpdx18:
hmm thats really wierd that some people got them and your phone keeps doing that. Did you try tapping each sensor except the sound one to see if they reinitialized and the app updates?
[Nexus 5 Android Development] GalaxyUser:
Just wait 20/30 minutes please i doing a new kernel to fix that

EDIT: Fixed, uploading new fix
[Nexus 5 Android Development] jamal2367:
Fix is in upload ...:)
[Nexus 5 Android Development] Vicpdx18:
True! I did see the addition of the GPS EML+ SO and other SO files

Addition: and more files
[Nexus 5 Android Development] GalaxyUser:
And it is uploaded:

https://drive.google.com/file/d/0B5LJgOGBjYOBZUYtLUFmOExVLW8/edit?usp=sharing

Just flash it over the rom and sensors will be fixed

First post is updated too
[Nexus 5 Android Development] Kookitza:
Hi :)

I want to try the port but i just want to clarify: there is not sound at all yet? :confused:
[Nexus 5 Android Development] sykomaniac:
That fixed the issue :)
[Nexus 5 Android Development] GtrCraft:
Maybe a bad guess, but does the google camera maybe work on this rom? Or do we need to go deeper to fix camera?
[Nexus 5 Android Development] Pasquale91fg:
I wanted to thank you all for the work you are doing! I tried the latest patch .. before this new and that you have put all sensors, GPS works well!
[Nexus 5 Android Development] divyesh2129:
Please Someone make single zip file of updates
[Nexus 5 Android Development] jxr94:
The newly uploaded one does have all the fixes....
[Nexus 5 Android Development] GalaxyUser:
It's already here: https://drive.google.com/file/d/0B5LJgOGBjYOBZUYtLUFmOExVLW8/edit?usp=sharing

If you meant the whole rom + fix i don't allow to do it for the moment. Thanks

And for camera, any camera will not work, even google camera because it's a drivers issue
[Nexus 5 Android Development] i_othman:
Where is the patch file !
[Nexus 5 Android Development] Vicpdx18:
yep, tried merging both zips together but did not flash right. so its a patch zip + rom zip for now.
[Nexus 5 Android Development] divyesh2129:
ok fine .. btw thanks for such a grt ROM..

Look for one zip file with all updates
[Nexus 5 Android Development] Vicpdx18:
tap desktop view in chrome and it will reload the site and on the left go file and on the bottom of that menu it will say download.
[Nexus 5 Android Development] i_othman:
Oh big thanks for you ❤
[Nexus 5 Android Development] Vicpdx18:
Just noticed that google drive has now said too many users.

Edit: wierd but its fixed
[Nexus 5 Android Development] divyesh2129:
When I make call or Receive Call .. Phone Boot to HTC Logo.. After Disconnecting Call It Come to Normal Screen (Home Screen)
[Nexus 5 Android Development] Pasquale91fg:
[MENTION=2623456]GalaxyUser[/MENTION] .... in this porting the sound and NFC work! this is a porting of the sense 4 for galaxy nexus !

http://xdaforums.com/galaxy-nexus/development/wip-sense-4-0-porting-sense-to-galaxy-t1535715
[Nexus 5 Android Development] GalaxyUser:
Mirrors for fix as i noticed that some of you does not like gdrive :p

Mega.co.nz

Mediafire

Yeah i was in Sense4All team ;)

This cannot help you sorry
[Nexus 5 Android Development] divyesh2129:
In Call and Outgoing Calls not Displaying .. Only HTC Logo Boot ..
[Nexus 5 Android Development] yooouuri:
I called somebody and he called back and got no problem.

Installed in Multirom, no problems :)

This ROM looks so damn fine.

[MENTION=2623456]GalaxyUser[/MENTION] The flashlight is not working!
[Nexus 5 Android Development] androidfilesharing:
Also updated at http://fs1.androidfilesharing.com/NexSense
[Nexus 5 Android Development] GalaxyUser:
Thanks added to the op.

Please people who want to discuss about the rom, what's working or not go in general thread... I spent a lot of time to read all messages.

Have good day :)
[Nexus 5 Android Development] sykomaniac:
Any Dev out there with any leads on the sound stuff?

Still stuck on what I posted earlier (the sys/lib/hw/audio_policy.default.so is the HTC one not the AOSP one) happy to look at some suggestions as I'm banging my head against a brick wall with this!
[Nexus 5 Android Development] raynan:
So, I just noticed something interesting. While I realise its not a priority, when using multiboot and having sense as a secondary ROM, no matter what kernel you use for the primary, the primary ROM, when booted up, says its upgrading and has a tonne of FCs. It still boots, but its just an interesting observation.
[Nexus 5 Android Development] trh1341:
Umm...not happening here:)
[Nexus 5 Android Development] mchj:
[MENTION=225651]op[/MENTION] What Kerrnel uses this rom? I think the sound issue may be related wth it

Edit:

NVM in found this: