0

I'm using a stock A70 in my car (and only for my car, fix installed). I thought I use a hardware mod (battery dummy) to kill and start the phone with connect/disconnect the power.

But I think there has to be a solid software method to start the phone when plugged, and shut it down when unplugged.

I allready used google search, but there is nothing that works with newer samsungs.

5
  • 1
    Device shut down requires root permissions (if not issued via adb). And starting the device depends on if the bootloader is configured to boot up on power connected or if it just start the mini-os for charging.
    – Robert
    Jan 13 at 16:59
  • I cant find a bootloader where it is explicit noticed that the device starts after plugged. When the device is rooted, which tool I could use to shut down? Or is this possible with the right kernel?, then I dont have to run a separate program for the shut down. Jan 13 at 17:03
  • Shutdown: android.stackexchange.com/a/138057/2241 - just remove the adb shell part. Some bootloader support properties which can be changed and allow to change the way bootloader reacts. But I don't have any experience about this on Samsung devices.
    – Robert
    Jan 13 at 17:15
  • Ok, but this is to shutdown immediately, not to enable shut down when plugged out. Jan 13 at 17:18
  • So, I think I'm a small step further: On the older Galaxys this worked via system/bin/lpm file. But on my A70 there is no file or folder called lpm, reboot or anything else. Please guys, I think this is the solution, just need the right hint. Jan 14 at 15:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.