Problems with WiFi & Recovery with rk3036 board used in Mega Drive Flashback Consol - Android Stick & Console RockChip based Computers

Problems with WiFi & Recovery with rk3036 board used in Mega Drive Flashback Consol
Hi guys,
I am a (bad) developer who is trying to obtain the maximum from the recently released Mega Drive Flashback console.
It is an Android 4.4.4 unit with an rk3036 SoC. The problems I am facing are 2:
1 - WiFi module seems not to be laoded and all .ko modules present in /system/lib/modules give "invalid exec format" for the exception of the mali.ko (gpu) one (when instmod it says "already present"). I would like to know what I have to do to find/build a correct wifi module; reading on the web it seems to be a kernel-related problem so I need to recompile the .ko or find another kernel or find a precompiled .ko which "fits" with the used kernel. I found other kernel.img, system.img and boot.img from other Rockchip devices but I do not know which .ko file to "reuse" (wifi.ko ?). Which WiFi USB dongle do you suggest me for this "challenge" ?
2 - I "stole" a TWRP 3.1.1 from an Android TV firmware using another Rockchip SoC and it is booting fine (I cannot control it via touch screen because the Mega Drive Flashback has not a screen but it is controllable via mouse) but it seems not to recognize/mount any console partition and the mounted ones (the ones present inside the recovery) are 0 bytes and I cannot save options. Can someone help me in making this recovery in a working state ? If needed I can post the recovery.img file.
The device is correctly rooted with SuperSU and has Busybox installed. ADB and MTP drivers are working fine.
Sorry for all those noob questions but we are trying to describe how the console works; you can find what we found out here: https://mdfbrew.org.

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

Linux native on acer iconia a series (a200)

