Unlike Samsung or Xiaomi, Sony devices require .ftf bundles created by the FlashTool (by Androxyde). These files contain the raw system, kernel, and TA (Trim Area) partitions. Flashing a clean FTF is the only reliable way to bypass locks if ADB debugging is turned off.
Result: The LED light should turn Green (or Blue/Green). This is Flash Mode. If the LED turns red or yellow, you are in Fastboot mode – restart the process. sony g3311 lock remove ftf link
If you cannot unlock your screen, you cannot enable debugging. Therefore, you must wipe the user data partition. Unlike Samsung or Xiaomi, Sony devices require
Warning: This will delete all your photos, apps, and settings. Result: The LED light should turn Green (or Blue/Green)
Removing FRP on Android 8 (Oreo) for the G3311 is tricky. If you enter the wrong Google account after a reset, the device is locked. A standard FTF flash often keeps FRP active.
To remove FRP using FTF, you need a specific "FRP Erase" FTF or a modified OEM file.