yashsingh1/xdaforums huggingface dataset:
[P8lite General] Samelitho:
Have unlocked my bootloader and now im stuck in a loop. Have tried the unbrick flash setup for both single and dual sim.

I have acces to fastboot mode, but i can't go into recovery mode and wipe and etc. Can get into emui by pressing up and power but can only select; reboot, download through wifi (always fails) or shutdown.

have looked at the firmware it had before which ends with b199, but can't find a stockrom for that anywhere.

Any suggestions on how to get out of this picke?
[P8lite General] Yoshikage_Kira:
Download stock rom from Huawei's official website or carbon Tesla.
[P8lite General] Samelitho:
Have tried that still enters bootloop after flashing. Can acces fastboot&recovery, but i can't hold down vol+ and vol- combined with power to gain acces to the upgrade firmware either.

Can enter fastboot, and it says bootlocker unlocked.
[P8lite General] Yoshikage_Kira:
Flash system.img recovery.img boot.img and cust.img via minimal adb and fastboot.
[P8lite General] Samelitho:
That is what i have done already.

Sendt fra min Nexus 6 med Tapatalk
[P8lite General] Yoshikage_Kira:
Can you tell me what is written on adb command window when you flash all those images? Do you have access to recovery? If yes than flash twrp(Chapter 7) and from there install sokoban's rom.

Sokoban's rom

http://huaweip8lite.blogspot.com/2016/07/custom-romtwrpemui-40p8-lite-ale.html?m=1
[P8lite General] Samelitho:
Will do it when i get home tomorrow. Ty for helping

Sendt fra min Nexus 6 med Tapatalk
[P8lite General] :
I see it was for our devices
[P8lite General] :
Wipe data after flashing recovery it'll solve your issue seems like data is corrupt
[P8lite General] spirto82:
Can I ask something? If I try to restore a backup, which was created before the root take place, will I loose the SuperSU and my phone will be unrooted?
[P8lite General] Yoshikage_Kira:
Yes.
[P8lite General] spirto82:
Perfect!!! I had installed iFonts and I found out that the fonts, are not compatible with my mother tongue, so I removed it. Found a way to restore the custom font, but it's not working at 100%. Some letters are still shown like squares, and trying to find a solution. If anyone knows, I would appreciate it ....
[P8lite General] Samelitho:
I can't acces the recoverymode where i wipe, is it possible to erase it from fastboot&recovery mode?

i have just tried the twrp with the script. It installs but i still can't boot into twrp or recoverymode.
[P8lite General] Yoshikage_Kira:
You can flash system img boot img and recovery img from adb.

By the way in adb type adb reboot recovery to enter in recovery.
[P8lite General] Samelitho:
I can only acces fastboot, can't use adb commands from fastboot?
[P8lite General] :
And you're bootloader unlocked?

Ok so flash stock recovery if possible and wipe I'm sure your data is corrupt
[P8lite General] Samelitho:
I've download The unbrick files for the Single sim (and dual aswell for that matter) used the flash all script from it. I can't acces recovery after that using vol- and power. Can i wipe from fastboot? have tried the fastboot -w but it says command not allowed which i presume is somesort of security issue.

Info from unbrick p8 single ( the flash all script rom)

target max-download-size: 450MB

sending 'boot' (21706 KB)...

OKAY [ 0.510s]

writing 'boot'...

OKAY [ 0.795s]

finished. total time: 1.314s

target max-download-size: 450MB

sending 'recovery' (34280 KB)...

OKAY [ 0.805s]

writing 'recovery'...

OKAY [ 1.247s]

finished. total time: 2.064s

target max-download-size: 450MB

sending 'cust' (257973 KB)...

OKAY [ 5.994s]

writing 'cust'...

OKAY [ 6.252s]

finished. total time: 12.258s

target max-download-size: 450MB

Sparse-Flash is enabled!

sending sparse 'system' (460798 KB)...

OKAY [ 13.789s]

writing 'system'...

OKAY [ 11.125s]

