Mate 9- great linux compatibility - Huawei Mate 9 Guides, News, & Discussion

Hi, i want to show you my ubuntu linux station based on linux deploy app with xfce desktop and with working sound and video through xserver xsdl app.
Stereo bluetooth speakers sony srs-x11
Rapoo optical mouse with dongle through usb otg adapter
Bluetooth Keyboard bow hb199
Mate 9 also can support loop devices and can install linux to catalog instead of image file.

Any chance you could advise on configuring, mine shows a fail at mounting partitions /.........
I have granted root with SuperUser and granted BusyBox SuperUser also...

Related

[Q] USB Audio on ubuntu?

Has anyone manage to install an usb audio board or usb headphones to ubuntu on hd2? Is it possible? I'm trying to update alsa drivers but haven't managed to solve this problem.
Is there a known way?
Yes, worked fine with new kernel update and modules. It detected as soon as i inserted the sound card even through usb hub.
However audio does not work for phone calls still. Exploring out still...
can you please direct me on where or how these updates could be make. Even external audio would be ok.
I've tried downloading any update i could get, but don't know how to enable sound as my external usb audio adapters are not yet recognised.
Yes... external audio is fine. I tried with a Microsoft USB Headphones and also with cheap usb sound card both are working fine...
Search with the string zImage-htcleo-usbhost-latest and download both zImage-htcleo-usbhost-latest and modules-htcleo-usbhost-latest.tgz
Search [Discussion]Linux and Android on the HD2 and you will get information about updating the kernel.
Cheers!
hello, i did by the following guide
Installing the latest Linux kernel image (zImage)
1) Download the latest Linux kernel image (right click, save file as)
1a)for Google Android
1b) for classical GNU/Linux based distros (Ubuntu, openemebdded, meego, maemo etc)
Be aware these build links are dynamic and will be updated once the Linux kernel source code is updated. See here for static links
2) Rename the file to zImage
3) Overwrite your old zImage file with the newly obtained zImage file
Installing the matching Linux kernel modules (.ko files)
1) Download the latest Linux kernel modules to match your kernel image
1a) for classical GNU/Linux based distros (Ubuntu...)
1b) for Google Android
2) Install the modules...
2a) in GNU/Linux
As root run
cd /
tar xvf /path/to/modules-htcleo-usbhost-latest.tgz
downloaded both zImage-htcleo-usbhost-latestt and modules-htcleo-usbhost-latest.tgz then renamed first one like the older one in the linux folder, then use the tar command in root console to copy files from the archive to /lib folder (or wherever they were put). After a restart i get some fatal errors during text load up of linux, something involving mod probe complaining about not finding something in /lib folder, modules.dep if i remember, then at GUI load i get another error "cannot update ICEautorithy file. When i click ok, i get the desktop loaded but still no sound plus now, no wifi or some other drivers.
I guess i did it wrong
diwa_sen said:
Yes, worked fine with new kernel update and modules. It detected as soon as i inserted the sound card even through usb hub.
However audio does not work for phone calls still. Exploring out still...
Click to expand...
Click to collapse
can you please tell me in detail what I have to do to get usb audio working
in sound settings it shows me that there is no hardware????
i didn't manage to solve that problem.
i still have problems replacing the old kernel and modules, after reboot the phone displays some errors involving modprobe then iceauthority files. If someone could upload a newer version using this kernel or a guide to enable sound, it would be excellent.
ok, managed to change to a new kernel and modules with no problems but still.. no audio. By default (no other modifications) i have no audio devices in the hardware tab of "audio" in preferences. When booting up i can see the usb-audio driver loading up and my audio card is recognised as "usb headphones" or something like that, but when the graphical part of ubuntu loads up i can't see nothing related to audio.
Tried with both cheap sound card and logitech usb headphones, same result, no sound.
USB audio works on my Allwinner A10 tablet witn "Unofficial CyanogenMod 9 for many AllWinner A10 tablets" firmware from Christian Troy

