[Q] How to push rom via adb - Moto G Q&A, Help & Troubleshooting

i flashed gpe version on xt1033 with TWRP 2.7.1.0
after copying all the files back to sdcard i rebooted into TWRP
in TWRP i changed the file system to f2fs for system, data and cache.
unfortunately i lost everything on my internal memory.
i don't mind flashing the stock firmware again but if i do so than i will again try to convert the partitions to f2fs and i will again be in the same problem.
i tried to push rom via by following command
adb sideload rom.zip
it showed and error "error:closed"
again i tried with another command
adb push rom.zip /sdcard
it showed that the file has been pushed in command prompt with transfer bitrate but the phone didn't react anything
still i tried to reboot into recovery via long press power button
i succesfully rebooted into recovery but i was unable to find the rom zip
i tried it several times but had no luck.

Before sideloading you need to be in sideload mode i think
Also /sdcard might not be the correct path to the sdcard. I'm not sure what the correct path on this phone is.

adizz4 said:
Before sideloading you need to be in sideload mode i think
Also /sdcard might not be the correct path to the sdcard. I'm not sure what the correct path on this phone is.
Click to expand...
Click to collapse
I tried with adb side loading enabled.
I wrote that command prompt showed file transferred but nothing was visible on phone.
Sent from my Moto G using XDA Premium 4 mobile app

antarix said:
I tried with adb side loading enabled.
I wrote that command prompt showed file transferred but nothing was visible on phone.
Sent from my Moto G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Restart ur pc n reboot ur mobile to recovery n try again

abhi0502 said:
Restart ur pc n reboot ur mobile to recovery n try again
Click to expand...
Click to collapse
Tried it but no solution.
Sent from my Moto G using XDA Premium 4 mobile app

I don't know why it doesn't happen? I thought f2fs file system is much better than ext4 but I want to use ROM which is incompatible with dual Sim version.
sent from xt1033 with RenderBroken's kernel

Push rom.Zip to sdcard
adb push rom.zip /sdcard/
After pushing do a normal install. Dont use side load option
Sent from my Moto G using Tapatalk

antarix said:
I don't know why it doesn't happen? I thought f2fs file system is much better than ext4 but I want to use ROM which is incompatible with dual Sim version.
sent from xt1033 with RenderBroken's kernel
Click to expand...
Click to collapse
When u plug ur mobile to pc via usb is there pop up coming saying something about software installation??

abhi0502 said:
When u plug ur mobile to pc via usb is there pop up coming saying something about software installation??
Click to expand...
Click to collapse
Nope cause the software is already installed. I flashed stock at last but I am looking for a solution to this so that I can change file system to f2fs.
reversegear said:
Push rom.Zip to sdcard
adb push rom.zip /sdcard/
After pushing do a normal install. Dont use side load option
Sent from my Moto G using Tapatalk
Click to expand...
Click to collapse
I tried this method but the file doesn't show up in internal memory. After the command prompt says the file has been transferred I cancel adb and it shows failed.
sent from xt1033 with RenderBroken's kernel

antarix said:
Nope cause the software is already installed. I flashed stock at last but I am looking for a solution to this so that I can change file system to f2fs.
I tried this method but the file doesn't show up in internal memory. After the command prompt says the file has been transferred I cancel adb and it shows failed.
sent from xt1033 with RenderBroken's kernel
Click to expand...
Click to collapse
I was asking because after that it says some .dll file missing
On my pc adb sideload is working but not on my laptop because of that .dll file

abhi0502 said:
I was asking because after that it says some .dll file missing
On my pc adb sideload is working but not on my laptop because of that .dll file
Click to expand...
Click to collapse
It didn't pop up anything.
It showed adb device in command prompt.
sent from xt1033 with RenderBroken's kernel

@ankitxperia I didn't understand your command adb push C:\ROM /sdcard
sent from xt1033 with RenderBroken's kernel

