yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] s4ni:
nope, MTP Debugging issue remain still. u can disable Debugging while accessing ur phone storage...its not big deal...!
[Nexus 5 Original Android Development] amaces:
Did you follow the directions in https://xdaforums.com/google-nexus-...legacy-android-project-t3593425/post76003549?
[Nexus 5 Original Android Development] s4ni:
yup, to use MTP, Debugging need to off.....as soon as i start it, phone disappear from windows Explorer(no issue on ubuntu, i used in previous build)
[Nexus 5 Original Android Development] SwimInstructor:
I can't access my phone's memory via USB. It's no difference if debugging mode is "on" or "off". My PC can't see the device.
[Nexus 5 Original Android Development] HermannSenator:
No issues on my end!
[Nexus 5 Original Android Development] namerke:
Hi
[MENTION=4473900]amaces[/MENTION]

You probably already know about all these things , but just as an FYI regarding the previous CAF hammerhead kernel branches from other devs:

-Most of them had issues with replacement screens, so anyone with a hammerhead who previously shattered their screen and went for a replacement didn't get it working. This issue was overcome by Paranoid Android team in their 7.1 ROM which is CAF based, probably worth checking out their branch on github. This might be the commit, but i'm not sure.

-Another issue which affected a small portion of users, although they are of course the loudest ones is the freezing. It was the issue which ultimately made [MENTION=4152171]myfluxi[/MENTION] quit development for hammerheadcaf as far as i can remember. This was also overcomed by PA team if i'm not mistaken, but on the cost of disabling some soc/cpu feature. I'm entirely not sure about which commits belong to this change, but it should be there somewhere in the branch.

These are just some things from the top of my head, hopefully it helps.

Either way, thanks for doing the hard work for all of us. :good:
[Nexus 5 Original Android Development] Thecrazylol1:
Really smooth ROM! Nice work! Battery is average at most and Miscellaneous takes up half of battery (screenshot added) anyone know what this means?
[Nexus 5 Original Android Development] GopalKaul:
Did you clean flash?
[Nexus 5 Original Android Development] Thecrazylol1:
Yes I did, didn't wipe system tho
[Nexus 5 Original Android Development] Xaif:
You have not added any simcard in your phone?
[Nexus 5 Original Android Development] aleksb1712:
how to set up android 8 mobile data
[Nexus 5 Original Android Development] Pjotr91:
You have to find the apn configuration of your carrier into the web.

By the way, right now mobile data is broken but a fix will come soon as developer found the solution.
[Nexus 5 Original Android Development] manojks256:
That's cool. Waiting for that :)
[Nexus 5 Original Android Development] amaces:
Thanks for the logs. I'm less sure that my hunch was correct, but I uploaded a fresh build with a potential fix. Either way, this build includes the October updates published today.

I uploaded a copy in the experimental folder at https://notredame.box.com/s/26a4bygh9vbaw7jjq08xr5evomvaw5ww.

Just curious, have you used any of the previous Nougat images here? If so, does battery life on O feel worse than on N?
[Nexus 5 Original Android Development] ydv21yash:
is mobile data problem is fixed?
[Nexus 5 Original Android Development] Pjotr91:
Thank you very much for your work. I will continue to help you to find things that needs to be "repaired".

Today i've tried the previous build (-3) and it was really good. I was only using wifi all the time and my 4 old year battery performed well.
[Nexus 5 Original Android Development] the_cr0w:
what about performances? do you think this rom can be faster than stock?
[Nexus 5 Original Android Development] megamite:
Package installer fc

Can't upload logs ATM ?
[Nexus 5 Original Android Development] hemantv:
Posting my initial impression after using the rom for last 6 hours, a complete 100%-2% battery drain with normal usage. And for me battery life seemed pretty good, better than what I've achieved till date on my Nexus 5. The battery lasted 6 hours with 2h 55m of SOT. :D

Faced a few bugs like mentioned before, mobile data and flashlight. It seems you already have a fix for flashlight. Great!

I found a bug while playing x265 HEVC AAC 5.1 video files. There was a green and purple overlay on the video playing. Attaching a screenshot to clear the same. The files used to play properly in Nougat roms.

And does anyone know how to turn off adaptive icons on Pixel Launcher? Kinda hate them, just like new emojis. :3

Thank you!
[Nexus 5 Original Android Development] HermannSenator:
Okay, alright. I've just tried the last build, today's one. I still face the same data bug. But , in the status bar, after saving the APN, for a couple of seconds it shows the signal letter (in my case H and 4G) but, unfortunately, it still disappears after two seconds and it leaves the phone with no signal. However i was able to take logs. I uploaded the logcat here and dmesg.txt is self-explanatory :)

