yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Original Android Development] creeve4:
I just used fastboot to flash the system image. Thanks though.
[Nexus 7 (2013) Original Android Development] meekrawb:
Oh sure, do it the easy way...

:)
[Nexus 7 (2013) Original Android Development] poondog:
Reflash system.img
[Nexus 7 (2013) Original Android Development] Kiszonyogor95:
Try for yourself and choose one ;)

TaPaTaLkEd from my Galaxy S3
[Nexus 7 (2013) Original Android Development] flar2:
I would obviously recommend this one :D
[Nexus 7 (2013) Original Android Development] junowhoo:
Lol just saying

---------- Post added at 08:00 PM ---------- Previous post was at 07:47 PM ----------

Ok lol :)
[Nexus 7 (2013) Original Android Development] aFancyTickler:
I just got my nexus 7 and I flashed the kernal on cm11 and all the colors are inverted and its giving me graphical glitches . any ideas ?
[Nexus 7 (2013) Original Android Development] meekrawb:
This does not work with CM. You are going to have find a caf based kernel.
[Nexus 7 (2013) Original Android Development] aFancyTickler:
ohh ok thanks. what about AOKP or Paranoid ?
[Nexus 7 (2013) Original Android Development] remag6383:
The Best

Just want to say thanks for this Kernel. Running on CleanRom and loving it :good:
[Nexus 7 (2013) Original Android Development] konradsa:
I concur. Performance, battery life, stability are all top notch with this kernel. This is my favorite kernel by far, flar2 is doing a fantastic job, thank you for your hard work, it's appreciated.
[Nexus 7 (2013) Original Android Development] NovaSlim:
My first run ElementalX 2.4 (stock clocks 1.5Ghz/400mhz, every other settings left at default), MX Player Pro with H/W+ decoding, 720p video at 100% brightness, ROM is stock 4.4.2

Stock kernel 5hr 16 min for 86%, 16.3% per hour

ElementalX 5hr 25 min for 86%, 15.9% per hour

I attached the screenshots(first 3 are stock, last 3 are ElementalX), will give it another run tomorrow.

Thank you for you hard work flar2!
[Nexus 7 (2013) Original Android Development] w1ll1m:
I'm running it on PA4beta at the moment, so it works. Whether it's supposed to is a different matter altogether!
[Nexus 7 (2013) Original Android Development] gabo_lope:
You could flash this version of CM11 http://xdaforums.com/showthread.php?t=2545197, it's no latest nightly, I think the build date is around December 22, but it works really well with this kenel
[Nexus 7 (2013) Original Android Development] taktakkimo:
FLAR2 you are the MAN :good: :good: Kudos
[Nexus 7 (2013) Original Android Development] Nedlinin:
[MENTION=4684315]flar2[/MENTION]:

Glad to see you're making a bit of progress on the USB+OTG power loss/restore issue. I'll be buying you a beer (or a few) if you manage to get it sorted out. I'm itching to get this thing permanently installed into my car :)

I dug into it a bit myself but found my knowledge of what was going on in the msm_otg portion of the kernel to be.. subpar.
[Nexus 7 (2013) Original Android Development] katsooba:
same here :)

cant wait for the power issue to be solved

im sure planning to grant him more than a beer
[Nexus 7 (2013) Original Android Development] nokiagye:
Any news about gamma? will included on next update?
[Nexus 7 (2013) Original Android Development] Katana1234:
i solved this problem with an elecric circuit.

im shorting the 4th and 5th pin of the usb-plug (this is needed for the tablet to run the usb host mode, this is also the only difference between a normal and a otg cable) only when power from car is connected. if not connected, the pins are split and the tablet usb port goes into normal usb mode. when connected, the usb port works as a usb host for otg. so... everytime the powerstate switches the tablet switches its usb mode :)

works perfectly
[Nexus 7 (2013) Original Android Development] oias.heeda:
Wow. Bravo to you. It's members like you that make XDA and the internet great.

