View: 6608|Reply: 8

[OPi Win Plus] Android problem

[Copy link]

3

threads

28

posts

182

credits

Registered member

Rank: 2

credits
182
Published in 2017-7-27 22:17:59 | Show all floors |Read mode
The Android distro from official downloads simply does not work.
I've already attempted the following:
- Using Win32DiskImager
- Using PhoenixCard tool
- manually DD the image onto SD card

Tried 3 different SD cards of different sizes (from 4GB to 16GB).

In either case, all I get is black screen.

Is there a working Android distribution for Orange Pi Win Plus?

3

threads

28

posts

182

credits

Registered member

Rank: 2

credits
182
 Author| Published in 2017-7-28 02:42:19 | Show all floors
Edited by silentbogo at 2017-7-28 02:46

So, none of the official android distros worked for me.

The only success I had, was with Pine A64 Android distributions, but those are also not fully functional.

Both Android 7.1 and Remix OS 2 are able to boot to desktop, and they react to power button as intended, but I can't get any USB device to work (can't use keyboard or mouse).
Even a bluethooth dongle is unresponsive, while connected. Also no reaction on OTG port.
I thought it might've been a power issue, but Pine A64 uses the exact same PMU and is pretty much identical in terms of hardware.
USB HUB is also out of the question, because it is working fine in Ubuntu.

0

threads

5

posts

30

credits

Novice

Rank: 1