antarix said:
@ankitxperia I didn't understand your command adb push C:\ROM /sdcard
sent from xt1033 with RenderBroken's kernel
Click to expand...
Click to collapse
i wil be explaning with as much as detail as possible first boot into recovery then open cmd and navigate to adb tool and open a cmd window from there(as usual) i am using Minimal adb flashtool
Now type adb devices it should show some info like serial no etc if not then you cant proceed check your drivers etc if the problem presists then uninstall all drivers and try again if the problem still presists then install pda net this will definetly solve your problem here is the link http://www.dominantwire.com/2012/11/how-to-solve-adb-device-not-found-error.html#.U5L5C3KSxA0
NOW to PUSH files from Pc to internal storage use Push command
adb push C:\ROM /sdcard
what this command will do is that my Rom files i hav stored in C:\ROM and /sdcard will move the to files to your internal sd card
here is the good tutorial regarding using push pull command http://forum.xda-developers.com/nexus-4/general/guide-making-backups-adb-t2411965
HOPE this helps btw an you Tell me how did you convert Ext4 partion to F2fs also can you give me theWhich TWRp recovery have you installed also the download link too if possible

ankitxperia said:
HOPE this helps btw an you Tell me how did you convert Ext4 partion to F2fs also can you give me theWhich TWRp recovery have you installed also the download link too if possible
Click to expand...
Click to collapse
Use twrp 2.7.1.0
It had option to change file system in advanced wipe section.
sent from xt1033 with RenderBroken's kernel

Here is the link
https://www.google.co.in/url?sa=t&s...L7gyYo2PCFqMjZuYA&sig2=EQGoC6cGznYJyhLusrWjRg
sent from xt1033 with RenderBroken's kernel

antarix said:
Here is the link
https://www.google.co.in/url?sa=t&s...L7gyYo2PCFqMjZuYA&sig2=EQGoC6cGznYJyhLusrWjRg
sent from xt1033 with RenderBroken's kernel
Click to expand...
Click to collapse
ok just flashed the 2.7.1 TWRP also do ihave to convert /Data and all other directories to f2fs or Only /system to F2fs ???
udate i tried converting System to f2fs but it still shows pation as Ext4

ankitxperia said:
ok just flashed the 2.7.1 TWRP also do ihave to convert /Data and all other directories to f2fs or Only /system to F2fs ???
udate i tried converting System to f2fs but it still shows pation as Ext4
Click to expand...
Click to collapse
Once you have converted system than reboot to recovery it will show f2fs. I changed everything that's why had to push rom coz it formats that partition.
sent from xt1033 with RenderBroken's kernel

adb sideload shoud do the trick..google for the detailed steps and wait for the file to b flashed..n if it doesn't then check whether there is sideload.zip on ur sd card

ankitxperia said:
i wil be explaning with as much as detail as possible first boot into recovery then open cmd and navigate to adb tool and open a cmd window from there(as usual) i am using Minimal adb flashtool
Now type adb devices it should show some info like serial no etc if not then you cant proceed check your drivers etc if the problem presists then uninstall all drivers and try again if the problem still presists then install pda net this will definetly solve your problem here is the link http://www.dominantwire.com/2012/11/how-to-solve-adb-device-not-found-error.html#.U5L5C3KSxA0
NOW to PUSH files from Pc to internal storage use Push command
adb push C:\ROM /sdcard
what this command will do is that my Rom files i hav stored in C:\ROM and /sdcard will move the to files to your internal sd card
here is the good tutorial regarding using push pull command http://forum.xda-developers.com/nexus-4/general/guide-making-backups-adb-t2411965
HOPE this helps btw an you Tell me how did you convert Ext4 partion to F2fs also can you give me theWhich TWRp recovery have you installed also the download link too if possible
Click to expand...
Click to collapse
You, sir, saved my life! Thank you! I did the pda.net and worked...
My problem was that I did factory reset, and forgot i had no rom in sd card, neither a backup. x.x
Tried to push rom via adb push command, but 'device not found' message appeared.
Then tried to adb sideload the rom, but the same error appeared...
So i uninstalled all motorola drivers, and installed pda.net. Tried to push again the rom, but didnt worked. Sideloaded again, and did worked! I was using minimal adb tool...

