Forum Archive

Killall backboardd in pythonista

zSaaiq

Can someone help me how do I kill springboard in pythonista ? I have jailbreak and want this feature :/

scj643

https://github.com/scj643/objc_tools/blob/master/objc_tools/apps.py and use openWithBundleID('com.apple.webapp') though that will result in the device going into substrate safe mode.

dgelessus
import subprocess
subprocess.check_call(["killall", "backboardd"])

Assuming that is the command you want to execute, and assuming that the jailbreak allows Pythonista to do that.

zSaaiq

Operation not permitted :/ so pythonista doesn't allow me that :/

zSaaiq

@scj643 "no module named objc_tools" :/

ccc

@zSaaiq ... You could try changing line 5 from:

from objc_tools.objc_json import objc_to_dict
# to
from objc_json import objc_to_dict

In general, I think that __init__.py files are needed in the directories of objc_tools as described in: https://docs.python.org/3/tutorial/modules.html#packages and http://mikegrouchy.com/blog/2012/05/be-pythonic-__init__py.html