yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] redeyedjedi:
its more rom work.... that code isnt in oxydo...ill let him know. It is there in mine......thats why I can have DAC on boot and hotplug with usbrom. there is more code in usbrom that needs to be added to this rom. the delay is supposed to be there....to allow internal audio to be primary and DAC as secondary. stock audio drivers allow hotplug with jacknorris code..but break otg+charging. the setup that works would be unique to these kernel drivers..... but I suppose if you dont need otg+charging that any kernel with usb audio and stock audio drivers will work.
[Nexus 7 Android Development] acidspider:
Very quiet in here......coz we have an awesome Rom. :D
[Nexus 7 Android Development] Philosophre:
Not sure if this was discussed, but the text under each icon is cut off in landscape view.

I'm on the latest ROM that I installed yesterday. It is more annoying than anything else, cause I know what icon is what app.

I noticed this about two weeks ago when I first installed this ROM. Hoped updated fixed it, but no.

Edit: Nm. I'll just stop using launcher 3.
[Nexus 7 Android Development] Zeljko1234:
You should occasionally check name of the topic. I silently uploaded new build on Monday. You can expect the same tomorrow ;)

[MENTION=2434366]Philosophre[/MENTION] I haven't noticed that because I really rare use landscape mode. At least is easy to change launcher but CM team should be informed about bug.
[Nexus 7 Android Development] acidspider:
Oops. Thanks
[Nexus 7 Android Development] Zeljko1234:
"For rom with USB DAC support look here." Or exactly here. This is reduced size version.

Maybe I should rearrange my drive and delete some builds.

Today afternoon I will make and upload new build.
[Nexus 7 Android Development] NetFluke:
OTG charging for stock kernel

[MENTION=2559459]Zeljko1234[/MENTION]

Attached is my humble attempt to add Timur's OTG charging and hotplug on boot DAC support to stock CM11 kernel.

[MENTION=535343]all[/MENTION]

WARNING! WARNING! WARNING!

Please do not use these source files in your compilations before they are debugged and tested on my device! Your hardware can be damaged beyond repair!

Some of these files directly affect operations of battery and charger.

[MENTION=2559459]Zeljko1234[/MENTION]

Update: These are new patches for CM11 kernel which passed compiler and are working on my Nexus 7. So far so good. I may attach a compiled boot.img which I'm currently using - just want to test it well first. Original zip was corrupted, so I switched to RAR.

This kernel is pure CM11 with adapted patches fro Timur Merhvartz - all credits go to him.
[Nexus 7 Android Development] Erik1805:
Strange, using this rom for a while but getting random reboots for time to time. Any idea?

Verstuurd vanaf mijn Nexus 7 met Tapatalk
[Nexus 7 Android Development] Zeljko1234:
Do you use stock or custom kernel?

About my activity. Recently I'm really busy in real life. I prepare everything for build, started today before work and unbelievable, power failure happened. According state, about hour or half before is done :D

Edit: I have 1666 thanks. Maybe that could be the reason :D
[Nexus 7 Android Development] Erik1805:
I use a custom kernel.

Verstuurd vanaf mijn Nexus 7 met Tapatalk
[Nexus 7 Android Development] Zeljko1234:
That could be a reason for random reboots. Especially if is overclocked, undervolted, etc.
[Nexus 7 Android Development] Erik1805:
Thanks, will try the stock. I don't overclock.

Verstuurd vanaf mijn GT-I9300 met Tapatalk
[Nexus 7 Android Development] Zeljko1234:
Some kernels are overclocked by default.
[Nexus 7 Android Development] redeyedjedi:
after further research.....I can confirm mkernel has dac on boot and hotplug dac with stock audio drivers. However.....oxydo has the same drivers but also has otg plus charging...and with his kernel I get no output. otg plus charging breaks the stock audio setup.....and if I uncomment the first delayed call to install the dac on my kernel...... it works. but if I unplug then ive got no audio at all until reboot. crue has been working on the usb audio patcher....and he says he has figured out dac on boot as well as dac hotplug with my kernel. Id go check his github to see if you can see anything useful, although those are rom changes...... I havent given up yet on this either...... good progress so far tho.thanks!
[Nexus 7 Android Development] Zeljko1234:
Finally caught some time to make new build. Tested on my device, seams ok, otg works... I don't have dac to test.

