miui 13 gsi treble - Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other

MIUI 13 Android 11
Download Link : https://drive.google.com/file/d/1iAC7JZNy1YS606DNttdposfd_fdPs2_d/view?usp=sharing
Notes:
Too much bugs (ex: Screen flickering,Battery too drain,...) only install this for try miui 13. Install LineageOS before try this gsi treble rom.
(NFC REMOVED)

Defects are normal. This type of GSI has a lot to test.

Thank you for the gsi contribution, please fix the bug

Excuse me, I am on lineage OS now, I want to flash your miui system, what do I need to do?

way1212 said:
Excuse me, I am on lineage OS now, I want to flash your miui system, what do I need to do?
Click to expand...
Click to collapse
Download and extract .gz file to get raw .img file and flash it to system partition using fastboot or twrp then wipe data and reboot. wait. its only a gsi treble rom so bug too lots

cuynu said:
Download and extract .gz file to get raw .img file and flash it to system partition using fastboot or twrp then wipe data and reboot. wait. its only a gsi treble rom so bug too lots
Click to expand...
Click to collapse
there is a problem
D: \Desktop>fastboot flash system D: \Download\Miui13_ PortXZ2_ Ver2. img
target reported max download size of 805306368 bytes
Invalid sparse file format at header magi

way1212 said:
there is a problem
D: \Desktop>fastboot flash system D: \Download\Miui13_ PortXZ2_ Ver2. img
target reported max download size of 805306368 bytes
Invalid sparse file format at header magi
Click to expand...
Click to collapse
wait some minutes then it will flash

cuynu said:
wait some minutes then it will flash
Click to expand...
Click to collapse
I've been waiting for a long time, but the phone keeps in fastboot mode and nothing happens.

way1212 said:
I've been waiting for a long time, but the phone keeps in fastboot mode and nothing happens.
Click to expand...
Click to collapse
Thank you very much, I re-flashed into the system once, and there was a response, it should have been swiped in

Just after flashing the system, restarting starts to restart the boot screen infinitely, and no partition can be flashed in fastboot, and an error is reported (FAILED (remote: Command not authenticated)),how should I do.

way1212 said:
Just after flashing the system, restarting starts to restart the boot screen infinitely, and no partition can be flashed in fastboot, and an error is reported (FAILED (remote: Command not authenticated)),how should I do.
Click to expand...
Click to collapse
enter fastboot mode, command not authenticated mean you re in sony flash mode

Thank you very much, I changed a tool to flash in, and it has been successfully entered.

Will there be a follow-up update to optimize the bug?

way1212 said:
Will there be a follow-up update to optimize the bug?
Click to expand...
Click to collapse
I stopped fix the bug because its a Semi-gsi not a flashable zip file ROM
I'm fixed some bugs like MTP USB, Flashlight,.. i don't remember on Ver2

Related

Any working TWRP for EMUI Oreo 8.0?

"fastboot flash recovery twrp.img" doesn't work. Gives me an "FAILED (remote: partition length get error)" error while I tried to flash TWRP that I downloaded from "unlock bootloader" XDA page. I have unlocked my bootloader, but couldn't install TWRP and proceed further. Noob here. Any help is appreciated. Thanks in advance.
This is what I got:
F:\Phone\Honor 7x\adb>fastboot flash recovery twrp_Honor_7x.img
target reported max download size of 471859200 bytes
sending 'recovery' (25158 KB)...
OKAY [ 0.634s]
writing 'recovery'...
FAILED (remote: partition length get error)
finished. total time: 0.649s
The New Partition Name in Oreo is recovery_ramdisk for Recovery.
Gesendet von meinem BND-L21 mit Tapatalk
johination said:
The New Partition Name in Oreo is recovery_ramdisk for Recovery.
Gesendet von meinem BND-L21 mit Tapatalk
Click to expand...
Click to collapse
Thanks mate !:good:
This twrp does not want to boot up.
error still not resolved
johination said:
The New Partition Name in Oreo is recovery_ramdisk for Recovery.
Gesendet von meinem BND-L21 mit Tapatalk
Click to expand...
Click to collapse
i am still getting following error
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (34634 KB)...
OKAY [ 1.214s]
writing 'recovery_ramdisk'...
FAILED (remote: partition error)
finished. total time: 1.235s
passengerUS$ said:
i am still getting following error
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (34634 KB)...
OKAY [ 1.214s]
writing 'recovery_ramdisk'...
FAILED (remote: partition error)
finished. total time: 1.235s
Click to expand...
Click to collapse
what file and command did you use?
mrmazak said:
what file and command did you use?
Click to expand...
Click to collapse
I have used all these commands and n all of them give errors
1) fastboot flash recovery twrp.img
2) fastboot flash recovery_ramdisk twrp.img
3) fastboot flash ramdisk twrp.img
passengerUS$ said:
I have used all these commands and n all of them give errors
1) fastboot flash recovery twrp.img
2) fastboot flash recovery_ramdisk twrp.img
3) fastboot flash ramdisk twrp.img
Click to expand...
Click to collapse
number 2 is correct, as long as your twrp.img is correct oreo recovery.
number 3 has put twrp into your (boot) , this is possibly a bad move.
mrmazak said:
number 2 is correct, as long as your twrp.img is correct oreo recovery.
number 3 has put twrp into your (boot) , this is possibly a bad move.
Click to expand...
Click to collapse
Number 2 is also not working I think I have to wait for official twrp oreo recovery image
passengerUS$ said:
Number 2 is also not working I think I have to wait for official twrp oreo recovery image
Click to expand...
Click to collapse
Im on oreo and am using this twrp on my L24 https://forum.xda-developers.com/p10-lite/development/recovery-twrp-3-2-1-0-t3783447. I used the 0.3.img. I've used it to backup and then flashed magisk 16 with no problems.
Joebloeh said:
Im on oreo and am using this twrp on my L24 https://forum.xda-developers.com/p10-lite/development/recovery-twrp-3-2-1-0-t3783447. I used the 0.3.img. I've used it to backup and then flashed magisk 16 with no problems.
Click to expand...
Click to collapse
Did you make the backup through TWRP or ADB? I'm using the same one and every time I go to make a back up it fails at system.img. Also do you know how to use decryption with it?
stuck on logo screen
Joebloeh said:
Im on oreo and am using this twrp on my L24 https://forum.xda-developers.com/p10-lite/development/recovery-twrp-3-2-1-0-t3783447. I used the 0.3.img. I've used it to backup and then flashed magisk 16 with no problems.
Click to expand...
Click to collapse
i flashed it it wroked perfectly thanks man you saved my day
Hold upppppppp.
Don't use Huawei p10 recovery. I tried it and it just got me stuck on the TWRP splash screen.
Just do "fastboot flash recovery_ramdisk complete_twrp_ramdisk.img"
I use this and it works flawlessly.
https://forum.xda-developers.com/devdb/project/dl/?id=28883
It worked do you have any super su version that works with it because when u install super su it shows ramdisk aborting installation error
passengerUS$ said:
It worked do you have any super su version that works with it because when u install super su it shows ramdisk aborting installation error
Click to expand...
Click to collapse
I would advise not to flash SuperSU. Magisk is the way to go. And you don't give enough details so I (and other people) can't really help you.
You're flashing it through TWRP?
crayonicle said:
I would advise not to flash SuperSU. Magisk is the way to go. And you don't give enough details so I (and other people) can't really help you.
You're flashing it through TWRP?
Click to expand...
Click to collapse
Yes I have flashed it through twrp
Now I want to root my device but when I install supersu in through twrp zip installation it shows
Checking patch status, attempting to find stock backup
Stock restore failed, attempting ramdisk restore
Ramdisk restore failed aborting
Do you need any extra information then pls comment
passengerUS$ said:
Yes I have flashed it through twrp
Now I want to root my device but when I install supersu in through twrp zip installation it shows
Checking patch status, attempting to find stock backup
Stock restore failed, attempting ramdisk restore
Ramdisk restore failed aborting
Do you need any extra information then pls comment
Click to expand...
Click to collapse
Do you get the same error with Magisk? Try Magisk please then report back.
crayonicle said:
Hold upppppppp.
Don't use Huawei p10 recovery. I tried it and it just got me stuck on the TWRP splash screen.
Just do "fastboot flash recovery_ramdisk complete_twrp_ramdisk.img"
I use this and it works flawlessly.
https://forum.xda-developers.com/devdb/project/dl/?id=28883
Click to expand...
Click to collapse
When I first installed the p10 recovery it did hang up on the splash screen for at least a minute. But, now when I enter recovery it hangs more like ten or fifteen seconds.
crayonicle said:
Do you get the same error with Magisk? Try Magisk please then report back.
Click to expand...
Click to collapse
I tried magisk and it worked I was able to successfully root my phone thanks man
---------- Post added at 04:21 PM ---------- Previous post was at 04:17 PM ----------
Joebloeh said:
When I first installed the p10 recovery it did hang up on the splash screen for at least a minute. But, now when I enter recovery it hangs more like ten or fifteen seconds.
Click to expand...
Click to collapse
Use the 0.3 IMG the other updated images hang up on Honor 7x when I used the latest one my twrp got stuck on twrp logo then I flashed it with 0.3 IMG as mentioned in the comment and It worked flawlessly
this is the recovery to use for 7x oreo right?

Update Pie (December)

