yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] nomadsc:
Why not try?

We don't lose anything by trying
[Nexus 5 General] vikrant699:
That try wont give you anything, why would a company worth a lot of billions listen to around some 1000s of people when it takes them towards loss
[Nexus 5 General] :
I hate to admit it but I have to agree with these guys. It's pointless. Once the source code is out we'll all be building ROMs anyways
[Nexus 5 General] pranavmali:
So basically NO ANDROID N FOR NEXUS ! or JUST A SYSTEM UI!????????????????????????????
[Nexus 5 General] [==)BULLET(==]:
It's not worth porting a developer preview(as it will become obsolete within weeks) that too without source code, and instead of speculating about Android n it's better to wait for the official launch.
[Nexus 5 General] Mr.FREE_Bird:
What are you doing in this thread then if you think it's not worth it...
[Nexus 5 General] [==)BULLET(==]:
Shooting birds.
[Nexus 5 General] looney_tkp™:
lol hahahaha

Sent from my Nexus 5
[Nexus 5 General] lupohirp:
right if commit aren't present, but one commit is here: so they are working on that tag. Also N7 2013 have one. I think that N5 and N7 2013 will get the final release of N, like Lollipop for N4.
[Nexus 5 General] jsgraphicart:
Good luck. :good:
[Nexus 5 General] :
If you need me to test it out on my phone, please upload the zip to a hosting site and post the link
[Nexus 5 General] dekefake:
Uploads speeds are so long here, id rather test on mine lol, but thanks

The only build i will upload will work. I wont upload non-booting build, as its a waste of time
[Nexus 5 General] opssemnik:
while i believe the n5 will receive N, that isn´t an argument, the android source code is handled by an automated build merger, if the project is still active(which in the case of the n5, it is) it will sync any new tags made
[Nexus 5 General] cell2011:
think it will work if you got past bootloop? Werent you the guy that ported MM on devices when preview came out? Is N same bootloader and kernel as MM?
[Nexus 5 General] jsgraphicart:
Marshmallow didn't need to be ported. It was already available for the Nexus 5. I'm assuming this will be harder to get working since he has to actually take something made for a different device and make it work for the N5.
[Nexus 5 General] cell2011:
I was talking to dekefake
[Nexus 5 General] jsgraphicart:
Well excuse me.
[Nexus 5 General] bemolx:
Hi everyone!

I see there's huge interest in the N Dev Preview!

I'm downloading latest source code. This night or tomorrow morning I'm starting building. So.. Stay tuned!

Cheers,

bemolx
[Nexus 5 General] alexanderi96:
Glad to see such an interess from the developers :D

Can't wait to try a running build!

Good luck
[Nexus 5 General] DVDandroid:
I'm no expert in this matter, but I think you cannot build this rom from sources, because the Nexus 4 haven't received officially l-preview and m-preview build, but however the tags exists

mako/l-preview

mako/android-m-preview-1
[Nexus 5 General] crisis_trustee:
Current news:

Google Nexus 5 To Receive Android N - http://www.ibtimes.com/google-nexus...iew-download-links-available-nexus-5x-2333787

Google Testing Android N Preview For Nexus 5 - http://thebleg.com/2016/03/android-n-preview-nexus-5/

android / device / lge / hammerhead /

android-n-preview-1

- https://android.googlesource.com/device/lge/hammerhead/+/android-n-preview-1
[Nexus 5 General] johngalt1:
There is no source code.
[Nexus 5 General] bemolx:
android.googlesource.com/platform/manifest/android-n-preview-1

Already syncing my repo.
[Nexus 5 General] ast00:
Good luck!
[Nexus 5 General] opssemnik:
the source code for N is pretty incomplete, system ui is the same from M,frameworks base is the same from M, art is the same from Master branch(dosen´t have the newest jit compilation), etc...

as i said, the commits are merged by an automated process, internally google dosent use these branches, so if the project is still active, is gonna be synced with a new tag, even though it hasnt received any commit. for instance, the lastest commit from n5´s kernel on n preview tag is from 2 months ago, and its the same on mm-mr1
[Nexus 5 General] dekefake:
No source code for N preview. That is only the device tree. All other repos are not available : apps, framework_base, ... So u just cant build N. If we were able, you should already see roms xD

Didnt ported anything lol

