yashsingh1/xdaforums huggingface dataset:
[HTC One X+] fz798:
Thank you! This worked perfectly for me, Many, many thanks.
[HTC One X+] miketrev22:
Thanks!

THANK YOU!!!! This was driving me nuts. Some application would install and update, others said insufficient. So glad I found this article. Thank you 100 times over!
[HTC One X+] kamikaze2112:
Just came across this error with 2 apps, theChive and Yatse (my xbmc remote), both of which i use daily.

I've tried all the steps in these posts with no success. in my /data/data folder there is a com.thechive folder (haven't looked at yatse yet) and when I try to delete it i get an I/O error.

Any thoughts?

I'm running an unofficial CM11 on a note 3

edit: just tried an rm -rf on the org.leetzone.android.yatsewidgetfree and get the same I/O error.

I've also tried running a fix permissions in TWRP, to no avail. is there a way I can mount the filesystem and do an fsck on it?

ANOTHER EDIT:

Got my problem solved.

Installed ADB on my macbook, rebooted in to TWRP and ran an adb shell from the terminal on my mac.

ran /mount to see where the mount point was for /data (in my case it was /dev/block/mmcblk0p25 )

ran umount /data and umount /sdcard since they both pointed to /dev/block/mmcblk0p25

ran e2fsck -fv /dev/block/mmcblk0p25 and answered yes to all the issues it found (there were multiple)

once that completed, I ran mount /data and then switched to the /data/data directory.

ran rm -rf com.thechive and it completed this time without error. did the same thing for the yatse folder as well.

after clearing those folders, exited the adb shell, rebooted the phone, and successfully reinstalled both theChive app and my Yatse remote.
[HTC One X+] sandy8925:
Thanks a lot!

Thanks a lot for posting about this, I was facing this problem too
[HTC One X+] D0MINO:
If only I could! I can't even install any new apps as well as updates so...
[HTC One X+] yonorri:
Excellent solution.

This is the solution I've been looking for, been having issues with the

despite haveing at least 50% of avavailable storage space available >8G in both external and internal storage. This is on a Galaxy S4 with 4.4.4 installed.

The only slight difference I had was that there were no sub-directories below /data/data/APP-PATH so I just deleted the App-PATH directory, in all cases where an app wouldn't updated there appeared to be 2 directory entries for the app blah-1 and blah-2, after deleting both directories and then updateing the app only 1 directory now exists.

Many Thanks for the solution. :D
[HTC One X+] newbreedsoftware69:
Instead of probing around an deleting files I 'hoped' would fix my issue, I...

1) downloaded Logcat Extreme from the Play Store

2) attempted to download the file I wanted, and once I received the error message

3) went back to LogCat Extreme and it told me exactly which file was the issue.

Just another idea if the above resolution didn't work for some of you. There is also an app on the Play Store called InsuFixer that will attempt to delete any invalid app-lib files for you.
[HTC One X+] lezeik:
I genuinly love you man!! Been searching for ages to resolve this crappy bug! Thanks thanks thanks and thanks again!! :highfive:
[HTC One X+] Leozan:
Solution That Worked For My “Insufficient Storage Available” Issue

This Fixed Mine.

Thanks For Sharing.
[HTC One X+] MadMickey:
Many Thanks

Thank you fo:cool:r this - did exactly as it says on the tin and fixed this problem for me using the Dhollmen Rom. :D;)
[HTC One X+] ChazzMatt:
THANK YOU. The solution in the op (deleting app-lib files on a case-by-case basis) I use almost weekly, but this app seems to be an improvement to that.

I just deleted a bunch of "invalid" app-lib files. Hopefully that solves the problem for a long, long time!
[HTC One X+] am486:
Finally a solution for my problem without a factory reset, thanks a lot.
[HTC One X+] bigal-sa:
Thanks, I found that on one day (actually less than one hour on one day) I had almost 1GB of these logfiles accumulated.
[HTC One X+] ChazzMatt:
Hmmm... On my Nexus 5, I don't have any such folder.

I have data/local and data/lost+ found. Nothing in between .
[HTC One X+] bigal-sa:
Are you rooted? You can't see anything in /data unless you are rooted.
[HTC One X+] ChazzMatt:
Trust me, I'm rooted. I wouldn't have over 1,100 posts in XDA. ;) (although you would only see that on the web browser).

I've also posted in this thread a couple of times.

Go back and read my reply. I added more information plus a screenshot.

