[Q] Platform.xml editing went wrong - Xperia Z1 Compact Q&A, Help & Troubleshooting

I had some problems with my z1c and therefore I reflashed the kernel only.
But since then I can write on sd with ES File explorer but not with any other app.
I ran sdfix several times but with no luck.
Then I edited the platform.xml file but since then a lot of apps crash at boot time, I cannot see the external or internal storage anymore.
Of course I did not make a backup of this platform.xml file.
Is there a way to get back this file for stock rom 14.4.a.0.108?

deboopi2 said:
I had some problems with my z1c and therefore I reflashed the kernel only.
But since then I can write on sd with ES File explorer but not with any other app.
I ran sdfix several times but with no luck.
Then I edited the platform.xml file but since then a lot of apps crash at boot time, I cannot see the external or internal storage anymore.
Of course I did not make a backup of this platform.xml file.
Is there a way to get back this file for stock rom 14.4.a.0.108?
Click to expand...
Click to collapse
Here's a copy of the platform.xml file from my .108 stock rom. It's already got the write to SD fix in it so just replace in your system and enjoy

spudata said:
Here's a copy of the platform.xml file from my .108 stock rom. It's already got the write to SD fix in it so just replace in your system and enjoy
Click to expand...
Click to collapse
Thanks bt I lready reinstalled my Z1C.

No problem, it's there if you need it in future without having to do the sd card fix

Related

[Q] Another "sdcard\0" thread..

