Write files on system directory. - Galaxy S II Q&A, Help & Troubleshooting

Hi all.
I'm trying to copy some files to the system partition after enabling write on read-only partitions and remounting it and everything is success, but when I restart the phone, files get deleted and partition back to original. I tried ES file explore and Total Commander.
Galaxy S2, cMIUI 2.10 JB

Hmm.. seems like a hard question!

Elancore said:
Hi all.
I'm trying to copy some files to the system partition after enabling write on read-only partitions and remounting it and everything is success, but when I restart the phone, files get deleted and partition back to original. I tried ES file explore and Total Commander.
Galaxy S2, cMIUI 2.10 JB
Click to expand...
Click to collapse
Elancore said:
Hmm.. seems like a hard question!
Click to expand...
Click to collapse
Hey,
no not a hard question but a bit confusing
So the copy to system works without probs?
Do u have root-enabled on it?
U can try Solid explorer once, too, to be sure.
CHEERS

I enabled root explorer and I mounted the file system to be writable, yes I have a rooted phone.
I can copy to system root folders anything (media files), the files stay there until I reboot the phone then they disappear, they get deleted maybe? how to disable that?
Thanks

Elancore said:
I enabled root explorer and I mounted the file system to be writable, yes I have a rooted phone.
I can copy to system root folders anything (media files), the files stay there until I reboot the phone then they disappear, they get deleted maybe? how to disable that?
Thanks
Click to expand...
Click to collapse
That listen like u have to save changes?!
Pls try the Solid explorer (for me the best explorer ever)
Copy files and have a look for root-acces request (should be asked for Solid, if it's new)
The copy/replace the file.
CHEERS

Thanks Hannibal for reply, I got no luck on doing it, they still get removed after reboot. Is there a way to flash these files that I want to copy to system as an update.zip?

Elancore said:
Thanks Hannibal for reply, I got no luck on doing it, they still get removed after reboot. Is there a way to flash these files that I want to copy to system as an update.zip?
Click to expand...
Click to collapse
Sure there's a way, but I can't help u with it, sorry.
With new Titanium Backup u can create flashable .zips but for sure only from isntalled apps.
Maybe u have a look at google. I remind for a tool which u just say what u wanna flash an it creates the flashable .zip.
Much success....
CHEERS
Edit: Sorry but couldn't answer u yesterday.
XDA had a prob for a while

Related

[Q] Removing 2.2 without wrecking my phone

Hey guys so I haven't been following much lately due to exams. But I just found out Recovery was released for X10 and want to install it.
So I just wanted to know how I could safely remove 2.2 from my phone. I remember some guy deleting the folder off his sdcard and wrecking his phone. How do I avoid it?
mackdaddy187 said:
Hey guys so I haven't been following much lately due to exams. But I just found out Recovery was released for X10 and want to install it.
So I just wanted to know how I could safely remove 2.2 from my phone. I remember some guy deleting the folder off his sdcard and wrecking his phone. How do I avoid it?
Click to expand...
Click to collapse
Just do a clean install of whichever ROM you want using flash tool then install recovery mode onto that.
mackdaddy187 said:
Hey guys so I haven't been following much lately due to exams. But I just found out Recovery was released for X10 and want to install it.
So I just wanted to know how I could safely remove 2.2 from my phone. I remember some guy deleting the folder off his sdcard and wrecking his phone. How do I avoid it?
Click to expand...
Click to collapse
what u need to do mate is fairly simple. you need to delete a file and a folder.
boot into 2.1, open root explorer and make sure you are in R/W mode.
delete the chargemon file from /system/bin and delete the /sdcard/freeX10 folder
the freex10 folder contains all the data files for the 2.2 rom
the chargemon file contains the boot hijack that allows you to multi-boot. without this file (if you delete it all together like i am suggesting) the phone will simply boot into 2.1
once you have booted back into 2.1, you can setup the recovery menu
hope that helps mate, and thanks for not posting in the Dev thread!!!
mrtim123 said:
what u need to do mate is fairly simple. you need to delete a file and a folder.
boot into 2.1, open root explorer and make sure you are in R/W mode.
delete the chargemon file from /system/bin and delete the /sdcard/freeX10 folder
the freex10 folder contains all the data files for the 2.2 rom
the chargemon file contains the boot hijack that allows you to multi-boot. without this file (if you delete it all together like i am suggesting) the phone will simply boot into 2.1
once you have booted back into 2.1, you can setup the recovery menu
hope that helps mate, and thanks for not posting in the Dev thread!!!
Click to expand...
Click to collapse
Thank you so much, that worked like a charm.
Also LOL @ the dev thread comment. I am not really that retardo.

[Q] Over-right framework-res.apk not working?

Hi,
I want to over-right the framework-res.apk file to mod the battery icon but in Root explorer it says the file is read-only and when I try Android Commander it says I need root to do this. I know I have root working as titanium backup works. So how comes I can't copy over this file?
You need to mount your system patition as r/w.
Before pasting the modified framework-res.apk, click on the "mount r/w" button at the top of the Root Explorer window. Then you'll be able to overwrite it.
Don't forget to click the button again (which is now "mount r/o") to remount the system partition as read only again.
AFK_Matrix said:
Hi,
I want to over-right the framework-res.apk file to mod the battery icon but in Root explorer it says the file is read-only and when I try Android Commander it says I need root to do this. I know I have root working as titanium backup works. So how comes I can't copy over this file?
Click to expand...
Click to collapse
Using root eksplorer to push framework.apk is a good way to get the boot loops, so remember to check that the new framewourk.apk it is the same version you are running.
stian230 said:
Using root eksplorer to push framework.apk is a good way to get the boot loops, so remember to check that the new framewourk.apk it is the same version you are running.
Click to expand...
Click to collapse
Right, it is actually very recommended to make this check even when using ADB or ODIN to push a new framework-res.apk version. I got myself into many bootloops skipping this test when I had my first Android phone

[Q&A] How to get rid of corrupt/undeletable files?

Hi!
I have the following (cosmetic, i know...) issue: after formatting data for a clean install, i still have a folder which won't go away (see attachment). it contains files with corrupt names, and I could not delete it in any way (format, using CWM, deleting from phone or PC)
I think a PIT fash would do the trick, but I am afaid its not worth it for being too risky.
Does anyone have any tips or tricks to get rid of these files?
Coirpre said:
Hi!
I have the following (cosmetic, i know...) issue: after formatting data for a clean install, i still have a folder which won't go away (see attachment). it contains files with corrupt names, and I could not delete it in any way (format, using CWM, deleting from phone or PC)
I think a PIT fash would do the trick, but I am afaid its not worth it for being too risky.
Does anyone have any tips or tricks to get rid of these files?
Click to expand...
Click to collapse
Mango? you have a fruit folder?
don't go pitting now. Root explorer wouldn't delete that?
gastonw said:
Mango? you have a fruit folder?
don't go pitting now. Root explorer wouldn't delete that?
Click to expand...
Click to collapse
looks like its re-generating.. maybe that directory is part of your rom
bytes2000 said:
looks like its re-generating.. maybe that directory is part of your rom
Click to expand...
Click to collapse
gastonw said:
Mango? you have a fruit folder?
don't go pitting now. Root explorer wouldn't delete that?
Click to expand...
Click to collapse
I tried deleting from PC and with solid explorer (with root) which was unsuccesful. The folder is the library of a comic reader app, thus not system relevant. Depending of the program I use to try to delete it, I get: "File or folder not found (CM File Manager), "unable to delete file /.../ö°Ñ5 π.∞..." (Solid Explorer), and on the PC, I can see a few files with names such as └éQ┬¾╠/Ú.┼, which can not be deleted, because they "can not be found."
does this help?
http://forum.xda-developers.com/showthread.php?t=2083682
Have sent that other guy a pm...
MistahBungle said:
http://forum.xda-developers.com/showthread.php?t=2083682
Click to expand...
Click to collapse
911-Future_Maker said:
Hi mate. Have you tried flashing with Odin? This way I fixed formattiing my sdext2 partition which was unaccessible at all.
You may try to flash some other CWM recovery like Philz and then delete those files.
Click to expand...
Click to collapse
I can't quite understand this. not enough information, I have almost no knowledge whatsoever about filesystems. Should I flash with odin? a rom? or a new CWM?
Why ? You've got the fix
Reminder: "don't mess with mangos"

[Q] fonts on sense rom?

Running sense 5 rom version y5... situation : I play a game called imobsters so I need to copy files (.tff files) into system/fonts folder.. I do it everything copies.. I did it rw mounted method on es file explorer.. when I log back into imobsters.. on certain usernames it doesn't display their names.. all I see is blank spaces and empty boxes.. is there a fix for this or way around it on sense roms.. I had no problem copying these files on mean bean rom.. please help... an Thnx in advance
Need to figure out how to DISPLAY emoji not type it.. would be another way of saying this
Did you set proper permissions after copying the files?
Captain_Throwback said:
Did you set proper permissions after copying the files?
Click to expand...
Click to collapse
I mounted as rw when I did an even tried this method: drag files to any folder on your internal memory. boot into recovery, mount data n system, go to file manager n look for your files, click on the files n move it to system/font. wipe cache, reboot
chico260 said:
I mounted as rw when I did an even tried this method: drag files to any folder on your internal memory. boot into recovery, mount data n system, go to file manager n look for your files, click on the files n move it to system/font. wipe cache, reboot
Click to expand...
Click to collapse
Again, doesn't sound like you set permissions.
Captain_Throwback said:
Again, doesn't sound like you set permissions.
Click to expand...
Click to collapse
Would you happen to know the correct permissions
chico260 said:
Would you happen to know the correct permissions
Click to expand...
Click to collapse
No, but I'd use whatever permissions the other files in the folder have .
Captain_Throwback said:
No, but I'd use whatever permissions the other files in the folder have .
Click to expand...
Click to collapse
Tried an still didn't work.. would s-on be a factor?...
chico260 said:
Tried an still didn't work.. would s-on be a factor?...
Click to expand...
Click to collapse
Get Rom toolbox and go to the interface section and click on fonts. Now click Local fonts. Now you want to find the font you want on your SD card and install them in a click. So Simple. Much Easy. Fast. Such amazement. Wow. (Doge meme hahaha)
Sent from my EVO using Tapatalk

Unable to delete obb files

Hey Guys,
I'm unable to delete obb files. It doesn't matter which method I use, the twrp file manager fails, adb fails, root explorers are failing. Any idea how to delete this? The unnecessary obb files are now almost 2GB big :/
Try it or die said:
Hey Guys,
I'm unable to delete obb files. It doesn't matter which method I use, the twrp file manager fails, adb fails, root explorers are failing. Any idea how to delete this? The unnecessary obb files are now almost 2GB big :/
Click to expand...
Click to collapse
where is the file located? internal storage or microsd?
and which file is it? (game?)
Simoom Sadik said:
where is the file located? internal storage or microsd?
and which file is it? (game?)
Click to expand...
Click to collapse
Internal storage. But it's not only 1 file, there are 3 more files.
Try it or die said:
Internal storage. But it's not only 1 file, there are 3 more files.
Click to expand...
Click to collapse
1. try deleting with solid file explorer. move the file somewhere else then delete. if the filename is too large, then rename it to anything small, then delete.
2. if no success, backup everything to pc, then wipe dalvik+cache+data+system+internal storage via twrp.
then "format data" in twrp.
copy rom and other stuffs to a usb otg drive or microsd and flash what you need.
hope this will help.
U must hava root for this and a root explorer. Go to the device/data/media/obb, here u will see a copy of obb data files exactly like your internal storage. Just delete it and you are good to go. Try it and thank me later if u want.
Simoom Sadik said:
1. try deleting with solid file explorer. move the file somewhere else then delete. if the filename is too large, then rename it to anything small, then delete.
2. if no success, backup everything to pc, then wipe dalvik+cache+data+system+internal storage via twrp.
then "format data" in twrp.
copy rom and other stuffs to a usb otg drive or microsd and flash what you need.
hope this will help.
Click to expand...
Click to collapse
1. Can't move the files, can't delete them and can't rename it.
2. I want to avoid that
a1acs said:
U must hava root for this and a root explorer. Go to the device/data/media/obb, here u will see a copy of obb data files exactly like your internal storage. Just delete it and you are good to go. Try it and thank me later if u want.
Click to expand...
Click to collapse
It worked, thanks! I thought that the only solution would be a full wipe^^ thanks!
This is the answer for our problem!
Try it or die said:
1. Can't move the files, can't delete them and can't rename it.
2. I want to avoid that
It worked, thanks! I thought that the only solution would be a full wipe^^ thanks!
Click to expand...
Click to collapse
yeah! it really worked!
I also want to know
a1acs said:
U must hava root for this and a root explorer. Go to the device/data/media/obb, here u will see a copy of obb data files exactly like your internal storage. Just delete it and you are good to go. Try it and thank me later if u want.
Click to expand...
Click to collapse
Worked perfectly!!!
Thanked :good:
a1acs said:
U must hava root for this and a root explorer. Go to the device/data/media/obb, here u will see a copy of obb data files exactly like your internal storage. Just delete it and you are good to go. Try it and thank me later if u want.
Click to expand...
Click to collapse
Thx u r a life saver ..
a1acs said:
U must hava root for this and a root explorer. Go to the device/data/media/obb, here u will see a copy of obb data files exactly like your internal storage. Just delete it and you are good to go. Try it and thank me later if u want.
Click to expand...
Click to collapse
Didn't work for me on a Galaxy J5 2016 running stock N.
Jaheen said:
Worked perfectly!!!
Thanked :good:
Click to expand...
Click to collapse
Thank You
flash format everything is gone
nothing works, I've tried renaming, root explorers and twrp file manager but I just can't delete my asphalt 9 and pubg obb.Please help I don't want to format and I can't seem to install these apps from the playstore
Unable to delete obb in internal storage
I too faced this problem for a day trying different methods and queries, they didn't help then I tried checking my developer options. I found that mock SD card is turned off so I turned it on and after rebooting my device. I was successfully able to delete the obb
Problem faced XIAOMI REDMI 4A
Just a bonus tip: if even root explorer fails, try total commander with root access. No guarantee that it will work, but I found that tc can do many things of those the others fail.
a1acs said:
U must hava root for this and a root explorer. Go to the device/data/media/obb, here u will see a copy of obb data files exactly like your internal storage. Just delete it and you are good to go. Try it and thank me later if u want.
Click to expand...
Click to collapse
Sophia92 said:
Just a bonus tip: if even root explorer fails, try total commander with root access. No guarantee that it will work, but I found that tc can do many things of those the others fail.
Click to expand...
Click to collapse
Thank you both. I combined these two processes, and I managed to remove my pubg obb file from my galaxy s5. My other root browsers werent working. Total commander did the trick.
Thank You so much!
a1acs said:
U must hava root for this and a root explorer. Go to the device/data/media/obb, here u will see a copy of obb data files exactly like your internal storage. Just delete it and you are good to go. Try it and thank me later if u want.
Click to expand...
Click to collapse
Worked like a charm!
a1acs said:
U must hava root for this and a root explorer. Go to the device/data/media/obb, here u will see a copy of obb data files exactly like your internal storage. Just delete it and you are good to go. Try it and thank me later if u want.[/]
works great, thank you!
Click to expand...
Click to collapse
Successful delete
a1acs said:
U must hava root for this and a root explorer. Go to the device/data/media/obb, here u will see a copy of obb data files exactly like your internal storage. Just delete it and you are good to go. Try it and thank me later if u want.
Click to expand...
Click to collapse
Thank you very much! It worked on my Redmi 4X.

Categories

Resources