yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8 Accessories] skrubol:
I don't think it supports UHS II or 3. I read somewhere that it supports UFS, which is Samsung's own higher speed format, which I don't think is as backwards compatible.

UHS I cards also have their own speed classes, U1 and U3 currently I think. U3 just guarantees higher sustained write speed (30MBps,) which is well within the UHS I maximum transfer speed.

If you're confused, the UHS class is the interface speed. The U1 or U3 are the minimum speed of the specific card. UHS I max speed is a little over 100MBps iirc.
[Nexus 5 Q&A, Help & Troubleshooting] dheerajc17:
Hi,

I did an advanced wipe wiping everything - Dalvik cache, system, data, internal storage and cache.

Now, when I try to reboot, it says no OS and keeps bringing me back to TWRP. I tried the install feature but looks like there's no file in it either. My PC does not detect my phone as a hardware I think as when I tried to copy the ZIP file to it using another post which I'm not allowed to post here, the cmd commands for adb and mkdir were not recognized.

Can someone please help me salvage my phone?

In case any more details are required about the phone, happy to provide.
[Nexus 5 Q&A, Help & Troubleshooting] daedric:
Go to Device management, you'll find the android composite device there. Change the driver to MTP device.
[Nexus 5 Q&A, Help & Troubleshooting] aciupapa:
you can also try using adb sideloas
[Nexus 5 Q&A, Help & Troubleshooting] focus-pocus:
I assume you use Windows? It's probably just a driver issue. I always install official Google Android SDK, which contains proper USB drivers. Once you install it, your phone should be recognized by PC, while in TWRP.
[Nexus 5 Q&A, Help & Troubleshooting] dheerajc17:
Sorry, but am new to this. Can you please provide instructions to get my phone back to normal.

Thanks in advance
[Nexus 5 Q&A, Help & Troubleshooting] dheerajc17:
Sorry, but as am new to this, can you please help with instructions on how can I get my phone back to normal?

Thanks,
[Nexus 5 Q&A, Help & Troubleshooting] dheerajc17:
It is now visible in Android monitor in the studio but still doesn't show up as a connected device on the PC.

Anyways, the cmd doesn't recognize the adb command. can you please help with how can I bring my phone back to normal?
[Nexus 5 Q&A, Help & Troubleshooting] focus-pocus:
You need to add path to adb.exe to Windows PATH variable, then reboot and cmd should recognize adb commands, or you can just navigate to folder with adb.exe in cmd. Then check if adb can see your device, if it does, then just do adb sideload of ROM, and flash your ROM in TWRP.

If it's all too complicated, just return to stock using instructions from Google factory image website.
[Nexus 5 Q&A, Help & Troubleshooting] SIMMORSAL:
Put a rom on a flash drive, and connect it to your phone. In TWRP, go into "Mount" options, mount the flash drive (cant remember the exact wording), and then...can't remember quite vividly how, but it's easy from there to navigate inside your flash drive and install the rom.

REMEMBER: the flash drive should be formatted in FAT32 for TWRP to recognize it.
[P8 Lite (2017) Development] haky 86:
Hi folks

Here for you the initial stage of porting progress of TWRP for Huawei P8 Lite 2017 and similar phone.
[P8 Lite (2017) Development] haky 86:
Reserved

Reserved

Please do not quote

Will be released once I fix mounting issue.
[P8 Lite (2017) Development] AmINoS007:
Great , thanks​ a lot man
[P8 Lite (2017) Development] peerpower:
Great NEWS!!! Thanks a lot man!
[P8 Lite (2017) Development] sbarbi:
Great thanks man!!
[P8 Lite (2017) Development] ripp2003:
like others : great news !!!! and thank you
[P8 Lite (2017) Development] haky 86:
I almost done with it. keep in touch
[P8 Lite (2017) Development] peerpower:
You are the king ?? waiting for it.
[P8 Lite (2017) Development] haky 86:
Reserved

-First beta has been released.

-Wipes should be fine.

-Backups is working (will be useful to backup your original firmware and save a copy on the computer).

-I will try to fix mounting internal and external storage bug.

-I'm not responsible for any damage caused by recovery.

Thanks for understanding :cool:
[P8 Lite (2017) Development] peerpower:
Now can we flash SuperSU?? ?
[P8 Lite (2017) Development] haky 86:
I didn't try yet, will do a test once back to home.
[P8 Lite (2017) Development] peerpower:
Ok waiting for you lol :))
[P8 Lite (2017) Development] haky 86:
Reserved

Release v2 of TWRP.

Please read the "change logs".
[P8 Lite (2017) Development] sbarbi:
For install this twrp is necessary the bootloader unlocked?
[P8 Lite (2017) Development] haky 86:
Yup, I'm gonna to make separate topic to unlock and root this phone and perhaps found a way how to reinstall the original firmware :)

Edit: will just update the topic to not create confusions.
[P8 Lite (2017) Development] peerpower:
Pls share in here if you create another topic :)
[P8 Lite (2017) Development] haky 86:
Topic updated, please report :=)
[P8 Lite (2017) Development] peerpower:
WORKS PERFECTLY!!!!! JUST ROOTED :) YOU ARE THE KING:good::good::good::good:

---------- Post added at 06:28 PM ---------- Previous post was at 06:10 PM ----------

hey my friend i have one last question. Just downloaded fullota package.

Can i flash it with your twrp?

Thanks in advance for everything :)

And can you also please share stock recovery.img ? Just in case you know :):):)
[P8 Lite (2017) Development] haky 86:
great!

I don't recommend to flash stock ota via twrp. I will upload 3rd build of twrp with some modification to the partitions that our device don't have.
[P8 Lite (2017) Development] peerpower:
Yes but I believe if i flash stock recovery back I can easily update ota or install fullota. Am I correct?

Where we can get stock recovery ????
[P8 Lite (2017) Development] dre88mz:
Good day sir! I have a question is this recovery compatible with PRA-LA1 model?
[P8 Lite (2017) Development] Al-Jalodi:
yes, it's compatible
[P8 Lite (2017) Development] lagunary:
Bug report

Hello Guys,

Im using TWRP 3.1.1-2 with Huawei P8 Lite 2017 (PRA-LX1)

I have problem during the backup process with Data partition.

I:addFile '/data/misc/bluedroid' including root: 1
==> set selinux context: u:object_r:bluetooth_data_file:s0
I:addFile '/data/misc/bluedroid/Yw385uLZF8Y41ZV,HbZ2fB' including root: 1
==> set selinux context: u:object_r:bluetooth_data_file:s0
I:Error adding file '/data/misc/bluedroid/Yw385uLZF8Y41ZV,HbZ2fB' to '/external_sd/TWRP/BACKUPS/57UDU17419000254/2017-09-07--04-34-26_NRD90M_test-keys/data.f2fs.win000'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.

The backup is permanently failed at this point.

Do you know any other similar error?

Thanks.
[P8 Lite (2017) Development] Wire1122:
I have error 255 when backing up data partition

---------- Post added at 04:51 PM ---------- Previous post was at 04:28 PM ----------

My log https://ufile.io/q44u6

---------- Post added at 04:52 PM ---------- Previous post was at 04:51 PM ----------
[P8 Lite (2017) Development] Traceur017:
Hi [MENTION=4883214]haky 86[/MENTION]

Since there is no developer for honor 8 lite PRA-LA1

Can you port a twrp recovery for us?!

Your twrp is good but when I want to flash a PRA-LA1

rom, it shows error 7

I'm new to these things

Is it possible to build a twrp recovery for a phone without having it?!

Honor 8 lite and p8 lite 2017 are exactly the same phone so maybe you can help me

Please do it if you can
[P8 Lite (2017) Development] GedeonTaylor:
I will get home soon, and do it for you :)
[P8 Lite (2017) Development] Traceur017:
Thank you bro

Do you have honor 8 lite PRA-LA1?!
[P8 Lite (2017) Development] GedeonTaylor:
Yea I do, but you can't install a rom in twrp, or you even don't have twrp?
[P8 Lite (2017) Development] Traceur017:
Now I don't have twrp

