[Q] Can I push framework-res.apk from Fastboot? - Xoom Q&A, Help & Troubleshooting

Can someone help me please? I made a rookie mistake (although I'm not rookie) and I removed my framework-res.apk, I have a backup of it but I can't figure out how to push it using fastboot commands. I don't have access to adb. If anyone can help me get adb access that would help as well. Thx in advance guys.

No you can not push it through fastboot. If you have CWM installed, boot to recovery, mount /system and you can push with adb there.

Hi. I've done the same thing, but when I'm in CWM Recovery, my PC can't find the device in ADB?

abbaskip said:
Hi. I've done the same thing, but when I'm in CWM Recovery, my PC can't find the device in ADB?
Click to expand...
Click to collapse
Download androidcommander and download the sdk tools. Or go to uot kitchen and make up a fake framewok for flashing your tablet then replace the framework file with yours and flash it in clockwork

No you can't push via fastboot.
However if you're looping you'll find that adb has actually started and then you can just adb remount and adb push.

abbaskip said:
Hi. I've done the same thing, but when I'm in CWM Recovery, my PC can't find the device in ADB?
Click to expand...
Click to collapse
Try loading up these drivers and going back into adb... This worked for me on my Win7 machine
View attachment Motorola_End_User_Driver_Installation_5.2.0_32bit.rar

Related

How is adb push files to /sdcard

having troubles..
im in twrp 2.5.0.0 and adb push / adb sideload doesnt work..
can not push the rom to my tablet... I want use format data and have a clean install with nothing in it..
gd6noob said:
having troubles..
im in twrp 2.5.0.0 and adb push / adb sideload doesnt work..
can not push the rom to my tablet... I want use format data and have a clean install with nothing in it..
Click to expand...
Click to collapse
does adb devices return your tab?
I.e., do you have the correct drivers to use adb in TWRP?
I used the adb drivers attached

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

Need help asap!!!!

Okay before I start I know this was really dumb of me to do. I wiped everything in my phone/sd card because something was taking up a lot space and I couldn't figure out why, so i have no roms installed at all. there's no OS running in my phone at all. I have TWRP recovery installed but I can't mount it to my computer to get a rom onto it. Any solutions???? I don't Mind going back to stock, I just need my phone back.
breakfastclubdc said:
Okay before I start I know this was really dumb of me to do. I wiped everything in my phone/sd card because something was taking up a lot space and I couldn't figure out why, so i have no roms installed at all. there's no OS running in my phone at all. I have TWRP recovery installed but I can't mount it to my computer to get a rom onto it. Any solutions???? I don't Mind going back to stock, I just need my phone back.
Click to expand...
Click to collapse
You need to get cwm recovery, then get a usb otg cable, and flash the from from your flash drive. You have to use cwm because I don't think twrp supports usb otg
wstruction said:
You need to get cwm recovery, then get a usb otg cable, and flash the from from your flash drive. You have to use cwm because I don't think twrp supports usb otg
Click to expand...
Click to collapse
Thanks for your reply, In CWM i get "E: Can't mount"....i'm guessing because I have absolutely nothing on my SD card and phone...I can't mount USB storage or anything =/
breakfastclubdc said:
Thanks for your reply, In CWM i get "E: Can't mount"....i'm guessing because I have absolutely nothing on my SD card and phone...I can't mount USB storage or anything =/
Click to expand...
Click to collapse
You need to use adb sideload. You connect it to the computer with bootloader mode on, go to your platform tools file on your computer in the android adb file, shift+right click, hit open command window here, connect phone, type fastboot flash recovery, then whatever the name of the recovery img is. And I forgot to mention that you need to have the recovery img file in the adb folder. Hope this helps
wstruction said:
You need to get cwm recovery, then get a usb otg cable, and flash the from from your flash drive. You have to use cwm because I don't think twrp supports usb otg
Click to expand...
Click to collapse
wstruction said:
You need to use adb sideload. You connect it to the computer with bootloader mode on, go to your platform tools file on your computer in the android adb file, shift+right click, hit open command window here, connect phone, type fastboot flash recovery, then whatever the name of the recovery img is. And I forgot to mention that you need to have the recovery img file in the adb folder. Hope this helps
Click to expand...
Click to collapse
This is a bit confusing now, i went into my "C:\adt-bundle-windows-x86_64-20131030\sdk\platform-tools" then open command there? i don't see ADB file
breakfastclubdc said:
This is a bit confusing now, i went into my "C:\adt-bundle-windows-x86_64-20131030\sdk\platform-tools" then open command there? i don't see ADB file
Click to expand...
Click to collapse
You won't find adb.exe or fastboot.exe there unless you run the setup for the SDK.
If you are not interested in setting up the SDK, I recommend you just use this http://forum.xda-developers.com/showthread.php?t=2317790.
Also, I'm using CWM v6.0.4.7, and ADB works. I don't need to sideload anything.
I just do adb push xxxxx.zip to /sdcard/0/xxxx
Good luck!
breakfastclubdc said:
This is a bit confusing now, i went into my "C:\adt-bundle-windows-x86_64-20131030\sdk\platform-tools" then open command there? i don't see ADB file
Click to expand...
Click to collapse
Yes you go to where you said. Then you flash cwm recovery

[Q] Blank Phone? Need Help!

Ok, So basically I accidentally formatted my entire phone while trying to flash SlimKat... Noobish, I know, lol. My question is: If I'm still able to enter recovery (TWRP) would I be able to flash a rom still or should I revert to stock 4.4.2?
vI Ragnarok Iv said:
Ok, So basically I accidentally formatted my entire phone while trying to flash SlimKat... Noobish, I know, lol. My question is: If I'm still able to enter recovery (TWRP) would I be able to flash a rom still or should I revert to stock 4.4.2?
Click to expand...
Click to collapse
if you can still enter recovery, you can adb push a rom/gapps to your phone and flash tbem.
simms22 said:
if you can still enter recovery, you can adb push a rom/gapps to your phone and flash tbem.
Click to expand...
Click to collapse
Ok, cool. Would you mind elaborating a bit, I'm not too familiar with using console commands to flash. Also, thanks for the help!!
vI Ragnarok Iv said:
Ok, cool. Would you mind elaborating a bit, I'm not too familiar with using console commands to flash. Also, thanks for the help!!
Click to expand...
Click to collapse
Please look at this thread, and read it thoroughly.
-Download ROM and Gapps, transfer it to your ADB folder and rename it to something easy (Eg : Rom.zip and Gapps.zip).
-Open CMD/Terminal, navigate to your ADB folder.
-Boot into recovery on your phone and plug in your phone, find something called ADB Sideload. It's under Advance in TWRP if I'm not mistaken.
-Type in "adb sideload *.zip" . Replace * with your zip name you have renamed earlier.
-Your phone should be flashing the zip. Simply reboot and you should be perfectly fine.
exb0 said:
Please look at this thread, and read it thoroughly.
-Download ROM and Gapps, transfer it to your ADB folder and rename it to something easy (Eg : Rom.zip and Gapps.zip).
-Open CMD/Terminal, navigate to your ADB folder.
-Boot into recovery on your phone and plug in your phone, find something called ADB Sideload. It's under Advance in TWRP if I'm not mistaken.
-Type in "adb sideload *.zip" . Replace * with your zip name you have renamed earlier.
-Your phone should be flashing the zip. Simply reboot and you should be perfectly fine.
Click to expand...
Click to collapse
Thank you, sir. Couldn't get adb sideload to work so I just flashed the factory image of 4.4.2. No big deal, I'll just have to Re-root. :/
vI Ragnarok Iv said:
Thank you, sir. Couldn't get adb sideload to work so I just flashed the factory image of 4.4.2. No big deal, I'll just have to Re-root. :/
Click to expand...
Click to collapse
Oh, that was probably a driver issue. No worries, you can always get into android, transfer the custom rom into your SD card, boot into recovery, wipe and flash if you want to try out a custom rom.

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