PX5 kernel sources - MTCD Android Head Units General

Is there any repo for the PX5 kernel sources? I've looked all over the place, but so far, somehow have managed to miss it if it's out there. USB audio and the DWC USB OTG issues are my primary concern here. Not a whole lot that can be done about that w/o the ability to build new kernels (or modules at the very least).

No.

Has anyone contacted the various manufacturers regarding this? Seems like a GPL violation if they're not distributing the source. Granted, that (GPL non-compliance) has been a long standing problem, but still.

cwz said:
Has anyone contacted the various manufacturers regarding this? Seems like a GPL violation if they're not distributing the source. Granted, that (GPL non-compliance) has been a long standing problem, but still.
Click to expand...
Click to collapse
I got the 4.4 source code from here to build for the px5. I'm waiting to build a USB cable for recovery before i test my kernel. I haven't tried pushing any modules to it yet over adb but will once my USB video adapter comes in.
https://github.com/rockchip-linux/kernel
I don't think we're going to get a fully working proper source release, especially for Android just because of the GPU the px5 uses. They've historically never released a Linux or android driver for it. They have two GPU drivers in this source but they don't build. And wouldn't work without the android device files either.

notime2d8 said:
I got the 4.4 source code from here to build for the px5. I'm waiting to build a USB cable for recovery before i test my kernel. I haven't tried pushing any modules to it yet over adb but will once my USB video adapter comes in.
https://github.com/rockchip-linux/kernel
I don't think we're going to get a fully working proper source release, especially for Android just because of the GPU the px5 uses. They've historically never released a Linux or android driver for it. They have two GPU drivers in this source but they don't build. And wouldn't work without the android device files either.
Click to expand...
Click to collapse
They're supposed to provide the kernel sources that they used to produce the kernel images that they're shipping. The GPU drivers (last time I checked anyhow) weren't subject to the GPL because they're written as modules. This is no big deal though -- it's that way for a lot of devices of similar ilk. What I'm more interested in is getting better USB support for USB DACs. The Synopsys DWC USB controller is notorious for the extreme interrupt load it causes (and other issues). There have been some recent improvements to the driver, but without kernel source, it's going to be pretty difficult to even attempt to get a better driver in.

Related

Ethernet adapter

