Created
April 30, 2017 16:55
-
-
Save TheComputerGuy96/c4251e350bef05dff3d33e9ad2b77a5c to your computer and use it in GitHub Desktop.
Modified /system/bin/lpm and /system/bin/playlpm file to boot a Samsung device into Android if charger is inserted
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/system/bin/sh | |
# Run "chmod 755 /system/bin/playlpm; chown 0:2000 /system/bin/playlpm || chmod 0:2000 /system/bin/lpm; chown 0:2000 /system/bin/lpm" with root access after creating this file | |
/system/bin/reboot |
@mmoollllee I initially created this for my old 2014 Samsung phone (Galaxy Trend Plus) so things have probably changed since then and this might not work (with A/B partitions, multiple major Android updates and systemless mods among other things)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How are these files edited properly on Android 12?