Partition description for P8Lite 2017 - P8lite Q&A, Help & Troubleshooting

Hello,
Can somebody point me to a link where partitions for P8Lite 2017 are documented (or, if GSI roms need a specific partition layout, this documentation).
Thank you, can't find this.

There is no reference to our device in the dev site of Huawei, so I don't really know where to find info's about partition. There are some guides about partitions in android, but not specifically in P8 Lite 2017

Related

Project Treble

I would like to know if in any way there would be a treble project in the harpia, I read that it could be enabled in 2016 android devices, I would like to know if it will be in the harpia
ReftLight said:
I would like to know if in any way there would be a treble project in the harpia, I read that it could be enabled in 2016 android devices, I would like to know if it will be in the harpia
Click to expand...
Click to collapse
Highly unlikely given technical prerequisites. Seems beyond the scope of what Moto would do for an aging 'value' oriented device that struggles to receive conventional updates and/or the scope of services provided by custom ROM custodians.
Davey126 said:
Highly unlikely given technical prerequisites. Seems beyond the scope of what Moto would do for an aging 'value' oriented device that struggles to receive conventional updates and/or the scope of services provided by custom ROM custodians.
Click to expand...
Click to collapse
But, you could not unofficially because they did treble in an officer Xiaomi.
ReftLight said:
But, you could not unofficially because they did treble in an officer Xiaomi.
Click to expand...
Click to collapse
Boils down to reasonable effort given the technical base, developer support and target community. Morphing a device and ROM to support treble is not for the faint of heart.
How much is the cust partition for Moto g4 play(harpia)???
mad_max69 said:
How much is the cust partition for Moto g4 play(harpia)???
Click to expand...
Click to collapse
What exactly are you asking? If partition sizes system is ~2.5Gb, data ~10Gb.
ReftLight said:
I would like to know if in any way there would be a treble project in the harpia, I read that it could be enabled in 2016 android devices, I would like to know if it will be in the harpia
Click to expand...
Click to collapse
It's not possible coz Treble implementation requires an extra partition to be masked as Vendor Partition. Xiaomi Devices have a partition labelled 'cust'. It is used in the MIUI ROM but practically unusable in AOSP or any other custom Roms. The developers developed a customized recovery that masked the cust partition as Vendor partition to unofficially implement Treble Support in the Xiaomi devies.
Moto G4 play or other Moto devices don't ship with an extra partition. Also, repartitioning the device will lead to brick. So, it's not possible.
uncannyjish said:
It's not possible coz Treble implementation requires an extra partition to be masked as Vendor Partition. Xiaomi Devices have a partition labelled 'cust'. It is used in the MIUI ROM but practically unusable in AOSP or any other custom Roms. The developers developed a customized recovery that masked the cust partition as Vendor partition to unofficially implement Treble Support in the Xiaomi devies.
Moto G4 play or other Moto devices don't ship with an extra partition. Also, repartitioning the device will lead to brick. So, it's not possible.
Click to expand...
Click to collapse
Umm what. I have the Moto g6 play and it came treble enabled. Any android device that ships with android Oreo is officially treble enabled. sounds like your talking about A/B partition for seamless system updates. My Moto g6 play is A only partition and there is plenty of gsi.img files for A only partition. Theres ways to make older devices treble enabled also our Moto g4 play would be considered an A only partition if we get unoffical treble support. I also have a Moto g4 play in case your wondering why a Moto g6 play user is on here.
It may be possible, using only the system partition. I would try that if I had reliable internet access.
https://forum.xda-developers.com/pr.../tool-capire-le-treble-terble-vendor-t3774629
ReftLight said:
I would like to know if in any way there would be a treble project in the harpia, I read that it could be enabled in 2016 android devices, I would like to know if it will be in the harpia
Click to expand...
Click to collapse
Technically, you could use "steal" an fstab from a treble device, wipe internal storage, and use that to create a new vendor partition, and then place the blobs there.

Project Treble ROMS on the 10 lite (WAS-LX1A currently running 8.0.0.321(C432)daily)

