Author Topic: Anyone here with experience in building a Android image??  (Read 3647 times)

Offline JotaMG

  • Newbie
  • *
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Anyone here with experience in building a Android image??
« on: March 27, 2014, 04:11:36 pm »
Anyone here with experience in building a Android image for the CB1, that works ok??
 I need some advices on how to add some wifi drivers...

Offline johndoe_71rus

  • Full Member
  • ***
  • Posts: 242
  • Karma: +3/-1
    • View Profile
Cubieboard2 / Android 4.2.2 / Cubieez 7.4@3.4.79+patwood

Offline JotaMG

  • Newbie
  • *
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Re: Anyone here with experience in building a Android image??
« Reply #2 on: March 28, 2014, 08:57:30 am »
Thanks !
Will it work for CB1?
But the main question remains, if I  build myself the image, will I be able to add more wifi drivers, in particular the zd1211rw.ko ??
And why there is not a Android 2.2 image for the CB1??  Is it so difficult or there are not enough developers out there?  Or...?

Offline actkk2000

  • Hero Member
  • *****
  • Posts: 571
  • Karma: +2/-11
    • View Profile
Re: Anyone here with experience in building a Android image??
« Reply #3 on: April 01, 2014, 08:45:25 pm »
My own experience (with Cubietruck (CT), is A20 too):
Hope this helps in some way...  ???

http://www.cubieforums.com/index.php?topic=1973.0

At point 6-
- You should go first to "android-SDK/lichee/linux-3.4/arch/arm/configs/"

- Edit "cubieboard2_config", find the line for your driver (not idea of which one is), set as "=m",

- Save file, then copy "cubieboard2_config" as "android-SDK/lichee/linux-3.4/.config" and replace because default ".config" in SDK is configured for CT.

At point 8-
a- Copy "cubieboard2_config" (instead of "cubietruck_defconfig") as "sun7ismp_android_defconfig"

b- Continue with the whole compiling process to the end, do no stop on "Build Android image" or

c- Try with this image: http://dl.cubieboard.org/software/a20-cubieboard/android/cb2-nand-v1.07_8188eu_1080P.img.tar.gz and add the driver as explained on point 13-

Unfortunately I dont know if this image for CB2 has same kernel as the driver you may compile with SDK (3.4.39)
If not, insmod will give an error message: "insmod: init_module 'your_driver.ko' failed (Exec format error)", that's why I recommended at b- to go with the whole image compiling process.

Good luck!


« Last Edit: April 01, 2014, 08:49:30 pm by actkk2000 »

Offline JotaMG

  • Newbie
  • *
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Re: Anyone here with experience in building a Android image??
« Reply #4 on: April 02, 2014, 02:53:19 pm »
My own experience (with Cubietruck (CT), is A20 too):
Hope this helps in some way...  ???
http://www.cubieforums.com/index.php?topic=1973.0
 ...


Many thanks, it is very useful, now i understand the process.
However I own a CB1, my kernel is 3.08...   :( :( :(
I'm waiting for a CB2 so maybe i will wait until it arrives.



Offline actkk2000

  • Hero Member
  • *****
  • Posts: 571
  • Karma: +2/-11
    • View Profile
Re: Anyone here with experience in building a Android image??
« Reply #5 on: April 02, 2014, 03:37:06 pm »
Perhaps this process instead (although it's an older version of Android):

http://docs.cubieboard.org/tutorials/cb1/installation/building_android_ics_a10_image

You will have to find .config file and modify it to enable your driver.

Good luck!
« Last Edit: April 02, 2014, 10:17:37 pm by actkk2000 »