Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,865 Members 44,836 Now Online
XDA Developers Android and Mobile Development Forum

How to wipe internal storage and install rom via ADB sideload using TWRP

Tip us?
 
jaj473
Old
(Last edited by jaj473; 18th December 2013 at 02:52 PM.)
#1  
jaj473's Avatar
Senior Member - OP
Thanks Meter 71
Posts: 100
Join Date: Jun 2012
Location: Vijayawada
Tutorial How to wipe internal storage and install rom via ADB sideload using TWRP

Recently i wanted to a full wipe including internal storage on my nexus 5 and since nexus 5 does not have external storage i found it a bit tricky to flash a rom again...
so,here im going to explain the easiest and simplest way to install a rom via adb sideload on nexus 5 using TWRP after a complete wipe

I am not responsible for bricked devices.
Please do some research if you have any concerns about adb sideload


BACKUP YOUR DATA FIRST


1.Download the file and place it on desktop Nexus5.zip

2.boot your device into recovery, wipe everything and connect it to pc and make sure drivers are installed. if not do as follows:
open device manager in control panel and if drivers are already installed, it shows something like ANDROID ADB INTERFACE,
if not,it shows some name with yellow symbol..
right click on it and select update drivers and select browse my computer and select let me pick..
click next > have disk>browse> and select the usb_drivers in downloaded file> open > open > ok
now it shows as ANDROID ADB INTERFACE..

3.In TWRP, select advanced and choose sideload option.

4.open command prompt and change the directory to where you downloaded the file ( easy if on desktop )
to open command prompt: win+r>cmd
for changing directory: cd desktop > cd nexus5

5.Now type adb devices in command prompt and it should show list of devices with your device code name and mode as sideload mode.
if not install drivers again.

6.copy your ROM zip file to the folder 'Nexus5' which you downloaded.

7.type adb sideload romzipname

8.now it starts copying and wait till it shows 100%. after copying it automatically starts installing.
when the installing is finished,it shows reboot system. reboot and njoy

Note: If stuck while flashing rom, hold power and volume down until it reboots to fastboot then go to recovery and repeat the same procedure.

Please hit the 'thanks' if this helped you.
The Following 5 Users Say Thank You to jaj473 For This Useful Post: [ Click to Expand ]
 
b_rangel29
Old
#2  
b_rangel29's Avatar
Senior Member
Thanks Meter 73
Posts: 282
Join Date: Jan 2014
Location: Houston
Quote:
Originally Posted by jaj473 View Post
Recently i wanted to a full wipe including internal storage on my nexus 5 and since nexus 5 does not have external storage i found it a bit tricky to flash a rom again...
so,here im going to explain the easiest and simplest way to install a rom via adb sideload on nexus 5 using TWRP after a complete wipe

I am not responsible for bricked devices.
Please do some research if you have any concerns about adb sideload


BACKUP YOUR DATA FIRST


1.Download the file and place it on desktop Attachment 2461684

2.boot your device into recovery, wipe everything and connect it to pc and make sure drivers are installed. if not do as follows:
open device manager in control panel and if drivers are already installed, it shows something like ANDROID ADB INTERFACE,
if not,it shows some name with yellow symbol..
right click on it and select update drivers and select browse my computer and select let me pick..
click next > have disk>browse> and select the usb_drivers in downloaded file> open > open > ok
now it shows as ANDROID ADB INTERFACE..

3.In TWRP, select advanced and choose sideload option.

4.open command prompt and change the directory to where you downloaded the file ( easy if on desktop )
to open command prompt: win+r>cmd
for changing directory: cd desktop > cd nexus5

5.Now type adb devices in command prompt and it should show list of devices with your device code name and mode as sideload mode.
if not install drivers again.

6.copy your ROM zip file to the folder 'Nexus5' which you downloaded.

7.type adb sideload romzipname

8.now it starts copying and wait till it shows 100%. after copying it automatically starts installing.
when the installing is finished,it shows reboot system. reboot and njoy

Note: If stuck while flashing rom, hold power and volume down until it reboots to fastboot then go to recovery and repeat the same procedure.

Please hit the 'thanks' if this helped you.
in the cmd prompt it keeps telling me it cannot read my rom file. any helpm please?
 
jaj473
Old
#3  
jaj473's Avatar
Senior Member - OP
Thanks Meter 71
Posts: 100
Join Date: Jun 2012
Location: Vijayawada
Quote:
Originally Posted by b_rangel29 View Post
in the cmd prompt it keeps telling me it cannot read my rom file. any helpm please?
Did you copy the rom file to Nexus5 folder?
 
LeoRex
Old
#4  
Senior Member
Thanks Meter 81
Posts: 222
Join Date: Nov 2012
Location: Leominster MA

 
DONATE TO ME
Why not use WugFresh's tool.... that thing does everything.

Sent from my Nexus 5 using Tapatalk
 
rootSU
Old
#5  
rootSU's Avatar
Senior Member
Thanks Meter 9780
Posts: 20,934
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
We try to discourage the use of toolkits as they remove the "ability" element or the "learning" aspect.

Doing things manually teaches the skills to get out of trouble later on.

Sent from my Nexus 5 using Tapatalk
Want to root/unroot? All important guides and info threads are contained within the "Sticky Roll-up" thread in General. Click the link below to get there!



Philz Touch Recovery with passkey secure lock

I do NOT reply to support queries over PM.
The Following 6 Users Say Thank You to rootSU For This Useful Post: [ Click to Expand ]
 
Private.Indo
Old
#6  
Member
Thanks Meter 4
Posts: 76
Join Date: Jan 2011
try to update usb driver. browse the file inside dowloaded file but it came result windows was unable to instal your nexus 5

i'm using windows 7

any sugestions?
Tags
adb sideload, complete wipe, sideload, wipe internal storage
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes