Is it possible to restore file after flashing GSI with fastboot ?
Related
i have have been using cyan. 4.2.5 for several weeks and wanted to try the new 2.0 rom by eugene. so i completed a full backup by nandroid and before i falshed i used astro file manager to review my files just to be sure. then i used the new recovery file to wipe my data/davlik cache/etc...... i was stuck in boot loop with the new rom and when i tried to restore it gives me some sort of error..... nandroid-mobile.sh restore and then im lost. i need to recovery all my files someone please help me...................................
lilwill2806 said:
i have have been using cyan. 4.2.5 for several weeks and wanted to try the new 2.0 rom by eugene. so i completed a full backup by nandroid and before i falshed i used astro file manager to review my files just to be sure. then i used the new recovery file to wipe my data/davlik cache/etc...... i was stuck in boot loop with the new rom and when i tried to restore it gives me some sort of error..... nandroid-mobile.sh restore and then im lost. i need to recovery all my files someone please help me...................................
Click to expand...
Click to collapse
They may be deleted from the system partition. you need to get your nandroids from your SD card and flash them from fastboot
these are the ones you need to flash
boot.img
data.img
system.img
i think the commands are
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash userdata data.img
Hi,
I've made a backup of my phone with cwm. The backup consists of the following files :
cache.img
data.img
datadata.img
nandroid.md5
system.img
Is there a way to restore this from the PC (like with odin or heimdall)?
Thanks.
nobody? ^^
you can restore it thru CWM i dont think anyone has tried it thru Odin but if i was to try it (which would be very risky) i would flash the nandroid.md5
BUT I DO NOT RECOMMEND IT
Many user at XDA everyday asking this same Question again and again.
Our phone not updating after getting OTA update.
Symptoms
Phone reboots to recovery but stuck at red triangle
Requirements
>>Stock recovery ( custom recovery TWRP/CWM can't flash OTA )
>>Stock system unmodified (custom kernel modifies system files so if you flashed custom kernel you need original files to restore)
>> Data/preload Apps ***Most Important*** according to phone software version (different CID contaions diffrent apps) when we unlock bootloader it delets data partition so data/preload apps also when OTA check OS integrity it also check data/preload apps with their md5/sha-1 match.
{How to Do}
1. 1st we need flash stock recovery (if you already have, skip this point ) you can flash it via Fastboot or Flash Image GUI App
fastboot flash recovery recovery_name.zip
Link for stock recovery
you can extract stock recovery from firmware zip here
2. Stuck at Red Triangle
means stuck at OS verification stage. You have to do 2 things
verify data/preload apps
verify system
extract OTA updater-script (open with Notepad++) from OTA (Meta-inf/com/google/android/updater-script) match apk file to OS.
Getting missing files - find these apks according to your system software version Like This or fastboot getvar all
Where to find apps
Previous OTA
Guru ROM Reset
Nandriod Backup
Anyone uploaded over internet
Find a HTC One m7 same version backup apps with ES File Explorer
Restore files using Root Explorer
rename apps according to updater-script copy to phone storage copy to data/preload REBOOT.
Most apps
calculator, flashlight, Htcringtonetrimmer, HtcSoundrecorder, 7digital, soundhound, Twitter_client.apk + more
Tools
Notepad++
MD5 & SHA-1 check
If this process is boring Lengthy to you, use RUU, Guru reset rom to get stock & then flash OTA.
Don't want download OTA again or use PC downloaded OTA
Don't want download OTA again or use PC downloaded OTA
copy ota file to PC.
start downloading OTA at phone over wifi again
stop wifi at 1% ( don't cancel OTA dialog )
match file name phone storage/download/ota file to PC file rename it.
copy PC file to phone/download overwrite existing file.
resume wifi it will show download complete Start Installing.....
The correct way to flash recovery is
fastboot flash recovery nameOFrecovery.img
fastboot erase cache
fastboot reboot-bootloader
Don't skip the last 2 steps !!
Hi all, I want to clean install stock rom via fastboot. I used to do this on my oneplus one a while back. I think that I need to install img files to five partitions (boot.img, recovery.img, system.img, userdata.img and cache.img). Are there any other files that need to installed (eg bin or mbn files)?
I think I should be able to get the img files by unzipping the stock rom files. Has anyone tried to get the img files from unzipped stock rom and install via fastboot?
Any help is greatly appreciated.
Thanks
Don't know exactly, but also interested to learn about this!
OnePlus does not provide fastboot flashable roms, the only way to get them would be to update uusing the recovery first and extracting the .img files afterwards, but then you don't need them anymore since you are already upgraded.
Jo_Jo_2000 said:
OnePlus does not provide fastboot flashable roms, the only way to get them would be to update uusing the recovery first and extracting the .img files afterwards, but then you don't need them anymore since you are already upgraded.
Click to expand...
Click to collapse
The system.new.dat format is not unique to oneplus, but the standard for flashable android zips since version 6 (aka marshmellow). The system.new.dat, system.patch.dat and system.transfare.list are build from system.img while building a rom (aka compile rom from source). This process is NOT unidirectional; you can easily revert it. I'm on linux, so you have to google, how this is accomblished on win or darwin. For linux users:
https://github.com/xpirt/sdat2img
I was on Oreo then I go to twrp make clean wipe
Then I flashed stock recovery but I forgot rename rom to update.zip ...how I can install ROM on my device pls help me.
How I can access my phone's internal storage .
1st Alternative : You can just reflash TWRP from fastboot and rename using TWRP's file manager. Then you can re-flash stock recovery from twrp itself.
2nd Alternative: If you have access to ADB in recovery, try this ADB file manager utility:
http://motyczko.pl/qtadb/QtADB_0.8.1_windows.zip