[Q] Can't use LGFlashTools to get back to stock, any ideas? - G2 Q&A, Help & Troubleshooting

So I unlocked my AT&T D800 G2, and now it says that the model is D802. When I try to use LGFlashTools to go back to stock using the DLL and the TOT file, it says that the models don't match because the files are for D800 and D802. The D802 files don't work and give me a LAF memory size error. What are my options?
The reason I want to go back to stock is because I flashed TWRP 2.8.2.1 and then flashed the RessurectionRemix ROM, but then I encrypted the drive and then decided that maybe the ROM was a little too unstable for me. But in TWRP it says that it can't mount /data and I can't wipe or format /data, or mount it, so I can't clear everything and start from scratch. TWRP says that my internal storage is 0MB and that there are no files on the sdcard, probably because it's not mounted.

Welp... I think I might have ****ed up... I tried creating a data partition using mk2fs /dev/block/platform/msm_sdcc.1/by-name/userdata and TWRP was able to mount the /data partition, but after I flash a ROM and reboot, it goes into fastboot instead... Am I screwed? I still have access to TWRP and ADB, which is the only reason why I might not be totally screwed.

Ok, so the reason that it wasn't working was because I flashed the D802 version of ResurrectionRemix like an idiot (I had downloaded two versions in my folder and was using the wrong one). I flashed the D800 version and it worked. Ugh.

Just so that this thread isn't completely useless, I'll put some information here.
If you encrypt your internal storage because of some Exchange email policies or something, TWRP won't be able to mount your /data partition.
You can fix this by doing:
adb shell
mke2fs /dev/block/platform/msm_sdcc.1/by-name/userdata
This will create a data partition for you. Then you'll need to go into TWRP and change the file system to ext4.
Now you should be able to mount the partition, flash a ROM, and do all that good stuff.

Related

Need help please s4 softbrick after build.prop edit

Hey guys I really need some help
Yesterday I ran across a site on android pit on how to make the quick menu look like the s5 which involved modifying the build.prop
and decided to try the first post which involved editing the build.prop. I made a backup of the original and have that on my external sd card. I didn't like the mod so I copied the original one over the one I edited and now my phone won't boot. I've tried using odin but it fails everytime. I saw how to fix it with adb but the problem is when I boot into recovery mode I get 4 lines of red text
E:failed to mount /system (Invalid argument)
# MANUAL MODE #
E:failed to mount /system (Invalid argument)
can't mount '/system (Invalid argument)
E:failed to mount /system (Invalid argument
Luckily I backed up my phone night before last so all I'll lose is a days worth of texts. I really could use some help been really stressed out about. Is there a way I can get the internal storage to show up on my computer so I can just overwrite the corrupted one? please help!
Thanks in advance!
P.S. I can get into download and recovery mode with no issues
What ROM are you using? Is it on your sdcard/extsdcard? If you can get into recovery you should be able to dirty flash your ROM on top of it. It will replace the file. If it still doesnt work and Since you have a backup of your phone you should be able to wipe data/factory reset. Then once it boots up go back to recovery and flash your nandroid backup.
I was on stock 4.4.2?(whatever the most recent version is) NI1 that I had just flashed the NC1 the other day to enable towelroot and then flashed the NI1 kernel back and it was fine. It's not a nandroid backup, I had just copied the entire phone to a folder on my computer. Only issue is if it's not seeing the /system folder how would I copy over? and what do I need to flash a stock rom over my phone? I tried doing a factory wipe/reset but it didn't work
thanks again for your help
adalex said:
I was on stock 4.4.2?(whatever the most recent version is) NI1 that I had just flashed the NC1 the other day to enable towelroot and then flashed the NI1 kernel back and it was fine. It's not a nandroid backup, I had just copied the entire phone to a folder on my computer. Only issue is if it's not seeing the /system folder how would I copy over? and what do I need to flash a stock rom over my phone? I tried doing a factory wipe/reset but it didn't work
thanks again for your help
Click to expand...
Click to collapse
In the future always make a nandroid backup before you mess with build prop and other system files. At this point you'll have to use Odin
Sent from my Nexus 9 using XDA Free mobile app
thanks for all your replies, I ended up going to the local att repair center and the guy used some Samsung software and was able to basically remove all files and reinstalled everything just fine. I just need to reinstall everything

S8 TWRP Error

Hi all,
Yesterday I managed to root my phone all fine with TWRP and SuperSU. Then after incorrectly uninstalling the security log agent and getting a million errors I foolishly deleted the stock OS.
I have download the correct version for my phone and location but now TWRP fails to launch.
I get the follows errors when booting to the recovery.
Failed to mount /data (invalid argument)
Unable to recreate /data/media folder
Unable to mount storage
Unable to mount /data/media/TWRP/.twrps
I have googled a millions things and am still stuck.
Interestingly tho, If i install the Indian version of the OS, it loads and roots no problems (I'm from New Zealand).
Any help greatly appreciated.
VacantLot said:
Hi all,
Yesterday I managed to root my phone all fine with TWRP and SuperSU. Then after incorrectly uninstalling the security log agent and getting a million errors I foolishly deleted the stock OS.
I have download the correct version for my phone and location but now TWRP fails to launch.
I get the follows errors when booting to the recovery.
Failed to mount /data (invalid argument)
Unable to recreate /data/media folder
Unable to mount storage
Unable to mount /data/media/TWRP/.twrps
I have googled a millions things and am still stuck.
Interestingly tho, If i install the Indian version of the OS, it loads and roots no problems (I'm from New Zealand).
Any help greatly appreciated.
Click to expand...
Click to collapse
Hi
Your internal memory now corrupt you have to format it.
Use twrp wipe option select internal memory then format to fat32 after that again do same thing. This time choose its original format type.
drparvez said:
Hi
Your internal memory now corrupt you have to format it.
Use twrp wipe option select internal memory then format to fat32 after that again do same thing. This time choose its original format type.
Click to expand...
Click to collapse
Hi, thanks for the fast reply.
Iv'e tried this option, I installed the Indian OS which works with TWRP, formatted the Data drive to FAT (Fat32 isn't an option) and then back to EXT4. I then used Odin to Install the carrier firmware I want to run and the same errors occurred. Could it be a problem with the actual OS?
Edit** When I install the Carrier firmware I can't get TWRP to open, these errors occur as soon as it opens, and then it crashes and reboots
VacantLot said:
Hi, thanks for the fast reply.
Iv'e tried this option, I installed the Indian OS which works with TWRP, formatted the Data drive to FAT (Fat32 isn't an option) and then back to EXT4. I then used Odin to Install the carrier firmware I want to run and the same errors occurred. Could it be a problem with the actual OS?
Edit** When I install the Carrier firmware I can't get TWRP to open, these errors occur as soon as it opens, and then it crashes and reboots
Click to expand...
Click to collapse
Try reflashing twrp
Acoustichayes said:
Try reflashing twrp
Click to expand...
Click to collapse
Hi hi, tried that several times. Would still like to find out what is causing the issue but have now installed Nemisis and all is working perfrctly which makes me think it's the OS as opposed to my file system, considering I have installed multiple other versions and ran TWRP no problems.
Got same problem here. Installed TWRP to flash a custom rom, TWRP can't mount /data.
Google doesn't give me any solutions
This fixed it for me:
- download stock firmware from sammobile & flash with Odin
- go into stock recovery
- wipe data and cache partitions
- flash twrp using odin
After that, TWRP was able to mount /data and function normally again

ATT G2 D800 Unable To Mount /data, /system, or any other partitions

I was trying to fix an annoying error in which my phone would power down and go into a boot loop out of nowhere by installing a custom rom. I've installed new roms on plenty of phones, so it usually isn't any problem.
However, upon using the app AutoRec that was recommended by many to install a custom recovery (and yes I did make sure I used the Lollipop version for my Lollipop phone), my phone was wiped and now has no OS. I can get into TWRP, so I can use ADB and push files, but there's no file system to install to if I decide to flash. Programs like LGUP and LG Flash Tools can't communicate with the unmounted storage.
Repairing, wiping, and reformatting the file system from within TWRP only produces the "Unable to mount '/data'" error. I can't mount the partitions manually. Commands to format the system don't work either. I've been stuck on this for days. Please help.

Can't get zips to install with twrp or adb ze520kl

I had previously been able to flash roms on my ze520kl, had it rooted with magisk running xenon android 8.1
I had some issues with the phone not taking my pin so I attempted to restore and reflash, but nothing had worked so now I've done a full data wipe and its refusing to take any rom zip files including stock.
I've tried reflashing stock boot.img and recovery.img and going back to twrp and reflashing but I keep getting error:7 and its saying that it can't mount /system and /cache
mount: failed to mount /dev/block/bootdevice/by-name/system at /system: invalid argument
What can I do to fix this? Let me know if you need more info
possibly solved, seems to be flashing from internal storage just fine. I was going from external SD before

Encryption on DotOS Pie bootloops, TWRP won't decrypt even with correct password

So, after a few months on Oreo I clean flashed DotOS Pie last night, got the whole thing set up and tried to encrypt phone. It now bootloops, but I can get to TWRP, which shows me a pattern to decrypt data, even though my phone had PIN lock. I did the trick to "translate" between PIN and pattern grid. TWRP shows me "data successfully decrypted, new block device: '/dev/block/dm-0'", but I can't mount /data (consequently can't mount /sdcard), though I can mount /system. TWRP's console shows "Failed to mount /data (Invalid argument)".
I know I can just format /data on the wipe menu to get rid of encryption, but since I don't have a backup of /sdcard, I would like to know if there is any way to get /data mounted again so I can backup my internal storage before formatting /data.
If it makes any difference, my TWRP version is 3.2.1-0, latest one available at twrp.me. I heard that 3.2.1-1 handles encryption better (even better than more recent versions on some devices), but it's not available on the official site.
--Other details that might be relevant, but I'm not sure:
1. I do have TiBu's backup on my computer, so if I must restore my apps I'm fine with it (though I don't have a backup of the whole internal storage);
2. I also have a Nandroid backup of /system, /data and /boot, but it's on the phone storage only;
3. Last, but not least, I have flashed latest Magisk just before encrypting the device.
I saw some stuff related to a no-verity encryption zip file to be flashed via TWRP in some discussions regarding other devices, would it be of any help in my case?
@anupritaisno1 sorry to bother you, but you're the one person to ask for help with TWRP on OP2. Could you lend me a hand here? Would your enhanced TWRP help in my case? I know one shouldn't restore backups made with one version of TWRP within another version, and also that the tempcache stuff needs to be set up to flash ROMs. My plan here, if this could help, was to see if your enhanced TWRP can successfully decrypt my /data and internal storage, then I would back up my internal storage to my computer and either set up tempcache or reflash official 3.2.1-0 to format data and flash the ROM again.
Thanks in advance.

Categories

Resources