yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] SGH-i200:
New download links

I found these Mirrors:

V2 with all modules, SELinux disabled:

http://d-h.st/P0II

V2 minimal install, just tun and cifs modules, SELinux disabled

http://d-h.st/nKuD

PowerEventManager:

http://d-h.st/DrjB
[Nexus 7 Android Development] virtualspeed:
this kernel development seems dead but I would also be interested in this...

can someone with the knowledge convert the kernel to support f2fs?

There's no viable options for our tablet to be used in car without usb otg charge option
[Nexus 7 Android Development] virtualspeed:
Also found a bug in "V2 with all modules, SELinux disabled"

The bluetooth stops working after flashing the version with all modules. Can someone tell me which module is for bluetooth so I flash everything except that module that is obviously broken?

thanks
[Nexus 7 Android Development] Joshuax:
Can anybody build actual version of this kernel from sources on github ? I dont know how. There seems to be some new features over last V2 version. Thanks a lot.
[Nexus 7 Android Development] suprimesir:
old links here are dead.. does someone here have a different link for this kernel?
[Nexus 7 Android Development] neldoreth:
Same here. I can't download. Any mirror ?

thanks.
[Nexus 7 Android Development] endorfina_pl:
Thats very popular kernel so meybe someone can upload it again from hard drive :(
[Nexus 7 Android Development] Andy2No:
Assuming I could download it, which version(s) of Android did it work with, and does it support the Tilapia?
[Nexus 7 Android Development] x_zao_x:
Any updates on the status to download?
[Nexus 7 Android Development] shucru:
Dev host dont working please another mirror upload
[Nexus 7 Android Development] Andy2No:
That was the OPs last ever post, in 2014, and he apparently hasn't logged in for two years.

So, someone else who has it already would have to provide the download.

I'd be interested in trying it with the only slightly modified KitKat 4.4.2 I had originally - KOT49H, with a fix for 3G on the Tilapia (I can find the full details, if needed, but I can't remember at the moment). For me, the only thing lacking in KitKat was USB audio support - I need it as an input more than as an output.
[Nexus 7 Android Development] kazimserhan:
Sooo, after searching every single web page about kangaroo kernel I finally found it. Some guy posted this on a forum called kegbot.org. Here is the link

https://drive.google.com/file/d/0BxJ7goWNuNmiRE9JV2stQlVEUE0/view
[Nexus 7 Android Development] shoeprano27:
you are the man, sir!
[Nexus 7 Android Development] Andy2No:
Cool. Thanks, kazimserhan.
[Nexus 7 Android Development] David_Pooh:
Good ROM for this file?

Anybody have a good ROM for this Kernel?

Cant find any still alive..
[Nexus 7 Android Development] Mathsl:
Can anyone Please post a working download link for This kernel? I really need a working rom/kernel for my Nexus 7 2012 grouper (only WiFi)
[Nexus 7 Android Development] SGH-i200:
Mirror for Kangaroo kernel for Nexus 7 2012

I sure have a backup of this kernel! I will search for the files this Friday and will provide a mirror. Which mirror service would be best? The XDA forum allows 20.00 MB file size for attachments. Should be enough.
[Nexus 7 Android Development] SGH-i200:
kernel-kangV2min.zip (6 MB) = V2 minimal install

[MENTION=6451265]Mathsl[/MENTION] - Since the mirrors are offline I will upload the files as attachment to this post! :victory:

kernel-kangV2min.zip (6 MB) = V2 minimal install, just tun and cifs modules, SELinux disabled

Not uploaded yet: kernel-kangarooV2.zip (44 MB, splitted) = V2 with all modules, SELinux disabled
[Nexus 7 Android Development] Mathsl:
Amazing! Thank you! Really thank you <3
[Nexus 7 Android Development] SGH-i200:
kernel-kangarooV2.zip (44 MB) = V2 with all modules

