FORUMS
Remove All Ads from XDA

[6045*] [GUIDE] unlock bootloader

1,565 posts
Thanks Meter: 729
 
By DallasCZ, Senior Member on 21st July 2015, 06:49 AM
Post Reply Email Thread
THIS IS THE START THREAD FOR ANY XDA ENTHUSIAST!!

keep in mind, that you do all these steps on your own and i am not responsible for any damaged or bricked phone.
So if you dont know what are you doing or are afraid of bricking your device, please dont do this!!!


!BEFORE YOU START, PLEASE READ THIS!
And don´t forget to thank Famewolf for the tutorial, because this could save your phone when something go bad!

UNLOCK BOOTLOADER:

-Get/install Alcatel USB driver if Windows. (no need for Mac). FROM HERE, or just connect your idol3 to the computer and from the phone select "cd rom" drive..it will install the drivers automatically
-download the root zip from my GOOGLE DRIVE and unzip it.
-Set USB debugging on in Developer settings (if these are not exposed, go to Settings/About Phone/Build number, and tap 7 times.)
-Plug in USB cable to phone and computer. Tap on USB icon in notifications panel; select MTP (file transfer) mode.
-After that a window on your phone should appear and ask you to allows usb debbuging connection to your attached computer (please also check the box that say something like "always from this computer")
-Open command prompt in direcotry where you have the unzipped files (when using windows in the direcotry hold shift and press the right button on the mouse, it will pop-up a window where you have to select "open command promt here"
-type "adb reboot-bootloader" to reboot into bootloader. The device should reboot to the screen showing "alcatel onetouch...powered by android". This is bootloader mode.
-Then type "fastboot -i 0x1bbb devices" should show some numbers and "fastboot" after the numbers
-Type "fastboot -i 0x1bbb oem device-info" shows device info including bootloader status (e.g. locked).
-Type "fastboot -i 0x1bbb oem unlock" to unlock the bootloader; after this you should get, for device info,
-Type "fastboot -i 0x1bbb oem device-info" and you should see "Device unlocked: true"
-To reboot normally: "fastboot -i 0x1bbb reboot"

ROOT USING CUSTOM RECOVERY:

as we have now the custom recovery (TWRP)
-So download supersu.zip from HERE
-Put it on your SD card (or internal memory)
-Flash (or just boot) the custom recovery (you can see the procedure in the thread i linked above) and in recovery install the superSU.zip
-Reboot

ROOT:
-Plug in USB cable to phone and computer. Tap on USB icon in notifications panel; select MTP (file transfer) mode.
-Run the unziped "root.bat" file and select option 1.
-The device will reboot to bootloader,then boot the boot.img which will install the SU and then the device will twice reboot
-check if you have superSU installed, if yes, then You are done.


BACKUP under windows:
-so now you have root rights and you can what ever you want, but first do not forget to backup your device
-for that occasion i made a simple BACKUP_all.bat file
-download the file and place it to the directory, where you extracted the root.zip
-run the bat file it will create a backup folder on external sd card in the phone! extract the system partitions and in the end it copies it to the subdirectory "blocks" in the dir where you ran the bat file.
BE AWARE to share the modemst and persist files because they are device specific!!!
here is the code:
PHP Code:
@echo BACKUP IDOL3 6045 partitions by DallasCZ
adb shell mkdir 
/storage/sdcard1/mybckup

echo Press any key to begin
pause 
>nul

adb shell su 
-"dd if=/dev/block/mmcblk0p1 of=/storage/sdcard1/mybckup/modem"
adb shell su -"dd if=/dev/block/mmcblk0p2 of=/storage/sdcard1/mybckup/tunning"
adb shell su -"dd if=/dev/block/mmcblk0p3  of=/storage/sdcard1/mybckup/traceability"
adb shell su -"dd if=/dev/block/mmcblk0p4  of=/storage/sdcard1/mybckup/fsc"
adb shell su -"dd if=/dev/block/mmcblk0p5  of=/storage/sdcard1/mybckup/ssd"
adb shell su -"dd if=/dev/block/mmcblk0p6  of=/storage/sdcard1/mybckup/sbl1"
adb shell su -"dd if=/dev/block/mmcblk0p8  of=/storage/sdcard1/mybckup/rpm"
adb shell su -"dd if=/dev/block/mmcblk0p10  of=/storage/sdcard1/mybckup/tz"
adb shell su -"dd if=/dev/block/mmcblk0p12  of=/storage/sdcard1/mybckup/hyp"
adb shell su -"dd if=/dev/block/mmcblk0p14  of=/storage/sdcard1/mybckup/modemst1"
adb shell su -"dd if=/dev/block/mmcblk0p15  of=/storage/sdcard1/mybckup/modemst2"
adb shell su -"dd if=/dev/block/mmcblk0p16  of=/storage/sdcard1/mybckup/simlock"
adb shell su -"dd if=/dev/block/mmcblk0p17  of=/storage/sdcard1/mybckup/persistent"
adb shell su -"dd if=/dev/block/mmcblk0p18  of=/storage/sdcard1/mybckup/splash"
adb shell su -"dd if=/dev/block/mmcblk0p19  of=/storage/sdcard1/mybckup/tctpersist"
adb shell su -"dd if=/dev/block/mmcblk0p20  of=/storage/sdcard1/mybckup/hdcp"
adb shell su -"dd if=/dev/block/mmcblk0p21  of=/storage/sdcard1/mybckup/DDR"
adb shell su -"dd if=/dev/block/mmcblk0p22  of=/storage/sdcard1/mybckup/fsg"
adb shell su -"dd if=/dev/block/mmcblk0p23  of=/storage/sdcard1/mybckup/sec"
adb shell su -"dd if=/dev/block/mmcblk0p24  of=/storage/sdcard1/mybckup/aboot"
adb shell su -"dd if=/dev/block/mmcblk0p26  of=/storage/sdcard1/mybckup/boot"
adb shell su -"dd if=/dev/block/mmcblk0p27  of=/storage/sdcard1/mybckup/recovery"
adb shell su -"dd if=/dev/block/mmcblk0p28  of=/storage/sdcard1/mybckup/system"
adb shell su -"dd if=/dev/block/mmcblk0p29  of=/storage/sdcard1/mybckup/persist"
adb shell su -"dd if=/dev/block/mmcblk0p30  of=/storage/sdcard1/mybckup/fota"
adb shell su -"dd if=/dev/block/mmcblk0p32  of=/storage/sdcard1/mybckup/misc"
adb shell su -"dd if=/dev/block/mmcblk0p33  of=/storage/sdcard1/mybckup/keystore"
adb shell su -"dd if=/dev/block/mmcblk0p34  of=/storage/sdcard1/mybckup/config"

@echo BACKUP copied partitions to hard  drive
@mkdir blocks

adb pull 
/storage/sdcard1/mybckup %CD%/blocks/

@echo 
BACKUP Done!
@echo 
Press any key to exit
@ECHO 
OFF
@pause >nul 


FOR LINUX USERS:
for unlocking the bootloader see THIS POST by Fankee207
for backup on linux please see THIS POST by Frankee207
and dont forget to thank him.

If someone send me a linux/mac guide i will post it to this post so we have all the info in one thread.
The Following 64 Users Say Thank You to DallasCZ For This Useful Post: [ View ] Gift DallasCZ Ad-Free
 
 
21st July 2015, 12:31 PM |#2  
DallasCZ's Avatar
OP Senior Member
Flag Mikulov
Thanks Meter: 729
 
Donate to Me
More
reservation 1
21st July 2015, 12:31 PM |#3  
DallasCZ's Avatar
OP Senior Member
Flag Mikulov
Thanks Meter: 729
 
Donate to Me
More
reservation 2
21st July 2015, 12:56 PM |#4  
frankee207's Avatar
Senior Member
Flag Toulouse
Thanks Meter: 90
 
More
To unlock bootloader on linux, just make sure adb and fastboot are installed
Code:
 sudo apt-get install android-tools-adb android-tools-fastboot
on ubuntu based linux for example. No need to install full SDK.

just add sudo before each command
Ex:
Code:
sudo fastboot -i 0x1bbb oem unlock
Should work, but I'have not tried myself since I have not received my idol yet
No need specific drivers. Before beginning, you can run
Code:
 adb devices
to make sure your device is correctly detected
Don't forget if problem with adb on linux, run
Code:
 sudo adb kill-server 
sudo adb start-server
Thnaks you for the backup script. May I share it on french android forum forum.frandroid.com ?
The Following 11 Users Say Thank You to frankee207 For This Useful Post: [ View ] Gift frankee207 Ad-Free
21st July 2015, 01:11 PM |#5  
DallasCZ's Avatar
OP Senior Member
Flag Mikulov
Thanks Meter: 729
 
Donate to Me
More
Quote:
Originally Posted by frankee207

Thnaks you for the backup script. May I share it on french android forum forum.frandroid.com ?

Of course you can..no wait ...you must!
The Following 2 Users Say Thank You to DallasCZ For This Useful Post: [ View ] Gift DallasCZ Ad-Free
21st July 2015, 01:27 PM |#6  
Senior Member
Thanks Meter: 12
 
More
Awesome it works on dual sim? 6045k? I need to send my ohone to repair the microphone so i will lost the warranty right? I need to wait few months:/
21st July 2015, 01:31 PM |#7  
frankee207's Avatar
Senior Member
Flag Toulouse
Thanks Meter: 90
 
More
Quote:
Originally Posted by DallasCZ

Of course you can..no wait ...you must!

thansk you ,I will !

Running both Linux and Windows, I converted your script for Linux usage. Please find it here.

PHP Code:
echo -"#### Backup all your idol 3's partitions - DallasCZ & frankee207  @XDA ####\n\n"
echo -"Please make sure your device is connected\n" 
read -p  "Press ENTER to continue"
cd ~/
echo -
"/!\ root access must be granted for using adb on linux /!\ \n"
sudo adb kill-server
sudo adb start
-server
sudo adb shell mkdir 
/storage/sdcard1/mybckup/
sudo adb shell su -"dd if=/dev/block/mmcblk0p1 of=/storage/sdcard1/mybckup/modem"
sudo adb shell su -"dd if=/dev/block/mmcblk0p2 of=/storage/sdcard1/mybckup/tunning"
sudo adb shell su -"dd if=/dev/block/mmcblk0p3  of=/storage/sdcard1/mybckup/traceability"
sudo adb shell su -"dd if=/dev/block/mmcblk0p4  of=/storage/sdcard1/mybckup/fsc"
sudo adb shell su -"dd if=/dev/block/mmcblk0p5  of=/storage/sdcard1/mybckup/ssd"
sudo adb shell su -"dd if=/dev/block/mmcblk0p6  of=/storage/sdcard1/mybckup/sbl1"
sudo adb shell su -"dd if=/dev/block/mmcblk0p8  of=/storage/sdcard1/mybckup/rpm"
sudo adb shell su -"dd if=/dev/block/mmcblk0p10  of=/storage/sdcard1/mybckup/tz"
sudo adb shell su -"dd if=/dev/block/mmcblk0p12  of=/storage/sdcard1/mybckup/hyp"
sudo adb shell su -"dd if=/dev/block/mmcblk0p14  of=/storage/sdcard1/mybckup/modemst1"
sudo adb shell su -"dd if=/dev/block/mmcblk0p15  of=/storage/sdcard1/mybckup/modemst2"
sudo adb shell su -"dd if=/dev/block/mmcblk0p16  of=/storage/sdcard1/mybckup/simlock"
sudo adb shell su -"dd if=/dev/block/mmcblk0p17  of=/storage/sdcard1/mybckup/persistent"
sudo adb shell su -"dd if=/dev/block/mmcblk0p18  of=/storage/sdcard1/mybckup/splash"
sudo adb shell su -"dd if=/dev/block/mmcblk0p19  of=/storage/sdcard1/mybckup/tctpersist"
sudo adb shell su -"dd if=/dev/block/mmcblk0p20  of=/storage/sdcard1/mybckup/hdcp"
sudo adb shell su -"dd if=/dev/block/mmcblk0p21  of=/storage/sdcard1/mybckup/DDR"
sudo adb shell su -"dd if=/dev/block/mmcblk0p22  of=/storage/sdcard1/mybckup/fsg"
sudo adb shell su -"dd if=/dev/block/mmcblk0p23  of=/storage/sdcard1/mybckup/sec"
sudo adb shell su -"dd if=/dev/block/mmcblk0p24  of=/storage/sdcard1/mybckup/aboot"
sudo adb shell su -"dd if=/dev/block/mmcblk0p26  of=/storage/sdcard1/mybckup/boot"
sudo adb shell su -"dd if=/dev/block/mmcblk0p27  of=/storage/sdcard1/mybckup/recovery"
sudo adb shell su -"dd if=/dev/block/mmcblk0p28  of=/storage/sdcard1/mybckup/system"
sudo adb shell su -"dd if=/dev/block/mmcblk0p29  of=/storage/sdcard1/mybckup/persist"
sudo adb shell su -"dd if=/dev/block/mmcblk0p30  of=/storage/sdcard1/mybckup/fota"
sudo adb shell su -"dd if=/dev/block/mmcblk0p32  of=/storage/sdcard1/mybckup/misc"
sudo adb shell su -"dd if=/dev/block/mmcblk0p33  of=/storage/sdcard1/mybckup/keystore"
sudo adb shell su -"dd if=/dev/block/mmcblk0p34  of=/storage/sdcard1/mybckup/config"

sudo mkdir blocks/
sudo adb pull /storage/sdcard1/mybckup/ ~/blocks/

echo -
"Backup done ! You can find it in ~/blocks/"
read -"Press ENTER to exit"
exit 


You can download the script here: https://mega.nz/#!QtEG3TSb!DJ8N1dVRU...9whiag5WFfANtc
If you use the script for linux, don't forget to make it executable by running
Code:
 sudo chmod +x backup_all_AOTI3.sh
The Following 5 Users Say Thank You to frankee207 For This Useful Post: [ View ] Gift frankee207 Ad-Free
21st July 2015, 02:27 PM |#8  
Senior Member
Thanks Meter: 12
 
More
It work on 6045k or not? Thank you for the tutorial

---------- Post added at 02:27 PM ---------- Previous post was at 02:23 PM ----------

Another question we will have problems with a next update?
21st July 2015, 02:45 PM |#9  
Senior Member
Thanks Meter: 27
 
More
during the root process, does it really "flash" a boot.img?
from the batch file, it appears we are booting a boot.img, from which we [presumably] push supersu to the system. thanks.
21st July 2015, 02:47 PM |#10  
DallasCZ's Avatar
OP Senior Member
Flag Mikulov
Thanks Meter: 729
 
Donate to Me
More
Quote:
Originally Posted by deepasadish

during the root process, does it really "flash" a boot.img?
from the batch file, it appears we are booting a boot.img, from which we [presumably] push supersu to the system. thanks.

my mistake, of course it only boot to the boot.img
The Following User Says Thank You to DallasCZ For This Useful Post: [ View ] Gift DallasCZ Ad-Free
21st July 2015, 03:03 PM |#11  
Senior Member
Thanks Meter: 12
 
More
I get device not found on adb and the drivers url isn't working i used the phone usb cd... Drivers
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes