How to flash stock ROM on YU Yunicorn - Miscellaneous Android Development

Step 1: First, download the Stock ROM:
Link to Stock ROM
Step 2: Get your phone into fastboot mode
Can be done using this ADB command:
Code:
adb reboot-bootloader
Or if adb doesn't seem to work properly, power off your phone and then restart it by pressing and holding Volume Up + Power for a few seconds. If that works, your phone'll show a very small text at the bottom of boot screen, indicating it's on fastboot mode.
Step 3: Flash the ROM files
Now that you got the phone into fastboot mode, connect it to PC and check if fastboot's detecting the device:
Code:
fastboot -i 0x2a96 devices
If yes, extract the downloaded Stock ROM files and do these commands:
Code:
fastboot -i 0x2a96 flash boot boot.img
fastboot -i 0x2a96 flash recovery recovery.img
fastboot -i 0x2a96 flash system system.img
fastboot -i 0x2a96 flash userdata userdata.img
fastboot -i 0x2a96 reboot
That's it folks, your YU Yunicorn is now good as new!
Sources:
Manually Install YUOS on YU Yureka, Yureka Plus
Yu Yunicorn YU5530 Stock Firmware ROM

Related

How to prevent Auto-Reboot after flashing Factory Image?

How can I prevent Auto-Reboot of my Nexus 5 after flashing an Official Factory Image?
I've tried to add
Code:
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
after
Code:
fastboot -w update image-hammerhead-xxxxxx.zip
on
flash-all.bat​but the Nexus reboot anyway.
There is another command or option that could help me, or any other way for that?
Flash the files individually
Sent from my Nexus 5 using Tapatalk
alessio89g said:
How can I prevent Auto-Reboot of my Nexus 5 after flashing an Official Factory Image?
I've tried to add
Code:
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
after
Code:
fastboot -w update image-hammerhead-xxxxxx.zip
on
flash-all.bat​but the Nexus reboot anyway.
There is another command or option that could help me, or any other way for that?
Click to expand...
Click to collapse
Flash the files individually with fastboot, u can just do
fastboot flash radio radio.img
fastboot flash bootloader bootloader.img
fastboot flash system system.img
You don't need to flash userdata if u don't want to that will erase all ur data, just flash the above images, u will need to extract the zip file that contains the images tho as well as the original tgz file
Sent from my Nexus 6 using Tapatalk
So, is this the sequence?
Code:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot reboot-bootloader
fastboot flash cache cache.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash userdata userdata.img
fastboot reboot-bootloader
When I use
Code:
fastboot flash recovery recovery.img
I suppose that I can flash directly the TWRP, right?
And this command
Code:
fastboot flash userdata userdata.img
equals
-w​in
Code:
fastboot [B]-w[/B] update image-hammerhead-xxxxxx.zip
right?
no need to fastboot reboot-bootloader after every line, i use the following and never had an issue:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot reboot
metpage said:
no need to fastboot reboot-bootloader after every line, i use the following and never had an issue:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot reboot
Click to expand...
Click to collapse
Don't you flash cache.img?
And could you talk me about this?
alessio89g said:
And this command
Code:
fastboot flash userdata userdata.img
equals
-w​in
Code:
fastboot [B]-w[/B] update image-hammerhead-xxxxxx.zip
right?
Click to expand...
Click to collapse
alessio89g said:
So, is this the sequence?
Code:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot reboot-bootloader
fastboot flash cache cache.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash userdata userdata.img
fastboot reboot-bootloader
When I use
Code:
fastboot flash recovery recovery.img
I suppose that I can flash directly the TWRP, right?
And this command
Code:
fastboot flash userdata userdata.img
equals
-w​in
Code:
fastboot [B]-w[/B] update image-hammerhead-xxxxxx.zip
right?
Click to expand...
Click to collapse
alessio89g said:
Don't you flash cache.img?
And could you talk me about this?
Click to expand...
Click to collapse
i don't flash cache because afterwards you need to go into recovery and format cache otherwise you will bootloop (in my experience).
metpage said:
i don't flash cache because afterwards you need to go into recovery and format cache otherwise you will bootloop (in my experience).
Click to expand...
Click to collapse
And about userdata.img? Do you know if it's like the option "-w" in the line
fastboot -w update image-hammerhead-xxxxxx.zip
on flash-all.bat?
yes if you flash userdata.img you lose your data on your phone because you are replace you data with a clean version. SO if you want to keep your data, DON'T flash userdata.img

