Hello,
First i'd like to apologize for posting in English but i don't speak Italian.
I currently have an issue which I fail to solve:
The tilt and proximity sensor (and others?) doesn't work anymore.
What happened?
A few weeks ago I planned to upgrade from 1.64 (pre merged ROM) + script that expanded the apps partition.
Not aware of the merged partition change, i flashed CM12(paolo).After flashing I noticed that I only had a 6gb userdata partition. The rest of the 32 GB. (The tilt sensor was still working).
The easy solution seamed to repartition with parted(in twrp from adb shell). I had to delete and recreate a few partitions.(everything after the userdata partition).
In that I succeeded, I now have the desired size of partitions. In the end I only made one copy paste error. I deleted modemst2, the 11th partition. No backup so, I just recreated the partition and hoped that i'd find a way to flash it over with a new rom. (But no...bad luck)
I currently run Paolo's CM12 v14. As a test I also flashed a Nubia os ROM but still the sensor issue and data issue remain. (If it matters, my 2 Emei's are still present. )
I also restored somebody's modemst2 backup, I downloaded from this forum, with diskgenius. No success.
Can anybody help? If I need to provide partition tables or other info, just ask.
Hopefully some of you experts can help me. Thank you!