I am yet to set up my car system as I am buying a whole new setup. But I can thank you greatly for helping me not pull my hair out when I do so. :)
[Nexus 7 (2013) Original Android Development] 53l3c7a:
I don't own a car, so my N7 is just my tablet. That being said, that is awesome. Great job!
[Nexus 7 (2013) Original Android Development] hypnomatc:
I installed this kernel on latest CM11 nightly but when I rebooted after Google logo I got a

Green and Blue screen.I changed just a thing in installer (I disablled s2w) using Nexus 7 LTE and Twrp.Any solution?
[Nexus 7 (2013) Original Android Development] flar2:
CM is broken. Try using a different ROM.
[Nexus 7 (2013) Original Android Development] Malcolmekkk:
DVB modules link is broken:(
[Nexus 7 (2013) Original Android Development] leo81486:
Bravo bro..

Will u pleaSe be kind enough to post out of how to DIY ?

ALso when u said host mode,does it mean u can keep on charge while every otg device works? Including turn on/off the main power source?

Thx
[Nexus 7 (2013) Original Android Development] cobyman7035:
wow nice, i definitely don't get your good battery life, but im OCd to 1.8ghz

heres my screenshot of gsam PRO
[Nexus 7 (2013) Original Android Development] Katana1234:
sure... i'll try ;D

and yes, with this circuit you can plug in your devices and charge the tablet at the same time (OTG Charge Mode of the kernel must be enabled)

the first thing to announce is that you will need some basic electric skills to do this.

you may also need a new micro usb plug from a standard micro-usb-cable because the plugs used for the otg-cables may not be able to manipulate (the 4th and 5th pins are shorten and cannot be seperated).

so... get a new micro usb plug and solder it to the otg-cable as seen in the attached picture.

http://xdaforums.com/attachment.php?attachmentid=2480033&stc=1&d=1388266286

the resistors value depends on the used npn-transistor.

check out wiki to understand what the circuit will do...

http://en.wikipedia.org/wiki/USB#Pinouts

as i just said, the difference between a standard and a otg cable is that the 4th and 5th pins are connected.

in this case the tablet realizes that its got to enable the usb host mode.

now the functionally description:

in a car installation, the micro usb plug and the usb devices are permanently connected to the tablet.

the only thing that changes is the power source, when turning on the ignition the tablet and the devices get power.

in the moment the power connects, the electric circuit will connect the ID-Pin (4th) and the Ground-Pin (5th).

this is when the tablet enables the usb-host-mode.

when the powersource disconnects the electric ciruit disconnects both pins so that the tablet goes into standard usb mode.

this also means that you will only be able to use your devices when power is connected.

last but not least, it took me a lot of time and nerves to get this f.... problem working :D

feel free to donate ;D

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FFSYDL6WX223W

sorry for this cheap scheme but i'm to lazy to do a professional one ;D

if you have any further questions feel free to ask...

have fun!
[Nexus 7 (2013) Original Android Development] leo81486:
Thx.do u have the full thread of that picture?
[Nexus 7 (2013) Original Android Development] Katana1234:
well this is the full thread, i created this picture for you ;)
[Nexus 7 (2013) Original Android Development] leo81486:
Well.

I really have no idea of what to do by looking at the picture.

For my understanding, i will need resistor? To soldered as the picture, or i just solder the both pin with wires?
[Nexus 7 (2013) Original Android Development] Nedlinin:
Based on his little schematic, you need an NPN transistor and a resistor.

The resistor is connected to the 5V line of the USB cable. From there, it connects to the transistor.

The transistor basically acts as a small automated switch. When the power turns on the 5V line, the transistor connects pins 4 and 5 together (the two other wires leading to the transistor in the diagram) which causes the tablet to recognize the connected USB cable as an OTG cable and setup accordingly.

When power is removed, the connection between pins 4 and 5 disappears and the tablet switches back to standard USB operation.

