OTG Power Lock - Nexus 7 (2013) General

Hey Guys,
Ive written a small app that will prevent your Device from putting your "mounted" OTG Device to sleep. This was an issue for me because my Nexus 7 would put my Mini Micro SD Reader (http://www.kickstarter.com/projects/andyfei/mini-microsd-reader-for-android-smartphones-and-ta), to sleep and wouldn't re-power it when the device was woken up.
Its uploading to Google Play, but ive attached it to this post aswell.
Please give me some feedback guys, and Ill try to address any issues you find.
Thanks :victory:
XDA:DevDB Information
OTG Power Lock, a Tool/Utility for the Nexus 7 (2013)
Contributors
Angelus89
Version Information
Status: Alpha
Current Stable Version: 1.0
Stable Release Date: 2013-09-28
Created 2013-09-27
Last Updated 2013-09-27

i am getting up to the news right at the moment .. so going to give it a try to see how good it is .. off course, i will post my response once find it good

That card reader looks awesome, could you tell me where could I order it?

le grande magnetto said:
That card reader looks awesome, could you tell me where could I order it?
Click to expand...
Click to collapse
http://www.meenova.com/
also:
Corresponding thread

I haven't tested the app as I don't have an otg card reader yet but a concern which u may of put into the app is, for battery life's sake can u turn the power on and off to the reader.
Sent from my Nexus 7 (2013) using XDA Premium [HD], for the man who wants to use the best tablet screen ever made.

Well, thanks for the effort, but it didn't work on my N7. I am stock, rooted. Basically, no change. As soon as the tablet slept, the activity light on the reader went out. Waking it up, the light did not come back on. I tried copying a file from the reader and it errored out. I started, then tried stopping the service in your app, then restarting it. It still didn't work.
Did I miss anything?

Has there been anything further on this? I would really love to see this working.

This was absolutely perfect for me! I was searching for this a long time.
Angelus89, i am developing a app that needs to keep the OTG on full time, but i can't start your service from my app.
It's possible to tell how can i implement this on my app ?
Thank you very much!

Related

[SOLVED] Why does my SD card mount even in "Charge Mode"

Everytime I connect my phone via USB cable to my PC it mounts the SD card in USB Storage mode.
Its not a deal breaker but definitely can be an inconvenience when trying to use the phone while charging on a PC (which is how I use my phone at work).
Anyone else run into and find a fix for this?
I kinda remember seeing someone mention a weird solution to a similar problem (maybe regarding PC charging?) that entailed changing the screen timeout.
Phone Info:
Droid 2
ROM: Fission 1.1 (installed last night over a freshly SBF-ed phone)
I see at least one other person is experiencing this:
http://forum.xda-developers.com/showpost.php?p=8747858&postcount=56
Tried swapping out SD card for a freshly formatted one and still seeing the same issue. So I'm going to rule out the SD card being at fault.
aplus01 said:
Everytime I connect my phone via USB cable to my PC it mounts the SD card in USB Storage mode.
Its not a deal breaker but definitely can be an inconvenience when trying to use the phone while charging on a PC (which is how I use my phone at work).
Anyone else run into and find a fix for this?
I kinda remember seeing someone mention a weird solution to a similar problem (maybe regarding PC charging?) that entailed changing the screen timeout.
Phone Info:
Droid 2
ROM: Fission 1.1 (installed last night over a freshly SBF-ed phone)
I see at least one other person is experiencing this:
http://forum.xda-developers.com/showpost.php?p=8747858&postcount=56
Tried swapping out SD card for a freshly formatted one and still seeing the same issue. So I'm going to rule out the SD card being at fault.
Click to expand...
Click to collapse
AngDroid, part of the development team (Team DeFuse), has asked that bugs in regards to the fission rom be posted at Droid Life. It is hard for the team to manage multiple forums. Please make a post here :http://forum.droid-life.com/viewforum.php?f=61&sid=799e04fe62c2af5a7682b052087fe5aa and you will have a greater chance at getting a resolution.
I had this problem this weekend, but I'm running the stock ROM.
Some googling didn't turn up much, other than that certain programs would cause this, none of which I had. If i had the original link I'd post it. I think i read a lot about it on the Incredible forums here.. maybe?
Anyway, the only thing I had changed recently was installing Winamp.
It turned out that it was indeed Winamp. Uninstalled it and all works fine now.
Grrr! Wish I had checked this sooner. I rolled back to a nandroid backup. I was getting so fed up with it not working correctly. Glad to know it wasn't the Fission ROM. Though I kinda didn't think it was since I was having that issue even before going from the beta to 1.1.
Oh well, guess I'll try it again later. Tired of going through settings for apps. For now.
Thanks for the response, Lithoss.
Wonder if the winamp team knows their app prevents charging the Droid 2 via PC? It's a great app otherwise.
theecho said:
AngDroid, part of the development team (Team DeFuse), has asked that bugs in regards to the fission rom be posted at Droid Life. It is hard for the team to manage multiple forums. Please make a post here :http://forum.droid-life.com/viewforum.php?f=61&sid=799e04fe62c2af5a7682b052087fe5aa and you will have a greater chance at getting a resolution.
Click to expand...
Click to collapse
Thanks for the heads up. Didn't know the official Fission rom forum was on droid-life. Will have to bookmark that.
aplus01 said:
Grrr! Wish I had checked this sooner. I rolled back to a nandroid backup. I was getting so fed up with it not working correctly. Glad to know it wasn't the Fission ROM. Though I kinda didn't think it was since I was having that issue even before going from the beta to 1.1.
Oh well, guess I'll try it again later. Tired of going through settings for apps. For now.
Thanks for the response, Lithoss.
Wonder if the winamp team knows their app prevents charging the Droid 2 via PC? It's a great app otherwise.
Click to expand...
Click to collapse
No problem.
I dont think it prevents charging.... it just mounts it too when it shouldn't.
I emailed them about it through the link in the market.. so if they read their email they should know
You're right. It does charge properly. It doesn't allow access to SD card resources though. Which means no podcasts while hooked up via USB. Deal breaker!
Hope they get it figured out soon. That was a pretty sweet interface. I liked it better than cubed (^3).
Lithoss said:
No problem.
I dont think it prevents charging.... it just mounts it too when it shouldn't.
I emailed them about it through the link in the market.. so if they read their email they should know
Click to expand...
Click to collapse
This is toggleable behavior. Check the settings in winamp and you will see something to the effect of automatically mount SD card when connected. If you uncheck that, it shouldn't do it...
@natez0r - Thanks for the explanation. Guess this time it really is a feature and not a bug!
Guess I'll give winamp another shot since that "feature" can be turned off.
natez0r said:
This is toggleable behavior. Check the settings in winamp and you will see something to the effect of automatically mount SD card when connected. If you uncheck that, it shouldn't do it...
Click to expand...
Click to collapse
What is the point of this option? seems pretty useless to me...
Please put [SOLVED] in your thread title. Thanks
Roger that!
Can I close this?
Lithoss said:
What is the point of this option? seems pretty useless to me...
Click to expand...
Click to collapse
If I were to guess, it would be for making it easier to sync with winamp when you plug the phone into your computer. DoubleTwist also has this option, but i feel like it is more of a nuisance than anything.
@theimpaler747 - Yes, my question is answered.
aplus01 said:
@theimpaler747 - Yes, my question is answered.
Click to expand...
Click to collapse
Cool, I'll close it

Android Turning itself off?

Hi Guys,
Since putting Andriod on my mini, it seems when im using it... it works happily, but as soon as lock it. 5minutes later, it will reboot itself. And it will continue to do this every 5mins or so, unless I use it.
Any ideas whats happening? Also great work in getting Android on the Mini.
thanks,
John
Hi!
I had the same problem with Android 2.1. But the phone didn't reboot with Froyo (2.2) from Schlund. You can download it here: http://forum.xda-developers.com/showpost.php?p=11376905&postcount=664
Does this also have the WiFi fix by robin?
And thanks for letting me know.
Ah, okay, you also want to have wifi. Unfortunately the wifi fix does not work yet in Schlunds image. I think the a few people are working on this, as the problem is also mentioned in the developers forum http://forum.xda-developers.com/showthread.php?t=983735. Until the problem is solved you have to stick to Android 2.1 from Cotulla.
Ok, thank you for letting me know. I will watch that other post. Again, many thanks. Least I know this isn't just something on my system.
hey excuse me im new to this but can you please refer me to the link to install android on my htc hd mini please!!! i didnt know this was possible
nitrouspromonyc said:
hey excuse me im new to this but can you please refer me to the link to install android on my htc hd mini please!!! i didnt know this was possible
Click to expand...
Click to collapse
Welcome!
Android is possible on HTC Hd mini, but a lot of things do not work yet. Installation hints and download mirrors are given in thsi thread: http://forum.xda-developers.com/showthread.php?t=952996
Please consider that it's still work in progress! Do not annoy the developers with questions about things which do not work. They are aware of this. However you can play around with android. Enjoy it!
Another one ...
Hi guys!
Here's another experience with HD mini android - with lock into black: I have quite the same issue with 2.2 Froyo (and possibly happened with 2.1 also). I start android, boots it within 1-2 minutes from Kingston 4 GB, no big problems, using it for 1-2 hours, playing, etc. But when I lock it and leave it ... things turns nasty sometimes. I can not wake it up again using the Pwr button as it's meant to be, the device does not respond anymore. I have to take out the battery to restart it again.
That's it. I hope these reported cases are helping the developers.

[App] Power Switch - screen off by closing your case

Guys, im the developer of Power Switch, an app that switches off your tablet's screen when you shut the case.
The main thread can be found here:
http://forum.xda-developers.com/showthread.php?t=1277712
Ive had reports of problems with the tab's light sensor, so would appreciate some debugging feedback.
You can use the lite version to test, it has all the features, but just wont save as much juice.
Thanks in advance. Feel free to reply here or in the main thread, i read both regularly!
Do you guys not have a light sensor or something?
ftgg99 said:
Do you guys not have a light sensor or something?
Click to expand...
Click to collapse
Yes we do. Maybe if there was some incentive to be your testers, like a free full edition, you might get some to actually be your "guinea pigs"
It works, but it will be much better if we can have a locking sound...
l3enjamin said:
It works, but it will be much better if we can have a locking sound...
Click to expand...
Click to collapse
Oh wow, thats a great idea, never thought of it... i will definitely add this in the next release.
Almost done!
Updated, added screen locking sound
I just ordered a case, so I will gladly test this out once I receive it.
Just to let you know, I did try the full version of your app, but ultimately refunded it. It's a great concept, but just didn't work well on my A500. I don't know if our light sensor sucks or what, but the app wasn't detecting the cover being closed.
Anyone else having problems? Problems not related to not reading the instructions?
I'll try again with the Lite version, and see if I can configure it better. I did read the instructions, maybe I was just too quick to dismiss it.
I tried this on my Acer and the Acer cover, but didnt seem to work. Also tried the lite version. I did play around with the settings abit but still nothing. Sorry
Hey I have a suggestion. I apologize if this is already a feature as I did not see it in the other thread. But if you're able to trigger screen locks and sounds and such, why not also add the ability to have it turn off/on wifi and/or 3g?
Interesting... i will look into it, thanks!
Any issues to report?
Anything to report?

On/Off methods for Nexus Q

Hello everyone, I have recently puchased a Q on Ebay and am surprised to see no on/off button or method to turn on the device. I can power it down using the CM 10.1 rom, but no apparent way to turn on the device??? Has anybody figured out a way just to turn on the device other than just plugging it in? Thx in advance.
Sent from my CM10.1 NEXUS Q
Aphex33 said:
Hello everyone, I have recently puchased a Q on Ebay and am surprised to see no on/off button or method to turn on the device. I can power it down using the CM 10.1 rom, but no apparent way to turn on the device??? Has anybody figured out a way just to turn on the device other than just plugging it in? Thx in advance.
Sent from my CM10.1 NEXUS Q
Click to expand...
Click to collapse
nope We are hoping the new rom being built by a dev on here may have a sleep on and off function via the pause function.
ianandamy said:
nope We are hoping the new rom being built by a dev on here may have a sleep on and off function via the pause function.
Click to expand...
Click to collapse
Thx, at least we know it's being worked on.
any viable solution for this yet? I only turn it off because the blue ring at night is bright
any progress on this? The new unofficial CM11 4.4.4 ROM is out for the Nexus Q and it's very stable very smooth. Im reading this forum, replying and listening to TuneIn Radio at the same time

[Q&A] [ROM][AOSP] Google Edition S4/ Pure Nexus Edition[SAFESTRAP] Oct 4th.14

Q&A for [ROM][AOSP] Google Edition S4/ Pure Nexus Edition[SAFESTRAP] Oct 4th.14
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
Thanks Joe! And a question.
First off, I want to thank Joe for all his hard work! Ever since I upgraded from the S3 to the S4 I have been missing CM for their lack of bloatware more than anything else. Found this just over a week ago, installed it and haven't looked back at TouchWiz ever since!!! Everything works great but I have a small issue I am hoping someone can help me with, I have tried using GravityBox and a separate Xposed module to have a different picture on the lock screen but all I ever get is a black background. If anyone has any ideas I would love to hear them. Thanks again Joe for all your hard work and I am sad to hear you will be moving on. Was hoping to see some of that Lollipop goodness but I understand that hobbies can only take so much of your time. Good luck with your S5 work!
salpsuc said:
First off, I want to thank Joe for all his hard work! Ever since I upgraded from the S3 to the S4 I have been missing CM for their lack of bloatware more than anything else. Found this just over a week ago, installed it and haven't looked back at TouchWiz ever since!!! Everything works great but I have a small issue I am hoping someone can help me with, I have tried using GravityBox and a separate Xposed module to have a different picture on the lock screen but all I ever get is a black background. If anyone has any ideas I would love to hear them. Thanks again Joe for all your hard work and I am sad to hear you will be moving on. Was hoping to see some of that Lollipop goodness but I understand that hobbies can only take so much of your time. Good luck with your S5 work!
Click to expand...
Click to collapse
Which rom are you using right now? I heard there's an issue with GB while on the gpe version. You might have to do a nandroid backup and try out pure nexus as others users reported GB working with no issue for them. And sometimes after applied a tweak, you must restart your phone to take affect.
salpsuc said:
First off, I want to thank Joe for all his hard work! Ever since I upgraded from the S3 to the S4 I have been missing CM for their lack of bloatware more than anything else. Found this just over a week ago, installed it and haven't looked back at TouchWiz ever since!!! Everything works great but I have a small issue I am hoping someone can help me with, I have tried using GravityBox and a separate Xposed module to have a different picture on the lock screen but all I ever get is a black background. If anyone has any ideas I would love to hear them. Thanks again Joe for all your hard work and I am sad to hear you will be moving on. Was hoping to see some of that Lollipop goodness but I understand that hobbies can only take so much of your time. Good luck with your S5 work!
Click to expand...
Click to collapse
In gravity box switch background mode from overlay to underlay. That's what worked for me.
Google Wallet
Has anyone gotten Google Wallet to work? When i setup tap to pay, it says its not the default, but in phone setting, its thr only option. Anyone know how to fix it?
-Todd
How to Pure Nexus on SGH-1337M
Hello,
I have the SGH-I337M with bootloader I337MUMUAMDJ and with TWRP recovery, I'd like to install this Pure Nexus but I don't know what to chose when it comes to the modules.
Has anyone installed this or can anyone provide me some advice?
Thanks,
OMG I am LOVING the Pure Nexus rom on my S4!!!!! I just want to say that this was my first Android experience and was going to be my last until I stumbled upon xdadevelopers and this ROM a few days ago. I originally switched from an iPhone (which was hard enough) but when I got my brand new S4 I couldn't believe how slow and laggy it was, thanks to ATT apps and touchwiz, my phone with all these great specs could barely keep up with MMS messages and was lagging just scrolling thru my contact list!!??! :/
So anyways, I was ready to move back to the Apple side of the world before I decided to give this ROM a try and after installing the Pure Nexus rom all i can say is... WOW!!! I think i'm finally falling in love with this device 1.5 years later. This is exactly how the S4 should be stock from all carriers!! Pure, clean, fast and functional!! very impressed! Awesome work Joe!!
[ROM] Pure Nexus for SGH-I337M
Arilou said:
Hello,
I have the SGH-I337M with bootloader I337MUMUAMDJ and with TWRP recovery, I'd like to install this Pure Nexus but I don't know what to chose when it comes to the modules.
Has anyone installed this or can anyone provide me some advice?
Thanks,
Click to expand...
Click to collapse
I believe I was in the wrong forums, I found GOOGLE EDITION 4.4.4 by Danvdh, Kryten2k35 & Ktoonsez and I believe it is meant for SGH-I337M so I'll give it a try.
Also, I did have one question, is there any work around yet for being able to connect this to a PC via USB and being able to transfer files? Again, I'm on ATT NC1 using the Pure Nexus Rom.
Any help would be appreciated, thanks!
thatwasntnice said:
Also, I did have one question, is there any work around yet for being able to connect this to a PC via USB and being able to transfer files? Again, I'm on ATT NC1 using the Pure Nexus Rom.
Any help would be appreciated, thanks!
Click to expand...
Click to collapse
No. Look into airdroid or the app in the OP. There will be no work around unless our bootloader gets unlocked, from what I understand it's a kernel problem and there's no real way to fix it without flashing a kernel
Rhymey said:
No. Look into airdroid or the app in the OP. There will be no work around unless our bootloader gets unlocked, from what I understand it's a kernel problem and there's no real way to fix it without flashing a kernel
Click to expand...
Click to collapse
Airdroid is really good, thanks Rhymey!
I couldn't get Multi Mount SD-card lite to work though, even after checking off MTP fix... like it shows up in my file explorer as a drive but everytime I click it, it says "please insert disk"... not sure why?
thatwasntnice said:
Airdroid is really good, thanks Rhymey!
I couldn't get Multi Mount SD-card lite to work though, even after checking off MTP fix... like it shows up in my file explorer as a drive but everytime I click it, it says "please insert disk"... not sure why?
Click to expand...
Click to collapse
no idea there, i just use airdroid haha
I use the GPE ROM on safestrap nb1. Does anyone experience random "No Service" problem? It 2as working fine for few weeks and the next morning there is no service but my brother's phone(same att as me, stock) has se4vice. Thankfully i reflashed the rom and it came to normal. Will this recurr?
Adding tiles to drop down menu?
Greetings all,
Is there a way to add more tiles to the menu? Where the Brightness, Settings, Wifi, Network, Battery Life, Airplane Mode, Bluetooth and Location settings are? I'd like to have to customize this a bit if possible.
Thanks!
zodiacs123 said:
Greetings all,
Is there a way to add more tiles to the menu? Where the Brightness, Settings, Wifi, Network, Battery Life, Airplane Mode, Bluetooth and Location settings are? I'd like to have to customize this a bit if possible.
Thanks!
Click to expand...
Click to collapse
You need to install Xposed Installer and GravityBox KK Modules.
Cannot see internal storage
Hello,
After flashing this ROM, I can't see all of my internal storage. Is there an easy fix for this?
Wifi difficulties on Google Play Edition ROMs for I337UCUFNI1
Hello, I followed the instructions for the SafeStrap installation of various Google Play Edition ROMs on my Samsung Galaxy S4, NI1 found here:
http://forum.xda-developers.com/showthread.php?p=53758259#post53758259
I successfully booted into working installations for all of them (Pure Nexus Edition, Google Edition for SafeStrap v1.1, & S4 Google Edition for SafeStrap. The phone could receive 4G LTE, but could not turn on Wifi. It became stuck on "Turning Wifi on..." & never progressed elsewhere. I performed all manner & combinations of hot reboots & full reboots, with no luck.
I also tried flashing different ATT modules.zip from NB1 & NC1, none of which changed anything.
In http://forum.xda-developers.com/galaxy-s4-att/development/rom-google-edition-s4-t2837239/post55466895#post55466895
I also saw that in addition to hot/soft reboots, trying go enter/exit airplane mode may also get wifi back up again. This too failed. I'm utterly confused how hot reboots & this airplane mode fix worked for so many others.
Anyone else had luck with fixing wifi?
Requesting advice/help. I just flashed this rom and have experienced two data drops already within 30 minutes of me using the rom. What should I do to fix this?
also...just tried to install chrome from the play store. When I open chrome my phone immediately vibrates 3 times very quickly, and says "unfortunately chrome has stopped". Ive tried clearing cache/data and uninstalling, neither worked. Did I forget to do something when I flashed this rom? other weird stuff has been happening like I rebooted my phone one time and the wifi wouldn't even turn on and I had to reboot again to get it working.
Every time you cold boot, you need to do a hot reboot to get wifi working.
Sent from my GT-I9505G using XDA Free mobile app

Categories

Resources