Note 3 dead after modifying platform.xml - Android Q&A, Help & Troubleshooting

Hey all, i am having a terrible night right now
i was trying to let my titanium backup to be able to write on my sd card, then i found you could do it by adding a new permission in platform.xml, so i edited the file and after i reboot it, all of my apps crash, no access to my storage (phone nor sd card) and no internet access
i did several method but none of them works (like run a .zip file in recovery and trying to modify the platform.xml) and also factory reset, but it still couldn't get it fix
maybe my method was so close to get it fix, just i couldn't get it done properly but could anyone give me a hand and help me get through the problem?
thx!!!!!

Related

Corrupt files

Hi,
I searched through everywhere but did not find a real good answer.
On my HD2 Phone Memory I have a few files that have strange filenames with strange characters. I want to remove them but then it says it can't cause the file is corrupt. (Don't think they are corrupt, just problems with the filenames) I also tried to remove the whole directory but then it removes all files in the directory but not those strange ones and then it can't remove the directory cause it is not empty. Also tried to rename them, but it also is telling me the files are corrupt.
The only option I found that probebly will work is the Hard Reset, but I don't want to do that since I want to remove them for my backup program wich also can't handle these files.
Now, I tried the original explorer, the Resco explorer and Total commander.
Does anyone has an idee how to remove them?
thanks
Rom: Artemis 18 NLD
Radio: 2.10.50.08_2
Is there nobody with an idea?
are these in your device memory or on the sdcard ....
if they are in Device memory I would say a Hard Reset is your only option to fix it, but if you have corrupt files in device memory , you may have a hardware issue ...
If you have corrupt files on your SD card, copy everything you can to your pc and then format the card ... and then put your stuff back ...
If it does it again, in either place, you may have some hardware problems ...
OR, this could be too, had it on a guys phone the other day, PC infected with a virus that keeps trying to spread to the phone every time it is plugged into the PC ...
watcher64,
Thanks for the answer,
It is in device memory and it is not a hardware issue since it is only from one app. YouTube. Obviosly it is the caching (windows/YouTube)
I use an other YouTube Application now. But the other files I can't remove. I did not want to hard reset since I don't want to reinstall all the stuff. Eventualy I will reinstall with a newer ROM. But I was planing to see how stable this rom is and just try using it for at least 3 months. I can backup everything with excluding that specific directory. But I just will keep trying to remove those files.
So if there is anyone out there that knows how to remove those files.....
Are there tools for this filesystem, (wich filesystem is it?)

Can I explore root without rooting phone?

This might be a silly question, but I was currently trying to backup some saves for games I bought, and was unable to find my Final Fantasy 3
saves on my sdcard.
I found out that the saves are actually in internal storage in some location like /data/data/com.square_enix.android_googleplay.FFIII_GP
My phone isn't currently rooted, and the file explorers I found required root.
Is there a way I can backup the saves to my PC without having a rooted phone?
I wanted to backup all my stuff before attempting to root my phone, but will the root process erase my phone's internal storage, or is that only
when flashing ROMs?
Wifi File Explorer Pro seems to work fine. I can see the folders outside of the SDCard folder...including the root stuff. Now changing those files or folders...I have not tried.
JonSolo said:
Wifi File Explorer Pro seems to work fine. I can see the folders outside of the SDCard folder...including the root stuff. Now changing those files or folders...I have not tried.
Click to expand...
Click to collapse
Thanks, downloaded the app and I do seem to be able to explore the phone's internal storage, however the data folder in question seems to be
completely empty according to the app.
EDIT :
After trying with another app, it looks like I probably need root to view the /data folder.

Allow apps to write to SD on Marshmallow B330

I'm having problems gving apps access to the external SD card. On previous phones using kitkat or lollipop I have been able to edit the platform.xml file in system/etc/permissions or if I couldn't be bothered to manually edit I've used SD Fix from the Play Store. I primarily want to change it so that apps like Opera Browser which don't give the dialog whereby you can grant permission for the external SD can still gain access.
On Marshmallow I don't seem to be able to find the correct section to modify (WRITE_EXTERNAL_STORAGE) and SD Fix says it can't find the correct section to modify either.
Does anyone know what it is that I need to modify to get the same results within Marshmallow? Or is there an app that will solve the problem for me?

A mod to allow 3rd party apps to write to SD has screwed up my tablet, please help!!

