• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[GUIDE][ALE-L21][ALE-L02] Debrand, upgrade, downgrade and/or convert to dualsim

Search This thread

dennyn

Senior Member
Jan 26, 2016
54
56
Maribor
----------------------------------------------------
I'm kinda busy at my life and won't be able to answer your questions...you can still ask here and hope someone else will reply, or post at the other similar thread - MEGA-THREAD ALE-L21, ALE-L23, ALE-L02, Converting, Root, Unbrick, Updating, Xposed
----------------------------------------------------


Debranding is easy once you find infos how to do it...sadly there's nothing in english. I used a combination of Google Translate + some spanish/italian/polish sites and howto's for other Huawei models to convert my branded single sim ALE-L21 from C150B130 to dual sim C432B188.

Here's how i did it...proceed at your own risk. Don't forget to make a backup because you'll lose your data. Also, your warranty will be void.

Please look at the Q&A section at end of the post; feel free to ask me if something isn't answered, but be prepared for an answer like "flash it again" because that's my first Huawei phone and i own it just for a week...i'm more of a Google Nexus guy.

----------------------------------------------------
Part 1: Unlocking bootloader
Stuff you'll need:
- Model number inside "Settings > About phone"
- Serial number inside "Settings > About phone > Status"
- IMEI inside "Settings > About phone > Status" (write down the first one if you have two of them)
- Product ID by opening dialer and typing *#*#1357946#*#*
- "Updated Step by Step guide to Root P8 lite.pdf" file - http://forum.xda-developers.com/p8lite/general/step-step-guide-to-unlock-bootloader-t3150616
- Minimal ADB and Fastboot from unlocking bootloader pdf

First you'll need to get your bootloader unlocking code:
1. Go to http://emui.huawei.com/en/plugin.php?id=hwdownload&mod=list and click "Unlock Bootloader"
2. Register a Huawei ID account, repeat step 1, login and click "Unlock Bootloader" again; accept the terms and click Next
3. Enter your phone data and Press Submit; wait a little for the code to show up and save it somewhere safe in case you'll need it someday

Then you'll need to unlock your bootloader:
1. Open "Updated Step by Step guide to Root P8 lite.pdf" and do just step B

Like i said many times in replies/pm's - if you didn't do anything of this, your bootloader is still locked. Doesn't matter if it says unlocked.

-----------------------------------------
Want to go back from 6.0 to 5.01? Read Q&A first, there's a special procedure for that. If you do it directly, you'll lose your imei!
Part 2: Flashing the unbranded firmware
Stuff you'll need:
- Minimal ADB and Fastboot from last part
- C432B132 Europe dual sim firmware - http://carbontesla.com/2015/09/download-huawei-p8-lite-b132-firmware-dual-sim
- Huawei Update Extractor - http://forum.xda-developers.com/showthread.php?t=2433454

First we need to get img files out of Huawei's update.app:
1. Extract the firmware; you should have a folder with dload and CUSTOM
2. Open Huawei Update Extractor as administrator (otherwise you won't be able to extract directly into adb folder), browse (button with two dots) to dload folder from step 1 and open UPDATE.APP
3. Hold Ctrl and select BOOT.IMG, CUST.IMG, RECOVERY.IMG and SYSTEM.IMG; release Ctrl, right click on any marked file, click "Extract Selected" and find your ADB folder (should be "C:\Program Files (x86)\Minimal ADB and Fastboot" or "C:\Program Files\Minimal ADB and Fastboot")

Now the most fun and...ehm...most "dangerous" thing - flashing the files:
1. Do B 2, 3, 4, 5, 6 and 7 from unlocking bootloader pdf file (to boot your phone into fastboot mode and get a cmd window with the right starting location)
2. Type:
Code:
fastboot flash system system.img
press enter and wait until finish...it will take some time
Code:
fastboot flash recovery recovery.img
press enter and wait
Code:
fastboot flash boot boot.img
enter and wait again
Code:
fastboot flash cust cust.img
enter and wait
Code:
fastboot reboot
and enter to reboot your phone

You may think that's the end...let me tell you - it's not. Your phone booted into an ugly version of EMUI with funny icons and "Settings > About phone" Build number says BalongC**B*** instead of the flashed ALE-L21C432B132. Let's fix that.

Fixing balong "bug" - this will cause a factory reset...i hope you made a backup:
1. Remember CUSTOM folder from extracted firmware? Copy it on your phone's internal storage or sdcard
2. Rename CUSTOM to dload
3. Run the Updater app, tap Menu, select "Local update", tap UPDATE.APP and wait until it finishes it's work and reboots
4. Go to "Settings > About phone" and check if it says the right build number (should be ALE-L21C432B132); if it's not, repeat the img file flashing process

-----------------------------------------
DON'T OTA if you're rooted!
Part 3: Getting the latest firmware update (B200) via OTA and (optionally) manually updating to MM B560
a. Getting the latest firmware:
1. Open Updater app, tap Check for updates and install it
2. Repeat step 1 until it says No updates; now you should be on B200

b. Update to MM (6.0):
1. Download C432B560
2. Extract it and copy the dload folder on your phone's internal memory or sd card.
3. Run the Updater app, tap Menu, select "Local update", tap UPDATE.APP and wait until it finishes it's work and reboots.
4. Go to "Settings > About phone" and check if it says the right build number (ALE-L21C432B560)

----------------------------------------------------

Q&A:
Q: I have a ALE-L04 or something else. Can i still do what you wrote?
A: Don't even try because you'll brick your phone. ALE-L04 for example got a totally different chipset (Qualcomm Snapdragon 615) than ALE-L21 (HiSilicon Kirin 620).

Q: What's the difference between ALE-L21 and ALE-L02? Will there be any benefits or disadvantages after changing from L02 to L21?
A: L02 doesn't support some LTE frequencies and NFC; detailed specs: ALE-L02, ALE-L21. There will be no benefits or disadvantages after flashing a L21 rom; everything will be the same, except a different model and build number.

Q: Are there any other uses for this, except for debranding and converting to dual sim?
A: Yes, you can basically use it for everything from upgrading and downgrading firmwares, fixing your bricked phone (if you still can access Fastboot mode) and more.

Q: I don't want dual sim. Why should i flash it?
A: Because why not? You get a bonus functionality and you won't lose anything even if you never intend to use it - you can still use just one sim and a sdcard without any problems. Huawei also planned P8lite to be a dual sim phone, so it's possible you'll get updates faster than people with the single sim variant.

Q: I don't live in Europe. Why should i flash that firmware?
A: Well, you can always find an appropriate firmware on carbontesla website, but be prepared you won't be able to fix the balong bug. Only a few firmware packs include the vendor patch (CUSTOM folder).

Q: Huawei Update Extractor gives me errors why i try to extract img's. What should i do?
A: You didn't listen and didn't run it as administrator. One workaround would be extracting the img's somewhere else (for example new folder on desktop) and then copy/paste them into adb folder. Do as you wish.

Q: I get errors when i type "fastboot flash xxxxx xxxxx.img". What should i do?
A: First look if you typed it correctly, then check if you have the right files - BOOT.IMG, CUST.IMG, SYSTEM.IMG and RECOVERY.IMG (there are multiple RECOVERY files, make sure you get the one without any numbers in it's name) and repeat the command. The last resort would be running "fastboot reboot-bootloader" and retrying the command that gives you errors. By the way - if you can't run fastboot at all, then try opening cmd as administrator. If you used KingRoot, read the next question too.

Q: I unlocked the bootloader via KingRoot and i can't flash anything, help?
A: No, you didn't. Do everything from part 1 and you will be able to flash.

Q: I don't like 6.0, how can i go back to 5.01?
A: Read this. After doing everything it said, repeat part 2 and 3a of this guide to get back on B200.

Q: You broke my phone, i will beat/curse/sue you!
A: Ok, that's not a question. Anyways, not my fault, i said you proceed at your own risk.
 
Last edited:

pmp

Senior Member
Jul 12, 2006
146
52
Hi,

Thanks for this guide. I've followed it successfully but I need to make a small remark/alert: When correcting the Balong error, the local update caused a factory reset and my data was lost.
Nothing that a local restore can't solve but it might happen to others as well.

Paulo
 

darklove0

Senior Member
Mar 20, 2015
82
2
Hi,

Thanks for this guide. I've followed it successfully but I need to make a small remark/alert: When correcting the Balong error, the local update caused a factory reset and my data was lost.
Nothing that a local restore can't solve but it might happen to others as well.

Paulo


Fixing balong "bug":
fixed or no ? please answer
 

darklove0

Senior Member
Mar 20, 2015
82
2
1. Extract the firmware; you should have a folder with dload and CUSTOM
I do not understand What CUSTOM
Extract the firmware produces a single file dload no custom
please help:confused::confused:
 

dennyn

Senior Member
Jan 26, 2016
54
56
Maribor
Hi,

Thanks for this guide. I've followed it successfully but I need to make a small remark/alert: When correcting the Balong error, the local update caused a factory reset and my data was lost.
Nothing that a local restore can't solve but it might happen to others as well.

Paulo

Thanks for your input. I'll put it into first post...better to be safe than sorry.
 
  • Like
Reactions: pmp

dennyn

Senior Member
Jan 26, 2016
54
56
Maribor
1. Extract the firmware; you should have a folder with dload and CUSTOM
I do not understand What CUSTOM
Extract the firmware produces a single file dload no custom
please help:confused::confused:

I already replied to your pm and will repeat it here because it will be maybe useful for others too.

Did you download C432B132? When you extract it, there should be something like this:
RkbM72Q.png

If you downloaded any other version, then it's like i said in Q&A...most of the firmwares don't have the vendor patch (CUSTOM folder).
 

darklove0

Senior Member
Mar 20, 2015
82
2
I already replied to your pm and will repeat it here because it will be maybe useful for others too.

Did you download C432B132? When you extract it, there should be something like this:
RkbM72Q.png

If you downloaded any other version, then it's like i said in Q&A...most of the firmwares don't have the vendor patch (CUSTOM folder).
thnx answer
i dawnload Huawei_P8_Lite_ALE-L21_V100R001C432B170_Europe but not folder (CUSTOM or vendor)
i have update for this 6.0
http://forum.xda-developers.com/p8li...allow-t3305550
 

dkonect

Senior Member
Dec 2, 2014
2,176
1,156
Paris
Great threads (and for the p8 lite this thread's was the only one )with real instructions, good and easy to understand.
Thanks for the explanation and for the time you have past for sharing this with the p8 comunity .
 

ken218

Senior Member
Oct 13, 2010
76
47
London
after enabling dual sim support on the UK variant, I was expecting to see the phone returning two unique IMEI numbers when dialing *#06#. However, it only returned one IMEI. Is this correct? Is there a way to make sure two IMEIs are returned?
 

dennyn

Senior Member
Jan 26, 2016
54
56
Maribor
after enabling dual sim support on the UK variant, I was expecting to see the phone returning two unique IMEI numbers when dialing *#06#. However, it only returned one IMEI. Is this correct? Is there a way to make sure two IMEIs are returned?
It (always) shows just one imei after converting from single to dualsim. There shouldn't be any problems while using both sims because the phone is "dualsim standby".
 
  • Like
Reactions: dkonect

dkonect

Senior Member
Dec 2, 2014
2,176
1,156
Paris
Hello, just for help, I have downgrade my two p8 lite from 6.0 to the latest version B190 5.0.1, and I have full wipe and format all (dalvik, cache, system, data, internal storage) with twrp before and like this no need to flash any fix for balong. just B052, B170 and B190 without any trouble.
 

bjkhami

New member
Feb 27, 2016
2
0
I did everything like you said but...

My phone does not read the sim card...
How can i soluve this ??? :(
 

dennyn

Senior Member
Jan 26, 2016
54
56
Maribor
I did everything like you said but...

My phone does not read the sim card...
How can i soluve this ??? :(

Sim1 or sim2? Anyways, try repeating part 2 with B170 (link is inside Q&A section) and then OTA to B188 because sometimes you lose your baseband when flashing older firmwares and OTA usually fixes it.
 

pelukin

Member
Mar 2, 2016
24
4
FAILED (remote: Command not allowed)

When I try to run the command fastboot flash...... I always get the error "FAILED (remote: Command not allowed)" The phone has bootloader unlocked and appears listed when I enter "fastboot devices". Do you know why could I be receiving this error or what can I do to flash manually using fastboot? I had the phone rooted with KingRoot but I unrooted it back. Any help would be very appreciated.
 

dennyn

Senior Member
Jan 26, 2016
54
56
Maribor
When I try to run the command fastboot flash...... I always get the error "FAILED (remote: Command not allowed)" The phone has bootloader unlocked and appears listed when I enter "fastboot devices". Do you know why could I be receiving this error or what can I do to flash manually using fastboot? I had the phone rooted with KingRoot but I unrooted it back. Any help would be very appreciated.
Did you run cmd as administrator? Try relocking and unlocking bootloader again, also try a factory reset.

That error usually appears if you try to flash any locked partition...it shouldnt happen with system, recovery, boot and cust. Let's hope you don't have any hardware problems.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 26
    ----------------------------------------------------
    I'm kinda busy at my life and won't be able to answer your questions...you can still ask here and hope someone else will reply, or post at the other similar thread - MEGA-THREAD ALE-L21, ALE-L23, ALE-L02, Converting, Root, Unbrick, Updating, Xposed
    ----------------------------------------------------


    Debranding is easy once you find infos how to do it...sadly there's nothing in english. I used a combination of Google Translate + some spanish/italian/polish sites and howto's for other Huawei models to convert my branded single sim ALE-L21 from C150B130 to dual sim C432B188.

    Here's how i did it...proceed at your own risk. Don't forget to make a backup because you'll lose your data. Also, your warranty will be void.

    Please look at the Q&A section at end of the post; feel free to ask me if something isn't answered, but be prepared for an answer like "flash it again" because that's my first Huawei phone and i own it just for a week...i'm more of a Google Nexus guy.

    ----------------------------------------------------
    Part 1: Unlocking bootloader
    Stuff you'll need:
    - Model number inside "Settings > About phone"
    - Serial number inside "Settings > About phone > Status"
    - IMEI inside "Settings > About phone > Status" (write down the first one if you have two of them)
    - Product ID by opening dialer and typing *#*#1357946#*#*
    - "Updated Step by Step guide to Root P8 lite.pdf" file - http://forum.xda-developers.com/p8lite/general/step-step-guide-to-unlock-bootloader-t3150616
    - Minimal ADB and Fastboot from unlocking bootloader pdf

    First you'll need to get your bootloader unlocking code:
    1. Go to http://emui.huawei.com/en/plugin.php?id=hwdownload&mod=list and click "Unlock Bootloader"
    2. Register a Huawei ID account, repeat step 1, login and click "Unlock Bootloader" again; accept the terms and click Next
    3. Enter your phone data and Press Submit; wait a little for the code to show up and save it somewhere safe in case you'll need it someday

    Then you'll need to unlock your bootloader:
    1. Open "Updated Step by Step guide to Root P8 lite.pdf" and do just step B

    Like i said many times in replies/pm's - if you didn't do anything of this, your bootloader is still locked. Doesn't matter if it says unlocked.

    -----------------------------------------
    Want to go back from 6.0 to 5.01? Read Q&A first, there's a special procedure for that. If you do it directly, you'll lose your imei!
    Part 2: Flashing the unbranded firmware
    Stuff you'll need:
    - Minimal ADB and Fastboot from last part
    - C432B132 Europe dual sim firmware - http://carbontesla.com/2015/09/download-huawei-p8-lite-b132-firmware-dual-sim
    - Huawei Update Extractor - http://forum.xda-developers.com/showthread.php?t=2433454

    First we need to get img files out of Huawei's update.app:
    1. Extract the firmware; you should have a folder with dload and CUSTOM
    2. Open Huawei Update Extractor as administrator (otherwise you won't be able to extract directly into adb folder), browse (button with two dots) to dload folder from step 1 and open UPDATE.APP
    3. Hold Ctrl and select BOOT.IMG, CUST.IMG, RECOVERY.IMG and SYSTEM.IMG; release Ctrl, right click on any marked file, click "Extract Selected" and find your ADB folder (should be "C:\Program Files (x86)\Minimal ADB and Fastboot" or "C:\Program Files\Minimal ADB and Fastboot")

    Now the most fun and...ehm...most "dangerous" thing - flashing the files:
    1. Do B 2, 3, 4, 5, 6 and 7 from unlocking bootloader pdf file (to boot your phone into fastboot mode and get a cmd window with the right starting location)
    2. Type:
    Code:
    fastboot flash system system.img
    press enter and wait until finish...it will take some time
    Code:
    fastboot flash recovery recovery.img
    press enter and wait
    Code:
    fastboot flash boot boot.img
    enter and wait again
    Code:
    fastboot flash cust cust.img
    enter and wait
    Code:
    fastboot reboot
    and enter to reboot your phone

    You may think that's the end...let me tell you - it's not. Your phone booted into an ugly version of EMUI with funny icons and "Settings > About phone" Build number says BalongC**B*** instead of the flashed ALE-L21C432B132. Let's fix that.

    Fixing balong "bug" - this will cause a factory reset...i hope you made a backup:
    1. Remember CUSTOM folder from extracted firmware? Copy it on your phone's internal storage or sdcard
    2. Rename CUSTOM to dload
    3. Run the Updater app, tap Menu, select "Local update", tap UPDATE.APP and wait until it finishes it's work and reboots
    4. Go to "Settings > About phone" and check if it says the right build number (should be ALE-L21C432B132); if it's not, repeat the img file flashing process

    -----------------------------------------
    DON'T OTA if you're rooted!
    Part 3: Getting the latest firmware update (B200) via OTA and (optionally) manually updating to MM B560
    a. Getting the latest firmware:
    1. Open Updater app, tap Check for updates and install it
    2. Repeat step 1 until it says No updates; now you should be on B200

    b. Update to MM (6.0):
    1. Download C432B560
    2. Extract it and copy the dload folder on your phone's internal memory or sd card.
    3. Run the Updater app, tap Menu, select "Local update", tap UPDATE.APP and wait until it finishes it's work and reboots.
    4. Go to "Settings > About phone" and check if it says the right build number (ALE-L21C432B560)

    ----------------------------------------------------

    Q&A:
    Q: I have a ALE-L04 or something else. Can i still do what you wrote?
    A: Don't even try because you'll brick your phone. ALE-L04 for example got a totally different chipset (Qualcomm Snapdragon 615) than ALE-L21 (HiSilicon Kirin 620).

    Q: What's the difference between ALE-L21 and ALE-L02? Will there be any benefits or disadvantages after changing from L02 to L21?
    A: L02 doesn't support some LTE frequencies and NFC; detailed specs: ALE-L02, ALE-L21. There will be no benefits or disadvantages after flashing a L21 rom; everything will be the same, except a different model and build number.

    Q: Are there any other uses for this, except for debranding and converting to dual sim?
    A: Yes, you can basically use it for everything from upgrading and downgrading firmwares, fixing your bricked phone (if you still can access Fastboot mode) and more.

    Q: I don't want dual sim. Why should i flash it?
    A: Because why not? You get a bonus functionality and you won't lose anything even if you never intend to use it - you can still use just one sim and a sdcard without any problems. Huawei also planned P8lite to be a dual sim phone, so it's possible you'll get updates faster than people with the single sim variant.

    Q: I don't live in Europe. Why should i flash that firmware?
    A: Well, you can always find an appropriate firmware on carbontesla website, but be prepared you won't be able to fix the balong bug. Only a few firmware packs include the vendor patch (CUSTOM folder).

    Q: Huawei Update Extractor gives me errors why i try to extract img's. What should i do?
    A: You didn't listen and didn't run it as administrator. One workaround would be extracting the img's somewhere else (for example new folder on desktop) and then copy/paste them into adb folder. Do as you wish.

    Q: I get errors when i type "fastboot flash xxxxx xxxxx.img". What should i do?
    A: First look if you typed it correctly, then check if you have the right files - BOOT.IMG, CUST.IMG, SYSTEM.IMG and RECOVERY.IMG (there are multiple RECOVERY files, make sure you get the one without any numbers in it's name) and repeat the command. The last resort would be running "fastboot reboot-bootloader" and retrying the command that gives you errors. By the way - if you can't run fastboot at all, then try opening cmd as administrator. If you used KingRoot, read the next question too.

    Q: I unlocked the bootloader via KingRoot and i can't flash anything, help?
    A: No, you didn't. Do everything from part 1 and you will be able to flash.

    Q: I don't like 6.0, how can i go back to 5.01?
    A: Read this. After doing everything it said, repeat part 2 and 3a of this guide to get back on B200.

    Q: You broke my phone, i will beat/curse/sue you!
    A: Ok, that's not a question. Anyways, not my fault, i said you proceed at your own risk.
    3
    Alright! So after some days for head to keyboard bashing i got the problem solved. Ill illustrate this for educational purposes.

    My phone is a P8 Lite > Model ALE-L21. I bought it from Telfort and it was branded with single sim firmware. My objective was to get dual sim working.

    The phone started of with C432B171 (Single Sim) if followed alot of different guides, all of them included unlocking the bootloader with a code that you can obtain from Huawei.
    After a while i was only able to boot from firmware B204, flashing ealier versions just would not work anymore so i sticked to C204 with a Balong bug.

    Today i flashed SYSTEM.img from firmware B052 only, the phone booted with BOOT.img,RECOVERY.img and CUST.img from firmware B204 and the SYSTEM.img from B052.
    I was able to install the vendor file (update.app) using EMUI's own updater and after a reboot the Balong bug was gone! ^^

    Now the SYSTEM was still running on C052 while showing the correct B204 version in the updater. This cause the interface to restart continuously and generate lots of weird errors. So i flash SYSTEM.img from C204 back and all issues seem resolved for now. And the best thing of course: Dual Sim Management is working!
    2
    hi i don't understand when i try to extract files from huawei extractor i get this msg: access to the path 'c:\program files (x86)\minimal adb and fastboot\.img.header' is denied
    can someone axplain
    Here's easier guide http://ministryofsolutions.com/2016/07/huawei-p8-lite-ale-l21-balongc52b311.html

    Sent from my HUAWEI NXT-L29 using XDA-Developers Legacy app
    2
    dennyn
    I have problem. I was unlock bootloader, then in mini ADB and Fastboot adb devices command recognize my phone, but when I send command for fastboot i`ve got message waiting for device. What`s problem.

    Is your phone in fastboot mode? If not, run adb reboot-bootloader
    If it still won't work after that, try to reboot your pc or try it on another computer because it seems like a driver issue.
    1
    Hi,

    Thanks for this guide. I've followed it successfully but I need to make a small remark/alert: When correcting the Balong error, the local update caused a factory reset and my data was lost.
    Nothing that a local restore can't solve but it might happen to others as well.

    Paulo

    Thanks for your input. I'll put it into first post...better to be safe than sorry.