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

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 31755|Reply: 91

Custom Rom Beelink X2 H3 quadcore

[Copy link]

6

Threads

35

Posts

291

Credits

Intermediate member

Rank: 3Rank: 3

Credits
291
Post time 2015-10-30 22:01:10 From the mobile phone | Show all posts |Read mode
Edited by adheybgz at 2015-10-31 11:23

tested OPI PC  !! all working . i dont know with other
- ALL usb
- lan

- all works

download here
http://freaktab.com/forum/tv-player-support/allwinner-tv-players/531041-rom-sc_v1-1-custom-rom-beelink-x2

here is the log of the rom

Changelog V1:
  • TWRP 2.8.7.0 (Thks Abdul_pt)
  • Kernel from tronsmart (July) Custom config.
  • Xbox360 wireless and cable support.
  • Custom Kodi 14.2 CedarX Hw acceleration from the zidoo source code(thks zidoo and kodi team) cleaned and remove all their protections!
  • Updated all Google apps!
  • Clean all that Dragon resource eater spyware crap
  • Added some preinstall apps. Youtube, Terminal, Reboot, ES File Explorer, AdAway...
  • Increased TCP buffers
  • Added a Nexus10 build.prop
  • Other things ....
Changelog V1.1:
  • All of the above minus my custom kernel, is not needed...
  • Based on 202k4
  • Updated root
  • Updated Busybox
  • Added Nano text editor. Open Terminal and type nano
  • Added Bash enviroment. Open Terminal and type bash
  • Added init.d support.
  • Other small things....
Antutu 27000+


please keep in mind be sure your device has a hetsink or fan otherwise it will LAGGY.

ps : here the trick cannot detec lan or other usb port

first before proceeding to flash with phonenixcard format your card with full format not quick . ( i use windows default disk management  )

second . defragment your card

third  flashing .

done





0

Threads

10

Posts

40

Credits

Novice

Rank: 1

Credits
40
Post time 2015-11-4 10:36:54 | Show all posts
Edited by MDM63 at 2015-11-4 10:51

Found some time to fiddle with this today (night). I got my IR remote working and KODI 15.02 seems to work fine. Also mic works, but only in close range. I did not have heart to shout at my condo in the middle of the night.

I did the following things if anyone is interested.

Followed darqoq tutorial to setup the IR remote. I had to do some things little different.

Preparation:
Download the necessary lircd files from darqoq's mega account. (I haven't checked, but I have strong suspicion that the lircd might be already installed in this ROM...)
Find away to move the files to your Orange Pi. I tried to download them with the build in browser, but it required to install the MEGA android app an I could not find the folder where the MEGA app donwloaded the files.
You could use WinSPC (or any other SFTP app) to transfer the files to you Orange Pi plus. For this you will need SSH server for android. (I used SSHDroid). These apps are probably not necessary, but will ease the process, as one can use desktop computer to do all the commands and file editing. I had several issues using my wireless USB keyboard and the terminal emulator. (e.g. unable to edit files with nano, my arrow keys did not move the cursor for some reason.)

Installing:
Access the command line (Use the terminal emulator or SSH)

Become su

   
  1. su
Copy the Code


Remount /system as RW(read and write) to be enable to do the necessary changes.

   
  1. mount -o remount,rw /system
Copy the Code


Create dir

   
  1. mkdir /etc/lircd
Copy the Code


Copy the lircd files download from mega to to /etc/lircd

  1.    cp /sdcard/Download/evtest /system/bin/evtest
  2.     cp /sdcard/Download/lircd /system/bin/lircd
  3.     cp /sdcard/Download/irw /system/bin/irw
  4.     cp /sdcard/Download/irrecord /system/bin/irrecord
  5.     cp /sdcard/Download/start_lircd.sh /system/bin/start_lircd.sh
  6.     cp /sdcard/Download/stop_lircd.sh /system/bin/stop_lircd.sh
Copy the Code


Modify file permissions so we can run the necessary programs. (In this ROM chmod supports only octal mode descriptions!)
I used 777 for them all,(in general this is not very wise) if you are concerned with giving all access to every one to these files you are welcome to experiment with more restricted permissions. More information about user permissions can be found here.

  1.    chmod 777 /system/bin/evtest
  2.     chmod 777 /system/bin/lircd
  3.     chmod 777 /system/bin/irw
  4.     chmod 777 /system/bin/irrecord
  5.     chmod 777 /system/bin/start_lircd.sh
  6.     chmod 777 /system/bin/stop_lircd.sh
Copy the Code


Check that the module is loaded

  
  1. lsmod | grep sunxi_ir_rx
Copy the Code


