yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] redeyedjedi:
Yes.....ANNOYING! I've looked before...haven't found it yet. For now...I unchecked the mtp and camera boxes on my phone under 》settings 》 storage 》 USB computer connection

this bugs me too. Maybe we can use a different gallery.apk

---------- Post added at 11:03 AM ---------- Previous post was at 11:01 AM ----------

Yes...it should work. I've never been able to set up a good sound eq. Does viper really help? Share your settings please if you use it.
[Nexus 7 Android Development] dashu42332:
Currently i don't have the viper config in N7.Because n7 under repair.but i also old Samsung S2 phone in which i config-ed viper(which is attaching.Hoping it will help). User can tweak config there own desired sound setting(as output required by user to user different)

Thank you again,
[Nexus 7 Android Development] big_lilo:
any chance this rom will be available for the nexus 7 2013 (flo)???? :D looks amazing man
[Nexus 7 Android Development] Iceman_jkh:
As I understand it, the Samsung Galaxy series phones had quite high quality audio DACs. This allowed apps such add viper, boeffla and supercurio's voodoo to unlock the very high sound quality options.

Unfortunately, Nexus 7 2012 includes a vastly INFERIOR DAC resulting in very poor sound quality from the headphone jack and no way to improve it, except for using an external USB DAC. This is why Android car ROMs for Nexus 7 include the USB DAC hotplug code.

---------- Post added at 10:32 AM ---------- Previous post was at 10:23 AM ----------

I've noticed the USB storage handling is quite advanced (notifications, detection, etc). ?

Is it possible to send an event/trigger to Tasker (or modify a Tasker variable) once mounting has completed? I was to use this trigger to tell Gonemad music player to rescan for music.
[Nexus 7 Android Development] gregthomas129:
I think there is actually a media rescan task in Tasker, unless you are specifically wanting gone mad to scan for new music.
[Nexus 7 Android Development] Iceman_jkh:
Yes, specifically GMMP. Gonemad has a specific intent for rescanning the music directories. I don't believe tasker's rescan affects GMMP's media library awareness.

I want to make sure the trigger only occurs when the USB drive mounts correctly.

---------- Post added at 01:19 PM ---------- Previous post was at 12:42 PM ----------

Is the any way to manually trigger a USB storage rescan/remount?

Currently I reboot to remount.
[Nexus 7 Android Development] gregthomas129:
In Tasker? Yes.

Edit... Hmmm, maybe not... ill have to check the tablet in my car and see if i can access my flash drive from Tasker.
[Nexus 7 Android Development] Iceman_jkh:
Thanks for checking. I've not been successful.
[Nexus 7 Android Development] rotatorkuf:
i don't even know if i installed the right one

build says autodroid 1.2

but looks nothing like the picture in the OP

lol, at least, i don't see any media buttons on the bottom
[Nexus 7 Android Development] redeyedjedi:
You add the buttons. Can choose which ones you want....up to ten....very slick!
[Nexus 7 Android Development] Iceman_jkh:
Another quick question about the USB DAC... is there a way to manually invoke/remount the USB DAC?

Occasionally, the DAC isn't detected at boot up, and this results in a large amount of line noise from my amps. This is resolveable by unplugging then replugging the DAC. Unfortunately this isn't practicable, as my DAC is installed in the dash, behind my tablet.
[Nexus 7 Android Development] redeyedjedi:
For now...there is no way to do this manually as it happens in the kernel, although, turning your key off and on briefly (long enough to sleep the tablet) will result in a remounting of ALL USB hardware. Android L may change this.

it may be possible to build snd_usb_audio as a kernel module. Then an rmmod/insmod may work.
[Nexus 7 Android Development] gregthomas129:
Try this app https://play.google.com/store/apps/details?id=hu.sztupy.android.usbhostcontroller

You can reset the dac from it. Might work.
[Nexus 7 Android Development] -=Jeff=-:
This looks good.. I might give it a shot on my nexus 7..

I know on Timurs Rom, with the USB DAC there is the limitation of not adding an external microphone, is that the same with this ROM? not a big deal to me, but just curious

THANKS
[Nexus 7 Android Development] gregthomas129:
The only way I've been able to get any ext. mic to work with my dac is with AOKP rom and timurs kernel. It must have something to do with how the driver is loaded for the dac, cause I use noozy music player which recognizes certain dacs and it wouldn't recognize mine in AOKP but the mic worked and music still played through it. Everything else noozy sees my behringer uca202 but mic doesn't work.
[Nexus 7 Android Development] -=Jeff=-:
That is what I expected.. not a big deal..