[HOWTO] Enable Wired Ethernet on P5110

Dear Forum,
Wired Ethernet on a tablett HOWTO.
Tested on a P5110
Get ready to build CyanogenMod for Your Device
http : / wiki.cyanogenmod.org/w/Build_for_p5110
but before you build:
cd android/system/kernel/samsung/espresso10
make menuconfig
[Navigate using arrow keys and enter]
Load an Alternate Configuration File:
./arch/arm/configs/cyanogenmod_p5110_defconfig
then
Device Drivers ->
Network device support ->
USB Network Adapters ->
Multi-Purpose USB Networking Framework ->
[PRESS y so that the module will be built into the kernel]
[*] Multi-purpose USB Networking Framework
find the Chipset Your Adapter is using
[PRESS y]
[*] ASIX AX88xxx Based USB 2.0 Ethernet Adapters
or whatever Chipset your Adapter is using
exit and save
build the ROM
Flash it
open terminal
su
netcfg
Your eth0 should now show up to get an IP Address
netcfg eth0 dhcp
The grapevine says not all apps are supported as Android has a sketchy implementation apps written in c or c++ should work
martburg said:
Dear Forum,
Wired Ethernet on a tablett HOWTO.
Tested on a P5110
.....
The grapevine says not all apps are supported as Android has a sketchy implementation apps written in c or c++ should work
Click to expand...
Click to collapse
What would ./arch/arm/configs/cyanogenmod_p5110_defconfig be on a p3110?
Easier will be to flash Agni kernel and install this app from store. Is using a little hack so every app works with the wired connection https://play.google.com/store/apps/details?id=xda.usbhost.test
I"ve been scratching my head for a while on this one. Here's what I did to get ethernet access with the help from above. Thanks iamashwin and blueseeker.
1) From TWRP v2.8.4.0 in boot recovery, flash the following:
- Recent version of OmniRom 4.4.4 nightly. I used the 2/12/15 nightly.
- Flash PA Gapps Micro for 4.4.4
- Flash SuperUser
- Flash AGNi kernel for 4.4.4
- Reboot
2) Load this android app.
2) Make sure wifi is turned off.
3) Plug in your USB-OTG adapter with USB-Ethernet adapter. I bought this USB-OTG adapter and this USB-Ethernet adapter.
4) Run ethernet app that you downloaded from 2) above. Hit "Enable".
You should be good to go from here.....
Samsung Galaxy Tab 3 10.1" P5200.
Hello I want to get a similar configuration setup on my Samsung Galaxy Tab 3. Is there any way that modifications can be made to what's been used here to support it.

ROM with built-in OTG

Hello,
I need a ROM with built-in OTG because my Nexus's screen is dead and I want to use a mouse with my powered usb otg hub to install debian and set a little home server.
I tried Chroma and Nitrogen without success.
Thank you!
That feature is mainly kernel related. So you gonna find a kernel with usb otg
I tried pure nexus with hellspawn N4 which has built in otg but no otg out of the box, I can't use the touch so I can't try app or settings :/
Also I have a bluetooth mouse if it easier to set it via adb but I don't know how..
Not sure how to set it via adb in hellspawn, but in Quanta, it can be set by issuing the following command...
Code:
echo "1" > /sys/module/msm_otg/parameters/otg_hack_enable
Can you tell me a good rom with ? Because pure nexus is 6.0.1 and Quanta is for 5.1 :/
PS: I tried the command but nothing
Ok so thanks to this usefull programm http://marian.schedenig.name/2014/07/03/remote-control-your-android-phone-through-adb/ I can pair my bluetooth mouse and use my phone !
Actually it is pretty simple it takes screenshot of the phone and use adb click to send touch input.
Quanta is also for marshmallow

Galaxy Note 4 (SM-N910T) w/ LineagOS 15.1/NetHunter - Alfa AWUS036NEH not detected