You should get:

   
  1. sunxi_ir_rx 9154 0 - Live 0x00000000
Copy the Code


Find the correct event handler for the IR receiver.

   
  1. cat /proc/bus/input/devices
Copy the Code


You should get something on the lines of:
  1.    I: Bus=0019 Vendor=0001 Product=0001 Version=0100
  2.     N: Name="sunxi-ir"
  3.     P: Phys=RemoteIR/input1
  4.     S: Sysfs=/devices/virtual/input/input3
  5.     U: Uniq=
  6.     H: Handlers=sysrq kbd event5 cpufreq_interactive
  7.     B: PROP=0
  8.     B: EV=100003
  9.     B: KEY=ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe
Copy the Code


For me it was event5.

There is some issue with the sunxi_ir_rx module. It needs to be uninstalled and the reinstalled to work properly. If you type
  1. evtest /dev/input/event5
Copy the Code
and press buttons of your remote, it will only give one result and then hang. (You can press ctrl+c to exit the evtest. You will probably need to become sudo again
  1. su
Copy the Code
)

Reload the sunxi_ir_rx  module.
  1. rmmod sunxi_ir_rx
  2. insmod /system/vendor/modules/sunxi-ir-rx.ko
Copy the Code


These next couple of steps are not as necessary as the others, but I leave them here for debugging purposes. You can skip straight to recording the IR remote commands.

Test the driver.

   
  1. evtest /dev/input/event5
Copy the Code

You should get something like this.
  1.     ...
  2.         Event code 254 (?)
  3.         Event code 255 (?)
  4.         Event type 20 (Repeat)
  5.     Testing ... (interrupt to exit)
  6.     Event: time 1444933051.375784, -------------- Report Sync ------------
Copy the Code


Check again that the module is loaded

   
  1. lsmod | grep sunxi_ir_rx
Copy the Code


Again you should get:

   
  1. sunxi_ir_rx 9154 0 - Live 0x00000000
Copy the Code


Check that you are still getting the same handler.

   
  1. cat /proc/bus/input/devices
Copy the Code

  1.    I: Bus=0019 Vendor=0001 Product=0001 Version=0100
  2.     N: Name="sunxi-ir"
  3.     P: Phys=RemoteIR/input1
  4.     S: Sysfs=/devices/virtual/input/input5
  5.     U: Uniq=
  6.     H: Handlers=sysrq kbd event5 cpufreq_interactive
  7.     B: PROP=0
  8.     B: EV=100003
  9.     B: KEY=ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe
Copy the Code


Test that you get input events from the driver and that it won't hang after the fist key press.

   
  1. evtest /dev/input/event5
Copy the Code


Pressing any key on your IR remote, should add line with event.


  1.     ...
  2.         Event code 255 (?)
  3.       Event type 20 (Repeat)
  4.     Testing ... (interrupt to exit)
  5.     Event: time 1444933164.078062, type 1 (Key), code 123 (Hanja), value 1
  6.     Event: time 1444933164.078073, -------------- Report Sync ------------
  7.     Event: time 1444933164.276381, type 1 (Key), code 123 (Hanja), value 0
  8.     Event: time 1444933164.276389, -------------- Report Sync ------------
  9.     Event: time 1444933164.477201, type 1 (Key), code 123 (Hanja), value 1
  10.     Event: time 1444933164.477211, -------------- Report Sync ------------
  11.     Event: time 1444933164.676388, type 1 (Key), code 123 (Hanja), value 0
  12.     Event: time 1444933164.676396, -------------- Report Sync ------------
Copy the Code


Record your remote key presses.

  
  1. /system/bin/irrecord -H devinput -d name=sunxi-ir /etc/lircd/lircd.conf
Copy the Code


You can list accepted key names with following command.

   
  1. /system/bin/irrecord -l
Copy the Code


Check /etc/lircd/lircd.conf, if your key codes are doubled like these.

  1. begin codes
  2. KEY_0                    0x0100FF00000001 0x00000000000000
  3. KEY_1                    0x01000100000001 0x00000000000000
  4. end codes
Copy the Code


Edit /etc/lircd/lircd.conf manually remove the second code part (0x00000000000000) (I have not tested if this is really necessary.)

  1. begin codes
  2. KEY_0                    0x0100FF00000001
  3. KEY_1                    0x01000100000001
  4. end codes
Copy the Code


Edit /etc/lircd/lircd.conf and change the 'name' from lircd.conf  to devinput or linux-input-layer (this remote names are predefined in Kodi configuration, I used devinput)

  1. begin remote
  2. name  devinput
Copy the Code


Bare minimum keys to record are:
KEY_DOWN, KEY_UP, KEY_LEF, KEY_ENTER, KEY_BACK

