Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,756 Members 40,801 Now Online
XDA Developers Android and Mobile Development Forum

USB OTG without external power supply

Tip us?
 
lipalok
Old
(Last edited by lipalok; 8th April 2014 at 07:16 PM.)
#1  
lipalok's Avatar
Member - OP
Thanks Meter 12
Posts: 74
Join Date: Jul 2013
Location: Nitra
Plug USB OTG without external power supply

Hello! Most devices like Nexus 4 or our S4 Mini have problems with USB OTG functionality - they can't provide power to connected device. When I was browsing through some system folders, I've found a directory /d/regulator/8921_usb_otg/8921_usb_otg. In this directory, I can see voltage values, but I'm not able to edit them. Can someone help me how to edit max_uV and min_uV files? Folder called "enable" can be changed to 1, but other folders no.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-02-25-17-28-30.png
Views:	366
Size:	104.1 KB
ID:	2600158   Click image for larger version

Name:	Screenshot_2014-02-25-17-36-50.png
Views:	329
Size:	73.9 KB
ID:	2600159  
The Following User Says Thank You to lipalok For This Useful Post: [ Click to Expand ]
 
96DANGER96
Old
#2  
96DANGER96's Avatar
Senior Member
Thanks Meter 58
Posts: 241
Join Date: Jul 2011
Location: San Giorgio Monferrato
Quote:
Originally Posted by lipalok View Post
Hello! Most devices like Nexus 4 or our S4 Mini have problems with USB OTG functionality - they can't provide power to connected device. When I was browsing through some system folders, I found a directory /d/regulator/8921_usb_otg/8921_usb_otg. In this directory, I can see voltage values, but I'm not able to edit them. Can someone help me how to edit max_uV and min_uV files? Folder called "enable" can be changed to 1, but other folders no.
Use ES file explorer, tap the world icon on the top left, Tools, Root Explorer OFF To on, give root permissions, after tap on root explorer again (On the Word now, not on the "ON" button and tap Mount System R/W On the menu that will appear.

Sorry for my english
 
gladson1976
Old
(Last edited by gladson1976; 26th February 2014 at 09:52 AM.)
#3  
gladson1976's Avatar
Senior Member
Thanks Meter 88
Posts: 265
Join Date: Feb 2008
Location: Chennai
Quote:
Originally Posted by 96DANGER96 View Post
Use ES file explorer, tap the world icon on the top left, Tools, Root Explorer OFF To on, give root permissions, after tap on root explorer again (On the Word now, not on the "ON" button and tap Mount System R/W On the menu that will appear.

Sorry for my english
From the screenshots he has posted, the folder is already in R/W mode
@lipalok

All the files in that folder have readonly atttibutes set r--r--r--. Try copying the files to some folder in the sdcard, change them, then move them back to the folder and set the same permissions as before.
Galaxy S4 Mini Duos I9192 - CarbonRom KK 4.4.4 for I9192 / f4ktion 1.5.0 Kernel / Philz Touch Recovery
Xperia Mini Pro - Real Xperia Mix r1.7 / Kappa 1.7 Beta Carbon 4.4.2 KitKat / LX Kernel
Xperia X10 Mini Pro - MiniCM7-2.2.1 (GingerBread 2.3.7 / CM7.2) / nAa-14 Kernel
 
nuhcan
Old
#4  
Member
Thanks Meter 3
Posts: 35
Join Date: Jan 2010
Location: istanbul
Quote:
Originally Posted by lipalok View Post
Hello! Most devices like Nexus 4 or our S4 Mini have problems with USB OTG functionality - they can't provide power to connected device. When I was browsing through some system folders, I found a directory /d/regulator/8921_usb_otg/8921_usb_otg. In this directory, I can see voltage values, but I'm not able to edit them. Can someone help me how to edit max_uV and min_uV files? Folder called "enable" can be changed to 1, but other folders no.
I'll check my GS2 that has these values and write here...
 
lipalok
Old
(Last edited by lipalok; 26th February 2014 at 10:26 AM.)
#5  
lipalok's Avatar
Member - OP
Thanks Meter 12
Posts: 74
Join Date: Jul 2013
Location: Nitra
Quote:
Originally Posted by gladson1976 View Post
From the screenshots he has posted, the folder is already in R/W mode
@lipalok

All the files in that folder have readonly atttibutes set r--r--r--. Try copying the files to some folder in the sdcard, change them, then move them back to the folder and set the same permissions as before.
It didn't work I'm not able to copy them. Try it on your phone, please.
 
96DANGER96
Old
#6  
96DANGER96's Avatar
Senior Member
Thanks Meter 58
Posts: 241
Join Date: Jul 2011
Location: San Giorgio Monferrato
Quote:
Originally Posted by lipalok View Post
It didn't work I'm not able to copy them. Try it on your phone, please.
I've attached 8921_usb_otg folder with all the files here, use es file manager with root permissions to replace them.
Attached Files
File Type: zip 8921_usb_otg[1].zip - [Click for QR Code] (2.2 KB, 35 views)
 
lipalok
Old
(Last edited by lipalok; 26th February 2014 at 04:20 PM.)
#7  
lipalok's Avatar
Member - OP
Thanks Meter 12
Posts: 74
Join Date: Jul 2013
Location: Nitra
Quote:
Originally Posted by 96DANGER96 View Post
I've attached 8921_usb_otg folder with all the files here, use es file manager with root permissions to replace them.
What values should I use?

UPDATE: After trying it, copy task failed
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-02-26-17-12-45.png
Views:	110
Size:	90.5 KB
ID:	2601875  
 
96DANGER96
Old
#8  
96DANGER96's Avatar
Senior Member
Thanks Meter 58
Posts: 241
Join Date: Jul 2011
Location: San Giorgio Monferrato
Quote:
Originally Posted by lipalok View Post
What values should I use?
I don't know.

Quote:
UPDATE: After trying it, copy task failed
Follow my attached screenshot and mount / rw, /system rw. then try to copy
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-02-26-18-49-45.png
Views:	90
Size:	37.5 KB
ID:	2602004   Click image for larger version

Name:	Screenshot_2014-02-26-18-49-52.png
Views:	81
Size:	70.8 KB
ID:	2602005   Click image for larger version

Name:	Screenshot_2014-02-26-18-49-59.png
Views:	77
Size:	89.0 KB
ID:	2602006   Click image for larger version

Name:	Screenshot_2014-02-26-18-54-06.png
Views:	76
Size:	66.0 KB
ID:	2602007  
 
lipalok
Old
(Last edited by lipalok; 11th March 2014 at 10:05 PM.)
#9  
lipalok's Avatar
Member - OP
Thanks Meter 12
Posts: 74
Join Date: Jul 2013
Location: Nitra
Quote:
Originally Posted by 96DANGER96 View Post
I don't know.



Follow my attached screenshot and mount / rw, /system rw. then try to copy
I did everything you've mentoined, but I can't overwrite these files
 
96DANGER96
Old
#10  
96DANGER96's Avatar
Senior Member
Thanks Meter 58
Posts: 241
Join Date: Jul 2011
Location: San Giorgio Monferrato
Quote:
Originally Posted by lipalok View Post
I did everything you mentoined, but I can't overwrite these files
Try to overwrite them in the ROM.zip and flash the rom

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes