[Q] Viper One S, Kernel Ville-Z, OTG - HTC One S

I have a question regarding the interaction of the Viper One S 1.2 Rom and the [kernel] [S4] [15 Nov] Ville-Z Sweep2wake | Mpdecision [Linaro-O3] [3.0.51].
I flashed the Kernel now in order to use the USB OTG function without external power supply. The USB stick is recognized as sda1.
Only when I want to run the script to mount the stick the following message is:
segmentation fault.
When I still had the Trickroid up and had to connect the USB flash drive with external power supply, it was mounted by the script.
I will not really change, because I have made ​​friends already too much with the settings of the Viper Rom.
Can it be that the Viper Rom has some issues with USB OTG function? Maybe something is locked?
kind regards,
cryingfreeman

cryingfreeman86 said:
I have a question regarding the interaction of the Viper One S 1.2 Rom and the [kernel] [S4] [15 Nov] Ville-Z Sweep2wake | Mpdecision [Linaro-O3] [3.0.51].
I flashed the Kernel now in order to use the USB OTG function without external power supply. The USB stick is recognized as sda1.
Only when I want to run the script to mount the stick the following message is:
segmentation fault.
When I still had the Trickroid up and had to connect the USB flash drive with external power supply, it was mounted by the script.
I will not really change, because I have made ​​friends already too much with the settings of the Viper Rom.
Can it be that the Viper Rom has some issues with USB OTG function? Maybe something is locked?
kind regards,
cryingfreeman
Click to expand...
Click to collapse
Not tried that kernel but to mount flash drive I use USB OTG Helper, give that a try.

Thank you for your suggestion but it didn't work. The app can't find my device....

cryingfreeman86 said:
Thank you for your suggestion but it didn't work. The app can't find my device....
Click to expand...
Click to collapse
I guess it dont really work with that kernel. I have no problems with it on AOSP roms.

Yes it seems to be very picky with the flash drive that use. I use the same as mentioned above the USB OTG helper. I find it works best if right when you plug it in the second you start seeing that light flash on the on the flashdrive start hitting the mount button over and over and over again and it should Mount eventually.
And then again there are some USB flash drives that I just cannot get to work at all.
Sent from my HTC One S using xda premium

ryanshew said:
Yes it seems to be very picky with the flash drive that use. I use the same as mentioned above the USB OTG helper. I find it works best if right when you plug it in the second you start seeing that light flash on the on the flashdrive start hitting the mount button over and over and over again and it should Mount eventually.
And then again there are some USB flash drives that I just cannot get to work at all.
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
Have you tried it on a AOSP rom to see if you get the same issue.

Very interesting.
I recently flashed the PAC man ROM, and have been enjoying it tremendously. I couldnt get USB mounts to work before on Viper, and i never bothered with a more complex external power source tether. Now with OTG Helper and PAC man (which is an AOSP ROM) as well as the latest Fusion Kernel for AOSP, it works with my external USB very easily. No issues.
It may be an AOSP ROM and/or Jellybean thing.
AKToronto

So is this work for ViperOneS rom? or I need an AOSP?

TheEndHK said:
So is this work for ViperOneS rom? or I need an AOSP?
Click to expand...
Click to collapse
By the looks of things if its not powered its not going to work on Viper but works great on AOSP roms without power.

Related

[KERNEL] Sense 2.6.32.24+BFS+HAVS+USB HOST+UVOC+CIFS+NFS+NTFS+TUN

Hello,
I have compiled my own version of the bravo froyo kernel, I have mixed the work of kingklick for the incredible and the work of snq- as the 2.2b-sdfix kernel, changing some defaults voltages and add the Sven Killg's usb-host support. I have also added NFS, tun/openvpn, NTFS, UTF-8 and some usb devices I need. This kernel supports HAVS, that is Hybrid AVS that adjust the CPU voltage based the hardware feedback. In my desire is working quite fine, have no time for battery testing but it seems good. More feedback is welcome!
I am still waiting for an USB OTG Cable, so I cannot test the USB-Host part, it should work without problem following the instructions at http://sven.killig.de/android/N1/2.2/usb_host/ but if you find any problem, report it here.
Changelog:
-gg1:
GPU Fix from snq- and change versioning scheme.
v0.3:
Major change, based on official bravo and mix several patches from different sources. Now the kernel version is 2.6.32.24 and includes lots of changes. BFS, HAVS and more from the kingklick incredible kernel.
v0.2:
Remove usb sound support and add tun.ko for openvpn.
v0.1
I have put back IPv6 support, only 100Kb more and Google Googles works again :-D
Of course thanks to snq-, kingklick, LeeDroid, Sven, Koush and everybody here doing such a great job!
Next step should be a kind of toggle for the usb host mode, something userfriendly...
Any chance for something like this?
Diamondback2010 said:
Next step should be a kind of toggle for the usb host mode, something userfriendly...
Any chance for something like this?
Click to expand...
Click to collapse
The problem is that as far as I know once you have the ehci-ucd module loaded the usb mode change, even if you unload it. Doing an app to load unload all the usb-modules should be trivial, once I get the usb-otg cable I'll try it. Maybe I will code some kind of no-gui just a menu switch-on switch-off app, but doing it blindly would not be very easy :-D
Regards,
with ipv6 removed, google goggles will no longer work. any reason why you removed it? just curious.
Does it work.in hd Rom ?
I flashed it, and it works fine (the usual stuff, that is).
I also went to the linked website, and followed the instructions (though some of it made not much sense).
Then i plugged it into my computer over usb and selected mount as storage, and it mounted - so it didnt work?
Which instructions are the ones we need to follow?
Josh.
w.0.o.t said:
with ipv6 removed, google goggles will no longer work. any reason why you removed it? just curious.
Click to expand...
Click to collapse
Trying to save some bytes, I've put it back as it is only 100Kb more :-D
fllash said:
I flashed it, and it works fine (the usual stuff, that is).
I also went to the linked website, and followed the instructions (though some of it made not much sense).
Then i plugged it into my computer over usb and selected mount as storage, and it mounted - so it didnt work?
Which instructions are the ones we need to follow?
Josh.
Click to expand...
Click to collapse
The instructions about usb host-mode you need a OTG cable and a powered usb hub and then using conectbot or adb through wireless you need to manually load the needed modules, they are all at /system/lib/modules. The minimum is usbcore.ko and ehci-hcd.ko but you will need others to do usefull things. I think that we will need to kill some htc process because it seems that it is accessing the usb in slave mode. Once I'll get the OTG cable I'll try to get further, but right now the usb-host is just supported in the kernel, nothing else.
Regards
kahuna0k said:
Trying to save some bytes, I've put it back as it is only 100Kb more :-D
Click to expand...
Click to collapse
thanks very much. i'm flashing the new one in a minute.
Hy , thanks for u'r work, one more thing can u add support for open-vpn? i flashed u'r kernel but openvpn aint working anymore
thanks
tun module not work,please check
miyu-hitori said:
tun module not work,please check
Click to expand...
Click to collapse
littlej said:
Hy , thanks for u'r work, one more thing can u add support for open-vpn? i flashed u'r kernel but openvpn aint working anymore
thanks
Click to expand...
Click to collapse
new version with tun.ko included
Thank you for very good kernel, but WiFi n?
New version including the snq- gpu fix
kahuna0k said:
New version including the snq- gpu fix
Click to expand...
Click to collapse
so this has BFS scheduler? and does it include the SD read ahead fix?
Hmmm...
I've flashed the kernel but I got an error message when I tried to execute insmod ... ehci-hcd.ko, for the usbcore.ko was ok...
The error says something like "Device or resource busy".
Using Modaco R9 with Sub501 mods (CIFS, Undervolt, CFQ IO Scheduler, Custom governor), baked directly from the Modaco online kitchen.
I really need a help to solve this.
Thank you all!
a question: is bluetooth hid working with this kernel ??
Thanks for this, I LOVE a good kernel for my phone! This feels really nice, not sure if it'll beat out Ziggy's as my favourite but after a few hours I'm loving it!
I'll check back with battery life stats after a day at work
Skilling said:
Hmmm...
I've flashed the kernel but I got an error message when I tried to execute insmod ... ehci-hcd.ko, for the usbcore.ko was ok...
The error says something like "Device or resource busy".
Using Modaco R9 with Sub501 mods (CIFS, Undervolt, CFQ IO Scheduler, Custom governor), baked directly from the Modaco online kitchen.
I really need a help to solve this.
Thank you all!
Click to expand...
Click to collapse
I have the same problem. Please help!!!

[KERNEL] corvusKernel |.32|CIFS|TUN|EXT4|SLAB|CFQ|WiFi|NTFS|HOST/SLAVE|PL2303|XPAD

Hi all.
I make a new kernel based in Buzz Vega, but with some changes.
1) All modules (but wifi) are now integrated into kernel, so no more insmod modules.
2) Added support for PL2303 and FDTI usb to serial chips (Usb Gps, usb-serial cable, etc.)
3) Added support for Xbox 360 PAD (wired or wireless with pc adaptor)
Notes:
1) To boot in host mode, press on, once you have black iluminated, release on button and press back until boot finished.
2) Usb Gps and Xbox pad are detected by kernel but not useable in android by now. I'm working on it.
3) To mount CIFS shares, you can use Mount Manager or Cifs Manager from market
4) To use NTFS (and possibly EXT4) you must mount manually. I'm working in do it automatically. Using ConnectBot:
Code:
$su
#busybox mount /dev/block/sda1 /mnt/usbdisk
And you get yout memory at /mnt/usbdisk and can access it with any file manager.
INSTALL:
This must be installed using CWM, and use this zip as update. MAKE ALLWAYS A NANDROID BACKUP BEFORE
If you was using Buzz Vega, can delete .ko files from /system/lib/modules, because they are not used (now integrated into kernel).
http://dl.dropbox.com/u/13580211/corvusKernel_01.zip
Thanks Buzz, Paul "Modaco", Koush, and all great helping people at #tegratab.
Corvus.
PS: If you prefer speak spanish with me, please PM.
Awesome work with the Xbox360 controller. What kernel module did you use to achieve that? Just getting in to kernel stuff with the Vega so please excuse if my question is a little basic.
You can search for Xpad in .config or advent_vega_defaultconfig.
corvus said:
...I make a new kernel based in Buzz Vega...
Click to expand...
Click to collapse
Hey corvus,
I just wanted to say thanks! Your kernel is running great on my POV mobii and I don't experience the root- or bsod-problems I had with buzz-vega kernel. Also the cifs integration works fine.
greetings...
Great to see developers starting to work on the Advent.
Installed this kernel on my Advent Vega. It seems the device came to live. Performance is much better now. Suspending and resuming now works better. Wifi resuming works great. Very nice job with this kernel, very nice indeed
what adapter do you use? using xbox remote would be amazing
None by now... they are detected by kernel, but not used by android... working on it.
Corvus.
i thaught as much. good luck with that using an xbox remote on a ps1 emulator would rock!
hi! what about the kernel source + config?
like to add dvb-t and bluetooth hid (doesn't detect that my bt keyboard is a keyboard..)
and ive got some strange issues with the orientation sensor, seems like its shifted to the left so when i want to get into landscape mode i must rotate it much more to the right side (so i used the lock that i can work with that). No issue with CM7.
EDIT: ive got an xbox 360 wireless controller for windows (with the usb reciever), do i need to have some external apps or something to use this?
corvus said:
Hi all.
I make a new kernel based in Buzz Vega, but with some changes.
1) All modules (but wifi) are now integrated into kernel, so no more insmod modules.
2) Added support for PL2303 and FDTI usb to serial chips (Usb Gps, usb-serial cable, etc.)
3) Added support for Xbox 360 PAD (wired or wireless with pc adaptor)
Notes:
1) To boot in host mode, press on, once you have black iluminated, release on button and press back until boot finished.
2) Usb Gps and Xbox pad are detected by kernel but not useable in android by now. I'm working on it.
3) To mount CIFS shares, you can use Mount Manager or Cifs Manager from market
4) To use NTFS (and possibly EXT4) you must mount manually. I'm working in do it automatically. Using ConnectBot:
Code:
$su
#busybox mount /dev/block/sda1 /mnt/usbdisk
And you get yout memory at /mnt/usbdisk and can access it with any file manager.
INSTALL:
This must be installed using CWM, and use this zip as update. MAKE ALLWAYS A NANDROID BACKUP BEFORE
If you was using Buzz Vega, can delete .ko files from /system/lib/modules, because they are not used (now integrated into kernel).
http://dl.dropbox.com/u/13580211/corvusKernel_01.zip
Thanks Buzz, Paul "Modaco", Koush, and all great helping people at #tegratab.
Corvus.
PS: If you prefer speak spanish with me, please PM.
Click to expand...
Click to collapse
nobody in here?
Sorry by the delay.
Sources and default config are here: https://github.com/BuzzBumbleBee/android_kernel_advent_vega/
For dvb-t you will need some kind of program to reproduce video...
Corvus.
No problem
There is an DVB project for Archos devices, maybe this is a start..
http://code.google.com/p/archos-gen8-dvb/
EDIT: Maybe i got some tomatoes on my eyes, but i dont find the config file
corvus said:
Sorry by the delay.
Sources and default config are here: https://github.com/BuzzBumbleBee/android_kernel_advent_vega/
For dvb-t you will need some kind of program to reproduce video...
Corvus.
Click to expand...
Click to collapse
brunsbanjo said:
No problem
There is an DVB project for Archos devices, maybe this is a start..
http://code.google.com/p/archos-gen8-dvb/
EDIT: Maybe i got some tomatoes on my eyes, but i dont find the config file
Click to expand...
Click to collapse
search for defconfig_adventvega or similar.
do you know where the kernel looks for firmware files?
/lib/firmware no luck
/lib/firmware/[KERNELVERSION]/ no luck
...
brunsbanjo said:
do you know where the kernel looks for firmware files?
/lib/firmware no luck
/lib/firmware/[KERNELVERSION]/ no luck
...
Click to expand...
Click to collapse
i think that you refer to wifi firmware...
I found this problem too...
You must edit wifi sources (/drivers/networking/wireless/ath/ath6k/.../ar6000.c, if i remember correclty). Search for firmware and change all paths to /system/lib/hw/wlan (if i remember correctly, search in this path for files).
you can recompile only wifi module, not need to recompile all kernel.
If you have any other problems with firmware, you need to change sources, because /lib/firmware is a bad place, because /lib is not created. Is better to point to /system/lib.
Corvus.

