[Q] Platform.xml permissions - Android Q&A, Help & Troubleshooting

I have a Samsung galaxy s4 with build number I545VRUFNC5.(VZW) I have rooted the phone. I tried to manually fix the ability to write to sd card. In an attempt to swap the platform.xml file, I did not realize that the permissions would automatically change. The file is located here: device/system/etc/permissions/platform.xml. I am unable to fix the permissions to the file, even with root. As a result, the phone shows no files on the internal or external card. (no files are shown when connected to PC either)
I have tried to:
Factory data reset
Change file permissions using root/es file explorer (message: sorry, operations failed)
Change file permissions using terminal emulator (emulator error is "read only file system")
flash kit kat using odin (I flashed correctly, but I still could not change the permissions to the file)
Verizon wireless assistant (will not connect to phone)
Samsung Kies (It tells me that phone is not supported)
I can make calls/text, but cannot connect to internet. I there a way that I can change the file permissions from a computer? How can I go back to the original system settings?Please help.
Note: I also downloaded previous build for phone (I545VRUEMK2) I did not put this on the phone because I'm not sure if it is safe and I'm not sure that it will fix my problem.
Thank you

Fixed Problem
Just after posting this thread, I did a factory data reset. This followed the Kit Kat flash using odin. Everything seems to working normally now.
Thank You

Related

** New Root/Debrand/update to 2.1 tutorial for x10 mini (E10A) **