But when I had, I could only install a rom that was for PRA-LX1

but I couldn't install a rom for PRA-LA1. it showed error 7
[P8 Lite (2017) Development] GedeonTaylor:
Oh. The problem is with the rom, not with the recovery. Please reinstall twrp, then upload (like to mega) the rom what doesn't work, I will change it so you will able to flash that rom.
[P8 Lite (2017) Development] Traceur017:
I tried to modify the updater-script to install the rom but it didn't work

Can you build a twrp recovery for pra-la1?!
[P8 Lite (2017) Development] GedeonTaylor:
Hmmm I looked into it but.. I couldn't able to find anything different for LA1. I have it too. If I give you a backup of a different stock rom for a backup? So you will have Pra-lx1 (like mine) now..
[P8 Lite (2017) Development] Traceur017:
You have lx1 version stock rom?!
[P8 Lite (2017) Development] GedeonTaylor:
Yea, dual sim.
[P8 Lite (2017) Development] JMO_Brown:
Hi guys.... Can anybody please upload a TWRP Backup of any PRA-LA1 with B160, B164, B170 or B171 firmware. SINGLE SIM
[P8 Lite (2017) Development] supersonicninja:
[MENTION=4883214]haky 86[/MENTION]

Where can I get the actual source for this TWRP?

https://github.com/hak86/android_device_huawei_prague seems to be the ROM source, not recovery.

I want to test some FBE workarounds for other devices.
[P8 Lite (2017) Development] haky 86:
check github.com/OpenKirin by using honor 6x device tree, my device is at reparation service actually, will back on developments soon.
[P8 Lite (2017) Development] Wire1122:
I have unlock the bootloader. Can I still receive ota update?
[P8 Lite (2017) Development] euricoalex:
Yes
[P8 Lite (2017) Development] Wire1122:
Where is the ota download folder on that phone?
[P8 Lite (2017) Development] supersonicninja:
/data/update/HwOUC/
[P8 Lite (2017) Development] haky 86:
Final Build

2017-18-10:

Update to 3.1.1.0.

Backup of data partition could work just on internal storage and not all devices

https://mega.nz/#!tSIAQLIT!RPZZYN_RMoeIPu_QhfG-sQJriap-WaDryACjYJmvPLs | 40.2 MB | .
[P8 Lite (2017) Development] Wire1122:
what means just internal storage? Data partition fails to backup on my p8 lite 2017 pra lx1 c432:rolleyes:
[P8 Lite (2017) Development] haky 86:
mean data partition can be backed up only on internal storage, for me is work.
[P8 Lite (2017) Development] Wire1122:
ok, but my internal storage is not enough for free space. only 3.5 GB for internal storage vs 5.6 gb of data backup. why?
[P8 Lite (2017) Development] Traceur017:
My phone internal storage is low for backing up data

(I have 16 gb version)

so technically data backup doesn't work for me even in

