Question Sanity check for an app crashing/not working - Samsung Galaxy S21 Ultra

Hey all,
I have had a lot of issues since the one UI 4.0 update.
Many apps crash, and some I can't transfer data.
Specifically Another Eden game, when I try to data transfer usinh Facebook it just locks up. Has anyone else ran into that?

Code:
su
rm -r /data/dalvic-cache
rm -r /cache/dalvic-cache
reboot

miravision said:
Code:
su
rm -r /data/dalvic-cache
rm -r /cache/dalvic-cache
reboot
Click to expand...
Click to collapse
I have already wiped the cache partition and repaired apps. But thanks.
edited:formatting

Related

Removing Dalvik Cache

If I delete the /data/dalvik-cache folder from the phone will it recreate itself. From what I'm reading this may assist in fixing my phone boot errors.
Don't think it will cause a problem. You can try rebooting after removing the files (dalvik).
I would recommend deleting it in Counsole just because it'd be safer for all your apps and processes, but it should be recreated in Android's framework.
needed to remove /data/dalvik-cache
Metatronx said:
If I delete the /data/dalvik-cache folder from the phone will it recreate itself. From what I'm reading this may assist in fixing my phone boot errors.
Click to expand...
Click to collapse
thanks this was just what I needed... I was having the same error with the first boot as you had in some of your earlier comments in the thread. used adb to connect and remove the dalvik-cache file and then reboot... the next reboot nicely passed the 'G1' screen...and looks like my g1 may be back and running... if the endless force closes ever end
lukekirstein said:
I would recommend deleting it in Counsole just because it'd be safer for all your apps and processes, but it should be recreated in Android's framework.
Click to expand...
Click to collapse
How do you do that?
ThR1LL said:
How do you do that?
Click to expand...
Click to collapse
reboot in recovery
alt X to go into counsol
hit enter to get in SU mode
if you don't have apps2sd
mount data
rm -r data/dalvik-cache
reboot
if you have apps2sd
mount system/sd
rm -r system/sd/dalvik-cache
reboot
Good luck
borodin1 said:
if you have apps2sd
mount system/sd
rm -r system/sd/dalvik-cache
reboot
Good luck
Click to expand...
Click to collapse
is it the same commands in adb?

SD wipe w/o losing music/movies

