[HTC EVO 3D] PiggyFlooper:
fyi

Good thing I was subscribed to this thread, or wouldn't have gotten your question

Truthfully, and unfortunately I'm not smart enough to explain.

I don't have much time, I'll give you the script I use, sorry I can't do more(like make a flashable zip).

sqlite3 can make changes or create 'stuff' in .db files. I'm not sure how knowledgeable you are(hard to tell from your profile), but maybe you can teach me something. What I've done here is used common sense when adjusting values. A few things were taken from other threads, regarding Hangouts problems.

*If a value doesn't exist in whatever.db, create it with asqlite manager app

#!/system/bin/sh

busybox sleep 20

cd /data/data/com.google.android.gsf/databases;

sqlite3 gservices.db "update main set value = '1728000000' where name = 'vending_sync_frequency_ms' and value = '172800000'"

sqlite3 gservices.db "update main set value = '240000' where name = 'user_location_reporting:max_bind_to_gmm_millis' and value = '60000'"

#these next few values need to be adjusted

# as they're variable

sqlite3 gservices.db "update main set value = '9000' where name = 'fitness.wearable_sync_interval_secs' and value = '900'"

sqlite3 gservices.db "update main set value = '99623' where name = 'checkin_interval' and value = '43094'"

sqlite3 gservices.db "update main set value = '99623' where name = 'checkin_interval' and value = '40686'"

sqlite3 gservices.db "update main set value = '20' where name = 'gtalk_rmq_ack_interval' and value = '10'"

sqlite3 gservices.db "update main set value = '512000' where name = 'mms_maximum_message_size' and value = '307200'"

sqlite3 gservices.db "update main set value = 'false' where name = 'send_action_app_error' and value = 'true'"

sqlite3 gservices.db "update main set value = '3600000' where name = 'gtalk_heartbeat_ping_interval_ms' and value = '1680000'"

sqlite3 gservices.db "update main set value = 'false' where name = 'perform_market_checkin' and value = 'true'"

sqlite3 gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:snet' and value = 'true'"

sqlite3 gservices.db "update main set value = '3600' where name = 'ads:jams:fixed_min_delay_between_requests_mins' and value = '823'"

sqlite3 gservices.db "update main set value = '3600' where name = 'ads:jams:fixed_min_delay_between_requests_mins' and value = '726'"

sqlite3 gservices.db "update main set value = 'false' where name = 'youtube:interaction_logging_enabled' and value = 'true'";

sqlite3 gservices.db "update main set value = 'false' where name='music_enable_track_stats_upsync' and value = 'true'"

sqlite3 gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:SYSTEM_RECOVERY_LOG' and value = 'true'"

sqlite3 gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:snet' and value = 'true'"

sqlite3 gservices.db "update main set value = 'false' where name = 'music_enable_play_logging' and value = 'true'"

sqlite3 gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:snet_gcore' and value = 'true'"

sqlite3 gservices.db "update main set value = '7200000' where name = 'finsky.auto_update_wifi_check_interval' and value = '3600000'"

sqlite3 gservices.db "update main set value = '0' where name = 'secure:send_action_app_error' and value = '1'"

sqlite3 gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:event_log' and value = 'true'"

sqlite3 gservices.db "update main set value = '0' where name = 'market_force_checkin' and value = '1'"

sqlite3 gservices.db "update main set value = 'false' where name = 'ozexperiment:enable_silent_feedback_android_after_nacho' and value = 'true'"

sqlite3 gservices.db "update main set value = 'https://www.google.com' where name = 'mobile_transcoder_url' and value = 'http://www.google.com/gwt/n?u=%s'"

sqlite3 gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:facelock_fail' and value = 'true'"

sqlite3 gservices.db "update main set value = '0' where name = 'send_action_app_error' and value = '1'"

sqlite3 gservices.db "update main set value = '0' where name = 'gcm_gsf_disable' and value = '1'"

sqlite3 gservices.db "update main set value = '9' where name = 'people.sync_failure_count_to_disable_sync' and value = '99999999'"

sqlite3 gservices.db "update main set value = 'false' where name = 'gms_icing_extension_download_enabled' and value = 'true'"

sqlite3 gservices.db "update main set value = '0' where name = 'maps_enable_friend_finder' and value = '1'"