Hi
I was wondering if anyone has seen or heard of any way to hook up a Ethernet adapter to the note ( either 10.1 or note 3)
And before you point out that one could connect to portable mini wifi routers , my job involves a lot of testing of TCP points and there for it would be nice to be able to test it via a tablet or similar instead of lobbing around a laptop next to everything else
I used to have the Asus transformer prime and there it worked fine, but I've seen some issues with samsung units
Anyone?
DeBoX said:
Hi
I was wondering if anyone has seen or heard of any way to hook up a Ethernet adapter to the note ( either 10.1 or note 3)
And before you point out that one could connect to portable mini wifi routers , my job involves a lot of testing of TCP points and there for it would be nice to be able to test it via a tablet or similar instead of lobbing around a laptop next to everything else
I used to have the Asus transformer prime and there it worked fine, but I've seen some issues with samsung units
Anyone?
Click to expand...
Click to collapse
Loads of Android compatible ones on Amazon.
Szadzik said:
Loads of Android compatible ones on Amazon.
Click to expand...
Click to collapse
Yeah but I've heard that people have had issues with the other samsung products.... something about samsung taking out drivers or removing Ethernet support etc?
A small bump, anyone heard anything or know anything about this issue?
DeBoX said:
A small bump, anyone heard anything or know anything about this issue?
Click to expand...
Click to collapse
Don't know why something like this wouldn't work with an OTG cable
http://www.monoprice.com/Product?se...&cagpspn=pla&gclid=CJShjvSv3boCFUNBQgodulcAMw
Sent from my SM-P600 using Tapatalk
Just tested a few I had long since forgotten about ( connected via a usb otg adapter from DX.com) and non worked. even tested one that mace with my macbook air. No joy.
3 of them worked fine with my old transformer prime ...
Delete
Did you find any that worked?
rayoden said:
Did you find any that worked?
Click to expand...
Click to collapse
Still looking, been testing a few back and fourth but no joy so far, not really a programer / developer so my tweaking skills are limited. tested 5 units so far , still no go. Reached out to a few people on the Note 3 forums to see if they have ideas... but nothing so far.
Anyone got ideas?
DeBoX said:
Still looking, been testing a few back and fourth but no joy so far, not really a programer / developer so my tweaking skills are limited. tested 5 units so far , still no go. Reached out to a few people on the Note 3 forums to see if they have ideas... but nothing so far.
Anyone got ideas?
Click to expand...
Click to collapse
Hope you found one already. If not - http://www.samsung.com/us/business/computing/pc-accessories/AA-AE2N12B/US
N1M1TZ said:
Hope you found one already. If not - http://www.samsung.com/us/business/computing/pc-accessories/AA-AE2N12B/US
Click to expand...
Click to collapse
Anyone tested this one?
40 is a bit steep to just experiment.
The only adapters that are going to work out of the box are the ones currently supported by Samsung Android 3.4 kernel and ones specifically made for this device. (Ones that work with GS4 and other Flagship models may work) You may have to write a few scripts to redirect traffic over usb0 (or whatever device name it comes up as)
http://www.amazon.com/Plugable-Giga...679&sr=8-2&keywords=pluggable+gigabit+adapter
I currently have a version of this. In order to connect it to the Note I would have to have the following setup:
Hardware:
Powered MicroUSB OTG Cable - USB Ethernet Adapter - Network
Software:
Grab source for the chipset of the ethernet adapter (ARM compatible)
Build kernel modules against samsung source kernel
Flash new kernel modules or flash new kernel
This is of course assuming we get the proper ct-toolchain and all that.
dasmoover said:
The only adapters that are going to work out of the box are the ones currently supported by Samsung Android 3.4 kernel and ones specifically made for this device. (Ones that work with GS4 and other Flagship models may work) You may have to write a few scripts to redirect traffic over usb0 (or whatever device name it comes up as)
http://www.amazon.com/Plugable-Giga...679&sr=8-2&keywords=pluggable+gigabit+adapter
I currently have a version of this. In order to connect it to the Note I would have to have the following setup:
Hardware:
Powered MicroUSB OTG Cable - USB Ethernet Adapter - Network
Software:
Grab source for the chipset of the ethernet adapter (ARM compatible)
Build kernel modules against samsung source kernel
Flash new kernel modules or flash new kernel
This is of course assuming we get the proper ct-toolchain and all that.
Click to expand...
Click to collapse
Hehe , thanks for the reply, though the explanation is a tad above and beyond my technical expertise and understanding. Requires a lot more dev knowledge, then this poor wretch posses .
Anyone out there have any other suggestions, or better yet superior skills and time to donate to a project as mentioned above... ?
DeBoX said:
Hehe , thanks for the reply, though the explanation is a tad above and beyond my technical expertise and understanding. Requires a lot more dev knowledge, then this poor wretch posses .
Anyone out there have any other suggestions, or better yet superior skills and time to donate to a project as mentioned above... ?
Click to expand...
Click to collapse
Have you tried the plugable fast ethernet 10/100?
Works out of box for Nexus 7
Link?
Tested total of 5 thus far, of which 3 worked on my old transfomer 201
The post above is pluggable but USB 3.0 gigabit...I just purchased this plugable but I am waiting for my OTG adapter.
http://www.amazon.com/Plugable-Ethe...-Specific/dp/B00484IEJS/ref=pd_bxgy_pc_text_z
EDIT:I have not tried it yet, i will let you know once I receive my adapter
Sent from my SM-P600 using Tapatalk
the anticipation is killing me... fingers and toes crossed!
The usb 2.0 10/100 should work.
Didn't work for me... Any apps that you recommend to get this thing going?
Sent from my SM-P600 using Tapatalk
---------- Post added at 09:23 PM ---------- Previous post was at 09:18 PM ----------
Thumb drives work
Sent from my SM-P600 using Tapatalk
---------- Post added at 09:31 PM ---------- Previous post was at 09:23 PM ----------
Straight from plugable website :
Android and Linux
Android versions 4.0 and later have driver built-in to builds from Google- although individual Android device manufacturers sometimes disable this support. Whether driver is left enabled is left up to each device maker. For example, we’ve found that all ASUS Android tablets (TF200, TF300, TF700, etc) tested to date have support for the driver, however none of the Samsung (Note, Note2, Tab, Tab2) devices we’ve tested had driver support. Advanced users running rooted devices or custom ROMS like Cyanogen mod aren’t supported by Plugable, however may be able to obtain community support from sites like XDA developers.
Drivers built into Linux kernel 2.6.35 and higher.
Source code for advanced users familiar with compiling and installing drivers using kernel 2.6.14-2.6.34 and early 3.0/4.0 kernel versions is available at the download link below:
AX88772 Linux driver 4.11 source code
For older Linux kernels 2.6.9-2.6.13, instead use:
AX88772 Linux driver 1.2.2 source code
Sent from my SM-P600 using Tapatalk
I've been testing this , with so far no luck :
http://forum.xda-developers.com/showthread.php?p=49098781#post49098781
Anyone else give it a go??