For N : It will boot i think. Just a matter of time, and courage form me xD
[Nexus 5 General] cjunk:
Dang..most ROMs barley got m running good.....
[Nexus 5 General] neel_bat_beyond:
By any chance will Google officially release n dev preview in coming months? :)
[Nexus 5 General] Rezei:
God. Guys. Stop killing each other over a OS... Good things take time. So wait for **** sake. Im tired of coming to this thread and reading hate all over it.
[Nexus 5 General] molanjami:
N would make the N5 soooo much better in regards to battery life.
[Nexus 5 General] Mr.FREE_Bird:
I wasn't throwing hate to anyone, I just asked that guy what he's doing in this thread if he thinks the N Preview isn't worth porting. Thats it. And then he came witht a stupid reaction which isn't worth giving attention to in my opinion. So calm down. I would love to try the N preview on my Nexus 5 and I think the most of the people following this thread think the same about it. So the ones who think it isn't worth it shouldn't even be on this thread.
[Nexus 5 General] Rezei:
Bird. My message was directed to all in general. If you go back a few pages you will see the same stuff all over again. And like i said earlier. Good things take time. So wait. And yes. Honestly i would love to try N aswell. Still. Im waiting. And we all shouldnt push the devs and just let them try to do it. So please.
[Nexus 5 General] Mr.FREE_Bird:
Yeahh you're right, I totally agree with you. We better all wait and give time to devs working on this. We will wait. :good:
[Nexus 5 General] [==)BULLET(==]:
Well I apologise for my "stupid reaction" because I didn't knew that posting my views on a discussion thread required your PERMISSION.
[Nexus 5 General] Mr.FREE_Bird:
Hahaha, no that "shooting birds" reaction was stupid. This isn't really a discussion thread anymore in my view. ( sort of ) Most people here are just following this to get some news about if a dev maybe gets somewhere with porting. So coming here to tell its not worth it is in my opinion dumb. And there's no point going in discussion because we 2 clearly have different thought about the Dev Preview.
[Nexus 5 General] :
I completely agree with you.

For the SECOND time, CAN A MOD PLEASE CLOSE THIS THREAD???
[Nexus 5 General] vikrant699:
Yep it should be closed down, there is nothing to discuss anymore
[Nexus 5 General] Rezei:
Im with you guys. All we can do is wait and drink tea for now.
[Nexus 5 General] [==)BULLET(==]:
[MENTION=3125148]KennyG123[/MENTION] sorry to bother you, but please close the thread as per op's request.
[Nexus 5 General] :
Thanks haha
[Nexus 5 General] [==)BULLET(==]:
Your welcome and congrats on your new device :)
[Nexus 5 General] :
Oh thanks! See that's what I mean, nicest community on this site haha :)
[Nexus 5 General] KennyG123:
I need to get an unlisted mention...J/K :p

Thread closed at OP's request
[Nexus 5 General] vikrant699:
I tried building form the source, synced the repo, with their kernel prebuilts it didnt get ahead of the bootlogo, took android marshmallow kernel sources, made them permissive and tried using them, it took me ahead, but black screen then logo and then back to twrp, though I guess its the kernel which is giving the main problem, it needs some modifications, if that are done, we can be sure to have even the previews I guess.
[Nexus 5 General] ddarshan:
Thanks for trying to port N for nexus 5. I can test the port if it boots fine.
[Nexus 5 General] pavik62:
Let us your building form the source ;)
[Nexus 5 General] vikrant699:
sorry, but didnt understand what you meant? :p
[Nexus 5 General] pavik62:
Give us a zip
[Nexus 5 General] dennes544:
Google DOESNT publish source code for developer versions! ONLY device tree! So anybody who trying to build N from sources, building Marshmallow with device tree for N! We can only port N from Nexus 6! Hope this message will stop other messages about compiling Android N from sources
[Nexus 5 General] vikrant699:
doesnt boot
[Nexus 5 General] Hammerhead2502:
Exactly. It's highly unlikely that we will get the n preview unless someone ports it from Nexus 6 or Google releases it officially. If not, then we will have to wait for the consumer release and the AOSP sources to build one. It would be better if devs here start porting it from N6.
[Nexus 5 General] bemolx:
Yeah, downloaded N6's dev preview. Gonna start porting when I get access to my PC.

Wysłane z mojego X2_Soul_Xtreme
[Nexus 5 General] Kotaless:
I think no need to rush. Developer Previews are always bad. And If you port developer preview from another device, I can't imagine how it would be.

Just wait final version and hope Google will release N to hammerhead. Even Google won't release N to hammerhead, I'm sure it will be better and easier to compile from source.
[Nexus 5 General] HidekiRyuga:
https://android.googlesource.com/device/lge/hammerhead/+/android-n-preview-1

they did test for our device
[Nexus 5 General] miseusegau:
I was going to make porting from nex 6 but I have not much time in this period, here you will find everything you need...good job guys...?

