order for flashing zips? - Nexus 7 Q&A, Help & Troubleshooting

I'm new to flashing custom kernels, but what I would like to do is install PA Beta 8 with Gapps + Leankernel / Minimalistic kernel.
What order do I take?
1. Wipe Data / Cache
2. Flash PA
3. Flash Kernel
4. Flash Gapps
I plan to also backup my stuff and move it off the SD, and wipe the SD before starting so I can clean up my SD directory structure.
Anyone see something I'm missing/ should do different?
Thanks

1. Wipe data
2. Wipe cache
3. Format system
4. Install the rom
5. Install gapps
6. Reboot tablet and set it up
7. Flash kernel
On sgsiii we set the phone up so the rom can settle in and then start flashing kernels/mods. Might be an overkill pn n7 though.
Sent from my Nexus 7 using xda app-developers app

berardi said:
I'm new to flashing custom kernels, but what I would like to do is install PA Beta 8 with Gapps + Leankernel / Minimalistic kernel.
What order do I take?
1. Wipe Data / Cache
2. Flash PA
3. Flash Kernel
4. Flash Gapps
I plan to also backup my stuff and move it off the SD, and wipe the SD before starting so I can clean up my SD directory structure.
Anyone see something I'm missing/ should do different?
Thanks
Click to expand...
Click to collapse
You should be fine that way. You'll be overwriting things in the correct order.
CuttyCZ said:
1. Wipe data
2. Wipe cache
3. Format system
4. Install the rom
5. Install gapps
6. Reboot tablet and set it up
7. Flash kernel
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Step 3 is already done by all rom install scripts I've looked at.
Sent from my Nexus 7 using xda premium

Thanks guys!
Just curious what is the point of rebooting / letting the ROM settle in before flashing a kernel?
CuttyCZ said:
1. Wipe data
2. Wipe cache
3. Format system
4. Install the rom
5. Install gapps
6. Reboot tablet and set it up
7. Flash kernel
On sgsiii we set the phone up so the rom can settle in and then start flashing kernels/mods. Might be an overkill pn n7 though.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
mwalt2 said:
You should be fine that way. You'll be overwriting things in the correct order.
Step 3 is already done by all rom install scripts I've looked at.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse

berardi said:
Thanks guys!
Just curious what is the point of rebooting / letting the ROM settle in before flashing a kernel?
Click to expand...
Click to collapse
There isn't a point imo. Some people like to wipe things 3 times and a a lot of other steps that seem unnecessary to me. The only thing I can think is if the custom kernel is unstable and it might help troubleshoot problems
Sent from my Nexus 7 using xda premium

berardi said:
Thanks guys!
Just curious what is the point of rebooting / letting the ROM settle in before flashing a kernel?
Click to expand...
Click to collapse
mwalt2 said:
There isn't a point imo. Some people like to wipe things 3 times and a a lot of other steps that seem unnecessary to me. The only thing I can think is if the custom kernel is unstable and it might help troubleshoot problems
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
hes right, there is no point. as there no point in wiping cache/dalvik if your wiping data(factory reset). if coming from a different rom then wipe data, flash the rom, flash the gapps, and flash the kernel. if updating the same rom then flash the rom, flash the gapps, and flash the kernel.

Related

Updating CM7

