To summarize: Use "aux only" mag setting. Use a 2-3 meter USB cable, outdoors, away from metal buildings, tanks, cars, watches. Do not set model on ground once you start. Hold it in the air, away from USB cable as much as reasonable. Since you are using "aux only" mag, don't worry about demagnetizing the USB plug or the ESC/BEC voltage or cutting or soldering.
The rest of this post is details, and after I wrote it, I realized that simple summary was more important.
I have done it with USB cable, but I degaussed (demagnetized) the USB cable end and used flight battery / ESC power at 5.5 to 6 volts (more than USB power) to make sure it used ESC power and not USB power and used a 3 meter USB cable with a laptop all outdoors.
I don't understand how to do this.
What I understood was: Did you cut off the usb power via the computer and solder the esc power supply wire?
The metal in the micro end of the USB cable that plugs in the FC might have slight magnetism. Being so close to "On Board" mag during calibration, the magnetism might make the calibration bad. I have a soldering "gun" with big electro-magnet that I use for de-magnetizing. BUT: You can skip the USB end de-magnetizing if you are using "aux only" setting, because it does not matter if the "on board" magnetometer is calibrated badly if using "aux only".
USB standard is 5V, so your tablet has a circuit to increase the voltage from 1 cell voltage. The biggest computer or the smallest phone would all thus be equal for USB power. A 2-3 meter USB cable should be OK to do calibration with really any computer. I prefer 3 meter...
FC has diodes in it so that it will use either 5V USB power or 5V power coming from ESC. Which ever has the highest voltage will be used, so I used 5.5V ESC power to be higher than 5V USB power (electro-magnetism does not depend on voltage, only on current and the FC regulators are linear...). This is to make sure that FC power uses the same traces on the FC board during calibration (ESC power) that it uses during flight. This is overkill.
This is really about getting "on board" magnetometer calibrated well. AGAIN: If you are not using "on board" mag, you can probably not worry about the voltage. You still need ESC power though. The FC circuits do not let USB power come out to any ports (such as GPS/mag on Flexiport / Mainport). Only ESC power comes out to ports.
What I understood was: Did you cut off the usb power via the computer and solder the esc power supply wire?
I simply made sure the ESC power voltage was higher so that it would be used. No cutting or soldering.
You raise a very good method (to make sure it uses ESC power) that I had not though of. Simply cut the + power lead in the USB cable. Only the + lead, usually pink. Leave the other wires connected. AGAIN: This mess can be skipped if you are using "aux only" mag and don't care about "onboard" mag calibration.