yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) General] darkmage1991:
ok for those that pm'd me: these are the changes i did to build.prop:

add these lines-

pm.sleep_mode=1

ro.ril.disable.power.collapse=1

in tasker i did this

when tablet loses power - airplane mode on/kill music player/kill tomtom gps/brightnes 5

when tablet has power - airplane off/run app music player/run tomtom app/brightness 255

in development option in settings i set tablet to keep the screen on when charging

in lockscreen settings i set screen security to "none" and turn all screenlock widgets off (had to turn these off as cyanogenmods weather was taking some battery)

and in performance i set max cpu speed at 1ghz (did this so while screen is on and listening to music there's no chance of cpu overheating)

in adb i ran this command fastboot oem-off-mode charge 0 to force the tablet to power off if under power, just to be sure that if the tablet does freeze of something that it will power itself on.

other than those tweaks i used cm11 latest nightly and elementalx latest kernel, these settings allowed me to get very very little battery drop overnight.

with these settings i was able to get 18hours and only 1-2% battery drop and otg+charge works just fine with my dac plugged in. i will do a longer battery test here in the next few days to see what the battery drop is over like 2-3 days. sure beats giving 40$ to some greedy **** thats trying to sell a modified free licensed product :D
[Nexus 7 (2013) General] stamatis:
No, not here, not in any other thread within xda forum. The thread was closed for a reason.

I have cleaned the thread from direct links to the kernel and pages about it. From now on, if you post something like this you will be held responsible. That's a warning.

Right now, I see a nice discussion going on and we'd hate to close the thread, but if the discussion moves towards the said kernel then we will.

Thanks.
[Nexus 7 (2013) General] RedDragonsFool:
I wish I would have waited another week or so to pay him for his kernel, while it works Ive been doing a lot more reading this week and I am seeing I could have easily done those steps myself, kind of kicking myself now but oh well.

I have been lurking for awhile now, I installed my N7 2013 back in jan/feb, I broke the screen a week ago when I had it out to change some stuff on it and ended up getting it swapped out and upgraded (for free) to the LTE version (yay no more tethering!). So here is my setup.

2010 Scion xB

Nexus 7 2013 4g LTE- added on my phone plan with shared data, Rooted, stock 4.2.2, TWRP, TIMUR kernel & 64gb external usb loaded with nothing but beautiful FLAC

Kenwood KDC-BT955HD as a source unit mounted behind the dash, has front (for N7) aux in, front (not connected) and rear usb (rear is running to ipod connector in center console), siriusxm v200 sat module, controlled by Axxess aswc-1, 4v rca preouts which run through

IX1000.5 Kicker 5ch amp

Pioneer TS-D components in the front doors

Kenwood KFC-P709PS component (no tweeter installed) for mids in my back doors

Kicker CompRT8- 8" woofer to go under my passnger seat, still have yet to get around to building the box

I have a usb hub wired in but currently is not connected as I am only running the 1 flash drive for the time being.

I am still pretty new to modifying android systems and I am not the most computer savvy so this is kind of a crash course for me, I did car audio install professionally for 8 years until last feb. My new job has me using Linux based systems a lot so I am becoming more framiliar with using it and it has helped with my understanding of what is going on with my tablet.

I am hoping to find some time this weekend to get some tasker mods running to hammer out some of these minor glitches I am having and I look forward to posting more in here and will probably have some questions regarding tasker if I can not figure it out.

I am also more than happy to answer any audio/12v system questions you guys may have, I notice many of you mention having problems with ground loop noise, this generally stems from having a crappy ground in your car, using the ground from your stereo or cigarette lighter may cause this. An excellent ground point in most vehicles is the driver/passenger kick panels or you could (ideally) get a DMM and measure the amount of resistance from your potential ground point to your batteries negative terminal to find an ideal spot to tap your ground.

Once I reach my 10 posts Ill link to some pictures of my install or post them here.
[Nexus 7 (2013) General] miketunes:
What music player do you use? Do use tasker to pause and close it when power down? I use poweramp and when playing from my USB drive if I don't pause and close poweramp first, it won't keep the song position when I open it back up.
[Nexus 7 (2013) General] bossman137:
On a more related note, i've been having issues (living in utah) with my tablet shutting down while i go in to work. I assume it's due to the heat. I didn't even think of the emergency shut off mechanism in these mobile devices and a hot hot car. Has anyone else had this issue.
[Nexus 7 (2013) General] charliekwin:
I've tried Google Play Music, Doubletwist and Poweramp and none of them worked nicely with files played off a flash drive after losing power. So far, Rocket Player is the only one I've used that will keep the song position after it turns back on, though it only works maybe 90% of the time. I'm still working on it, but try that one.

Heat is an issue. Even with the windows cracked, mine will shut down after a couple hours when parked in the sun on a hot (95+) day if I don't put up a sunshade or throw a white gym towel on the dash. I made a point to redirect some of the AC flow when I did the installation, so I have no problems when the car's running. You might look to do something similar if that's a problem for you.
[Nexus 7 (2013) General] anti.commander:
I thought about redirecting some air flow from the vents to cool off the tablet, but then I thought I would have heat issues once winter comes and I'm blasting the heater instead of the AC.
[Nexus 7 (2013) General] charliekwin:
I think the shutdown temp is at or around 140F. Unless you like it *really* hot, you should be okay :)
[Nexus 7 (2013) General] RedDragonsFool:
I use power amp and I don't have an issue with resuming it just takes a minute or two to load so long as I don't touch it I'm fine. I have remote start so that is not usually an issue. As far as pausing I figured that out today. If you wouldn't mind how would I do the script? I'm a complete noob.

