Post Reply

USB OTG without external power supply

OP lipalok

25th February 2014, 05:48 PM   |  #1  
lipalok's Avatar
OP Member
Flag Nitra
Thanks Meter: 12
 
74 posts
Join Date:Joined: Jul 2013
More
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:	408
Size:	104.1 KB
ID:	2600158   Click image for larger version

Name:	Screenshot_2014-02-25-17-36-50.png
Views:	355
Size:	73.9 KB
ID:	2600159  
Last edited by lipalok; 8th April 2014 at 07:16 PM.
The Following User Says Thank You to lipalok For This Useful Post: [ View ]
25th February 2014, 07:38 PM   |  #2  
96DANGER96's Avatar
Senior Member
Flag San Giorgio Monferrato
Thanks Meter: 79
 
286 posts
Join Date:Joined: Jul 2011
More
Quote:
Originally Posted by lipalok

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
26th February 2014, 09:49 AM   |  #3  
gladson1976's Avatar
Senior Member
Flag Chennai
Thanks Meter: 104
 
305 posts
Join Date:Joined: Feb 2008
More
Quote:
Originally Posted by 96DANGER96

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.
Last edited by gladson1976; 26th February 2014 at 09:52 AM.
26th February 2014, 09:59 AM   |  #4  
Member
Flag istanbul
Thanks Meter: 3
 
36 posts
Join Date:Joined: Jan 2010
More
Quote:
Originally Posted by lipalok

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...
26th February 2014, 10:19 AM   |  #5  
lipalok's Avatar
OP Member
Flag Nitra
Thanks Meter: 12
 
74 posts
Join Date:Joined: Jul 2013
More
Quote:
Originally Posted by gladson1976

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.
Last edited by lipalok; 26th February 2014 at 10:26 AM.
26th February 2014, 02:08 PM   |  #6  
96DANGER96's Avatar
Senior Member
Flag San Giorgio Monferrato
Thanks Meter: 79
 
286 posts
Join Date:Joined: Jul 2011
More
Quote:
Originally Posted by lipalok

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, 56 views)
26th February 2014, 04:00 PM   |  #7  
lipalok's Avatar
OP Member
Flag Nitra
Thanks Meter: 12
 
74 posts
Join Date:Joined: Jul 2013
More
Quote:
Originally Posted by 96DANGER96

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:	124
Size:	90.5 KB
ID:	2601875  
Last edited by lipalok; 26th February 2014 at 04:20 PM.
26th February 2014, 05:55 PM   |  #8  
96DANGER96's Avatar
Senior Member
Flag San Giorgio Monferrato
Thanks Meter: 79
 
286 posts
Join Date:Joined: Jul 2011
More
Quote:
Originally Posted by lipalok

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:	106
Size:	37.5 KB
ID:	2602004   Click image for larger version

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

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

Name:	Screenshot_2014-02-26-18-54-06.png
Views:	91
Size:	66.0 KB
ID:	2602007  
26th February 2014, 06:40 PM   |  #9  
lipalok's Avatar
OP Member
Flag Nitra
Thanks Meter: 12
 
74 posts
Join Date:Joined: Jul 2013
More
Quote:
Originally Posted by 96DANGER96

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
Last edited by lipalok; 11th March 2014 at 10:05 PM.
26th February 2014, 07:30 PM   |  #10  
96DANGER96's Avatar
Senior Member
Flag San Giorgio Monferrato
Thanks Meter: 79
 
286 posts
Join Date:Joined: Jul 2011
More
Quote:
Originally Posted by lipalok

I did everything you mentoined, but I can't overwrite these files

Try to overwrite them in the ROM.zip and flash the rom

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes