Issue removing a very stubborn file... - General Questions and Answers

I installed HandySMS on my Gt-i8000 and now I would like to remove it. However, when I try to remove this file from my phone I get an error message - The Process cannot access the file because it is being used by another process-
I've tried deleting this file using my Laptop and get this error- Handy SMS could not be deleted. The device has either stopped responding or has been disconnected.
I didnt like the app because it was very slow to open.
GT-i8000- unlocked
AT&T

Related

[Q] Cannot Delete Apps or Google User Account even after flashing ROM

Hey everyone,
My friend gave me his tab p1000... but I cannot seem to remove apps or even google user account even after i have:
- Reset the phone
- Flashed stock rom v5 ROM with ODIN (with repartition and also flashed dbdata).
- I also tried NAND Erase All, which soft bricked the tab but i was able to get it back.
Even with all this, all the apps are still there.. when the tab loads up.
The Apps keep crashing every minute though.. so they are not stable.
--- Things Note:
1.
After flashing stock rom, when it enters recovery i get the following errors:
part(1): Checksum error
MMC verification failed
and
cannot find: /preload/app folder
2.
There are some weird files under the internal memory root folder that cannot be deleted.
Well you can delete them but they come right back up when you remount the internal drive(16gb).
Also the application folders cannot be deleted.. they reappear once you remount the internal drive.
the files are:
- Copy of Shortcut to (1/2/3/4).lnk
- glweax.exe
- glweax.scr
- x.exe
- xxx.dll
- zjroic.exe
- zjroic.scr
-xjdqob.exe
3.
There is an app called - Perfect Applock - that might have something to do with this.. Not sure.
I have read in forums, to put the phone in flight mode and restart it, then try to go to app manager within 30sec to uninstall the app.
i tried that but it still doesnt work. the App still exists..
btw, i have also tried removing the apps via app manager, that doesnt work. although it says sucessfully uninstalled.
when you reboot the tab, all the apps are present.
4.
I installed root app using superoneclick so that i can install a root explorer app - but it kept crashing.
---
My guess, is that there is a virus, or something that is recreating the apps. or not granting access to where the apps are stored (guessing in /preload/app).
i have read forums and some people said it might be a faulty internal storage.. i did the checks(some commands using adb) to verify but it was negative.
so i dont think the internal storage is bad.
Right now i am stuck... the tab has stock rom v5 installed right now.. not rooted and with 3e recovery.
any help will be greatly appreciated.. thank you in advance.
you are in wrong device section.... go to this Samsung Galaxy Tab section for better help
http://forum.xda-developers.com/forumdisplay.php?f=752
btw, those file that you mention is a virus... so check your pc.. it might already infected your pc with it...

[Q] Cant establish reliable connection. TRIED EVERYTHING

Okay guys, i wasnt too sure where to post this so yea feel free to move it to its right destination haha
so, I have a rooted Moto G xt1032
everything was fine till a couple of days ago.
then all of a sudden i couldn't connect to the playstore. I thought it was a problem with my internet connection but after a while i realised it wasnt. so i unlinked and removed my gmail account. When i tried to relink it to my phone, it said "cant establish a reliable connection to the server."
then everything went haywire with my phone and a few apps kept crashing all the time.
I saw a solution which said to delete the "hosts" file but i couldnt change or delete it because my root explorer app kept crashing all the time.
So i tried factory resetting my phone, hoping that doing so would fix my problem.
But nope -.-
I cant get to my "hosts" file because i dont have a file manager and i cant install a file manager because no downloads get completed for some strange reason.
I've tried clearing the cache and a few stuff from the recovery (not TWRP or CWM) but i could try again if you suggest it.
Is there a way to get CWM or TWRP and then flash another rom? im not too sure but that could fix my problem so yeah
PLEASE HELP D:
reeved

[SOLVED] I Softbricked my phone, need some help!