Hi all!
I installed PIE using the VPN method in the beginning of the month. Now, the update (about 90mb) was released but I'm getting an error message.
I tried several networks, WiFi or cellular but the error persists.
Does any one has an idea on what I can do? I don't have a working windows computer unfortunately.
Regards!
How on earth did you turn on the battery % in the status bar?? I'm also on pie, december update went without errors,
Gregor250385 said:
How on earth did you turn on the battery % in the status bar??
Click to expand...
Click to collapse
asking the real questions!
Gregor250385 said:
How on earth did you turn on the battery % in the status bar?? I'm also on pie, december update went without errors,
Click to expand...
Click to collapse
You can use: https://play.google.com/store/apps/details?id=com.bryancandi.android.uituner
This is what I used and is working without issues.
I'm just not able to update to the lastest version rolled out today. Damn it!
well i would recommand you to make a fresh install with this procedure :
1-unclock the phone
2-grab the latest 8.1 rom on official xiaomi website , unpack it and past the files in the same folder as platform-tools
3- shut down the phone , hold down volume plus power button, run cmd in the folder platform-tools as admin : flash_all
4-the phone reboots with fresh install , go to update and let it download android pie
5-the phone reboots with pie with 0 problems.
if you need that i put more details just say so .
TheAwesomeRB1 said:
well i would recommand you to make a fresh install with this procedure :
1-unclock the phone
2-grab the latest 8.1 rom on official xiaomi website , unpack it and past the files in the same folder as platform-tools
3- shut down the phone , hold down volume plus power button, run cmd in the folder platform-tools as admin : flash_all
4-the phone reboots with fresh install , go to update and let it download android pie
5-the phone reboots with pie with 0 problems.
if you need that i put more details just say so .
Click to expand...
Click to collapse
Thanks for that input.
However, one question. Will this work on a MacBook? My windows computer is simply not working at all. I don't have any other computer at the moment.
senntennce said:
Thanks for that input.
However, one question. Will this work on a MacBook? My windows computer is simply not working at all. I don't have any other computer at the moment.
Click to expand...
Click to collapse
Well you can try to use vmware workstation and emulate windows, theoretically it would work but dont forget to install the drivers otherwise it wont be recognized.
Edit : platform tools exists also for mac os.
reboot and try to update again, do this a few times. mine did this but a reboot or two and it fixed itself, dont know if its the same issue though
DrEzkimo said:
reboot and try to update again, do this a few times. mine did this but a reboot or two and it fixed itself, dont know if its the same issue though
Click to expand...
Click to collapse
I tried that for the day... Like 20 times already and still nothing.
I will give a few more tries.
Thanks!
senntennce said:
I tried that for the day... Like 20 times already and still nothing.
I will give a few more tries.
Thanks!
Click to expand...
Click to collapse
Just do what i told it will be fine, as i said there is a version of platform tools for mac os, if you need further help i ll be here.
TheAwesomeRB1 said:
well i would recommand you to make a fresh install with this procedure :
1-unclock the phone
2-grab the latest 8.1 rom on official xiaomi website , unpack it and past the files in the same folder as platform-tools
3- shut down the phone , hold down volume plus power button, run cmd in the folder platform-tools as admin : flash_all
4-the phone reboots with fresh install , go to update and let it download android pie
5-the phone reboots with pie with 0 problems.
if you need that i put more details just say so .
Click to expand...
Click to collapse
There's literally no reason to revert back to Oreo. OP just need to flash boot and system images from his current version in both slots before updating.
Does this version have the bug as vpn version? For example flash of screen (normale/black)?
croccio said:
Does this version have the bug as vpn version? For example flash of screen (normale/black)?
Click to expand...
Click to collapse
Nope, works perfectly, 0 bugs.
i have problems with wifi
can't connect to any of my saved wifi
tried to reset wifi twice, but it doesn't work
Hakkinan said:
There's literally no reason to revert back to Oreo. OP just need to flash boot and system images from his current version in both slots before updating.
Click to expand...
Click to collapse
I'm currently downloading those files.
The commands that I need will be:
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot flash system_a system.img
fastboot flash system_b system.img
Correct?
Thanks
Well, for my case i would rather remove everey thing and start from scratch for a fresh start with only One command and zero risk, if you get the same result with fastbooting go ahead.
TheAwesomeRB1 said:
well i would recommand you to make a fresh install with this procedure :
1-unclock the phone
2-grab the latest 8.1 rom on official xiaomi website , unpack it and past the files in the same folder as platform-tools
3- shut down the phone , hold down volume plus power button, run cmd in the folder platform-tools as admin : flash_all
4-the phone reboots with fresh install , go to update and let it download android pie
5-the phone reboots with pie with 0 problems.
if you need that i put more details just say so .
Click to expand...
Click to collapse
XIaomi specifically warns you about NOT reverting to Oreo once you are on Pie.
After doing some research, found that using a macbook, we should change the codes to:
./fastboot flash boot_a boot.img
./fastboot flash boot_b boot.img
./fastboot flash system_a system.img
./fastboot flash system_b system.img
But after doing:
./fastboot flash system_a system.img
I got this error message:
target reported max download size of 534773760 bytes
Invalid sparse file format at header magic
sending sparse 'system_a' 1/4 (522236 KB)...
OKAY [ 18.147s]
writing 'system_a' 1/4...
FAILED (remote: Partition flashing is not allowed)
Tried every code but the message is always the same: FAILED (remote: Partition flashing is not allowed)
I enabled OEM Unlocking in Developer Options and debugging.
What I'm I missing?
Edit: Yeah, after reading some more, it seems that it is required to have the boot loader unlocked and I don't have it. Bummer.
senntennce said:
After doing some research, found that using a macbook, we should change the codes to:
./fastboot flash boot_a boot.img
./fastboot flash boot_b boot.img
./fastboot flash system_a system.img
./fastboot flash system_b system.img
But after doing:
./fastboot flash system_a system.img
I got this error message:
target reported max download size of 534773760 bytes
Invalid sparse file format at header magic
sending sparse 'system_a' 1/4 (522236 KB)...
OKAY [ 18.147s]
writing 'system_a' 1/4...
FAILED (remote: Partition flashing is not allowed)
Tried every code but the message is always the same: FAILED (remote: Partition flashing is not allowed)
I enabled OEM Unlocking in Developer Options and debugging.
What I'm I missing?
Click to expand...
Click to collapse
I'm not sure about MacOS (since i don't have one) but in Windows/Linux this happens when you use an older version of fastboot.
senntennce said:
After doing some research, found that using a macbook, we should change the codes to:
./fastboot flash boot_a boot.img
./fastboot flash boot_b boot.img
./fastboot flash system_a system.img
./fastboot flash system_b system.img
But after doing:
./fastboot flash system_a system.img
I got this error message:
target reported max download size of 534773760 bytes
Invalid sparse file format at header magic
sending sparse 'system_a' 1/4 (522236 KB)...
OKAY [ 18.147s]
writing 'system_a' 1/4...
FAILED (remote: Partition flashing is not allowed)
Tried every code but the message is always the same: FAILED (remote: Partition flashing is not allowed)
I enabled OEM Unlocking in Developer Options and debugging.
What I'm I missing?
Click to expand...
Click to collapse
Since your windows is down, can you try it on a virtual machine (vmware workstation) ?

device unable to boot Error - mdtp image is corrupted

Hi there,
I have a problem i was try to root my phone.
Now i dont have access to ADB but only fastboot works.
If i start my phone it goes on fastboot mode, and if i try "fast boot twrp-3.3.0-0-daisy.img" i get the error "device unable to boot Error - mdtp image is corrupted"
Can some one help me out, if tried to download the image again but without success..
You don't need twrp for root?!
I guess you need to get a fast boot ROM and flash it. Don't relock the bootloader. Don't flash data. Just all the other partitions.
Maybe even just flash that partition. My phone has a and b. Should just need to flash the current one.
a1291762 said:
You don't need twrp for root?!
I guess you need to get a fast boot ROM and flash it. Don't relock the bootloader. Don't flash data. Just all the other partitions.
Maybe even just flash that partition. My phone has a and b. Should just need to flash the current one.
Click to expand...
Click to collapse
Sorry im a little bit noob, but how it works:
flastboot flash a?
fastboot flash mdtp_a mdtp.img
That file is in the images folder after you extract the fastboot ROM.
Hi,
while having 15 years of Linux experience, I've just dropped into the same issue on my first hour of Android exploration. Currently no OS is installed and the phone boots into fastboot. Booting into twrp-3.3.1-dees_troy-daisy.img failes also with "Error - mdtp image is corrupted".
I've flashed mdtp.img from V10.0.12.0.PDLMIXM as described, but still I get the same error when booting into twrp-3.3.1-dees_troy-daisy.img . Is there somewere a documentation, how to proceed in such a case?
a1291762 said:
fastboot flash mdtp_a mdtp.img
That file is in the images folder after you extract the fastboot ROM.
Click to expand...
Click to collapse
mj2o said:
Hi,
while having 15 years of Linux experience, I've just dropped into the same issue on my first hour of Android exploration. Currently no OS is installed and the phone boots into fastboot. Booting into twrp-3.3.1-dees_troy-daisy.img failes also with "Error - mdtp image is corrupted".
I've flashed mdtp.img from V10.0.12.0.PDLMIXM as described, but still I get the same error when booting into twrp-3.3.1-dees_troy-daisy.img . Is there somewere a documentation, how to proceed in such a case?
Click to expand...
Click to collapse
No OS installed is maybe cause the last rom that you flashed was not flashed in the right slot or correctly flashed.
Also the fastboot command mentioned here is to flash mdtp in "a" slot but you have to see first which is your active slot and then install it on it.
SubwayChamp said:
Also the fastboot command mentioned here is to flash mdtp in "a" slot but you have to see first which is your active slot and then install it on it.
Click to expand...
Click to collapse
I've searched more for the reason and once got the response: FAILED (remote: partition table doesn't exist)
So it sounds I have to recreate the partition table. I haven't found any fastboot command to request the current partition status.
mj2o said:
I've searched more for the reason and once got the response: FAILED (remote: partition table doesn't exist)
So it sounds I have to recreate the partition table. I haven't found any fastboot command to request the current partition status.
Click to expand...
Click to collapse
I don´t think that exist a command to diagnose status of partitions but I´m sure that if you try to flash on an inactive slot then won´t work, ever an inactive slot will give you a fail.
Check your active slot by typing
Code:
fastboot getvar current-slot
and then flash it on the active slot using "mdtp_a" or "mdtp_b" but ONLY if the active slot is actually with all the system on it it´s mean that if you deleted all your system and any of both are actually with partitions running (no matter that with errors) then won´t work this way as you expect.
I have the same problem, what you have did to fix? please
Hi,
I've downloaded and flashed the factory image from miui.com. This way I have reset all my efforts and started all over. You find there the full rom and a flashing guide for the Xiaomi Mi A2 Lite.
mj2o said:
Hi,
I've downloaded and flashed the factory image from miui.com. This way I have reset all my efforts and started all over. You find there the full rom and a flashing guide for the Xiaomi Mi A2 Lite.
Click to expand...
Click to collapse
hi
same issue here @mj2o: Can you please provide a link to the site in English; it all in Chinese and I cannot read it
Thanks
mj2o said:
Hi,
I've downloaded and flashed the factory image from miui.com. This way I have reset all my efforts and started all over. You find there the full rom and a flashing guide for the Xiaomi Mi A2 Lite.
Click to expand...
Click to collapse
SubwayChamp said:
I don´t think that exist a command to diagnose status of partitions but I´m sure that if you try to flash on an inactive slot then won´t work, ever an inactive slot will give you a fail.
Check your active slot by typing
Code:
fastboot getvar current-slot
and then flash it on the active slot using "mdtp_a" or "mdtp_b" but ONLY if the active slot is actually with all the system on it it´s mean that if you deleted all your system and any of both are actually with partitions running (no matter that with errors) then won´t work this way as you expect.
Click to expand...
Click to collapse
@mj2o;80151263:
Code:
fastboot getvar current-slot
returns -->
Code:
current-slot: INVALID
finished. total time: 0.008s
and
Code:
fastboot flash aboot aboot.img
returns -->
Code:
target reported max download size of 534773760 bytes
sending 'aboot' (1024 KB)...
OKAY [ 0.055s]
writing 'aboot'...
FAILED (remote: partition table doesn't exist)
finished. total time: 0.075s
please advise.
BenG7 said:
@mj2o;80151263:
Code:
fastboot getvar current-slot
returns -->
Code:
current-slot: INVALID
finished. total time: 0.008s
and
Code:
fastboot flash aboot aboot.img
returns -->
Code:
target reported max download size of 534773760 bytes
sending 'aboot' (1024 KB)...
OKAY [ 0.055s]
writing 'aboot'...
FAILED (remote: partition table doesn't exist)
finished. total time: 0.075s
please advise.
Click to expand...
Click to collapse
Why do you want to flash the bootloader, what is the issue?
Hi @SubwayChamp
I wanted to flash LO16
Did a wpie data -yes format
Then a wipe system as instructed and now im stuck in fast boot.
Device unable to boot. Error - mdtp is corrupted
BenG7 said:
Hi @SubwayChamp
I wanted to flash LO16
Did a wpie data -yes format
Then a wipe system as instructed and now im stuck in fast boot.
Click to expand...
Click to collapse
If your issue is related with mdtp partition then you should to install again this image through fastboot in both slots in order to can boot device again to recovery; use
Code:
fastboot flash mdtp_a mdtp.img
and
Code:
fastboot flash mdtp_b mdtp.img
(you will get the images from any of the full fastboot roms)
From there try again the steps recommended by OP in that thread to get that your device boots on LOS but this is other question concerning only to that thread
Thanks SubwayChamp,
Will try as advised and keep you updated.
I m going to look for the fastboot rom for my daisy.
SubwayChamp said:
If your issue is related with mdtp partition then you should to install again this image through fastboot in both slots in order to can boot device again to recovery; use
Code:
fastboot flash mdtp_a mdtp.img
and
Code:
fastboot flash mdtp_b mdtp.img
(you will get the images from any of the full fastboot roms)
From there try again the steps recommended by OP in that thread to get that your device boots on LOS but this is other question concerning only to that thread
Click to expand...
Click to collapse
@SubwayChamp
dit it and when I
Code:
fastboot reboot
it boots straight back to fastboot.
What next? Mi a2 Lite stuck at Fastboot - No recovery, no nothing! Help ?
Thanks for your help!
[EDIT]
realised I can
Code:
fastboot boot twrp-daisy-3.3.1-0-offain.img
and I can flash the twrp-installer-daisy-3.3.1-0-offain.zip
but if I want to reboot; it says
Code:
No OS installed! Are you sure you wish to reboot?
so I went on with flashing lineageos 16
but at the end of the flash, I get
Code:
Failed to mount '/system' (permission denied)
please advise
BenG7 said:
If your issue is related with mdtp partition then you should to install again this image through fastboot in both slots in order to can boot device again to recovery; use and
@SubwayChamp
dit it and when I
it boots straight back to fastboot.
What next? Mi a2 Lite stuck at Fastboot - No recovery, no nothing! Help ?
Thanks for your help!
Click to expand...
Click to collapse
Your recovery is missed now cause when you flashed LOS was overwritten and device can't boot to system cause some step failed in the process.
If you flashed successfully mdtp images now follow the steps to boot to recovery and then follow those indicated to install LOS.
SubwayChamp said:
Your recovery is missed now cause when you flashed LOS was overwritten and device can't boot to system cause some step failed in the process.
If you flashed successfully mdtp images now follow the steps to boot to recovery and then follow those indicated to install LOS.
Click to expand...
Click to collapse
Thanks; this is what I did:
from TWRP I rebooted to recovery
it took me straight to fastboot again
so I
Code:
fastboot boot twrp-daisy-3.3.1-0-offain.img
again and mounted system partition then I flashed LOS
and the process went fine this time but when I rebooted to the system
it's back to fastboot again!
BenG7 said:
Thanks; this is what I did:
from TWRP I rebooted to recovery
it took me straight to fastboot again
so I
again and mounted system partition then I flashed LOS
and the process went fine this time but when I rebooted to the system
it's back to fastboot again!
Click to expand...
Click to collapse
This is exactly what I tried to tell you: your issue concerning to this thread was solved.
Now you have an issue regarding how to flash and boot to system attempting to install LOS. TWRP is perfectly capable to mount/remount or unmount partitions if needed, no need an action from the user, this is not the reason why you are not booting but the method and steps is discussed more properly in the same thread.
From here you can take one of hese three routes:
- To insist with trying to flash LOS.
- Flash other rom or a previous known working rom.
- Return completely to stock by flashing a full global rom.
Just I could recommend that for the future when you flash a stock rom take a backup of the most important partitions (without userdata) this could avoid that you need to use EDL anymore.

Question Red Magic 8 Pro stuck fastboot

Red Magic 8 Pro stuck fastboot
It no longer has sideload mode in recovery
Did you somehow change your slot? If you haven't upgraded the firmware, then the 2nd slot is empty, and it will not boot anything.
BoJaXz said:
Did you somehow change your slot? If you haven't upgraded the firmware, then the 2nd slot is empty, and it will not boot anything.
Click to expand...
Click to collapse
I switched both slots, but I can't boot up
Mr.PvT said:
I switched both slots, but I can't boot up
Click to expand...
Click to collapse
What steps did you do before you got stuck in fastboot?
BoJaXz said:
What steps did you do before you got stuck in fastboot?
Click to expand...
Click to collapse
I patched the root boot file then flashed it failed, then I flashed each file in the payload, I deleted the super, the files in the super can't be flashed oddly, are you rooted, can backup the whole partition help me
Thank you
Mr.PvT said:
I patched the root boot file then flashed it failed, then I flashed each file in the payload, I deleted the super, the files in the super can't be flashed oddly, are you rooted, can backup the whole partition help me
Thank you
Click to expand...
Click to collapse
Did you oem unlock before you tried flashing? You may have to flash the whole image
BoJaXz said:
Did you oem unlock before you tried flashing? You may have to flash the whole image
Click to expand...
Click to collapse
I unlocked the bootloader, I flashed all the files in the payload but still can't boot, hang fastboot or boot to the logo and then shut down
I need someone to back up all my partitions, that's the only way I can do it
Mr.PvT said:
I unlocked the bootloader, I flashed all the files in the payload but still can't boot, hang fastboot or boot to the logo and then shut down
I need someone to back up all my partitions, that's the only way I can do it
Click to expand...
Click to collapse
Did you flash boot.img or init_boot.img?
It sounds like you are booting the wrong slot.
BoJaXz said:
Did you flash boot.img or init_boot.img?
It sounds like you are booting the wrong slot.
Click to expand...
Click to collapse
I flashed those 2 files and changed both slots but failed to start the phone
I faced with the problem by locking the bootloader with init_boot.img for magisk. Then I unlocked it again and switched aactive slot to b and then to a in "Fastboot Enhance" tool. After that my phone entered to the system.
[TOOL][Windows] Fastboot Enhance [Payload Dumper & Image Flasher]
Fastboot Enhance What it can do? - Show fastboot vars - Switch between fastbootd & bootloader - Switch between A & B slot - Flash Payload.bin in fastbootd - Flash images - Erase partitions - Delete logical partitions - Create logical partitions...
forum.xda-developers.com
@Mr.PvT did you ever make any progress with this? I am in the same boat now. Flashed a GSI and tested it out. DIdnt like it so flashed the 3.18 Payload.bin thru Fastboot enhance and am stuck on Bootloader. Cant access anything else as no matter what I choose it boots to bootloader.
DarkestSpawn said:
@Mr.PvT did you ever make any progress with this? I am in the same boat now. Flashed a GSI and tested it out. DIdnt like it so flashed the 3.18 Payload.bin thru Fastboot enhance and am stuck on Bootloader. Cant access anything else as no matter what I choose it boots to bootloader.
Click to expand...
Click to collapse
I also went from a GSI to stock ROM and this worked, some steps may be unnecessary:
In bootloader change active slot to a
Flash all of payload.bin images
Reboot to fastboot and flash all of payload images
Reboot to recovery
Hold volume down for a few seconds to enable sideload
Connect the phone to a pc and ADB sideload NX729J-update.zip
Then wipe data and reboot
Also did your calls and messages work when using the GSI?
edzchen said:
I also went from a GSI to stock ROM and this worked, some steps may be unnecessary:
In bootloader change active slot to a
Flash all of payload.bin images
Reboot to fastboot and flash all of payload images
Reboot to recovery
Hold volume down for a few seconds to enable sideload
Connect the phone to a pc and ADB sideload NX729J-update.zip
Then wipe data and reboot
Also did your calls and messages work when using the GSI?
Click to expand...
Click to collapse
In bootloader:
fastboot flash odm odm.img
target reported max download size of 805306368 bytes
sending 'odm' (1284 KB)...
OKAY [ 0.032s]
writing 'odm'...
FAILED (remote: (odm_a) No such partition)
finished. total time: 0.038s
F:\Files\Downloads\RM8P\NX729J-update>fastboot flash system_dlkm system_dlkm.img
target reported max download size of 805306368 bytes
sending 'system_dlkm' (428 KB)...
OKAY [ 0.011s]
writing 'system_dlkm'...
FAILED (remote: (system_dlkm_a) No such partition)
finished. total time: 0.018s
F:\Files\Downloads\RM8P\NX729J-update>fastboot flash system_ext system_ext.img
target reported max download size of 805306368 bytes
sending 'system_ext' (730792 KB)...
OKAY [ 17.204s]
writing 'system_ext'...
FAILED (remote: (system_ext_a) No such partition)
finished. total time: 17.211s
Nothing happens when I flash system & vendor.
F:\Files\Downloads\RM8P\NX729J-update>fastboot flash vendor_dlkm vendor_dlkm.img
target reported max download size of 805306368 bytes
sending 'vendor_dlkm' (93564 KB)...
OKAY [ 2.181s]
writing 'vendor_dlkm'...
FAILED (remote: (vendor_dlkm_a) No such partition)
finished. total time: 2.187s
In Fastbootd:
Everything that failed in bootloader, flashed beside system. Could only flash _b slots. Nothing seems to exist for slot a. I did not fastboot format or erase anything to my knowledge unless Fastboot Enhance did so when I flashed the playload.bin thru it without having logs on to watch what it did. If it formated or erased any partitions can they be recreated?
And last when in Recovery:
F:\Files\Downloads\RM8P>adb sideload NX729J-update.zip
loading: 'NX729J-update.zip'
error: closed
DarkestSpawn said:
Everything that failed in bootloader, flashed beside system.
Click to expand...
Click to collapse
What is the error when flashing system?
If it has something to do with not being able to resize the system partition, check this link:
Fix FAILED (remote: 'Not enough space to resize partition')
In this comprehensive tutorial, we will show you the steps to fix the FAILED (remote: 'Not enough space to resize partition') error.
www.droidwin.com
I had this problem too.
Which GSI were u on
edzchen said:
Also did your calls and messages work when using the GSI?
Click to expand...
Click to collapse
edzchen said:
What is the error when flashing system?
If it has something to do with not being able to resize the system partition, check this link:
Fix FAILED (remote: 'Not enough space to resize partition')
In this comprehensive tutorial, we will show you the steps to fix the FAILED (remote: 'Not enough space to resize partition') error.
www.droidwin.com
I had this problem too.
Which GSI were u on
Click to expand...
Click to collapse
I just retried in bootloader with a new outcome this time:
F:\Files\Downloads\RM8P\NX729J-update>fastboot flash system system.img
Invalid sparse file format at header magic
Sending sparse 'system' 1/6 (786364 KB) OKAY [ 18.742s]
Writing 'system' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
I copied the fastboot.exe from fastboot enchanced to the directory of the extracted payload.bin. Was able to recreate partitions. Am attempting to recover from potential brick.
I tried LineageOS TD-based. Didnt attempt calls or messages. Was just checking out the feel of the rom and its capabilities.
Can someone run this fastboot command in bootloader and fastbootd and save the results in a text file?
fastboot getvar all
Omit the serial number in bootloader and fastbootd's printout.
DarkestSpawn said:
Can someone run this fastboot command in bootloader and fastbootd and save the results in a text file?
fastboot getvar all
Omit the serial number in bootloader and fastbootd's printout.
Click to expand...
Click to collapse
Here you go:
ugene1980 said:
Here you go:
Click to expand...
Click to collapse
So looking thru this, the only difference I have is:
(bootloader) partition-size:userdata: 0x718BCD3000 Mine
(bootloader) partition-size:userdata: 0x35F5CD3000 Yours
as well as:
(bootloader) slot-successful:a:yes Yours
(bootloader) slot-successful:a:no Mine
but thats because it hasnt successfully booted since last flash.
I also need the fastbootd's printout. The one provided was from bootloader. The one from fastbootd will give logical partitions and has slot info.
edzchen said:
Also did your calls and messages work when using the GSI?
Click to expand...
Click to collapse
Did you install carrier serivces from google play, setup APN settings for your carrier and Installing new IMS package: Treble Settings -> IMS features -> install IMS for Qualcomm -> install package. I cant remember if that was in there. Still trying to get booted again
DarkestSpawn said:
Did you install carrier serivces from google play, setup APN settings for your carrier and Installing new IMS package: Treble Settings -> IMS features -> install IMS for Qualcomm -> install package. I cant remember if that was in there. Still trying to get booted again
Click to expand...
Click to collapse
Yeap I did all that but calls and texts only half worked. I could do calls but no audio and I could send texts but couldn't receive. Was the main reason why I switched back to stock

Question Need help, Can't figure out how to change my ROM

Exactly a year ago I bought Poco F3, unlocked the bootloader and installed ArrowOS. Now I'm trying to figure out how to change my ROM and I can't really find any answers. I have the ArrowOS recovery and it's useless, I can't install another recovery with it. My fastboot also seems to be broken(?), it has a different logo and it's detected on my computer when I do (fastboot devices) but other than that it gives me a bunch of errors
I would like to at least know how to change the recovery. Is it possible that my bootloader got locked? One last thing, when I installed ArrowOS I used TWRP and updated it using OTA updates, now TWRP is gone.
Please help me
You need fastboot for TWRP.
It could not have gotten locked, no.
Arealhooman said:
It could not have gotten locked, no.
Click to expand...
Click to collapse
I just found a guide on Youtube for flashing twrp and I followed it to the (fastboot boot <TWRP>) part and I got this error
Sending 'boot.img' (196608 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
Does this mean it got locked..?
Uh….maybe… did you lock it… what does it say in dev Setting sunder oem unlock.
Arealhooman said:
Uh….maybe… did you lock it… what does it say in dev Setting sunder oem unlock.
Click to expand...
Click to collapse
I don't have any oem unlock option in ArrowOS and I never locked anything wtf, I just used it as a normal phone and only did OTA updates + sometimes FW updates when required
Is there anyway to fix it?
ADB & Fastboot Binaries: https://developer.android.com/studio/releases/platform-tools
OrangeFox Recovery (recommended): https://orangefox.download/device/alioth
Install the Recovery ZIP by either ADB Sideload in ArrowOS Recovery
or you can extract the "recovery.img" and fastboot boot it ("fastboot boot recovery.img") and select "Install current Recovery"
Then you simply flash the ROM.zip (select "Reflash Recovery after ROM Flash") -> Reboot Recovery -> Format Data
The OTA Update has replaced your TWRP with ArrowOS Recovery, because ROM Updates replace the boot-partition (along with other system related partitions). The boot-partition contains the recovery-environment.
Only install Custom Recoveries from inside the Recovery, because Fastboot can only replace partitions entirely (and boot-partitions contains both bootloader & recovery)
The bootloader of the Poco F3 cannot (or shouldn't) be locked on Custom Software.
gobertel said:
I just found a guide on Youtube for flashing twrp and I followed it to the (fastboot boot <TWRP>) part and I got this error
Sending 'boot.img' (196608 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
Does this mean it got locked..?
Click to expand...
Click to collapse
Download these:
https://sourceforge.net/projects/mipa-project/files/arrow-mipa/arrow-13.0/alioth/Additions/boot.img/download
https://sourceforge.net/projects/mipa-project/files/arrow-mipa/arrow-13.0/alioth/Additions/vendor_boot.img/download
First link, "fastboot flash boot boot.img"
Second link, "fastboot flash vendor_boot vendor_boot.img"
Then Fastboot booting into your Recovery-file should work.
Also, what's the problem with ArrowOS anyway? We've ArrowOS MiPa, it's a good and reliable ROM.
cyanGalaxy said:
Download these:
https://sourceforge.net/projects/mipa-project/files/arrow-mipa/arrow-13.0/alioth/Additions/boot.img/download
https://sourceforge.net/projects/mipa-project/files/arrow-mipa/arrow-13.0/alioth/Additions/vendor_boot.img/download
First link, "fastboot flash boot boot.img"
Second link, "fastboot flash vendor_boot vendor_boot.img"
Then Fastboot booting into your Recovery-file should work.
Click to expand...
Click to collapse
I noticed that these are for ArrowOS 13, I'm on 12.1 and they did not work
Do you also suggest I go into fastboot by which method because each one looks different
Recovery > Advanced > Enter fastboot
Or
Hold power button with volume down method
Also I'm just looking to update to Android 13 in general
Thank you for helping me out by the way
gobertel said:
I noticed that these are for ArrowOS 13, I'm on 12.1 and they did not work
Do you also suggest I go into fastboot by which method because each one looks different
Recovery > Advanced > Enter fastboot
Or
Hold power button with volume down method
Also I'm just looking to update to Android 13 in general
Click to expand...
Click to collapse
Both methods of booting into Fastboot is the same I would guess.
Yes we do have ArrowOS MiPa, you should only need to flash the ArrowOS 13 MiPa ROM ZIP in Recovery, but I rather recommend you using OrangeFox or TWRP for that.
What do you mean by "did not work". "Did not work" can mean anything.
Are you using the latest official ADB & Fastboot Binaries? The ones I've given you?
If yes, you can use this Payload Dumper Tool, to extract the "vendor_boot.img" and "boot.img" from ArrowOS 12. Maybe those from Arrow v12 can be flashed.
[Windows] Payload Dumper GUI - dump boot.img and other img files from payload.bin.
Hello there. Was bored and decided to make a gui that dumps Payload.bin file for easy flashing. Tested on Lineage OS 18 Payload.bin Result: Credits: Based on vm03 payload_dumper script. Github: Payload_dumper.py...
forum.xda-developers.com
cyanGalaxy said:
Both methods of booting into Fastboot is the same I would guess.
Yes we do have ArrowOS MiPa, you should only need to flash the ArrowOS 13 MiPa ROM ZIP in Recovery, but I rather recommend you using OrangeFox or TWRP for that.
What do you mean by "did not work". "Did not work" can mean anything.
Click to expand...
Click to collapse
fastboot flash boot boot.img
Sending 'boot_a' (196608 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
fastboot flash vendor_boot vendor_boot.img
Sending 'vendor_boot_a' (98304 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
fastboot boot recovery.img
Sending 'boot.img' (196608 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
Another thing to add is I still I get the unlock symbol when booting up the phone, I dont know if that makes a difference
cyanGalaxy said:
Are you using the latest official ADB & Fastboot Binaries? The ones I've given you?
If yes, you can use this Payload Dumper Tool, to extract the "vendor_boot.img" and "boot.img" from ArrowOS 12. Maybe those from Arrow v12 can be flashed.
[Windows] Payload Dumper GUI - dump boot.img and other img files from payload.bin.
Hello there. Was bored and decided to make a gui that dumps Payload.bin file for easy flashing. Tested on Lineage OS 18 Payload.bin Result: Credits: Based on vm03 payload_dumper script. Github: Payload_dumper.py...
forum.xda-developers.com
Click to expand...
Click to collapse
Yes I'm using the exact one you gave me and I will try it
gobertel said:
Yes I'm using the exact one you gave me and I will try it
Click to expand...
Click to collapse
Yup try it.
Else, here I have the vendor_boot.img & boot.img from the latest ArrowOS MiPa (February). More up-to-date than the SourceForge links.
Either the 2 files from ArrowOS v12, or the latest v13 ones that I've uploaded here, should definitely work.
Also try rebooting Fastboot Mode.
XDA doesn't let me upload the boot.img ඞ
cyanGalaxy said:
XDA doesn't let me upload the boot.img ඞ
Click to expand...
Click to collapse
Starting to think I should just give up, no matter what I do I get (Download is not allowed on locked devices)
The fastboot method you suggested does not work, it gets stuck on (waiting for any devices) but the recovery one works although like I said, I get the error no matter what I do
Is it locked or what?? I'm trying to figure that out and if it is how did it even get locked in the first place
I'm guessing there's no way to resolve it and that I'll be stuck on Android 12 for eternity
So sorry for wasting your time, I always end up with weird issues in everything
gobertel said:
Starting to think I should just give up, no matter what I do I get (Download is not allowed on locked devices)
The fastboot method you suggested does not work, it gets stuck on (waiting for any devices) but the recovery one works although like I said, I get the error no matter what I do
Is it locked or what?? I'm trying to figure that out and if it is how did it even get locked in the first place
I'm guessing there's no way to resolve it and that I'll be stuck on Android 12 for eternity
So sorry for wasting your time, I always end up with weird issues in everything
Click to expand...
Click to collapse
Waiting for any devices means your PC does not detect the phone.
Download this: https://cdn.alsgp0.fds.api.mi-img.com/micomm/MiFlash2020-3-14-0.rar
And install the USB driver.
And no it's not locked, the Unlocked symbol during Boot is normal. I think it was a bug with older ArrowOS Bootloader versions. Not quite sure.
cyanGalaxy said:
Waiting for any devices means your PC does not detect the phone.
Download this: https://cdn.alsgp0.fds.api.mi-img.com/micomm/MiFlash2020-3-14-0.rar
And install the USB driver.
And no it's not locked, the Unlocked symbol during Boot is normal. I think it was a bug with older ArrowOS Bootloader versions. Not quite sure.
Click to expand...
Click to collapse
IT WORKED. Thank you so much, it was a driver issue but the exact version you gave me didn't work, I had to find another one

Categories

Resources