How to start fresh after trying lot of roms? - Nexus 4 Q&A, Help & Troubleshooting

I tried so many roms and kernels and i have found my best pair which are psx rom v6 and franco kernel r183. But i think my internal storage is a mess.
I know the procedure to start clean but i just want to make sure before i **** things up.
I want to wipe the internal storage in my phone, is this the correct way?
1. Boot into recovery.
2. Wipe everything including internal storage.
3. In twrp there is an option to wipe usb otg, is it needed?
4. Sideload or push rom zip, gapps, kernel and superSU 1.65 zip files.
5. Reboot again in recovery and start the procedure.
Please assist me. Thanks.
Sent from my Nexus 4 using Tapatalk 4

Yep, looks like everything is right. One thing though: you don't need to flash the supersu zip if the ROM is already rooted. (And the majority of custom ROMs are rooted)
Sent using xda-developers app

Chromium_ said:
Yep, looks like everything is right. One thing though: you don't need to flash the supersu zip if the ROM is already rooted. (And the majority of custom ROMs are rooted)
Sent using xda-developers app
Click to expand...
Click to collapse
Yes it stays rooted if you dont flash other custom kernel, but if you do, sometimes it breaks root and even twrp asking you to swipe to install root. At least it happened when i flash matr1x or even franco.
Sent from my Nexus 7 using Tapatalk 4

Agree with your first post, should be no problem. Although in TWRP there is a big button that said Format DATA, that does a complete wipe including the internal storage, so you don't have to manually select each partition.
Also give Neo kernel a try.

eksasol said:
Agree with your first post, should be no problem. Although in TWRP there is a big button that said Format DATA, that does a complete wipe including the internal storage, so you don't have to manually select each partition.
Also give Neo kernel a try.
Click to expand...
Click to collapse
I'll try neo first before doing this clean fresh system, but i dont think there is any other kernel that will make me jump ship. Performance and battery life is really balanced with franco's r183 nightly now.
Sent from my Nexus 7 using Tapatalk 4

eksasol said:
Agree with your first post, should be no problem. Although in TWRP there is a big button that said Format DATA, that does a complete wipe including the internal storage, so you don't have to manually select each partition.
Also give Neo kernel a try.
Click to expand...
Click to collapse
I think im sticking with franco, because neo gave me antutu result 20917 while franco gave me 21450.
Numbers not important but in opengl 2.0 test in antutu, neo gave me lower fps and i can see choppines while franco's is smooth. For real world usage, i feel tapatalk app is stuttering when swiping right to open the left bar while it's really smooth in franco. Thanks though.
Sent from my Nexus 4 using Tapatalk 4

Related

[Zip] Flashable wipe zip for new ROM install

I have seen people say before that you should wipe partitions a few times to ensure they are clean, so I made this zip for myself to make things quick and easy. This zip wipes boot, system, data and cache 5 times each. Whether there is truly a benefit to this I don't really know but I would rather just use it anyway as it is extremely quick.
I can use this.. Thanks
Sent from my Google Nexus S 4G running brainmaster's MIUI using XDA Premium App
Will this wipe delvik?
yes it wipes everything. It's suited for a fresh clean rom install. If you flash this zip you must flash your new rom or your phone won't boot.
Sent from my Nexus S using xda premium
NicholasQ said:
yes it wipes everything. It's suited for a fresh clean rom install. If you flash this zip you must flash your new rom or your phone won't boot.
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
Awesome! Thanks.
NicholasQ said:
I have seen people say before that you should wipe partitions a few times to ensure they are clean, so I made this zip for myself to make things quick and easy. This zip wipes boot, system, data and cache 5 times each. Whether there is truly a benefit to this I don't really know but I would rather just use it anyway as it is extremely quick.
Click to expand...
Click to collapse
Should this script work satisfactorily with Galaxy Note N7000?
Thanks,
Phil.
Thanks this is really helpful
Sent from my Nexus S 4G using xda premium
NicholasQ said:
I have seen people say before that you should wipe partitions a few times to ensure they are clean, so I made this zip for myself to make things quick and easy. This zip wipes boot, system, data and cache 5 times each. Whether there is truly a benefit to this I don't really know but I would rather just use it anyway as it is extremely quick.
Click to expand...
Click to collapse
That is exactly what I was looking for. Thanks a lot.
Hi guys
I am a noob to flashing rom's, I am running paranoidandroid 1.99. I followed the guide wiped everything (once) and installed Zip and Gapps,
I am running Matr1x Kernal on ONDEMAND, But i am lucky to get 4 hours out of the battery with normal useage and today alone it has restarted and rebooted several times.
Gonna try this wipe zip and hope that solves my problems.
Cheers:cyclops:

