[APP] OTG Power Lock - Nexus 7 (2013) Themes and Apps

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.
Google Play https://play.google.com/store/apps/details?id=com.MI.otglock
Please give me some feedback guys, and Ill try to address any issues you find.
Thanks :victory:

Thanks
Sent from my Nexus 4 using Tapatalk 4

Beautiful thank you.
2013 N7 Kang Banged!

ive been noticing the service restarts itself after a while, although that could be a normal android function, has anyone else noticed this?

Angelus89 said:
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.
Google Play https://play.google.com/store/apps/details?id=com.MI.otglock
Please give me some feedback guys, and Ill try to address any issues you find.
Thanks :victory:
Click to expand...
Click to collapse
Where did you get it. I heard they were making one. Really would love to pick one up.
Sent from my Nexus 7 using Tapatalk 4

if you are talking about the reader, you can order one from their official website

Heres a new version, in attempt to fix a problem PJ Clifford is having.

Getting a 404 error...

here a link from mega https://mega.co.nz/#!Bc4DSahR!Xl__xwP6j7VS3imKg6DUOD3fifFjjoKSNkXSdJ6xFX4

Got it. I am currently at work. I'll try it when I get home and let you know. Thanks for all the help.

Just tried it again. A little different, but still not working. Stickmount sees and mounts the reader. I start OTGLock and Start Service. I get the "Service Started" followed up a few seconds later with "Mount not found". If I then go into the files in the reader, they work correctly until, of course, the screen blanks. But at least I am getting a message. Hopefully that helps.

Related

MTP stop working... Help!!

Guys.. I have a problem >.<
I was copying my music files across in MTP mode and suddenly it stop functioning. I cant copy anything on to my GN anymore. I try switching to PTP mode but same problem.
I can view the file on GN fine but I cant copy anything now. Any help please >.<
Note: I just finished copied 2 albums and that is it so my storage is not full.
had the same problem!
try not to copy & paste multiple files at once, rather copy whole folders!
at least it worked for me. I read about this problem somewhere else.
It just plain does not work. You would think that due to the lack of USB mass storage, Google, Samsung - whoever would have refined the MTP, but it's totally hit or miss. Do yourself a favor and get Airdroid from the market. It's free, and it works. Pretty damned dissapointing for a $700 phone.
randypurcz said:
It just plain does not work. You would think that due to the lack of USB mass storage, Google, Samsung - whoever would have refined the MTP, but it's totally hit or miss. Do yourself a favor and get Airdroid from the market. It's free, and it works. Pretty damned dissapointing for a $700 phone.
Click to expand...
Click to collapse
Get what from market?
vosszaa said:
Get what from market?
Click to expand...
Click to collapse
Airdroid
Sent from my HTC Sensation using Tapatalk
foxehkins said:
Airdroid
Sent from my HTC Sensation using Tapatalk
Click to expand...
Click to collapse
Oh sorry i was reading "Andriod" the whole time lol
So... is my phone defective?
vosszaa said:
Oh sorry i was reading "Andriod" the whole time lol
So... is my phone defective?
Click to expand...
Click to collapse
I don't think so, lot's of people with issues. I think you will find Airdroid much faster than USB anyway.
That is really freakin annoying. This afternoon I transfered Gigs of Music, now it won't even let me copy pictures. I un- and reinstalled drivers, rebooted both PC and phone, still nothing. Can't even use Airdroid as I don't have a WiFi network here.
Yeah, I agree, MTP has been nothing but buggy for me as well. Sometimes it shows some folders, sometimes it shows them all. Same with files.
I just did a little learning about MTP http://en.wikipedia.org/wiki/Media_Transfer_Protocol interesting read. I wonder who is to blame for the bugginess, the host (initiator) or the device (responder)?
For me Unfortunately, MTP application has stopped problem is solved !!!
Read my post #6, problem is solved !!! very minor point but we tend to overlook it...
http://forum.xda-developers.com/showthread.php?t=2547187
Do vote me Thanks if your problem is solved...:good:

A little help with Data recovery

