yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] lethrface:
I did unzip them and tried to flash both img files and get that error.

---------- Post added at 02:28 PM ---------- Previous post was at 02:25 PM ----------

I had no problem flashing the recovery image. then i flashed the vender image in recovery but get the error trying to flash radio and bootloader img files
[Nexus 6P Android Development] fhem:
You CAN NOT flash the bootloader and radio w/ twrp. You must use a pc and fastboot flash those images.

fastboot flash bootloader {bootloader.img}

fastboot reboot-bootloader

fastboot flash radio {radio.img}

fastboot reboot
[Nexus 6P Android Development] JamFan05:
[MENTION=5526655]fhem[/MENTION]

I am trying to learn how to build the stock Angler kernel and I am running into this problem when I run angler_defconfig.

warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)

warning: (SND_SOC_APQ8074 && SND_SOC_MSM8994) selects SND_SOC_MSM_HDMI_CODEC_RX which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && FB_MSM_MDSS_HDMI_PANEL && (SND_SOC_MSM8974 || SND_SOC_APQ8084 || SND_SOC_MSM8994))

warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))

warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)

warning: (SND_SOC_APQ8074 && SND_SOC_MSM8994) selects SND_SOC_MSM_HDMI_CODEC_RX which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && FB_MSM_MDSS_HDMI_PANEL && (SND_SOC_MSM8974 || SND_SOC_APQ8084 || SND_SOC_MSM8994))

warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))

Do you have ideas for a solution to this?
[Nexus 6P Android Development] fhem:
Sorry can't tell with the info you supplied.

1. What is your Linux set up? Have you installed all the required tools for building aosp?

2. What kernel source are you using?

3. What toolchain are you using?

4. Here is the script I use to build mine. BEWARE your paths will be different.

I will be happy to try and help you more ---> send me a PM.
[Nexus 6P Android Development] lethrface:
thats what i did thx
[Nexus 6P Android Development] lethrface:
ok so feel stupid. i was doing fastboot flash {bootloader.img}. everything flashed once i entered correct commands. thx
[Nexus 6P Android Development] fhem:
LOL NP --- I'm sure we've all been there. I know I have been many, many, many times!!!!! :D:good::good:

Glad you got it worked out.
[Nexus 6P Android Development] zymphad:
Features in description look nice. I would suggest changing name of this rom. A noob wouldn't be able to put together a rom like this.
[Nexus 6P Android Development] farfromovin:
Thank you fhem for sharing your ROM with us. I like it. Stock and just a couple options built in.

Personally, I'd like a lockscreen power button flashlight option but its your ROM! Thanks again.
[Nexus 6P Android Development] ynedelskiy:
ims.apk

Hi!

In your source repo 'platform_vendor_huawei' I see this files:

/app/ims/ims.apk

/lib/libimscamera_jni.so

/lib/libimsmedia_jni.so

/lib64/libimscamera_jni.so

/lib64/libimsmedia_jni.so

It seems they were copied to 'proprietary_vendor_huawei' repo from the vendor.img file

from Angler's MHC19I factory image

dl.google.com/dl/android/aosp/angler-mhc19i-factory-fb2128bf.tgz

So I'm curious:

1) why they are included?

2) what is the function of ims.apk and relevant libraries?

Any answers appreciated!
[Nexus 6P Android Development] fhem:
They were originally added to fix a problem w/ volte and wifi calling. Not sure if they still needed but they sure don't hurt anything.
[Nexus 6P Android Development] ynedelskiy:
file list

Thank you!

For the same repo 'proprietary_vendor_huawei'

there were initial commit of file angler-vendor-blobs.mk:

github.com/PureNexusProject/proprietary_vendor_huawei/commit/fe7e12828a137d68269d45b78dfd775a560aadf5#diff-4719f23b59b91a1ce58d4a9d829b2939

There are tons of files in Nexus 6P system.img and vendor.img, why only this exact list of files (as seen in commit) were taken for that repo to commit?

How would one decide which files to include?
[Nexus 6P Android Development] fhem:
HAAAAA!!!! If I was sure of the answer to that question people would be forking me instead of [MENTION=4395895]BeansTown106[/MENTION]. I believe they start by diffing aosp build with the factory image and building from there. It takes a lot knowledge, trial and error, and probably some luck. Beans seems to be the best --- I wish he would post a tut on how he does his. I would really like to learn/understand his technique.
[Nexus 6P Android Development] ynedelskiy:
Yep, lets ask him :)
[Nexus 6P Android Development] DanteGR:
Hello [MENTION=5526655]fhem[/MENTION]

