Related
Guys i have a problem...
I wantes to delete all data on my N4 and start again with a fresh device, My phone is rooted and i had an custom rom installed, i deleted all data pictures and everything else, after that i also formated the sd card, cache etc etc and thats where it went wrong Now i can go into cwm but nothing more... when i reboot i see the black screen with google on it and after that nothing happens...
How can i solve this problem? I hope that i didnt bricked my phone
should still be able to mount usb storage in cmw, that or push files using adb, if you can get into recovery then you can always get your device back
I just helped a user with the same problem yesterday.
Here's the link with steps how to push a rom to your phone with adb: http://forum.xda-developers.com/showthread.php?t=2137976
can you get into fastboot? if you can then all you have to do is follow this thread:
http://forum.xda-developers.com/showthread.php?t=2010312
coffmad said:
should still be able to mount usb storage in cmw, that or push files using adb, if you can get into recovery then you can always get your device back
Click to expand...
Click to collapse
No, you can't mount USB in recovery. The Nexus 4 does not use UMS.
Ok thanks for the fast reply, im gonna try to push a rom with adb.
''I know you don't have a rom on your phone. This is how you can push one to your phone.
You must be booted in recovery
Put the rom in the same directory on your PC where you have adb.exe
Open up the command prompt from that directory. (hold shift and right click--then choose open command window here)
Then type the command-- adb push nameofrom.zip /sdcard/
The file with push to your phone and then your can select it and flash it from recovery''.
I see this in another thread, Where can i find adb.exe? Im terrible with computers...
Adb is part of of the platform tools for android. Since you unlocked and flashed a custom rom you should have it on your computer.
If you need it, it is located as an attachment at the bottom of this post: http://forum.xda-developers.com/showpost.php?p=34552123&postcount=1
I got the attachment, its called platform tools v16, i dragged and dropped an rom in that platform tools file and after that i dont know what to do...
''Open up the command prompt from that directory. (hold shift and right click--then choose open command window here)
Then type the command-- adb push nameofrom.zip /sdcard/''
This is what i dont understand.
Mr Djoegoe said:
I got the attachment, its called platform tools v16, i dragged and dropped an rom in that platform tools file and after that i dont know what to do...
''Open up the command prompt from that directory. (hold shift and right click--then choose open command window here)
Then type the command-- adb push nameofrom.zip /sdcard/''
This is what i dont understand.
Click to expand...
Click to collapse
Extract the files in that .zip into a folder and name it something like "Android."
Move the Rom.zip into that folder as well.
Then do the shift and right click and open the command window pointed to that directory. (as I explained above)
Make sure its connected properly and there isn't a driver issue by typing the command: adb devices. If it returns your serial number you are good to go. (If not, you need to install the correct drivers, which are linked in Section A of the post I linked earlier.)
Then type the command. adb push nameofRom.zip /sdcard/
When i type adb devices i can see my serial number and recovery after it.. when i type ''adb push nameofRom.zip /sdcard/ '' i get a message cannot stat 'nameofRom.zip' No such file or directory
What am i doing wrong?
Edit: hahahaha i see what i do wrong nameofRom.zip
Are you actually typing "nameofrom.zip" ?
Sent from my Nexus 4 using xda app-developers app
Mr Djoegoe said:
When i type adb devices i can see my serial number and recovery after it.. when i type ''adb push nameofRom.zip /sdcard/ '' i get a message cannot stat 'nameofRom.zip' No such file or directory
What am i doing wrong?
Click to expand...
Click to collapse
You replace "nameofRom" with the name of your ROM your trying to push
moses992 said:
Are you actually typing "nameofrom.zip" ?
Click to expand...
Click to collapse
hahaha Yes!
@El Daddy: Thanks for your help Im gonna donate a bottle of wine :good:
Mr Djoegoe said:
hahaha Yes!
@El Daddy: Thanks for your help Im gonna donate a bottle of wine :good:
Click to expand...
Click to collapse
Thanks for that. Unneeded, but very appreciated!
Sent from my Nexus 7 using Tapatalk HD
You certainly haven't bricked it. The fact you can get to recovery means, you can get to fastboot. Simply open fastboot and reflash stock and be more careful next time
Hi everybody
Today I've just messed up my phone by deleting all TWRP backups as well as ROM zip files on my N4 (haven't found out why i did it, hell!)
Now after wipe my current rom, I've totally in the middle of "NoRom"
I have TWRP, and Nexus 4 Toolkits installed on my PC. I think all drivers are installed correctly as well, since I used them to unlock bootloader and root my N4 before.
But i just cannot figure out how to "ADB sideload" zip file to my device in order to flash a new rom.
So please guild me to do this. Many thanks
Note: I read on TWRP page and they say that I have to enable adb sideload in TWRP on my N4 (of which i've done), then "From the command line, type adb sideload /path/to/rom.zip". From that point I cannot understand. How and where could I open the command line?
(sounds noobie but since downloading that Toolkits, I've got rid of pure ADB things, so now I don't have the sdk)
Thank you.
Lol, getting rid of ADB especially when you have a nexus was a bad idea. You need ADB, so you also need the SDK (although you *might* find only adb.exe and associated files here on XDA, which should be sufficient for this particular process, but I still recommend the SDK as it is quite handy).
Once you set up the SDK on your pc, go to the folder which has adb.exe, and open a command prompt there. That's the command line you need to use for adb sideload. From there, you can simply type adb sideload file_name.zip, which will place the file_name.zip on your sdcard.
Edit: Forgot to mention this. I never used toolkits and advise using the manual method which will teach you a lot and is more comfortable to use once you get the hang of it, believe me.
Sent from my Nexus 4 using Tapatalk 4 Beta
Spiralzz said:
Lol, getting rid of ADB especially when you have a nexus was a bad idea. You need ADB, so you also need the SDK (although you *might* find only adb.exe and associated files here on XDA, which should be sufficient for this particular process, but I still recommend the SDK as it is quite handy).
Once you set up the SDK on your pc, go to the folder which has adb.exe, and open a command prompt there. That's the command line you need to use for adb sideload. From there, you can simply type adb sideload file_name.zip, which will place the file_name.zip on your sdcard.
Edit: Forgot to mention this. I never used toolkits and advise using the manual method which will teach you a lot and is more comfortable to use once you get the hang of it, believe me.
Sent from my Nexus 4 using Tapatalk 4 Beta
Click to expand...
Click to collapse
OK thank you, i'll try it
Back to the past when i got G1, i was familiar with sdk and adb thing. But as time passing by, i'm getting lazier and lazier lol, so i've almost forgotten those useful stuffs, just use some 1-click tools like the toolkits.
Help
Spiralzz said:
Lol, getting rid of ADB especially when you have a nexus was a bad idea. You need ADB, so you also need the SDK (although you *might* find only adb.exe and associated files here on XDA, which should be sufficient for this particular process, but I still recommend the SDK as it is quite handy).
Once you set up the SDK on your pc, go to the folder which has adb.exe, and open a command prompt there. That's the command line you need to use for adb sideload. From there, you can simply type adb sideload file_name.zip, which will place the file_name.zip on your sdcard.
Edit: Forgot to mention this. I never used toolkits and advise using the manual method which will teach you a lot and is more comfortable to use once you get the hang of it, believe me.
Sent from my Nexus 4 using Tapatalk 4 Beta
Click to expand...
Click to collapse
I tried sideload on my nexus 4 but it gives me this error...
"failed to write data 'protocol fault (no status)"
I have been trying to sideload cm 10.2 since my phone is stuck on the google boot logo...any ideas as to how to solve this problem?
Cheers beforehand!
close "adb.exe" in task manager
Help please. I've done the same thing as the OP. I do not know what to do next.
I am unable to mount the phone. I click on "Mount" from TWRP's main screen and nothing registers on my computer.
Under Advanced I am able to click on ADB Sideload but then the adb commands do not work to sideload a rom. I am able to use the command adb devices and that returns a response. I have also tried the adb push command to move the rom onto the phone with no response.
What should I do next?
Standard adb functions work on the main menu of twrp
Here is the easiest method.
On your pc go to your toolkit directory
Find the folder that has adb.exe in it
Copy your new Rom to this directory and rename it rom.zip (for simplicity)
Hold shift and right click on a blank bit of the folder
In the pop-up menu there should now be an option saying "open command prompt here" or something similar.
Boot your phone into twrp and plug it into your pc
On your pc's new command prompt screen type
adb push rom.zip /sdcard
Once it has completed you can install the rom as normal on your phone
Sent from my Nexus 4 using xda app-developers app
Alex240188 said:
Standard adb functions work on the main menu of twrp
Here is the easiest method.
On your pc go to your toolkit directory
Find the folder that has adb.exe in it
Copy your new Rom to this directory and rename it rom.zip (for simplicity)
Hold shift and right click on a blank bit of the folder
In the pop-up menu there should now be an option saying "open command prompt here" or something similar.
Boot your phone into twrp and plug it into your pc
On your pc's new command prompt screen type
adb push rom.zip /sdcard
Once it has completed you can install the rom as normal on your phone
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thanks that worked.
Alex240188 said:
Standard adb functions work on the main menu of twrp
Here is the easiest method.
On your pc go to your toolkit directory
Find the folder that has adb.exe in it
Copy your new Rom to this directory and rename it rom.zip (for simplicity)
Hold shift and right click on a blank bit of the folder
In the pop-up menu there should now be an option saying "open command prompt here" or something similar.
Boot your phone into twrp and plug it into your pc
On your pc's new command prompt screen type
adb push rom.zip /sdcard
Once it has completed you can install the rom as normal on your phone
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Hey bro it says device not found. what do i do?
---------- Post added at 09:46 PM ---------- Previous post was at 09:43 PM ----------
Alex240188 said:
Standard adb functions work on the main menu of twrp
Here is the easiest method.
On your pc go to your toolkit directory
Find the folder that has adb.exe in it
Copy your new Rom to this directory and rename it rom.zip (for simplicity)
Hold shift and right click on a blank bit of the folder
In the pop-up menu there should now be an option saying "open command prompt here" or something similar.
Boot your phone into twrp and plug it into your pc
On your pc's new command prompt screen type
adb push rom.zip /sdcard
Once it has completed you can install the rom as normal on your phone
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I have clockworkmod recovery v6.0.1.9 it didnt work for me it said device not found
---------- Post added at 10:37 PM ---------- Previous post was at 09:46 PM ----------
Alex240188 said:
Standard adb functions work on the main menu of twrp
Here is the easiest method.
On your pc go to your toolkit directory
Find the folder that has adb.exe in it
Copy your new Rom to this directory and rename it rom.zip (for simplicity)
Hold shift and right click on a blank bit of the folder
In the pop-up menu there should now be an option saying "open command prompt here" or something similar.
Boot your phone into twrp and plug it into your pc
On your pc's new command prompt screen type
adb push rom.zip /sdcard
Once it has completed you can install the rom as normal on your phone
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Hey Thank i got it working, but one thing i cant understand is i got in a boot loop cause install cm10.1.3 RC2 coming from cm 10.2 nightly version, i also flased gapp 4.2.2 assuming the rom was 4.2.2 that why. is this correct? i wanna go to cm10.1.3 RC2 current on 10.2 nightly how can i do this? which gapps should i install?
Do you have adb drivers installed?
What happens when you type
adb devices
In the command prompt
You should get the serial number of your phone, then next to it it should say recovery
If you have nothing listed then you have an issue with the drivers on your computer
Sent from my Nexus 4 using xda app-developers app
Hi,
I moved from slimbean build 8 (4.2.2) to Slimbean 5 (4.3)
After a couple of reboot the phone stucks an google screen, I tried to reflash the rom from twpr but nothing chaged.
If I try to sideload small files (like supersu) it works, with rom.zip files not..
I have "* failed to write data 'protocol fault (no status)' *" after some seconds.
If I try to use sideload from twpr home (2.6.0.0) adb doesn't work,
adb devices
List of devices attached
0076a0288a8c04be recovery
Cwm
Is it possible to do the same with Cwm instead of twrp? If so, how? Also, i have both twrp and cwm according to rom manager. How?
Thanks your a life saver!
Alex240188 said:
Do you have adb drivers installed?
What happens when you type
adb devices
In the command prompt
You should get the serial number of your phone, then next to it it should say recovery
If you have nothing listed then you have an issue with the drivers on your computer
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
HElp
Hi guys,
I had the same problem while trying to install a new rom and i got into a bootloop stuff.
I tried what its say before on this thread but my phone can't be found. what can i do ?
Excuse my english i'm French.
Thx for your help if somebody can help me.
i run adb push rom.zip /sdcard but it tells me: cannot stat 'rom.zip': No such file or directory
I know that my drivers are installed and i can see my device when i run adb devices. Thank you for any help i can get.
Jens_Karlsson said:
i run adb push rom.zip /sdcard but it tells me: cannot stat 'rom.zip': No such file or directory
I know that my drivers are installed and i can see my device when i run adb devices. Thank you for any help i can get.
Click to expand...
Click to collapse
being a noob at all of this, I am getting nowhere..... all I did so far was install android sdk. and put phone into sideload....
when I did adb push rom.zip /sdcard and it did some things?
then I do adb devices (in the cmd line of windows) and it gave me my serial number.... but what now?
I see nothing on the phone to load/install?
also: I type this: adb push rom.zip /sdcard
it says error closed.
Even i have been caught up with this same problem , and i found this thread which was pretty helpful
HTML:
http://forum.xda-developers.com/showthread.php?t=2318497
that saved my day !!
I have the same problem
I have the same issues. When i type adb devices in command prompt, I get
List of devices attached
(there are nothing under it) what should i to ? Help me please
Install http://koush.com/post/universal-adb-driver
Report back if still having issues.
help!!!!!
I get this but now what???
C:\adb> adb push rom.zip /sdcard
_
Nothing more and in my phones sd its the rom but failed when i tried to install it
I tried to change from the rom CW11 to Pardous and the phone stuck at the LG symbol and don't coming up. Everything deleted and even the custom roms, Debugging desable, the root deleted and just TWRP stayed, the backups deleted and the roms installers too.
I tried the adb but when I am doing "adb sideload" it's doing "Error:closed" and when I amd doing "adb push" its telling "can't read".
So my question is if there is any way to fix it? if yes how? (If I can get guide please).
I tried and thing in the internet so if you can help me in anyway I will be glad.
Thanks.
If Someone can help I am lost. The phone not working for 3 days.
adb push rom.zip /sdcard/rom.zip
then install(no need to activate adb sideload)
bender_007 said:
adb push rom.zip /sdcard/rom.zip
then install(no need to activate adb sideload)
Click to expand...
Click to collapse
Its telling "Cannot stat romname.zip : no such a file or directory"
What to do?
Provide the full path or use adb pusher from my sig
Sent from my LG-D802 using XDA Premium 4 mobile app
Hi,
I am trying to fix my friends nexus 4. It has a unlocked bootloader and was rooted. He had the franco kernel installed and when it was updated the other day, the wifi wouldn't work. The recovery function works and I can download any recovery or boot.img. The problem is whilst trying to fix, he erased all the data on the phone. now there is no OS installed. I believe he was running stock. Their is no zips installed. the problem i have is how can I install the new kk zip and gapps I have downloaded to the device. I cant mount the sd card in the recovery because of no sd card. I have a htc one and am used to putting roms on that. Its just I am stuck trying to fix this. The phone will enter fastboot and Recovery as discussed. Thanks..hope this makes sense
2 options..
1. you need to adb push a rom/gapps to your device while you are in recovery. then flash them after pushing.
2. you need to fastboot flash the factory image while you are in the bootloader.
simms22 said:
2 options..
1. you need to adb push a rom/gapps to your device while you are in recovery. then flash them after pushing.
2. you need to fastboot flash the factory image while you are in the bootloader.
Click to expand...
Click to collapse
Hi Thanks for your reply. I am trying to adb push a rom to the device. The computer recognizes the device when I type adb devices in the command prompt when in recovery. The problem is what do I save it to without a sd card. I seen a few videos with the command adb push name.zip /sdcard/ namezip
what do i enter instead of sd card ...thanks again
http://teamw.in/ADBSideload
tommyforest123 said:
Hi Thanks for your reply. I am trying to adb push a rom to the device. The computer recognizes the device when I type adb devices in the command prompt when in recovery. The problem is what do I save it to without a sd card. I seen a few videos with the command adb push name.zip /sdcard/ namezip
what do i enter instead of sd card ...thanks again
Click to expand...
Click to collapse
when i do it, i put the file in the same folder as adb. i enter recovery, then.. adb push namezip, then its there.
tommyforest123 said:
Hi Thanks for your reply. I am trying to adb push a rom to the device. The computer recognizes the device when I type adb devices in the command prompt when in recovery. The problem is what do I save it to without a sd card. I seen a few videos with the command adb push name.zip /sdcard/ namezip
what do i enter instead of sd card ...thanks again
Click to expand...
Click to collapse
Just use adb push name.zip /sdcard. There is an internal sdcard
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Just use adb push name.zip /sdcard. There is an internal sdcard
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Hi, thanks for the replies. I was able to flash a new kk rom through the adb...
unlock bootloder,TWRP,super su, and I hane accidentally format it through TWRP now its not getting on just stuck on circle . in internal there is no data to flash and also not detecting adb or fastboot mode .
please help me
You'll need to get adb or fastboot working. Google 15 second adb drivers xda. Then adb push a rom on to your device while in recovery or side load a rom
Sent from my Nexus 5 using XDA Free mobile app
GS150R said:
unlock bootloder,TWRP,super su, and I hane accidentally format it through TWRP now its not getting on just stuck on circle . in internal there is no data to flash and also not detecting adb or fastboot mode .
please help me
Click to expand...
Click to collapse
Wipe your whole system via TWRP and restart into recovery. Connect your phone with your computer and check if your phone is recognized. Also check if you have install all necessary drivers.
jd1639 said:
You'll need to get adb or fastboot working. Google 15 second adb drivers xda. Then adb push a rom on to your device while in recovery or side load a rom
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
1) ADB is working .recovery mode is also working.
2) i have tried this adb sideload youtube video https://www.youtube.com/watch?v=CivvxcM1PCY.
3) when ever i was sliding abs sideload in TWRP
UPDATING PARTITION DETAILS...
E:STORAGE PARTATION "/TERP/BACKUP/004aef8c978b8659" not found
starting adb sideload feature...
4) by doing all above steps i am stuck at transferring ROM
GS150R said:
1) ADB is working .
2) i have tried this adb sideload youtube video https://www.youtube.com/watch?v=CivvxcM1PCY.
3) when ever i was sliding abs sideload in TWRP
UPDATING PARTITION DETAILS...
E:STORAGE PARTATION "/TERP/BACKUP/004aef8c978b8659" not found
starting adb sideload feature...
4) by doing all above steps i am stuck at transferring ROM
Click to expand...
Click to collapse
Rename the rom zip you're trying to flash to just rom.zip and put it on the root directory of your pc. Then open a command window in the folder your adb.exe is and run the command
adb push c:\rom.zip /sdcard/download
That'll put the rom on your device and you can then flash it in recovery
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Rename the rom zip you're trying to flash to just rom.zip and put it on the root directory of your pc. Then open a command window in the folder your adb.exe is and run the command
adb push c:\rom.zip /sdcard/download
That'll put the rom on your device and you can then flash it in recovery
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
thanks but not working . it behaves same as in screen shot
this might be help
using mskip tool kit
GS150R said:
thanks but not working . it behaves same as in screen shot
Click to expand...
Click to collapse
first use the command
adb devices
Does your device show up or do you get the same as you did before?
If it works use
adb push c:\rom.zip /sdcard/Download/rom.zip
jd1639 said:
first use the command
adb devices
Does your device show up or do you get the same as you did before?
If it works use
adb push c:\rom.zip /sdcard/Download/rom.zip
Click to expand...
Click to collapse
not working.
i am doing
1) open cmd from start run.
2) then type cd (copy address of platform tool in sdk)
3)adb devices it show device no.
4) adb push c:\rom.zip /sdcard/Download/rom.zip then some command run an stop .
GS150R said:
not working.
i am doing
1) open cmd from start run.
2) then type cd (copy address of platform tool in sdk)
3)adb devices it show device no.
4) adb push c:\rom.zip /sdcard/Download/rom.zip then some command run an stop .
Click to expand...
Click to collapse
If adb devices doesn't show a device then you don't have the usb drivers setup. Did you try the 15 second adb install I posted in one of my first posts? Just Google it
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
If adb devices doesn't show a device then you don't have the usb drivers setup. Did you try the 15 second adb install I posted in one of my first posts? Just Google it
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
15 sec adb works now he is showing my device.
but after push command it goes through long execution and stop same.
how i get into this situation
1) bootloder unlock,rooted,custom recovery ,
2) stock 4.4.4 running
3) then instead of flashing velocity rom I flash velocity gapp from TWRP.
4) reboot perform updating app and stuck.
5) then i have done "FORMAT DATA" in TWRP
6) AND STILL NOT BOOTING
GS150R said:
15 sec adb works now he is showing my device.
but after push command it goes through long execution and stop same.
Click to expand...
Click to collapse
Try a different usb port and cable. It will take a long time to push the rom, 5 to 10 minutes. It sounds like your usb connection is not good
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Try a different usb port and cable. It will take a long time to push the rom, 5 to 10 minutes. It sounds like your usb connection is not good
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
not working :crying:
GS150R said:
not working :crying:
Click to expand...
Click to collapse
Boot into recovery and see if you can find the rom you pushed. If you do, flash it
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Boot into recovery and see if you can find the rom you pushed. If you do, flash it
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
whenever i try to send a zip file it execute bunch of instruction and stop.
I have copied it in notepad take a look
GS150R said:
whenever i try to send a zip file it execute bunch of instruction and stop.
I have copied it in notepad take a look
Click to expand...
Click to collapse
This comes up if you try to execute a command adb doesn't know. Are you typing it in correctly?
Edit, I see the problem. You need a space after adb push c:\rom.zip. it should be adb push c:\rom.zip /sdcard....
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
This comes up if you try to execute a command adb doesn't know. Are you typing it in correctly?
Edit, I see the problem. You need a space after adb push c:\rom.zip. it should be adb push c:\rom.zip /sdcard....
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
By giving space it shows error:closed
GS150R said:
By giving space it shows error:closed
Click to expand...
Click to collapse
What error does it give? Everything must be typed correctly and the rom.zip must be on the root directory of your pc.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
What error does it give? Everything must be typed correctly and the rom.zip must be on the root directory of your pc.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
error is - error:closed and execution is terminated.
yes it is in the directory rom.zip