How to flash custom ROM from wiped clean nexus7 - Nexus 7 Q&A, Help & Troubleshooting

I want to completely wipe/format all of my nexus and then install a custom ROM without installing the stock 4.2 rom and then having to download the custom ROM and installing it with cwm if possible. I have installed lots of ROMs and it feels like the kernels are not making much difference and would like to do a fresh start now I know the ROM/kernel I want. I also have never been able to install a recovery from the nexus tool kit and wonder if wugs is better.
Just trying to save a step.
Sent from my Nexus 7 using Tapatalk 2

http://forum.xda-developers.com/showthread.php?t=1907796
Just do these steps :
Code:
> fastboot erase boot
> fastboot erase cache
> fastboot erase recovery
> fastboot erase system
> fastboot erase userdata
> fastboot flash bootloader bootloader-grouper-4.13.img
> fastboot reboot-bootloader
Then install TWRP : http://teamw.in/project/twrp2/103
Then use "adb push" command to push your rom to your device using adb, then install it using TWRP

Thank you. That is what I want but never read that thread because it says factory ROM.
Sent from my Nexus 7 using Tapatalk 2

I'm sure it works well with a stock install but I had two problems I could not fix. First was twrp wanted a password and second even after I redid everything but with cwm the flash said it could not mount any partition.
Sent from my Nexus 7 using Tapatalk 2

You have to be booted into android in order to ADB push correct? So how would this work from a wiped device?

Figured out how
I figured out how to do this. I got sick of having to install stock after a complete wipe and format only to immediately flash a custom rom. The only reason I was flashing stock was to put the rom zip on my SD. After wiping everything I re installed TWRP with fastboot and boot into recovery. TWRP wants a password to mount data. I just pushed cancel and was let into the main menu. Still couldn't mount data until I reboot back into recovery from recovery. Once I did that data was auto mounted. I choose ADB sideload. Then had to open a terminal on my linux machine in the dir. that contained my rom. Then su in terminal and do command- adb sideload /path/to/rom.zip. It would only work with su otherwise I got a permission error. After it pushed over I just flashed it from TWRP and boot up like normal.

Thank you. That should work. I didn't try a reboot after twrp install.
Sent from my Nexus 7 using Tapatalk 2

k29er said:
I want to completely wipe/format all of my nexus and then install a custom ROM without installing the stock 4.2 rom and then having to download the custom ROM and installing it with cwm if possible. I have installed lots of ROMs and it feels like the kernels are not making much difference and would like to do a fresh start now I know the ROM/kernel I want. I also have never been able to install a recovery from the nexus tool kit and wonder if wugs is better.
Just trying to save a step.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
I use TWRP its way better then CWM. Very simple you can also get it through root capabilites with a toolkit. im up to the latest Jelly bean software then rooted and installed with toolkit. Sideload your rom clean delvik cache and regular cache do factory reset and instal rom and enjoy :laugh:

Related

Need help with adb sideload

I was going to flash a rom using twrp. Before I got to flash it I wiped the internal storage. Now I have nothing on my tablet. Can I use the adb sideload feature in twrp to push a rom on the device? If so can you explain how? I'm new at this so I do think know the commands. Thank you for your help.
I'm in the same boat as you
Sort of in the same boat as you. Except I'm having trouble with ADB sideload and Fastboot. But for you to try and fix your issue go here: http://forum.xda-developers.com/showthread.php?t=2001868
That toolkit will allow you to flash either a Google stock ROM or a backup using fastboot. If that doesn't work then reply back to this thread.
I also did the same thing as you did, I was able to side load cyanogen mod on the nexus
Just go into recovery and then into adbsideload option,make sure device is connected to PC and adbfastboot drivers are installed,then while your recovery is in adbsideload mode, type in command by opening command prompt in platform tools in sdk 'adb sideload filename.zip'
Where filename is the name of the rom you downloaded,then the ROM will be pushed and twrp will flash it automatically
Make sure you reset the device(factory reset) from twrp first,otherwise ROM will not be flashed
Sent from my Nexus 7 using xda app-developers app
You can also use an OTG/memory stick. TWRP reads them just fine. I've also used an SD card & reader. Load your rom, kernel, gapps & connect. Then you can flash all right from your memory-source. I find it much more convenient.
Sent from my Nexus 10 using Tapatalk 2