Hope this has been useful, and thank you once again! :)
[Nexus 5 Original Android Development] Pjotr91:
Connection drops on mobile data still persist after the new update [MENTION=4473900]amaces[/MENTION]
[Nexus 5 Original Android Development] Thecrazylol1:
I haven't used any of your ROMs before, but I ran dark ROM lately and battery life is better on that ROM, but this is definitely not bad. Only thing I want to know is if I can get rid of the Miscellaneous thing taking up so much juice and see if that helps.

---------- Post added at 07:39 PM ---------- Previous post was at 07:37 PM ----------

I use airplane mode to save battery
[Nexus 5 Original Android Development] Nexive:
Miscellaneous is just a calculation between the calculated drain and the actual drain of your battery.

It isn't draining your battery. ;)

https://xdaforums.com/showpost.php?p=68452342&postcount=1109

https://xdaforums.com/showpost.php?p=68785750&postcount=2039
[Nexus 5 Original Android Development] Nowhite:
Battery life
[Nexus 5 Original Android Development] amaces:
Yep, I feared that... I hope shimming or otherwise editing the M-era vendor blobs is not necessary, but some solution will come up. It might take quite a bit of time though.

Oops, I had forgotten about the flashlight fix; it's in the updated builds tonight (check the MD5 hashes).

What are you using to play these files? We'd need a logcat captured a few seconds after the artifacts happen.

Many people feel the same, including myself. About icons, not sure there's a way bar switching to a different launcher... They'll look better as apps are updated, including Google's.

It's likely the other ROMs you tried were user builds; we've always published userdebug. Also, based on a quick look at the Dark sources, he may be using the CAF kernel and forks, which can be more efficient. Otherwise, I've also been tracking the regular Lineage device and kernel trees, with changes for AOSP and other additions, although I'm intrigued by a rebuilt-from-scratch CAF-based kernel.
[Nexus 5 Original Android Development] Pjotr91:
I don't know if it can help but Dirty Unicorns developers have their own gerrit and they also work on hammerhed oreo. Maybe a look at it can help. But i really don't know
[Nexus 5 Original Android Development] gargyagotra:
Hi [MENTION=4473900]amaces[/MENTION]

Not asking for ETA's but I have been seeing that the new builds for 7.1 have stopped with the last build released on March 10th. Since the 8.1 build is still in experimental state, could you tell your plans about 7.1 and can I and other users of the stable branch expect the regular security updates as we were getting till last month.

Also, any update on the OTA updates that you mentioned were in pipeline.

Thanks
[Nexus 5 Original Android Development] zheega:
8.1 experimental works great tho!
[Nexus 5 Original Android Development] garuwex:
Will updates 7.1.2 be updated with the time fix and new security patch?
[Nexus 5 Original Android Development] X_TonyK_d:
[MENTION=4473900]amaces[/MENTION] I tried to build UA Oreo w/ SELinux Enforcing and release-key given, and it doesn't detect any sensors anymore. (I prefer those options due to banking app)

Is this normal in current state?
[Nexus 5 Original Android Development] Obi-XDA:
is there way to extract oreo bootanimation in a zip like previous android versions?

many thanks in advance, and sorry for my english

cheers
[Nexus 5 Original Android Development] Android-Andi:
Jenkins started, just applied needed patches. Build should be ready sometimes later today.

Enjoy!
[Nexus 5 Original Android Development] gargyagotra:
What happened to that OTA builder for stable branch? Is it still on the cards or has been shelved?
[Nexus 5 Original Android Development] Android-Andi:
It's still on the to-do-list to integrate a OTA app. we've limited time and other things have been more important ATM.

Stable branches (< Android8) are only compiled if needed, no reason to compile weekly without changes.
[Nexus 5 Original Android Development] gargyagotra:
No problem...just wanted to know if it's still on the cards...thanks a bunch
[Nexus 5 Original Android Development] bigtreiber:
I'm having the "libAIVPlayReadyLicensing.so: W+E load segments" Error Message with Amazon Video in a Pixel C Device. Flashing the widevine-zip in this post didn't help. Can't find anything on the net :( Can anybody help?

thx, bigtreiber
[Nexus 5 Original Android Development] amaces:
CAF-ized AOSP Builds