Soo, I know there's a lot of these threads around, but I can't find the answer I'm looking for. I'm wondering: After I flashed 4.2 I got this extra "0" folder on my internal sdcarrd. Can I just cut/paste the content of the "0" folder back to the original sdcard root? or will this have a negative effect on the storage?
Regards.
olfyboy said:
Soo, I know there's a lot of these threads around, but I can't find the answer I'm looking for. I'm wondering: After I flashed 4.2 I got this extra "0" folder on my internal sdcarrd. Can I just cut/paste the content of the "0" folder back to the original sdcard root? or will this have a negative effect on the storage?
Regards.
Click to expand...
Click to collapse
I had this issue earlier so i moved everything back to the root folder and deleted "0". If you are planning on flashing a few 4.2 roms i suggest you use the latest TWRP recovery or wait for the updated clockwork recovery because everytime you flash 4.2 roms they automatically create a 0 partition so you will end up with 0/0/0 etc depending on how many you flash
K, thanks!
I think I'll just copy the content of the "\0" folder back to the root, and stick with the ROM I'm on now. Then I'll update CWM when an update is released.
Aaargh.. I'm getting kinda pissed now..
When I try to copy the sd-content back to the root, it says that the device has stopped responding, or isn't connected. Can you tell me what is the standard root folder for the sd-content?
After installing a previous backup the was still a 0 folder so I copied all of the files to the root folder however it made the pictures unable to view
Sent from my Galaxy Nexus using xda app-developers app
I've tried several methods to move my clockworkmod folder out of the "0" folder to the sdcard "root" to no avail.
I'm currently backing up everything from "0" to my desktop. Once that's done, how can I push the clockworkmod folder to the sdcard "root"?
daewond3r said:
I've tried several methods to move my clockworkmod folder out of the "0" folder to the sdcard "root" to no avail.
I'm currently backing up everything from "0" to my desktop. Once that's done, how can I push the clockworkmod folder to the sdcard "root"?
Click to expand...
Click to collapse
Seems like there are some problems copying big folders over to the root. Try to first copy the CWM folder from your PC into some folder on the sd-root. Then, from your phone, open up a file explorer and copy the CWM folder to the root. Pretty weird, but it looks like it's working for me..
Edit: Yupp! worked for me. Hope you'll sort it out aswell.
olfyboy said:
Seems like there are some problems copying big folders over to the root. Try to first copy the CWM folder from your PC into some folder on the sd-root. Then, from your phone, open up a file explorer and copy the CWM folder to the root. Pretty weird, but it looks like it's working for me..
Edit: Yupp! worked for me. Hope you'll sort it out aswell.
Click to expand...
Click to collapse
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
move it to /data/media
---------- Post added at 12:26 AM ---------- Previous post was at 12:11 AM ----------
here's how it works
before the virtual link to /sdcard was /data/media
cwm was writing under /data/media so cwm folder would show up under /sdcard as well
now the virtual link to /sdcard is /data/media/0
that's because of multiuser (even if multiuser is not working on phones)
cwm is still wriyinb to /data/media so cwm golder eoll mot show up under /sdcard
solutions
1. to copy cwm foldrr on pc: move cwm folder from /data/media to /data/media/0 that is to /sdcard then attach phone to pc and copy folder from sdcard
2. to restore from a backup on your vomputer: attach phone to pc, create cwm folder on sdcard andcopy h erebackup folis, copy cwm foldef from /data/media/0 into /dara/media
it is normal to have a /data/media/0 which means /sdcsrd
it is not normal to have /data/media/0/0 which means /sdcard/0
the latter happens on your second installation etc.
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
I used solid explorer beta2. You'll find it on google play
Sent from my Galaxy Nexus using Tapatalk 2
I haven't updated to 4.2 yet because of this sdcard/0 issue I'm reading about
I don't care much about what's on my SD card besides my Nandroid backups so the only thing for me is: can I restore a backup from CWM if I move the "clockworkmod" folder from sdcard/0 back to the root of the SD card?
I assume there's no other adverse effects of all our files and stuff being on sdcard/0 instead of just sdcard root?
Enhanced said:
I haven't updated to 4.2 yet because of this sdcard/0 issue I'm reading about
I don't care much about what's on my SD card besides my Nandroid backups so the only thing for me is: can I restore a backup from CWM if I move the "clockworkmod" folder from sdcard/0 back to the root of the SD card?
I assume there's no other adverse effects of all our files and stuff being on sdcard/0 instead of just sdcard root?
Click to expand...
Click to collapse
read my commeny above: yes, although cumbersone, yes
I'm thinking this is the appropriate thread to post this so here I go. I flashed the newly released 4.2 rooted stock image and there were a few problems :
1. I forgot to delete the cache/dalvik cache, which created a bootloop and completely messed up my device, and I had to wipe/factory data reset from the recovery to fix it (in which case I had to lose almost all of my data)
2. I accidently overwrote an existing nandroid backup of the previous (CM 10 stable) ROM I had made to restore just in case anything happens, so I was out of options to restore my nexus to a working state. I finally had to use the crashed ROM's nandroid backup using an advanced recovery so I had my photos, videos etc intact. I got it finally working but anyways,
3. I restored my apps+data using titanium backup. I wanted to go back to my CM10 backup which I had made using ROM manager and it was still present with the rest of my data. But when I selected the backup which made, the device restarted and gave me an error stating "SD CARD MARKER NOT FOUND" :crying:
Now I'm unable to restore or even make a new backup with ROM manager. And to add, I have like three folders for storage using up too much space on my sdcard :
1. root/sdcard - I have no idea where this came from but it sure has an awful lot of my files copied there
2. root/storage/sdcard0
3. root/storage/emulated - has two subfolders : 0, legacy
All of the above locations contain the same exact files and I just want my nexus back the way it was. I know I can flash CM10 right away but I just wanna get some help on how to delete and make changes to these added folders by properly moving the files without crashing the os.
Any help would be greatly appreciated!
I am having this issue as well and am very very annoyed. Please help. Thanks. I cannot get into recovery manually or otherwise. Keep getting Andy with the red exclamation mark in his chest and must remove battery to reboot.
Fu#k rom manager and CWM use TWRP an rom toolbox pro an you will be fine on 4.2 JB.
Sent from my Galaxy Nexus using xda premium
Update: got it working.. had to flash back cm10 stable, move files around and get back the old ROM manager backup and restore it. Its fine now. Not to mention the 4.2 ROM was pretty unstable on my nexus, causing several reboots and sometimes it froze (especially when I connected it to my desktop) and I had to remove the battery and put it back in to get it working. Moreover the 4.2 rom screwed up the file system, making my nexus' SD card unreadable on any desktop. It just wouldn't install the drivers whatsoever. I'd wait for cm10.1 than try any other custom 4.2 from now on.
Sent from my Galaxy Nexus using xda app-developers app
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
You can download Root Browser Lite from play store, which gives you complete access to the root of your phone and internal files such as system/.

Camera Fix for MIUI "cant connect to camera"