The circuit is very simple (literally 2 extra components). I'd be interested to know which resistor/transistor the poster used. Shouldn't really matter all that much though.
[Nexus 7 (2013) Original Android Development] JohnnyTightlips:
USB DAC?

I flashed the latest kernel and it works great, awesome job. I had a few questions. I would like to use a usb dac with usb otg. I have the Behringer UCA202 and can not seem to get it to work. I tried "usb audio tester" which shows it as a device but I never get sound out of it. I am running the latest stock rom 4.4.2. Is there a rom/elementalX version mix anyone would recommend to get this setup? My overall goal is to get this to work as a permanent install in my car. I know that the last nexus had the ability to do some deep sleep while keeping all the usb devices working so that when the tablet wakes everything is good. Does this support that, or is a future feature? I am getting a little confused with all the different sleep terms and what is what. I know that lots of people are doing things similar to what I want to do so I was hoping someone has already played around and found a good solution. Thanks
[Nexus 7 (2013) Original Android Development] LinearEquation:
Well done.
[Nexus 7 (2013) Original Android Development] daffie:
A quick question. Installed kernel with s2w&s2s first. Decided to use dt2w instead. Reflashed kernel with s2w&s2s disabled, but still it's active. The setting is off in config file. Any ideas?
[Nexus 7 (2013) Original Android Development] LinearEquation:
When you flash the kernel it uses the options you set during that flash.
[Nexus 7 (2013) Original Android Development] daffie:
The ElementalX config file shows S2W&S2S setting is indeed set to off (0).

But...S2W is still active...I can swipe screen on. Btw S2S is NOT active...not possible to swipe screen off.
[Nexus 7 (2013) Original Android Development] Katana1234:
thx for the circuit description while i was sleeping ;)

well it's a good question which i cant answer because i took a transistor circuit which was left from a previous project and it just worked ;)

but i thik a BC547 with a 1k resistor should do the work.

i could also remove the heat shrink tube from the cicruit in my car to let you know the parts if really necessary. ;)
[Nexus 7 (2013) Original Android Development] flar2:
There is another app enabling them.
[Nexus 7 (2013) Original Android Development] daffie:
I only use Trickster Mod (to check cpu % times), but no change is made in settings nor is it setup "enable at boot". But I will remove TricksterMod a see if it solves this (very small) issue. Cheers.

Edit : that did the trick :) Apparently the settings in TM are not saved correctly, as I had enabled S2W&S2S earlier and afterwards deactivated those settings (screen wake control). All's good now.

---------- Post added at 02:58 PM ---------- Previous post was at 02:47 PM ----------

Edit :

Sad to say but S2W is still active! Very strange indeed. Now with TM completely removed and no other apps that could interfere with EX kernel.

Anyways...I've taken up too much time with this already. I'll chalk this one up to my inexperience with TM conflicting with EX kernel. It's no biggie :o

I'll do one last try with wiping cache&dalvik and reinstalling the kernel.
[Nexus 7 (2013) Original Android Development] flar2:
Look in /etc/init.d and see if there are any other files there that may be setting it.
[Nexus 7 (2013) Original Android Development] daffie:
I have in the Init.d folder :

94tools

99elementalx

99SuperSUDaemon

Edit : think I've found it now...when testing to see whether S2W was still working, I was swiping something fierce (left to right) and most probably the screen registers a double-tap instead each time I did a new swipe from the left...if that makes any sense :) Btw flashed Bulletproof now to do some more testing regarding speed compared to battery life. I got some 12 hours life on very heavy use (just got the tablet 2 days ago :) ) on ElementalX already, so that's awesome.
[Nexus 7 (2013) Original Android Development] flar2:
I think you'll get better battery life on elemental. But if you do the experiment let us know the results.

★★★★★★★

Happy new year everyone!
[Nexus 7 (2013) Original Android Development] daffie:
First of all...Happy New Year everyone!