[MENTION=6451265]Mathsl[/MENTION] here is the rest:

kernel-kangarooV2.zip is splitted into 3 files:

1. kernel-kangarooV2.001.tar rename to kernel-kangarooV2.tar.001 (attached to my post above)

2. kernel-kangarooV2.002.tar rename to kernel-kangarooV2.tar.002

3. kernel-kangarooV2.003.tar rename to kernel-kangarooV2.tar.003
[Nexus 7 Android Development] Mathsl:
I don't understand why when i try to extract the archive, say that it's corrupt :(
[Nexus 7 Android Development] Mathsl:
Ok, i've install the kernel, but no way to reproduce with my dac :(

It's recognized, but don't work. I turn off the tablet, plug the dac, turn on the tablet, and when I try to play music, nothing happen, the audio player stop work and no music :(
[Nexus 7 Android Development] SGH-i200:
Which ROM and which music player? Did you try Timurs USBHost kernel? (I never used a DAC.)
[Nexus 7 Android Development] SGH-i200:
DAC music playback

Did you try the modded Apollo music player app?

Are you looking for a ROM which has DAC hotplug support? Which ROMs do you tried?
[Nexus 7 Android Development] starfarer:
[MENTION=6451265]Mathsl[/MENTION] : on original thread "USB audio support by jacknorris", user NetFluke has posting to state that android has no support for TAS1020B chip. First check if your DAC has this chip. As for patching the rom as linked by SGH-i200 above, if renaming folder failed to work, edit build.prop and change version from 4.4.4 to 4.4. My DAC soundblaster E5 also don't work with either timur or any 4.4.4 rom. I can change volume from DAC but get no sound unless playing audio via apps supporting USB audio. Out of frustration, I tried headphone out into Car stereo and very surprised with the sound quality which was at least on par/better than via bluetooth. The volume too were much louder. Not sure if this kernel has some audio tweaks or N7 actually has decent DAC with above average amplifier. I've my order of cheap ELE USB DAC from far far east with ETA of at least a month but for now, I'm more than happy to use headphone out.

Only thing stopping me from drilling holes all over dash is for some unknown reasons slave devices on USB hub are drawing power from N7 which is switched off. I've my N7 on Power ON (on ignition ON) and Power OFF (on Ignition OFF) using MacroDroid. Yes I've FI & Fast Charge ON. Anyone with ideas?
[Nexus 7 Android Development] Mathsl:
You have to use an external charger for Your hub I think

---------- Post added at 01:07 AM ---------- Previous post was at 01:01 AM ----------
[Nexus 7 Android Development] starfarer:
ok thanks will try to splice and add power to hub.

Not sure but think android added support for USB audio from Lollipop, so no need for patch on newer versions. My DAC too works with 7.1 but has the exact same problem. At least host mode is working for you after unplug/plug of otg cable. I'd to reboot to get all otg + charging functionality.
[Nexus 7 Android Development] Mathsl:
Yes but you know that it's very very boring. I have to find a solution, I'm sure that it's only a firmware problem
[Nexus 7 Android Development] starfarer:
Good thing is at least enough time to put on seat belt :) and you can always change bootanimation to pics of Megan fox :). But yes GL finding solution and will be keeping an eye here just in case you managed to solve the problem.
[Nexus 7 Android Development] sany:
I am new to the kernel business - all that i can do is flash custom ROMS. Can somebody tell me how to flash the kernel? is it same as flashing ROM? I am running Lineage OS 14.1 currently - can i apply this Kernel without disturbing the flash or do I have to start over everything including TWRP>Custom ROM and flash GAPPs?
[Nexus 7 Android Development] adeelraj:
This kernel is only for 4.3-4.4 kitkat roms.

