rna

  • Posts

    45
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

rna's Achievements

  1. I will answer my question myself: I solved this issue with help from @sickOS from Manjaro forum and this link: https://github.com/maz-1/h96-pro-plus-armbian-stuff/search?q=QCA9377 For the detail of step by step you can see my post on Manjaro forum here: https://forum.manjaro.org/t/manjaro-arm-for-rockchip-tv-boxes/44998/55 But for those of you that need the dtb (I edited the "rk3399-rockpro64.dtb" bluetooth section) you can find it here: rk3399-H96Max.dtb rk3399-H96Max.dts It's simple, just copy and paste my "rk3399-H96Max.dtb" into your dtb folder, then change your configuration text to this new dtb. Then restart your box. Your Wifi and Bluetooth should work out of the box. But please make sure that you have installed armbian-full-firmware from armbian-config. Hope that Helps! Many Thanks, rna
  2. Dear All, I managed to install Armbian on my H96 Max RK3399 box by using the nano-pc-t4 image Armbian Focal, and rockpro64 dtb. I am also able to boot to Armbian Twister OS by using Armbian Reforge u-boot as I mentioned in my previous post: Everything works fine. Even I managed to activate the internal wifi QCA9377 (ath10k_sdio) by installing the Full Armbian Firmware via armbian-config. I also installed the bluetooth module via armbian-config. The buetooth status is active But the bluetooth is not working. $ service bluetooth status ● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor pre> Active: active (running) since Mon 2021-03-08 20:35:33 WIB; 1h 8min ago Docs: man:bluetoothd(8) Main PID: 1711 (bluetoothd) Status: "Running" Tasks: 1 (limit: 4382) Memory: 1.5M CGroup: /system.slice/bluetooth.service └─1711 /usr/lib/bluetooth/bluetoothd Mar 08 20:35:30 rockpi-4b systemd[1]: Starting Bluetooth service... Mar 08 20:35:31 rockpi-4b bluetoothd[1711]: Bluetooth daemon 5.53 Mar 08 20:35:33 rockpi-4b systemd[1]: Started Bluetooth service. Mar 08 20:35:33 rockpi-4b bluetoothd[1711]: Starting SDP server Mar 08 20:35:33 rockpi-4b bluetoothd[1711]: Bluetooth management interface 1.18> The systmctl indicates that bluetooth is running $ systemctl | grep -i bluetooth sys-devices-platform-ff180000.serial-serial0-serial0\x2d0-bluetooth-hci0.device loaded active plugged /sys/devices/platform/ff180000.serial/serial0/serial0-0/bluetooth/hci0 sys-subsystem-bluetooth-devices-hci0.device loaded active plugged /sys/subsystem/bluetooth/devices/hci0 bluetooth.service loaded active running Bluetooth service bluetooth.target loaded active active Bluetooth But dmesg cannot detect the hardware $ dmesg |grep -i Bluetooth [ 31.934540] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 31.934552] Bluetooth: BNEP filters: protocol multicast [ 31.934572] Bluetooth: BNEP socket layer initialized Bluetoothctl cannot find the hardware $ bluetoothctl Agent registered [bluetooth]# power on No default controller available [bluetooth]# scan on No default controller available [bluetooth]# Did anyone has experience the same problem? How to setup bluetooth on Armbian Focal? How to solve this problem? Many Thanks for your help
  3. I'll answer my question myself. For those of you that cannot boot to TwisterOS but could boot on ArmbianReforge, you can try this fix. I inspired this procedure from @balbes150post on LibreElec. https://forum.libreelec.tv/thread/20823-unofficial-le-version-for-rk3328-rk3399-3288-3188/ My box is H96Max RK3399. ArmbianReforge Image works Out Of The Box, but TwisterOS cannot boot (Blank Screen). So after reading those procedure on LibreElec, with the help from @sickOS on Manjaro Forum. I got the idea to extract the ArmbianReforge u-boot which is working on my box, then transfer those u-boot into my TwisterOS SD Card. Here's how I did it: 1. I download and burn the ArmbianReforge to my SD Card 2. I extract the u-boot from the ArmbianReforge SD Card which is currently working in my box using dd sudo dd if=/dev/<SD_card> of=/location/of/your/extracted/u-boot-RK3399-ArmbianReforge.img bs=1M count=16 3. Then I download and burn the TwisterOS on the SD Card 4. Then I burn the ArmbianReforge extracted u-boot to my TwisterOS SD Card using dd sudo dd if=/location/of/your/extracted/u-boot-RK3399-ArmbianReforge.img of=/dev/<SD_card> conv=fsync bs=1 count=442 sudo dd if=/location/of/your/extracted/u-boot-RK3399-ArmbianReforge.img of=/dev/<SD_card> conv=fsync bs=512 skip=1 seek=1 5. I change the DTB to "rk3399-rockpro64.dtb" 6. Now Twister OS is working on my H96Max RK3399 Don't forget to change the <SD_card> with your SD Card partition location. You can use terminal to see your SD Card partition using this command: lsblk This method should also work for TwisterOS Manjaro Arm Edition Here's my extracted u-boot from Armbian Reforge for Armbian TwisterOS u-boot-RK3399-ArmbianReforge.img.xz
  4. It didn't work, I came up with this tutorial because adding multi-arch simply does not make box86 works. You can also try it yourself. I read somewhere that there are two versions of Arm64, one is compatible with multiarch 32bit, and one is not. But I don't know which one is armbian. But my trial attempts told me that Multi-Arch armhf does not works as expected in my box. There are many dependencies that are broken. even installing as simple as "0ad" armhf does not work. Chroot 32bit is the solution for that. I personally contacted PtitSeb, the creator of Box86, and the advice was using a chroot for Arm64. I would be very happy if multi-arch is working for Armbian, that would be my first option if it would be possible in the future.
  5. To fix Sketchup 7/8 Display Error: You have to edit the wine regedit and change the display setting 1. Open Sketchup then close 2. Open terminal then run regedit by typing: schroot -c debian-armhf ~/box86/build/box86 ~/wine/bin/wine regedit 3. Then find: HKEY_CURRENT_USER\Software\Google\SketchUp7\GLConfig\Display 4. Then change the “HW_OK” from “0” to “1” 5. Then close your regedit 6. Then open Sketchup 7/8, you should be ok.
  6. try to use Armbian Ubuntu Focal.
  7. Great, so happy to hear that it works. If you can test, maybe you could report some applications that work by using this method. So that we can have a list of x86 program than can run for the others. Many thanks
  8. Is there anybody that successfully boot to TwisterOs or Armbian using H96 Max RK3399? I tried the dtb but cannot boot. Many thanks
  9. Finally I successfully installed Box86 in Armbian by using this chroot armhf method:
  10. Dear All, I just want to make a Tutorial on my successful attempt in Installing Box86 on Arm64 and Install Wine X86 apps. In this example it is Sketchup 7.1 and Sketchup 8 But before starting I want to thanks to PtitSeb for his hard work to bring this dream into reality (running x86 apps on arm64 box). My system is X96 Max+ S905x3. I used @balbes150 older image to boot to Armbian, many thanks for him. So In general every box running Armbian 64bit should work. This tutorial will use debootstrap Debian Buster Armhf as base for chroot. The keyword is "Arm64" support "Armhf", therefore you do not need to use Qemu or Binfmt_misc as it is very slow. Here's my report on Manjaro Arm Forum: https://archived.forum.manjaro.org/t/x86-64-chroot-on-manjaro-arm-install-x86-64-deb-install-wine-windows-apps/150420/103 Here's what you need: 1. Open terminal, then type: sudo apt install schroot debootstrap sudo mkdir /srv/chroot sudo mkdir /srv/chroot/debian-armhf sudo debootstrap --arch armhf --foreign buster /srv/chroot/debian-armhf http://debian.xtdv.net/debian sudo chroot "/srv/chroot/debian-armhf" /debootstrap/debootstrap --second-stage 2. Then add a config file for debian-armhf: sudo nano /etc/schroot/chroot.d/debian-armhf.conf Copy paste this code, and change <username> into your computer username [debian-armhf] description=Debian Armhf chroot aliases=debian-armhf type=directory directory=/srv/chroot/debian-armhf profile=desktop personality=linux preserve-environment=true root-users=<username> users=<username> 3. Then edit the nssdatabases sudo nano /etc/schroot/desktop/nssdatabases copy paste this code # System databases to copy into the chroot from the host system. # # <database name> #passwd shadow #group gshadow services protocols #networks #hosts #user 4. Edit the stateoverride, and change the first contrab to root sudo nano /srv/chroot/debian-armhf/var/lib/dpkg/statoverride copy paste this code root root 2755 /usr/bin/crontab 5. Now you should be able to schroot by typing sudo schroot -c debian-armhf 6. edit the bashrc nano ~/.bashrc add this code to the bottom of the line export LANGUAGE="C" export LC_ALL="C" export DISPLAY=:0 7. let's restart chroot environment by exit and login again, then add a username that is similar to your main system username exit id sudo schroot -c debian-armhf adduser <username> su - <username> then again add bashrc nano ~/.bashrc again add this code to the bottom of the line export LANGUAGE="C" export LC_ALL="C" export DISPLAY=:0 8. Then restart chroot by double exit and login again, then install the following package exit exit sudo schroot -c debian-armhf apt update && apt upgrade apt install git wget cmake build-essential python3 apt install gcc-arm-linux-gnueabihf 9. Now let's compile the Box86 within Chroot environment git clone https://github.com/ptitSeb/box86 cd box86 mkdir build; cd build; cmake .. -DARM_DYNAREC=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo; make exit 10. Now login to chroot again then download wine from twisteros: https://twisteros.com/wine.tgz then extract it to your home folder. Your extracted wine location should be in: ~/wine/bin/wine sudo schroot -c debian-armhf wget https://twisteros.com/wine.tgz tar zxvf wine.tgz 11. Install Zenity in chroot environment, as wine will not have window without it: apt install zenity 12. Exit from chroot environment by typing exit 13. To install a windows app, in this case sketchup 7.1 and 8 you can download it from: http://www.oldversion.com/windows/google-sketchup/ then type: schroot -c debian-armhf ~/box86/build/box86 ~/wine/bin/wine 'your/installation/folder/It/is/better/to/drag/and/drop/the/installer' 14. To run the installed program you can type this or make it as a shortcut from desktop launcher: schroot -c debian-armhf ~/box86/build/box86 ~/wine/bin/wine your/installed/program/location and here's my final sketchup running smoothly on LLVM Pipe Graphics. I also attached the Box86 running on Manjaro Arm with the good performance as well for addition. To be honest, I didn't expect the performance to be this good. It almost remind me of "Rosetta 2" of Apple Silicon, but it is open source. Big respect for PtitSeb for bringing this magic to the Arm64 World. I also want to thanks to Xabbu and Lolix from Manjaro Forum to help me figuring out the chroot environment in my older Manjaro Forum Post. Hope that helps, Many Thanks, rna UPDATE 1 *IMPORTANT NOTE: To fix Sketchup 7/8 OpenGL Display Error: You have to edit the wine regedit and change the sketchup display setting from "0" to "1" - Open Sketchup then close - Open terminal then run regedit by typing: schroot -c debian-armhf ~/box86/build/box86 ~/wine/bin/wine regedit - Then find: HKEY_CURRENT_USER\Software\Google\SketchUp7\GLConfig\Display - Then change the “HW_OK” from “0” to “1” - Then close your regedit - Then open Sketchup 7/8. Now you should be ok. UPDATE 2 you can also follow the Box86 compatibility list here: https://github.com/ptitSeb/box86-compatibility-list/issues You can also use winetricks to install some dependency, like .NET 4.0 as detailed by WheezyE here: https://github.com/ptitSeb/box86-compatibility-list/issues/46 In fact, by using WheezyE method I was able to install all depencencies to install sketchup 2014 successfully from winetricks in Armbian Reforge (Just to let you know that Armbian Reforge is embedded with Box86 by default). However, at the moment winetricks does not works in our chroot method. Therefore, Help would be appreciated. BONUS: For those of you that desperately want to install blender 2.79 on Armbian Focal / Manjaro, you can use this method. Open terminal, then type: sudo schroot -c debian-armhf apt install blender exit Now to open blender, you can use this command (you can also make launcher): schroot -c debian-armhf blender Now Blender 2.79b should run perfectly on you system
  11. Hi @jtremblant, @Salvador Liébana, @NicoD Thank You for bringing this huge update for Armbian. I just wonder, is this Twister OS able to boot in other board? I have an X96 Max+ which is an s905x3 box. I read in the website that this OS is intended for only "Raspberry Pi" and "RK3399" board. I want to run the x86 apps in Armbian, and found out that "box86" is currently the best option. However when I tried to compile it, it gives me error. It is said that I have to chroot to 32 bit system to compile it. But I don't know how to do that in Armbian? Your Twister OS has come pre-installed with this "Box86" apps, but I doubt if it will boot on my board. Many Thanks, rna *In Manjaro, I was able to run x86_64 apps via chroot "qemu-user-static", but the performance is quite slow. While in Armbian you cannot use "qemu-user-static" because the binfmt_misc is not compiled in the kernel. Here's my report for Manjaro Arm running x86_64 apps: https://archived.forum.manjaro.org/t/x86-64-chroot-on-manjaro-arm-install-x86-64-deb-install-wine-windows-apps/150420/103
  12. Could you please share a reading about this? It doesn't matter if it is a complicated process for me. Anyway thanks for your reply
  13. ok got it! It means I have to prepare an SD card that is bigger than 16GB to backup my entire eMMC content
  14. Thanks for your reply, I had asked the admin of this post whether is it possible to run armbian in this box without erasing the eMMC? because I want to keep the android firmware in the box while booting armbian from SD Card.
  15. Thanks for your reply, I just want to confirm: Does this mean that I have to erase the original firmware from the eMMC? Is there a way that does not involve erasing the original firmware? instead just using SD Card to boot Armbian while keeping the android in the eMMC.