Android Nougat(7.1.1) Source code available for download

We’ve completed the Android Nougat source code uploading to Khadas Github, due to the network in China, it take me few days to done that :joy:

Now you can follow the Download the Android Source Code to pull down the source code.

Enjoy!

5 Likes

Does SOC (Nougat) needs a new manual for build?

How to add gapps and root on source SOC (Nougat)? Does manual is true for Nougat?

1 Like

Hi, Davemf:
What do you mean SOC?

Regarding Android build instruction, it’s common as Android Marshmallow, just take a notice to build Nougat as 64-bit instead.

now you see well why I can only stay in SZ one week each month ;).

Great news about Nougat!

Yes, terrible network environment here, still in downloading… :cry:

Anybody got all the source code downloaded?

I mean android source code…
What about gapps and supersu?

Yes, the source code with gapps now, but supersu isn’t yet.

1 Like

Do you finish the download :slight_smile:

just put the download :slight_smile:

Gouwa:
…but supersu isn’t yet.

Can you create repo and instruction with supersu? Like terry’s instruction

Terry will do that when he is available.

1 Like

Gouwa, Thank you very much!

Yes, I downloaded all the source code.
How to build it?

Check Build Android Source Code for the instructions.

1 Like

How to build u-boot?

davemf@ubuntu:~/project/khadas vim/uboot$ make CROSS_COMPILE=aarch64-linux-gnu- kvim_defconfig
make: *** /home/davemf/project/khadas: No such file or directory. Stop.
make: *** [sub-make] Error 2
davemf@ubuntu:~/project/khadas vim/uboot$

It seems that your working directory contain a space, and cause the following compile issues:

1 Like

you are right! I put the compilation.

new error:

re/bl21.elf
OD /home/davemf/project/khadas/nougat/uboot/build/board/khadas/kvim/firmware/bl21.dump
BIN /home/davemf/project/khadas/nougat/uboot/build/board/khadas/kvim/firmware/bl21.bin

Built /home/davemf/project/khadas/nougat/uboot/build/board/khadas/kvim/firmware/bl21.bin successfully

CPP task_entry.s
CPP user_task.lds
aarch64-linux-gnu-cpp: error: unrecognized command line option ‘-mthumb’
aarch64-linux-gnu-cpp: error: unrecognized command line option ‘-mno-sched-prolog’
make[2]: *** [/home/davemf/project/khadas/nougat/uboot/build/scp_task/user_task.lds] Error 1
make[1]: *** [bl301.bin] Error 2
make: *** [sub-make] Error 2
davemf@ubuntu:~/project/khadas/nougat/uboot$

You didn’t follow the instructions to install the toolchain:

1 Like

Again?
I installed it for Marshmallow source, and it worked good.