yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) Q&A] k23m:
Yes, for LOS14.1 just install ElementalX-N7-6.17. "Optional" means that you need to activate it during setup.

First try "OTG+charge mode" with your existing LOS. If it does not work AND you don't like the no-battery mod, then do:

install TWRP, backup your LOS and copy the backup to a PC

install stock 6.0.1 - RESTOCK simplifies the process

install ElementalX-N7-5.16 ("For fixed-install - Complete working OTG+charge mode")

:highfive:
[Nexus 7 (2013) Q&A] vestaviascott:
OK, I don't think my existing LOS (14.1 as indicated in my opening post screenshot) has an OTG+charge mode option, so I expect what you mean by that is to install ElementalX. To be certain, which version are you referring to? ElementalX-N7-6.17 or ElementalX-N7-5.16-cm (I'm assuming "cm" stands for "charge mode") or something else?

After checking out the video, it looks pretty interesting but my concern is that the tablet will basically have to reboot with every time the car engine stop and starts? Unless there is something I'm missing?
[Nexus 7 (2013) Q&A] vestaviascott:
The "no battery" option, the more I read about it, may just be the way to go. I just need to figure out where/how to tap a source of constant power to supply to the tablet. I've just purchased a "new" N7 battery from ebay to use as a backup in the event I screw mine up doing this mod. I thought I might be able to buy a ready made cable but no searches returned on ebay for that.

One thing I'm still not certain about is if the no battery option compromises in any way, my ability to connect an OTG device to the tablet. Because the carplay dongle adapter MUST be connected to tablet and its the heart of my carplay solution I'm doing all this for.

With that done, I suppose I'd just need the swipe/touch to wake functionality. Is there an easy way to get that added as a one-click install through the Google Play store over top of my existing LOS 14.1?
[Nexus 7 (2013) Q&A] k23m:
Let's clarify:

ElementalX-N7-6.17 - use with LOS14.1 or stock 6.0.1

ElementalX-N7-5.16 - use with stock 6.0.1

ElementalX-N7-5.16-cm - use with Cyanogenmod (obsolete version of LOS), don't consider it

cm = Cyanogenmod, not "charge mode"

no-battery mod power connection --> ACC/ACCESSORY ignition position or car-battery-direct (*)

doubletap2wake - no Play Store alternative

OTG - no conflict with the no-battery mod

The no-battery mod is really recommended as Li-po batteries do not last long in cars. However without the mod, make sure to activate "Battery life extender" in the kernel's setup.

(*) in direct connection, N7 will drain the car battery after ~2 months of parking (50mA @ screen off) if you don't turn it off.
[Nexus 7 (2013) Q&A] vestaviascott:
Thanks for the help. So my task is to install ElementalX-N7-6.17 onto my N7.

I could not find ElementalX-N7-6.17 through a Play Store search, so I'm assuming maybe I will need to download the ROM to a PC/Mac (I have Macs, no PCs) and then connect the N7 to the PC and unzip/extract/copy the 6.17 files over to the N7, disconnect and then restart the N7 to finish the install.

Is that about right? I'm sure I'm oversimplifying. Or should I simply be able to direct install the EX 6.17 software onto my device through the Play Store?

Update: I found a video that seems to be on point for the level I'm at (total newbie to modding devices) and it appears I first need to install a "Custom Recovery" app onto my N7, Based on your suggestions above, I expect that's the TWRP app?

https://www.youtube.com/watch?v=RIi4KXgZYsI
[Nexus 7 (2013) Q&A] vestaviascott:
How? Do I need to use TWRP for this or should I just be able to do a Play Store search for "ElementalX-N7-6.17" and install it. I'm guessing not, because that search does not appear to return the result. In the response below, it appears to indicate if the above fails, THEN use TWRP, so I'm stuck at this point because after installing TWRP, the "TWRP Flash" option does not offer ElementalX-N7-6.17 as an option. It does offer several "device images" to choose from so I choose what appears to be the latest one at the top of the list "twrp-3.3.1-0-flo.img" which takes me to a download page. After downloading the img, opening it just appears to have downloaded a web page, not an img.
[Nexus 7 (2013) Q&A] vestaviascott:
Kinda spinning in circles here, but after finding no mirrors available to download ElementalX-N7-6.17, I installed "Root Checker" and find that it says "Sorry! Root access is not properly installed on this device"

Maybe I need that for above stuff to work? I probably just need to walk away and come back later. Confused.

