[Q] Reboot when altering system files - Android Q&A, Help & Troubleshooting

I have two separate issues which I believe are caused by the same thing.
1. When I try to alter platform.xml in the /system/etc/permissions folder via ES File Explorer to enable 3rd party apps to have write capability to the SD card, the edit is unsuccessful and my phone reboots. When I pull a copy of the file to my PC, alter it, and then try to push it via ADB, the same thing happens. I previously used the ADB pull/push method to edit my hosts file and had success with that after doing it while in Recovery, but this time around both ways (in recovery and with the device booted up) result in my device rebooting. For the SD card fix, I've also tried the app that does it for you and encounter the same issue.
2. When attempting to update the SuperSU binary, the update fails my device reboots. This happens with either update method - normal and recovery.
So both issues seem to have the same root cause... my phone will not allow any editing of system files. Anyone have any suggestions?
For reference I'm on a Galaxy Note 4 (model SM-N910T) on T-Mobile.
Baseband version N910TUVU1ANJ7
Android version 4.4.4 (stock ROM)
Kernel version 3.10.0-2796035
Build number KTU84P.N910TUVU1ANJ7
I'm also running Wanam Xposed - not sure if that has anything to do with anything but just fyi.
Thanks

bump... anyone have any ideas?

replace the altered xml with a original/stock one..
If u have a backup

abhinavp649 said:
replace the altered xml with a original/stock one..
If u have a backup
Click to expand...
Click to collapse
I have the stock .xml in there right now... my problem is that I want to replace it, but I can't because my phone reboots every time I try.

Gakuseinozen said:
I have the stock .xml in there right now... my problem is that I want to replace it, but I can't because my phone reboots every time I try.
Click to expand...
Click to collapse
Is your Phone is rooted? If yes:
place the altered .xml somewhere in your sd card.
1. Install an app called Total Commander.
2. Navigate to the location where your stock file is located.(delete it)
3. Now goto sd card where you placed your altered file.
4. Tap on Icon of the .xml file, You will see a green tick mark on it.
5. When your file is selected. Tap on Copy/Move to Icon.( u will see two files one on one with a blue arrow)
6. Now Click on '>>' button to browse the location where you have to Copy/Move the File.
7. Now Tap Copy if You want a backup placed in sd card of the file or move if you just want one file to be there.
(Through all the Process I am assuming that your phone is rooted and you Have Granted SuperUser permissions to Total Commander)

abhinavp649 said:
Is your Phone is rooted? If yes:
place the altered .xml somewhere in your sd card.
1. Install an app called Total Commander.
2. Navigate to the location where your stock file is located.(delete it)
3. Now goto sd card where you placed your altered file.
4. Tap on Icon of the .xml file, You will see a green tick mark on it.
5. When your file is selected. Tap on Copy/Move to Icon.( u will see two files one on one with a blue arrow)
6. Now Click on '>>' button to browse the location where you have to Copy/Move the File.
7. Now Tap Copy if You want a backup placed in sd card of the file or move if you just want one file to be there.
(Through all the Process I am assuming that your phone is rooted and you Have Granted SuperUser permissions to Total Commander)
Click to expand...
Click to collapse
I'm assuming this will end with the same result as when I try it through ES File Explorer. ES has the same capability and I have given it root access already. Something is causing all attempts to alter system files to fail, regardless of root access.

Gakuseinozen said:
I'm assuming this will end with the same result as when I try it through ES File Explorer. ES has the same capability and I have given it root access already. Something is causing all attempts to alter system files to fail, regardless of root access.
Click to expand...
Click to collapse
This was not successful. Anyone else have any ideas? I tried posting logs in the SuperSU update failure thread, with the logic that if I get that issue fixed my other issue will be resolved also, but Chainfire hasn't responded to any of the requests in a while.

Related

[Q] Calibrate.ini

