Question How i can update the OTA without lose root for Motorola edge 30 pro - Moto Edge 30 Pro

How i can update the OTA without lose root for Motorola edge 30 pro
I'm already received the update put I can't update my phone
Any advise

In other phones it is the way, that you update the inactive slot in magisk after the update and before rebooting

1. open Magisk, click "Uninstall Magisk", choose "Restore images". do NOT reboot.
2. install the update as usual - it would work after step 1. again, do NOT reboot.
3. open Magisk, select "Install" - "To inactive slot". reboot when asked.
if Magisk complains about missing boot image backup at the first step, follow this guide.

When I try updating, it says Package verification failed.

scudzilla said:
When I try updating, it says Package verification failed.
Click to expand...
Click to collapse
it is likely a corrupted download - just download the firmware again and try one more time.

schizophaser said:
it is likely a corrupted download - just download the firmware again and try one more time.
Click to expand...
Click to collapse
Does clicking system update again redownload the update? Or is there a way to force it to redownload?
Side note, when installing magisk I also did the vbmeta disable verification thing too. Could it interfere with the update somehow?

You can regain root by grabbing boot.img from RSA.
C:\Program Data\Download\ROM\(your model)
Enter bootloader once and run RSA rescue
Check version to make sure it matches
Download ROM and STOP after downloaded (running rescue will wipe your phone if you continue)
Transfer boot to your phone and patch it, and transfer magisk_patched.img back to host computer and locate the patched boot
Enter fastbootd
Code:
adb reboot fastboot
Code:
fastboot flash boot
Press spacebar once and drag and drop the patched boot onto the command window, and press enter
Reboot after it's done

Unfortunately I still can't update with OTA normally, getting Package Verificaion Failed. I don't know if I can fastboot it or something without losing data.

scudzilla said:
Unfortunately I still can't update with OTA normally, getting Package Verificaion Failed. I don't know if I can fastboot it or something without losing data.
Click to expand...
Click to collapse
Load the firmware for your device from https://mirrors.lolinet.com/firmware/motorola/ (you need to know the code name of your device) and flash it to the inactive slot. Patch the boot.img of the updated firmware, flash it and set the inactive slot as active:
Code:
fastboot -aa => set slot A to active
fastboot -ab => set slot B to active
Find current active slot:
Code:
fastboot getvar all

Motorola edge 30 pro code name = hiphi

That doesn't wipe the phone to default?

no, as long as you don't execute
Code:
fastboot erase userdata

WoKoschekk said:
no, as long as you don't execute
Code:
fastboot erase userdata
Click to expand...
Click to collapse
I found this inside the flashfile of the fw. if iI delete these will it work?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

scudzilla said:
I found this inside the flashfile of the fw. if iI delete these will it work?
View attachment 5859809
Click to expand...
Click to collapse
Yes, sure. That's how to flash the firmware and keeping your data.

This page here
Flash File | KF Host
Extrair comandos do arquivo flashfile.xml para instalação do firmware Motorola com o software ADB.
kfhost.net
converts the XML commands into a batch file for Windows. Just copy + paste it.

WoKoschekk said:
This page here
Flash File | KF Host
Extrair comandos do arquivo flashfile.xml para instalação do firmware Motorola com o software ADB.
kfhost.net
converts the XML commands into a batch file for Windows. Just copy + paste it.
Click to expand...
Click to collapse
Thank you. Worked like a charm!

guys is this still working? i have motorola edge 30

which commands should be excluded if i want my data and app intact?
if i remove this from batch file
fastboot erase userdata will all my data be NOT intact???
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash radio radio.img
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash dtbo dtbo.img
fastboot flash super super.img_sparsechunk.0
fastboot flash super super.img_sparsechunk.1
fastboot flash super super.img_sparsechunk.2
fastboot flash super super.img_sparsechunk.3
fastboot flash super super.img_sparsechunk.4
fastboot flash super super.img_sparsechunk.5
fastboot flash super super.img_sparsechunk.6
fastboot flash super super.img_sparsechunk.7
fastboot flash super super.img_sparsechunk.8
fastboot flash super super.img_sparsechunk.9
fastboot flash super super.img_sparsechunk.10
fastboot flash super super.img_sparsechunk.11
fastboot flash super super.img_sparsechunk.12
fastboot erase carrier
fastboot erase userdata
fastboot erase metadata
fastboot erase ddr
fastboot oem fb_mode_clear
echo -----------------------------------------------------------------------------------------------
echo English - Process concluded!
echo Português - Processo concluído!
echo English - Press any key to restart the phone!
echo Português - Pressione qualquer tecla para reiniciar o celular!
echo -----------------------------------------------------------------------------------------------
pause
fastboot reboot
exit

scudzilla said:
Unfortunately I still can't update with OTA normally, getting Package Verificaion Failed. I don't know if I can fastboot it or something without losing data.
Click to expand...
Click to collapse
were you able to update your phone with latest system OTA update?

You can regain it, but Magisk has an option to revert the boot and install over OTA.
In addition, you can get boot.img from RSA

Related

Problem with network

Hi, i'm from Brazil, and my english isn't good.
I have lost my smartphone, and if someone found it, i blocked it and left a msg with the number of my wife.
But who found it tried tô reset it, without sucsses.
But with the procediment they bricked it.
The IMEI was 00, and others things...
After a lot of attempts, i restored the IMEI.... But ...
It stay already without network signal!
I put the chip, but dont "take" any signal.... When i try to call the msg says that i'm in "airplane mode" (but it isnt)
And this others things are at "unkown", is it normal???
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thx, and Sorry about my english again!
Vissal said:
Hi, i'm from Brazil, so, Sorry about my english!
I have Lost my smartphone, and If some one found it maybe them coukd give back It. (i blocked It and Sended a msg with the number of my wife)
But who found it tried tô reset It, without sucsses.
But with the procediment they bricked It.
The 00 the IMEI, and others things...
After a Lot of attempts, i reatores the IMEI.... But ...
It stay already without network signal!
I put the chip, but dont "take" any signal.... When i teu tô call the msg says that i'm in "airplane mode" (but It isnt)
And Thais things até "unkown", is It normal???
Thx, and Sorry about my english again!
Click to expand...
Click to collapse
I nothing read about flashing the firmware with the mi flashtool!?
joke19 said:
I nothing read about flashing the firmware with the mi flashtool!?
Click to expand...
Click to collapse
Hi, i flashed with the TWRP! But it got this way
Use mi flash tool, if does not work flash latest global firmware and try using custom rom.
bot88 said:
Use mi flash tool, if does not work flash latest global firmware and try using custom rom.
Click to expand...
Click to collapse
Ok, i'll try it and come back to give the feed back.
bot88 said:
Use mi flash tool, if does not work flash latest global firmware and try using custom rom.
Click to expand...
Click to collapse
Hi, i tried to flash but without success (i tryed in 2 pc's)
In the first pc, he recognizes the smartphone, but when i press "flash" it just disconect and say on the top of the screen of the smartphone "press any button to restart".
In the second pc, gives a error, and does not recognize.
Anyone knows what could be?
Thx!
Ok, then try this.
Make recovery backup (orange fox recovery is recommended)
1. Make a full wipe
2. Boot into recovery.
3. From then Terminal.
Type the following commands in terminal (one by one):
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
Reboot device.
If everything goes right then proceed
Download these files: https://androidfilehost.com/?fid=5862345805528058499
1. Connect phone to computer
2. Boot into fastboot mode.
3. Fire up adb
4. Flash downloaded files using following commands.
5. "fastboot flash modemst1 modemst1"
6. " fastboot flash modemst2 modemst2"
Now test any custom rom you want.
:fingers-crossed:
bot88 said:
Ok, then try this.
Make recovery backup (orange fox recovery is recommended)
1. Make a full wipe
2. Boot into recovery.
3. From then Terminal.
Type the following commands in terminal (one by one):
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
Reboot device.
If everything goes right then proceed
Download these files: https://androidfilehost.com/?fid=5862345805528058499
1. Connect phone to computer
2. Boot into fastboot mode.
3. Fire up adb
4. Flash downloaded files using following commands.
5. "fastboot flash modemst1 modemst1"
6. " fastboot flash modemst2 modemst2"
Now test any custom rom you want.
:fingers-crossed:
Click to expand...
Click to collapse
Hi, i'll try it and come back with the feed back, thx!
bot88 said:
Ok, then try this.
Make recovery backup (orange fox recovery is recommended)
1. Make a full wipe
2. Boot into recovery.
3. From then Terminal.
Type the following commands in terminal (one by one):
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
Reboot device.
If everything goes right then proceed
Download these files: https://androidfilehost.com/?fid=5862345805528058499
1. Connect phone to computer
2. Boot into fastboot mode.
3. Fire up adb
4. Flash downloaded files using following commands.
5. "fastboot flash modemst1 modemst1"
6. " fastboot flash modemst2 modemst2"
Now test any custom rom you want.
:fingers-crossed:
Click to expand...
Click to collapse
Hi, that downloaded files, don't have anyone with the name modemst1/modemst2.
"error: cannot load 'modemst1': No such file or directory"
Only have this files: backup-efs and restore-efs...
Thx!!
bot88 said:
Ok, then try this.
Make recovery backup (orange fox recovery is recommended)
1. Make a full wipe
2. Boot into recovery.
3. From then Terminal.
Type the following commands in terminal (one by one):
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
Reboot device.
If everything goes right then proceed
Download these files: https://androidfilehost.com/?fid=5862345805528058499
1. Connect phone to computer
2. Boot into fastboot mode.
3. Fire up adb
4. Flash downloaded files using following commands.
5. "fastboot flash modemst1 modemst1"
6. " fastboot flash modemst2 modemst2"
Now test any custom rom you want.
:fingers-crossed:
Click to expand...
Click to collapse
I tryed to find this files modemst1/2 and i don't found it.
I flashed global rom, from miflash and didn't have good result.
And after i typed this comands:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
Click to expand...
Click to collapse
My IMEI returned to unkown.

Flash fastboot rom / unbrick any xiaomi phone without any flashtool.

After getting so many errors while using Mi Flash Tool, I decided to find a simple way for flashing the rom without any errors as i bricked my K20 Pro (raphaelin/indian version). After many attempt i was able to find a perfect solution for it.
Hope this will help all others who are facing issues with flahtool.
Requirements
ADB drivers installed. Get it from here
Bootloader Unlocked
Android platform tool from here
Get Fastboot rom from here
Fastboot flash command bat from here
How to flash
Install adb driver in your pc. make sure your phone is bootloader unlocked.
Extract your fastboot rom zip . You ill find a folder "images" extract Android platform tool . copy all file from inside of Android platform tool and paste it to image folder of rom. also copy Fastboot flash command bat and paste it to image folder of rom.
now put your phone in fastboot mode
connect it to your pc.
now run flash command.bat
it will flash your rom into your phone and after flashing it will reboot . and you are ready to go
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash vendor vendor.img
fastboot flash system system.img
fastboot flash vbmeta vbmeta.img
fastboot flash metadata metadata.img
fastboot flash logo logo.img
fastboot flash dummy dummy.img
fastboot flash dummy_devinfo dummy_devinfo.img
fastboot flash dummy_fsc dummy_fsc.img
fastboot flash dummy_modemst dummy_modemst.img
fastboot flash ifaa ifaa.img
fastboot flash persist persist.img
fastboot flash misc misc.img
fastboot flash cache cache.img
fastboot flash cust cust.img
fastboot flash dtbo dtbo.img
fastboot flash userdata userdata.img
fastboot reboot
Just run the clean_all.bat (clean_all.sh for *nix) file from the fastboot ROM. It does it all for you without any risk of user error at every step.
o.shahriar said:
After getting so many errors while using Mi Flash Tool, I decided to find a simple way for flashing the rom without any errors as i bricked my K20 Pro (raphaelin/indian version). After many attempt i was able to find a perfect solution for it.
Hope this will help all others who are facing issues with flahtool.
Requirements
ADB drivers installed. Get it from here
Bootloader Unlocked
Android platform tool from here
Get Fastboot rom from here
Fastboot flash command bat from here
How to flash
Install adb driver in your pc. make sure your phone is bootloader unlocked.
Extract your fastboot rom zip . You ill find a folder "images" extract Android platform tool . copy all file from inside of Android platform tool and paste it to image folder of rom. also copy Fastboot flash command bat and paste it to image folder of rom.
now put your phone in fastboot mode
connect it to your pc.
now run flash command.bat
it will flash your rom into your phone and after flashing it will reboot . and you are ready to go
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash vendor vendor.img
fastboot flash system system.img
fastboot flash vbmeta vbmeta.img
fastboot flash metadata metadata.img
fastboot flash logo logo.img
fastboot flash dummy dummy.img
fastboot flash dummy_devinfo dummy_devinfo.img
fastboot flash dummy_fsc dummy_fsc.img
fastboot flash dummy_modemst dummy_modemst.img
fastboot flash ifaa ifaa.img
fastboot flash persist persist.img
fastboot flash misc misc.img
fastboot flash cache cache.img
fastboot flash cust cust.img
fastboot flash dtbo dtbo.img
fastboot flash userdata userdata.img
fastboot reboot
Click to expand...
Click to collapse
Hi, i made an account here just to say thank you. it worked. you helped me a lot. literally brought my phone back from the tomb.
Robbo.5000 said:
Just run the clean_all.bat (clean_all.sh for *nix) file from the fastboot ROM. It does it all for you without any risk of user error at every step.
Click to expand...
Click to collapse
Actually in recent ROM, the bat is flash_all and does wonderful job. Don't use anything else but bat and sh script provided in ROM as the script in previous post just led to a bricked phone
There should be 3 different scripts. One to clean flash, one to dirty flash and and one to clean flash, then lock the bootloader. With a Windows and a Linux version of each script. (So 6 script files in total). Been a while since I've looked, but I think that's all.
The scripts in the .bat and .sh files don't take any arguments.
Make sure you have a reasonably up to date version of adb and fastboot installed on the PC.
Make sure you have a good quality USB cable.
With the phone in fastboot mode and connected to the PC, run
Code:
fastboot devices
and make sure it returns a valid ID in the result.
If your happy fastboot is working correctly, run the script.
I would suggest running only either the clean_all.bat or clean_all.sh script.
If you're still having problems, then it may be a problem with the USB ports on the PC, try another port or even another computer if possible.
Gurzeh said:
Actually in recent ROM, the bat is flash_all and does wonderful job. Don't use anything else but bat and sh script provided in ROM as the script in previous post just led to a bricked phone
Click to expand...
Click to collapse
Hi, flash_all.bat from Fastboot Rom of Redmi S2 downloadable here is only 3KB.
Spoiler: Screenshot flash_all.bat
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And flashing it in fastboot mode just failed.
Code:
fastboot flash flash_all flash_all.bat
Sending 'flash_all' (2 KB) OKAY [ 0.039s]
Writing 'flash_all' FAILED (remote: 'partition table doesn't exist')
fastboot: error: Command failed
Am I doing wrong or is there a way to flash flash_all.bat?
Thanks.
.IT WAS FLASHING BEAUTIFULLY BUT THEN AFTER FLASHING MY DEVICE TOTALLY SHUT OFF..IT WONT EVEN GO IN FASTBOOT MODE NOW...I AM DEAD I GUESS..IT WAS A EXPENSIVE PHONE AND I REALLY REGRET TRYING TO ROOT IT

[App][Camera][Infinix Zero 8] [Need Help] Stock Camera App Port to Custom Rom

I am new to xda and this is my first thread so if this thread is not in the right place sorry for that.
Now i want to port the stock camera app from the stock firmware [my phone (Infinix Zero 8, Mediatek G90T MTK6785) running android 10-Q,] to custom rom/ GSI Pixel Blaster based on android 11.
Any advice/help is greatly appreciated.
1. The idea that i have is to extract the apk from the stock firmware,
2. Find the libraries associated with the apk using lib check app from google play
3. Zip them together and create a flashable zip.
The reason for porting is that my phone has a quad-camera setup 64MP main camera, 8MP Ulrawide, and 2 MP depth and 2MP depth now all the other camera apps from custom ROMs and google play only detects one camera 16MP. similarly for the front camera.
how did you put gsi on it
Witcher rr said:
how did you put gsi on it
Click to expand...
Click to collapse
original thread - Link
Original Guide by @kusti420
- make sure you have your stock rom by hand, and in case youre also using a new mediatek device make sure you also have mtk-bypass utility and sp flash tool by hand just in case or any other way of restoring your stock rom
you cant have magisk patched boot image installed unless you have also flashed a different product img
- under developer options enable oem unlocking
- adb reboot bootloader
- fastboot flashing unlock
- fastboot flashing unlock_critical
- fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
- fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img
- fastboot reboot fastboot
- fastboot flash product product_gsi.img (Download product from here- https://forum.xda-developers.com/t/tutorial-magisk-on-gsi-on-devices-with-dynamic-partition.4311045/)
- fastboot flash system system.img (must be arm64 A/B)
- fastboot erase userdata
-gsi should boot now (firstboot takes time)
- do not format in TWRP (https://forum.xda-developers.com/t/unofficial-twrp-3-5-2-for-infinix-zero-8-x687.4303243/) erase userdata in fastbootd mode not in bootloader but fastbootd mode
______________________________________________________________
Some Problems
1. Old Fastboot drivers will cause incomplete flashing and you will not get error
To see if you have old drivers type adb reboot fastboot if device reboots to fastboot d then ok if device reboots to bootloader or simple reboot then old drivers​2. Incorrect GSI files
3. bootloops or stuck at bootmight be caused by not doing fastboot erase userdata
Witcher rr said:
how did you put gsi on it
Click to expand...
Click to collapse
took me forever to figure out how to do it
kusti420 said:
demorei uma eternidade para descobrir como fazer isso
Click to expand...
Click to collapse
Could you send me the link of the rom you used?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I do not have the links but these 2 gsis work on Infinx Zero 8, kindly search google for files, it's easy to find
- under developer options enable oem unlocking
- adb reboot bootloader
- fastboot flashing unlock
- fastboot flashing unlock_critical
- fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
- fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img
- fastboot reboot fastboot
- fastboot flash product product_gsi.img (Download product from here- https://forum.xda-developers.com/t/tutorial-magisk-on-gsi-on-devices-with-dynamic-partition.4311045/)
- fastboot flash system system.img (must be arm64 A/B)
- fastboot erase userdata
-gsi should boot
- Do not format in TWRP format in twrp causes bootloop (https://forum.xda-developers.com/t/unofficial-twrp-3-5-2-for-infinix-zero-8-x687.4303243/)
- if you have issues like bootloop and stuck at boot you can try
erasing user data in fastbootd mod not in bootloader mode but in fastbootd mode
Witcher rr said:
Could you send me the link of the rom you used?
Click to expand...
Click to collapse
Link:https://terabox.com/s/1x02uTAAlO-1XRy9fT-3BUw
Password:c5kd

Question Stuck in Fastboot mode

Hi, after unlocking the bootloader, and some stupid plays with fastboot now I'm stuck in this mode - any command I enter, and any combination of power/volume buttons lead to fastboot mode. I'm able to boot to any recovery image via fastboot boot command. I have magisk installed, but I can't uninstall it from recovery, because it says "cannot access /data partition - uninstall via app instead".
It's worth mentioning, that I was able to boot to MIUI about 2 times, and it was working correctly, but after restarting, it suddenly stopped working. I tried to reflash the stock system, but without any result - the issue is still the same. How can I fix that? Phone is lisa (5G NE) version
fibur said:
Hi, after unlocking the bootloader, and some stupid plays with fastboot now I'm stuck in this mode - any command I enter, and any combination of power/volume buttons lead to fastboot mode. I'm able to boot to any recovery image via fastboot boot command. I have magisk installed, but I can't uninstall it from recovery, because it says "cannot access /data partition - uninstall via app instead".
It's worth mentioning, that I was able to boot to MIUI about 2 times, and it was working correctly, but after restarting, it suddenly stopped working. I tried to reflash the stock system, but without any result - the issue is still the same. How can I fix that? Phone is lisa (5G NE) version
Click to expand...
Click to collapse
Try to use this tool in fastboot mode:
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
Tried 2 times, with miui 13.0.10 and 12.5.1 - no effect
fibur said:
Tried 2 times, with miui 13.0.10 and 12.5.1 - no effect
Click to expand...
Click to collapse
Can you post the Miflash log?
Miflash folder/log/last and biggest size)
Sure:
fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *lisa" || echo Missma - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
pastebin.com
Wait, I posted wrong file, here's the good one:
[9:51:44 AM 3ee6a116]:MiFlash 2017.4.25.0[9:51:44 AM 3ee6a116]:image path:C: - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
pastebin.com
fibur said:
Sure:
fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *lisa" || echo Missma - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
pastebin.com
Click to expand...
Click to collapse
Start as below (which is important).
[12:22:10 eeab043a]:MiFlash 2020.3.14.0
[12:22:10 eeab043a]:vboytest index:1
[12:22:10 eeab043a]:idproduct: 53261 idvendor: 6353
[12:22:10 eeab043a]:Thread id:9 Thread name:eeab043a
[12:22:10 eeab043a]:image path:\F2\prog\MiFlash2020-3-14-0\japan11
[12:22:10 eeab043a]:env android path:"D:\F2\prog\MiFlash2020-3-14-0\Source\ThirdParty\Google\Android"
[12:22:10 eeab043a]:script :\F2\prog\MiFlash2020-3-14-0\japan11\flash_all.bat
[12:22:10 eeab043a]hysical Memory Usage:3383296 Byte
[12:22:10 eeab043a]:start process id 8912 name cmd
Several configurations that can create problems.
[9:51:44 AM 3ee6a116]:MiFlash 2017.4.25.0
Use a most recent version
[9:51:44 AM 3ee6a116]:image path:C:\Users\work\Downloads\lisa_eea_global_images_V12.5.1.0.RKOEUXM_20210901.0000.00_11.0_eea_972b195025\lisa_eea_global_images_V12.5.1.0.RKOEUXM_20210901.0000.00_11.0_eea
[9:51:44 AM 3ee6a116]:env android path:"C:\XiaoMi\XiaoMiFlash\Source\ThirdParty\Google\Android"
[9:51:44 AM 3ee6a116]:script :C:\Users\work\Downloads\lisa_eea_global_images_V12.5.1.0.RKOEUXM_20210901.0000.00_11.0_eea_972b195025\lisa_eea_global_images_V12.5.1.0.RKOEUXM_20210901.0000.00_11.0_eea\flash_all.bat
Path must be C:/MIFLASH/rom folder
lisa_eea_global_images_V12.5.1.0.RKOEUXM_20210901.0000.00_11.0_eea
Rename it to Lisa1251
Read this tutorial carefully:
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
Try without Miflash by running directly "flash_all.bat "in the rom folder
Nope, didn't help, only fastboot got updated, as I used MIUI 13 version now
fibur said:
Nope, didn't help, only fastboot got updated, as I used MIUI 13 version now
Click to expand...
Click to collapse
Which method did you use?
Both, with the same result
fibur said:
Both, with the same result
Click to expand...
Click to collapse
Post the Miflash log or/and a screen shot of the CMD command with the bat file.
-------------------------------------------------------------------------------------------------------------------------
Another tool (choose bricked device).
it seems to me that this tool displays the rom you are on and automatically downloads the version(choose LISA _Factory).
https://www.xiaomitool.com/V2/
Log: https://pastebin.com/QEB71XpS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have this tool, and unfortuantely, there is only renoir ROM (mi 11 5g, but not NE version)
fibur said:
Log: https://pastebin.com/QEB71XpS
I have this tool, and unfortuantely, there is only renoir ROM (mi 11 5g, but not NE version)
Click to expand...
Click to collapse
you have used
[2022-10-14 12:23:08:065:065846 3ee6a116]:script :C:\f\lisa13\flash_all_lock.bat
and on the cmd i see Orange fox?
That's after flashing, log is too long to capture it in one screen:
fibur said:
That's after flashing, log is too long to capture it in one screen:
Click to expand...
Click to collapse
Another way with orange fox.
https://androidfilehost.com/?w=files&flid=324804
OF/TWRP
wipe/format data type yes(if error,red lignes,reboot recovery and format again)
reboot recovery
flash a recovery rom
https://xiaomifirmwareupdater.com/miui/lisa/
Tried it with both OF and TWRP with no result. I think that some boot information is messed up, because even when I flash recovery, and type fastboot reboot recovery, then it still goes to the very same fastboot screen.
fibur said:
Tried it with both OF and TWRP with no result. I think that some boot information is messed up, because even when I flash recovery, and type fastboot reboot recovery, then it still goes to the very same fastboot screen.
Click to expand...
Click to collapse
Have you tried flashing the boot.img of the same rom as the current one?
Yeah, to boot_ab partition + I think it's done automatically when using MiFlash tool / flash_all.bat
fibur said:
Yeah, to boot_ab partition + I think it's done automatically when using MiFlash tool / flash_all.bat
Click to expand...
Click to collapse
I meant manually with fastboot command because obviously on the Miflash logs the flash worked but in reality nothing or only a part was flashed.
What rom were you on before?
And what command did you run to get this problem?

How To Guide Unbrick all N20 Variants with oppo flash python

This guide is only for if your device has fastboot working.​​This method requires the extracting of the ofp in order to get the raw img for the fastboot d partition. Then you'll flash the critical partition manually in fastboot D. Youll be using the oppo tool to flash the non critical partition.​Download and install Python Pyton download
Download and install Git git ( During setup i just kept pressing next)
Download and install this Python flash tool Flash tool ( copy paste extracted files into the python folder)
if you don't see the app data folder its cause you have hidden items unchecked. see the attach photo.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download and install oppo-decrypt Oppo decryp ( you can skip this step, these files are in the link at the bottom)
Download adb/platform tools and put in c directory. Platform tools
Download the firmware for your device.
link at the bottom
Put the <firmware.ofp> in the python folder. on my pc its located in C:\Users\Admin\AppData\Local\Programs\Python\Python311
Put the critical files in your platform tools folder
Open a cmd in the python folder
Type python flash.py
Follow the prompt.
Flash will begin this takes time cause the tool unpacks the userdata.img and super.img.
Youll get a success output in the shell.
The 2nd Flash
open a cmd in platform tools
type fastboot reboot fastboot
Use the followinmg commands to flash the files to fastboot d
fastboot flash abl abl.elf
fastboot flash tz tz.mbn
fastboot flash my_product my_product.img
fastboot flash devcfg devcfg.mbn
fastboot flash rpm rpm.mbn
fastboot flash uefisecapp uefisecapp.img
fastboot flash hyp hyp.mbn
fastboot flash xbl_config xbl_config.elf
fastboot flash imagefv imagefv.elf
fastboot flash product product.img
fastboot flash xbl xbl.elf
fastboot flash qupfw qupv3fw.elf
reboot phone Success
Firmware Android 12 GN2200_11_C.11
Put this in your python folder firmware
flash this in fastboot D critical partition
ADB DRivers
if you have the cph variant,. just swap out the ofp for the ofp for your device
FAQ
My PC doesn't recognsize my device.
Driver issue. on pc go to device manager (right click windows icon)
fix where you see an exclamation mark.
on your phone bring down the notification shade,. look for usb connection, choose file transfer.
Do you think this would allow cross-flashing? To turn the GN2200 (TMO model) into CPH2459 (carrierless firmware/TMOless splash screen) ?
Haven't seen anybody else post about cross-flash..
rodagola said:
Do you think this would allow cross-flashing? To turn the GN2200 (TMO model) into CPH2459 (carrierless firmware/TMOless splash screen) ?
Haven't seen anybody else post about cross-flash..
Click to expand...
Click to collapse
I tried it and i bootlooped. But for the splash screen it is possible yl change the splash screen
Can I use this on CPH 2459
killerex said:
Can I use this on CPH 2459
Click to expand...
Click to collapse
Yes but not with the firmware provided
how long is the first flash supposed to take
TweakybirdsTheWord said:
how long is the first flash supposed to take
Click to expand...
Click to collapse
about 30 minutes. it unpacks the super very slowly
does anyone have the cph A12 firmware?
avgbozo said:
does anyone have the cph A12 firmware?
Click to expand...
Click to collapse
yes
3.94 GB file on MEGA
mega.nz
CPH2459export_11_A.07_2022071521480000 - FirmwareX
firmwarex.net
I have tried this for my CHP2459 and all I get is reboot to bootloader. Suggestions? Device shows in fastboot
Disclaimer​The information on this site may contain errors or inaccuracies, and we do not make any warranty or guarantee as to the accuracy of the information. Your warranty will be void if you tamper with any part of your device / software. YOU are choosing to make these modifications. XDA is not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
All the best,
xda-developers

Categories

Resources