yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] sykopompos:
Breadcrumbs, Bunnies and Wiches device test builds

Device testers

[MENTION=4756018]manueltts[/MENTION] [MENTION=2981094]bitstra[/MENTION] here is flo 5.1 test 4: https://drive.google.com/file/d/0By0vn8iv_zrVcUVxRDhyYmFzeEk/edit?usp=sharing

[MENTION=4876414]skiman10[/MENTION] [MENTION=2383735]jayfallen[/MENTION] here is deb 5.2 test 1: https://drive.google.com/file/d/0By0vn8iv_zrVeTNXNHc5Mi1XRlU/edit?usp=sharing

[MENTION=275009]ramjet73[/MENTION] here is hammerhead 5.3 test 2: https://drive.google.com/file/d/0By0vn8iv_zrVQlZaQ05vcXdRREE/edit?usp=sharing

remember, I need "dmesg | grep avc" in a txt file so I can run audit2allow on it so I can mod the sepolicy .te files to make the policy best tuned to the device
[Nexus 4 Android Development] sykopompos:
I will think about it if you change your sig to the right rom.... I wanna see bunnies in there
[Nexus 4 Android Development] ramjet73:
Here's one for you. :good:

ramjet73
[Nexus 4 Android Development] sykopompos:
I was thinking for the next title, "bbw got the piggies" or "that was a heck of a huff and a puff"

Bbw plays off of the current name like the breadcrumbs played off of bunny stew plus the dual meaning with Piggie meaning 1+1/bacon.

And using bbw in title is also funny

Sent from my LG-D851
[Nexus 4 Android Development] googleygoggles:
Oh thanks but Im GOING home right now... Still have an 1½ hours of driving left... I'll attach the sphere when I have the time... Gonna drink a slurpee first :D
[Nexus 4 Android Development] ramjet73:
hammerhead 5.3 test 2

Superuser now works out of the box but the camera app is still not finding the hardware.

A logcat containing a couple of attempts to start the camera is attached.

ramjet73
[Nexus 4 Android Development] natzy85:
The only bug that exists since release is that sometimes when making a call I get error but the call still works.
[Nexus 4 Android Development] sykopompos:
It cut out early and the logcat won't show which new prop file is breaking the camera. Are you up for some homework?

It would be pushing the old proprietary files back in through adb to find which one is breaking the camera. That is a one at a time type thing and extremely difficult for me to trace down which one without having the device itself.

On mako it is a sensor file that breaks it, let me see if I can track down the specific one

Sent from my LG-D851
[Nexus 4 Android Development] bitstra:
or another one...[IMG="flying bunny"]http://thumbs.dreamstime.com/x/easter-bunny-flying-red-plane-19091529.jpg[/IMG]

flying bunny
[Nexus 4 Android Development] ramjet73:
Sure. Just send me the files and I'll copy them to the SD card and use ES File Explorer to do the swaps. That way I can check/set permissions at the same time.

ramjet73
[Nexus 4 Android Development] sykopompos:
Let me track them down and pull them out the preview image so we can get the camera fixed.

Can you try your other kernels now to see if they might possibly work now? It is a long shot but possible

Sent from my LG-D851
[Nexus 4 Android Development] ramjet73:
Same problem with ElementalX. The dmesg log is attached.

Really no point in testing Hellscore since it's actually kind of hard to find for the Nexus 5 and Elemental X is much more popular on the N5.

ramjet73
[Nexus 4 Android Development] sidnoit22:
Anything for you babe
[Nexus 4 Android Development] sykopompos:
give this a try [MENTION=275009]ramjet73[/MENTION] , on mako this breaks the camera when it is upgraded but it might be the reverse on the n5. it goes in /vendor/lib
[Nexus 4 Android Development] ramjet73:
Oh c'mon. :eek:

At least give us a little eye candy.

It wasn't that one.

Next?

ramjet73
[Nexus 4 Android Development] sykopompos:
Damn. Hmmmm. Let me pull all the camera related things

Sent from my LG-D851
[Nexus 4 Android Development] justthefacts:
This would be more appropriate since the theme is BBW
[Nexus 4 Android Development] bitstra:
[MENTION=1050103]sykopompos[/MENTION]

bad luck!

Test 4 boots fine

as Single ROM, as Multirom primary and as Multirom secondary...

... but in all variants no WiFi via DHCP and no BT! :(

WiFi with STATIC IP works as before...

pulled demsg avc and logcat from the singleROM variant Test4 (without having SuperSU installed !)

Edit: logs attached

BTW static IP is lost after reboot or by switching WiFi off!
[Nexus 4 Android Development] ramjet73:
OMG! :eek:

And I thought the one in purple on the right end of the photo I posted might qualify. :D

ramjet73
[Nexus 4 Android Development] sykopompos:
here is everything camera related from the L preview
[Nexus 4 Android Development] sykopompos:
I can never unsee that now
[Nexus 4 Android Development] ramjet73:
Whoa! That's a lot if stuff.

Any priority on changing out the files? Should I just replace everything?

ramjet73
[Nexus 4 Android Development] sykopompos:
I've seen that bluetooth firmware failed before while working on mako, just can't remember what caused it.

wifi is annoying me now though
[Nexus 4 Android Development] sykopompos:
You can try replacing everything at once and see if the shotgun method will work. at least if it does, then we can be sure that it is one of those files
[Nexus 4 Android Development] bitstra:
could it be some IPv6 stuff???
[Nexus 4 Android Development] sykopompos:
No, it was a derp on my behalf with an updated hci-qcom-init which breaks Bluetooth along with the wrong Bluetooth.default.so

Sent from my LG-D851
[Nexus 4 Android Development] PVL_93_RU:
Fun fact: I am running L Preview on Deb for almost a week now, though LTE doesn't work
[Nexus 4 Android Development] sykopompos:
Aren't you using that nandroid backup version?

Sent from my LG-D851
[Nexus 4 Android Development] sykopompos:
As for WiFi. We reverted the behavior it removing the WiFi bins on mako because it broke wifi (it does this as a workaround to it not copying the new WiFi stuff) which is done in the init, on flo it is done in the init.flo.wifi script which removing breaks WiFi. Maybe if we just comment it out and let it go with the built in drivers in the ROM, it will have WiFi working properly

Sent from my LG-D851
[Nexus 4 Android Development] ramjet73:
Since there were so many files involved I just merged them into the ROM zip file and dirty flashed but I still get exactly the same error ("Can't connect to the camera").

ramjet73
[Nexus 4 Android Development] sykopompos:
Then that tells us that isn't the problem on the n5 so it has to be somewhere else. Now where to look :/

I think I need an Edison

Sent from my LG-D851
[Nexus 4 Android Development] sykopompos:
[MENTION=275009]ramjet73[/MENTION] maybe it doesn't like the aosp camera hal, give this one a shot in lib/hw/
[Nexus 4 Android Development] sykopompos:
[MENTION=2981094]bitstra[/MENTION] give this one a try https://drive.google.com/file/d/0By0vn8iv_zrVWFNaOWV5S1hlSzQ/edit?usp=sharing

that might solve the wifi and the bluetooth problem. If you get bluetooth fc with it, push the Bluetooth.apk from mako into /app
[Nexus 4 Android Development] ramjet73:
Same error.

ramjet73
[Nexus 4 Android Development] bitstra:
Download will take 35 mins - good point for an Edison:)
[Nexus 4 Android Development] ramjet73:
I'm going to restore the official lpv81c preview ROM just to make sure the camera works with that. Will update this post with status.

ramjet73
[Nexus 4 Android Development] sykopompos:
Damn, what is going on with this camera :banghead:

Sent from my LG-D851
[Nexus 4 Android Development] sykopompos:
Yes sir. I didn't get much sleep last night so I'm getting all groggy so it seems as good as any.

I'm still waiting on feedback for deb anyways. We know what will be broken but if it get fixed in flo, we can fix it in deb, just need to know if she boots and runs

