[Q] How To Remove a Folder/file... - Nexus 5 Q&A, Help & Troubleshooting

I downloaded a music file (using U torrent for android) to the Internal Storage/download folder. I tried to delete it but it is grayed out and unable to do so. how can I delete that folder and it's contents? Thanks in advance.

Might the file still be "in use" by the uTorrent application? Try fully stopping the torrent file and deleting it from within the app if it has the option.

Ran into a similar problem. If the above doesn't work you will need to delete the file without booting into the OS.
Options:
1. Reboot and try to delete the folder again.
2. Custom recovery with file manager and delete from there.
3. Boot into bootloader and use adb to delete the file.
All of these options can be learned courtesy of Google.
Sent from my Nexus 5

Related

[Q] Application PORT from other roms

I like the backup and DND application of MIUI. so
1) I copied those application by using root explorer.
2) Copied those apps in Computer and changed extension to .zip
3) opened that app using winrar
4) removed META-INF folder
5) Resigned app using my key
6) again copied to SD card
7) Finally i got success to install that to my phone(Desire S stock ROM)
Now, When i try to open that backup and DND application, It shows Force Close message. What is Wrong? Please Help.
I also used Backsmali to deodex some system applications and made classes.dex and packed into apk and resigned, but program is not installing and if it installs, then not working. can someone help me to port system apps from another ROM to my stock ROM?

problem installing APK

I'm a HTC Desire S owner. I've problem installing APK files. It shows "There is a problem parsing the package" when trying to install apk files in ES File Explorer. It only happens when the apk files are in SDcard. It don't happen when install apk files which are located in my PC thru WiFi with ES File Explorer. It don't work with ASTRO file manager either. But I can install with AndExplorer and can install from PC (with DroidExplorer). I mostly use ES file manager and wanna install with it. I'm currently using latest version of ES file explorer. I've already checked "Allow installation of non-market apps" in setting. It did not happen with Stock ROM. Happened while using Saga3D, I don't know what I accidently did. I change to new rom 'Virtuous Quattro (ICS) and it still occur. Now I'm on Hyperion and it is still happening. Please help me.
xtartrackR said:
I'm a HTC Desire S owner. I've problem installing APK files. It shows "There is a problem parsing the package" when trying to install apk files in ES File Explorer. It only happens when the apk files are in SDcard. It don't happen when install apk files which are located in my PC thru WiFi with ES File Explorer. It don't work with ASTRO file manager either. But I can install with AndExplorer and can install from PC (with DroidExplorer). I mostly use ES file manager and wanna install with it. I'm currently using latest version of ES file explorer. I've already checked "Allow installation of non-market apps" in setting. It did not happen with Stock ROM. Happened while using Saga3D, I don't know what I accidently did. I change to new rom 'Virtuous Quattro (ICS) and it still occur. Now I'm on Hyperion and it is still happening. Please help me.
Click to expand...
Click to collapse
I cannot tell you the reason for this issue, but it's well known. just download the apk on your Pc and put on Sd card then.
And Sometimes you are downloading an corrupted apk, simply download the app somewhere else.
Sent by my fingers to your head.
They say this error is likely attributed to:
1) Some strange apk not fit for the device. so, try downloading compatible apk.
2) Problems with Dalvik cache. try wiping cache & dalvik cache.
The reason for this is that the app is not downloaded completely. The download may have been interrupted on your phone due to some reason. On PC, the apps are downloaded uninterrupted, so no parsing error.
shrome99 said:
The reason for this is that the app is not downloaded completely. The download may have been interrupted on your phone due to some reason. On PC, the apps are downloaded uninterrupted, so no parsing error.
Click to expand...
Click to collapse
Thanks. Good to know
Sent by my fingers to your head.
This occurs in case of corrupted downloads, where the file is shown as completely downloaded but actually some bits are lost while downloading. Very common when the downloading is done on the phone itself. Try downloading via PC and then transfer the apk to the sd card and you should be fine. I came across this when downloading an apk from the xda site itself (in the app development forum i think) and everytime i tried downloading on the phone, i got a parsing error... but as soon as i downloaded on PC and transferred it to phone, it installed right away!
I'm sure APK file is not corrupt. I can install with AndExplorer but not with ES File Explorer. I reinstalled ES File Explorer, but still not working.
xtartrackR said:
I'm sure APK file is not corrupt. I can install with AndExplorer but not with ES File Explorer. I reinstalled ES File Explorer, but still not working.
Click to expand...
Click to collapse
Well then i guess you can say goodbye to ES File Explorer and stick to AndExplorer if this solves your problem!
Whatever works for you man! At least you found a workaround...I used to go crazy when i got these parsing errors!!!
Or try a different memory card. I have a Kingston micro-SD which gave me sleepless night awhile.
apk Problem
Have tried to check your Android Minimum SDK Version you have at your Program ??
Check this file and check your device
<uses-sdk
android:minSdkVersion="19"
android:targetSdkVersion="20" />
I have faced this problem with old versions , and resolved it by changing the appropriate minSdkVersion
xtartrackR said:
I'm a HTC Desire S owner. I've problem installing APK files. It shows "There is a problem parsing the package" when trying to install apk files in ES File Explorer. It only happens when the apk files are in SDcard. It don't happen when install apk files which are located in my PC thru WiFi with ES File Explorer. It don't work with ASTRO file manager either. But I can install with AndExplorer and can install from PC (with DroidExplorer). I mostly use ES file manager and wanna install with it. I'm currently using latest version of ES file explorer. I've already checked "Allow installation of non-market apps" in setting. It did not happen with Stock ROM. Happened while using Saga3D, I don't know what I accidently did. I change to new rom 'Virtuous Quattro (ICS) and it still occur. Now I'm on Hyperion and it is still happening. Please help me.
Click to expand...
Click to collapse
hey juz check if ur sd is protected with password or something. and its the reason y its showing... if sd is protected under developer options & phone is rooted it occurs. check that out n try and tht prob will be solved..it worked for me. check that out n reply.
APK installation Astro File Manager issue
For me, the APK installer in Astro File Manager doesn't work atm.
I see a brief scanning popup window but then it disappears.
Until they fix it, it's best to avoid launching APKs from Astro File manager.
If you think your APKs installs are using Astro File manager as the default app, you need to clear it.
On a Samsung Galaxy S7, I had to
1. Settings > Applications > Application manager
2. More (Reset app preferences)
3. If you have Samsung Kids Mode installed, you need to run and reconfigure it (if you don't you'll get annoying popups because Kids Mode app is now unstable until you reconfigure it)
4. Return to ES File Explorer and launch the APK (if there are still issues, continue to step 5)
5. Go back to Application Manager (i.e. repeat step 1)
6. More (drop down menu on top right) > Show system apps
7. Scroll down and locate Package Installer
8. Set as default
9. Try again
bikeboy888 said:
For me, the APK installer in Astro File Manager doesn't work atm.
I see a brief scanning popup window but then it disappears.
Until they fix it, it's best to avoid launching APKs from Astro File manager.
If you think your APKs installs are using Astro File manager as the default app, you need to clear it.
On a Samsung Galaxy S7, I had to
1. Settings > Applications > Application manager
2. More (Reset app preferences)
3. If you have Samsung Kids Mode installed, you need to run and reconfigure it (if you don't you'll get annoying popups because Kids Mode app is now unstable until you reconfigure it)
4. Return to ES File Explorer and launch the APK (if there are still issues, continue to step 5)
5. Go back to Application Manager (i.e. repeat step 1)
6. More (drop down menu on top right) > Show system apps
7. Scroll down and locate Package Installer
8. Set as default
9. Try again
Click to expand...
Click to collapse
I had the same problem it was related to Package installer permissions. Gave the storage permission to package installer it worked. Mine was LG G3 with CM13 by the way.

Cant delete PDF's from "Supercharger Starter Kit" From Older Skyhigh rom installs.

Cant delete PDF's from "Supercharger Starter Kit" From Older Skyhigh rom installs.
Have been flashing so many custom Roms for ages like most of you..
And back to stock JB just now.
Noticed i have a directory storage/sdcard0/0/0/0/0/0/0/0/0/SuperCharger_Starter_Kit.
The 0/0/0/0/0/0/0 thing is from flashing many danielHKs 4.2 roms and should delete no worries as now not used in 4.1.2.
The problem i have is cant delete the supercharger kit folder with 2 PDFs inside so the 0/0/0/0/0/0/0/0/0 also cant be deleted.
This Folder came from the 4.04 Skyhigh Rom Install I Flashed ages ago and noticed every thing I try'd it wont delete.
Anybody have any idea what program or app to use to delete these files with?.Ive tried ES File Explorer but doesnt delete and also on Stock JB Rom just at moment and stock File Explorer wont delete the folder either.
I tried out 2 different Skyhigh Roms and have another folder also with the same Supercharger_Starter_Kit folder that cant delete in another directory aswell.it has the same PDF files.
Just want some help to delete this and clean up the Tab of uneeded files and want it to look properly stock again.
FOUR easy options I can quickly think of;
1. a) Copy important files from internal sdcard to PC
b) Boot into recovery
c) Depending on which recovery you use, format your internal sdcard
d) Copy files back from PC
2. Boot into TWRP recovery File Manager and delete the folder
3. There is an Aroma File Manager you can flash in CWM recovery also, search for it
4. EASY WAY -
a) use a root type file explorer app and navigate to data/media/.../SuperCharger
b) remove all permissions
c) delete folder
Cheers,
UITA
Sent from my GT-I9500 using xda premium
Thanks for the reply..
Used TWRP recovery to delete it..
All Good Now

Accidentally deleted bluetooth

I accidentally deleted bluetooth. I flashed(?) the stock recovery found in this thread http://forum.xda-developers.com/pure-xl/general/twrp-recovery-root-blu-pure-xl-allview-t3269447 and had no luck. I also tried factory resetting it. Any ideas on how to get it to work again? Whenever I try to enable bluetooth I get the "Bluetooth share has stopped working" error.
gasmp said:
I accidentally deleted bluetooth. I flashed(?) the stock recovery found in this thread http://forum.xda-developers.com/pure-xl/general/twrp-recovery-root-blu-pure-xl-allview-t3269447 and had no luck. I also tried factory resetting it. Any ideas on how to get it to work again? Whenever I try to enable bluetooth I get the "Bluetooth share has stopped working" error.
Click to expand...
Click to collapse
Do you mean you uninstalled one of the Bluetooth apps in System > Advanced Settings > Apps > All?
If so, please use some sort of root explorer app (you have to be rooted first) to navigate to either /system/app/Bluetooth or /system/priv-app/Amigo_Bluetooth and install whichever .apk that appears to be not installed. I believe this should fix your issue.
Short Circuit said:
Do you mean you uninstalled one of the Bluetooth apps in System > Advanced Settings > Apps > All?
If so, please use some sort of root explorer app (you have to be rooted first) to navigate to either /system/app/Bluetooth or /system/priv-app/Amigo_Bluetooth and install whichever .apk that appears to be not installed. I believe this should fix your issue.
Click to expand...
Click to collapse
Alright so the .apk file is missing from system/apps/Bluetooth. The one in amigo_bluetooth is still there
gasmp said:
Alright so the .apk file is missing from system/apps/Bluetooth. The one in amigo_bluetooth is still there
Click to expand...
Click to collapse
Interesting.
I've uploaded my /system/app/Bluetooth folder here. Could you please download that, extract the folder inside to somewhere, and either:
Push the folder via adb using the command adb push Bluetooth /system/app/ while your command prompt/terminal is in the same directory where you extracted the "Bluetooth" folder (cd DRIVE:\your\directory\path\Bluetooth (Windows) or ~/your/directory/path/Bluetooth (Linux) ).
or
Transfer the extracted "Bluetooth" folder to either your microSD or a USB Drive, plug it into your phone and move the folder to /system/apps using your root file explorer app.
Finally, install the Bluetooth.apk inside (which I'm assuming is the one you uninstalled since it is missing).
Let me know how it goes, thanks!
Short Circuit said:
Interesting.
I've uploaded my /system/app/Bluetooth folder . Could you please download that, extract the folder inside to somewhere, and either:
Push the folder via adb using the command adb push Bluetooth /system/app/ while your command prompt/terminal is in the same directory where you extracted the "Bluetooth" folder (cd DRIVE:\your\directory\path\Bluetooth (Windows) or ~/your/directory/path/Bluetooth (Linux) ).
or
Transfer the extracted "Bluetooth" folder to either your microSD or a USB Drive, plug it into your phone and move the folder to /system/apps using your root file explorer app.
Finally, install the Bluetooth.apk inside (which I'm assuming is the one you uninstalled since it is missing).
Let me know how it goes, thanks!
Click to expand...
Click to collapse
You just saved my phone's Bluetooth! Thank you very very much.
gasmp said:
You just saved my phone's Bluetooth! Thank you very very much.
Click to expand...
Click to collapse
Glad it worked!
Do I creat app folder?
I don't have a /system/app/ folder, just a /system folder with subfolders, none are called app.
Do I create the app folder?
degarb said:
I don't have a /system/app/ folder, just a /system folder with subfolders, none are called app.
Do I create the app folder?
Click to expand...
Click to collapse
Can you check again? Make sure you go to your system folder from your phone's root directory. It should contain almost all of the default apps installed on your phone when it came out of the box (with the rest of it being in priv-apps).
I have the exact same problem as the OP - I tried downloading the said file but my phone says the file is corrupt - can someone please send an updated version?
Same problem, file corrupt.
Bluetooth got erased because the system detected that the app was sending sms by itself (or so it said) and thus deleted it. I have the same problem as the one above, the file seems to be corrupt and can't install the .apk
Please, if there is another way to solve this say so.
Same problem...
I have the same problem as above, my phone detected the SMS permission and said it might cost you money and recommend an uninstall. I never realised I would be able to uninstall Bluetooth without being rooted but it did it anyway - maybe it's an android bug?
Anyway, I tried downloading your Bluetooth.apk and reinstalling but it said file corrupt.
Any help would be much appreciated! Sounds like this is a bug that's been going around...
Hello, I cant find the Amigo Bluetooth folder in /system/priv-app. So Can anyone please provide me the folder here
Also any other solution for re enabling the Bluetooth
Moto 4 Bluetooth gone
Same problem here
Did anyone found a solution yet?
https://forum.xda-developers.com/pure-xl/help/guide-unbrick-softbricked-blu-pure-xl-t3371981
following this thread will allow you to reload the factory rom to default settings, including all factory apps and files. this is a "OEM reset"
to the fullest, bringing phone back to factory sent condition. (be prepared to do a few ota updates when done)
pay attn and read the whole thread (Yes I know its long) especially when it talks about SP Flash tool...
tbirdguy said:
https://forum.xda-developers.com/pure-xl/help/guide-unbrick-softbricked-blu-pure-xl-t3371981
following this thread will allow you to reload the factory rom to default settings, including all factory apps and files. this is a "OEM reset"
to the fullest, bringing phone back to factory sent condition. (be prepared to do a few ota updates when done)
pay attn and read the whole thread (Yes I know its long) especially when it talks about SP Flash tool...
Click to expand...
Click to collapse
Thanks for the info.
I dont know yet if a simple apk via adb could fix the problem here instead of flashing the complete device
Fixed
Hey, I had a look elsewhere and found a forum on the Lenovo website (can't post link here), hopefully this will work for you too.
Basically you want to go to Settings>Apps>Reset app settings and that'll do the trick.
Good luck!

Systemizing user app forcing boot into recovery?

I'm trying to convert an app to a system app by placing it in /system/system/priv-app. I'm rooted using Magisk, but otherwise running completely stock Pie, with stock recovery installed. Here's what I've tried:
1. Using Magisk's Terminal App Systemizer module. This was the first approach I tried.
2. Using ES File Explorer to move the folder and change permissions.
3. Using Link2SD to make app into a system app.
4. Booting into TWRP using Fastboot, then using TWRP's File Manager to move the app into the /priv-app folder and set permissions.
5. Following the directions here to place the .apk directly into the root of the priv-app folder.
6. Following the directions here to make a folder for the app inside of /priv-app through adb shell and placing the .apk inside that folder.
Each time I've done this, when I try and reboot my phone it hangs during the boot sequence on the G logo with a little loading bar at the bottom. After a little while, the phone will automatically reboot into recovery and prompt me to either do a factory reset or try again (trying again causes a bootloop). I can boot back into the bootloader using the hardware keys and use fastboot to get TWRP running. From there, if I delete the .apk inside the /priv-app folder my phone will boot as normal. Note that I've had to sideload the OTA image when I used Magisk/Link2SD to systemize the app, as I couldn't find the app inside the /priv-app folder at all.
I've tried 2 different APKs with the same result. I make sure to set the proper permissions before rebooting, but it would appear that I'm doing something wrong with the .apk, since the problem goes away as soon as I delete it from the /priv-app folder.
Any help? What am I doing wrong?

Categories

Resources