I have looked all over for the answer to this and I am at my wits end...
I have been trying out different roms and themes to find that sweet spot for me, and I think I have now. I know that alt+w on the bootloader only wipes factory data and such, and that if I reformat my sd card it'll wipe everything including my ext2 partition. But I don't want all of that to happen. I want to wipe the apps I have on my sd card but keep the music, movies, etc I have on there without having to uninstall each one thru a file mgr (I have 83 apps right now).
The problem I am having that is making me do this is that when I flash cyan3681 and start over at the adp screen where you tap the android, right after that it starts showing force closes for a number of apps, and it always opens open overclocker and kinda hangs there. On top of all that, at some point, it messed with some apps in my drawer and either won't allow me to access them anymore or it shows the stock apk icon with the little gear and the page behind it.
I just want a fresh start, without having to spend an hour(s?) doing it. Thanks for any help.
run this in terminal
su
rm -rf /system/sd/*
Bzerk1 said:
a question on this, can you use this command in the console of cyanogen recovery 1.4 (alt+X)? and do you stil have to input
su before rm -rf/system..... ?
Click to expand...
Click to collapse
in recovery console just type
mount /system/sd
rm -rf /system/sd/*
alritewhadeva said:
run this in terminal
su
rm -rf /system/sd/*
Click to expand...
Click to collapse
a question on this, can you use this command in the console of cyanogen recovery 1.4 (alt+X)? and do you stil have to input
su before rm -rf/system..... ?
Bzerk1 said:
a question on this, can you use this command in the console of cyanogen recovery 1.4 (alt+X)? and do you stil have to input
su before rm -rf/system..... ?
Click to expand...
Click to collapse
You would be running in recovery console so you would need to use alritewhadeva's method posted a couple posts up:
Do this before the above:
Code:
# mount -o rw /dev/block/mmcblk0p2 /system/sd
Thank you, that worked perfectly.
I am M3 said:
Do this before the above:
Code:
# mount -o rw /dev/block/mmcblk0p2 /system/sd
Click to expand...
Click to collapse
just "/# mount /system/sd" works fine
Adam17 said:
Thank you, that worked perfectly.
Click to expand...
Click to collapse
You're welcome. Please change the thread title to [SOLVED]

FaceBook not installed. Market thinks it is. Need a fix.

So, I had facebook for android installed and recently update to cyanogens latest ad somehow it got deleted. Could have been a theme that removed it, as I didn't notice it until after I applied a theme. The icon was still on my home screen, but not in the app tray and the widget is gone.
Anyway I when into the market and it says its installed, its not and the option to uninstall or open is grayed out.
Any way to fix this?
In order to get it fixed for me I had to go into adb and
Code:
adb shell
rm -r /system/app/com.facebook.katana
rm -r /data/data/com.facebook.katana
exit
adp push Facebook.apk /system/sd/app
The app still didn't work but I was then able to uninstall it in the market and reinstall the market version and it has worked fine.
jairomeo said:
In order to get it fixed for me I had to go into adb and
Code:
adb shell
rm -r /system/app/com.facebook.katana
rm -r /data/data/com.facebook.katana
exit
adp push Facebook.apk /system/sd/app
The app still didn't work but I was then able to uninstall it in the market and reinstall the market version and it has worked fine.
Click to expand...
Click to collapse
I get "can not remove /system/app/com.facebook.katana"
The reason you're getting that, is because it doesn't exist in that directory, try the second command, and see if it gives you the same error.
put the apk on sd and try this :
1. Open a Terminal Window:
2. Type the following:
- su
- mount /system -o remount,rw
- cd /sdcard
- cp "appname".apk /system/app
rp1783 said:
The reason you're getting that, is because it doesn't exist in that directory, try the second command, and see if it gives you the same error.
Click to expand...
Click to collapse
Thats what I thought and I get the same error with the other command.
yozpalang said:
put the apk on sd and try this :
1. Open a Terminal Window:
2. Type the following:
- su
- mount /system -o remount,rw
- cd /sdcard
- cp "appname".apk /system/app
Click to expand...
Click to collapse
This was my next step, but, don't have the apk. Anyone care to upload it or send me a link?
http://www.androidspin.com/downloads...e=Facebook.apk
yozpalang said:
http://www.androidspin.com/downloads...e=Facebook.apk
Click to expand...
Click to collapse
Not Found
The requested URL /downloads...e=Facebook.apk was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
this is where i got it http://forum.xda-developers.com/showthread.php?t=582302
Got it! Thanks all for the help. Installed and working now.

help voicemail app gone

My sprint voicemail app is gone..?.?.? Not sure what happened to it after i flashed modaco 1.1. Anybody got a copy for me?
its still there just doesnt have an icon
Hmmm whats the name of the file and how do i fix it?
i would flash the fresh rom right now as they are always doing updates...but to fix your problem do this
Code:
adb remount
adb shell
rm -r /data/dalvik-cache
rm -r /data/boot-cache
reboot
BigBallin said:
i would flash the fresh rom right now as they are always doing updates...but to fix your problem do this
Code:
adb remount
adb shell
rm -r /data/dalvik-cache
rm -r /data/boot-cache
reboot
Click to expand...
Click to collapse
this didn't work for me anybody got a different answer.
Boot into recovery and try "Fix uid app mismatches" or you can download the App Installer by Flipz and run his Clear Cache thingy (www.geekfor.me and the go to downloads youll see app installer). Or if you have the 1.5.1 recovery you can clear the delvik cache in there somewhere.
Couple of options for you..
or just re-install the voicemail app..
app is attached
nelson8403 said:
or just re-install the voicemail app..
app is attached
Click to expand...
Click to collapse
Or that LOL.
Vm app wouldnt install
acm2117 said:
Vm app wouldnt install
Click to expand...
Click to collapse
Error? Which method above did you try?
Well i used astro file manager. How should i do it? Ive got a terminal program to use if i need to.
acm2117 said:
Well i used astro file manager. How should i do it? Ive got a terminal program to use if i need to.
Click to expand...
Click to collapse
You should be able to Extract the ZIP to the root of the SD card, open Astro move into the SD card folder and just click on the APK. Then open it with Program Installer(i think thats the option, someting close).
If it errors, post back the message.
I moved the .apk i extracted to /sdcard/ and opened it with app manager and chose install. The error it gave me just said voicemail could not be installed on this phone.
I am also getting the error, "application not installed" when trying to install.
BigBallin said:
i would flash the fresh rom right now as they are always doing updates...but to fix your problem do this
Code:
adb remount
adb shell
rm -r /data/dalvik-cache
rm -r /data/boot-cache
reboot
Click to expand...
Click to collapse
i tried this and it worked this code should def work

How to undo mimocam's lag fix.

Hi people!
I'd like to install one click lag fix, but i already had mimocam's lag fix applied and i cant, so....
How can i undo mimocams lag fix?
P.d: i used the search, but nothing found......thanks!
Sent from my GT-I9000 using Tapatalkthing
adb shell
su
busybox rm /data/data
busybox cp -rp /disk/data /data/
busybox rm /data/data.bak
busybox rm -r /disk/data
The first command puts you into the command line on the phone.
the second line gives you root access
the third line removes the soft symlink that we created in the original instructions
the fourth line copies the stuff from your ext partition back to the phone
the fifth line deletes the backup of your original data partition you made
the sixth line deltes the data partition on your ext partition - this is optional step and BE SURE your cp in line four was successful first.
We could alternately just mv the /data/data.bak back to /data (busybox mv /data/data.bak /data/data) after removing the symlink, but that would put your /data/data folder back to where it was before you started, so any app changes you made while residing on ext partition would be lost.
Use the same procedures to undo the market fix stuff.
distortedloop said:
Use the same procedures to undo the market fix stuff.
Click to expand...
Click to collapse
hey... could you elaborate on that?
thanks,
thomas
EDIT: I have found this here:
Code:
adb shell
su -
busybox rm /data/data
busybox rm /system/media
busybox cp -rp /disk/data /data/
busybox cp -rp /disk/media /system/
Am I safe to assume that if I've done a hard reset and flashed a new firmware it will have removed the fix? Or do I still need to undo it?
tschmidt84 said:
hey... could you elaborate on that?
thanks,
thomas
EDIT: I have found this here:
Code:
adb shell
su -
busybox rm /data/data
busybox rm /system/media
busybox cp -rp /disk/data /data/
busybox cp -rp /disk/media /system/
Click to expand...
Click to collapse
Don't forget to rm the .bak folder for /system/media.bak if you have it, otherwise you're wasting disk space.
Nicolopolus said:
Am I safe to assume that if I've done a hard reset and flashed a new firmware it will have removed the fix? Or do I still need to undo it?
Click to expand...
Click to collapse
Yes, any new firmware flash should wipe these fixes. However, your ext partition will still have the apps and other stuff on it. Not an issue since you can't use that space without running a lag-fix kernel that mounts it, or you repartition the sdcard.
last question: when I try to rm the data.bak, it tells me: "data.bak is a folder!"... what is that about?
tschmidt84 said:
last question: when I try to rm the data.bak, it tells me: "data.bak is a folder!"... what is that about?
Click to expand...
Click to collapse
When you did the fix in the first place it backed up the original folder by renaming it to .bak, so it is a folder, it's the original /data/data folder that you had before doing the fix!
You might have to use rm -r to remove it, or to be really safe, just use Root Explorer or the like and delete it.
Pretty easy to screw up your phone if you mistype with the rm or rm -r.

Categories

Resources