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.