yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] gizmo2501:
Hi there,

Thanks for the reply.

Whoops, sorry. Is there a way I can move this to general? I also don't seem to have the option to wipe the emmc. I am in TWRP.
[Galaxy S II Q&A, Help & Troubleshooting] Noctis Lucis Caelum:
I think only a moderator can move it now.

Thats strange twrp doesn't have, either way boot into download mode and grab a kernel tar file from

www.xdaforums.com/galaxy-s2/development-derivatives/convert-kernel-zip-to-tar-t2994381

Apolo or Gustavo, flash it via odin reboot in recovery when you are done then try formatting the emmc
[Galaxy S II Q&A, Help & Troubleshooting] gizmo2501:
Okay, so, I put on Apolo, got the option to wipe eemc in TWRP, it says "successfull", but also gives errors of "unable to mount /eemc through the log, as well as ending with "unable to mount /data".

How is best to proceed now?
[Galaxy S II Q&A, Help & Troubleshooting] gizmo2501:
So I decided to try and retrace my steps to get this to work. I formatted the emmc like you said (thanks!), then realised I need a CM11 Rom to go with that Kernel. So flashed CM11 and Gapps for the phone, and have successfully booted!

THANK YOU!

The only thing is, whilst doing this, I put the original PIT back on, so basically this was a wasted exercise. Would I have any problems if I Odin flashed the new PIT, then flashed the emmc, then reinstalled the ROM?

Thanks again for your help!
[Galaxy S II Q&A, Help & Troubleshooting] Noctis Lucis Caelum:
No,

head to this www.xdaforums.com/galaxy-s2/development-derivatives/mod-increase-partition-size-t3011162

make a backup, grab the pit files from the link, choose the size you want.

Flash it with apolo kernel tar via odin(download mode)

Reboot recovery, wipe system, data, cache and format emmc then restore backup or you can flash the rom from scratch
[Android Q&A, Help & Troubleshooting] jackhab:
Can someone recommend me a widget to display a list of GMail messages selected not by a label, but by a search parameters like "all messages having $$$ in the subject"?

Thanks.
[Android Q&A, Help & Troubleshooting] mbaltozer:
Create a filter in gmail to add a label specific to what you just said. Use that label in your widget. Done.
[Sprint Samsung Galaxy S6] todivefor:
I noticed this week that my S6 (stock OE2 with root) does not go into deep sleep. I rooted with pingpong root. I searched, but most issues with deep sleep applied to cf-auto root. Is there something I can do?
[Sprint Samsung Galaxy S6] todivefor:
I have read a lot about this in the international threads. Can't determine if their problem applies to us or not. I did not understand their solution to write something to some partition. As a result, I was unwilling to apply. They did have a work around to reflash stock recovery and wipe cache. Prior to reflashing stock recovery, I wiped cache. I am now deep sleeping.

I have about had it without upgrading and no custom recovery. Thought the devs would have figured out how to root stock OFE/OGA by now. There now seem to be some OFE custom rom options available that make it worthwhile to trip knox for whatever implications that has. Will be biting the bullet once I have time.
[Sprint Samsung Galaxy S6] todivefor:
NP. Thanks for reply.
[Sprint Samsung Galaxy S6] JoeFCaputo113:
+1 definitely recommended!
[Sprint Samsung Galaxy S6] todivefor:
Going to do it tomorrow. Thanks.
[Android Q&A, Help & Troubleshooting] _Jigga_:
Hi,

I new on XDA, I heard that this is the biggest android developers community.

first of all, sorry if my english is bad.

I have a problem with my device.

I was stupid and i've set my /system folder permissions (with ES File Explorer) to un-read and un-write able.

I dont know how to explain it, but the result of my doing is that the device had reboot himself a second after, and wont boot up anymore...

The device cant read the system folder because i've changed the permissions!

how can I restore the permissions through ADB on my PC?

or through recovery mode with the "apply update from ADB", by open it and somehow send an permission-command through ADB...

NOTE: I have a chinese phone "AKAI DRAGON" AND I DONT HAVE THE UPDATE.ZIP! I cant reinstall the android.

