Is there an alternative to fastboot erase modemst1/2?
<p>I have both a Windows and a Linux (Mint) computer and I need to fix gps on my LG G2 D802 (with a custom CM mod), but I can't do it. I read online that I should erase <em>modemst1</em> and <em>modemst2</em> partitions but I get an annoying "waiting for device" message every time I try to run fastboot. I read troubleshootings and solutions online but they didn't help me.</p>

<ul>
<li>On my Windows I have everything set up and installed (adb and fastboot), adb works but when I put my phone in bootloader mode, fastboot doesn't work.</li>
<li>On my Linux, I have everything set up, like on Windows. Adb works, but fastboot doesn't, like on Windows. I have a <em>51-android.rules</em> with all Android phone <em>vendorid</em>s, included mine, but nothing. And yeah I run <code>sudo</code> before commands.</li>
</ul>

<p>Obviously my phone is unlocked (CyanogenMod) and I enabled usb debugging.</p>

<p>Is there an alternative to erase those partitions or a solution to these issues?</p>