Erased all My partitions through QFIL. How to fix? - LG V40 Questions & Answers

{
"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"
}
As you can see, I accidentally erased all the partitions. I meant to just clear boot_a.
I tried recovering through these steps:
Download (https://drive.google.com/drive/folders/1WQaaM35SWiF_UbXAM8hiRB95D2CDkIEq) the backup. Unzip it to find 7 luns (0-6).
1. Open QFIL
2. Select Flat Build
3. Click load xml and select the rawprogram(#) XML that is in the lun(0-6) folder.
4. If it asks you for a patch xml, click cancel. It's not needed to flash this backup.
5. Click download
6. Repeat steps for each lun folder
I kept getting this failure message in qfil:
I'm not sure if these are even the steps to fix it. Any Idea on what I need to do to resolve this?

nasedase said:
View attachment 5786719
As you can see, I accidentally erased all the partitions. I meant to just clear boot_a.
I tried recovering through these steps:
Download (https://drive.google.com/drive/folders/1WQaaM35SWiF_UbXAM8hiRB95D2CDkIEq) the backup. Unzip it to find 7 luns (0-6).
1. Open QFIL
2. Select Flat Build
3. Click load xml and select the rawprogram(#) XML that is in the lun(0-6) folder.
4. If it asks you for a patch xml, click cancel. It's not needed to flash this backup.
5. Click download
6. Repeat steps for each lun folder
I kept getting this failure message in qfil:
View attachment 5786723
I'm not sure if these are even the steps to fix it. Any Idea on what I need to do to resolve this?
Click to expand...
Click to collapse
Yes the best thing, or easiest rather, would be to determine which partitions are needed to get lgup to work, then flash a kdz with it.
Don't remember exactly which partitions are needed, google search for that. But flash those, from that backup, one by one, think there's only like 6 partitions needed.
That's the thing about qfil, if yer not sure what yer doing, don't do it

AsItLies said:
Yes the best thing, or easiest rather, would be to determine which partitions are needed to get lgup to work, then flash a kdz with it.
Don't remember exactly which partitions are needed, google search for that. But flash those, from that backup, one by one, think there's only like 6 partitions needed.
That's the thing about qfil, if yer not sure what yer doing, don't do it
Click to expand...
Click to collapse
The problem with the backup is that I wasn't able to get them to work through QFIL. Is there another method of flashing those partitions?

nasedase said:
The problem with the backup is that I wasn't able to get them to work through QFIL. Is there another method of flashing those partitions?
Click to expand...
Click to collapse
one by one. I've done it, it's time consuming, but it can be done. And be sure to pay attention so you don't flash the wrong one to the wrong partition. If you get a message about 'data overflow', immediately cancel, that means you are trying to flash to a partition too small for the image, and you'll overwrite the partition next to it, and probably end up with a brick.

Related

Restore HELP please

okay, so i used Rom manager to back up my phone...now i flashed new rom and want to go back to my backup. But i cant do anything with Rom manager because i cant get it to flash the new recovery (servers are down or something). The restore files look like this inside the folder:
{
"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"
}
Is there any other app i can use to restore these to my phone?
Looks like the layout of a nandroid backup. Heres what I would try:
Extract that zip into a folder - name it whatever you want (ex Skittle)
Delete the recovery.img from that folder
Take that folder and put it into your nandroid folder on your phone's SDcard
**It'll look something like /sdcard/nandroid/SERIAL#HERE/skittle**
Reboot into recovery, select "Backup/Restore", "Nand Restore"
Select the Device-ID (serial#), then pick the Skittle folder to restore.
**Notice**
If you don't have a nandroid folder on your sdcard then just reboot into recovery and make a nandroid backup. It will create the nand/serial# folders for you. Then just throw the extracted zip into that directory.
kyouko said:
Looks like the layout of a nandroid backup. Heres what I would try:
Extract that zip into a folder - name it whatever you want (ex Skittle)
Delete the recovery.img from that folder
Take that folder and put it into your nandroid folder on your phone's SDcard
**It'll look something like /sdcard/nandroid/SERIAL#HERE/skittle**
Reboot into recovery, select "Backup/Restore", "Nand Restore"
Select the Device-ID (serial#), then pick the Skittle folder to restore.
**Notice**
If you don't have a nandroid folder on your sdcard then just reboot into recovery and make a nandroid backup. It will create the nand/serial# folders for you. Then just throw the extracted zip into that directory.
Click to expand...
Click to collapse
I did all of that and about 20 "."s into the restore i got an error: "Error : run 'nandroid-mobile.sh restore' via adb!"
Any ideas?
Thanks for helping, i messed my phone up and i go to work in 5 hours!
p.s. i just tried restoring the "dummy" backup i made, and it restored it successfully! Is my back up bad? Im so F*^#%@ if it is!
Hmm.. I know that error shows up for me when I tried doing a nand-restore with low'ish battery. Is it close to being fully charged?
Edit: ok, nvm. if the other one restored fine then you basically have two options for now:
1. Try doing the restore via command prompt/adb shell - which I can help you with
2. Waiting for rom manager (not sure what that is, never used it ) to start working
Do you have AndroidSDK and the tools (adb) installed on your computer?
kyouko said:
Hmm.. I know that error shows up for me when I tried doing a nand-restore with low'ish battery. Is it close to being fully charged?
Edit: ok, nvm. if the other one restored fine then you basically have two options for now:
1. Try doing the restore via command prompt/adb shell
2. Waiting for rom manager (not sure what that is, never used it ) to start working
Do you have AndroidSDK and the tools (adb) installed on your computer?
Click to expand...
Click to collapse
No i do not, never heard of it :/ Can you point me in the right direction please.
If you have a msn or anything, we can talk a little faster with messenger or something
You can download the Android SDK HERE
Extract the Android SDK zip to C:\
So it'll look like C:\android-sdk-windows\tools
and check your PMs - not the female kind

[Q] [DEV] Can someone DUMP P500 Baltic system.img

Hi, Can someone please dump/backup the system.img from baltic P500 or have a offical update for baltics. Thanks
Just do a backup and upload it. Thanks
No one here from Baltic States?
Hey, just show me how to do it, and I will give you.
hi, please use this guide: http://forum.xda-developers.com/showpost.php?p=8917870&postcount=12
or if you have Thunderg installed, then just do a backup and upload these files.
thanks
Hmm, could you be more specific? I just bought this Optimus One like two days ago, and I'm feeling very newb (it's my first Android).
What do I have to do, to give you that system.img and what is that system.img file?
Hi, the system.img a backup from Android /system partition is a main part of the android. But this guide we just dump that /system partition, it's the easiest way.
I'll try to help you do that:
1. Is your phone rooted?
If you haven't done that, then use Z4Root(super easy app ) and you can get it from here: http://www.upload.ee/files/997919/z4root.1.3.0.apk.html
Download that file and copy to sd card and install.
Open that installed app and root your phone
If you need help with that, then there is little how to here: http://www.worldofnubcraft.com/285/rooting-a-lg-optimus-one-android-phone
2. OK, rooting done, now we need terminal app: You'll find that from Market. Just search "Android Terminal Emulator" it's from Jack Palevich and install that.
3. Now open the Terminal Emulator and enter these commands without "" and hit enter after command, these 3 command should be it:
"su" it asks for a root privileges and you allow that
"cd /system"
"tar zcvf /sdcard/system-dump.tar.gz *" and wait when it finishes. it takes some time. It's done when you see #, it takes couple of minutes max.
4. That file is now on your phone SD card and upload that system-dump.tar.gz file to somewhere and let me know
Are you sure about that?
I'm sorry, but it's not working. It gives me an error "tar not found". Any ideas?
{
"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"
}
By the way, what you can do with that file? What it contains? I'm just a newb, and I want to know everything about Android.
EDIT:
Is it possible to do that dump with Thunderg?
Go to market and install app called "BusyBox" and download / install BusyBox with this tool. After that it will work.
yes, i forgot busybox install that and give a new try
Ok guys, I got it. Before putting it live, I would like to know one thing. Does it contains any personal data, if so, what exactly? Sorry, for being so paranoid.
hi, it won't contain any of your personal data. Personal data is stored mostly on /Data partition and we didn't dump that. Thanks
Ok, so here you have it.
Optimus_One_Baltic_ROM_dump.zip - 89.2 Mb
And it's only contains branded ROM with no changes? That's great. What program do I need to restore my ROM to the branded one, if I'm going later to change it?
i think you should look to Thunderg... it's best way to make a full backup and restore after

The item boot.emmc.win could not be read.

formatted and repaired everything in TWRP
I thought I was having problems with my USB c otg so I took it back. Now I'm getting this message just trying to copy and paste the twrp backup on my internal storage as well. When I move it with a file explorer app it fails. When I move it with the built in storage explorer it moves it but its a 0 byte file. Is it a TWRP issue or a CM13 issue or OnePlus issue?
{
"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"
}
Using the file manager in twrp I can copy and paste the file just fine. I'm on my second different USB c OTG and it's the same problem. boot.emmc.win from my TWRP backup just won't copy over and it even erases everything off my flash drive when failing to transfer. Anyone else have this issue?
I have that issue, too.
Cant find any solution
belek1979 said:
I have that issue, too.
Cant find any solution
Click to expand...
Click to collapse
Me either it's scary enough to stop me from even plugging in my otg storage completely. 1 cable OK maybe, 2 cables, now we have a serious problem and I'm not trying to lose anymore data.
It's a bug in TWRP that makes the file get created with the wrong permissions. (You don't see this if you look at the permissions in the normal place because of how mounting works on Android.) See https://github.com/TeamWin/Team-Win-Recovery-Project/issues/749 for details.
Any chance it gets fixed? That message was 5 months ago. It would be nice to be able to backup to USB otg without everything getting erased.
954wrecker said:
It would be nice to be able to backup to USB otg without everything getting erased.
Click to expand...
Click to collapse
This never leads to anything being erased, and you can easily work around it by fixing the permissions in TWRP.
When Im moving it with the built in file manager or fx explorer it erases everything off my otg flash storage. 50% of the time it erases everything the other 50% of the time it simply copies it as a 0 byte file.
954wrecker said:
When Im moving it with the built in file manager or fx explorer it erases everything off my otg flash storage.
Click to expand...
Click to collapse
That sounds like an unrelated issue.
I think it's the exact same issue I don't think it's a coincidence its always after it gets to that exact file everytime
I was just hoping I didn't have to manually change permissions in recovery, just to be safe in case I ever forgot.
In recovery > ADB I can copy that file to PC without any problems
Yeah I can do it anyplace but when booted into the phone system. It's getting fixed soon so I won't have to worry anymore.

honor 9 lite bricked

anyone knows how to unbrick HONOR 9 LITE ?
the only mode i can go in is FASTBOOT MODE only.
Can't go to ERECOVERY nor RECOVERY not even VOLUP+VOLDWN+POWER working.
any idea how to recover from this?
What was you doing before the device bricked?
Also which version do you LLD-L31 / LLD-L21 / LLD-A00 need to know that info if anyone is able to help you.
Sent from my LLD-L31 using Tapatalk
Mine is LLD-AL10
LLD-AL10C675CUSTC675D2
i accidentally deleted SENSORHUB and TEEOS partition through twrp after that nothing is working k can't go in ERECOVERY nor twrp recovery it just freezes showing your device is booting. Though I've twrp backup of everything but phone isn't booting up in twrp recovery so don't know how to restore the backup.
Firstly your going to need the stock firmware.
I linked them in this post:
https://forum.xda-developers.com/showthread.php?p=77140647
Secondly your going to need the extractor tool :
https://forum.xda-developers.com/showthread.php?p=45317807
You then need to load the update.app in the extractor tool from the full update too see if the partitions you've wiped are there.
If they are there then you will be able to return back to stock hopefully this fixing the issue
Sent from my SHIELD Tablet K1 using Tapatalk
I've STOCK ROM with me and have these files SENSORHUB AND TEEOS too but the problem is i can't flash these two files from FASTBOOT.
FASTBOOT FLASH SENSORHUB SENSORHUB.IMG gives error.
Ok your using a stock rom however you wiped two partitions with twrp, i take it your rooted?
Also whats with the capslock this is classes as shouting and rude. I am trying to help you solve your issue.
So the only other way i think it can be done is to follow the HuRUpdater tool way
Download the zip from here: https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279
Now find the files required for your device, now as i am not sure about the difference between LLD-AL10C675CUSTC675D2 and LLD-AL10C675CUSTC675D1 i will take the responsibility if your phone decides to spit flames or kills your cat that's on you.
Your going to need the update_LLD-L22A_hw_in.zip update.zip and update_data_public.zip files downloaded.
Now on a SDCard make a folder say called C675CUSTC675D2 and in that folder place the update_LLD-L22A_hw_in.zip update.zip and update_data_public.zip files along with the HuRUpdater_0.3.zip file. Now place that SDCard into the phone and reboot into TWRP if you can then simply flash HuRUpdater zip file and that should fix it.
I've flashed twrp through fastboot but it's freez
{
"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"
}
ing after restarting from bootloader.
Have you done a factory reset etc after flashing??????
If that doesn't work ERecovery should now be there try pressing Vol up and Power whilst phone is off till you see the menu then there should be an option to download and recovery this should help after else its a ride to the service centre.

What file format is pictures exported as a backup from the phone?

Hi,
My Huawei P20 Pro broke, but earlier I did an backup of Pictures on it using Huawei HiSuite if I remember correctly. Now I tried to open those pictures on my computer but got this:
{
"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"
}
Then I tried to open using ImageGlass but got this:
Then I checked if Linux file command can identify if it's an jpg file and it can't.
file IMG_20190428_115443.jpg
IMG_20190428_115443.jpg: data
This is because Magic bytes of the file starts with 6425 b4a7 which doesn't match JPG magic bytes https://en.wikipedia.org/wiki/List_of_file_signatures
It does not match file on that page.
So what kind of images are these?
Have you been asked to set a password before you did the backup?
adamdvd said:
Have you been asked to set a password before you did the backup?
Click to expand...
Click to collapse
Nope not from what I remember.
When was that backup done and what was the HiSuite version? It used to create the backup by just copying the files from the phone, but since some time (I believe few years now), every time when you start creating a backup, it is asking to set the password and then all the files are being encrypted.
adamdvd said:
When was that backup done and what was the HiSuite version? It used to create the backup by just copying the files from the phone, but since some time (I believe few years now), every time when you start creating a backup, it is asking to set the password and then all the files are being encrypted.
Click to expand...
Click to collapse
The backup was done 2022-07-26 and I used HiSuite version that was used at that point since I downloaded it when I backed it up. So I don't exactly which version it was.
If you've downloaded the newest version at that time, it was surely the version, which is always asking to set a password, when the backup is done. Your files are encrypted and you need to decrypt them (if it's even possible) or rather restore a backup on your phone (but you need to know that password anyway).
adamdvd said:
If you've downloaded the newest version at that time, it was surely the version, which is always asking to set a password, when the backup is done. Your files are encrypted and you need to decrypt them (if it's even possible) or rather restore a backup on your phone (but you need to know that password anyway).
Click to expand...
Click to collapse
I see. But yeah since the phone broke, I can't connect a phone to HiSuite on my computer and restore them. I would need to have the phone for it which sucks..
I tried downloading HiSuite on my computer but can't import the folders I have from the backup into it because it wants to connect to a phone first..

Categories

Resources