My samsung mobile is switched off with busted power button, and the "Volume down+main button with charger" process is also not working..is there a way I can restart it using adb and sdk tools??
download magisk manager and exact variant of boot.img to any other android device. patch boot.img with advanced - keep force encryption + keep avb/dm-verity
install Odin and drivers. flash magisk_patched.tar in AP slot. set the auto reboot option
unlock device and install magisk manager. you are rooted
edit: now modify your device for auto boot each time charger is plugged in, see Irfan Latif's answer on Automatically power on Android when the charger is connected
now dump your para partition and inspect with hex editor. if you find the off mode charge string you can modify value. flash the modified para partition. this will make your device auto boot each time charger is plugged in if the changes aren't persistent for some reason, install some start-up script which executes the mod directly
sed -i '0,/off-mode-charge=1/s/off-mode-charge=1/off-mode-charge=0/' $(find /dev/block -name by-name)/para