USB OTG For JB Kernel - HTC Vivid, Raider, Velocity

Is there anyone currently testing JB builds that is able to test USB OTG if I were to (try to) enable it in a JB kernel, especially someone on PAC?

I enable this for sense 4.1 devchun
It work for me but wifi and some module don't work after that. Don't have enough skill about kernel so I post in general section if anyone compile maybe wifi work after that.
About aosp kernel. I'm not sure if support otg host. Did you have any source ? I will test
Sent from my HTC Raider X710e using xda app-developers app

Do you test the JB roms out? If you're running PAC I have a kernel you can try out that should have OTG enabled. I just don't have a cable handy to test it.

I have pac and I have cable. I can test
Send me kernel
Kernel is for holiday ?
Sent from my HTC Raider X710e using xda app-developers app

Here's the kernel that should have OTG enabled.
It is indeed built against PAC for Holiday. Should have all of Homestyle's latest fixes in it as well.
If you can confirm this works, I'll submit the patch to Homeslice/h8 for inclusion in future PAC/PA/CM10 builds.

no it doesn't work.
i attach 2 screenshot. for sense base kernel that i change(worked) and your kernel (not work)
i test on a hard disk with 3 ntfs partition with an app to mount ntfs partition (paragon ntfs)

l0000l said:
no it doesn't work.
i attach 2 screenshot. for sense base kernel that i change(worked) and your kernel (not work)
i test on a hard disk with 3 ntfs partition with an app to mount ntfs partition (paragon ntfs)
Click to expand...
Click to collapse
Thanks. I can't see your screen shots though... I see there's an attachment but there are no images displaying.

i attach 2 pic in attachment (.png)
can you see at my post in general.
need some help for kernel compile

l0000l said:
i attach 2 pic in attachment (.png)
can you see at my post in general.
need some help for kernel compile
Click to expand...
Click to collapse
How exactly did you add it? It will help unless aosp is different
Sent from my HTC Vivid 4G

I think I figured out what I was missing, and am building again. I'll have a new kernel to try out either tonight or tomorrow.
Thanks for testing this for me 10001!

ZeRo2o9 said:
How exactly did you add it? It will help unless aosp is different
Sent from my HTC Vivid 4G
Click to expand...
Click to collapse
I make a thread in general section 'who can compile kernel for me' if you have knowledge about compiling can you compile it.
When I compile it. Some modules like wifi not works
Sent from my HTC Raider X710e using xda app-developers app

Please pm me leatest kernel source with all fix for cm10. Maybe I can enable otg host
Sent from my HTC Raider X710e using xda app-developers app

l0000l said:
When I compile it. Some modules like wifi not works
Sent from my HTC Raider X710e using xda app-developers app
Click to expand...
Click to collapse
You also have to build your modules. Look that step up, but it should be something like "make modules" or "make module modulename.ko". That should fix your wifi.