Update: I was finally able to get a mirror to download the ElementalX-N7-6.17.zip to my Nexus. Appreciate any help on what to do next. Since this is just a zip file and does not appear to contain an installer, I suppose I need one. Not sure which or how. Thanks in advance for clearing the path for me to get this installed.
[Nexus 7 (2013) Q&A] k23m:
I assume that the previous N7 owner had installed TWRP already to flash LOS, if so please do:

copy ElementalX-N7-6.17.zip to N7

boot TWRP

in TWRP "install" the zip and preset desired ElementalX options

boot system - all done

If the above does not work for some reason, here is the complete setup:

copy ElementalX-N7-6.17.zip to N7

setup fastboot on Mac

boot N7 in fastboot mode and connect it to your Mac

install TWRP

boot TWRP

in TWRP "install" the zip and preset desired ElementalX options

boot system - all done

:fingers-crossed:
[Nexus 7 (2013) Q&A] vestaviascott:
If they did, they must have deleted it. I've installed it via the Play Store.

I've downloaded the zip via the N7 browser. Check.

Assume by "boot" you mean just launch the application on the N7. Done.

There is no "install" button per say, there are 3 options I see, they are:

TWRP Flash

Backup Existing Recovery

Network Statistics

Opening TWRP Flash it asks me to "Select Device". I choose "Asus Nexus 7 2013 WI-FI -- Flo

Next screen shows "Current Device: flo" then "Select a device image to download", there are several files labeled "twrp-x.x.x-0-flo.img".

Not sure what to do next, there is nowhere there to install the zip I downloaded. Perhaps it has to be placed in a certain directory.

ME >>> :fingers-crossed:
[Nexus 7 (2013) Q&A] Genestealer:
You've got a lot to learn. Turn off your N7, Boot into Recovery(TWRP) by holding POWER an Volume Up buttons simultaneously. Install the elementalkernel.zip file from there. There are tutorials around the web with complete step by step instructions that you should check out.
[Nexus 7 (2013) Q&A] vestaviascott:
Perfect, thanks. And also thanks to K23m for extreme patience and the PM sent last night which essentially said the same thing. The missing link was:

Done and now I'm upgraded. I can't believe how simple it was once I understood exactly how to do it. They key was what "Boot" actually means and specifically "Boot into Recovery" and how to do it with POWER and VOLUME UP.
[Nexus 7 (2013) Q&A] vestaviascott:
Can’t say enough how much I appreciate the help on this leading me through my first attempt at customizing an OS.

The tablet now wakes up when the screen is tapped. I can’t yet get swipe to wake or swipe to sleep working (I did enable those options during install) but most importantly the tablet now charges in my car while the car play adapter is connected to USB.

I have the screen sleep set at max 30 mins and it still steadily gains charge faster than I expected with CarPlay connected and audio output from the 3.5mm audio out. As a bonus, if the tablet is sleeping, it wakes as soon as I turn in the car due to fact it’s connected via the accessory power (cigarette lighter socket with 2.4amp USB adapter plugged in).

One interesting thing is that the OTG device (the CarPlay dongle) does not appear to get power from the battery. It only works when I plug a usb power source into the pigtail adjacent to the dongle. I suppose this is normal?

Some things I’d still like to do I’m not sure if possible via the elementalX options:

1) Force sleep when the power is cut.

2) get swipe to sleep to work

3)
[Nexus 7 (2013) Q&A] Genestealer:
OTG+Charge mode disables self-powered OTG, external power source required.

For sleep when power is cut look into apps like Tasker or MacroDroid.

Swipe to sleep, make sure you doing it right. I'm using ElementalX 7.0, it's a quick swipe LEFT on the NAV bar, not status/notification bar. Some other kernel i used long ago (might have been older elementalx) was a swipe right on notification bar. Try different swiping combinations.
[Nexus 7 (2013) Q&A] vestaviascott:
Thanks. I'll check my gestures and location for swipe to sleep. On the self-powered OTG issue, I believe its confusing my "Carlinkit wireless carplay dongle" a bit - which the developer is actively updating to address issues so maybe its the dongle and not the new settings on the tablet or maybe its a combination. Its like the dongle is not getting power some of the time despite that its connected the exact same as a previous driving session where it worked as expected. This dongle connects via Wifi to the phone. And I'm using a 3 way splitter to allow the dongle and a power cable to be connected at the same time.

