Author: TheLinuxBug

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

  [Copy link]

2

threads

4

posts

122

credits

Registered member

Rank: 2

credits
122
Published in 2019-2-17 22:48:17 | Show all floors
Hello,kotcza.
YuryY wrote(post 280): Is it possible to turn on in the OS H3Droid resolution 720x480i?
Interestedin the same resolution 800x480i?
kotczawrote (post 281): 480i mode has id 0, so it might work in theory, cant test atthe moment. you would need to put into fex and build.prop, check what displaymode script in h3resc is doing
Ok! Boughta device orange PI Plus2E. Installed H3Droid version 1.3.4
Now I haveto set the resolution 800x480i. Such resolution is needed to create carPC.
My steps:
Step 1:switch uboot – orangepi_plus2e (point 15)
Step 2:switch fex – H3/orangepiplus2e.bin (point 13)
Step 3:display configuration – 800x480 (point 8). Will this step be correct?
Step 4:edit fex – debug_mode=0 Will this step be correct?
What othersteps do I need to take?
Could youdescribe in detail? Unfortunately, I do not know well linyx and android. I andmany more users would be very grateful for your help.
Withrespect!

This thread contains more resources

You need to Log in to download or view,No account?    Register

x

0

threads

94

posts

2501

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2501
Published in 2019-2-18 04:48:13 | Show all floors
Edited by kotcza at 2019-2-17 22:49

i dont know what debug_mode is for, never touched it. as for custom resolutions, they need to be added to fex, kernel and android. so i've added a few and premade few presets in h3resc for them and they work for most people interested. hdmi has 480 preset (720x480), and i've added 800x480. try both? also, you only need to set them via h3resc menu, nothing else should be needed
dissatisfied with android on your H3 device? try again with https://h3droid.com/

1

threads

9

posts

111

credits

Registered member

Rank: 2

credits
111
Published in 2019-4-17 21:53:36 | Show all floors
kotcza replied at 2019-2-18 04:48
i dont know what debug_mode is for, never touched it. as for custom resolutions, they need to be add ...

hi
can you do some fix on the kernel or cpu voltage for fix the cpu high temprecher or add a section in boot menu for set max default ferequency of cpu to custom frq ?
because we using opi pc plus and in warm area increase the temp and it will be shutdown
tnx

1

threads

3

posts

23

credits

Novice

Rank: 1

credits
23
Published in 2019-5-17 01:29:20 | Show all floors
Hey, thanks for you image.

How do I Load module: modprobe sunxi-ir-rx; rmmod sunxi-ir-rx; modprobe sunxi-ir-rx ?

Thanks.

0

threads

94

posts

2501

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2501
Published in 2019-5-17 03:37:05 | Show all floors
schlauchboot: you either put it in the file: /data/rc.local or run in root console
dissatisfied with android on your H3 device? try again with https://h3droid.com/

1

threads

3

posts

23

credits

Novice

Rank: 1

credits
23
Published in 2019-5-18 00:22:16 | Show all floors
kotcza replied at 2019-5-17 03:37
schlauchboot: you either put it in the file: /data/rc.local or run in root console

OrangePi bootet into H3Droid.
Then I tried to connect via SSH but on Linux and Windows Putty says: "Disconnected: No supported authentication methods available (server sent: publickey,keyboard-interactive)"

0

threads

94

posts

2501

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2501
Published in 2019-5-18 05:51:30 | Show all floors
only key authentication is enabled, you must add your public ssh key to /data/ssh/authorized_keys
dissatisfied with android on your H3 device? try again with https://h3droid.com/

3

threads

54

posts

1385

credits

Gold member

Rank: 6Rank: 6

credits
1385
 Author| Published in 2019-5-31 05:54:58 | Show all floors
Edited by TheLinuxBug at 2019-5-31 06:06

Hey All!

Today, after a little more than a year, we are happy to release H3Droid version 1.3.5!
H3Droid 1.3.5 includes some long awaited bug fixes and a few new features.


What makes H3droid special?
- Plenty of H3 boards supported (and the rest should require simple reconfiguration)
- Universal native installer (only 176MB for fully working system, no need for windows)
- Mainline uboot
- Changed partition layout
- Support for different usb-wifi dongles:
  - realtek: 8188/8192cu, 8188eu, 8812/8821au
  - ralink: 5370 and similar
  - mediatek: 7601u
  - broadcom: 6212
