yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Original Android Development] neon:
Hey Guys,

Can someone help me with something? I had a plain rooted Nexus 7 2013 with SU. I paid and downloaded the "EX Kernel Manager" app from play store, granted SU access when popped up. Then i went to the download/installs screen and told it to install the CyanogenMod (i think thats the option i clicked). Anyway, after clicking, i set the tablet aside and came back 5-10 mins later to see a blank screen. The backlight is on (screen is on) but the screen is completely blank/black. I waited a bit then messed around a bit like pressing on the screen, pressing the power button etc. Sometimes when i press on the screen i hear random click sounds, sometimes when i press the power button it also makes screen turn on/off noise, but screen doesnt turn off. If i just leave the tablet aside, screen completely turns off sometimes, then turns on sometimes, and every so often (happend about 3 times in the last 15-20 mins) it plays some random 5 second music, like from a video ad or something.

Im confused. Any advice appreciated.

Given its a nexus 7, i dont really know a way to hard shutdown (since i cannot pull the battery) or get to a recovery screen.

---------- Post added at 06:25 AM ---------- Previous post was at 06:02 AM ----------

^^ so i figured out what was going on (sort of). seems like even though the device restarted (may or may not have installed anything), it was running my exiting installation of android but it broke my screen somehow (sounds were probably some random app/ad). I could still use Android Device Manager (fine my iphone for android by google) still saw it, managed to ring it etc, so all i could do was to use this to "Erase" (reset to factory default). This in a sense worked as i could see the screen turn off and restart, then saw some command line thinsg being executed followed by the android bootup screen (screen is working fine by this point). However, the android bootup screen animation was running really really slow, like frame by frame where each frame would take about 10-20 secs. After about 10+ minutes of this, im back to a blank screen (backlight on, screen blank). Not sure where to go from here. I guess this is probably pretty close to a bricked device now =/
[Nexus 7 (2013) Original Android Development] quickdraw86:
If you install the cyanogenmod version onto an AOSP ROM, sound, screen, Wi-Fi, and possibly other things will be broken. Stock rooted roms require the AOSP version of the kernel to boot and run correctly. If you power off the device, and hold down power and volume up and down, you'll restart in the bootloader. If you didn't install a custom recovery image, you need to, and can via ADB. You can also push a custom ROM to storage from ADB.
[Nexus 7 (2013) Original Android Development] flar2:
It's almost impossible to brick this tablet.

Go to elementalx.org and download the non-cm version that matches your version of android. Reboot to recovery and flash it.

Or download the factory image, reboot to bootloader and flash system.img and boot.img to return to stock.
[Nexus 7 (2013) Original Android Development] neon:
Haha i might be the first then :P

Nah seriously though, i cant get to recovery at all. The vol up+down+power doesnt do anything, heck the power button doesnt do anything like its completely physically dead, no lights, no screen, nothing. But, when i plug external power/charger, i see the full screen charging image/animation show up (the screen you see when you plug a charger in while the device is off, but this screen only lasts about 10 secs and then dissapears, not 100% sure if thats how it should be).

Prior to all this, devise never had much use but it had great battery life and no issues at all (so its unlikely to be a fault of its own unless it has something to do with the installation mentioned earlier).
[Nexus 7 (2013) Original Android Development] Itsallbrokennow:
Dirty flashed cm13 over 12.1 then ex5.15 over that.. OTG+charge doesn't seem to be working, though my n7 doesn't seem to want to power my usb dac on its own either.. Anyone else having a similar problem? A caf build with timur's usb sounds great if I can get otg working again. Not only do I need the audio, but I need tasker to sense power>any to get the thing to wake up with my ignition again!

DT2W doesn't seem to be timing out after an hour, either.
[Nexus 7 (2013) Original Android Development] Holgott:
Hi, is this kernel usable with omnirom 6.0.1? Cant find an adequate info for omni
[Nexus 7 (2013) Original Android Development] litzer.rubicon:
Thank you very much!! It works on up to date Stock device, with previous up to date elementalx kernel.