sending sparse 'system' (460385 KB)...

OKAY [ 11.960s]

writing 'system'...

OKAY [ 11.107s]

sending sparse 'system' (460707 KB)...

OKAY [ 11.961s]

writing 'system'...

OKAY [ 11.134s]

sending sparse 'system' (457050 KB)...

OKAY [ 11.938s]

writing 'system'...

OKAY [ 11.024s]

sending sparse 'system' (427080 KB)...

OKAY [ 11.107s]

writing 'system'...

OKAY [ 10.330s]

finished. total time: 115.541s

ROM B049 flashed , if all went well

You must be restarted.

If you leave the recovery to hard reset and restart the phone

rebooting...

finished. total time: 0.025s

oh and yes the bootloader is unlocked
[P8lite General] Yoshikage_Kira:
Try following command in adb

fastboot devices

fastboot erase userdata

fastboot erase cache

fastboot reboot

---------- Post added at 09:10 AM ---------- Previous post was at 09:04 AM ----------

I don't think you can use adb commands on fastboot devices. Use fastboot commands.
[P8lite General] Samelitho:
E:\Unbrick p8 Single\Unbrick p8 Single>fastboot devices

QLF7N16603012091 fastboot

E:\Unbrick p8 Single\Unbrick p8 Single>fastboot erase userdata

erasing 'userdata'...

FAILED (remote: Command not allowed)

finished. total time: -0.000s

E:\Unbrick p8 Single\Unbrick p8 Single>fastboot erase cache

erasing 'cache'...

FAILED (remote: Command not allowed)

finished. total time: 0.000s

E:\Unbrick p8 Single\Unbrick p8 Single>

remote: Command not allowed on both accords:(
[P8lite General] Yoshikage_Kira:
It seems driver issue. Can you downloaded adb from another website or xda thread and try that command again.

---------- Post added at 09:37 AM ---------- Previous post was at 09:35 AM ----------

Link for adb

http://xdaforums.com/showthread.php?t=2317790&page=1
[P8lite General] :
Hey, thank you for writing this thread, it's great. I have a question: when I flashed the TWPR it says that I can't update / won't get updates by OTA or can't install from local (sd card / internal storage)?
[P8lite General] Yoshikage_Kira:
Yes. It is true because twrp can't flash .APP file.
[P8lite General] :
Wait you're correct I was thinking about ota but it's different [emoji14]
[P8lite General] :
Thanks for replying, so is there any way to receive any updates?
[P8lite General] Yoshikage_Kira:
Flash your original recovery back and then update via sdcard.
[P8lite General] :
But when I rooted through TWPR won't it cause a "chain reaction"? Cuz I rooted through TWPR and now I have to flash the original recovery. Or it doesn't matter and nothing happens to my phone when I rooted and then will flash the original recovery? Thanks, hope you get it :D
[P8lite General] spirto82:
can an installed module cause your phone to brick? I installed Action widgets and it worked pretty well till I installed iFont and then on reboot it gives me a bootloop. Any suggestions?

I deleted th '/data/data/de.robv.android.xposed.installer/conf/modules.list' but It's not working either.

Finally it worked. Just have to wait for about 20 minutes. In case anyone has the same problem (bricked phone - bootloop after intalling a module of Xposed), reboot into TWRP and delete the file: '/data/data/de.robv.android.xposed.installer/conf/modules.list'. This should do the trick. Wait for 20 minutes and it will start. :)
[P8lite General] Yoshikage_Kira:
No it will be fine to flash original recovery while you have rooted phone. But I think you should probably unroot your phone. After all you will lose root access after updating your phone. So I recommend unroot your phone and flash original recovery via adb and then update your phone.

---------- Post added at 05:22 PM ---------- Previous post was at 05:18 PM ----------

Are you using sokoban's rom?
[P8lite General] spirto82:
No. I have the official 574.
[P8lite General] :
Ok so - Unroot ----> Flash original recovery ---> Update ---> Then flash TWPR ---> Root ?

