[App][Camera][Infinix Zero 8] [Need Help] Stock Camera App Port to Custom Rom - Android Q&A, Help & Troubleshooting

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

Related

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

General Android 12 GSI

Android 12 GSI up and running on mojito with a lot of bugs. (Dont try it)
Probably someone with more experience can make a ROM.
{
"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"
}
what are the bug that u are facing mind telling here ? ✌
how to install please
pihpih95 said:
what are the bug that u are facing mind telling here ? ✌
Click to expand...
Click to collapse
To many. Ambient sensor not working,proximity sensor not working,bad sound...
denerteodoro said:
how to install please
Click to expand...
Click to collapse
Don't install,to many issues.
can you kindly provide the link where you installed it from and i just want to check it
cimbajunior said:
Don't install,to many issues.
Click to expand...
Click to collapse
I just want to test, what is the installation procedure?
Has anyone found the link to install it??
Here is the link https://developer.android.com/topic/generic-system-image/releases
cimbajunior said:
Here is the link https://developer.android.com/topic/generic-system-image/releases
Click to expand...
Click to collapse
Which one should we download??
ARM 64+GMS if you want google services.
th
cimbajunior said:
ARM 64+GMS if you want google services.
Click to expand...
Click to collapse
thanks
cimbajunior said:
Android 12 GSI up and running on mojito with a lot of bugs. (Dont try it)
Probably someone with more experience can make a ROM.View attachment 5322817
Click to expand...
Click to collapse
I just want to test, what is the installation procedure? Please!
denerteodoro said:
I just want to test, what is the installation procedure? Please!
Click to expand...
Click to collapse
there is some other tutorial on youtube. it successfully installed but too buggy. tutorial
denerteodoro said:
I just want to test, what is the installation procedure? Please!
Click to expand...
Click to collapse
I can boot it only over stock rom, so flash it before starting. You can find vbmeta and vbmeta_system images on the stock rom images folder. The entire procedure is over fastboot.
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img
fastboot reboot fastboot
fastboot delete-logical-partition product
fastboot flash system system.img
fastboot reboot bootloader
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img
fastboot reboot recovery
Then, wipe data.
You're good to go now, but you can try a custom recovery and magisk. I fixed audio problems with a audio module inside magisk once, but I can't recall it's name now.
This also works on some Pixel ports and other GSIs, but I never got a working biometric sensor.
yurihbatista said:
I can boot it only over stock rom, so flash it before starting. You can find vbmeta and vbmeta_system images on the stock rom images folder. The entire procedure is over fastboot.
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img
fastboot reboot fastboot
fastboot delete-logical-partition product
fastboot flash system system.img
fastboot reboot bootloader
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img
fastboot reboot recovery
Then, wipe data.
You're good to go now, but you can try a custom recovery and magisk. I fixed audio problems with a audio module inside magisk once, but I can't recall it's name now.
This also works on some Pixel ports and other GSIs, but I never got a working biometric sensor.
Click to expand...
Click to collapse
if you remember the audio module please share. I can try and daily drive android 12 even with the fingerprint scanner issue but the audio issues makes it unusable for me

Realme 7 Pro Stuck on TWRP

My REALME 7 PRO I always return to TWRP mode every time boot. At first after I was flashing twrp 3.5.0 running normally, after I tried to flash with magisk v21.4 and no_verity_opt_encrypt.zip, then every time booting always returned to TWRP mode. Please help what should I do?
SaggafF MaoeX said:
My REALME 7 PRO I always return to TWRP mode every time boot. At first after I was flashing twrp 3.5.0 running normally, after I tried to flash with magisk v21.4 and no_verity_opt_encrypt.zip, then every time booting always returned to TWRP mode. Please help what should I do?
Click to expand...
Click to collapse
What did you do? What ROM?
Need more information.
BTW Try the new version of Magisk v23 and TWRP v3.5.1 (if using Android 10).
deserted said:
What did you do? What ROM?
Need more information.
BTW Try the new version of Magisk v23 and TWRP v3.5.1 (if using Android 10).
Click to expand...
Click to collapse
I use the Realme 7 Pro Stock ROM with Android 11. I tried to root my realme with the mentioned tool above.The bootloader is open, TWRP has been installed and normal before I flash with Magisk V21.4 and no_verity_opt_encrypt.zip.
Try to flash patched boot image.
You need vbmeta.img and patched_boot.img
Rose in Realme 7 Pro | Discussion™
t.me
606.36 MB folder on MEGA
17 files
mega.nz
Reboot your phone to bootloader:
adb devices
adb reboot bootloader
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash boot patched_boot.img
fastboot reboot recovery
deserted said:
Try to flash patched boot image.
You need vbmeta.img and patched_boot.img
Rose in Realme 7 Pro | Discussion™
t.me
606.36 MB folder on MEGA
17 files
mega.nz
Reboot your phone to bootloader:
adb devices
adb reboot bootloader
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash boot patched_boot.img
fastboot reboot recovery
Click to expand...
Click to collapse
What file should I choose? Lastly I know my realme 7 pro, use the Android 11 version with the last patch on October 5, 2021
{
"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"
}
SaggafF MaoeX said:
What file should I choose? Lastly I know my realme 7 pro, use the Android 11 version with the last patch on October 5, 2021
View attachment 5483495
Click to expand...
Click to collapse
A = android 10
C = android 11 <-- for you
Number = version of Android you have.
It will be faster if you join the Realme 7 Pro channel on Telegram.
It's solved. You are awesome. Thank you for your help.
deserted said:
Try to flash patched boot image.
You need vbmeta.img and patched_boot.img
Rose in Realme 7 Pro | Discussion™
t.me
606.36 MB folder on MEGA
17 files
mega.nz
Reboot your phone to bootloader:
adb devices
adb reboot bootloader
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash boot patched_boot.img
fastboot reboot recovery
Click to expand...
Click to collapse

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

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