This is safe build, for NetFluke I will build in separate environment in VB and build won't be publicly available. As he said, better safe than sorry.
[Nexus 7 Android Development] eddyedwards007:
New to this rom, came from stock kitkat. Installed as per op instructions and is really smooth, fast and stable. The only issue I'm having is real racing 3 force closes, in fact the app won't even open if I use art. Its fine on dalvic. I assume the game is not compatible with art? Doesn't bother me as the rom is superb, just curious as to whether there is anything I can do at my end to make it run with art? Thank you for all your work with this rom. ??
[Nexus 7 Android Development] Zeljko1234:
Funny is that older version (v1.056) of real ricing 3 works with art on my device. I have good habit to make backup of some apps before update. A lot of updates just screw up things or remove features. Google apps are good example.
[Nexus 7 Android Development] eddyedwards007:
Oh OK right, I'll revert back to my back ups then, thanks ?
[Nexus 7 Android Development] NetFluke:
[MENTION=2559459]Zeljko1234[/MENTION]

Here is a CM11 kernel with Timur's OTG charging and DAC patches. A lot of debug work was done to eliminate numerous compiler warnings (unfortunately, many of Linux patches did not yet make it to Android kernel). Also attached is cifs.co module (untested) and compiler log for those who are interested. This kernel is based on 01/21 state of Cyanogen repo. Hopefully it can be a good addition to this great ROM.

There's a bug in this kernel - device will not charge if regular cable with attached power supply is plugged in while in firm sleep. Working on it ...
[Nexus 7 Android Development] Zeljko1234:
Thank you NetFluke! I made new rom build today, but seams to have BT problem. Will check tomorrow, build, test and upload.
[Nexus 7 Android Development] NetFluke:
A lot of people are complaining about 1/23 nightly in Original Dev forum. Your 1/21 looks good - I'm staying on it.
[Nexus 7 Android Development] redeyedjedi:
so how well is it working with the uncommented delayed call for audio? does it work on boot and hotplug?

OK so after some digging I see some of his new source and some of his old. Which of the old drivers did you leave in, just the card.c?
[Nexus 7 Android Development] NetFluke:
[MENTION=4035939]redeyedjedi[/MENTION]

I used Timur's sources mainly from your GIT (many thanks!) and from his repo as well. Still no DAC on boot (not an issue for me), but I might have an idea - Timur also modified android_system_core, maybe this functionality is there...

I still see failing sound probe on boot, but DAC is assigned to correct bus #2.

I'm still investigating.
[Nexus 7 Android Development] acidspider:
Is build for 26th still uploading?
[Nexus 7 Android Development] Zeljko1234:
How did you see new subject already? :)

Will be up soon.
[Nexus 7 Android Development] Zeljko1234:
New build. For the first time I didn't tested, it's up to you :)
[Nexus 7 Android Development] eddyedwards007:
Early days, installed about 30 mins ago over previous version no wipe. Can't honestly say I've noticed any difference but that means it's running lovely, fast and smooth. Love this rom ?
[Nexus 7 Android Development] dvdivx:
You'r kernel rocks. makes otg actually work. keep up the good work and i hope you keep updating it :D
[Nexus 7 Android Development] Zeljko1234:
For rom updates. As you may noticed I'm abroad now but I left my building machine online at home with remote access.
[Nexus 7 Android Development] gialandra:
I'm searching this post for try to work my HRT microstreamer DAC with a Nexus 7 2012. I fresh install the

- cm-11-20140126-zeljko-UNOFFICIAL-grouper

- cm-11-20140113-zeljko-UNOFFICIAL-grouper

only the ROM + Gapps but the music that exit from DAC have a fixed volume and is full, full of glitches.

Who have an idea for try to resolve this problem?

Thank you in advance
[Nexus 7 Android Development] Beakfire:
Can't seem to download it from your google drive? Trying to get the cm-11-20140121-zeljko-UNOFFICIAL-grouper.zip for USB DAC build.

-- Disregard I got it, had to add it to my google drive.
[Nexus 7 Android Development] gialandra:
Even this version, same result, glitches glitches...

For now only Timur USB ROM garants only very few and low volume glitches

Btw thank you
[Nexus 7 Android Development] vovaxxxx:
Zeljko1234, would you add a sub-menu in settings to host support like it was in Timur kernel? I mean to on/off host devices (webcam, usb stick) when you plug/unplug AC and so on?
[Nexus 7 Android Development] bottedumal:
hi

thanks for your rom

I noticed for this build BT is not working. installed 140106 on top of it and it s working good
[Nexus 7 Android Development] eddyedwards007:
BT works fine for me, I use it to tether with my HTC one when I'm away from Wi-Fi
[Nexus 7 Android Development] Zeljko1234:
New build is just uploading. Synced with latest CM11 code and keeping NetFluke (Timur) mod. All thanks go to him.

Currently I'm really busy in real life, even still using 20140118 build :)
[Nexus 7 Android Development] Uzuki:
thank you for this Rom, the dac hotplug really works, just what I needed. it's a pity though that android only able to output 16bit/44kHz. About the Rom itself, working smoothly here, no complains
[Nexus 7 Android Development] rotatorkuf:
for anyone interested

i've had my nexus intalled in my car's dashboard for about a year now, every rom i've tried has been a piece of crap battery/charging wise

i'm not sure what happened with this rom, but the usb/car charging is actually FAST

normally, i'd be lucky to get 1% charge while driving around and having pandora playing

with this rom, the nexus (old 2012 version) charged from 94% to 100% in the span of a song or two.

Love this rom.
[Nexus 7 Android Development] GrandeParade:
Fast charge enabled maybe?
[Nexus 7 Android Development] rotatorkuf:
yeah that's the thing

eveyr other rom i've tried that supposedly had this enabled....apparently didn't
[Nexus 7 Android Development] GrandeParade:
And you haven't changed kernel? Or switch to a OTG - cable?

Skickat från min Nexus 5 via Tapatalk
[Nexus 7 Android Development] rotatorkuf:
i changed kernel maybe 4 months ago, as well as cable

but for this rom (which i just installd 2 days ago) nope

weird?
[Nexus 7 Android Development] GrandeParade:
Yeah. Fast charge should be just a kernel feature, so it should be Rom independent..

Skickat från min Nexus 5 via Tapatalk
[Nexus 7 Android Development] NetFluke:
[MENTION=2559459]Zeljko1234[/MENTION]

And all CM11 kernel builders:

Please find a set of patched CM11 kernel source files. The purpose of this work was to eliminate all (except two minor) compiler warnings, which may lead to undesired code behavior. If you want a clean kernel compilation, just overwrite existing CM11 files with these. Patches are built for today's nightly code spin. Also please read the text file inside - you might find a solution for "head.S" warnings at the end of compilation with 4.8 toolchains. Also, FTDI USB-Serial driver was added to defconfig.

Update: Cleaned CM11 kernel without OTG charging is attached (CM11-clean-no-PTG). One with OTG will appear later today.
[Nexus 7 Android Development] dvdivx:
So the CM11-OTG-kernel-v3.rar file on the OP's site is from 1/24. Is the Rom's kernel different/newer? If so can you post just the updated kernel by itself?
[Nexus 7 Android Development] Zeljko1234:
Just notice that NetFluke update his post with new kernel. I've flashed it already :)
[Nexus 7 Android Development] dvdivx:
Looking forward to the OTG Kernel
[Nexus 7 Android Development] gialandra:
Only for confirm, in the future can I try only the ROMs in "USB DAC builds" Google drive folder to see if the ROM reaches the compatibility with my HRT Microstreamenr (USB DAC)? Is it right?
[Nexus 7 Android Development] NetFluke:
It might be a kernel issue - I did not Timur's driver for E17 DAC. I'll see what I can do...
[Nexus 7 Android Development] redeyedjedi:
What chip amp does this card have?
[Nexus 7 Android Development] gialandra:
Here you can find some specs: http://highresolutiontechnologies.com/microstreamer#prods