And when updating will all things (when I rooted I deleted some system apps + enabled gyroscope) remain like before updating?

Sorry for troubles :D I just want to make sure :)

Thanks for replying
[P8lite General] Yoshikage_Kira:
Yes. It will delete all your modifications. I recommend you to install sokoban's rom because it's the only stable deodex rom available for Huawei p8 lite also you will be able to flash Xposed framework without any problems.
[P8lite General] :
Thanks, can you provide me the link of his ROM? I couldn't search it on XDA :/ And what about the updates when I flash that ROM? It won't matter when I will stuck on that firmware (B7(4)?)
[P8lite General] Yoshikage_Kira:
http://xdaforums.com/p8lite/general/rom-p8-lite-ale-l21c432b575-t3417082/page1
[P8lite General] Munyareezus:
feeling lazy

Do i really need 6.0 to install xposed...felling lazy:p
[P8lite General] Munyareezus:
Marshmallow OTA has arrived

Official Marshmallow OTA update to Emui 4.0 has landed...will I have to unroort and lock bootloader before I can update? (P8 lite)
[P8lite General] hamudistan:
Hi, I'm on MM 564 and saw that 574 is out too. Is it worth upgrading, is there any significant difference?

Gesendet von meinem SM-T520 mit Tapatalk
[P8lite General] amageek:
that's not necessary ... you can unroot (quite frankly, not necessary ) but you can still have your bootloader unlocked and update
[P8lite General] :
Nope you'll loose it anyway after update
[P8lite General] Munyareezus:
Thanks man. Will I have unlock my bootloader again though?
[P8lite General] Yoshikage_Kira:
No you don't.
[P8lite General] Moshu646:
Hello all,

I have an ALE-L21 dual sim from Romania, that is in bootloop. I manage to write successfully the boot, cust, recovery an system img's , but the phone is still not working: it starts up, the screen is lightening, I hear the Huawei sound, but no logo, and then the phone shut's down. I also used the script posted in the main page but the result is the same: the script says that all is finished and good but the phone is still in a bootloop . What can I do?
[P8lite General] spirto82:
what were you trying to do?
[P8lite General] Yoshikage_Kira:
Can you go to recovery?
[P8lite General] Moshu646:
So first of all the phone was brand new, unrooted, with fast boot locked. I install the android 6 and I wanted to go back to 5, so I go trough the steps on the official huawei website :

1) download an install rollback package - all went fine, the B500 firmware was shown

2)download an install B132 - on this step the problem appear; after the installation the phone is in a continuous bootloop.

After that I unlocked the fast boot and write successfully the boot, cust, recovery an system img's , but the phone is still not working

---------- Post added at 11:26 AM ---------- Previous post was at 11:24 AM ----------

I don't know because the screen isn't showing nothing (only strange colors )
[P8lite General] spirto82:
I suggest you to look over chapter 4 of the first post. Can't help. Why would you write the boot, cust, recovery an system img's?
[P8lite General] Moshu646:
Because that is saying to do in the chapter 4 :)
[P8lite General] spirto82:
so you have your bootloader unlocked?
[P8lite General] :
Did you encounter a bootloop? If so wipe data.
[P8lite General] Moshu646:
Yes I have unlocked the fast boot.

I can't go in to recovery mode to wipe data (Volume up + Power) - or maybe I can by I can't see anything on screen.

How can I wipe data via fastboot? I tried the :C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase cache

erasing 'cache'...

FAILED (remote: Command not allowed)

Maybe because I use Minimal Fastboot and not the full one?
[P8lite General] :
Hmm I see.

Can you try fastboot erase data?

I'm not sure what gives. Try re flash recovery maybe
[P8lite General] spirto82:
don't know for sure, but in order to get into recovery, I press Volume Up & Volume down & Power, and when I get a vibration, I release the Power button, and continue pressing the other 2 till I see the TWRP sign.
[P8lite General] Moshu646:
With fastboot erase data I get the same error.