any help?
[Moto G 2015 Q&A, Help & Troubleshooting] rodrigoyasuda:
Anyone tried using OTG?

I have this device: http://www.amazon.com/gp/product/B00RBGYGPG

I use it everyday in my Moto G 2nd generation.

Moto G 3rd generation doesn't recognize it.

I tried another flash drive with an OTG cable, it also did not work.

Does anyone have any clues? I'm using the 16GB/2GB model.
[Moto G 2015 Q&A, Help & Troubleshooting] Cubfan99:
I have two USB OTG devices and both work fine.
[Moto G 2015 Q&A, Help & Troubleshooting] guest_2011:
I have a cheap ebay adapter that works with all my devices. No problems with moto g.
[Moto G 2015 Q&A, Help & Troubleshooting] aaopt:
I'm typing this with a USB keyboard plugged in to an OTG adapter.
[Moto G 2015 Q&A, Help & Troubleshooting] vicks1008:
The Moto G 2nd Generation uses the MSM8926 chipset that might have the voltage required to support USB 3.0 devices. My theory is that the MSM8916 chipset does not have the required voltage to support USB 3.0 devices through OTG.

To rule this out try testing other USB 3.0 accessories on the Moto G 3rd Generation through OTG.
[Moto G 2015 Q&A, Help & Troubleshooting] nandakis4:
i have a usb otg .. it works fine, i have recorded a sample also have a look

NOTE: moto g doesnt show any pop up , or notification that its connected .. if you look under storage tab you can see unmount usb storage getting highlighted.

https://youtu.be/eo6hzjSRO8w
[Moto G 2015 Q&A, Help & Troubleshooting] nelsonw:
Didn't worked with my Corsair Voyager go 32GB. It mounts and unmounts all the time

---------- Post added at 03:11 PM ---------- Previous post was at 02:56 PM ----------

Your pendrive is fat32?
[Moto G 2015 Q&A, Help & Troubleshooting] nandakis4:
i tried only USB 2.0 that too with USB OTG cable .. i didnt try it with direct OTG PENDRIVES.. and yes its FAT32 and other is NTFS .

sorry ! i didnt see your pendrive at that time i posted my video.. i thought you were facing problem with OTG CABLE .. so i made that video..
[Moto G 2015 Q&A, Help & Troubleshooting] umeshxda:
USB OTG works fine with me... Use ES explorer to read or write!
[Moto G 2015 Q&A, Help & Troubleshooting] nelsonw:
Please, if its working for you. Post your about screen to see in which phones works and in which it didn't

---------- Post added at 04:30 PM ---------- Previous post was at 04:30 PM ----------

It mounts and unmounts all the time.
[Moto G 2015 Q&A, Help & Troubleshooting] ..::Matr!x::..:
..::Matr!x::..

hi i'm facing the same bug.... me also i'm with 2/16gb model.... have you fixed it or stillyou have this bug?

testend both stock and cm rom but nothing here working .... it's mounts and unmount all the time....
[Moto G 2015 Q&A, Help & Troubleshooting] legendracer:
USB otg not working in new moto g3

I bought a new Kingston micro duo USB otg 3.0 32 gb... Wished it so much...but when I got, g3 won't read it. Used es file explorer and otg explorer apps. But no help. In es USB shows and then goes off. If I time it and click, it opens but again umounts.

Heard its chipset can't support 3.0 due to low voltage output. G3 is a loss if it can't read. But same USB otg 3.0 was read by yureka phone without any fuss.

Please help....
[Moto G 2015 Q&A, Help & Troubleshooting] ..::Matr!x::..:
..::Matr!x::..

sound similar to my problem... have you tried also with an usb 2.0 pendrive? ... it's working regular?
[Moto G 2015 Q&A, Help & Troubleshooting] legendracer:
No bro...USB 2 not available with me..have to wait for office...to try.
[Moto G 2015 Q&A, Help & Troubleshooting] legendracer:
Any help or info on this? Should I try mobile replacement? Because same Kingston micro duo USB otg 3.0 works in other mobiles.
[Moto G 2015 Q&A, Help & Troubleshooting] ..::Matr!x::..:
..::Matr!x::..

