yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] redeyedjedi:
Yes......I need a logcat then. WiFi is built in, no modules, all the extra drivers/modules are not insmodded automatically...so its not a conflict. Tun.ko and cifs.ko are insmodded but they are built into mkernel so it shouldnt be them. You do have working WiFi otherwise? Logcat, I'll see what I can find. It needs to be fixed since it has something to do with stock drivers. Maybe its an SELinux thing.....I'll get that build up when I have a chance.
[Nexus 7 Android Development] rebel1699:
Sure thing, I will append this post with the logcat as soon as my wife allows me on the computer tonight, lol. But as far as wifi otherwise, yes, everything works normally in other apps. I am posting from it now.
[Nexus 7 Android Development] redeyedjedi:
Nice...very useful to have quick access to all the usbhost settings and the deep sleep button. You are a coding maniac...... Do you need anything else from me for now?
[Nexus 7 Android Development] rebel1699:
[MENTION=4035939]redeyedjedi[/MENTION] please disregard all previous posts concerning intercepter-ng and issue with it accessing internal wifi. Apparently, everytime omnirom is updated, it breaks root. It was that stinking simple, and I feel terrible for bugging you with it. Your kernel is preforming perfectly. Why in the world would a rom like omnirom, partially developed by chainfire of all people, not come pre rooted, or retain root through nigntly updates? Oh well, thats for another thread. Thank you, and again, soory for the bug in my head. :)
[Nexus 7 Android Development] redeyedjedi:
No problem......just glad it works how its supposed to. :good:
[Nexus 7 Android Development] _crue_:
probably :) yes

I don't know did you build new drivers for RTL2832U including R820T
[Nexus 7 Android Development] BowDown:
Coming from USBROM I have to applaud you and your Kernel. This is a breath of fresh air, and I'm very happy someone else has taken development of a fixed install type ROM.

One thing I have come across so far is the lack of a 'landscape' mode for fixed install? I easily fixed the lack of landscape only by downloading a screen locking app.. but otherwise this works great!

:good::cyclops:
[Nexus 7 Android Development] _crue_:
PwrEvent mgr has an preference for locking screen in fixed install mode (if power plugged).
[Nexus 7 Android Development] BowDown:
Cool. I'll check it out. I updated to the latest version, but must of missed that option.
[Nexus 7 Android Development] redeyedjedi:
Working on it....... If you got DAC on boot fixed......I'll focus just on this, r820t.
[Nexus 7 Android Development] redeyedjedi:
Are you talking about tabletui?? Where status bar and notification bar are combined along the bottom? This is no longer possible because for kitkat Google decided to gut this function so they could be like apple., unified interface. I have this option on my ROM because I am on smoothrom.

There is soooo much Google spyware in kitkat that I just cant run it......im not that "cool" with "the google.". My next device will be windows 8 pro based, and all of my usbhost and hardware support issues will be gone. I'm still trying to figure out why my janky old viewsonic gtab came with a full size USB, hdmi out, and an independent charger hookup......and now all these newer tablets are just like apple........... Cant I get a microsd in dis mutha*****????

However, this kernel and pwrevntmanager from crue will work also on the jb4.3 ROM of your choice....... If you want the tabletui, get PA or AOKP based ROM.
[Nexus 7 Android Development] _crue_:
yes everything works file (patch)

Power Event Manager updated.

- minor fixes

if you after install can not open settings from notification, reboot tablet :)
[Nexus 7 Android Development] _crue_:
adndroid is a future :) windows never will be so flexible :)

about usb :) this is "bussines" (managers tricks, sale tricks etc)

ISO and Windows :) suck. Developing on android :) is a pleasure :)

this is my first applications (this is why so much updates, I'm exploring new features of android) :)

but everything easy and much space for fantasy :)
[Nexus 7 Android Development] redeyedjedi:
its the gapps.....cant just have mrkt......gotta have all this other stuff....it turns on ur wifi and downloads updates without you even beinng able to tell....this bugs me.

im gonna dev this nexus 7 until it wont boot anymore......I just may be the last person on jellybean. I will get the r820t drivers as soon as I figure out the backport from 3.8 and cross-compile them.

thanks for your work........awesome.
[Nexus 7 Android Development] guisar:
For anyone wanting multiwindow now the xposed xhalo module wirks great! I much prefer over Samsung implementation for instance. With bubble launcher you can tailor even more. Baking in xposed and halo mod would be a great out of the box solution and should be little to no work to add. Can't recommend enough.