Hello to every body
I tried to post on the > Acer Iconia A500 > Iconia A500 Android Development > seccion but it says that I do not have permissions.
Expecifly to this thread http://forum.xda-developers.com/showthread.php?t=1158260. So this is my post:
I found an boot.img file that I was flash with fastboot on my a200, this modified boot allow me to diseable the boot from mmcblk0p0 partition on my internal storage device, and boot from mmcblk1p2 partition on my external sdcard.
I was try with ubuntu 10.x first time, I can get input device support and touchscreen support, when I connect the usb keyboard do not work.
So I was try debian test edition, I was get usb support for keyboard and mouse device. I can get support for touchscreen.
I can get support for wireless card, the firmware for it appear to be on the kernel but lshw -c network show me that wlan0 is disabled and I can get to up it. so I can get update or upgrade the system, I will try to install some .deb manually download its depends one by one.
Libre office works perfectly, I get more memory support, I mean on android I get 700 Mb of RAM memor, on Debian I get about 900 Mb.
I just have a 2Gb sdcard so I can not install so much aplications right now.
Can somebody help me get wireless support for my device?
Thanks
montolla said:
I found an boot.img file that I was flash with fastboot on my a200, this modified boot allow me to diseable the boot from mmcblk0p0 partition on my internal storage device, and boot from mmcblk1p2 partition on my external sdcard.
Click to expand...
Click to collapse
I am trying to do the same thing right now. I found that the rootfs in "option 1" of this posting works:
http://forum.xda-developers.com/showthread.php?t=1158260&page=36
Can you tell me where you found the boot.img file you mention? The one I have tries to mount a non-existent partition. I have to connect a USB keyboard and type the commands to mount mmcblk1p2.
boot.img
Hello
I found the modified boot.img on http://forum.xda-developers.com/showthread.php?t=1158260, more exactly on http://www.mediafire.com/?p32l949n2s7la43.
So I put my acer on fastboot mode (poweron with volume down press and where brivate and show acer logo, move the lock rotate screen tow or tree times to get fastboot mode) and use fastboot.exe (windows, on linux fastboot.sh....) from the sdk of android and run this command: fastboot flash boot newrec.img.
So the fastboot.exe show write file and rebooting.
the device will reboot and you show on it the kernel booting (no boot screen is showing).
The next step you can found it on the thread. but is more or less format the sdcard, create a ext3 or ext4 partition small ass primary and boot, create a second one on ext3 or ext4 and put the rootfs or linux kernel on the second one.
I use the android app that allow to run linux chroot on android to install the debian core, its depends and the lxde desktop.
But fisrt of all you need to back up your boot.img from your device, you can use clockworkmode to make a nandroid back up, in the folder of the back up you can find your boot.img file to run android again.
you can use fastoot to get the actual boot.img but you need to find on google.
Good look!
Thanks for reply
chappell said:
I am trying to do the same thing right now. I found that the rootfs in "option 1" of this posting works:
http://forum.xda-developers.com/showthread.php?t=1158260&page=36
Can you tell me where you found the boot.img file you mention? The one I have tries to mount a non-existent partition. I have to connect a USB keyboard and type the commands to mount mmcblk1p2.
Click to expand...
Click to collapse
Hello to everybody
I was installed Debian "native" on my acer a200 16Gb one.
I used lxde with lightdm as desktop environment.
I get working my WiFi module and connect to my personal network.
At first time I get the correct firmware but for some reason it says that the hardware bottom is locked and I can not execute "ifconfig wlan0 up".
I move the lock screen switch and surprise! the WiFi interface works. The lock rotate screen switch seems to be the WiFi disable button on the laptop.
When I reboot the systems and boot again the WiFi just gone. I need to power off and turn on manually to get work again.
I can get the touchscreen device work. It seems to be recognized but the xorg.conf not work.
I try on gnome but my 2Gb sdcard class 4 can contain it. I need a 5 Gb one. I do not have enough money right now.
the a200 just have one usb port, so I can not use my usb keyboard and mouse at same time. I will need a USB switch perhaps.
The Bluetooth device seems to be detected but the lxde do not have support right now for it. I will try on gnome later.
So I need to work on touchscreen, Bluetooth and gps (I do not know hot to do that on Linux....).
The nvidia-tegra 2 seems to be detected but I do not how to tested.
Next I need to install directly on a200 internal storage and put android on the sdcard.
So how can I put Debian on internal storage? can I create a new partition table on it and create a swap partition, a /(root) partition on ext4 and home partition on external sdcard?
I will try lubuntu and ubuntu on the a200 later.
Thanks
touchscreen
montolla said:
Hello to everybody
I can get the touchscreen device work. It seems to be recognized but the xorg.conf not work.
Click to expand...
Click to collapse
according dmseg the only i see is regcognized is gyro, mic jack and usb port. where did u seen touchscreen, it could help me get it working
i dont know if its a good ideo to store debian on internal memory....first partition on sdcard should work if u can modify the boot.img
thanks for the hint with lockscreen alias wifi switch
A kernel Dev has arrived...
If anyone is still interested, I have compiled a bootable kernel with TOUCHSCREEN driver to run native linux on the Acer Iconia Tab A200. This kernel mounts the rootfs from the 2nd partition of the external SDcard (mmcblk1p2). I've posted it here on dropbox >>URL= https:[slash-slash]dl[dot]dropboxusercontent[dot]com/u/183913275/linux/neoboot-TSdebug2.img
Hello
I was install bedian permanently on my iconia a200.
But I need to use the emmc device but I can figurate how can I do that?
I can access fast boot or recovery. Justa start debian, no android etc.
Thanks

Advice on "unbricking" a soft-bricked stick