Between driving sessions, its hit or miss whether it connects or not. I had to reboot the tablet once to get the dongle to come alive. I'm going to have to troubleshoot what's going on. I haven't had the dongle long enough to know if the problem is with it or with the new settings on the table for OTG_Charge mode.

I suppose it could be one of a few things:

- The tablet

- The dongle

- The cable

- The Power source (a 2 port USB adapter connected to the 12 volt cigarette lighter socket)
[Nexus 7 (2013) Q&A] vestaviascott:
FWIW, here's my new carplay setup and thanks to you guys help:

The tablet fits just about perfect in that location. I currently have the two left and right dashboard panel covers slightly ajar and the bottom tablet corners wedge fit behind them. The tablet hasn't budged all day while driving. I'm going to cut out recesses in those panels to allow the tablet to slide in there. In person, It actually appears close to a factory setup but for USB and audio cables coming off the tablet - those are routed behind those cover plates out of sight.
[Nexus 7 (2013) Q&A] vestaviascott:
I spent some more time today working with the tablet after the ElementalX upgrade and I believe I understand what's happening now with the connected OTG device failing to come back online after power shut off.

So, since the OTG device is now getting its power from the same cable that's now responsible for charging the N7 (rather than from the battery), when I cut off my car engine, the accessory power source is shut off and the OTG device loses power abruptly. With battery power it would not have to deal with this every time the car engine/accessory power is stopped/started.

So, what appears to be happening is that the OTG device does not like losing power in that way and the only way I can get it to connect again once that happens, is to reboot the Nexus.

I suppose the "No Battery" hack would resolve the issue, since the OTG device would never be shut down and should remain in a ready state at all times.

Short of that, I guess I'll just have to keep rebooting the N7 whenever the dongle crashes. I've tried shutting down the "Autokit" application before shutting down the car engine, but the device is still crashing when power is lost.
[Nexus 7 (2013) Q&A] vestaviascott:
After trying using a portable battery pack, itself being charged, connected to the charge line of my OTG+Charge Y connector, and seeing that the starter surge still breaks the power to the tablet and the OTG dongle, even with the battery pack in place, I'm back to the same problem of not getting consistent sync on the dongle due to power cycling.

I'm not sure what to try next. Perhaps I'm at the point where I just need to bite the bullet and do the no battery mod, then wire it to constant 12v power source on the car. Under that setup, with the dongle and the tablet always getting juice from the battery, any speculation how many days would it take for the battery to be drained to the point it would no longer start the car? Assuming I'm not driving the car for that theoretical length of time.
[Nexus 7 (2013) Q&A] vestaviascott:
Thanks again for the help k23m, I have a question about using OTG with the no battery mod. My only issue with this dongle adapter is that it loses sync with the tablet when power is cut while it has a good connection/sync. It connects to my phone "automatically" via its own Wifi network. However, when it loses the OTG charge signal, such as when the car is turned off, or when the car is started and power is temporarily shut off to all circuits but the starter, it's hit or miss whether it can recover without requiring a reboot of the N7. A reboot resolves the issue 100% of the time.

My question is, with that understanding of what's happening, would the No Battery mod be susceptible to the same power/voltage drop when the car is started? Even if the tablet is hotwired to the battery?
[Nexus 7 (2013) Q&A] k23m:
It will depend on the quality of your 12-to-5V regulator, which should be overrated and deliver, say 3A @5V. If you find a 5V power supply specified for input from 9V to around 15V, then it is sure to work. I'd place the step-down regulator as close to N7 as possible and wire it to the car battery with a quality (thick copper) cable.

Test it out w/o the mod, replace the charger with a better power supply and move it from ACC to the battery. See how it goes when the car is started.
[Nexus 7 (2013) Q&A] vestaviascott:
Thanks k23m, your answers always pack a punch, so I'm going to have a go at unpacking them, lol.

1) "It will depend on the quality of your 12-to-5V regulator", I'm guessing you mean if I had such a thing? Or is there one built into the USB charger adapter thats currently connected to my cigarette lighter socket?

2) "If you find a 5V power supply specified for input from 9V to around 15V, then it is sure to work", I assume you mean a battery pack different from the Jackery lipstick size battery pack I mentioned earlier? Or do you mean a step down voltage regulator or buck converter? Can you suggest an example?

3) "then it is sure to work", you mean that if I obtain & employ such a 12-to-5v regulator before the battery pack, I should not have a temporary loss of power on my tablet and OTG connected dongle when the car is started?
[Nexus 7 (2013) Q&A] vestaviascott:
Maybe something like this would prevent the voltage drop during ignition? https://www.amazon.com/Converter-DROK-Regulator-Inverter-Transformer/dp/B01NALDSJ0

IIUYC, I should be able to insert a Fuse tap to a 12v constant source (like my dome lights or power seats), and run those leads into the input end of this device, then supply power to my tablet+OTG device with the USB output side and regardless of the voltage drop during ignition (as long as it does not drop below 9 volts which is the input rating of this buck converter), I should always have a steady 5v 5amp going to the connected devices. Sound right?
[Nexus 7 (2013) Q&A] k23m:
:)

cigarette lighter socket chargers have poor specs and can not be used for the mod

"the Jackery lipstick size battery pack" sounds like another poor specs power source

why don't you try eg Xiaomi 10Ah quality power bank?

the Amazon power module is OK but this https://www.ebay.com/itm/162448848369 one is cheaper and operates even from lower input of 6V (although it's specs may be exaggerated)

"then it is sure to work" means to deliver stable power when the car is started

when the car is started, battery voltage drops to 9-10V. To be absolutely sure, measure it before selecting and purchasing power modules.
[Nexus 7 (2013) Q&A] vestaviascott:
Update: To continue my testing I've just received my second N7 Gen 2 device from Ebay. This one appears to have stock Android 6.0.1 (No lineage OS). I've verified that this tablet properly mounts the carplay dongle through repeated tests of plugging and unplugging the OTG cable connected to the dongle and tablet.

So, I'm ready to continue testing on this to enable OTG+Charge mode. Since I have an N7 already running the ElementalX 6.17 (Has Android 7.1 and Lineage OS), I can either install the same version on this tablet first (to verify that the remount OTG issue is problem with that tablet or if it occurs on BOTH tablets, the issue is likely with that version of the Elemental X .617)...

Or. . . I can install the older 5.19 on this tablet first, check the OTG+charge performance and see if it still has issues with remounting the OTG device and if so, upgrade to the 6.17 and test again.

I'm leaning in that direction. Can someone confirm it should be easy to upgrade from ElementalX 5.19 to 6.17? I'd like to test both versions to see if the problem persists across two different tablets.

Update: I've downloaded both versions. Booted into TWRP and just noticed (no surprise) this tablet's "LOCK STATE" is "locked". I didn't have to unlock the other N7 since it was already unlocked. Researching now how to unlock the tablet before moving on.
[Nexus 7 (2013) Q&A] vestaviascott:
Update on testing with my first N7 with the ElementalX 6.17. Some encouraging news!

While I wait on my new 10000 mAh battery to arrive, I decided to try another power bank I've had for several years (actually purchased 6 years ago!):

its same 3000mAh as the Jackery power bank and also supports pass through charging, BUT apparently its circuitry is more advanced than the jackery, because it does not react at all to Ignition ON or OFF. Therefore, as long as I keep that powerbank charging (via the car battery) or as long as it has power to charge the N7, I have continuous uninterruped Carplay with this setup. Again, not the final solution, but in my limited testing thus far, a workable solution. And in the event I need to top off this powerbank, much easier to grab it and take inside to top off charge VS having to remove the tablet from the car and charge it.
[Nexus 7 (2013) Q&A] k23m:
A second N7, for backup or home use? Check if it is the latest 6.0.1 - MOB30X.

To unlock it:

boot N7 in fastboot mode

connect it to your PC

on PC run this command: fastboot oem unlock

To setup fastboot on Mac check my earlier post.

The lipstick-sized power banks always lie about capacity. They use 2Ah batteries. As battery producers also lie about it, the real, usable capacity is around 1.5Ah. They can never fully recharge Nexus' 4Ah battery.

:highfive:
[Nexus 7 (2013) Q&A] vestaviascott:
Yep, my larger power bank just arrived via Amazon. Its a 10000mAh (stated but I get your point on over estimated claims). I also got the Buck transformer in same package. I'm charging the power bank now. While that's happening, I'll unlock the 2nd N7, its just a backup or maybe primary depending on how it works out. I have two N7 2013's and I should be receiving a 2012 N7 this weekend. Got it for $20 shipped from Ebay, just to have a few options to play around with for this project.
[Nexus 7 (2013) Q&A] vestaviascott:
Yes, exactly that version. Its a spare N7, but maybe nicer than the other one I have in terms of usage.

