Box2d step function giving different result on different dev

I have made a physics based game using Processing and Eclipse that is using Box2d. My game is working fine on PC and my Samsung s3 but the physics simulation is too slow on LG G2 (although G2 is running at 60fps while S3 at 45-50fps). I am stepping Box2d as: box2d.step((float) (1.0 / frameRate * 1.4), (int) frameRate / 8, (int) frameRate / 8); Kindly tell me what can I do to run the simulation smoothly on every device?
Is the value of 'framerate' a constant number, the same on each device?
no its not constant. Its constantly changing
How about making it constant?

Original thread: https://box2d.org/forum/viewtopic.php?t=9978