AnsweredAssumed Answered

Android Nougat on IMX 7D.

Question asked by mehul shah on Mar 17, 2017
Latest reply on Mar 17, 2017 by gusarambula

Hi All,

I want to port android-N to Imx7d sabre board . I just want to port android-N , so i am not changing code of kernel and u-boot on which i bring up marshmallow . First , i followed the Android's user guide given for marshmallow. (PFA..see 3.2)

I followed below steps :

$ cd ~/myandroid
$ source /opt/android_M6.0.1_2.0.0_source/code/M6.0.1_2.0.0/and_patch.sh

but , when i execute below command

$ c_patch /opt/android_M6.0.1_2.0.0_source/code/M6.0.1_2.0.0/ imx_M6.0.1_2.0.0

 

it shows output as below .

root@ubuntu:/home/debian/mehul/android_N# c_patch ../android_M6.0.1_2.0.0_source_new/code/M6.0.1_2.0.0/ nougat
Parsing basefile /home/debian/mehul/android_M6.0.1_2.0.0_source_new/code/M6.0.1_2.0.0/baseversion...
Check work tree and patch dir based on /home/debian/mehul/android_M6.0.1_2.0.0_source_new/code/M6.0.1_2.0.0/baseversion...
Checking NEW project - external/linux-firmware-imx ...
Checking NEW project - packages/apps/fsl_imx_demo ...
Checking NEW project - hardware/imx ...
Checking NEW project - external/ntfs-3g ...
Checking NEW project - device/fsl-proprietary ...
Checking NEW project - external/mtd-utils ...
Checking NEW project - device/fsl-codec ...
Checking NEW project - external/fsl_imx_omx ...
Checking NEW project - external/linux-lib ...
Checking NEW project - device/wfd-proprietary ...
Checking NEW project - device/fsl ...
Checking NEW project - external/linux-test ...
Checking CHANGE project - packages/apps/Launcher2 ...
Checking CHANGE project - external/wpa_supplicant_8 ...
Checking CHANGE project - frameworks/ex ...
Checking CHANGE project - hardware/libhardware ...
Checking CHANGE project - frameworks/support ...
Checking CHANGE project - packages/apps/Camera2 ...
Checking CHANGE project - packages/apps/Settings ...
Checking CHANGE project - system/media ...
Checking CHANGE project - system/vold ...
Checking CHANGE project - libcore ...
Checking CHANGE project - frameworks/base ...
Checking CHANGE project - packages/apps/SoundRecorder ...
Checking CHANGE project - frameworks/native ...
Checking CHANGE project - hardware/broadcom/libbt ...
Checking CHANGE project - packages/apps/Browser ...
Error! The git /home/debian/mehul/android_N/packages/apps/Browser doesn't exist. Stop

 

The reason i think is , in Android-N there is no directory called Browser under packages/apps , but instead Browser2 is there.

so if i want to apply patch excluding the directories which are different , how can i apply the patch quickly ?

for the directories which are different i will change the merge manually .

 

Please let me know , if anything is wrong in approach and guide me how can i apply the patch .

 

Regards,

Mehul

Attachments

Outcomes