So now I need to ask the best way to install it and what else will I need for the install?

been a while since I installed a ROM on my Nexus 7
[Nexus 7 Android Development] gregthomas129:
Is it rooted? Custom recovery? If not, everything you need is in the wugfresh toolkit. Do a Google search for it... then you flash it with the custom recovery. Recommend twrp custom recovery.
[Nexus 7 Android Development] -=Jeff=-:
Yes it is rooted with a custom recovery (CWM) I could not get TWRP to work when I installed TIMUR's ROM ( I later found out that TWRP v2.5.0 would have worked for me)

SO if I remove the tablet from the car, I can connect to my PC.. Back-up the current settings on the ROM with WUGFRESH then Flash the new stuff as well from Wugfresh.

Will I need to add Gapps when I install Autodroid zip?
[Nexus 7 Android Development] gregthomas129:
Nope if your already rooted and have custom recovery you won't need wugfresh. Just download autodroid to your tablet, go into recovery, make a backup and then flash autodroid. You will need gapps, I use pa-gapps modular mini-4.4.2
[Nexus 7 Android Development] papinist:
you said you use pa-gapps, but in first post OP said they didn't work and to use slim gapps

which should we use?
[Nexus 7 Android Development] gregthomas129:
Hmmm let me double check. Pretty sure pa is what I used.
[Nexus 7 Android Development] michiil:
pa gapps are fine as long as you are on ext4. with f2fs you need to use slim gapps (:
[Nexus 7 Android Development] -=Jeff=-:
I don't see any mention of GAPPS in the first post.. what am I missing?
[Nexus 7 Android Development] gregthomas129:
PA gapp is what I use. I haven't switched to f2fs... still on ext4. Works fine for me.
[Nexus 7 Android Development] papinist:
do this f2fs really boost performance? I planning to switch from usbrom to autodroid so at this moment I can format everything without problems!
[Nexus 7 Android Development] dvdivx:
I just use bank's minimal gapps. I'd rather just download everything else via the playstore. Just waiting to see what's in the update when it happens. So far I'm very impressed by how the external HDDs work. Even though the patch came from Omni, Omni roms don't/can't mount external HDDs.
[Nexus 7 Android Development] redeyedjedi:
yes, it actually does... for me I see it when I sideload apps. The install time is noticeably faster. xbmc takes 20 seconds sometimes for me to install on ext4. on f2fs this time is reduced to less than 7 every time ive tried. If you use multirom, see for yourself. same rom, different file systems, repeatable results: the f2fs is way faster. I never cared for benchmarks but real results have me sold.
[Nexus 7 Android Development] RoNeReR:
anyone try use usb audio player pro?

i install the trail version

and when i try to play something i get this error

no usb audio device found: enable the option 'play through android'

in the preferences if you want to play without DAC attached.

i have sabre u2 dac, that work great in other players.

i use f2fs autodroid v1.2

diagram

Nexus7 > Yotg cable > dlink dub h7(powerd hub) > sabre u2 > jbl ms8 >amp > speakers.

i try to contact the app support but them cant help me, and i really want to test if u hear any diffrents with this way and flac files.
[Nexus 7 Android Development] redeyedjedi:
this will be hard to do. Your Sound card is going to become the system sound card once it is plugged in....making it unavailable for that app. You would need a rom without dac support to use that app.

It is possible for playback of 48000 flac files using a sox binary. If I was a better app builder I would show you. That app will work how you think and it uses open source tools to do it.

If you are not afraid of terminal commands...you can grab the Sox binary from here:

https://github.com/guardianproject/android-ffmpeg-java/tree/master/res/raw

and push it to /system/xbin

Then give it permissions rwxrxrx.

Now Google "Sox commands" and use terminal to test.
[Nexus 7 Android Development] RoNeReR:
there is some user in car audio system (lanosforce) that try this rom in ext4 filesystem.

he confrim that usb audio player pro work in autodroid 1.2 ext4.

this is the trail app

http://www.extreamsd.com/downloads/USBAudioPlayerPROTrial_1.3.2.apk

i hope someone can test it and help

lanosforce comeback to usbrom, he say that the audio is little popping cracking every min. he use mortplayer and also try poweramp. he wrote that in usb audio player pro, there are no lags or poping or cracking in sound.

he use hifimediy sabre + audison bit one. (optical out)
[Nexus 7 Android Development] papinist:
I downloaded the latest TWRP (2.7.1.0) but can't find the option to format in F2FS, only ext2/3/4 and FAT file system. It does not rotate in landscape mode, too. Should I use some modified twrp version?

In 2.7.1.0 changelog is reported the f2fs support..
[Nexus 7 Android Development] RoNeReR:
rotate option only in multirom (moded version of twrp)
[Nexus 7 Android Development] papinist:
ok thanks, no problem using it in portrait, but the f2fs option? doing a small search I have found some threads regarding modified twrp recovery, but here in first post OP refers simply to 'latest version of twrp'. I am trying to not having problems..!

Also I downloaded gapps mini and normal version from slimrom website.. I hope it is the correct version (I also found a slimrom f2fs modified rom). Maybe it's better to link in first post every needed component like recovery and gapps, so to be sure everyone gets the correct versions (primarily the newbie like me :D )
[Nexus 7 Android Development] -=Jeff=-:
One thing I did not see mentioned is if the FTDI Drivers are in the kernel.. one of the apps I use is the the HDTuner radio app made by tuff bob.. (b0bD on roozwiki) apparently it uses the drivers that are int he kernel on Timur's ROM.. that is my only FM tuner as I have not found a great SDR car friendly interface yet.. If there is one I would be interested in it
[Nexus 7 Android Development] Kuchar09:
You the man!!! I'll try and update tonight and test it out. Can't wait to add volume options to the navbar, didn't even know I could add buttons to the navbar :P
[Nexus 7 Android Development] michiil:
I hope it works (: i cant test it myself as you know.. But i did my best (:
[Nexus 7 Android Development] djtiko:
I tried test 2 but it wouldnt flash.

TWRP just said flash failed and gave me no error message.

Anyone else have this problem?

update: just tried test 1 and it flashes fine
[Nexus 7 Android Development] michiil:
Thanks for the feedback (:
[Nexus 7 Android Development] djtiko:
totally forgot there is no more tablet ui with kitkat :(

is there anyway to get it back or at least a way to get my navigation bar and notification bar merged into 1? Maybe a launcher or something?

Otherwise I may go back to Timurs Rom:(

otherwise than that your test 1 seems to be running fine:)
[Nexus 7 Android Development] michiil:
I dont think that there is a way..
[Nexus 7 Android Development] redeyedjedi:
In response to attacks from Apple about fragmentation....Google removed the tabletui and replaced it with a unified interface for phones and tablets. Of course the devices are different and of course an iPad looks like an oversized dorky phone... but Google doesn't listen to customers.....it reacts to apple and Samsung.

You don't have to go all the way back to the insecure 4.2 jellybean. You can have tabletui with any 4.3 jb rom and USB dac.

My kangaroo kernel was run through the paces and is quite stable. Oxydo kernel is even still being developed....and is very good.

Bobd. ...... his xda name is tuff Bob, just released an exposed module for USB dac on any 4.2-4.4 rom. I haven't tried it, but his HD Radio app was excellent and his new module is confirmed working.

1. Pick any jb rom

2. Kangaroo or oxydo

3. Tuff Bob dac module

4. Crue's pwr manager app

For kit kat this OP's rom should be good.....slim Kat is a great base.
[Nexus 7 Android Development] joneidy:
I was wondering if anyone was experiencing a weird issue like I am. I noticed that when using Oxydo kernel, this ROM, and OTG Y cable; the tablet charges only if I plug and unplug it several times. For example, if it is charging and I unplug the power cord from the wall the tablet will not charge until I unplug the cable on the tablet's end as well. I'm not completely sure if I have a bad cable, or just a bad charging port. Thanks for reading this long reply. Oh and btw this ROM is extremely stable, really good.
[Nexus 7 Android Development] Rage2:
oops...Updated Power Event Manager 12th February 2014

http://xdaforums.com/showpost.php?p=50265682&postcount=411
[Nexus 7 Android Development] michiil:
Thanks for the feedback (: i am going to do a new build as soon as i get home. I am on vacation in turkey right now.

That sounds wierd. Will try if i can reproduce when my nexus 7 is up and running again.

Thanks for the tipp i will update the op(:

Peace

Edit:

Found out why test 2 wasnt booting (:

Doing a clean build right now (:
[Nexus 7 Android Development] RoNeReR:
hello

i have nexus 7 3g.

can i use this rom with 3g function on?!

and someone use this rom on car (built in)

i use now usb-rom and its work great but i want to test something else..
[Nexus 7 Android Development] michiil:
This build if for the wifi version only! I will try doing a 3g build (:
[Nexus 7 Android Development] redeyedjedi:
I just tried your builds. The ext4 version works great..... but the f2fs versions will not install..... something about updater binary not working.

I really want to check it out.....I'll be updating my kernel to support f2fs as well.

one more thing......do you know how to cherry pick git hub? I'd like you to pull in the wake lock blocker code from my git....I can help if you want.
[Nexus 7 Android Development] mcdull:
All test2 build failed.
[Nexus 7 Android Development] michiil:
Yes i know i am able to try out the builds since my nexus 7 is up and running again (:

i will exchange the update script in upcoming f2fs builds. it just has ben a really busy week but expect updates pretty soon.

and yes i know how to cherry pick from github i will have a look at the wakelock blocker (:

peace
[Nexus 7 Android Development] redeyedjedi:
Awesome.....my kernel update should be ready in a day or two. If you can get the wake lock blocker and some volume buttons on the navbar then this will be one sweet ass rom. I was thinking that the kit Kat navbar frameworks only support five middle buttons and the menu buttons on the sides.....but if we had ten in the middle then car installs would be very convenient. Let me know if you have any questions.....I've got another nexus 7 now too.

Not exactly sure what time it is in Austria right now :)
[Nexus 7 Android Development] michiil:
This is not dead i am worming daily the few hours i have to get the volume keys to work.. I hope to be able to give you a new working build soon (:

But its not easy with a job and a girlfriend to find time to sit in front of the pc ..
[Nexus 7 Android Development] Iceman_jkh:
Looks great Michiil!

Subbed :)

Regarding the Navbar on/off variants of your ROM, I noticed that Ultimate Nav Dynamic Navbar is currently on sale (https://play.google.com/store/apps/details?id=com.mrbimc.udn&hl=en) and might help those users who want the option to customise their navbar or use the standard ROM and toggle the nav bar on/off.

I'm looking into it now.. but more interested in your next version of this ROM. :)
[Nexus 7 Android Development] michiil:
its statusbar off/on not navbar (:

Uploading a build right now with working volume keys in the navbar (you need to add a new button).

currently the keys switch in landscape mode thats because the volume keys do switch in ladscape mode. i am still working on this but i thought i share this one with you (:
[Nexus 7 Android Development] redeyedjedi:
If that latest build is f2fs it isn't booting. Is it ext4?

I'll send you those links you asked for in a few minutes.

edit: boots right up as ext4. ..... and it's very nice all those buttons on the navbar! !!!! I've got some spiffy volume icons for you and the wake lock blocker commit....just need a few minutes. Excellent work!!
[Nexus 7 Android Development] redeyedjedi:
Yes....they are there. The cp210x and pl2303 drivers are also there as kernel objects.

you CAN use tuff Bob HD Radio app with this...as well as any arduinos or other serial device.

this rom supports a vastly substantially larger amount of hardware than usbrom and with newer drivers.

The rtl2832 drivers also support sdr and r820t tuners. This is the only rom with that. Except for kangarom. ..rip.

did you make your cable or buy it???
[Nexus 7 Android Development] -=Jeff=-:
Cool..

I bought the HD Tuner cable, but I need a second for bench testing.. I would like to build one, but cannot seem to find the info anymore.. so I may end up buy a second one

My only negative to using HD Tuner is the audio is passed through the monitor out of the USB DAC on Timur's Rom, I am guessing the same on this ROM, I was really hoping I could control volume and such of the audio from the tablet.. If I can find away to do that I would be leaning towards leaving the tablet in the car as I have debated on swapping back to my App Radio with an Android Stick
[Nexus 7 Android Development] redeyedjedi:
So you have to adjust the volume on the tuner itself? I guess the app itself would have to do that. That tuff Bob guy has a git hub. ..he originally made the grab focus app which is the basis for power event manager and he shared it. He may be willing to share his source for the HD Radio app too.
[Nexus 7 Android Development] -=Jeff=-:
Yeah I was curious if he would but have had limited success contacting him.. I have yet to Pm him here which I may do.. I have replied to his thread on rootzwiki, then another built a different version who also has not posted again..

At first all I wanted was more than 5 presets ont he HDTuner.. if I was able to get his source I would need to find someone that understood the language for programming.. I do graphical programming for a living and I am having a tough time trying to learn the text base stuff
[Nexus 7 Android Development] redeyedjedi:
Hahaha.....I can handle this stuff...but I'm having good trouble with easycap graphics. I've got the latest drivers from Linux TV git built and working. I have the latest ffmpeg and libav built and working....WITH libsdl. But I cannot figure out how to apply a simple deinterlace filter to smooth out the video, even tho I've done it on Linux and it works...I cannot get android to cooperate. I need a jni and video guru.
[Nexus 7 Android Development] -=Jeff=-:
Okay. I used CWM to install USB-ROM. To install this room, I can back up what I have and use CWM to install this room without issues? Then reinstall everything?

Might get to it this weekend.. I want to use the tablet since I am taking this car to a car show Saturday
[Nexus 7 Android Development] Iceman_jkh:
I've mentioned this before,... occasionally my USB hdd or DAC isn't recognised at wake up. This causes all sorts of issues and can only be remedied by resetting the nexus 7. (I've tried replugging those devices, plugging them after wake up only, plugging them 5 secs before wake up... but nothing guaranteed prevention of the devices not being detected on wake).

Could we please have a way to refresh /remount USB devices after wake up? Perhaps x seconds after wake (configured in settings) or a terminal command that can be run by Tasker?

Thanks, that would really help us folks who permanently install their device indash.
[Nexus 7 Android Development] gregthomas129:
I've seen power supplies cause this, not enough current supplied.
[Nexus 7 Android Development] Iceman_jkh:
Noted, but I've actually got the same PSU that I had great results with previously on Timur ROM.

It's actually a 220w car-PC PSU, so it's totally overkill (but leftover from when I built an actual car-PC).

(It's a DSATX 220w, if ur interested.)

The USB hub (and devices) is on a 5v rail. And the nexus 7 on a relay switched tap off of that same 5v rail. No grounding /power issues.
[Nexus 7 Android Development] gregthomas129:
Yeah... that's not causing it lol!
[Nexus 7 Android Development] papinist:
any help?
[Nexus 7 Android Development] redeyedjedi:
everytime you turn key off and back on, and the tablet gets restored power, a remounting of all usb devices occurs. I will see about a terminal command... but if you could post a dmesg and logcat the next time it happens, that would help a great deal. It would seem that sometimes you are not getting power in time. Not that the psu cannot handle it, but is it ready fast enough for the tablet all the time? in other words, does your usb hub get power fast enough to react to the tablet getting power. does your setup use just one usb power connection, or two: one for hub and one for tablet? I have no idea if kitkat trys to mount usb devices in a different order than jellybean, this is where a dmesg would help a lot.

---------- Post added at 02:03 PM ---------- Previous post was at 01:57 PM ----------

go to >wipe >advanced wipe

check System, press "repair or change filesystem" > change file system > f2fs

do the same for cache and data

If the option for f2fs isnt there, then that recovery doesnt support it

get the latest multirom recovery, it for sure has it, and it has landscape mode option
[Nexus 7 Android Development] papinist:
I tried with the latest TWRP (2.7.1.0) as stated in first post, but f2fs option isn't there.

I'll try with the multirom recovery, thanks!
[Nexus 7 Android Development] Iceman_jkh:
Interesting. OK then.

I've actually installed a delay switch, so the hub goes online ~ 2 seconds before the nexus is powered. Might not be enough. I'll increase the delay to test ur theory.

I've got android tuner. That captures kernel and system logs (AT says it does logcat) ... is that the same as dmesg output you wanted?
[Nexus 7 Android Development] dakjones:
Screen diming and power event manager crashing

After a few minutes of power on my screen is diming and power event manager has been randomly crashing. Any thoughts or advice on this?
[Nexus 7 Android Development] papinist:
ok I broke something :-/

now recovery is in bootloop, every recovery I tried (multirom, allf2fs, official twrp)

I tried reflashing with stock 4.4.4 with wugfresh toolkit but get some errors during flash (something like "flashing boot: error - invalid state")

I can only boot in fastboot (hopefully!)

edit: I tried flashing again twrp-allf2fs and now it boots, and have the red arrow in lower right.

I am trying to follow instructions on allf2fs thread, I'll report if all will works!

edit2: no way. I successfully format all partitions but when flashing rom I got errors every time:

unable to mount /cache

..

unsupported partition layout found

no changes were done to the device, exiting.

edite3: after another manual wipe of /cache, flashing rom is successful!

thanks :)
[Nexus 7 Android Development] droid_1989:
Anyone know if casting to chromecast works?
[Nexus 7 Android Development] _crue_:
this is not a ROM feature, :)

if app that is used for music/video supports casting to chromecast it will works :)
[Nexus 7 Android Development] michiil:
i will push a update today to get on the latest slim sources. dont expect much more changes (: