Jailbreak problem, want to reset my iPhone?

So I have had my iPhone jailbroke the past few months, and I'm selling my phone in two days so I decided to remove everything and reset the phone but I'm having a few problems.

I deleted all my tweaks, winter board, cydelete, font, etc and then uninstalled Cydia with deleted Cydia.

It would not let me delete 'My3G' and now it's just on my home screen I can't delete it or even go into the app.

Local APStore and Phathom for Snapchat are also still there.

I reset my network settings etc from the settings but everything I try erase everything the phone turns off and freezes.

Also I can't connect to my laptop because it keeps coming up device not recognized, I'm selling the phone in two days so I Really NEED Help ON WHAT TO DO!

So you are having issues with your iPhone? Maybe you jailbroke it and things did not go as well as you planned? Perhaps you have to take your iPhone back to an Apple Store because of a hardware related issue and you are jailbroken? Well I will tell you how to restore you iPhone back to it's factory settings in a few simple steps.

Word of warning before you begin:

Restoring your device will erase all data from your iPhone or iPod Touch, including songs, videos, contacts, photos, calendar information, and any other data. All iPhone or iPod Touch settings are restored to their factory condition. More after the jump!

  • Will the MAC address of my iPhone reset if I reset my iPhone to its factory settings over iTunes? I have jailbroken my device and used terminal to change my MAC address so that I could connect to school's Wi-Fi. But when I wanted to change it to its initial number, I typed in a wrong value and it just messed up my Wi-Fi, I can't connect to Wi-Fi anymore. Wonder if resetting to factory settings would help…
  • Reset network Settings iPhone 5 problem? My iPhone 5 was jailbroken. I did a reset network settings since my network wasn't working for over an hour already. I got to the apple logo then it went all black. It didn't turn on. I tried doing hard reset but it didn't work. All it did was turned it on to the apple logo then turn off again. Would it be okay to just try and update my phone? It on an ios 8 right now.
  • Is is it a problem if I factory reset my Unlocked iphone? I had an iphone 4 unlocked on a Metro PCS store so it could work for that carrier problem is I want to factory reset it and I don't know if that is going to lock it or not. The lady at the store said maybe it won't be a problem but she didn't sound too sure and she was the one who unlocked it to begin with.
  • Iphone Complete Reset Problem? I really need to complete reset from Reset All Content and Setting but Iphone is password protected and i forget my password. iphone have buttons for reset from bios like Android (power + volume)?