Chipset support for new Android version?

So I'm not a developer or anything, just an enthusiast.
I was wondering something.
ROMs often don't get updated because support of the chipset has been dropped. I'm guessing this is like a driver?
If it's the same hardware, why does it need a new one? What changes in each new version of Android that means it needs a new one?
Also for those that have lost support, some devs still make ROMs. How? Do they make one themselves somehow?
I'm going to look really stupid if this is wrong.
Thanks!
Sent from my HTC One X using Tapatalk
tomhurst said:
So I'm not a developer or anything, just an enthusiast.
I was wondering something.
ROMs often don't get updated because support of the chipset has been dropped. I'm guessing this is like a driver?
If it's the same hardware, why does it need a new one? What changes in each new version of Android that means it needs a new one?
Also for those that have lost support, some devs still make ROMs. How? Do they make one themselves somehow?
I'm going to look really stupid if this is wrong.
Thanks!
Sent from my HTC One X using Tapatalk
Click to expand...
Click to collapse
This is what I understand, correct me if I am wrong.
Think Windows XP & Windows 7.
Can you use the same drivers?? maybe some but not all, since newer implementations are there (graphics stack updates [DX9 vs DX11]) that require newer drivers to work with. Especially with graphics. Even though the kernel is opensource, certain proprietary components are closed source and are always provided via precompiled blobs(Reason: It may expose proprietary IP to the competition) that will work with the version it was compiled for but not newer ones. Even documentation on these blobs are minimal to non existant.
Sadly, these blobs are the main issue and a lot of workarounds are implemented by our great devs to make older blobs work with newer android releases but at a penalty of stability loss and/or performance issues i.e HTC OneX 4.2.2 blobs are being used for 4.3 & 4.4. Sometimes if your lucky then a different phone with the same hardware is updated to a newer version with newer blobs which can be used.
Sometimes such issues escalate so much that opensource devs are driven to reverse engineering(Really difficult!!) drivers and develop opensource variants. One such example is the nouveau project on desktop linux. nouveau is a reverse engineered opensource nvidia driver and at its current state is very stable but sadly its for the desktop. Recently you may have read that nvidia is adding support for their upcoming chipset i.e Tegra K1 by adding their own patches to that driver.
Such a positive step from nvidia was recieved with great praise by the opensource community... even the ultimate Linus Torvalds himself
Article: https://www.xda-developers.com/andr...ger-salute-from-linus-for-doing-things-right/
Eventually lets hope when nvidia has no use for T3 IP that they opensource all components and they provide a way for newer drivers to be built but sadly by that time the T3 would be too old.

