Sqlite3 not found)

Source: Internet
Author: User

The company's HTC Telecom contract machine is very painful and there is no sqlite3. Open the/system/xbin directory and find that there are only two files, and sqlite3 is cut.

Sqlite3 is common in general, so you can just find a sqlite3.

Solution:

1. Start a simulator on Eclipse, find the sqlite3 file in the/system/xbin directory under ddms, and find libncurses in the/system/lib directory. so files, pull files to the computer. Push the sqlite3 and libncurses. So files to the sdcard root directory of the HTC target machine.

2. The Mount/system directory is read/write, $ Mount-O remount, RW-T yaffs2/dev/block/mtdblock3/system (if Mount: operation not permitted is prompted, the operation is not allowed. Execute the su command first ).

3. Copy the sqlite3 file under sdcard to the directory device. $ CP/mnt/sdcard/sqlite3/system/xbin ).

4. Modify sqlite3 permissions $ chmod 4755/system/xbin/sqlite3.

5. Import the related. So file. $ CP/mnt/sdcard/libncurses. So/system/lib.

6. Restore the/system directory to read-only $ Mount-O remount and Ro-T yaffs2/dev/block/mtdblock3/system.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.