yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] _crue_:
here is updated drivers for RTL2832U including R820T

take a look when you will have a time :)

Merry Christmas
[Nexus 7 Android Development] ahjee:
For some reason it seems like it's not installing, I chose a min of 51 a max of 16 and every time I boot it up sure enough its 102-1300
[Nexus 7 Android Development] redeyedjedi:
102 is the bottom freq. 1600 should work, but I set it with trickstermod on boot with a 15 second delay. Also, if you set it with the aroma installer, then check it with trickstermod, trickstermod won't show the changes.....but if you go to the info screen under CPU stats, you should see that it does in fact span from 102 up to 1600. OC definitely works.....but it just doesn't show the initial frequency settings correctly in trickstermod unless you used trickstermod to change them.
[Nexus 7 Android Development] SlavPala4a:
Today I dirty installed the Kernel over Purity. It works just fine but I do not see USB settings in SETTINGS Menu, am I supposed to?(I am comming from Timur's ROM)

I am making a backup as we speak in order to do a CLEAN install with all the formats. Will report asap about stability, OC ...etc

Later :good:
[Nexus 7 Android Development] sgt. meow:
You're not supposed to see anything extra in the ROM interface after installing a kernel. So it's all good.
[Nexus 7 Android Development] SlavPala4a:
Unfortunately I am not able to set Screen DPI as well as OC...neither Trickster MOD nor FauxClock. During install I chose DEFAULT values everywhere in Aroma.

:confused:

P.S. the thing is just flying...is there a Gamma correction of the display - it looks really natural!
[Nexus 7 Android Development] sgt. meow:
I dunno how this kernel OC's but screen DPI can be edited in the build.prop (look for ro.scf.lcd_density).

Unfortunately an interface for color/gamma tweaking has not yet been coded for the grouper (probably because it's not possible.
[Nexus 7 Android Development] redeyedjedi:
it flies because showp1984 is a very talented dev. It should over clock, with trickstermod.....but if you want it on boot add a 15 second delay. stock gives you almost 6 hours screen time, while 1500mhz gives you about 4.5 hours screen time.

some 4.4.2 roms need a SU update. I've tested with purity and it should be fine. to set fixed install mode, etc. go into system/etc/init.d and adjust the script "usbcontrols" as you see fit. please note that on purity ROM and various other 4.4 ROMs that you may need to move this script to /data/local so that it is called by 90userinit script.....but don't move from system/etc/init.d to /data/local unless the 90userinit script is there and the usbcontrols script won't work where it is.

on any 4.3 ROMs you should have no issues at all. feel free to bug me and ask questions....I don't mind. I really need to clean up my OP.

By the way, there should be no problems dirty flashing a kernel, but I'd remove fauxclock and anything else remaining from fauxkernel cause it can cause issues.
[Nexus 7 Android Development] SlavPala4a:
I didn't quite catch the explanation about fixed install, but this is just because I am not experienced enough.

There is definitely a bug with the aroma...sometimes when you flash the kernel it just goes black...after 1min it goes back to TWRP v.2.6.3.1....

I have reflashed the kernel with 1500Mhz OC(option in Aroma) and it DOES NOT WORK. Max stays 1300 :confused:
[Nexus 7 Android Development] redeyedjedi:
well....I have no idea, OC works for me whether I use the aroma or trickstermod. OC works for me on 4.3 and 4.4. It is bricked kernel OC code and i havent touched it. The screen blacks out twrp cause its the screensaver. the aroma installer takes too long sometimes. this is from bricked kernel so I havent monkie'd with it but left it how showp did it. If you want you can try oxydo as he has pulled in the dac and otg mods. it should do fine for you if you dont need any of the dvb, usb wifi, serial drivers.

Also....trickstermod will sometimes show that it is not overclocked in the settings.........but....if you go to "time in state" you should see that it IS going up to 1500 if thats where you set it in aroma. if you change OC settings in trickstermod, then it will show in BOTH the settings and in the "time in state" that it is OC'ed. hope this helps.
[Nexus 7 Android Development] DOCIOHN:
Working great on tilapia using official CM11 nightly.

Many thanks for the great work☺.
[Nexus 7 Android Development] SlavPala4a:
I think that the Kernel does not install at all in my case. I tried everything but downgrading TWRP
[Nexus 7 Android Development] DOCIOHN:
I am using ClockworkMod Recovery v6.0.4.3 and it's working fine.
[Nexus 7 Android Development] SlavPala4a:
Is your Kernel version same as mine?
[Nexus 7 Android Development] redeyedjedi:
twrp 2.6.3.0, NOT 2.6.3.1. or, use cwm..
[Nexus 7 Android Development] SlavPala4a:
Is the kernel version the right one? - in my photo

P.S. I don't know why I found this so late but it is simply a MUST for every dashboard integration: http://xdaforums.com/showthread.php?t=2437377

APP SETTINGS module is just AMAZING!!! What a breakthrough for me!
[Nexus 7 Android Development] Kev1000000:
Is there a DEB version of this Kernel?
[Nexus 7 Android Development] SlavPala4a:
Ok I have just installed CWM, and Kernel is finally on! Overclocked and ready to rock. Thanks for the tip!

Everyone should install the App Settings Module from my last post! Wonderful for changing per app dpi and actions! In combination with UCCW possibilities are immense!
[Nexus 7 Android Development] redeyedjedi:
elementalx has otg+charge....but I'm not sure about anything else.
[Nexus 7 Android Development] cy80rg:
Kang = Full Replacement for Timur USB Rom?

Hi guys,

Not quite at the dev-guru level like most of you seem here ( :) ) but have rooted a number of phones succesfully (CM9-11), done a fixed car install of my 2012 N7 using Timur's ROM, so Im not quite a noob!

As I say, using Timurs rom, but I see Kang here seems a lot more up to date, and more active, so I'd like to come over...

Basically, all I need is:

1. Deep sleep / restore on external power off -> restore (running from car electrics)

2. External USB support (Radio/TV tuner, USB thumb drive for storage)

3. Wifi (my non-3g N7 connects over wifi to the shared access point on my phone)

So...

1. Can I just install the full package with all the modules (im not woried about local storage space), or if installed, does each module need to be manually configured?

2. Is Kang a full, release quality replacement for Timurs USB Rom?

3. Looking at this forum, I believe this comes with a KitKat-based ROM?

FWIW, under Timurs ROM, I could never get the N7 to deep sleep on external power lost - even tho the N7 itself knew full well it was running on battery. If I physically unplugged it from power, then it would kick into deep sleep. However, I could never get it auto-wake on power-returned.

I believe this i due to some app / process interupting the deep sleep - but never did work it out.

How "intelligent" in Kang with sleep-disturbing processes etc?

Thanks in advance! :)
[Nexus 7 Android Development] redeyedjedi:
1. this not a replacement for usbrom, and it is not a ROM at all.

