I've made some updates to the autostart package.

The autostart manager now runs any scripts or programs added to /var/etc/autostart.conf, /accounts/devuser/autostart.conf, and /accounts/1000/autostart.conf.

If a script is added multiple times or to multiple files, it is executed only once.

Execution logs stored in /tmp/logs/

I’ve also added features to ensure impersonation and root recovery without having to reinstall the system.

You can download it here.

Background: The Passport detected the SIM card and networks, but wouldn't register with any of them. Trying to force it to register, I copied the modem’s service records from my work phone. After a while, the test phone started acting even worse. So I decided to restore the previous settings (since I’m experienced, I make backups :-) ) Some of the entries from the backup refused to write. So I decided to just delete _/efs/modemfs1 and _/efs/modemfs2 (I’d done this before and everything seemed fine; after a reboot, they were recreated) That might have happened this time if I hadn't run qcnv with the -e (erase all) and -i (initialize) options.

As a result, my phone kept rebooting at about 34% of the boot process. Don't make the same mistakes I did. I've just realized that qcnv deleted the data from the hidden cal_backup partition, not from cal_work.

An archive containing a set of components for implementing automatic root and persistence installation. It includes universal patches to disable PathTrust blocking and to disable signature checks in the launcher and sud. For security reasons, the script does not add all file systems to pathtrust, but only the launcher's patcher.

To install, you need to extract the files to the qnx6 partition. This can be done on Linux using bb10mt, or you can use BlackberrySystemPacker.

To ensure maximum robustness, I recommend granting write permissions to everyone for the following files and their respective directories.

/apps/sys.android.gYABgKAOw1czN6neiAT72SGO.ns/native/scripts/start-android-core.sh

/apps/sys.android.gYABgKAOw1czN6neiAT72SGO.ns/native/system/xbin/btool

This will allow you to restore everything in case of loss of root access without having to reinstall the firmware using a computer.

In future versions of autoroot, I will add additional checks to improve stability.

While trying to gain root access, I experimented a lot with mounting rcfs images and noticed one peculiarity of QNX. If the file system image and the directory where it is mounted do not contain any subdirectories, the image is mounted as an OverlayFS. This means that if the original directory conta...