R1 HD Amazon Bootloader unlock

Share if the site was helpful

R1 HD Amazon Bootloader unlock

BOOTLOADER UNLOCK METHOD 1

Hi Guys thanks to a team effort the Amazon R1 HD has root access with SP Flash Tool and TWRP recovery image.
I went ahead with the help of jcase and unlocked the bootloader because i wanted full access.

What i did is put together this script that will walk you through the steps to unlocking your Amazon R1 HD bootloader.
Steps are simple you just download this script that i created and click on the batch file once you have extracted it to your desktop. Follow the script it will walk you through everything.
Note Root access is required to use the script and you can watch a video on how to root the device below. My Script as been updated to work on Linux Mac or Windows

Download Files Here
BLU-R1-HD-Amazon-Bootloader-Unlock.zip

How to unlock the bootloader video

How to root and install twrp recovery video

Here are the steps to check if your bootloader is unlocked since people are asking. With the device turned on and adb debugging working. Run these commands in terminal or command window
adb reboot bootloader
Once in fastboot mode run this command to check if unlocked.
fastboot getvar all
It will return yes for unlock and no for locked.

BOOTLOADER UNLOCK METHOD 2

Steps
1. Download SP-Flash-Tool-bootloader-unlock.zip
2. Extract the SP-Flash-Tool-bootloader-unlock.zip to your desktop. Note 7zip is great to extract files.
3. lauch Flash_tool.exe
4. select scatter-loading and browser to load MT6735_Android_scatter_R1_Unlock.txt
5. click download button to start.
6. now plug your phone into the computer. to boot the device to preloader and start the flash. You can do it two ways: 1. power off the phone and flash will start or 2. From a powered off stat power on the device while plugged into the computer. either way will start the sp flash tool.
7. once the flash is complete which should take seconds you can unplug the device and reboot it. Congrats you can now unlock the bootloader like any normal device now.

WARNING UNLOCKING YOUR BOOTLOADER WILL WIPE DATA FACTORY RESET THE DEVICE
How to unlock the bootloader now that you have turned on this feature.
1. power off the device
2. holder volume up and power until you are at the boot menu with recovery fastboot and normal as options scroll with volume up to fastboot then press power button to select
3. once in fastboot mode you will need to option a command window on your computer and make sure you have your adb and fastboot files
4. cd to the folder with your adb and fastboot files then run these commands
5. to maks sure your devices are working correctly
fastboot devices
6. to unlock the bootloader
fastboot oem unlock
7. follow the directions on your device screen. once it is finished unlocking you can check it with
fastboot getvar all
8. Next to reboot the device use
fastboot reboot
thats it your bootloader is unlocked
Note: if you have twrp recovery install and unlock your bootloader with METHOD 2 the device will try and boot to recovery and wipe data which will fail because you and twrp installed.
The only way to fix this is to boot to fastboot mode and run this command
fastboot format userdata
then just reboot out of fastboot mode and the device will boot up.
fastboot reboot

Need help with these commands check out this video jump ahead to 6min 45sec to see commands above

Sony Xperia Bootloader Unlock Tutorial

Share if the site was helpful

Sony Xperia Bootloader Unlock Tutorial

unlockbootloader_phones

Sony just like many other manufacturers has there own Bootloader Unlock program.  This program is designed for Developers but can be used by anyone to get greater control over there Android device.  In most cases unlocking the bootloader on your Sony Xperia device will void the warranty. The best practice is to fully test the operation of your device before you unlock the bootloader. Most of the time when you unlock your bootloader it will wipe data factory reset the device so make sure you backup everything of importance before starting this process. Now that the WARNINGS are out of the way lets get into this tutorial.

Directions you will need to unlock the bootloader on your Sony Xperia device

Install the Android SDK or just the ADB and fastboot files extract the adb and fastboot files to a folder.

If you are on windows you may need the drivers for your device also and HERE is a great place to look for them

adb fastboot files

 

In your device, open the dialler and enter *#*#7378423#*#* to access the service menu.

Tap Service info > Configuration > Rooting Status. Check if Bootloader unlock allowed says Yes. Also write down your IMEI from this screen.

Screenshot_2016-06-05-06-05-13Screenshot_2016-06-05-06-05-24

