Adb sideload in twrp - Nexus 7 (2013) Q&A

I've been trying to figure out how to adb sideload in twrp after i accidently wiped my internal sd. I ended up flashing stock image but would like to know how to sideload in twrp.if anyone could explain how its done I've tried a bizillion times and still nothing
Sent from my Nexus 7 using XDA Premium 4 mobile app

can you start adb sideload in twrp without an error?
Then adb sideload xxx.zip
Sent from my Nexus 10 using XDA Premium 4 mobile app

highwaybandit said:
I've been trying to figure out how to adb sideload in twrp after i accidently wiped my internal sd. I ended up flashing stock image but would like to know how to sideload in twrp.if anyone could explain how its done I've tried a bizillion times and still nothing
Click to expand...
Click to collapse
You need modified adb drivers to work with the "flo" device that shows up in Recovery (both stock and twrp)
http://forum.xda-developers.com/showthread.php?t=2391236
However, if you are running, TWRP, IMO it is so much easier to just Install the update.zip than to try and sideload it.

sfhub said:
You need modified adb drivers to work with the "flo" device that shows up in Recovery (both stock and twrp)
http://forum.xda-developers.com/showthread.php?t=2391236
However, if you are running, TWRP, IMO it is so much easier to just Install the update.zip than to try and sideload it.
Click to expand...
Click to collapse
Yeah but I erased everything and had no operating system so all I had was recovery to work with.
Sent from my Nexus 7 using XDA Premium 4 mobile app

Just want to know how to do it for future problems
Sent from my Nexus 7 using XDA Premium 4 mobile app

sfhub said:
You need modified adb drivers to work with the "flo" device that shows up in Recovery (both stock and twrp)
http://forum.xda-developers.com/showthread.php?t=2391236
However, if you are running, TWRP, IMO it is so much easier to just Install the update.zip than to try and sideload it.
Click to expand...
Click to collapse
Also just read that link I think that is what I needed thanks for your help with that. Appreciate it much
Sent from my Nexus 7 using XDA Premium 4 mobile app

try wugs toolkit it will walk you thru it

I suggest getting yourself an $1.50 OTG adapter. It works great with TWRP.
I use a USB stick for both 2012&2013 N7 to hold all my ROMs and Backups. OTG allows me to access my
huge media files on different kind of flash storages).
I do lots of clean flashes (wipe internalSD). One time I even accidentally wiped the externalSD. Easy fix with OTG.

hyperxguy said:
I suggest getting yourself an $1.50 OTG adapter. It works great with TWRP.
I use a USB stick for both 2012&2013 N7 to hold all my ROMs and Backups. OTG allows me to access my
huge media files on different kind of flash storages).
I do lots of clean flashes (wipe internalSD). One time I even accidentally wiped the externalSD. Easy fix with OTG.
Click to expand...
Click to collapse
yeh can u do this even if stuck in recovery will twrp notice the OTG cable as an external. cos it doesnt recognise when plug into pc ??

Related

Noob Help! Hit 'Format SD Card' in CWM Touch & lost all files?!