which moto G is your? mine is an XT1541 2/16gb variant (bought at amazon italy)
[Moto G 2015 Q&A, Help & Troubleshooting] legendracer:
Mine is XT 1550 2gb 16gb.
[Moto G 2015 Q&A, Help & Troubleshooting] theincognito:
Working fine for me (usb 2.0) sandisk 8gb.

---------- Post added at 07:31 PM ---------- Previous post was at 07:29 PM ----------

Wait. I can now confirm that usb 3.0 works too... Using Sony 32 gb usb 3.0

---------- Post added at 07:47 PM ---------- Previous post was at 07:31 PM ----------

Proof:
[Moto G 2015 Q&A, Help & Troubleshooting] parashar.tabib:
I have same problem

Hello,

Did anyone find any solution? I'm having same problem since the day I bought my MOTO G3. Pendrive when connected through OTG cable (any pendrive USB2.0/USB3.0, FAT32/NTFS) it mounts and then un-mounts continuously. Can't read or write from pendrive.

Please help. :crying::eek::rolleyes:
[Moto G 2015 Q&A, Help & Troubleshooting] sethgreen:
same problem
[Moto G 2015 Q&A, Help & Troubleshooting] el_fran:
solved

i had the same issue, i solved rooting the phone moto g 3° 1gb/8gb
[Moto G 2015 Q&A, Help & Troubleshooting] jmadotme:
There's not OTG 3.0. All USB 3.0 pendrives works as 2.0 in OTG connector. This only changes in Type C USB 3.1 that have new host mode without adapters.

I'm currently using DM micro OTG adapter with all of my gadgets without any problem.

Enviado desde mi MotoG3 mediante Tapatalk
[Moto G 2015 Q&A, Help & Troubleshooting] rl_2015:
I just bought my Moto G 3rd Gen a few days ago, and I too have the same problem that everyone is mentioning. It mounts the USB flash drive, then immediately unmounts it. It continuously tries to mount it, then unmounts it in an endless loop. The first drive that I tried also was the SanDisk USB 3.0 OTG flash drive (I tried both the 16GB and 32GB versions that I have).

I suspected that the phone may not be supplying enough current to power the drive. So I tried various other flash drives that I have, and it exhibits the same problem on all of them. Note that these same drives work on every other Android device that I have, including the Moto G 1st Gen. Devices with very low current requirements (like mice) work fine, so this explains the people who claim that "my USB devices work fine".

I was able to verify that current is the problem by plugging the flash drives into a powered USB hub and plugging the hub into the phone. Unsurprisingly all of drives that I tested work perfectly in this setup. I find it amazing that Motorola engineers didn't realize this problem before releasing this phone. It adds a blemish to what I consider an almost perfect device, especially considering the price.

I'm not sure if this can be fixed in the firmware or if this is the limitation of the Snapdragon 410 chipset. Maybe there is some code that could force higher current output on the port, since all USB devices must negotiate their power requirements. Maybe someone can chime in on this. I just thought that I would pass what I found along so that it could help others out there who are experiencing this problem.
[Moto G 2015 Q&A, Help & Troubleshooting] rcbsandeep:
Am facing issue,, how do I resolve it ???
[Moto G 2015 Q&A, Help & Troubleshooting] rl_2015:
As I stated in my last post, the only solution that I found to the problem is to use a powered USB hub.
[Moto G 2015 Q&A, Help & Troubleshooting] sticktornado:
I had this problem too; how I fixed it was plugging it into the computer and formatting it as FAT32.
[Moto G 2015 Q&A, Help & Troubleshooting] rcbsandeep:
That's really bad,,, not every time we can carry a powered USB,,, and it doesn't make sense as well
[Moto G 2015 Q&A, Help & Troubleshooting] rl_2015:
Yes, this is bad to have a problem like this on such a great phone. I'm not sure if Motorola can fix it in firmware or if this is a hardware problem. My guess is it's a hardware problem. The phone is simply not supplying enough current to power the drive. Maybe if we complain loud enough Motorola will do something (if they can). But not many people seem to be complaining.
[Moto G 2015 Q&A, Help & Troubleshooting] fefifofum:
My friend's moto g has the same problem, and it's also the 2/16GB model. Does anyone have the 2/16GB model with usb otg working? Does usb otg work for everyone with the 1/8GB model? I would think it's a kernel issue that can be solved, but if Motorola is not aware of the problem we need to let them know. Has anyone contacted them?
[Moto G 2015 Q&A, Help & Troubleshooting] rl_2015:
I don't think that the problem is with any specific model. They are all identical with the exception of the amount of memory / flash storage. There are some models that have dual SIM slots / digital TV / etc., but the chipset is the same in all of them. As I said in one of my posts, at least in my case I was able to get OTG to work by providing more current to the drive (via a powered USB hub). Maybe there is some way to force the phone to provide more current to the drive via software. If there is, hopefully Motorola will provide a fix.

