18-04-2021, 12:30
Polecam link z mojego pierwszego posta, jest tam wszystko co jest potrzebne. Jestopisane jak zainstalować jb_overlay. Po prostu kopiujesz właściwe pliki na usb i uruchamiasz OPPO z pendrivem.
Jest tam tez opisane co daje jb_overlay, jest to po prostu bardzo drobne rozszerzenie jailbreaka, ale np. dla mnie istotne, nie dodaje żadnych funkcji i opcji o które pytasz.
Poniżej lista funkcji, które dodaje jb_overlay związanych z jailbreakiem:
Once done the overlay is installed in the folder /mnt/ubi_boot/jb_overlay and on next reboot it will take control of execution.
Configuration : there is a minimal configuration that can be done by editing the file /mnt/ubi_boot/jb_overlay/config.ini, check below:
There are also minimal logs for each boot in /tmp/jb_overlay.log
Features :
Once installed, here are the new feature for this first version :
* Antibrick : On boot the init script will wait 3 seconds to detect if the eject key has been pressed on the remote , if yes it will permanently disable the overlay. To reactivate, one need to connect through telnet with Autoscript and type this command :
touch /mnt/ubi_boot/.nobrick
* root password : it is possible to configure the root password (default : oppo) by editing the line ROOT_PWD= in the config.ini
*telnet : it is possible to launch telnet without Autoscript by having USE_TELNET=1 (default) in the config.ini
* ssh : i added a ssh and sftp server that is started automatically if the line USE_SSH=1 (default) is in the config.ini. It is then possible to connect with ssh or upload/download file with scp , filezilla ...
* os commands : when connected over ssh most os commands are being called from the overlay (busybox), so lsof , mount , df , ... works now properly for eventual scripting
* rclone : i have received pms that some people are scamming end users by selling them the firmware with rclone integrated on telegram. rclone is free and i have added it as requested. I did not compiled it myself but used the armv7 version from their website. Please note that default path is not writable for storing configuration so one should always use it with a flag like --config /mnt/usb_boot/jb_overlay/etc/rclone.config. a good start is to do
rclone --config /mnt/usb_boot/jb_overlay/etc/rclone.config config
* autostart: it is now possible to start commands without Autoscript by adding them to /mnt/ubi_boot/jb_overlay/autostart.sh. however there are 2 limitations :
the network is apparently configured by the player app and not by the os
the nfs/ smb mounts will be visible in the gui only if done on a usb mounted device in /mnt/sda1 (tried loop with vfat image without success ), if you know how to refresh please tell me.
For those reasons there are 2 parameters AUTOSTART_WAIT_NETWORK and AUTOSTART_WAIT_USB in the config.ini that if set to 1 (default) will wait for those before launching the autostart script.
* Finally the overlay will try to boot the file /mnt/ubi_boot/jb_overlay/bdp/bdpprog if present , if not it will launch the original firmware version. Would be nice if somebody can adapt the switch RU Autoscripts and such for this.
Jest tam tez opisane co daje jb_overlay, jest to po prostu bardzo drobne rozszerzenie jailbreaka, ale np. dla mnie istotne, nie dodaje żadnych funkcji i opcji o które pytasz.
Poniżej lista funkcji, które dodaje jb_overlay związanych z jailbreakiem:
Once done the overlay is installed in the folder /mnt/ubi_boot/jb_overlay and on next reboot it will take control of execution.
Configuration : there is a minimal configuration that can be done by editing the file /mnt/ubi_boot/jb_overlay/config.ini, check below:
There are also minimal logs for each boot in /tmp/jb_overlay.log
Features :
Once installed, here are the new feature for this first version :
* Antibrick : On boot the init script will wait 3 seconds to detect if the eject key has been pressed on the remote , if yes it will permanently disable the overlay. To reactivate, one need to connect through telnet with Autoscript and type this command :
touch /mnt/ubi_boot/.nobrick
* root password : it is possible to configure the root password (default : oppo) by editing the line ROOT_PWD= in the config.ini
*telnet : it is possible to launch telnet without Autoscript by having USE_TELNET=1 (default) in the config.ini
* ssh : i added a ssh and sftp server that is started automatically if the line USE_SSH=1 (default) is in the config.ini. It is then possible to connect with ssh or upload/download file with scp , filezilla ...
* os commands : when connected over ssh most os commands are being called from the overlay (busybox), so lsof , mount , df , ... works now properly for eventual scripting
* rclone : i have received pms that some people are scamming end users by selling them the firmware with rclone integrated on telegram. rclone is free and i have added it as requested. I did not compiled it myself but used the armv7 version from their website. Please note that default path is not writable for storing configuration so one should always use it with a flag like --config /mnt/usb_boot/jb_overlay/etc/rclone.config. a good start is to do
rclone --config /mnt/usb_boot/jb_overlay/etc/rclone.config config
* autostart: it is now possible to start commands without Autoscript by adding them to /mnt/ubi_boot/jb_overlay/autostart.sh. however there are 2 limitations :
the network is apparently configured by the player app and not by the os
the nfs/ smb mounts will be visible in the gui only if done on a usb mounted device in /mnt/sda1 (tried loop with vfat image without success ), if you know how to refresh please tell me.
For those reasons there are 2 parameters AUTOSTART_WAIT_NETWORK and AUTOSTART_WAIT_USB in the config.ini that if set to 1 (default) will wait for those before launching the autostart script.
* Finally the overlay will try to boot the file /mnt/ubi_boot/jb_overlay/bdp/bdpprog if present , if not it will launch the original firmware version. Would be nice if somebody can adapt the switch RU Autoscripts and such for this.