How to install roms and gapps via sideload CWM

Hi sometimes I like to wipe all my Nexus 4 but I usually flash the stock image from google and after i had to reflash Clockworkmod recovery etc for install another Rom, i know that i can flash the partition from the nexus via adb typing fastboot flash userdata userdata.img but afterall i dont have any zip in my nexus (obviously) so i would like to know how to flash a rom.zip and gapps.zip and a kernel.zip without cutting and pasting in the memory of the nexus via adb from my pc computer .
thanks in advance!
alvin182 said:
Hi sometimes I like to wipe all my Nexus 4 but I usually flash the stock image from google and after i had to reflash Clockworkmod recovery etc for install another Rom, i know that i can flash the partition from the nexus via adb typing fastboot flash userdata userdata.img but afterall i dont have any zip in my nexus (obviously) so i would like to know how to flash a rom.zip and gapps.zip and a kernel.zip without cutting and pasting in the memory of the nexus via adb from my pc computer .
thanks in advance!
Click to expand...
Click to collapse
Install the ROM you want with kernel. Add nothing else and do a nandroid backup. Move backup to PC. Then when you reflash everything just transfer over cwm and backup.
Sent from my Nexus 4 using xda app-developers app

[Q] Can't remove multirom

I have a Nexus 7 WiFi 16GB running stock rooted and 2 custom roms via multiboot.
The custom roms stoped booting and now if you select any rom in multiboot it just boots the stock.
I tried to remove multirom (by reflashing boot.img to the device) and there were no errors but multirom remains.
I then thought I would reflash everything, bootloader, recovery, system the works. All of these processes reported 0 errors but the systems remains exactly the same.
I have also noticed that if I make any changes to the stock rom (install an app or change a setting) when the device restarts it's not there. It's as if the system isn't persistent.
Can anyone help???
Almost sounds like something in the file system got switched to read only.
What are you using to flash the device?
When I was playing with Multirom I think all I had to flash using Wug's was the stock kernel found under advanced options in order to remove multiboot.
The whole thing about making changes to the system that fail to persist is almost like root is borked or the bootloader is locked.
Does anyone know if its even possible to lock the bootloader once rooted?
KMDDesign said:
I have a Nexus 7 WiFi 16GB running stock rooted and 2 custom roms via multiboot.
The custom roms stoped booting and now if you select any rom in multiboot it just boots the stock.
I tried to remove multirom (by reflashing boot.img to the device) and there were no errors but multirom remains.
I then thought I would reflash everything, bootloader, recovery, system the works. All of these processes reported 0 errors but the systems remains exactly the same.
I have also noticed that if I make any changes to the stock rom (install an app or change a setting) when the device restarts it's not there. It's as if the system isn't persistent.
Can anyone help???
Click to expand...
Click to collapse
Did you read the OP?????
4. Uninstaller
MultiROM uninstaller: multirom_uninstaller.zip
Flash this ZIP file to remove MultiROM from your device. It will erase all secondary ROMs. If you don't want MultiROM menus in recovery, re-flash clean TWRP, but it is not needed - those menus don't do anything if MultiROM is not installed.
Could've sworn there was an Q&A section
WooHooGuy said:
Almost sounds like something in the file system got switched to read only.
What are you using to flash the device?
When I was playing with Multirom I think all I had to flash using Wug's was the stock kernel found under advanced options in order to remove multiboot.
The whole thing about making changes to the system that fail to persist is almost like root is borked or the bootloader is locked.
Does anyone know if its even possible to lock the bootloader once rooted?
Click to expand...
Click to collapse
I have tryed flashing from commandline with fastboot as well as using both Wug's and Nexus7 Toolkit. I have tried flashing the stock kernel with Wug's and no change. The bootloader certainly says unlocked.
bonzer2u said:
Did you read the OP?????
4. Uninstaller
MultiROM uninstaller: multirom_uninstaller.zip
Flash this ZIP file to remove MultiROM from your device. It will erase all secondary ROMs. If you don't want MultiROM menus in recovery, re-flash clean TWRP, but it is not needed - those menus don't do anything if MultiROM is not installed.
Click to expand...
Click to collapse
Tried that first
-PiLoT- said:
Could've sworn there was an Q&A section
Click to expand...
Click to collapse
Apologies, it was late, I was flustrated and I didn't see... if I knew how to move it I would.
I had the same problem trying to remove multirom, it just wouldn't budge!! I found the best way was to just erase everything on the tablet with fastboot commands and then just re-flash a stock image of Jellybean.
There's nothing like dusting off the old cobwebs once in a while to get that out of the box feel again!
Sent from my all singing and dancing Nexus 7 using xda app-developers app
mr_tris said:
I had the same problem trying to remove multirom, it just wouldn't budge!! I found the best way was to just erase everything on the tablet with fastboot commands and then just re-flash a stock image of Jellybean.
There's nothing like dusting off the old cobwebs once in a while to get that out of the box feel again!
Sent from my all singing and dancing Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Exactly what im trying to do.
I have ran:
fastboot erase system
fastboot erase userdata
fastboot erase cache
all with no errors but nothing was actually erased?!?
Start again but follow it in this order. But you also need to flash a stock ROM too. Your only doing half a job.
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
fastboot -w update stockromfilename.zip
Sent from my Nexus 7 using xda app-developers app

HELP Unable to Decrypt Nexus 4 4.3 rooted

I encrypted my nexus 4 a couple of months ago, and I had no issues until I wanted to flash a custom rom. I installed a custom recovery (Clockwork Recovery), and tried to wipe the cache, find the zip file, but it said that it was unable to mount sdcard. I figured that this was due to the encryption, and tried to factory reset the phone. I was unable to do so through the recovery and through the settings app. I followed instructions from the following thread to flash a stock image: http://forum.xda-developers.com/showthread.php?t=2010312 , which was unsuccessful. In the end, I still have all my data, and the encryption remains. Any ideas how to get rid of it?
When running encryption you have to side load everything. Try to side load the ROM you want. if that dose not work download factory image and fast boot it over.
illru said:
When running encryption you have to side load everything. Try to side load the ROM you want. if that dose not work download factory image and fast boot it over.
Click to expand...
Click to collapse
Could you give me directinos on how to do this? Or a link to another thread or video?
SpectralFlames said:
Could you give me directinos on how to do this? Or a link to another thread or video?
Click to expand...
Click to collapse
I believe to sideload you use adb and place the zip you want in the adb's folder, plug your phone into recovery, and use the command adb sideload (zip file name) or something or the sort and you should be good to go, have you tried
fastboot erase system
data
cahc?
Sent from my Nexus 4 using Tapatalk
IRX120 said:
I believe to sideload you use adb and place the zip you want in the adb's folder, plug your phone into recovery, and use the command adb sideload (zip file name) or something or the sort and you should be good to go, have you tried
fastboot erase system
data
cahc?
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
When in recovery it says that it can't mount sdcard so it doesnt allow me to do anything through recovery. That was the main issue when trying to flash a rom

I think it's a bootloop

I wanted to do factory reset on my rooted nexus 4 , using CWM. It didn;t work (all files stayed) so I went to advanced and formated everything that was there. Now my phone doesn't start (the screen with "google" is on.
I can go to recovery or fastboot but in fastboot adb or anything can't see my device.
Is there anything I can do?
Yes, you wiped your os. Either adb push a rom zip onto your sdcard and flash in recovery or adb sideload a rom zip in recovery
Sent from my Nexus 5 using XDA Free mobile app
Should I sideload zip or tgz?
I tried zip, it says: installation aborted.
I tried tgz, it says e: can't open /tmp/update.zip (bad)
I also tried pushing, but installation aborted as well
If you're trying to get back to stock then flash individual partitions using fastboot.
This guide should help you out .
http://forum.xda-developers.com/nexus-4/general/how-to-how-to-flash-factory-image-t2010312
If you want to flash a custom ROM follow the steps in the previous post.
Doesn't work, like I said, adb can't see my nexus in bootloader.
Before I started doing anything I'd made a backup. Maybe I can restore it now somehow?
EDIT: @up, it worked, tkanks a lot
szajbuz said:
Doesn't work, like I said, adb can't see my nexus in bootloader.
Before I started doing anything I'd made a backup. Maybe I can restore it now somehow?
added: wait, smoething is happening
Click to expand...
Click to collapse
If your in the boot loader you need to use fastboot devices, not adb devices
Sent from my Nexus 5 using XDA Free mobile app
@up
yeah but I realized that after my previous post
If you are on bootloader you van use nexus foot toolkit for flash stock with bricked option

Categories

Resources