-----SOLVED NOTE----
I did a reflash of the stock rom one more time with ODIN and it seems to have solved the problem. However I still have absolutely no idea about what was wrong with the phone, or why the first successful flash did not take care of the problem.
And a piece of advice, do not edit platform.xml. I swear I edited it correctly and then reverted to the correct settings, did using 3 spaces instead of a tab caused an error??? This will remain a mystery for me...
---------------------------
Hello All,
So I have the Verizon S3 i535, I edited the platform.xml file to give write permissions to external sd card and all hell broke loose after I reverted those changes. All of a sudden every app is getting that "unfortunately stopped" message. I cannot send any file to neither the internal nor the external sd card from my pc, file browsers cannot read any file on any of these cards, I tried pushing with adb but that does not work either. I tried factory reseting, and hard reseting to no avail.
I tried reflashing the stock rom with ODIN but after the flashing process nothing changes? (Does that have to do with me being on NE1).
I do not understand what is going on with the phone right now, flashing should have restored everything, I still get com.google.process.gapps stopped working then all sorts of apps stopping in the same manner, I still can't copy any file to any sort of storage on the phone.
Any idea what has happened and how I could fix it?
Thanks in advance.
That type of editing is not something I have done on Android.
Is there any chance it is a permissions issue and could be fixed with root permissions to a file manager or with adb?
dawgdoc said:
That type of editing is not something I have done on Android.
Is there any chance it is a permissions issue and could be fixed with root permissions to a file manager or with adb?
Click to expand...
Click to collapse
I would be willing to try that however I cannot connect to play store, neither the internet app connects to the internet so I cannot install apk's. I cannot "push" apks to the storage too I tried it via pc and via adb. So I cannot even install a root file manager.
Kingo root however accesses the system (through the pc) and manages to install itself. I have no idea how it can do it.
guguma said:
I would be willing to try that however I cannot connect to play store, neither the internet app connects to the internet so I cannot install apk's. I cannot "push" apks to the storage too I tried it via pc and via adb. So I cannot even install a root file manager.
Kingo root however accesses the system (through the pc) and manages to install itself. I have no idea how it can do it.
Click to expand...
Click to collapse
Glad to see you solved the problem.
I was speaking of using an adb shell to change the permissions of platform.xml to 0644 (-rw-r--r--) if they were set to something else. (I just checked my /system/etc/permissions/platform.xml to verify that was the settings on my device. I wasn't any more specific before because I hadn't checked the file locations nor its permissions.)

Rooted LF Vortex VS660

I have a old lg vortex and I just wanted to use it as a remote for streaming music . I rooted it with gingerbreak and then installed root app delete. I guess I let the power go to my head and got over ambitious in deleting now I get a continuous error message " The application Dialer ( process com.android phone) has stopped unexpectedly. Please try again. To make the matters worse I thought a factory reset would fix but it didn't. When I ran app delete I did had the files just hidden but the factory reset deleted that app.
My computer no longer sees the phone tried on both windows and Linux. Any suggestions would be helpful

Your Phone is Locked Because the Payment Service was Uninstalled

