**Preparation Tools:**
You will need a USB drive, a TTL to USB cable (such as CH340G or CP2102), and the PuTTY software (download link: [putty.zip](http://example.com/putty.zip) – 280.1 KB).
**Step 1: Install the TTL to USB Driver**
First, contact the seller to get the appropriate TTL to USB driver installed on your computer. Once installed, open Device Manager by right-clicking "This PC" > "Properties" > "Device Manager". Navigate to "Ports (COM & LPT)" and look for a COM port (e.g., COM3, COM4, etc.). Right-click the port, select "Properties", go to the "Port Settings" tab, and set the baud rate to **115200**. Click OK to save the changes.
**Step 2: Connect the USB Drive and Prepare Files**
Download the required APK files onto your USB drive. Rename the files as follows:
- `Shafa1.apk` – Sofa Butler Desktop (download from: [http://app.shafa.com/apk/shafazhuomian.html](http://app.shafa.com/apk/shafazhuomian.html))
- `Shafa2.apk` – Sofa Butler
- `PackageInstaller.apk` – Must be downloaded (otherwise installation won't work online) (download: [PackageInstaller.apk](http://example.com/PackageInstaller.apk) – 363.95 KB)
Insert the USB drive into the Kyushu PTV8508 box’s USB port.
**Step 3: Open PuTTY and Configure Connection**
Launch `putty.exe`. In the PuTTY configuration window, select "Serial" under Connection Type. Enter the correct COM port number (as identified in Step 1). Set the speed to **115200**, then click "Open". Power on the set-top box. At this point, PuTTY should start running the code. If it doesn’t, check if the TX and RX lines are swapped on the TTL cable.
**Step 4: Connect the TTL Cable Correctly**
Follow the pin layout shown in the image below:
- Pin 1 = GND
- Pin 2 = No connection
- Pin 3 = TX
- Pin 4 = RX
Once connected, power on the Kyushu PTV8508 box. PuTTY should now begin executing the commands.
**Step 5: Execute Commands via PuTTY**
Run the following commands one at a time in PuTTY:
```bash
su
```
Enter the root password (if prompted).
```bash
mount -o remount,rw /system
df
```
Check if `sda1` is listed. If not, reinsert the USB drive and run `df` again.
```bash
cd /mnt/sda/sda1
```
(Adjust the path based on what `df` shows.)
```bash
cp Shafa1.apk /system/app
cp PackageInstaller.apk /system/app
```
Copy the sofa butler desktop app and package installer to the system.
```bash
mount -o remount,rw /system
chmod 0755 /system/app/Shafa1.apk
chmod 0644 /system/app/PackageInstaller.apk
```
Set proper permissions for the apps.
```bash
am start com.shafa.tvlauncher
```
Launch the Sofa Butler Desktop.
Next, copy the second APK file:
```bash
cp Shafa2.apk /data/app
reboot
```
Reboot the device.
**Step 6: Launch the Sofa Butler App**
After rebooting, open the Sofa Butler desktop. If you don’t see it, return to PuTTY and try running the `am start` command again. If there are errors, re-run the `cp` command to reinstall the app.
**Note:** Make sure all steps are followed carefully. If any command fails, double-check the USB connection, COM port settings, and file paths. This process requires some technical knowledge, so proceed with caution.
Langrui Energy (Shenzhen) Co.,Ltd , https://www.langruibattery.com