We want to run android 5.0 on our I.MX6Q. We download the source code,freescale kernel,U-boot,path. Following the Android User's Guide, we now having a problem when patching. After running source /opt/android_L5.0.0_1.0.0-ga_core_source/code/l5.0.0_1.0.0-ga/and_patch.sh and enters help, it shows this:
Invoke ". and_patch.sh" from your shell to add following functions to your enviroment:
-- c_gotop: Change directory .....
-- c_patch: Recover working tree...
Then, running c_patch /opt/android_L5.0.0_1.0.0-ga_core_source/code/l5.0.0_1.0.0-ga imx_l5.0.0_1.0.0-ga does't work. It shows c-patch: commond not found. Why c_patch does't work? Was it really add c_patch function sucessfully when running “ source /opt/android_L5.0.0_1.0.0-ga_core_source/code/l5.0.0_1.0.0-ga/and_patch.sh”. How can we patch sucessfully?
Solved! Go to Solution.
I think you may missed some steps. Please try again. It should work.
2.2 Unpacking the Android release package
After you have set up a computer running Linux OS, unpack the Android release package by using the following commands:
# cd /opt (or any other directory where you placed the android_L5.0.0_1.0.0-ga_core_source.tar.gz file, but make sure you have permission to access that directory;
otherwise, c_patch cannot work properly)
please check the permission to access the directory.
Hi,
I have the same problem as well.
I also do the step - 2.2 Unpacking the Android release package
and make sure I have the permission to access the directory.
However, it still shows the same result.
Any other steps missing?
Thanks.
I think you may missed some steps. Please try again. It should work.
2.2 Unpacking the Android release package
After you have set up a computer running Linux OS, unpack the Android release package by using the following commands:
# cd /opt (or any other directory where you placed the android_L5.0.0_1.0.0-ga_core_source.tar.gz file, but make sure you have permission to access that directory;
otherwise, c_patch cannot work properly)
please check the permission to access the directory.
It‘s OK now. Thank you!!
Hi Guys,
can some one help me to download "android_L5.0.0_1.0.0-ga_core_source.tar.gz" . I am not able to find it in freescale.com.
You can download the BSP from here: