Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have HTC Explorer and with Root Explorer put a file into /system/lib directory.

After reset, the phone will not boot. Now I cannot access to the internal memory via the phone and I need to access it via the PC in order to delete the file from /system/lib. How can I do it?

share|improve this question
What file did you drop in there in the /system/lib directory that caused it to not to boot? – t0mm13b Jan 20 '13 at 2:07
I do this – msoa Jan 20 '13 at 2:52
Do not ever overwrite! That was the reason that it refused to boot! is responsible for rendering graphics and font faces and is tied in directly with the ROM when it was built! Dropping in that on another ROM is simply not going to work! Think of it this way, compiling a library that has dependencies on Ubuntu in-built libraries, and drop that library on Debian is not going to work... – t0mm13b Jan 20 '13 at 2:58
Before the overwriting i renamed the original to against potential problems. Now is there a way to restore it? – msoa Jan 20 '13 at 3:51
Remove /system/lib/, rename the original to its original filename and you should be good...hopefully.... am assuming handset is rooted and that you have cwm recovery? – t0mm13b Jan 20 '13 at 4:07
up vote 1 down vote accepted

If you had ADB debugging enabled, there is an easy way to do this using the SDK.

All you have to do is connect the device to the computer while it is booting, and type:

adb shell
mount -o remount,rw /system
rm -rvf /system/
mv /system/ /system/

To get the ADB binary you will have to download the Android SDK, or Google 'Android Mini SDK'.

If you didn't have USB debugging enabled, then the only thing you can do is flash a new ROM. You would have to install CWM recovery, and find a ROM for your device.

If your device has fastboot you can easily flash a recovery file that has been made for your device by using the fastboot flash recovery <recovery .img file path>.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.