---------- Post added at 10:45 AM ---------- Previous post was at 10:30 AM ----------

I live in the desert and have a fixed install,I've yet to have an issue with shutdown and we have been averaging 105*, it will get hotter too. If I have issues I will post up.
[Nexus 7 (2013) General] miketunes:
So you can keep poweramp open playing from a USB drive - send it to deep sleep and it resumes playing after a minute or two? A minute or two sounds really slow to resume. Mine takes about 10 seconds with Stickmount.
[Nexus 7 (2013) General] deadgiveaway:
Just a heads up for ppl that wanna measure the charge current goint to the in dash

There are a couple apps but i use current widget on playstore

This helped me find the best cable combination and not 1% drop all day with timurs kernel and everything running ...

Hope it helps
[Nexus 7 (2013) General] papinist:
[MENTION=5823753]deadgiveaway[/MENTION]: the widget you suggested seems great, but... not compatible with nexus 7??

https://play.google.com/store/apps/details?id=com.manor.currentwidget
[Nexus 7 (2013) General] RedDragonsFool:
A minute or 2 if I have to do a full library rescan. Maybe 10-20 sec if it all boots correctly. I think I may have figured out an issue tonight on my way into work (I work 3rd shift), it looks like for some reason the music folder instead being on the main directory of the drive is getting put into a folder titled (iirc) /sdb1/music/

It was like this previously, I changed it and now today it is back in the same spot.

In regard to the shutdown issue after a few drinks this morning and a little time to actually focus on it (wife and kids left the house) I figured out how to create some tasks.

I created 1 which pauses poweramp upon removal of external power followed by closing poweramp, not sure if closing power amp was necessary or not. The next upon power application it opens power amp.

I also created 2 time based brightness adjustments for day and night 6am-8pm full bright and 8:01-5:59 full dim.

The last I have not fully tested yet but my garage door opener has an app and upon seeing my home wifi network it is supposed to open the app, not sure if I am going to keep that one as sometimes it takes up to 30sec for the signal to get to the opener.
[Nexus 7 (2013) General] deadgiveaway:
Works for me..... at least enuf to get a reading on what charger supplies more current ...

I had a usb extension that was bringing my reading down to - 100 ma

Now im getting 4-500 ma at medium brightness ...
[Nexus 7 (2013) General] papinist:
But are you using that on nexus 7 or on another device?
[Nexus 7 (2013) General] deadgiveaway:
Nexus 7 flo timurs kernel
[Nexus 7 (2013) General] flyboy1100:
Anyone want to share their tasker profiles?
[Nexus 7 (2013) General] darkmage1991:
ok i said i would update with my new battery drain over 2 days using the tweaks done to cm11. i ended up getting 5% drop over 48hours if that's so then without a charge it would take roughly 40 days to go dead. that's plenty for me :D i doubt i would ever go longer than even 3 days. so yea save your $40 and don't give your money to scammers.

http://i798.photobucket.com/albums/yy266/darkmage1991/Screenshot_2014-07-10-18-40-25_zps10edf119.png

http://i798.photobucket.com/albums/yy266/darkmage1991/Screenshot_2014-07-10-18-40-35_zpsf40dd0fb.png

http://i798.photobucket.com/albums/yy266/darkmage1991/Screenshot_2014-07-10-18-40-47_zpsa8948b34.png

according to the last picture theres absolutly nothing draining the battery except the system sleeping :) doesnt get much better than that, thanks to elementalx kernel/cm11 and tasker this was achieved
[Nexus 7 (2013) General] RedDragonsFool:
I don't have mine in front of me but I would be glad to share them when I get a chance this weekend. I plan on working on the setup a little more and probably cleaning up the install a little bit as I changed some stuff recently and just kinda threw it in as quick as I could.
[Nexus 7 (2013) General] charliekwin:
The one thing the Kernel That Shall Not Be Named did for me that I couldn't make work on my own was proper USB DAC support. With CM11+EX I would lose the DAC in deep sleep and would have to unplug and replug it into the tablet in order for it to be recognized again -- obviously not a workable proposition with a fixed install. This was a few months ago, so maybe support is better now. But yeah, if you're just using the headphone output, Tasker can handle the majority of the power management for you. (And Android L will have proper USB audio, so hooray for that!)
[Nexus 7 (2013) General] lowpost99:
Why is this R angle left adapter make noise?

I am using this adapter:http://www.amazon.com/gp/product/B001EJHH20/ref=oh_details_o00_s00_i00?ie=UTF8&psc=1 It's a right-angle left micro-male to female. when I plug the male end of my OTG y cable into this with +-12V on the the OTG y side, I hear an annoying buzzing in the system. Is it because the cables are pinned wrong or poorly sheilded? Why is this specifically for Motorola?

If there is a problem with this part, what can I use to right- angle left from the usb port and pass-through OTG simultaneous features quick charge, USB mounts to my OTG Y cable?
[Nexus 7 (2013) General] darkmage1991:
hmm i havnt had any issues with my dac in cm11+elemental but then again different dacs could have different issues. i use a turtle beach micro II and it seems fine. all except every 20-30 songs i get to one that seems to make every vocal sound like a chipmonk. its pretty funny to listen to the first few times but after that its kinda annoying as you must press back and then go forward to listen to the song the correct way. but o well.

and yea im super excited for android L :D gotta love having a nexus device as we always get it 6-7 months before everyone else :)
[Nexus 7 (2013) General] flyboy1100:
I didn't know that about L, gonna have to research
[Nexus 7 (2013) General] miketunes:
fast-charge not working?

What's the best way to measure how much current the tablet is drawing? I'm testing with gsam battery monitor and it seems to be drawing 100-300 mA. I'm using a "certain" kernel that should allow fast-charging. I've tried 2-3 different chargers and cables. Shouldn't I be getting closer to 700-800 mA? Is there something that give me a charging history?
[Nexus 7 (2013) General] deadgiveaway:
Are you using an otg setup ?
[Nexus 7 (2013) General] flyboy1100:
I had I build my own otg with larger power wires to get fast charging to work. I tried 3 premade with your results
[Nexus 7 (2013) General] miketunes:
Yes.

Are there detailed instructions somewhere? I know very little about making my own, it's been years since I've attempted any soldering. Here's my temporary workbench setup:

https://www.dropbox.com/s/v0lwsi8cfydzdmk/20140703_114328.jpg

5V USB is coming from the top, If I instead us a 5v dc-dc power supply, could I wire that directly into the USB breakout board on the left w/ a 100k resistor?

Then replace the OTG Y cable with this one, or do I need to make that from scratch too? http://www.amazon.com/LIFETIME-WARRANTY-Electronics-Micro-Cable/dp/B005GGBYJ4/ref=cm_cd_al_qh_dp_t

I know cable length also matters - would that just be from the power to the tablet, or also the length of the USB cable going to the hub?
[Nexus 7 (2013) General] deadgiveaway:
What power level are you getting that reading at ... The ma draw will differ depending on full battery or low battery .....

I also modified my y charge cable to 20 gauge wire for the ground and power cables and that seemed to help alot ...when i did this it was scary how thin and non copper the power wires were , i couldnt even strip the wire without cutting it ....so i used a lighter to melt down the rubber ...
[Nexus 7 (2013) General] studley:
I've tried about a dozen different charging cables, all the same noise.

In fact today was testing it out, only to discover still makes noise when only hooked up to the radio, no USB cable. Turned off everything I could through settings including 4G. Still it made noise. Even set to silent and volume turned down, you guessed it. Though it did sound a bit like Morse code! ;)

Thinking it is likely a grounding issue with the screen, compass, and sound. (Run a magnet by it with the screen off instant theromen!)

More puzzling is running the Signal Generator on mute, in silent mode... Not a pep!

It's not perfect, but it will do. I'm not worried enough to open it up and run traces to find out exactly.
[Nexus 7 (2013) General] flyboy1100:
I made one from scratch, and i used one like you linked too. Homemade charged 100ma faster or so than the premade but with added power input. But the connector on the premade fit my extension cable better so i use that one. I charge at 1200ma now, the premade were way lower than that.

Search for otg cable, really easy to make. Seriously i tried 3 prebuilt before making my own. They all sucked and didn't allow proper charging.
[Nexus 7 (2013) General] flyboy1100:
Are you using the headphone out? The dac is crap and is picking up efi from everything else.

I have to use usb filter from hifimediy to usb dac to stereo and it sounds amazing now
[Nexus 7 (2013) General] dmcgrath009:
In other news I am going to start building my tasker profiles for tether to my note 3 are you guys using NFC tags from your phone or starting the process from the tablet on resume ?
[Nexus 7 (2013) General] anti.commander:
I've embedded a Qi wireless charging antennae underneath a little cubby hole in my dash. When I put my phone in the cubby it's start charging wirelessly which kicks off the whole process.

The wireless charger was only $25 and it took roughly 30 minutes of work to install.
[Nexus 7 (2013) General] miketunes:
Is this a good tutorial to follow?

http://xdaforums.com/showthread.php?t=1828032

I assume I need to add a 100k resistor in there too?
[Nexus 7 (2013) General] flyboy1100:
I didn't put a resistor on mine
[Nexus 7 (2013) General] miketunes:
That tutorial also seems to be using existing USB cables. Shouldn't I be replacing any stock USB cable with 26ga wire instead? Did you follow any guide when making yours?

Also do I wanted stranded or solid wire?
[Nexus 7 (2013) General] flyboy1100:
Stranded. I actually use 18ga because that is what I had on hand.

The one I ended up using was a prebuilt unpowered otg cable. I just split the case, soldered onto the red/black wires, sealed it all back up
[Nexus 7 (2013) General] Unleaded91:
Hi,

Any if you guys using cm11 and elementalX kernel have any issues with the dac not reconnecting after unplugging the charger and plugging Back in? (Simulating turning the car of and on in a car install)

My nexus is not able to reconnect after unplugging and reconnecting the charger.

Sent from my LG-D851
[Nexus 7 (2013) General] miketunes:
So I did build my own OTG as suggested, I can now power gps, usb audio, and my flash drive at once. I get into trouble with the Febon UVC grabber. It seems like it's drawing too much power - either the tablet doesn't see it, the video is scrambled, or it reboots. I've tried 4 different hubs, some are powered some or not. Which AmazonBasic hub are you using? Are you pulling power from the OTG cable or did you run dedicated power to the hub? I've tried 2 DC-DC voltage convertors too, the first was 3 amps, the second was 10amps. I would think the Febon100 UVC shouldn't pull more than 500ma since it runs from a single USB port. Any ideas?
[Nexus 7 (2013) General] thundeer:
A device cannot draw more power/current than needed. V=IR, P=IV, etc. You can hook it to a higher voltage source but if everything is 5V it is impossible for it to 'draw too much power'. I'm using the AmazonBasics 4-Port USB 2.0 Ultra-Mini Hub. No dedicated power.

