Flash .zip file (LineageOS) using Odin/Heimdall - Samsung Galaxy A50 Questions & Answers

Is there any way to flash a .zip file (ROM) without having to install a custom recovery?

No, not really.
If you patch your stock recovery to use fastboot commands, you can flash individual partitions, but if the ROM does not come in an .img format, you're out of luck.

Related

How to flash image stock after format system files?

Hi,
I formatted the system files, and i wanted to install zip file of 4.2 that i found. I used the ClockWorkMode to install it but it check for system files and aborted after not found them. I tried fastboot but I won't be able to get it communicate my phone.
Can I use Odin to flash any version ?
thanks
yossharel said:
Hi,
I formatted the system files, and i wanted to install zip file of 4.2 that i found. I used the ClockWorkMode to install it but it check for system files and aborted after not found them. I tried fastboot but I won't be able to get it communicate my phone.
Can I use Odin to flash any version ?
thanks
Click to expand...
Click to collapse
You need to have separate Fastboot drivers installed (on a Windows PC)

[Q] Need help rooting

This is my first time rooting a device so I'm not sure what I'm doing but I have unlocked the bootloader and am trying to use the HTC quick root tool and also have the clockwork mod installed. When I try to root using the universal exploit on this program I get:
Checking device connection... device connected
preparing universal exploit... okay
rebooting to recovery... okay
waiting for device... okay
running universal exploit... okay
rebooting device... okay
waiting for device... okay
checking TEMP ROOT access... failed
error universal exploit failed
any ideas?
Easy Ace Root Tool.
Huh, you have CWM already installed that means you only need to flash Superuser or a custom rom.
1. download the zip file here : http://forum.xda-developers.com/showthread.php?t=1538053
2. Put the ZIP file in your SD.
3. Reboot into CWM Recovery
4. Choose install from ZIP.
5. Find your zip file
6. Install it.
8. Reboot and your done!
Installing a custom rom :
1. Download a custom rom (1000 of Roms on XDA search the developer section)
2. Extract the boot.img
3. Save it somewhere
3. Place the zip file in tour SD
4. Reboot in CWM
5. Install the ROM in tour SD with Install from zip
6. Reboot in Bootloader
7. Open CMD and type in : /fastboot flash boot.img (Depends on where you have saved it, fort example if you saved it on C:/ type in /fastboot flash C:/boot.img)
8. Reboot and your done!
Fantassy123 said:
Huh, you have CWM already installed that means you only need to flash Superuser or a custom rom.
1. download the zip file here : http://forum.xda-developers.com/showthread.php?t=1538053
2. Put the ZIP file in your SD.
3. Reboot into CWM Recovery
4. Choose install from ZIP.
5. Find your zip file
6. Install it.
8. Reboot and your done!
Installing a custom rom :
1. Download a custom rom (1000 of Roms on XDA search the developer section)
2. Extract the boot.img
3. Save it somewhere
3. Place the zip file in tour SD
4. Reboot in CWM
5. Install the ROM in tour SD with Install from zip
6. Reboot in Bootloader
7. Open CMD and type in : /fastboot flash boot.img (Depends on where you have saved it, fort example if you saved it on C:/ type in /fastboot flash C:/boot.img)
8. Reboot and your done!
Click to expand...
Click to collapse
cheers I'll try that now and let you know
EDIT: It worked thanks!
db316 said:
cheers I'll try that now and let you know
EDIT: It worked thanks!
Click to expand...
Click to collapse
have some trouble flashing the custom ROM. When I boot to bootloader, should I select fastboot and then connect to pc? because when i type /fastboot flash C:/boot.img i get this:
c:\>/fastboot flash C:/boot.img
'/fastboot' is not recognized as an internal or external command,
operable program or batch file.
1.Unlock your bootloader and flash a custom recovery (CWM or 4ext)
2.Download the rom zip file you are willing to flash to your PC.
3.Extract the the boot.img from inside the zip file (do not extract the whole rom)
6.Put the zip file in your sdcard.
5.Boot into recovery and do a full wipe (wipe data/factory reset, wipe cache partition, format system)
6.Flash rom (install zip from sdcard)
7.Reboot into bootloader again and plug the phone to the PC.
8.You need to be in fastboot usb (if you see HBOOT USB PLUG in the phone, just press power to toggle)
9.Open a cmd/terminal and navigate to where the boot.img file is located.
10.Type: fastboot flash boot boot.img
11.Reboot and now you should be enjoying your custom rom
Here is a better explained instruction for flashing custom rom's on DHD
Fantassy123 said:
1.Unlock your bootloader and flash a custom recovery (CWM or 4ext)
2.Download the rom zip file you are willing to flash to your PC.
3.Extract the the boot.img from inside the zip file (do not extract the whole rom)
6.Put the zip file in your sdcard.
5.Boot into recovery and do a full wipe (wipe data/factory reset, wipe cache partition, format system)
6.Flash rom (install zip from sdcard)
7.Reboot into bootloader again and plug the phone to the PC.
8.You need to be in fastboot usb (if you see HBOOT USB PLUG in the phone, just press power to toggle)
9.Open a cmd/terminal and navigate to where the boot.img file is located.
10.Type: fastboot flash boot boot.img
11.Reboot and now you should be enjoying your custom rom
Here is a better explained instruction for flashing custom rom's on DHD
Click to expand...
Click to collapse
awesome done it thanks so much