Hi everyone,
I had a couple of questions about the calibrate.ini file that you can create to recalibrate your screen.
First question is that, do I just create a blank calibrate.ini file and copy it to SD Card?
Second question is that, is there a risk of messing up my screen if I do this? or is it pretty safe to do it?
Thanks in advance
You can create the file right from your gtab using your choice of file explorer.
Instructions using ES Explorer:
1. Navigate to /sdcard/ (this is your internal memory...not sdcard2 with is your microsd card if applicable)
2. Hit menu, tap "New" then tap "File"
3. Name the file "calibration.ini" without the quotes
4. Reboot and don't touch the screen until the OS is fully loaded up (not sure if this is necessary, but can't hurt)
5. You're all set! I would then check to see if the file has disappeared from /sdcard/. It should have removed itself.
Good luck!
Update:
I was reading through this thread: http://forum.xda-developers.com/showthread.php?t=863741
It says that you MUST have a microsd card for this to work, and you MUST put the calibration.ini file in sdcard2 NOT sdcard as I mentioned previously.
I suggest trying to add the file to both locations, reboot, then remove both (if they still exist). It won't hurt to have the file in the wrong place.
I have used both the calibration.ini method and the app method (i.e. http://forum.xda-developers.com/showthread.php?t=934500&highlight=Calibrate) and have not had any bad things happen to my screen (only good things..).
I also went the computer to device route when creating the calibration.ini because i couldn't figure out how to make root explorer make the .ini !
racketier said:
You can create the file right from your gtab using your choice of file explorer.
Instructions using ES Explorer:
1. Navigate to /sdcard/
I was reading through this thread: http://forum.xda-developers.com/showthread.php?t=863741
It says that you MUST have a microsd card for this to work, and you MUST put the calibration.ini file in sdcard2 NOT sdcard as I mentioned previously.
I suggest trying to add the file to both locations, reboot, then remove both (if they still exist). It won't hurt to have the file in the wrong place.
Click to expand...
Click to collapse
Make sure you put it in the root of the SDcard
thanks a lot ...will do it when I get home
How do you know if it's doing anything? I put the file on the root of my sdcard2 and it boots like normal. Should I see something different?
dgstan said:
How do you know if it's doing anything? I put the file on the root of my sdcard2 and it boots like normal. Should I see something different?
Click to expand...
Click to collapse
Nope. But your screen will (hopefully) be more responsive.

How to Change Galaxy S3 Touch Sound

Can anyone here help or assist me, How to change the Galaxy S3 Touch Sound???
changing system sounds
Devils77 said:
Can anyone here help or assist me, How to change the Galaxy S3 Touch Sound???
Click to expand...
Click to collapse
This requires root!
The sounds (by default) are stored in /system/media/audio/ui/
!NOTE: This is for system/OS sounds. Notifications etc are not stored here!
Screen touch sound is "TW_Touch.ogg" and back and menu button sounds are "S_HW_Touch.ogg"
If you would like to change the sound to something else, find a mp3 or something that you would like to use then convert it to a .ogg format.
Can be done on this website: htt$p://audio.on$line-convert.$com/convert-to-ogg *Remove $ symbols from URL
Then rename your new .ogg to either "TW_Touch.ogg" or "S_HW_Touch.ogg" dependent on what sound you would like to change.
Place the .ogg file on your sd card and move it the mentioned directory and overwrite (delete) the original .ogg file (backup first).
Then remember to set the permissions of the .ogg file to "rw-r--r--" and make sure it is named correctly, it is case sensitive.
Reboot system and enjoy your new sounds :good:
I tried everything that you said and it doesn't work for me. When i try to move/overwrite the file it tells me "Cannot copy or move file". When i try to delete the orginal file first it tells me "Warning - Could not delete". I am on stock rom and rooted. When i try to change permissions to the original files it gives me error "unable to chmod /system/media/...bla bla". What to do?
Ok. I got it. Thanks for everything!! Thumbs up!
vibrophonique said:
I tried everything that you said and it doesn't work for me. When i try to move/overwrite the file it tells me "Cannot copy or move file". When i try to delete the orginal file first it tells me "Warning - Could not delete". I am on stock rom and rooted. When i try to change permissions to the original files it gives me error "unable to chmod /system/media/...bla bla". What to do?
Click to expand...
Click to collapse
Your root has failed, download root checker to see.
If it fails you will need to re-root with CF-Root.
Very Awesome. Thanks for the help.
I am running into an issue. My phone has been verified as rooted by rootchecker. The only way I can see the root directory on the phone is with Astro File Manager. Once in the correct folder, I can see the TW_TOUCH.OGG file and have a replacement. However I can't write to the folder. I can't even rename the original. Checking the properties of the file I don't see any notations that the file or folder are write protected. I assume the entire drive is per se with the exception of the \SDCARD directory.
Is there a better tool for doing all this? I'd like to have something I can use from a PC as well.
Thanks,
Karl
Use Super Manager or Android Commander .
jje
First you need to Root.
There are good guides around here.
I'd recommend ES File Explorer
Download it then
Open ES File Explorer
Menu > Settings > Root settings.
Check Root Explorer
Click Grant when SU popup appears.
Check Up to Root
and Check Mount File System.
Now it will copy succesfully to the system folder.
Slightly easier
No need to do renaming. Save desired oggs to your ext sd card.
Use Root Browser (ES doesnt seem to go to system no matter)
Use Root Browser. Go to your ext sd card. Long press on the desired .ogg. Copy it.
navigate to the folder l /system/media/audio/ui/ as instructed above.
Click paste. If your file is named correctly it will ask 'replace?' click yes. Do the same for the other file.
Reboot. You have to reboot. How it still plays water droplets before rebooting Idk. But reboot and you back to clicky goodness. (who thought of that water droplet. Chinese water torture.)
Edit: I attached the two files. Change from .txt to .ogg.
operation failed?
maluminse said:
No need to do renaming. Save desired oggs to your ext sd card.
Use Root Browser (ES doesnt seem to go to system no matter)
Use Root Browser. Go to your ext sd card. Long press on the desired .ogg. Copy it.
navigate to the folder l /system/media/audio/ui/ as instructed above.
Click paste. If your file is named correctly it will ask 'replace?' click yes. Do the same for the other file.
Reboot. You have to reboot. How it still plays water droplets before rebooting Idk. But reboot and you back to clicky goodness. (who thought of that water droplet. Chinese water torture.)
Edit: I attached the two files. Change from .txt to .ogg.
Click to expand...
Click to collapse
===========================
Did as per the above but responded "Operation Failed!".
What did I do wrong?
masterex567 said:
First you need to Root.
There are good guides around here.
I'd recommend ES File Explorer
Download it then
Open ES File Explorer
Menu > Settings > Root settings.
Check Root Explorer
Click Grant when SU popup appears.
Check Up to Root
and Check Mount File System.
Now it will copy succesfully to the system folder.
Click to expand...
Click to collapse
Thanks bro...worked for me!!!
help plz
Ok so i ran into a problem. Im using es file explorer and i accidentally changed my keyboard tap sound without backing up the original one. I also didnt look at the permissions before i changed it. Can someone tell me what the permissions are? Thx in advance. Im on a Samsung Galaxy s3. Im working on turning it into a halo themed phone, complete with halo system sounds and even halo themed icons.
officerswaggdaddy said:
Ok so i ran into a problem. Im using es file explorer and i accidentally changed my keyboard tap sound without backing up the original one. I also didnt look at the permissions before i changed it. Can someone tell me what the permissions are? Thx in advance. Im on a Samsung Galaxy s3. Im working on turning it into a halo themed phone, complete with halo system sounds and even halo themed icons.
Click to expand...
Click to collapse
Rw-r-r. In a grid of 1 to 9, top left to bottom right, 1,2,3,4 ticked. 5,6,7,8,9 unticked. Should be immediate but if not, just reboot.
Beamed in by telepathy.
Ok thanks. One more thing is it possible to add system sounds to it? Like a sound when i press the home button?
Sent from my SHV-E210K using XDA-Developers mobile app
shivadow said:
Rw-r-r. In a grid of 1 to 9, top left to bottom right, 1,2,3,4 ticked. 5,6,7,8,9 unticked. Should be immediate but if not, just reboot.
Beamed in by telepathy.
Click to expand...
Click to collapse
Ummm the sound is still the same even tho i overwrited it.
Sent from my SHV-E210K using XDA-Developers mobile app

[Q] Finally Rooted, still cannot move to SD??

It took forever but i'm rooted, Supersu installed, Busybox installed, Root Checker verified. I still cannot move apps to sd, app2sd program still says external sd is emulated??? Please help, did all this for nothing, it seems!!
Georgiazen said:
It took forever but i'm rooted, Supersu installed, Busybox installed, Root Checker verified. I still cannot move apps to sd, app2sd program still says external sd is emulated??? Please help, did all this for nothing, it seems!!
Click to expand...
Click to collapse
Same here. Tried link2sd and it worked once until phone was rebooted, then it can't create script.
I found this at www link2sd info/faq:
In order to use Link2SD you need to do "S-OFF" to disable this NAND lock. (a.k.a. "NAND unlock" or "unlocking the bootloader")
So maybe the bootloader has to be unlocked to move apps to SD. ???
Georgiazen said:
It took forever but i'm rooted, Supersu installed, Busybox installed, Root Checker verified. I still cannot move apps to sd, app2sd program still says external sd is emulated??? Please help, did all this for nothing, it seems!!
Click to expand...
Click to collapse
Megado said:
Same here. Tried link2sd and it worked once until phone was rebooted, then it can't create script.
I found this at www link2sd info/faq:
In order to use Link2SD you need to do "S-OFF" to disable this NAND lock. (a.k.a. "NAND unlock" or "unlocking the bootloader")
So maybe the bootloader has to be unlocked to move apps to SD. ???
Click to expand...
Click to collapse
Hello Guys,
Hold ON!! Hold ON!!!
You no need to do all that stuff to increase your phone's internal memory. Using Link2SD on L9 for increasing memory is a HORRIBLE !dea.
If you have a Class 10 (at least Class 8) SD Card with good storage capacity then Just Follow Me:-
1. First Download This script file and Install SManager (free app) from the link below:-
Script
SManager
2. Now use a file manager with root access and copy above script file to /system/etc/ Folder of your device.
3. Run SManager, It will start with explorer. Tap on UP Arrow at top left until the first directory icon left only with "/".
4. Now tap on etc-> /system/etc, in list. It will take you directly to /system/etc/ Folder of your device.
5. Find extsd2internalsd-jellybean.sh file which you copied in 2. Step. Tap on it.
6. An open as ... dialog will appear. Tap on Script/Executable
7. Next dialog will appear with some icons and text with it.
8. Now tap on Su icon (Android with crossed bones).
9. Then tap on Boot icon (gear).
10. Now last one, just tap on RUN Button.
DONE
now go to setting=> storage and check the size of internal memory :silly::silly:
this tutorial will exchange your phone's internal storage with external storage.
and all this tutorial is not my work. All credits goes to Roker1, so thanks to him. Just explained it in a simple way that I am using my Self
gdjindal said:
Hello Guys,
Hold ON!! Hold ON!!!
You no need to do all that stuff to increase your phone's internal memory. Using Link2SD on L9 for increasing memory is a HORRIBLE !dea.
If you have a Class 10 (at least Class 8) SD Card with good storage capacity then Just Follow Me:-
1. First Download This script file and Install SManager (free app) from the link below:-
Script
SManager
2. Now use a file manager with root access and copy above script file to /system/etc/ Folder of your device.
3. Run SManager, It will start with explorer. Tap on UP Arrow at top left until the first directory icon left only with "/".
4. Now tap on etc-> /system/etc, in list. It will take you directly to /system/etc/ Folder of your device.
5. Find extsd2internalsd-jellybean.sh file which you copied in 2. Step. Tap on it.
6. An open as ... dialog will appear. Tap on Script/Executable
7. Next dialog will appear with some icons and text with it.
8. Now tap on Su icon (Android with crossed bones).
9. Then tap on Boot icon (gear).
10. Now last one, just tap on RUN Button.
DONE
now go to setting=> storage and check the size of internal memory :silly::silly:
this tutorial will exchange your phone's internal storage with external storage.
and all this tutorial is not my work. All credits goes to Roker1, so thanks to him. Just explained it in a simple way that I am using my Self
Click to expand...
Click to collapse
When you say "folder of your Device", is it the firmware folder, there are several?
Georgiazen said:
When you say "folder of your Device", is it the firmware folder, there are several?
Click to expand...
Click to collapse
Also this script link is a text file not a downloadable script file, how would i put it wherever it has to go? Copy/paste the text?? So confused....
I found the script but ES file explorer will not allow you to paste it into etc folder.....
Georgiazen said:
Also this script link is a text file not a downloadable script file, how would i put it wherever it has to go? Copy/paste the text?? So confused....
Click to expand...
Click to collapse
Okay Let me clear your confusions.
Before copying script to etc folder es explorer have to obtain root access.
To do so, open es file explorer, tap in a small icon with a globe behind mobile, located at top left of ES file Explorer.
A menu from left side will appear, tap on TOOLS option, it will get expanded.
Now scroll Down until you see ROOT Explorer option with on OFF button.
Tap on OFF button in front off Root Explorer. A message or dialog will appear asking to allow root access to es file explorer (if your l9 is rooted & super user is installed).
Tap on allow. Now the off button should change to ON. Thats it, ES file explorer has gained root access. Now try to copy that script file to etc folder and then follow rest of tutorial.
if still you are confused, let me know
gdjindal said:
Okay Let me clear your confusions.
After looking your above queries, it look's like you are not familiar to android development or to any other programming languages.
So help you more deeply am gonna update my above tutorial more deeply. Try to follow it again
Again if you got confused, you can ask again. For now follow my updated tutorial again.
Click to expand...
Click to collapse
First voff I appreciate all your help, I really do. Where do i put the script in the etc folder specifically?
I have root but i get permission denied when i try and paste into system/etc folder using es file explorer
Georgiazen said:
First voff I appreciate all your help, I really do. Where do i put the script in the etc folder specifically?
I have root but i get permission denied when i try and paste into system/etc folder using es file explorer
Click to expand...
Click to collapse
Root permission is getting denied because your es explorer is not allowed. to do so i have updated my last answer just chk it out.
http://www.facebook.com/gdjindal1
Thanks gdjindal! I have some questions.
Does the SD need two partitions? Does this move any system apps to SD? Does it automatically move EVERYTHING else to SD or just apps newly installed after setting this up? Can you control which apps to move and/or move things back to internal? What happens if your SD card fails? Can this setup be uninstalled and revert back to stock? Do apps operate much slower running from SD this way?
Thanks again!
Megado said:
Thanks gdjindal! I have some questions.
Does the SD need two partitions? Does this move any system apps to SD? Does it automatically move EVERYTHING else to SD or just apps newly installed after setting this up? Can you control which apps to move and/or move things back to internal? What happens if your SD card fails? Can this setup be uninstalled and revert back to stock? Do apps operate much slower running from SD this way?
Thanks again!
Click to expand...
Click to collapse
Read my post here, this will help you understand what this swap script is actually doing.
http://forum.xda-developers.com/showpost.php?p=45268460&postcount=61

FIXED I'm trying to rename files on card but root explorer is refusing to allow.

I searched and tried updating busy box yet re isn't letting me rename downloaded files. It won't let me if I try on internal memory or SD card. I got mp3 files that weren't named with similar conventions as other files. Legally downloaded but the files weren't named similarly. My OCD is pissing me off! If I have root and busy box installed, I "should" be able to do whatever the hell I want! I tried a different, forgot the name, file manager than root explorer. ES, just remembered. Still no go!
First download root checker from playstore, to insure root...Secondly what android version are you on kitkat or jellybean?..Thirdly open up superuser & on the apps tab click root explorer and select forget, then retry renaming files...Also make sure binaries are updated thru supersu and both root explorer and supersu are up to date...
Hope this helps...
I figured it out. Capitalization isn't seen as a filename change. If I add a letter to the name, then save, then rename to what I wanted, then it works. Yeah an extra step but it works. Say the file is named 01. intro.mp3. I want to capitalize the i. I change it to a01. intro.mp3. Next I rename it again to 01. Intro.mp3. It accepts the filename change then.

Files App Showing 0 Byte APK in Downloads Folder

Hi guys,
I was checking my download folder today using the default Files app and saw this .apk file that I didn't download. Naturally, I wanted to remove the .apk but when I tried to remove it, the function failed.
I tried to get more information but there's nothing I can do to the .apk. I can't open it, copy it, rename it, etc.
Next step, I plugged my phone into my computer and looked at the internal Downloads folder via USB file transfer. I could not see that specific .apk, even with view hidden objects on.
So, I went into my file manager app (Amaze with root access) and went to the emulated Downloads folder, same thing. The folder did not show the .apk at all.
I opened up SD Maid and see if they can find and remove the file, but nope, didn't work.
Now, I'm thinking it's probably just a bug with the Files app so I deleted user data and cache, restarted my phone and all that but still, that .apk persists.
I'm at my wit's end and I have no clue how to remove this file. Any help will be appreciated.
I'm using Google Pixel 3, Android 10.
SeraphChaos said:
Hi guys,
I was checking my download folder today using the default Files app and saw this .apk file that I didn't download. Naturally, I wanted to remove the .apk but when I tried to remove it, the function failed.
I tried to get more information but there's nothing I can do to the .apk. I can't open it, copy it, rename it, etc.
Next step, I plugged my phone into my computer and looked at the internal Downloads folder via USB file transfer. I could not see that specific .apk, even with view hidden objects on.
So, I went into my file manager app (Amaze with root access) and went to the emulated Downloads folder, same thing. The folder did not show the .apk at all.
I opened up SD Maid and see if they can find and remove the file, but nope, didn't work.
Now, I'm thinking it's probably just a bug with the Files app so I deleted user data and cache, restarted my phone and all that but still, that .apk persists.
I'm at my wit's end and I have no clue how to remove this file. Any help will be appreciated.
I'm using Google Pixel 3, Android 10.
Click to expand...
Click to collapse
Same is happening with me right now
Using Oneplus 5 Android 10

Categories

Resources