Test that it works.
Start lirc daemon.

  
  1. /system/bin/start_lirc.sh
Copy the Code


Run irw and press some keys, check that you get correct output that correlates to your /etc/lircd/lircd.conf.

   
  1. /system/bin/irw /dev/lircd
Copy the Code

Return should be something on the line of this:
  1.    000100c300000001 00 KEY_OK myremote
  2.     000100c500000001 00 KEY_DOWN myremote
  3.     000100a800000001 00 KEY_KPPLUS myremote
  4.     000100a000000001 00 KEY_POWER myremote
  5.     0001000800000001 00 KEY_8 myremote
  6.     0001000100000001 00 KEY_1 myremote
  7.     0001000600000001 00 KEY_6 myremote
Copy the Code


To stop the lircd deamon use:
  1. /system/bin/stop_lirc.sh
Copy the Code


Now you should have fully functioning IR remote.

To keep these setting after restart you need to make a script, save it somewhere you can find it and run it at start up.

First use your favourite editor to create a script. (I named mine startup.sh and saved it to /etc/lircd. It really does not matter much where you store your script and what name you give to it, as long as you can find it and the android can access it at boot.

Here is mine:
  1. [list=1]
  2. [*]#!/system/bin/sh
  3. [*]mount -o remount,rw /system
  4. [*]rmmod sunxi_ir_rx
  5. [*]insmod /system/vendor/modules/sunxi-ir-rx.ko
  6. [*]/system/bin/start_lircd.sh
  7. [/list]
Copy the Code


You need to give you script proper premissions.
  1. chmod 777 /etc/lircd/startup.sh
Copy the Code


Then I used Script Manager to run my script after boot.

Now only thing left is to uninstall the old Kodi (14) and install newest Kodi (15.02) from play store.

I will keep you updated as I get further with my fiddling. I am quite busy with my day job and other projects, but will come back to this time to time.

Pero nuestros perros son blancos.

0

Threads

5

Posts

28

Credits

Novice

Rank: 1

Credits
28
Post time 2015-10-31 02:44:43 | Show all posts
Edited by AaronNewcomb at 2015-10-31 02:47

I was able to get this running on my OPi PC, but no networking (ethernet or wifi). I had to do the full format as suggested above before phoenix would successfully write the image.

10

Threads

282

Posts

1541

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1541
Post time 2015-10-31 03:13:35 | Show all posts
How flash this img on sd,please post phoenix version.

10

Threads

282

Posts

1541

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1541
Post time 2015-10-31 04:33:37 | Show all posts
ok,i get it,problem  is not compatible sd card,another one work,now testing.

10

Threads

282

Posts

1541

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1541
Post time 2015-10-31 04:37:35 | Show all posts
Awesome rom,support script.bin file,now try hdmi2dvi and another futures from script.bin

10

Threads

282

Posts

1541

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1541
Post time 2015-10-31 05:25:58 | Show all posts
Edited by melanrz at 2015-10-31 07:55

The best rom,thank you for this,all working,but cpu only 1200mhz.

3

Threads

65

Posts

256

Credits

Intermediate member

Rank: 3Rank: 3

Credits
256
Post time 2015-10-31 06:39:39 | Show all posts

please give us the way?

6

Threads

35

Posts

291

Credits

Intermediate member

Rank: 3Rank: 3

Credits
291
 Author| Post time 2015-10-31 08:06:47 | Show all posts
AaronNewcomb replied at 2015-10-31 02:44
I was able to get this running on my OPi PC, but no networking (ethernet or wifi). I had to do the f ...

im using sandisk 16gb UHS-1,

try full format with this and then defragment your card

6

Threads

35

Posts

291

Credits

Intermediate member

Rank: 3Rank: 3

Credits
291
 Author| Post time 2015-10-31 08:13:46 | Show all posts
bruski replied at 2015-10-31 06:39
please give us the way?

it's simple , just do a little search .
http://www.orangepi.org/Docs/SDcardinstallation.html

6

Threads

35

Posts

291

Credits

Intermediate member

Rank: 3Rank: 3

Credits
291
 Author| Post time 2015-10-31 08:29:14 | Show all posts
melanrz replied at 2015-10-31 05:25
The best rom,thank you for this,all working,but cpu only 1200mhz.

yea it's set 1.2 ghz but try with CPU set (root) version see how it works ,. otherwise  a have issue with google play some of appsdid not compatible with this device. do u have same issue ? plis share what ur experience


You have to log in before you can reply Login | Register

Points Rules

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

2017-2-22 07:21 GMT+8 , Processed in 0.040291 second(s), 24 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list