{"id":16496788,"url":"https://github.com/ionuttbara/melody_android","last_synced_at":"2025-04-15T02:19:33.491Z","repository":{"id":119487454,"uuid":"538510883","full_name":"ionuttbara/melody_android","owner":"ionuttbara","description":"Melody Script for Android.","archived":false,"fork":false,"pushed_at":"2024-08-03T20:55:42.000Z","size":16,"stargazers_count":82,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T02:19:26.419Z","etag":null,"topics":["android","battery","battery-life","phone","security"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ionuttbara.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-19T13:16:17.000Z","updated_at":"2025-04-12T13:15:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"478da431-e11f-410b-8d0d-18807723e3a2","html_url":"https://github.com/ionuttbara/melody_android","commit_stats":null,"previous_names":["ionuttbara/melody_android"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionuttbara%2Fmelody_android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionuttbara%2Fmelody_android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionuttbara%2Fmelody_android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionuttbara%2Fmelody_android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ionuttbara","download_url":"https://codeload.github.com/ionuttbara/melody_android/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248991568,"owners_count":21194895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","battery","battery-life","phone","security"],"created_at":"2024-10-11T14:36:17.909Z","updated_at":"2025-04-15T02:19:33.473Z","avatar_url":"https://github.com/ionuttbara.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Melody Script for Android\nOptimizes The Android Phone.\n\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/jbara2002/melody12/master/logo.png\" alt=\"Melody logo\"\u003e\u003c/a\u003e\n\u003c/h1\u003e\n\n# Requiments\nAndroid Phone with OS Version 7.1.1 or newer.\nFor Samsung Phones with OS Version 9 or newer (OneUI only).\nADB Installed with Drivers (the ADB Installer will be put in release and source code management).\n# Commands\n\n__YOU CAN CREATE A BAT FILE FROM THAT COMMANDS.__\nThe list of commands for\n\u003e # IMPROVING SYSTEM PERFORMANCE\n\u003e*Disables Window Blur Effects and animations*\n\u003e\u003e```\n\u003e\u003eadb shell settings put global accessibility_reduce_transparency 1\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global disable_window_blurs 1\n\u003e\u003e```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put global window_animation_scale 0.0\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put global transition_animation_scale 0.0\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put global animator_duration_scale 0.0\n\u003e\u003e ```\n\u003e\u003e```\n\u003e\u003eadb shell settings put system screen_auto_brightness_adj 1.0\n\u003e\u003e```\n\u003e\u003e\n\u003e\u003e (__THIS SET THE SCREEN TO 48Hz Refresh rate, if don't want that, don't put in the bat list.__)\n\u003e\u003e ```\n\u003e\u003eadb shell settings put system peak_refresh_rate 48.0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003e adb shell settings put system min_refresh_rate 1.0\n\u003e\u003e ```\n\u003e\n\u003e # IMPROVING MOBILE NETWORKING PERFORMANCE\n\u003e*Improved network data transfer (3G/4G/5G)*\n\u003e *Also it will block 90-95% of ads and porn websites without root.*\n\u003e*Disabling some throttling , enabling mobile data by default when boot and enable assisted GPS*\n\u003e\u003e ```\n\u003e\u003eadb shell settings put global network_recommendations_enabled 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global network_scoring_ui_enabled 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global tether_offload_disabled 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global wifi_power_save 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global enable_cellular_on_boot 1\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global mobile_data_always_on 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global ble_scan_always_enabled 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global private_dns_specifier family.adguard-dns.com\n\u003e\u003e```\n\u003e Improve Network Speeds by fixing signal quality (not for all devices)\n\u003e\u003e```\n\u003e\u003eadb shell settings put global preferred_network_mode 9,9\n\u003e\u003e```\n\u003e # IMPROVING POWER MANAGEMENT ON PHONES\n\u003e*Improving the way the phone is sleeping by disable adaptive sleep algorithms.*\n\u003e*If you get delayed notifications of messaging applications, go to Settings, App, go to messaging app, battery and set to __Unrestricted__.*\n\u003e*Don't use 3rd Party or OEM Applications for doing that. I don't recommend doing that with them because the effect will be not desired as seen.*\n\u003e*Recommendation: Removing all 3rd Cleaning or Device Care Application for the algorithm to work correctly.*\n\u003e\u003e```\n\u003e\u003eadb shell settings put global sem_enhanced_cpu_responsiveness 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global enhanced_processing 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global app_standby_enabled 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global adaptive_battery_management_enabled 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global app_restriction_enabled true\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put system intelligent_sleep_mode 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put secure adaptive_sleep 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global automatic_power_save_mode 0\n\u003e\u003e```\n\u003e\u003e # Disable Android Power Saver Mode, if you want to re-enable go to Setting or set *low_power* to 1 in command.\n\u003e\u003e```\n\u003e\u003eadb shell settings put global low_power 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global dynamic_power_savings_enabled 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global dynamic_power_savings_disable_threshold 20\n\u003e\u003e```\n\u003e# DISABLING ANDROID SCREEN SAVER TO GET BETTER BATTERY LIFE\n\u003e\u003e```\n\u003e\u003eadb shell settings put secure screensaver_enabled 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put secure screensaver_activate_on_sleep 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put secure screensaver_activate_on_dock 0\n\u003e\u003e```\n\u003e# Speed up Long Press Delay\n\u003e\u003e ```\n\u003e\u003e adb shell settings put secure long_press_timeout 250\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put secure multi_press_timeout 250\n\u003e\u003e ```\n\u003e\u003e\n\u003e# Call Features. Enabling extra in-call volume and Noice Reduction\n\u003e# Add Volume in Call\n\u003e\u003e ```\n\u003e\u003e adb shell settings put system call_extra_volume 1\n\u003e\u003e ```\n\u003e# Add Noice Reduction on Calls\n\u003e\u003e ```\n\u003e\u003e adb shell settings put system call_noise_reduction 1\n\u003e\u003e ```\n\u003e# Disabling In-Answer Call Vibration\n\u003e\u003e ```\n\u003e\u003e adb shell settings put system call_answer_vib 0\n\u003e\u003e ```\n\u003e# Disabling End Call Vibration\n\u003e\u003e ```\n\u003e\u003e adb shell settings put system call_end_vib 0\n\u003e\u003e ```\n\u003e# Disabling Swipe to Call/Messsage from Samsung Contacts App\n\u003e\u003e ```\n\u003e\u003e adb shell settings put global swipe_to_call_message 0\n\u003e\u003e ```\n\u003e# Changing phone name\n\u003e\u003e ```\n\u003e\u003e adb shell settings put secure bluetooth_name \"device name\"\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put global device_name \"device name\"\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put global synced_account_name \"device name\"\n\u003e\u003e ```\n\u003e# System Sounds and Vibrations\n\u003e*Disables some System Control Sounds and Vibrations such as:*\n\u003eNavigation\n\u003e\u003e ```\n\u003e\u003e adb shell settings put system navigation_gestures_vibrate 0\n\u003e\u003e ```\n\u003eLock Screen\n\u003e\u003e ```\n\u003e\u003e adb shell settings put system lockscreen_sounds_enabled 0\n\u003e\u003e ```\n\u003eCamera\n\u003e\u003e```\n\u003e\u003eadb shell settings put system camera_feedback_vibrate 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put system sound_effects_enabled 0\n\u003e\u003e```\n\n\u003eEnable Sync Vibration with Ringtone\n\u003e\u003e```\n\u003e\u003eadb shell settings put system sync_vibration_with_ringtone 1\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell setting put system sync_vibration_with_ringtone_2 1\n\u003e\u003e```\n\u003eEnable Sync Vibration with Notification\n\u003e\u003e```\n\u003e\u003eadb shell settings put system sync_vibration_with_notification 1\n\u003e\u003e```\n\u003eVibration in general\n\u003e\u003e```\n\u003e\u003eadb shell settings put system haptic_feedback_enabled 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put system SEM_VIBRATION_FORCE_TOUCH_INTENSITY 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put system SEM_VIBRATION_NOTIFICATION_INTENSITY 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put system SEM_VIBRATION_RING_INTENSITY 5\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put system vibrate_when_ringing 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put system vibration_sound_enabled 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put system VIB_FEEDBACK_MAGNITUDE 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put system VIB_RECVCALL_MAGNITUDE 0\n\u003e\u003e```\n\u003e# Power Sounds\n\u003e\u003e```\n\u003e\u003eadb shell settings put global power_sounds_enabled 0\n\u003e\u003e```\n\u003e# Charging\n\u003e\u003e ```\n\u003e\u003e adb shell settings put secure charging_vibration_enabled 0\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put secure charging_sounds_enabled 0\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put secure adaptive_charging_enabled 0\n\u003e\u003e ```\n\u003e# Bluetooth Audio Codecs\n\u003e\u003e ```\n\u003e\u003e adb shell settings put secure bluetooth_a2dp_bt_uhq_state 1\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put secure bluetooh_a2dp_uhqa_support 1\n\n\u003e# Google\n\u003e*Disabling Google Features, if you want to enable change 0 to 1*\n\u003e\n\u003e Android Auto\n\u003e\u003e ```\n\u003e\u003e adb shell settings put system gearhead:driving_mode_settings_enabled 0\n\u003e\u003e ```\n\u003e GSM Tweak\n\u003e\u003e ```\n\u003e\u003e adb shell settings put secure assistant 0\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put secure smartspace 0\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put global google_core_control 0\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put secure adaptive_connectivity_enabled 0\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put secure systemui.google.opa_enabled 0\n\u003e\u003e ```\n\u003e# Disable Android's Motion Engine Sensor (can save some battery) also disables some adaptive sleep bad features\n\u003e\u003e ```\n\u003e\u003e adb shell settings put system master_motion 0\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put system motion_engine 0\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put system air_motion_engine 0\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put system air_motion_wake_up 0\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put system intelligent_sleep_mode 0\n\u003e\u003e ```\n\u003e\u003e ```\n\u003e\u003e adb shell settings put secure adaptive_sleep 0\n\u003e\u003e ```\n\u003e# Disabling Online Manual URL and Remote Support (Samsung ONE UI, All version with/o Tips Installed)\n\u003e\u003e```\n\u003e\u003eadb shell settings put global online_manual_url 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put system remote_control 0\n\u003e\u003e```\n\u003e# Improve app launch times for Samsung Phones (and telemetry in Vanilla Android)\n\u003e\u003e```\n\u003e\u003eadb shell settings put global activity_starts_logging_enabled 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put secure send_action_app_error 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global bixby_pregranted_permissions 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put system send_security_reports 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put system rakuten_denwa 0\n\u003e\u003e```\n\u003e# Audio Quality Improving in phones\n\u003e\u003e```\n\u003e\u003eadb shell settings put system tube_amp_effect 1\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put system k2hd_effect 1\n\u003e\u003e```\n\u003e# Enable Multimedia Packet Scheduler (Also you can do by going in Developer Options from Settings)\n\u003e\u003e```\n\u003e\u003eadb shell settings put system multicore_packet_scheduler 1\n\u003e\u003e```\n\u003e# Killing Game Optimizing Service (GOS in Samsung) 👆GOS\n\u003e\u003e```\n\u003e\u003eadb shell settings put secure game_auto_temperature_control 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell pm clear --user 0 com.samsung.android.game.gos\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put secure gamesdk_version 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put secure game_home_enable 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put secure game_bixby_block 1\n\u003e\u003e```\n\u003e# Block Galaxy System Updates (Policy and/or Device Update) (not interference with Galaxy Store Update or with F/OTA Updates)\n\u003e\u003e```\n\u003e\u003eadb shell settings put global galaxy_system_update_block 1\n\u003e\u003e```\n\u003e# OLED Screen Tweak\n\u003e\u003e```\n\u003e\u003eadb shell settings put global burn_in_protection 1\n\u003e\u003e```\n\u003e# Improve Touchscreen Responsiness and Latency on Android Phones\n\u003e\u003e```\n\u003e\u003eadb shell settings put secure tap_duration_threshold 0.0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put secure touch_blocking_period 0.0\n\u003e\u003e```\n\u003e# Disable Background Scanning for Devices (Bluetooth, Nearby Devices)\n\u003e\u003e```\n\u003e\u003eadb shell settings put system nearby_scanning_permission_allowed 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put system nearby_scanning_enabled 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global ble_scan_always_enabled 0\n\u003e\u003e```\n\u003e# Disable hotword detection (OK Google, or Hey Google) in-background detection (improves baterry)\n\u003e\u003e```\n\u003e\u003eadb shell settings put global hotword_detection_enabled 0\n\u003e\u003e```\n\u003e# Another Samsung Phone Settings\n\u003e## Samsung Cross-Device Sync\n\u003e\u003e```\n\u003e\u003eadb shell settings put system mcf_continuity 0\n\u003e\u003eadb shell settings put system mcf_continuity_permission_denied 1\n\u003e\u003eadb shell settings put system mcf_permission_denied 1\n\u003e\u003e```\n\u003e## Disable RAM Plus \n\u003e\u003e```\n\u003e\u003eadb shell settings put global ram_expand_size_list 0\n\u003e\u003e```\n\u003e\u003e```\n\u003e\u003eadb shell settings put global zram_enabled 0\n\u003e\u003e```\n\u003e# Refresh phone commands (these helps to refresh phone apps by a bit of boost)\n\u003e\u003e```\n\u003e\u003eadb shell cmd package compile -m speed-profile -a\n\u003e\u003eadb shell cmd package bg-dexopt-job\n\u003e\u003eadb shell pm trim-caches 999999999999999999\n\u003e\u003e```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionuttbara%2Fmelody_android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fionuttbara%2Fmelody_android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionuttbara%2Fmelody_android/lists"}