U have to go back to kitkat.
[Nexus 7 Android Development] ayman07:
Can someon reupload the kernel? The one the user uploaded to XDA says its corrupt when I extract it.
[Nexus 7 Android Development] SGH-i200:
Which tool you use to extract? This user had your problem first, but said he was able to extract the file later. So the file should be fine.
[Nexus 7 Android Development] rahimali:
Here you go!
[Nexus 7 Android Development] _crue_:
my init.d works

I've added "echo 0 > /sdcard/testinit'

and it created a file

but settings in /kernel/usbhost doesn't changed
[Nexus 7 Android Development] andrew9292:
So there's i encountered wifi problems again on 8/12 and latest purity. It's not a wholly clean flash. Alongside this unable to apply 01usbcontrol bug.

After some tinkering i got it fixed. You need to fully reset init.d and check some weird stuff.

Note: The wifi problems were fixed initially. But i flashed franco r76, used it awhile and came back to kangaroo. That is when the wifi problem came back.

Install Android Terminal Emulator. If you have broken wifi, download it on another machine and transfer via usb.

1. Delete /system/bin/sysinit

2. Delete /system/etc/install-recovery.sh

3. Delete /system/etc/Install-recovery2.sh

4. Copy this Term-Init.sh script into root directory. Not to /sdcard/term-init.sh but /term-init.sh

5. Launch Terminal

6. Type: su

press enter.

7. Grant su access if needed

8. Type: sh /term-init.sh

press enter.

9. Script will run. Follow instructions.

After 1st reboot my wifi works.

After 3rd reboot 01usbcontrol init.d works.

If your init.d script still does not work. Eg. 01usbcontrol

0. Check if #!/system/bin/sh is preset at beginning of script. Add if not present. Reboot. Check.

If fails,

1. Set init.d folder and all init.d permissions to rwxrwxrwx (777).

2. Reboot. Check permissions and settings. (If permissions dont stick, read below)

3. Make sure there is no space at the end of commit location. Eg. In 01usbcontrols echo '1' > /location/location/location

<no space here>

The line ends at last alphabet 'n' of 'location'.

4. Reboot. Check permissions and settings. Reboot. Check /sys/kernel/usbhost settings commit.

Why does this fix it? IDK. It works for me and maybe only me

Credits: http://xdaforums.com/showthread.php?t=1933849 for term-init.sh

If rwxrwxrwx (777) permissions do not stick after reboot, check if you have a setperm init script, if you do not... do this.

#!/system/bin/sh

mount -o remount,rw -t auto /system
chmod -R 777 /system/etc/init.d
mount -o remount,ro -t auto /system

1. Copy and save that code into system/etc/init.d/08setperm (make 08setperm if you dont have it)

2. Set /etc/init.d folder and all init.d permissions including 08setperm to rwxrwxrwx (777).

3. Reboot. Permissions should stick now.
[Nexus 7 Android Development] _crue_:
You didn't even read what I wrote.

I sad wifi already works (after busybox was re-installed)

All scripts works even 01usbcontrols

BUT

settings in /sys/kernel/usbhost doesn't equals one I've set in 01usbcontrols

lloks like after 01usbcontrols was executed all /sys/kernel/usbhost files were rewrited
[Nexus 7 Android Development] andrew9292:
Removed. Redundant.
[Nexus 7 Android Development] _crue_:
I'm appreciating this but. Everything works for me, except setting data in /kernel/usbhost