[fixed root for nov 2019 android security update]NORA xt1922 8.0.0_opps27.91-176-11-7

Actually took all night to figure out how to do this.... this has only been tested on XT1944-2_NORA but it should work for any non64bit builds....
Download MY ZIP FILE and extract.
Install MotorolaDeviceManager_2.5.4.exe
Dowload stock rom FROM HERE and extract and combine MY ZIP FILE and this one.
Open cmd prompt
Code:
cd "C:\ADDRESS of combined folders"
flash stock rom using these commands:
Code:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash vendor vendor.img
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot-bootloader
now boot twrp_james.img using:
Code:
fastboot boot twrp_james.img
it will take 30-60secs to load cos of the encryption, when it asks for a password just press cancel
while in TWRP, run the following in your ADB terminal
Code:
adb shell mount -o,rw /dev/block/bootdevice/by-name/vendor /vendor
adb push fstab.qcom /vendor/etc/fstab.qcom
then hit wipe > format data > yes
now push magisk with
Code:
adb push Magisk-v19.4.zip /sdcard
install the zip reboot to bootloader
flash twrp with
Code:
fastboot flash recovery twrp-3.3.1-0-nora.img
FIX BAD KEY LOGO BY CHOOSING WHAT YOU WANT FROM HERE
when ur phone loads just open magisk and update it direct install after updating magisk manager

[Help] stuck on the bootloader

am stuck on the bootloader after using the following commands :
Code:
fastboot flash boot_a twrp.img
Code:
fastboot flash boot_b twrp.img
I don't know how to go back...
Thanks for your help

Realme 5i Stuck on "Realme Powered by android" screen

