yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Original Android Development] bossman137:
FIXED!!!!!!!! Ok so heres the key!

http://www.amazon.com/gp/product/B002W8EDOM/ref=oh_details_o05_s00_i00?ie=UTF8&psc=1

And in the dev's defense this is the wiring he developed for initially and he made that clear. It doesn't make any sence to me in the least, but i can confirm this works like a charm. I plugged everything in, cut the power source, and reinstituted power source to have everything work again over and over!!! I have this test setup:

1. plain ol otg cable (micro usb to female usb) connected to my nexus 7

2. connect one of the main male from "usb y splitter" to the otg

3. I have a 4 usb hub (with a mouse, keyboard, and a small flash drive) connected to the one female port of the "usb y splitter"

4. Then the last remaining male of the "usb y splitter" is connected to power (note on this, its very short, so if you plan on connectingn it to a usb power source you'll need a female to male usb extension cable)

special thanks to the dev for putting this kernel, i'll post my finished car install in the future :)
[Nexus 7 (2013) Original Android Development] leo81486:
Wow.i had the same cable coming soon lol.

So u did tested everything working property right?

Will it be able to work if u unplug the flash drive n remount after all?m

Which power source u r installing?

I am planing on a 12v dc converter to 5v 3A. Usb exit.
[Nexus 7 (2013) Original Android Development] bossman137:
ya i tried everything its solid as i could have hoped, it still boggles my mind it that the typical otg charger wouldn't work but this new one does. I've done the dc to dc converter for a computer install, and i just don't feel a lil tablet draws enough to warrant a direct link to the battery. I've found a lil "add a circuit" cable soldered to a solid DC car charger to micro usb is a lot less hastle, and more than sufficient. I've passed far too many cables to my interior to want to deal with that again unless its an obvious necessity.
[Nexus 7 (2013) Original Android Development] Nedlinin:
Glad to hear the cable fixed it. I just ordered one of my own.

Out of curiosity, mind linking the add a circuit cable you mentioned? I actually bought a DC to AC inverter but am unsure I want to actually go through the trouble of installing it.

Does the item you're talking about provided at least 2A? I'm planning on running my tablet with the full charging (1.2A) as well as a USB hard drive connected to the hub..
[Nexus 7 (2013) Original Android Development] bossman137:
http://www.amazon.com/Bussmann-BP-H...&qid=1385845912&sr=8-2&keywords=add+a+circuit

keep in mind there are two main sized of fuses, my camy has the small ones under the wheel (where you want to plug in).

I'm 99 percent confident it provides plenty of amperage, i'll measure and officially test tonight when i have some time to tinker.
[Nexus 7 (2013) Original Android Development] leo81486:
That will work i had those in my car connect to 2.1a usb power outlet.

U can buy those on ebay for a few bucks instead.or even u local car.part shop

For less.
[Nexus 7 (2013) Original Android Development] Nedlinin:
Appreciate it. :)

We should get together and compare notes. Maybe we can help each other out a bit further. PM me if you want to chat about the dash install :)
[Nexus 7 (2013) Original Android Development] KedarWolf:
CM 11 With AOSP Kernel Support

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

Above is a link To Kit Kat CM with AOSP kernel support. It's basically just the same as the regular Kit Kat CM but you can use AOSP kernels.

It will work with ElementalX without any patches or anything. Also you can use ART with it which is great. D
[Nexus 7 (2013) Original Android Development] bossman137:
Sad to report the power no longer works... In fact I may have been seeing things because I was so excited the peripherals were working. Tried refreshing a few times, no luck. At least for me both wiring setups are not working I'm open to some tips if anyone has had any luck.
[Nexus 7 (2013) Original Android Development] roofrider:
Are you sure you are connecting all the cables and peripherals in the same order?

vvvvv
[Nexus 7 (2013) Original Android Development] bossman137:
I feel this kernal has changed a bit and some of that is outdated. Also I'm worried that all the otg debugging done for 4.3 may not be as valid for the 2 kernals done for 4.4.

1. you no longer have to manually edit the otg file in "sys" if you specify it during the setup immediately following flash (however i've double checked and it is indeed set to Y)

2. are you using 4.4 and latest elemental kernal with continued otg functionality?

3. I did indeed check to follow the exact setup proceedure, and checked otg cable compatibility (in self powered mode)

FYI:

in resume my two wiring setups and their results:

1. otg/charging cable: http://www.amazon.com/Micro-Cable-P...8&qid=1385878734&sr=8-1&keywords=otg+charging

results: everythin works until i cut and then reinstate power to setup, at which point otg functionalit is lost and charging continues

2. otg normal with usb y cable: always have otg functionality, but unable to achieve any charging
[Nexus 7 (2013) Original Android Development] naturecannon:
close to same setup used to root a chromecast without an extern powered OTG cable :laugh:

http://xdaforums.com/showthread.php?t=2465642
[Nexus 7 (2013) Original Android Development] roofrider:
True. That is how it works, sys file only needs to be edited if the OTG+charging wasn't enabled during the initial setup.

This kind of cable was reported to be not working earlier (4.3) maybe that has changed now. :confused:

This where i noticed a difference. According to one of your previous posts,

* You connected the OTG cable to the N7 first. This has to be done at the end, according to flar.

If you are connecting everything in the same exact order and still not able to get it working perfectly (4.4) then maybe flar needs to look into it.

PS: I don't have a Y cable to test this, just trying to guide you.
[Nexus 7 (2013) Original Android Development] leo81486:
anyone know how to edit this.

USB host mode charging

I've added a hack to allow usb host mode charging. Since not that many people are going to be using this, it needs to be enabled manually. This will allow you to charge the tablet while a USB peripheral is hooked up to the OTG cable.

To use it, change /sys/module/msm_otg/parameters/usbhost_charge_mode to 1.

i installed the kernel with this function on, but in the :/sys/module/msm_otg/parameters/usbhost_charge_mode

r still said Y.

and i try to edit it to 1, and it said i can't be able to save it, anyone know anything i can do with it?

thx
[Nexus 7 (2013) Original Android Development] roofrider:
If you enabled that feature during the installation, there is no need to edit the sys file. You are good to go.
[Nexus 7 (2013) Original Android Development] leo81486:
but it seens like it's not enable.

i tryed plug in the otg cable . no responds at all.

that cables works on my galaxy 3 ,by just plug it in.
[Nexus 7 (2013) Original Android Development] bossman137:
its a bit confusing i agree, you have to basically read through the entire history of posts related to otg to know what to put now. It used to be 1 but it seems to now be Y.
[Nexus 7 (2013) Original Android Development] roofrider:
Are you trying the use OTG+charging (with Y cable) or just the OTG feature?

If you are using the charging feature then make sure you are following the right procedure mentioned in the above posts.

If you want to just use the OTG feature then i think you need to disable 'host charging mode', change Y to N and try again. Hope you have an app like StickMount installed if you are on stock.

Yea, it is Y now.

Anyway to change any settings you can also edit the '/etc/elementalx.conf' and reboot. Take a look at that file, it's user friendly.
[Nexus 7 (2013) Original Android Development] bossman137:
Appreciate the debugging efforts, nice to not have to go it alone. I've tried every conscievable variation of the setup process, including flar's reccomended. At least i don't seem to be alone.
[Nexus 7 (2013) Original Android Development] leo81486:
i am try to do the otg charging mode.

looks like the OTG cable it's not working with Nexus 7 no matter what i try.

the cable works flawless on my gs3

---------- Post added at 08:36 AM ---------- Previous post was at 08:14 AM ----------

some funny **** just happened to me.

it amazed me too.

i did everything what Flar2 's instruction, but ended up not working at all.

but now i try with the OTG Y cable and it works perfectly.. lmao~~~

here is what i used : http://www.amazon.com/gp/product/B009YPYORM/ref=oh_details_o06_s00_i00?ie=UTF8&psc=1

i attach the flash drive to the female usb, than the Asus supply power usb cable to the female micro usb, than the male micro usb to the tablet.

it's charges and i can browse the flash drive. :victory::victory::victory:
[Nexus 7 (2013) Original Android Development] bossman137:
lol well what did you do different? I'm using that exact y cable, with no success. you running 4.4 i assume with newest elemental kernel. Also could you try unplugging your power source and plugging it back in, see if it charges and recognized your otg still?
[Nexus 7 (2013) Original Android Development] leo81486:
i tryed that. it sure damn work well.

remember i edit the sys files from Y to 1.

did u do it?
[Nexus 7 (2013) Original Android Development] bossman137:
No i though we established its a Y now not a 1 for the "true value". Anyhow i tried to edit it to 1 to try anyhow, and it won't allow it. It saves but when i go back to view it it says Y not 1.
[Nexus 7 (2013) Original Android Development] leo81486:
i made a video to view of how it works.

http://www.youtube.com/watch?v=CIhag1H5WCU&feature=youtu.be

it will take some times, the video file it's so damn big, it's still uploading.

i am going to bed n get sex with my wife now.

good night folks.
[Nexus 7 (2013) Original Android Development] leo81486:
u need a paid app called { root explorer } inorder to edit it.
[Nexus 7 (2013) Original Android Development] bossman137:
Lol I'm a long time xda frequenter, I was using root Explorer text editor and it doesn't change.
[Nexus 7 (2013) Original Android Development] leo81486:
no way bro... did u watched my video...

i used the same explorer to edit the files.
[Nexus 7 (2013) Original Android Development] Nedlinin:
this video isn't quite the same thing. You're unplugging the USB from the tablet to remove the power. We are hoping to find a way to be able to unplug it at the power strip (to simulate what would happen with a permanent car install when power to the car is lost) and having it work when power is restored.

This is the issue. I'm hoping to find a way to get the N7 to redetect the OTG cable when power is restored. IE, I'm hoping to find a way to get it to work by:

1) plug OTG cable into tablet first

2) Plug usb hub in

3) plug power in.
[Nexus 7 (2013) Original Android Development] leo81486:
WELL.. maybe we r on a diferent route.

i am not willing to mount an usb hub, i am just doing charging n flash drive.

and besides i did tested the power off from the power adapter, n remount, it works too.
[Nexus 7 (2013) Original Android Development] bossman137:
exactly
[Nexus 7 (2013) Original Android Development] leo81486:
looks like u guys r right.

i missed lead something.

i retest the way u described , it doesn't work anymore.

hope Flar2 can come up with an update of something that can work things out.

maybe he can code something that allows the tablet to draw power in about a few seconds later after the power is turn on.

the current situation is that, the flash drive must get power first, inorder for tablet to charge n host.

so i was thinking if he can code some delaying on the power draw to the tablet, maybe that'll work.

too bad i had no clue of coding or anything, if not i will diff find a way to do it.

hope Flar2 sees this n he's willing to give a try to help us, car mount guys.:crying:

---------- Post added at 11:33 PM ---------- Previous post was at 10:57 PM ----------

Dear Flar2.

can u please help us car mount folks out on this.

the solution on ur describe isn't totally working for us perm car mount folks.

the way how it works on ur base requier to powered up the flash drive first inorder to charging n host.

and that exactly what we can't be able to do with car mounts, bcuz once the ignition it's off the power goes down completely , so both the flash drive n charging it's gone, when we turn on the ignition the tablet draws the power imidiately ,which cause the flash drive not detected by the stickmount.

so i was thinking maybe u can help us with some different coding of the power drawing for tablet?

such as let the tablet wait 5 secs than draw power from the power source?

example.

ignition on = power on , than power goes to flash drive, than 5 secs later the tablets starts to draw power n everything works?

please please help.

thx
[Nexus 7 (2013) Original Android Development] flar2:
I've noted all this, and I will look at it eventually, but it's a big job and I don't have much time to work on development lately. I've been going crazy trying to keep up with all the updates on HTC One the past couple weeks.
[Nexus 7 (2013) Original Android Development] leo81486:
i see.

so i will hold on my car install project untill this is solve.

thank u so much Flar2.:good:
[Nexus 7 (2013) Original Android Development] roofrider:
That would be perfect. You actually did outline the issues in your previous post (the one with logs) very well, which makes OTG+charging in it's current form not so ideal for a car installation.

All the best!
[Nexus 7 (2013) Original Android Development] Nedlinin:
Glad to hear someone with some experience will look into it. I got my build environment set up tonight and hope to start digging into code over the next couple days in hopes that I can find a solution.
[Nexus 7 (2013) Original Android Development] leo81486:
Me too.

I almost start the project,cause of the warm weather,but unfortunately i have to stop due to this issue.

Hope he can be able to solve with a solution before the weather gets cold again.
[Nexus 7 (2013) Original Android Development] kaibosh99:
Installed this kernel on my freshly unlocked/rooted 2013 Nexus 7, it was so painless and the results so flawless that it ends up being boring. Come on, where are the showstopper bugs to hunt down?! ;)

Mild OC on CPU and GPU, and... DONE.
[Nexus 7 (2013) Original Android Development] Thelgow:
Whats a preferred setup for stability and battery life?

I'm using Bulletproof in the meantime.

All these options had me a little worried.