credits
30
Published in 2017-8-17 02:29:46 | Show all floors
Same here,
I've tried to compile the android source code, but it gets: "ERROR: build kernel Failed" on first run of "./build.sh config && ./build.sh", with the config:
  0. sun50iw (as far as I know A64 chipset),
  0. kernel 3.10 (kernel 3.4 has no config files and crashes),
  0. android
  0. to 6. for    0. fpga, 1. p1, 2. perf1_v1_0, 3. perf2_v1_0, 4. perf3_v1_0, 5. t1 and 6. t1_v1 returns same error (I'm not sure which board is, but all of them returns same error).

I've not been able to set up the environment in ubuntu (due to apt problems, with "apt-get update"), so I tried on debian 8.
I was very thrilled about OPI Win plus possibilities after reading Orange Pi web, but now I see there were only castles in the sky.

Now I'm just decieved

android

0

threads

5

posts

30

credits

Novice

Rank: 1

credits
30
Published in 2017-8-17 16:19:25 | Show all floors
Edited by MaRiuS at 2017-8-17 20:09
MaRiuS replied at 2017-8-17 02:29
Same here,
I've tried to compile the android source code, but it gets: "ERROR: build kernel Failed"  ...

Ok, ubuntu apt problems, were my fault: firewall problem.
I'm following the tutorial on "Building your own Android firmware".
Deployed development environment on Ubuntu 14.04.5 Server, with java 6 SDK, now builds on "sun50iw1p1" (suposed A64 chip), "android" platform, "linux-3.10" kernel (linux-3.4 has no "arm64" so it ought be 3.10).
Now it compiles with some warnings:
  1. WARNING: could not find drivers/media/platform/sunxi-vfe/lib/.libisp.cmd for drivers/media/platform/sunxi-vfe/lib/libisp
  2. WARNING: could not find drivers/video/sunxi/disp2/hdmi/.libhdmi_sun50iw1.cmd for drivers/video/sunxi/disp2/hdmi/libhdmi_sun50iw1
  3. WARNING: modpost: Found 1 section mismatch(es).
  4. To see full details build your kernel with:
  5. 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
Copy code
But successfull on all boards:
  1. sun50iw1p1 compile Kernel successful

  2. INFO: build kernel OK.
  3. INFO: build rootfs ...
  4. INFO: skip make rootfs for android
  5. INFO: build rootfs OK.
  6. INFO: ----------------------------------------
  7. INFO: build lichee OK.
  8. INFO: ----------------------------------------
Copy code
The point now is know which board Orange Pi Win Plus is:
  1.    0. fpga
  2.    1. p1
  3.    2. perf1_v1_0
  4.    3. perf2_v1_0
  5.    4. perf3_v1_0
  6.    5. t1
  7.    6. t1_v1
Copy code
Since PINE64 seems to use "t1", I'll try this.
But I cannot finish the section "Build lichee packages" as there is no file "op-config" at "lichee/linux-3.10/arch/arm64/configs", so I cannot include missing drivers when recompiling kernel.
Whats more, when executing "lunch" command on "Build Android" section, there is no project called "sugar_orangepi", the options are:
  1. Lunch menu... pick a combo:
  2.      1. aosp_arm-eng
  3.      2. aosp_arm64-eng
  4.      3. aosp_mips-eng
  5.      4. aosp_mips64-eng
  6.      5. aosp_x86-eng
  7.      6. aosp_x86_64-eng
  8.      7. astar_yh-eng
  9.      8. astar_yh-user
  10.      9. astar_y3-eng
  11.      10. astar_y3-user
  12.      11. octopus_n1-eng
  13.      12. octopus_n1-user
  14.      13. tulip_p1-eng
  15.      14. tulip_p1-user
  16.      15. octopus_ibt-eng
  17.      16. octopus_ibt-user
  18.      17. octopus_f1-eng
  19.      18. octopus_f1-user
  20.      19. tulip_perf-eng
  21.      20. tulip_perf-user
  22.      21. kylin_p2-eng
  23.      22. kylin_p2-user
  24.      23. jasmine_perf-eng
  25.      24. jasmine_perf-user
  26.      25. tulip_t1-eng
  27.      26. tulip_t1-user
  28.      27. kylin_p1-eng
  29.      28. kylin_p1-user
  30.      29. octopus_perf-eng
  31.      30. octopus_perf-user
  32.      31. astar_h7-eng
  33.      32. astar_h7-user
  34.      33. aosp_shamu-userdebug
  35.      34. aosp_flo-userdebug
  36.      35. m_e_arm-userdebug
  37.      36. mini_emulator_arm64-userdebug
  38.      37. mini_emulator_x86_64-userdebug
  39.      38. mini_emulator_mips-userdebug
  40.      39. mini_emulator_x86-userdebug
  41.      40. aosp_flounder-userdebug
  42.      41. aosp_manta-userdebug
Copy code
I need some information about how to recompile kernel to include drivers, and which to pick of the above list, as there are too many options... :_(

Thanks in advance

0

threads

7

posts

30

credits

Novice

Rank: 1

credits
30
Published in 2017-8-17 23:45:35 | Show all floors
I for my part feel that I am going to have to vote the plaque, I have put everything that sounds or looks like A64 and nothing is 100% compatible, armbian probe, it works but I speak Spanish and I could not translate well, probe raspbian Comes in Chinese, I try to put it in Spanish but when I finish the translation for the console and reboot does not go up again and if it does not recognize the keyboard as it is written.

I tried the banana andrid 6 which is very nice and with good graphic image but the keyboard and mouse do not work [if someone can adapt this would be very good]

I've tried Fedora ....

I am desperate, I have more than a month that I received this plaque and in truth it only took away time.

Who has an android image with kodi, please share it

0

threads

5

posts

30

credits

Novice

Rank: 1

credits
30
Published in 2017-8-18 00:35:05 | Show all floors
Edited by MaRiuS at 2017-8-18 13:20

Ok, actually I'm trying to build andriod image.
Build environment: Ubuntu 14.04.5
HowTo: "Building your own Android firmware"

Found some documentation about it, so I've made some progress.
At "Build lichee packages" section, instead of
  1. ./build.sh -p sun7i_android
Copy code
use
  1. ./build.sh config
  2. ./build.sh
Copy code

with the following data:
  1. - The chip model is "sun50iw1p1".
  2. - The platform "android".
  3. - The kernel "linux 3.10" (64bit).
  4. - The board "t1".
Copy code

Then change to folder "android"
  1. cd ../android
Copy code

Make file inclusion:
  1. source ./build/envsetup.sh
Copy code

Execute "lunch":
  1. lunch
Copy code

And select:
  1. tulip_p1-eng
Copy code

Then copy the kernel and drive module:
  1. extract-bsp
Copy code

Compile it:
  1. make
Copy code

And finally pack it:
  1. pack
Copy code


I'll give it a try, though perhaps have no video due to warnings about drivers recieved on first compilation ("build.sh").

My environment is Ubuntu 14.04.5
jdk can be installed from repositories: "apt-get install openjdk-7-jdk", so it does the right version, otherwise "make" command, doesn't work.

Result: FAILED
"Make" command failed:
  1. #### make failed to build some targets (09:28:03 (hh:mm:ss)) ####
Copy code

So "pack" command neither worked
Probably due to missing drivers or warnings during "build.sh", but not sure, as I've no expirience.
  1. Dragon execute image.cfg Failed ! ArgCnt = 3, 400
  2. pack finish
Copy code




0

threads

5

posts

30

credits

Novice

Rank: 1

credits
30
Published in 2017-8-21 14:19:17 | Show all floors
The error(?) output when compiling android is:
  1. TODOArm64: frameworks/compile/libbcc/Android.mk Add Arm64 define to LOCAL_CFLAGS
  2. TODOArm64: frameworks/compile/libbcc/bcinfo/Android.mk Enable build of libbcinfo device shared library
  3. TODOArm64: frameworks/compile/libbcc/lib/Core/Android.mk Add Arm64 define to LOCAL_CFLAGS
  4. TODOArm64: frameworks/compile/libbcc/lib/ExecutionEngine/Android.mk Add Arm64 define to LOCAL_CFLAGS
  5. TODOArm64: frameworks/compile/libbcc/lib/Renderscript/Android.mk Add Arm64 define to LOCAL_CFLAGS
  6. TODOArm64: frameworks/compile/libbcc/lib/Support/Android.mk Add Arm64 define to LOCAL_CFLAGS
  7. TODOArm64: frameworks/compile/libbcc/tools/bcc/Android.mk Add Arm64 define to LOCAL_CFLAGS
Copy code

Seems that there is some configuration missing...
Any ideas?

0

threads

3

posts

16

credits

Novice

Rank: 1

credits
16
Published in 2017-11-12 05:33:48 from mobile | Show all floors
Any updates? Have you guys been able to run any decent os on this board?

1

threads

6

posts

37

credits

Novice

Rank: 1

credits
37
Published in 2017-11-22 10:00:28 from mobile | Show all floors
emouawad replied at 2017-11-12 05:33
Any updates? Have you guys been able to run any decent os on this board?

Ubuntu xfce I don't know network
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list