[Q]USB Host with CyanogenMod7 - HD2 Android Q&A, Help & Troubleshooting and Genera

Hi
I see USB host now works on ICS based roms, but what about CM7? More specifically TyphooN CyanogenMod 7. The reason I ask is because I want to test USB class Audio devices, and there is no point in me getting a USB DAC if the groundwork is not laid down.
I know CM7 supports USB class audio, but whether the ALSA drivers are used in this build is beyond me.
Note: It is quite important because Manufacturers like Fiio are investigating making products specifically for modded android phones that support this - sort of like the VentureCraft Go-Dap and the iphone.
Thanks

liiochen said:
It also support CM7.
But , you need compile it yourself.
source code & patch:
http://rerede.com/hotpointer/linux-os/05274535.html
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=26994641&postcount=146

mengfei said:
http://forum.xda-developers.com/showpost.php?p=26994641&postcount=146
Click to expand...
Click to collapse
Thanks! now I just need to find a way to ask tytung to put it in his kernel.... so it can filter through to my Typhoon CM7 rom

Any progress on this? i don't see it filtering through to any kernels or ROMS officially?
on either 2.3.x or 4.0.x, Or is it due to the ADB errors it causes?

Related

CyanogenMod 7.0 for eLocity ?

Check this out !
Anyone in relation with those guys ? How could we get out tablet to support it ?
Pretty amazing !
Link here : http://www.engadget.com/2011/04/11/cyanogenmod-7-0-is-now-final-ready-for-your-consumption/
I know Dexter is the eLocity king atm, but it must be tirering to be a one man army !
Again and again and again...
Without kernel source we unable to do custom ROMs. Only modifications over stock.
Not a development topic...
5[Strogino] said:
Again and again and again...
Without kernel source we unable to do custom ROMs. Only modifications over stock.
Not a development topic...
Click to expand...
Click to collapse
maybe I should put my old signature back on? lol
the Synergy Bluetooth implementation is nowhere close to standard implementation, so although we might get a CM6/7 on this tablet, even without 2.6.36.3 kernel maybe, we still need more coding done to support the BT implemention otherwise the port will be without Bluetooth support..
I got, as example, the FolioMod ported easily, but Bluetooth did not work, same with the Blur port.. and since our kernel has no real loopdevice or devicemapper support and modules needs to be specifically compiled with the revisions used in our kernel, the "move2sd" function is also missing here, and other nice function as optimized filesystems using loopdevice for faster database updates etc..
it will be hard! , and the drivers without any source, makes its practically impossible to do a kernel based on nvidia's git tree alone..
Moved to proper forum
Kernel available??
Mr. Clown said:
Moved to proper forum
Click to expand...
Click to collapse
See on http://www.elocitynow.com/downloads/open-source.tar
and chacksum http://www.elocitynow.com/downloads/.checksum.md5
ming_a said:
See on http://www.elocitynow.com/downloads/open-source.tar
and chacksum http://www.elocitynow.com/downloads/.checksum.md5
Click to expand...
Click to collapse
Yep. Did you find it here:
http://www.elocitynow.com/developers.shtml
Billy

So what is involved in porting aosp to a device?

I'm just curious what's usually involved. I know cyanogen mod does some custom things but ignoring those customizations, what is involved exactly in porting it to a device?
I would assume the major hurdle is driver support. As in the linux kernel compiled/used has hardware support for device x. But other than that, what else?
For ex, with the nook color, what is needed to port it? We can't expect a recent kernel for the nook color from barnes and nobles, but what about the existing kernel used in cm7?
Or if it's not just a kernel issue what are the issues/hurdles. I'm not a developer but just curious from a layman's point of view.
I would think if a working kernel is ready, wouldn't it be just a matter of compiling? I guess I'm curious as to why some say it takes a month or so.
First we need an upgraded kernel to even think about ICS. Then there will also need to be drivers written/rewritten for hardware acceleration and such. Also many other things that will need to be put together to compile even a semi-working rom.
---------------------------------
Sent from my LG Optimus V using Tapatalk
I hope by Xmas, CM team will prevail new ROM running ICS.
I don't care it called CM8 or CM9, as long as it's ICS supporting NC, I'm happy
Slight thread-jacking here, but somewhat related:
Kernel wise, what's the difference between an SDK port vs an AOSP port?
dormido said:
Slight thread-jacking here, but somewhat related:
Kernel wise, what's the difference between an SDK port vs an AOSP port?
Click to expand...
Click to collapse
The SDK is used by devs to create apps so only code relevant to having a semi- working simulator is present. AOSP is the full source code, witch includes everything but it is only built for one device, the galaxy nexus, so there is still much work involved in porting.
---------------------------------
Sent from my LG Optimus V using Tapatalk