Which app are you using on your tablet? Does the LED light on the FEBON device light up when the app is started?
[Nexus 7 (2013) General] miketunes:
I'm using the dashcam app. I do usually get a LED light before it reboots the tablet. Though sometimes no light - then it doesn't detect the Febon at all. The Febon seems to work fine attached to the pc, just not with the tablet. I'm also using "that certain" kernel.
[Nexus 7 (2013) General] thundeer:
I know its a pain to do, but try doing a full wipe back to factory image, then load whatever custom ROM/kernel, and then install the app. I had an issue a long time ago back when I was switching between and testing different ROMs/kernel versions, doing dirty flashes, and at a certain point either the app lost 'permissions' to access the USB device or the FEBON stopped being detected, I kept getting error messages in my logcats, so I did a complete clean install and that solved my problems.
[Nexus 7 (2013) General] DeCharny:
One of the most important things for me is easy media controls while driving. It is a must for safety reasons. Generally I want to be able to change the volume, pause, and skip to the next song. I installed an inline RCA volume knob to handle the volume, but the playback controls are not so easy. Ideally I want to be able to use the controls while in another app, for example Google Nav. Timur's old kernel had these buttons on the navigation bar, but they aren't on the new 4.4.x version. I thought the xposed framework might offer a solution, but I can't get it to work with Timur's kernel - the USB DAC hotplug functionality is lost. Has anyone been able to make it work? Any other solutions out there?
[Nexus 7 (2013) General] piattsc13:
Xtended NavBar works for me though no volume control from it yet. I use gestures for that.
[Nexus 7 (2013) General] miketunes:
Reformatted back to stock. It still reboots the tablet sometimes opening dashcam when connected to a hub, but not directly plugged in. So maybe all my hub's are crappy - I ordered the amazon basic one and should be able to test it next week.
[Nexus 7 (2013) General] NNL:
Backup camera

Anyone know how get a backup camera working when the car is put into reverse? I want to use something like UVC Video Grabber or a FENON100 USB Stick to connect to a regular backup camera. Id power the backup camera by connecting it to the reverse lights. Which program do I use to view the video when the camera gets power? Is it possible to get it to start up automatically?
[Nexus 7 (2013) General] deadgiveaway:
Yes using tasker and a joycon it can be done
[Nexus 7 (2013) General] Necrodox:
Does anyone know the procedure for waking this tablet from complete power loss? My tablet seems to turn off randomly throughout the summer months (maybe due to it being too hot inside my car).

Regardless, a reboot usually requires me to remove my car bezel and press the power button which I would like to avoid doing. Does anyone know how I can achieve this? Either through a terminal or ROM?

Thanks in advance.

EDIT: Figured out my problem, make sure you have the proper adb drivers and files installed.

From the Windows command prompt follow the commands:

"

> adb reboot bootloader

> fastboot devices (verify connection)

> fastboot oem off-mode-charge 0

"

Only type what is highlighted in red and each should execute properly, if you return a daemon error (daemon not running) then your device drivers are not properly configured/installed. Uninstall the conflicting drivers and re-install the appropriate drivers.

This set of commands will allow your tablet to boot into Android from a complete "off" state (either through physically powering it off or your Nexus battery being drained) whenever power is detected (ideal for car situations).

No more having to take off my bezel to re-boot because Tasker didn't properly work!

Woo-hoo!

PM for any questions, I don't check the forums as often as I should.
[Nexus 7 (2013) General] anti.commander:
I've put together a decent little setup for controlling media and volume. For volume I installed "Volume control" which lets me place a static volume slider overlay anywhere on the display. I placed mine on the far left hand side of the display (closest to the driver). For controlling media I installed "Xposed Gesture Navigation" which lets you set up 1/2/3/4 finger swipe up/down/left/right and tap gestures. For play / pause I have two finger swipe up, next / previous track is two finger swipe left / right, finally mute is two finger swipe down. I also added 3 finger swipe down to kill the current app, and three finger swipe left / right to change between apps. This all works regardless of the app being displayed.
[Nexus 7 (2013) General] miketunes:
Got the USB basic hub and it's working better. The problem is the cord is shorter than my other hub, when I add a usb extension cable - that's when the FEBON has trouble powering on (light doesn't turn on). I've tried a couple extension cables, anyone know of any that may have lower ga wiring in them? Or maybe I should order the amazon powered hub and hook up an additional power source to the hub?
[Nexus 7 (2013) General] flyboy1100:
Google removed the code, so no
[Nexus 7 (2013) General] fred_spitfire:
Hey guys i've installed the nexus 7 2013 as a replacement for my broken radio and i have a problem with the charging, i started off with a 120v inverter to which i connected my oem wall charger with no issues. But i want something cleaner so i ordered a 12v to 5v usb inverter but now i get noise like static.I also tried a scosche 12v to 5v socket and same issue. do you guys have any idea how i could get this to work?
[Nexus 7 (2013) General] draco259:
Are you using a ground loop isolator?
[Nexus 7 (2013) General] fred_spitfire:
I'm not, but considering it works without any problem the 120v inverter and the oem charger and it doesnt with the 5v inverter both plugged in the cig lighter I was figuring that wasn't it? also I read that I would lose bass with the isolator.