Huawei P8 lite 2017 partition table - P8 Lite (2017) Discussion

Hi everybody, I have a question: What are these partitions (that are accessible too with the twrp recovery)?
-Vendor
-Cust
-Version
-Product
-Oeminfo
What are fundamental for the phone to boot? What I have to backup?
For example, can the phone boot without /cust? Tell me what they contain too, please. Thank you to everyone!

Related

Need Huawei P9 Back System File (TWRP)

Please Sent me backup of system (via twrp) of Huawei P9 Eva-L19
[email protected]

[recovery] twrp 3.2.1-0 oreo

Team Win Recovery Project 3.2.1-0 for OREO only (fromfuture edition)
Hi there,
here my latest TWRP 3.2.1-0 Build for Oreo.
HOW-TO INSTALL:
1. Unlocked bootloader is required!
2. Download the TWRP recovery
3. Boot into fastboot and type : fastboot flash recovery_ramdisk TWRP_3.2.1-0_OREO.img
4. Type: fastboot reboot
Now you are able to backup and restore ramdisk,kernel or system
Download:
https://www.androidfilehost.com/?fid=962157660013071267
I'm not responsible for any bricks.
Thanks to:
@ante0 for testing
@Tkkg1994
Blackball said:
Team Win Recovery Project 3.2.1-0 for OREO only (fromfuture edition)
Click to expand...
Click to collapse
Thank you.
Any bugs?
Can it save settings (language, timezone and etc ) ?
Can it backup data and additional partitions?
Is it compatible with SuperSU package?
Is it compatible with Mate 9 Pro?
You can backup other partitions too. Maybe version doesn't work.
Data backup doesn't work right now (huawei encryption is hard to decrypt)
Wait for custom roms to backup data with twrp.
It's only tested with mate 9.
Gesendet von meinem VKY-L29 mit Tapatalk
Thanks download now
Oh, thanks a lot.
BTW, can you write a brief about how to compile twrp for huawei oreo devices? Since there are too many differences between this on huawei devices.(i.e. where's the BoardConfig.mk)
It's very hard to dig out each difference to make it work on huawei oreo devices.
You'll help us a lot to share your method to compile twrp for huawei oreo devices.
Anyway thanks a lot.
dawnc said:
Oh, thanks a lot.
BTW, can you write a brief about how to compile twrp for huawei oreo devices? Since there are too many differences between this on huawei devices.(i.e. where's the BoardConfig.mk)
It's very hard to dig out each difference to make it work on huawei oreo devices.
You'll help us a lot to share your method to compile twrp for huawei oreo devices.
Anyway thanks a lot.
Click to expand...
Click to collapse
It seems to go fine when the device has Twrp on Nougat, then you can use the same Twrp for Oreo (fstab.{device} and fstab.recovery needs updating if you want all previous features and you need to replace {filename}.img-zImage in the extracted split_img/ folder with an empty file). But if works even without updating fstab.
Devices that release with Oreo seem impossible to get a working Twrp.
To backup data you need to remove fileencryption in /vendor/etc/fstab.hi3660 and then format data in TWRP.
Code:
To build Twrp, example (Linux):
cd ~
mkdir twrp
cd twrp
repo init -u https://github.com/omnirom/android.git -b android-7.1
repo sync
mkdir devices
mkdir huawei
git clone https://github.com/Tkkg1994/android_device_hi3660
mv android_device_hi3660 hi3660
cd ~/twrp
. build/envsetup.sh
lunch omni_hi3660-eng && mka recoveryimage
ante0 said:
It seems to go fine when the device has Twrp on Nougat, then you can use the same Twrp for Oreo (fstab.{device} and fstab.recovery needs updating if you want all previous features). But if works even without updating fstab.
Devices that release with Oreo seem impossible to get a working Twrp.
To backup data you need to remove fileencryption in /vendor/etc/fstab.hi3660 and then format data in TWRP.
Click to expand...
Click to collapse
Honor View 10(V10) is released with oreo.
---------- Post added at 12:28 AM ---------- Previous post was at 12:25 AM ----------
ante0 said:
It seems to go fine when the device has Twrp on Nougat, then you can use the same Twrp for Oreo (fstab.{device} and fstab.recovery needs updating if you want all previous features). But if works even without updating fstab.
Devices that release with Oreo seem impossible to get a working Twrp.
To backup data you need to remove fileencryption in /vendor/etc/fstab.hi3660 and then format data in TWRP.
Click to expand...
Click to collapse
But i've found a twrp for mate-10 lite here, which was release here
But mate 10 is released with oreo.
dawnc said:
Honor View 10(V10) is released with oreo.
---------- Post added at 12:28 AM ---------- Previous post was at 12:25 AM ----------
But i've found a twrp for mate-10 lite here, which was release here
But mate 10 is released with oreo.
Click to expand...
Click to collapse
Mate 10 Lite (aka Nova i2, aka Honor 9i) came out with Nougat, so Twrp works fine on that phone).
Mate 10, and Pro, released with Oreo yes.
I've built Twrp for that but it just reboots right after the "Your device is unlocked" message.
See my updated post above if you want to test building for V10.
You will have to replace Image with an empty file named Image, as Oreo has kernel (zImage) in a separate partition.
ante0 said:
Mate 10 Lite (aka Nova i2, aka Honor 9i) came out with Nougat, so Twrp works fine on that phone).
Mate 10, and Pro, released with Oreo yes.
I've built Twrp for that but it just reboots right after the "Your device is unlocked" message.
See my updated post above if you want to test building for V10.
You will have to replace Image with an empty file named Image, as Oreo has kernel (zImage) in a separate partition.
Click to expand...
Click to collapse
Oh~
I'll give another try.
But where's BoardConfig.mk? Is it placed somewhere is the stock partition? I've unpacked ramdisk.img/recovery_ramdisk.img/vendor.img/system.img, but couldn't find it.
dawnc said:
Oh~
I'll give another try.
But where's BoardConfig.mk? Is it placed somewhere is the stock partition? I've unpacked ramdisk.img/recovery_ramdisk.img/vendor.img/system.img, but couldn't find it.
Click to expand...
Click to collapse
You make it. It's in the tree by Tkkg1994 but you need to edit it.
5[Strogino] said:
Thank you.
Any bugs?
Can it save settings (language, timezone and etc ) ?
Can it backup data and additional partitions?
Is it compatible with SuperSU package?
Is it compatible with Mate 9 Pro?
Click to expand...
Click to collapse
Actually. If you are encrypted, could you check if it decrypts correctly now in TWRP?
I'm encrypted and I'm backing up /data. Just want to see if it's just me...
False alarm. It got half way and stopped with error 255.
/data/data is still encrypted. /data/app is not.
/sdcard is encrypted.
My Twrp can't decrypt internal storage.
Next days I can test if it's work with your Tipp about vendor and fstab.
Blackball said:
My Twrp can't decrypt internal storage.
Next days I can test if it's work with your Tipp about vendor and fstab.
Click to expand...
Click to collapse
If you just format data, it stays decrypted until you reboot. So you need to remove fileencryption from /vendor/etc/fstab.yourDevice.
In Nougat this file was patched automatically by SuperSu 2.82 SR2+ and Magisk 13.x - 14.x. (can't remember exactly when it was removed from Magisk). Anyhow, the fstab was in the boot image then.
what's the difference for 3.0.3 and others twrp ?
Awesome! Thanks for your hard work man!
aureliomilitao said:
what's the difference for 3.0.3 and others twrp ?
Click to expand...
Click to collapse
Just newer versions. You could read TWRP changelog to see what's new. https://twrp.me
when i do this procedure i get this error what am i doing wrong?
c:\adb>fastboot flash recovery_ramdisk TWRP_3.2.1-0_OREO.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (16494 KB)...
OKAY [ 0.591s]
writing 'recovery_ramdisk'...
FAILED (remote: partition length get error)
finished. total time: 0.867s
Thanks for the help
Ur running system is oreo?
Gesendet von meinem VKY-L29 mit Tapatalk
Blackball said:
Ur running system is oreo?
Gesendet von meinem VKY-L29 mit Tapatalk
Click to expand...
Click to collapse
not yet wanted to load that twrp so i could just do the update to oreo! without having to load a modified twrp to do the update
It's a oreo twrp.
You need a nougat twrp
Gesendet von meinem VKY-L29 mit Tapatalk

Reduced System partition prevent Rollback

Hi there, i've done some testing with rom for the board on my NEM-L51C432 and i face a problem.
Userdata partition growth from aprox 8 to 10Gb taken for the system partition by one of the rom i installed on the phone. I tried to get back to EMUI but the system partiton is too small to containt the base system.
i've tried many things to put things back
eRecovery,
eRecovery with DNS Change (huawei Firmware tool),
fdisk from adb (lack the ability to choose the part you want to delete)
debloat huawei system.img (still lack of space)
and now i can only have some really light roms with a few gapps with no safetynet or Magisk as it makes my kernel crash
Do you have any idea about how to change the way storage is splitted?
or simply knowing the name of the largest rom of the board
thank you by advance

TWRP FOR P9 EMUI8 Supports Encryption and Decryption

Is there any TWRP for P9 EMUI8 which supports Encryption and Decryption ?
md sabuj said:
Is there any TWRP for P9 EMUI8 which supports Encryption and Decryption ?
Click to expand...
Click to collapse
There is no TWRP properly supporting Chinese Oreo encryption on P9 in a way that:
- you don't need to format Data and make changes to Vendor partition
- you just need to enter your Android unlock pin/pass whenever you boot to TWRP
- with that that TWRP can properly read/write to Data and Internal memory
However, there is a Chinese TWRP (language can be switched to English) that you can for one time remove encryption from Data (it is not enough to format Data but it must be also edited an fstab file on Vendor partition)
After that encryption is removed and you can fully use TWRP for e.g. Nandroid backups, installations from Internal memory, installations to Data partition, editing on Data partition (in case of e.g. bootloops with Magic modules), etc.
Also, once encryption was removed you can switch back to your preferred TWRP from that Chinese TWRP (that TWRP has some other issues)
It was long ago couple of us experimented with, you can start from the following post and follow the links (but always compare the dates, newer posts from the same pearson mean they were written with more experience and understanding of the matter):
https://forum.xda-developers.com/showpost.php?p=80029346&postcount=1843
Good thing is that (once you don't want it anymore), stock Oreo can be fully reinstalled and encryption reinstated. E.g., eventually I did it on two my P9s (almost a year ago), but I was no more updating the posts about
Of course, once Data is decrypted, it can be also used for TWRP when working with GSI/AOSP ROMs (not only with stock Oreo)

Question Need Stock Recovery and Some Info

Hi Guys,
I Want the Stock recovery.img of venus and Want to Know if the Device is A/B or Not
I also want the build.prop file ( found in /system or in /product )
I need all this Stuff to Build a Custom Recovery xD
So, Can Anyone Please Help Me By Sending All these?
Reserved
Reserved
Reserved
I'm on xiaomi.eu rom if that works... Its a A/B device
sush1101 said:
Hi Guys,
I Want the Stock recovery.img of venus and Want to Know if the Device is A/B or Not
I also want the build.prop file ( found in /system or in /product )
I need all this Stuff to Build a Custom Recovery xD
So, Can Anyone Please Help Me By Sending All these?
Click to expand...
Click to collapse
First of all, our phone uses the super structure, so there is no recovery.img
Mi 11 is a A/B device
Ans attached is the build.prop of Xiaomi.EU that I found in system ^^

Categories

Resources