After formating my realme 5i from recovery I couldn't able to boot phone , it stuck on realme logo, can't get in recovery mode too. When I try to power off the phone it restart itself and stuck again. Plz help, I have an exam tomorrow and need to phone to connect the exam.
Same Problem with me. Manually updated to realme ui and format data from recovery and stuck on Powered By Android Screen. Good thing is when i go to service center they told me that this is board issue.
M. Farhad said:
Same Problem with me. Manually updated to realme ui and format data from recovery and stuck on Powered By Android Screen. Good thing is when i go to service center they told me that this is board issue.
Click to expand...
Click to collapse
Thanks for reply, Yeah I went service center yesterday and they just just flashed original rom and issue is solved. I had samsung phone before and easily flash roms with odin mode but realme don't have one for costumers apperently, so if you have an issue like that you have to go service center for such an easy job.
Does anybody knows how to flash stock rom on Realme 5i?
My son Downgraded his Phone manually and now all the phone does is, restarting over and over again after showing realme logo shuts down and on again
Please Help!!
if u stuck in powered by blah balah... please try to press power + vdown until the phone restarts then when the phone display is black dont release rhe power just release vdown and press vup... if u ever make it to rec mode and ur good to go... its a 100% working on me when i flash custom rom
Same problem happening with my realme 5i device
My device is rebooting to fastboot mode and it is bricked when i turn on my phone.I have flashed rom in twrp but it is just booting to bootloader again.how to solve this issue .how to fix this.help please
Happen to me too, but to solve this just put your phone to bootloader connect and fastboot devices and type fastboot flash vbmeta vbmeta.img and start your phone.
Prometheus3858 said:
After formating my realme 5i from recovery I couldn't able to boot phone , it stuck on realme logo, can't get in recovery mode too. When I try to power off the phone it restart itself and stuck again. Plz help, I have an exam tomorrow and need to phone to connect the exam.
Click to expand...
Click to collapse
Press power button until it turns off.Then press power button and volume down button.It will boot into fastboot mode.Now connect to your PC and flash via cmd.Like this
Step 1: type "fastboot devices"
Step 2:type "fastboot flash recovery ____.img"Type the file name of the twrp
Step 3:type "fastboot flash vbmeta ___.img"Type the file name of vbmeta in the blank space
Reboot your phone to recovery by volume buttons.
1. WIPE ALL PARTITIONS(Except Internal Storage, USB, SD CARD) 2. FLASH A.20 Vendor File 3. Flash PE ROM 4. Flash Disable Force Encryption zip 5.Reboot to recovery 6. Format Data (type YES) 7. reboot to System.
Links of the ROM
Pixel experience rom:: https://drive.google.com/file/d/11B0F9iWXVdUINgGbRaGEq19RUHkRSbFp/view
DFE File:::http://www.mediafire.com/file/j8hv6juavncnwbq/Disable_Dm-Verity_ForceEncrypt-master.zip/file
Vendor file ::http://mega.nz/file/Ep8FDJ4C#0Tvs40A5VNiZEhcHzNsjsYpHitsBGxepQtiFhQH6VeE
Congratulation Friends: I Have a Solution:
extract download file (in down) and click the folder address bar and input (cmd) and hit enter.
come to the command center and copy pest
Just copy dtbo,vbmeta and recovery into adb and fastboot folder
open cmd/terminal in the current folder(in whisch u have fastboot and adb), write following command in terminal.
1.
fastboot erase boot && fastboot erase dtbo && fastboot erase recovery && fastboot erase metadata && fastboot erase vbmeta && fastboot erase system && fastboot erase vendor && fastboot erase userdata && fastboot reboot-bootloader
2.
fastboot flash recovery recovery.img && fastboot flash dtbo dtbo.img && fastboot flash vbmeta vbmeta.img && fastboot reboot-bootloader
3- in case fastboot is not recognized, use ./fastboot
4- in case recovery is not working use this - https://pitchblackrecovery.com/r5x/ recovery and rename recovery.img and paste it in adb folder and then repeat.
Download and Extract
https://drive.google.com/file/d/1VMAAZoioBN3YGlV6xqd43iXGmFiWVGg3/view?usp=sharing
Then go to recovery mode
Thanks, Everyone Enjoy...
Prateek_XDA said:
Congratulation Friends: I Have a Solution:
extract download file (in down) and click the folder address bar and input (cmd) and hit enter.
come to the command center and copy pest
Just copy dtbo,vbmeta and recovery into adb and fastboot folder
open cmd/terminal in the current folder(in whisch u have fastboot and adb), write following command in terminal.
1.
fastboot erase boot && fastboot erase dtbo && fastboot erase recovery && fastboot erase metadata && fastboot erase vbmeta && fastboot erase system && fastboot erase vendor && fastboot erase userdata && fastboot reboot-bootloader
2.
fastboot flash recovery recovery.img && fastboot flash dtbo dtbo.img && fastboot flash vbmeta vbmeta.img && fastboot reboot-bootloader
3- in case fastboot is not recognized, use ./fastboot
4- in case recovery is not working use this - https://pitchblackrecovery.com/r5x/ recovery and rename recovery.img and paste it in adb folder and then repeat.
Download and Extract
https://drive.google.com/file/d/1VMAAZoioBN3YGlV6xqd43iXGmFiWVGg3/view?usp=sharing
Then go to recovery mode
Thanks, Everyone Enjoy...
Click to expand...
Click to collapse
Will it work?
Same here, just stuck at realme powerex by android, but can't go to recovert or fastboot mode with combination keys
any solution ?
Prateek_XDA said:
Congratulation Friends: I Have a Solution:
extract download file (in down) and click the folder address bar and input (cmd) and hit enter.
come to the command center and copy pest
Just copy dtbo,vbmeta and recovery into adb and fastboot folder
open cmd/terminal in the current folder(in whisch u have fastboot and adb), write following command in terminal.
1.
fastboot erase boot && fastboot erase dtbo && fastboot erase recovery && fastboot erase metadata && fastboot erase vbmeta && fastboot erase system && fastboot erase vendor && fastboot erase userdata && fastboot reboot-bootloader
2.
fastboot flash recovery recovery.img && fastboot flash dtbo dtbo.img && fastboot flash vbmeta vbmeta.img && fastboot reboot-bootloader
3- in case fastboot is not recognized, use ./fastboot
4- in case recovery is not working use this - https://pitchblackrecovery.com/r5x/ recovery and rename recovery.img and paste it in adb folder and then repeat.
Download and Extract
https://drive.google.com/file/d/1VMAAZoioBN3YGlV6xqd43iXGmFiWVGg3/view?usp=sharing
Then go to recovery mode
Thanks, Everyone Enjoy...
Click to expand...
Click to collapse
not working, I followed step by step (on fedora 35), My phone in stuck in fastboot (recovery not working). Please guide how can I fix it?
Today I formate my phone using stock recovery. After that it's stuck on power by android logo. I have search online but there is no clear flashing process. Please anyone help me how I can fix this problem. I don't have any customers care point near me
this is how i fix mine
Prateek_XDA said:
Congratulation Friends: I Have a Solution:
extract download file (in down) and click the folder address bar and input (cmd) and hit enter.
come to the command center and copy pest
Just copy dtbo,vbmeta and recovery into adb and fastboot folder
open cmd/terminal in the current folder(in whisch u have fastboot and adb), write following command in terminal.
1.
fastboot erase boot && fastboot erase dtbo && fastboot erase recovery && fastboot erase metadata && fastboot erase vbmeta && fastboot erase system && fastboot erase vendor && fastboot erase userdata && fastboot reboot-bootloader
2.
fastboot flash recovery recovery.img && fastboot flash dtbo dtbo.img && fastboot flash vbmeta vbmeta.img && fastboot reboot-bootloader
3- in case fastboot is not recognized, use ./fastboot
4- in case recovery is not working use this - https://pitchblackrecovery.com/r5x/ recovery and rename recovery.img and paste it in adb folder and then repeat.
Download and Extract
https://drive.google.com/file/d/1VMAAZoioBN3YGlV6xqd43iXGmFiWVGg3/view?usp=sharing
Then go to recovery mode
Thanks, Everyone Enjoy...
Click to expand...
Click to collapse
this is how i fix mine thank you
1.
fastboot erase boot && fastboot erase dtbo && fastboot erase recovery && fastboot erase metadata && fastboot erase vbmeta && fastboot erase system && fastboot erase vendor && fastboot erase userdata && fastboot reboot-bootloader
2.
fastboot flash recovery recovery.img && fastboot flash dtbo dtbo.img && fastboot flash vbmeta vbmeta.img && fastboot reboot-bootloader
3 recovery wipe data
4fastboot flash recovery OrangeFox-Unofficial-RMX2030.img
5.intsall pixelexperience rom
6.reboot
PBRP-r5x-4.0-20230110-1451-OFFICIAL
Prateek_XDA said:
Congratulation Friends: I Have a Solution:
extract download file (in down) and click the folder address bar and input (cmd) and hit enter.
come to the command center and copy pest
Just copy dtbo,vbmeta and recovery into adb and fastboot folder
open cmd/terminal in the current folder(in whisch u have fastboot and adb), write following command in terminal.
1.
fastboot erase boot && fastboot erase dtbo && fastboot erase recovery && fastboot erase metadata && fastboot erase vbmeta && fastboot erase system && fastboot erase vendor && fastboot erase userdata && fastboot reboot-bootloader
2.
fastboot flash recovery recovery.img && fastboot flash dtbo dtbo.img && fastboot flash vbmeta vbmeta.img && fastboot reboot-bootloader
3- in case fastboot is not recognized, use ./fastboot
4- in case recovery is not working use this - https://pitchblackrecovery.com/r5x/ recovery and rename recovery.img and paste it in adb folder and then repeat.
Download and Extract
https://drive.google.com/file/d/1VMAAZoioBN3YGlV6xqd43iXGmFiWVGg3/view?usp=sharing
Then go to recovery mode
Thanks, Everyone Enjoy...
Click to expand...
Click to collapse
Good day everyone. Has anyone done this process and had success? in my case, it might have messed everything more, probably, im gonna end up having this repaired by buying a new board. those codes i have typed in, those codes work when i was deleting / erasing folders but restoring them never worked or installing pbrp never worked either. still stuck on Fastboot mode. HOPING SOME GENIUS COULD HELP US!
blank202 said:
this is how i fix mine
this is how i fix mine thank you
1.
fastboot erase boot && fastboot erase dtbo && fastboot erase recovery && fastboot erase metadata && fastboot erase vbmeta && fastboot erase system && fastboot erase vendor && fastboot erase userdata && fastboot reboot-bootloader
2.
fastboot flash recovery recovery.img && fastboot flash dtbo dtbo.img && fastboot flash vbmeta vbmeta.img && fastboot reboot-bootloader
3 recovery wipe data
4fastboot flash recovery OrangeFox-Unofficial-RMX2030.img
5.intsall pixelexperience rom
6.reboot
Click to expand...
Click to collapse
WOULD YOU MIND HELPING ME OUT MY FRIEND?
Prateek_XDA said:
Congratulation Friends: I Have a Solution:
extract download file (in down) and click the folder address bar and input (cmd) and hit enter.
come to the command center and copy pest
Just copy dtbo,vbmeta and recovery into adb and fastboot folder
open cmd/terminal in the current folder(in whisch u have fastboot and adb), write following command in terminal.
1.
fastboot erase boot && fastboot erase dtbo && fastboot erase recovery && fastboot erase metadata && fastboot erase vbmeta && fastboot erase system && fastboot erase vendor && fastboot erase userdata && fastboot reboot-bootloader
2.
fastboot flash recovery recovery.img && fastboot flash dtbo dtbo.img && fastboot flash vbmeta vbmeta.img && fastboot reboot-bootloader
3- in case fastboot is not recognized, use ./fastboot
4- in case recovery is not working use this - https://pitchblackrecovery.com/r5x/ recovery and rename recovery.img and paste it in adb folder and then repeat.
Download and Extract
https://drive.google.com/file/d/1VMAAZoioBN3YGlV6xqd43iXGmFiWVGg3/view?usp=sharing
Then go to recovery mode
Thanks, Everyone Enjoy...
Click to expand...
Click to collapse
I did this to my phone, made it even worst. just reboots to the fastboot mode