System dump: http://xdaforums.com/showthread.php?p=65750697
[Nexus 5 General] AndroGeek974:
Hi, someone deodexed the rom (n preview for n6) successfully ?
[Nexus 5 General] nilpernil:
Sub to this tread, interested intested in test when a build of the preview is abaliable for the n5 ?

Enviat des del meu Nexus 5 usant Tapatalk
[Nexus 5 General] crisis_trustee:
Google has added new device General Mobile 4G (Android One) "seed" to Android N Developer Preview program.

Link - http://developer.android.com/preview/download.html

Will wait Nexus 5 next?
[Nexus 5 General] Raienryu:
[NOT BOOTING]Built Android N Developer Preview

I've Got it to build, but it doesn't boot!

It shows Google Logo and then reboots , keeps looping that way, tried pulling last_kmsg from recovery but the last_kmsg is showing the information about booting to recovery and not the system somehow.

Last_Kmsg : http://hastebin.com/awerutatak.sm

[ 1.923077] init: SELinux: Could not load policy: Invalid argument
[ 1.923194] init: failed to load policy: Invalid argument
[ 1.923242] init: Security failure; rebooting into recovery mode...

Hey people

So by now many of you may have noticed that the Android N developer preview isn't there for our Nexus 5.

But then again, the source for android N and also the device, kernel trees respectively are all available. I've taken latest vendor binaries (MMB29V) from the google factory images website.

So I thought, I'd try building from source. I've also heard that someone already built but it doesn't boot and I figured instead of doing it separately, we could all do it together by posting fixes and stuff here.

Also I've been getting an error to build itself.

Here's the error that I'm facing. Would be nice if someone can help me out.

I've never faced such an out of memory error while compiling ROMs for LP or MM either.

Weird I'm getting them now.

My system is a

AMD A8 6410 APU (Quad Core 2.0 GHz)

8 GB DDR3 RAM

not too great but at least gets the job done.

Thanks

More Info About My Error:

I've read online that there's a way to increase the java heap size but then they also said that unless absolutely sure, increasing java heap size would only delay the final outcome and that increasing it would be no use if there's a memory leak in the code itself.

So not sure whether I must do it or not.
[Nexus 5 General] ramqashou:
Google added General mobile and it has about half the power the Nexus 5 has so i dont think it's a matter of performance
[Nexus 5 General] bemolx:
N Preview System Image

I don't have my N5 right now & and I can't test it right now so maybe one of you could test it?

Before you flash, please backup your phone etc to recover your device in case it won't boot.

If someone could flash it and give me any feedback it could be great!

Here you have link to AndroidFileHost: [link]

This is not final image!

Thanks in advance,

Cheers
[Nexus 5 General] :
Flashing it now!
[Nexus 5 General] :
Probably a noob question, but how do I flash this .img? Is it system.img?
[Nexus 5 General] devilteo96:
I will flash it tonight and I let you know how it goes.

Thanks in advice for your work[emoji106]

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 General] alen1901:
Isnt it kinda weird to see they are working on making android N to be much lighter and faster OS which would work great on more devices (low end ones), but they maybe wont update nexus 5 which is tons more then capable. I know their policy about updating and supporting older phones but.. Come on, its nexus 5, and android N is really just improvement of marshmallow, like marshmallow was improvement of lollipop. Its not different OS like kitat vs lollipop or ice cream sandwich vs jelly bean.

Sent from Pure Nexus 5
[Nexus 5 General] Gorgtech:
It´s all about the money. I´m not sure if the Nexus 5 (2013) will receive Android N. It would be capable of running the OS, that´s for sure but it will be 3 years old by the time N is released. Worst case, go the Custom ROM way with CM or other ROMs. Let´s wait for Google to decide if they will release Android N for the Nexus 5 (2013) and Nexus 7 (2013)...but I fear that these devices are already out of support.
[Nexus 5 General] jsgraphicart:
As much as I want a preview for our phone just to play with, I really don't think it's necessary as far as Google is concerned. The point of these are to get developers to develop early for their latest devices. They already have three devices that cover their phone market, one for tablets, one for chrome books and one for Android TV. It's still possible that we will get a final build. But there's really no need for Google to give a preview to every device they have made. Just the latest ones.
[Nexus 5 General] Mr.FREE_Bird:
How are we supposed to flash and test this? This image can't be flashed to the /system partition due the size of your image. And it doesn't come with a boot image... I won't try to test this in any way because I don't feel like messing my N5 up..
[Nexus 5 General] :
I'm wondering the same thing...
[Nexus 5 General] alen1901:
Well yeah, thats correct, but i was talking about final release. I think nexus 5 was the most selling google phone until nexus 6p came out. And not many people are buying new phones because they want new OS, its because they want new technology and better specs. Hell, many people are still stuck at KitKat and they dont know they can upgrade, and they dont care really. So they could easily push N for nexus 5. Nexus 4 is way too old, too old chips, camera etc, it makes sense to ditch it even on marshmallow. But nexus 5 still has new stuff inside really.

