From 86f35f1b53affc82055de704af3bd62f58445152 Mon Sep 17 00:00:00 2001 From: Roman Artiukhin Date: Tue, 20 Jan 2026 14:45:18 +0200 Subject: [PATCH] hiby: r1_patcher: use generic bootloader name Rename bootloader.r1 to bootloader.rb for use across multiple devices (Hiby R1, HiBy R3 Pro II and others). Change-Id: Ib509d37d605391012a792a69b11a557b0319d2ce --- tools/r1_patcher/hiby_player.sh | 6 +++--- tools/r1_patcher/r1_patcher.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/r1_patcher/hiby_player.sh b/tools/r1_patcher/hiby_player.sh index 55b9006659..70aaf2c33b 100755 --- a/tools/r1_patcher/hiby_player.sh +++ b/tools/r1_patcher/hiby_player.sh @@ -3,8 +3,8 @@ killall hiby_player &>/dev/null killall -9 hiby_player &>/dev/null -killall bootloader.r1 &>/dev/null -killall -9 bootloader.r1 &>/dev/null +killall bootloader.rb &>/dev/null +killall -9 bootloader.rb &>/dev/null -/usr/bin/bootloader.r1 +/usr/bin/bootloader.rb sleep 1s \ No newline at end of file diff --git a/tools/r1_patcher/r1_patcher.sh b/tools/r1_patcher/r1_patcher.sh index 2daf2ac0e2..e0f3e68ab5 100755 --- a/tools/r1_patcher/r1_patcher.sh +++ b/tools/r1_patcher/r1_patcher.sh @@ -51,8 +51,8 @@ unsquashfs -f -d $workingdir_in/rootfs/extracted $workingdir_in/rootfs/rootfs.sq ################################################################################ # copy 'bootloader' -cp "$2" "$workingdir_in/rootfs/extracted/usr/bin/bootloader.r1" -chmod 0755 "$workingdir_in/rootfs/extracted/usr/bin/bootloader.r1" +cp "$2" "$workingdir_in/rootfs/extracted/usr/bin/bootloader.rb" +chmod 0755 "$workingdir_in/rootfs/extracted/usr/bin/bootloader.rb" # copy modified 'hibyplayer.sh' script cp hiby_player.sh $workingdir_in/rootfs/extracted/usr/bin/