Hey guys so I was poking around through my root explorer and in my /data/local/tmp I found a bunch of files that I have installed (all are mods) I was wondering can I delete these files with out it affecting my mods? These are taking up space but Im still a little hesitant to delete. (I would assume yes because just like my PC I can delete temp files without worry) files in /data/loca/tmp
adeo_backup.tar.gz (already backed this up onto my PC)
adeoinstaller (this came from my PC)
adeoinstaller.sh(pretty sure this is on my PC as well)
adeoinstaller.tar.gz
ap_tcmd.pid
busybox
psneuter
sqlite3
webtopmod(folder)
webtopmod.sh
webtopmod.tar.gz
Related
ok so today i tried to use a new boot animation zip and at first i tried to do it through an explorer but that didnt work as astro didnt let me paste the zip file so instead i went the adb route thought i didnt know how to use it.
i installed the files from here: http://sites.google.com/site/androidsamurai/Home/adb-for-dummies-1 and opened cmd, i used cd to get to the directory of my adb then i used adb devices to see if my phone was recognized which it was. then i used adb push bootanimation.zip /data/local and it said it copied since it gave me the speed stats, the file size and the time it took. i used astro to look inside the folder but it was empty. i then proceeded to do a few random things like remount and such and repush and the zip would just not appear in the /data/local folder. i then tried adb shell bootanimation just for kicks and it seemed to work, though i didnt know how to stop the animation besides closing my cmd. after that i tried to reboot and it got stuck at the bootanimation so then i used the 1.8.1 update and reinstalled it and i got past boot loop and for some reason the boot animation is the one i tried to install (the stock dell one that is in the themes forum) but the folder still doesnt exist in /data/local.
like i said im an adb noob, so please guide me through the entire proper way to push a bootanimation to my phone and to figure out where i pushed the previous to since it seems to be somewhere but i tried using astro search but cant find it. any help would be appreciated, thanks!
I'm not super talented at ADB either, but i believe that you should copy the boot animation zip into the same folder as ADB on your computer and then run this:
adb push bootanimation.zip /data/local
Also, there is a file manager called Root Explorer, you should use that instead of Astro because astro doesn't allow you to go into some of the system level directories (exactly what your dealing with in this case) but Root Explorer does. That's probably why you can't find what you flashed before.
Hope this helps
- pat
yeah apparently it seems that astro cant view some root files/folders
copy and paste with root explorer is easiest - like you though I am teaching myself how to use adb - get adb wireless btw - its cool if you dont have your cable to hand
Hi guys, having an odd problem.
I've made some nandroid backups (about three) via CWM Recovery, and I can't seem to browse to them, or delete them.
It's definitely taking up space, and I'm not sure what to do now.
A backup that I made straight to my external SD card however, seems to be browse-able, so I'm a bit confused now.
Attached are some screenshots from ES File Browser (with root access turned on).
The last screenshot is going to /storage/sdcard0/clockworkmod/ (same directory, but now I can't seem to see anything about "backups").
I've also tried to delete these backups straight from CWM Recovery, but CWM says that it can't access the folder.
Oddly enough, if I do another backup (straight to internal), it seems to put all the files in /sdcard/Clockworkmod/backups but never to be accessed again.
Anyone have any ideas?
Delete via Windows Explorer .
jje
JJEgan said:
Delete via Windows Explorer .
jje
Click to expand...
Click to collapse
Thanks for the suggestion, but nope, that didn't work. (Obviously tried that first).
The folder was shown as empty via Windows.
After a lot of digging and trying different things (including Root Explorer and Terminal Emulator), I've managed to delete it.
I'll post the instructions so other people who may have similar problems in the future can follow it.
First, you'll need ADB and you'll need to reboot into CWM Recovery.
Once you've gotten that sorted, boot into CWM Recovery and go to "mount and storage" and then select "mount /data".
This will mount the /data structure which we need to use.
Afterwards in CMD, use the following:
Code:
adb root
adb shell
After this, you should be logged in as ~ (root)
Proceed to go into the directory using the cd function. (PROTIP: Use the ls function to check where you're going.)
You need to get to ../clockworkmod/backup/
You'll find that you can finally access the /backup/ folder, and you'll then be able to delete the files. Please note that the below command will delete ALL the files within this folder.
Code:
rm -rf *
Afterwards, do
Code:
cd ..
to get back to the ../clockworkmod/ folder and then run the below code to delete the now empty /backup/ folder:
Code:
rmdir backup
no, to be logged in as root you need to type in "su"
I've seen quite a few methods to root this phone on this forum and several others, but I couldn't menage to find a working one to give a permanent root to this model WITHOUT need to flash it or turning it into an iPhone clone (with or without the rear camera working).
So I found this batch script that seems to do the job (rooting without flashing), named Root_with_Restore_by_Bin4ry. It didn't work out-of-the-box in my case and I had to adjust the script a little bit and removed all the other options not intened to be relevant to my specific device.
It basically calls a fake restore to do "something" to the phone that will reboot it to open a brief window in which I can run some commands and remount read-write and copy/moves files around.
So, I manage to copy busybox from /data/local/tmp to /system/xbin and su to /system/xbin and /system/bin. Superuser.apk is already installed normally, not in /system/app/Superuser.apk.
Well, if I DON"T reboot after placing these files and giving them proper chmod and chown, the phone boots up with root access. However, if I reboot the phone, all the files mentioned above in /system/xbin and /system/bin folders will become 0 bytes and root functions will be lost.
I want to know if there's a way to make these files reboot-proof. Or else, I am willing to try any other non-flashing method you can suggest.
Second, when this temporary root occurs, the phone gets stupidly slow. Is it normal in rooted devices, or is it something wrong with my phone or my methods?
Thank you in advance.
Hello,
I have Lenovo S720 running on Android 4.0.4 that I recently factory reset because It has only few little internal storage (~1,4 GB), and cannot support many updating apps.
After I do that, whats left in the internal storage is about 500 MB of storage, the rest being taken up by the system (I suppose).
I installed Framaroot to root the device, then System App Uninstaller (ROOT) and ES File Explorer.
First, I try to uninstall any bloatware with the System App Uninstaller -> I didn't get much free internal storage.
Then, I use ES File Explorer to seek, which folder took up the most space.
-> One of the is /system/vendor folder.
-> So, I copied that folder to /mnt/sdcard/backupsys/ (or /sdcard/backupsys/ [little bit forget]), Thinking it would come in handy later.
-> Then, I (foolishly) proceed to delete the folder using the root privileges .
-> It took a moment until all of my app start crashing (including the ES File Explorer!).
-> I turned-off the device, and now it still stuck in the (what I think as) "bootloop" mode.
Fortunately I still can communicate to the phone using adb tools, which I have a little knowledge of. But, the pm and am command cannot function well.
Now, I'm only thinking about moving back the vendor folder from /mnt/sdcard to the /system folder.
But I encounter some problem:
1) I can't (& don't know how to) write to the /system
2) I can't (& don't know how to) read from the /sdcard
- command 'ls' inside this dir returned nothing.
Glad I have the "su" tools from the Framaroot. I searched on the Internet and it seems the problem can be solved with mount tools, but I don't know how.
ls -la tools on root (/) return:
(other dir)
root /system ,,,,,,,,,,other info,,,,,,,
system /sdcard ,,,,,,,,,,other info,,,,,,,
(other dir)
So maybe because I can't gain system account, I can't access the folder and read it...
I try to hard-reset in the recovery mode, but I can't select the options! (I can move the selector with volume up/down) but I cant click it with the power button!
The phone seems to be worse every second.
My main question is: can I recover my phone (copying the vendor folder back) using command tools on my development computer? Or is there any other ways?
I'm willing to install any custom ROM best suited to my phone.
Thanks in advance.
Hello,
Welcome to XDA.
If you have a copy of what you deleted or can get it from somewhere and you want to adb push your missing files and folders back to your device then you need to have the files you want to push stored on your PC and push them from there to the device. For instructions on how to use adb read through the thread linked below and go from there.
http://forum.xda-developers.com/showthread.php?t=2141817
If you have further questions or need further help with using adb then you can post in the Q&A forum linked below:
http://forum.xda-developers.com/android/help
Ive been able to decrypt adoptable storage and copy files over from my pc, however i had to chown the media folder to be able to write.
Now on android in a normal file manager the files are 0 bytes and not readable.
I can read them and open them normally with ghost browser as root but not in the stock file manager.
Ive tried to chown -R them back to media_rw:media_rw or system:media_rw but no avail
Somehow I was able to change one folder(including files) back in a test (cant remember how)
Does anyone know if I need to change the files in /mnt/expand/<uuid> or /sdcard ?
KenzooW said:
so does it works?
Click to expand...
Click to collapse
It didnt work for me, at least not yet because i gave up as it was taking to much time there are a few folders with sym links,
Code:
/mnt/expand/<uuid>
/sdcard/
/storage/emulated
/data/media
need to compare all the permissions sometime and replicate it.. It was taking to much time and i found another solution which was to move the folders to a writeable directory after mounting (no change in permissions)
Then on the phone moving it to the right place in ghost file manager. Android has separated the permissions for apps and what not.
Overall its easier just to copy via OTG.
One thing I forgot to mention, that if you're on Linux with the decrypted sd card mounted, you can copy files over directly to the media folder (as #root) without "chown"ing.
I didnt try this but i think that it may work that way since you're not altering existing permission settings