Trying to port JB ROM

Hey guys.
I am new to android developing.
I started by porting the CM10.1 ROM from HTC Desire, but my phone is stuck at the Huawei logo when it boots up.
I can still flash another ROM, but that is not the problem.
I want to know how to fix this. I want it to go past the Huawei Logo.
By the way, I used this procedure: http://forum.xda-developers.com/showthread.php?t=1598713 and I used Aurora ICS 5.0 for the base ROM. I know it doesn't have the same version of android, but there is no reason I shouldn't be experimenting like this.
Can anyone help?
Thanks.
rqmok said:
Hey guys.
I am new to android developing.
I started by porting the CM10.1 ROM from HTC Desire, but my phone is stuck at the Huawei logo when it boots up.
I can still flash another ROM, but that is not the problem.
I want to know how to fix this. I want it to go past the Huawei Logo.
By the way, I used this procedure: http://forum.xda-developers.com/showthread.php?t=1598713 and I used Aurora ICS 5.0 for the base ROM. I know it doesn't have the same version of android, but there is no reason I shouldn't be experimenting like this.
Can anyone help?
Thanks.
Click to expand...
Click to collapse
Delete phone.apk and try it?
Sent from my U8800-51
You can't port CM10.1 ROM to ICS ROM as base. That is inpossible.
I know
Mlopik said:
You can't port CM10.1 ROM to ICS ROM as base. That is inpossible.
Click to expand...
Click to collapse
I know, but it is not completely impossible.
I also tried to port it with CM10.1 that you are trying to fix, but I still get the same thing.
I will setup logcat and upload the information here.
Thanks.
Need to ask something
Hey again.
I haven't had time to do anything to my phone yet.
I am replying to ask if there is an awesome tutorial out there that could help me with this porting?
Currently, to port my ROM, I replaced files in port ROM from base ROM. Should I replace files in base ROM from port ROM?
Thanks for the help.
Hi Again
Hello.
I found out that there was a problem with the base ROM.
I have ported CM10.1 from U8800! Yaay!
But there are four things that are not working:
- WiFi
- Bluetooth
- Cam Recording
- Sound
Can you guys tell me how to fix the audio? In the logcat, it says that there is no sound output.
Thanks
CatLog results
Hey guys.
I've got the log attached to this reply. Have a look at the audio events and see what is wrong. I can't figure it out by myself.
Thanks
When will you releasing it fully functional?
Working on JB
Djuganight said:
When will you releasing it fully functional?
Click to expand...
Click to collapse
I have just ported the Jelly Bean from u8800pro to u8800non-pro, so I will be working on this ROM.
Seriously, I have no idea when I will be releasing a fully functional ROM. Because I have my studies as well, so I don't get much time to work on the ROM.
The audio is working in this ROM (wasn't working in the previous port),
The things that are currently not working are:
- WiFi
- Bluetooth
- Video Recording
I will try my best to do as much as possible.
I am new at building android ROMs, so please don't expect too much from me
I will be needing some help from other developers as well.
Do you think I should make a thread for this? or is there already enough not-fully functional JB ROMs there?
Thanks.:good:
Lololololol ridiculous!
Another porting, same issues...
How many are now? 4, 5 Jelly beans?
Ooo man, some times is just better to stay quiet....
Djuganight said:
Lololololol ridiculous!
Another porting, same issues...
How many are now? 4, 5 Jelly beans?
Ooo man, some times is just better to stay quiet....
Click to expand...
Click to collapse
I know how you feel. I also feel that way.
I would like to build Jelly Bean from source, like Blefish is doing right now, but I need a 64bit computer for that (mine is only 32bit. Unless there is a hack for this, I can't build from source.
I think everyone is going to start porting Jelly Bean ROMs until one starts working. :silly:
Everyone is porting the rom with the intention of making ir fully working and then abandon development. Why don't you and others continue the work that is already done instead of making a new port which will end up like the others.
Like your are having compatibility issues due to your 32bit computer, perhaps our device is incompatible with JB...
Djuganight said:
Everyone is porting the rom with the intention of making ir fully working and then abandon development. Why don't you and others continue the work that is already done instead of making a new port which will end up like the others.
Like your are having compatibility issues due to your 32bit computer, perhaps our device is incompatible with JB...
Click to expand...
Click to collapse
U8800 is compatible with JB.
Djuganight said:
Everyone is porting the rom with the intention of making ir fully working and then abandon development. Why don't you and others continue the work that is already done instead of making a new port which will end up like the others.
Like your are having compatibility issues due to your 32bit computer, perhaps our device is incompatible with JB...
Click to expand...
Click to collapse
Our device will remain compatible with every new android untill android will be using some new architecture of processor, so "sometimes it's better to stay silent".
OP, abandon your trials of getting a working JB using copy-paste ports. It can be only ported from source.
P.S.: just install ubuntu x64 and try to build something like CWM recovery out of forumber's source. If it builds, you can build anything you want. Today's computers know how to emulate x64. I'm myself using an old pentium d 820 (i386, sse2 and that's all) and I can build.
Mlopik said:
U8800 is compatible with JB.
Click to expand...
Click to collapse
That I don't know for sure but I believe our is. But why 4 or 5 JB around, all with exactly same issues
Now I and others also pick up a JB Rom, mod it here and there and then instead of 4/5 roms we can have dozens. Then again non working well. This makes sense?
Djuganight said:
That I don't know for sure but I believe our is. But why 4 or 5 JB around, all with exactly same issues
Now I and others also pick up a JB Rom, mod it here and there and then instead of 4/5 roms we can have dozens. Then again non working well. This makes sense?
Click to expand...
Click to collapse
It's still same ROM with other features.. It isn't simply fix Wi-Fi without source.
Djuganight said:
That I don't know for sure but I believe our is. But why 4 or 5 JB around, all with exactly same issues
Now I and others also pick up a JB Rom, mod it here and there and then instead of 4/5 roms we can have dozens. Then again non working well. This makes sense?
Click to expand...
Click to collapse
Because most of devs or those who like to be called developers don't have required knowledge and then leave the project as an excuse.
Honestly I have no hope that we can see a JB rom fully functional.
dark_vader said:
Because most of devs or those who like to be called developers don't have required knowledge and then leave the project as an excuse.
Honestly I have no hope that we can see a JB rom fully functional.
Click to expand...
Click to collapse
Why you don't make some for android yourself? if it's so simply.
nagato.fm said:
Our device will remain compatible with every new android untill android will be using some new architecture of processor, so "sometimes it's better to stay silent".
OP, abandon your trials of getting a working JB using copy-paste ports. It can be only ported from source.
P.S.: just install ubuntu x64 and try to build something like CWM recovery out of forumber's source. If it builds, you can build anything you want. Today's computers know how to emulate x64. I'm myself using an old pentium d 820 (i386, sse2 and that's all) and I can build.
Click to expand...
Click to collapse
So I can install ubuntu x64 on my x86 laptop? Are you talking about a virtual machine or installing ubuntu x64 on the actual laptop?
And as for others: Instead of saying that JB is not compatible with our device and all that sh*t, why don't you encourage me and give me some solutions.
Anyways, I am not posting this JB ROM until it's fully functional, because I might stop development as well (getting interested in firefox os).
rqmok said:
So I can install ubuntu x64 on my x86 laptop? Are you talking about a virtual machine or installing ubuntu x64 on the actual laptop?
And as for others: Instead of saying that JB is not compatible with our device and all that sh*t, why don't you encourage me and give me some solutions.
Anyways, I am not posting this JB ROM until it's fully functional, because I might stop development as well (getting interested in firefox os).
Click to expand...
Click to collapse
First of all,your CPU must support x64,If it supported,you can install x64 to you computer.
If you want install x64 system in virtual machine (like VirtualBox),you CPU must support VT-x or AMD-V (virtualization).
You can check virtualization and x64 support via SecurAble;
http://securable.en.softonic.com