As always, it was more complicated than expected, but after two weeks of pain we have fairly decent AOSP builds, with the most important CAF parts (i.e., kernel and some HALs). Beside the heavily adapted hhcaf kernel, we gain HWC API 1.5 (vs legacy 1.3), plus many other improvements. I was able to fix the video recording artifacts without the legacy camera hacks used in N; don't know yet the status of BT HFP.

The plan is to have a common device tree for both hh and hhcaf builds.

The latter would be using CAF audio and media HALs, with both using fairly similar HWC 1.5 display HALs.

Once these builds stabilize, I plan to redo the kernel on a clean CAF base, plus kernel/common, etc.

Anyone willing to test, please thread lightly at first, make a good backup, etc. See new OTA under Downloads here, which should work on top of other UA builds (although clean install is preferable when debugging issues).

Thanks, these are definitely helpful hints, and I'm sure we'll run into these issues sooner or later. I'm hoping that at least the CAF kernel can be made permanent, and these builds are an improvement overall.

Google's last 7.1.2 updates were in r36 (October security patches). Everything applied afterwards was collected from security bulletins, via Lineage, vendors, etc. Sometime it's easier to apply these ASBs to older branches, sometimes harder, or even quasi-impossible. The fact that UA still applies security patches down to KitKat builds should give you some comfort that Nougat will be fine for a long time.

Sorry, what time fix? I can only say that [MENTION=5153662]Android-Andi[/MENTION] only bumps the security level when all (userland) fixes are in, and he's pretty thorough ;)

It's normal in the sense that SELinux policies were never finished for Oreo. If it were that easy, Enforcing would be active already ;) There were several paths to fix the video recording artifacts, each with various sepolicy needs, but things are more clear now. Still, last time I turned Permissive off, only video recording broke; maybe your other changes are causing the extra breakage?

Again, as I stressed earlier, you don't need to disable USB debugging, just switch to MTP+ADB operation. Once connected, just select the Transfer files option after pressing the notification message.
[Nexus 5 Original Android Development] Android-Andi:
About the asb patches:

I store them as Patchfiles here for each branch:

https://github.com/andi34/android_asb

Parts not forked to UA are stored here https://github.com/android-security and used by UA manifest.

If someone's missing a patch, add a pull request to needed repo or a hint on my asb repo.

And like [MENTION=4473900]amaces[/MENTION] said, special thanks goes to team lineage, they're often faster than I am and I can use their patches often.
[Nexus 5 Original Android Development] gargyagotra:
Thanks a ton..I was not sure what will happen to 7.1.2 and hence asked the question..I have been a fan of your work and the best thing I like about your stable builds are that they are as close to AOSP and with latest security updates...I already updated the latest build with April security patches...Looking forward to new builds till whatever time it's possible for you...I would just appreciate if you can let us know when you plan to stop working on stable 7.1 whenever the time comes..that's all..till then... extremely grateful for your work and committment to keep our old devices running better than some of the newly released ones... thank again..
[Nexus 5 Original Android Development] HermannSenator:
[MENTION=4473900]amaces[/MENTION]

MAN! This is huge!

I tried your early CAF-based build and it is way smoother than any other ROM. Also, video recording is now flawless. I can't thank you enough, really!