My screen got cracked about a month ago, the phone will pwer on, however I cannot see the screen. I received my replacement from the insurance and I haven't sent my old phone back in yet, because I have pictures of my kid on there and quite frankily I think it is bull**** to send it back with that kind of stuff on there. Anyway Asurion sent a threating letter, saying that I owe 500$ if the phone isn't sent in within 10 days, so this is where you guys come in.
I need help retrieving the data from the phone, so that I can have the pictures of my son or if its not possible, I need to wipe it clean so that they cannot (even if they won't) see my stuff. The screen is broken as i mentioned, but it powers on.
Try android screencast.
Turn it on and drop box will do the rest with auto upload (you have to dl the beta on to your comp)(I'm to lazy to link you)
You just have to some how mount it to the computer
Sent from my SPH-D710 using xda premium
gtuansdiamm said:
Turn it on and drop box will do the rest with auto upload (you have to dl the beta on to your comp)(I'm to lazy to link you)
You just have to some how mount it to the computer
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Yea without screen functionality it is kinda hard to figure that part out...Is there anyone out there with ADB exp. maybe if I can get in that way I can just pull my DCIM off of the internal storage, but I need to know how.
There are some detailed threads with a ton of adb commands for mounting and unmounting and doing pretty much everything else through adb.
Just search xda for adb commands and you should find a good thread with a bunch lined out.
I'd suggest using HDMI mirroring. You can move everything to your external SD card (via any file explorer) and do that.
You'll need an MHL adapter, though.
From what I am reading if the phone still works just the screen is dead I don't see why you wouldn't be able to just hook it up to your computer and pull everything off then delete everything.
rbtrucking said:
From what I am reading if the phone still works just the screen is dead I don't see why you wouldn't be able to just hook it up to your computer and pull everything off then delete everything.
Click to expand...
Click to collapse
With a broken touch screen how does he enable USB storage mode?
Seriously, I was looking to get more advice than I did, but after all who really helps around here unless they create it and even then they do not offer support any more
Anyways, I took both devices apart and I used the good screen with the old motherboard, hell I even saw the text messages I missed, I uploaded all the photos to my SD and did a reformat on the USB storage to wipe the photos off the phone, because they stayed for some reason.
Thanks, to the guys that gave suggestions.

[Q] Stock Galaxy S4 and Kenwood DDX616

This is not my first Android phone. I recently upgraded from an HTC HD2 running a flavor of Energy Sense 2.3 to this Galaxy S4. Today is the first time I have tried to access the music on my SDCard using a USB connecting to the S4 and have encountered some BS propriatary Samsung block telling me that I am not allowed to access a device that isn't Windows blah blah compatible. WTF?? Never seen this garbage before.
I haven't gotten around to rooting the phone yet...well, because I just haven't. But this almost caused me to toss the thing out the window at 70mph.
What did I miss?
Jimmersd said:
This is not my first Android phone. I recently upgraded from an HTC HD2 running a flavor of Energy Sense 2.3 to this Galaxy S4. Today is the first time I have tried to access the music on my SDCard using a USB connecting to the S4 and have encountered some BS propriatary Samsung block telling me that I am not allowed to access a device that isn't Windows blah blah compatible. WTF?? Never seen this garbage before.
I haven't gotten around to rooting the phone yet...well, because I just haven't. But this almost caused me to toss the thing out the window at 70mph.
What did I miss?
Click to expand...
Click to collapse
In the immortal words of Miss Emily Litella
Nevermind.
http://www.youtube.com/watch?v=V3FnpaWQJO0
Jimmersd said:
In the immortal words of Miss Elily Litella
Nevermind.
http://www.youtube.com/watch?v=V3FnpaWQJO0
Click to expand...
Click to collapse
Maybe post what you did to remedy the situation for people that might run into this problem in the future?
What's wrong with Bluetooth?
DDX-616 should have BT connection. USB connection is no-go with kenwood and Samsung.
I have a DDX-719 and always use BT connectivity for music and phone calls.
Pp.
Sent from my Cmoded P5113 tab.
xdapowerapps said:
Maybe post what you did to remedy the situation for people that might run into this problem in the future?
Click to expand...
Click to collapse
I assumed I hadn't gotten any responses because the answer was obvious. Good or bad, people here tend to ignore rants or stupid questions.
PanchoPlanet said:
What's wrong with Bluetooth?
DDX-616 should have BT connection. USB connection is no-go with kenwood and Samsung.
I have a DDX-719 and always use BT connectivity for music and phone calls.
Pp.
Sent from my Cmoded P5113 tab.
Click to expand...
Click to collapse
The 616 does not support bluetooth audio streaming connections without an overpriced adapter. Only hands free phone. So in the past I have connected my HD2 or G1 through USB. The receiver would treat the phone as a Thumbdrive and all was good. I assumed the S4 would do the same.
Wrong!
The older Android phones would connect using USB Mass Storage function and the receiver would read all files up to the first 4 gig in the Music directory on the SD card. It ignored anything past that limit. Samsung in their screwed up idea of how things should work have disabled this feature and instead use the MTP function which is slower and requires the appropriate drivers to be installed on the device accessing the phone. In other words it restricts directory access to authorized computers thus breaking something that wasn't broke in the first place.
So after identifying the problem I determined the only fix was to finally root the phone and then to use the apps available to activate USB Mass Storage. Here is a link to the technique that I used http://www.android.gs/enable-the-usb-mass-storage-for-samsung-galaxy-s4/
The only limitation is that I have no access to internal storage. But I'm okay with that.
Cheers!
Wasn't aware of the DDX-616 not supporting BT, well at least you found the fix. Sharing your solution will help someone else so don't hesitate to share your future findings.
Pp. Good.
Sent from my Cmoded P5113 tab.
Jimmersd said:
I assumed I hadn't gotten any responses because the answer was obvious. Good or bad, people here tend to ignore rants or stupid questions.
Click to expand...
Click to collapse
Not really, you just have to keep bumping your question until someone points it out. Over 5 million members, active or not, there are lots of threads and questions can go unanswered in a heartbeat. Just need to keep them resurfacing. :laugh:
Just an update. The process listed here does allow me to connect the S4 to my receiver in USB Mass Storage. But it doesn't work automatically. I have to open the Mass Storage app, open the menu for that ap and hit force SD Mount. This causes the Samsung OS to get out of way and the 616 to mount the extSdCard for reading.
Would like an app that does it automatically..
Jimmersd said:
Just an update. The process listed here does allow me to connect the S4 to my receiver in USB Mass Storage. But it doesn't work automatically. I have to open the Mass Storage app, open the menu for that ap and hit force SD Mount. This causes the Samsung OS to get out of way and the 616 to mount the extSdCard for reading.
Would like an app that does it automatically..
Click to expand...
Click to collapse
Post a request here: http://forum.xda-developers.com/showthread.php?t=2327541

SD issues

Hey guys, I've been baffled by this all day, if you could help me, that'd be nice.
So, I updated to the latest nightly the other day for CM11, (20140120) and when it booted, I couldn't get the SD card to mount.
I've now tried various ROMs, stock, every CM for my phone available, and no matter what, the SD won't mount.
I've tested multiple SD cards, thinking it was just a dead SD, but to no avail. What is weird is that when I plug the SD in to my computer (Via a USB adapter, and an actual card adapter as well on a second try.) it shows up completely normally, with all the files on it and everything. Tried reformatting it in Windows, Linux, and Mac as well.
Do you guys think that my SD slot has just crapped out? Because I can't afford a new phone whatsoever, and I love my baby Hercules.
Any suggestions would be lovely, thanks for your time!
Daltonyx said:
Hey guys, I've been baffled by this all day, if you could help me, that'd be nice.
So, I updated to the latest nightly the other day for CM11, (20140120) and when it booted, I couldn't get the SD card to mount.
I've now tried various ROMs, stock, every CM for my phone available, and no matter what, the SD won't mount.
I've tested multiple SD cards, thinking it was just a dead SD, but to no avail. What is weird is that when I plug the SD in to my computer (Via a USB adapter, and an actual card adapter as well on a second try.) it shows up completely normally, with all the files on it and everything. Tried reformatting it in Windows, Linux, and Mac as well.
Do you guys think that my SD slot has just crapped out? Because I can't afford a new phone whatsoever, and I love my baby Hercules.
Any suggestions would be lovely, thanks for your time!
Click to expand...
Click to collapse
Well since you went back to Touchwiz, and you tried multiple SD cards, I'm going to guess the actual reader went bad. My recommendation would be to go to multiple repair centers and see what they all say. Don't just go to one because they might rip you off and the more opinions the better
Sent from my Nexus 5 using XDA Premium 4 mobile app
soccerfan6789 said:
Well since you went back to Touchwiz, and you tried multiple SD cards, I'm going to guess the actual reader went bad. My recommendation would be to go to multiple repair centers and see what they all say. Don't just go to one because they might rip you off and the more opinions the better
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Well, everybody says that nothing is wrong with my SD slot, and I've noticed that when I turn my phone's screen on, it tries to read my SD, and it mounts successfully. What's weird is that the second I unlock my phone, it unmounts and asks me to format my SD. I tried formatting it in my phone, and on the computer (Unix, Windows, Linux) as well again. So, I can't really figure out the issue. It isn't just limited to one android version, it's on all. And even on Touchwiz it unmounts when unlocked. I'm quite baffled. ._.
Sorry to necro my own thread, but I need this fixed. lol
corrupted files maybe? Maybe its a software issue. Try going back to stock and maybe try again
Actually, this will sound really stupid, but I was installing Koushik's airplaymirror.apk, and I was doing it through ADB. I used adb root, then adb remount, and before I used adb push, I noticed my SD card mounted right after that command. So yeah, simple solution, but I'm still not sure what the problem was?
Sent from my SAMSUNG-SGH-T989 using xda app-developers app

Stuck in Nexus 7 (2013) bootloader loop.

Help! I have been quite desperate for some time. My Nexus 7 (2013) WiFi 32 gb crashed one day and since it never went much further than the Google logo screen. I can access bootloader, but all 4 actions lead to nothing else. I can't even get that "No command". I don't even care about my files. I just want to be able to use it. I tried using toolkit and that WugFresh thingy - didn't do anything. I have driver installed and it seems to recognize my device, but as soon as I try to unlock my device, a screen appears on my nexus asking weather I really want to do that and it will erase my data and so on... So I press Yes and it stays there. Toolkit doesn't do anything new too. I have been waiting for several minutes, but it doesn't work. Can anybody help me? What could be the problem? I don't want to even bother Asus or Google as they will end up throwing myself between them. This tablet was amazing... and then it broke. Is there anything else I can do or try? I know the problem is not in the USB connection so don't even offer me that option! Have tried several ports and even bought a new cable. I am also in denial that it could be related to hardware. It worked alright and then it crashed. Can't remeber details as it was a few months ago. I haven't dropped it or harmed in any other way. :angel:
Sir,
Please wait until mods will move this thread to the device specific forum for more relevant answers.
Stand by
Good luck
Norru said:
Help! I have been quite desperate for some time. My Nexus 7 (2013) WiFi 32 gb crashed one day and since it never went much further than the Google logo screen. I can access bootloader, but all 4 actions lead to nothing else. I can't even get that "No command". I don't even care about my files. I just want to be able to use it. I tried using toolkit and that WugFresh thingy - didn't do anything. I have driver installed and it seems to recognize my device, but as soon as I try to unlock my device, a screen appears on my nexus asking weather I really want to do that and it will erase my data and so on... So I press Yes and it stays there. Toolkit doesn't do anything new too. I have been waiting for several minutes, but it doesn't work. Can anybody help me? What could be the problem? I don't want to even bother Asus or Google as they will end up throwing myself between them. This tablet was amazing... and then it broke. Is there anything else I can do or try? I know the problem is not in the USB connection so don't even offer me that option! Have tried several ports and even bought a new cable. I am also in denial that it could be related to hardware. It worked alright and then it crashed. Can't remeber details as it was a few months ago. I haven't dropped it or harmed in any other way. :angel:
Click to expand...
Click to collapse
If you can access the bootloader, try flashing a system.img in fastboot. If that doesn't work, then I suspect you have a hardware issue. Did you buy it from Google Play? Is it still under warranty? If so, call Google. They have amazing customer service.

Categories

Resources