Sent from my LG-D851
[Nexus 4 Android Development] sidnoit22:
I hacked it. Apple begging to hack theirs. I'm so popular.
[Nexus 4 Android Development] PVL_93_RU:
I'm not sure. Maybe?

The dude who posted it on 4PDA said he changed some things in build.prop and changed the permissions of libacdbdata.so file to make the preview build from Flo work on Deb, so it is naturally the Flo ROM I guess
[Nexus 4 Android Development] sykopompos:
Eh, it is possible. Idk what changing permissions on that would do though because there was nothing wrong with them

Sent from my LG-D851
[Nexus 4 Android Development] ramjet73:
My camera is fine on the official lpv81c preview.

I did notice that the first time it gets used there are prompts for 4x3 versus 16x9 aspect ratio and syncing with the Google cloud. Could it be related to that stuff?

Probably not since Camera Zoom FX doesn't work either.

ramjet73
[Nexus 4 Android Development] sykopompos:
It could be the apps themselves. I believe I put back the official preview apps instead of using the ones that we are using on mako which are newer than the preview itself. Like the camera is a newer one

Sent from my LG-D851
[Nexus 4 Android Development] ramjet73:
The official preview apps, including the camera, work fine for me on lpv81c ROM but there may be some dependencies between the apps and the libraries that are causing the problem. OTOH, I replaced all the camera related stuff with the preview versions so that shouldn't be the case. :confused:

ramjet73
[Nexus 4 Android Development] bitstra:
WiFi - no success (works only with static ip as before)

BT - no success

- the bluetooth.apk in that ROM - toggles back immediately after switching BT on!

- the bluetooth.apk from mako pushed lets the toggle stayin on, but no BT icon in statusbar - NO BT...

So I suggest, take a break sykopompos...

Thanx for your work!

---------- Post added at 11:43 PM ---------- Previous post was at 11:33 PM ----------

Have to go sleep now - tomorrow I can make further tests - my wife is on bicycle-tour :)...
[Nexus 4 Android Development] Vinnom:
Guys, I need help =P

I CM notification, ringtone and alarm sounds. I tried to extracted and put into L but without success. If I put into notification/ringtone/alarm folders under sdcard partition results the same if I put them into same folders under /system/media. After I put them there, although system recognizes them, they aren't playable.

Did I do something wrong? There is other way to do it?

EDIT:

I forgot to say that I did the extract in my PC and I could play them with vlc player. In the phone, mx player could play them too. May it be codec issue?
[Nexus 4 Android Development] 0.0:
What I did was put notifications in a folder called "Notifications" on the SD card side. For alarms, just create a folder called "Alarms" and so on

sent from Nexus 4
[Nexus 4 Android Development] Vinnom:
That was what went wrong for me =/

I put in Notification folder, but didn't go right. The system recognizes it there (I can choose to it in "settings > sounds") but when I receive a notification, the sound fails =/

However, I'll try again.
[Nexus 4 Android Development] dodgebizkit:
Hmm I'm kinda sad that I had to give my dad my mako today because his phone is a POS. He is now on L bunny stew kool aid and defcon and has no idea what that means and I'm back on 4.4.2 TW note 3

--------------------------------------------

My house phone's better than your iPhone.
[Nexus 4 Android Development] Vinnom:
Oh man, I'm kinda sorry for you =/

---------- Post added at 08:02 PM ---------- Previous post was at 07:56 PM ----------

Man, I think I had a problem in while transfering the files in the first try. Now everything went just fine ^^
[Nexus 4 Android Development] sykopompos:
I feel a sad for you but now you can port it to the note 3 :D

Sent from my LG-D851
[Nexus 4 Android Development] dodgebizkit:
It's a veryyyy first world problem, I know!

--------------------------------------------

My house phone's better than your iPhone.
[Nexus 4 Android Development] sykopompos:
I'll get it figured out. I feel much better after my Edison