Anyway, I have just a single issue (which I'm not sure is ROM-related)

I tried to install Magisk (version 16 and 16.3 BETA) and I discovered that after that I couldn't install any apk at all and Play Store didn't let me install anything!

I have discovered this because in the logcat a line like this appeared:

Magisk : apk_install: Error:failed to write; readlink failed: EACCES (Permission denied)

In facts, after uninstalling magisk PackageInstaller started to work again

Again, I'm not sure this is ROM related, but I'm reporting this issue because in the "official" UA 8.1 (the one from April 04) everything was fine:confused:

Anyway, I'm going to attach the full logcat and the output of strace when I try to run the Package Installer

I hope to be helpful, and thanks again for your work. Hammerhead is still rocking!
[Nexus 5 Original Android Development] Syntaxer:
Where exactly can I download the CAF based build? I am currently on different ROM...
[Nexus 5 Original Android Development] HermannSenator:
You can download it in the "Download" tab of the thread
[Nexus 5 Original Android Development] Syntaxer:
Oh, right... I didn't see it with Tapatalk on my phone. I had to look through browser...

Thanks

---------- Post added at 01:04 AM ---------- Previous post was at 01:00 AM ----------

Could you please check how is the calling through Bluetooth?
[Nexus 5 Original Android Development] HermannSenator:
Sorry, I don't have any bluetooth device to test :(
[Nexus 5 Original Android Development] amaces:
Definitely will. Still working on ancient OMAP4 devices, so hammerhead still has some good life left in it.

Yup, it's because of the SDCardFS support. What I found in the old tree was backported for Nougat, and doesn't have all the features required by Oreo. Since I couldn't add directly on top of that, I reverted to regular FUSE-based operation (ro.sys.sdcardfs=false). Magisk must've somehow masked or overridden that prop. It will be fixed in the next CAF kernel build.

It probably doesn't work properly since I haven't done anything there yet.
[Nexus 5 Original Android Development] HermannSenator:
Thanks for the explanation!
[Nexus 5 Original Android Development] adityakumar246:
When do we expect a stable 8.1 hammerhead version?
[Nexus 5 Original Android Development] leeloui006:
help

i cant install gapps...

Can you please tell me the correct procudure step by step?Maybe i wrong somethings:

1.umout /system

2.Wipe Data, Cache, Dalvik and system

3.install the ua_hammerhead-8.1.0-EXPERIMENTAL-20180404-0250.zip

4.install the opengapps (arm-8.1-stock-20180414,arm-8.1-pico-20180414,arm-8.1-micro-20180414,arm-8.1-micro-20180324 ,arm-8.1-micro-20180306 :all of them failed)

5.wipe Dalvik

6.reboot

android 8.1 is ok,but gapps cant find.

help
[Nexus 5 Original Android Development] Android-Andi:
adb pull /tmp/recovery.log

Right after flashing failed, attach the log.
[Nexus 5 Original Android Development] HermannSenator:
Use a smaller package of gapps, like nano or pico. There isn't enough space in /system to fit a bigger package!

AND: make sure /system is *unmounted* before flashing anything
[Nexus 5 Original Android Development] GiGiSSiMo:
I've installed latest CAF version on top of previous build this morning.

Also installed latest gapps.

Some random reboot today.

Also volume issue: no audio with cables headphones and very low audio from ear phones...

No possible to update or install apps with magisk patched boot image as previously said from another user.

Sorry for bad English.

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] leeloui006:
1.can i flash the latest nano or pico? OR which version?

2.i only umount /system before flashing rom...

should i unmount the /system before flashing gapps?

AND should i wipe the system after unmount /system for each?

AND my step2 is ok?
[Nexus 5 Original Android Development] HermannSenator:
You can flash the latest nano or pico from opengapps.org

I follow exactly these steps;

-Wipe system, data (not internal storage), cahe and dalvik-cache

-Go to mount and unmount /system

-Flash ROM and pico or nano gapps

-Reboot

This way, it works for me.
[Nexus 5 Original Android Development] leeloui006:
In your step2: Go to mount and unmount /system

Do i umount /system by advanced->Terminal?

then select the system in mount menu?

And unmount first or mount?
[Nexus 5 Original Android Development] HermannSenator:
There is a menu on the principal page of TWRP called "Mount". From that menu uncheck " system "
[Nexus 5 Original Android Development] leeloui006:
lol， i flash that first time...

thx a lot, it works!!!

:good::good:
[Nexus 5 Original Android Development] HermannSenator:
No problem, happy to be helpful!
[Nexus 5 Original Android Development] Vrushant:
Where is the CAF based rom file. In downloads there the old one I can't find the new CAF based so pls share the link

---------- Post added at 01:42 PM ---------- Previous post was at 01:41 PM ----------

And what about battery life is it any better than other ROM's
[Nexus 5 Original Android Development] :
This thread has tab "Download" available at the top. There you can find CAF rom.
[Nexus 5 Original Android Development] Vrushant:
Yeah I checked that but there are the earlier builds & if there is a CAF based than please help me to identify it
[Nexus 5 Original Android Development] lulli1:
https://xdaforums.com/devdb/project/?id=20312#downloads
[Nexus 5 Original Android Development] Vrushant:
Thank you so much
[Nexus 5 Original Android Development] @vjnexus:
Is video recording fixed????
[Nexus 5 Original Android Development] :
CAF Beta version available in downloads should have video recording fixed but there can be other bugs cause this build is in early stage.

amaces wrote about this here:

https://xdaforums.com/showpost.php?p=76261249&postcount=1607
[Nexus 5 Original Android Development] kykint:
Indeed impressed by how much efforts you are still putting into our old nexus 5... Thank you Team Unlegacy Android :)
[Nexus 5 Original Android Development] amaces:
Another semi-CAF build in Downloads with the previous SDCardFS and audio playback breakage fixed. The BT HFP issue is still there of course, so going back to that next.
[Nexus 5 Original Android Development] GiGiSSiMo:
Do you think headphones works on this build? I'm asking because since I can't use bt audio while driving, I need headphones working.