Would it be alright if I dirty flashed Noobbuilds over the stock odexed rom from http://xdaforums.com/nexus-6p/development/n6p-angler-mdb08m-deodexed-rooted-v1-0-t3245907 ?

Thank you in advance.
[Nexus 6P Android Development] fhem:
That will give you problems. The odexed rom uses systemless root and this build uses system root. I personally never dirty flash. I keep TWRP nanoid backups of the diff roms I setup on my device. I always wipe all except internal storage x 2 -----> flash new rom and other zips boot up sign in and then --------> from twrp restore data partition from the appropriate backup. This approach works best for me. Hope this helps.
[Nexus 6P Android Development] ultyrunner:
Delete

---------- Post added at 12:23 PM ---------- Previous post was at 12:05 PM ----------

Wondering if you'll be posting an update with the urgent security patch, released by Google on 3/16?
[Nexus 6P Android Development] fhem:
If your talking about this ------> it will be in the 4/16 update.
[Nexus 6P Android Development] DanteGR:
Just for the history this method didn't work for me. As soon as I restored data partition the phone boot up and Phone and System were constantly FCing and I couldn't even get on the homescreen. Don't know what went wrong.

Will try to clean flash Noobbuilds when I have some time. [emoji4]

Swiftkeyed from my Nexus 6P
[Nexus 6P Android Development] fhem:
Sorry you had problems with that. It always works for me. You did restore data from a backup of noobbuilds rom not stock --> right??? Oh I forgot ---> I also always open Supersu after initial boot before restoring data partition.
[Nexus 6P Android Development] DanteGR:
Thanks for your response.

I restored the data backup I had from the stock odexed rom as I wrote in a previous reply of mine. So maybe that was the problem. Anyway it's all good I will clean flash without restoring data in the near future.

No worries [emoji4]

Swiftkeyed from my Nexus 6P
[Nexus 6P Android Development] fhem:
Sorry I should have been more clear w/ my reply. I meant to restore data partition from backup of my aosp build using system root. I will be looking at changing to systemless root for my future aosp builds ----> so hopefully this will help w/ this issue -----> and will undoubtedly give us some new issues LOL :good::D
[Nexus 6P Android Development] cybercytler:
Thank you for the camera zip!!!!!!!!!!!!!!!!!!!

thank you very very much for that camera zip!!! Man! Fantastic! My camera is working again! I flashed a few roms to the nexus 6p....but when i boot into system on a new rom the factory camera is missing everytime. why is this happening to me??? can you help me with that issue? i flashed your camera zip and voila....factory camera appeared on the homescreen!!!! i am soooooo happpy now! Thanks to you my friend! THANK YOU!!!!:):):):):):):):):):):):):):):):):):):o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:o:good::good::good::good:
[Nexus 6P Android Development] fhem:
The factory camera is not built/included with most custom/aosp roms. It is not included in the aosp directory. Some gapp zips do include the camera ---> you just have shop around and find what works for you. Glad that zip helped you. It is the one I always use my own 6P.
[Nexus 6P Android Development] cybercytler:
I got it! Thanks...thanks thanks.... a million times to you! I trtied many of the roms here...but you are a true lifesaver! None of the developers include camera app with their roms. Shame on them... because of this i was planning to sell my nexus 6p,and buy something else,like note 5...or wait till note 6 release.... but now....i am in love again with my nexus 6p...thanks to you!!! Really! this is the truth! I bought yesterday SNAP camera app! it is great. but i tried all of the camera apps on my nexus 6p,but the factory one is the real deal for me! (cameringo and manual camera...not so good on nexus 6p... camera fv-5...not so good...etc...open camera,is **** for me...) I was going to donate you,but i am a poor guy....working and living here in serbia in one printing house....(260 euros a month) :( Peace! Live long man! Thank you for your camera zip again and again!! !! I made 10 copies of that zip,on 10 usb sticks and also on my hard drives too! :)
[Nexus 6P Android Development] fhem:
NP. I don't take donations ------> you can hit my thanks button a few times. It's free. :good::good::D ---> this is my retirement hobby.

I am glad that zip helped you.
[Nexus 6P Android Development] razrlover:
Looking forward to r24, hope the systemui tuner gets worked out, anyways cheers remember you're builds back to N5 I believe,;)
[Nexus 6P Android Development] fhem:
New build up in op

Release 2016/04/06

*Updated to aosp 6.0.1_r24 MHC19Q

*Apr. 2, 2016 Security Patch included

*Updated prebuilt WebViewGoogle

*System UI Tuner PLEASE NOTE THIS A WIP!!!

*Misc tweaks see github.

I have been busy with my other retirement hobby ----- TAXES lol ---- so I did not get a chance to work on the SysUITuner. I also have been looking at the N previews and it appears that the SysUITuner is being totally reworked/enabled on stock -----> so I may just wait for that.

As always -----> Enjoy.
[Nexus 6P Android Development] razrlover:
So no use of system ui until you do a N build, could be months away i suppose? OK understand your busy
[Nexus 6P Android Development] fhem:
I got it enabled just haven't finished all the mods req'd for 100% functionality. It is quite involved and this old guy is a very slow learner ---> I'm still taking baby steps at 70 years old :D:good::cool:
[Nexus 6P Android Development] razrlover:
Well you are humble indeed. Thank you for addressing it even if partially fixed, its appreciated
[Nexus 6P Android Development] uodii:
Are you seriously 70 years old?? I applaud you good sir. Makes me really want to get up off my lazy a** and start learning this instead of putting it off like I have been for the last 2 years.

I know there's a bunch of guides and yada yada yada floating around these forums, but did *you* use any one guide in particular to get you started into this process?
[Nexus 6P Android Development] fhem:
Yep I am 70 and this has become a retirement hobby. Try this ----> the basic concepts are the same when building most Nexus devices. ROM building is fairly staright forward -----> Git and modding roms on the other hand is another world. LOL If you post questions on the N6 thread I linked I will be happy to respond.
[Nexus 6P Android Development] uodii:
Bookmarked. Thank you!
[Nexus 6P Android Development] gsxr750:
Retired from building ROM since galaxy nexus (Nexus Evolution). Flashed this last night and really digging it alot. Almost stock and clean! Not bloated by all the basic mods that almost every rom has. Kept it the stock basically and stable. Pretty cool that you are doing this as a hobby for the age that you are at. Most would be intimated.
[Nexus 6P Android Development] ohyeah521:
Hello, I am a novice, then build N6P source when encounter some problems, I according to the official Google AOSP method the deployment environment, you can compile the source code to make mistakes.Could you tell me the need any special Settings?I read the noobbuilds_manifest file, but not one of them believe that shows how Ubuntu deployment development environment.There is a small suggestion, can you add a open or close the SELinux to ROM options, it is very convenient, if you don't have the intention to develop, but can you tell me how to modify the source code, to generate the ROM is off by default?
[Nexus 6P Android Development] fhem:
To get set up read and study these two threads. The build environment is the same regardless of the device you are building.

http://xdaforums.com/nexus-6/general/guide-building-aosp-nexus-6-continued-t3122987

http://xdaforums.com/nexus-9/development/how-to-build-compile-unaltered-aosp-5-1-t3093394

If you really want selinux permisssive (not recommended) you can do it from device teminal emulator command (does not stick on reboot) or mod/build the kernel from source with the following.

https://github.com/fwhem/aospdK/commit/c2b0ae8a1b796ababc6f74b05f5ffb4f2e699b54
[Nexus 6P Android Development] ohyeah521:
I'm really very grateful to you, you helped me a lot, I used to be in the teminal "setenforce 0" to shut down.
[Nexus 6P Android Development] ohyeah521:
Hello, I'd download the source code, and compile the source code, a nexus6p produces a zip file, noobbuilds_n6p - MHC19Q - 20160418. Zip, I copy it to the mobile phone, and then enter the recover, double wiper, brush, brush and then into the latest gapp, and then restart the system, mobile phone pop-up prompts: unfortunately Google play store has stopped.Could you tell me how to solve this mistake this?
[Nexus 6P Android Development] fhem:
Sorry you are having issues. It all takes time to learn. I have had no issues w/ my rom. Some gaps YES. --- Did you try my rom from here?? https://www.androidfilehost.com/?fid=24459283995314884 If you did all correctly the one you built should be identical!!!!!

I want to make sure I understand what you did.

1. You grabbed the source code from here https://github.com/fwhem/noobbuilds_manifest correct?? When did download??

2. You may want to try this branch. https://github.com/fwhem/noobbuilds_manifest/tree/1.5 I rebased on top of dr1.5 (r24). This is what I am running now.

3. You built the rom using the script from here https://github.com/fwhem/build-scripts/blob/mm/N6P_BUILD.sh correct?? Did you change anything before building??

4. Did you use these gapps. https://www.androidfilehost.com/?w=files&flid=41020 ??????

5. Have you flashed the latest vendor image??? https://www.androidfilehost.com/?fid=24459283995313705

6. Procedure

Go into recovery wipe ----> flash rom (DO NOT REBOOT NOW) ---> flash gapps ----> REBOOT NOW
[Nexus 6P Android Development] ohyeah521:
1、Yes, I have download your ROM, and brush into the gapps, it can be a very good use.

2、I'm from here to download the source code at https://github.com/fwhem/noobbuilds_manifest

3、Yes,i use N6P_BUILD.sh to build the source. i do not change anything.

4、YES

5、YES

6、YES
[Nexus 6P Android Development] ohyeah521:
thank you very much ,this branch work fine. https://github.com/fwhem/noobbuilds_manifest/tree/1.5.
[Nexus 6P Android Development] fhem:
I'm glad that worked for you. I suspect when you first sync'd my repos you caught me in the middle of doing some rebuilding and that broke some things. I plan to get back to one branch w/ May release. If Google cooperates!!!!!!!!! :laugh::good::good:
[Nexus 6P Android Development] ohyeah521:
We can in this way, a branch is used to download the Android source code, a branch to download Google APP, in this way, users can download the two branches follow up your requirements, then compile, you can generate soundtrack gapps ROM
[Nexus 6P Android Development] fhem:
New Build Up In OP

Release 2016/05/04

*Updated to aosp 6.0.1_r25 MTC19T

*May 1, 2016 Security Patch included

*Updated kernel source.

*Updated prebuilt WebViewGoogle

*Updated vendor blobs

*Misc tweaks see github.

Updated linked GoogleCamera to latest ver. 3.2.045-arm64-nodpi.

See/read OP for all instructions.
[Nexus 6P Android Development] lethrface:
Whats the correct process to dirty flash this? Last update i wiped cache installed rom and i got a boot loop.
[Nexus 6P Android Development] fhem:
Here's what I do.

1. Make sure I have rom, gapps, camera, vendor image and anything else i want ot flash w/ rom loaded on phone.

2. Go to TWRP and make backup.

3. Wipe all (system, data, caches) except internal storage x 2

4. Flash rom, flash vendor image, flash gapps, flash the rest -----> boot up---->sign in.

5. Go to settings --> Rom Customization ---> hit SuperSu and alow it to install backup

6. Return to TWRP -----> Restore---> latest backup DATA ONLY NO SYSTEM OR BOOT ----> Reboot good to go.

This always works for me.
[Nexus 6P Android Development] fhem:
New Build Up In OP

Release 2016/06/08

*Updated to aosp 6.0.1_r45 MTC19V

*Jun 1, 2016 Security Patch included

*Rebased on top of 6.0.1_r25

*Updated SuperSU v:2.74-2

*Changed BusyBox to osm0sis Busybox installer v:1.24.2 --Thanks [MENTION=4544860]osm0sis[/MENTION]

*Updated AdAway to v: 3.1.1(56) -- built from source

*Added enable adb debugging over network (non-persistent) ----> Settings/Developer options (under Debugging)

*Reorganized/cleaned up vendor/noobbuilds

*Updated prebuilt WebViewGoogle

*Updated vendor blobs

*Misc tweaks see github.

Enjoy.
[Nexus 6P Android Development] ChavitoArg:
I'm gonna try this for sure

Enviado desde mi Nexus 6P mediante Tapatalk
[Nexus 6P Android Development] MidnightDevil:
Amazed to see this awesome work by a 70 year old pal! I am 33 and I wish for half of your patience and dedication. I am going to take this ROM for a ride ! Thank you so much!
[Nexus 6P Android Development] fhem:
New build up in op.

Release 2016/07/08

*Updated to aosp 6.0.1_r54 MTC19Z

*Jul 5, 2016 Security Patch included

*Updated SuperSU v:2.76

*Updated kernel source

*Updated prebuilt WebViewGoogle

*Updated vendor blobs

*Misc tweaks see github.

Radio unchanged ----> only need new bootlaoder and vendor linked in op.

Enjoy.

EDIT: New bootloader linked in OP ----> fastboot flash only.
[Nexus 6P Android Development] Pollie81:
As i recall bootloader did change and MTC19Z is for bullhead, not for angler. I guess you made a mistake. [emoji6]

Or i'm to much of a noob because you do point to the proper vendor image. [emoji16]
[Nexus 6P Android Development] Toutatis_:
It's not a mistake, it's because it's based on latest AOSP sources, which are MTC19Z.

Edit: https://android.googlesource.com/platform/build/+/android-6.0.1_r54
[Nexus 6P Android Development] fhem:
The bootloader did change to 3.52 ---- Thanks I missed that. I updated the op link.

The MTC19Z is for aosp tag 6.0.1_54 ----> You see that most all devs are building to that for latest push form google.