If you ever lock Your Samsung because of disabling Samsung Payments or by debloating and You have TWRP installed here is a fix.
Boot to TWRP and using File Manager copy data/system/users/0/package-restrictions.xml to SD and then copy this file to PC to and open in notepad or any text editor.
Remove <pkg name="com.samsung.android.kgclient" ceDataInode="-4294836077" enabled="3" enabledCaller="0/" /> line from the file. It can have different values but package name must be the same. Remove whole line, save file and place it back to data/system/users/0/. I suggest to delete old package-restrictions.xml and package-restrictions.xml.bak before placing back edited file.
That's it, phone should be unlocked now.
Thank you! This saved me from several hours of tweaking this stupid samsung security.
Thank you @Chamelleon! I was about to get in to a full reflash stock, reroot, reinstall situation. Damn, I love xda!
BTW, the thing I did differently was to remove the three lines inclusive of
<disabled-components>
<item name="com.samsung.android.kgclient.receiver.KGAgentReceiver" />
</disabled-components>
...and changed enabled="3" to enabled="1" in this line
<pkg name="com.samsung.android.kgclient" ceDataInode="2643" enabled="1"
Probably not required, but thought I'd mention it.
Galaxy Tab S6
Android 9
Stock-Rooted
i cant find the line even if i search it
I tried attempted to debloat an S8 (running Pie), but I started receiving this message afterwards. There's no “com.samsung.android.kgclient” in the package-restrictions.xml file. Is there any other place this restriction could be enforced?
Found Another Way 2
in my case i copied the file package restrictions but did not found the line or the package in it.
What I Did
1. download the Samsung payment services apk from apkmirror.com
2. installed this app as a system app using lucky patcher.
Note: i guess we can use the adb tool too to install apps as system apps.
3. Nothing just restart and done.
Also this can be overcome in every restart without installing the above app. As you may have noticed device waits some time after the restart before pushing the notification and locking the device. What i found is that if we restart the SystemUI it disables the lock and does not show it up until next restart.
Enjoy and Keep Sharing.
I went in and deleted package-restrictions.xml and the bak file, I can reboot now and get in with the message, I initially uninstalled payment services, I tried flashing a zip of payment services apk couldn't get that going, now I'm getting android set up pop ups and my twrp won't boot to the recovery loader from within the app, and super su has lost all the settings for applications!?¿ rlly don't want to do a clean flash and re root ... bloody system packages arggghf help
Wow, this was easy. Thanks!
harismuntazir said:
in my case i copied the file package restrictions but did not found the line or the package in it.
What I Did
1. download the Samsung payment services apk from apkmirror.com
2. installed this app as a system app using lucky patcher.
Note: i guess we can use the adb tool too to install apps as system apps.
3. Nothing just restart and done.
Also this can be overcome in every restart without installing the above app. As you may have noticed device waits some time after the restart before pushing the notification and locking the device. What i found is that if we restart the SystemUI it disables the lock and does not show it up until next restart.
Enjoy and Keep Sharing.
Click to expand...
Click to collapse
Hi..how to restart system ui within so limited time
Chamelleon said:
If you ever lock Your Samsung because of disabling Samsung Payments or by debloating and You have TWRP installed here is a fix.
Boot to TWRP and using File Manager copy data/system/users/0/package-restrictions.xml to SD and then copy this file to PC to and open in notepad or any text editor.
Remove <pkg name="com.samsung.android.kgclient" ceDataInode="-4294836077" enabled="3" enabledCaller="0/" /> line from the file. It can have different values but package name must be the same. Remove whole line, save file and place it back to data/system/users/0/. I suggest to delete old package-restrictions.xml and package-restrictions.xml.bak before placing back edited file.
That's it, phone should be unlocked now.
Click to expand...
Click to collapse
i cant find this xml anywhere, please help
Any advice if twrp isn't yet installed but device is already rooted?
Solution is to reboot to Samsung recovery and factory reset. Worked for me.
JoshReuben said:
Solution is to reboot to Samsung recovery and factory reset. Worked for me.
Click to expand...
Click to collapse
luckily factory reset solves it. i was already getting anxious about paying "ransomware" to samsung service oof
thanks
but my TWRP doesnt mount data
CANDco said:
but my TWRP doesnt mount data
Click to expand...
Click to collapse
Only hard reset can fix Your phone then. If TWRP can't mount data it means that your phone is encrypted and without full wipe you won't be able to unlock it.
Thanks! I just fixed my m51 with this method. I was thinking about restoring full TWRP backup or flashing stock rom as last resort. So glad I found this thread.
I don't know what is wrong with my phone. I disabled the app, and got the message. I did what you suggested and rebooted. but the app re-enabled itself. I tried disabling again and the message came up again. I checked and that line is no longer in my package-restrictions.xml
Luckily for me, just rebooting unlocks my phone, but I think that defeats the purpose....
I kinda want to get rid of that app
adb shell pm enable com.samsung.android.kgclient
will solve the problem
jafferkhan said:
i cant find this xml anywhere, please help
Click to expand...
Click to collapse
Man, that was a trip to do, but on my unlocked S9+, it worked! I could only see the exact file when I opened the .xml file with wordpad on my Win. 10 to edit it, otherwise it's very hard to spot scrolling in TWRP on the device, particularly since the long package list can freeze up while you scroll down.
I should add, that I used an OTG USB Bridge with a type C connector to paste the copied .xml file to the connected flash drive I mounted in TWRP (just scroll up through the directories for "OTG USB' to find the drive to paste it), then put it on my PC, this made the process go even faster.
But it's better to proactively check what apps can be disabled, removed, or in my case frozen with Titanium Pro, before ever having to deal with such a scare as this!
Chamelleon said:
If you ever lock Your Samsung because of disabling Samsung Payments or by debloating and You have TWRP installed here is a fix.
Boot to TWRP and using File Manager copy data/system/users/0/package-restrictions.xml to SD and then copy this file to PC to and open in notepad or any text editor.
Remove <pkg name="com.samsung.android.kgclient" ceDataInode="-4294836077" enabled="3" enabledCaller="0/" />line from the file. It can have different values butIpackage name must be the same. Remove whole line, save file and place it back to data/system/users/0/. I suggest to delete old package-restrictions.xml and package-restrictions.xml.bak before placing back edited file.
That's it, phone should be unlocked now.
Click to expand...
Click to collapse
What are procedures on how to remove the file after disabling the package, my Samsung A03 CORE can't mount. So kindly assist me here..

Categories

Resources