Thank you
[Nexus 7 Android Development] redeyedjedi:
I looked through 5 pages about that DAC and not once did they list what chip they are using. That's usually a sign that they don't want to mention what amp it is....... I'd take it apart, identify the amp......and Google it to see how good it is. The fact that it works even with glitches means its not the kernels fault. The device either complies with the universal USB audio driver or it doesn't. The driver works for all other DACs whose PID is listed........so I'd start with ID'ing the chip and google its performance in Linux, NOT windows........we are using a Linux driver, not a windows driver.

It may work perfect in windows but not Ubuntu, and consequently android.

EDIT: was this DAC working for you in usbrom?? If so, you can try my kernel build, kangaroo, it has all of timurs drivers exactly from his source, so it should work if it worked before. I know it has added code for quite a few devices. If it works but you want a clean/normal kernel, i can show netfluke all the files he needs to fork.
[Nexus 7 Android Development] gialandra:
Today I install a fresh copy of USB ROM and the DAC is working with glitches... but I remember it has worked well with this ROM :eek:
[Nexus 7 Android Development] NetFluke:
New OTG kernel

All good things come to those who wait...

Cleaned source files, OTG charging enabled. As for DAC support - if DAC has TAS1020B USB interface chip, it will never work with Android (guaranteed). As for Microstreamer, I believe it has Burr Brown PCM1793 DAC.

Enjoy!
[Nexus 7 Android Development] redeyedjedi:
im thinking his dac is failing....not the drivers. if it workd well in usbrom and now it doesnt in usbrom.....hardware problems. too bad....looks like a sweet little headphone amp.
[Nexus 7 Android Development] gialandra:
I want try this, should I fresh install cm-11-20140204-zeljko-UNOFFICIAL-grouper.zip + this img, right?
[Nexus 7 Android Development] Zeljko1234:
You can just fastboot image or replace image in any cm-11-yyyymmdd-zeljko-UNOFFICIAL-grouper.zip and flash rom (easiest way).

If you fastboot:

adb reboot-bootloader

fastboot flash boot boot.img

fastboot reboot