Okay, here's the tutorial and downloads for all you x10 mini (e10a) people out there who want to root + debrand + update to 2.1
Here's a link to a vid i made for this procedure and the outcome once done:
http://www.youtube.com/watch?v=JIojWZkraZ0
Here's a link for the software to root your phone and add customisation:
http://forum.xda-developers.com/showpost.php?p=8976947&postcount=1
Here's a link to root Explorer.apk:
http://www.4shared.com/file/IdOkM8of/Root_Explorer_Vs_2102.htm
Here's the link to the claro build.prop file:
http://forum.xda-developers.com/showthread.php?t=820009&page=4
Here's a link to the problem i faced and how i resolved it:
http://forum.xda-developers.com/showthread.php?t=854457
here's a link to sony's update utility:
http://www.sonyericsson.com/cws/sup...eserviceapplication/xperiax10mini?cc=gb&lc=en
procedure:
1. download and extract to you descktop the newest GUI flashtool
2. in your phone go to settings ->applications-> and check unknown sources
3. in settings ->applications-> development-> check usb debugging
4. in you extract flashtool folder that should be on your desktop you will see a flash.bat file, open it to start program.
5. click on root and follow the procedure to start z4root and allow it to root and restart your phone, do not manually restart you phone, z4root will automatically restart your phone for you.
6. once your phone is completly restarted and functional, colse the flash.bat program and re-open it from the extracted program.
7. click on customise and allow it to fully install the applications, it will tell you finished when done.
8. mount your phone's sd card to your pc
9. download the root explorer.apk file from the download link provided and save it on you desktop.
10.copy the root explorer file from your desktop to the root of your sd card (do not put it in any folder)
11. unmount phone to computer
12. you will see on your phone that you have a program called astro, open the program,
13.in astro, navigate to your sd card and install root explorer.apk
14. once installed, exit out of astro
15. mount you phone again to your pc and create a new folder on the root of your sd card called new build, and create another folder called old build.
16. download the two build.prop files supplied in my download link and save it to your pc's desktop.
17. now open the build folder on your desktop and you will see two files, one called build.prop.claro and another called build.prop.vivo.
18.delete the build.prop.vivo file.
19. right click and rename the build.prop.claro file to build.prop (delete the .claro part)
20.drag and drop that file to you new build folder you created on your sd card.
21.unmount your phone from you pc.
22. on your phone, open root eplorer
23. scroll down to SYSTEM
24. find the build.prop file and copy it
25. back out of the SYSTEM folder and scroll down to the SD CARD
26. paste the copied build.prop file to the old build folder you had created on your sd card (its basically a backup in case you ever mess up)
27. now in root explorer, go to you SD CARD and copy the build.prop file from your new build folder that you initially downloaded and renamed.
28. scroll back to SYSTEM and click on the r/w button on the top left of screen
29. then past and overwrite the file
30.now exit out of the program and restart you phone.
31. don't worry if you phone menu system looks kinda wonky or doesn't really work properly once your phone has restarted. just make sure its fully rebooted
32.download and install the sony ericsson update service program from the download link supplied.
33. accept the terms and follow the instructions... (it will ask you to put your phone in recover mode by turning off your phone and pressing the back button while plugging in your phone via usb) you can make this process quicker by simply already having your phone plugged in and simply pressing and holding the top power button+back button+home button until the green light remains on.
34. the program will tell you that there is new software available for your phone
35. install and enjoy 2.5
Extras step to making the experience even better!
i personally don't like the boot animation of the new 2.1 update and would rather not have the claro operator logo at the boot startup. the way to do that is:
root your phone again by following my instructions earlier, and install the root explorer.apk file again from your sd card. once your have root explorer installed and working navigate to SYSTEM and then to MEDIA. in media you will see a bootanimation.zip file, simply delete it.
Now for removing bloatware (operator specific applications):
to remove application that may be of annoyance, just go into root explorer again and navigate to SYSTEM and the to APP and dele and .apk files that are programs like ei: claro.apk... make sure you press the r/w button whenever you want to delete or overwrite something in SYSTEM. And be aware that if you don't know what your doing, you can brick your phone. SO BE CAREFUL!
And finally, as most would already know, this is all at your own risk. Sometimes its better to leave these types of hacks alone if you don't know what your doing.
I take no responsibility or credit for any of these hacks. thanks to all the members on XDA Developers for your support and help.
There are steps to make it simpler ... which is independent of the version they have in the cell (2.1 Uk or other ... 1.6) is achieved by having the American firm ... thus reduce it without diminishing the tutorial: alex0983
1. Planet app install
2. Find and install z4root
3. Permamente root install and follow instructions, the phone will reboot ...
4. In Planet app also find the Root Explorer and install ...
5. Connect the phone and copy the build.pro (Claro) to the SD and disconnect
6. Open root explorer and if I get a message to: super user ... allow him ....
7. mounted R / W. ... go the SD route where the build.prop copy and recopy this time from root explorer and find the path: / system and replace the phone ....
8. Turn off the phone ....
9. Connecting to Seus and select repair ...! and ready ... your phone now is American again! And firmware 2.1
10. To remove things Claro, just make the points 1,2,3,4! then the path / system / media to copy the boot loader found in the forum and in the path / system / app to delete the applications they say. clear (remember to mounted R / W)
I hope you find it useful! And that worked for me! Obviously, thanks to your tutorial alex0983 which also served me as a whole, but I found the quickest way!
Sorry for my bad english!
re:
hey no problem, i'm glad you found it useful. Sorry for the 35+ steps... I just wanted to make it easy to follow for people who had never done something like this before. Just trying to help ppl.
Actually the tutorial is very well prepared but no longer so necessary to the root from the phone! And for that we are in the community to help and facilitate the process to other users!
Kudos for you alex0983 and kloriahdez, thanks for your posts!!!
hi alex,
im stuck at no 22.
when i try to open root explorer, i get:
root explorer has not yet managed to obtain root access. because of issues with superuser, this often happens the first time the app is run but is usually fine from then on.
im new to android phones, that is why im relying on your step by step tutorial. but now im stuck with superuser/root explorer issue
This...
I will take a Xperia X10 mini later (my new phone,now i have widfire, but is tu big ) , i will try to root in this night, let ou guys the results
Good damn!
Work, perfect, but when i wass try to install app2sd after my phone, won t let install any apps, and ...lol no wirless conection Wi Fi , or GSM . ( free space on phone 173 Mb ).
I manage to resolve all with a repair from update , on Zeus ( good luck i wass made this update first ... but i think it can be working for the first update ).
i will try this night again , and i will send results later.
Yes good damn now my phone enter in boot looping ..... on the first boot won t start after that i wass tryng to repair with Sony repair and tell me the soft is still not availlble . How ca i arestore to 2.1 ? i put the build.prop like you write ... and now i can even start my phone. How i can make the old again?
_________________________________
Finaly managed this with flash tools . guys don t try this with already upgraded version to 2.1 ( you will be stuck in boot looping), is god to root, but only this in my case.
Root work.
noob with problem
I'm getting some problems in open the root explorer. The x10 mini is rooted (i run the rom manager without error), but when i run the root maneger, i recive the error "Root explorer has not yet managed to obtain rot acces. /because of issues with superuser, this often happens the first time the app is run but usually fine from then on. /click ok and restart the app to try again. /makesure you respond correctly the superuser prompt". I've got this erro always i open the program. I've reinstall it and the problens still. What i'm doing wrong?
Sorry the bad english, and thx to the help
Hi
I have 2.1 update 1 version
Should this procedure work with this or it won't work
If not, how to root the phone?
I mentioned that kingoldstyle had the same problem. I also updated the phone prior to doing this procedure.
So, maybe kingoldstyle can help me with rooting?
How to use flashing tools?
Thanks.
problems
im stuck ant no 28, whats a r/w button? and when i try to paste the build tells me: you cannot paste here because the file system is read-only. help me please

