How To Guide Unbrick all N20 Variants with oppo flash python - OnePlus Nord N20 5G

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

Related

[Fastboot Images And OTA ] Final Pre-production CM 11s Build XNPH22Q

Here is the full update package for CM 11's Build XNPH22Q as well as the OTA update zip (The OTA cannot be flashed alone, you need o come from a previous build to flash the zip)
For the fastboot image zip you flash each of the images in fastboot DO NOT FLASH IN RECOVERY: Unzip the file and then run each of the commands
Code:
fastboot flash boot boot.img
fastboot flash userdata userdata.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
Download links:
Full Fastboot Img zip: http://d-h.st/qe5
OTA Zip: http://d-h.st/o9I
Disclaimer: I am not responsible if you use this and brick your device or if your device blows up, implodes, flames start shooting from it, or it kills your neighbor's dog.. It was the other guy... I swear.... Flash at your own risk
Thx for last update... Oppo users will be happy...
:good:
It may too be a server problem from androidfilehost but somehow the download is broken in a strange way. On the download page it says that the file is about 4xx.xx MB but when you download it, it's only 0B and of course you can not open it. So, I want to request if you could upload the fastboot image .zip to an alternative web host like MEGA or Google Drive. I believe not only I would appreciate it very much!
Thank you in advance!
Cheers
iH8ra!n
Apparently this isn't the production build, but the final pre-production build. Phones sold to public will be sold with the next update installed, at least that's implied by the message:
This is the final pre-production release for the OnePlus One and will prepare your device for the production build to follow.
Click to expand...
Click to collapse
iH8ra!n said:
It may too be a server problem from androidfilehost but somehow the download is broken in a strange way. On the download page it says that the file is about 4xx.xx MB but when you download it, it's only 0B and of course you can not open it. So, I want to request if you could upload the fastboot image .zip to an alternative web host like MEGA or Google Drive. I believe not only I would appreciate it very much!
Thank you in advance!
Cheers
iH8ra!n
Click to expand...
Click to collapse
I uploaded them to dev host now. Mega doesn't let me see how many people have DL'ed it
Dev Host links are working, thanks a lot
thanks for your post, awaite invite, then buying and testing.
anyone mind adb pulling mixer_paths.xml, media_profiles.xml and audio_conf from this final build for me?
very much appreciated
ayysir said:
anyone mind adb pulling mixer_paths.xml, media_profiles.xml and audio_conf from this final build for me?
very much appreciated
Click to expand...
Click to collapse
Sure.. where is the audio_conf? In that same dir I have audio_effects.conf, audio_policy.conf is it in a different dir?
graffixnyc said:
Sure.. where is the audio_conf? In that same dir I have audio_effects.conf, audio_policy.conf is it in a different dir?
Click to expand...
Click to collapse
should all be in system/etc folder
ayysir said:
should all be in system/etc folder
Click to expand...
Click to collapse
yeah then it's not there only audio_policy.conf and audio_effects.conf
Media_profiles: https://www.dropbox.com/s/3imu2xo4k2k6ebb/media_profiles.xml
mixer path: https://www.dropbox.com/s/eqrd0a1z0q07pbb/mixer_paths.xml
Audio effects: https://www.dropbox.com/s/eyopy7gcuic30oq/audio_effects.conf
Audio policy: https://www.dropbox.com/s/94ewo086v40fn9o/audio_policy.conf
thank you sir
if I ever want to go back to stock everything for RMA purposes, all I need to do is load the fastboot img and it'll restore the phone to factory condition?
Hi graffixnyc,
I wanted my OnePlus One flashed with this rom: http://forum.xda-developers.com/showthread.php?t=2772511
I'm locked in bootloop.
And now I can not go back to cyanogenmod cm11s via your method.
Look at my screen :
{
"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"
}
webgrafx said:
Hi graffixnyc,
I wanted my OnePlus One flashed with this rom: http://forum.xda-developers.com/showthread.php?t=2772511
I'm locked in bootloop.
And now I can not go back to cyanogenmod cm11s via your method.
Look at my screen :
Click to expand...
Click to collapse
Your bootloader is locked.. You need to unlock your bootloader first..Hence the "Failed.. device not unlocked" message you see there.
graffixnyc said:
Your bootloader is locked.. You need to unlock your bootloader first..Hence the "Failed.. device not unlocked" message you see there.
Click to expand...
Click to collapse
Yet it is unlocked with this command: fastboot oem unlock
But I can more TWRP restored and told me that I have not installed OS
Not possible to give me an ADB command sideload with zip cm11s?
webgrafx said:
Yet it is unlocked with this command: fastboot oem unlock
But I can more TWRP restored and told me that I have not installed OS
Not possible to give me an ADB command sideload with zip cm11s?
Click to expand...
Click to collapse
It's not unlocked.. That's why you are getting that failed error.. I don't know why it's not unlocked if you ran fastboot oem unlock but that failed message in your screen shot means the bootloader is not unlocked. Sorry, I don't have time to make a zip
Sent from my HTC One_M8 using Tapatalk
For the italian users: http://www.smartylife.net/guida-installazione-cm11s-oneplus-one/
Hi Graffix
question, once I have flashed the fastboot zip using the individual commands, I can flash teh OTA zip using TWRP or stock recovery ? or is there is any method to flash it?
thanks for your help,
I have ver CM11.XNPH16Q (April 16) and wanted to upgrade.
Can I have to say as?
thanks
@graffixnyc
Explain in detail please