[Q] ROM with USB Host support?

I have searched for 2 days trying to find a ROM that supports USB Host control. Does anyone know one that does? Like I said, Ive had no luck.
Thank you in advance for your assistance!!
Doug
DougP123 said:
I have searched for 2 days trying to find a ROM that supports USB Host control. Does anyone know one that does? Like I said, Ive had no luck.
Thank you in advance for your assistance!!
Doug
Click to expand...
Click to collapse
Try CM7.2 stable.
http://download.cyanogenmod.org/?device=encore&type=stable
hwong96 said:
Try CM7.2 stable.
http://download.cyanogenmod.org/?device=encore&type=stable
Click to expand...
Click to collapse
Currently I have CM10.2.1 installed, Can I simply flash 7.2, going backwards?
DougP123 said:
Currently I have CM10.2.1 installed, Can I simply flash 7.2, going backwards?
Click to expand...
Click to collapse
You will need a gingerbread GAPPS http://goo.im/gapps//gapps-gb-20110828-signed.zip. Since you will be moving from JB to GB you probably should wipe dalvik and data. Back up your apps and data with Titanium Backup before proceding,
I also am running 10.2, would love to have usb host support. So is this hopeless? I've haven't checked here in a while, wondered if maybe a kernel patch had made it to the masses for the newer roms...
22jjones said:
I also am running 10.2, would love to have usb host support. So is this hopeless? I've haven't checked here in a while, wondered if maybe a kernel patch had made it to the masses for the newer roms...
Click to expand...
Click to collapse
You may want to read this
http://forum.xda-developers.com/showpost.php?p=49944789&postcount=3985
Good info, thanks. To be honest, I'm amazed we've come this far with these old devices.
Does anyone have any back-up ROMS with USB Host supporting? My NC with dead touch screen, I need a USB mouse support CM to make it alive. Thanks.