I agree with you that Motorola needs to be made aware of the problem. But after much googling it doesn't appear that many people are complaining. Maybe OTG is just something that not many people use.
[Moto G 2015 Q&A, Help & Troubleshooting] rcbsandeep:
We are very less in number, how to take it to Motorola
[Moto G 2015 Q&A, Help & Troubleshooting] arjun84629:
OTG working fine for me on Indian version XT1550
[Moto G 2015 Q&A, Help & Troubleshooting] rl_2015:
So you are able to read from and write to USB flash drives without any problem? A good test would be to try to write a large file to the drive. Sometimes reading may work OK, but when you try to write (which requires more current) the drive disconnects.

I ask this because mine is an XT1543 (16GB). It is essentially the same as the XT1550 (dual-SIM), just with different LTE bands. It doesn't make sense why one would work and the other wouldn't. On mine the drive doesn't stay mounted long enough to even read files. I've read similar reports from other users.
[Moto G 2015 Q&A, Help & Troubleshooting] Tel864:
I have an XT1540 and I've tested it on 6 flash drives and they all work fine. 5 of them are USB 2.0 drives ranging from 2 to 16GB. The other is a SanDisk 3.0 32 GB drive. When I first got this phone I tried a couple of usb drives and none were rocognized. I never tried it again until recently and now all the drives work. Since the time it wasn't working, I've upgraded from Lollipop to Marshmallow and rooted the phone. I don't know why OTG works now, but it does. I'm also using a cheap OTG cable I got off Amazon. This thread did help me since I would have never tried it again until I read this.
[Moto G 2015 Q&A, Help & Troubleshooting] rl_2015:
Well this shows that there is hope. Maybe this is something that they fixed in Marshmallow. The only way that I got it to work in Lollipop was to use a powered USB hub. So apparently they made some modifications to provide more power on the port.

Thanks for your post!
[Moto G 2015 Q&A, Help & Troubleshooting] Tel864:
I wish I had an answer as to why it's working. Maybe it's Marshmallow, maybe it's the rooting, or maybe it's the full moon. :p I do know that it's nothing I did with the intention of fixing OTG. It fixed itself somehow.
[Moto G 2015 Q&A, Help & Troubleshooting] GreatH-Learner:
There are many apps made for USB Otg Support, and some peoples have claimed their working. But still, none of the apps worked with me. But I believe there's a file named init.usb.rc in the root of phone. I think editing this will give you root access.
[Moto G 2015 Q&A, Help & Troubleshooting] maxprzemo:
In my case it helps format the pendrive to FAT32 Primary

The program MiniTool Partition Wizard Free looks like this

or in the program GParted looks like this

Reading and writing data only then began to work correctly.

And mounting memory, looks correctly
[Moto G 2015 Q&A, Help & Troubleshooting] rl_2015:
I have something else to report. After further experimentation I've realized that it is not necessary to keep the powered USB hub connected to the phone. If I simply provide power to it long enough for the phone to recognize the hub (a second or two), the phone then powers it itself. But if I do not provide power to the hub initially, the phone does not recognize it.

