Download this settings apk and place on your sdcardWell the problem is since everything was deleted that included the custom boostraper app so everytime I try to install it it says for security purposes it has been blocked and it requires me to go to settings to allow outside downloads but everytime I click ok it says the application package installer (process com.android. packageinstaller) has stopped unexpectedly. Please try again.
Use root explorer or some file explorer that can access system files and go to system/app (mount rw)and rename settings.apk to settings.apk.bak
Go to where you saved the settings.apk you downloaded and copy it to system/app and change permissions to rw-r-r and reboot. You then should have settings back and can install bootstrap and either reflash rom or whatever you need.