For in dash integrated device works like a charm, just for auto power-on when engine start by fastboot oem off-mode-charge 0. At the official app the option usb-otg and fast charge are missing.

Cool stuff! [MENTION=4684315]flar2[/MENTION] needs to include this on the next update :) :good:
[Nexus 7 (2013) Original Android Development] rhipone:
hi!

i hope someone can help me

i got a nexus 7 2013, i got the latest CM firmware( nightly) and installed latest elementalx kernel.

I installed both( cm and normal), i only enable from settings fast charge and usb+otg and...doesnt work

I try Y cable( micro usb for tablet, usb to charger and female usb for USB pendrive, both cables from micro USB), also tried y cable ( both cables from usb to charger, micro usb for tablet and female for pendrive), and my last, only micro usb for pendrive and wireless charger for charger, but when is charging I place the micro usb stop charge...

can someone tell me if im doing something wrong? I appreciate any help, Im with this configuration like 6 months ago and never work...
[Nexus 7 (2013) Original Android Development] katsooba:
Hi guys

For some reason my nexus 7 wilp not have usb audio out when using latest pure nexus and the elementalx with the timur mod, i am using a hifimediy usb audio converter which works on my second nexus 7 flo and with my note 3, but not with the nexus 7 flo with the pure nexus rom and EX/timure

Any solutions?
[Nexus 7 (2013) Original Android Development] nigelhealy:
On 5.16 now!

First?

I edited to use f2fs

$ mount | grep f2fs
/dev/block/platform/msm_sdcc.1/by-name/cache /cache f2fs rw,seclabel,nosuid,nodev,noatime,nodiratime,background_gc=on,discard,user_xattr,acl,inline_data,extent_cache,active_logs=6 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs rw,seclabel,nosuid,nodev,noatime,nodiratime,background_gc=on,discard,user_xattr,acl,inline_data,extent_cache,active_logs=6 0 0
u0_a52@flo:/ $
[Nexus 7 (2013) Original Android Development] CPGOD:
Change log?
[Nexus 7 (2013) Original Android Development] nigelhealy:
I can't see an online text but in the app it shows it.

Observe your ROM need to be recent. I was July's ROMs already (Pure Nexus 0730).
[Nexus 7 (2013) Original Android Development] DaveImagery:
is that 5.16 made by flar2? Nothings getting flashed on my device, unless flar2 made it, or authorized it.
[Nexus 7 (2013) Original Android Development] nigelhealy:
5.16 is posted on elementalx.org its just been updated in this thread yet.

Go get it there.

Mine is just modified from the above to uncomment f2fs as I see some benefit but that's just an option for some who are interested. The change log I posted a little above.
[Nexus 7 (2013) Original Android Development] DaveImagery:
Thanks
[Nexus 7 (2013) Original Android Development] flar2:
Update!!!

I'm a bit late with posting this, very busy this week.

August security update + Timur fixed install mode from [MENTION=7366301]solidxsnake13224[/MENTION]. Regular USB fastcharge no longer works, I will look into it for the next update.

Do not install on ROM builds from before July or wifi may not work!

Download

ElementalX-N7-5.16

ElementalX-N7-5.16-cm

Changes:

-August security update

-Timur OTG+charge fixes (thanks [MENTION=7366301]solidxsnake13224[/MENTION] )

-update installer
[Nexus 7 (2013) Original Android Development] Ænimal:
Flashed 5.16 over previous build running latest pure nexus. In 'about' it says I'm still on 5.15..:confused:

EDIT: Same happening on secondary ROM..
[Nexus 7 (2013) Original Android Development] Z23:
No USB stick detected on latest stable CM! WLAN is working. Waiting for a quick solution, otherwise I have to go back to 5.15
[Nexus 7 (2013) Original Android Development] nigelhealy:
You either downloaded wrong version or flashed wrong version. I'm seeing 5.16 both ways attached screenshots
[Nexus 7 (2013) Original Android Development] Ænimal:
Clean flashed ROM and kernel which did the trick once more..
[Nexus 7 (2013) Original Android Development] Z23:
This update breaks USB OTG on CM13
[Nexus 7 (2013) Original Android Development] flar2:
I think I will revert the Timur changes, my wife is complaining of the same thing. I also want USB fastcharge back.

5.16 will stand as the version for people who need the fixed install-mode. 5.17 will be released tonight as the standard version.
[Nexus 7 (2013) Original Android Development] Woody:
We bitch and complain all day long and nothing. Your wife now has issues and you hop to it. That hurts man. Really hurts. :p

Hope all is well with you man. Thanks for your help and efforts, especially in the N6 threads today.
[Nexus 7 (2013) Original Android Development] flar2:
We have a 9 hour car ride tomorrow. I NEED to fix OTG tonight (for peace and sanity).
[Nexus 7 (2013) Original Android Development] flar2:
Update!!!

Revert Timur OTG fixups. This caused problems for non-OTG+charge setups.

Those who need the OTG+charge functionality for cars and other fixed-isntall setups should use 5.16, available on elementalx.org.

Do not install on earlier ROM builds from before July or wifi may not work!

Download

ElementalX-N7-5.17

ElementalX-N7-5.17-cm

Changes:

-revert fixed-install fixups
[Nexus 7 (2013) Original Android Development] vali_ics:
Working fine 5.17 with OTG.
[Nexus 7 (2013) Original Android Development] Efreak2004:
What Linux kernel version is this based on?
[Nexus 7 (2013) Original Android Development] beren:
are the 3g/4g usb dongles supported in otg mode?...or better rely on other ways to give internet access when in car? (my N7 in wifi only)
[Nexus 7 (2013) Original Android Development] springsdude:
Elementalx on Droid Maxx?

Does anyone know if I can install Elementalx on a Droid Maxx running Android 4.4.4 and SU6-7.3? I need otg plus charging option!
[Nexus 7 (2013) Original Android Development] vali_ics:
Best way to get internet in car would be the hot-spot from phone and you don't need any cable for tablet.

I don't know for sure if the data OTG will work.
[Nexus 7 (2013) Original Android Development] beren:
sure, but i already use otg+charge cable to connect usb dac and have a spare 4g dongle to use...

also tether drain a lot of battery from mobile phone.
[Nexus 7 (2013) Original Android Development] vali_ics:
Use a Wi-Fi charger or charging directly with cable.
[Nexus 7 (2013) Original Android Development] Natakranta:
No

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[Nexus 7 (2013) Original Android Development] zogger:
MOB30X

Can I use vers. 5.17 with Bad Boyz Nexus 7 Stock Rooted MOB30X w/ Aug security update?

:eek:
[Nexus 7 (2013) Original Android Development] dark2099:
Yes, I am using it just fine.
[Nexus 7 (2013) Original Android Development] nnwwtt:
Can't use 5.17-cm, the display and reaction time of the tablet is dead slow (something like 0.5 fps).

I've installed it on top of a properly working cm-13.0-20160807 after wiping & reformating the Nexus, with partitions (except for /system) set to f2fs. Left all options to default, only disabling the touch to wake function.
[Nexus 7 (2013) Original Android Development] flar2:
It should be fine, but I don't test on cm. Others?
[Nexus 7 (2013) Original Android Development] Z23:
All fine on clean cm13 install. But I did not reformat anything.
[Nexus 7 (2013) Original Android Development] xsoft7:
i installed on "The Pure Nexus Project ★ Substratum ★ [08/03/16], " with August security update, 5.17cm doesnt work.