Here's screenshot again from my Root Explorer in the Data folder. So, is it somewhere else on Nexus devices?
[HTC One X+] bigal-sa:
Thanks for updating this post, your original reply was a bit terse. ;) Unfortunately, I gave my Nexus device away so can't compare right now. I only have two Samsung devices that are rooted, and both have /data/log directories.

My antique SE U20i (v2.3.7) has the directory structure that you show. My equally antique, but heavily hacked Mediacom 810c (v4.1.1), also doesn't have /data/log directory. Maybe it's a Samsung thing?
[HTC One X+] ChazzMatt:
Sorry.

The terseness was just a reaction to somebody with 3 posts asking if I was rooted. ;) I then realized you were probably on tapatalk and couldn't see my profile.

Nor had you probably read up just two or three posts where I had previously posted in this thread about the IsurFixer app (which requires root).

I was also in the process of posting a screen shot of my root explorer.

So I went back and edited the reply. :)

So maybe that file structure is for Samsung? I can look on my wife's Nexus 5 also.
[HTC One X+] TimRK:
Link2SD was My Solution after i tried so much more else

Crazy but I read somewhere that Link2SD should be the solution, i did not even have it installed, and then I installed it and clicked on save apps to internal storage by default and BOOM the error dissapeared. Crazy but it really worked
[HTC One X+] MXKM:
Really Working!

Thank you for the solution! It really works!:)
[HTC One X+] Angelbells:
I have been having the same problems for about two months now and have read all the great advice on this thread but I've been too cautious to try them as I have had many problems with my internal storage as well as my SD card which ended with me loosing everything important. I got a wild hair and decided to try clearing out my temporary data from my apps. To my surprise it worked and I was able to update my apps which have been giving me the error. So far everything is working as it should be for my outdated and ever so much of a P.I.T.A. phone.. I know this simple idea might not work for everyone but hopefully for those who have tried everything, it will work. :)
[HTC One X+] MauroTC:
Thanks

Hey man thanks a lot. I have a GT-N7000 and this log folder sized 1,5GB
[HTC One X+] u1988:
1. go to "/data/app-lib/APP-PATH(that has this error)/lib" and delete.

[MENTION=851091]baha76_s[/MENTION]

I try everythins only your way works , thank you!! :good: (on CM11 SGS1 clean install)

It really Upsetting to do that to every app that won't work!

I use "root browser" and only delete the file in app-path...
[HTC One X+] Amrgalalsalem:
Many Thanks my friend

:good::good::good::good::good::good::good:

U R AWESOME MAN EVENTUALLY I MADE IT THANKS TO U
[HTC One X+] sumanyu gupta:
I cant understand the meaning of "App path(which causes problem)" and how to know which app has caused the problem?
[HTC One X+] El Porcharo:
The app causing the problem is that one you can't update due to the "insufficient storage available" error. If (for example) you can't find get the playstore to upgrade Sygic Navigation, the "App path(wich causes the problem)" is com.sygic.aura-1

This means that you'll have to browse to DEVICE/Data/app-lib/com.sygic.aura-1

Anyway.. I couldn't get my problems solved at all.. :(
[HTC One X+] sumanyu gupta:
When I am trying to install a new app, even then it cannot be downloaded even if it is of a few kb.
[HTC One X+] jkumarramana:
Thanks alot

Thank you so much sir. My problem fixed. Thanks again.
[HTC One X+] UncleSpellbinder:
I ran across this thread while doing a Google search for this issue. Was trying to update Twitter and received this error message.

Many thanks! Worked like a charm on my T-Mobile Galaxy Note II running AICP 7.0 nightly.
[HTC One X+] d_originaldappa:
Works like a charm! Thanks!!!
[HTC One X+] HardNocks24:
No Such Folder Found...

I tried this method but in i used root explorer there is no such folder found , the folders i could see are App,App-asec,App-private...
[HTC One X+] jokerusv:
This works as described in post #24:

for line in `pm list packages -f`; do pkg=`echo $line | cut -d: -f2 | cut -d= -f2`; if [ "$(ls /data/app-lib | grep "${pkg}-" | wc -w)" -gt 1 -a "$pkg" != "android" ]; then fullname=`echo $line | cut -d: -f2 | cut -d= -f1`; filename="$(basename $fullname)"; badfile=`ls /data/app-lib | grep "${pkg}-" | grep -v "${filename%.*}"`; rm -rf /data/app-lib/$badfile; echo "Fixed $pkg"; fi; done
[HTC One X+] matthew33:
WTF is all that supposed to mean?

:p
[HTC One X+] jokerusv:
Sorry, maybe I rushed posting...

I was trying to resolve the insufficient space issue on a Asus Memo Pad 7 HD and tried different approaches to the issue but without luck...until last night when after rooting the device I ran the commands and it resolved the issue. Pure joy determined me to share with you that the code given on post #24 works. Only after that I saw that the author later made an apk that is easier to use. So...I'm sorry...my bad....

Cheers
[HTC One X+] Blackman75:
I tried deleting the odex files and then my phone wouldn't boot past the T-Mobile screen. Had to restore from CWM and Titanium to get it working again. I still think the odex files are my problem but don't know if I am deleting them the right way. I just used Root Explorer and search for all the odex files and then selected all and deleted them. Is that wrong?
[HTC One X+] Blackman75:
I just keep getting "/data/app-lib: No such file or directory"

Suggestions?
[HTC One X+] Blackman75:
This solved it for me!
[HTC One X+] tracins:
Thank you!

You really helped me. I tried for about 3h. And resolved nothing..

Much appreciated!
[HTC One X+] Vorridor:
Links2sd was the issue for me. Just went into the app and changed the install location to auto. Tyvm to all who have worked for the solution. ????

Sent from my Rooted SPH-M950, MiRaGe kernal, using Xparent Cyan Tapatalk 2
[HTC One X+] matin_srd:
i've lost all my apps!!!

i 've deleted all app-lib Folder! and BoooM! all my apps are unusable and i even lost my back key! yes my Back key is not working anymore! :(

any solutions? i dont want to Flash it all again.
[HTC One X+] fabryd:
I have a oneplus one, rooted, stock rom and have the same problem of insufficient space, cant find data/applib folder

I cant install, update from play store, new apps and manually apk too...have the same message.

Tried cleaning cache and dalvik cache froma TWRP recovery with no luck

any suggestions?
[HTC One X+] Incarnadin:
Problem app?

How can you tell which app caused the problem? I can't install/update any apps at all since this started. I have lots of free space. I checked and also deleted a few gb just in case. Makes no difference.

I diffed the ls of my /data/app-lib/ and /data/app/ folders and the only difference between the two was 1 file "sensor-ctl-so" appeared in one but not at all in the other. No number mismatches.

I just ran the post #24 script and it didn't help.
[HTC One X+] The Analog Kid:
You must search your own memory for what was the last thing you messed with for instance. In my case, it was a remaining folder from "WeChat" which I've turned from system to user app and eventually get rid of, since I had no use for it. Deleted that folder named "winix" starting from the inside. Problem solved. Thanks a lot :thumbup:
[HTC One X+] The Analog Kid:
Vorridor just gave me a second fix: I did app_lib solution and it worked... until I tried downloading a root app and issue just came back; checked for Link2Sd settings and it was on external storage. Switched to automatic. Problem fixed. Again.Thanks a lot :thumbup:
[HTC One X+] Der_Clown:
This folder has not exist. I have data/

or /app/

or /app-asec/ - empty folder

or /app-private/ - empty folder

or /data/
[HTC One X+] Ponraj007:
I'm on pre-rooted ROM for Samsung Galaxy S Duos 2 -- GT-S7582;

I had bricked some of my apps by partially Moving them to SD and Linking the remaining files to SD..

I was unable to update/uninstall/reinstall those apps.

Then followed your method; Found the files at /data/data/APP-PATH

Thanx a ton!! I was really stressed out, as I couldnt find a solution even after posting in another forum.. Thanks, Thanks again :good:
[HTC One X+] peter19220:
Guys please help a desperate guy (me) who tried to solve this problem fore more than a day already...:crying:

I have my Nexus 7 2013 device and I found that I can't update apps.

It's funny because I can update some apps but not other ( say I can't update Chrome but I can update any.do)

I can download some app but not

...................................................................... WAIT WHAT?!

I FINALLY SOLVED THIS PROBLEM!!!!

I simply downloaded LINK2SD and set the install location to AUTO and restarted my tablet. Then YEAHHH!! problem solved!

At first I thought I didn't have an external SD card so I didn't try. But as I was so desperate, I tried it anyway and it WORKED!

Please give it a try if you are like me, whose device doesn't have an external SD card.

Thank you guys for all the help and suggestions along the way!
[HTC One X+] gbossley:
Peter19220 - I paid the (I think) $2.00 to buy the pro version of LINK2SD, thinking it would be another failed attempt - WIN!

I had multiple apps that could not be updated, they are now all updating thanks to your suggestion - this app worked! (The alternatives were either unsuccessful, or too complicated for me -this app did the trick.)