this version:(

Please fix this problem if you can:o
[P8 Lite (2017) Development] Wire1122:
Ehi haky86, can you help us to resolve this issue?
[P8 Lite (2017) Development] Traceur017:
Hi

Backing up and restoring firmware is secure in this version??!

Will it completely restore the backed up firmware??

I'm using honor 8 lite pra-la1
[P8 Lite (2017) Development] Luuk_:
i get an error that sais can not load recovery.img
[P8 Lite (2017) Development] 0000729399:
VERY IMPORTANT:

DO NOT WIPE DATA PARTITION WITH TWRP (NO FACTORY RESTE AND NO FORMAT DATA), unless you did a complete backup of it that you MUST restore if you want your p8lite2017 to keep working properly.

Part of drivers are located in this partition and any wipe done without the stock recovery will delete them forever, letting your phone not working properly (no audio, no camera etc...).

After EVERY wipe of this partition you will have to restore it from the backup you did before.

If anything goes wrong with backup, then DON'T WIPE DATA, this means DON'T DO FORMAT DATA OR FACTORY RESET WHIT TWRP

If you've already lost your drivers, you can flash supersu.zip that will place generic drivers in DATA that will restore your phone at 95%

If you use Huawei Firmware Finder from PC or p8lite2017, you will solve the problem by flashing the correct firmware of your device.

For this important fact we have to appreciate Manuele1000_'s work that studied the fact and discovered it.
[P8 Lite (2017) Development] Traceur017:
Hi

I have a problem with twrp

It can't recognize my phone's internal storage

I took a screenshot

Take a look

Does anybody how to fix this??

I'm using honor 8 lite pra-la1
[P8 Lite (2017) Development] Wire1122:
Same here
[P8 Lite (2017) Development] :
Please look here. Especially the section:

Thread Update 08-29-2017:

(Blue font)
[P8 Lite (2017) Development] Traceur017:
Look where?

There is no link!!!!
[P8 Lite (2017) Development] :
Sorry!

https://xdaforums.com/p8lite/p8-lit...-to-root-huawei-p8-lite-2017-android-t3582179
[P8 Lite (2017) Development] Traceur017:
I restored my device with twrp backup

I backed up boot, system and vendor

(I couldn't backup data because I'm using 16 GB version

and there wasn't enough storage)

But after restoration I lost honor boot img and now I have

Huawei boot img (I'm using honor 8

lite)

And the stock theme that is on every emui 5 device is lost too

Now there is another emui theme

And there is no rom file for my phone (honor 8 lite pra-la1) on internet to fix these little problems

But this version of twrp works good

With last versions I bricked my device

But with new version I restored it
[P8 Lite (2017) Development] :
What you need now is a working data partition. You get it like this: Go to my root thread to the section [how to unbrick] and work through the tuto step by step. This will give you a perfect firmware.

;)
[P8 Lite (2017) Development] Luuk_:
HI, when i try to flash it with adb ist said it cannot load "recovery.img" anyone know a solution?
[P8 Lite (2017) Development] :
Here you will find a solution.

https://xdaforums.com/p8lite/p8-lit...-to-root-huawei-p8-lite-2017-android-t3582179
[P8 Lite (2017) Development] Traceur017:
You have pra-lx1 rom version on your thread

But my phone is pra-la1

Flashing your rom can work on my device??

And my phone is honor 8 lite while yours is p8 lite 2017
[P8 Lite (2017) Development] :
It works on all PRA. However, it must be debranded or get free.
[P8 Lite (2017) Development] Traceur017:
No my phone is not branded

Your phone is nfc version??
[P8 Lite (2017) Development] Luuk_:
I have flashed it now but it doesn't work it just go to the stock recovery again some help plssss
[P8 Lite (2017) Development] :
This is the wrong thread. Please post the treatment in the correct topic.
[P8 Lite (2017) Development] Traceur017:
Did you disconnect your phone from computer and checked it??
[P8 Lite (2017) Development] Luuk_:
yhea i have even tried a old phone with an old twrp and that did work but now on my pra-lx1 my frp is locked so yhea its over for me i think :(
[P8 Lite (2017) Development] Traceur017:
What do you mean it's over???!!!

Just unlock frp;)
[P8 Lite (2017) Development] Luuk_:
how
[P8 Lite (2017) Development] Traceur017:
Have you unlocked your bootloader??
[P8 Lite (2017) Development] Luuk_:
yhea
[P8 Lite (2017) Development] Traceur017:
So your frp must be unlocked!!!!!!

Look at the screenshot I attach to this post

In developer option

There is an option for OEM unlocking

It should be ticked and deactivated if your bootloader is

Unlocked

Did you flashed twrp with cmd in Windows( or with new version Power shell in Windows 10)

What did it said??
[P8 Lite (2017) Development] Traceur017:
So your frp must be unlocked!!!!!

Check the screen shot I attach to this post

In developer option there is an option for OEM unlocking

It should be ticked and deactivated if your bootloader

Is unlocked

Did you flashed twrp via cmd( or powershell in Windows 10)??

What did it said??
[P8 Lite (2017) Development] Luuk_:
I have flashed it with cmd and it said it was succesfully installed. and Oem is gray but it is not thicked but when i boot into bootloader it does say it is unlocked
[P8 Lite (2017) Development] Traceur017:
What did you typed in cmd?
[P8 Lite (2017) Development] Luuk_:
you mean when i unlocked it ore when i flashed twrp?
[P8 Lite (2017) Development] Traceur017:
When you flashed twrp
[P8 Lite (2017) Development] Luuk_:
just wat it said "fastboot flash recovery recovery.img" i have done it before on my p8 lite (alice) and that worked
[P8 Lite (2017) Development] Traceur017:
So everything is good

Maybe you do the booting process to twrp wrong

When you boot into recovery what is the options???

Maybe you're booting into erecovery by mistake!!!
[P8 Lite (2017) Development] Luuk_:
nah im booting into recovery
[P8 Lite (2017) Development] Traceur017:
I don't know

Try to reflash it

Maybe it work!!
[P8 Lite (2017) Development] desalesouche:
[MENTION=4883214]haky 86[/MENTION]

about fbe problem: may be this will help you: https://github.com/OpenKirin/androi...mmit/9f79a8160154640795e2b50823893cf0b0b827e1
[P8 Lite (2017) Development] jackulus:
Hi everybody :),

I'm looking for support with making a nandroid backup of my stock firmware. I use modded TWRP (by HassanMirza01) but I think that the problem I encountered can be known here. My firmware is PRA-LX1C432B161. Until now I unlocked bootloader, flashed TWRP and tried to make nandroid backup. It fails with /data partition, which suprisingly for me is formatted to f2fs (is it correct?). In OP I found info dated 2017-29-05, about troubles with backing up f2fs partition. Is this about my problem ?

I planned to backup my stock ROM and than flash Elite ROM for Honor 8 Lite 2017 (again by HassanMirza01; P10 lite port) but stopped at this point. Reading some other threads I found that TWRP's nandroid backup is not reliable one, considering PRA-LX1. Especially /data partition. [MENTION=7295200]ChinHon[/MENTION], do you think there is no point to make a nandroid backup of my stock firmware ? I mean, there will be no way to restore it if I need to come back to original state in the future, even if I manage to make it ? I couldn't find my build anywhere (B161)...

I can provide two logs, if this could help experts assess sth more about my problem - one log is from TWRP backup attempt and the second one just from booting into TWRP.

Thanks in advance, any advice wolud be a great help for me - I'm a newcomer here... :)

View attachment recovery.log

View attachment recovery-TWRP-boot.log
[P8 Lite (2017) Development] :
First install this TWRP recovery:

https://mega.nz/#!FhVxxJiQ!wOuAPPU6t3prK9FEbt86ZuU3BmMS_IOIdIWUH8RfUjw

and start a new attempt at your plan. If you don't succeed boot into eRecovery to rebuild the firmware by wifi. You start in the eRecvery just like the normal one, only with usb-connection.
[P8 Lite (2017) Development] jackulus:
Thx so much for such a quick response. What do you mean if I don't succeed? When backup possibly will fail or custom ROM installation will fail? At this moment I don't need to restore pure stock (what I understand by "rebuild"), I just would like to get better picture of what to do in case of "troubles" and prepare to it (if possible) still having stable stock on the board.. Thanks once more for help, I certainly will follow your advice..
[P8 Lite (2017) Development] :
Okay, I misunderstood you. So your existing firmware is ok. . Install my TWRP and make a complete backup. If the backup of the data partition is not working, answer me.
[P8 Lite (2017) Development] jackulus:
Right. Thanks. Tomorrow - now I'm in the middle of the night and can make really stupid things while flashing ;). But I'm so glad I found new chance..
[P8 Lite (2017) Development] :
Okay, do that. If it doesn't work, there is only one way to make TWRP work correctly. Flash the stock recovery and make a factoryreset. Then direkt boot into the bootloader and flash TWRP. Make a factoryreset with TWRP. From now on you can always make a complete backup and restoring.
[P8 Lite (2017) Development] jackulus:
I gave it a try and:

- there were no errors while booting into recovery (unlike the previous TWRP)

- /data partition size was reported much bigger than earlier, filesystem f2fs

- backup started correctly, also /data partition but it collapsed at about 15%. log is attached: View attachment recovery-pra-full-backup-attempt.log. Seems to me that sth with encryption stuff..

- I managed to make backup of all partitions excluding /data

So, I'm thinkikng about the last chance procedure given above but... How does it relate to what you write and advice in [How to Root] thread ? You are saying there:

"Please do not use TWRP for backup and restore operations.

If a backup or restore should be done, please always without the data partition.

Apply a factory reset only in stock recovery."

Is it not valid in this situation for any reason ?

And one technical question: when I flash prague-TWRP again, after stock factory reset, should I directly boot into recovery by "fastboot reboot recovery" ? Will it work ? And secondly, from which version of firmware should I obtain stock recovery.img ? Is it universal amid PRA firmwares ?

Thanks a lot for your support... :)

Edit: They also say about drivers anihilation after TWRP's factory reset (https://xdaforums.com/showpost.php?p=74228394&postcount=210) or maybe this TWRP does it in another way ?
[P8 Lite (2017) Development] :
The warnings in my threads are necessary to prevent users from making premature wipes. You have to use them very carefully at the PRA. However, the procedure I have described for you is required. Only then will TWRP work correctly in the future. However, no old backups may be restored even then. Otherwise the data problems will come back. Make a backup with the huawei backup app. Then you can restore all apps with settings. That's very reliable. The recoverys I offer are always universal. All reboots outside the UI should always be done with key combinations during the PRA. Not per adb. These are exactly described in my root thread.
[P8 Lite (2017) Development] jackulus:
Thanks [MENTION=7295200]ChinHon[/MENTION]. I hope I don't abuse your patience and kindness. I'm also not sure whether it is a proper place for such a number of my noobie questions. May be I should move to PM, not to littering this place ?

So, I understand, that after successfull proceeding of your "extreme/last chance" ;) procedure I will be able to perform full, error free nandroid backup of my B161 firmware, and restore it via TWRP when necessary. From "any state" ? I can imagine such a scenario, that after trying another ROM (I would like to try yours K-Rom V.3.3, too) or messing sth seriously, I can even flash boot.img by ADB (if necessary), then flash stock recovery, than make factory reset via stock recovery, then flash prague.img, make factory reset in TWRP and then restore all other partitions from my initial backup ? Or, maybe, just restore whole backup (if prague TWRP is in place and working) ? Pls, confirm or correct this "procedure"...

I also need to clarify some details - sorry again for such a basic doubts but as far as I understand even slight mistake can ruin my efforts (and your time invested here, too). When you discourage to reboot from ADB (I used to do it so far) what do you mean exactly ? E.g. when I flashed TWRP via ADB and need to directly boot into it, what should I do ? Disconnect USB and press Power and Vol+ at this moment untill it boots ? Or, maybe, hold Power and shut down my mob and then boot into TWRP as usually ?

I like the idea to place TWRP in eRecovery's space. How to do that ? And how to restore eRecovery in case I need it ? I don't even know when it is useful, I just start to use this device :-/.
[P8 Lite (2017) Development] davidtgbe:
Same problem here. P8 Lite 2017 PRA-LX1 16Gb/3GB 1 SIM

On Fastboot:

Phone Unlocked
FRP Unlocked

On cmd:

c:\Program Files (x86)\HiSuite\hwtools>fastboot oem get-bootinfo
...
(bootloader) unlocked
OKAY [ 0.002s]
finished. total time: 0.006s

Flashing TRWP (twrp-3.1.1-2-v1-prague.img)

c:\Program Files (x86)\HiSuite\hwtools>fastboot flash recovery c:\temp\recovery.img && fastboot reboot
target reported max download size of 471859200 bytes
sending 'recovery' (24468 KB)...
OKAY [ 0.646s]
writing 'recovery'...
OKAY [ 0.597s]
finished. total time: 1.245s
rebooting...

finished. total time: 0.021s

Restart with Power + Volume UP shows stock recovery, not TWRP.
[P8 Lite (2017) Development] davidtgbe:
Solved.... phone must be restarded without USB plugged.
[P8 Lite (2017) Development] Iocere:
flash twrp to recovery2 and you have both :D

twrp only with USB connection then