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.
lipalok said:
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.
Click to expand...
Click to collapse
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
96DANGER96 said:
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
Click to expand...
Click to collapse
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.
lipalok said:
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.
Click to expand...
Click to collapse
I'll check my GS2 that has these values and write here...
gladson1976 said:
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.
Click to expand...
Click to collapse
It didn't work I'm not able to copy them. Try it on your phone, please.
lipalok said:
It didn't work I'm not able to copy them. Try it on your phone, please.
Click to expand...
Click to collapse
I've attached 8921_usb_otg folder with all the files here, use es file manager with root permissions to replace them.
96DANGER96 said:
I've attached 8921_usb_otg folder with all the files here, use es file manager with root permissions to replace them.
Click to expand...
Click to collapse
What values should I use?
UPDATE: After trying it, copy task failed
lipalok said:
What values should I use?
Click to expand...
Click to collapse
I don't know.
UPDATE: After trying it, copy task failed
Click to expand...
Click to collapse
Follow my attached screenshot and mount / rw, /system rw. then try to copy
96DANGER96 said:
I don't know.
Follow my attached screenshot and mount / rw, /system rw. then try to copy
Click to expand...
Click to collapse
I did everything you've mentoined, but I can't overwrite these files
lipalok said:
I did everything you mentoined, but I can't overwrite these files
Click to expand...
Click to collapse
Try to overwrite them in the ROM.zip and flash the rom
96DANGER96 said:
Try to overwrite them in the ROM.zip and flash the rom
Click to expand...
Click to collapse
There is no /d/ directory in .zip file
Also, I have to say that developers like @F4k should know about this
lipalok said:
It didn't work I'm not able to copy them. Try it on your phone, please.
Click to expand...
Click to collapse
Sorry about that. I don't have a S4 Mini (yet). Planning to get one next week.
Hi guys!
The "file" you are trying to edit is not a file, but sysfs node.
To set or read a value you do this:
adb shell
su
cd /d/regulator/8921_usb_otg
echo 1 > enable
etc...
try to set max_uV to USB voltage which is 5V, it's in uV so:
echo 5000000 > max_uV
marcin1147 said:
Hi guys!
The "file" you are trying to edit is not a file, but sysfs node.
To set or read a value you do this:
adb shell
su
cd /d/regulator/8921_usb_otg
echo 1 > enable
etc...
try to set max_uV to USB voltage which is 5V, it's in uV so:
echo 5000000 > max_uV
Click to expand...
Click to collapse
Will try!
@marcin1147
UPDATE: Error, please have a look on screenshot.
enable is under /d/regulator/8921_usb_otg not /d/regulator/8921_usb_otg/8921_usb_otg
btw. better do this with USB detached, you don't want to fry your PC, don't you?
marcin1147 said:
enable is under /d/regulator/8921_usb_otg not /d/regulator/8921_usb_otg/8921_usb_otg
btw. better do this with USB detached, you don't want to fry your PC, don't you?
Click to expand...
Click to collapse
No, I don't
maybe we need the file from samsung mega, who has the same soc
http://www.youtube.com/watch?v=jvl0HTf-NXc
lipalok said:
Will try!
@marcin1147
UPDATE: Error, please have a look on screenshot.
Click to expand...
Click to collapse
Ok, getting ready for max_uV directory.
UPDATE 1 : max_uV looks that has been changed, but it is not.
after you change the parameters, restart your phone
b0g said:
after you change the parameters, restart your phone
Click to expand...
Click to collapse
OK, booting...
UPDATE: Nothing has happened, so the problem must be elsewhere.
@b0g
BTW, do you have USB STORAGE option in storage Settings?
Related
Hey guys, how to install FMRadio.apk on RadonMod v2.5 rom?
Vincester said:
Hey guys, how to install FMRadio.apk on RadonMod v2.5 rom?
Click to expand...
Click to collapse
You just have to put the apk file of the FMradio on your sd card...then you open a file browser like astro-file-manager...you look for the path (you have chosen for the apk-file) and open the file by tapping it-->you have to tap "install" and it should work
if you haven't the file yet her you can get it http://forum.xda-developers.com/showthread.php?t=1375342
Vincester said:
Hey guys, how to install FMRadio.apk on RadonMod v2.5 rom?
Click to expand...
Click to collapse
install normally
Fly-High said:
You just have to put the apk file of the FMradio on your sd card...then you open a file browser like astro-file-manager...you look for the path (you have chosen for the apk-file) and open the file by tapping it-->you have to tap "install" and it should work
if you haven't the file yet her you can get it http://forum.xda-developers.com/showthread.php?t=1375342
Click to expand...
Click to collapse
Yes it should, but when i tap "install" it starts installing and say "Application not installed"
Just an idea but i heared of some guys who chose as default installing-place the internal storage (not sd-card) and then it installing was possible...maybe it will work
Fly-High said:
Just an idea but i heared of some guys who chose as default installing-place the internal storage (not sd-card) and then it installing was possible...maybe it will work
Click to expand...
Click to collapse
How should i do that?
You go to Settings -> Cyanogen Mod Settings -> Application -> Install location -> there you choose "Internal" ...hope it will work
Fly-High said:
You go to Settings -> Cyanogen Mod Settings -> Application -> Install location -> there you choose "Internal" ...hope it will work
Click to expand...
Click to collapse
Still not installing
Use root explorer
mount as r/w
put in system/app
set permission as rwx-rxx-rxx
then reboot
ajeetone said:
Use root explorer
mount as r/w
put in system/app
set permission as rwx-rxx-rxx
then reboot
Click to expand...
Click to collapse
What is permission rxx???
it means mounting/unmounting your storage...maybe by installing with root explorer (how ajeetone said) will help...
...if you set permissions as r/w for the internal storage, maybe it could work....but after putting file in system/app you have to change permissions back to rwx-rxx-rxx
the current status (r/w) you see in the marked part...
Fly-High said:
it means mounting/unmounting your storage...maybe by installing with root explorer (how ajeetone said) will help...
...if you set permissions as r/w for the internal storage, maybe it could work....but after putting file in system/app you have to change permissions back to rwx-rxx-rxx
the current status (r/w) you see in the marked part...
Click to expand...
Click to collapse
How to put permission to rxx? there i can put only read-write-execute (rwx)
Vincester said:
How to put permission to rxx? there i can put only read-write-execute (rwx)
Click to expand...
Click to collapse
rxx means you should just check Read and unchek the other two options in a row (if they are checked).
rwx means you should check Read and Write, and uncheck the third option in a row.
In your case you should uncheck Execute in every row.
Thanks for this post. I'm having exactly same issue with the RadonMod v2.5. Did you manage to install fmRadio?
Did you get the apk from stock?
Sent from my GT-S5830 using xda premium
No, i changed the ROM
Anyone found a solution???Mine still doesent work...
I just switched from my M7 to the M8 yesterday. I was excited to have the external SD for saving pictures, moving apps, but mostly to host my backups. I have since unlocked my bootloader and rooted the device. Unfortunately I'm unable to write any back ups through TWRP to the card. I was wondering if anyone found any fixes? I've already tried SDFix but it seems not to work with our device. Any help would be appreciated!
Sidenote: I know this probably belongs under development but I'm unable to post yet as my post count is too low. Thanks again!
iNiREALiZED said:
I just switched from my M7 to the M8 yesterday. I was excited to have the external SD for saving pictures, moving apps, but mostly to host my backups. I have since unlocked my bootloader and rooted the device. Unfortunately I'm unable to write any back ups through TWRP to the card. I was wondering if anyone found any fixes? I've already tried SDFix but it seems not to work with our device. Any help would be appreciated!
Sidenote: I know this probably belongs under development but I'm unable to post yet as my post count is too low. Thanks again!
Click to expand...
Click to collapse
You will need to edit platform.xml file in/system/etc. Are you comfortable ?
I'm not sure. If there was a tutorial that was available I could possibly follow it. Otherwise is this something that could be included in future rom builds? I wouldn't mind waiting.
Sent from my HTC One_M8 using xda app-developers app
iNiREALiZED said:
I'm not sure. If there was a tutorial that was available I could possibly follow it. Otherwise is this something that could be included in future rom builds? I wouldn't mind waiting.
Sent from my HTC One_M8 using xda app-developers app
Click to expand...
Click to collapse
Look for nextapp's SDFix in the play store.. Root and system write protection off is required. It basically edits the file for you (also backs up the original)
silentvisitor said:
You will need to edit platform.xml file in/system/etc. Are you comfortable ?
Click to expand...
Click to collapse
Could you detail the edits for reference anyway please? I'll need to know shortly too.
graffixnyc said:
Look for nextapp's SDFix in the play store.. Root and system write protection off is required. It basically edits the file for you (also backs up the original)
Click to expand...
Click to collapse
The app worked for me!
graffixnyc said:
Look for nextapp's SDFix in the play store.. Root and system write protection off is required. It basically edits the file for you (also backs up the original)
Click to expand...
Click to collapse
Thanks for the help. I tried sdfix this morning. It kept failing and rebooting. I'm rooted but if you could explain how I turn write protection off that would be awesome!
iNiREALiZED said:
Thanks for the help. I tried sdfix this morning. It kept failing and rebooting. I'm rooted but if you could explain how I turn write protection off that would be awesome!
Click to expand...
Click to collapse
the quick way? go to the module thread in Original development and follow the instructions. You'll have to do it at every boot though unless you're on a rom that supports init.d support. If you're on stock I made a guide to disable it on boot automatically without init.d support
My guide: http://forum.xda-developers.com/showthread.php?t=2702575
graffixnyc said:
the quick way? go to the module thread in Original development and follow the instructions. You'll have to do it at every boot though unless you're on a rom that supports init.d support. If you're on stock I made a guide to disable it on boot automatically without init.d support
My guide: http://forum.xda-developers.com/showthread.php?t=2702575
Click to expand...
Click to collapse
Sorry if I'm missing something totally obvious. I went and read the thread. I download the file with extension .ko. Copied it to root of internal memory. Opened up terminal app and typed "sh" then used command "insmod /storage/sdcard0/wp_mod.ko"
Am I missing something?
iNiREALiZED said:
Sorry if I'm missing something totally obvious. I went and read the thread. I download the file with extension .ko. Copied it to root of internal memory. Opened up terminal app and typed "sh" then used command "insmod /storage/sdcard0/wp_mod.ko"
Am I missing something?
Click to expand...
Click to collapse
su
not sh..
type su
hit enter
then type
insmod /storage/sdcard0/wp_mod.ko it wont show you any output or anything.. if it brings your back to the terminal prompt it ran right
graffixnyc said:
su
not sh..
type su
hit enter
then type
insmod /storage/sdcard0/wp_mod.ko it wont show you any output or anything.. if it brings your back to the terminal prompt it ran right
Click to expand...
Click to collapse
I tried it again using "su". I'm pretty sure that is what I used the first time as well because when I entered the command the super user prompt came up to allow access for terminal. Same results. Didn't see any confirmation. Exited app and tried running SDFix and failed again. I then followed your link to your thread and followed step by step. Got all the way to the point where I was trying to save the text document at the end and got the prompt that I could not save the file.
I'm usually pretty good at following tutorials and I'm sure I'm not skipping steps but who knows. I think this one has me defeated lol.
If you put it on your SD card try just /sdcard/wp_mod.ko
Sent from my HTC One using Tapatalk
If you run the command.. And then run it again. It will tell you it already exists that's how I figured out it ran ok..
Sent from my HTC One using Tapatalk
backfromthestorm said:
Could you detail the edits for reference anyway please? I'll need to know shortly too.
Click to expand...
Click to collapse
Sure. Here it is:
You need to make following change to platform.xml in /system/etc.
Add <group gid="Media_rw"/> under WRITE_EXTERNAL_STORAGE and WRITE_MEDIA_STORAGE(or similar).
Save. Set Permission to rw-r-r or 644.
Reboot and Enjoy
Good luck :good:
silentvisitor said:
Sure. Here it is:
You need to make following change to platform.xml in /system/etc.
Add <group gid="Media_rw"/> under WRITE_EXTERNAL_STORAGE and WRITE_MEDIA_STORAGE(or similar).
Save. Set Permission to rw-r-r or 644.
Reboot and Enjoy
Good luck :good:
Click to expand...
Click to collapse
Well I ran through both tutorials (yours and the others) once again. Entered the command twice to confirm and got the message "failed file already exists". So I'm assuming that part went through fine but still unable to run SDFix successfully or edit the install_recovery.sh file. Wouldn't allow me to save through es text edit or the standard one.
So now I'm trying to manually change the platform.xml file. When I navigate to system/etc I don't see any file named "platform.xml". Also tried a search through es file explorer and couldn't find any file. Any thoughts?
iNiREALiZED said:
Well I ran through both tutorials (yours and the others) once again. Entered the command twice to confirm and got the message "failed file already exists". So I'm assuming that part went through fine but still unable to run SDFix successfully or edit the install_recovery.sh file. Wouldn't allow me to save through es text edit or the standard one.
So now I'm trying to manually change the platform.xml file. When I navigate to system/etc I don't see any file named "platform.xml". Also tried a search through es file explorer and couldn't find any file. Any thoughts?
Click to expand...
Click to collapse
My apologies.
Its /system/etc/Permission/platform.xml
iNiREALiZED said:
Well I ran through both tutorials (yours and the others) once again. Entered the command twice to confirm and got the message "failed file already exists". So I'm assuming that part went through fine but still unable to run SDFix successfully or edit the install_recovery.sh file. Wouldn't allow me to save through es text edit or the standard one.
So now I'm trying to manually change the platform.xml file. When I navigate to system/etc I don't see any file named "platform.xml". Also tried a search through es file explorer and couldn't find any file. Any thoughts?
Click to expand...
Click to collapse
Are you mounting it as r/w in the file explorer? It doesn't seem like you're doing that. I know the module works.. You can't just install the module and it's magically writable.. you still have to make it r/w in a file explorer before you make any changes. I don't use es. I use root explorer and there is a r/w button on top.
graffixnyc said:
Are you mounting it as r/w in the file explorer? It doesn't seem like you're doing that. I know the module works.. You can't just install the module and it's magically writable.. you still have to make it r/w in a file explorer before you make any changes. I don't use es. I use root explorer and there is a r/w button on top.
Click to expand...
Click to collapse
Wow. Excuse my ignorance. I wasn't doing that. I downloaded root explorer and used the button to mount as you mentioned and viola I was able to save the edits! I'm now able to create folders on the ext SD. Still get an error when trying to backup from twrp but I guess that's an issue for another day.
I really appreciate all the help!
iNiREALiZED said:
Wow. Excuse my ignorance. I wasn't doing that. I downloaded root explorer and used the button to mount as you mentioned and viola I was able to save the edits! I'm now able to create folders on the ext SD. Still get an error when trying to backup from twrp but I guess that's an issue for another day.
I really appreciate all the help!
Click to expand...
Click to collapse
As of now recovery doesn't support exfat formatted cards, If your sd card is formatted as exfat it will fail in recovery. You need to either format your external sd card to fat32 or just wait until the recovery is updated to support exfat. It will once they get kernel source code
graffixnyc said:
As of now recovery doesn't support exfat formatted cards, If your sd card is formatted as exfat it will fail in recovery. You need to either format your external sd card to fat32 or just wait until the recovery is updated to support exfat. It will once they get kernel source code
Click to expand...
Click to collapse
How far out do you think that is? I was figuring I could just get a cheaper card for my backups. Only thing is if I remember correctly Fat32 only supports up to 4GB files correct? I remember my backups being a tad over that so getting another card might not even make a difference.
Whenever I try to move a file to internal storage when I connect my phone to laptop, it won't let me transfer. Same thing when trying file explorers on my phone.
ARHD, Elemental Kernel, S-off?
"Won't let me" means exactly what?
Maybe your firewall is blocking it?
Does your device show up as media device in WinExplorer?
What kind of files and size?
Have you tried Superbeam or Airdroid = transfer over WiFI?
Or even better: set up a shared folder (shared with everyone) on your laptop's C: drive, get File Manager HD or ES Explorer on your phone and transfer files via the network share.
berndblb said:
"Won't let me" means exactly what?
Maybe your firewall is blocking it?
Does your device show up as media device in WinExplorer?
What kind of files and size?
Have you tried Superbeam or Airdroid = transfer over WiFI?
Or even better: set up a shared folder (shared with everyone) on your laptop's C: drive, get File Manager HD or ES Explorer on your phone and transfer files via the network share.
Click to expand...
Click to collapse
I cannot write any files to my Viper4Android folder that I'm supposed to be allowed to (put IRS files in there). Computer and ES Explorer won't let me copy to that folder.
BrandonPrice31 said:
I cannot write any files to my Viper4Android folder that I'm supposed to be allowed to (put IRS files in there). Computer and ES Explorer won't let me copy to that folder.
Click to expand...
Click to collapse
Check the folder's permissions. Long press and details
You sure the folder is not on the system partition which is write protected?
Post it's path
berndblb said:
Check the folder's permissions. Long press and details
You sure the folder is not on the system partition which is write protected?
Post it's path
Click to expand...
Click to collapse
Nope - files are supposed to be copied there.
It says readable and writable :S
I can't even delete the folder. This makes no sense!
BrandonPrice31 said:
Nope - files are supposed to be copied there.
It says readable and writable :S
Click to expand...
Click to collapse
And the path?
berndblb said:
And the path?
Click to expand...
Click to collapse
/sdcard/
BrandonPrice31 said:
/sdcard/
Click to expand...
Click to collapse
Crazy!????
Do you have TWRP? Boot into it and under Advanced choose 'fix permissions'.
berndblb said:
Crazy!????
Do you have TWRP? Boot into it and under Advanced choose 'fix permissions'.
Click to expand...
Click to collapse
Tried dirty install, see if that works.
Yes I have TWRP, will try if dirty install of ARHD doesn't work.
hi
well obviously i have a galaxy fame
unfortunately the touch function does not work
usb debugging is enabled but i dont have any custom rom
can someone help me access all my photos on the internal sdcard please
these are very important to me
PeatFx said:
hi
well obviously i have a galaxy fame
unfortunately the touch function does not work
usb debugging is enabled but i dont have any custom rom
can someone help me access all my photos on the internal sdcard please
these are very important to me
Click to expand...
Click to collapse
you can find it ,at DCIM Folder
faizauthar12 said:
you can find it ,at DCIM Folder
Click to expand...
Click to collapse
well to be honest im new to all of it.
i tried an adb pull of sys but cant find the dcim folder
i had the phone in recovery mode.
i think maybe a step by step guide would held lol
PeatFx said:
well to be honest im new to all of it.
i tried an adb pull of sys but cant find the dcim folder
i had the phone in recovery mode.
i think maybe a step by step guide would held lol
Click to expand...
Click to collapse
To pull any file from your device, you need to know its path. Once you know the path of the file, enter the following command to pull the file.
adb pull <path-of-the-file>
For instance, lets pull the Settings.apk which is located in the /System/app/ folder on your device.
adb pull /system/app/Settings.apk
The file will be pulled and saved in the ADB folder itself.
And DCIM folder is in sdcard (At least mine is in sdcard. Maybe it differs from device to device.)
Hope I helped.:good:
Hello I have been trying to look for the lockscreen.ogg file location. It has seemed to changed in Android 12 if I'm not mistaken. It was located in System/Media/UI but it seems that is no longer even there with Android 12. Does anyone have any idea where this is? Thank you!
Try system/product/media
Ronny220 said:
Try system/product/media
Click to expand...
Click to collapse
That is exactly the spot I was looking for. For some reason I cant get root explorer to mount R/W to overwrite the old file. Root Explorer does have SU access as well. Any ideas?
stalls said:
That is exactly the spot I was looking for. For some reason I cant get root explorer to mount R/W to overwrite the old file. Root Explorer does have SU access as well. Any ideas?
Click to expand...
Click to collapse
There are one or more Magisk Modules that will make it appear for all intents and purposes that you've overwritten or changed a file. It will do what you need. Because root is systemless, you can't (and shouldn't want to) actually change or delete any system files for real. I don't know the name(s) of the Magisk Modules that will do that, as I haven't had a need, but many users in this section have suggested others use such modules to do something similar to what you want to do.
running "settings list global" on adb shell gave me this location "lock_sound=/product/media/audio/ui/Lock.ogg" I was gonna check on root explorer but forgot im not rooted right now but hopefully that is it.
I just am trying to change the sound when locking the phone.
stalls said:
I just am trying to change the sound when locking the phone.
Click to expand...
Click to collapse
Can you rename the stock file to lock.oggbak and then paste the new sound in obviously with the name lock.ogg?
Thebear j koss said:
Can you rename the stock file to lock.oggbak and then paste the new sound in obviously with the name lock.ogg?
Click to expand...
Click to collapse
You can not because root explorer is not able to switch to r/w. But I tried anyways and failed
stalls said:
You can not because root explorer is not able to switch to r/w. But I tried anyways and failed
Click to expand...
Click to collapse
you have to create a magisk module yourself and replace the file, with the one you want.
google around for a template of a simple magisk module, recreate the directory inside the magisk module where the file you want to replace sits on the phone (system/product/media/audio/ui), drop the new sound file there, zip the magisk module template and flash via magisk manager and do a reboot.
dynamic partitions donĀ“t allow for r/w mounting. replacing the file systemlessly via magisk during bootup is the only way.