Related

want sbf of miui for milestone plz

i am having pblms going into recovery ....
i want a sbf file which i could directly flash using RSD LITE ....plz i need it
thanx in advance .i knw some 1 here can do it only
use can download the GOT 2.2.1 sbf file
irfiboy said:
i am having pblms going into recovery ....
i want a sbf file which i could directly flash using RSD LITE ....plz i need it
thanx in advance .i knw some 1 here can do it only
Click to expand...
Click to collapse
Since the milestones bootloader is locked, we cannot create sbf files to flash on it. The only ones are stock eclaire, stock froyo, and the got 2.2.1 leak. All are signed by motorola. It is for that reason that it is impossible for you to attain this. I would suggest re-downloading androidiani openrecorvery to your sd card, and trying again, because thats the only way your gunna get miui. You could also try minimod openrecovery.
Just do what they are saying, flash a signed Motorola sbf, then root it and get Androidiani running and use it to flash MIUI.
Try this or this. Make sure you have openrecovery on your sdcard and miui in your updates folder.
y no recovery is working i cant go to next step of pressing camera and volume up button to enter recovery menu
irfiboy said:
y no recovery is working i cant go to next step of pressing camera and volume up button to enter recovery menu
Click to expand...
Click to collapse
There is no need to press any keys.
1. First extract a fresh copy of AOR to sdcard. Then copy miui zip file under updates folder
2. Next, activate usb debugging mode in your phone and connect to pc.
3. Open up command prompt and enter the following commands in order.
Code:
adb devices ( this should show as your phone being connected )
adb shell "echo 'boot-recovery ' > /cache/recovery/command"
adb shell "echo '--update_package=SDCARD:update.zip' >> /cache/recovery/command"
adb shell "reboot recovery"
That's it. Your AOR should load.
sileshn said:
There is no need to press any keys.
Code:
adb devices ( this should show as your phone being connected )
That's it. Your AOR should load.
Click to expand...
Click to collapse
open up cmd on windows and enter adb
it says adb is not recognised as an internal or external commans
im a total noOb
u will have to write down the steps as if you want a 5 year old to folloow u
irfiboy said:
open up cmd on windows and enter adb
it says adb is not recognised as an internal or external commans
im a total noOb
u will have to write down the steps as if you want a 5 year old to folloow u
Click to expand...
Click to collapse
You could also use Google, as you can find detailed guides that start at installing drivers for windows, that you probably don't have.
And, as I understand that your phone works, you can always use terminal emulator from market, which doesn't need the drivers and works exactly like using adb through windows cmd line.
irfiboy said:
open up cmd on windows and enter adb
it says adb is not recognised as an internal or external commans
im a total noOb
u will have to write down the steps as if you want a 5 year old to folloow u
Click to expand...
Click to collapse
Haha. You need to have android sdk installed to get adb working. Or as Jack said, try the commands using TE, without the adb shell and without the quotes.
Sent from my GT-I9100 using Tapatalk
using jacks idea is great, yes my cell is working... i have installed and whenever i put in a command it says permission denied
this states that most probably my cell is not rooted yet
i tried using androot and it does give the temporary root and fails on permanent root, but still i cant execute any command in te
please b patient and help
Try z4root for rooting your phone. And install android sdk. There are many sticky threads telling you how to install android sdk.
http://forum.xda-developers.com/showthread.php?t=833953
did you flash the vulnarable recovery ? without that you cant get into recovery.
bump... any one with miui sbf plzzzz
irfiboy said:
bump... any one with miui sbf plzzzz
Click to expand...
Click to collapse
I don't even think you can create an sbf for a ROM. I only know of Nandroid backups.
irfiboy said:
bump... any one with miui sbf plzzzz
Click to expand...
Click to collapse
As everyone told you already, because of the locked bootloader you can't flash any .sbf you want. Only Motorola's and GOT's that has vulnerable recovery injected.
To flash MIUI rom, use OpenRecovery and flash the .zip file.

