We know what happens with peaceful protests, elections, and foreign interference (and more foreign interference), so how can Palestine gain it’s freedom? Any positive ideas are welcome, because this situation is already a humanitarian crisis and is looking bleaker by the day.
Historical references are also valuable in this discussion, like slave revolts or the Warsaw Ghetto Uprising, although hopefully in the case of Palestine a peaceful and successful outcome can be achieved, as opposed to some of the historical events above.
There really is no other solution than stopping the attacks and trying to establish diplomatic connections.
Common enemy would do it. Once someone gets sufficiently fed up with both of them, they can either join forces or be jointly annihilated.
That’s what the PA is doing, and the result is the West Bank.