But 01usbcontrols works fine (I've tried to add echo 1 > /sdcard/test on the beggening of the file)

This means that 01usbcontrols was executed, because after reboot I've got test file in /sccard with "1" inside.

All previous fails were related to busybox installation (after re-install all are gone).

PS. will be good to clear this Thread from my previous comments to avoid confusing other users.

SOLVED.

added #!/system/bin/sh at the beginning

thanks for help
[Nexus 7 Android Development] andrew9292:
Just curious. In your case adding the line helps or removin the spaces as you quoted helped? Or both?
[Nexus 7 Android Development] _crue_:
1. fixed busybox installation (moved to /system/bin instead of /system/xbin, don't know what the difference, but in /system/xbin it doesn't work for me) - solve wi-fi

1.1 - SUuser - set permissions on using root during system boot

2. adding a line solve my problem with execution 01usbcontrol (when I told about testing echo) - solved executing of 01usbcontrol

3. (as you wrote) an extra chars at and of each string, so at least just removed them - solved setting correct data fot /usbhost/...

now all works.

did you try to install PowerEventMng.apk from Timur?

I have no success. Maybe you have a solution?

I've try to push it, flash with :) zip. Look like the some restrictions for using it with 4.4

I would like to rebuild it for 4.4 but I did not find sources, and not want to de-compile apk, as very like Timur's work.
[Nexus 7 Android Development] redeyedjedi:
I got that error, but it modded the ROM anyways, and it works! someone in the jacknorris thread also did this mod to stock 4.4 and got other errors, but it still worked. If omnirom guys ever finally get multi window goin on 4.4 then I will prolly do a whole ROM build with it and USB DAC hotplug. but, in the meantime Google did nothing but upset me with kitkat, I just hate phablet UI, such a waste of real estate.

yea smoothrom has gapps.

FWIW, for me, on 4.4.2 test, purityrom released last night........ pwrevntmngr works, and I can access /sysfs and use init.d without issue.
[Nexus 7 Android Development] andrew9292:
I see, what a journey! Nope didnt try and wont try as it's not related to kangaroo kernel... Also I dont have skills that far. :(

There's a specific reason timur made a custom kernel and custom rom and release it together. There is also a reason why he stopped at 4.2.2 i guess. It works better as a whole and we wont see as much problems as what we are facing now.
[Nexus 7 Android Development] redeyedjedi:
once again, clearly others are more into 4.4 than I am. this is probably related to the new SELinux. showp initially added support for SElinux but left it disabled, which I think is proper for 4.3. for 4.4 and up, it is supposed to be enforced but you can leave it disabled, which I did to save resources, and because it is soooooo freakn stupid that you gotta have superuser privileges to access a webcam stream from USB. I'm only speculating here, because I haven't dove into 4.4. I think that I will do some more digging....and when i get a chance I'll update OP with this info...........REALLy GOOD STUFF, but I hate to just pass it on with being responsible and lookin into it first. I will say again tho, I flashed purity ROM released last night, 12/14, and kangallmodules before first boot, and had internet/WiFi without issue.
[Nexus 7 Android Development] andrew9292:
Totally understand. Maybe they wanna keep NSA out from prying into webcam streams or something. IDK man.lol. :p

Also, i have to stress this out and i've updated in the post you quoted. I came from franco kernel r76. There might be something there that caused my wifi problems after flashing back to your kernel, which might be unrelated to your kernel. Usb audio whole damn problem is cuz google aosp nor cm has a proper consistent framework. Thank you for your advice & work so far! :highfive:
[Nexus 7 Android Development] redeyedjedi:
edit: I'm not trying to replace usbrom, this is just a kernel. this is only HALF of what's needed for hotplug DAC.
[Nexus 7 Android Development] andrew9292:
^ Well said!
[Nexus 7 Android Development] Fransis88:
congratulations for the kernel,

I have running on android 4.4.2 with tilapia and works perfect moment.

I downloaded this kernel, since the function "FastCharge" seems essential to me, I downloaded that says "kernel + wifi modules", but I see the option to enable "FastCharge" in any program or trickstermod, or my rom options ...

as active FastCharge? or already are enabled by default?

greetings and thank you very much
[Nexus 7 Android Development] redeyedjedi:
already enabled.......it helps to use a short cable too.

you can also fast charge in otg mode with a y-cable. already set up, no need to change anything for this out of the box.
[Nexus 7 Android Development] Fransis88:
hello, despite the fact that you say that the function "fastfcharge" goes on by default, I must be doing something wrong.

I'm checking with a program like battery voltage gets usb normal cable connected to a PC.

and this kernel will hard-3927mv 3925 and the kernel "oxydo" for example, load 3955mv?? Ideas???

wifi not let me activate it with this kernel.
[Nexus 7 Android Development] redeyedjedi:
WiFi won't turn on because 4.4.2 has init.d issues. unfortunately every kernel has problems with init.d and android 4.4.2. there is a way to fix it if you look through the previous posts in this thread. until a

Google gets these permission bugs worked out 4.4.2 will stay plagued with issues.

actual voltage depends on the strain of your PC..........I highly recommend not charging with a PC via high current.....but if you have an otg y cable it will fast charge up to 1.8amps. I think you may have misunderstood, or I may have mispoke, but it does not do fast charge with a normal USB cable unless it detects high current available. If it does not find high current it automatically limits it to 500ma. PC USB ports don't have high current so this kernel will shut high current charging off. if you plug cable into 1 or more amps of power, it will fast charge.

we still gotta wait for busy box update or Google to fix issues for proper 4.4.2 support, sorry.
[Nexus 7 Android Development] _crue_:
tested USB Audio on kitkat 4.4.2 with Usb Audio Patch works good :)