Probably been asked many times before but i could'nt find it. So sorry off the top.
How do i update cyanogenmod without deleting all my apps and settings?
Sent from my PC36100 using XDA Premium App
Just flash the newer zip in recovery.
So flashing the update keeps settings and apps in tact?
Sent from my PC36100 using XDA Premium App
Yes. Nandroid JIC. Wipe cache and dalvik and just flash over.
Sent from my PC36100 using XDA Premium App
Thanks a bunch fellas
After you flash the new CM zip, be sure to flash gapps (if you use it) and any other zips you've flashed. You won't lose your data (as long as you didn't wipe it), but you will lose any customizations that you flashed that write to /system (which would be most of them).
bkrodgers said:
After you flash the new CM zip, be sure to flash gapps (if you use it) and any other zips you've flashed. You won't lose your data (as long as you didn't wipe it), but you will lose any customizations that you flashed that write to /system (which would be most of them).
Click to expand...
Click to collapse
If you have already flashed gapps on an earlier version of CM and are just updating to a newer version of CM you do not have to flash gapps again. Just wipe cache and davlik and flash the update and kernel if you use a custom kernel and that's it.
disazter380 said:
Probably been asked many times before but i could'nt find it. So sorry off the top.
How do i update cyanogenmod without deleting all my apps and settings?
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
Are you coming from a Sense based ROM?
oh btw this should have been post in the Q&A section
housry23 said:
If you have already flashed gapps on an earlier version of CM and are just updating to a newer version of CM you do not have to flash gapps again. Just wipe cache and davlik and flash the update and kernel if you use a custom kernel and that's it.
Click to expand...
Click to collapse
While this does work, there have been some builds that cause gapps to need to be reflashed. Flashing gapps everytime doesn't hurt.
Sent from my PC36100 using XDA App
Mr. Shroom here's the situation...
My current rom is cm 7.0.2. im trying to flash 7.0.2.1 and keep my apps and settings in tact. Im trying to do this via rom manager. A step by step guide would be greatly appreciated.
disazter380 said:
Mr. Shroom here's the situation...
My current rom is cm 7.0.2. im trying to flash 7.0.2.1 and keep my apps and settings in tact. Im trying to do this via rom manager. A step by step guide would be greatly appreciated.
Click to expand...
Click to collapse
Step 1: get rid of clockworkmod recovery (flash "alternate" Amon Ra using ROM manager)
Step 2: download 7.0.2.1 from one of the many mirrors
Step 3: (optional) move zip to root or folder such as 1roms
Step 4: reboot into recovery
Step 5: once in recovery make a nandroid backup
Step 6: flash new zip
Step 7: wipe cache and dalvic
Step 8: (optional) while in recovery go to other>fix apk uid mismatches
Step 9: Profit!
housry23 said:
If you have already flashed gapps on an earlier version of CM and are just updating to a newer version of CM you do not have to flash gapps again. Just wipe cache and davlik and flash the update and kernel if you use a custom kernel and that's it.
Click to expand...
Click to collapse
I've followed the steps you describe before, and I lost everything Google related -- my google contacts and calendars were gone. It wasn't an option to add it back until I re-flashed gapps.
simple. download 7.0.2.1.. wipe your cache.. make a backup if you desire..
and flash it.
no need to wipe your data if you're just upgrading CM
Got it done. Now i can go back to using my camcorder. Thanks for all the helpful replies.

AOKP rom

So i got my nexus 4 yesterday and Ive always wanted to root an android phone and install a custom rom. So i unlocked the bootloader and rooted it pretty easy. I want to flash AOKP rom. i downloaded the rom file and google apps from their website on the phone. I went into CWM recovery and installed those files from the sd card, and it says its complete. I reboot the device and it just sits on the nexus logo screen. I dont know what i did wrong. Anybody got any ideas
It's normal for it to sit on that screen for about a minute or so.. How long did you give it?
Sent from my Nexus 4 using Tapatalk 2
capcanuck said:
It's normal for it to sit on that screen for about a minute or so.. How long did you give it?
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
3-4 minutes
make sure you have the correct files for your N4 or "Mako" device and that you did the steps properly.
wipe data/factory reset in recovery
flash ROM
flash Gapps
reboot
thatguyzx said:
make sure you have the correct files for your N4 or "Mako" device and that you did the steps properly.
wipe data/factory reset in recovery
flash ROM
flash Gapps
reboot
Click to expand...
Click to collapse
yeah im pretty sure i did that all correctly, but ill try again. Also for some reason when i try to boot into recovery sometimes, instead of going into CWM, it shows the android robot open with an exclamation mark on him. Any idea what that is
^
I believe that the stock recovery...
When you first boot cmw, it does not stay permanently afterwards...
You can flash it again by downloading ROM manager??
Or somthing else..
Maybe use adb+fastboot to flash ROM..
Just to try if the files aren't broken.
Sent from my Nexus 4 using xda app-developers app
MarcPlusTwo said:
Maybe use adb+fastboot to flash ROM..
Just to try if the files aren't broken.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You can't flash a ROM in fastboot, you can only flash images.
You can flash the recovery image through fastboot.
I would let it sit for more than just 3-4 minutes as well.
thatguyzx said:
make sure you have the correct files for your N4 or "Mako" device and that you did the steps properly.
wipe data/factory reset in recovery
flash ROM
flash Gapps
reboot
Click to expand...
Click to collapse
Maybe I'm wrong, but I think you have to format /system and format /boot when switching from another rom, otherwise it bootlops.
trillo69 said:
Maybe I'm wrong, but I think you have to format /system and format /boot when switching from another rom, otherwise it bootlops.
Click to expand...
Click to collapse
Unnecessary.
Surprised no one has suggested this already. This happened to me before, go back into recovery and wipe davlik cache
Sent from my Nexus 4 using xda app-developers app

How to update PA

Hi guys
I have N4 with PA 4.2.1 ROM
Today it says there's an update, so
my question is how to do that..
I know it's a rude question but this
is my first with these stuff.. So Please HELP
ahmadov1 said:
Hi guys
I have N4 with PA 4.2.1 ROM
Today it says there's an update, so
my question is how to do that..
I know it's a rude question but this
is my first with these stuff.. So Please HELP
Click to expand...
Click to collapse
I would wipe cache/dalvik cache and format system in mounts and storage, and flash the PA rom and the latest PA google apps.
Go Here:
http://forum.xda-developers.com/showthread.php?t=2020336
Then download the latest PA rom here:
http://goo.im/devs/paranoidandroid/roms/mako/pa_mako-3.00-15FEB2013-223348.zip
After that download the GAPPS:
http://goo.im/devs/paranoidandroid/roms/gapps/pa_gapps-full-4.2-20130209.zip
Next, you download the bootloader and baseband for 4.2.2 here
http://www.mediafire.com/?xvdybg0o4pkhfse
After you have finished downloading everything, save whatever you need on your phone on your computer/cloud storage or whatever saving method you use and put all of the above files into your phone. Boot into recovery and start wiping. Wipe cache, wipe dalvik cache. wipe system, and factory reset. Once you're done wiping, go to the files and flash them all one by one until you're finished. Finally, reboot and you're finished.
scream4cheese said:
Go Here:
http://forum.xda-developers.com/showthread.php?t=2020336
Then download the latest PA rom here:
http://goo.im/devs/paranoidandroid/roms/mako/pa_mako-3.00-15FEB2013-223348.zip
After that download the GAPPS:
http://goo.im/devs/paranoidandroid/roms/gapps/pa_gapps-full-4.2-20130209.zip
Next, you download the bootloader and baseband for 4.2.2 here
http://www.mediafire.com/?xvdybg0o4pkhfse
After you have finished downloading everything, save whatever you need on your phone on your computer/cloud storage or whatever saving method you use and put all of the above files into your phone. Boot into recovery and start wiping. Wipe cache, wipe dalvik cache. wipe system, and factory reset. Once you're done wiping, go to the files and flash them all one by one until you're finished. Finally, reboot and you're finished.
Click to expand...
Click to collapse
Isn`t the 4.2.2 bootloader and baseband included in the new 4.2.2 PA rom?
gee2012 said:
Isn`t the 4.2.2 bootloader and baseband included in the new 4.2.2 PA rom?
Click to expand...
Click to collapse
Nope. You have to manually install them yourself. Last time I checked..we had to do it ourselves.
Easiest way to update is my slamming the phone against the growing as hard as you can
Sent from my Nexus 4 using xda app-developers app
Crisisx1 said:
Easiest way to update is my slamming the phone against the growing as hard as you can
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Against the growing? Hm. I think you meant ground. The Nexus 4 doesn't want you to type something so harsh on it! Lol.

[Q] how to edit the "quick settings" toggles?

Is there a way to edit the toggles in the quick settings (when you pull down with 2 fingers from the status bar)? Can you add custom toggles and can the toggles actually be toggles and not just shortcuts to menus in the settings ?
You can't edit them on stock, although the toggles should all be toggles as long as you don't long press them. If you haven't updated to stock 4.2.2 yet then do that.
Nigeldg said:
You can't edit them on stock, although the toggles should all be toggles as long as you don't long press them. If you haven't updated to stock 4.2.2 yet then do that.
Click to expand...
Click to collapse
Thanks I never knew the toggles could be activated with a long press . I really want to add some custom toggles to this list though (flashlight, volume etc) - I'm rooted on stock ROM
Custom ROM only I'm afraid...good excuse to try CM 10.1!
EddyOS said:
Custom ROM only I'm afraid...good excuse to try CM 10.1!
Click to expand...
Click to collapse
I tried to flash CM but it didn't work a while ago. I kept getting stuck at the CM boot animation and I didn't know what went wrong because I'm new to android
You need to do the following for CM...
1. Nandroid!
2. Wipe everything in CWM (I use a little script I got from another user for this so I don't have to do it all manually!)
3. Flash the ROM
4. Flash the GAPPs
5. Reboot
It should then boot up as normal
EddyOS said:
You need to do the following for CM...
1. Nandroid!
2. Wipe everything in CWM (I use a little script I got from another user for this so I don't have to do it all manually!)
3. Flash the ROM
4. Flash the GAPPs
5. Reboot
It should then boot up as normal
Click to expand...
Click to collapse
What's a nandroid? I created a backup with twrp and I have to completely wipe my phone I have so much stuff on it . and I used goo manager to install the ROM and the gapps automatically
michaelsp9 said:
What's a nandroid? I created a backup with twrp and I have to completely wipe my phone I have so much stuff on it . and I used goo manager to install the ROM and the gapps automatically
Click to expand...
Click to collapse
That's it. That backup is called a "nandroid"
Sent from my Nexus 4 using Tapatalk 2
scream4cheese said:
That's it. That backup is called a "nandroid"
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
I tried reflashing CM10.1 and same thing happened I was stuck at the boot animation. Before I flashed I made a new nandroid backup and wiped cache.
Do I have to wipe to factory default?
Also probably important to note i have franco kernel flashed on my stock ROM , should I remove fk and try and flash again and once I get cm working flash fk bac
michaelsp9 said:
I tried reflashing CM10.1 and same thing happened I was stuck at the boot animation. Before I flashed I made a new nandroid backup and wiped cache.
Do I have to wipe to factory default?
Also probably important to note i have franco kernel flashed on my stock ROM , should I remove fk and try and flash again and once I get cm working flash fk bac
Click to expand...
Click to collapse
Absolutely you have to wipe data. Wipe cache and dalvik cache (dalvik is located in advanced menu) as well or you'll get bootloops. Franco works with CM afaik.
ScumDroid said:
Absolutely you have to wipe data. Wipe cache and dalvik cache (dalvik is located in advanced menu) as well or you'll get bootloops. Franco works with CM afaik.
Click to expand...
Click to collapse
But....but I'll lose all my apps
michaelsp9 said:
But....but I'll lose all my apps
Click to expand...
Click to collapse
back them up with titanium backup.
ScumDroid said:
back them up with titanium backup.
Click to expand...
Click to collapse
Where do I store the backup ?? Wouldn't it get deleted when I wipe ?
michaelsp9 said:
Where do I store the backup ?? Wouldn't it get deleted when I wipe ?
Click to expand...
Click to collapse
The backup will be stored in the "SD card" which will not be cleared if you do a factory reset.
Sent from my Nexus 4 using XDA Premium HD app
michaelsp9 said:
robably important to note i have franco kernel flashed on my stock ROM , should I remove fk and try and flash again and once I get cm working flash fk bac
Click to expand...
Click to collapse
You don't need to remove the franco kernel before flashing a custom ROM. The new ROM will come with its own kernel. If you want to keep using Franco kernel, you'll need to flash the kernel after you flash the ROM and Gapps.
If you aren't too particular about changing the entire rom and doing all that drama.. Install power toggles and put a widget on the notification drop down menu... It has more options than the settings list has.. I know this is not what u had asked here.. But I was just trying to tell u what I found easier.. Cheers
Sent from my Nexus 4 using Tapatalk 2

Does anyone have a flashable .zip of the 9.8.1Q-78-1 kernel?

I flashed argghhh's kernel and am having bluetooth stutters (with apt-x headphones). I am not sure it's because of the kernel though and want to test a bit.
Does anyone know how to restore the previous kernel without re-flashing the stock rom?
Coronado is dead said:
I flashed argghhh's kernel and am having bluetooth stutters (with apt-x headphones). I am not sure it's because of the kernel though and want to test a bit.
Does anyone know how to restore the previous kernel without re-flashing the stock rom?
Click to expand...
Click to collapse
Just dirty flash the stock ROM, without wiping anything. Well, you could wipe cache/dalvik just to be safe. If you don't wipe data, dirty flashing the ROM shouldn't affect anything.
Coronado is dead said:
I flashed argghhh's kernel and am having bluetooth stutters (with apt-x headphones). I am not sure it's because of the kernel though and want to test a bit.
Does anyone know how to restore the previous kernel without re-flashing the stock rom?
Click to expand...
Click to collapse
As sloosecannon made clear a simple solo restore of the boot partition / img is replacing the kernel.
9.8.1Q-78-1 Stock Kernel
Thanks everyone!
And thanks Attack!
Update: Oh wow, that was it. No skips at all now. 2/3 of my audio programs would skip before when starting a song (again, only when using an Apt-X compatible bluetooth headset). Or they'd skip when opening a menu while playing a song, or turning off the screen. Skips would continue for 5-10 seconds and then it would even out.
Not even once on the stock kernel. I guess I'll report this to arrghh
ATTACK said:
9.8.1Q-78-1 Stock Kernel
Click to expand...
Click to collapse
Hmm, I tried this and it installed and all, but my wifi is broken. I wonder if it is because I was on a deodexed stock rom. Will try a dirty flash of the whole thing now.
Coronado is dead said:
Hmm, I tried this and it installed and all, but my wifi is broken. I wonder if it is because I was on a deodexed stock rom. Will try a dirty flash of the whole thing now.
Click to expand...
Click to collapse
Weird... I'm on stock deodexed and I didn't have any problems. I used it to restore from arrrghhh's kernel.
ATTACK said:
Weird... I'm on stock deodexed and I didn't have any problems. I used it to restore from arrrghhh's kernel.
Click to expand...
Click to collapse
Yeah, no idea. A dirty flash got it all back and working.
If I pressed the wifi toggle it would just turn back to off. After a few times I got the 10 fast vibrates and still nothing. Wiped caches a few time, still no.
But I'm back up and running
I was having an issues with my WiFi when using arggghhss.
Flashed the stock kernel from this thread and now I have the same problem with my WiFi not turning on. A dirty flashed fixed this? What's a dirty flash and where can I find a stock ROM?
Sent from my XT907 using xda app-developers app
Franteeko said:
I was having an issues with my WiFi when using arggghhss.
Flashed the stock kernel from this thread and now I have the same problem with my WiFi not turning on. A dirty flashed fixed this? What's a dirty flash and where can I find a stock ROM?
Sent from my XT907 using xda app-developers app
Click to expand...
Click to collapse
Dirty flashing is just flashing without wiping anything. Just dirty flash whatever ROM you're using and it will reload the original kernel that came with that ROM. You can wipe cache/dalvik to be safe, but don't worry about wiping data when you're dirty flashing.
RikRong said:
Dirty flashing is just flashing without wiping anything. Just dirty flash whatever ROM you're using and it will reload the original kernel that came with that ROM. You can wipe cache/dalvik to be safe, but don't worry about wiping data when you're dirty flashing.
Click to expand...
Click to collapse
Thank you. I am just using stock ota ROM rooted and unlocked. I'm not sure where I can obtain a stock ROM because the one I have I received ota.
Anyone know where I can download a stock ROM? And when i flash, will I have to reroot?
Sent from my XT907 using xda app-developers app
Franteeko said:
Thank you. I am just using stock ota ROM rooted and unlocked. I'm not sure where I can obtain a stock ROM because the one I have I received ota.
Anyone know where I can download a stock ROM? And when i flash, will I have to reroot?
Sent from my XT907 using xda app-developers app
Click to expand...
Click to collapse
http://droid-hive.com/index.php?/forum/469-roms/
jco23 said:
http://droid-hive.com/index.php?/forum/469-roms/
Click to expand...
Click to collapse
Downloaded and attempted flash twice. It errord both times. Anyone have a stock ROM I can flash?
To clarify, I can't seem to get WiFi working on the stock kernel. WiFi functions somewhat on arrgs.
Sent from my XT907 using xda app-developers app
Franteeko said:
Downloaded and attempted flash twice. It errord both times. Anyone have a stock ROM I can flash?
To clarify, I can't seem to get WiFi working on the stock kernel. WiFi functions somewhat on arrgs.
Sent from my XT907 using xda app-developers app
Click to expand...
Click to collapse
what recovery are you using? i'm using TWRP.
jco23 said:
what recovery are you using? i'm using TWRP.
Click to expand...
Click to collapse
Clockwork mod. I should switch to twrp maybe?
Sent from my XT907 using xda app-developers app
Franteeko said:
Clockwork mod. I should switch to twrp maybe?
Sent from my XT907 using xda app-developers app
Click to expand...
Click to collapse
it should still work via CWM - but I think most folks are using TWRP.
what are your steps in the process?
mine would be:
copy zip file to the root folder of the sdcard (mnt/external1)
reboot recovery
mount system
wipe cache
wipe dalvik
wipe data/factory reset
wipe system
reboot recovery (not sure if this in an option in CWM, if not, then just make sure that system is still mounted)
mount system
install ROM
reboot
jco23 said:
it should still work via CWM - but I think most folks are using TWRP.
what are your steps in the process?
mine would be:
copy zip file to the root folder of the sdcard (mnt/external1)
reboot recovery
mount system
wipe cache
wipe dalvik
wipe data/factory reset
wipe system
reboot recovery (not sure if this in an option in CWM, if not, then just make sure that system is still mounted)
mount system
install ROM
reboot
Click to expand...
Click to collapse
Well I got it flashed. I was doing a dirty flash so I didn't wipe data or system. But I guess I didn't realize that you had to Mount system. I assumed that the recovery did that automatically.
After mounting system the stock rom flashed just fine and my WiFi is golden. Thanks to everyone who helped.
Sent from my XT907 using xda app-developers app
Franteeko said:
Well I got it flashed. I was doing a dirty flash so I didn't wipe data or system. But I guess I didn't realize that you had to Mount system. I assumed that the recovery did that automatically.
After mounting system the stock rom flashed just fine and my WiFi is golden. Thanks to everyone who helped.
Sent from my XT907 using xda app-developers app
Click to expand...
Click to collapse
yeah, I think what happened was that you were installing a ROM with an incompatible kernel (existing one) or vice versa... in either case, glad you got it working. i almost always mount when tinkering....
jco23 said:
yeah, I think what happened was that you were installing a ROM with an incompatible kernel (existing one) or vice versa... in either case, glad you got it working. i almost always mount when tinkering....
Click to expand...
Click to collapse
Good advice JC thank you.
Sent from my XT907 using xda app-developers app

Categories

Resources