Let me start by saying that i do not take credit, by any means for this fix, i did use the SEARCH tool and found the solution. What i'm doing is posting a faster/easier fix for the thread here http://forum.xda-developers.com/showthread.php?t=2196200
All of the help i read, is from this thread here http://forum.xda-developers.com/showthread.php?t=2102981&highlight=miui+camera.
Our common issue was that each time we flashed an AOSP ROM(for me the new MIUI PORT FROM SPRING TO SHG3 TMO) the camera wouldn't connect, and that's a deal breaker. Im sure it was for many of you. (I'm a noob, just giving a heads up, and this is why i have to post here rather than the first thread, being understandbly limited and all) As the 2nd of the two threads says, the issue is that on stock rom there is a bin file named SlimISP_ZH.bin, once flashed, it's no longer there, causing the camera to simply not connect. I odin'ed back to stock(because i didn't have access to the bin file), used ES File Explorer to "copy" the SlimISP_ZH.bin file into my external sd card, then i proceeded to flash to the MIUI ROM of my choice, after setting up the phone, using ES File Explorer again, i placed the bin file on the /data directory. If a mod can confirm it's ok, i'll be more than happy to upload the bin file to make it easier. Oh one last thing i changed permissions, so it should show as rw-r--r--
fmanila said:
Let me start by saying that i do not take credit, by any means for this fix, i did use the SEARCH tool and found the solution. What i'm doing is posting a faster/easier fix for the thread here http://forum.xda-developers.com/showthread.php?t=2196200
All of the help i read, is from this thread here http://forum.xda-developers.com/showthread.php?t=2102981&highlight=miui+camera.
Our common issue was that each time we flashed an AOSP ROM(for me the new MIUI PORT FROM SPRING TO SHG3 TMO) the camera wouldn't connect, and that's a deal breaker. Im sure it was for many of you. (I'm a noob, just giving a heads up, and this is why i have to post here rather than the first thread, being understandbly limited and all) As the 2nd of the two threads says, the issue is that on stock rom there is a bin file named SlimISP_ZH.bin, once flashed, it's no longer there, causing the camera to simply not connect. I odin'ed back to stock(because i didn't have access to the bin file), used ES File Explorer to "copy" the SlimISP_ZH.bin file into my external sd card, then i proceeded to flash to the MIUI ROM of my choice, after setting up the phone, using ES File Explorer again, i placed the bin file on the /data directory. If a mod can confirm it's ok, i'll be more than happy to upload the bin file to make it easier. Oh one last thing i changed permissions, so it should show as rw-r--r--
Click to expand...
Click to collapse
How do you change permissions? Do I need to be rooted? Do I need busybox?
dbwlaw said:
How do you change permissions? Do I need to be rooted? Do I need busybox?
Click to expand...
Click to collapse
Yes you need to be rooted. No you do not need busybox. Use ES File Explorer. Better yet, try Fix Permissions in Custom Recovery.
file
can you please provide me the file
email: [email protected]

[Q] Cannot delete contents in extSDcard

So I recently found out that I cannot delete the contents within my SD Card, worked before.
I have tried it with the stock file explorer from samsung and ES file explorer. What happens is that I try to delete it, it disappears, then I load up the file manager app again and the files are there!
I can load up these files no problem (video files and everything plays well)
Does anyone know any way to fix it?
kazemitsui said:
So I recently found out that I cannot delete the contents within my SD Card, worked before.
I have tried it with the stock file explorer from samsung and ES file explorer. What happens is that I try to delete it, it disappears, then I load up the file manager app again and the files are there!
I can load up these files no problem (video files and everything plays well)
Does anyone know any way to fix it?
Click to expand...
Click to collapse
Download, " Folder mount" from google play, it will detect a faulty SD card & will fix it, reboot, you will have again a functional Ext. SD Card.
lsherif said:
Download, " Folder mount" from google play, it will detect a faulty SD card & will fix it, reboot, you will have again a functional Ext. SD Card.
Click to expand...
Click to collapse
Ok I officially feel retarded...
Somehow my PC set EVERY FILE to read only...
kazemitsui said:
So I recently found out that I cannot delete the contents within my SD Card, worked before.
I have tried it with the stock file explorer from samsung and ES file explorer. What happens is that I try to delete it, it disappears, then I load up the file manager app again and the files are there!
I can load up these files no problem (video files and everything plays well)
Does anyone know any way to fix it?
Click to expand...
Click to collapse
sorry didnt see your comment about it being fixed.I deleted what i wrote.

