Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-16-2015, 10:23 AM
|
#1
|
Senior Member
Registered: Jan 2015
Posts: 1,432
Rep:
|
adb can't remove a file from my Cell phone.
Hello.
My Android is infected with "Luck Try" and the virus file is "Kinguser.apk" but adb can't delete it :
shell@android:/ # rm /system/app/Kinguser.apk
rm failed for /system/app/Kinguser.apk, Read-only file system
255|shell@android:/ #
I'm root but it is read only
Any idea?
|
|
|
06-16-2015, 01:07 PM
|
#2
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
Try adding the -f option to the rm command.
Code:
rm -f /system/app/Kinguser.apk
Or, try changing the permissions on the file, then try to delete it.
Code:
chmod a+w /system/app/Kinguser.apk
then try to delete it.
|
|
|
06-16-2015, 01:19 PM
|
#3
|
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326
|
what does the mount command show. is /system mounted as read-only ?
maybe something like
Code:
mount -o remount,rw /system
?
Last edited by schneidz; 06-16-2015 at 01:22 PM.
|
|
|
06-16-2015, 02:29 PM
|
#4
|
Senior Member
Registered: Jan 2015
Posts: 1,432
Original Poster
Rep:
|
Quote:
Originally Posted by bigrigdriver
Try adding the -f option to the rm command.
Code:
rm -f /system/app/Kinguser.apk
Or, try changing the permissions on the file, then try to delete it.
Code:
chmod a+w /system/app/Kinguser.apk
then try to delete it.
|
I did both and when I use "-f" it tell me that "-f" not exist. about "chmod" it is not working.
|
|
|
06-17-2015, 10:54 AM
|
#5
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
The next thing I suggest trying is to install something like AVAST Mobile Security or 360 Mobile Security (there are others as well). Install ONLY ONE antivirus on your Android. Put it through it paces. It should remove the virus files.
Read more here: http://www.pcadvisor.co.uk/how-to/go...image-3605390/
|
|
|
06-17-2015, 12:09 PM
|
#6
|
Senior Member
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,189
|
I'm curious how that apk was written to the system partition...
|
|
|
06-20-2015, 03:59 AM
|
#7
|
Senior Member
Registered: Jan 2015
Posts: 1,432
Original Poster
Rep:
|
I removed it handy and factory reset but I see "Lucky Try!" on Android
|
|
|
All times are GMT -5. The time now is 07:20 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|