Remove the limit that Android 2.2 can send only 100 text messages per hour)

Source: Internet
Author: User

 

Removes the limit that Android 2.2 can send 100 messages per hour.

First install the Android 2.2 SDK,
Http://developer.android.com/sdk/index.html or
Http://androidappdocs.appspot.com/sdk/index.html

Download android-sdk_r10-windows.zip, decompress it, and run the SDK manager.exe to install it.
If JDK is not installed, install JDK first.
Http://www.oracle.com/technetwork/java/javase/downloads/index.html

After installation, the path in the system environment variable settings contains the JDK bin directory, SDK tools directory, and platform-tools directory.

Before removing the limit, you must first root the phone, and then click Settings-ApplicationProgram-Development: Enable USB debugging. Connect your phone to your computer using a data cable and set it to charge only.

C: \> ADB Shell
$ Su
Su
Note: Get root permission
# Cp/data/COM. Android. providers. Settings/databases/settings. DB/data/COM. Android. providers. Settings/databases/settings. DB. Bak
CP/data/COM. Android. providers. Settings/databases/settings. DB/data/COM. Android. providers. Settings/databases/settings. DB. Bak
Note: Back up the database to prevent unexpected data
# Cp/data/COM. Android. providers. Settings/databases/settings. DB/sdcard
CP/data/COM. Android. providers. Settings/databases/settings. DB/sdcard
Note: Copy to sdcard
# Exit
Exit
$ Exit
Exit

C: \> ADB pull/sdcard/settings. DB
682 kb/s (32768 bytes in 0.046 S)

C: \> sqlite3 settings. DB
SQLite version 3.6.22
Enter ". Help" for instructions
Enter SQL statements terminated with ";"
SQLite> insert into gservices (name, value) values ('sms _ outgoing_check_max_count ', 999999999 );
Error: no such table: gservices
SQLite> insert into secure (name, value) values ('sms _ outgoing_check_max_count ', 999999999 );
SQLite> insert into gservices (name, value) values ('sms _ outgoing_check_interval_ms ', 0 );
Error: no such table: gservices
SQLite> insert into secure (name, value) values ('sms _ outgoing_check_interval_ms ', 0 );
SQLite>. Quit

Note: For Android 2.2 and later versions, no such table: gservices is displayed. Check the database and no such table is found. The two wrong statements are dispensable.

C: \> ADB push settings. DB/sdcard/settings. DB
2048 kb/s (32768 bytes in 0.015 S)

C: \> ADB Shell
$ Su
Su
# Cp/sdcard/settings. DB/data/COM. Android. providers. Settings/databases/settings. DB
CP/sdcard/settings. DB/data/COM. Android. providers. Settings/databases/settings. DB
# CMP-L/sdcard/settings. DB/data/COM. Android. providers. Settings/databases/settings. DB
CMP-L/sdcard/settings. DB/data/COM. Android. providers. Settings/databases/settings. DB
# Ls-L/data/COM. Android. providers. Settings/databases/settings. DB *
Ls-L/data/COM. Android. providers. Settings/databases/settings. DB *
-RW ---- system 32768 settings. DB
-RW ---- Root 32768 settings. DB. Bak
# Exit
Exit
$ Exit
Exit

C: \> ADB reboot

Test text message, successful.

I would like to express my gratitude to the Chinese and foreign predecessors for their excellent news.

Related Article

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.