When i flashed recovery with vbmeta it finished and when i goes to recovery mode it bootlooping my device and restarting again again in 15 secs any so

When i flashed recovery with vbmeta it finished and when i goes to recovery mode it bootlooping my device and restarting again again in 15 secs any soloution
NEMISIS29 said:
When i flashed recovery with vbmeta it finished and when i goes to recovery mode it bootlooping my device and restarting again again in 15 secs any soloution
Click to expand...
Click to collapse
1. Download and Extract somewhere in your pc
https://drive.google.com/file/d/1VMAAZoioBN3YGlV6xqd43iXGmFiWVGg3/view?usp=sharing
2. Open above folder, click on address bar and type "cmd" hit enter. A cmd prompt will appear.
3. Connect your phone and type the following command:
fastboot erase boot && fastboot erase dtbo && fastboot erase recovery && fastboot erase metadata && fastboot erase vbmeta && fastboot erase system && fastboot erase vendor && fastboot erase userdata && fastboot reboot-bootloader
4. Wait until command is executed, then excecute following command:
fastboot flash recovery recovery.img && fastboot flash dtbo dtbo.img && fastboot flash vbmeta vbmeta.img && fastboot reboot-bootloader
After that boot into the recovery, you will get the stock recovery, download the rom online from stock recovery and your phone is unbricked.... enjoy
Akbkhan said:
1. Download and Extract somewhere in your pc
https://drive.google.com/file/d/1VMAAZoioBN3YGlV6xqd43iXGmFiWVGg3/view?usp=sharing
2. Open above folder, click on address bar and type "cmd" hit enter. A cmd prompt will appear.
3. Connect your phone and type the following command:
fastboot erase boot && fastboot erase dtbo && fastboot erase recovery && fastboot erase metadata && fastboot erase vbmeta && fastboot erase system && fastboot erase vendor && fastboot erase userdata && fastboot reboot-bootloader
4. Wait until command is executed, then excecute following command:
fastboot flash recovery recovery.img && fastboot flash dtbo dtbo.img && fastboot flash vbmeta vbmeta.img && fastboot reboot-bootloader
After that boot into the recovery, you will get the stock recovery, download the rom online from stock recovery and your phone is unbricked.... enjoy
Click to expand...
Click to collapse
I got stock recovery.But wifi cannot find for online update.Sir plese help me.
Akbkhan said:
1. Download and Extract somewhere in your pc
https://drive.google.com/file/d/1VMAAZoioBN3YGlV6xqd43iXGmFiWVGg3/view?usp=sharing
2. Open above folder, click on address bar and type "cmd" hit enter. A cmd prompt will appear.
3. Connect your phone and type the following command:
fastboot erase boot && fastboot erase dtbo && fastboot erase recovery && fastboot erase metadata && fastboot erase vbmeta && fastboot erase system && fastboot erase vendor && fastboot erase userdata && fastboot reboot-bootloader
4. Wait until command is executed, then excecute following command:
fastboot flash recovery recovery.img && fastboot flash dtbo dtbo.img && fastboot flash vbmeta vbmeta.img && fastboot reboot-bootloader
After that boot into the recovery, you will get the stock recovery, download the rom online from stock recovery and your phone is unbricked.... enjoy
Click to expand...
Click to collapse
pro I lost access to my phone !!!
it's stuck at fastboot now , and USB ADB Not recognizing phone through "adb devices" What I can do !!
hammad0900 said:
pro I lost access to my phone !!!
it's stuck at fastboot now , and USB ADB Not recognizing phone through "adb devices" What I can do !!
Click to expand...
Click to collapse
Hey, let it turn off automatically when battery is drained or open the back cover and plug out battery connector and again plug it in. Then try again above command. I hope it will help.

Categories

Resources