Data Recovery After Flashing a KDZ Image Using LG Flash Tool - G2 Q&A, Help & Troubleshooting

Phone: LG G2 D802 32GB
Do you know if it's possible to recover the data after flashing a KDZ with LG Flash Tool using "CSE Flash" method? I completely forgot that this method wipes everything.
After unsuccessfully flashing Nougat (going from MM ResurrectionRom) I had to go back to stock and realized afterwards that all my data was gone. I manged to make a full image of the new data partition and tried to run file recovery software on it (photorec and foremost) but it doesn't seem to find much apart from a handful of files (about 400MB out of 23GB) and there are none of the images / videos stored previously in the DCIM folder.
Does it mean that going back to stock not only wipes the data partition but also changes the partition table making the recovery impossible? Do you have any other ideas how to recover the files? Do you know if that's even possible in such case? Many thanks.

Related

[Q] Device won't boot

I tried to flash a custom Rom I had tried to build and it didn't work. I thought it might work, though, if I formated system, data, cache, (everything except internal storage). Then this time I couldn't flash the ROM, couldn't work my previous backupe and could make another rom boot, because even if I flashed any ROM it would be stuck at that Nexus Logo.
I'd like to know how to recover my internal storage data so I can flash stock image, as it erases everything. I tried to use ADB to pull my data from the phone but it didn't recognize my device, which was already "bricked" by the time. What can I do? Can I make my backup work or is there a way I can recover my data to flash the stock image?
Xintorrim said:
I tried to flash a custom Rom I had tried to build and it didn't work. I thought it might work, though, if I formated system, data, cache, (everything except internal storage). Then this time I couldn't flash the ROM, couldn't work my previous backupe and could make another rom boot, because even if I flashed any ROM it would be stuck at that Nexus Logo.
I'd like to know how to recover my internal storage data so I can flash stock image, as it erases everything. I tried to use ADB to pull my data from the phone but it didn't recognize my device, which was already "bricked" by the time. What can I do? Can I make my backup work or is there a way I can recover my data to flash the stock image?
Click to expand...
Click to collapse
[EDIT] Nevermind, problem solved.

[Q] LG G2 D802 TWRP Loop, LG FLASH TOOL did not work

Here I have an issue with LG G2 D802- please help.
i guess my system partitions and other system images and files are deleted. I am currently stuck in TWRP loop. how ever i can go to download mode. I have already tried LG FLASH TOOL to flash .tot file but every time the process starts, it skips flashing all those partitions and system files. The whole process completes in less than a minute and again my ph boots into TWRP.
I tried ADB SIDELOAD to install custom rom in TWRP too, the installation process all goes well and after installation when the system reboots, to my bad luck it again goes to TWRP.
I tried flashing cloudy G3 ROM using OTG, the ROM Installation process all goes well but after installation completes and phones reboots, instead of normal boot, it again goes to TWRP.
What options do i have left now? I have yet to try .KDZ method though. Please help...
Try wiping everything through TWRP apart from the Internal Storage (cache, data, system, data), then flashing the ROM along with the kitkat baseband zip if you have it.
If it doesn't boot properly, then try the KDZ method.
prowsterz said:
Try wiping everything through TWRP apart from the Internal Storage (cache, data, system, data), then flashing the ROM along with the kitkat baseband zip if you have it.
If it doesn't boot properly, then try the KDZ method.
Click to expand...
Click to collapse
Flashed Rom and KITKAT baseband already... NO LUCK... Need to try KDZ method now (File is downloading)...
.TOT method didnot work though .
I guess my system partitions and other partitions got corrupted or damaged, so FLASH TOOL just skips all those partitions flashing. Can anyone let me know how to fix those, if that is reason what my PH is currently going through????????

[Q] Trapped in bootloader. Looking for help.

Hi guys, hoping you can help me out. Noob, yup.
Nexus 7 2012 Wifi.
My Nexus was getting slow, so I successfully converted my system, data, and cache to F2FS with SlimKat.
In the process of this, I converted my Cache, System, and Data to F2FS.
The SlimKat F2FS rom was working fine. All was well.
Here's where I made a series of errors...
I decided to restore the Nexus back to factory settings/stock 4.4.4. I had some problems with my nandroid files, so I decided just to convert things back manually in TWRP. My thought process was to: A. convert Data and Cache back to ext4, B. Install factory rom from System, C. convert System back to ext4.
My thought process was apparently wrong.
Here's what I did:
1. I copied the 4.4.4 Factory Image (.tgz) to the sdcard (first mistake. I assumed the official download was a .zip but it was a .tgz).
2. In TWRP, i converted the Cache and System to ext4.
3. Tried to install stock 4.4.4 rom but couldn't install it because it was .tgz.
4. Not knowing what else to do, I converted the Data to ext4 as well. So in my eyes, everything was "put back" to ext4 like it was before. Since everything was "back to normal", I thought Nexus Root Toolkit could take me the rest of the way back to normal.
5. In Nexus Root Toolkit, I tried to "Flash Stock + Unroot", but it gave me errors (picture is attached)
6. Now I'm in bootloader. Trapped. I can't even get back into TWRP anymore (and I don't understand why).
Sorry for the noob trouble. Hopefully there is still hope for my Nexus.
Thanks in advance for any help.
In fastboot mode (i.e. Bootloader), use fastboot to flash the latest TWRP or a factory image
thunderdust said:
Hi guys, hoping you can help me out. Noob, yup.
Nexus 7 2012 Wifi.
My Nexus was getting slow, so I successfully converted my system, data, and cache to F2FS with SlimKat.
In the process of this, I converted my Cache, System, and Data to F2FS.
The SlimKat F2FS rom was working fine. All was well.
Here's where I made a series of errors...
I decided to restore the Nexus back to factory settings/stock 4.4.4. I had some problems with my nandroid files, so I decided just to convert things back manually in TWRP. My thought process was to: A. convert Data and Cache back to ext4, B. Install factory rom from System, C. convert System back to ext4.
My thought process was apparently wrong.
Here's what I did:
1. I copied the 4.4.4 Factory Image (.tgz) to the sdcard (first mistake. I assumed the official download was a .zip but it was a .tgz).
2. In TWRP, i converted the Cache and System to ext4.
3. Tried to install stock 4.4.4 rom but couldn't install it because it was .tgz.
4. Not knowing what else to do, I converted the Data to ext4 as well. So in my eyes, everything was "put back" to ext4 like it was before. Since everything was "back to normal", I thought Nexus Root Toolkit could take me the rest of the way back to normal.
5. In Nexus Root Toolkit, I tried to "Flash Stock + Unroot", but it gave me errors (picture is attached)
6. Now I'm in bootloader. Trapped. I can't even get back into TWRP anymore (and I don't understand why).
Sorry for the noob trouble. Hopefully there is still hope for my Nexus.
Thanks in advance for any help.
Click to expand...
Click to collapse
Instead of doing these whole procedure via .bat file plss try it manually yourself and install latest twrp and then format your system and other partitions with desired format and then flash manually system.img and other stuff manaually
Solved!
Hey guys, thanks for the help.
Here's what got me through it:
1. Learn how to fastboot, adb, etc. WITHOUT Nexus Root Toolkit so you understand what's going on.
2. Don't assume that any USB port or laptop will give you the same results. My attempts to flash the system with a custom rom failed time and time again. On the advice of other threads, I tried the same thing again via a different USB port, and voila it worked! Perhaps it was not a 2.0 port.
In summary, I needed to fastboot erase, then fastboot flash the partitions. And most of all, I had to try it on a different USB port if it failed unexpectedly.
Hope this helps somebody else!

Fix freeze , lags etc.

Hello people my phone getting old i think 1.5 year so far my phone started to freeze having lags getting too hot while browsing. And bootloops started without flashing anything. First bootloop happened 2 weeks ago. Today happened again twice i wiped dalvik cache and everything is fine how can i fix it? I thought rom cause it i flashed stock firmware rooted it and removed bloatware. Still happens lags,freeze,getting too hot and bootloop. Is it lollipop update? I never had this issues with kitkat. How can fix this and keep my alive?
Orangley said:
Hello people my phone getting old i think 1.5 year so far my phone started to freeze having lags getting too hot while browsing. And bootloops started without flashing anything. First bootloop happened 2 weeks ago. Today happened again twice i wiped dalvik cache and everything is fine how can i fix it? I thought rom cause it i flashed stock firmware rooted it and removed bloatware. Still happens lags,freeze,getting too hot and bootloop. Is it lollipop update? I never had this issues with kitkat. How can fix this and keep my alive?
Click to expand...
Click to collapse
Try a full factory reset. Be careful as this will wipe your internal storage.
GDReaper said:
Try a full factory reset. Be careful as this will wipe your internal storage.
Click to expand...
Click to collapse
Thank you for your answer but I did it after flash stock rom via odin. Wiped data / factory reset , cache partition , mounted cache , system , data , wiped dalvik cache..
Wiping data does not equal a factory reset. Wiping data does just that, wipes user installed apps. But generally leaves the internal storage alone.
A factory reset returns the phone to the settings it came out of the factory with, including a clean internal storage(If you have the stock rom). I heard that changing roms and just wiping data, dalvik and cache will still leave behind some files.
But it could also be untrue.
GDReaper said:
Wiping data does not equal a factory reset. Wiping data does just that, wipes user installed apps. But generally leaves the internal storage alone.
A factory reset returns the phone to the settings it came out of the factory with, including a clean internal storage(If you have the stock rom). I heard that changing roms and just wiping data, dalvik and cache will still leave behind some files.
But it could also be untrue.
Click to expand...
Click to collapse
Flashing stock rom is same with factory reset i think clears everything.
I don't know. Haven't flashed stock on this device yet.
But don't most guys recommend doing a wipe before going back to stock?
I dont know i'll try that when i have free time. I did research some guys saying lollipop causing these problems. I'll try wipe before flash stock rom again , if issues keep happen i'll use lates 4.4.2 custom rom. Thank you for your answers i'll report back.
Real reset
This method will wipe everything, including operating system and efs files. Before you do this:
you must root
Download twrp recovery
Install the recovery using the app from the play store
Boot into recovery mode and have twrp backup everything
save your backup to an SD card and the computer (can't hurt to have two backups)
Doing the above will preserve your phone important data like your imei and efs
in case something goes wrong.
NOW
after you have backed everything up use twrp recovery to wipe data. Have twrp wipe everything except for your SD card (don't won't to lose the backup)
After everything has been obliterated have twrp boot you into download mode.
Download Odin from XDA preferably 3.09 (most stable release) and then grab an official stock firmware from a trusted source. The latest stock firmware should be at least 4.4.2
If you have carriers other than t-mobile you will also need to find a PIT file for partitioning.
When you have all of this open up Odin with your phone connected in download mode and make sure repartitioning, clear efs and nand-erase is checked along with the defaults.
Select pda button and choose your firmware (unzipped tar.md5 format.) Then select repartitioning PIT file button and direct to where you have the PIT file downloaded.
now click start (be sure that the Com port is recognized by Odin: will be highlighted in blue or yellow.)
This will take a while depending on your computer.
when it finishes your phone should reboot with a fresh os and filesystem. If you get stuck in a bootloop reboot into recovery mode and do a wipe data and wipe cache. Reboot and your phone should be good as new.
IMPORTANT!!! It is vital you keep your TWRP backups for as long as you have your phone if you lose them and something goes wrong while flashing your phone you will lose important things such as IMEI baseband which will prevent you from connecting to your network and Sim card recognition.
Thank you so much i'll try this now.
AndroidInitiate said:
This method will wipe everything, including operating system and efs files. Before you do this:
you must root
Download twrp recovery
Install the recovery using the app from the play store
Boot into recovery mode and have twrp backup everything
save your backup to an SD card and the computer (can't hurt to have two backups)
Doing the above will preserve your phone important data like your imei and efs
in case something goes wrong.
NOW
after you have backed everything up use twrp recovery to wipe data. Have twrp wipe everything except for your SD card (don't won't to lose the backup)
After everything has been obliterated have twrp boot you into download mode.
Download Odin from XDA preferably 3.09 (most stable release) and then grab an official stock firmware from a trusted source. The latest stock firmware should be at least 4.4.2
If you have carriers other than t-mobile you will also need to find a PIT file for partitioning.
When you have all of this open up Odin with your phone connected in download mode and make sure repartitioning, clear efs and nand-erase is checked along with the defaults.
Select pda button and choose your firmware (unzipped tar.md5 format.) Then select repartitioning PIT file button and direct to where you have it downloaded.
now click start (be sure that the Com port is recognized by Odin: will be highlighted in blue or yellow.)
This will take a while depending on your computer.
when it finishes your phone should reboot with a fresh os and filesystem. If you get stuck in a bootloop reboot into recovery mode and do a wipe data and wipe cache. Reboot and your phone should be good as new.
IMPORTANT!!! It is vital you keep your TWRP backups for as long as you have your phone if you lose them and something goes wrong while flashing your phone you will lose important things such as IMEI baseband which will prevent you from connecting to your network and Sim card recognition.
Click to expand...
Click to collapse
Odin freeze everytime i put twrp tar.md5 file cant i use philz touch which i use for long time?
Orangley said:
Odin freeze everytime i put twrp tar.md5 file cant i use philz touch which i use for long time?
Click to expand...
Click to collapse
Is that another custom recovery?
If so then yes just make sure you have all of your system files and most importantly your efs backed up.
Run odin as administrator if that doesnt work, try using another version of Odin.
AndroidInitiate said:
Is that another custom recovery?
If so then yes just make sure you have all of your system files and most importantly your efs backed up.
Run odin as administrator if that doesnt work, try using another version of Odin.
Click to expand...
Click to collapse
Doesnt work another versions both twrp and odin. I'll keep my custom recovery and try it.
Orangley said:
Doesnt work another versions both twrp and odin. I'll keep my custom recovery and try it.
Click to expand...
Click to collapse
What carrier are you using, model number of the phone, etc.
Have you backed everything up? And can you flash the custom recovery through Odin if it fails?
Try it without wiping efs first just to be safe
Look here for your device you will be able to find standalone flash able versions of twrp that should work through odin.
http://twrp.me/Devices/
Using i9500. And i did what you said and works fine thank you! Mods close thread please.

Stuck at LG logo after flashing any Kernel

So I'm having a weird issue. Whenever I flash any kernel other then stock it stays stuck at the LG logo. I have to pull battery and then restore the stock kernel backup. I have no idea why I'm having this issue. I've also noticed that TWRP sometimes says cannot mount system (probably not the culprit but just adding more info).
Model: T-Mobile (h918)
When I had the "cannot mount" issue, a system partition format was needed from within TWRP. I took a backup of system (not a system.img backup), then formatted system only, then restored the system. It's been fine ever since.
I'm not sure if any special pocedure is needed for the h918 in order not to brick anything. I'm on US996.
I hope that made sense. Please wait for a second opinion before trying anything.
pistacios said:
When I had the "cannot mount" issue, a system partition format was needed from within TWRP. I took a backup of system (not a system.img backup), then formatted system only, then restored the system. It's been fine ever since.
I'm not sure if any special pocedure is needed for the h918 in order not to brick anything. I'm on US996.
I hope that made sense. Please wait for a second opinion before trying anything.
Click to expand...
Click to collapse
Yea. Seems like I have to format system all the time. Also have to format my internal storage all the time. My backups never seem to restore correctly. I can't flash a new ROM because it wont boot with a different kernel. I might just flash KDZ and root all over again.

Categories

Resources