ADB won't recognize phone/bootloader/Can't replace recovery HELP!

So basically I found out just today we have Cyanogenmod 10.2 >.<
I downloaded the Joilaroi version, flashed it in TWRP 2.6xx and then suddenly "E: Error in updating binary script" did a bit of googling and found out that it's a common problem with TWRP > 2.3.3.0
So I was about to downgrade it to 2.3.3.0 or temp boot into CWM. Connected my phone to my laptop and went to bootloader, then did Adb devices....the list was empty.
Reinstalled HTC drivers, used different USB port...nothing.
TL;DR : Phone doesn't get recognized in Bootloader mode, Can't flash ROM, Can't replace recovery. Help!
AIndoria said:
So basically I found out just today we have Cyanogenmod 10.2 >.<
I downloaded the Joilaroi version, flashed it in TWRP 2.6xx and then suddenly "E: Error in updating binary script" did a bit of googling and found out that it's a common problem with TWRP > 2.3.3.0
So I was about to downgrade it to 2.3.3.0 or temp boot into CWM. Connected my phone to my laptop and went to bootloader, then did Adb devices....the list was empty.
Reinstalled HTC drivers, used different USB port...nothing.
TL;DR : Phone doesn't get recognized in Bootloader mode, Can't flash ROM, Can't replace recovery. Help!
Click to expand...
Click to collapse
Why don't you flash with terminal emulator?
Just put recovery.img in the root of your sdcard
Open terminal type
su
cd sdcard
flash_image recovery recovery.img
That's it
Sent from my gt-1900 using xda premium
Taha Haq said:
Why don't you flash with terminal emulator?
Just put recovery.img in the root of your sdcard
Open terminal type
su
cd sdcard
flash_image recovery recovery.img
That's it
Sent from my gt-1900 using xda premium
Click to expand...
Click to collapse
That's what I'm doing now but I need a proper solution :/ Basically Windows won't recognize my phone through fastboot. I'd rather not keep installing CM9 again and again after a failed flash, you know?
AIndoria said:
That's what I'm doing now but I need a proper solution :/ Basically Windows won't recognize my phone through fastboot. I'd rather not keep installing CM9 again and again after a failed flash, you know?
Click to expand...
Click to collapse
install htc drivers and make dure you cleared the all registry and files from your previous installation and connect your device
open cmd and go to the folder where you placed adb and type command
adb kill-server =>it will close all adb processes running at that time
adb start-server => it will start new adb process
adb devices=> to reconize your device
if it shows your device then through fastboot command flash the recovery
but make sure you have all neccessary binary files in that folder for adb and fastboot
hit thanks if helped
AIndoria said:
That's what I'm doing now but I need a proper solution :/ Basically Windows won't recognize my phone through fastboot. I'd rather not keep installing CM9 again and again after a failed flash, you know?
Click to expand...
Click to collapse
You can try installing the newer Drivers.
Else your usb port may be broken. that is also a possiblity

ADB issue