First time posting, but I've read through dozens of threads and have used the site extensively. I cannot seem to find an answer to the issue I'm having. I had an old Galaxy Note 4 lying around and wanted to see if I could install NetHunter. After tons of trial and error, I was successful in flashing LineageOS 15.1, addonsu -15.1 arm, nethunter-generic-armhf-kalifs-full-rolling-2017.10-20171013-0449, and kernel-nethunter-generic-armhf-3.15.4-20170211-0304 (too new to post link of the NH builds). I have full chroot, updated busybox (v1.25-0-NetHunter) and SuperuserSU to manage root privileges. I had to install all of the tools (e.g., cspolit, DriveDroid, OpenVPN, etc.) individually, but they seem to be in working order.
My issue: I bought an external wifi adapter (Alfa AWUS036NEH) with a chipset (Ralink Technology Wifi Adapter RT2780) that supports monitor mode. The Wifi card appears to work flawlessly on my macbook with Kali distro, but I can't seem to find a way for the NH kernel on the Note 4 to recognize the adapter. In the kernel I flashed, I can see the rt2870.bin firmware required in the /system/etc/firmware folder, but for some reason Nethunter does not recognize the adapter. On most Nexus/NH builds, the wifi adapter is found to be compatible and is usually plug and play.
When I run:
-Kali terminal
-ifconfig
There is no wlan1. Only wlan0.
Same thing if I run iwconfig.
When I run:
-kali terminal
-airmon-ng
I receive a prompt that states:
Found phy0 with no interface assigned, would you like to assign one to it [y/n]?
-y
ERROR adding monitor mode interface: command failed: Operation not supported (-95)
No surprise, the above is indicating the embedded chipset does not support a monitor mode interface, but it doesn't even list the external adapter.
when I run: lsusb
Output shows the Ralink wifi adapter on bus 3:2.
I understand NetHunter was not built for LineageOS 15.1, but there has to be some way to maybe push the firmware or modify the firmware (I have the original firmware from the manufacture) to be compatible with my current build? Do I need to compile my own Kernel for this to work properly? Why doesn't the generic NH kernel, with the rt2870.bin file work?
Thanks ahead of time.
Have you tried using Magisk and flashing the Kali Nethunter module with that? It also includes multiple wireless firmware and I believe the correct one for your Alfa dongle. I too just bought that exact WIFI dongle and I'm still in the process of setting up Kali on my Note 4.
I had a similar issue as you on my OnePlus 5T even with the Magisk module for Nethunter. I'm going to try and find a different kernel because I think that's my issue on that phone.
My Note 4 is N910P but I'll let you know if I find something that works and maybe it'll help you find a way on your variant.

some android tv firmware