I already flash recovery from multiple ROM versions
[P8lite General] :
Try with twrp? It doesn't looks like you need full fastboot since it recognize the command I doubt it's fastboot.

If not try fastboot boot recovery.img

And see if you'll get into recovery properly
[P8lite General] spirto82:
If you can see your device, through fastboot (PC), check this guide

It did work for me
[P8lite General] Moshu646:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot recovery.img

creating boot image...

creating boot image - 35106816 bytes

downloading 'boot.img'...

OKAY [ 0.816s]

booting...

FAILED (remote: Command not allowed)

finished. total time: 0.816s

I just tried TWRP 3.00...but no change :(

---------- Post added at 01:14 PM ---------- Previous post was at 01:06 PM ----------

Also the phone is not shutting down for good. It is just looping
[P8lite General] Yoshikage_Kira:
Try TWRP 3.0.2 it's working on my phone.

Can you go in recovery via fastboot and rescue mode? When in fastboot and rescue mode press volume up button to enter recovery.
[P8lite General] Rider008:
Is it really necessary to make bootloader unlocked when changing from Single to Dual Sim official Roms? I saw some manuals and everybody did it without It, just send the new ROM and custom rom do dload and istalled It . Is it OK to go from B199 to B170 ? Will it than update via Ota to Android 6.0 ? Or I have to do it manuall again? Thanks for advice.
[P8lite General] Samelitho:
I can do that. But it doesn't enter twrp, it goes into a emui, where i can select reboot, download new version and recovery, shutdown.

When i select download new version and recovery it just say "getting package info failed"

Can't enter a recovery mode where i can reset or wipe data
[P8lite General] Santho07:
Unbricking !?

Hi ,

It seems i probably brick my phone installing an app called layer ! ::crying:

Now can u please tell me how can i have those recovery files for unbricking via Huwei update extractor ?

again can u please tell wt did u mean by update phone when there is no emei ?

Help me with these part , plz ! I am newbie & know nothing ! :(

My device model: Ale-L21C185B574 running on Android 6.00

Thanks lot in Advance! :(
[P8lite General] Vinnipinni:
I had a similar problem after a bootloop. Try to completely turn it off by holding the power button for 15 or 30 seconds.

Then Hold Volume up + Volume Down + Power

Should restart in TWRP

---------- Post added at 09:38 PM ---------- Previous post was at 09:37 PM ----------

You have unlocked bootloader?
[P8lite General] Santho07:
Yes!! My bootloader is unlocked with Twrp installed and rooted !

---------- Post added 28th August 2016 at 12:18 AM ---------- Previous post was 27th August 2016 at 11:46 PM ----------

Hey i just unbricked it through the process as u stated above !

As u said , i have no Imei and can not connect to network! Also i am downgraded to Android 5.00 . Help me to get out thz :(

My Current rom says its : C50B311 , which marshmallow package should i download now ? Also , how can i resotore Imei's? I got no backups ! :'(
[P8lite General] Vinnipinni:
You have Single or Dual Sim?
[P8lite General] Santho07:
[/COLOR]

Dual sim variant .

Current firmware : C50B311 , get here from the unbrick package !
[P8lite General] Vinnipinni:
Just Update to B574 via SD Update. Download the UPDATE.APP to your phone and dial ##2836479#*#* as choose SD Update

OK that's the wrong number. I will try to find the right one
[P8lite General] Santho07:
Will thiz work C432B574 ?

I am going to do it ! Thank u so much ! :)
[P8lite General] Vinnipinni:
Okay the Number is *#*#2846579#*#*.

Software Upgrade and then SD Update.

?*Edit: fixed the Number
[P8lite General] ozhito:
Many thanks dude!!! I had always rooted samsung cellphones with odin, but my last phone was a motorola and i hardbricked it the same day i bought it :crying::crying:

I was very scared to try to root my new L23, but your post is crystal clear so i made it without bricking the phone.
[P8lite General] Moshu646:
I installed TWRP 3.0.3 but still now showing nothing on screen.

Maybe I must clear cache, but it won't work :

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase cache

erasing 'cache'...

FAILED (remote: Command not allowed)

What can I do so that the command will work?
[P8lite General] Yoshikage_Kira:
Try multi tool by sokoban. By the way twrp 2.8.7 is for lollipop amd 3.0.2 is for marshmallow. Never heard of 3.0.3 before from where did you install it?

---------- Post added at 07:00 PM ---------- Previous post was at 06:58 PM ----------

Multi tool by sokoban

http://goo.gl/yBhyl0
[P8lite General] Rider008:
Small problem?

So the thing Is I unlocked bootloader.(Checked twice. I have B199) Tried to load the B170 on SD Card and run it from dload to upgrade through phone. Red exclamation mark software install failed. OK. Another attempt with fastboot... tried chapter 4 with unbricking files... wrote flash boot boot.img . ERROR!!! It only says:

target max-download-size: 450MB

error: cannot load 'boot.img': No such file or directory

Phone works OK, still on B199... but how can I flash a new B170 ROM with dual sim? Advice?
[P8lite General] Yoshikage_Kira:
Bro put boot img in minimal adb and fastboot folder in programs in Windows local disk. Also make sure you are typing correct name of file.
[P8lite General] Moshu646:
I type it wrong, I tried with 3.0.2.

I also tried the sokoban multi tool, still no image on screen
[P8lite General] Yoshikage_Kira:
Flash original recovery and then flash twrp.
[P8lite General] Rider008:
I have a MAC and everything is in the same folder... but the result is as I said error can't load image. :rolleyes:
[P8lite General] Yoshikage_Kira:
Check the spelling. BOOT.img is different from boot.img
[P8lite General] Moshu646:
Nothing works. How about the cache?
[P8lite General] Yoshikage_Kira:
Maybe. Try flashing whole rom. Not just recovery.img

---------- Post added at 07:22 PM ---------- Previous post was at 07:20 PM ----------

I don't know but formating or erasing cache via fastboot doesn't work on my phone(it is not bricked).
[P8lite General] Rider008:
Tried that small big letters, whatever I could think of... didn't work. After all I tried to copy/drag the img file into the cmd and WOALA it worked... it had to have exact path to it, even though it was in the same directory.

And another awkward thing I had to do one file at a time. Send one img... turn off the phone, go to bootloader... send second img... turn off... ... ... ... till the fourth one.

Now the phone says it's inovating system/optimalization of apps. So I guess It Worked now and should be OK. Just to send the vendor file and I am good to go i Guess. :D
[P8lite General] Moshu646:
Then how can I clear the cache?

How to flash the whole rom ?
[P8lite General] Yoshikage_Kira:
Not sure about cache but you can flash whole rom.

Download Huawei update extractor and extract these images from official rom.

System.img

recovery.img

boot.img

cust.img

Then flash these images.

If you have already tried it. Use different firmware now. Like if you tried B560 try B574 this time or vice versa.
[P8lite General] tudurom:
Hey there,

I have an ale-l21, firmware ALE-L21C432B574 and I want to get the unlocking code from huawei. The problem is that after I registered my account, every time I want to go to the unlocking page it says page connection reset. Do I really have to wait 14 days for it?
[P8lite General] Moshu646:
I already tried that, with multiple versions, still no result :crying:
[P8lite General] Rider008:
Had same problem today...

Helped advice from spirto82 - thank HIM!

So this is the http://emui.huawei.com/ . If you don't have chrome, download it and install the translate extension.

You can find information on the other thread, also.

Did that and I got my unlock code immediately.
[P8lite General] Yoshikage_Kira:
It should work. I don't know what's the issue there is a thread having similar issue. http://goo.gl/YB4uep

I don't think he has find out the solution. You probably have to send your phone to Huawei care center.
[P8lite General] Rider008:
Does Relocking bootloader make any sense? :confused: Or is it worthless to do that?
[P8lite General] Yoshikage_Kira:
It is worthless because relocking your phone won't restore it's warrenty. After relocking your phone will say relocked not locked. By the way if your phone bricks while your bootloader is locked you are ******. Just ask [MENTION=5284490]Moshu646[/MENTION]
[P8lite General] Rider008:
OK THX for the explanation :D Is the B170 the latest firmware which I can get with the "new dual sim Rom" ?
[P8lite General] Yoshikage_Kira:
Isn't B170 lollipop so it isn't the latest firmware. I think B574 is the latest.

---------- Post added at 09:16 PM ---------- Previous post was at 09:13 PM ----------

Here is the list of all firmware available.

http://goo.gl/UZDrbe
[P8lite General] Rider008:
The B170 is the latest which I can get from ROM from the 1st site.. now I am downloading B564 for my region which should give me ota to B574 :) I will see. Installing 574.
[P8lite General] Ken_Jutsu:
Mobile Data not working

Hello everyone.

I was able to successfully root my ALE-L02 over the weekend. Initially, I had my nano SIM in the upper SIM slot, and was connected to WiFi. I then inserted a SD card and moved my nano SIM to the bottom SIM slot with the help of a nano to micro SIM converter. Everything still seemed to work fine, until I no longer had WiFi coverage.

The Mobile Data does not want to work, although it is turned on. I place my SIM in my old Samsung S3, and the mobile data worked. I placed a different micro SIM card in the Huawei, and the mobile data also did not work. I then took my SIM out of the converter, and placed it back in the upper SIM slot, and Mobile data is now working :confused:

The thing is, I want to use a SD card, thus I must use the bottom SIM slot. Now I don't know where to start faultfinding. I guess one of two things went wrong:

the rooting process caused something to go wrong with the mobile data

something went wrong when placing my SIM in the bottom slot

Any ideas?
[P8lite General] Yoshikage_Kira:
My sim is working fine in second slot. Also my phone is rooted so I don't think root should cause this. By the way did you restart phone after changing sim?
[P8lite General] Ken_Jutsu:
Yes, I power off the device before changing the SIM. Also, I used "SIM Card Details" (Play Store) and with the nano SIM in the micro converter, the DataState = Disconnected, but with the SIM in the nano slot, DataState = Connected.

I assume this means the SIM card is indeed fine, but that for some or other reason, the micro slot does not enable mobile data...

PS: forgot to mention, with the micro slot, I can still make and receive calls, and send messages (SMSe)

PPS: with any SIM card in the micro slot, the battery drains extremely fast, so fast in fact, that when the phone is connected to a power bank, the phone draws about 450mAh and all that happens is that although it shows it is charging, it just prevents the battery from further discharging
[P8lite General] Neferus98:
Strange boot

I have followed a root turorial on youtube, then when i start phone Logo and black screen.

Only ADB works and i tried A LOT of different firmware but nothink work, i also tried 2 different automatic flasher, but nothing, i can't force update from sd card and i have no recovery menu. What could that be?
[P8lite General] efrai3:
Hi Lordbannakaffalatta.

I have a single sim p8 lite ALE-L21 branded Vodafon (Greece) with firmware ALE-L21C02B589 (MM6) and i want to unbranded and converted to dual sim.

I have already the unlock code to unlock bootloader.

So my question is : After i unlock the bootloader i can follow your guide ( download vendor files for dual sim, unbrick files for dual sim etc ) with out a problem and converted to unbranded/dual sim?

Thank you.
[P8lite General] amageek:
the answer to your question is..... definitely yes... obviously yes... hell yeah
[P8lite General] spirto82:
Just a quick question, since you have this ROM installed:

If I get a backup of my files (using for instance Huawei backup) can I restore my files and settings to sokoban's rom? I have the same problem with many (I guess) - I cannot make calls.

Thank's in advance!

PS: which version should I use? the rooted or the other (there are 2 links)? Flashing the rom without root, should it be a problem? I have already SU.
[P8lite General] Neferus98:
Help plz