Did this accidentally when updating Roms & now I have no access to any Roms, backups, or files in CWM. Phone will not boot beyond the initial Google screen b/c it is not recognizing any internal files, I believe? Can I transfer files from a PC into CWM during recovery w/o the device actually being booted up? Haven't tried b/c I won't have access to a PC until I am at work tomorrow. I hope there is a fix for this rookie mistake & I greatly appreciate ANY advice - as I have not been able to find a definitive solution for this problem as of yet...
Thanks in advance,
Confounded Verizon Gnex owner
1) yes you can move files over to /sdcard using adb when booted into cwm. Use "adb push file.zip /sdcard/"
2) you could always flash a stock ROM using fastboot (see the "flash" link in my sig).
3) this is a good reason to not use a touch recovery.
Sent from my Galaxy Nexus using Tapatalk 2
Thanks for the quick response! Questions/Comments:
#1: Not sure I understand how to do this? Will I be able to add the zip files for the rom, etc. & keep root intact as it was?
Can u please simplify it into n00b terms, haha? Sorry, very new to the scene...
#2: The link is not working from my Nexus 7? Edit: Got it - just couldn't access via the xda app - looks extremely comprehensive.
#3: I agree. Step away from touch recoveries!
Sent from my Nexus 7 using xda app-developers app
Stixxbixby said:
Thanks for the quick response! Questions/Comments:
#1: Not sure I understand how to do this? Will I be able to add the zip files for the rom, etc. & keep root intact as it was?
Can u please simplify it into n00b terms, haha? Sorry, very new to the scene...
#2: The link is not working from my Nexus 7? Edit: Got it - just couldn't access via the xda app - looks extremely comprehensive.
#3: I agree. Step away from touch recoveries!
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
First off, can you boot to recovery? If so then...
#1 All you have to do is plug in your phone and assuming the drivers are installed, you download the ROM and gapps to the computer and drag them to your phone.
Then boot your phone to recovery and install the zips as normal. You will find the files on the SD card and not in the download folder.
If you lost root then follow a guide to reobtain it.
As for the touch recoveries, I personally like CWM touch better than dealing with the volume buttons. It was a mistake that could happen either way.
Good luck. Hope you get it fixed.
Sent from my Galaxy Nexus using xda app-developers app
Yes. Recovery is good to go. Gonna give it a shot tomorrow. Thanks for taking the time to help. Gratitude
Sent from my Nexus 7 using xda app-developers app
This is why I stick with the non-touch recovery.
Sent from my AOSP Android 4.1.1 Galaxy Nexus
Same mistake please help
Zeinzu said:
This is why I stick with the non-touch recovery.
Sent from my AOSP Android 4.1.1 Galaxy Nexus
Click to expand...
Click to collapse
It happened to me, somebody find any solution, I got recovery mode, but I cant do anything because the system cant mount sd card
diegonando22 said:
It happened to me, somebody find any solution, I got recovery mode, but I cant do anything because the system cant mount sd card
Click to expand...
Click to collapse
The trick is to follow these steps in the correct order:
1) flash Google image using fastboot
2)boot into stock android and transfer your files to phone.
3)boot into bootloader
4) flash cwm recovery using fastboot
5) boot into cwm recovery
6)wipe and flash the desired ROM
NB the thing is that cwm does not format your sdcard correctly if I am correct...so any sdcard format...will end up corrupting it.the only way is to flash back Google image and start as stated above.
Sent from my Galaxy Nexus using Tapatalk 2
Are you trying to press Mount sdcard in cwm?
There is no need to do so, just adb push ROM.zip /sdcard/
Beamed from my Maguro
Try:
CMW>mounts and storage
Mount data
adb push NAME OF ROM.zip /sdcard/
unmount data

[Q] Can't mount SD card from recovery

I've tryed reading other forums but I'm not familiar with some terminology. I seem to have wiped all data on my phone including internal storage and just want to get my phone back into working order. There are no roms I can flash that are on the phone and can't seem to figure out how to mount the SD card to put a rom on the phone. No idea what to do from here. Any and all help would be greatly appreciated!!!
You'll have to fastboot flash a stock Google ROM now.
Sent from my Galaxy Nexus using Tapatalk 2
How does one fastboot flash?
geoffcorey said:
You'll have to fastboot flash a stock Google ROM now.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
uh no. thats an option, but not the only option
OP,
you need to have ADB setup so you can push the rom in CWM.
adb push nameandlocationofzipofromfrompc /data/media/
Okay. How exactly do I go about doing that?
http://forum.xda-developers.com/showthread.php?t=1814266
Sent from my Galaxy Nexus using Tapatalk 2
Okay I've attempted setting up ADB but when I type in adb devices under the directory C:\Andriod\andriod-sdk-windows\platform-tools> it does not find my phone. I've tryed watching and looking at a few tutorials but everything leads me to a dead, confusing end. Please help
is your phone in cwm and do you have the adb driver installed?
temperature omisten
I have Team Win Recovery but yeah when I search for devices its in Recovery. I'm double checking on the drivers
Zepius said:
uh no. thats an option, but not the only option
Click to expand...
Click to collapse
From what the op said, he's fully wiped /data including /data/media. And he'll need to reboot a ROM to rebuild the sdcard stuff (at least that's how it's seemed from my experience) and I'm assuming he's wiped /system. So he's pretty hosed for the adb method.
If he just flashes a system.IMG, he should be able to fix his issue.
Sent from my Galaxy Nexus using Tapatalk 2
geoffcorey said:
From what the op said, he's fully wiped /data including /data/media. And he'll need to reboot a ROM to rebuild the sdcard stuff (at least that's how it's seemed from my experience) and I'm assuming he's wiped /system. So he's pretty hosed for the adb method.
If he just flashes a system.IMG, he should be able to fix his issue.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
custom recoveries have ADB built into them, so no he's not hosed for adb.
How exactly do I flash a system.IMG?
Zepius said:
custom recoveries have ADB built into them, so no he's not hosed for adb.
Click to expand...
Click to collapse
But the sdcard structure is erased, and at least from my experience, you need to boot into a ROM to properly fix sdcard. Unless twrp allows you to flash zips not located in /data/media then pushing a zip to /data is useless.
Sent from my Galaxy Nexus using Tapatalk 2
Help please?
geoffcorey said:
But the sdcard structure is erased, and at least from my experience, you need to boot into a ROM to properly fix sdcard. Unless twrp allows you to flash zips not located in /data/media then pushing a zip to /data is useless.
Click to expand...
Click to collapse
That is true IFF the userdata image is completely erased/formated, which I don't think can happen by using a custom recovery.
Regardless, it seems like he lost all his data, so he might as well flash it back to stock entirely.
xAmpharosx said:
Help please?
Click to expand...
Click to collapse
Look here.

[Solved] Flashed cyanogenmod, stuck on boot screen

Hey guys, I'm really new to rooting, flashing roms, and Android in general (I've used iOS since 2007 until a month ago... please have mercy on my soul). I have an AT&T GN2 that I would like to remove the bloatware from, hence why I began investigating rooting, but it's snowballed into my desire to try out some of the amazing ROMs that the developers here have produced. Since the Note 2 uses the Exynos 4, I rooted using the ExynosAbuse exploit and downloaded Titanium Backup to freeze the AT&T apps. So far, so good.
However, I am wanting to get into how to flash custom ROMs, like CyanogenMod, so I downloaded the CWM RomManager and flashed the CWM Recovery. I downloaded the CyanogenMod 10.1 release for the i317 model (here: http://forum.xda-developers.com/showthread.php?t=2024495) and the latest gApps package (for 4.2.1), and flashed both from CWM RomManager. When it rebooted, it showed the CyanogenMod boot screen, but it appears to be stuck there. I'm not sure what to do at this point, and am hoping I didn't brick my phone. Is there anything I can do at this point?
Use the three button combo to get into recovery, should be volume up, home, and power, and then wipe data or install a stock rooted ROM. That should help get you to a bootable stage.
Sent from my GT-N7105 using xda premium
Have you changed kernel???
Sent from my MT11i using xda app-developers app
id10terrordfw said:
Use the three button combo to get into recovery, should be volume up, home, and power, and then wipe data or install a stock rooted ROM. That should help get you to a bootable stage.
Sent from my GT-N7105 using xda premium
Click to expand...
Click to collapse
When I booted into recovery, I got the CWM recovery (which is a good thing, I suppose). I wiped the cache, and then installed the CM 10.1 zip and gApps zip. However, I think I still need to wipe data/factory reset, right?
So, at this point, I've:
1. Rooted the device using Chainfire's ExynosAbuse apk (super easy).
2. Installed RootChecker (success) and TI backup (froze bloatware apps).
3. Downloaded CWM RomManager.
4. Flashed CWM Recovery.
5. Downloaded CM 10.1 port for i317 (the AT&T GN2 model) and the 4.2.1 gApps zips.
6. Chose to install ROM from SD card in RomManager, added both CM 10.1 and gApps, and only selected install (did not wipe cache or user data at this point).
7. Received blue CyanogenMod boot screen... excited... but it remains on the boot screen. Sad face.
8. Removed battery to power the device off, placed battery back in, and then booted into recovery mode (CWM recovery).
9. Installed the CM 10.1 zip and gApps zip from SD, then wiped cache.
10. ???
Wipe data factory reset. Wipe cache/dalvik. Flash cm, flash gapps. Reboot
And dont use rom manager. Do it in recovery
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
Peleus16 said:
Have you changed kernel???
Sent from my MT11i using xda app-developers app
Click to expand...
Click to collapse
This is a great point, at no point op has mentioned kernel.
Sent from my SAMSUNG-SGH-I317 using xda premium
cdshepherd said:
Wipe data factory reset. Wipe cache/dalvik. Flash cm, flash gapps. Reboot
And dont use rom manager. Do it in recovery
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
Click to expand...
Click to collapse
Okay, booted into CMW recovery and performed all in that order. It booted! Hurrah. Only problem: the AOSP keyboard crashes constantly, making text input not possible. Sigh...
NowhereOutThere said:
Okay, booted into CMW recovery and performed all in that order. It booted! Hurrah. Only problem: the AOSP keyboard crashes constantly, making text input not possible. Sigh...
Click to expand...
Click to collapse
Boot back into recovery and fix permissions. That may help
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
cdshepherd said:
Boot back into recovery and fix permissions. That may help
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
Click to expand...
Click to collapse
Okay, I booted into recovery mode and fixed permissions... the keyboard still crashes, which means I can't type anything. Do I have to do anything with the kernel? I didn't wipe the dalvik cache, should I have done that?
EDIT: wiped dalvik cache, didn't do anything... apparently, this was a fine release so I'm not sure what could be causing the keyboard issues.
NowhereOutThere said:
Okay, I booted into recovery mode and fixed permissions... the keyboard still crashes, which means I can't type anything. Do I have to do anything with the kernel? I didn't wipe the dalvik cache, should I have done that?
EDIT: wiped dalvik cache, didn't do anything... apparently, this was a fine release so I'm not sure what could be causing the keyboard issues.
Click to expand...
Click to collapse
Im not exactly sure either. I have yet to flash cm. Read the cm thread?
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
cdshepherd said:
Im not exactly sure either. I have yet to flash cm. Read the cm thread?
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
Click to expand...
Click to collapse
So what ROM are you using? I just picked cyanogenmod because I've heard of it before, but I would like something that works. Is there a way to add another ROM onto the phone's storage, as I don't have an SD card... And since I can't type anything, it's not like I can download it from the phone's browser?
NowhereOutThere said:
So what ROM are you using? I just picked cyanogenmod because I've heard of it before, but I would like something that works. Is there a way to add another ROM onto the phone's storage, as I don't have an SD card... And since I can't type anything, it's not like I can download it from the phone's browser?
Click to expand...
Click to collapse
Plug it into your computer and see if you can mount your internal sd. If you can download a new rom to your computer and transfer it to sd. Did you make a backup before flashing?
Im just running stock rooted for now.
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
Well, I'm downloading CleanROM right now. I also downloaded another cm 10.1 file just in case, perhaps it's because I downloaded it on the mobile Chrome browser that I'm having problems? I also downloaded a kernel from the thread to help with performance. However, if I can't get these on the phone, it doesn't matter. Since I'm on a Mac, I have to use Android File Transfer, and it isn't registering my phone, unfortunately. I may have to go out and buy a cheap SD card and throw the files on there. It may not hurt to have one around, anyways.
Text yourself the download link to CleanRom. :thumbup:
And chrome shouldnt have made a difference. I take it you didnt make a nandroid backup before you flashed cm?
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
cdshepherd said:
Text yourself the download link to CleanRom. :thumbup:
And chrome shouldnt have made a difference. I take it you didnt make a nandroid backup before you flashed cm?
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
Click to expand...
Click to collapse
No... I thought that a backup of the original ROM was made when flashing CWM recovery, but I am a noob and that did not happen. Unfortunately, the browser doesn't even work! So I cannot text myself the link for the download. I should be able to flash a zip file from a micro sdhc, right?
Flash the right GAPPS, the crashing keyboard is a symptom of incorrect GAPPS. The December one is for 4.2.1 only, which is what CM10.1 is based on. Make sure you flash the right GAPPS with the right CM version.
Sent from my GT-N7105 using xda premium
The CM you linked in the OP is CM10 not 10.1, so you flashed the wrong GAPPs
ManelScout4Life said:
The CM you linked in the OP is CM10 not 10.1, so you flashed the wrong GAPPs
Click to expand...
Click to collapse
Oh... crap. Is there any way I can get the correct gApps on my phone? Ugh... I'm going to have access to a Windows machine today, so I can download the correct GAPPS and put them on my flash drive. I can still put it in USB debugging mode, but will the PC recognize it? Android File Transfer software for Mac does not recognize the phone any more, so I'm a bit limited in what I can do. Unless, like I said before, I can just pop in an SD card with the correct file.
Just grab goo manager from the market and dl the correct gapps to your phone. Either that or use your phones browser. No need for a pc. Boot in recovery, wipe cache and dalvik and flash correct gapps. Should be gtg.
Edit: just saw your browser isn't working. Goo manager's your best bet. Could always try another browser from the market as well. Good luck.
NowhereOutThere said:
Oh... crap. Is there any way I can get the correct gApps on my phone? Ugh... I'm going to have access to a Windows machine today, so I can download the correct GAPPS and put them on my flash drive. I can still put it in USB debugging mode, but will the PC recognize it? Android File Transfer software for Mac does not recognize the phone any more, so I'm a bit limited in what I can do. Unless, like I said before, I can just pop in an SD card with the correct file.
Click to expand...
Click to collapse
While in recovery plug usb into computer (make sure drivers are installed) in recovery menu navigate to mount usb storage. See if that works
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2

[Q] Drivers for windows

is there any drivers that will work with the SGH-t999 while in recovery? ive tried the samsung drivers and they dont work and also the google drivers.
i was not paying attention to what i was doing and formated the internal storage just after formating the system... so now i has no rom and no back up and twrp doesnt have a mass storage does any one know if CWM does?
xneolithicspx said:
is there any drivers that will work with the SGH-t999 while in recovery? ive tried the samsung drivers and they dont work and also the google drivers.
i was not paying attention to what i was doing and formated the internal storage just after formating the system... so now i has no rom and no back up and twrp doesnt have a mass storage does any one know if CWM does?
Click to expand...
Click to collapse
since you already wiped the system I would just odin back to stock
j_smith305 said:
since you already wiped the system I would just odin back to stock
Click to expand...
Click to collapse
that is the only option i see that will work so im waiting on a download but thats an hour and a half wait... was wondering if someone know of drivers that would work or if any recovery has a usb mount option
What if you unmounted external sd, take it out, copy your rom to it, put it back in phone and mount it. Not sure if this is possible, I have never tried, but I have unmounted and remounted my extsd while in recovery using TWRP. That's assuming you have an external sd. Good luck.
Sent from my AT100 using xda premium
I didn't have an external at the time. Phone is fixed though.
Sent from my SGH-T999 using XDA Premium HD app

[Q] well i'm dumb. help is appreciated.

i was getting sick of the 0 folder taking up space so i wanted to do a full wipe. i thought there was a way to wipe all data back to factory settings. i ended up wiping everything including the zips i had to install. the custom recovery still boots and i can get into fastboot/odin. the problem is the usb port is messed up and won't connect. i'm assuming i'm screwed and need to fix the usb port to do anything. i'm hoping there is somethign i don't know about that one of you does. thanks.
jbaruch76 said:
i was getting sick of the 0 folder taking up space so i wanted to do a full wipe. i thought there was a way to wipe all data back to factory settings. i ended up wiping everything including the zips i had to install. the custom recovery still boots and i can get into fastboot/odin. the problem is the usb port is messed up and won't connect. i'm assuming i'm screwed and need to fix the usb port to do anything. i'm hoping there is somethign i don't know about that one of you does. thanks.
Click to expand...
Click to collapse
So you can't just push the files using ADB?
What do you mean by USB is messed up?
Simplest thing would be either ADB. If you don't have drivers, install the WugFresh toolkit on your pc and flash a factory image!
Can u boot to the os? If so just download the files u wanted to flash with the phones browser.
Sent from my Galaxy Nexus using xda premium
Esteway.619 said:
Can u boot to the os? If so just download the files u wanted to flash with the phones browser.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
He has no OS installed. No USB port, no working system, you might be screwed here, OP. Best option IMO right now, if you're still under warranty, use it; if not, better get moving and replace that USB port.
Sent from my Nexus
i'm fairly sure no one cares, but i usually hate when ops don't follow up in their own threads.
so yes the usb port is funky there was some water damage. it does not charge and does not show up on the pc.
however, i got very lucky and for some reason the pc would recognize it in fastboot mode so i was able to install new recovery and custom rom.

Categories

Resources