On EX...it's as perfect as they come really...no need for BP. And I like the customization options of EX.
[Nexus 7 (2013) Original Android Development] travster119:
Will the kernel work with omni rom
[Nexus 7 (2013) Original Android Development] flar2:
Nope. Sense or GPE only.
[Nexus 7 (2013) Original Android Development] aamitabh28:
This is the flo thread mate :P

Happy new year!

And yes it will work with omni
[Nexus 7 (2013) Original Android Development] flar2:
I'm all confused, sorry.

Yes, it will work on Omni :D
[Nexus 7 (2013) Original Android Development] aamitabh28:
Haha happens when you are managing 3 devices at once and supporting them like you do:D

Really looking forward for the improvemnts on the elemantalx governor from N5!

Thanks
[Nexus 7 (2013) Original Android Development] weldawadyathink:
Hey guys, I am loving this kernel and am running Omni nightlies. Omni will auto install zips when it does open delta updates, but I don't want to have to reconfigure the kernel every time I install an update. Is there any way to configure the aroma installer to always use my settings, like a configuration on the SD card or something? Thanks.
[Nexus 7 (2013) Original Android Development] sokinso:
Hey guys I need your help so much!!

I installed the kernel on my flo edition with stock recommendations and now my tablet won't turn on at all!!

I was stock 4.4.2 and root.

Used twtr recovery for flashing it...

What's went wrong...? :(
[Nexus 7 (2013) Original Android Development] GTMoraes:
It sometimes happens with me. Just keep holding the power button and it eventually will show up.

Idk what else could have happened there, if you flashed the right kernel.

Tapatalked thru my LG G2 D805
[Nexus 7 (2013) Original Android Development] flar2:
Hold down the power button until it reboots.
[Nexus 7 (2013) Original Android Development] sokinso:
False alarm!!

As you said I hold it a bit and it rebooted.

Double tap to wake doesn't seem to work when on deep sleep is it normal?
[Nexus 7 (2013) Original Android Development] flar2:
Small update. I adjusted the vertical shortsweep distance a bit so it's less likely to turn off the screen when you pull down the settings menu. I also changed some build options and added a few minor patches.

Download:

ElementalX-N7-2.5

Changes:

-adjust shortsweep distance

-cfq is default i/o scheduler

-various tweaks and optimizations (see github)
[Nexus 7 (2013) Original Android Development] IS33D34DP30PL3:
appears to not work with cm11 nightlies blue screen
[Nexus 7 (2013) Original Android Development] LinearEquation:
Which zip did you download? Just curious if you accidentally downloaded a 4.3 version. Not sure which Kitkat version Cm 11 is on.
[Nexus 7 (2013) Original Android Development] IS33D34DP30PL3:
I downloaded the 4.4.2 kernel. I just remembered that cyanogen mod is still on 4.4 not 4.4.2/1
[Nexus 7 (2013) Original Android Development] LinearEquation:
That would be the problem then.
[Nexus 7 (2013) Original Android Development] IS33D34DP30PL3:
I used to have a HTC One x so it's great to see flar2 developing for the nexus 7!

---------- Post added at 12:50 AM ---------- Previous post was at 12:38 AM ----------

Actually I just flashed 2.2 and it gave me the same screen

So apparently no support for cm11
[Nexus 7 (2013) Original Android Development] LinearEquation:
Did you flash a nandroid first after getting that screen the first time? And then flash 2.2?
[Nexus 7 (2013) Original Android Development] IS33D34DP30PL3:
Well.. **** I guess it has issues with with my specific version I am running the latest snapshot. (it isn't built with tool chain)
[Nexus 7 (2013) Original Android Development] sokinso:
Doesn't 2tap to wake work on stock 4.4.2 while on deep sleep?
[Nexus 7 (2013) Original Android Development] daffie:
"Deep sleep" ?
[Nexus 7 (2013) Original Android Development] GTMoraes:
Deep sleep is a state where the processor is in low processing state. Most of the operations are halted and the device enters in a battery saving state.

But I guess double tap works even if it's in deep sleep.

Tapatalked thru my LG G2 D805
[Nexus 7 (2013) Original Android Development] daffie:
Ok...so how do we enter deep sleep mode, or is this automatically or a specific setting within Android?
[Nexus 7 (2013) Original Android Development] L-ViZ:
hey guys, happy new year :)