Which recovery do you use? CWM or TWRP?

Which do you use and why?
I would love to be able to use 4ext. But Nexus 4 seems to be on low priority now.
I'm using the stock recovery but when I need to backup or flash something I boot into CWM.
Sent from my Nexus 4 using Tapatalk 2
KyraOfFire said:
I would love to be able to use 4ext. But Nexus 4 seems to be on low priority now.
Click to expand...
Click to collapse
Never used it before. Why do you prefer it?
decepticon said:
I'm using the stock recovery but when I need to backup or flash something I boot into CWM.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Seems easier to just have it on the phone. Are you doing this so you can get OTA updates?
KyraOfFire said:
I would love to be able to use 4ext. But Nexus 4 seems to be on low priority now.
Click to expand...
Click to collapse
I couldn't agree more, i put in a request for max to port it to this device ages ago, when my back ordered N4 eventually drops through the door, I'll get back on his case as it was without doubt the greatest recovery ever (all credit to cwm where due obviously)
4 ext, had the ability to stack multiple complex wipe, flash, restore and backup operations into one step greatly simplifying the flashing process, was also rock sold in my experience.
So until then will monitor this thread
Sywepd form my DsereiS
I don't have my nexus yet but on my gs2 I'm using twrp. I had cwm touch and liked it, it worked pretty good. But I like the twrp format better and I think it's easier to navigate. Also you could name your backups on twrp unlike cwm. Last thing is cwm I usually have to wipe and flash wiping scripts like darkside for some roms and twrp you don't have to.
Using CWM at the moment but will be switching to TWRP soon once I get back home to my computer.
Edit: Oh now I see that the goo manager method is working, will be installing TWRP tonight =)
Sent from my Nexus 4 using xda app-developers app
3bs11 said:
Never used it before. Why do you prefer it?
Seems easier to just have it on the phone. Are you doing this so you can get OTA updates?
Click to expand...
Click to collapse
Yea. I rarely need recovery access so its not a hassle for me.
Sent from my Nexus 4 using Tapatalk 2
ben_pyett said:
I couldn't agree more, i put in a request for max to port it to this device ages ago, when my back ordered N4 eventually drops through the door, I'll get back on his case as it was without doubt the greatest recovery ever (all credit to cwm where due obviously)
4 ext, had the ability to stack multiple complex wipe, flash, restore and backup operations into one step greatly simplifying the flashing process, was also rock sold in my experience.
So until then will monitor this thread
Sywepd form my DsereiS
Click to expand...
Click to collapse
You wouldn't happen to know where we stand on getting 4ext support would you? I'd only used it a few times on my gf's phone and loved it instantly... For now I'm still stuck on CWMR, but would love to switch over!
ben_pyett said:
I couldn't agree more, i put in a request for max to port it to this device ages ago, when my back ordered N4 eventually drops through the door, I'll get back on his case as it was without doubt the greatest recovery ever (all credit to cwm where due obviously)
4 ext, had the ability to stack multiple complex wipe, flash, restore and backup operations into one step greatly simplifying the flashing process, was also rock sold in my experience.
So until then will monitor this thread
Sywepd form my DsereiS
Click to expand...
Click to collapse
twrp has the same ability
simms22 said:
twrp has the same ability
Click to expand...
Click to collapse
I think he meant that there is a "wipe all (except SD)" button that includes the boot partition. It's quite useful. TWRP doesn't have that.
I used 4EXT recovery touch on my Glacier. Purchased the updater. Great recovery. Used all the same folders as cwm, too. All apps designed to work with cwm worked with it, too.
CWM works flawlessly so i see no need to switch. But originally when deciding between the two, TWRP had overheating issues so with CWM I went.
nightf0x said:
CWM works flawlessly so i see no need to switch. But originally when deciding between the two, TWRP had overheating issues so with CWM I went.
Click to expand...
Click to collapse
Fixed with a kernel change. I've used both. I see cwm being like iOS. It's simplicity makes it easy to maintain. The core features everyone NEEDS are there. TWRP is more feature packed, more on the bleeding edge. More features means more chances for bugs. But that's the price you pay to be on the bleeding edge.
TWRP...FTW!
The 2 reasons I use TWRP
1. Flash multiple things at once
2. Set backup name
Sent from my Nexus 4 using xda premium
TWRP, I'd rather use touch and CWM touch is more of a hassle to install unless you pay.
TWRP all the way for my N4!
CWM for one reason and one reason only: stability.
threeclaws said:
TWRP, I'd rather use touch and CWM touch is more of a hassle to install unless you pay.
Click to expand...
Click to collapse
Huh?
http://www.clockworkmod.com/rommanager
http://builder.clockworkmod.com/
Edit: I guess when there's a new version of your recovery every couple weeks using fastboot might get annoying.
CWM! The "devs" of trwp better become themers. Twrp is totally unreliable.
Sent from my Nexus 4 using xda premium
I've never had a single problem with TWRP, I have no idea why some people think it's unstable
My N4 is unlocked and rooted, but using factory recovery so that it installs it's own OTA's when it gets them. I have to manually update the tablets in my house and it's getting to be a hassle(and I'm lazy).