So in other words, if I provide external power to the hub, plug the hub into the phone, then disconnect the hub from external power, the phone is able to read and write any flash drive plugged into the hub. This works until the hub is unplugged from the phone.

This proves that the phone is indeed capable of powering the drives. Just for some reason it will not provide the power initially.

If anyone else has upgraded to Marshmallow, can you test to see if the problem is indeed fixed in that build? Maybe Motorola added some code to fix this issue. I received the upgrade notification, but I will wait to see what other users have to report about Marshmallow in general.
[Moto G 2015 Q&A, Help & Troubleshooting] nelsonw:
OTG was fixed on the latest 5.1.1 OTA. Now is broken again for me.
[Moto G 2015 Q&A, Help & Troubleshooting] XSAMA:
+1

Same with ps4 controller if I provide external power to the controller with a powered OTG cable and then disconnect the power it works.

Some phones can detect the amount of electric current used by USB devices and block the voltage if they use too much. maybe there is the problem in the firmware or maybe not i hope they fix it.
[Moto G 2015 Q&A, Help & Troubleshooting] rl_2015:
That was my thought. Maybe when the phone detects a larger current draw, it disconnects the device. Or maybe it's just not providing the current to begin with... some type of technique to conserve power gone wrong. Some say that it was fixed in Marshmallow, while others say it wasn't. I guess that it depends on the build.

Are you on the OTA update to MM or did you use one of the factory images?
[Moto G 2015 Q&A, Help & Troubleshooting] nelsonw:
Don't works on both. Was broken and fixed back on 5.1.1
[Moto G 2015 Q&A, Help & Troubleshooting] theankitkulkarni:
Everything Works Fine in Marshmallow On Moto G.. No issues at all.. you can use ES File Explorer to Browse your files.. it has a seperate USB option built-in.. Enjoy..
[Moto G 2015 Q&A, Help & Troubleshooting] anurag96:
how?

which moto g r u using i got the marshmallow update but otg is not working on my moto g3

---------- Post added at 08:38 AM ---------- Previous post was at 08:07 AM ----------

dont know how but it worked
[Moto G 2015 Q&A, Help & Troubleshooting] theankitkulkarni:
In My Moto G 2015 XT1550 Marshmallow Otg Working fine..

Sent from my Moto G(Osprey)
[Moto G 2015 Q&A, Help & Troubleshooting] anurag96:
simply means if you r lucky then otg will work mine just mount for a sec then unmounts
[Moto G 2015 Q&A, Help & Troubleshooting] theankitkulkarni:
If this is true, I AM LUCKY!!

Sent from my Moto G(Osprey)
[Moto G 2015 Q&A, Help & Troubleshooting] acejavelin:
Not really luck... The Indian/Asia/Australian versions (XT1550) seems to be working fine with OTG peripherals, the US and Central American versions (XT1540 and XT1542/3/4) seem to have OTG issues.

No word yet on European versions (XT1541) or CDMA models (XT1548)... probably because they don't have Marshmallow yet.

Turbo users seems to be quiet on this issue, so I am guessing it is working???
[Moto G 2015 Q&A, Help & Troubleshooting] theankitkulkarni:
I too think otg is working fine on Turbo Marshmallow..