sqlite3 gservices.db "update main set value = 'false' where name = 'games.enable_metagame' and value = 'true'"

sqlite3 gservices.db "update main set value = '345600' where name = 'people.periodic_sync_interval_sec' and value = '172800'"

sqlite3 gservices.db "update main set value = 'false' where name = 'books:show_hats_surveys' and value = 'true'"

sqlite3 gservices.db "update main set value = '524288' where name = 'appstate.max_state_bytes' and value = '262144'"

sqlite3 gservices.db "update main set value = 'false' where name = 'checkin_optedin_for_usage_reporting' and value = 'true'"

sqlite3 gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:snet_launch_service' and value = 'true'"

sqlite3 gservices.db "update main set value = 'false' where name = 'snet_service_remote_enabled' and value = 'true'"

sqlite3 gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:facelock_fail' and value = 'true'"

sqlite3 gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:facelock_success' and value = 'true'"

sqlite3 gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:facelock_activated' and value = 'true'"

sqlite3 gservices.db "update main set value = 'false' where name = 'analytics.service_enabled' and value = 'true'"

sqlite3 gservices.db "update main set value = 'false' where name = 'checkin_dropbox_upload:SYSTEM_RECOVERY_KMSG' and value = 'true'"

sqlite3 gservices.db "update main set value = 'false' where name = 'music_enable_tracks_upsync' and value = 'true'"

sqlite3 gservices.db "update main set value = '40411101' where name = 'youtube:main:*.*:target_app_version' and value = '60013101'"

sqlite3 gservices.db "update main set value = 'true' where name = 'gtalk_auth_sasl' and value = 'false'"

sqlite3 gservices.db "update main set value = '3456000' where name = 'people.periodic_sync_interval_sec' and value = '345600'"

sqlite3 gservices.db "update main set value = 'true' where name = 'youtube:main:*.*:is_bgol_enabled' and value = 'false'"

sqlite3 gservices.db "update main set value = 'false' where name = 'analytics.dispatch_monitoring' and value = 'true'"

sqlite3 gservices.db "update main set value = 'false' where name = 'user.location.reporting:include_ap_connectivity_auth_info' and value = 'true'"

sqlite3 gservices.db "update main set value = '1' where name = 'games.rtmp_max_reconnect_attempts' and value = '3'"

sqlite3 gservices.db "update overrides set value = '5228' where name = 'gtalk_secure_port' and value = '-1'"

cd /data/data/com.android.providers.settings/databases;

sqlite3 settings.db "update secure set value = '0' where name = 'send_action_app_error' and value = '1'"

sqlite3 settings.db "update system set value = '0' where name = 'power_sounds_enabled' and value = '1'"

sqlite3 settings.db "update system set value = '1' where name = 'smart_wifi_2g_call_netmode' and value = '0'"

If this doesn't change them, use this structure

#!/system/bin/sh

LOG_FILE=/data/sqldb.log;

if [ -e $LOG_FILE ]; then

rm $LOG_FILE;

fi;

echo "$( date +"%m-%d-%Y %H:%M:%S" ) Badass cast tweak started " | tee -a $LOG_FILE;

sqlite=/system/xbin/sqlite3;

cast=true;

RETURN_VALUE=$($sqlite /data/data/com.google.android.gsf/databases/gservices.db "select value from overrides where name='gms:cast:mirroring_enabled'");

echo " Old mirroring value was $RETURN_VALUE " | tee -a $LOG_FILE;

if [ $RETURN_VALUE="" ]; then

$sqlite /data/data/com.google.android.gsf/databases/gservices.db "insert into overrides (gms:cast:mirroring_enabled)";

fi

$sqlite /data/data/com.google.android.gsf/databases/gservices.db "update overrides set value=true='gms:cast:mirroring_enabled'";

RETURN_VALUE=$($sqlite /data/data/com.google.android.gsf/databases/gservices.db "select value from overrides where name='gms:cast:mirroring_enabled'");

echo " Current mirroring value is $RETURN_VALUE " | tee -a $LOG_FILE;

echo "$( date +"%m-%d-%Y %H:%M:%S" ) Badass Cast tweak ended " | tee -a $LOG_FILE;

sleep 7

rm /system/etc/init.d/Mirror

rm -f /system/etc/init.d/Mirror