Fire Phone with Cyanogenmod is OTG flash drive capable?

Hi all,
I was thinking of getting a Fire Phone since the specs are amazing for the price. Having it rooted with Cyanogenmod as an OS seems like it'd be a great phone.
However, one of the things I love about the Galaxy phones is the ability to use an SD card.
Will Stickmount allow me to use flash drives/microSD cards plugged into the miniusb slot when the phone has Cyanogenmod as an operating system? I saw a thread here which said it wasn't OTG capable with Amazon's OS, but nobody mentioned if it is with Cyanogenmod as the operating system and Stickmount installed.
Any feedback would be greatly appreciated.
Thanks!
OTG support needs a Kernel with those USB functions enabled. We are stuck with the stock Kernel (OTG disabled), so that's a dead end for now.
Madushan1000 tried building USB OTG modules for the stock Kernel but so far, he didn't get lucky, I guess because of "lack of sources" and / or the device accepting the custom modules.
Thanks for the info.
Eh, I guess I won't bother with it then. I could manage without a removable battery at that price, but definitely not without external storage
Looks like he had some progress with kernel accepting modules... ?
http://forum.xda-developers.com/fire-phone/development/dev-building-custom-kernel-kernel-t3195492
Thanks!
It seems like it'd be more complicated than what I can do (my knowledge on these topics is far below rudimentary :/), but hopefully it can.help some others
If the board supports OTG at all, It just a matter of time before someone can build an OTG module. I'm extremely busy with my final exams these days so I didn't have much time to look at OTG or kexec modules. Hopefully, exams will be over in few days and I'll be able to try few more things.

"Android O - 8.0" PossIble for Zenfone 2?

Hello everyone, it is possible to receive custom ROM "Android O" for our Zenfone 2 ???
O was just announced, we're going to have to wait a little longer before we can know if it's possible, and a lot longer before it's actually built.
adobrakic said:
O was just announced, we're going to have to wait a little longer before we can know if it's possible, and a lot longer before it's actually built.
Click to expand...
Click to collapse
It's a good thing you answered first. I would not have been as diplomatic. Lol
Sent from my ASUS_Z00A using Tapatalk
Here comes ETA posts
Yes, it is posible but first need the sources and the sources are released after the official version is pushed to Nexus devices, maybe in October September will have and alpha version of Android O
Completely possible, thru custom ROMs
Sent from my Zenfone Max on AOKP N
mrichiem said:
Completely possible, thru custom ROMs
Sent from my Zenfone Max on AOKP N
Click to expand...
Click to collapse
I wouldn't say completely. Google is laying out minimum hardware requirements for stuff like audio, vr and ar which our old phone may not mean.
But do I have confidence that our devs will make everything else work? Yes, completely. Although it's gonna take a long time. I will be elated if N hits stable.
Since the question of this topic can't really be answered, someone knows how long statistically can a device be supported by custom roms? I mean maybe Android Z is too far fetched, but android P for example?
distant_thunder_89 said:
Since the question of this topic can't really be answered, someone knows how long statistically can a device be supported by custom roms? I mean maybe Android Z is too far fetched, but android P for example?
Click to expand...
Click to collapse
Same answer as before, it all depends on hardware requirements
Sent from my ASUS_Z00A using Tapatalk
Thanks all for different opinions and answers
blazzer12 said:
I wouldn't say completely. Google is laying out minimum hardware requirements for stuff like audio, vr and ar which our old phone may not mean.
But do I have confidence that our devs will make everything else work? Yes, completely. Although it's gonna take a long time. I will be elated if N hits stable.
Click to expand...
Click to collapse
well my current daily driver is an AOKP 7.1.1 Nougat on my Zenfone Max ZC550KL with no bugs so we can hope the same for O when Lineage OS releases its own version.
Sent from my Zenfone Max on AOKP N
kenbo111 said:
Same answer as before, it all depends on hardware requirements
Sent from my ASUS_Z00A using Tapatalk
Click to expand...
Click to collapse
Hardware is the least of our problems, considering the one in Zenfone 2 (ZE551ML for example) is more than adequate.
Google making up it's own hardware requirements is nothing more than pandering to the idea of planned obsolescence to be honest so that they can sell newest phones.
I think that if the devs can get their hands on viable drivers that support the hardware in our devices and are compatible with Android 8, then technically, it shouldn't be an issue.
For Oreo, google would be pushing certain updates (fixes, etc.) not as a standalone feature, but something that would work in the same way as Windows and MacOS system updates do within the same OS version.
We know Windows updates usually work on a variety of hardware if the Windows as an OS is the same... the only thing that you also need are drivers to properly support the hardware in question (which can be difficult if the hardware is ancient, but I doubt this would apply to Zenfone 2) - this especially applies to upgrading from say Windows 7 to Windows 10 for example as some features like a microphone might stop working if the hardware in question was say from 10 years ago. Works on say Windows 7 for example because Vista drivers were made for the hardware in question which were compatible with Windows 7 to a point, but for Windows 10, compatibility between drivers for older Windows was not maintained and new drivers need to be written.
So, large OS replacement would likely depend on hardware drivers support and updating the OS sequentially shouldn't be an issue if the drivers exist - if they don't... then it's a problem.
Manufacturers tend to stop supporting hardware after a certain time... OEM's are even worse.
If we can find drivers independently from a company that produced it, then it might be possible to find more recent drivers that work.
In case of GPU's (or any other hardware inside your PC), you wouldn't rely on the OEM for drivers. You'd go to AMD's or Nvidia's websites to download latest drivers.
issou la chancla ?
:highfive:

Question USB OTG camera not working Pixel 6 Pro

Edit: OTG fixed in Dec21 release
I can't get my USB camera's to work on Pixel 6 Pro, plug in endoscope or Logitech Web Cam and receive error "UVC device error! -256 I/O error".
My other Pixel devices on Android 12 all work OK.
After trying a bunch of Camera APP's, USB Camera Pro by ShenYao has worked well on all my other devices.
Wondering if anyone else is having the same problem, or if not what APP, and camera are working?
Thanks,
Maybe this has something to do with the new Tensor core, it might be worth a try to contact Google about this.
Morgrain said:
Maybe this has something to do with the new Tensor core, it might be worth a try to contact Google about this.
Click to expand...
Click to collapse
??
No its literally an arm cpu it should work fine theres nothing special stopping it working
Drivers are needed for OTG accessories to work. A custom kernel can add those modules and drivers if the default kernel doesn't support external device drivers
Izy said:
??
No its literally an arm cpu it should work fine theres nothing special stopping it working
Click to expand...
Click to collapse
There is. As miravision started explaining, just because Google uses ARM modules, doesn't mean they magically summon drivers out of thin air. It's up to each and every manufacturer to make sure that the necessary drivers are on board. Some are pre-baked into Android, some others need to be manually added by the manufacturer.
So if this new chipset doesn't support a certain application/accessory, contacting Google is definitely worth a try.
Why would you need an external camera? Defeats the purpose of a Pixel.
prohibido_por_la_ley said:
Why would you need an external camera? Defeats the purpose of a Pixel.
Click to expand...
Click to collapse
Pretty sure the Pixel 6 Pro doesnt have a endoscope function.
Google fixed OTG problem in December release, All good now
radionerd said:
Google fixed OTG problem in December release, All good now
Click to expand...
Click to collapse
Cool! Here's hoping they don't re-break it in late January (or ever0.
I have issues with OTG cables and usb-c ethernet adapters that work fine on my pixel 4 xl but don't work on my pixel 6 pro. Did anyone have issues with these type of devices that the december update fix? I might have to reset my phone just to test it but I might wait for the february update to see if it might fix any of my issues.

Categories

Resources