Would you start out with the 5.19 version, try that first, then work up to 6.17 or go direct to 6.17 and go back to 5.19 if it still doesn't mount the USB after power cycle?
[Nexus 7 (2013) Q&A] k23m:
I'd just install 6.17. I don't think the power cycle issue can be resolved with software.
[Nexus 7 (2013) Q&A] vestaviascott:
Good advice. Would you be inclined to guess the issue is with the tablet or with the dongle?
[Nexus 7 (2013) Q&A] k23m:
Well, the issue is with power loss itself :)

In the OTG+charge mode, the dongle is directly powered from your car. To fix the issue in software, an incredible programming acrobatics involving real-time voltage monitoring would be required. The kernel would need to detect a slight car battery voltage decline and immediately exit the OTG+charge mode to provide power supply from N7's battery to the dongle. This is simply not feasible.
[Nexus 7 (2013) Q&A] vestaviascott:
Good point, so I suppose the external power pack battery is the way to do it then. Along those lines, maybe this has been asked and answered so forgive me if it has but in the scenario where you have a "No Battery" modified N7, does the dongle get power from the N7 or via OTG exernal power?
[Nexus 7 (2013) Q&A] k23m:
With no-battery setup you can disable OTG+charge mode and supply the dongle from your N7. The stability of no-battery power supply is still an issue, of course. You'd better test out the new power module before going ahead with the battery mod.

Before you ask :)

- "test out the new power module" means - use it instead of the power bank and verify that it delivers sufficient power/voltage when starting the car.
[Nexus 7 (2013) Q&A] nexus7carider:
Sorry to resurrect this thread, but would a hardwire kit for a dashcam work when connected to a no battery mod nexus?

Something like this? link

It would let the car battery power the nexus and allow it to shutdown to stay on, until the car is on, then it would switch over to a live circuit. I'm hoping to connect it to a delayed fuse like my windows to allow the nexus 7, time to power off and then turning the power back on, would turn it back on....... Otherwise, I'm ok with it running until the battery protector shuts it off.
[Samsung Galaxy S8 Questions and Answers] Verkana:
Hi there! So, I’m finding conflicting information all over about this, so I figured it’d be better to ask directly. I’m trying to put a custom rom on a g950u s8, and some sites tell me that a safestrap is the only way to go about this, and others say TWRP will work. The real question is though, I’m trying to get an AOSP rom on it and have no idea how to go about it. I’m used to having xiaomi phones where all I needed to do was unlock bootloader, flash TWRP, then flash zip. If not possible, is there any way to convert g950u version to G950f? Thanks, and sorry for the stupid questions!
[Samsung Galaxy S8 Questions and Answers] TheMadScientist:
You cannot convert it to a 950f. The bootloader on a U model is locked. You can root it. And you can install safestrap you can run one of the modified stock ROMs we have and flash certain zips like viper4 Android. No magisk. No Los AOSP cr no custom roms
[Samsung Galaxy S8 Questions and Answers] SP6RK:
By any chance do you have a link to rooting the u?

Edit wrong phone.
[Samsung Galaxy S8 Questions and Answers] TheMadScientist:
The u u1 and w can be found under the extreme syndicate thread
[8525, TyTN, MDA Vario II, JasJam ROM Development] KRZTF:
hello everyone!

since i bought a microSDHC storage card (4GB class 6) for my hermes, i am having problems with accessing the files i store on it....

i usually format the card in the device (using StorageTools or using WM5Storage in WindowsXP) and afterwards copy various files and folders on the card. when at first, everything seems tow ork great, after some time i am having troubles accessing the files. when trying to access the storage card with TOTAL COMANDER for example, i get following error:

"Error 13 changing to dir"

after reseting the device or ejecting and inserting the storage card again, it seems to work again...

is anyone familiar with such kind of problem?

is my storage card broken?

regards,krz
[8525, TyTN, MDA Vario II, JasJam ROM Development] komanguy:
Hum!

I think you should first repair your disk with CHKDSK on Windows.

Try it and report.

Cheers
[8525, TyTN, MDA Vario II, JasJam ROM Development] KRZTF:
thank you komanguy!

i should have added, that i already did that too.

CHKDSK did report couple of errors (sorry, i forgot which) and fixed it.

after that, i formated.

everything seemed ok, and the out of a sudden... problems again!

i will try some more things and will report back.

if anyone else got a hint, i would be grateful!

regards.krz
[8525, TyTN, MDA Vario II, JasJam ROM Development] Carty:
Maybe SDHC drivers are not proper on your device? Try partitioning your SD card.

Regards,

Carty..