Partition details and tables: any hint? - Realme X2 Pro Questions & Answers

In order to move a device between CN, EU and IN we'd need to modify the partition sizes.
At the moment I have no clue on how they look like and how the bootloader chooses the system and recovery ones.
Provided that all the stars align properly, it could be in theory possible to dump the three different partition tables and hopefully to restore the needed one before flashing the related ROM.
So, for example, I restore the EU partition table on my CN device, then sideload the EU image.
Any idea whether this is actually doable?

There was a post in here by someone semi successfully flashing global on cn phone:
https://forum.xda-developers.com/realme-x2-pro/help/cn-x2-pro-running-global-rom-half-t4113243

naveed5700 said:
There was a post in here by someone semi successfully flashing global on cn phone:
https://forum.xda-developers.com/realme-x2-pro/help/cn-x2-pro-running-global-rom-half-t4113243
Click to expand...
Click to collapse
Thanks. I knew about that but the video (latest message in the thread is mine) isn't available anymore.
BUt if the problem is with the partition sizes, then there needs to be a re-partition step. No documentation, no video, no idea!

Uqbar said:
Thanks. I knew about that but the video (latest message in the thread is mine) isn't available anymore.
BUt if the problem is with the partition sizes, then there needs to be a re-partition step. No documentation, no video, no idea!
Click to expand...
Click to collapse
Yea i saw that after I had already posted. I was reading somewhere in the forum that the partition details still haven't been released by realme as they have promised. So i suppose at this point we can just hope for the best.

naveed5700 said:
Yea i saw that after I had already posted. I was reading somewhere in the forum that the partition details still haven't been released by realme as they have promised. So i suppose at this point we can just hope for the best.
Click to expand...
Click to collapse
Anyone who has root on either device can dump the partition table schema from the internal storage device.
That would give a first base for further investigation, IMHO.
Fiddling with ROM images without this basic knowledge seems to be just waste of time if not dangerous practice.

Related

Debrick img needed to unbrick s3 mini gt-i8200