cant find my CWM Nandroid backups ?!

Ok so I just rooted my S3, 4.4.2 Boost Mobile phone. Worked fine. No problem rooting it. Made a backup using CWM and then I installed Philz recovery and also made another back up. In recovery it shows BOTH backups, and says they are located in
/sdcard/clockworkmod/backup
then in individually named folders of the backups.
HOWEVER, when I look using ES File Explorer, I only have the clockworkmod folder, and it does NOT contain any other folders, no "backup" folder at all.
Ok, so let me try the Aroma File manager. Same thing if I go to /sdcard/0/clockworkmod/ there are two very small files:
".last_install_path", and ".recovery_version".
HOWEVER, I am able to navagate to /sdcard/clockworkmod/ and THERE I find the backup folder with my two backups.
Why can I not find this folder from android? Even when I use STORAGE ANALYZER and tell it to look at the system parttions and even when I use ES FILE MANAGER and tell it to do an SD CARD ANALYSIS, it doesn't show these backups. So I have copied a backup to the download folder of the sdcard and am hoping to copy it over to my PC before flashing a new ROM.
NOTE: I do NOT have an external SD Card installed yet.
I just thought this is super strange. ?? Anyone have any idea? Thanks.
Now after booting into Android and looking into the folder I copied to /Download, the folder is empty.. !?!? I'm SO LOST right now....
It SHOWS that space is missing on my device so these files DO EXIST SOMEWHERE but SOMEHOW it's as if they are being hidden... is it knox???
Ok if I use "MY FILES" I can see the folder that I copied to /Download and the files in it, but NOT if I use ES File Manager, and NOT if I use Root Explorer. However even MY FILES still shows clockworkmod dir as empty!?
Ok so it turns out it has something to do with a permissions issue. Why is that? I run Storage Analyzer and when I try to click on the recoveries I copied to /Download it tells me that I don't have permission for that folder. Do I need to run some kind of FIX PERMISSIONS on this? Is there such a thing for the S3?
I found someone else talking about this same thing and looks like they solved it. here is the link:
http://forums.androidcentral.com/google-nexus-7-2012-rooting-roms-hacks/229739-where-my-rom-manager-backups-android-4-2-a.html

[Help Me!] Can not copy zip file via MTP mode, delete TitaniumBackup folder and more

hi all,
the first, sorry for my poor English but I have problems and need help
my hydrogen can not copy Zip file via MTP mode, i can not copy zip file from any folder to another folder / can not delete some folders (Titanium Backup) in Internal Memory by File Manager ( Error: don't have permission)., also I've tried with root access. But media files and .apk file still works fine.
I've tried again and again with all Roms (CM, MIUI Stock) but problem is still there!
i need your help! :crying:
k1n9n0th1n9 said:
hi all,
the first, sorry for my poor English but I have problems and need help
my hydrogen can not copy Zip file via MTP mode, i can not copy zip file from any folder to another folder / can not delete some folders (Titanium Backup) in Internal Memory by File Manager ( Error: don't have permission)., also I've tried with root access. But media files and .apk file still works fine.
I've tried again and again with all Roms (CM, MIUI Stock) but problem is still there!
i need your help! :crying:
Click to expand...
Click to collapse
I've had this problem when copy files in TWRP and then I can't delete them in Android even from terminal... Back to TWRP file manager and deleted them...
Probably not the same problem as yours but I thought I will mention it...
Didn't realy bothered to figure it out but must be permissions/ownership related...
nijel8 said:
I've had this problem when copy files in TWRP and then I can't delete them in Android even from terminal... Back to TWRP file manager and deleted them...
Probably not the same problem as yours but I thought I will mention it...
Didn't realy bothered to figure it out but must be permissions/ownership related...
Click to expand...
Click to collapse
so...why i can not copy / delete ... them even i reinstall Stock Rom with clean install by Flash?
ok. now i know why...
k1n9n0th1n9 said:
ok. now i know why...
Click to expand...
Click to collapse
... and...?
nijel8 said:
... and...?
Click to expand...
Click to collapse
i reinstall Stock, everything works fine and i think there's some folders (or files / hidden files) in the internal memory (made by Stock when boot up) , they assume the permission to read and write every file :-?
before that, I had to clean up the internal memory in which important files erased
solved....
now i can delete/copy all folders and files i want :laugh:

Categories

Resources