[Guide] Flashing Treble images and going back to EMUI

Index
Booting fastboot
-- Software way via Android Debug Bridge
Connect your phone to your computer and issue command:
Code:
adb reboot bootloader
-- Hardware way via bootloader function
Hold volume down button. Connect the USB-C cable.
Flashing images
Issue commands while on fastboot:
For recovery images (ex. eRecovery, TWRP):
Code:
fastboot flash recovery_ramdisk [I]recoveryimage.img[/I]
For system images (ex. EMUI 8, Pixel Experience):
Code:
fastboot flash system [I]systemimage.img[/I]
Booting recovery
-- Software way via Android Debug Bridge
Connect your phone to your computer and issue command:
Code:
adb reboot recovery_ramdisk
-- Hardware way via bootloader function
Hold volume up button while the phone is booting. Make sure cable isn't plugged in.
Backup EMUI data partition
This is important as without this, you won't be able to go back to EMUI.
Flash kilroystyx's TWRP via fastboot
Boot to recovery
Backup data partition (Backup > Tick Data, Swipe to backup)
Copy the backup to your computer after the backup finishes
(from the TWRP folder on the root of internal storage)
Installing a Treble based ROM
Flash stock recovery via fastboot
Wipe data and cache via eRecovery
Flash the ROM image to system via fastboot
Reboot to system
Going back to EMUI
• Via the backup you have done
Flash EMUI system
Flash stock recovery
Boot to recovery
Touch Wipe data/factory reset
Touch Wipe cache partition
Touch Reboot to system
Without letting it boot to system, boot to fastboot
Flash kilroystyx's TWRP
Reboot to system, let it boot completely
Reboot to recovery
Copy backed up EMUI data to internal storage
Start restoring
Reboot to system
• Via full stock firmware files
Copy FOTA and UDF to the root of your external SD card
FOTA: Full OTA (update.zip) / UDF: Data Update (update_data_full.zip)
Flash KingOfMezi's TWRP
Reboot to recovery
Wipe Dalvik, cache, system, data, internal storage
Flash FOTA and UDP respectively
Flash stock recovery via fastboot
Touch Wipe data/factory reset
Touch Wipe cache partition
Touch Reboot to system
If you have modified ramdisk or kernel flash the stock images of them as well.
You can download kilroystyx's TWRP, here.
You can find more information about going back to stock via firmware files and download KingOfMezi's TWRP, here.
After you boot up a custom system, you will not be able to boot kilroystyx's or KingOfMezi' TWRP.
If you need TWRP at that moment, use dil3mm4's Treble TWRP.
This TWRP cannot manage your data and files. You can use ADB, or use your external SD card to flash files.
Stock firmware files are here. All you need are system, recovery_ramdisk and ramdisk images.
Extract the UPDATE.APP from the ZIP file. You can extract the partition images by Huawei Update Extractor.
If you have any other questions, feel free to join our group. You can ask anything without hesitation.
If i follow your guideline, when i revert back to EMUI, TWRP cannot mount system.
It's weird cause i did flash a lot of treble roms and went back to stock several times before but not with your method.
Every time i go back to stock i got a different problem to troubleshoot due to encryption i think.
The best way i found:
Going back to EMUI
Wipe data and cache via stock recovery
Flash stock system image via fast boot
Let the system boot to the setup wizard
Flash Pretoriano80's TWRP via fastboot
Restore the backup
Wipe Dalvik and Cache
Letzen said:
You can download Pretoriano80's TWRP image here.
After you boot up a custom system, you will not be able to boot Pretoriano80's propertiary TWRP.
If you need TWRP at that moment, use dil3mm4's Treble TWRP.
This TWRP cannot manage your data and files. Use your external SD card to flash files.
Stock firmware files are here. All you need are system, recovery_ramdisk and ramdisk images.
Extract the UPDATE.APP from the ZIP file. You can extract the partition images by Huawei Update Extractor.
If you have any other questions, feel free to join our group. You can ask anything without hesitation.
Click to expand...
Click to collapse
which firmware is for ane-lx3?
i can't go back to stock recovery.
I'm using aosp treble images, i've an ANE-LX1
Someone can help me?
---------- Post added at 11:42 AM ---------- Previous post was at 11:40 AM ----------
i can't go back to stock recovery.
I'm using aosp treble images, i've an ANE-LX1
Someone can help me?
---------- Post added at 11:43 AM ---------- Previous post was at 11:42 AM ----------
I've an ANE-LX1 and i'm using aosp treble image.
I can't go back to stock emui, can someone help me?
U need to flash a stock system.img
Then flash the stock recovery
mchtt said:
U need to flash a stock system.img
Then flash the stock recovery
Click to expand...
Click to collapse
from where can we get stock system image.img and the stock recovery?
fbh59 said:
from where can we get stock system image.img and the stock recovery?
Click to expand...
Click to collapse
Find the complete firmware of your device and download the update.zip.
both are extracted from UPDATE.APP that is inside the update.zip
Unzip UPDATE.APP from the .zip file, then with the "Huawei Update Extractor" open the UPDATE.APP file and the files you need should appear and you're done, you can extract them
Is there a reason, why this guide only mentions
fastboot flash system systemimage.img
Click to expand...
Click to collapse
while the "official" one (https://www.xda-developers.com/flash-generic-system-image-project-treble-device/) mentions
fastboot -u flash system name_of_system.img
Click to expand...
Click to collapse
and
fastboot erase system
Click to expand...
Click to collapse
(before)
?
Cause you need to full wipe after a different system flash ?
I suggest:
- flashing system.img
- flash stock recovery
- full wipe
must unlock bootloader or no please reply thankx
i flash download Huawei P20 Lite-ANE-LX1 8.0.0.144(C432).zip
extracting and flash fastboot mode YES
Yes you have to unlock your bootloader.
mchtt said:
Yes you have to unlock your bootloader.
Click to expand...
Click to collapse
I cant unlock bootloader dc unlocker is error 375
How unlocking bootloader please reply bro
Hi, I have a couple of questions.
Firstly, why can't you flash images from TWRP? On the OpenKirin website it says they don't support it at all. Is it TWRP's fault or Huawei's? On my P9 lite I had a while back it worked perfectly.
Secondly, I would like to know what the difference is between the TWRP versions. Is there no support for backups on KingofMezi's one?
Thanks!

i tried some stuff to change the rom i am lost please help

software status modified i wand to use linieageos with gapps and recovery TWRP somone to help me stap by step and save my life!!!!
love you all
You need to download the latest twrp for the Z2F/Nash from the TWRP site. One of the files is the twrp installer, which should be moved to your z2's sdcard. The img file stays on a PC.
Before you do anything, the Android platform tools should be present. Or you can instead install minimal adb/fastboot from XDA. Once you boot twrp you have to format data and type yes, so the rom and other files should be on an SD card. Alternatively, one may opt for adb sideload.
1.Flash LOS. Without rebooting, flash the twrp installer otherwise it won't stick.
2.Reboot recovery and flash gapps, then reboot recovery again
3. Reboot system

recovery dont still

the recovery is gone after i flash it from pc why that if i want to open it i should go to pc and flash it again
After boot to TWRP recovery for the first time, you need to flash no-verity-opt-encrypt-6.0.zip from twrp itself. You need flash that zip after any system modification you do. Else whatever mod you do will lost.

Categories

Resources