Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: TheLinuxBug

H3Droid - Android image developed specifically to work on Allwinner H3 devices

  [Copy link]

0

Threads

49

Posts

600

Credits

Senior member

Rank: 4

Credits
600
Post time 2017-5-10 05:03:39 | Show all posts
Edited by RagnerBG at 2017-5-10 05:05

Hello. First of all thank's for the good work done.
I have some issues with installing into image file, not directly to sdcard. According to your description, i have to uncomment this line - OUTDEV=/some/path/to/somefile.img? This is what is do in 00_conf file:
  1. # h3droid_installer (c) 2017 KotCzarny (meet me on #linux-sunxi @ irc.freenode.com)

  2. # either define OUTDEV in your script or add it here:
  3. # OUTDEV=/dev/sdb
  4. # OUTDEV=/dev/mmcblkX
  5. OUTDEV=/home/xubuntu/Share/h3droid.img

  6. #if [ "x$OUTDEV0" != "x" ]; then OUTDEV=$OUTDEV0; fi

  7. if [ "x$OUTDEV" = "x" ]; then echo "please configure device to work on in 00_conf"; exit 1; fi

  8. echo "target device: $OUTDEV"

  9. mkdir 2>/dev/null fs_tmp
Copy the Code

But when i execute the script, i got this:
  1. root@xubuntu-desktop:/home/xubuntu/Share/h3droid_installer-1.2.2# ./10_init_new_card.sh
  2. target device: /home/xubuntu/Share/h3droid.img
  3. target device: /home/xubuntu/Share/h3droid.img
  4. can't get size of /home/xubuntu/Share/h3droid.img
  5. target device: /home/xubuntu/Share/h3droid.img
  6. sfdisk: --Linux option is unnecessary and deprecated
  7. sfdisk: cannot open /home/xubuntu/Share/h3droid.img: No such file or directory
  8. /home/xubuntu/Share/h3droid.img: No such file or directory
  9. mke2fs 1.42.13 (17-May-2015)
  10. The file /home/xubuntu/Share/h3droid.img2 does not exist and no size was specified.
  11. mount: special device /home/xubuntu/Share/h3droid.img2 does not exist
  12. mkdir: cannot create directory ‘fs_tmp/tmp’: File exists

  13. if you want to login via ssh please copy your PUBLIC key to this directory, rename it to h3droid.pub and press ENTER ..
  14. mkdir: cannot create directory ‘fs_tmp/ssh’: File exists
  15. h3droid.pub not found, to enable ssh, you can always add your keys to ssh/authorized_keys on partition 2

  16. mkdir: cannot create directory ‘fs_tmp/misc’: File exists
  17. mkdir: cannot create directory ‘fs_tmp/misc/wifi’: File exists
  18. umount: fs_tmp: not mounted
  19. mke2fs 1.42.13 (17-May-2015)
  20. The file /home/xubuntu/Share/h3droid.img16 does not exist and no size was specified.
  21. mkfs.fat 3.0.28 (2015-05-16)
  22. mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
  23. /home/xubuntu/Share/h3droid.img11: No such file or directory
  24. mkfs.fat 3.0.28 (2015-05-16)
  25. mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
  26. /home/xubuntu/Share/h3droid.img12: No such file or directory
  27. mke2fs 1.42.13 (17-May-2015)
  28. The file /home/xubuntu/Share/h3droid.img1 does not exist and no size was specified.
  29. target device: /home/xubuntu/Share/h3droid.img
  30. mount: special device /home/xubuntu/Share/h3droid.img1 does not exist
  31. ./40_init_uboot_fex.sh: line 11: ./change-uboot: No such file or directory
  32. ./40_init_uboot_fex.sh: line 12: ./change-fex: No such file or directory
  33. umount: fs_tmp: not mounted
Copy the Code

What am i doing wrong? Writing directly to sd is working fine, but only on blank sdcard.
Also could you please give some more info about u-boot files:
u-boot-sunxi-with-spl.bin-opipc
u-boot-sunxi-with-spl.bin
u-boot-sunxi-with-spl.bin-opip2e
u-boot-sunxi-with-spl.bin-opip2e-nodisp-nousb-nonet-gpios
u-boot-sunxi-with-spl.bin-opip2e-nousb-nonet
u-boot-sunxi-with-spl.bin-opip2e-usb-nonet
u-boot-sunxi-with-spl.bin-opip2e-usb-nonet-gpios

What is the difference in opip2e u-boots for example? "nonet" = no LAN/Wifi? It's not clear for me, i simply used u-boot-sunxi-with-spl.bin-opip2e .

3

Threads

54

Posts

950

Credits

Senior member

Rank: 4

Credits
950
 Author| Post time 2017-5-10 06:25:32 | Show all posts
Edited by TheLinuxBug at 2017-5-10 06:44

Hello All!

H3Droid Version 1.2.3 is now up and available for download!

