You didn't say, but the motor must run, and the LCD8H shows a speed when the throttle or PAS is working? It doesn't show speed when the motor is coasting?
Does your bike uses an external speed sensor? Did you have speed showing on the original bike display? Is the new motor a geared motor? If it is, it will spin freely in forward direction, but you hear/feel gears turn in reverse direction).
Start with P1 = 100 for a geared motor, especially if it's a fat tire model. The bafang motors used in the original Sondors bikes used 100. It has a real derivation, and is equal to the number oif motor magnets times the gear ratio of the motor. Many inexpensive fat tire motors are copies of those original bafangs and end up having the same P1..
The controller uses P1 to calculate the bike speed when there is no speed sensor. Some users will adjust P1 til the LCD shows the right speed, Make sure you have the right wheel diameter entered into the LCD display or the speed will be calculated wrong, The KT controller knows the motor rpm since it is spinning the motor. It uses that plus the wheel diameter to calculate speed when the motor turns.
When the motor coasts, the controller has to use a speed sensor to determine wheel speed. This is where the P2 parameter is used. P2 is either 6 or 1 for a geared motor, Use 6 for most bafangs, Other motors are P2 =1. or you use P2 =1 when there is an external speed sensor. When P2 = 0. you're telling the controller that there is no speed sensor. If you have a non zero value of P2, and you get no speed, then you may not have a speed sensor in the wheel.
If your motor used a 9 pin round plug and has a speed sensor, it's automatically located in the plug, and the KT controller picks it up. If the motor instead uses three thick wires with bullets and a 2x3 rectangular plug, the speed sensor would be the white wires in the latter plug, If you have no speed sensor in the motor, then you have to use an external wheel sensor.