[WIP] Sailfish OS for OPX

Hello OPX community,
I started to work on the port and its progressing nicely, UI is up also Wifi works now, but many things still don't work, so help is defintly appreciated.
Current status: wiki.merproject.org/wiki/Adaptations/libhybris
OLD:
I don't know if some of you know Sailfish OS, but its an OS that is not based on Android with an outstanding UI and UX.
And developers can port it to Android based devices like ours \o/
So I took the hand and compiled Sailfish OS and Android, but unfortunaly I don't really have the time to test since this is my only phone.
So I need someone to either test and report to me or what would be better someone that can develope further on its own after I shared my knowledge with him.
This thread is for talking about everything related to Sailfish OS.
Here are some useful links:
Jolla.com
Sailfish Porting
HADK
+1
This would be my dream coming true...
I might be able to test it, if You can make a flashable zip. Is this build supposed to support android runtime? If I flash it, my recovery and internal SD remains untouched?
osvatha said:
+1
This would be my dream coming true...
I might be able to test it, if You can make a flashable zip. Is this build supposed to support android runtime? If I flash it, my recovery and internal SD remains untouched?
Click to expand...
Click to collapse
Android Support is currently not available for ported devices but there are some devs working on an open source solution.
Your recovery will stay the same.
Internal SD should stay untouched of you don't wipe it but it will probably not visible from sailfish but there was a fix for that, dunno if that is already upstream.
https://twitter.com/taaeem_/status/690475762609168384
UI is booting up on the OnePlus X!!
Still having Jolla with me and running Sailfish OS on OpX hw would make it sweet.
prarun2030 said:
Still having Jolla with me and running Sailfish OS on OpX hw would make it sweet.
Click to expand...
Click to collapse
I can say it's really really smooth :victory:
I haven't heard about this OS, is this some custom ROM, CM based? or what? :silly:
FcoEnrique said:
I haven't heard about this OS, is this some custom ROM, CM based? or what? :silly:
Click to expand...
Click to collapse
It's a completely different OS, it's based off Mer which is kind of a Linux distribution and on top of that sits sailfish OS. CM is only used on Android via libhybris to get the hardware working. In fact it's completely different from Android and NOT based on it like CM. It's real Linux as a mobile OS.
Wifi up
Bluetooth up
All sensors up
Audio up
\o/
Nice progression, thanks for effort. Had a Jolla-device before and loved it. The HW build quality just wasnt there. Altough, I'd love to get the opensource dalvik-emu to work some day, since I have a bad feeling about future sw development on SailfishOS.
Awesome. Sorry I haven't been able to get back to you on the latest build. I haven't had time lately. Life kinda showed up abf took my time with it. I'll try to observe it later.
taaeem said:
I can say it's really really smooth :victory:
Click to expand...
Click to collapse
:good:
taaeem said:
It's a completely different OS, it's based off Mer which is kind of a Linux distribution and on top of that sits sailfish OS. CM is only used on Android via libhybris to get the hardware working. In fact it's completely different from Android and NOT based on it like CM. It's real Linux as a mobile OS.
Click to expand...
Click to collapse
Sounds interesting, may have to look more about it.
Waiting for release to test!
Development would be much faster if we multirom for our device
taaeem said:
Development would be much faster if we multirom for our device
Click to expand...
Click to collapse
Is there multirom for oneplus X ? ?
sankarshan said:
Is there multirom for oneplus X ? ?
Click to expand...
Click to collapse
No sadly not
Sim is now detected and mobile data is working after adding your apn to settings \o/ video and music playback should also work now and RTC alarms are working so you never need to worry if your phone is off you won't miss that alarm
taaeem said:
Sim is now detected and mobile data is working after adding your apn to settings \o/ video and music playback should also work now and RTC alarms are working so you never need to worry if your phone is off you won't miss that alarm
Click to expand...
Click to collapse
Lol! And when we will be able to test it?
TheJedeX said:
Lol! And when we will be able to test it?
Click to expand...
Click to collapse
I could post it in a few hours, but than you don't have a camera, no LED and probably no calls (needs to be confirmed)
It would really be only a test build.
If I should do it, write it now
EDIT: Ah also Jolla Store is not working atm needs to be resolved server side. But there is still openrepos.

Categories

Resources