Sent from Pure Nexus 5
[Nexus 5 General] jsgraphicart:
Yeah, at a certain point, they have to cut the cord on some devices due to hardware. But I agree that the Nexus 5 is more than capable of handling Android N. And I feel like there is a really good chance Google will still update it with the final release. Like you said, the Nexus 5 is one of the most popular devices they have sold. I wouldn't be surprised if a lot of people even at Google still use it.
[Nexus 5 General] Mr.FREE_Bird:
Oh hahah bro.. I just gave a response to that lil boy who posted that "test image". But I do agree with you about the Final Release of Android N. I hope that google will the same as they did with releasing Lollipop for the N4.. The Nexus 4 also didn't got the Android L Dev Previews. I hope that it will be the same case for our Nexus 5 with Android N. It would be really cool if it just get one more update. This phone will be more than capable to run Android N so that won't be a problem. And this phone never let me down if it comes to performance, runs almost as good as it did from the day I got it. Although my N5 isn't my daily driver anymore. But still got it as a really nice backup and for playing and testing custom roms...
[Nexus 5 General] starkly_raving:
I don't think you've packed this right. It's way to big and there should be separate files if it is a flashable .img ... How did you pack it???
[Nexus 5 General] RevUnix:
how to flash?!
[Nexus 5 General] TonyStark R.I.P.:
How to can be found here Nexus Files for Developers (coming soon)

Keep up to date with the preview here Android N Developer Preview
[Nexus 5 General] :
But the file he provided is just named "npreview_v1.img." It doesn't specifically say system.img or anything, how do you flash this?
[Nexus 5 General] RevUnix:
C:\Users\Rev
λ fastboot flash system C:\Users\Rev\Downloads\android_n.img
target reported max download size of 1073741824 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 200217984 is not a multiple of the block size 4096
erasing 'system'...
OKAY [ 0.596s]
sending sparse 'system' (1048572 KB)...
error: write_sparse_skip_chunk: don't care size 200217984 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 200217984 is not a multiple of the block size 4096
OKAY [ 34.633s]
writing 'system'...
FAILED (remote: size too large)
finished. total time: 35.413s

hmm :/
[Nexus 5 General] kicksilver:
You guys actually want the preview?
[Nexus 5 General] jsgraphicart:
It would be nice to have just to mess with and test out. Not to use as a daily driver. Unless its good enough. If someone got a build ported, I'd at least want to try it out
[Nexus 5 General] Hammerhead2502:
My mom has a Nexus 5X and I installed the preview using OTA. And I must say the preview is kind of really stable. My has been using it for more than a day now and she didn't come up to me with some complain. The performance is good. I used the phone for couple of hours and checked out all the new stuff added. And it's amazing. The features work well. Didn't have any crashes. So if it's that good, then yes I would really like to play with the preview. ;)

And more importantly I'm a nexus user. We guys get the latest Android before it even releases. So it's fun and I really like boasting about it. :D
[Nexus 5 General] :
So if it isn't the system partition, then what is it?
[Nexus 5 General] Mr.FREE_Bird:
The guy who shared this Image probably repacked his files incorrectly into one img file. I think he accidentally put all the files in one image, instead of 2, like a 1 system and 1 boot image.
[Nexus 5 General] :
Ah that makes sense, hopefully he fixes that
[Nexus 5 General] Mr.FREE_Bird:
Yeahh, we will see if he makes a second version of his work, with correct repacked images. But I wonder why he made an image at the first place... why not a flashable zip file instead... Now I'm trying to extract the image to see whats inside.
[Nexus 5 General] :
I'm currently in class, so can you post a dump of what's inside the .img he posted?
[Nexus 5 General] Mr.FREE_Bird:
Yes I will, but I'm still trying to find out how to extract the Image.
[Nexus 5 General] :
http://xdaforums.com/showthread.php?t=2294909

This has worked for me in the past
[Nexus 5 General] RevUnix:
maybe the .img is broke....

MM .img

[IMG="http://i.imgur.com/eQFWWB4.png"]http://i.imgur.com/eQFWWB4.png[/IMG]

n.img