I've been scouring different forums for nearly a month now and can't find a solution that works for my situation. I resisted posting here, hoping to find the info on my own without any luck. I have a handful (6) of these generic MK809III Rockchip 3188 based sticks, with 4.4.2 KitKat. All identical. I have no idea which Chinese manufacturer assembled them. Four of them work perfectly. Two of them have been corrupted by me. I inadvertently wiped out the build.prop files. The files are there, but they are empty. (I know this because the last one I botched, I could see the file in the open editor with no content, as a read-only. The moment I closed the screen... that was it.
Using the "hold the pin in hole, then power up, wait 5 or 10 seconds, then release the pin" method of recovery (sorry, I don't know the proper name) does boot it into recovery mode, but the screen shows this:
Failed to mount /mnt/external_sd (No such device)
Failed to mount /mnt/external_sd (No such device)
Failed to mount /mnt/external_sd (No such device)
one_data_if_exist->can't find databk partition
Formatting /data...
Formatting /cache...
Booting...
--- then, a stuck boot animation.
My problem, is that I cannot connect to these via USB to do anything to them. My system tools are:
Linux Ubuntu 14.04 LTS workstation
RK_Flashtool_1.7
Android Studio
Latest Android tools sdk
Other tools available to me: A Mac (running Yosemite OSx)
Notes:
- Adb drivers, I assume, are correct, because I can access the working stick computer via ADB
- The RKFlashtool will not recognize any of the corrupted units, or show that it is even connected
- Obviously, I cannot set the "Connect to PC" flag without the OS booted
- In a terminal window, adb does not show the usb device as being connected
- I do not have a back up for any of these. I tried, but both Clockwork and TWRP would not recognize the unit to permit a backup. The working units are recognized as: "gxt_dongle_3188".
I really need some advice. I must be overlooking something, I admit to being somewhat new to Android. I wish it were possible to backup one of the working units, and install it on the corrupt units. But no backup app was installed in the boot loader of the corrupted units (that I'm aware of).
Thanks for your time!
Judging from the lack of responses, this problem must have a lot of people as perplexed as I am. I really thought someone here might have an idea.

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.

GuBang (Allwinner T8) Head Unit non sense

Hello,
I'm new with the Head Unit based on Android and If someone could help me answer some questions it could help me a lot.
I have this unit
In short:
Allwinner T8 board
MCU: T8.3.19-167-10-A43101-190504
System: V9.3.1_20181106.155925_CLC1-FD
Android 8.1
I'm trying to modify the ROM... and I don't care If I loose all the pre-installed crap inside.
So far, this is what I can do with this rom:
- Install APKs...
- Remove APKs...
- Connect via ADB over network
if beforehand inside the device I type "setprop service.adb.tcp.port 5555" in a terminal, then turn off and on the debug option in the developper menu. Thanks to serious manufacturers, all passwords seem to be shared between various if not all unit buyable over internet. The command and developper option trick must be done after EACH reboot, wich is fantastic behavior.
- Reboot to bootloader or recovery using adb
- In recovery, I can do nothing since there is no hardware key appart "reset"..., USB keyboard seem to not work either (I cry when I see the non reachable "mount /system" option ...).
- Use a hand made USB A-A cable to communicate with the device, when in bootloader. If "in rom" or recovery, adb or fastboot don't see the device.
So basically I can do nothing.
- I searched for firmwares, but I only find direct links to various site that provide update.zip or update.img or similar, but no flashable firmware from fastboot.
- If I found update firmware for T8 based board, my manufacturer version code (CLC1-FD) match none of those available here or on russian forums (AKW1-FD, JP1, TW2-FD,....).
- I can not use su (not allowed, setgid failed), to make boot and system image backup that I can eventually modify
- I tried KingRoot, Magisk (but I have no boot image ...) none work
- I tried "fastboot oem unlock[or whatever]", which just freeze fastboot and make it unusable until another reboot
So in the end, if someone know something about this hardware, if the another firmwares (AKW1-FD, JP1, etc) are compatible between devices, or if you know where I could ask for original firmware (oem image), or if it is possible to unpack the updates files to extract something exploitable (already tried for hours using basically all tools available like kitchen simg2img etc), please help me.
I have another device that will come to me, the ownice C800, but I think it will be the same problem. Unmodifiable over locked device.
I am working in a business where we need this kind of hardware inside a car, and we wanted to use one of the unit to make a proof of concept so we cannot afford custom hardware right now.
Thanks you if you had the patience to read this. Hope you can help.
Update and file recovery for Allwinner T8
Hello,
Do you find or have rom, firmware for Allwinner T8 and any app radio for testing?
Do you know? How make file *.img rom from my Unit?
Tomek

Categories

Resources