Like max screen off disabled, undervolt issues, etc.
[Nexus 7 (2013) Original Android Development] ecs1984:
Can't go wrong just hitting "Next" all the way through, [MENTION=4684315]flar2[/MENTION] has it set up pretty well for us. Slight CPU OC above the default, if you are so inclined. Been on since version 0.whatever and it's always been stable with good battery life.
[Nexus 7 (2013) Original Android Development] buckeye_jeff:
Has anybody been able to write to a exFAT external SD card? I can read it but I can't write to it. I read where it wasn't working. I was just wondering if anybody had come up with a solution.
[Nexus 7 (2013) Original Android Development] LoopDoGG79:
Is double tap to wake also ROM dependent? I enabled it, but won't work on stock 4.4 ROM? I also have GravityBox with lockscreen mods can this be an issue to?

Edit, it works now, seems it won't work after a reboot. Need to wake screen first with the power button then unlock, then I'll work. Awsome work buddy! :D
[Nexus 7 (2013) Original Android Development] bokagavrilov:
No its kernel exclusive. Also you might have accidentally turned on the power-button-shut-down-touch-features this is in the setup as it helps saving battery when 2tap2wake or similar isn't needed

Sent from my Nexus 7
[Nexus 7 (2013) Original Android Development] Grooby97:
Did intellidemand get removed in 2.2?
[Nexus 7 (2013) Original Android Development] LoopDoGG79:
Its still there.
[Nexus 7 (2013) Original Android Development] nikfam:
Anyone else experiences wifi lag/drop outs/no reconnection after disconnecting as well as LOW speed (using internet speed meter apk)
[Nexus 7 (2013) Original Android Development] cobyman7035:
Does ART run faster on n7? MotoX dalvik patch work? Thx

Via my NeXus™ ⅞FHD on Tapatalk pro 4.2
[Nexus 7 (2013) Original Android Development] farenteria:
You're second question was answered on the thread you made. Dalvik patch does work
[Nexus 7 (2013) Original Android Development] ezas:
I have been following this thread for a couple of weeks and have not seen this mentioned by anyone else.

After going through the aroma installer, I click Finish and I see a flash of recovery doing something and in an instant the screen goes blank and the only thing that will do 'something' is a long press off the power button to boot the device. Looking at the log files everything completes successfully.

The bulletproof installer behaves in THE expected manner dropping me into TWRP.

What should happen when I click Finish in the Aroma installer for this kernel?
[Nexus 7 (2013) Original Android Development] smiley4017:
Your twrp screen is timing out. Go into tarp settings and turn off screen blanking.
[Nexus 7 (2013) Original Android Development] ezas:
That fixed it thanks. But kinda weird for these reasons

The screen timeout was set to 60s

The screen didn't wake up with a power button press

It took a 20 sec power button hold to boot the device

No other zip file, including Bulletproof does this.

BUT - No one else is reporting it. I'll try rolling TWRP back to 2.6.3.0 see if that changes things.

Love both Elemental and Bulletproof.
[Nexus 7 (2013) Original Android Development] ezas:
Rolling back to 2.6.3.0 took care of the problem. Mystery solved.
[Nexus 7 (2013) Original Android Development] flar2:
That black screen after install has been known to happen occasionally. It's harmless and you should probably stay with the latest version of TWRP.
[Nexus 7 (2013) Original Android Development] oTeMpLo:
NO its readndoly for me to. It was working with 1.8 on 4.3 rom before, but since theh it does not work! (exFAT)
[Nexus 7 (2013) Original Android Development] Mr Dasher:
Does anyone know were I can down a recovery flash-able stock 4.4 ? I have only been able to find IMG files. You need to return to stock to flash the new 4.4.1 update.

Thanks
[Nexus 7 (2013) Original Android Development] flar2:
I'll have a look at exfat write support, was there anything else other than the car installation stuff (which I won't get to quite yet)? I can't remember if there were other outstanding issues.
[Nexus 7 (2013) Original Android Development] leo81486:
Besides the car stuff.

I am not so sure since i didn't paying attention to any of other stuff.

But ur kernel indeed r one of the best on board.

Oh maybe if u can add auto deep alsleep mode with ignition on|off.

Some people can't figure how to set tasker.
[Nexus 7 (2013) Original Android Development] bossman137:
So excited for car install :)
[Nexus 7 (2013) Original Android Development] ezas:
Yeah it happened again today on 2.6.3.0.

I'm not worried about it. I've seen other people recommend 2.6.3.0 for various reasons, but since 2.6.3.1 has always worked for me I'll go back to it.
[Nexus 7 (2013) Original Android Development] LoopDoGG79:
For what it's worth I have not ever had any issues with Philz Touch CWM 6.4.4
[Nexus 7 (2013) Original Android Development] konchog uma:
Great work