except one thing, it's not mounted on the boot, could it be fixed?
[Nexus 7 Android Development] redeyedjedi:
I believe it has to be in fixed install mode for that...but post a dmesg if you could. I guess I'm thinking it shouldn't matter but maybe it does. This is nice to hear that it works for someone in 4.4.2. hopefully it gets sorted out for evrryone. one thing....in fixed install mode you need an otg y cable with power attached for the devices to mount on boot because the tablet doesn't use battery to power the otg port when in fixed install mode.
[Nexus 7 Android Development] _crue_:
I know I have OTG Y :) and powered hub.

fixed install works fine (devices powered only from external source)
[Nexus 7 Android Development] redeyedjedi:
this dmesg doesn't show what's going on at boot. It does show your tab doing funny stuff tho........going in and out of lp0 every 30 seconds. you should be in lp0 and stay there until screen comes back on.....but this may be an app that was running. If you can get a dmesg that starts from bootup. I may have to do a build where FI is set by default.

my next build will have WiFi built back in...... and probably interactive governor from Franco kernel. I also found a thread on a Russian forum where they have figured out how to get all the easycap devices to work, even the 5 dollar knockoffs. I'm gonna have a go at building the drivers and see what happens.

if anyone has any devices they want supported let me know I'll look into it.
[Nexus 7 Android Development] dilzo:
Whenever I try to install this it gives me a message about how product name = grouper and product name = tilapia and it just stops. My Nexus is the right model so...
[Nexus 7 Android Development] redeyedjedi:
change your recovery from twrp 2.6.3.1 to 2.6.3.0
[Nexus 7 Android Development] _crue_:
how to enable sweep 2 wake?
[Nexus 7 Android Development] redeyedjedi:
I dont have sweep 2 wake yet. the commit on github is reverted. I plan to add it when I can get it how I want it. oxydo kernel has it, and now has otg+charge too.... so id suggest trying it. im so gonna cherrypick his smartmax gov. eventually.
[Nexus 7 Android Development] _crue_:
oxydo with otg charging is not released yet.

so :) I'm just asking as I actually don't need sweep2wake :) yet.

but oxydo has onboot mount of DAC - this is good feature (as I added services.jar patch) to get DAC works already after boot
[Nexus 7 Android Development] redeyedjedi:
mine will do it too if set to fixed install...but on 4.4.2 init.d has issues. oxydo does have this now and it is set to FI on default so judt use y cable and it should work on his too.
[Nexus 7 Android Development] andrew9292:
Here's a DAC workaround for the jacknorris patch by NetFluke. All credits go to him! Visit his post for relevant files attached :good:

http://xdaforums.com/showthread.php?t=2222374&page=93

Tested with Purity 4.4.2 : 14/12 + Kangaroo 1.1

Works like how he said :highfive:

The next post below mine by _crue_ contains a good automated method. Use that first, failing which mayb try this?
[Nexus 7 Android Development] _crue_:
patcher (jacknorris) also works! with small fix

if you want I could post here fixed one :))))

there nothing special

all what :) there said todo, jacknorris patch doing automatically

I dont finished to decompile services patch code (as smali to java works not paerfect)

later I will post somewhere fixed services to get head phones and usb work well.

I don't know where jacknorris get his smali files for patch

will be good to get sources :) because I'm lazy
[Nexus 7 Android Development] andrew9292:
Thanks for the fixed mod! It will simplify things much

Abt the volume patch, not too sure but there is some info in this post. Hmm.... : http://xdaforums.com/showpost.php?p=48697874&postcount=928

Kangaroo working great at the moment!
[Nexus 7 Android Development] _crue_:
for this better, to ask redeyedjedi, as I don't have (lazy :))))) environment for compiling
[Nexus 7 Android Development] redeyedjedi:
hey....many thanks to both of you. I'll test these and'link in op..... give people easier method for hotplug DAC regardless of ROM. if there is no volume control, that I can fix with a smali edit. I'll prolly do this after I watch my cowboys lose........again. been testing latest build. updated make file shrank it to 3.6mb, so I built WiFi back in....now 3.8mb which is fine! also, built and tested easycap drivers for all the clones, and newer models. can you say backup camera?? it works. new build will be up later today or tomorrow....the init.d issues with 4.4.2 ROMs, I've almost got it figured out, or I shall copy leankernel implementation.
[Nexus 7 Android Development] redeyedjedi:
yes, it has to do with when sysinit is ran, needs to run "on init" and not "on boot". the thing is, its not a kernel problem, its a ROM issue with 4.4.2. I'm trying to figure out how to fix it when installing the kernel, no need for building a whole ROM......I also don't want to use my own ramdisk, just change the one the user already has. I've got a fix, I just need the right implementation.
[Nexus 7 Android Development] _crue_:
userinit is an service and not a script, if I understand init.rc right, services hasother lifecycly.

you could patch ini.rc and add some script that will be run "on init",
[Nexus 7 Android Development] redeyedjedi:
exactly...trying to mimic how showp does it, he patches files in the ramdisk, but even now, if you change governors that way with the aroma installer it causes bootloops. once I fix that, its on.
[Nexus 7 Android Development] _crue_:
use install-recovery.sh for executing your own script

looks like this is only one safe solution

or install-recovery-2.sh - this file created by SuperSU specially for this

Imho
[Nexus 7 Android Development] _crue_:
I've tried dvb-t modules - no success.
[Nexus 7 Android Development] redeyedjedi:
yes.....these drivers support e4000 tuners, and the fc00xx tuners....but not r820t. that line that says "unknown tuner" is talking about what I assume is r820t correct? the good news is, the sdrtouch driver DOES support r820t....so there ARE drivers for that tuner, but I haven't gotten them to build yet. Christmas has me busy....but I do have WiFi built back in, and I've even tested some easycaps, and they are working too. so when I get that build up, updated rtl2832 drivers to support r820t is next on the list. the free version of sdrtouch will work for radio, but for droidtv, I've got to update the drivers first. it will happen, but I have to learn how to back port drivers from newer kernels better than I have. the easycaps are from Linux 3.4, and I've gotten compat wireless drivers to build from Linux 3.8.....but the latest drivers from linuxtv.org are a little harder, and those have the r820t support....but I need to improve my skills, then I need to endurance test them for stability and errors, to keep all releases daily drive able. it is coming.....but you'll have to find an older dvbstick for now. in the U.S. e4000s are harder to find than honest lawyers.
[Nexus 7 Android Development] redeyedjedi:
have a great Christmas everyone.