Now that you have your files setup and your IMEI number written down you can go to the SONY DEVELOPER UNLOCK BOOTLOADER SITE

Select your Sony Xperia device from the list at the bottom of the site and click continue.

On the next page you need to enter your email address so that Sony can verify that you arent a bot and sent you a link with your unlock code.

Open your email account and look for email from Sony with this in it. “You have requested to unlock the boot loader of your Xperia™ device. To verify this, click the following link: Click Here To Proceed”

Once the website loads up you will need to enter your IMEI number that you wrote down earlier or dail *#06# from the phone dailer to view your IMEI number.

IMEI2

Once you submit your IMEI you will get the rest of the directions to unlock the bootloader like below.

sony commands

Now that you have the full directions from Sony its time to unlock the bootloader on your Xperia device.

These direction will be for windows but it is basically the same for mac and linux.

  1. Turn on developer Options on your device and enable adb debugging. outlined in picture above.
  2. Open your adb and fastboot folder. Then with your mouse right click and select open a command window here. Alternative is to open command prompt and CD to the adb and fastboot folder.
  3. Now enter this command ( adb devices ) in the command window. you should have a popup on the phone to allow adb from this computer. allow it
  4. run command ( adb devices ) again this time you should see your serial number followed by the word device. if you get this far it means that your drivers and adb are working properly.  See picture below

adbsss

5.  From here lets reboot the device to bootloader mode with command ( adb reboot bootloader ) or follow sonys lead by powering off the device then press the Volume up button at the same time as you connect the other end of the USB-cable.  Either method will reboot the device to bootloader mode.

6.  Now run command ( fastboot devices ) again this will return with your device serial number and say fastboot after it.

fastbootssss

7.  Finally we can send the Unlock command that we got from Sony. Mine is ( fastboot -i 0x0fce oem unlock 0xE30FD3E75A61F33C ) but yours will very.

8.  look at your phone and follow any directions that come up on the screen and then thats it your done.

Once the process has fully finished then you can send command ( fastboot reboot ) to boot the device back up again. First boot up will take much longer then normal, it could take as long as 10 minutes to boot up.

Now that you have unlocked your bootloader you can easily install custom roms with cool hacks and mods. Root access and using root apps is in your near future. If you want to learn more about your sony device check out some of my video tutorials HERE

RootJunky Out

Learn how to create a theme

Share if the site was helpful

Learn how to create a theme for your Android device!

Way back in the old android days, people actually made their own themes in the form of a zip file. Crazy right!?! That meant you had to download the ROM, gapps (if needed) and another zip file for the theme you wanted. This also meant that when flashing, you had to flash all 3. Now keep in mind that zip themes were made primarily for stock OEM based ROMs. Your source based ROMs which were typically based off of CyanogenMod had the Theme Chooser, so zip themes weren’t needed.

So why make zip themes now? Well for the same reason they were made before. Not everyone wants to run a potentially buggy custom software. Some people would rather run their TouchWiz, Sense, LG stock or Moto Blur based stock software.(way back in the day it was Moto’s stock UI).  They preferred it simply for one reason, everything worked. You didn’t lose the functionality that made you buy the device in the first place which some times happens with custom roms.

So why are we reading this extremely long article? Well, I’m hoping that you’re reading this because you’re interested in making a zip theme. If you are, then please continue on. For this tutorial, we will be following how to get setup on Windows system.

There are some prerequisites to making a zip theme and here they are:

WinRAR – 32bit 
64bit 

7zip – 32bit 
64bit 

Apktool Files

Java JDK

Notepad++ 

Paint.NET (free image editing tool)

Download and install Java JDK 6 (make sure you get the right OS build and either 32bit or 64bit)
Download an install Winrar. After installing, your zip files will now have an icon that looks like a stack of books.
Download Apktool. After it downloads, right click the zip file and click on “Extract Files…” and extract the Apktool zip to your desktop.
Download and Install Notepad++
Download and install Paint.NET

Getting Started:

One of the first things you’re going to want to do, is take the framework-res.apk and the SystemUI.apk off your phone and put it on your computer. You can do this by various means such as a root file explorer and an sdcard.

For purposes of this guide, we are going to assume you’re editing the SystemUI.apk and the framework-res.apk because these are the 2 main files for making a theme for a ROM.