Host-usb (3.1) + pendrive?

Hey.
Today I bought a USB OTG Host Cable. Mouse works, keyboard too so i love this feature but... my pendrive doesn't! Does Droid 3.1 support this? If yes, where Can I see my files?
Bye
No, I don't believe flash drive support (storage) is supported in 3.1 OTG. However, when the new tiamat kernel is released for 3.1, I'm sure support for that will be built into it.
MAD Industries said:
No, I don't believe flash drive support (storage) is supported in 3.1 OTG. However, when the new tiamat kernel is released for 3.1, I'm sure support for that will be built into it.
Click to expand...
Click to collapse
Strange thing. So, why Asus Transformer can do this (prob. only with dock) ?]
//Edit:
Mounting USB storage works:
mkdir /mnt/usbstorage
busybox mount /dev/block/sda1 (ID of pendrive, listed on "ls /dev/block/") /mnt/usbstorage
And yep. USB is in /mnt/usbstorage
Unmount: busybox umount /mnt/usbstorage
THanks for the edit. Good to know. So the transformer just auto-mounts then.
I'm guessing, you need to be rooted?
BrokenPixel said:
I'm guessing, you need to be rooted?
Click to expand...
Click to collapse
I think yes.

[Q] Do we need stickmount?

I have a rooted N5 running LiquidSmooth (didnt flash any custom kernel separately. Installed stickmount as I read somewhere it is essential for OTG. I got an OTG pen drive and conencted it to my phone, and I think it will work just fine even without stickmount. I havent tried it yet as my N5 is only 4 days old and i do not want to try anything without being absolutely sure about it. Any inputs?
Depends if the ROM and kernel support automounting or not. If not, then yes you'll need stick mount.
Sent from my Nexus 5 using Tapatalk
If I remember correctly, Liquid Smooth does not support OTG. I apologize if I'm wrong, but I had this problem with my Meenova.
I just use ES File Explorer. Currently on PA but i'm pretty sure it works on stock
pepdavies said:
I just use ES File Explorer. Currently on PA but i'm pretty sure it works on stock
Click to expand...
Click to collapse
USB OTG Doesn't automount on stock. ES would be needed, but only after mounting... which requires either kernel or ROM modification (which you will have) OR stickmount / Media Importer apps
My mistake, I do usually use Franco kernel

Default USBOTG Mounter in Nexus 5

Hi
I have A Nexus 5 with android 4.4.4.
Today When I Have Connected My MP3 Player To My Phone,Es Explorer App Asked Me To Mount It(And It Couldn't!)
Now When I'm Connecting A USB Flash to My Phone,I Can't Mount It By Phone Os(No USB Showing In Settings>Storage).
Mounting By Es Or Stickmount works but i can't mount usb without them.
i think The Problem Is "The Default USB Mounter Changed" But I Don't know How to fix it.
Do You Know How To fix It?
The Nexus 5 with Stock ROM and kernel cannot automatically mount OTG. You must use either StickMount or Nexus media importer apps.
If you have a ROM and/or kernel that does support automount, well you haven't told us which this is.
rootSU said:
The Nexus 5 with Stock ROM and kernel cannot automatically mount OTG. You must use either StickMount or Nexus media importer apps.
If you have a ROM and/or kernel that does support automount, well you haven't told us which this is.
Click to expand...
Click to collapse
the rom is original rom of nexus 5(Was On It From Factory) then i updated it to latest kitkat from about menu of android.but before enabling EsExplorer's Mount,the auto mount was working well.
hadinahavandi said:
the rom is original rom of nexus 5(Was On It From Factory) then i updated it to latest kitkat from about menu of android.but before enabling EsExplorer's Mount,the auto mount was working well.
Click to expand...
Click to collapse
If stock ROM automounts OTG, then that is news to me. It never used to do this, but I haven't used stock in a long time.
Stock ROM Don't stop have automount option
rootSU said:
If stock ROM automounts OTG, then that is news to me. It never used to do this, but I haven't used stock in a long time.
Click to expand...
Click to collapse
sorry you're right .I've installed stock rom from Google site again and I saw that stock rom don't have auto mount option.
hadinahavandi said:
sorry you're right .I've installed stock rom from Google site again and I saw that stock rom don't have auto mount option.
Click to expand...
Click to collapse
Good to know that my information isn't out of date
Like I said, I haven't used a stock ROM for some time, but i'd have been upset if I missed that one.
Thanks for letting me know

Categories

Resources