- Touchscreens: compatible with usbtouchscreen.ko and few i2c/spi
- Custom video modes in native resolution: 800x480 1024x600 1024x768 1280x1024 1360x768
- H3resc: custom recovery, configuration and updating system
- Working powermenu (reboot/poweroff)
- /data/rc.local for user customizable init
- navbar+sysbar
- ssh server with key access
- Virtual kb disabled when using physical kb
- Support for installing and dual booting Armbian
- micropython, i2c/spi kernel modules enabled for tinkering
- gps modules can be made working with user help

New / Fixed / Changed in H3Droid version 1.3.5:  
- Added: fex/uboot for: beelink x2, sunvell r69 and libretech h3/h2+ (tritium)
- Added: Vendor_0079_Product_0006.kl (cheap noname/rebranded DragonRise gamepads)
- Added: 'menu' command to h3resc (to run menu via ssh)
- Added: enabled kernel modules: hid-multitouch, hid-dragonrise, hid-acrux, hid-greenasia, hid-samsung, hid-ntrig, hid-holtek, ads7846_device (loader), w1
- Added: kernel: added lz4 support
- Added: wip/crashing: new video mode: 2560x1600
- Fixed: h2+/512M combo cma alloc (h3droid can now work on libretech h2+ and opi0(256M) boards)
- Fixed: fix for black screen on boot (uboot phase is black now)
- Fixed: 0eef:0005 touchscreen fix, should work now (after loading usbtouchscreen module)
- Fixed: purge BT state on upgrades
- Updated: armbian links in h3resc
- Updated: ralink wifi driver with some new ids
- Updated: bluez to 5.50
- Updated: bionic's tzdata (thanks to zazir, Moscow is now in the current time zone +3 instead of +4)
- Changed: enabled s_cir0 (IR) in opilite fex by default
- Changed: swapped long and short actions on power button (short press to call power menu, long to sleep)
- Changed: cut down logcat/serial verbosity a bit
- Changed: busybox: updated to 1.29.2, enabled selinux support
- Changed: removed default youtube.apk, api changed and kitkat's one doesnt work anymore. You can install it after upgrading Google Play Services.
- Changed: kernel: disabled OABI compat, switched to NOOP disk scheduler
- Changed: init.rc insmods default-rtc.ko and default-touchscreen.ko, create a symlink in /vendor/modules/ if you want to make use of it
- Changed: disabled sst_storage.ko
- Changed: few tiny changes to h3resc/h3ii
- H3Resc: moved menu numbers to make them visible on cvbs overscan
- H3Resc: update should preserve some configurable files now
- H3Resc: added tools/uboot-h3_video_helper to report new/exotic modelines
- H3Resc: renamed item 53 to "ADDONS and TWEAKS" and added:
  • change swap size
  • toggle osk always on
  • reworked menu and moved some items into (53) sub menu
  • LibreELEC-H3 installation and boot option

Please check out the 'How it Looks' page as the layout has changed a bit!

We encourage all users to also re-read the updated H3ii and H3Resc pages as some of the options have changed!

Also, take a moment to check out our blog, we will be making more posts there as time goes on!

If you have time to be an development build tester we would welcome you to come by our IRC channel #H3droid on Freenode IRC network and get in touch with us.  

We are happy to provide development access to those who have time to go through the image and provide useful feedback.  

We have added a development channel to auto-update in H3resc for those who participate, however, it is a hidden option which you will need to come chat with us to get!

As always, please feel free to provide feedback here on the forum, on our feedback form or come chat with us on IRC in #H3Droid on Freenode!

Thanks again to everyone who has provided their time and support to H3Droid!


If you LIKE or LOVE H3Droid and want to give back but don't have the time to help, donate to our developers!


Cheers!




1

threads

9

posts

111

credits

Registered member

Rank: 2

credits
111
Published in 2019-6-11 17:11:26 | Show all floors
Edited by amir.movafagh at 2019-6-11 17:13
TheLinuxBug replied at 2019-5-31 05:54
Hey All!

Today, after a little more than a year, we are happy to release H3Droid version 1.3.5!

hi
in previous version (1.3.4) i use this  touchscreen with this specifications and work well but in 1.3.5 dont work please fix this issue

    =========================== USB Port4 ===========================

Connection Status        : 0x01 (Device is connected)
Port Chain               : 1-7-4
Properties               : 0x01
IsUserConnectable       : yes
PortIsDebugCapable      : no
PortHasMultiCompanions  : no
PortConnectorIsTypeC    : no

      ======================== USB Device ========================

        +++++++++++++++++ Device Information ++++++++++++++++++