Thanks for yours efforts.

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] HermannSenator:
Okay guys, I tried the latest build

Music from the headphones plays fine

But the app installation issue still persists. I'm going to catch another logcat, if it is useful.

(I compressed the logcat in an archive because it is >512kb :V)
[Nexus 5 Original Android Development] amaces:
Pretty odd, are you able to test a clean install w/o Magisk? Alternatively, is adb install working with local APKs? There's also a new kernel in boot-hammerhead.img (Downloads).
[Nexus 5 Original Android Development] HermannSenator:
I'm going to test this tonight and I'll immediately report!

Glad to help~
[Nexus 5 Original Android Development] HermannSenator:
After a Clean Install without magisk all is working fine (but it was fine also in the first build).

Indeed, Magisk is the problem :(

>Tried with adb install (with magisk installed) and it gave me an error

>I also tried the new boot image in the download section and still no luck :v

I'm attaching a logcat and a dmesg, if it is useful
[Nexus 5 Original Android Development] amaces:
Thanks for all this good info. Did you say everything is fine with Magisk on top of current UA build (e.g., ua_hammerhead-8.1.0-EXPERIMENTAL-20180404-0250.zip)?
[Nexus 5 Original Android Development] HermannSenator:
Hey, no problem. I'm here to help~

Yep, I have been using the latest ua build for a long time and it was just fine!
[Nexus 5 Original Android Development] Nolfer:
gapps tells me i have to flash 5.1.1 sdk 22 gapps, not 7.1. Why?
[Nexus 5 Original Android Development] seijoo:
gapps disappeared. Give me a link.
[Nexus 5 Original Android Development] Android-Andi:
Maybe because your recovery is old and was compiled on 5.1 source which it now detects

---------- Post added at 09:57 PM ---------- Previous post was at 09:56 PM ----------

http://xdaforums.com/android/software/app-minimal-gapps-gapps-lp-20150107-1-t2997368

http://opengapps.org/

I prefer first mentioned gapps by deltadroid.
[Nexus 5 Original Android Development] seijoo:
ua_hammerhead-8.1.0-EXPERIMENTAL-20180404-0250

I want gapps for nexus 5.

Previously it was on the Download tab and now it disappeared.
[Nexus 5 Original Android Development] GopalKaul:
Dude just check the post above you!
[Nexus 5 Original Android Development] seijoo:
I can not install it.

Can you tell me which gapps to install?
[Nexus 5 Original Android Development] ipdev:
[MENTION=8725723]seijoo[/MENTION]

Gapps are related to device architecture and Android version. Nexus 5 is an arm device.

Try
open_gapps-arm-8.1-pico-20180427 Download
[Nexus 5 Original Android Development] seijoo:
Thank you. I can not try now outside. I will try in a few hours.
[Nexus 5 Original Android Development] hanifvahora:
Aosp 22/4 Caf there are any suitable gappa coz vacant able flash together with rom otherwise tapas flashing after rom booting google account cannot able to deduct..

.

How to flashing aosp 23/4 caf rom prociser. ???~?~ n which gappa suitBle
[Nexus 5 Original Android Development] Nolfer:
my recovery is twrp 3.2.1-1, the latest for nexus 5
[Nexus 5 Original Android Development] amaces:
I've added a few more filesystem fixes, but still somewhat confused why Magisk would break this badly.

In related news, I need a few brave testers with J1 replacements screens; there seem to be unforeseen issues there. The AOSPA patch is not complete, nor fully correct, but even using that creates a non-bootable system on rev. 11j hardware. I'm hoping someone manages to capture a last_kmsg upon warn reboot, otherwise we need serial console output.
[Nexus 5 Original Android Development] HermannSenator:
OH MAN

This time I have a good news! Tried the latest build and this time everything is flawless! Play Store and APK installation with Magisk installed works as intended.

You're really the best! Cheers!:victory::laugh:

About the replaced display, I'm afraid that this time I can't help you as I have an original display :v
[Nexus 5 Original Android Development] Sashko98:
The AOSPA patch was for issue, different than the one presented here, where the mdss resources couldn't be loaded properly due to the way orise j1 panel was registered(same as the AOSP ) which is incomplatible with the way CAF registers the panels, and loads the mdss resources. Basically without this patch you would be stucked at Google screen until you are rebooted back to the bootloader.