Unlocking BOOTLOADER on HTC devices

When rooting or developing apps on your android, you may need access to the bootloader to install custom roms or recovery menus of your HTC, this is relatively simple compared to some phones, HTC comes with it’s bootloader locked, so in order to unlock it, HTC has a special and useful website, HTCDEV.COM to unlock bootloader and give you a key to unlock it. Unfortunately when unlocking bootloader, you also ‘factory’ reset your phone, so make sure to take a backup using an app, or HTC’s own backup service.

Before I begin I should note that unlocking bootloader on your HTC, or indeed other phones, tends to void the warranty, so follow at your own risk, but I myself was completely able to install SuperSU and TWRP Recovery, without problems.

First, you are going to need a few things,

  • HTC’s Sync Manager, for HTC’s drivers for your phone, this also may come in handy for backing up any photos or songs that you may have on the device.
  • A HTC phone with cable and a computer that will allow you to install programs. (It should also have a USB port)
  • An SD card, When you install your new rom, root manager, or both, you are gonna need somewhere to put it for your phone to load it (NOT needed for unlocking just the bootloader)
  • Android SDK tools, When using the fastboot binarys, it is required that these tools be installed, particularly adb.exe and two dll’s AdbWinApi.dll and AdbWinUsbApi.dll . these are found in the \platform-tools directory of your SDK.
  • Fastboot binarys, (they will be explained later)
  • A folder to collect all your files.
  • USB debugging enabled on your device, this is usually Settings > Applications > Development > USB debugging for HTC’s.
  • Unplug your HTC from a pc If it is plugged in, make sure to have a considerable amount of charge, such as 50%.

 

  1. First, your going to need an account on HTCDEV.COM, Beware not to use a throwaway account as they will email you your unlock code as an attachment!
  2. Now you need to download the essentials, HTC Sync , Download SDK tools (Scroll down to Other Download Options > SDK tools only ) and java if you do not already have that installed (if no make sure to install this first) Install all of these programs and move to the next instruction.
  3. Now you have them installed. go to HTCDEV.COM and sign in, click on unlock bootloader > get started. (Or click here http://www.htcdev.com/bootloader/) make sure you agree to any terms and conditions and licence agreements. Select your device. Or click ‘All Other Supported Models’ from the dropdown menu. Proceed to step one. (make sure to accept the legal terms)
  4. You should now be at the unlock instructions (here) and scroll to set 4, download the binary’s for your system, (for my case windows) and save them to a file on your desktop called ‘fastboot’ (or you could use  a similar name)
  5. navigate to where you installed the android sdk tools, then go into the /platform-tools folder, and copy adb.exe, AdbWinApi.dll and AdbWinUsbApi.dll, these are usually together and copy them to your ‘fastboot’ folder. See below
    adbNow you need to add the binary file called ‘fastboot.exe’ that you extracted from the zip file in step 4.
    fastboot exe
  6. You now have all the files necessary to get your fastboot code. now press the WIN + R key on your keyboard and type ‘cmd’ in the run box then press ok, then navigate to where the fastboot file is located. for example if fastboot is located on your desktop then type: (remembering to replace ‘yourname’ with the name of the user)
    cd /users/yourname/desktop/fastboot
  7. Now you are at the correct location, you need to power down your phone, press and hold the volume down button, then while still holing that button down, press the power button, you should see a white screen with a list of options, navigate to the ‘fastboot’ option (if your device boots normally you need to go to settings > power > fast boot and deselect the checkbox for fastboot as I did). Select it using the power button, plug your phone into your computer and you should see ‘FASTBOOT USB’ highlighted, in the cmd window you created, type ‘fastboot oem get_identifier_token‘ as specified by this page on the htcdev website. You should see an ‘identifier device token’ (If you see <waiting for device> you have not connected your phone to the computer, or you have not got adb.exe and it’s dll’s in the same folder with fastboot.exe) you need to right click and select mark, click on the left arrows of ‘Identifier Token Start’ and then SHIFT + CLICK the right arrows of ‘Identifier Token End’ and right click to place them in your clipboard, then paste the code into htcdev’s box, on page 2. Be sure to include the device token identifiers. (In my example the token is removed) Include the yellow text and token
  8. You should then receive an email with an Unlock_code.bin attachment, place that in your fastboot directory where you keep adb.exe and fastboot.exe and in the command window type ‘fastboot flash unlocktoken Unlock_code.bin‘ to unlock your device, you will then have to operate your phone to select yes to unlock bootloader, be sure to use the volume keys to move to yes and the power key to select. Your device will now return to ‘factory’ settings. (Note it takes a couple minutes to reboot)
  9. Use HTC backup to restore your phone. Or one of your custom apps that you selected at the start of the tutorial.
  10. You have now unlocked bootloader.

Note: If you have not been able to unlock the bootloader on my tutorial, try following HTCdev’s tutorial.

 

Congratulations! you have now unlocked bootloader on your device! I have used this method to unlock my HTC Desire 610, (using the ‘All Other Supported Models’ dropdown at the start of HTCDev’s website).

If you want to root your HTC, click here

Bukkit has been given a DMCA takedown by Wesley Wolfie. The NEXT steps.

It is currently well known that bukkit has been given a dmca request by Wesley Wolfie, but now that that has happened, we now need to rebuild!

So here is whats happening, the folks over from bukkit are now working on a new modding api, called sponge! currently ‘Sponge will start with Minecraft 1.8, with Vanilla Client Support on Forge.’

Old plugins that were written on bukkit will most likely have to be removed, unless someone finds a way to make them compatible with sponge.

Here is a large extract of what they plan to do.

Our ultimate goal is to create a modding API that is easy to use for owners of small servers for friends and family, owners of large servers, and everyone in between. In addition, we also plan to permit client modding.

  • Sponge mods should work across several different Minecraft versions without needing an update from the developer, which means that you don’t have to worry about all your mods breaking between each new major release of Minecraft (1.6, 1.7, 1.8, etc.).
  • Sponge will support official interoperability with Forge so you can use both Sponge mods and Forge mods together. We are working directly with the Forge team.
  • While Sponge will not be directly supporting Bukkit, community projects have been started that aim to provide complete support for existing Bukkit plugins on top of Sponge

the whole plan can be found here

 

Good Luck to you all

 

EDIT, also check out PROJECT RAINBOW, they currently have downloads and plugins up for grabs.

How to setup MMS on O2 pay & Go Go Go

I recently had a problem with O2’s pay and go go go sim, where I was unable to send MMS or group text people, after a couple conversations with O2 chat and some form help, I was able to finally get it working, perviously when I tried to send an MMS or Photo, I would get the message ‘MMS blocked by Carrier’. But this solution should fix it for you, as it did for me.

The first issue I had was that my apn settings were wrong, here is how to fix it, your settings may vary, but essentially you need to get to your ‘APN’ settings menu in your phone, usually it is
Settings > General > Mobile Data > Mobile Data Network > APN
and for Iphones it is
Settings > Mobile > Mobile Data Network > APN
and for me it was ‘Quick settings’, then tap and hold ‘Mobile Data’ and select ‘Access Point Names’, see below.(I have a HTC Desire 610, but this may apply to most HTC’s)

Screenshot_2014-10-05-19-07-04
Tap and Hold ‘Mobile Data’
Screenshot_2014-10-05-19-31-07
Select ‘Access Point Names’
Screenshot_2014-10-05-19-08-34
Do as necessary

 

Now you have located the menu, you should probably reset your ‘APN’ settings to default, you can do this by pressing the menu button and pressing ‘reset to default’, this stap is technically optional and may straight out fix your problem, so it may be a good idea to check it out. Once you have done that, you should have the following APN; (these may vary from phone to phone)

Name – ‘O2 Pay & Go’
APN – ‘payandgo.o2.co.uk’
Proxy – Not Set
Port – Not Set
Username – ‘payandgo’
Password – ‘password’
Server – Not Set
MMSC – ‘http://mmsc.mms.o2.co.uk:8002’
MMS Proxy – ‘82.132.254.1’
MMS Port – ‘8080’
MMS Protocol – ‘WAP 2.0’ (2.0)
MCC – ‘234’
MNC – ’10’
Authentication type – Not Set
APN type – ‘default,hipri,dun,supl,mms’
Bearer – Unspecified

Now save.

(Settings may vary from phone to phone, so make educated decisions if you are stuck, or Google your specific phone settings for O2 (Or your Carrier).)

You now need to add a new APN for MMS, note that you should have 2 APN’s one for Calls, texts and Internet, and one for MMS. Give it the following settings;

Name – ‘O2 MMS’
APN – ‘wap.o2.co.uk’
Proxy – ‘http://wap.o2.co.uk’
Port – ‘9201’
Username – ‘o2wap’
Password – ‘password’
Server – ‘http://mmsc.mms.o2.co.uk:8002’
MMSC – ‘http://mmsc.mms.o2.co.uk:8002’
MMS Proxy – ‘193.113.200.195’
MMS Port – ‘8080’
MMS Protocol – ‘WAP 2.0’ (2.0)
MCC – ‘234’
MNC – ’10’
Authentication type – Not Set
APN type – ‘mms’
Bearer – Unspecified

Now save.

(Settings may vary from phone to phone, so make educated decisions if you are stuck, or Google your specific phone settings for O2 (Or your Carrier).)

You should now have two APN’s and should now be able to use calls,texts,internet and mms (as well as group messaging and photo sending) on O2 Pay and Go Go Go.

Bukkit has been given a DMCA takedown by Wesley Wolfie. what now?

Recently bukkit has been issued a DMCA takedown because of recent events and the massage below appeared on bukkit’s downloads pages.

Capture

451 Unavailable for Legal Reasons.
This content is unavailable as the direct result of a DMCA takedown request.
A copy of the notification can be found at this link.

What now?
well, we don’t know, as far as we are aware Wesley Wolfie is issuing the DMCA notice to Multiplay (who host bukkit and bukkit’s download links (reference)).

I believe that Spigot will continue to update there builds but are in the same boat as bukkit, but that it is ok for them to do so as it is not Wolfie’s Intention to stop the modding of bukkit but to protect mojang from using his code in their develpments of bukkit as he was unaware that mojang had aqquired bukkit and he was no longer working for an open source project and was now working for mojang essentially for free.

To read more, read here!