got 2 questions :)

1.

i always turned off fsych in version 2.3. with the new one from 2.4 does it consume more battery?

2.

does enabling 2d gpu rendering consume more/less battery on the n7?

thx in advance :)
[Nexus 7 (2013) Original Android Development] daffie:
I have been wondering about this...haven't tried it myself (yet). Maybe someone has more info on this...
[Nexus 7 (2013) Original Android Development] LoopDoGG79:
Its automatic.
[Nexus 7 (2013) Original Android Development] monkboy24:
So far v2.5 is working %100 smooth with Rastakat ROM. Thanks flar. Now both my Flo and hammerhead are juiced up by elemental :cool::):thumbup:

sent from my nexus 7 (FLO) beast!!!
[Nexus 7 (2013) Original Android Development] daffie:
Ok...well than DT2W should definately work, as my N7 will sometimes be in deep sleep mode I recon, and DT2W always works flawlessly. I'm using ElementalX kernel btw.
[Nexus 7 (2013) Original Android Development] Yakuzza123:
yes, i have the same issue i my rtl2832u has just arrived today and it would be nice to try it out.

And a little tutorial with them wouldn´t be bad either, but just wanted to push malcom´s info once more.
[Nexus 7 (2013) Original Android Development] MaNRo:
Hey guys, happy new year to all, have a question, I'm using multirom and have CM11 as a secondary ROM, I flashed v2.5 on CM 11 and the lid functionality stopped working, I make sure that the setting was turned on during the flash and confirmed it on the /etc/elementalx.conf file, does anyone experience the same or have any suggestion? Thanks!
[Nexus 7 (2013) Original Android Development] cobyman7035:
is it just me , or i cant detect my meenova sd device, NTFS formatted card? my nexus 5 on franco kernel detects it, im using stickmount

is it because i chose the Y cable OTG power method? i think it works if i use a Y cable OTG , using external power

thanks
[Nexus 7 (2013) Original Android Development] flar2:
If you are not using the y-calbe and external power, switch off the OTG+charge mode.
[Nexus 7 (2013) Original Android Development] MaNRo:
Think I found it, I just disabled the OTGCM setting and lid on/off setting start working again :)
[Nexus 7 (2013) Original Android Development] miketunes:
I'm trying to do this same thing, I'm using HiFimeDIY Sabre Tiny USB DAC. Also running 4.4.2 stock w/ elemental X 2.4. USB Audio also show's the device. It would seem to me we need someway to tell programs where to direct audio (to the DAC vs internal speakers). I'm sure someone's got USB audio to work with the nexus by now.
[Nexus 7 (2013) Original Android Development] katsooba:
Hi

im using the same DAC as you.

what you need it set the kernel to USB + OTG [no fastcharge]

get a Y usb otg cable

connect the DAC, connect power, and connect to nexus.

it works.

it will not work with a simple straight otg cable.

if you want only DAC and no charge, set USB + OTG off.
[Nexus 7 (2013) Original Android Development] miketunes:
Hm, okay I'll order a Y cable. I tried it straight thorough and also to a powered usb hub.
[Nexus 7 (2013) Original Android Development] katsooba:
if you want straight through, you need to disable the OTG + CHARGE option on kernel settings.

but then it will not work with a Y cable.

you need to connect power to the Y cable in order for the DAC to work in the method i mentioned in the earlier post.

one thing to consider, when you lose power to the Y [d\c the power] and reconnect, the DAC will not work until physically you reconnect the TABLET inlet cable.

