Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
TF1984
Old
#1  
Senior Member - OP
Thanks Meter 6
Posts: 258
Join Date: Dec 2009
Location: Greensboro
Default Help to remove disastrous apk - please android Wizards

I REALLY need some assistance, think I screwed my phone, really want to avoid a hard wipe.

I installed Lockbot the other day, has some issues with dual lock layers (i.e. the lockbot app wasn't disabling my HTC lock so I had two unlocks.). emailed dev and he sent me a beta version to hopefully correct issue. I only received an apk file from him.

FYI I am on fresh 1.1, rooted.

I used the kitchen to puch this file: "LockBotPro_1.10.0_beta.apk" to /system/app.

The install went successfully, but later after a reboot I face a HUGE issue. The lockbot app is hanging upon reboot and will not unlock. At first I thought i would still be okay, I had ATK and Advanced Task manager both running at start up, so I can enter both of them through my notification drop down menu. I used both to kill the task-to no avail it is still locked. I tried to use advanced task manager to uninstall lockbot - to no avail, it cannot be removed.

Then I tried to pull back the file through kitchen, to no avail.

I don't know what to do. I cannot get my phone to unlock and i cannot pull the file off through adb or kitchen. DOES ANYONE HAVE ANY IDEA ON HOW TO FIX THIS??????
 
wtphoto
Old
#2  
wtphoto's Avatar
Senior Member
Thanks Meter 14
Posts: 1,035
Join Date: Dec 2009
Location: Southfield, MI
I would suggest pulling the battery and rebooting into recovery then use adb to cd to system/app and use rm to remove the apk that way and then boot the phone
 
TF1984
Old
#3  
Senior Member - OP
Thanks Meter 6
Posts: 258
Join Date: Dec 2009
Location: Greensboro
Quote:
Originally Posted by wtphoto View Post
I would suggest pulling the battery and rebooting into recovery then use adb to cd to system/app and use rm to remove the apk that way and then boot the phone
I have tried to pull the file in both adb and in kitchen. Would it have installed as something other than the name I pushed it under?
 
flipzmode
Old
#4  
flipzmode's Avatar
Recognized Developer
Thanks Meter 917
Posts: 1,325
Join Date: Jan 2009

 
DONATE TO ME
Even if the phone is hard locking (kind of rare of android. even in all the stupid f'd up things I've done I've only hard locked my phone to the point that I couldn't even get in to adb once or twice) then the file system is still completely accessible while it's booting up. You can use the "pull any file" from the kitchen and check off that you want it to delete it after it's done. Just get it all queued up in the kitchen and then power on your phone. Once it gets passed the HTC logo wait a few seconds and then run the pull file from the kitchen. Should work just fine for you.

The alternative (if you are comfortable with adb) would be to boot your phone in to recovery (can also be done through the kitchen, even when it's in the middle of booting) and then type the following from a command prompt:

adb shell mount /system
adb shell rm /system/app/your-application.apk

FYI for future reference you should push these types of applications to /data/app. Your hard locks could either be caused by the fact that the beta just broke things, or it could be that you have a copy of it in both /data/app and in /system/app.
Xylon - Nexus 4: 2.1.1b2 (Android 4.2.2)
Fresh Evo LTE: 5.3.1 (Android 4.0.4) || Fresh Evo 3d: 4.2.0 (Android 2.3.4) || Fresh Evo: 4.3.3
Fresh Shift: 4.1.1 (Android 2.3.3) || Fresh Hero: 2.4.0 (Android 2.1)

CDMA Android development and Fresh rom home: http://GeekFor.Me || Twitter

 
wtphoto
Old
(Last edited by wtphoto; 18th January 2010 at 03:30 PM.)
#5  
wtphoto's Avatar
Senior Member
Thanks Meter 14
Posts: 1,035
Join Date: Dec 2009
Location: Southfield, MI
the problem is that you dont want to just pull the file all that does is create a copy of the file where ever you pull it to you need to use the rm cmd to actually remove the file and have you tried to do this from the recovery menu before the phone boots? I mean I am by no means an expert but commonsence says that if you do it in the recovery menu that it would be gone when the phone actually boots and the problem would be gone.

edit: sweet im not a complete noob anymore I was right about removing from the recovery. flipz explained it better though.
 
TF1984
Old
#6  
Senior Member - OP
Thanks Meter 6
Posts: 258
Join Date: Dec 2009
Location: Greensboro
thanks flipz, I'm going to try this. I will try via adb first, then via kitchen. Last time kitchen gave me a message to "post" but I didn't figure I would catch you online. Hope you're still around in 15-20. thanks for the how-to!
 
flipzmode
Old
#7  
flipzmode's Avatar
Recognized Developer
Thanks Meter 917
Posts: 1,325
Join Date: Jan 2009

 
DONATE TO ME
Quote:
Originally Posted by TF1984 View Post
thanks flipz, I'm going to try this. I will try via adb first, then via kitchen. Last time kitchen gave me a message to "post" but I didn't figure I would catch you online. Hope you're still around in 15-20. thanks for the how-to!
I'll be here.
Xylon - Nexus 4: 2.1.1b2 (Android 4.2.2)
Fresh Evo LTE: 5.3.1 (Android 4.0.4) || Fresh Evo 3d: 4.2.0 (Android 2.3.4) || Fresh Evo: 4.3.3
Fresh Shift: 4.1.1 (Android 2.3.3) || Fresh Hero: 2.4.0 (Android 2.1)

CDMA Android development and Fresh rom home: http://GeekFor.Me || Twitter

 
TF1984
Old
#8  
Senior Member - OP
Thanks Meter 6
Posts: 258
Join Date: Dec 2009
Location: Greensboro
hmmm. I think I've really screwed something up.

I opened CMD, ran adb, here's where I am and what I have (fyi I get the same thing no matter in Recovery, boot or after normal start up)... and I use apps2sd

C:\android-sdk-windows\tools>adb shell mount /system
mount: cannot read /etc/fstab: No such file or directory

If I use Kitchen to pull file: It says "Files Deleted".

Now on my Hero, after fresh reboot...
Well maybe it's okay. But now many of my apps are giving FC error. AHH Crap!!!

That app is demonic... LockBot, I'm gonna get my moula back!
 
flipzmode
Old
#9  
flipzmode's Avatar
Recognized Developer
Thanks Meter 917
Posts: 1,325
Join Date: Jan 2009

 
DONATE TO ME
Quote:
Originally Posted by TF1984 View Post
hmmm. I think I've really screwed something up.

I opened CMD, ran adb, here's where I am and what I have (fyi I get the same thing no matter in Recovery, boot or after normal start up)... and I use apps2sd

C:\android-sdk-windows\tools>adb shell mount /system
mount: cannot read /etc/fstab: No such file or directory

If I use Kitchen to pull file: It says "Files Deleted".

Now on my Hero, after fresh reboot...
Well maybe it's okay. But now many of my apps are giving FC error. AHH Crap!!!

That app is demonic... LockBot, I'm gonna get my moula back!
You have a nandroid backup... don't you? Actually what you can try doing is flashing fresh right on top of itself. You won't lose any settings and it will overwrite everything in /system/app.
Xylon - Nexus 4: 2.1.1b2 (Android 4.2.2)
Fresh Evo LTE: 5.3.1 (Android 4.0.4) || Fresh Evo 3d: 4.2.0 (Android 2.3.4) || Fresh Evo: 4.3.3
Fresh Shift: 4.1.1 (Android 2.3.3) || Fresh Hero: 2.4.0 (Android 2.1)

CDMA Android development and Fresh rom home: http://GeekFor.Me || Twitter

 
TF1984
Old
#10  
Senior Member - OP
Thanks Meter 6
Posts: 258
Join Date: Dec 2009
Location: Greensboro
I haven't made a recent Nandroid backup.

All of my third party apps are giving FC upon trying to execute any action within them. I think I might just reinstall each. I think something happened with my sdcard through this process trying to get rid of lockbot. Not sure.

If I flash fresh it wouldn't remove any data right, will anything change? I think I remember last time I flashed it I even retained my scenes and all, but I have a bad memory. I guess I'll give it a go.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more