Hi, I have a Digiland DL1010Q tablet with kitkat 4.4.2
Apologies in advance if this post is a little long, but I wanted to be thorough in my explanations in order to better my chances of getting the problem solved.
Kitkat 4.4.2 apparently doesn't allow 3rd party programs to write on an external SD card and since I wanted that functionality back (and I have root access), I decided to do the "Sdfix" modification. It has an app for it in the play store but I decided to do it the manual way as described in many threads online.
The modification is basically to edit the /system/etc/permissions/platform.xml file and add in the WRITE_EXTERNAL_STORAGE category the line "<group gid="media_rw" />". This is supposed to give back write permission on sd card to 3rd party apps.
Now the issue is that the particular instructions I was looking at didnt mention reeditting this file's permission after making the edit so the permissions might have not been at 644 (rw- r-- r--) after I made this edit...
Once I rebooted the tablet it booted up fine but once on the desktop, I started getting a bunch of messages that apps were crashing in the background. The tablet came from factory with 2 partitions, one for the OS and the main part of the user apps, and a secondary partition called "INTERNAL STORAGE" with the extra install files for the largest user apps and some settings, etc... The issue seems to be that this secondary partition now cannot be accessed unless i use es file explorer with root access and navigate to the mnt/media_rw/sdcard0 folder (the internal storage has always been referred as sdcard0 before, so the name isnt new). So basically without root, the apps cant access that data partition and load their settings,etc and load properly. At least thats what I think is happening but I could be wrong.
The weird part is that even with root, I can only access the content of the internal storage through es file explorer if I go through the mnt/media_rw/ folder, if I go through other folders, I can't seem to access the content. Without root explorer access, es file explorer can't even access the content of the mnt/media _rw folder. If I go through the "sd card analyst" tool in es file explorer, it would normally display the content of the internal storage, but it now fails and say that it doesnt have the right permission (even if es file explorer has root explorer access).
I have since edited the platform.xml file permissions to make sure they were at 644, reboot, no luck.
I then reverted the changes to platform.xml and made it identical to what it was at the beginning, permissions 644, reboot, no luck and es file explorer navigation was identical.
Through my many googling attempts I found a few other people who had this issue and one user's recommended fix involved deleting the file /data/system/packages.xml (which he said gets modified when platform.xml changes), clearing the cache and delvik cache, then rebooting. I actually tried this and the delvik cache got repopulated normally during bootup but the issue persisted. (the packages.xml file reappeared but I am not sure how identical it is to the one I deleted)
Does anyone have any suggestion on how I could fix my issue without doing a facory reset? I would greatly appreciate any help in solving this short of a full wipe.
Have you tried wiping the userdata?
What is the userdata? You mean all my apps, settings, etc? Like a factory reset? If so, no, I'm trying to avoid having to resort to that.
Or you mean some sort of cache? I manually deleted the content of the delvik cache folder, and I have used the "clear cache" option in the recovery menu I can access at bootup if i hold power and volume up.
Or do you mean something else entirely?
bump

Can't Enable Write Access to SD Card for Applications - No File Manager

I'm afraid this is a problem I've created for myself.
Rooted, LineageOS 15.1, TWRP.
After installing ES File Explorer, I decided to uninstall some of the duplicate applications that I was using third party replacements for, including the factory File Manager. Unfortunately, I put in a new SD card after this and now when trying to delete image galleries from programs like QuickPic (or do similar things in other apps) I'm not able to grant permissions to the SD card as the default behavior is for the programs to use the File Manager to access the root path and grant permissions.
I tried "Root Explorer" on ES File, and went to "Mount R/W", however my SD card path /mnt/media_rw/6630-6630 indicates that it is already mounted RW, despite the applications not being able to utilize this.
Is there any command line method I could use to enable R/W access from all apps to the SD card? Or a way I could re install the factory file manager? Any insight or help would be appreciated.
Trying this method also did not help. Unless someone has an idea, I may just have to reinstall LineageOS and not make this same mistake again:
https://www.thedroidway.com/fix-external-sd-card-write-permission-in-kitkat-lollipop/
This also did not seem to help.
https://forum.xda-developers.com/apps/magisk/module-exsdcard-write-access-enabler-t3670428
Can't format my phone until I'm done dealing with a customer at the moment, so unless someone comes up with something before then I guess that's what I'll do. Blegh.
Edit: Reinstalled LineageOS, will make more of an effort this time to just disable rather than outright uninstalling factory apps. The "System Removal Tool" or whatever the name was I got from the play store to clean up with last time lacked the option to simply disable.

Categories

Resources