Trying to copy nv_data.bin and FAILING

I been playing with my phone for a few days now trying to get it to work and I haven't had much success although I have been learning a hole bunch and now able to load any rom onto my phone easily and flash kernels and such with ease...
The situation is that I received a phone from a friend SGSII I have never had a rooted phone and it came pre rooted, never knew much about it as it is my first Android phone and now love it
never knowing I had to do these things like "backup EFS directory" and such as I know now... anyhow, a few days ago what has happened is I have a stock rom + CF-Root and my phone all a sudden started telling me there is no IMEI and no SIM card present.. after much research, flashing of roms, kernels, bricking the phone, re flashing and so on and so foth....... xda-developers is a FANTASTICK site full of useful information btw now I'm still at the same point but a lot more knowledgeable, I have learned that the problem lies with my efs folder and have found a .nv_data.bak file that is dated dec 31 of last year, at this point it is my only so called backup and hope that it will restore proper functions of the phone, as per some of the guides and other posts and questions I have learned to do this.. so what I have done was copy using ADB my files to my sdcard folder renamed my nv_data.bin to nv_data.bak and my .nv_data.bak to nv_data.bin
also I have used root explorer to copy the hole efs folder to a location on my external sd card and used HC-kTool to make a backup of my efs folder
now I have been trying to use the command to copy my nv_data.bin file in the sdcard folder to my efs folder and it is not working as it gives me msges of write protected file or file exist canot copy... the commands I have been trying to use are
cp /sdcard/nv_data.bin /efs/nv_data.bin
cp /sdcard/nv_data.bin /efs/
I have tried also
rm command to remove the file but nothing has been working...
one thing I should mention is that I have been connecting withough usb cable as I can't seem to connect with that I keep getting device not found so I been using the wireless adb function
abd connect "ip addressort"
I have tried installing the kies driver for usb and the google sdk drivers and none seem to work, in fact kies doesn't reconize my phone aswell... but Odin seems to function through my USB just fine.... not sure if that matters or not but trying to give as much info as possible
Thank you in advance for the help.... this is a great site with very knowledgeable ppl
permissions have to be reset as the back up does not copy the permissions. Use cwm recovery to reset the permissions.
Thank you very much for you quick response, however I have just tried that, booted into cwm recovery, went to advanced and reset permissions, rebooted my hone and still cannot copy the file
Try using a Root Explorer from the market.Connect via wifi obviously if your phone cant detect sim.Phone needs to be rooted.Give Root Explorer root permission and set to R/W from R/O and copy paste the nv.data files and IMEI to the efs folder in the root of your phone,reboot,boot to recovery and "fix permissions" and boot again.
sorry I guess I should of mentioned that aswell but thank you very much for the suggestion... I have tried to edit the file weather just delet it or overwrite or change permissions with Root Explorer and to no success.. also when I push the mount r/w button in the efs folder... nothing happens and the button stays as mount r/w
I found this.Maybe it will help.
http://forum.xda-developers.com/showthread.php?t=1258734
http://forum.xda-developers.com/showthread.php?t=1261948
http://forum.xda-developers.com/showthread.php?t=1085374
and if you manage to get it back then use this:
http://forum.xda-developers.com/showthread.php?t=1308546
Thank, I havent had time to read through them all but I will try tonight and see if I can come up with a solution... I will post here my findings weather they are good or bad..... but thank you very much for the info
I have read and tried and seen all those post, thankyou for the info the problem is still that I cannot modify my nv_data.bin file in any way... I cannot overwrite to it or anything using rootexplorer or adb or any other program... does anyone know of any other programs or command lines to strip the read only permissions on this file as it seems stuck on this and it's driving me insane lol
Gave up
I gave up and had it done professionally, they couldn't figure it out either and had to replace the phone.... Thank you all for the great help, even tho we didn't get it figured out it was great that help was provided
Thank you XDA-Developers your awesome!!
ive the same issue,got a rooted s2 with cwm all the forums cay copy the efe data but i cant find a way,anyone know how to do it?,i need to eddit it to unlock my phone:ie the simlock.
thanks
thank you for sharing your ideas

