Phone now has no OS! - G2 Q&A, Help & Troubleshooting

Had LG G2 2 hours
Rooted, TWRP installed. Downloaded new ROM and copied to storage (whilst phone was running). Booted in to recovery wiped Rom (stupidly) then went to install new Rom which is not there. So I have no OS...
Unless it's in a weird directory I need to copy it across again however Mount under TWRP settings does not bring up windows explorer to allow me to copy it again (USB Drivers all installed I thought after root process). Had it got an SD card slot I could have burnt it to that in my PC and then put it in the phone.
Any ideas please

jamesbond_28_007 said:
Had LG G2 2 hours
Rooted, TWRP installed. Downloaded new ROM and copied to storage (whilst phone was running). Booted in to recovery wiped Rom (stupidly) then went to install new Rom which is not there. So I have no OS...
Unless it's in a weird directory I need to copy it across again however Mount under TWRP settings does not bring up windows explorer to allow me to copy it again (USB Drivers all installed I thought after root process). Had it got an SD card slot I could have burnt it to that in my PC and then put it in the phone.
Any ideas please
Click to expand...
Click to collapse
"adb sideload" -> please type into the searchbox. Would help you a little more but busy currently. however this will help you.

So you wiped your complete storage? lol.
Try to sideload your rom.
http://android-revolution-hd.blogspot.de/2013/12/ow-to-use-adb-sideload.html

ckyy said:
So you wiped your complete storage? lol.
Try to sideload your rom.
http://android-revolution-hd.blogspot.de/2013/12/ow-to-use-adb-sideload.html
Click to expand...
Click to collapse
Yes nightmare. And ADB doesnt look for the faint hearted either. is there no way of mounting in TWRP?

jamesbond_28_007 said:
Yes nightmare. And ADB doesnt look for the faint hearted either. is there no way of mounting in TWRP?
Click to expand...
Click to collapse
I wouldn't bother trying to get it to work. Sideloading is way faster.
http://forum.xda-developers.com/showthread.php?t=2588979
1. Download and install it. Put the rom inside ADB folder. Put twrp in sideload mode.
2. Open your adb folder and shift-right click. Select open command propt here.
3. This is what you type in your CMD -> adb sideload flash.zip (flash.zip is obviously replaced by your rom name).

ckyy said:
I wouldn't bother trying to get it to work. Sideloading is way faster.
http://forum.xda-developers.com/showthread.php?t=2588979
1. Download and install it. Put the rom inside ADB folder. Put twrp in sideload mode.
2. Open your adb folder and shift-right click. Select open command propt here.
3. This is what you type in your CMD -> adb sideload flash.zip (flash.zip is obviously replaced by your rom name).
Click to expand...
Click to collapse
Thanks. 'device not found'...

jamesbond_28_007 said:
Thanks. 'device not found'...
Click to expand...
Click to collapse
Have you installed all drivers?
Gesendet von meinem LG-D802 mit Tapatalk

jamesbond_28_007 said:
Thanks. 'device not found'...
Click to expand...
Click to collapse
Ok. Needed google universal ADB driver by Koush (as windows 8). So it reached 100% but phone back on LG flashscreen...

jamesbond_28_007 said:
Ok. Needed google universal ADB driver by Koush (as windows 8). So it reached 100% but phone back on LG flashscreen...
Click to expand...
Click to collapse
All good. Thanks for all the help and apologies for being such a muppet.

Related

Formatted sdcard (HELP)

HOW CAN I ACCES root directory SDCARD from PC so I can place there my Rom to Flash it?
I Have formated everything, including the SDCARD, And now I only can get into RECOVERY mode,
Is there any way I can Flash my rom from Recovery?
How can I get acces to the SDcard ROOT directory so tha I can place there my Rom in order to Flash It ?
Is ther an ODIN type of flashing Roms in Nexus 7 just like in the S3?
How can I flash Rom from a Formatted SDCARD?
If you are in Recovery, then you can still use ADB. That means you can push files to your device.
Sent from my Nexus 7
BillGoss said:
If you are in Recovery, then you can still use ADB. That means you can push files to your device.
Sent from my Nexus 7
Click to expand...
Click to collapse
Plese Tell me HOW to use ADB ? What do I have to do to push the Rom files into Root Directory of SDCARD?
I am using CWM recovery TOUCH 6.0.1.0
If you are connected to your PC you are seeing the sdcard root directory. Not sure what you are looking for
Sent from my SPH-L710 using Tapatalk 2
Moricon said:
If you are connected to your PC you are seeing the sdcard root directory. Not sure what you are looking for
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
I aM Connected to PC in RECOVERY mode,
The driver is installed OK
BUT I DONT SEE MY DEVICE IN PC
So I can not Push Rom fils to Root SDCARD directory becasuse I DONT SEE IT
When I PLUG in and Unplug I hear the USB installing BUT I DONT SEE THE DEVICE in my EXPLORER...So I dont Know Where I must Put Rom files to flash my Nexus 7...
My Device is ATTACHED into RECOVERY MODE
But I dont see it in my FileExplorerSo I dont Know HOW can I copy Rom to my SDCARD root directory...
Is there a COMMAND to copy rom from the CMD ?
OR is there a COMMAND for FLASHING ROM from within CMD
HELP NEEDED PLEASE:silly:
WHAT is the COMMAND to DUMP ROM into the SDCARD with Android. SDK and the CMD?
I am using the DEXDUMP.exe command but I dont know how it works...
NDUTU said:
I aM Connected to PC in RECOVERY mode,
The driver is installed OK
BUT I DONT SEE MY DEVICE IN PC
So I can not Push Rom fils to Root SDCARD directory becasuse I DONT SEE IT
When I PLUG in and Unplug I hear the USB installing BUT I DONT SEE THE DEVICE in my EXPLORER...So I dont Know Where I must Put Rom files to flash my Nexus 7...
Click to expand...
Click to collapse
Then you don't have the right drivers loaded if your pc can't see your device...
Sent from my Nexus 7
krelvinaz said:
Then you don't have the right drivers loaded if your pc can't see your device...
Sent from my Nexus 7
Click to expand...
Click to collapse
Yes I DO HAVE the right drivers loaded see the attached file,
The command is adb push. I'm not at my computer and it's too hard to type and example on my phone for you. Just Google adb push and you should get your answer. Hope this helps.
adb push <where rom is stored>/<name of zip>.zip /sdcard/<any name here>.zip
ie adb push E:/cm10-UNOFFICIAL-i777.zip /sdcard/cm10.zip
you might have to reboot the device back into recovery, even if you're already in recovery, for it to come up. Then just flash it like normal. You do have CWM or TWRP, right?
THANKS
OK guys thank you all , I managed to flash STOCK rom with the tool kit using the : put_google_factory_image_here , FOLDER

[Q] Rooting help needed!