forgot to mention, you need to use a CM11 based ROM.

i personally use bruce2728 non caf based rom which allows to use the ElementlX :)
[Nexus 7 (2013) Original Android Development] leo81486:
i used slimrom which works exactly like urs too.

but i need it for car install which it's not working it out for me.

still hoping Flar2 can have a fix soon.
[Nexus 7 (2013) Original Android Development] flar2:
I think ROM support is necessary for the DAC. I don't have one to test with.

I might take another crack at it this weekend

************************************************************

Any feedback about the elementalx governor? Better/worse/same as ondemand for battery life and performance?

I haven't been using my N7 much lately, basically using my N5 as a tablet.
[Nexus 7 (2013) Original Android Development] bcvictory:
Settings:

Min: 384Ghz

Max: 1.5Ghz

Elementalx governor

450GPU

Not sure how bad or good this result is. Probably would have got almost 7 hours if drained to 1%. I think this is slightly better than ondemand for me.

What is everyone else getting? I feel like battery should be a little bit better...
[Nexus 7 (2013) Original Android Development] bcvictory:
Forgot to attach this picture
[Nexus 7 (2013) Original Android Development] bcvictory:
Upload didn't work yet again
[Nexus 7 (2013) Original Android Development] benhidalgo:
settings

gpu 490mhz

cpu 2.0ghz

stock govenor

I play lots of mc4, dead trigger....battery hungry games, I get 1 hour tops out of the battery. :o

I find it that this is the best stable settings on my flo. I get 28052 score on Antutu benchmark with a full charge.
[Nexus 7 (2013) Original Android Development] katsooba:
well, mine is installed in my car:)

as main music source

nexus > hifimediy dac > alpine h900 > amp
[Nexus 7 (2013) Original Android Development] schlager:
i'm thinking of doing the same, does this work with Spotify perfectly fine or do you need to use USB Audio Player only?
[Nexus 7 (2013) Original Android Development] sgt. meow:
Teach me, master. :wow:

Just kidding.
[Nexus 7 (2013) Original Android Development] NovaSlim:
It is better for video playback battery life , back in the 4.3 days I tried Bulletproof & EX but their battery life for video playback are about the same as AOSP kernel. Now with 4.4.2 I get the following data for

The following are using MX Player Pro, H/W+ Hardware acceleration, 720p videos( in 16:10 aspect ratio to fill the full screen).

Android 4.4(AOSP), Full brightness(15/15 or 583 nits), 5 hour 15 min for 86% or 16.4% per hour

Android 4.4.2 (ElementalX 2.5), Full brightness(15/15 or 583 nits), 5 hour 30 min for 86% or 15.6% per hour
[Nexus 7 (2013) Original Android Development] miesa:
It's excellent. I use my n7 for reading mostly and the elemental x governor helps my battery last longer. I haven't played any haves games recently so can't comment on that. On slimkat and used default setting for all except magnetic on/off. I disable that as I don't have a magnetic cover. Oh I also enabled battery saving so this is from 93%.

The slight increase in battery capacity was when I flashed v2.5.
[Nexus 7 (2013) Original Android Development] katsooba:
Hi ,

we currently do not have Spotify access in Israel.

but all audio is routed through the DAC.

i am using Mort Player, and VLC for video, and all goes through the DAC.
[Nexus 7 (2013) Original Android Development] leo81486:
U r rich,i can't afford a h900.:good:
[Nexus 7 (2013) Original Android Development] katsooba:
im not :)

i have had it for 6 years now, im a car audio nutcase,

have a Hybrid Audio 3 way with a Tru tech Billet 6 Channal amp

you can go for every processor with optical input, bit 1, rockford 360, jbl ms8, h800 and whatever :)

the ElementalX with cm11 rom just makes it easier for me using the Nexus in the car :)

i am planning to change DACs once in while and see what sounds better