i have read this post (https://forum.xda-developers.com/showthread.php?t=2581166) and this seems to be last hope to bring s3 mini back to life before touching JTAG.
Phone cant enter download mode, don't charge, don't show any sign of boot or bootloop.
If someone have debrick img for s3 mini gt-i8200, please give me link.
Or you can make by following instruction here:
(https://forum.xda-developers.com/showthread.php?t=2625628) and
(https://forum.xda-developers.com/att-galaxy-s6/help/create-debrick-img-stock-rom-t3367325)
Still waiting to get any help from XDA developers experts and users
Helloooo! I need the same, could somebody who knows how to do it just provide it for us? I'm willing to make a donation
marianvr7 said:
Helloooo! I need the same, could somebody who knows how to do it just provide it for us? I'm willing to make a donation
Click to expand...
Click to collapse
Not found yet. This unbrick image is needed when you messed up your bootloader, are you sure of that?
sadiqeen3210 said:
Not found yet. This unbrick image is needed when you messed up your bootloader, are you sure of that?
Click to expand...
Click to collapse
If you can't get boot into download mode at all, you might be done. Hard bricks are often the death call of a phone. I'm curious, were you able to work this out?
cloudmann said:
If you can't get boot into download mode at all, you might be done. Hard bricks are often the death call of a phone. I'm curious, were you able to work this out?
Click to expand...
Click to collapse
It can be worked out. See youtube for JTAG, and unbrick.img method. And there is also freezer method.
sadiqeen3210 said:
It can be worked out. See youtube for JTAG, and unbrick.img method. And there is also freezer method.
Click to expand...
Click to collapse
What's the Freezer method?
w0lf_b said:
What's the Freezer method?
Click to expand...
Click to collapse
see this thread, people are talking about freezer method here https://forum.xda-developers.com/note-4/snapdragon-dev/note-4-debrick-img-t3488114/page53
It is a shame no one found the file. I have to buy a working device now I guess.
L3P3 said:
It is a shame no one found the file. I have to buy a working device now I guess.
Click to expand...
Click to collapse
Same model?
sadiqeen3210 said:
Same model?
Click to expand...
Click to collapse
Yes yes, an 8200n, I ordered one in bad condition but it boots so I will post the data here as soon as I got it!
I have copied the first 128M of the mmcblk0 of that device. Now I have no idea what to do. Maybe one of you have a better idea.
Hey, any progress here? I also need the img.
As I wrote, I got the raw data but I have no idea what to do with that!
Here is the raw dump of the beginning of internal flash. Flashing it directly to mmc (not to some partition but to /dev/mmcblk0 or similar directly) might recover booting. Then you have to wipe /system /data etc. and install an image from twrp, because OS is not included in this img. In case anyone has a better idea what to do with that, please tell!
https://l3p3.de/shr/goldenve3g-raw.img.gz
Thank you for your fast reply.
As I understand, the debrick img file is used to be written to a SD Card and the hard bricked phone should boot from that.
After flashing your image with Win32DiskImager or Etcher and putting it in the phone, it won't start.
When I flash the last file from this post (Debrick for 4.4.2) (Yes, wrong model). The SD-Card shows something like 26 partitions. That confirms this post:
should show approximately 23 partitions (IIRC)
Click to expand...
Click to collapse
Your img does not create any partition, but when extracted with binwalk, I can see that there are multiple files inside.
So I think your img is broken, how did you create it? Did you use this post or maybe this one? Can you replicate my partition list? Can you build it again?
I have just dumped the raw internal memory, the first x megabytes of it. It should contain partitions but I don't remember much.
I can look at it again later, have not much time now. But I have that phone and it will be done.
Hey, how are you? Do you have some spare time around?
Sorry, I worked a lot on https://github.com/L3P3/minicraft the last weeks. I have forgotten this thing. Next weekend, I try to do it.
It is an old phone, you should keep it but it does not hurry too much, right?
I also recommend buying a used S4 Mini [serranoltexx] and put Android 11 on it like I did.
Minicraft looks like an interesting project, I will keep an eye on that.
No, there is no hurry, I am trying it just for fun.

Possible to Downgrade LM-V405QA From Pie to Oreo?

Just got a new in the box unit. It was made in 7/2019 and it arrived with Pie installed even though these originally came with Oreo. Is there any way to downgrade mine and, if so, how to do it and were to get a firmware file? Thanks for your help.
Unless I'm mistaken, this thread will tell you how: https://forum.xda-developers.com/lg-v40/how-to/guide-lgup-root-t3967858
and this thread contains the links to the KDZs (LG speak for stock ROMs): https://forum.xda-developers.com/lg-v40/development/v40-firmware-links-ainzooalgown-t3940600
[NG]Owner
NGOwner said:
Unless I'm mistaken, this thread will tell you how: https://forum.xda-developers.com/lg-v40/how-to/guide-lgup-root-t3967858
and this thread contains the links to the KDZs (LG speak for stock ROMs): https://forum.xda-developers.com/lg-v40/development/v40-firmware-links-ainzooalgown-t3940600
[NG]Owner
Click to expand...
Click to collapse
Thanks. I do see those threads and those definitely help. But I am still not clear if I can downgrade. Perhaps it is because I am new to LG phones from Samsung and I know that on some Samsung devices, once you go forward you may not be able to go back. So I am just wondering about all that (along with if I can unlock the bootloader, install TWRP, and root on the model 405QA that I have). Cheers!
Using LGUP 1.14 on DEV mode will let you downgrade, matter is flashing cause phones themselves seem not have any issues by downgrading. Personally I've downgraded both my v40 and my older g7 a couple of times, no probs.
smariob said:
Using LGUP 1.14 on DEV mode will let you downgrade, matter is flashing cause phones themselves seem not have any issues by downgrading. Personally I've downgraded both my v40 and my older g7 a couple of times, no probs.
Click to expand...
Click to collapse
Thanks so much for your time and help. I have downloaded LGUP and installed according to this thread <https://forum.xda-developers.com/lg-v40/how-to/guide-lgup-root-t3967858>. When I try to run it, Win10 asks if it is ok, I say yes, and then nothing else happens. Hmmm. I believe this is LGUP 1.16.0.3. No idea what's up. I have the phone attached and in download mode as described here <https://droidrecovery.com/lg-v40-thinq-recovery-mode/>. Grrr.
Try this LG UP version https://forum.xda-developers.com/showpost.php?p=76995781&postcount=26 set the DLL on DEV mode.
As for unlock bootloader question on your other thread, yep so far it's the easiest method to do it. ADVICE: If you haven't touched anything yet I suggest take a bakup of your partitions via QFIL. So if you mess up something (most likely not but you never know) you will be able to restore everything as it was when you got the phone.
smariob said:
Try this LG UP version https://forum.xda-developers.com/showpost.php?p=76995781&postcount=26 set the DLL on DEV mode.
As for unlock bootloader question on your other thread, yep so far it's the easiest method to do it. ADVICE: If you haven't touched anything yet I suggest take a bakup of your partitions via QFIL. So if you mess up something (most likely not but you never know) you will be able to restore everything as it was when you got the phone.
Click to expand...
Click to collapse
Oh thanks so much! That version of LGUP seems to work (after I manually did some file copying that had permission problems from the scripts). I presume that to downgrade - assuming I have a compatible .KDZ - is to use the FOTA upgrade option?
I will look into the backup as you suggest. As a newbie on these devices, there is alot to learn. Cheers
smariob said:
Try this LG UP version https://forum.xda-developers.com/showpost.php?p=76995781&postcount=26 set the DLL on DEV mode.
As for unlock bootloader question on your other thread, yep so far it's the easiest method to do it. ADVICE: If you haven't touched anything yet I suggest take a bakup of your partitions via QFIL. So if you mess up something (most likely not but you never know) you will be able to restore everything as it was when you got the phone.
Click to expand...
Click to collapse
Ok, I see the phone in QFIL. Under the tools menu, I see QCN Backup/Restore. Is this the backup to which you refer? I don't see anything else that looks promising. Sorry for all of my newbie questions.
So, if you are going to do the back up use this guide: https://forum.xda-developers.com/lg-g7-thinq/how-to/how-to-partitions-flash-abl-t-mo-t4051249
Follow steps 1 to 10, Backing up _a partitions will do the job _b patitions will be mirrored from those when restore. Data is not mandatory to back up as it will take much time to read the whole partition. Another tip, rename your backed up files so you can identify them properly later.
Then when you are ready you can play with LG UP most of the time you will like to use Partition DL. Use refurbish only to go stock. FOTA is for updating between versions without losing data (nice if you crossflash/loss the ability to OTA on the phone)
smariob said:
So, if you are going to do the back up use this guide: https://forum.xda-developers.com/lg-g7-thinq/how-to/how-to-partitions-flash-abl-t-mo-t4051249
Follow steps 1 to 10, Backing up _a partitions will do the job _b patitions will be mirrored from those when restore. Data is not mandatory to back up as it will take much time to read the whole partition. Another tip, rename your backed up files so you can identify them properly later.
Then when you are ready you can play with LG UP most of the time you will like to use Partition DL. Use refurbish only to go stock. FOTA is for updating between versions without losing data (nice if you crossflash/loss the ability to OTA on the phone)
Click to expand...
Click to collapse
I cannot thank you enough for your time and help. I will read up on all this and continue tomorrow morning. Cheers.
smariob said:
So, if you are going to do the back up use this guide: https://forum.xda-developers.com/lg-g7-thinq/how-to/how-to-partitions-flash-abl-t-mo-t4051249
Follow steps 1 to 10, Backing up _a partitions will do the job _b patitions will be mirrored from those when restore. Data is not mandatory to back up as it will take much time to read the whole partition. Another tip, rename your backed up files so you can identify them properly later.
Then when you are ready you can play with LG UP most of the time you will like to use Partition DL. Use refurbish only to go stock. FOTA is for updating between versions without losing data (nice if you crossflash/loss the ability to OTA on the phone)
Click to expand...
Click to collapse
Wow! That is alot of partitions and a lengthy backup chore - even without including the _b partitions. You were 100% correct that renaming each file as you go makes this easier. I used the LUN#_the partition-label.bin as I discovered that some labels were re-used in different LUN.
I never would have figured this out without your help. Thanks.
After a brief rest I will move on and try to unlock the bootloader as described here <https://forum.xda-developers.com/lg-v40/development/unlock-lg-v40-via-9008-root-t-mobile-t4042207>.
It's great to know that, once you've done that UL BL would be a piece of a cake.
smariob said:
It's great to know that, once you've done that UL BL would be a piece of a cake.
Click to expand...
Click to collapse
Thanks so much! You might note I have posted in the other thread about troubles getting unlocked. I seem to have successfully sent the v35 bootloader to the phone. I have the QFIL log showing that. But when I go to fastboot mode and try the unlock command, it fails with unknown command. After restoring/sending the backup of the original partition, I tried issuing the same unlock command (not expecting it to work since I should have been back to the original pie bootloader) and I get the exact same error. This makes me wonder if the v35 bootloader is actually getting installed properly. The phone is on the most recent Pie (QA20e) and seems to boot and run fine - even right after I send the v35 bootloader. There were comments that using this bootloader with Pie might have problems and I have never had any so far. So again, I am wondering if the v35 is actually getting into place. A real mystery to me. Thanks!
whitedavidp said:
Wow! That is alot of partitions and a lengthy backup chore - even without including the _b partitions. You were 100% correct that renaming each file as you go makes this easier. I used the LUN#_the partition-label.bin as I discovered that some labels were re-used in different LUN.
I never would have figured this out without your help. Thanks.
After a brief rest I will move on and try to unlock the bootloader as described here <https://forum.xda-developers.com/lg-v40/development/unlock-lg-v40-via-9008-root-t-mobile-t4042207>.
Click to expand...
Click to collapse
In my case, it turned out that the phone was active on the B slot. So I took backups of those partitions as well, flashed the V35 bootloader into B, performed the unlock, re-flashed the Pie bootloader. When I reboot into normal mode, I now see an unlocked warning and it took a very long time for the phone to get started and prompt me to start all over with my Android install. Before I do that I am trying to restore the backup I made of the userdata partition to see if that spares me the whole setup thing. Thanks to all.
Yeah you've made it at least. Good one on figure out B slot was active. Now you're able to go custom roms or just go root.
smariob said:
Yeah you've made it at least. Good one on figure out B slot was active. Now you're able to go custom roms or just go root.
Click to expand...
Click to collapse
Again, thanks so much for all of you help and encouragement. From my pre-purchase research I had anticipated that I could do a dev unlock of the bootloader quite easily. I have rooted with Magisk now and am moving on to see what I can do. Cheers.
smariob said:
Using LGUP 1.14 on DEV mode will let you downgrade, matter is flashing cause phones themselves seem not have any issues by downgrading. Personally I've downgraded both my v40 and my older g7 a couple of times, no probs.
Click to expand...
Click to collapse
Thanks for all of your help and sorry for all the questions.
I am just wondering if you are able to use TWRP/Magisk root on the downgraded v40? In the TWRP thread it indicates that it requires Pie firmware be installed. If I cannot use TWRP/Magisk root on Oreo, then I will not bother trying to downgrade.
Again, thanks so much!
Now that you mention it. V40 TWRP is meant to use with pie... Will not boot on Oreo. I think there are workarounds for that if it's mandatory for you to be in Oreo, but not personally tested'em.
smariob said:
Now that you mention it. V40 TWRP is meant to use with pie... Will not boot on Oreo. I think there are workarounds for that if it's mandatory for you to be in Oreo, but not personally tested'em.
Click to expand...
Click to collapse
Thanks. Certainly not mandatory. So will stick with Pie for now anyway. Again, thanks so much.

[OBSOLETE] Variants with KDZs Bl Unlock Guide

THIS GUIDE IS NOW OBSOLETE
Links will be added once the new guide using the firehose comes out - No more bricking!
Thanks to everyone who contributed to the firehose!
I just cut and pasted the whole guide into a txt file, which is linked below in case there's ever any purpose of looking at it again.
https://drive.google.com/file/d/1wTRMvweLlsF-3WU9CYlz7X3ZIRE3vtCs/view?usp=sharing
Isn’t Mr. Zhu the author of twrp?
You might want to wait until I get to my computer again as I realized there are a few minor edits that could be helpful. It's not letting me edit it successfully on my phone
Malossi94 said:
Isn’t Mr. Zhu the author of twrp?
Click to expand...
Click to collapse
Yeah but apparently he stopped development, but le Minh sent the Korean fix after that so I'm not entirely sure lmao
antintin said:
Yeah but apparently he stopped development, but le Minh sent the Korean fix after that so I'm not entirely sure lmao
Click to expand...
Click to collapse
Mr. Zhu repaired kor twrp, and my kor skt G8 participated in the repair development:silly:
Malossi94 said:
Mr. Zhu repaired kor twrp, and my kor skt G8 participated in the repair development:silly:
Click to expand...
Click to collapse
Nice! I'll edit as soon as I get on my computer
Hi have followed the guide and got stuck at step 7. I get only the LG V50Thinq powered by android screen and nothing more. It just stays like for the past 30 minutes. I have rebooted several times but the same. i cannot access (or do not know) download mode.
Any help!
So, if your on a korean version that wil be a q version of android vulnerable. Therefore at step 6, you will need a pie kdz to flash those 4 xbl files. Do not make my mistake, you will get bricked ))
Marmalux said:
So, if your on a korean version that wil be a q version of android vulnerable. Therefore at step 6, you will need a pie kdz to flash those 4 xbl files. Do not make my mistake, you will get bricked ))
Click to expand...
Click to collapse
Sorry I'm afraid I don't understand. That's step 4, and you don't need to flash the whole kdz. Only the partitions the guide says to.
antintin said:
Sorry I'm afraid I don't understand. That's step 4, and you don't need to flash the whole kdz. Only the partitions the guide says to.
Click to expand...
Click to collapse
I think he's referring to how its a bit confusing how it says you should use android pie but also implies that you should use latest pre-march firmware, which for korean variant is actually android Q not pie so its little confusing which you should use, i could be wrong though, thanks alot for this guide though!
9RR said:
I think he's referring to how its a bit confusing how it says you should use android pie but also implies that you should use latest pre-march firmware, which for korean variant is actually android Q not pie so its little confusing which you should use, i could be wrong though, thanks alot for this guide though!
Click to expand...
Click to collapse
If someone can't deal with the level of instruction I provided here, I would very much advise against attempting it as it is inherently very risky. Probably not what anyone wants to here, but it is what it is
This is great news. Has anyone Tested using a LOS GSI or AOSP GSI? I am on verizon and have found with another phone that all GSIs on android version 9 and 10 have "No Sim Card" errors and you can not make calls or send texts (strangely you can receive both). This error wasn't seen with other network versions of the phone (palm phone). I am a little hesitant to go through this process to find out if data doesn't work on LOS 17 or AOSP 10. If anyone on verizon tries this out, please report back on how well the GSIs work, or if you find a specific ROM that works on Verizon.
CaptainElwood said:
This is great news. Has anyone Tested using a LOS GSI or AOSP GSI? I am on verizon and have found with another phone that all GSIs on android version 9 and 10 have "No Sim Card" errors and you can not make calls or send texts (strangely you can receive both). This error wasn't seen with other network versions of the phone (palm phone). I am a little hesitant to go through this process to find out if data doesn't work on LOS 17 or AOSP 10. If anyone on verizon tries this out, please report back on how well the GSIs work, or if you find a specific ROM that works on Verizon.
Click to expand...
Click to collapse
I've used a lot of gsis like bless and caos (use those instead of aosp definitely). I haven't had any data issues
antintin said:
I've used a lot of gsis like bless and caos (use those instead of aosp definitely). I haven't had any data issues
Click to expand...
Click to collapse
But I have a sprint model. I'm pretty sure Verizon people have tried it with no issues already though
antintin said:
If someone can't deal with the level of instruction I provided here, I would very much advise against attempting it as it is inherently very risky. Probably not what anyone wants to here, but it is what it is
Click to expand...
Click to collapse
Hi, thank you very much for this tutorial.
It was my mistake and got a permanent brick. It is true that the vulnerable firmware for kor is android Q and i have achieved root after downgrading to a older Q version. My problem was at step 4 because i used the q kdz and i did not download a separate pie kdz for that step.
Now i hope no one else will make my mistake since i really do not see how to get DL mode active or to switch slots without the USB. Only thing i got is the image that precedes the DL mode and the IMEI display. And since the USB is basically dead i think firehose (even if i had it) would not recover my phone.
I have flashed and unlock many phones and this is my first unrecoverable brick. My first LG though and probably the last.
Marmalux said:
Hi, thank you very much for this tutorial.
It was my mistake and got a permanent brick. It is true that the vulnerable firmware for kor is android Q and i have achieved root after downgrading to a older Q version. My problem was at step 4 because i used the q kdz and i did not download a separate pie kdz for that step.
Now i hope no one else will make my mistake since i really do not see how to get DL mode active or to switch slots without the USB. Only thing i got is the image that precedes the DL mode and the IMEI display. And since the USB is basically dead i think firehose (even if i had it) would not recover my phone.
I have flashed and unlock many phones and this is my first unrecoverable brick. My first LG though and probably the last.
Click to expand...
Click to collapse
I'm very sorry to hear that, but the firehose could almost definitely help you unbrick. I tried to clarify more that it has to be a pie kdz now, because before I just wrote "load your pie kdz" and you probably missed that. There should still be a warranty though, so you could try to use that if you'd like. It might say that yours expired on the website, but you can just click past it.
antintin said:
Spoiler
I'm very sorry to hear that, but the firehose could almost definitely help you unbrick. I tried to clarify more that it has to be a pie kdz now, because before I just wrote "load your pie kdz" and you probably missed that. There should still be a warranty though, so you could try to use that if you'd like. It might say that yours expired on the website, but you can just click past it.
Click to expand...
Click to collapse
Thank you antintin for your reply. You bring me some hope. The warranty will not apply because it is stated clearly that any attempt to BL unlock will void it (I got it from a shop in Spain via Ebay).
But the firehose on the other hand.... When do you think it will be available? And how will i ba able to get it?
Thank you very much!
Marmalux said:
Thank you antintin for your reply. You bring me some hope. The warranty will not apply because it is stated clearly that any attempt to BL unlock will void it (I got it from a shop in Spain via Ebay).
But the firehose on the other hand.... When do you think it will be available? And how will i ba able to get it?
Thank you very much!
Click to expand...
Click to collapse
Other people who bricked while different bl unlock methods were tested sent it in for warranty with no issues. The firehose will be available in November at the earliest probably. Proof of purchase from eBay should be enough, but I don't if there's any lg repair centers in Spain that support phones.
antintin said:
Other people who bricked while different bl unlock methods were tested sent it in for warranty with no issues. The firehose will be available in November at the earliest probably. Proof of purchase from eBay should be enough, but I don't if there's any lg repair centers in Spain that support phones.
Click to expand...
Click to collapse
In Spain there are several. But i`m in Ireland, and here is none ))
Successfully rooted korean variant, thanks for the guide! I was wondering if its okay now to update to newest firmware via LGUP upgrade mode? (I really want the system wide accent color customization in newest firmware, among other things) I assume it should be but i really don't wanna have to redo all this so id rather just ask, thanks in advance!

[Q] simple question, anyone, please? What happened to the recovery partition?

What happened to the recovery partition?
Before posting your reply, just to be clear, I do not need a guide on rooting my device or flashing a recovery. This has already been done! So please don't spam links at me for things I can find with a 5 minute search on google because I have don't this already <3
lukemovement1 said:
Not long go the pixel 5 and its been a while since I've played with flashing device partitions. Can anyone give me some pointers on the below?
Is the recovery now the boot partition and the boot partition boot_a?
Is their a way of rooting lineage os without having to modify the boot.img? (idk about amazon)
Do I need to re-root with magisk after each update?
Click to expand...
Click to collapse
Unfortunately you might have asked this in the wrong forum, thus no replies. Look here in Guides https://forum.xda-developers.com/t/guide-root-pixel-5-android-11-r.4187609/
What on earth makes you think I need a guide to rooting my device?
Made the question a bit simpler to avoid confusion
lukemovement1 said:
What on earth makes you think I need a guide to rooting my device?
Made the question a bit simpler to avoid confusion
Click to expand...
Click to collapse
You did originally ask about rooting so I thought I'd help out a little. What I don't understand is your animosity towards an attempt at posting a possible helpful link. Maybe a simple.. let me clarify my request since it might not have been clear. Oh well good luck.
lukemovement1 said:
What happened to the recovery partition?
Before posting your reply, just to be clear, I do not need a guide on rooting my device or flashing a recovery. This has already been done! So please don't spam links at me for things I can find with a 5 minute search on google because I have don't this already <3
Click to expand...
Click to collapse
Hmmmm, your edit removed the actual question and I don't remember exactly what it was.
xunholyx said:
Hmmmm, your edit removed the actual question and I don't remember exactly what it was.
Click to expand...
Click to collapse
Fastboot says that the recovery doesn't exists?
lukemovement1 said:
Fastboot says that the recovery doesn't exists?
Click to expand...
Click to collapse
I'm not sure what you mean.
fastboot reboot recovery won't work. It never has afaik
fastboot boot *twrp.img name* should work if you are trying the test build of TWRP
adb reboot recovery always works
You can't boot to recovery from bootloader with fastboot commands, but you can boot to it with adb commands while booted to /system
lukemovement1 said:
What happened to the recovery partition?
Before posting your reply, just to be clear, I do not need a guide on rooting my device or flashing a recovery. This has already been done! So please don't spam links at me for things I can find with a 5 minute search on google because I have don't this already <3
Click to expand...
Click to collapse
I'm guessing, as there's really not enough information to know for sure, but is this possibly a google treble question?
prior to treble, yes->recovery partition
with treble->no recovery partition, but another 'slot' for recovery.
cheers
Recovery and boot have merged into one partition, (on a/b devices at least) and you ship your boot and reco partitions in a unified boot image now which you can flash with fastboot flash boot x.img.
lukemovement1 said:
What on earth makes you think I need a guide to rooting my device?
Made the question a bit simpler to avoid confusion
Click to expand...
Click to collapse
Ay, Ay, Ay,,,
To be fair, he was only trying to help, a simple this isn't helpful goes a long way. Being sour though, gets everyone absolutely nowhere.
And you did ask "Is their a way of rooting lineage os without having to modify the boot.img" -- I believe he was guiding you to that thread to possibly ask there as you may get a faster response. I think the question was just taken incorrectly is simply all. No harm, no foul.
bobby janow said:
You did originally ask about rooting so I thought I'd help out a little. What I don't understand is your animosity towards an attempt at posting a possible helpful link. Maybe a simple.. let me clarify my request since it might not have been clear. Oh well good luck.
Click to expand...
Click to collapse
You make more friends with lemonade, or something like that, you were trying to help, so good job in my eyes.
xunholyx said:
Hmmmm, your edit removed the actual question and I don't remember exactly what it was.
Click to expand...
Click to collapse
I'll help.
"Is their a way of rooting lineage os without having to modify the boot.img"
xunholyx said:
I'm not sure what you mean.
fastboot reboot recovery won't work. It never has afaik
fastboot boot *twrp.img name* should work if you are trying the test build of TWRP
adb reboot recovery always works
You can't boot to recovery from bootloader with fastboot commands, but you can boot to it with adb commands while booted to /system
Click to expand...
Click to collapse
I believe he was propbly doing a list of the partition table, and I haven't looked myself, but recovry is missing and instead of doing some research into this, he was simply asking for a simple answer, I feel this is the point of the Q & A forum, so good job to OP.. Personaly I feel this needed a simple answer, as someone coming from like a htc one m8 or htc 10 (like myself) what the hell happened to recovery.img -- a fair question in my eyes, everyone.
AsItLies said:
I'm guessing, as there's really not enough information to know for sure, but is this possibly a google treble question?
prior to treble, yes->recovery partition
with treble->no recovery partition, but another 'slot' for recovery.
cheers
Click to expand...
Click to collapse
Appreciate the info, thank you.
fadedave said:
Recovery and boot have merged into one partition, (on a/b devices at least) and you ship your boot and reco partitions in a unified boot image now which you can flash with fastboot flash boot x.img.
Click to expand...
Click to collapse
Thank you!
Guys, this is how it should work. This is the point of the Q&A thread, ask a question, get an answer, no need for anyone to get upset or to be sour. A question was asked, an answer was kindly given.
Kinda lost all faith in this forum tbh. Loads of incorrect and missing info, asking a question is a battle and half the ROMs and images don't work
lukemovement1 said:
asking a question is a battle
Click to expand...
Click to collapse
That's because you're making it a battle. As mentioned above, you were partly to blame for the initial misunderstanding. If people don't fully understand your question, instead of being upright rude, maybe rephrase or add more clarification as @andybones said.
lukemovement1 said:
half the ROMs and images don't work
Click to expand...
Click to collapse
There are 3 roms in this forum for Pixel 5. They all work and all are regularly updated. You are complaining about the time, sweat and money that developers put in to bring custom roms to us for free. If you don't like something about it, post a feedback or don't use it rather than be disrespectful.
lukemovement1 said:
Kinda lost all faith in this forum tbh. Loads of incorrect and missing info
Click to expand...
Click to collapse
Then leave, or contribute to providing the correct and missing info, rather than, again, complain about free info people bring together in their spare time. None of us here are paid to bring info and provide code. We all do it in our spare time and share our knowledge because we want to make a positive community.
Your total disrespect, negativity and entitlement is not welcome here.
Touché
If you post was removed, it's because I decided to do some house-cleaning -- no one did anything wrong.
And I fixed the title to the thread, so that it's easier on those seeing it and understand what the "simple question" actually is.
Not sure why people get all salty over a simple question...
There is no /recovery partition on Pixel devices. Recovery coresides with the kernel in /boot. Previously, with Android 10, it was possible to install a custom recovery alongside a rooted kernel (such as using Magisk) but Android 11 broke this.
The best and most foolproof option in my opinion is to only temporarily boot a custom recovery to perform modifications. This is what I do every time I get an update on my Pixel 5 - I download the OTA, boot TWRP, install the OTA, reboot to system, let the update finish, boot TWRP again, and flash Magisk.
lukemovement1 said:
What happened to the recovery partition?
Before posting your reply, just to be clear, I do not need a guide on rooting my device or flashing a recovery. This has already been done! So please don't spam links at me for things I can find with a 5 minute search on google because I have don't this already <3
Click to expand...
Click to collapse
agree , the people don't want to help,

[HELP] Seeking "laf" and "modem" partitions for Android 10

While trying to make some modifications using QFIL, I erased the "laf" and "modem" partitions (both a and b) of my V40. Now I can't get into the download mode to reflash the phone using LGUP. The phone is using the Open Korean Android 10 firmware but any Android 10 version laf and modem partitions (a and b) will help me get into the download mode. I just need to flash those four partitions with Android 10 version.
If anyone could provide me the backup of those partitions, that will be a life saver for my LG V40. Many thanks!
Royaltiger said:
While trying to make some modifications using QFIL, I erased the "laf" and "modem" partitions (both a and b) of my V40. Now I can't get into the download mode to reflash the phone using LGUP. The phone is using the Open Korean Android 10 firmware but any Android 10 version laf and modem partitions (a and b) will help me get into the download mode. I just need to flash those four partitions with Android 10 version.
If anyone could provide me the backup of those partitions, that will be a life saver for my LG V40. Many thanks!
Click to expand...
Click to collapse
Hmmmm, no, I don't think so. For downlaod mode to work, there are a number or partitions that have to match, not just be 'Andoroid 10'. They should be the same variant and the same version (30a, 30b etc etc).
You can easily get these partitions yourself from the kdz. Follow this link for one of the many links for how to do this.
Another thing to keep in mind, the modem partition is a critical one, in that it carries your imei. Using a modem partition from someone else would be introducing their imei into your device. I don't know what would happen, it might just get overwritten with your imei, then again it might mess up your device because of the conflict.
The kdz extractor has been around for quite a few years, it would absolutely be a good idea to learn how to use it, for many reasons.
cheers
I am absolutely sure it is the ”laf” partitions since that were the partitions (a and b) that were erased by me affecting the download mode. As for extracting the partitions from the firmware, I have already tried that using KDZ extractor but it is of no help. I have tried even first extracting the DZ file and then extracting the “laf” partitions but the files have 0 bytes. Hence, useless.
As for IMEI, I only use the phone for WiFi to function as music player.
Can you extract the partitions from the OP_KR Android 10 firmware? I certainly am unable to.
Thanks much!
Royaltiger said:
I am absolutely sure it is the ”laf” partitions since that were the partitions (a and b) that were erased by me affecting the download mode. As for extracting the partitions from the firmware, I have already tried that using KDZ extractor but it is of no help. I have tried even first extracting the DZ file and then extracting the “laf” partitions but the files have 0 bytes. Hence, useless.
As for IMEI, I only use the phone for WiFi to function as music player.
Can you extract the partitions from the OP_KR Android 10 firmware? I certainly am unable to.
Thanks much!
Click to expand...
Click to collapse
follow this link for laf and abl for kor 30d. Good luck.
Thank you so much. Everything is back to normal.
Just wondering if you could also provide me the "boot_a" and "boot_b" partition images since I am unable to extract them from the firmware Android 10 OP_KR.
Thank you so much.
Royaltiger said:
Just wondering if you could also provide me the "boot_a" and "boot_b" partition images since I am unable to extract them from the firmware Android 10 OP_KR.
Thank you so much.
Click to expand...
Click to collapse
Follow this link to boot + twrp (already injected) in Kor Open 30f (that's the only version I seem to have). Boot a and b are identical, so it can be used for either.
I'd suggest though you post what issues you're having getting the extract utility to work, and try to fix those. It would make things much easier for you to be able to get any partition from any version any time you wanted.
the utility does work.
cheers
<from private email, pls don't do that as many can benefit from the answers>
<quote>
Hey,
Thanks for helping me with the “laf” partition for my LG V40 Sprint (flashed to Korean OP_KR). Just wondering if you know how to access the fastboot mode in this phone? ADB does not help as it simply boots the phone back normally.
According to XDA senior member “FreeSoftwareServers” post, you have to wipe the “laf” partition to access the fastboot. Well, I have erased the “laf” partitions using QFIL and that did not give me fastboot mode either.
I need to have it to root the device as well as disable AVB. Any thoughts?
Thanks!
<end quote>
Accessing fastboot happens 2 ways, but they are not 'equal' versions of fastboot.
1) you can get a 'watered down' version of fastboot by nuking the laf partition, and then accessing fastboot by going to download mode (not by going to fastboot normally). It's considered 'watered down' because the implementation of it differs from rom to rom, the worst implementation is the Kor version (it won't allow you to boot anything, it won't unlock the bootloader, it won't even switch slots). No version, by any of the roms, will allow unlocking the bootloader.
2) by flashing the v35 eng abl to one of the abl slots. This gives you the full version of fastboot, can unlock bootloader, switch slots, etc. But because it's version is Oreo, it can't boot anything that isn't Oreo based. What most people do is flash this to their unused abl slot, then use twrp to switch slots, and reboot to that unused slot, you'll automatically go to fastboot, do what u need to do, then use fastboot to switch to the other slot, fastboot reboot, and yer all set.
cheers
Your advice to keep the informative discussion public is well understood.
Now I have tried both ways to access the fastboot, as suggested by you. And neither of them work on the Korean firmwares. But what works is you erase the ”boot_a” partition using QFIL. Of course, you must backup the partition before erasing since it will be needed again.
With the wiped “boot_a“ partition, phone boots you right into Fastboot. After doing the fastboot needed changes, you can flash the earlier saved boot_a back to the partition using QFIL. Works like a charm every time (at least with Korean firmwares).
Royaltiger said:
Your advice to keep the informative discussion public is well understood.
Now I have tried both ways to access the fastboot, as suggested by you. And neither of them work on the Korean firmwares. But what works is you erase the ”boot_a” partition using QFIL. Of course, you must backup the partition before erasing since it will be needed again.
With the wiped “boot_a“ partition, phone boots you right into Fastboot. After doing the fastboot needed changes, you can flash the earlier saved boot_a back to the partition using QFIL. Works like a charm every time (at least with Korean firmwares).
Click to expand...
Click to collapse
if neither of them work for you, then you're doing something wrong. Guaranteed. They've worked for hundreds of others, thousands.
keep in mind, if you erase laf, then you have to use the same keys you would normally use to get to lat (download mode) to get (now) to fastboot (as I said before).
that means with phone off, hold vol up, plug in with usb to pc. Of course be sure the laf you nuked is the slot you are currently on.
And if you tried the v35 eng abl on the inactive slot, switched slots, and then rebooted, and it's not working for you... well, I wonder how all those people got their devices unlocked? because that's how you do it.
sorry but, pebkac. There's no doubt they work.
AsItLies said:
I'd suggest though you post what issues you're having getting the extract utility to work, and try to fix those. It would make things much easier for you to be able to get any partition from any version any time you wanted.
the utility does work.
cheers
Click to expand...
Click to collapse
At your advice, I again tried to extract the partition files from a KDZ file (OP_KR Android 10) and the results are the same i.e., the extracted partition files are 0 kb in size. I am following the procedure down to T. The DZ file gets extracted from KDZ without any problem. But when I try to pull the partition files using the extractor tool, the resulting files are useless as they are 0 kb in size.
I am attaching the screen shot for your analysis.
It will be of immense help if I could be able to extract the partition files myself successfully.
Royaltiger said:
At your advice, I again tried to extract the partition files from a KDZ file (OP_KR Android 10) and the results are the same i.e., the extracted partition files are 0 kb in size. I am following the procedure down to T. The DZ file gets extracted from KDZ without any problem. But when I try to pull the partition files using the extractor tool, the resulting files are useless as they are 0 kb in size.
I am attaching the screen shot for your analysis.
It will be of immense help if I could be able to extract the partition files myself successfully.
Click to expand...
Click to collapse
I've never used the gui version of the extractor, only the cli version under linux, so can't help there. I'd suggest searching for an xda thread discussing the gui.
cheers
AsItLies said:
I've never used the gui version of the extractor, only the cli version under linux, so can't help there. I'd suggest searching for an xda thread discussing the gui.
cheers
Click to expand...
Click to collapse
Now I totally understand your success because I have read at Howtek that the Windows version of extractor does not work on newer KDZ firmwares. Nevertheless I am very grateful to your earlier extracted files.
Just once more: May I trouble you to let me have the extracted partitions (laf, abl and boot) from the Korean firmware for LG V50 (Android 10): V500NO20y_00_OPEN_KR_OP_0115.KDZ. I need these files for a project that I am undertaking on LG V50. That way I will covered in case something goes South.
Thank you so much for your help.
Royaltiger said:
Now I totally understand your success because I have read at Howtek that the Windows version of extractor does not work on newer KDZ firmwares. Nevertheless I am very grateful to your earlier extracted files.
Just once more: May I trouble you to let me have the extracted partitions (laf, abl and boot) from the Korean firmware for LG V50 (Android 10): V500NO20y_00_OPEN_KR_OP_0115.KDZ. I need these files for a project that I am undertaking on LG V50. That way I will covered in case something goes South.
Thank you so much for your help.
Click to expand...
Click to collapse
This is something you can figure out for yourself. There's a great deal of documentation and guides available. I managed to follow them and made the cli version work about a year or so ago. I've had hd crashes and laptop replacements since then. I'm not even sure the HD I had with that on it is still in my possession.
MODERATOR EDIT: CERTAIN CONTENTS OF THIS POST WERE REMOVED TO MAKE IT IN ACCORDANCE WITH THE FORUM RULES
Hey guys,
I have removed some posts from this thread which I felt were getting out of line from the way of a civilized discussion. Follow the FORUM RULES. Rules that were broken:
2.1 Language: XDA is a worldwide community. As a result, what may be OK to say in your part of the world, may not be OK elsewhere. Please don't direct profanity, sexually explicit language or other offensive content toward Members or their work. Conversely, while reading posts from other members, remember that the word you find offensive may not be offensive to the writer. Tolerance is a two-way street.
2.3 Flaming / Lack of respect: XDA is about sharing and this does not involve virtual yelling (flaming) or rudeness. Flaming or posting with a lack of respect is unacceptable. Treat new members in the manner in which you would like to have been treated when you were a new member. When dealing with any member, provide them with guidance, advice and instructions when you can, showing them respect and courtesy. Never post in a demanding, argumentative, disrespectful or self-righteous manner.
Regards,
theimpulson
Forum Moderator / Recognized Developer / Developer Relations

Categories

Resources