same issues with 2FPS booting , like the user "nnwwtt" said
[Nexus 7 (2013) Original Android Development] idCyber:
Pure Nexus is AOSP so you need to flash 5.17 instead of 5.17cm
[Nexus 7 (2013) Original Android Development] redracer:
I just recently completed a fixed install and happened to use 5.16 . It's so close to being perfect for my needs. My only problem is that I can not get fastcharge to work with OTG + Charging. My nexus 7 2013 discharges slowly while driving if I don't have fastcharge. Right now I have to remove it from my dash at least once a week to externally charge it.

Is this still being worked on? I'd hate to have to fork over money to use timur's kernel if EX is going to work.

Thanks!
[Nexus 7 (2013) Original Android Development] flar2:
There is a fast charge option. I might need to be enabled before you plug in the cable, I might need to make a kernel change to ensure this is the case if you never unplug the device.
[Nexus 7 (2013) Original Android Development] redracer:
I do see the option and have it set to enabled. But, it does not seem to work for me so far. Even with plugging in the OTG cable into the tablet with tablet awake and power connected to the cable. Now, with the 5.17 kernel I do get fastcharge, but of course my devices do not come back after a power cycle.
[Nexus 7 (2013) Original Android Development] xsoft7:
thanks. that did help.

though, i have another issue- the "Double tap to wake" doesnt work (made sure it was enabled in the installation area)

solution please?

---------- Post added at 07:35 PM ---------- Previous post was at 07:35 PM ----------

thanks. that did help.

though, i have another issue- the "Double tap to wake" doesnt work (made sure it was enabled in the installation area)

solution please?
[Nexus 7 (2013) Original Android Development] flar2:
Are you rooted?
[Nexus 7 (2013) Original Android Development] xsoft7:
not yet.

should i apply root?
[Nexus 7 (2013) Original Android Development] vali_ics:
Yes, you need to flash SuperSU.
[Nexus 7 (2013) Original Android Development] xsoft7:
this is what i did:

installed elemental => booted fine

installed supersu 2.46.zip => animation bootloop

????
[Nexus 7 (2013) Original Android Development] theCroh:
2.76 is the latest SuperSU. Try that.
[Nexus 7 (2013) Original Android Development] xsoft7:
ok thanks, it helped.

now for other Question- i've enable quickcharge from the kernel - how fast should it charge? - I have a QC3.0 charger (from HTC 10) - and it charges max @1A.

so?
[Nexus 7 (2013) Original Android Development] flar2:
Root is needed if you want to change any settings. Make sure you use the latest SuperSU.
[Nexus 7 (2013) Original Android Development] umo4u:
Hi.i am on cm 13 snapshot 6.0.1/april security patch so which version of elemental x i should use ?:confused:
[Nexus 7 (2013) Original Android Development] vali_ics:
ElementalX-N7-5.14-cm
[Nexus 7 (2013) Original Android Development] gx211:
Express download fail just FYI thank you

I have the prompt to download the 5.17 update but it fails every time for the stock Android download. The custom download option also fails. I have the Nexus 7 2013 Wi-Fi only
[Nexus 7 (2013) Original Android Development] dezzo77:
I also have the download fail on my Nexus 7 2013 with TWRP and Stock Mm. Reported to developer long time ago along with other issues - never got a response.
[Nexus 7 (2013) Original Android Development] efan3719:
In what sense does it fail? Like an app crash? Or the download itself? I'm able to download it just fine after granting the proper storage permissions, but I'm on pure Nexus not stock. Could you guys maybe provide more details for the developer?
[Nexus 7 (2013) Original Android Development] flar2:
My server was overloaded a couple times in the past week, I think that's what it was.
[Nexus 7 (2013) Original Android Development] viti1091:
When I use otg + charge everything is ok, but charge unplugged it's still charging, any solution?
[Nexus 7 (2013) Original Android Development] CuTeBoi:
Fresh install of cm-13.0-20160820-SNAPSHOT-ZNH5YAO0J1-flo.zip with EX5.17-cm, and I made sure that the OTG charging was enabled.