Here's the new kernel to test out if you'd be so kind.
(by the way, just check out Dev Chun's commits on github if you want to see what needs to be done. http://github.com/DevChun)

don't work again.
can i see this kernel source ?
see attachment. otg in sense kernel will work with this files

l0000l said:
don't work again.
can i see this kernel source ?
see attachment. otg in sense kernel will work with this files
Click to expand...
Click to collapse
I have made the same changes to those two files as per Dev Chun's commit notes.
Here are my c files. Maybe I'm missing something that needs to be done besides was was done in the change.zip. If I'm missing anything, let me know. The rest of the kernel source can be found at https://github.com/htc-msm8660/android_kernel_htc_msm8660

i'm working on it. try to add otg to this kernel

i try and try but can't do for this. some guys says aosp kernels don't have usb driver needed for otg.
maybe h8 can do this. he made this for OneX before

Okay, so I found the drivers for OTG. I'm going to patch them into the kernel tonight, along with the code already present to enable it. I will also incorporate the changes required to fix the mass storage issue, or use Homeslice's fix of replacing the entire driver if I can't get it by cherry picking fixes. Hopefully the next post on here from me with be one with a kernel that has both the mass storage fix, and OTG.

what happend ? did you succeed ?

Related

USB host driver in CM6?

Will Cyan add USB host driver to his latest release?
Imperial.mack said:
Will Cyan add USB host driver to his latest release?
Click to expand...
Click to collapse
I'm sure it hasn't been decided. Cyanogen himself is away this weekend and the team has only just started working on CM6. To get an answer faster though, check the CM6 thread in the CyanogenMod forums: http://forum.cyanogenmod.com/topic/1468-all-discussion-of-froyocm-6/
Thanx
Sent from my Nexus One using XDA App

[ROM][AOSP][Aplha build]New AOSP ROM for incredible

Is it possible to create a incredible ROM using the stock AOSP Froyo source.
I've done alot and have a running build.... but with problems. Mainly the touch screen registers no input, adb cannot find device to debug, and no VZW carrier signal.
Sent from my ADR6300 using Virtuous 1.7 through XDA App
See Ruby and cyanogen.
linuxmotion said:
Is it possible to create a STABLE incredible ROM using the NEW stock AOSP Froyo source.
I've done alot and have a running build.... but with problems. Mainly the touch screen registers no input, adb cannot find device to debug, and no VZW carrier signal.
Sent from my ADR6300 using Virtuous 1.7 through XDA App
Click to expand...
Click to collapse
There, FTFY...
I see.. stable being the issue.
I would like to not use use another ROM such as CM. I want to create my own, completely worked from the ground us. Of course I would add proprietary binaries to get features to work.
Any ideas why touch support is not enabled, or working in my build. Along with adb.
Sent from my ADR6300 using Virtuous 1.7 through XDA App
I don't know the how or the why, but AOSP touchscreen drivers seem to be different. You can make your touchscreen work by loading an AOSP kernel. As far as I know, adrynalyne, KingKlick, and Koush are the only folks who have written them. Install one of those and I bet you'll be good to go.
That could be the problem. I'm running HTC's stock kernel. I'll give it a whirl and see if that's it. I do have time to resolve this issue so I'll keep posting back.
Sent from my ADR6300 using Virtuous 1.7 through XDA App
HTC enables touch support in their framework. You must take additional steps to enable it in the kernel.
Thank you for the quick replies. Using kingskernel, touch was enabled but I have major UI problems. Hmmm maybe getting adb working should be my next step. Then I'll be able to debug it and potentially find my problem and resolve it. Anybody got any links or a direction to look.
Sent from my ADR6300 using Virtuous 1.7 through XDA App
Going to leave this thread in Dev since it is directly asking about creating kernels and whatnot.
@OP: Please edit the title to better reflect what you are looking for.
Anybody know how to add a carrier to a ROM (VZW). Adb might not work because I cannot enable it under settings due to UI problems. I'll upload the ROM if some of you want... still has MAJOR problems and no network access
I'm working to get a dev phone So I can work on the problems more. Flashing my own puts me out for hours sometimes.
Sent from my ADR6300 using Virtuous 1.7 through XDA App
adrynalyne said:
HTC enables touch support in their framework. You must take additional steps to enable it in the kernel.
Click to expand...
Click to collapse
What might these steps be. Do you have a link or the steps you took. Pm if you like. Ty
Sent from my ADR6300 using Virtuous 1.7 through XDA App
If anydoby would like to see the build follow this link to youtube. i've uploaded the video to show whats happening.
http://www.youtube.com/watch?v=kfEYyc9HOVY
linuxmotion said:
Anybody know how to add a carrier to a ROM (VZW). Adb might not work because I cannot enable it under settings due to UI problems. I'll upload the ROM if some of you want... still has MAJOR problems and no network access
I'm working to get a dev phone So I can work on the problems more. Flashing my own puts me out for hours sometimes.
Sent from my ADR6300 using Virtuous 1.7 through XDA App
Click to expand...
Click to collapse
usb debugging is enabled by default using the default.prop file in the ramdisk. this is what the file should look like.
Code:
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=1
persist.service.adb.enable=1
ihtfp69 said:
usb debugging is enabled by default using the default.prop file in the ramdisk. this is what the file should look like.
Code:
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=1
persist.service.adb.enable=1
Click to expand...
Click to collapse
Thanks that worked perfectly. I see I'm having a problem with egl. Specificly with no matching libgles config. Here is an attached adb file for anyone that want to review it. It's about 8 MB so i zipped it down to about 600KB
Sent from my ADR6300 using Virtuous 1.7 through XDA App
linuxmotion said:
Is it possible to create a incredible ROM using the stock AOSP Froyo source.
I've done alot and have a running build.... but with problems. Mainly the touch screen registers no input, adb cannot find device to debug, and no VZW carrier signal.
Sent from my ADR6300 using Virtuous 1.7 through XDA App
Click to expand...
Click to collapse
Yes this is possible, you need use the right driver. I have gotten it to work. When power is back I can tell you which one.
Sent from my Droid Incredible running Ruby
I tried a new generic inc build that has touch support thanks to kingskernel but has no touch button support. I'm going to try some of his others kernels, then CM kernel. I'm thinking this may be in the kernel area. Any ideas on how to remedy that.
Oh haptic feedback is working for the buttons. It just doesn't register intents. Maybe a permissions error?
Sent from my ADR6300 using Virtuous 3.01 through XDA App

[Kernel][1 December]Huntervu 2.0.5[Multitouch fixed/S2W/2 Ghz]

It's not my own kernel,but you can ask me about issues
This kernel was downloaded from chinese android forum
Features
-based on 3.0.16 stock HTC kernel
-supports OC/UV(up to 1.92 Ghz)
-Multitouch is fixed
-sweep to wake support(maybe not by default,but can be used)
works with ARHD 4+ and sense 4 ROM's
How to install:
-Enter recovery mode
-BACKUP your rom and data,this kernel can appeale wi-fi issue on some ROM's
-Install zip from sd card
New version 2.0.5!
2 versions:
-battery life
http://d-h.st/QM2
-perfomance
http://d-h.st/PcY
Any other differnces like USB oTG Support and so on?
Sent from my Incredible S using xda app-developers app
I'm not sure what you mean by multi touch fixed?
Sent from my HTC Incredible S using xda app-developers app
Nice find .could you please post a link to his thread on the Chinese forum? I'd like to see what else there is there
And nice to see an fsync toggle. Turning it off should see an increase in benchmarking performance, as well as slightly better battery. However if your phone randomly crashes, you might lose data. You have been warned. I keep it on.
Sent from my Infected ViperVivo
lagu805 said:
I'm not sure what you mean by multi touch fixed?
Sent from my HTC Incredible S using xda app-developers app
Click to expand...
Click to collapse
don't you know that stock htc kernel and all kernels have multitouch bug?you just can download any multitouch test and try all 4 fingers after turnng your device on,not all will be shown correctly(on any other kernel)
markj338 said:
Nice find .could you please post a link to his thread on the Chinese forum?
Click to expand...
Click to collapse
there is only a ROM there,Laozhu,it's just like viperVIVO,but has more options and all things are working(and even more),i can post it,if you need
Silversniper said:
Any other differnces like USB oTG Support and so on?
Sent from my Incredible S using xda app-developers app
Click to expand...
Click to collapse
nope,but i think working multitouch is important
saneksem said:
there is only a ROM there,Laozhu,it's just like viperVIVO,but has more options and all things are working(and even more),i can post it,if you need
Click to expand...
Click to collapse
Can u post a link to chinese thread/forum.
Sent from my HTC Incredible S using xda premium
saneksem said:
don't you know that stock htc kernel and all kernels have multitouch bug?you just can download any multitouch test and try all 4 fingers after turnng your device on,not all will be shown correctly(on any other kernel)
Click to expand...
Click to collapse
Oowww okay.. thanks a lot for this. To be honest i dont know
Sent from my HTC Incredible S using xda app-developers app
milan.gadakari said:
Can u post a link to chinese thread/forum.
Sent from my HTC Incredible S using xda premium
Click to expand...
Click to collapse
I am just uploading ROM to xda and making thread,there will be all links and mirrors,please wait)
Is it just me or does this seem like Redux kernel with fixed touch? (Ofc redux is based on another but still)
Evilus said:
Is it just me or does this seem like Redux kernel with fixed touch? (Ofc redux is based on another but still)
Click to expand...
Click to collapse
i donno y but i felt the same :silly:
If its a kang of Venom please don't upload it. Coredroid tweaks has also been named a kang
To avoid trouble with team venom, don't share it if it has an illegal version of their tweaks. The team do not allow others to use their tweaks. Thanks. Just tryin to avoid trouble here
Sent from my Nexus 7 using the xda app
Evilus said:
Is it just me or does this seem like Redux kernel with fixed touch? (Ofc redux is based on another but still)
Click to expand...
Click to collapse
i didn't make it,maye it's based on redux,but i don't know too)
markj338 said:
If its a kang of Venom please don't upload it. Coredroid tweaks has also been named a kang
To avoid trouble with team venom, don't share it if it has an illegal version of their tweaks. The team do not allow others to use their tweaks. Thanks. Just tryin to avoid trouble here
Click to expand...
Click to collapse
It's very sadly,because it's only fully sense 4.1 ROM,that have all functions working
ok guys,ask me in PM about this ROM,if you need
tried this kernel and fc'd chrome, gmail, fb etc. Lost WiFi and mobile data, even tried redux 0.3 first, and needed to nandroid back cause even flashing redux or xs kernel didn't fix it. Not sure what went wrong.
Sent from my HTC Sensation Z710e using xda app-developers app
bon_joey said:
tried this kernel and fc'd chrome, gmail, fb etc. Lost WiFi and mobile data, even tried redux 0.3 first, and needed to nandroid back cause even flashing redux or xs kernel didn't fix it. Not sure what went wrong.
Sent from my HTC Sensation Z710e using xda app-developers app
Click to expand...
Click to collapse
Do you by any chance have a sensation?
It works fine for me
Sent from my Infected ViperVivo
markj338 said:
Do you by any chance have a sensation?
It works fine for me
Sent from my Infected ViperVivo
Click to expand...
Click to collapse
inc s, i just used my sensation when i posted that
Guys,
Could any one let me know the minimum frequency supported and list of available of governers please? Any one who tested with incredible s, please share your results
Since the Laozhu Z6 rom thread is closed I have to post this here.
After some time of use I must say it's the best Sense 4 rom I tried (and I tried them all ), and the only one that's fully working. It's a pity why all developers around the world can't try to cooperate and work together to bring us the best user experience.
Also it is a shame why most of developers keep their work for their needs only. As we all know this forum is about sharing, not restricting and banning, trying to mark some of us as better, smarter and more important, that can make something that nobody can. I agree, but share some of that knowledge. When you start speaking about restrictions I immediately notice some similarity to Apple and their 'intellectual property' policy.
Don't get me wrong, all respect to our developers, they made a lot for us. But just screaming around on everybody about your m10 files and tweaks is a pretty disgusting for me. I know you will say that you made it and you claim all right on it and that you have to give permission, but I will ask you when did you get the permission for your sources, and by that I mean on HTC as the source of all RUUs? And you will say that they posted it for download, but did you exclusively asked them to use it, like you demand? Just like them you posted your work for download, so does that mean that it is free to use it?
And to conclude, instead of acting an overimportant human beings, try to cooperate with people that are able to fix all your mistakes and problems, and like some other devs try to post all you tweaks in a thread available to anyone that need it (like Leedroid tweaks and other), not trying only to collect as much 'thanks' and donations you can get.
Cheers.