Remember to download boot.img to folder where are your android tools (adb, fastboot...)
[Nexus 7 Android Development] gialandra:
I have tried in this moment the combination "cm-11-20140204-zeljko-UNOFFICIAL-grouper.zip + this img" but the is always music + high volume glitches :(
[Nexus 7 Android Development] Zeljko1234:
You can try earlier builds. No visible changes or features in latest builds.
[Nexus 7 Android Development] gialandra:
Yes, I will try. have you recommended release?
[Nexus 7 Android Development] Zeljko1234:
I don't have DAC but I think that 20140121 works ok.
[Nexus 7 Android Development] NetFluke:
Another kernel for testing

Agreed, 20140121 is what I use with my DAC - very stable.

Here's another kernel for those adventurous ones (boot image and changed source files attached):

1. Based on Lean Kernel 3.0 and SlimROM sources (https://github.com/SlimRoms/kernel_asus_grouper) Many thanks to SlimROM Team and Imoseyon

2. Optimized for Grouper, MIGHT NOT WORK ON TILAPIA due to several daemons taken out of init.rc.

3. OTG charging works, deep sleep bug (wakeup from LP0) still unresolved

4. OTG storage mount works, GPS & Bluetooth work.

5. Seems to be quite fast.

6. Might be updated later due to SlimROM kernel changes.

Enjoy!
[Nexus 7 Android Development] redeyedjedi:
You should setup a git........ then just have as many branches as you need.

The "deep sleep" bug is a ROM issue....I forgot to tell you this. Flash this cm11 and then purity rom....and try my kernel OR yours......and let tablet go to sleep while charging with a regular m8cro usb cable. RESULTS: cm11 is stuck in lp1 at 102mhz........ while purity rom is in deep sleep lp0. Both wakeup fine but purity charges faster cause of no low power core fired up. I suspect its a bug in cm11......somewhere in the "daydream" code......but its tax season now and I got no time to look into it for now.

There is a patch now tho for dac on boot, dac hotplug, and volume control thanks to crue......so we got that issue solved....... when I got time ill look further for this deep sleep bug........I know it doesnt effect all kernels....but test purity and deep sleep works right.......

Thanks for your efforts......great work.!!
[Nexus 7 Android Development] vovaxxxx:
pgm

ROMbuiders, could you embeed a PGM or Touch control function in your rom? Like this one http://www.youtube.com/watch?v=bZEodCnYv58
[Nexus 7 Android Development] gialandra:
Hi, I have tried

-20140121

-20140121 + lk30-otg.img kernel

-20140121 + CM11-OTG-v4.img kernel

Glitsches are always present :(
[Nexus 7 Android Development] NetFluke:
Does it work properly with PC or MAC?
[Nexus 7 Android Development] gialandra:
Yes, perfectly
[Nexus 7 Android Development] NetFluke:
Can you please try trial of USB Audio Recordef Pro? It bypasses all drivers and talks directly to DAC. If glitches will be still present, it might be hw problem.
[Nexus 7 Android Development] gialandra:
With USB Audio player Pro all is in order, the DAC sounds smoothly
[Nexus 7 Android Development] Zeljko1234:
New build is up. Repo sync, build and upload done remotely from New York to Zagreb using phone (JuiceSSH and teamviewer) :)

BT should be ok.
[Nexus 7 Android Development] NetFluke:
No promises (I do not have such dac to test) but I'll look into the ROM code.
[Nexus 7 Android Development] gialandra:
Thank you man.
[Nexus 7 Android Development] eddyedwards007:
Just to confirm, BT working fine on the latest dac build. I'm away from home at the moment so tethering through my HTC one, on previous build kept force closing. Nice work ?
[Nexus 7 Android Development] redeyedjedi:
Check out Timur's git and look at his support for multichannel DACs. He implements the latest Scala libraries, which are a couple years old but they do work in android. I think there is an app on the play store that will install them.....but they could be built in. I think if this dac ever worked in usbrom, that this is the only difference, the scala libs.

---------- Post added at 10:05 AM ---------- Previous post was at 09:58 AM ----------

Can you do me a favor? Can you try this with your dac?

https://play.google.com/store/apps/details/?id=com.mobilemagic.scalainstaller&hl=en
[Nexus 7 Android Development] gialandra:
Hi, just now I have tried USB ROM with HRT Microstreamer and the result is glitches (I'm confused)

This morning I have asked to HRT CTO about glitches and why the led on DAC have a particular behavior. He answer:

"The mute LED flashing occurs when the Streamer detects that it has received five or more improperly formed data packets in a row. This flashing several times per second indicates that the host is not properly assembling the data payload.

Since this host is running a custom version of Android OS, the USB host stack is not correct and needs additional work. I would recommend using a hardware USB protocol analyzer to investigate what the host is doing incorrectly.

You are welcome to have the individual contact me directly if that would be easier

Happy to assist. Do feel free to pass along my contact information."

The Google Play link now works. What should I do?
[Nexus 7 Android Development] redeyedjedi:
I don't understand, the Google play link NOW works? As in the DAC works? Or did you mean the Google play link does NOT work?

Timur uses a custom usbhost driver...... but it doesn't stray from standard USB protocols.....that's why your dac was working at one point in usbrom. The kernel netfluke builds uses the identical source, as does my kangaroo kernel. The other thing troubling me is that if the usbhost was scrambling data packets.....then there would be other dacs having issues.....but there doesn't seem to be. If you meant to say that the scalalibs are working, then there is a method to build them into the ROM.
[Nexus 7 Android Development] gialandra:
I have tried the linked app (the scalalibs), but the glitches is still present.
[Nexus 7 Android Development] DOCIOHN:
brunch tilapia

[MENTION=2559459]Zeljko1234[/MENTION]

Could you maybe also make a brunch for tilapia when you are back home?

Would be very great:laugh:.
[Nexus 7 Android Development] mrdevil75:
Will updating via cm update spoil anything?

Hi, just to enquire, if i check for any cm updates on my nexus itself, and it displays that there's a new version of it (snapshot m3) will downloading it and updating with it cause any issues?
[Nexus 7 Android Development] NetFluke:
Not a good idea - you will lose all extra functionality and revert to pure CM.
[Nexus 7 Android Development] Vladimir2k9:
wait for new build, i think all new functions from cm it would get
[Nexus 7 Android Development] Zeljko1234:
Which functions are missing in the build made few days ago?

Sent from my DROID RAZR HD
[Nexus 7 Android Development] Erik1805:
Where can I find the latest build? Thanks

Verstuurd vanaf mijn Nexus 7 met Tapatalk
[Nexus 7 Android Development] Zeljko1234:
All builds are available on the link provided in the first post ;)

Sent from my DROID RAZR HD
[Nexus 7 Android Development] Uzuki:
Is it possible that you hrt streamer not getting enough power? How did you connect your dac? Directly via OTG? If yes, try with usb hub that has it's own power source. Here is my setup, nexus7->otg->powered usb hub->stoner acoustic/sabre dac->amp->speaker. My only concern, android audio output only 16bit/44.1kHz, although the kernel support 32/192, my guess, this is only alsa implementation
[Nexus 7 Android Development] gapone:
I have the same problem with my HRT microstreamer and I have tried to give it more power so it isn't that. I'm getting sound full with glitches :(
[Nexus 7 Android Development] gialandra:
After many efforts I have got the USB Audio Player app , 7 euro but now Microstreamer works like a charm
[Nexus 7 Android Development] gapone:
Yes I have been using that program but I want to use stream services so usb audio player is a no go. I just tested the latest usb dac version and v4 kernel and I was getting clean sound. I will test it more and give an update after that...

EDIT: No luck... getting clitches with my hrt microstreamer. Tried with the latest cm11zulko, stock rom and with many kernels.
[Nexus 7 Android Development] mrdevil75:
alright guys, thanks alot for the information! :)
[Nexus 7 Android Development] NetFluke:
New kernel - no deep sleep bug

Here's the new version of OTG-enabled Lean Kernel from SlimROM. Deep sleep bug is resolved here. I will update CM11 kernel in a few days.
[Nexus 7 Android Development] Uzuki:
where did you get a v4 kernel?

Edited: Nevermind, found it, my bad
[Nexus 7 Android Development] Zeljko1234:
Found some time to build new rom. Synced with latest CM repo. All credits for DAC mod as usual goes to NetFluke.
[Nexus 7 Android Development] NetFluke:
New CM11 kernel

Here's new CM11 kernel with OTG charging enabled and deep sleep bug fixed.

Enjoy!
[Nexus 7 Android Development] gandolf007:
tanx

but i cant download your rom !! say error >> Sorry, an error has occurred. Retrying...

reason ? i tested with vpn but problem remains !! pls give me another link

tanx

and learn me how to enable otg support with this rom (step by step) tanx dear friends

best regards

---------- Post added at 10:27 AM ---------- Previous post was at 09:38 AM ----------

tanx

how to flash this kernel !?

is cm11 perfect rom ? bug ?
[Nexus 7 Android Development] eddyedwards007:
Download works fine for me, flash kernel in recovery.