OTG charging not working.
[Nexus 7 (2013) Original Android Development] Diljinder:
Hey [MENTION=4684315]flar2[/MENTION], is your website down? Can't get in.
[Nexus 7 (2013) Original Android Development] nigelhealy:
Works for me. Try again.

https://www.androidfilehost.com/?fid=24588232905722341
[Nexus 7 (2013) Original Android Development] r80ies:
Is this for CM or Stock? Elemental site is not responding is why I am asking.
[Nexus 7 (2013) Original Android Development] yuyuyuyu1:
anyone having issues with the OTG + charge function? Running Pure Nexus 6.0.1 and EX 5.17...did a clean install and no luck. Could it be the USB OTG hub? The one I bought originally worked..for a day..
[Nexus 7 (2013) Original Android Development] steeven01:
Use 5.16 works great with otg charging in my car install
[Nexus 7 (2013) Original Android Development] danil2033a:
Will ElementalX release for AOSP Android Nougat Nexus 2013 (deb)?
[Nexus 7 (2013) Original Android Development] Woody:
Don't want to speak for [MENTION=4684315]flar2[/MENTION], but since the N7 (wifi and deb) has been dropped from Google for Nougat, we won't get any official support from them. This means that we won't get kernel source that is directly related to the N7. Now there will most likely be ports and unofficial N ROMs, but at a kernel level it might not be as fluid experience as it was/is with MM. It can probably be done, but that is above my pay-grade.
[Nexus 7 (2013) Original Android Development] danil2033a:
Okay, thank you for the answer. Good to know
[Nexus 7 (2013) Original Android Development] kingtheproducer:
Hello,

I am currently rooted with no rom (Stock), Nexus 7 2013. I flashed the kernel via the Elemental X app.

My question is on the OTG feature. I have the Y-splitter OTG cable,( 1x Full Female USB which splits to 1x micro Female USB and 1x micro Male USB).

1x Full Female USB - Flash Drive attached

1x micro Female USB - Attached to cigarette lighter for power

1x micro Male USB - Connected to Nexus 7 (2013)

I installed the StickMount app, plug in a flask drive into the OTG cable and it does not see any mass storage devices.

Can someone please direct me to the right exit if I am a dumbass?

Thanks guys!
[Nexus 7 (2013) Original Android Development] combatdeity:
Thank you for the code.

Where would I make this edit for future releases?
[Nexus 7 (2013) Original Android Development] nigelhealy:
Boot/edit_ramdisk.sh

Uncomment the f2fs parts, scroll back in posts see and compare my attached with the official.
[Nexus 7 (2013) Original Android Development] kingtheproducer:
Geez, paid to support the app developer and no one can even help me our point me in the right direction.
[Nexus 7 (2013) Original Android Development] flar2:
I don't know how to help you. There are a lot of variations of cables, and it's been nearly three years since I developed and experimented with the OTG+charge feature.
[Nexus 7 (2013) Original Android Development] kingtheproducer:
Wow, thanks for the response flar2.

I am not joking right now, but it JUST started working. This was due to me having a right angle micro MALE USB extension from the OTG cable connected to my tablet, which did not pass enough power or broke data connection. Taking off the right angle extension solved the issue.

FYI, I did not need StickMount to access any flash drives as well, even when StickMount and other apps stated that OTG was not enabled.

I never said that this was an issue with the kernel, just needed help. I appreciate the quick response, but sometimes, us dumb asses need assurance on what we are doing.

Anyways, all is working as intended and I am glad I purchased ElementalX.

Great Job!
[Nexus 7 (2013) Original Android Development] mjc2251:
anybody tried installing 5.17 with the aosp nougat build?
[Nexus 7 (2013) Original Android Development] htb2050:
Why would it even work?
[Nexus 7 (2013) Original Android Development] hasselol:
It seems that DT2W does not work when you use powerbutton to turn off screen, despite disabling "disable DT2W on pwr lock". (In other words, power button DOES disable DT2W, when set NOT to)

