|
Edited by robi217 at 2017-5-21 15:33
Hello!
In this thread, I would like to share my custom-made rom, which I call PiZeroDroid. It is created especially for Orange Pi Zero (H2+ 512MB RAM model).
This image still has many problems, and some of them seems to be impossible (at least for me) to fix :/
----- [IMPORTANT!] -----
You shouldn't use this image anymore! H3Droid's Android image actually works much better on this board, with updated kernel (3.4.113), proper sys-config (no more heating, needs only heatsink), working audio and much better stability and performance. Starting from H3Droid version 1.2.5, Wi-Fi works automatically, you don't have to do anything (the first startup can take a bit longer time, but don't worry).
Wi-Fi also works, but it's a bit tricky to enable it for the first time (as of v1.2.2, may work out-the-box on later versions):
1. Use ADB/SSH/Terminal Emulator (if device is rooted) to reach the Android system's shell.
2. Type in "su" to get root access.
3. Type in the following command: "insmod /system/vendor/modules/xradio_wlan.ko"
4. If you get no error, it means that the WiFi kernel was loaded succesfully. You can check yourself using the "dmesg" commands which should print out the XR819's successful loading process.
5. Return to your device, open Settings and switch off Ethernet connection.
6. Switch on and off Wi-Fi connection quickly. Keep doing this until the system hangs, crashes and reboots itself.
7. After rebooting, Wi-Fi should work and you can connect to networks.
You only have to go through this process only once. After this, you can turn on/off Wi-Fi and connect to networks anytime you want.
Anyway, the Wi-Fi connection seems to be stable and fast, but Wi-Fi direct (Miracast) doesn't work!
For download links and more information, please check H3Droid's webpage.
Official forum thread for H3Droid can be found here.
Also don't forget to have a look at my recent post about my experience with H3Droid(I also included some tips to get the system working especially for Orange Pi Zero).
You shouldn't read the post mentioned before anymore, since it contains outdated information
Thank you very much guys and a big thanks for the H3Droid team
----- [IMPORTANT!] -----
Requirements:
- Orange Pi Zero board (512MB model only - 256MB RAM is too small for smooth operation)
- Heatsink or active cooling (fan) - VERY IMPORTANT FOR SMOOTH PERFORMANCE!
- 4GB+ good quality microSD card (recommended to use Class 10 or UHC-1)
- Windows PC with external SD card reader and CloneDisk software (for installing the image)
- Good quality microUSB cable (5V/2.1A) or GPIO power source
- Video output cable (Composite) soldered on pin or using extension board (if using extension board, please make sure to use a good power supply, because you can run into problems otherwise!)
- USB wired/wireless mouse (or Bluetooth mouse using USB dongle) for controlling the UI - keyboard is optional
Features (v0.2 BETA - 2017-05-07) - New changes and important information are highlighted with bold:
- Android 4.4.2 ROM based on official Orange Pi image (sun8iw7p1_android_dolphin-p2_uart0)
- Onboard Wi-Fi works well (stable connection)
- Debloated and clean system, with Chinese apps removed (Idle RAM usage around 200MB)
- Fully rooted system using SuperSU
- Ability to flash custom .zip files using FlashFire
- Google apps included (Google Framework, Google Chrome, Google Play Store and YouTube app)
- English language UI (system can be changed to other languages)
- Nova Launcher as home screen
- H/W video decoding with MX Player app (custom codec pack with AC-3 support included) or built-in TvdPlayer app - Works with H.264, other formats not tested!- Kodi 16.1 included - Works, but see "Known issues" for more info! (NEW in v0.2)
- Fully working YouTube app with H/W decoding
- Change analog video output (PAL/NTSC mode) and change overscanning value
- USB device support (auto-mount of USB storage devices - NEW in v0.2)
- Bluetooth support (needs external USB bluetooth adapter!)
- Additional 192MB Swap (from v0.2, also changed swappiness to 10 for better I/O performance) for smooth and stable performance (see Swapper app for details and settings)
- CPU clock is 1200MHz (from v0.2, with interactive governor), can be under- or overclocked
- Changed SD read ahead value to 2048KB (recommended for most cards) - Changed deadline back to cfw, because deadline looked less stable (from v0.2)!
- Built-in ad blocking with AdAway (automatic updates)
- Extension board support: Every USB port working, video output via TRRS jack, IR receiver should work but needs additional configuration
- Other installed apps: AIDA64, CCleaner, Greenify, Kernel Adiutor, MiracastReceiver, Quick Reboot, Root app uninstaller, Total Commander, etc.
Known issues (as of v0.2):
- Audio output doesn't work (it looks like there is some problem with the kernel/system or maybe sys-config) - Affects Onboard Audio, External USB sound card audio, Bluetooth audio (using USB dongle).
I know that missing audio output is a very big issue, but sadly I don't know how to fix it. I've tried several H3 and H2 Android images for sound support, but none of them had working audio. If you need audio output very much, you should use Armbian or RetrOrangePi instead of Android, which are way more stable and faster than this Android image
- Minor stability problems - Under heavy load apps can force close (or don't even open), system can hang or storage can become read-only (Not enough power maybe?) - If you have any of these problems, reboot your device as a fix/workaround.
- CPU overvolting issue (broken dvfs, needs new sys-config), resulting in more power consumption and fast heating - Use a heatsink and/or active cooling as a workaround, with a good power supply.
- Kodi doesn't support H/W acceleration for decoding - SD videos playing fine, HD videos stuttering - Stock Kodi app (installed by me) doesn't support Allwinner's CedarX engine (due to license problems), and modified apps (zidoo-kodi) couldn't start.
- Aspect ratio is forced to 16:9 - You can change the internal resolution in sys-config to get 4:3 aspect ratio, but it seems to be a bit difficult
Most of these issues come from the official image used as source, so it's very hard to fix them!
How to install?
1. Download CloneDisk software and extract it (http://www.pcadvisor.co.uk/download/backup-recovery/clonedisk-22-3329736/)
2. Put a 4GB or higher microSD card in your computer using a card reader.
3. Download image file (see link below) and extract the .7z archive (use 7-zip or WinRAR)
4. Start CloneDisk software using clonedisk.exe (run as administrator!)
5. Select your SD card (select the entire Physical Disk, not only a partition of it!)
6. Click Restore from Image button, select RAW format and press OK.
7. Wait for the flash to complete, and eject your device. You're ready to go.
Optional step for cards higher than 4GB: To use your full card space, you have to extend the size of Ext4 partition to fit the full empty space of your card. You can do this with GParted (needs Linux system) or any compatible partition manager software.
Download link:
Google Drive link (primary) - v0.2 BETA - 2017-05-07 (Download size: 1.30GB)
Previous version:
Google Drive link (primary) - v0.1 BETA - 2017-04-24 (Download size: 1.30GB)
SHA1 key of .img file (android442modded_opizero_robi217.img): C0CE6E8654DCB4DD27693F3F360C43E11384C16F
Thank you, and feel free to ask questions if you have any.
|
|