Device Description       : USB Input Device
Device Path              : \\?\usb#vid_222a&pid_0001#6d8841675353#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Device ID                : USB\VID_222A&PID_0001\6D8841675353
Hardware IDs             : USB\VID_222A&PID_0001&REV_0000 USB\VID_222A&PID_0001
Driver KeyName           : {745a17a0-74d3-11d0-b6fe-00a0c90f57da}\0048 (GUID_DEVCLASS_HIDCLASS)
Driver                   : \SystemRoot\System32\drivers\hidusb.sys (Version: 10.0.17134.1  Date: 2018-04-12)
Driver Inf               : C:\WINDOWS\inf\input.inf
Legacy BusType           : PNPBus
Class                    : HIDClass
Class GUID               : {745a17a0-74d3-11d0-b6fe-00a0c90f57da} (GUID_DEVCLASS_HIDCLASS)
Interface GUID           : {a5dcbf10-6530-11d2-901f-00c04fb951ed} (GUID_DEVINTERFACE_USB_DEVICE)
Service                  : HidUsb
Enumerator               : USB
Location Info            : Port_#0004.Hub_#0002
Location IDs             : PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(7)#USB(4), ACPI(_SB_)#ACPI(PCI0)#ACPI(XHC_)#ACPI(RHUB)#ACPI(HS07)#USB(4)
Container ID             : {a8480b02-4ad3-5af4-97df-e926455e735b}
Manufacturer Info        : (Standard system devices)
Capabilities             : 0x94 (Removable, UniqueID, SurpriseRemovalOK)
Status                   : 0x0180600A (DN_DRIVER_LOADED, DN_STARTED, DN_DISABLEABLE, DN_REMOVABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER)
Problem Code             : 0
Power State              : D0 (supported: D0, D1, D2, D3, wake from D0, wake from D1, wake from D2)
Child Device 1          : HID-compliant touch screen
  DevicePath             : \\?\hid#vid_222a&pid_0001#6&30e60e5a&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
  Device ID              : HID\VID_222A&PID_0001\6&30E60E5A&0&0000
  Class                  : HIDClass

        +++++++++++++++++ Registry USB Flags +++++++++++++++++
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags\222A00010000
osvc                    : REG_BINARY 01 01
SkipContainerIdQuery    : REG_BINARY 01 00

        ---------------- Connection Information ---------------
Connection Index         : 0x04 (4)
Connection Status        : 0x01 (DeviceConnected)
Current Config Value     : 0x01
Device Address           : 0x1D (29)
Is Hub                   : 0x00 (no)
Number Of Open Pipes     : 0x01 (1)
Device Bus Speed         : 0x01 (Full-Speed)
Pipe0ScheduleOffset      : 0x00 (0)
Data (HexDump)           : 04 00 00 00 12 01 00 02 00 00 00 40 2A 22 01 00   ...........@*"..
                           00 00 01 02 03 01 01 01 00 1D 00 01 00 00 00 01   ................
                           00 00 00 07 05 81 03 38 00 0A 00 00 00 00         .......8......

        --------------- Connection Information V2 -------------
Connection Index         : 0x04 (4)
Length                   : 0x10 (16 bytes)
SupportedUsbProtocols    : 0x03
Usb110                  : 1 (yes)
Usb200                  : 1 (yes)
Usb300                  : 0 (no)
ReservedMBZ             : 0x00
Flags                    : 0x00
DevIsOpAtSsOrHigher     : 0 (Is not operating at SuperSpeed or higher)
DevIsSsCapOrHigher      : 0 (Is not SuperSpeed capable or higher)
DevIsOpAtSsPlusOrHigher : 0 (Is not operating at SuperSpeedPlus or higher)
DevIsSsPlusCapOrHigher  : 0 (Is not SuperSpeedPlus capable or higher)
ReservedMBZ             : 0x00
Data (HexDump)           : 04 00 00 00 10 00 00 00 03 00 00 00 00 00 00 00   ................

    ---------------------- Device Descriptor ----------------------
bLength                  : 0x12 (18 bytes)
bDescriptorType          : 0x01 (Device Descriptor)
bcdUSB                   : 0x200 (USB Version 2.00)
bDeviceClass             : 0x00 (defined by the interface descriptors)
bDeviceSubClass          : 0x00
bDeviceProtocol          : 0x00
bMaxPacketSize0          : 0x40 (64 bytes)
idVendor                 : 0x222A
idProduct                : 0x0001
bcdDevice                : 0x0000
iManufacturer            : 0x01 (String Descriptor 1)
Language 0x0409         : "STMicroelectronics"
iProduct                 : 0x02 (String Descriptor 2)
Language 0x0409         : "GT911 for STM32F103"
iSerialNumber            : 0x03 (String Descriptor 3)
Language 0x0409         : "6D8841675353"
bNumConfigurations       : 0x01 (1 Configuration)
Data (HexDump)           : 12 01 00 02 00 00 00 40 2A 22 01 00 00 00 01 02   .......@*"......
                           03 01                                             ..

    ------------------ Configuration Descriptor -------------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x02 (Configuration Descriptor)