[SHARE]Franco kernel #171+ faux sound control+faux gamma control (My personal build)

Hi.
I didn't find where to share it so people can try it and give feedback or whatever...so I created this thread. I compiled franco kernel with the updated code for the wifi driver (same thing that was done here).
It also modifies libs and config files so do a nandroid backup in case you don't want to use it anymore (use any other kernel...including the original franco kernel) ... or you can use (you have to use[/B]) this to revert to stock driver and pure franco #134 kernel.
Anyway... flashable zip in attached files
Source is here
I just wanted to help so be cool.
And credit to the people that deserved it.... you know who..
Well since the wifi problem is fixed (I think)... I'm just sharing my personal build of franco kernel...it's franco kernel+faux sound+faux gamma control.
Enjoy
What version (date) of the Prima Driver does this Kernel Contain? BTW, currently testing
Just as a heads up I'm using jszaq 's motley version and it's not missed a beat in weeks. It's so awesome not to have to worry about missed notifications on WiFi, after waiting so long for crappy Google to fix it.
sigma392 said:
What version (date) of the Prima Driver does this Kernel Contain? BTW, currently testing
Click to expand...
Click to collapse
V3.2.2.2
Sent from my Nexus 4 using xda app-developers app
meangreenie said:
Just as a heads up I'm using jszaq 's motley version and it's not missed a beat in weeks. It's so awesome not to have to worry about missed notifications on WiFi, after waiting so long for crappy Google to fix it.
Click to expand...
Click to collapse
It works for me too... But I read motley's thread and apparently doesn't work for everybody... I hope that it works for most of the people so franco will include it officially.. But since it uses libs and other config besides the kernel I don't think he will
Sent from my Nexus 4 using xda app-developers app
OMG, it works! i don't get wifi slowdowns anymore
There is more updated prima drivers
https://www.codeaurora.org/gitweb/q...a.git;a=shortlog;h=refs/heads/caf-wlan/master
But for some reason all kernel developers at xda using 3.2.1
Sent from my Nexus 4 using xda premium
it works very well!!
Whit franco kernel r134 i have 13.5Mb/s down, 1.1Mb/s up whit 30Mb (DIOCSIS 3.0).
Now whit the this driver i have 30.1Mb/s down, 1.0Mb/s up.. it works great!
spadie said:
it works very well!!
Whit franco kernel r134 i have 13.5Mb/s down, 1.1Mb/s up whit 30Mb (DIOCSIS 3.0).
Now whit the this driver i have 30.1Mb/s down, 1.0Mb/s up.. it works great!
Click to expand...
Click to collapse
Check if the wifi optimization feature is ticked in android settings.... Mine deactivated when I installed it
Sent from my Nexus 4 using xda app-developers app
Can u make this is stuf for saber kernel please
Sent from my Nexus 4 using xda app-developers app
How to revert to stock driver. Could you please make zip file for reverting?
myqwerty said:
How to revert to stock driver. Could you please make zip file for reverting?
Click to expand...
Click to collapse
Reflash a new kernel.
Works really great job
Tapatalk
sigma392 said:
Reflash a new kernel.
Click to expand...
Click to collapse
Since it changes libs and other stuff you can't just simply flash a new kernel. Have to restore from a backup.
Edit: Forgot to report my results. My internet is 30/5 and with this new kernel I actually get 30/6.5 which is obviously a faster upload than my computer speed tests.
If I flash a new kernel, do the new wifi drivers and such go away?
Sent from my Nexus 4 using xda premium
ivanich said:
There is more updated prima drivers
https://www.codeaurora.org/gitweb/q...a.git;a=shortlog;h=refs/heads/caf-wlan/master
But for some reason all kernel developers at xda using 3.2.1
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
It's because the changes are not in the mainline yet... so they are still experimental.
leos0000 said:
Can u make this is stuf for saber kernel please
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Sorry but i did it for Franco kernel cause i use it and he doesn't want to mess with wifi fixes... you can ask saber kernel developer or someone who uses it
myqwerty said:
How to revert to stock driver. Could you please make zip file for reverting?
Click to expand...
Click to collapse
I added a flashable zip in OP to revert to original drivers
ManOnTheMoon said:
If I flash a new kernel, do the new wifi drivers and such go away?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
The kernel changes I made and the wifi libs and config in rom side need to go together... so if you flash a new kernel only the files in rom side stay.... and your wifi will mess up... so use the revert zip to change kernel but you will lose the fix
Chomanator said:
Since it changes libs and other stuff you can't just simply flash a new kernel. Have to restore from a backup.
Edit: Forgot to report my results. My internet is 30/5 and with this new kernel I actually get 30/6.5 which is obviously a faster upload than my computer speed tests.
Click to expand...
Click to collapse
I poste it to fix the notification delay... it's a newer driver maybe they change more stuff the goal is to fix the notification delay on wifi

[DEV][PORT][4.2.2]Sense 5 from HOX

Hello,as many of you know ,that here was no updates made for a long time ,but i was working on this ROM with the help of Adam77Root ,Ive tried a lot of different combos of the Build, a lot of logging ,testing was done,but now Ive come to point where I ask any developer to help Porting this ROM to our for 4X ,so ive decided to make this an open development and publish current build.
NOTE: THIS FOR DEVELOPERS ONLY,THE ROM IS NOT BOOTING
CURRENT STATE:
This Port is based on CM10.1 stable with no /system/app.It has - repacked kernel, many imported libs and frameworks. The ROM was stuck at bootanimation all the time ,untill the last libhw_legacy.so was added and it got stuck at LG splash .
DOWNLOADS:
HOX SENSE 5 ROM:
http://www.androidfilehost.com/?fid=23060877490001102
PORT BUILD:
https://mega.co.nz/#!qQ4W2A6T!DvelYll6Z8J_OlbvWd1YlQnonK8a_iS8KvqsbHxOzh4
Thanks to:
iodak
GalaxyUser
Adam77Root
Yea finnaly. wil try it when i am at home
(Bad english)
Sent from my LG-P880 using xda app-developers app
What is this based on? Which Android version?
4.1 Jelly Bean
going to try it in the evening
Sent from my LG-P880 using xda app-developers app
i just started the download and its about 16 min left ( i dont have good internet speed, only about 500kb/s) but ill report back and tell if this boots or not
one person reported that the rom reboots all the time,im still not home to test it.
Sent from my LG-P880 using xda app-developers app
It is more than obvious that the rom will not boot ... No hard feelings!
I wish that this was booted and with no bugs because i would definitly use it.
(only 15 Dutch so maybe bad english.)
did u changed the kernel ?
boot class path (smth like this)
Sent from my LG-P880 using xda app-developers app
tobixdev said:
did u changed the kernel ?
boot class path (smth like this)
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
iodak did it ,right now its his kernel with the bootclasspath from one x
Sent from my LG-P880 using xda app-developers app
Since you port from HOX and use Sense 4+, I assume it's the 4.1.1 version. It will be an enormous work.
Does this.boot or i need to test myself?
Sent from my LG-P880 using xda app-developers app
Small suggestion. EGL libs have no need to change also hw libs (for start) so first to get the rom booting and after that fixes...there is no need to pile all at once!
today i haven't got enough time to have a look at it sorry. i will do it before monday
You could ask dexter_nlb if he has some tipps for you.
Hope you will get that thing work
Sent from my LG-P880 using xda app-developers app
tobixdev said:
today i haven't got enough time to have a look at it sorry. i will do it before monday
You could ask dexter_nlb if he has some tipps for you.
Hope you will get that thing work
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
contacted him before this ,didnt answer yet ,priority is to get it booted now.
In reply to @Gmobilize for the PM, but others might also be interested:
This and similar ports are not impossible to do. It just needs a lot of work. We are in a good situation, because: 1. We have NEON instruction support (Nowadays almost all new devices have this, but it's a pain if one doesn't.) 2. The HOX is similar both in chipset and in screen size and resolution. 3. We have official JB.
These were the pros, now the cons: HOX JB is based on 4.1.1 and it's slightly different from 4.1.2. Many native libraries should be replaced, which should not cause a problem as the chipset is similar.
I have already worked on a port similar (Stock Samsung JB from Exynos 4 to Tegra 2, without NEON support -> it was really hard), but would not participate in this project right now (I'm intereseted, but have some other work atm.).
Regarding rumours, 4.2.2 with Sense 5 will land in July to the HOX, I would wait for that.
If you need any help with the project, I'm here. Some advices first: Don't flash the whole rom, rather do it one-by-one, i.e. first frameworks, fix the necessary natives, boot into system_server, let SystemUI and core services start app, add providers, add core apps then others. It is a time (and adb ) consuming port, but it has to be this way.
Finally is it booting?I didnt find in any post anything
GRG13 said:
Finally is it booting?I didnt find in any post anything
Click to expand...
Click to collapse
Try it
Sent from my LG-P880 using xda app-developers app
My data plan doesn't afford it.im on vacation.so I will wait until come back

Categories

Resources