[IMG="http://i.imgur.com/UUbG8nn.png"]http://i.imgur.com/UUbG8nn.png[/IMG]
[Nexus 5 General] :
What the hell... It's just completely broken?
[Nexus 5 General] Mr.FREE_Bird:
Already tried that, won't work because the image isn't a ext4 format, and converting it to ext4 doesn't work...
[Nexus 5 General] neoofoox:
same for me. But I expected that it is fake and won't work. Even I hope to get the preview working.
[Nexus 5 General] Mr.FREE_Bird:
Yeah, I think the image is corrupted.. Tried several tools to extract it but none of them work.
[Nexus 5 General] :
Maybe he uploaded it incorrectly
[Nexus 5 General] Mr.FREE_Bird:
I thought it would be fake... But I just wanted to check whats inside the image and if there would be something useful inside.
[Nexus 5 General] :
Do you really think it's a fake, or was it just an error on his part?
[Nexus 5 General] jsgraphicart:
I would give him the benefit of the doubt for now. He DID say he threw it together but didn't have his device to test it out on. He might have just made a mistake.
[Nexus 5 General] :
Those are my thoughts as of now too. I just hope that he puts together a fixed one!
[Nexus 5 General] pavik62:
Try this

Rename to system.img

META-INF - to install.
[Nexus 5 General] Mr.FREE_Bird:
Yes, maybe... But that guy pops up from nowhere saying he can port it. I won't be surprised if it's fake or just an unsuccessful attempt to port android N. But we better wait to see what happens instead of speculate. Maybe he can really port it and will re-upload his work. We'll see.
[Nexus 5 General] :
Is this for extracting the .img?
[Nexus 5 General] neoofoox:
got me this:
[Nexus 5 General] :
Yay! So it isn't fake after all. Could you zip everything it gave you and upload it here?
[Nexus 5 General] :
Also, check the build.prop and see what version of Android it is. Hopefully it's truly Android N
[Nexus 5 General] jsgraphicart:
Looking through his profile and the threads he has started it seems he is just starting out with development. I think it's encouraging to have young new developers so I'm rooting for him.
[Nexus 5 General] :
I want to know how he did it so quickly and easily though. I mean that was impressively easy for him
[Nexus 5 General] jsgraphicart:
Well Like I said, he didn't do any testing himself so it was probably just a first attempt. I, personally, would wait for him to do his own testing and let us know if he gets it to boot. I wouldn't blindly flash that stuff he posted. But this is my main device though.
[Nexus 5 General] Mr.FREE_Bird:
Yeahh, by seeing his recent threads I don't think it's fake. We will see if he can get it to work. But I think the image he posted was just an unsuccessful attempt to port it.
[Nexus 5 General] neoofoox:
It looks quite better than a "broken img"-file

I am currently uploading it to gdrive (8 mins left)

build.prop shows Android N but that's the easiest thing to change ;)

Yes, but maybe he is a wonderchild ;)
[Nexus 5 General] :
Haha yes maybe he is a "wonderchild" after all. When you post the zip, will it be flashable?
[Nexus 5 General] :
Wait what is this?
[Nexus 5 General] pavik62:
Here's the disassembled img from here - http://xdaforums.com/showpost.php?p=65779200&postcount=57

https://yadi.sk/d/Yo7aYl38q6Ti5

Many apk from the N6 phone. Looks like the Guy just edited the build.prop.
[Nexus 5 General] neoofoox:
No it won't.

Or I should better say that I don't know exactly.

here is the zip of the content from the img file postet by bemolx

he postet a zip file which is for installing the system.img via recovery I think. Reminds me of that. I will give it a try, after I have compared it with a cm rom
[Nexus 5 General] Mr.FREE_Bird:
No, it wont work because we don't have a boot image to boot it up and it's to big to fit into the system partition. So making a flashable zip isn't an option now. Maybe MultiRom would work if we would have a kernel to boot it up but I wouldn't blindly test it.
[Nexus 5 General] timo_capa:
build.prop contains this:

https://ghostbin.com/paste/ocdvg
[Nexus 5 General] ast00:
Build date is March 5... Can someone tell me the build date of the original dev preview?

You know it's never the same as the release date.
[Nexus 5 General] vladtsap:
Build date of Android N for N6 is March 1

upd. And for N5X too.
[Nexus 5 General] neoofoox:
date is the same as the nexus 6 release

phone depending changes have been made,

removed some entries and added some new ones.

display.id=NPC56P hasn't been changed on the nexus 5 side.

that's a little summary (compared with winmerge)
[Nexus 5 General] :
I'm going to try and make the zip flashable. I'll update on what happens with that soon