wTotalLength             : 0x0022 (34 bytes)
bNumInterfaces           : 0x01 (1 Interface)
bConfigurationValue      : 0x01 (Configuration 1)
iConfiguration           : 0x00 (No String Descriptor)
bmAttributes             : 0xA0
D7: Reserved, set 1     : 0x01
D6: Self Powered        : 0x00 (no)
D5: Remote Wakeup       : 0x01 (yes)
D4..0: Reserved, set 0  : 0x00
MaxPower                 : 0x64 (200 mA)
Data (HexDump)           : 09 02 22 00 01 01 00 A0 64 09 04 00 00 01 03 00   ..".....d.......
                           00 00 09 21 10 01 00 01 22 DD 02 07 05 81 03 38   ...!...."......8
                           00 0A                                             ..

        ---------------- Interface Descriptor -----------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x04 (Interface Descriptor)
bInterfaceNumber         : 0x00
bAlternateSetting        : 0x00
bNumEndpoints            : 0x01 (1 Endpoint)
bInterfaceClass          : 0x03 (HID - Human Interface Device)
bInterfaceSubClass       : 0x00 (None)
bInterfaceProtocol       : 0x00 (None)
iInterface               : 0x00 (No String Descriptor)
Data (HexDump)           : 09 04 00 00 01 03 00 00 00                        .........

        ------------------- HID Descriptor --------------------
bLength                  : 0x09 (9 bytes)
bDescriptorType          : 0x21 (HID Descriptor)
bcdHID                   : 0x0110 (HID Version 1.10)
bCountryCode             : 0x00 (00 = not localized)
bNumDescriptors          : 0x01
Data (HexDump)           : 09 21 10 01 00 01 22 DD 02                        .!...."..
Descriptor 1:
bDescriptorType          : 0x22 (Class=Report)
wDescriptorLength        : 0x02DD (733 bytes)
Error reading descriptor : ERROR_INVALID_PARAMETER

        ----------------- Endpoint Descriptor -----------------
bLength                  : 0x07 (7 bytes)
bDescriptorType          : 0x05 (Endpoint Descriptor)
bEndpointAddress         : 0x81 (Direction=IN EndpointID=1)
bmAttributes             : 0x03 (TransferType=Interrupt)
wMaxPacketSize           : 0x0038 (56 bytes)
bInterval                : 0x0A (10 ms)
Data (HexDump)           : 07 05 81 03 38 00 0A                              ....8..

    ----------------- Device Qualifier Descriptor -----------------
Error                    : ERROR_GEN_FAILURE

      -------------------- String Descriptors -------------------
             ------ String Descriptor 0 ------
bLength                  : 0x04 (4 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language ID[0]           : 0x0409 (English - United States)
Data (HexDump)           : 04 03 09 04                                       ....
             ------ String Descriptor 1 ------
bLength                  : 0x26 (38 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "STMicroelectronics"
Data (HexDump)           : 26 03 53 00 54 00 4D 00 69 00 63 00 72 00 6F 00   &.S.T.M.i.c.r.o.
                           65 00 6C 00 65 00 63 00 74 00 72 00 6F 00 6E 00   e.l.e.c.t.r.o.n.
                           69 00 63 00 73 00                                 i.c.s.
             ------ String Descriptor 2 ------
bLength                  : 0x28 (40 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "GT911 for STM32F103"
Data (HexDump)           : 28 03 47 00 54 00 39 00 31 00 31 00 20 00 66 00   (.G.T.9.1.1. .f.
                           6F 00 72 00 20 00 53 00 54 00 4D 00 33 00 32 00   o.r. .S.T.M.3.2.
                           46 00 31 00 30 00 33 00                           F.1.0.3.
             ------ String Descriptor 3 ------
bLength                  : 0x1A (26 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "6D8841675353"
Data (HexDump)           : 1A 03 36 00 44 00 38 00 38 00 34 00 31 00 36 00   ..6.D.8.8.4.1.6.
                           37 00 35 00 33 00 35 00 33 00                     7.5.3.5.3.

0

threads

94

posts

2501

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2501
Published in 2019-6-11 18:08:12 | Show all floors
please try adding to /data/rc.local: modprobe hid-multitouch
i had to modularize this driver to make 0eef:0005 work with other driver
dissatisfied with android on your H3 device? try again with https://h3droid.com/
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list