Possible Fix For 4.1.2 Battery Drain

Hi guys
I came across this thread by "galchristian" in the Verizon SIII subsection, and thought I would share it here in the hope it might help someone. I myself haven't tried it yet as I'm at work, but I will be later on or tomorrow. According to the OP though, this seems to sort out battery drain issues for Jelly Bean.
Here is the original thread: http://forum.xda-developers.com/showthread.php?t=1976666
"For all of you who have a JellyBean ROM already installed and have the battery drain skip to Step.8
1. Download your JellyBean ROM of choice
2. Place on SD card
3. MAKE A NANDROID BACKUP of your current ROM
4. Wipe data, cache and dalvik cache
5. Select ROM of choice from the SD card (Most ROM's these days come with an Aroma-Installer so remember what you picked to be installed and what not.)
6. Boot device
7. Set up the phone and let it restore all apps. Set everything you will use (facebook, e-mail, flipboard etc) -then ReBoot
8. I used TitaniumBackup and removed "Media Storage" and I also removed "Downloads 4.1.1"
9. ReBoot into Recovery & wipe cache and dalvik cache
10.Dirty-Flash your ROM of choice which you chose @ Step.5 and chose the same features if possible.
11.Install your prefered Kernel optional (I personally chose Ktoosez 3.0.49 just because it gave me good battery life)
12.Wipe cache and dalvik the last time and also fix permissions.
13.ReBoot the last time and enjoy!"
Please share your thoughts and feedback as I'm sure a lot of us are very peed off with losing 20% battery overnight.
Cheers
My first question will be, how can I convert a .tar ROM to a suitable format to be flashed via my SD rather than through Odin? Unless, of course, flashing a ROM via odin without wiping first is exactly the same as flashing a "dirty" ROM via recovery?
Thanks to OP. But this guide is something like how to drive your Ferrari on 6th gear without mentioning how to start it! What is 'dirty flash'? How will you flash the ROM, Mobile Odin or PC Odin or what? Also not everyone knows what Aroma installer is.
Besides, I don't think even after doing this battery life could improve. Imo, if 4.1.2 had good backup then it'll be just present there normally, like 4.1.1.
'Swyped' from my GT-N7100
jujuburi said:
Thanks to OP. But this guide is something like how to drive your Ferrari on 6th gear without mentioning how to start it! What is 'dirty flash'? How will you flash the ROM, Mobile Odin or PC Odin or what? Also not everyone knows what Aroma installer is.
Besides, I don't think even after doing this battery life could improve. Imo, if 4.1.2 had good backup then it'll be just present there normally, like 4.1.1.
'Swyped' from my GT-N7100
Click to expand...
Click to collapse
Dirty flash is flashing the rom over your current one without wiping first.
From what I deduced I assumed the OP is saying to flash via your SD card and not via odin. Also that aroma is not necessary, but if you use it then to keep all settings the same.
If any newbies have any question we'll try and help them, but I don't think it terribly overcomplicated for most people on this site.
I am not sure whether this works as I haven't yet tried it, but the OP certainly seems to think it does.
fade2black101 said:
Dirty flash is flashing the rom over your current one without wiping first.
From what I deduced I assumed the OP is saying to flash via your SD card and not via odin. Also that aroma is not necessary, but if you use it then to keep all settings the same.
If any newbies have any question we'll try and help them, but I don't think it terribly overcomplicated for most people on this site.
I am not sure whether this works as I haven't yet tried it, but the OP certainly seems to think it does.
Click to expand...
Click to collapse
The op says "POSSIBLE" fix
Sent from my GT-N7100 using xda premium
I'm use to wipe /system before a new flash. Have i right to do that?
Sent from my GT-N7100 using xda app-developers app
KyleDevlin12 said:
The op says "POSSIBLE" fix
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
I said possible fix, the original op said it worked for him 4 times.
igol24 said:
I'm use to wipe /system before a new flash. Have i right to do that?
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Well for an upgrade there is basically no meaning doing a wipe, but if you want to make sure and wanna do a wipe anyway, then you should do it after flashing the ROM, not before.
fade2black101 said:
I said possible fix, the original op said it worked for him 4 times.
Click to expand...
Click to collapse
Sent from my GT-N7100 using xda premium
So what consequences will removing media storage and downloads have?
Guys first thing first about battery draining is your mobile network not configure properly.. just realize it after I install configuration message from provider.. I drain 1% all over night.. and get 2day standby battery with medium usage.. 10 hours screen.. and leaving the phone with charging all night is weaken your battery.. first time I forget to unplug and everything change.. battery drain 5% after sleep 6hours..and only last for 1 day with medium usage.. 6hours on screen now I dont know how to make it back like it was.. using note for 3weeks anyone knows how to increase batt life without changing rom or kernel ?? Im still runing stock 4.1.1
Sent from my GT-N7100 using Tapatalk 2

[Help] Just formated everything

As the title says... i just formated my ****ing whole system
wanted to change roms and used this crazy complete cleanup script
didnt know that it would format EVERYTHING
so now im standing here with a phone with only a twrp recovery... no system no backups ... nothing
i somehow need to push a rom to my device and install it
problem is im totally blank when it comes to these adb shell things
could someone give me an advice how to get a file to my phone?
nexus toolkit doesnt work
So, assuming you can mount to your computer, download a ROM. Try the chemistry ROM? Or the stock rooted one. Whichever. Got to recovery, find the ROM and install it.
This is assuming you can mount with twrp. (Its in mounts)
In front of a live studio audience
If it won't mount, use adb to push the zip(s) to your internal storage.
it does not mount... and i somehow cant get adb to work
Try adb side load in twrp
Edit: its in the advanced menu.
Sent from my Nexus 4 using xda premium
ok did it
extracted system and user data from factory image and pushed it
managed to reebot
MoooN said:
ok did it
extracted system and user data from factory image and pushed it
managed to reebot
Click to expand...
Click to collapse
How did you get it to mount?
Sent from my Nexus 4 using xda premium
Don't use a wipe script next time...
Even better, don't wipe at all. Just do a proper backup and dirtyflash.
Sent from my Nexus 4 using XDA Premium HD app
HerrKuk said:
Don't use a wipe script next time...
Even better, don't wipe at all. Just do a proper backup and dirtyflash.
Sent from my Nexus 4 using XDA Premium HD app
Click to expand...
Click to collapse
Wow. Worst advice ever.
Next time, do a factory reset and wipe system. That'll do you and keep you from having those little issues that are caused by doing dirty flashes. Sometimes they work just fine. Others, they give you hell. It's one thing if you're upgrading between builds of the same ROM. Even then, though, it's a risk.
estallings15 said:
Wow. Worst advice ever.
Next time, do a factory reset and wipe system. That'll do you and keep you from having those little issues that are caused by doing dirty flashes. Sometimes they work just fine. Others, they give you hell. It's one thing if you're upgrading between builds of the same ROM. Even then, though, it's a risk.
Click to expand...
Click to collapse
Yeah, wiping solved OPs problem...
Oh... Wait a second..
Sent from my Nexus 4 using XDA Premium HD app
HerrKuk said:
Yeah, wiping solved OPs problem...
Oh... Wait a second..
Sent from my Nexus 4 using XDA Premium HD app
Click to expand...
Click to collapse
That's like saying never ever drive because if you steer into a pole, it's bad. Don't steer into things and it's fine. If the OP learns to correctly wipe, this won't be an issue ever again.
Don't wipe system....
Factory Reset/Cache/Dalvik -> Flash ROM.
Sent from my Trinity powered Nexus 4
I wipe cache, dalvik, factory reset, then wipe system every time I change Roms. I've done this for years on every android I've had and never had a problem. Don't wipe internal storage though.
Sent from my Nexus 4 using xda premium
309041291a said:
Don't wipe system....
Factory Reset/Cache/Dalvik -> Flash ROM.
Sent from my Trinity powered Nexus 4
Click to expand...
Click to collapse
Always wipe system. That's where the most often overlooked errors come from.
Originally Posted by 309041291a<br />
Don't wipe system....<br />
<br />
Factory Reset/Cache/Dalvik -> Flash ROM.<br />
<br />
Sent from my Trinity powered Nexus 4
Click to expand...
Click to collapse
<br />
<br />
Always wipe system. That's where the most often overlooked errors come from.
Click to expand...
Click to collapse
K well I've wiped system twice and I've lost everything on my SD.....
Sent from my Trinity powered Nexus 4
309041291a said:
K well I've wiped system twice and I've lost everything on my SD.....
Sent from my Trinity powered Nexus 4
Click to expand...
Click to collapse
On what? If I wipe data on TWRP I lose everything on SD. Wiping system wipes the system partition. There are many reasons I don't use CWM, poor backup locations and inefficient menu layouts are among them. If wiping system wipes the SD, I'll add that to the list.
TWRP all the way! Way better than CWM in my opinion.
Sent from my Nexus 4 using xda premium
lyall29 said:
TWRP all the way! Way better than CWM in my opinion.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Agreed. I would sacrifice an infant to get 4EXT Recovery Touch on thus baby. It has a "Format all partitions (except SD card)" option that is amazeballs.
ive done this before. to fix it you need to download the stock google nexus 4 image. google has taken it down from its webste but there are people here in the forums who have uploaded it to help and have other people download it.
now download and install the nexus 4 root tool kit
to fix your phone your are going to put your phone into fastboot mode and connect it to your pc.
then open up the nexus 4 root tool kit program.
next find the google nexus 4 toolkit folder and go into it. (mine saved in my local disk C)
go into the "put google factory image here" folder and drop the google factory image in there.
once thats done go back into the nexus 4 root toolkit program and press number 9 (download, Extract + flash Facotry image"
since you already downloaded it and put it in the factory image folder you're going to click option number 2 (flash google image)
then type yes and let it do its thing
make sure that the factory image that you download is in a .tgz or .tar file or else it wont work
I hope that helps!!!!

[Q] Switching ROMs

I have a quick question. When switching ROMs should I also in addition to factory reset, also perform a system/wipe to wipe the already installed custom ROM? Thanks.
It is generally unnecessary, but not a bad idea to do so. Most devs have their updater script format /system, but you'll find the occasional one that omits that one line.
Sent from my Nexus 7 using Tapatalk HD
Alright. So I shouldn't worry about performing system wipe?
Sent from my Nexus 7 using xda app-developers app
tsmith9191 said:
Alright. So I shouldn't worry about performing system wipe?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I think it's better to wipe the system. As I've faced many kind of froblem because of a dirty flash. And I've seen many bug reports on several ROM thread and it just came out that it's not the ROM but the dirty flash is causing the problem. It will probably take 1-2hr to get back to the previous position so what's the big didfference??
____________________________________________
Please press the thanks button if you find this helpful.
ashik992 said:
I think it's better to wipe the system. As I've faced many kind of froblem because of a dirty flash. And I've seen many bug reports on several ROM thread and it just came out that it's not the ROM but the dirty flash is causing the problem. It will probably take 1-2hr to get back to the previous position so what's the big didfference??
____________________________________________
Please press the thanks button if you find this helpful.
Click to expand...
Click to collapse
OK. So when switching ROMs I should perform factory restore, wipe all caches, as well as system/wipe to erase the ROM currently installed. I have done it that way before but I always get nervous when I wipe system, cause now it has no ROM installed at all and I don't want anything to happen in that case. But thanks for the quick reply
Sent from my Nexus 7 using xda app-developers app
tsmith9191 said:
OK. So when switching ROMs I should perform factory restore, wipe all caches, as well as system/wipe to erase the ROM currently installed. I have done it that way before but I always get nervous when I wipe system, cause now it has no ROM installed at all and I don't want anything to happen in that case. But thanks for the quick reply
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
What could happen?? Hardbrick?? A little chance..... Here's what I think when I do something risky. Just Think like I don't have any device if I can get this device back it's bonus for me.
You can always flash a rom whatever it has one or not untill your device can be booted into fastboot. So don't be afraid if something bad(!?) happens and you can boot into fastboot mode. Once I even had no boot just the fastboot it took less than 5 min to get a system on it.
And dirty flash is always an option. I myself had and seen many people having problems with it.
_________________________________________
Don't just say thank, there is a button for thnking.
Clean is always the best! But always make a backup before the wipe process!
Wipe:
/system
/userdata
/.android-secure
/dalvik-cache
/cache

Categories

Resources