Could I just format the SD in twrp and clean up all these excessive folders and lost space.
Sent from my HTC One using xda premium
Mr.Muscles said:
Could I just format the SD in twrp and clean up all these excessive folders and lost space.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
What you've just described is a recipe for disaster if you don't know what you're doing. You also haven't told us if you've got a lot of apps installed/movies/music, etc. If we have that information, we can probably help you more.
I'm using vanilla root box right now. I had a few movies before I flashed and now I can't find them. I had the viper ROM prior to the flash. I know that's where all my space is but when I'm looking for the files in root explorer i can't find it.
Sent from my HTC One using xda premium
Mr.Muscles said:
I'm using vanilla root box right now. I had a few movies before I flashed and now I can't find them. I had the viper ROM prior to the flash. I know that's where all my space is but when I'm looking for the files in root explorer i can't find it.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
If you dont need anything prior to your flashing of Root Box, navigate to /data/media in twrp and delete that. That is your old file system.
Sent from my HTCONE using xda app-developers app
Could be cache files as well. They build up quickly and you'd be surprised how much can be there over a month or so. I have deleted gigabytes worth before 0_o
Run this command from terminal emulator....
su
cd /sdcard/
find . -name "cache" -exec rm -rf {} \;
Hit enter after each line.
All your cache is gone from your SD card now.
Thanks so much guys. Back to where it should be now.
Sent from my HTCONE using xda premium
Admiral Sir Manley Power said:
Could be cache files as well. They build up quickly and you'd be surprised how much can be there over a month or so. I have deleted gigabytes worth before 0_o
Run this command from terminal emulator....
su
cd /sdcard/
find . -name "cache" -exec rm -rf {} \;
Hit enter after each line.
All your cache is gone from your SD card now.
Click to expand...
Click to collapse
Tried that. Says there is no -rf directory.
Sent from my HTC One using xda premium
Typo on my part my bad. Take out the r in rf
Admiral Sir Manley Power said:
Typo on my part my bad. Take out the r in rf
Click to expand...
Click to collapse
Says the same thing.
"rm failed for -f, no such file or directory"
Does that mean no cache? Lol.
Sent from my HTC One using xda premium
The mistake is likely the call out to /sdcard/
Verify the path exists...
They are case sensitive
Lmao....EDIT***
put your file path in {}
So... {/sdcard/} for example
If that doesn't work.... Well, watch your thumbs, do it again.
Admiral Sir Manley Power said:
The mistake is likely the call out to /sdcard/
Verify the path exists...
They are case sensitive
Lmao....EDIT***
put your file path in {}
So... {/sdcard/} for example
If that doesn't work.... Well, watch your thumbs, do it again.
Click to expand...
Click to collapse
So...
find . -name "cache" -exec rm -f {/sdcard} \;
Still said the same thing.
Sent from my HTC One using xda premium
At this point I'm pretty sure you're typing something wrong
Admiral Sir Manley Power said:
At this point I'm pretty sure you're typing something wrong
Click to expand...
Click to collapse
Copied it right from that post.
Sent from my HTC One using xda premium
So nothing?
Sent from my HTC One using xda premium
Honestly not sure bro. Something isn't right there but I ran it.... Worked
Admiral Sir Manley Power said:
Honestly not sure bro. Something isn't right there but I ran it.... Worked
Click to expand...
Click to collapse
Yea doesn't work at all.
Sent from my HTC One using xda premium
k get rid of the -f
Admiral Sir Manley Power said:
k get rid of the -f
Click to expand...
Click to collapse
find . -name "cache" -exec rm {/sdcard} \;
Says {/sdcard} isn't a directory. If I do it like this...
find . -name "cache" -exec rm /sdcard \;
Then it asks for the exec command.
Sent from my HTC One using xda premium
Related
What's with this bs???!
Sent from my Nexus One using XDA App
Looks like a terminal app
Well duh, what's up with not being able to change the permissions? I'm trying to delete that crap
Sent from my Nexus One using XDA App
_-..zKiLLA..-_ said:
Well duh, what's up with not being able to change the permissions? I'm trying to delete that crap
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Sorry. Its a low res pic. I'm on my n1 browser. Last time this happened to me I fixxed permissions via rom manager. Turned phone off. And I wiped dalvic and cache for the hell of it. Started working for me shortly after.
Well, the /system partition is by default mounted as read-only... which is what the error "read-only file system" indicates... you need to remount it as read-write before you can do anything there... I believe this should get you through...
Code:
$ su
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
It didn't work. It spits out a bunch of crap explaining mount.
Sent from my Nexus One using XDA App
Nevermind, your the man. Props to your Unix, I'm gettin there lol
Sent from my Nexus One using XDA App
Hi,
Im trying to do this on my darky 9.3 i9000 phone
http://www.darkyrom.com/community/index.php?threads/guide-gps-quickest-fix-solution.2022/
but Im not able to to override the file in this dir system\etc for what reason ever why?
What file explorer did you use and did you mount system as R/W?
Im using astro how do I mount the system in the right way? Im just using the draky rom with voodoo kernel and lagfix.
Thx
Sent from my GT-I9000 using XDA App
Hm I installed the app called remount rw/ro from market and I still cant exchange the file... What Im doing wrong please help!
Sent from my GT-I9000 using XDA App
audino said:
Hm I installed the app called remount rw/ro from market and I still cant exchange the file... What Im doing wrong please help!
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Download the android SDK, use adb shell to remount system by hand and exchanges the files you want by hand.
If something doesn't work then you can tell us what the error read and we can provide further help.
Info on adb shell is available through forum search or google .
Dark3n said:
Download the android SDK, use adb shell to remount system by hand and exchanges the files you want by hand.
If something doesn't work then you can tell us what the error read and we can provide further help.
Info on adb shell is available through forum search or google .
Click to expand...
Click to collapse
Sorry Im searching now for 2h and couldnt find any way to get this working.
I downloaded the sdk but Im not able to connect to the phone...
Im dont know how to find the right tutorial, I need one to setup my ADB and connect to the phone and afterwords to remount the system...
I would suggest using Root Explorer, which allows you to remount directories as R/W.
rschenck said:
I would suggest using Root Explorer, which allows you to remount directories as R/W.
Click to expand...
Click to collapse
Best buy EVER! THANKs
As the title says ADB won't work on this mac, when I look at adb devices nothing comes up. I've tried to reinstall SDK and it resulted in it not even working. I've changed adb_usb.ini in order for it to work and that didn't work. I have ADB on, on my tablet and everything is in place but no results.
Help may be here:
http://forum.xda-developers.com/showthread.php?t=2074565
Sent from my KFHD using xda premium
Krsmqn said:
Help may be here:
http://forum.xda-developers.com/showthread.php?t=2074565
Sent from my KFHD using xda premium
Click to expand...
Click to collapse
My Kindle Fire HD is rooted.
Was it ever working? Because the link I gave you is for root, but it also tells you how to connect adb on a mac.
Sent from my KFHD using xda premium
Krsmqn said:
Was it ever working? Because the link I gave you is for root, but it also tells you how to connect adb on a mac.
Sent from my KFHD using xda premium
Click to expand...
Click to collapse
It only worked on Ubuntu but my laptop broke so I'm left with a mac. I'll try the link you gave me.
[Edit]
I doesn't work and no commands are working anymore.
It's giving me either -bash: ./adb: No such file or directory
or whatever else. Everything isn't working at all.
Misterowl said:
It only worked on Ubuntu but my laptop broke so I'm left with a mac. I'll try the link you gave me.
[Edit]
I doesn't work and no commands are working anymore.
It's giving me either -bash: ./adb: No such file or directory
or whatever else. Everything isn't working at all.
Click to expand...
Click to collapse
lol, you have to 'cd' to the directory that adb is in. :silly:
soupmagnet said:
lol, you have to 'cd' to the directory that adb is in. :silly:
Click to expand...
Click to collapse
I'm not that much of a noob, I did cd into the directory. I've just come to the conclusion that the Mac has a problem.
Sent from my KFTT using xda app-developers app
Misterowl said:
I'm not that much of a noob, I did cd into the directory. I've just come to the conclusion that the Mac has a problem.
Sent from my KFTT using xda app-developers app
Click to expand...
Click to collapse
Then you may want to check again, because "-bash: ./adb: No such file or directory" quite clearly means that the filename "adb" was not in the current directory (./) from which you ran the command. There's simply no other way to interpret it.
I have flashed my phone multiple times without any problems (as far as I know). And now I realised that the backup of the original /efs and /persist folders have been lost. So I want to back them up again, but I can't find them. They're not on the phone. I also can't find them in my original Nandroid backup I made of GB 2.3.6 (stock) prior to going to an ICS Rom.
But my IMEI number is showing up correct on the phone, so it must be somewhere, but where?
Any help would be greatly appreciated.
schnurrbidurr said:
I have flashed my phone multiple times without any problems (as far as I know). And now I realised that the backup of the original /efs and /persist folders have been lost. So I want to back them up again, but I can't find them. They're not on the phone. I also can't find them in my original Nandroid backup I made of GB 2.3.6 (stock) prior to going to an ICS Rom.
But my IMEI number is showing up correct on the phone, so it must be somewhere, but where?
Any help would be greatly appreciated.
Click to expand...
Click to collapse
use rooted file explorer n go to /efs
Sent from my GT-I9000 using xda app-developers app
I would, if I could, but the problem is, that I don't have a /efs folder on my phone. I did a search with root explorer...nada. But since my IMEI is currenly present and correct, it must be stored somewhere else, right? And that location is the one I'm trying to find.
I'm currently running Ehndroix III Rom on my SGS+.
use some app from gstore to backup efs from system. juz search for efs backup
Sent from my GT-I9000 using xda app-developers app
compacity said:
use some app from gstore to backup efs from system. juz search for efs backup
Sent from my GT-I9000 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the tip. I tried and failed
Andromizer (sp?) didn't even show the option for backing up the /efs folder and Nitrality claims it backed it up, but its backup directory is nowhere to be seen. Yes, I did google the default location and it says it's supposed to be something like /clockworkmod. I have TWRP, could that have something to do with it?
schnurrbidurr said:
Thanks for the tip. I tried and failed
Andromizer (sp?) didn't even show the option for backing up the /efs folder and Nitrality claims it backed it up, but its backup directory is nowhere to be seen. Yes, I did google the default location and it says it's supposed to be something like /clockworkmod. I have TWRP, could that have something to do with it?
Click to expand...
Click to collapse
nope,twrp backup usually in extsd. if /efs cannot be seen after already rooted, then its weird, naturally da folder doesnt have dot (.) in front of da name.try disabling hidden file in system using any rooted explorer
Sent from my GT-I9000 using xda app-developers app
compacity said:
nope,twrp backup usually in extsd. if /efs cannot be seen after already rooted, then its weird, naturally da folder doesnt have dot (.) in front of da name.try disabling hidden file in system using any rooted explorer
Sent from my GT-I9000 using xda app-developers app
Click to expand...
Click to collapse
I always have "show hidden folders" ticked. The weird thing is, I decided to have a look at DH's phone (same model, same rom) and again, no /efs folder. I wonder if it may be the rom? I'll be getting a new phone tomorrow, so once that's set up I'm going to return my current one to stock and see what happens.
schnurrbidurr said:
I always have "show hidden folders" ticked. The weird thing is, I decided to have a look at DH's phone (same model, same rom) and again, no /efs folder. I wonder if it may be the rom? I'll be getting a new phone tomorrow, so once that's set up I'm going to return my current one to stock and see what happens.
Click to expand...
Click to collapse
JUZ DO IT!
i also wanna know what will happen
Sent from my GT-I9000 using xda app-developers app
compacity said:
JUZ DO IT!
i also wanna know what will happen
Sent from my GT-I9000 using xda app-developers app
Click to expand...
Click to collapse
I will keep you posted. Promise
schnurrbidurr said:
I will keep you posted. Promise
Click to expand...
Click to collapse
Ok, I tried to reflash stock, but failed. I don't have the phone anymore and therefore can't report anything.
Read this..
http://forum.xda-developers.com/showthread.php?t=1841250
Sent from my GT-I9001 using xda premium
schnurrbidurr said:
Ok, I tried to reflash stock, but failed. I don't have the phone anymore and therefore can't report anything.
Click to expand...
Click to collapse
well, thanks for keeping ur promise mate
n sorry if i cant help u here
Sent from my GT-I9000 using xda premium
Ok. if imei is showing you can back it up with adb. use these commands.
Code:
adb shell su -c "dd if=/dev/block/mmcblk0p27 of=/sdcard/efs.ext4 bs=4096"
adb shell su -c "dd if=/dev/block/mmcblk0p12 of=/sdcard/persist.ext4 bs=4096"
you will get a backup in sdcard.
jabrif said:
Ok. if imei is showing you can back it up with adb. use these commands.
Code:
adb shell su -c "dd if=/dev/block/mmcblk0p27 of=/sdcard/efs.ext4 bs=4096"
adb shell su -c "dd if=/dev/block/mmcblk0p12 of=/sdcard/persist.ext4 bs=4096"
you will get a backup in sdcard.
Click to expand...
Click to collapse
Is this method safe? I had never used adb before
Walentyn15 said:
Is this method safe? I had never used adb before
Click to expand...
Click to collapse
Yeah.. it is safe... I recommend it to use with i9001 only..
Ok I allways keep 2 good backups.. i flashed a aosp rom last nite which i dont really like just to try it out.. backed up my sense rom like always now today i go into recovery to wipe and restore my backup and twrp wont find the backups.. i kno they are there cause i can hit install and i see the folder and i can go into it.. everythings fine.. this sucks so bad man!! whats the deal with twrp anyone ever have this problem? O SNAP! sorry im a big dummy i just tried to mount internal storege and it works now.. sorry never had that happen before.. i was going nuts! thanks
P.Mobile said:
Ok I allways keep 2 good backups.. i flashed a aosp rom last nite which i dont really like just to try it out.. backed up my sense rom like always now today i go into recovery to wipe and restore my backup and twrp wont find the backups.. i kno they are there cause i can hit install and i see the folder and i can go into it.. everythings fine.. this sucks so bad man!! whats the deal with twrp anyone ever have this problem? O SNAP! sorry im a big dummy i just tried to mount internal storege and it works now.. sorry never had that happen before.. i was going nuts! thanks
Click to expand...
Click to collapse
just out of curiosity what version of TWRP do you run?
adb shell
rm -r /data/media/0/TWRP
ln -s /data/media/TWRP /data/media/0/TWRP
weird now when i use root explorer i have 2 storages?? when i plug my phone into my laptop i have a bunch of folders one new folders thats named 0 and thats where my other storage is at?? i dont get it.. it was never like this before... im on twrp 2.5.0.0.. this sux! i dont kno what the heck happend?
Indirect said:
adb shell
rm -r /data/media/0/TWRP
ln -s /data/media/TWRP /data/media/0/TWRP
Click to expand...
Click to collapse
what is that?
P.Mobile said:
what is that?
Click to expand...
Click to collapse
It'll let your backups be seen? I thought that was what your thread was for.
Indirect said:
It'll let your backups be seen? I thought that was what your thread was for.
Click to expand...
Click to collapse
Yea it is but I wrote I figured how to get to my backups in the end of my post.. now my storage is messed up look.. I have to go into this then in that 0 folder to get to my stuff.. it wasn't like this before very odd I'll post screen shots
Sent from my HTCONE using Tapatalk 2
Sent from my HTCONE using Tapatalk 2
Now I go into my storage which is now them 3-4 folders and my old storage in that 0 folder
Sent from my HTCONE using Tapatalk 2
Yup flashing an asop Rom changes the file structure.
Sent from my HTCONE using xda app-developers app
Konfuzion said:
Yup flashing an asop Rom changes the file structure.
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
dam no way to fix it back to normal now huh?
P.Mobile said:
dam no way to fix it back to normal now huh?
Click to expand...
Click to collapse
There is if you search.
http://forum.xda-developers.com/showthread.php?t=2321685&highlight=aosp+sense
Indirect said:
adb shell
rm -r /data/media/0/TWRP
ln -s /data/media/TWRP /data/media/0/TWRP
Click to expand...
Click to collapse
Just ran into this problem after being stuck in a boot loop. Working on a new Rom. Went from 4.1.2 to 4.2.2 so the file structure changes. Thought I was screwed but this worked perfect. Thanks
Rirere said:
There is if you search.
http://forum.xda-developers.com/showthread.php?t=2321685&highlight=aosp+sense
Click to expand...
Click to collapse
i only been coming on here for a few years i dont search first.. next time ill try that