here is also trouble shooting information
~~~~~~~~~~~~~~~~~~~~~~~
https://store.askey.com/adt-3.html
~~~~~~~~~~~~~~~~~~~~~~~
android 13
for google tv and android tv
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Android 13 for TV | Android Developers
developer.android.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
android 12
for google tv and android tv
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
https://developer.android.com/tv/release/12#install-manual
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
android x86
android (tv / tablet / pc) version. i
this runs on laptops and in virtual machines. its stock un bloated
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Android-x86
Android-x86: Free software download for windows, linux.
www.fosshub.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------------------------------
and now linux options for android tv boxes
-----------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GitHub - 833M0L3/H96MaxX3: Install Linux on H96 Max X3 / Amlogic S905X3 TV Box. Cheap alternative to Raspberry Pi's for making a headless home server.
Install Linux on H96 Max X3 / Amlogic S905X3 TV Box. Cheap alternative to Raspberry Pi's for making a headless home server. - GitHub - 833M0L3/H96MaxX3: Install Linux on H96 Max X3 / Amlogic S9...
github.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Linux images for android tv boxes (currently avalaible: archlinux, kali linux) - FreakTab
This topic if for people who want to run linux on thier android tv boxes (by linux i mean kali linux and arch linux) kali linux and arch linux images can be found here: https://disk.yandex.com/d/q3R5VgmiDDLq6w Steps to run linux. 1. Flash the image you downloaded from the link above to an...
forum.freaktab.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
project slimBOXtv
A project to create firmware for TV boxes and sticks with an Amlogic processor. Amlogic S905X, S905X2, S905X3, S912, S922, S905W, S905W4, S905Y2, S905L (Android 9) Amlogic S905X4, S905W2, S905Y4 (Android 11) slimBOXtv ATV and AOSP are two...
forum.xda-developers.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Armbian for Amlogic S805 and S802/S812
forum.armbian.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this is my fav
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kali ARM Statistics
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hack the world
and for reading this as an added bonus... free premium youtube version for android devices ... no ads , download video and/or audio, plays with screen off, no ads any where, picture in picture, back ground play, and no ads
Alright I'm no expert on Android tv boxes but is it possible to flash this without unlocking the bootloader?
Like I've got a tivo 4k box that is android 9 and tivo isn't releasing updates anymore as far as I can tell. So could I flash android tv 12 or 13 on it without OEM unlock and without bootloader unlock?
With out unlocking the bootloader. Linux is going to be the best option. You can run many different linux distributions on these tv boxes. Look into kali linux for arm or ubuntu for arm. Possibly debian.
with kali live boot and a usb or flash drive. It restores a pc with black screen of death and allows access to revoer files or take over the device.
Things to note... chmod -v 7777 written before anything changes its permissions same with chmod +rwxXst or last resort chmod +rwx. Adding -v shows if it worked or not -c or -v does that.
Fsck before the path of a directory such as /dev/sda will try to repair the file system on the device listed (dev is short for device and sda is usb plug device #1)
If you put the file system with the files needed on a sd or flash drive or partition. You can mkfs.ext2 -d // /dev/ and what ever device name added to copy root directorys while making a replacement file system
dd if= insert a disk image name or a directory then type of= and insert location to flash the image to.
dd if=/dev/zero of=/dev/ and device path .. will zero a device for re write
Now if you want to edit parts of the file system then create a mount point on the same path but make a new file with mkdir -v -p /type out where you want to go. Then you can mount with files to implant or replace at the location with mount -L and the devices label/name then the paths location or /dev/sd last letter for your device and then location.
Oh and you can also mount with mount -loop and you will basically have your mount over the original one.
If you need to edit logs. type nano and the name of the file. To save what you write hold ctrl and press x then y then let go ctrl and hit enter
spart0n said:
Alright I'm no expert on Android tv boxes but is it possible to flash this without unlocking the bootloader?
Like I've got a tivo 4k box that is android 9 and tivo isn't releasing updates anymore as far as I can tell. So could I flash android tv 12 or 13 on it without OEM unlock and without bootloader unlock?
Click to expand...
Click to collapse
Android devices boot and pass permission as they pass through security. Problem is partiton 1 and partiton 3 are both partition 1 with partition 2 overlaying it. ...
This is what the gods of android use this is a tool box with magisk and pals programs https://apt.izzysoft.de/fdroid/repo/com.sanmer.mrepo_111.apk
Also with a rooted device and an adroid program called termux. You can actually manipulate other androids in lots of ways. Expecially with kali nethunter on a rooted device.. or emulated rooted device like Ld player
Termux has changed the game when it comes to altering androids.
Termux
The main termux site and help pages.
termux.dev
This on a rooted phone is a trojan horse for androids
Kali NetHunter | Kali Linux Documentation
Kali on your Android phone
www.kali.org
This is where the linux on tv boxes information is
Single Armbian image for RK + AML + AW (aarch64 ARMv8)
The start system in Coreelec is not compatible with LibreELECE Armbian etc. If you run coreelec on your TV box, you will no longer be able to run LE and Armbian normally until the full recovery of the standard firmware via the USB Burn Tool and the new activation of the universal multi-boot, whic...
forum.armbian.com
Personally.. using a linux os on a sd card to wipe android tv box is easier than finding one in a billion rom you need.
They say the rock chip is impossible to brick. It has rockmode or what ever.. i ****ing bricked one last year

Categories

Resources