Hi
I know the p10 lite has had its oreo upgrade and this will open up this device to Project treble ROM's has anyone sucessfuly installed any of the treble ROM's out there and if so which ones give a good overall experience TIA
N
ndg_2000 said:
Hi
I know the p10 lite has had its oreo upgrade and this will open up this device to Project treble ROM's has anyone sucessfuly installed any of the treble ROM's out there and if so which ones give a good overall experience TIA
N
Click to expand...
Click to collapse
In most cases is kinda a lottery to install successfully a treble ROM because of the Huawei encryption. Firstly I recommend to upgrade to the final and latest version of Oreo (B360) (using HuRUpdater) which is the final version and then flash this TWRP recovery:
https://forum.xda-developers.com/p10-lite/development/recovery-twrp-3-2-1-0-oreo-t3777582
Here you have 2 options: You can format /data and then factory reset after you flash the ROM OR flash back the stock recovery and wipe data from there. The later option works the best for most people.
If it's a system.img then you can flash it by fastboot and keep the original Huawei recovery and do a wipe from there.
Like I said it's kinda lottery so keep in mind to have the stock firmware handy if anything goes wrong.
thanks for the advice
i will have a play
the only thing i dont understand is that i thought the Treble ROMS should be device non specific and then ANY treble rom should work........... as the underpinning "drivers" (sorry im used to explaining my thinking in windows speak) are allready sorted and on another partition on the phone ready to go
If im missing somthing please can someone correct me or explain it better as although i can and have flashed all of the android devices i own my knowledge ends there with Android.

Is it possible to update vendor files?

Does anyone know if it's possible to replace old vendor files with new ones from android 8.1 ..
Android P treble needs the 8.1 vendor so i am unable to boot.
If it's possible please also tell me which files shoukd i use from what device.
My phone: Sony xperia Xa2 (H4113)
Why not asking in XA2 forum ? This belongs not here

Android 10 (Q) GSI Images working with Axon 7?

Hey guys
I've seen some Android Q GSI Images on the internet and I'm asking myself whether or not they would work with our axon (A2017G for me)?
Also, I have a general question about GSI on Axon: I've seen A GSI Roms, B GSI Roms and A/B GSI Roms.. what's the difference and more importantly, which one of those can I take for our axon? I have trebleized right now on latest LiquidRemix Pie
Thanks in advance,
Fred x
No harm in trying them out. We use x64 A only. No idea what the differences are
jojofreddy said:
Hey guys
I've seen some Android Q GSI Images on the internet and I'm asking myself whether or not they would work with our axon (A2017G for me)?
Also, I have a general question about GSI on Axon: I've seen A GSI Roms, B GSI Roms and A/B GSI Roms.. what's the difference and more importantly, which one of those can I take for our axon? I have trebleized right now on latest LiquidRemix Pie
Thanks in advance,
Fred x
Click to expand...
Click to collapse
There are only two actually: A-only and AB ROMs, this pertains to the seamless update scheme. A-only means you only have one system partition, while AB means that there are two system partitions. If your phone is AB then the ROM can download updates in the background and flash them to the unused partition, and after it's done you can reboot and the active partition will be switched to that one. you basically don't lose time updating.
When Treble for our phone was made by djkuz, it was unclear whether it would be possible to implement an A/B scheme. We wouldn't lose much storage space (maybe none at all) because our stock system partition is actually huge, so it could be shrunk considerably and duplicated (I think it's 6GB in size). Oki said he would look into it some time ago.
Just use ARM64 A-only images for the Axon
Try Q yourself and report back, there's no obvious reason why it wouldn't work. maybe it does, maybe it doesn't, the question is why you would even bother with a leaked release idk
Thank you for your in-depth answer!
I've seen that leaked GSI Rom but also read an article that some sort of DP or Beta will be officially released soon. Maybe I'll get into Rom building, maybe I'll just try and report back, but of course: being on the very bleeding edge
Cheers
I tried the only gsi rom I could find at the time of writing this. I had no luck with all the vendors we have here. Every time I reboot I get a promising android text on the screen as if its booting but soon after it goes to the fastboot menu. It did this for every vendor i used. Let me know other peoples luck with this.
That leaked GSI will never work in axon7 because it requires the device to be "system as root" .
I heard that there will be another version of the GSI but could not find it anywhere
king1990 said:
That leaked GSI will never work in axon7 because it requires the device to be "system as root" .
I heard that there will be another version of the GSI but could not find it anywhere
Click to expand...
Click to collapse
Could you briefly explain what this is?
stevecaboose said:
Could you briefly explain what this is?
Click to expand...
Click to collapse
System-as-root requires the ramdisk to be part of the system image, as in the AB images
It also loads your img file into root " { "/" folder } compared to the normal /system before.
So, if your kernel is not configured to read the ramdisk from system, then it would not be able to use a System-as-root image.
This is my understanding of it, correct me if I am wrong..

T580 vendor image?

Hello!
I've been experimenting with some roms for my SM-T580 and noticed Lineage-based roms warning me about an outdated vendor. Now, when searching the internet I found mostly Nexus users having to flash a newer vendor image (seemingly provided as an .img), but I don't quite know how to get this for my device.
Can somebody explain this to me?
Thanks.

Categories

Resources