[Q] Unable to add scripts to init.d folder, cm 10.1

I have been trying to use int2ext, however flashing or placing the script directly fails to work.
There are no errors when using cwm, but when looking in a file manager the script is 0kb, and empty.
Pasting the script using ES file explorer does the same, places a empty 0kb file, this is with system mounted as r/w.
Tried using the file manager that comes with CyanogenMod but it shows an error when pasting rather than placing anything.
Different attempt with Mounts2sd, it asks to update the Init.d, but it fails with the error 'the init.d startup script cannot be copied to the system partition'
Busy box also fails to configure.
I am using CyanogenMod 10.1 for the wildfire s.
Not sure what's going on, followed all instructions when installing cyanogen originally. I will flash again, but unfortunately away from home to restore contacts once I'd re-install (though not major issue) Will go ahead with it if its recommended.
Looking to see if there might be another issue and way to resolve it.
It is partitioned just seems an issue with permissions and access.
Be happy to see the end of this low memory.

bricked galaxy s4 sch-i545 Verizon

yeah.. so bought phone from swappa a couple years ago. It had a ROM on, was rooted, but I wanted to update / install cyanogenmod and so decided to factory restore (4.2.2) and then upgrade device to lollipop. Rooted again using http://forum.xda-developers.com/galaxy-s4-verizon/general/root-of1-t3249971 (worked like a champ), but was having trouble with Barnacle tether app. Used this procedure: http://bbs.elephone.hk/thread-5991-1-1.html~
----
1. Download SQLite Editor from Play store – Open it and grant the root access
Go with a file root explorer into data/data/com.android.providers.settings/databases. Make a copy of settings.db if you are not sure about what you are doing
Open SQLite Editor and grant the root access. Go into data/data/com.android.providers.settings/databases and open settings.db and Global option
Select the "add" button and create a new pair entry
id= 108
name=tether_dun_required
value=0
Save and exit
2. Open a file explorer with root access (root explorer, ES File Explorer…). Go in /system and edit build.prop
At the end of the file, add this line:
net.tethering.noprovisioning=true
Save and exit
3. Shutdown your phone and restart in recovery mode, then go in Wipe/advanced and select Dalvik and Cache. Wipe this 2 files. Then reboot the phone.
-----
(made copies of db and build.prop, named with '_orig' in same (respective) directories, but reboot failed after clearing cache. Now all I can do is get into download mode. Kies says not meant for this device. repeated attempt to reload factory image using odin fail. booting into recovery mode gives message "software update failed - your device didn't update successfully. Use the Verizon Software Repair Assistant on a computer to repair your device and complete the update"
I read some things about verizon recovery app, but the download I managed to find doesn't actually install anything (yes, strange I know), and Verizon steered me toward samsung / Kies 3.
Is there a way to crack into the CLI (using adb for example) while in download mode so I can try to revert back to orig. settings.db and build.prop?
(should have left well-enough alone, pdanet was working
clymer said:
yeah.. so bought phone from swappa a couple years ago. It had a ROM on, was rooted, but I wanted to update / install cyanogenmod and so decided to factory restore (4.2.2) and then upgrade device to lollipop. Rooted again using http://forum.xda-developers.com/galaxy-s4-verizon/general/root-of1-t3249971 (worked like a champ), but was having trouble with Barnacle tether app. Used this procedure: http://bbs.elephone.hk/thread-5991-1-1.html~
----
1. Download SQLite Editor from Play store – Open it and grant the root access
Go with a file root explorer into data/data/com.android.providers.settings/databases. Make a copy of settings.db if you are not sure about what you are doing
Open SQLite Editor and grant the root access. Go into data/data/com.android.providers.settings/databases and open settings.db and Global option
Select the "add" button and create a new pair entry
id= 108
name=tether_dun_required
value=0
Save and exit
2. Open a file explorer with root access (root explorer, ES File Explorer…). Go in /system and edit build.prop
At the end of the file, add this line:
net.tethering.noprovisioning=true
Save and exit
3. Shutdown your phone and restart in recovery mode, then go in Wipe/advanced and select Dalvik and Cache. Wipe this 2 files. Then reboot the phone.
-----
(made copies of db and build.prop, named with '_orig' in same (respective) directories, but reboot failed after clearing cache. Now all I can do is get into download mode. Kies says not meant for this device. repeated attempt to reload factory image using odin fail. booting into recovery mode gives message "software update failed - your device didn't update successfully. Use the Verizon Software Repair Assistant on a computer to repair your device and complete the update"
I read some things about verizon recovery app, but the download I managed to find doesn't actually install anything (yes, strange I know), and Verizon steered me toward samsung / Kies 3.
Is there a way to crack into the CLI (using adb for example) while in download mode so I can try to revert back to orig. settings.db and build.prop?
(should have left well-enough alone, pdanet was working
Click to expand...
Click to collapse
Greetings,
Thank you for using XDA Assist. To get you the specific help you need, I'm going to move this thread to your device's Q&A forum. The experts that own your device are located there and will be able to help.
Good luck!

Xposed/Note 3 on Jasmine Rom/Snapchat login fail workaround

As you all know if you have Jasmine Rom installed it comes preinstalled with xposed framework that can't be Uninstalled.
I have Note 3 SM-N900V but am unable to flash custom recovery due to my emmc not starting with 15. So Ihad to go about finding a different way of doing this. And this is the only way it has worked through many trial and errors and restarting phone from scratch. This is the only way that works that i have found. Anytime I have tried to I have bricked phone and it will not boot back up. tryed flashify , flashfire, flashing the uninstall zip and nothing would work For those of you having issues with this . Follow this workaround on how to get
Snapchat working again.
Go to es file explorer and navigate to
1. data/data/de.robv.android.xposed.installer/ after opening xposedinstaller folder you will see a files folder take the whole files folder and move it to extsdcard or to pc.
2. Navigate to system/bin/app_process.xposed move app_process.xposed to same place you moved the file folder to.
3. Navigate to system/framework/ and move XposedBridge.jar to the same place as other files .
Restart phone and install snapchat and login.
Now you can move those files back to there original places. Then Restart phone again.
mnkurk1989 said:
As you all know if you have Jasmine Rom installed it comes preinstalled with xposed framework that can't be Uninstalled.
I have Note 3 SM-N900V but am unable to flash custom recovery due to my emmc not starting with 15. So Ihad to go about finding a different way of doing this. And this is the only way it has worked through many trial and errors and restarting phone from scratch. This is the only way that works that i have found. Anytime I have tried to I have bricked phone and it will not boot back up. tryed flashify , flashfire, flashing the uninstall zip and nothing would work For those of you having issues with this . Follow this workaround on how to get
Snapchat working again.
Go to es file explorer and navigate to
1. data/data/de.robv.android.xposed.installer/ after opening xposedinstaller folder you will see a files folder take the whole files folder and move it to extsdcard or to pc.
2. Navigate to system/bin/app_process.xposed move app_process.xposed to same place you moved the file folder to.
3. Navigate to system/framework/ and move XposedBridge.jar to the same place as other files .
Restart phone and install snapchat and login.
Now you can move those files back to there original places. Then Restart phone again.
Click to expand...
Click to collapse
yes but phone is still rooted and it does not work on rooted phones
Yes it does work on rooted phones

Categories

Resources