The other thing this app is good for is to distribute data per app to the SD card - lowers the burden on internal memory which is good in an era when no apps can be run off the SD card.
[HTC One X+] mistermojorizin:
This worked for me. I had looked over this option because my phone has no SD card slot. Worked like a charm though, got the pro version, clicked AUTO for install location, and rebooted.
[HTC One X+] jresh:
Thanks!

Your suggested solution solved my problem. Thanks very much.
[HTC One X+] Takisxx:
the problem is on my DATA ap-lib folder there is no folders... and i cant fix Insufficient Storage .

why i dont have folders in data ap-lib?? plz anyone help me?
[HTC One X+] madefree:
OK you all. . . tried that but it didn't work for me either.

BUT.... Back when I had another phone, an LG F6 with same ignorant insufficient Storage, garbage.

(Ignorant means = means manufacture IGNORES users, to busy counting our money,)

And when we who were getting that. . . . "don't want buyers to get OUTSIDE applications," storage error, had to rely on the best forum in the net.

THIS ONE!

I found that backing up my stuff went to Recovery and did a Full Backup!

And than copied my apps and data with My Backup (free) or My Backup Root (free) than doing the TWO (2) Factory resets, back to back, and "wiping cache and dalvik cache," after each RESET, fixed the problem that I was having.

And that worked for me...on my 4.4.2 Stock Rom also!

That also worked on my S3 Stock 4.4.2 At$t Rom when things started to get real googirl goofy .

I'm also using another FREE apk called "Shredder Standard," used to "wipe" unused space on the internal storage,

I didn't get that either from googirl play, since I don't go there what so ever,

And I have ALL googirl play stuff copied and MOVED to a folder in my extSD Card.

That took many trials, and factory resets and a couple of Factory Re-installs of the Stock Roms to do that, but that space is now available for storage. And I don't advise anyone to take on that "job" unless at their "own risk."

That was not really worth all the time and the challenge, since just getting that "stuff" shut OFF was what gave me 2 and 1/4 days battery. And more piece of mind, that googirl wasn't watching my every move! LOL!

So NOW when I get a NEW phone,

I just factory Reset,

than a "wiping cache and dalvik cache,"

Than another Factory Reset

and another "wiping cache and dalvik cache,"

Than I set up my device on the third time out form the last Reset with "My Backup" folder moved to internal storage, used to RESTOR all my apps and data, than I move that "My Backup" folder back to extSD Card.

Good to go.... for me anyway.

Hope that helps someone.
[HTC One X+] ashurfox:
very goood
[HTC One X+] Rajat14801:
Fixing Insufficient storage space error

There's another remedy for this

For this remedy you'll need :

1.A

ROOTED

phone

2.A Good

ROOT EXPLORER

Open the root explorer (Grant SuperSu root access if asked)

Go To Device (/)/Data/app/(here)

Clear Any .odex files you can see

PLEASE DON'T DELETE THE APK FILES CAUSE THIS IN TURN WILL CAUSE MORE PROBLEMS

after deleting Just go back and exit the root explorer and

REBOOT

your phone.

Try re-installing the app and it should work (Worked for me).

-Rajat

Phone: Micromax Doodle 3 (A102)

Version: 4.2.2 (Jelly Bean)

Softwares Used: Framaroot (for rooting)

ES File Explorer (as Root Explorer)

;):good::D
[HTC One X+] Blackman75:
I go to these folders and I find a bunch of APK files but nothing that says odex. Is an APK file the same thing? They are taking up a lot of space. Can I delete them and be safe?

I guess the previous post answers my question. But what to do since I can't find any odex files? I have a Blu Life Play 2 by the way.
[HTC One X+] Blackman75:
Didn't work for me either. :(
[HTC One X+] djmatusiak:
I have this error as well, however, I am running android x86 5.1.1 lollipop. I cannot install any apps regardless of size, nor uninstall any, as it is a fresh copy.

It is installed on an external USB drive w 1 tb of space, but the os partition is 496mb, where the allocated sd card space is nearly a tb.

I have complete root control, and a decent file manager where I can set permissions. I have tred to change permission settings on /data/app folder to all srwx. These settings do not help, and when I reboot, the settings have defaulted to original.

I have tried to delete the files that have been described in this thread, but they do not even exist.

It seems like a permissions issue, but I don't know where to set them, and even if I did, upon rebooting will be reverted.

I am working totally inside android and not through a vm.