That is the stock vendor image req'd for this build.
[Nexus 6P Android Development] Toutatis_:
I don't understand why [MENTION=5526655]fhem[/MENTION] says the bootloader hasn't changed compared to MTC19V though... to me, it has changed

It's now 03.52 instead of 03.51. Radio is the same as MTC19V though (03.61).

Edit: Ninja'd by [MENTION=5526655]fhem[/MENTION]!
[Nexus 6P Android Development] _frog hair:
Please delete.

Sendt fra min Nexus 6P med Tapatalk

---------- Post added at 07:02 PM ---------- Previous post was at 06:45 PM ----------

Could somebody be so kind and link me to the correct vendor image? Sorry if this has been covered, maby im just confused?

Sendt fra min Nexus 6P med Tapatalk
[Nexus 6P Android Development] fhem:
The vendor image is linked in the OP.
[Nexus 6P Android Development] fhem:
New build up in op.

Release 2016/08/03

*Updated to aosp 6.0.1_r62 MTC20F

*Aug 5, 2016 Security Patch included

*Updated kernel source

*Updated prebuilt WebViewGoogle

*Updated vendor blobs

*Misc tweaks see github.

Radio unchanged ----> bootloader and vendor images are new. BOOTLOADER FASTBOOT FLASH ONLY.

Note: I am currently testing adding osm support. Until I do get it added Substratum legacy works fine for me.

Enjoy
[Nexus 6P Android Development] cybercytler:
please....can you give me the newest google camera zip? thanks already ! THANKS!!!!
[Nexus 6P Android Development] fhem:
Linked in OP https://www.androidfilehost.com/?fid=24533100289589736

I have read Preview N5 version has problems on MM builds.
[Nexus 6P Android Development] Sheetzie03:
Pittsburgh .... Aye
[Nexus 6P Android Development] cybercytler:
thank you . we wil have nougat anyway soon.
[Nexus 6P Android Development] :
Looking forward to osm support patiently :)
[Nexus 6P Android Development] odeccacccp:
Great ROM, thank you for doing this, exactly what I was looking for.

I love using stock kernel, I see you've included kernel auditor, I am guessing the intent is to make some adjustments, do you mind sharing what things have to adjusted in it for this build?
[Nexus 6P Android Development] odeccacccp:
I've noticed a root issue, Greenify would not Auto-Hibernate saying a third party was preventing.

After reading up about it, it turn out it is due to root problems, I flashed SuperSu in recovery and everything works great
[Nexus 6P Android Development] roan.util:
Not seeing anybody else mention this, but Settings>System UI Tuner>Quick Settings>Add Tile causes a system ui crash.

Anybody have this issue? Change log doesn't show it to be a WIP anymore.
[Nexus 6P Android Development] fhem:
Yes you are right -- It is still a WIP that will not be finished now that N is dropping. Sorry for any issues. The sys ui crash resets immediately -- so shouldn't be a big problem.
[Nexus 6P Android Development] roan.util:
Ah, OK. Just had to check since I didn't see any other mentions.

Yea, it's not a big deal. Resets and is perfectly stable.
[Sony Xperia M4 Aqua] dushandiaz:
Has anyone tried whether otg works after using a powered otg cable?

Just like it worked on Xperia L .

Thanks if anyone can reply.

:D:D:D :good::good::good:
[Sony Xperia M4 Aqua] FirstMn:
I mean it is need kernel and software support or anything else? On my old ace 3 it worked from cm11 to 12.1 well
[Sony Xperia M4 Aqua] dushandiaz:
well it works well for the xperia L stock rom no need of cm.

http://xdaforums.com/xperia-l/general/guide-usb-otg-support-sony-xperia-l-t2427150

and for nexus 4

http://xdaforums.com/nexus-4/orig-development/usb-otg-externally-powered-usb-otg-t2181820

and some other devices got otg using this method as well.

I don't know whether this will work for lollipop.

we should be able to get otg to m4 through this or similar method.but actually nobody seems to be interested. :mad: :( :( :confused:

I dont have a powered otg cable or usb hub to test it.

If anyone can test it please let me know.

thanks

:D :o
[Sony Xperia M4 Aqua] dushandiaz:
why is nobody interested?
[Sony Xperia M4 Aqua] boylush:
Its a software bug with M4, other phones work without having external power.
[Sony Xperia M4 Aqua] dushandiaz:
If it is a software issue, we should be able to make it.

but i think the cpu and hardware supports usbhost but sony haven't made it possible to power a device externally.

and files such as Android.hardware.usb.host is missing on the m4.

check usb host checker.

if we can add these required files and power the device externally. otg should work just like xperia L.

:fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed:
[Sony Xperia M4 Aqua] boylush:
Should be a mapping issue