2. this is a kernel...only. It has the otg+fast charge driver from usbrom, and it has the firm sleep rtc driver from usbrom.

It also has Hotplug DAC support at the kernel level. you need to use a patcher to patch your 4.3 4.4 ROM to have full hotplug DAC support.

3. the purpose here is that Timur kernel wasn't developed past 4.2, this one supports 4.3/4.4 but you decide what ROM to use, and patch it for DAC support. The patch that works is in this thread in the last couple of pages, I need to link it in the OP.

4. if you want firm sleep, you need to download pwrevntmngr from usbrom website, the one from June 20th, or you can pull it from latest usbrom and push it to /system/app of your chosen ROM.

5. this kernel also has everything from bricked kernel: OC, custom on demand governor, custom mpdecision CPU plugging, much more.

6. this kernel also supports most common USB WiFi devices, next release will support all easycap devices......and eventually r820t dvb sticks, but that is WIP.

7. I did this because people were askin for it. I have no donate button, don't claim credit for the hard work of others, and will try to help when I can.
[Nexus 7 Android Development] cy80rg:
Thanks for your reply, redeye!

After planning to spend the weekend digging into why Timurs ROM deep sleep wasnt working - just discovered that the cheapo "Amp + usb power" I got an ebay keeps the USB powered, even though the amp itself powers off on ignition!

I understand your reply, and that Kang isnt a Rom but a kernal.

I plan to hardwire a seperate (switched!) usb power supply - once that's in place I'll study your kernal, doesnt look too difficuly now I know why my chuffing amp never turned off! ;)

Thanks for your help, and thanks in advance for all your hardwork on Kang:)

<respect>
[Nexus 7 Android Development] Mugga:
Hey guys,

thx for that write up of the comparision to the timur rom.

There is one question I got relating the connected usb-devices. With timurs rom those devices are getting disconnected and power shuts off for them with the fixed installation mode.

Is that also the case with this kernel? Or is this done with the pwrevntmngr addon?
[Nexus 7 Android Development] redeyedjedi:
I know the OP is in disarray. but if you read it you will see I'm using Timur's drivers. you can choose fixed install, or not...fast charge, or not.... lock usbdisk, or not....firm sleep too, but itis triggered by pwrevnt mnger, or you could make your own way to trigger it, it still blocks all wakeups until power returns.this kernel has every single ability as Timur kernel, plus things like OC, usb wifi adapters, nice governors, and easycap finally with today's release which will be up shortly. there is no easy settings to change it. that's a ROM feature. if I had that much time, I would go through that'process'of recreating it all, it would be a pain without source code but AT least it would be GPL compliant....if omnirom ever has multi window again I will do just that. but honestly, I can find absolutely no reason to use kitkat. it invades privacy more than a damn apple phone. ART is a joke....placebo at best. no tabletui,etc,etc,etc.

if you want to on your own, there is some code for basic switching if you look at github.com/mehrvarz. the point for now is to use what ROM you want. for me that's smoothrom 5.3.

then use terminal, or gscript, or init.d to set fixed install, fast charge,firm sleep, etc. you can also get the custom Apollo from the OP, it is GPL and it will resume autoplay after deep sleep even from external drive.

code examples for switch interface exposed through sysfs:

echo "0" > /sys/kernel/usbhost/usbhost_fixed_install_mode

echo "1" > /sys/kernel/usbhost/usbhost_firm_sleep
[Nexus 7 Android Development] Mugga:
Thx for the detailed answer. I will give this a try and see if I can use this instead of timurs rom. I think I gonna tried it with the purity rom.

EDIT:

I just forgot ... again... that I'm using a 3G Nexus so I need a Tilapia rom, does anyone got one working good with this kernel?
[Nexus 7 Android Development] _crue_:
So, I've changed Timur's PowerEventMgr.apk to get it workable on KitKat.

Removed all system app permissions (needed root).

Could be installed (no need to push anywhere)

Everything works for me on this kernel and stock KitKat 4.4.2.

all features from Timur's app present except USB Tethering (I've remove it as I don't need it)

to redeyedjedi will be good if you try it, but not required :)

any fix, features wants appreciated :p
[Nexus 7 Android Development] Mugga:
I now installed everything, but sadly it doesn't work.

No usb devices are getting detected (easycap or wireless keyboard dongle). Also installed the modified powereventmgr from _crue_ (thx for that) and checked firmsleep and fixed install mode, but when I unplug the power cord, nothing happends.

I used your brand new kernel 1.2 and the unoffical cm11 rom from temasek (http://xdaforums.com/showthread.php?t=2547782).

Any ideas what maybe went wrong?
[Nexus 7 Android Development] redeyedjedi:
go into settings>about tablet and make sure its 1.2. then there is a script to load the modules that I haven't uploaded yet, but I'll get to it. after a reboot if modules are loaded then the carcam app should work, after you go into settings and choose your adapter. I tested with the cheapest on fleabay, a dc60++ and it works OK. I also had a real one, and it got a picture with the same settings as the cheap one.

for firm sleep, I think it needs those permissions and it needs to be in /system/app. just download the zip from usbrom website, from June 20th and flash it......it has worked for me flawlessly.

I'm not sure it should need modding.....nor do I know if that's legal even tho its freely and publicly released on his site. he didn't release source code for it so I'd just use it as he released it. it does work, even tried a custom image....post dmesg or logcat after you've checked kernel version and flashed the original version if it still doesn't work. I'll upload script in a minute......for easycap modules.
[Nexus 7 Android Development] redeyedjedi:
script to load easycap modules. push it to /system/etc/init.d and make sure permissions are right.

http://d-h.st/z2g
[Nexus 7 Android Development] dvdivx:
I tried installing 1.2 on Vanir but it fails to find assets? (It does not detect its a grouper ROM) and won't install. Also does not work on OMNI. Does this kernel work with AOSP (4.4.2)?
[Nexus 7 Android Development] redeyedjedi:
it works on cwm and twrp 2.6.3.0 but it doesnt work twrp 2.6.3.1
[Nexus 7 Android Development] dvdivx:
That did the trick. Thanks. Does this kernel have usb ethernet drivers like the Asix AX8877?
[Nexus 7 Android Development] jdprocks:
what do you mean by over 200 remote controls ?? :confused::confused:
[Nexus 7 Android Development] redeyedjedi:
they are part of dvb support. they include the remote to just about every USB dvbt stick, and atsc stick, and media center remotes for windows, like ati remote wonder,remote wonder two. for example, I've got a TV wonder 600 USB stick and I'm trying to watch live TV....I can't get a picture yet, but I can use the remote that came with it as a wireless keyboard, and vol up/down, etc. the point is if you got a dvb stick (rtl2832, etc) that the remote should work too. if using in a car install, it comes in handy. one of my goals is to see how much hardware can be supported, how close can a android tablet get to a desktop.
[Nexus 7 Android Development] redeyedjedi:
yes it does support USB Ethernet adapters....I dare not say which ones, cause I don't knw. I can check, but just see if it works.

if anyone is wondering the kernel does also work on tilapia, at least for one person so far.
[Nexus 7 Android Development] _crue_:
try to force go to sleep, launch app and press "go to sleep"

or

after you plugged power (usb host with OTG-Y) check files "/sys/kernel/usbhost" "hostmode", "fixed_install_mode" both should be 1

if everything right, after unplug you tablet hvae to go in sleep mode
[Nexus 7 Android Development] _crue_:
Fixed power down action.

Added ACCESS_SUPERUSER permission

Version number is not changed :)

tested with Kang-aroo 1.2 stock ROM 4.4.2
[Nexus 7 Android Development] dvdivx:
Only thing I don't like about the kernel so far is it's not for the N5 also :( Great work
[Nexus 7 Android Development] Souron29:
Love this kernel. All my otg problems went away. Only thing I feel -ve is the battery consumption.
[Nexus 7 Android Development] redeyedjedi:
yes....there is a trade off....but it will settle in and calibrate and after your second full charge.....there should be no problem getting 4 hours screen on OC, or 5.5 hours at stock clocks. but.....you can also try the interactive gov. which is Franco's, it is a little slower than the default and smartmax, but maybe battery life is little better. This thing will NOT compete with lean kernel, etc. for longer battery tho. win some lose some.
[Nexus 7 Android Development] SlavPala4a:
I think the ROM is perfect as daily driver...:good: I use it as tablet last couple of days and it is just flawless! GREAT WORK

Now I want to initiate a discussion about best way to control Nexus 7 via remote in car environment.

1. Microsoft Wedge Mouse

2. Parrot Asteroid Mini Remote

3. Your old Samsung Galaxy S I via some kind of app

4. Anything else that connects to a Nexus 7 with nice design and functionality related to In Car Integration.

Let me know if it is off topic.
[Nexus 7 Android Development] redeyedjedi:
1, plug and play probably

2. need to see which modules are required, they may already be there and just need to be insmodded

3. tablet talk...AND/OR use the "ums" app to use a galaxy phone as mass storage, play media files from phone's microsd on the nexus 7...use it as a wireless ip camera

4. five dollar fleabay easycap for using a backup camera...dc-dc power convertor to supply juice...usb hub for multiple devices...cheap DAC for better sound. to each his own...

i dont consider much of anything off topic....there is no need for deep development discussion as I am making it a point to kang code which has been shown to have been debugged and useful, etc. Of course its not perfect.... its always good to hear about bugs. right now the main one is figuring out how to use init.d for controlling usbhost/otg charging at boot time with kitkat.... instead of using terminal or gscript.
[Nexus 7 Android Development] barnesk9:
I already have a Nexus 7 installed in my dash and I'm looking to 4.4 and this looks like it will help but I have a few questions.

1. I know that with USBROM certain phones can be USB tethered to the tablet. With the wifi drivers added does it make it easier to tether any phone using USB tethering?

2. Can I use a USB microphone or add an external mic to my DAC and use it that way?
[Nexus 7 Android Development] redeyedjedi:
1. This would be a rom function....or maybe with an app... on the kernel level it has what it needs but has nothing to do with usb wifi really. Those drivers are for using usb wifi sticks for better range. It involves a custom wpa_supplicant among other things and is rather advanced, as well as different for each wifi chipset.

2. If your usb dac has a mic input, then it is detected most likely at the kernel level if the DAC itself works... but once again this would require a rom modification maybe in audiopolicymanager to direct incoming audio from the built in mic to the externally plugged mic. Im only guessing it could be hot pluggable as well with the right code. The app Usb audio recorder can do it but im not sure how helpful that would be in a car install. I wouldn't say that I know a whole lot about it and could be wrong about some of this tho...consider this information in the "2 cents" arena.

hope this helps.
[Nexus 7 Android Development] SlavPala4a:
Is it possible to check if Parrots remote is compatible....This will be a HUGE advantage as it is really beatiful and has all the short-buttons that man will ever need.

P.S. I am experiencing a bug: tablet shows charging off the charger...sometimes not always

Wouldn't it be nice to somehow use some of the 2DINs Software?
[Nexus 7 Android Development] redeyedjedi:
the parrot astro mini seems that it works through bluetooth, as well as some proprietary apps. im thinking they have userspace drivers included with their apps..... just try it. The 2DINs I dunno what that is.gotta link?

BTW,

ftdi,cp2303, etc. USB serial support is already in this kernel, should add that to the OP.
[Nexus 7 Android Development] _crue_:
PowerEventMgr updated to 1.1 version.

added new icon.

added preferences with before sleep and release audio focus timeouts.
[Nexus 7 Android Development] _crue_:
to redeyedjedi

Don't you look into default.audio.policy?

Volume control is very wanted feature during DAC is using.

I would start new app for arduino + stearing well controls.
[Nexus 7 Android Development] redeyedjedi:
I am lookin into it...along with other things. thats a rom thing tho, im thinking ill go ahead and do a rom build but am waiting for omnirom to get multiwindow back. im not sure a patch can be made for just any kitkat rom....need more time, and more reading.
[Nexus 7 Android Development] miki8989:
hello

thanks for the wonderful job

I installed the rom "cm-11-20140104-UNOFFICIAL-Temasek-tilapia-V27" and it works with almost all your kernel

Unfortunately I was not able to run the dac Behringer UCA202

how to use poweramp player

can you give me a help

thanks
[Nexus 7 Android Development] _crue_:
To use DAC you have to install USB Audio Patch first. http://xdaforums.com/showthread.php?t=2029728
[Nexus 7 Android Development] mad212:
Loving the kernel with smoothrom! I have kind of an off topic question but since most people are here for fixed car installs I figured I would ask it here. How are you guys installing powered usb hubs in car? I'm trying to figure out how to power it. Can anyone post a link to the hub you're using and how you ran power for it?
[Nexus 7 Android Development] _crue_:
simplest way to use, power down converter from 12V to 5V, on ebay you could find a lot different, just notice that it should has at least 3A of output current.
[Nexus 7 Android Development] mad212:
Are you talking about something like this? http://www.amazon.com/gp/aw/d/B00A714QBQ/ref=pd_aw_sbs_1?pi=SL500_SS115

How would I wire the hub? Just cut the plug off the dc power cable and strip the wires for power and ground?
[Nexus 7 Android Development] _crue_:
Get the powered hub, almous has power supply 5V, you have just solder connector to Step Down supply for connecting it to hub.

or if you haven't powered HUB, you could use OTG-Y cable and connect it directly yo Step Down supply
[Nexus 7 Android Development] mad212:
Thanks for answering but I'm still not understanding. The powered usb hubs that I see are powered by a dc adapter that plugs into a wall outlet. How do I get power and ground wires from the usb hub to connect to the step down converter? Is it as simple as cutting the plug off and stripping those wires and soldering those to the step down? Sorry not a genius when it comes to electrical but I have done a lot of simple car head unit and amplifier installs.
[Nexus 7 Android Development] treIII:
I'm new to this thread and I have read quite a bit. But I would like to know what hat the latest version is for grouper with 4.4.2 kk ? thank you

Sent from my Nexus 5 using Xparent Blue Tapatalk 2
[Nexus 7 Android Development] redeyedjedi:
those wall plugs spit out 5v DC at 1amp or 2 amps...so if you get a 12v to 5v step down dc-dc convertor as crue is saying, you can cut the power cord of the USB hub and wire it to the output of dc-dc convertor. sounds like a dirty hack...but with respect to electronic theory...its actually safer. that factory usbhub adapter doesn't have an isolation transformer.......doing such a mod makes that usbhub safer to use as it eliminates the cheap chinese crappy plug with no isolation from full line current.
[Nexus 7 Android Development] redeyedjedi:
the version in the op works fine with kitkat......the smaller one only has cifs/tun.ko, while the bigger one supports as much hardware as I can figure out......currently 307 modules......from USB serial adapters, USB WiFi, dvbt stick, dvb remotes, media center remotes, easycap devices regardless of chipset, USB DACs, etc.
[Nexus 7 Android Development] redeyedjedi:
OK people....good news......the cm11 build from Zeljko nows supports DAC hotplugging with volume control! credits to netfluke and zeljko.....if you need some volume control......hit em up and hit his thanks button!!!!
[Nexus 7 Android Development] _crue_:
does it means that I could use default.audio.policy from his build for stock .4.4.2?