[FW] 7.1.1 & 6.0.1 Service Tech Firmwares - Debrick - Upgrade - Downgrade

FOR THE ASUS 3 ZOOM ZE553KL
I Found These Working Asus Service Technicians Full Stock Firmwares. They Include Files That Are Not In Asus' Website FW.
Includes The Last 7.11 Nougat Before Oreo Was Released
Info I Found About Tech Fw:
note that this firmware is different from the usual firmware by asus. It is used for servicing the phone, it restores all partition from factory except for imei, s/no, mac address etc. Google account lock is active in this firmware.
The firmware is used by asus flash tool to restore your phone partitions. If by any chance, the restore is not successful using the tool, just unzip the file and flash manually (flashall_aft.cmd)
you need this firmware if your partitions are totally corrupted (example if you cannot go into fastboot mode). Most of the time, bricked phones can be restored by flashing asus stock recovery (recovery.img), then stock asus firmware. If that doesn't solve the bricking, then you will need the raw/service firmware.
Click to expand...
Click to collapse
These Are Untouched Full Stock FW
You Can Just Flash The Normal Files Recovery.img, Boot.img And System.img To Change Android Versions Or To Unbrick
Recovery.img, Boot.img And System.img And The Emmc_appsboot_8953.mbn File (Could Be The Bootloader)were The Only Changes Throughout The Fw's, All The Other Files/partitions Are The Same Such As The Radios Etc
The Bootloader Lock Status Doesnt Get Changed Afaik
You Can Still Update Using Asus' Builtin Update
They Are In Zip Format, Unzip Them To Their Own Folder
HOWTO FLASH
PREREQUISITES:
Make A Nandroid Backup
If Bootable Remove/Signout Of Google Account
(Might Work With Locked Bootloader, IDK)
Ze553kl(Zenfone3 Zoom) Phone With Unlocked Bootloader(used unlocker apk from asus website when phone was in running state)
Unlocking Bootloader App Available From Asus - was for upto nougat 7.11
Usb Asus Drivers
Usb Debugging Enabled On Phone, Maybe Not But Wont Hurt To Try
Computer Running Windows
Usb Data Cable For Phone
ON PHONE
If Bootable Enable Usb Debugging, Uncheck Verify Apps Via Usb, Remove Google Account
Backup Internal Sdcard - Most Def As It Will Get Wiped
Make Nandroid Backup
Remove Sdcard, Just In Case
Put Phone Into Fast Boot Mode- Unplugged, Phone Powered Off - Vol Up + Power Button Pressed, Hold Both Until Screen Comes On.
Plug Usb In Cable To Phone From Pc.
METHODS:
After Unzipping Them To Their Own Folder
1. From Within The Extracted Folder Double Click "Flashall_aft.cmd" Will Auto Open Command Prompt And Start Flashing All The Files Via Its Included Fastboot, Or....
2. Manually Open Command Prompt Within The Unzipped Folder And Type "Flashall_aft.cmd", Or....
3. Use Your Local Copy Of Adb/Fastboot And Manually Flash These Files And Commands:
Code:
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot format userdata
fastboot reboot
------------------------------------------------------------------------
IF STILL BRICKED OR ODD BEHAVIOR BUT CAN BOOT TO BOOTLOADER/FASTBOOT THEN DO THESE COMMANDS WHEN IN FASTBOOT MODE
Code:
fastboot erase system
fastboot erase recovery
fastboot erase boot
fastboot erase userdata
fastboot -w
fastboot erase splash
fastboot erase cache
THEN RE-BOOT BACK INTO BOOTLOADER AND CHOOSE ONE OF THE THREE METHODS
- -------------------------------------------------------------------------------------
Disclaimer Im Not Responsible For Yours Or Anyone Elses Devices, Do At Your Own Risk
DOWNLOADS
FIRMWARES I FOUND UPLOADED TO ANDROIDFILEHOST:
CHECK THE MD5 AFTER DOWNLOADING.
ZE553KL-WW_71.60.139.30_7.1.1_NOUGAT_2018/03.zip - The Last Nougat Before Release Of Oreo
Just Want To Flash The Base Files, Goto This Thread By Me
ZE553KL-WW-20.32.67.25_7.1.1_NOUGAT_2017/07.zip
ZE553KL-WW_11.40.86.71_ 6.0.1_MM_2017/04.zip - Not Tested By Me
ZE553KL-WW_10.40.47.107_6.0.1_MM_2017/02.zip - Afaik The Initial Fw Shipped W/the Phone
ADB_FASTBOOT_1.4.1.ZIP
SCREENSHOTS
ZE553KL-WW_71.60.139.30_7.1.1_NOUGAT_2018/03
{
"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"
}
..
ZE553KL-WW_10.40.47.107_6.0.1_MM_2017/02
..
..
..
Hi all, which twrp for ze553kl mm?
Ciao
Bassofondale said:
Hi all, which twrp for ze553kl mm?
Ciao
Click to expand...
Click to collapse
try the latest from here, currently twrp-3.2.3-0-Z01H-20181014.img
https://mega.nz/#F!p90wgAaY!l1JbJilmAUEKTKWu43pT9w
Thank you!

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 How i can update the OTA without lose root for Motorola 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

Categories

Resources