[GUIDE][REDMI 3] Backup eMMC and install unlocked bootloader with TWRP - Xiaomi Redmi 3 Guides, News, & Discussion

Simplest method of backup eMMC and install unlocked bootloader with TWRP.
May be used for locked and unlocked devices.
Devices: Redmi 3 and Redmi 3 Pro.
Benefits of this method:
1) no need device unlock
2) no need to install MiFlash/MiPhone
3) not need to download and install any ROM
4) it requires only one reboot
Manual:
1) unpack ZIP-file "redmi3_emmcdl_twrp.zip"
2) connect the device to a computer via USB
3) by holding down VolUp + Power run preloader and select "download"
4) if you installed the drivers in the Device Manager, you should see the device "Qualcomm HS-USB QDLoader 9008 (COM21)"
5) in Windows Explorer, open the folder that contains the previously unzipped file emmcdl.exe
6) do partial backup of eMMC: execute dump_emmc.cmd (the first 200 MB is enough)
7) do backup system partitions: execute dump_parts.cmd
8) the contents of the folder dump_emmc and dump_parts need to copy in a safe place!
9) [OPTIONAL] do install the patched bootloader and a special version of TWRP: execute install_aboot_twrp.cmd
10) now you need to reboot the device (you hold VolUp + Power button)
11) [OPTIONAL] boot into TWRP and make a backup current installed firmware (boot, system, data, cust)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After these actions should not be flashing the ROMs, which contains a emmc_appsboot.mbn and any MBN-files !!!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Waiting for English manual.......... an method to quickly backup/restore bootloader lock state would come really useful as even custom ROMs seem randomly relock BL and unlocking procedure is becoming pita
Sent from my phone by Tapatalk

Downloading flash programmer: prog_emmc_firehose_8936.mbn
Successfully open flash programmer to write: prog_emmc_firehose_8936.mbn
Expecting SAHARA_END_TRANSFER but found: 0
!!!!!!!! WARNING: Flash programmer failed to load trying to continue !!!!!!!!!
Dumping data to file .\dump_parts\aboot.img
Dumping at start sector: 0 for sectors: 0 to file: .\dump_parts\aboot.img
Programming device using SECTOR_SIZE=512
<?xml version = "1.0" ?><data><configure MemoryName="emmc" ZLPAwareHost="1" SkipStorageInit="0" SkipWrite="0" MaxPayloadSizeToTargetInBytes="1048576"/></data>

After backup, how do i restore flashed image?

Do you have the source code of emmcdl.exe?
Can we do this on a linux box?

yangyangnau said:
Do you have the source code of emmcdl.exe?
Can we do this on a linux box?
Click to expand...
Click to collapse
https://github.com/binsys/emmcdl

Thank you, installing now CM13 on Redmi3pro (ido)
Just done my Redmi3 pro with your fine tool. Working like a charm, thank you! Now I'm installing my beloved CM13 on this device - so glad!! You are my hero! :highfive:

Does this mean we do not have to ask a unlock bootloader from Xiaomi?

parphane said:
Does this mean we do not have to ask a unlock bootloader from Xiaomi?
Click to expand...
Click to collapse
@remittor any answer?

parphane said:
Does this mean we do not have to ask a unlock bootloader from Xiaomi?
Click to expand...
Click to collapse
This, please update anyone?

I had error message:
error driver qdloader not found
Press any key to continue
In my device driver redmi 3 was detected as Quallcom hs USB qdloader 9008 com 21
Any ideas to solve my problem

edmone said:
I had error message:
error driver qdloader not found
Press any key to continue
In my device driver redmi 3 was detected as Quallcom hs USB qdloader 9008 com 21
Any ideas to solve my problem
Click to expand...
Click to collapse
I have the same problem...

can someone upload this file to another host..funny i try 23 times to download and in 96% download stopped

parphane said:
Does this mean we do not have to ask a unlock bootloader from Xiaomi?
Click to expand...
Click to collapse
1. This means you shouldn't ask anyone to what you want with your own things
2. This means you shouldn't wipe all your data to 'unlock' what had not intended to have any locks once you bought it to your ownership
3. This means you shouldn't backup (nor 'sync') all your personal data to the Google cloud services just to save them from erasure upon unlocking.
All these bootloader locks have nothing to secure. There is no real problem to solder off eMMC (eMCP) IC and read out all your 'secret' personal data with a HW eMMC/NAND programmer or even generic SD card reader (tiny soldering req'd) for any phone/tab/other MID. The only reason mfr's do solder generic SD's in the BGA cases (called eMMC), hide docs, implement locks, close full file system from user even for reading and exploring and do a bunch of other bad things is intention to force user send all his sensitive personal data to the Google's and other OS/Dev mfr's clouds to make them able to fully control any people's activity. It's a Matrix guys who wants to control your brain and soul not simply some cheap device. Don't give up! Do not 'sync' your personal data with any clouds and do not use any 'accounts' and Gapps at all where possible!
Thank you remittor for the perfect method!
There is also should be used to backup any device's partition's, whole media and state. It will greatly help to recover data in case of the device's SW and even partly eMMC failure. Once a patched aboot will give us ability to write the whole eMMC media, there should be the way to fix OEM's locking data structure to locking back in any cases (e.g. flashing original non-patched aboot). One could find the locking flags and publish results.

remittor said:
Simplest method of backup eMMC and install unlocked bootloader with TWRP.
May be used for locked and unlocked devices.
Devices: Redmi 3 and Redmi 3 Pro.
Benefits of this method:
1) no need device unlock
2) no need to install MiFlash/MiPhone
3) not need to download and install any ROM
4) it requires only one reboot
Manual:
1) unpack ZIP-file "redmi3_emmcdl_twrp.zip"
2) connect the device to a computer via USB
3) by holding down VolUp + Power run preloader and select "download"
4) if you installed the drivers in the Device Manager, you should see the device "Qualcomm HS-USB QDLoader 9008 (COM21)"
5) in Windows Explorer, open the folder that contains the previously unzipped file emmcdl.exe
6) do partial backup of eMMC: execute dump_emmc.cmd (the first 200 MB is enough)
7) do backup system partitions: execute dump_parts.cmd
8) the contents of the folder dump_emmc and dump_parts need to copy in a safe place!
9) [OPTIONAL] do install the patched bootloader and a special version of TWRP: execute install_aboot_twrp.cmd
10) now you need to reboot the device (you hold VolUp + Power button)
11) [OPTIONAL] boot into TWRP and make a backup current installed firmware (boot, system, data, cust)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After these actions should not be flashing the ROMs, which contains a emmc_appsboot.mbn and any MBN-files !!!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Click to expand...
Click to collapse
hello, redmi 3s prime penguin logo only shows please say solution without any mobile data loss contact - 9106142185

Related

[Q] Need Help!!! Installing 2.2

Hello,
I want to install the 2.2 rom, but I dont know how, I've searched here, but I couldnt understand much, the link I've tried are dead or in russian (which confuses me a lot).
So I'd really love if someone could make a step by step tutorial to help me out.
Please, include links.
Thanks
And please, if you can, plz help me understand what is the recovery mode, and how to do so...
Thank again
Follow this thread: http://forum.xda-developers.com/showthread.php?t=857213
If you can't understand...I'll post another guide.
This is a guide I followed from another forum, and posted elsewhere with some minor additions in case anyone had problems.
The guide is from a forum post at the android forums,it is NOT my work, the added bits are mostly what I have found from browsing here and from asking questions. While I can't be held liable if you mess your phone up having done so myself I thought this could helpa few people and save them searching various threads for answers so hope it helps
The guide
To install this ROM you need to have fastboot enabled on your phone. If you have Android 1.6/2.1 installed from LG, then fastboot is not enabled. I will explain how to enable fastboot on your phone (this involves re-flashing/replacing your currently installed firmware):
I am unable to post links yet so you will have to copy and paste the appropriate link into your browser replacing the ** with tt
KDZ Updater Carphone Warehouse Unlocked.zip can be downloaded at h**p://goo.gl/7aRTc - A link to a zip archive with all the files needed to flash to Android version 2.1 with fastboot (Carphone Warehouse Unlocked)
KDZ Updater Europe Open.zip can be downloaded at h**p://goo.gl/BOcYT - A link to a zip archive with all the files needed to flash toAndroid version 2.1 with fastboot (Europe Open)
Download the version that best applies to you, if you live in the UK, I'd recommend you download the Carphone Warehouse Unlocked version, whereas if you live in Europe, I'd recommend the Europe Open version (simple right? )
I live in the UK and used the open rom from Europe as the Carphone Warehouse rom would not install
Now, how to flash these versions; I'll explain in detail how to flash the ROM's from starting with backing up.
Instructions to install ROM with Fastboot:
1. Before you start, make sure you backup all your data by installing the z4root.1.3.0.apk file onto your phone, then open it and choose 'Permanent Root'. Your phone will root and reboot. Then go to the Market and install 'MyBackup Root', open it and do a backup of your apps and personal data (contacts, sms, call log etc.) Once this is done, go to Settings>SD Card and Phone Storage>Unmount SD Card, a notification in the notification bar should appear saying 'SD Card safe to remove'. Remove the battery cover and remove the SD card and store it in a safe place. Then continue to step 2.
2. Extract the .zip file you downloaded to your computer (e.g. your desktop). Open the folder and install MSXML 4.0 SP3 Parser (msxml.msi).
3. Once that has finished, install LGAndroidDriver_WHQL_ML_Ver1.0_All_Win7.exe which are the drivers so your computer will recognize your phone.
4. Next, open KDZ_FW_UPD.exe
(i) Change 'Type' to '3GQCT' *THIS IS A MUST, THE UPDATE WILL NOT WORK OTHERWISE AND YOU MAY BRICK YOUR PHONE*
(ii) Make sure 'PhoneMode' is set to 'DIAG'
(iii) Browse for the 'V20B_00+Fastboot.kdz' file.
5. Prepare the phone by enabling USB Debugging by going to Settings>Applications>Development>Enable USB Debugging and connect the phone to the computer via USB cable and wait for the drivers to install for the phone.
6. Click 'Launch software update' and do not use your computer until the update is complete. The update will take roughly 10-20 mins to complete.
If you have a problem with this try a different rom, this guide offers two to choose from.
Instructions to install CyanogenMod:
Once the update is complete, your phone will reboot, what you need to do is power off the phone and whilst the phone is off, press and hold the 'Camera' button all the way ANDpower on the phone, make sure you hold the 'Camera' button. The phone will display the LG logo and disappear, then display a blank screen. The phone is now in fastboot mode!
Now you want to download this file: Flashing CyanogenMod.zip and extract it to a folder called 'Android' (without the quotes '') on the C: drive (you'll probably need to make this folder yourself.
1. Now open CMD with administrator privileges (Search for CMD in the start menu and right click on 'cmd' and click 'Run as Administrator' )
2. Connect the phone to your computer via USB cable and wait for the necessary drivers to install.
If when connected with a usb cable the computer says "waiting for device" and nothing else happens try installing the fastboot drivers. You can do this by going to the control panel of your pc, from the Windows start menu, opening the list of devices and where you see the one representing your phone (likely, as was the case with me, it will say android and have a yellow exclamation mark over it). Different versions of Windows do things slightly different but what you need to do is simply update the driver by choosing the icons properties box choosing UPDATE or INSTALL DRIVER and when asked pointing it to the folder where you unzipped the drivers.
3. Then go back to the cmd window and type:
Code:
cd C:\Android
(i) Then type:
Code:
fastboot.exe -w
(ii) Once that's completed, type:
Code:
fastboot.exe erase system
(iii) Once that's completed, type:
Code:
fastboot.exe flash system system.img
(iv) Once that's completed, type:
Code:
fastboot.exe flash boot boot.img
(v) Once that's completed, type:
Code:
fastboot.exe reboot
4. Your phone will now reboot with CyanogenMod 6.1.1 (Android 2.2.1). The first boot might take longer than a normal boot.
If your phone stays at a blank screen you simply forgot to do one of the above steps, in which case simply repeat them. It is likely if that happens that you simply forgot the flash boot image instruction.
5. You can now re-insert your SD card and go to Settings>SD Card and Phone Storage>Mount SD Card
Enjoy!
The instructions for flashing both the firmware with fastboot and flashing CyanogenMod are included in the zip archives called 'Readme'. I'll update the links so that you'll always have the most up to date version of CyanogenMod available for download, note that if you choose to update your phone you will loose all your data including apps etc. so backup before you update
And that, with a few comments added by myself, is the guide.
Once you have set your phone up the way you want power off your phone. Hold the HOME and POWER buttons down while the LG logo appears and you will see a menu appear on screen.
Using the volume down key to navigate the different menu choices, and the camera button to select an option choose the BACKUP OR RESTORE option and from the sub menu that it will give you choose BACKUP.
This will make a backup of your phone AND all your data, if you ever mess up an update or think you have damaged your phone in the future simply holdthe POWER and HOME buttons down and when the menu appears choose the RESTORE option
Click to expand...
Click to collapse
You also need fastboot drivers.
http://forum.xda-developers.com/attachment.php?attachmentid=495093&d=1295551234
guide to install openswift
please, anybody who has rights to edit first post of openswift thread,
add this link, is very good guide
http://android.modaco.com/content/lg-gt540-optimus-gt540-modaco-com/329916/a-full-guide-to-getting-android-2-2-on-your-phone-for-total-newbs-like-me/
somoant said:
please, anybody who has rights to edit first post of openswift thread,
add this link, is very good guide
http://android.modaco.com/content/lg-gt540-optimus-gt540-modaco-com/329916/a-full-guide-to-getting-android-2-2-on-your-phone-for-total-newbs-like-me/
Click to expand...
Click to collapse
Oh...there's the link. Been trying to find it! Thx =)
MegaBubbletea said:
Oh...there's the link. Been trying to find it! Thx =)
Click to expand...
Click to collapse
you're welcome
Another question, which one should I donwload?
KDZ Updater Carphone Warehouse Unlocked.zip
KDZ Updater Europe Open.zip
My phone is from US, so both would work?
brunouvn said:
Another question, which one should I donwload?
KDZ Updater Carphone Warehouse Unlocked.zip
KDZ Updater Europe Open.zip
My phone is from US, so both would work?
Click to expand...
Click to collapse
Either one will be fine. Those are just for temporary Rom because they have fastboot. You wont be keeping them.
Sent from my GT540 by MBt
little question... how long does it takes to complete the process? my phone is on download mode for like 30 minutes.. kinda nervous here, its stuck at:
3GQCT : wParam = 205, IParam = 0
btw, internet should be on?
What!? You sure u followed the instructions very carefully? Using the KDZ updater tool and correct settings?
yes, followed step by step
What happens if I cancel the process?
Well...which step are you on at the moment?
Step Complete : C Drive Erase
Wo wo wo...so it's done? Finish flashing v2.1 on ur android with fastboot?
dont understand, its done?
Well...what's happening on screen in the updater? Does your phone reboot now? No more safe mode?
If it is rebooting then it's done. Now all you have to do is get into fastboot mode which means holding CAMERA + POWER when turning on your phone.
on the phone is still download mode and the last line on the updater is:
3GQCT : wParam = 205, IParam = 0
Did you uncheck "Mass Storage Only" in the phone before you flashed? That may be ur problem....or try unmounting the SD.
yea, I think mass storage only was off, and sd card isnt in
What about USB debugging mode? That needs to be checked.

[HOW TO]Guideline / Install MTK drivers / How to Root / Flash a Rom / IMEI Restore

In this Thread i will explain how to set up MTK drivers and Flashtools.
Guideline:
Post #1 : Set up MTK drivers in Windows 8 / 8.1 / 10
Post #2 : Use Flashtools for MTK Devices
Post #3 : How to Root Stock Rom
Post #4 : Windows 10 MTK Drivers installation ( just in case post #1 dont work )
Post #5 : Lost IMEI Backup​
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
How to Install MTK drivers in Windows 8 / 8.1 / 10
what we need:
MTK Vcom Preloader Driver 2.0
Download : https://www.androidfilehost.com/?fid=24438995911977169
First thing we need is to Disable the Signed Driver verification on Windows :
To disable driver signature verification, we’re going to need to get into the Troubleshooting options from the boot manager.
The easiest way to bring this screen up is using this secret trick.
Hold down the SHIFT key while you click Restart.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Once your computer has rebooted you will be able to choose the Troubleshoot option.
Then head into Advanced options.
Then Startup Settings.
Since we are modifying boot time configuration settings, you will need to restart your Computer one last time.
After restarting your computer a second time,
choose Disable driver signature enforcement from the list by typing the number 7 on your keyboard.
That’s all there is to it. Your PC will then reboot and you will be able to install unsigned drivers.
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Now its Time to open SP_Driver_v2.0.zip and start the DriverInstall.exe
it will open the install prompt . Press okay and dont change the installation path
Code:
C: // program files / Mediatek / Driver Package
during the installation it will start the verification window security.
Click on Install this driver software anyway
There will be an Error Message . - We Ignore it !
-Now Open your Device Manager and leave it open.
-Power Off your Phone and connect it with your Pc.
-you will see Under ports ( COM & LPT ) a Preloader unknown device
right click on there and click on Driver update/installation.
-Choose manually search for drivers
-Browse to C:// program files / Mediatek / Driver Package and apply.
-If all went good you have successfully installed the MTK Vcom Drivers. :good:
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>​
How to Use Flashtools
i use SP_Flash_Tool_Windows_v5.1520.00.000 and never had a problem with it.
Its for most all MTK Phones and for all Elephone Devices
Download Link: https://www.androidfilehost.com/?fid=24438995911977217
- Extract the Flashtool zip folder to your Desktop
- Click flash_tool.exe to open the Tool
- You will see two "folder buttons" Download agent and Scatter-loading
- Into Download agent place the MTK_AllInOne_DA.bin file .
its in your Flashtools folder
- Into Scatter-loading place the Scatter.txt
All Stock Roms / Custom Recoverys have one Scatter.txt in their Zip files.
- Make sure that every partition is checked
-IMPORTANT NOW, Flashing Part-
-Power Off your Device!
-Press on the Download Button!
-Connect your Device with PC and wait until all is flashed
-you will see a Green Mark when all is done
-Disconnect your Device and press Power button to Reboot.
:fingers-crossed::good::fingers-crossed:
------------------------------------------------------------------------------------------------------------------------------------------------​
How to Root Stock Rom
-If you want to Root your prefered Stock Rom
-Place SuperSU into your Sdcard
-Flash a Custom Recovery with Flashtools and its Scatter.txt
-Hold Vol+ and Power to get into Bootloader Menu
-Navigate with Vol+ and apply Recovery with Vol-
-Flash Supersu.zip
-Reboot
Stock Roms:
Stock ROM Elephone P9000_Android 6.0_20160315 Link: http://bbs.elephone.hk/thread-9967-1-1.html#[email protected]
CWM Recovery:
Link : https://www.androidfilehost.com/?fid=24459283995304518
100% bug free Supersu v.2.46.zip
https://download.chainfire.eu/696/SuperSU/​
Windows 10 MTK VCOM USB Drivers for 32 & 64 bit + Driver install tutorial
To determine the version of Windows 10 that you have (32 bit or 64 bit):
- Right-click on Start then click on System
- In the System window that opens, in System section, you will find your version of Windows next to System type
To disable Windows 10 64 bit driver signature enforcement:
- On your 64 bit Windows 10 desktop click on Start then on Settings
- Click on Update & security then in the left pane click on Recovery
- Under Advanced startup click on Restart now button
- Click on Troubleshoot then on Advanced options
- Click on Startup Settings then on Restart button
- The computer will restart with the Startup Settings screen
- To disable the driver signature enforcement until next restart press on number key 7 or F7 on your keyboard.
- After restart you can proceed with the unsigned MTK drivers installation for your 64 bit Windows
- After you install the unsigned drivers, to use them again in the future, you have to repeat this procedure
To install the MTK VCOM USB Drivers on 32 & 64 bit Windows 10:
- Download the drivers *.zip archive and extract the folder from inside on to the desktop:
https://www.androidfilehost.com/?fid=24269982087012126
Right-click on Start then click on Device Manager
In the Device Manager Window click on the first item – your computer name
Click on Action then Add legacy hardware
On the Welcome to the Add hardware Wizard window click on Next button
Select Install the hardware that I manually select from a list (Advanced) and then click on Next button
Click on Show All Devices then on Next button
In the Add Hardware window click on Have Disk… button
In the Install From Disk windows click on Browse… button
In the next window – Locate file – browse for the folder that you have extracted on the desktop at the beginning
Select the version of the driver according to your Windows 10 version – x64 for 64 bit and x86 for 32 bit and click Open button
Click the OK button to load the driver
From the list of drivers select MTK USB Port and click on Next button
If a red warning window will open, click on Install this driver software anyway
This action will add the following drivers in to the operating system:
- MediaTek DA USB VCOM Port
- MediaTek PreLoader USB VCOM Port – for transferring the firmware to your device
- MTK USB DEBUG Port
- MTK USB Modem Port
- MTK USB port – for transfering PreLoader to your device (and recovery in case of bad or corrupt firmware)
Now we need to remove the device that we have installed but leave the drivers in the operating system.
To do that, in the Device Manager window we expand Ports (COM & LPT) section
Right-click and click Uninstall on the MTK USB Port
- In the Confirm Device Uninstall window make sure that the box Delete the driver software for this device is empty
- You need to leave the drivers in the operating system and only remove the device that you added
- Click on the OK button to finalise
Now, when you will connect your turned off MTK device to the Windows 10 computer by USB, the device will be recognized either trough a MediaTek Preloader USB VCOM Port interface or as a MTK USB port if it is bricked or it has bad/corrupt firmware. The SP Flash Tool will be able to transfer the firmware to your device trough this interfaces. Make sure you connect the device after you press the Download button in SP Flash Tool, as the communication interface will only be alive for 2 seconds if no data is being sent.
Download SP Flash Tool v3 & v5 – Latest versions:
http://laurentiumihet.ro/technology/download-sp-flash-tool-v3-v5-latest-versions/
TUT found here : http://laurentiumihet.ro/technology...-for-32-64-bit-drivers-installation-tutorial/
cheers​
Lost IMEI Restore
A common problem many face in their phone is loss of IMEI no. This is results in no network detection by your phone. U can come to know you have lost your IMEI by checking Settings->About phone->Phone information. There under IMEI section you won’t be finding your mobile IMEI numbers displayed.
Don’t worry you can restore your IMEI’s. Just follow this guide and you will be able to restore your IMEI. I will split the tutorial into two parts.
BACKING IMEI :
-First step before performing all these things is that your phone should be rooted.
When your phone is in normal state with everything functioning install Root explorer and navigate to the below location
Code:
>ROOT>DATA>NVRAM>MD>NVRAM>NVD_IMEI>MP0B_001
-Now copy this MP0b_001 file to your SD card or PC whichever place you feel the file we be safer.
-Now download MTK Droid tools .
-Now extract the zip file and open the MTK droid tools exe file.
-Now in your phone turn on USB Debugging by going to Settings->About phone-> Developer options and there turn on USB debugging.
-Now connect your phone and MTK droid tools should be able to detect your phone. U should see a window like this appearing after your
phone has been detected.
-Now press the ROOT button present in lower right corner. When it asks Supersu grant in your mobile click allow. After MTK droid gets
access u should see a green colour box appearing in the lower left corner which means u have correctly granted access to MTK droid.
-Now click on the IMEI/Nvram tab. A window should open and click backup NVRAM and MTK droid tools would take a backup of NVram in
its folder.
RESTORING IMEI :
-Now when you lose IMEI first try this method. Now take the MPDB_001 file which you took backup at the first step and navigate through
Root explorer to this location ->ROOT->DATA->NVRAM->MD->NVRAM->NVD_IMEI.
-Now paste that file and replace the one present there. Set the permissions for that file as RWER-ER-E. Now reboot your phone and you
should be able to get your IMEI back.
If you still haven’t got IMEI open MTK droid tools and connect your phone and press ROOT again and give MTK droid tools root access.
-Now click on IMEI/Nvram tab and select Restore option and restore the NVram backup which you took earlier. Now reboot your phone and
you should be able to get your IMEI.
Extreme method :
-After performing all the above if you haven’t still got IMEI. Now switch off your phone and open SP Tools and connect your phone.
Click on format and format your whole phone. ( This wipes whole of the phone including NVram region ).
-Now flash stock ROM through SP Tools and after it completes start up your phone. ( Don’t be surprised. Your IMEI will still be in lost state
only ). Now root your phone.
-After successful rooting now connect your phone to MTK Droid tools and again press ROOT button and grant root access to MTK Droid
tools. Now click on IMEI/NVram tab.
-Now as you see in the image above you can see two boxes IMEI1 and IMEI 2. Now enter your device IMEI numbers manually in those two
boxes.( You can get your IMEI no’s from your phone box ). Now click replace IMEI. Now reboot your phone and you should be definitely able
to get your IMEI restored.
MTK DROID TOOLS LINK : https://www.androidfilehost.com/?fid=24438995911972546
found: http://www.androiddevs.net/restoring-lost-imei-mtk-phone/​
MTK droid tool doesn't recognize my device. I turned on USB debugging and drivers are installed. Can somebody help ?
I'm having same issue here on Win10 installed the drivers etc... using latest SP Tools plug phone in and try and put recovery as a download nothing happens.
EDIT: Nvm got it working realised I was downloading and plugging in the phone in the wrong order.
Windows defender says MTK Vcom Preloader Driver 2.0 has got a trojan: Win32/Spursint.A!cl but i downloaded drivers from http://spflashtool.com/ instead.
False warning?
/#LOUDmouth#
#LOUDmouth# said:
Windows defender says MTK Vcom Preloader Driver 2.0 has got a trojan: Win32/Spursint.A!cl but i downloaded drivers from http://spflashtool.com/ instead.
False warning?
/#LOUDmouth#
Click to expand...
Click to collapse
False positive
kopasz93 said:
MTK droid tool doesn't recognize my device. I turned on USB debugging and drivers are installed. Can somebody help ?
Click to expand...
Click to collapse
I have a solution for restoring IMEI:
In the dialer: *#*#3646633#*#*
OR
download "MTK engineering mode" app and start it
it will open engineering mode:
1/ go to "Connectivity" tab
2/ go to "CDS information"
3/ go to "Radio information"
4/ then select "Phone 1"
5/ At the top there is a command line "AT+" in it
6/ type AT+EGMR=1,7,"your imei number" (for example: AT+EGMR=1,7,"012345678901234")
7/ then hit "Send at command" (if you got error try to put space between "AT" and "+")
8/ go to "Phone 2" and type in the command line: AT+EGMR=1,10,"your imei"
9/ hit "send at command"
10/ restart your phone and it should work
You can check if it changed at Settings -> About Phone -> Status -> IMEI information
If your forgot your original IMEI numbers you can find them on the box of the phone
MTK droid tool recognizes my phone, but do not get the green button so root error. Granted permission in supersu.
If anyone is still struggling (like me) with the error: Initializing scatter file failed. Please check the name of the scatter which you load is legal
i solved by using SP Flash Tool 5.1552.00.000 downloaded from
https://mega.nz/#!ixdnhDLK!oOaAsJrcvJI0vH3fTsUOYjtDxQ_HT61E-_iuo6fTuKk
as specified in elephone forum flashing guide
http://bbs.elephone.hk/thread-1037-1-1.html#.VWgkX_RAU-0
Use latest v5.162 version
Gesendet von meinem P9000 mit Tapatalk
Linux way?
Is there a way to root my brand new P9000 in Linux?
I flashed the linked SuperSU 2.46 with TWRP but when i start the SuperSU App it says that there is no su-file installed - any ideas?
sundawn said:
I flashed the linked SuperSU 2.46 with TWRP but when i start the SuperSU App it says that there is no su-file installed - any ideas?
Click to expand...
Click to collapse
Why on earth are you using such an old version of SuperSU?
You are probably using TWRP 3.0.0 which does not work on newer ROM versions. Try flashing TWRP 3.0.2-1.
Well i used it because it is said to work in this tutorial
The newer one didnt work either, as you said i think its the TWRP 3.0.0
I would like to download this http://www.needrom.com/download/twrp-3-0-2-1-4/
but i dont get any registration mails, tried to register with 2 different emails half an hour ago...
The version here on XDA is said to be only for P9000 Lite.
Edit: Ok got my login by using the forgot password function - the linked TWRP 3.0.2 and installing SuperSU 2.65 works.
Thanks!
also would like to know, can we fastboot the recovery as per all the other android phones i've used? And then custom ROM to our hearts content?
n1ck75 said:
also would like to know, can we fastboot the recovery as per all the other android phones i've used? And then custom ROM to our hearts content?
Click to expand...
Click to collapse
Yes. In Settings / developersettings enable oem. unlock Bootloader.
Then reboot to Recovery and go to power/ reboot to fastboot.
Then Unlock your Bootloader with the fastboot oem Unlock command.
After that you can use fastboot.
P.s: i didnt did that. But it should work
Gesendet von meinem P9000 mit Tapatalk
skeleton1911 said:
Yes. In Settings / developersettings enable oem. unlock Bootloader.
Then reboot to Recovery and go to power/ reboot to fastboot.
Then Unlock your Bootloader with the fastboot oem Unlock command.
After that you can use fastboot.
P.s: i didnt did that. But it should work
Gesendet von meinem P9000 mit Tapatalk
Click to expand...
Click to collapse
Thanks for the prompt reply;
Have got to the fastboot oem unlock part, gives option for
Vol Up - Unlock
Vol Down - Cancel
Vol Up doesn't work? Can only Vol Down

[guide] repair hard bricked devices with deleted bootloader (sboot)

I'm writing this in android development section because this is only section for both models, i hope this is not a problem.
Also i want to say thanks to sataccount from gsmhosting, he found working map at the end.
This guide is for hard bricked phones, where bootloader is destroyed and there is no any tools which recognize phone.
When you connect phones without bootloader Windows detects them as exynos7420 in other devices in device manager.
All this is achieved using trial/error method and I still don't know real sboot map and where is what in sboot.bin.
What i found till now is that sboot consist from this parts:
1. fwbl1 bl1
2. bl2 bl2
3. el3_mon el3
4. bootloader bootloader
5. tzsw tzsw
I repaired my g925a and have files only for this model, but i will try to explain how to prepair files for any other model.
We have to use same version of bootloader which was previosly in phone, or if you are unsure use latest sboot.bin.
Download tools: http://www.mediafire.com/file/sg5m2ti3k6a63z5/USB_Down_Load_32bit.zip
In folder USB_DownLoad_Tool there is a folder Disk1
Connect phone and hold power button.
Windows will detect exynos7420 device, install Driver:
click manually,
com and lpt ports,
have disk,
point to data1 folder.
Don't run setup from Data1 folder!!!
Now we have to copy
WinDNWApi.dll
WinDNWApi.lib
in:
c:\Program Files\SAMSUNG\Exynos USB Driver\Drivers\
Probably there is no this folder, just create it and copy 2 files.
Don't copy WinDNWApi.dat as it is written in original manual, this file is for older exynos chip and procedure will not work, everything works without this file (it only has maps for 5250 and some other cpu)
Now we have to create boot files.
Download sboot.bin for your device, as i wrote best to find same bootloader which was in device before brick.
In some hex editor create 4 files (i'm using frhed, just click copy, enter offset, new file, paste, save and over again for all four files) with this map (again thanks to sataccount):
Novi1.bin 0..0x1FFF (size 0x2000 or 8192 )
Novi_2.bin 0x2000..0x31FFF (size 0x30000 or 196608)
Novi_3.bin 0x32000..0x3dfff (size 0xC000 or 49152)
Novi4.bin 0x3E000..10EFFF (size 0xD1000 or 856064)
This is all without tzsw. If phone still does not enter to odin mod, make last file from 0x3E000 to the end of the file (18F10F) and try again.
Start multiuploader.exe
Connect phone and hold power button.
Browse and find SH-usb-booting.cfg (in attached file proba folder, that is where you will probably prepare all boot files)
click start and phone will enter odin mode.
Start odin and flash sboot and everything else.
First of all thanx this is a real sharing is caring thing.I'm seeing a way to downgrade bootloader here as tzsw gets separated well this can be done by daring dev who can take risks.
I'm not sure about downgrading.
When i tried to repair my phone, first i tried with 5.1 sboot (eng and normal). It hangs on second file. It checks somethings before start to load real bootloader. Maybe to fill whole device with zeros with dd command (deleting pit can be enough, but also maybe it ignores PIT and read some specific bytes on sda) and then restoring phone as it is just builded in factory. Of course first to make backup of EFS etc...
Even with downgraded sboot, i'm not sure can we use 6.0 and 7.0 roms?
Best way is someone with IDA knowledge to find bytes for unlocking and we can write them to sboot with dd if="something" of =/dev/sdb bs=xx count=xy
At least it is now repairable if it is bricked after that
Good find, thanks.
How did you break the bootloader (sboot) anyway?
Dd if=sboot_from_925f of=/dev/block/sdb
I had engineering boot (kernel) with adb root access. And after that phone is dead.
On 925a sboot is on sdb (just sdb without numbers), cm.bin on sdc. Probably same on all variants.
Hi
I'm not sure I understood the hex files creation step.
Start byte : 0
End byte : 0x1FFF
Size : 8192 for Novi1.bin for example
Right ?
Yes, that's it
Just compare with my files if unsure.
OK Thanks
Congrats for this amazing guide
G928c dont know version inside.
I tried 7.0 but tool hang after novi1 transfer.
with android 6 sboot all 4 files transfer succeed but no download mode
if I do 0x3E000 to the end of the file, tool hang after 1st file.
according to customer 7.0 was inside before brick.
ok I tried different 7.0 which take me to on display usb recovery mode.
but phone not detected by pc after reset by keys now phone completely dead.
no exynos mode, no download mode nothing.
PC not sensing phone anymore.
Did you restore exynos mode?
Try to add tzsw ( novi4 should be from 0x3E000 to the end of sboot.bin).
yes I open phone and re-insert battery. Now exynos mode.
(novi4 should be from 0x3E000 to the end of sboot.bin) give me USB Recovery Mode. but as previous post no detection.
do sboot contain tzsw ?
if so what is address for tzsw ?
tzsw is from 10F000 to the end of file. But you added it and phone loaded when you made novi4 from 0x3E000 to the end of sboot.bin.
I think it is still problem with different sboot version, it must be same as version previously in phone. Try few more sboot bin.
You don't have to pull out battery, just press volume down and power for more then 20 seconds, it is same like you reinsert battery.
I reconfirmed version form client and he said he is sure about 7.0 version.
this variant have only 3 files of 7.0 and I tried all sboot from 3 available versions.
zogu said:
You don't have to pull out battery, just press volume down and power for more then 20 seconds, it is same like you reinsert battery.
Click to expand...
Click to collapse
yes this is the way but in my condition not reset after 30sec and I feel phone heat too. thats why I decide to open phone.
Phone enter download mode and pc does not detect it, it is really strange, like it hangs after entering mode. Maybe is phone (flash memory) broken?
try with jig cable, maybe this can help, it is only idea i have...
zogu said:
Phone enter download mode and pc does not detect it, it is really strange, like it hangs after entering mode. Maybe is phone (flash memory) broken?
try with jig cable, maybe this can help, it is only idea i have...
Click to expand...
Click to collapse
I also think this can be memory issue.
tried all possible ways but no success.
device returned to customer.
anyways thanks for this guide and your quick response.
:good:
I dd over sdb, BOTA0 BOTA1 RECOVERY CACHE and SYSTEM, am i sol on this one? Phone doesnt get detected by pc. Even tried unplugging the battery. For those curious why...I found out theres a partiton flag set on all of those partitions. Its SYSMAGIC X , X being a number. Lowering that number on the system by dd' ing sda18 and rebooting, results in a fw error, binary 3 device 4. Aka phone thinks system installed is lower then what it really is. I know u cant downgrade the bootloader using your method, but if u dump sdb, and edit the sysmagic line in a hex editor, dd it back. It will now be corrupt, I wonder if you can now downgrade to the version we faked. Anyone care to give it a trytry?
how i open multidownloder it giving massage mfc110u.dll missing when i try to install it said opreating sysytem not supported i have window 7 32 bit sp1 but its not working
jhony352 said:
how i open multidownloder it giving massage mfc110u.dll missing when i try to install it said opreating sysytem not supported i have window 7 32 bit sp1 but its not working
Click to expand...
Click to collapse
It worked for me on win 7 32 bit...
Try to reinstall Visual C++ redistributable 2012
https://www.microsoft.com/en-us/download/details.aspx?id=30679
cfg file for s6 sm-g920p
thx its working
Please can you help me from where i can download cfg file for S6 sm-g920p i have sboot.bin file it is in bin format and this file is not open and work in mfc multidownloader

[GUIDE/TUTORIAL/HOWTO] HTC One M8 Stock to Android 12

[GUIDE/TUTORIAL/HOWTO] HTC One M8 from Stock to Android 12.1 / LineageOS 19.1
[GUIDE/TUTORIAL/HOWTO] HTC One M8 any version (single SIM: m8ul, m8vzw and m8spr or dual SIM: m8dug and m8dwg) stock to Android 12.1 / LineageOS 19.1
This detailed step-by-step guide helps you transform your HTC One M8 (any version) to a powerful one with Android 12.
Make sure you have the One M8 model, in Android, go to Settings > About phone and check the model.
CHANGELOG
v6. Moved to Android 12
v5. Moved to Android 11, improve readability, update pack
v4. Prepare for Android 11, Updated pack with latest TWRP
v3. Updated pack with latest Magisk
v2.1. Drop ADB 15 sec installer and use latest adb and fastboot.
v2. Update pack and tutorial for TWRP 3.4.0-1
v1. Initial release
1) DOWNLOAD
- djibe HTC One M8 pack (~40 Mo) : https://bit.ly/djibe-onem8-pack
(includes HTC USB Drivers, recovery TWRP 3.6.1_9-0 for all m8, Magisk Root, adb & fastboot.exe).
Unzip the djibe folder from the zip on root folder of C:\ drive.
- ROM Unofficial LineageOS 19.1: https://forum.xda-developers.com/t/rom-12l-unofficial-m8-m8d-lineageos-19-1-stable.4464733/
Download latest build here (compatible with all M8 signel/double SIMs variants): https://www.androidfilehost.com/?w=files&flid=334966&sort_by=date&sort_dir=DESC
# M8 GPe partition layout is no longer supported. The device must first be converted to Sense firmware, otherwise installation will fail.
# Android 13 is incoming
+ MindTheGApps ARM 12.1: https://androidfilehost.com/?w=files&flid=322935&sort_by=date&sort_dir=DESC
+ Charge phone to 100%
+ MicroSD card formatted in FAT32
+ Copy ROM + Google Apps + both Magisk files on microSD card. Insert it in phone.
WARNING. This tutorial uses Microsoft Windows.
WARNING. Warranty is now void.
WARNING. Read carefully the sentences starting with ###.
2) BACKUP DATA AND INSTALL DRIVERS
Disable Antivirus.
Install drivers from my pack:
right click on HTCDriver.exe > click on Run as administrator and continue the setup.
Connect HTC One (while phone on) to PC, let drivers install.
In Windows explorer, HTC One should be available.
### If not make sure phone connection is in File transfer mode (see Android notifications).
### Phone is still not visible in Windows Explorer ? See fix at end of tutorial.
Collect all personal photos, videos, etc ... and backup these on PC.
Use an app like Backupyourmobile/SMS Backup & Resotre to backup texts, contacts, etc.
Check that backup is located on microSD card.
Then copy the backup on your PC.
Disconnect phone.
Check that you have the latest official updates.
### If your phone is Simlocked/carrier locked/Network locked, don't go further.
Visit official website of your network carrier (or call their support) to retrieve your desimlock code.
Ask them for details on how to remove simlock.
How do I know my phone is simlocked ? When you insert a SIM card from another operator, network is inaccessible.
Only a stock ROM can remove simlock.
To go back from custom ROM to stock, see dedicated section at the end of tutorial.
3) UNLOCK BOOTLOADER
In Android, go to Settings > About > Software information > More.
Tap 7 times on Build number. It unlocks Developer options.
Go back to the About menu, you can see the new Developer options menu.
Tap on it, accept the warning.
Toggle on the USB debugging option.
Connect phone, a message appears on phone : Allow USB debugging?
check Always allow and confirm by tapping on OK.
Now, open a Windows command on my "flash" folder (hold Shift + right click on folder -> Open a windows command here).
### Then navigate to my flash folder (if it is on desktop) with this command :
Code:
cd /d C:\djibe\flash
Enter command :
Code:
adb devices
, confirm by pressing Enter.
Command returns :
Code:
List of devices attached
HT35****** device
### If no device is found, uninstall and reinstall properly the drivers while antivirus is off. Or see fix at the end of this tuto.
### Or start fresh on another PC.
Now type :
Code:
adb reboot bootloader
Phone restarts in Fastboot mode. Wait till phone screen is blank in fastboot mode.
Type:
Code:
fastboot devices
Command returns :
Code:
HT35**** fastboot
### You may have to fix drivers again (see fix at the end of tuto)
Type:
Code:
fastboot getvar all
Bootloader must be in version 3.19 (Thx @sterphles)
Type:
Code:
fastboot oem get_identifier_token
, confirm by pressing Enter.
Command returns multiple lines.
Select with your mouse all the lines from
Code:
<<<< Identifier Token Start >>>>
(included)
to the line
Code:
<<<<< Identifier token end >>>>>
(included).
Now on keyboard copy (Ctrl + C combo), then open Notepad.
In Notepad, paste those lines (Ctrl + V combo).
Now manually remove all the (bootloader) strings from each line.
Your notepad should now look like this :
<<<< Identifier Token Start >>>>
37A5DBF4FE5F0D9F4425E54AA91AFDBF
2A20E9C67C3BB4FAE60263F76BDEC6AC
847BF9FFB11DAEA4AB88AC8710435449
9BC12E93DF4C54FFE3D064C4C810C49A
2CDAF2E0CD3A164FED4A568CB0FD2AC6
C01AA991733D949C00987062D691DE91
8AA1C97CEBC3ACE83FECE75A1D03CE72
62414C7DC36A73AFCBF433E1EBE2EDC7
E272F73309632D3EF8C86E472B65E8EF
37E46B52FE3F94FC69D1854CA3DE6F48
C3E10001B233A70B1EAF35134F51FCC6
353E0CC98534E6E60A241A7063D0BE2F
A5B752E75C1C47E6F739BDBE67D024DA
3292A14278247557632639802722A86C
E61424F7666AE085AA9905096FEED1AD
5ECBBD867544E95ABDDA277690B8CB55
<<<<< Identifier Token End >>>>>
Now visit this website : https://www.htcdev.com/bootloader/
Register on the site. Confirm registration with your email.
In the select menu, chose HTC One (M8), click Begin unlock Bootloader button.
Agree to legal terms.
Next page, go to the bottom and click continue to step 5.
In the bottom of this page, in the lower textarea "My Device Identifier Token",
copy and paste the multiple lines you just edited (my example is just above).
Click Submit.
HTC tells you : Token Submitted Successfully.
Open your mailbox (associated to your HTC account).
Copy the Unlock_code.bin file attached to email in my "flash" folder you unzipped.
In Windows command, type :
Code:
fastboot flash unlocktoken Unlock_code.bin
, confirm with Enter.
Command should return :
Code:
unlock token check successfully
Back to phone, press Volume+ to select "Yes, unlock bootloader", then Power button to confirm flash.
Now wait while phone is going to Factory reset.
Don't let Android restart by holding both Power + Volume- to enter bootloader immediately.
FASTBOOT menu is overlined in red.
4) FLASH TWRP RECOVERY
Using the same Windows command prompt, enter :
Code:
fastboot devices
to make sure phone is still available.
Then
Code:
fastboot flash recovery twrp-3.6.1_9-0-m8.img
Command returns :
Code:
finished. total time: x.xxxxs
Now on phone, press Volume- to highlight HBOOT, confirm with Power button.
You are back to the booloader screen (UNLOCKED is written on top line), press Volume- to navigate to RECOVERY, and confirm with Power button.
Phone reboots in TWRP recovery.
5) BACKUP STOCK SYSTEM
In TWRP, check Never show this screen and Swipe to Allow Modifications.
You land on TWRP Home screen.
Always make a backup of your stock system. We never know when a weird bug will decapitate the system.
Go to Backup menu, select all partitions and Backup to microSD card.
Backup the generated TWRP folder content from your microSD card to PC.
6) WIPE PARTITIONS
Back to Home menu, go to Wipe > Advanced wipe.
Select Dalvik / ART Cache, Cache, System, Data, Internal Storage then Swipe to Wipe, go back to Wipe menu.
### Don't wipe SDcard
7) FLASH ROM, ROOT/MAGISK AND GAPPS
Back to Home screen, tap on Install > choose lineage*.zip,
(if you don't see the files, tap on Select Storage and make sure Micro SDCard is active)
then Add more Zips -> Magisk*.zip,
then Add more Zips -> mindthegapps*.zip,
then Swipe to confirm Flash.
Wait for operation to end (can be long).
When completed successfully, tap on Reboot.
Tap on Do not install when TWRP asks for the app install.
Wait during long first boot.
Setup Android.
8) You can use Backupyourmobile to restore data,
use GPS Status & Toolbox app to enhance GPS fix.
That's it.
Enjoy,
djibe
THANKS to TWRP team, LineageOS team, tarkzim, ckpv5, alray, , Flyhalf205, icxj1, R1ghtC, gimmeitorilltell, All M8 contributors.
##################################################
A) Fastboot devices doesn't show any device connected
Install HTC USB drivers
Reboot PC
Open Windows Device Manager (Windows + R shortcut on keyboard > devmgmt.msc > hit Enter)
Search for phone at Other devices submenu > Device is named Android 1.0 or My_HTC
### If it is My_HTC > select it > right click > Uninstall. Disconnect phone. Reconnect phone. Now recognised as Android 1.0.
Select device Android 1.0 > right click > Update Driver
Search locally for driver > Show a list
Select ASUS Android Device.
Manufacturer: select Google, Inc. and set driver to Android Bootloader Interface
Confirm install.
B) Go back to stock from a custom ROM with a HTC One M8
- Either restore your TWRP backup with TWRP recovery
- Or restore a community TWRP backup with TWRP recovery (https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860 see posts 2 & 3)
### With S-ON and keep device Unlocked
To find suitable backup for device, boot phone in Bootloader mode (Power + Volume-)
Look at your hboot version (hboot 3.19.0000 is most frequent)
Launch a fastboot command:
Code:
fastboot getvar all
Make sure IMEI is a valid number.
Look at your CID and MID values. Try to find exact same TWRP backups for your phone.
### Flash only exact model versions.
Then wipe all partitions and restore the correct TWRP backup an angel made for you.
- If TWRP restore fails, start with these posts :
You will need a Rom Update Utility (RUU) for your exact model version.
This is compatible with S-ON, will need to relock your Bootloader (save your Unlock_code.bin +++) and need original recovery
https://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
https://forum.xda-developers.com/htc-one-m8/general/guide-restore-european-htc-one-m8-to-t3072235
C) No IMEI visible and no cellphone network detected with HTC One M8
Composing *#06# shows an empty IMEI dialog window.
or Settings > About phone > IMEI. IMEI: Unknown, IMEI SV: Unknown
Refer to B) tutorial to get back to stock.
Tuto updated for latest TWRP recovery
Please remove the 15 second adb. The OP of adb 15 second states in his post that it's outdated and should not be used.
Never_Sm1le said:
Please remove the 15 second adb. The OP of adb 15 second states in his post that it's outdated and should not be used.
Click to expand...
Click to collapse
Very nice !
Thx, pack and tutorial updated.
Can I use this guide for my m8wl?
And if it's possible, which of the two builds should I download?
Alexcxvtr said:
Can I use this guide for my m8wl?
And if it's possible, which of the two builds should I download?
Click to expand...
Click to collapse
Hi, look at this first: http://droider.eu/2014/09/20/htc-one-m8-models/
Then pick the correct ROM.
Thank you .I did it by following your guide.
murphylim said:
Thank you .I did it by following your guide.
Click to expand...
Click to collapse
Thanks, it is always encouraging to have support.
Still a good phone
Hi, I updated pack with latest Magisk root version and checked download links.
For Windows 10 users, use HTC drivers version v4.17.0.001 - Download them from here - Zippyshare.com - HTC Mobile Driver v4.17.0.001.exe
Everything else works just fine. @djibe89 thank you.
hymnz said:
For Windows 10 users, use HTC drivers version v4.17.0.001 - Download them from here - Zippyshare.com - HTC Mobile Driver v4.17.0.001.exe
Everything else works just fine. @djibe89 thank you.
Click to expand...
Click to collapse
Hi, thanks for feedback.
Drivers 4.2.0.001 didn't work ?
djibe89 said:
Hi, thanks for feedback.
Drivers 4.2.0.001 didn't work ?
Click to expand...
Click to collapse
No. Not on Windows 10.
djibe89 said:
Now type :
Code:
adb reboot bootloader
Phone restarts in Fastboot mode. Wait till phone screen is blank in fastboot mode.
Type :
Code:
fastboot devices
Command returns :
Code:
HT35**** fastboot
### You may have to fix drivers again (see fix at the end of tuto)
Click to expand...
Click to collapse
Hi,
I'm at the stage of trying to unlock the bootloader. The phone restarts in fastboot mode but when i type in fastboot devices nothing happens.
and then if i skip that and type get_identifier_token. the return is waiting for any devices. and nothing happens.
What have I missed?
Thanks
i've since been able to get past this stage. I used htc driver 4.17. I'm now stuck on the token. cmd prompt keeps saying cannot load the file no such file or directory. but i'm so sure i have the file in the right folder
juggled_balls said:
Hi,
I'm at the stage of trying to unlock the bootloader. The phone restarts in fastboot mode but when i type in fastboot devices nothing happens.
and then if i skip that and type get_identifier_token. the return is waiting for any devices. and nothing happens.
What have I missed?
Thanks
i've since been able to get past this stage. I used htc driver 4.17. I'm now stuck on the token. cmd prompt keeps saying cannot load the file no such file or directory. but i'm so sure i have the file in the right folder
Click to expand...
Click to collapse
Hi, when
Code:
fastboot devices
doesn't return anything, it means there is an USB driver problem.
You'll have to try to fix from Windows Device Manager.
hymnz said:
No. Not on Windows 10.
Click to expand...
Click to collapse
Hi, the Driver installer from my pack (HTCDriver_4.2.0.001) sends an error during install, but then drivers finally install.
djibe89 said:
Hi, when
Code:
fastboot devices
doesn't return anything, it means there is an USB driver problem.
You'll have to try to fix from Windows Device Manager.
Click to expand...
Click to collapse
Thanks for your work. I managed to plod my way through everything and get it working. Very happy the old phone can keep going on.
juggled_balls said:
Thanks for your work. I managed to plod my way through everything and get it working. Very happy the old phone can keep going on.
Click to expand...
Click to collapse
Awesome !
Enjoy
Hi, tutorial and pack updated for Android 11
thx for the guide!
seamonkey420 said:
thx for the guide!
Click to expand...
Click to collapse
Hi, glad you liked it !
Enjoy your phone

[GUIDE/TUTORIAL/HOWTO] Sony Xperia SP stock to Android 10

[GUIDE/TUTORIAL/HOWTO] Sony Xperia SP stock to Android 10
[GUIDE/TUTORIAL/HOWTO] Sony Xperia SP (C5303 or huashan) to Android 10 Q / LineageOS 17.1
This detailed step-by-step guide helps you transform your Sony Xperia SP to a powerful one with Android 10 Q.
To make sure you are with a Xperia SP / C5303 / huashan:
On the smartphone, go to Settings > About phone. Check that the "Model number" is correct : C5303.
Just below note the "Android version". It must be 4.3.
### We need to make sure Bootloader can be unlocked before going further.
Open dialer, enter code
Code:
*#*#7378423#*#*
In the follow menu, go to Service info > Configuration > Rooting status.
Bootloader unlock allowed: Yes
If it is set on No, you cannot update your device. You can quit this tutorial and cry, you will never unlock it.
### You must be logged as a Microsoft Windows administrator to run console commands below.
### When you lose control of your Xperia SP, hold Power + Volume+ until tab restarts.
CHANGELOG -------------------
v1. Initial release
1) DOWNLOAD FILES
- djibe Xperia SP pack (~ MB): http://bit.ly/djibe-xperiasp-pack
(contains FlashTool Xperia Driver Pack 1.8 for USB drivers + fastboot + recovery TWRP 3.4.0-0 + flashable TWRP 3.4 + Magisk root + Smartpack Kernel Manager)
+ ROM LineageOS 17.1 https://forum.xda-developers.com/xperia-sp/orig-development/rom-lineageos-17-1-xperia-sp-t4147075
Download latest build: https://mega.nz/folder/r11xAbSL#Lwt5FOvHpV1POu_3OHU6Uw
+ OpenGApps ARM 10 Pico: https://opengapps.org/?arch=arm&api=10.0&variant=pico
+ Charge phone to 100 %.
NB. Use a USB2 port to connect tablet to PC.
2) INSTALL DRIVERS
Commands below are for Windows 10 installation of unsigned drivers.
### For other Windows versions, Google "windows X install unsigned driver".
On the keyboard of PC, use "Windows key + R" combo.
In the command prompt that opens, type:
Code:
shutdown -r -t 0 -o
This opens a Windows menu:
Go to Troubleshooting > Advanced Options > Settings > Restart
Upon restart, press on keyboard : key 7 - Disables drivers signature verification
After boot,
Start Flashtool Xperia Driver Pack 1.8,
check the Flashmode Drivers, Fastboot drivers, Common drivers Viskan board, start the installation and confirm the
forcing the driver installation. It ends by saying that everything was installed.
Restart Windows.
2bis, optionnal, FOR WARRANTY PURPOSE) Backup bootloader
Cannot help you precisely, didn't know about it at the time.
- Root. Follow Bin4ry root : http://forum.xda-developers.com/showthread.php?t=1886460
Download : http://forum.xda-developers.com/showthread.php?t=1886460
- Then Backup TA. https://github.com/DevShaft/Backup-TA
Unzip it in C:\
Make sure partition is saved.
3) BACKUP ALL YOUR DATA
Backup every SMS, photo, app login or sync everything in the cloud.
You will lose everything, including what is contained in the microSD card during bootloader unlock.
So backup everything and transfer every file to your computer.
### Do it now or you will regret it.
4) IMEI NUMBER AND UPDATES
On phone, go to Settings > About phone > Status > IMEI
Note the IMEI (15 digits). Store it.
If your Android version is lower than 4.3 (refer to beginning of tutorial),
connect to your Wifi network,
go to Settings > About phone > Software update > System.
5) MAKE SURE PHONE IS NOT SIMLOCKED
We need to check phone is not SIMlocked.
Open dialer, enter code again
Code:
*#*#7378423#*#*
Go to Service info > SIM lock. If everything is blank/unchecked ( [] ), phone is Desimlocked.
If not, you must contact your network provider for an unlock code.
### Don't move further until phone is simlocked. You cannot debrand/desimlock it using a custom ROM.
6) GENERATE BOOTLOADER UNLOCK CODE
From your PC, go to https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/
At the bottom of the page, in "Select your device:" menu: select Xperia SP.
Enter your IMEI, check first 2 checkboxes "I acknowledge that", click Submit and complete the captcha to generate unlock key.
Note the unlock code (beginning and end of page paragraph C.)
7) CONNECT PHONE IN FASTBOOT MODE
Phone powered off, hold "Volume up" while you plug phone in USB.
The blue light appears at the front bottom edge, the drivers install in Windows.
8) UNLOCK BOOTLOADER
In Windows, copy the path to the "flash" folder you unziped earlier.
Open a Windows command prompt : Start menu > Command prompt > Start as administrator
Then type
Code:
cd /d thePathToFlashFolder
(ex: E:\root\djibe Sony Xperia SP\flash)
Type:
Code:
fastboot getvar version
If "version: 0.5" is returned, drivers are correctly installed.
Create this text: fastboot -i 0x0fce oem unlock 0xAPPENDYOURUNLOCKCODE
Paste the previous line in windows command:
Code:
fastboot -i 0x0fce oem unlock 0xYOURUNLOCKKEY
confirm with Enter. After 5 seconds, it is displayed Finished. Total time: ...
Bootloader is unlocked !
9) FLASH TWRP RECOVERY 3.4
Still in fastboot, type in console :
Code:
fastboot flash boot twrp-3.4.0-0-huashan.img
. Confirm with Enter.
Wait, then once the confirmed success,
type :
Code:
fastboot reboot
(confirm with Enter).
AND while it restarts, repeatedly click Volume+ AND Volume- buttons to access the recovery (can take a while).
Leave phone connected to PC.
10) BACKUP CURRENT ROM AND USE TWRP RECOVERY
You are now in TWRP recovery,
check Never show this screen during boot again and Swipe to Allow modifications.
Go to Backup, select all partitions.
Tap on Select Storage > select Internal Storage and confirm with OK.
Then swipe to start backup.
Click the TWRP icon to return to home.
Go to Mount. Select Data partition and make sure bottom right button is dsiplaying Disable MTP text.
Phone must be connected to computer.
In Windows Explorer, open Xperia SP device > Internal Storage.
Copy whole TWRP folder and save it somewhere safe on your PC.
Copy twrp-3.4.0-20200808-fota-huashan.zip in your Internal storage folder.
11) INSTALL A PERMANENT TWRP RECOVERY
The TWRP recovery you are using is temporary.
We need to flash it on a partition.
Back to TWRP home menu > Install > tap on twrp-3.4.0-20200808-fota-huashan.zip and Swipe to confirm flash.
12) FORMAT PARTITIONS
### Last warning before losing all your Data. Backup
Go back to Home menu.
Go to Wipe > Data Format, type yes and click OK.
Go Wipe > Wipe Advanced > Select Cache, Data and swipe to confirm flash.
Still from Windows Explorer, copy ROM + OpenGapps + Magisk on phone.
13) INSTALL ROM AND GOOGLE APPS
Still under TWRP home menu.
Go to Install > select lineage*.zip.
### If no file is visible, click Storage > select Internal Storage.
### If you get an error and flash fails, go to Reboot > Recovery and wait for TWRP to reboot.
Add more zip > OpenGapps*.zip file
Swype to confirm flash.
Wait while Install Zips are flashed.
At the end, select Wipe Dalvik and cache, Do not install TWRP app and then Reboot system.
Wait during long first boot.
Enhoy your new phone.
14) ROOT
Magisk grants you superuser privileges from boot.
No extra Root manipulation needed.
Configure Android as you like.
14) OVERCLOCK (optionnal)
Open built-in Files app.
Open microSD folder.
Install Smartpack Kernel Manager app from my pack.
Launch app and grant root access.
Go to CPU menu > Apply on boot, CPU Maximum Frequency 1728 MHz
13) Others
For faster GPS fix, use GPS Status and Toolbox and downlaod A-GPS data.
Your tablet is a rocket, enjoy
Thanks: LineageOS team, TWRP team, OpenGApps team, Flashtool Xperia Driver pack team, @CaHbKaUp, @CyberWalkMaN, @AdrianDC, Chippa_a, @Rootk1t
I respect your diligence. :good:
You have already created 17 guides of this type.
The devil is in the details.
Do you have all these 17 devices and have gone through step by step or have you created the guides based on the information collected from the XDA?
.
Hi @ze7zez.
Good question !
I started with my own Nexus One. It was horrible, XDA is not for mega noobs.
It then took me one whole week to flash Asus transformer Prime from my brother-in-law. Then I started writing detailed tuto for Android.
I hacked my parents phones and mine. But I had too few devices in my hands.
So recently I discovered my tutorials were read by 500.000+ users, so I think it is useful.
Now I buy second hands phones, 36€ for this Xperia SP (the first one was 30€ and Bootloader unlockable )
It took me the day (today) to write this tuto. I made screenshots for the first time and will publish it on ifixit.
I gonna sell both Xperia SP and I want a Nexus 4 now
Need some guidance
Hi, I am coming back to this device after almost 6 years. I was well versed in flashing ROMs etc then but I seem to have lost most of that knowledge now. Last I used this device, I had already rooted it, unlocked bootloader, IIRC changed the kernel, put a custom ROM "CM 11-20150901-SNAPSHOT......." As I recall I also installed both TWRP and CWM recoveries, made a backup of Stock ROM. The thing is I remember having issues with booting into either recovery which I some how corrected, but it again started giving me problems. Right now I can't boot into either of the recovery with either Power+Volume UP/Down, after the Sony logo the screen just remains black. I have to restart the phone with restart button in the back panel. Can you please guide me as to how to proceed. I want to get to this latest build but I can't even get into recovery. Thanks in advance.
Hi @shalabhvickysom, you can activate Developer Options > then Android Debug Bridge ADB.
Then use a computer and a terminal: adb reboot bootloader or adb reboot recovery.
Keep us informed.
Hi @shalabhvickysom, you can activate Developer Options > then Android Debug Bridge ADB.
Then use a computer and a terminal: adb reboot bootloader or adb reboot recovery.
Keep us informed.

Categories

Resources