[Q] Unable to flash anything. - G2 Q&A, Help & Troubleshooting

Hello.
I was going to go back from DU to CM on my d802 and wiped everything as usual. By a mistake I also formated SDcard (yes, incredibly stupid mistake). So now I have no OS on my phone and nothing to flash. After a couple of hours I managed to push CM with ADB, though it was really hard, as it just doesn't want to push big files sometimes. As it said that there is no such directory or file, when I tried to push it to /sdcard and some other directories, I pushed it to /system.
I used:
adb root
adb remount
adb push cm.zip /system
In recovery after mounting /system, I was able to flash my CM zipfile. So I did, but right after MD5 check the phone rebooted and got stuck in lg reboot screen. When I rebooted back into recovery, I was unable to mount /system for some reason, so now I can't acces zipfile to flash it and it seems that I can't push it to any directory exept /system.
I ran out of ideas and will appreciate any help and advice.

Related

Help! Stuck in some bootloop blackhole.

My nexus s is going through some random bootloop. It won't boot to startup, but it'll only boot to the bootloader/recovery. So, i can't really put anything in my internal memory and flash it. can anyone help me please?
ilsynnhoj said:
My nexus s is going through some random bootloop. It won't boot to startup, but it'll only boot to the bootloader/recovery. So, i can't really put anything in my internal memory and flash it. can anyone help me please?
Click to expand...
Click to collapse
any idea how you got in this state? That might help find the least painful way out of it.
Anyways, if you can get into the bootloader, then you should be able to flash or boot to Clockwork Recovery with the fastboot commands.
Once in Clockwork, you should be okay. ADB is active in Clockwork, so you can push things to the phone that way.
To put something on the sdcard, from within clockwork, go to the mounts menu, then mount the sdcard.
After that adb push whatever it is you want to flash to the sdcard.
I'm guessing you don't have your own nandroid tucked away, but there's a stock GRH78 one in the Development section.
If you did some odd tweak or something, you could possibly just adb commands to undo it. Dalvik and cache wipes wouldn't be a bad idea either.
when i try wiping Dalvik Cache i get this "E: Can't mount /dev/block/mmcblk0p2 (invalid argument) and also when i try to mount USB storage it doesnt really mount it just takes me back to the recovery page D:. <- thus if i can't mount usb storage i can't really push things in my phone. i think i might've bricked my phone. ;/
If you have an unlocked bootloader you can use this.
http://forum.xda-developers.com/showthread.php?t=947950
This should return you to stock as if nothing ever happened.
Thanks so much. It works now! Woot happy man.
What did you end up doing?
Sent from my Nexus S using XDA App
You can mount usb from recovery and just copy and paste whatever you want to your phone.

[Q] Tab won't boot. Clean ROM install doesn't help.

My tab froze and when I rebooted it, I get a black screen right after the AOKP logo. It just sits there forever. I can boot recovery.
My story is below, but I think my question is: How can I format the partitions, because I think /data is corrupt?
Story:
I can boot recovery, and I wiped everything, then tried adb pushing a rom to the /sdcard. That's when things got weird...
adb push failed, so I rebooted and noticed that /data wasn't mounted. (/sdcard is just a symlink to /data/media)
I mounted /data from recovery and tried to push the ROM file again. This time I got some I/O errors on the push. I also noticed that in an adb shell, the /data partition would sometimes unmount by itself, and threw disk errors when copying files around. All other partitions seem to work fine.
So I deleted everything in /data/media, formatted /data, and tried again. This time I could adb push the ROM. I installed the ROM, but I still get the same freeze after AOKP logo.
cryptyk said:
My tab froze and when I rebooted it, I get a black screen right after the AOKP logo. It just sits there forever. I can boot recovery.
My story is below, but I think my question is: How can I format the partitions, because I think /data is corrupt?
Story:
I can boot recovery, and I wiped everything, then tried adb pushing a rom to the /sdcard. That's when things got weird...
adb push failed, so I rebooted and noticed that /data wasn't mounted. (/sdcard is just a symlink to /data/media)
I mounted /data from recovery and tried to push the ROM file again. This time I got some I/O errors on the push. I also noticed that in an adb shell, the /data partition would sometimes unmount by itself, and threw disk errors when copying files around. All other partitions seem to work fine.
So I deleted everything in /data/media, formatted /data, and tried again. This time I could adb push the ROM. I installed the ROM, but I still get the same freeze after AOKP logo.
Click to expand...
Click to collapse
I would say you need to ODIN your TAB:
Use this:
http://forum.xda-developers.com/showthread.php?t=1651794

[Q] Can't use LGFlashTools to get back to stock, any ideas?

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.

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.

Cant get out of recovery mode/fastboot

So apologies is this is done to death, but I've screwed something up.
My phone is rooted/unlocked and I had twrp installed.
I tried to install a lineageos rom but it didnt work, and it would get stuck booting.
I can still get into fastboot and twrp, but I don't know what to do from there. I have tried install the stock recovery and then installing the stock emui rom but it doesn't seem to be working, and I can't seem to find a thorough walkthrough of what I need to do.
I have the Japanese version of the phone (WAS-LX2J) if that helps.
So I can force into TWRP using adb reboot recovery
When I get into TWRP the UI is all red - it used to be blue? I might have just installed a different version but seems strange to have gone red now.
Whenever I try to wipe data, or format data, I get a bunch of errors:
unable to recreate /data/media folder
unable to mount storage
unable to mount /data/media/twrp/.twrps
unable to open '/dev/block/dm-0' to wipe crypto key
etc
I am also unable to repair, resize or change the file system apparently.
Okay I reinstalled twrp (from here) and that problem seems to be solved. (in red)
I would basically just like to restore my phone to factory but I don't know how, any help would be hugely appreciated.
I can provide any more info if required, I just dont have a way to screenshot my phone atm

Categories

Resources