Noticeably better performance with this kernel, and i appreciate the battery saver mod and tweaks.

I seem to have lost translucent nav bar with nova beta... Is that due to kernel change?

Also, what is the best way to enable intellidemand governor without messing up the settings from the installer?

kuma
[Nexus 7 (2013) Original Android Development] flar2:
You could make an init.d script

Easiest to install TricksterMod and have it set on boot.
[Nexus 7 (2013) Original Android Development] flar2:
For now I've just updated for Android 4.4.1 (latest OTA)

Download:

ElementalX-N7-2.3

Changes:

-update for Android 4.4.1

-various tweaks and optimizations
[Nexus 7 (2013) Original Android Development] kingston73:
I've been using 1.8 with the deprimanator addition and it is working very well. I tried flashing 2.2 last night and lost my wifi but now that I see you have a new version I'm guessing the reason I lost wifi is because I am using the newest 4.4.1 rom?

Also, I use twrp and always get the black screen after flashing. It freaked me out the first time it happened.
[Nexus 7 (2013) Original Android Development] meekrawb:
Wifi doesn't work because you are using deprimator. You need to remove it before installing the new kernel.

For TWRP, go into settings and change the screen timeout to off.
[Nexus 7 (2013) Original Android Development] kingston73:
Thank you for both answers. How do I go about removing deprimanator?
[Nexus 7 (2013) Original Android Development] meekrawb:
There is a remover zip, but I don't remember where I saw it. You can also dirty flash your ROM to get rid of it.
[Nexus 7 (2013) Original Android Development] wd5gnr:
Easiest way is to dirty flash your ROM. There is also a file dePRIMAtor_restore.zip here: http://xdaforums.com/showpost.php?p=47610750&postcount=1282
[Nexus 7 (2013) Original Android Development] oTeMpLo:
No exFAT write Support. ?
[Nexus 7 (2013) Original Android Development] Ryo Zi:
Working this kernel on the device DEB with CM11 nightly-build?

When I flash the kernel on the device, I get terribly slow tablet and distorted colors on the screen. What could be the problem? Is there a working kernel with swipe2wake and doubletap2wake for DEB with CM11?

Thank you very much!
[Nexus 7 (2013) Original Android Development] LoopDoGG79:
What version did you flash? 2.3 is only for 4.4.1
[Nexus 7 (2013) Original Android Development] vcallas:
This kernel is for AOSP devices. For CM you need a kernel that supports CAF.
[Nexus 7 (2013) Original Android Development] AarSyl:
[MENTION=4684315]flar2[/MENTION] is right. Your stuff will flash properly, but there is no way to wake from the blank screen while in AROMA. I think it is because the power button works and the "confirm" button, and the volume buttons work as previous and next. Not sure if you knew that.

On my phone, the capacitive buttons still make the device vibrate while AROMA is running with the screen blank, so I KNOW that TWRP didn't freeze.

____________________________________________________

Phone: HTC EVO 4G LTE

Rooted, Stock 3.16, Xposed and vulnerable

Tablet: ASUS Nexus 7.2

Rooted, Stock 4.4.1, Custom kernel
[Nexus 7 (2013) Original Android Development] Spyr0s:
isn't that closed source? I know that samsung phones have exFat write support but Samsung paid a license to microsoft.
[Nexus 7 (2013) Original Android Development] flar2:
The blank screen happened to me and I was still able to connect usb and use adb shell to reboot it cleanly.
[Nexus 7 (2013) Original Android Development] AarSyl:
Well, I know that is still an option, since TWRP is still operational. But I can't bother with all of that, because most times, my PC is off at the time. I just hold power+vol down for about 15secs, and it reboots back into recovery.

____________________________________________________

Phone: HTC EVO 4G LTE

Rooted, Stock 3.16, Xposed and vulnerable

Tablet: ASUS Nexus 7.2

Rooted, Stock 4.4.1, Custom kernel
[Nexus 7 (2013) Original Android Development] LoopDoGG79:
I've seen it supported on other custom kernels.
[Nexus 7 (2013) Original Android Development] wd5gnr:
I also got the black screen upgrading to the latest. Worked ok, but just goes black in TWRP (primary ROM).
[Nexus 7 (2013) Original Android Development] kingston73:
If this was asked before I apologize, any thoughts on making a caf version that works with cm based roms?
[Nexus 7 (2013) Original Android Development] fradbari:
hi

i've flashed twice the latest version but elementalx.conf file are empty... what should be the problem?