Sent from my LG-D851
[Nexus 4 Android Development] ramjet73:
Poor thing. :(

It's going to take Samsung a long time to release L for the Note 3 and when they do you probably won't recognize it anymore. And it will be so locked down by KNOX that you will void your warranty and disable updates by installing what they consider to be rogue apps. :eek:

Samsung is becoming fascist in its attitude toward customers. Our way or the highway. :rolleyes:

Perhaps Kim Jong-un has quietly bought the company and set its new direction. ;)

ramjet73
[Nexus 4 Android Development] dodgebizkit:
Sure just let me take a second degree in computer science and reread your every step taken to port this... :P

Wouldn't it be better if we could download your knowledge to our brains like The Matrix?

I know kung Fu...

--------------------------------------------

My house phone's better than your iPhone.
[Nexus 4 Android Development] ramjet73:
OMG, a double for Kim Jong-un. Honestly, I didn't know. :laugh:

JK, but the haircut is similar. :cyclops:

ramjet73
[Nexus 4 Android Development] sykopompos:
I don't got a degree in computer science and the base is sitting right there, it just needs the camera fixed

Sent from my LG-D851
[Nexus 4 Android Development] sykopompos:
Easy answer, just ask me to give him L

Sent from my LG-D851
[Nexus 4 Android Development] ramjet73:
Isn't that Cockney for "hell"? That's what he's giving everyone else. :(

ramjet73
[Nexus 4 Android Development] sykopompos:
Idk, all I know is I got caffeine and peanut butter twix

Sent from my LG-D851
[Nexus 4 Android Development] sykopompos:
Hey ramjet, now that the boot.IMG has proper root now. Did the cam work on the stock preview with the boot.IMG? Just trying to isolate it.

Flo guys can try just the boot.IMG on official flo and see if the wifi problem persists there so I can isolate that also

Sent from my LG-D851
[Nexus 4 Android Development] ramjet73:
Haven't tried that yet but I can now.

I've got bunny installed on my N5 ATM so it will take me a little while to get the official preview restored and try that. I'll pull the boot.img out of the preview and get it ready to flash it while I'm waiting for the backup/restore.

ramjet73
[Nexus 4 Android Development] sykopompos:
Thank you. Just trying to isolate where the problem lies. It most likely is in the ROM but it helps to not be chasing my tail if somehow it is in the boot.img

Sent from my LG-D851
[Nexus 4 Android Development] sykopompos:
Oh, the feedback on deb was I put the wrong apks in and it went crazy like it did for [MENTION=4756018]manueltts[/MENTION] on test 2. Whoops

Sent from my LG-D851
[Nexus 4 Android Development] dodgebizkit:
I'll av a twix. Tanks :D

--------------------------------------------

My house phone's better than your iPhone.
[Nexus 4 Android Development] sykopompos:
Nope. I had 4 for me

Sent from my LG-D851
[Nexus 4 Android Development] googleygoggles:
Okay... OFFICIALLY back from vacation... 6 hours of driving non stop because of traffic. THIS SHOULD HAVE BEEN A 2½ HOUR DRIVE! I'm just going straight to bed... Good night everyone. More trolling tomorrow ;P
[Nexus 4 Android Development] ramjet73:
An 8:00 bedtime? What grade are you in? :laugh:

Sleep well!

ramjet73
[Nexus 4 Android Development] dodgebizkit:
Yeah that's the exact picture I showed to my stylist. I was like "yeah, I'm tired of the Stalin look, I wanna look like THIS dictata now" (sic for accent)

Almost went for a Hitler tash too :P but a Jew with a Hitler tash, just ... No :P

--------------------------------------------

My house phone's better than your iPhone.
[Nexus 4 Android Development] googleygoggles:
8th DUH!

(That awkward moment when it's actually true)
[Nexus 4 Android Development] sykopompos:
Hey [MENTION=275009]ramjet73[/MENTION] I think I found the camera issue. A remnant from mako

V4l2-qcamera-app in bin.

Whoops

Sent from my LG-D851
[Nexus 4 Android Development] ramjet73:
Yea, the camera still works with your boot.img but root doesn't. Would adding the permissions XML file fix root? Maybe one option is to use your boot.img and whatever other updates are required to get root working with the official preview.

So just delete that? I need to re-flash your original ROM zip file to get the other camera files restored.

ramjet73
[Nexus 4 Android Development] sykopompos:
At this point to get root on the official image is to mod the updater-script and delete the stock install-recovery.sh should open it back up and of course the permissions.xml

Sent from my LG-D851
[Nexus 4 Android Development] sykopompos:
Give me a few minutes. I think I might know why custom kernels crash the radio

Sent from my LG-D851
[Nexus 4 Android Development] sykopompos:
[MENTION=275009]ramjet73[/MENTION] https://github.com/Android-L-Porting-Team/Android-L-Hammerhead/commit/c8f2c026bcb24deb6810ad98ec9655f60f322e36[/url]

I attached the new files for you so you can use the commit to delete the files and the attachment files to add so you don't need to download a new version
[Nexus 4 Android Development] ramjet73:
I still get "cannot connect to camera" with those changes. I restored the bunny version NANDroid and dirty flashed your most recent ROM zip before making the changes just to make sure everything matched up.

While adding that permissions file I noticed that there is no /system/etc/mac_permissions.xml file in this ROM. Is that not required anymore?

ramjet73
[Nexus 4 Android Development] sykopompos:
Yes it is

Sent from my LG-D851

Mac-permissions.XML is in security though
[Nexus 4 Android Development] ramjet73:
Oh yea. :o

It's still there. :)

ramjet73
[Nexus 4 Android Development] ramjet73:
Attached is a logcat taken during three attempts to start the camera. There are some specific errors about the camera in there that might be of some help.

ramjet73
[Nexus 4 Android Development] sykopompos:
I'm catching a smoke real quick and the full logcat don't come across on the phone. Is it saying looking for shared library camera 2?

Sent from my LG-D851
[Nexus 4 Android Development] ramjet73:
Among other things. Here are some of the errors:

08-16 15:13:39.268 E/Camera2-Parameters(185): Error finding static metadata entry 'android.sensor.info.activeArraySize' (f0000)
08-16 15:13:39.268 E/Camera2Client(185): initialize: Camera 0: unable to build defaults: No such device (-19)
08-16 15:13:39.268 I/Camera2Client(185): Camera 0: Closed

Here's another one with a specific error code:

08-16 15:13:43.023 W/CameraBase(2850): An error occurred while connecting to camera: 0
08-16 15:13:43.024 W/CAM_CameraActivity(2850): Camera open failure: HIST_ID0_-1_1_HEND

ramjet73
[Nexus 4 Android Development] sykopompos:
So it does have to do with one of the sensors

Sent from my LG-D851
[Nexus 4 Android Development] sykopompos:
Well the CPP files are new firmware files, the break might be in there. There is three files in /etc/firmware, try reverting them back to the L preview versions [MENTION=275009]ramjet73[/MENTION]

Sent from my LG-D851
[Nexus 4 Android Development] ramjet73:
Did you see the second set of messages I added to my prior post? One gives the specific error 'Camera open failure: HIST_ID0_-1_1_HEND".

I Googled that and other people have experienced it but I haven't found the solution yet.

ramjet73
[Nexus 4 Android Development] BigCrisco39:
sykopompos I don't know what your political beliefs are, but if you work this hard trying to get the camera to work I want you as president!

Even though I'm a Pittsburgh Penguins fan.
[Nexus 4 Android Development] sykopompos:
I did see that. Not sure but it always seems tied in with Bluetooth when I see a broken log with it so it is probably a firmware issue somehow

Sent from my LG-D851
[Nexus 4 Android Development] sykopompos:
My political beliefs is that they are all a bunch if greedy a**holes that are nothing more than talking puppets for their cabinet and they don't do any basic research on their own.

I got no problem with the penguins

Sent from my LG-D851
[Nexus 4 Android Development] 0.0:
I agree with your stance

sent from Nexus 4
[Nexus 4 Android Development] ramjet73:
The firmware modules in the preview were numbered exactly the same so they may be same version, but I replaced the ones from the ROM zip anyway.

The camera still gets the same error.

ramjet73
[Nexus 4 Android Development] sykopompos:
I would probably do great in politics if I ever went into them. I'm a people person, high energy, can talk about anything and everything and I do my own research and never believe anything someone tells me. Plus I'm not bad looking :p

Sent from my LG-D851
[Nexus 4 Android Development] sykopompos:
Hmmmm, damn. Back to the drawing board

Sent from my LG-D851
[Nexus 4 Android Development] googleygoggles:
+1

This guy SHOULD be president... I nominate (insert real name here) for president of the penguins!

Oh by the way what is your real name [MENTION=1050103]sykopompos[/MENTION]?

It'll be hilarious if it was something short like Bob or something...
[Nexus 4 Android Development] sykopompos:
I think it is the camera app itself. Looking into that error, it seems that it is

Sent from my LG-D851
[Nexus 4 Android Development] sykopompos:
Mike.

And what would I do with a hockey team O.o

Sent from my LG-D851
[Nexus 4 Android Development] ramjet73:
Not saying it isn't, but Camera Zoom FX gets exactly the same error (see screenshot).

Of course, it could be the same bug in both apps.

ramjet73
[Nexus 4 Android Development] sykopompos:
I might have found the culprit. In lib/Google camera/ there is a lines.layered_filter_132.so, that is different between mako and hammerhead and could be the one breaking the camera

Sent from my LG-D851
[Nexus 4 Android Development] sykopompos:
Since they feed off the same it would break the same. Only way to see if it is something there is to grab camera2 from aosp probably

Sent from my LG-D851
[Nexus 4 Android Development] sykopompos:
Wanna try another shotgun approach [MENTION=275009]ramjet73[/MENTION]

Replace the whole vendor folder with the one from the L preview and see if that gets the camera going. Most of the new proprietary files are in there so if it is one breaking the camera then we know were to focus

Sent from my LG-D851
[Nexus 4 Android Development] googleygoggles:
Play hockey...
[Nexus 4 Android Development] sykopompos:
The president of the hockey team doesn't play, derp

Sent from my LG-D851
[Nexus 4 Android Development] :
Oily Fingers = Smudgy Screen

:(

If I ever use "pin-lock" just have to make sure to unlock it consistently at an interval. It tends not to hang as much.

Any way to avoid smudgy screens with "pattern?"
[Nexus 4 Android Development] sykopompos:
Wear gloves everywhere?/:p

Sent from my LG-D851
[Nexus 4 Android Development] Xianead:
Why does it randomly reboot? Like when I wake it up, it may or may not reboot. It worsens by the minute.
[Nexus 4 Android Development] ramjet73:
Just tried that and got the same message.

Are the cameras working for the Nexus 7 models? If so, I wonder what is different about the Nexus 5 camera. I guess it is different hardware from the 2012 (deb) model but what about the camera in the 2013 (flo) model?

What would be the disadvantage of getting root working with the real preview ROM and your boot.img and then replacing the modules that you think are common with AOSP? That may solve the custom kernel issue at the same time.

You could try these.

I haven't used them myself but heard the glass version is pretty good at avoiding smudges (as long as you wash your hands reasonably often :)).

ramjet73
[Nexus 4 Android Development] sykopompos:
There is significant enough differences between the 2 unfortunately.

I preferably like to keep mostly the same code base if possible .

Any luck on that one file in google camera?

Sent from my LG-D851
[Nexus 4 Android Development] eSKaPe:
Same case here, random reboots. Reboots as soon as I hang up a call...

But thanks to the dev for the work.

Sent from my Nexus 4
[Nexus 4 Android Development] ramjet73:
Swapping that file with the one in the N5 preview didn't help. Got the same "can't connect to camera" message.

BTW, that file was named lines.layered_filter_f32.so.

ramjet73
[Nexus 4 Android Development] sykopompos:
It could be one of the aosp /lib/hw breaking the sensor. I gotta look to see if the venus firmware is any different too

Sent from my LG-D851