Now take whatever apks you are editing and move them to your PC.

Now let’s go back to the Apktool folder on your desktop. It should look like this:

apktool

And your folder directory should look like this;

folder directory

 

Now take the apks that you just took from your phone, and put them in the apktool folder like this:

added apks

 

Now go back to your desktop. Now we’re going to hold the “shift” key, and right click on the Apktool folder. On the menu that pops up, select “Open command window here” and you should see this:

 

commandprompt

 

Obviously, your path to Apktool will not be the same as mine, that’s irrelevant. (Note: Anything you type into the command prompt IS case sensitive! Make sure you type everything correctly, or just copy and paste the commands from here!)

In that command prompt window, type the following code:

apktool if framework-res.apk

What this code does, is install the framework-res.apk in case it’s needed to edit any other files (and it will be).

You will see a message in the command prompt that says installation of the framework was successful.

Now it’s time to decompile the SystemUI.apk for edits, for that you will use this command:

apktool d SystemUI.apk

What this command does is tell apktool to “d” or decompile, the SystemUI apk.

Your command prompt should now look like this:

 

Now go back to the Apktool folder on your desktop and you’ll notice there is now a folder in there named “SystemUI” this will be where you make your edits. A few tips: Most of the images you will edit will be in the /res/drawable-hdpi folder. DO NOT EDIT ANY XMLS OR IMAGES THAT END IN .9 THESE CAN CAUSE SERIOUS SYSTEM ISSUES! READ UP ON THEM BEFORE YOU START EDITING ANYTHING IN XML FILES OR .9 IMAGES. When editing images, make sure the image keeps the EXACT same file name. You cannot change the name of any icons, that will come later.

Ok so let’s say that you have now finished all of your image edits and you’re ready to see your own work! That’s the simple part (as long as you didn’t mess anything up lol).

So now after editing, go back to your command prompt window. If you don’t remember how to do it, hold down “shift” and right click on the Apktool folder, then select “Open command window here.”

If you closed the command prompt window earlier, you need to reinstall the framework-res.apk with “apktool if framework-res.apk”

Now in that same command window, type or copy/paste the following:

apktool b SystemUI

This command tells apktool to “b” or build what is in the SystemUI folder, DO NOT put “.apk” after SystemUI or you will get errors.

 

 

Now navigate to the apktool folder again and go the following directory /apktool/SystemUI/dist

Inside there is your newly built SystemUI.apk, however, you’re not going to use it lol. You’re only going to use parts of it.

Rename that new SystemUI.apk to something distinguishable, like “newSystemUI.apk.”

Now right click that new apk and hover over “7zip” and select the top option which is “Open Archive”

Now go back to the apktool folder and open the old SystemUI.apk the SAME WAY! Right click, hover over 7zip, select “Open Archive.”

The same kind of window will pop up.

Now here’s where things get a little tricky.

You’re going to need to put these 2 7zip windows side by side!!!

Now hold down “ctrl” and highlight the following items in the NEW apk window:

res folder

resources.arsc

Now drag and drop both of those items into the OLD apk window.

Close out all windows

Now take that OLD SystemUI.apk which has the new images in it, and place it back on your sdcard.

Use a Root File Explorer on your phone and move the SystemUI.apk to /system

Now press and hold on the file and select “Permissions”

Make sure the permissions look like this:

Now move that apk to /system/app (or priv-app, whichever folder you took it from earlier)

Now reboot

Your phone should boot backup normally and you will see the changes you made.

Now repeat this process for every apk you’re editing.

If your phone fails to boot, you messed something up, seriously you did lol.

A few more tips and notes:

SystemUI’s and framework-res.apk’s are NOT inter-changeable. You cannot take these files from other ROMs and place them in yours.
Again, DO NOT touch the XML files, or the 9 patch images (images that end in .9) until you have read up on them A LOT. There are tons of posts that talk about dealing with .9 images and XML edits.

If you have any questions, please post  comment and I will try my hardest to answer as many as I can. A little later I will write an article on making your own flashable zip file, to put your apks in that way you can flash your theme, instead of copy/paste.

NOW GET OUT THERE AND MAKE SOME THEMES!!!!!