Tried both 5.16 and 5.17, using CM13.0-20160820-SNAPSHOT-ZNH5YAO0J1-flo build.

Opening Kernel Adiutor shows that DT2W is set to Half and not full, with no possibility to change.

Tried uninstalling Kernel Adiutor and reflashing 5.16 with no success.
[Nexus 7 (2013) Original Android Development] Nomad1600:
I just turned off screen with my Flo running latest Pure Nexus. DT2W works for me.
[Nexus 7 (2013) Original Android Development] flar2:
Kernel Adiutor is the problem. Use EX Kernel Manager and you will have full control over everything.
[Nexus 7 (2013) Original Android Development] hasselol:
I uninstalled Kernel Aduitor and reflashed the kernel, still the same issue. Editing the conf files does not seem to work either.

But since poster before you said it works for him/her, I'll assume there something with my setup :)

Thanks for reply!
[Nexus 7 (2013) Original Android Development] Extreemator:
Will be there an Android 7.0 update? I even heard nexus 5 6.0's kernel even works on 7.0. So there should be an easy fix for nexus 7 kernel too
[Nexus 7 (2013) Original Android Development] mousio:
Frankly, this is what's keeping me from flashing the Nougat ROM… cannot miss OTG+charge – other than that, I also use DT2W, S2S, Battery Life Extender and thermal throttling.
[Nexus 7 (2013) Original Android Development] binuralka:
Hello,

I am on the latest pure nexus + latest elem. kernel 5.17...

And my question is: if I use force doze (app that gets me to doze mode right after screen off) and I use only double-tap-2-wake (active time: 15 minutes) -> how does it go together? do you have any experience?
[Nexus 7 (2013) Original Android Development] gangrenius:
Is there gonna be a custom kernel for 7.0_I just installed it from devswift1 and its amazing !
[Nexus 7 (2013) Original Android Development] flar2:
Gestures are completely in kernel and have no relation to doze mode.

Does 7.0 work perfectly? I'm not interested in anything hacky, ElementalX is meant for 100% stable and fully functional usage
[Nexus 7 (2013) Original Android Development] Cryptecks:
I will have to say, I am very, very pleasantly surprised by how solid it already is personally. That ROM + micro Gapps + supersu 2.78 is very, very solid. With the addition of a solid aftermarket kernel, I would say it would work perfectly.
[Nexus 7 (2013) Original Android Development] drlenny:
Agreed. Been running a few days and is very solid. This is the first time vanilla AOSP has been feature-filled enough for me to flash while I way for my favorite ROMs to drop.
[Nexus 7 (2013) Original Android Development] BladeRider:
Hi [MENTION=4684315]flar2[/MENTION], I have tested the AOSP ROM on the Nexus 7 LTE and it is quite smooth and solid. And I believe the community will be very happy to have you invest your time into the kernel development for the Android 7.0. Last but not least, the decision is up to you and we all love your kernel!!! :D
[Nexus 7 (2013) Original Android Development] Dr Zoidberg:
I can also confirm that 7.0 is running exceptionally well on deb. I was reluctant to install, but everything has been smooth.
[Nexus 7 (2013) Original Android Development] gangrenius:
I've been running it for 5 days and not one bug yet, I think it is way better than stock 6.
[Nexus 7 (2013) Original Android Development] Axel85:
Hi, I don't know if it's kernel related question, but does elementalx support USB audio headphones? My itek araf headphones,based on cmedia 108 cm108 audio processor , doesn't work on Nexus 7. They start to work with many disturbs and stops after 2 seconds. Sometimes I can get them works for more but with distorted audio. In my Nexus 5 they works great. Could it be the USB port not delivering enough power?
[Nexus 7 (2013) Original Android Development] DaveImagery:
I want to give 7.0 a try, but I can't live without my ElementalX. I hope it does in fact work with it.