tapa_talk 4 sucks
[Nexus 7 Android Development] b3ltazar:
[MENTION=1641657]redeyejedi[/MENTION] do you plan on implementing d2w and s2w in this kernel like the oxydo kernel has. I have used both kernels and they are both great for car installs d2w would be awsome. Thanks for keeping og n7 alive you have my appreciation. thank you! Anything you need me to test let me know....
[Nexus 7 Android Development] redeyedjedi:
yeah....ive thought about it. r820t drivers are next tho. sgt. meow is better at that tho.....I may just kang his if I can make it play nice with everything else.
[Nexus 7 Android Development] b3ltazar:
Whats the model # of r820t adapter u have? I'd like to get one I know will work with your kernel. Its pretty cool you and Sgt. Meow work together to make things happen. I'm available to help with anything u guys need.
[Nexus 7 Android Development] BowDown:
Ok so in order to make a USB DAC happy do I still need to install some kind of patch? My install is a fixed install and I have all the settings toggled that's needed... but the DAC still doesn't function. I have tried disconnecting it and reconnecting it with the tablet on, and still it plays through the built in speakers.

Also what about the USB drive mount location... can this be changed? PowerAmp is happy with it being mounted on usbstick or whatever... but Apollo or USB Media Player do not see the files on the stick as I don't believe they are smart enough to query that mount.

I'm running your kernel on 4.4 w/root access.
[Nexus 7 Android Development] _crue_:
you have to patch services and framework jars. I could give you a code for patching :) I patcher (application) isn't ready for use with new patch
[Nexus 7 Android Development] BowDown:
That would be much appreciated. :good:
[Nexus 7 Android Development] _crue_:
but do you know what to do with it? :)

I will past it later today
[Nexus 7 Android Development] BowDown:
Not exactly, but in situations like this Google is my friend. :confused:
[Nexus 7 Android Development] mad212:
I'm also wondering if you can change USB drive mounnt?
[Nexus 7 Android Development] redeyedjedi:
there is a simple patcher you can use. it is linked in the OP......super easy. this needs a rom mod........read the OP.
[Nexus 7 Android Development] _crue_:
for new patch old patcher is not suitable :)

I think to write an android app for patching, but I'm lazy :))))
[Nexus 7 Android Development] redeyedjedi:
newsky tv28t. $15.50 on fleabay....works asis with sdrtouch...... my (every n7) rt2832 driver dont support it for tv tho....they are two years out of date....so im backporting newer ones to support r820t......cause thats what ALL these new cheap dvbts have.
[Nexus 7 Android Development] BowDown:
Crue seems to differ in opinion. LOL. Is the patch thing for the DAC in the OP 4.4 friendly? What about the USB Filesystem mount change?
[Nexus 7 Android Development] redeyedjedi:
this is a ramdisk function..... my kernel is zimage....no ramdisk. if mkernel gives you the mount location you want.....flash it first, then mine. if franco kernel gives you the mount location you want.....flash his first and then mine, etc.etc.

when I get free time again im going to pack this kernel into his is ramdisk so it can be flashed in the newer recoveries.

really its just a matter of symlinks.
[Nexus 7 Android Development] redeyedjedi:
I was refering to the old one that wirks without boot support. from jacknorris code. it works.

too bad about modding the patcher for new code.
[Nexus 7 Android Development] redeyedjedi:
actually....he is talkin about timur code based patch for dac in boot, and volume control and hotplug dac......

im talkn about patcher that DOES work but is jacknorris code....so no dac on boot with this kernel....and no volune control.

crue is talkn about the patch we want........im talkn about the one we got.

the one in OP is 4.4 compatible and 4.3.
[Nexus 7 Android Development] mad212:
For some reason I can't get this damn 128gb pny flash drive to mount after returning from sleep. I picked up one of these powered USB hubs http://www.amazon.com/gp/aw/d/B001H7AFO6 and a new otg y cable but still not working.

Is it possible that certain drives just won't work after deep sleep? I've tried ntfs and fat32. Ive also tried with timurs usbrom. Anyone have any ideas?
[Nexus 7 Android Development] _crue_:
did you set usbhost_usb_lock to 1?
[Nexus 7 Android Development] mad212:
I don't think so. Is that an option on your powereventmanager or do I have to set it in terminal emulator?
[Nexus 7 Android Development] _crue_:
this is an kernel option.

echo 1 > /sys/kernel/usbhost/usbhost_lock_usbdisk

also for setting it you can use PwrEventMrg
[Nexus 7 Android Development] mad212:
I'm pretty sure I set it in PwrEventMrg but I'll double check on my lunch break. Thanks!
[Nexus 7 Android Development] BowDown:
Ok I loaded M-Kernel, then rebooted, and installed your Kangaroo Kernel again. I'll see how it works out...
[Nexus 7 Android Development] redeyedjedi:
Use the pwrmngr to "lock usbdisk" and also use the modded Apollo music player from OP. Sometimes it truely just won't work.....but when I use the lock usbdisk on my PIA USB stick I don't get auto playback after deep sleep, but Apollo pauses on sleep, and on wakeup I just hit play and it picks up where I left off.

Another thing you can try is an automount vold from cm11........this will give you NTFS r/w automatically......

d-h.st/Bsj
[Nexus 7 Android Development] mad212:
It's not that i don't get auto playback the flash drive is just not recognized at all after sleep. It shows the usbdisk folder in File Manager app but there are no files in the folder. I have to restart to get it recognized. I'll try flashing this file. Do i need to format the flash drive back to ntfs first?
[Nexus 7 Android Development] redeyedjedi:
no.....but ntfs is faster....and works well....like 10mbps write and faster reads.

I think such a large drive formatted fat32 shouldnt be a problem but sometimes on nonwindows devices it is. Ive also read that drives with a light on them cause more issues than drives without an led. unfortunately. .... I would be lying if I said ive ever even tried a fat32....

so it could be the kernels fault somehow. has it worked for you with any other kernel?
[Nexus 7 Android Development] mad212:
I've only tried yours and usbrom. I'll try another kernel too.
[Nexus 7 Android Development] BowDown:
I have gotta say the best implementation of this Kernel from the 3 or so clean slate installs has been to use the following:

SmoothROM-v5.3 w/M-Kernel option (4.3 based)

KangarooV2

PowerEventMgr.apk

USB Mount works well out of the box w/Apollo and other media players.

Power Management works well...

Still running it through the paces.
[Nexus 7 Android Development] redeyedjedi:
I just tested on mine and fat32 is working. Flash that vold I linked......and if it still doesn't work then I'd consider reformatting to NTFS. I know its a pain to reload 128gigs of stuff but it mmay be your only option.
[Nexus 7 Android Development] mad212:
OK I'll give it a shot now.
[Nexus 7 Android Development] Mugga:
Hey guys,

I just gave this kernel another try on my 3G Nexus with the temasek's cm11 build.

Everything is working so far, but I got some issues with firm sleep. Sometimes the tablet goes into sleep when power is off, sometimes it does nothing, and another time it just gone to sleep and then just came back on.

I've read that you can use tasker for the sleep event, but when I go into the plugin and configuration I can only choose "skip countdown screen". But when I hit save, nothing is happening in tasker, and when I want to safe the action he just says "plugin settings set".

Would be great if someone could give me a hint for the proper settings.
[Nexus 7 Android Development] redeyedjedi:
youll have to wait for crue to chime in...... if youre on his newest I know tablet needs to be rebooted. using it without tasker works flawlessly.....gotta be in fixed install mode....it counts down as I set the timer and goes to deep speep as it should....wakes up when power returns.....havent messed with his tasker addon.
[Nexus 7 Android Development] mad212:
Well I've tried everything suggested and this PNY 128gb flash drive cannot be recognized after sleep. Don't know if it being USB 3.0 has anything to do with it. Before I end up throwing it out the window I'll just stick to my 64gb microsd card.
[Nexus 7 Android Development] Mugga:
Most of the time it's working perfect, just like you described. But sometimes I've got those problems. An because I use my tablet as a fixed installation in my car, I have to make sure that it is off, when there is no external power.

Is there maybe a way to debug/log. So maybe that I can find what is causing that error?
[Nexus 7 Android Development] redeyedjedi:
This sucks.........I just don't get how it would even work in the first place and not mount afterwards. Too bad, man. I have no other ideas. Do you see anything odd in logcat? Can you cause this event and upload a logcat?
[Nexus 7 Android Development] mad212:
Don't have a clue how to pull a logcat but when I get some time this weekend I'll read up and figure it out. Thanks for all your help!
[Nexus 7 Android Development] Kuchar09:
First off thanks for making this kernel so those of us with car installs can try something new like 4.4.2 :victory:

So sorry if i sound stupid or if I miss read something somewhere but I can't get anything to work.

I'm running the latest Purity grouper Rom, latest PA_Gapps and V2 of this kernel. I installed those all at the same time in TWRP latest version. I have my FiiO e10 and flash drive connected to a hub thats connected to a y-charge cable. Everything lights up but I can't find the flash drive anywhere on the tablet using es file explorer. I also don't have any sound coming from my DAC. I tried booting with everything connected and hot plugging which I now see I need a patch to hotplug the DAC. If I use stick mount I can get my flash drive to mount under under my sdcard as usbstorage with another folder called sda1.

Should my flash drive automatically be mounting under storage>usbdrive or somthing similar?

Any ideas for my dac? Just tested it on my PC n it still works lol.

Thanks for the help!!! Sorry if I'm missing something obvious. Keep up the great work!!!!!!

If anyone has any questions or needs help with a car install feel free to post in my thread shown in my signature or send me a PM!!
[Nexus 7 Android Development] redeyedjedi:
rom and ramdisk issues...not kernel. if you use mkernel ramdisk it will set /usbdisk and you can flash my zimage over that. if you use a cm vold which I have linked then you dont need stickmount. if you want dac then rom needs patch. it will work how you want when setup all the way.

so flash mkernel...then mine.....then flash cm vold I linked like 3 or 4 posts back....then dac patch...then you're done.

when I have time ill add a ramdisk to mine b ut for now it leaves what you have alone.
[Nexus 7 Android Development] Kuchar09:
Ahh ok I'll give that a shot sorry I didn't read more... I read something about flashing another kernel but was a little confused, but it all makes sense now!!!! Thanks for the help!!!
[Nexus 7 Android Development] Mugga:
Still got issues with the firm sleep.

At the morning I turned on my external power for the tablet, it woke up, but the whole screen freezed. After a while the tablet gone into soft reboot.

Afterwards I tested power on and off a few times. Sometimes everything goes right, without any problems.

Do anyone got a clue what maybe could be wrong? I got the following rom on my tablet: http://xdaforums.com/showthread.php?t=2547782
[Nexus 7 Android Development] redeyedjedi:
You should prolly try some of the other versions of crue's powermanager. I'm not having any issues like this on smooth room or cm11.

It doesn't matter on the kernel that you use tilapia...... I haven't heard anyone else have these issues. You can upload a logcat and I'll see what there is to see.....my gut says try one of the older power managers because the newest one may have a bug or two.......he updates it very time someone makes a feature request.
[Nexus 7 Android Development] Mugga:
Thx for the tip. Tried a previous version and so far it seems to be working.

I got another question related to the easycap device. Back with timurs rom I got an working UTV chipset easycap device. When I'm not mistaken, I just have to use your script to load the modules. I tried that, but can't get it working. There is no "video0" folder in "dev".

I just copied your script content into an run shell task into tasker with root rights.
[Nexus 7 Android Development] redeyedjedi:
Did you install the modules? What about entering "lsmod" in terminal to make sure they are all insmodded? I too have a utv007 and it works. I also have the newest ezcap with empia chipset and it works too. Show me the output of "lsmod" in terminal. Or a dmesg from bootup would work too.
[Nexus 7 Android Development] Mugga:
I thought the modules are included in the v2 full?
[Nexus 7 Android Development] redeyedjedi:
They are....that's what I was asking. That script I use in init.d. if it worked, you should be able to enter "lsmod" in terminal and see about 8-10 modules. If you see "usbtv.ko" and you plug your device, you'll get /dev/video0. If you are on fixed install, make sure got power applied.
[Nexus 7 Android Development] Mugga:
Hmm, no he can't find the files. Just looked into the lib folder an saw that there are only 69 files in it and not 307. I tried to reflash your kernel but nothing changed.

EDIT:

Ok, it seems to have anything to do with the rom. I just tried ParanoidAndroid as a rom, and all modules are in the modules folder. Also when I check the with lsmod, some modules are listed. But some modules can't be loaded.

root@tilapia:/ # lsmod

cifs 235687 0 - Live 0x00000000

root@tilapia:/ # lsmod

smi2021 15072 0 - Live 0x00000000

saa7115 15255 0 - Live 0x00000000

qvideobuf2_vmalloc 2877 1 smi2021, Live 0x00000000

qvideobuf2_memops 2387 1 qvideobuf2_vmalloc, Live 0x00000000

qvideobuf2_core 26965 1 smi2021, Live 0x00000000

qv4l2_common 6903 2 smi2021,saa7115, Live 0x00000000

qvideodev 112426 4 smi2021,saa7115,qvideobuf2_core,qv4l2_common, Live 0x00000000

cifs 235687 0 - Live 0x00000000

root@tilapia:/ # insmod /system/lib/modules/usbtv.ko

insmod: can't open '/system/lib/modules/usbtv.ko'

And here the dmesg:

<6>[ 2.535761] usb 1-1: new high speed USB device number 2 using tegra-ehci

<4>[ 2.569598] usb 1-1: config 1 interface 0 altsetting 1 bulk endpoint 0x83 has invalid maxpacket 256

<6>[ 2.572969] usb 1-1: New USB device found, idVendor=1b71, idProduct=3002

<6>[ 2.573102] usb 1-1: New USB device strings: Mfr=3, Product=4, SerialNumber=2

<6>[ 2.573174] usb 1-1: Product: usbtv007

<6>[ 2.573301] usb 1-1: Manufacturer: fushicai

<6>[ 2.573371] usb 1-1: SerialNumber: 300000000002

EDIT2:

Just saw that there are not all modules in the libs folder. Only the modules to stk1160.ko are in the modules folder. Whats the deal with that?
[Nexus 7 Android Development] redeyedjedi:
Damn stupid gapps. 350mb of that stuff. Your /system is full, no room for all modules. Gonna have to remove some gapps, or just use the modules you need. I am sorry....I'd have to write a new recovery that makes /system BIGGER to fix this.....or you would have to manually with a bunch of tricky terminal commands. ( not a good idea)
[Nexus 7 Android Development] Mugga:
Aahh, ok. I try a clean install with a slim gapps package.
[Nexus 7 Android Development] GrandeParade:
EasyCAP

redeyedjedi / kucher09

I just ordered this:

http://www.aliexpress.com/item/USB-...g-and-videoconference-1channel/627955829.html

It says it's the STK1160 chip, so I'm hoping for that.

Is that the best version of the EasyCap in terms of image quality? Since all versions of the EasyCAP seems to be working now, that really isnt a problem. Do any of the clones have better quality?

//GP
[Nexus 7 Android Development] Mugga:
Ok, I now got all modules with the micro gapps install. Modules are loaded and stick is detected and registered as: USBTV007 Video Grabber and video0 folder is created.

But when I use car cam I just get a black picture. Can you tell me which version you use?

I tried CarCam api15 and CarCam 1.4bb.
[Nexus 7 Android Development] redeyedjedi:
The newest one.....pick NTSC and utv007 in settings. Should have picture. If not close app, unplug/replug re-open app. If you got /Dev/video0 then you've got it installed.
[Nexus 7 Android Development] Mugga:
Tried it, but just a black screen. Even tried my other easycap device. Also black screen. Maybe this is an issue with the car cam app. Are you using 4.4.2 rom?

EDIT:

Just checked the error log of the carcam app:

"Cannot open '/dev/video0': 13, Permission denied
[Nexus 7 Android Development] redeyedjedi:
Did you flash my kernel over stock? I need to add a ramdisk, I thought the permissions were already in place....but KitKat has to screw with everything. Flash mkernel first, then mine. Then you will be on his ramdisk and you will have permissions you need for /Dev/video0

To verify this first you can go into terminal and enter " chmod 0660 /Dev/video0" then "chown system.camera /Dev/video0" and it will work until reboot. Flash mkernel first for his ramdisk then flash my kernel and it should work as intended permanently.

Sorry....its hard to remember everything I'll update the OP. This super bowl is boooooooorring.
[Nexus 7 Android Development] Mugga:
Yes, I just flashed over the stock kernel.

I now tried both, installing mkernel (http://xdaforums.com/showthread.php?p=38551156) and reflashing your kernel. Didn't work.

And also tried your terminal commands, same result.
[Nexus 7 Android Development] _crue_:
to redeyedjedi how could I do a clean install

I mean overriding whole /system (kernel) to use some stock

and then your kernel on the top?

I also have a problems with a space in /system :(