Sent from my Moto G(Osprey)
[Moto G 2015 Q&A, Help & Troubleshooting] anurag96:
dude non of my pendrives in any format works mouse and keyboard work this issue was there before and after in my moto g3 marshmallow update but i came to like my phone any way i checked with my friends who have same hand set and only 2 out of 5 got the otg pendrive working
[Moto G 2015 Q&A, Help & Troubleshooting] acejavelin:
Yeah, we know... :(

Would be nice if you told us your exact model (XT15xx) though, just for clarity.
[Moto G 2015 Q&A, Help & Troubleshooting] rlridgeway:
This may or may not be relevant. I was unable to get a successful connection between my phone to a Chromebook via USB until the Chromebook's OS updated to version 48.
[Moto G 2015 Q&A, Help & Troubleshooting] Nojevah:
Could someone interested in this issue create a new thread or update the first post to narrow down this problem please ?

I don't have the phone with me right now, but I can tell that with a 5.1.1 (the one which came with the unit 2 months ago), OTG does NOT work with XT1541 1GB.
[Moto G 2015 Q&A, Help & Troubleshooting] patbharat:
Format with FAT32 may works

I faced same issue with my OTG pen drive in my MOTO G2 2014 model. Ones I formatted pen drive with FAT32 and it works for me.
[Moto G 2015 Q&A, Help & Troubleshooting] acejavelin:
OTG definitely works in 5.1.1 with a compatible device, storage, mouse, keyboard, and everything Android compatible via OTG. The last OTA update had the proper fix from Moto. If your is not working, you should post a thread in Q&A with your specific details asking for help, maybe we can help given enough information.

Yes, external storage must be a compatible filesystem... FAT32 is recommended, but I've seen people say Ext2/3/4 is supported as well, but not NTFS or exFAT.
[Moto G 2015 Q&A, Help & Troubleshooting] Nojevah:
lol. I don't need help. It was just a statement. With a 5.1.1 (not the latest version) and a XT1541, OTG is not working.

I just wanted a first post summarizing the problem: For example, OTG does not work with stock version 5.1.1 (version blablabla) for XT1541, but work with stock 5.1.1 (blabla) XT1541, it does not work with stock 6.0 (xxx).

With AOSP, it works with etc.

Right now, I'm still unsure if it's a hardware or software problem (with XT1541 for example).
[Moto G 2015 Q&A, Help & Troubleshooting] acejavelin:
Update to the latest Lollipop OTA or factory firmware image for your device, it will work. OTG is only working fully on the last Lollipop release, earlier releases didn't work properly, and it is broken again on most Marshmallow builds except Indian versions apparently. It is unknown if it is working or not on the new Marshmallow build for Europe since it is just starting to roll out and we haven't gotten any reports yet.

That is the total summary of the state of OTG.
[Moto G 2015 Q&A, Help & Troubleshooting] Nojevah:
I can't update for some times, since the phone is not for/with me. But thanks for this summary.
[Moto G 2015 Q&A, Help & Troubleshooting] ..::Matr!x::..:
XT1541 (european) ...OTG fully working on MM (worked also on LP)
[Moto G 2015 Q&A, Help & Troubleshooting] mrdoug:
Worked on LP for me, but with MM I can't seem to get it to delete files, only add, edit, read. Very odd.
[Moto G 2015 Q&A, Help & Troubleshooting] ..::Matr!x::..:
same here..... for some reason cannot delete files....but we can use es file explorer....

actually the only file manager full working on mm with otg is es file explorer

fx file manager no usb it's shown when connected... atm otg not supported on mm i think...

mixplorer also in bugged... usb it's shown but cannot access...
[Moto G 2015 Q&A, Help & Troubleshooting] mrdoug:
Yikes. It figures the one app I don't trust is the only one that has a way around the error. This is definitely an error because I can delete with my old phone, htc m7. I used to be able to delete on 5.1.1 with the. Moto G. Further it has read and write access, so it's not like it dose t have otg drivers.

Hopefully Google / moto fixes this in 6.0.1 we are supposed to be getting in a few months (rumors only).
[Moto G 2015 Q&A, Help & Troubleshooting] ..::Matr!x::..:
who knows... maybe es find a way to backport 6.0.1 api for otg to 6.0 .. like motorola did backporting new 6.0.1 emoticons to 6.0 keyboard... :good:
[Moto G 2015 Q&A, Help & Troubleshooting] mrdoug:
They do something odd. I broke down and installed it. When you load the thumb drive in es, it removes the notification shade (eject, explore) entry for the drive. It reappears once es is exited. I don't know enough about the android inner workings to tell what's happening.

I wonder if Solid Explorer would consider adding this type of work around? ?
[Moto G 2015 Q&A, Help & Troubleshooting] ..::Matr!x::..:
not tested but also root explorer should work with otg