Transformation movement by using Accelerometer data coming from Smart Phones.

Is It possible to make transformation movement by using Accelerometer data or Accel + Gyro ?
as we know, we can make rotation by using Accel or Gyro data.
However, how can we make transformation movement?
I know this is still problematic and experimental. but there must be some ways to reach.

Is there any algorithm or math formula solving this problem?

this is not what I asked. I need paralel movement with sensor position.
in this tutorial, object is moving by rotation of the device.
not movement of the device.

The Input.acceleration variable uses a linear accelerometer, not a gyro.

I did not say it uses gyro.

A linear accelerometer does exactly what you’re asking for, I don’t see the problem.

https://www.youtube.com/watch?v=Qe10ExwzCqk

I need this kind of transformation movement. If you watch the video, you can see what I want to do.
Thank You for your time and effort.

Unity, and the Accelerometer vs. the Gyroscope: A Complete Guide

hey guys.
I want to play some particles when I move my Android device and stop the particles when I stop the movement of the device.

https://forum.unity.com/conversations/get-unity-device-movement.577097/