I am trying to root my new Nexus 4 and I am stumped. I am trying to follow efrant's instructions: http://forum.xda-developers.com/showthread.php?t=2010312
I successfully completed part D and now am trying to work through part E. I am stuck at step 3 of E: I downloaded SuperSU v 0.98 (is that really the one to get?) and I'm supposed to put that in /sdcard. Where is /sdcard? There is no SD Card in a Nexus 4. Is this a hidden folder somewhere? Do I have to make it? How can I see that folder? I am using a Mac and the Android File Transfer program window shows no sdcard folder anywhere.
Also: Why does another unlock guide talk (http://forum.xda-developers.com/showthread.php?t=2018179) about pressing "Build Number" seven times? Why doesn't efrant's guide mention this?
I don't follow this part at all. How do I put that damn file where it needs to be?
Just download the N4 toolkit. Will do everything you want.
Toolkit
Doggonit said:
I am trying to root my new Nexus 4 and I am stumped. I am trying to follow efrant's instructions: http://forum.xda-developers.com/showthread.php?t=2010312
I successfully completed part D and now am trying to work through part E. I am stuck at step 3 of E: I downloaded SuperSU v 0.98 (is that really the one to get?) and I'm supposed to put that in /sdcard. Where is /sdcard? There is no SD Card in a Nexus 4. Is this a hidden folder somewhere? Do I have to make it? How can I see that folder? I am using a Mac and the Android File Transfer program window shows no sdcard folder anywhere.
Also: Why does another unlock guide talk (http://forum.xda-developers.com/showthread.php?t=2018179) about pressing "Build Number" seven times? Why doesn't efrant's guide mention this?
I don't follow this part at all. How do I put that damn file where it needs to be?
Click to expand...
Click to collapse
When you plug the phone into the computer /sdcard is the folder that comes up. Just place it in there.
Sent from my Nexus 4 using xda app-developers app
DO NOT USE TOOLKITS. Especially if you're new to modding.
That's like saying, I want to overclockmy computer. Just give me a toolkit where I can one click and overclock my computer.
Read more here http://forum.xda-developers.com/showthread.php?t=1469909
Do it the proper way and download ADB drivers
http://forum.xda-developers.com/showthread.php?t=1514942 (enable USB debugging)
set up ADB environment
adb reboot bootloader
fastboot oem unlock
unlock bootloader on phone
download clockwork recovery or TWRP (i suggest TWRP)
put the .img file of recovery into your /platform-tools/
fastboot flash recovery <name-of-file>.img
then boot into recovery and there you can flash your ROM, gapps, kernel.
In the long run, IT WILL PAY OFF because eventually YOU will be faced with a problem with your phone and you won't be able to recover your phone because you dont know basic fastboot or adb commands all simply because you wanted to use a toolkit. People are already asking on how to use adb / fastboot in Q&A, we can reduce the clutter by not having people use toolkits and actually learning how adb / fastboot works when it isn't a very complicated thing to do at all
As stated in my original post, I am using a Mac. Not a PC. Therefore I don't use ADB, nor any other drivers. I also do not see, as stated before, any sdcard folder. I don't, I repeat, don't see it.
Doggonit said:
As stated in my original post, I am using a Mac. Not a PC. Therefore I don't use ADB, nor any other drivers. I also do not see, as stated before, any sdcard folder. I don't, I repeat, don't see it.
Click to expand...
Click to collapse
you dont need drivers on mac then... you can still ADB connect using mac.
simple: google search..... http://lmgtfy.com/?q=mac+adb first link
Doggonit said:
Where is /sdcard? There is no SD Card in a Nexus 4. Is this a hidden folder somewhere?
Click to expand...
Click to collapse
On the Nexus 4, /sdcard is the same as /storage/emulated/0. As mentioned earlier in the thread, this is the default location for native USB file transfer.
Sent from my Nexus 4

[Q] Help - pushing a file to N4 via ADB on Ubuntu 13.04

Hello.
After quite a bit of searching, both on google, and xda, I was unable to find help for my question. I did the thing that everyone does at some point, and got myself into a bootloop. I cleared my storage of old rom files, downloaded a fresh one, and did a full wipe install. I thought i had a rom backup, but apparently i deleted it too, at some point.
So basically, heres where I stand.
I am on Ubuntu 13.04
My nexus is in recovery (TWRP)
I open up a terminal and navigate to the platform-tools folder.
I do an "adb devices" command and it comes up with one device (a long number ending in 'recovery') im assuming thats my N4
when I do "adb push PA MAKO-3.99-20130823.zip /sdcard/ (thats the rom I downloaded to my computer) however, it doesnt seem to succeed. I get pages and pages of gobbldygook instantly. And no file seems to transfer. (I can go into my file system in recovery and see that no new file exists)
What am I missing? I can post screenshots of the terminal if it would help.
Thanks!
The filename has a space in it. Try renaming it to something without a space like 'PA.zip' and try running the command again.
Sent using xda-developers app
Chromium_ said:
The filename has a space in it. Try renaming it to something without a space like 'PA.zip' and try running the command again.
Sent using xda-developers app
Click to expand...
Click to collapse
That worked! thanks.
I also had to move the file to the "platform-tools" folder using the gksudo nautilus file browser. Thats why it wasnt able to find the file or something... duh me

[Q] Desperate need some help, failure updating 4.4

my nexus 4 was rooted with 4.3 but then i decide to upgrade to 4.4
this is the video i am trying to follow, basically just wipe & install which i did most the time.
youtube title "NEXUS 4: HOW TO MANUALLY UPDATE TO ANDROID 4.4 KITKAT"
it has two files one is mako and one is gapp.
after i did all the wiping in cwm and try to install the mako file, it shows "no file context" or sth similar, and installation is abort (i think there is problem when i transfer the file), but then i continue to install the gapp file (what the hell was i thinking?)
so now i am stuck in the google start up loop, i can only access cwm recovery mode and don't have a valid rom to install in my sdcard.
i tried to adb push another rom to the sdcard with no success (my storage was already very low, any way to remove files in the storage at this point?)
the "mount & storage" also doesn't seem to let me mount the sdcard (but system shows up "unmount").
so now i don't know what to do.
if anything has any idea or suggestion please let us know.
i am quite desperate now with a dead phone and will try anything.
thanks for reading such a long thread.
Dude that vid is old and it installs pa or some other port just flash factory images from google
Sent from my F1 using xda app-developers app
try to sideload a zip with ADB in recovery. no need to copy to your internal storage.
also try to connect with adb shell, then you can delete some files manual with rm.
Frickelpit said:
try to sideload a zip with ADB in recovery. no need to copy to your internal storage.
also try to connect with adb shell, then you can delete some files manual with rm.
Click to expand...
Click to collapse
any step by step guide to do this?
i am still new to this thing even i install a few roms before.
i will google it now, but any additional info is much appreciate.
thanks
Frickelpit said:
try to sideload a zip with ADB in recovery. no need to copy to your internal storage.
also try to connect with adb shell, then you can delete some files manual with rm.
Click to expand...
Click to collapse
frustrated..
i can't seem to get my windows to recogize the device (when i type adb devices, it shows an empty list)
already try trouble shooting this for a long time with no result.
any idea?
telly0050 said:
frustrated..
i can't seem to get my windows to recogize the device (when i type adb devices, it shows an empty list)
already try trouble shooting this for a long time with no result.
any idea?
Click to expand...
Click to collapse
after tons of troubleshooting finally got it back to work.
it ends up the reason is i didn't update to the latest cwm at the very beginning.
and sideloading 4.4 didn't work because of that too, i have to install an old 4.2 to have it working.

Can't flash KRT16S (from KRT16O)

Hi everybody
When the factory images came out, I flash my N4 with the stock factory images that we used to find here : https://developers.google.com/android/nexus/images#occamkrt16s because it is now the KRT16S build
After a few days, when the KRT16S build came out, I was proposed in my phone to update it. I downloaded it, tried to flash it but nothing worked, I'm still on KRT16O and the OTA doesn't appear anymore... Then I remembered that I flashed a mod found here : http://forum.xda-developers.com/showthread.php?t=2527525 (that's a great mod btw) so I guessed that I could reflash the undo file available on the thread, flash the ota file dl mannually (I attached it in this thread) which I did through TWRP. Then I was able to see the problem, it told me that, from what I remember, Agenda.apk was missing (I think it's diary in english, not sure) then I remembered that I manually deleted some apps I never use (diary is one of them...)
So, what's next, shall I reflash the gapps to finally update my phone
Thanks for your help :laugh:
Are you using latest TWR? I did it ok
Sent from my Nokia 3210
howard bamber said:
Are you using latest TWR? I did it ok
Sent from my Nokia 3210
Click to expand...
Click to collapse
I run the 2.6.3.3 version I guess it's the latest because I flashed it a few days ago
I installed the few missing apps that i uninstalled and Calendar didn't create any error. This time it EmailGoogle.apk... I transformed it as a system application and I went to /system/app to change its name from com.google.android.apps.email or something to EmailGoogle.apk, didn't work... But I'm sure I'm on the way to achieve it :victory:
Here's the whole mesage :
Code:
Updating partition details...
Installing '/sdcard/Download/70f3bd408ca3d142509cd4bace2f2c7e3aa486c6.signed-occam-KRT16S-from-KRT16O.70f3bd40.zip'
Checking for MD5 file...
Skipping MD5 check : no MD5 dile found.
Verifying current system...
"/system/app/EmailGoogle.apk" has unexpected contents.
E:Error executing updater binary in zip '/sdcard/Download/70f3bd408ca3d142509cd4bace2f2c7e3aa486c6.signed-occam-KRT16S-from-KRT16O.70f3bd40.zip
Error flashing zip '/sdcard/Download/70f3bd408ca3d142509cd4bace2f2c7e3aa486c6.signed-occam-KRT16S-from-KRT16O.70f3bd40.zip'
Updating partition détails...
[CENTER][COLOR="Red"][SIZE="4"]Failed[/SIZE][/COLOR][/CENTER]
azertguigui said:
I run the 2.6.3.3 version I guess it's the latest because I flashed it a few days ago
I installed the few missing apps that i uninstalled and Calendar didn't create any error. This time it EmailGoogle.apk... I transformed it as a system application and I went to /system/app to change its name from com.google.android.apps.email or something to EmailGoogle.apk, didn't work... But I'm sure I'm on the way to achieve it :victory:
Here's the whole mesage :
Code:
Updating partition details...
Installing '/sdcard/Download/70f3bd408ca3d142509cd4bace2f2c7e3aa486c6.signed-occam-KRT16S-from-KRT16O.70f3bd40.zip'
Checking for MD5 file...
Skipping MD5 check : no MD5 dile found.
Verifying current system...
"/system/app/EmailGoogle.apk" has unexpected contents.
E:Error executing updater binary in zip '/sdcard/Download/70f3bd408ca3d142509cd4bace2f2c7e3aa486c6.signed-occam-KRT16S-from-KRT16O.70f3bd40.zip
Error flashing zip '/sdcard/Download/70f3bd408ca3d142509cd4bace2f2c7e3aa486c6.signed-occam-KRT16S-from-KRT16O.70f3bd40.zip'
Updating partition détails...
[CENTER][COLOR="Red"][SIZE="4"]Failed[/SIZE][/COLOR][/CENTER]
Click to expand...
Click to collapse
You can not install an apk in recovery. Use ES File Explorer to install the apk. In addition, to avoid the error, while you are in recovery, select "Mount" and uncheck the box "System" when flashing a zip file.
taodan said:
You can not install an apk in recovery. Use ES File Explorer to install the apk. In addition, to avoid the error, while you are in recovery, select "Mount" and uncheck the box "System" when flashing a zip file.
Click to expand...
Click to collapse
I did not installed it with TWRP, I did it by simply openning the apk while my phone is on, it installed the Email app...
But thanks anyway for the mount function, I'll give a try
azertguigui said:
I did not installed it with TWRP, I did it by simply openning the apk while my phone is on, it installed the Email app...
But thanks anyway for the mount function, I'll give a try
Click to expand...
Click to collapse
Simpler way to update without OTA package:
Download the factory image, and before running the flash-all script, open it with a text editor and change "fastboot -w update" to "fastboot update"
MameTozhio said:
Simpler way to update without OTA package:
Download the factory image, and before running the flash-all script, open it with a text editor and change "fastboot -w update" to "fastboot update"
Click to expand...
Click to collapse
You mean with the sdk? I don't know how to use it, when I flash something, it's with the recovery or the nexus root toolkit..
-From my Nexus 4-
UP
azertguigui said:
UP
Click to expand...
Click to collapse
**
azertguigui said:
UP
Click to expand...
Click to collapse
azertguigui said:
**
Click to expand...
Click to collapse
Not sure what you're trying to say here..
azertguigui said:
You mean with the sdk? I don't know how to use it, when I flash something, it's with the recovery or the nexus root toolkit..
-From my Nexus 4-
Click to expand...
Click to collapse
Try avoiding toolkits as they can lead to problems and leave you stuck with no idea what to do. Yes he is referring to the sdk. Only the platform-tools folder in the sdk is required so if you don't wanna bother downloading the complete file, just download the platform-tools from here and extract it to an appropriate location. Extract and move the Factory Image that you downloaded to your platform-tools directory. If you don't want your data to be erased, edit the flash-all script with a text editor and remove -w and save. Plug in your phone. Make sure you have the drivers installed. In the platform tools directory, press shift+right click> open command prompt here. Type adb devices. You will see "device <Serial Number>. If you don't, your drivers are faulty. Then type adb reboot bootloader. Once your phone has rebooted into bootloader, make sure that it is being detected by typing fastboot devices. You should see an output similar to adb devices. Now simply run the flash-all script and let it do its work. Reboot after flashing is completed.
Hope this helps!
try search any youtube on how to flash factory images to your device. I guess u'll find lots.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Words of advice, learn how to use ADB instead of relying solely on toolkits. It's very simple actually.
Now there's a simple way to update which is sideload. Oh and btw to sideload, you still need ADB though (this is why learning ADB is VERY important to us, the N4 users). Here is a video tutorial on how to perform adb sideload. All the links are attached in his youtube video.
Ibrahim.Rahman said:
Not sure what you're trying to say here..
Click to expand...
Click to collapse
:laugh: I quoted my own UP post but it told me that my post should have at least 2 letters, so I taped the spacebar twice and it wrote this
Ibrahim.Rahman said:
Try avoiding toolkits as they can lead to problems and leave you stuck with no idea what to do. Yes he is referring to the sdk. Only the platform-tools folder in the sdk is required so if you don't wanna bother downloading the complete file, just download the platform-tools from here and extract it to an appropriate location. Extract and move the Factory Image that you downloaded to your platform-tools directory. If you don't want your data to be erased, edit the flash-all script with a text editor and remove -w and save. Plug in your phone. Make sure you have the drivers installed. In the platform tools directory, press shift+right click> open command prompt here. Type adb devices. You will see "device <Serial Number>. If you don't, your drivers are faulty. Then type adb reboot bootloader. Once your phone has rebooted into bootloader, make sure that it is being detected by typing fastboot devices. You should see an output similar to adb devices. Now simply run the flash-all script and let it do its work. Reboot after flashing is completed.
Hope this helps!
Click to expand...
Click to collapse
Thanks, I'll give a try
saifulh2304 said:
try search any youtube on how to flash factory images to your device. I guess u'll find lots.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
arffrhn said:
Words of advice, learn how to use ADB instead of relying solely on toolkits. It's very simple actually.
Now there's a simple way to update which is sideload. Oh and btw to sideload, you still need ADB though (this is why learning ADB is VERY important to us, the N4 users). Here is a video tutorial on how to perform adb sideload. All the links are attached in his youtube video.
Click to expand...
Click to collapse
thanks guys, I'm gonna find tutorials on the web like the one you pointed to me
azertguigui said:
:laugh: I quoted my own UP post but it told me that my post should have at least 2 letters, so I taped the spacebar twice and it wrote this
Click to expand...
Click to collapse
Haha right!
Sent from my Nexus 4 using xda app-developers app

Categories

Resources