I have other issues pending as well but I will tackle them afterwards (eg arm support, and funky garbled text that I believe is due to my crappy old dell inspiron 1525)

This has been one heck of a process, and if I can't figure out the "insufficient storage", I do know what to do.
[HTC One X+] Mike7531:
Great solution - so thank ful

had to re-install my rom and gapps but never seen this before and so good!!

did not know which file to delete so deleted them all but this works!!
[HTC One X+] Malfix:
Can't find it.

I could go as far as /data/app-lib, but I couldn't find the "app-path" folder, any ideas as to why that's the case?
[HTC One X+] bender711:
---------

So (and i know, i messed up) I Deleted all of .odex files with fx root explorer in the main system root folder(stupid!)… phone now starts to boot and gets stuck on android screen and stays there.

So far no recovery options will come up (have tried all start-up button combinations)

And all attempts to connect via usb have failed.

I do have proper drivers installed (installed from lg website)

And I have tried doing a hard reset (phone resets, android recovery robot image with open access panel on chest flashes briefly, then the phone resets again, back to square 1. does not continue to loop.)

I realize i did not follow your directions precisely, and would like to know if you can help me restore my phone, or at least tell me if i have completely ruined it?

It's an LG G Stylo from cricket.

It is rooted (via kingroot)

as mentioned, last known activity before loss of file system access was me deleting ALL .odex files found in a search of system root folder using fx root explorer.

thanks in advance for any reply you or anyone else might have
[HTC One X+] krs007:
Thanks baha76_s. It helped me.
[HTC One X+] rumaro:
Thanks for this ROM. I've updated my Hox+.
[HTC One X+] dustyspam:
OMG, this worked for me as well, I had it set to "External" and changing it to "Automatic" it just made it work. In my case I was getting that error only on some apps (SuperSU, Youtube) but not others and I was even able to install some (not every) new apps.

Another thing to take into account, I was having this same error even with Link2SD uninstalled, I had to reinstall it and after a lot of reading and deleting those /data/app-lib/ folders this method finally worked!!! you rock! :good:
[HTC One X+] PangOS:
Well lucky me to have a variation.

Yatse gave me insufficient storage message after trying to update.

I uninstalled it. After trying to reinstall it - insufficient storage message.

Cleared odex files,wiped cache, still no joy.

Nav to /data/app-lib or even /data/data/, There is no folder entry for Yatse.

all the other apps I have installed are listed. There is no folder entry for Yatse.

Insufficient storage message persists.

This is an app I use a whole lot & I would like to avoid a factory reset as long as I can. My bank tokens are in use on this phone and it takes weeks jumping through hoops to get them to set it back up.

Yatse seems to be the only app with a problem, same result trying to install older versions. Yet there is no trace of it anywhere in the system that I can find.

org.leetzone,android.yatsewidgetfree.

Would love a solution
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] Azargardius:
Hello

Need a help with sms/mms apk from cm to stock lg l5 phone, i copy it but i have communicate "sms/mms has stoped" how to convert sms/mms.apk from cm to stock, its awesome and better than stock

How to run it on stock 4.1.2 ?

Sorry for my bad English...
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] Sabyn:
if you have root, go to your explorer, and go system/app, and copy there the apk

what cm you need? cm 10? or10.1/10.2, i can give you the apk
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] Azargardius:
I need mms.apk from cm10.1 or 10.2, and i need to know how to run it, because i copy it to /system/app and i am try to run it and i have a message "sms/mms.apk has stoped" so whats is wrong ? I get permision 644 rw-r- ?

Edit

I am try to run cm app, on stock 4.1.2 LG rom

Sorry for my bad English...
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] Sabyn:
10.1 or 10.2, because you cannot use 4.3 apk on 4.2.2, i tried, and got your error, need to be 4.1.2 on 4.1.2, 4.2.2 on 4.2.2 and 4.3 on 4.3, so tell me what android are you using so i can give you the good apk
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] Azargardius:
I am using 4.1.2 Android jelly bean, eg rooted v20G
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] Sabyn:
try this and let me know if it works
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] Azargardius:
Ok, need few minutes :)

Edit,

The same problem... not working, any ideas ?
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] Sabyn:
this was form CM10, based on 4.1.2... i can give from 4.2.2 and 4.3 you can try, you want them?
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] Azargardius:
Sure, i can try :)
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] Sabyn:
4.2.2
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] Sabyn:
4.3
[Optimus L3, L5, L7 Q&A, Help & Troubleshooting] Azargardius:
4.2.2 the same problem, not working...

And 4.3 not working...

I dont have idea how to run it