Does adb push work in recovery or fastboot mode. I've seen a lot of forms use this method but it did not work for me. In recovery mode the device is not been recognized when i type in adb devices, it throws no devices found. but all the adb commands works fine during normal run.
blackuse said:
Does adb push work in recovery or fastboot mode. I've seen a lot of forms use this method but it did not work for me. In recovery mode the device is not been recognized when i type in adb devices, it throws no devices found. but all the adb commands works fine during normal run.
Click to expand...
Click to collapse
You need to enable ADB mode in recovery for it to work.
fastboot is for bootloader mode only.
Adb push works in recovery, not fastboot. You need to get the drivers installed while your in recovery. Ate you on Windows pc? Open device manager and you'll see a device with an exclamation make on it. You need to installs the drivers for that. Go to browse for drivers and there will be an option to install from a list on the computer. Find the android adb drivers
Sent from my Nexus 5 using XDA Free mobile app
Just a note:
adb doesn't work in stock recovery other then when using adb sideload.
Custom recoveries support all adb commands.
El Daddy said:
Just a note:
adb doesn't work in stock recovery other then when using adb sideload.
Custom recoveries support all adb commands.
Click to expand...
Click to collapse
Good point
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Adb push works in recovery, not fastboot. You need to get the drivers installed while your in recovery. Ate you on Windows pc? Open device manager and you'll see a device with an exclamation make on it. You need to installs the drivers for that. Go to browse for drivers and there will be an option to install from a list on the computer. Find the android adb drivers
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
i did as per ur instruction and now it shows the device in adb devices but i'm not able to perform any commands. i use CWM.
blackuse said:
i did as per ur instruction and now it shows the device in adb devices but i'm not able to perform any commands. i use CWM.
Click to expand...
Click to collapse
Please elaborate on "i'm not able to perform any commands"
rootSU said:
Please elaborate on "i'm not able to perform any commands"
Click to expand...
Click to collapse
only "adb devices" works when i use adb push it does not throw any error but the file is not found in the device.Is there any restriction to the commands used in the recovery mode.
blackuse said:
only "adb devices" works when i use adb push it does not throw any error but the file is not found in the device.Is there any restriction to the commands used in the recovery mode.
Click to expand...
Click to collapse
Put the file you're trying to push in the same folder as abd.exe. Open a command window in that folder. It's sounds like you have a path issue and adb is not finding the file
Sent from my Nexus 5 using XDA Free mobile app
blackuse said:
only "adb devices" works when i use adb push it does not throw any error but the file is not found in the device.Is there any restriction to the commands used in the recovery mode.
Click to expand...
Click to collapse
Could you screenshot the cmd prompt please?
the adb push works fine in normal run. but none of the command seems to work during recovery.adb commands works fine even in fastboot mode
blackuse said:
the adb push works fine in normal run. but none of the command seems to work during recovery.adb commands works fine even in fastboot mode
Click to expand...
Click to collapse
What recovery are you using? If you're using cwm, it mounts /sdcard incorrectly as /data/media instead of /data/media/0
Mount data and ls /data/media
Sent from my Nexus 5 using Tapatalk
rootSU said:
What recovery are you using? If you're using cwm, it mounts /sdcard incorrectly as /data/media instead of /data/media/0
Mount data and ls /data/media
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
YES i'm using CWM . "Mount data and ls /data/media" how do I do that
blackuse said:
YES i'm using CWM . "Mount data and ls /data/media" how do I do that
Click to expand...
Click to collapse
in recovery, go to "mounts and storage" and press "mount data".
Then in command prompt type
Code:
adb shell
to get into adb shell
Then type
Code:
ls /data/media
Thats LS in lower case and yes, it is case sensitive.
This will list the contents of /data/media - which is the location cwm uses as /sdcard. This hasn't been /sdcard since android 4.1.2 though.... I bet ls lists all those missing files you've been pushing.
This is one reason you should use either Philz or TWRP. Antiquated settings in CWM
blackuse said:
YES i'm using CWM . "Mount data and ls /data/media" how do I do that
Click to expand...
Click to collapse
Instead of push /sdcard use push /data/media
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Instead of push /sdcard use push /data/media
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Thats the same.. push /data/media/0
Although just change recovery from cwm and continue to use /sdcard
Otherwise Nandroid backups will go missing too
Sent from my Nexus 5 using Tapatalk
rootSU said:
Thats the same.. push /data/media/0
Although just change recovery from cwm and continue to use /sdcard
Otherwise Nandroid backups will go missing too
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
i tried out lots of adb push commands and finally understood "/sdcard/" which is supposed to be "/data/media/0/" is still "/data/media/ in CWM and yes all my CWM nanodroid backups are located in "data/media/CWM". how do i permanently make CWM to use "/data/media/0/" for sdcard
and i assume adb reboot does not work in recovery mode
blackuse said:
i tried out lots of adb push commands and finally understood "/sdcard/" which is supposed to be "/data/media/0/" is still "/data/media/ in CWM and yes all my CWM nanodroid backups are located in "data/media/CWM". how do i permanently make CWM to use "/data/media/0/" for sdcard
and i assume adb reboot does not work in recovery mode
Click to expand...
Click to collapse
You can't with cwm. Use philz or twrp though twrp won't be compatible with your existing backups.
Sent from my Nexus 5 using Tapatalk

[Q] Accidentally wiped the system and now my Nexus 5 says No OS installed!

I wiped the system thinking it was part of the system factory reset in TWRP but i didnt know that it would result in it saying NO OS INSTALLED. i read other similar threads about this problem but dont exactly understand what to do and how to restore my phone. i have a nandroid backup but its on my pc and not the internal storage on the phone. im fairly new to this so those replying, please explain exactly what to do. Im so scared about what to do now :crying::crying::crying:
Don't be scared its common and very, very easy to fix
Now I don't use TWRP so I have no idea of the directory structure so I can't advise you exactly.
But what you will essentially do is use adb push to get the files on your phone.
Click the link in my signature to go to the sticky roll up thread. All the important threads are linked there. Y
In that thread you'll quickly find my adb info thread. This should be most of what you need to know
Sent from my Nexus 5 using Tapatalk
First relax, your phone is not ruined. I assume you have a custom recovery. You're going to have to either side load a rom zip using adb or adb push a rom zip onto your phone and flash it in recovery.
Edit, OP you'll want to push the rom to /sdcard/Download. That'll put it into the folder twrp defaults to look for it.
Sent from my Nexus 5 using XDA Free mobile app
Well, you have three pretty easy options.
TWRP supports ADB commands, but the stock Google driver won't work. If you install the Universal ADB Driver you should be able to push your backup to your device (adb push [file location on your computer] [where to push on your phone])
http://www.koushikdutta.com/post/universal-adb-driver
You could also flash a ROM through adb sideload. Download a ROM zip to your computer, then in TWRP choose Advanced -> ADB Sideload. Then run "adb sideload [zip file]" to sideload the ROM you downloaded.
Last, you can restore to the Nexus Factory Image.
https://developers.google.com/android/nexus/images
All of these options will require you to have the Android SDK setup on your computer. The link for the factory images has instructions on how to get that installed.
raptir said:
]
All of these options will require you to have the Android SDK setup on your computer. The link for the factory images has instructions on how to get that installed.
Click to expand...
Click to collapse
Luckily its easier install adb and fastboot than the ask method. Just go to the thread mentioned earlier and use the 15 second installer
OP, no matter what you'll need run that installer
Sent from my Nexus 5 using Tapatalk
All these guys have it spot on! I just wanted to mention that when you install a ROM system gets wiped automatically as this is a parameter in the zip's updater-script.
So in other words there is really no reason to wipe system manually. Just let the install process do it for you. If u wipe system manually and then you realize you do not have a ROM zip or a nandroid only ADB can save you. So this way you can save yourself a headache
raptir said:
Well, you have three pretty easy options.
TWRP supports ADB commands, but the stock Google driver won't work. If you install the Universal ADB Driver you should be able to push your backup to your device (adb push [file location on your computer] [where to push on your phone])
\
You could also flash a ROM through adb sideload. Download a ROM zip to your computer, then in TWRP choose Advanced -> ADB Sideload. Then run "adb sideload [zip file]" to sideload the ROM you downloaded.
Last, you can restore to the Nexus Factory Image.
All of these options will require you to have the Android SDK setup on your computer. The link for the factory images has instructions on how to get that installed.
Click to expand...
Click to collapse
I downloaded everything and ran the flash-all . bat file but its currently been on < waiting for device > for a while now. i think it didnt detect the phone although it is connected through the USB :/
thauri said:
I downloaded everything and ran the flash-all . bat file but its currently been on < waiting for device > for a while now. i think it didnt detect the phone although it is connected through the USB :/
Click to expand...
Click to collapse
Did you or did you not read my adb and fastboot thread?
And WHY are you going for the last resort first???
You really need to chill out and read things because I don't think you're thinking straight
Sent from my Nexus 5 using Tapatalk
raptir said:
Well, you have three pretty easy options.
TWRP supports ADB commands, but the stock Google driver won't work. If you install the Universal ADB Driver you should be able to push your backup to your device (adb push [file location on your computer] [where to push on your phone])
You could also flash a ROM through adb sideload. Download a ROM zip to your computer, then in TWRP choose Advanced -> ADB Sideload. Then run "adb sideload [zip file]" to sideload the ROM you downloaded.
Last, you can restore to the Nexus Factory Image.
All of these options will require you to have the Android SDK setup on your computer. The link for the factory images has instructions on how to get that installed.
Click to expand...
Click to collapse
rootSU said:
Luckily its easier install adb and fastboot than the ask method. Just go to the thread mentioned earlier and use the 15 second installer
OP, no matter what you'll need run that installer
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
yeah i did download the 15 second ADB installer but my computer isnt detecting the phone connected when i ran the flash-all . bat file.
1) you need to read the whole of my thread. There are drivers to install
2) Still dont understand why you're running flashall bat when you can just adb push your backup to your sdcard. You know you lose all your data when you do that?
Sent from my Nexus 5 using Tapatalk
rootSU said:
1) you need to read the whole of my thread. There are drivers to install
2) Still dont understand why you're running flashall bat when you can just adb push your backup to your sdcard. You know you lose all your data when you do that?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
ok yes im reading your thread and doing the ADB commands. i have a question though, the multi-line input for the code to ADB push goes in cmd right? how is that possible?
Yes
Type one line, press enter, type another line, press enter
Sent from my Nexus 5 using Tapatalk
rootSU said:
Yes
Type one line, press enter, type another line, press enter
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
when i press enter after adb shell and mount data, it says data failed : Device or Resource busy
thauri said:
when i press enter after adb shell and mount data, it says data failed : Device or Resource busy
Click to expand...
Click to collapse
If "mount data" shows device or resource busy, then that usually means it is already mounted.
rootSU said:
If "mount data" shows device or resource busy, then that usually means it is already mounted.
Click to expand...
Click to collapse
i did everything but in the last part, it doesnt transfer the recovery files to the phone
Edit: The files are transferring successfully but only one at a time.
EDIT 2: All the necessary files were transferred but the TWRP recovery mode isnt detecting it as a restore option
Messing up is scary but it's a great opportunity to learn. I think you'll get through this just fine.
thauri said:
i did everything but in the last part, it doesnt transfer the recovery files to the phone
Edit: The files are transferring successfully but only one at a time.
EDIT 2: All the necessary files were transferred but the TWRP recovery mode isnt detecting it as a restore option
Click to expand...
Click to collapse
It must be in the exact location twrp needs to see it.
Sent from my Nexus 5 using Tapatalk
rootSU said:
It must be in the exact location twrp needs to see it.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I did, I put it in the backup folder in TWRP where all the other backups usually were
thauri said:
I did, I put it in the backup folder in TWRP where all the other backups usually were
Click to expand...
Click to collapse
Take a new backup, then delete everything in the new backup folder and move everything from your old backop into the new backup folder,
So for example
Code:
adb shell
mount /data
cd /data/media/0/TWRP/backups
ls
^^ This should list the contents... You should see your old backup and your new backup (which will be mostly empty).
Lets pretend your new backup folder is 22222222 and your old backup folder is 11111111
Code:
rm -Rf 222222222/*
mv 111111111/* 222222222
The first command is a remove (recursive) of the contents of the new backup. second command mvs contents of old backup into new backup folder,
Try that.
I don't know TWRP so my assumptions of the path may be incorrect
Someone else posted twrp default path as /sdcard/downloads - try that.

Please help , Stuck on Loading Screen.

I try to hard reset but I'm still stuck on loading screen. How do I add a zip file to my sd so I can flash it, since it doesn't even detect my oneplus on my computer? Please help me and lend me your knowledge and power =].
Can you boot in bootloader and connect it through adb and fastboo with your pc? in that case it would be easy to reflash everything
I can boot into fastboot and TWRP but I'm wondering how can I add file into my internal hard drive since it doesnt detect the phone on my computer?
Any help with some instructions would be really nice =] :good:
Do you see it using "adb devices" or "fastboot devices" ?
If not, you must update your adb drivers on your computer and reboot it
right now its on MTP USB Device as my device on my Device Manager, can you link me to the proper usb driver? Because I"m pretty sure I updated it and it was working while my phone is working. Also how can I check if its using adb devices?
bud77 said:
Do you see it using "adb devices" or "fastboot devices" ?
If not, you must update your adb drivers on your computer and reboot it
Click to expand...
Click to collapse
Also it said "Windows has determined the driver software for your device is up to date" but doesnt detect my phone?
Anyone still here so they can help me?
So as asked previously, when you connect via fastboot, and boot it into TWRP, do you see it via adb ("adb devices" command in the platform-tools folder)? Did you try adb push <filename> /sdcard/ ?
yes i see adb push , but there's no file there. How can i add file there?
Dzhedaj said:
So as asked previously, when you connect via fastboot, and boot it into TWRP, do you see it via adb ("adb devices" command in the platform-tools folder)? Did you try adb push <filename> /sdcard/ ?
Click to expand...
Click to collapse
Basically i'm in TWRP and i dont see any thing in recover or etc or in my sd, all blank so how can I put an image there to flash?
Anyone still here to have any answers to help?
which jeithis
http://i.imgur.com/378HzRp.png also get this image also
Use an adb push command to send a ROM zip to your phone.
Transmitted via Bacon
@M I N E, go read the sticky posts in the general section. It will explain how to do an adb push command.
@timmaaa and others have done a great job with some write ups for this device.
timmaaa said:
Use an adb push command to send a ROM zip to your phone.
Transmitted via Bacon
Click to expand...
Click to collapse
Or do a factory wipe then go into TWRP -> Advanced -> ADB Sideload -> Swipe
adb sideload <name-of.zip>.zip (ensure the .zip is in the same folder as your fastboot/adb) and then it'll send the zip over to the phone and flash.
I prefer the adb sideload method as it pretty much pushes the file over to the phone and then flashes it afterwards.
Either method is fine though.
If OP has problems with drivers, I recommend using http://forum.xda-developers.com/showthread.php?t=2386956 they work great.
what is the push load command? How can i push something if i dont have any file on my phone to flash? can you guys type out the command?
M I N E said:
what is the push load command? How can i push something if i dont have any file on my phone to flash? can you guys type out the command?
Click to expand...
Click to collapse
Read the post above you that I posted. Use that command as well as the instructions and you can flash a file using adb sideload.
well I try factory swipe nothing there, i check the TWRP , no files is there i mean nothing. And I cant do adb push because my when i type adb devices it doesnt recognized, because how can i turn on debugging if my phone doesnt have any rom?
M I N E said:
well I try factory swipe nothing there, i check the TWRP , no files is there i mean nothing. And I cant do adb push because my when i type adb devices it doesnt recognized, because how can i turn on debugging if my phone doesnt have any rom?
Click to expand...
Click to collapse
You're not reading my message properly. I'm telling you to do adb sideload. Please read what I said carefully word-by-word.
Or do a factory wipe then go into TWRP -> Advanced -> ADB Sideload -> Swipe
adb sideload <name-of.zip>.zip (ensure the .zip is in the same folder as your fastboot/adb) and then it'll send the zip over to the phone and flash.
I prefer the adb sideload method as it pretty much pushes the file over to the phone and then flashes it afterwards.
Click to expand...
Click to collapse
The whole point of adb sideload is that you're sideloading a flashable zip that is not on your phone but on your computer and you're pushing the file onto your phone which will followup with flashing the zip.
You need to be typing adb sideload on your computer with the proper environment for adb set up with the proper drivers installed if you haven't already.

Categories

Resources