The following updates/fixes/changes are in version 1.2.3:
- Initscripts calls /data/rc.local for user's convenience
- Updated default wallpaper
- Recompiled sunxi-ir-rx.ko with full input range (all ir-remote codes should show with evtest now)
- Added aoe.ko kernel module
- Made a few changes to the installer scripts
- Hdmi-dvi fixes (some users were having issues with DVI, this should help with that)

Also wanted to mention we have been working to add some more support  for things such as WiringPi and gpio, you will note in this post another member of our team has started to discusses this.

Please check it out and provide us feedback!

Cheers!

3

Threads

54

Posts

950

Credits

Senior member

Rank: 4

Credits
950
 Author| Post time 2017-5-10 06:38:23 | Show all posts
Edited by TheLinuxBug at 2017-5-10 07:16

Hello @RagnerBG

It seems you may have misunderstood the installers instructions.  This is for directly writing the H3Droid installation to your SDcard, this is not used to output an image which can then later be dd/burned.

The OUTPUT variable is supposed to be a Block Device (such as /dev/mmcblk0, /dev/mmcblk1, /dev/sda1, etc) which you wish H3Droid to be installed to.

In the future we do plan to release some additional methods of installing our image, we have discussed several options including images, Windows based installer and also possibly a MacOS based installer, however, these will happen in later versions as things near ready for a stable version release (this is still considered 'beta' currently as we seek to clean up some more bugs).

So, for now, you would want to run the installer on a Linux system where you have a SDcard reader/writer present and the SDcard inserted.  You would then change OUTDEV to the block device name of your SDcard and run the installer.

My appologies for missing your second question, your post was kinda busy and didn't see it at the bottom till later.
What is the difference in opip2e u-boots for example? "nonet" = no LAN/Wifi? It's not clear for me, i simply used u-boot-sunxi-with-spl.bin-opip2e .

I think you pretty much nailed it in your assesment.  The default has all the options, and choosing the alternate u-boot files you can choose what other parts of the device are initialized or enabled.  Using the versions without some of the options can lead to lower power usage as the devices are not enabled.   

So:
  • nonet -  no wifi/network
  • usb-nonet -  usb is enabled and network is disabled
  • nousb-nonet - no USB or network
  • nodisp-nousb-nonet-gpios  - no display, no usb, no network but GPIO is enabled

I hope this helps to clarify this for you and thanks for your interest in our project!

Cheers!






0

Threads

49

Posts

600

Credits

Senior member

Rank: 4

Credits
600
Post time 2017-5-10 18:58:20 | Show all posts
Thank you for the clarifications. Will try this new version now.

0

Threads

8

Posts

200

Credits

Intermediate member

Rank: 3Rank: 3

Credits
200
Post time 2017-5-10 20:27:57 | Show all posts
I am interestid about this project, but is there Windows loader of image on SD? I am not Linux user

3

Threads

54

Posts

950

Credits

Senior member

Rank: 4

Credits
950
 Author| Post time 2017-5-10 22:24:15 | Show all posts
Hello @RagnerBG

Just wanted to let you know that because of your inquiry we have added the ability to the installer in 1.2.4 to make SDcard images like you were trying.  This should also help out Windows users who don't have a SDcard reader/writer on their linux system (meaning you can use a shell account or VPS to create the image now).  You will need to make a few more changes in configs, but it should work in 1.2.4.  We are currently testing 1.2.4 and will likely release in the next 48 hours.  If you would like to help us test new images, please come by our IRC channel #H3Droid on Freenode or PM me here and we will let you know how you can access testing releases and help us test!

Thanks again for your interest!

Cheers!

0

Threads

16

Posts

94

Credits

Registered member

Rank: 2

Credits
94
Post time 2017-5-11 00:16:27 From the mobile phone | Show all posts
How to burn in emmc?

2

Threads

52

Posts

561

Credits

Senior member

Rank: 4

Credits
561
Post time 2017-5-11 01:37:21 | Show all posts

Hi @hostkit, you can boot your board from linux ( eg armbian ) from an sdcard, have maybe H3droid installer on it or an usbkey, and target the /dev/mmcblkX device that represent your emmc with the setting OUTDEV in 00_conf file  ,
do not forget to login as root  , and  wipe partition table of emmc before running install .
These aren't the Droids you're looking for. . .You look for H3Droid !

2

Threads

9

Posts

54

Credits

Registered member

Rank: 2

Credits
54
Post time 2017-5-12 14:47:11 | Show all posts
I'm having a problem with getting the wifi to work on my old OPi2. I tried editing the script as per the FAQ on the site, but it didn't help. Any suggestions?

2

Threads

9

Posts

54

Credits

Registered member

Rank: 2

Credits
54
Post time 2017-5-12 14:55:18 | Show all posts
I'm having a problem with getting the wifi to work on my old OPi2. I tried editing the script as per the FAQ on the site, but it didn't help. Any suggestions?
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-12-7 17:39 GMT+8 , Processed in 0.032852 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list