[Q] what i need in order to install a kernel - Nexus 4 Q&A, Help & Troubleshooting

i have never been rooting myn nexus 4 but now i want to install a franco kernel. what i need to do in order to install a kernel? (i have guides for everything i need to do i just dont know the order of the things. first... second..

Install custom recovery, boot into it, flash the kernel zip, reboot
Sent from my Nexus 4 using XDA Free mobile app

wipe dalvik cache before flash the kernel

No need for a wipe
Sent from my Nexus 5 using XDA Free mobile app

Did you unlocked the bootloader? If no, you should start unlocking it but you will loose all data.
Enviado desde mi Nexus 7 mediante Tapatalk

So what i need to do is unlock the bootloader than install custom recovery and boot into it and than flash the kernel zip did i get it right?

jd1639 said:
No need for a wipe
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
yeah, but i do it everytime to avoid any possible issues

That is absolutely correct. But, as suggested before you may want to wipe the cache and dalvik cache partitions before flashing, and before you do anything in the recovery, please make a nandroid backup to restore in case you face any issues, it is very important.
Sent from my Nexus 4 using XDA Free mobile app

Calinho said:
wipe dalvik cache before flash the kernel
Click to expand...
Click to collapse
lolcakes203 said:
That is absolutely correct. But, as suggested before you may want to wipe the cache and dalvik cache partitions before flashing, and before you do anything in the recovery, please make a nandroid backup to restore in case you face any issues, it is very important.
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse
you never ever need to wipe dalvik nor cache when flashing kernels. they have nothing to do with kernels. its the same as going to wipe your behind so you can fill your car up with gas.

Alright, Thanks for the clarification. I am used to the old fashioned method that always told individuals to wipe the cache and dalvik.
Sent from my Nexus 4 using XDA Free mobile app

lolcakes203 said:
Alright, Thanks for the clarification. I am used to the old fashioned method that always told individuals to wipe the cache and dalvik.
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse
its from the past, when android was still young and we didnt know better. everyone was just told to do it always, regardless. and no one questioned it. but as we learned more and more, some upgraded their thinking, while others kept up with what was told to them in the past. when flashing roms as well, there is no need to wipe dalvik nor caches, as the act of flashing the rom automatically wipes both dalvik and cache

Thank you very much for updating me! I greatly appreciate it. We learn something new everyday
Sent from my Nexus 4 using XDA Free mobile app

thank you so much!! i just didnt understand something : how to make a nandroid back up and what is it for?

NEXUSKILLER123 said:
thank you so much!! i just didnt understand something : how to make a nandroid back up and what is it for?
Click to expand...
Click to collapse
you do it in recovery. it makes a complete backup of everything. so if you mess something up, you can restore it(also in recovery) and be back to the same place when you made the backup.

Related

I'm I ready to flash rom?

Ok guys I'm new to the evo and just want to make sure I didn't skip any important steps. I have latest ota and rooted with unrevoked3 and got s-off with unrevoked forever. Flashed amonRa recovery and created nandroid.
I'm looking to try out the EViO Rom or Latest fresh rom. Can I just put the rom on sdcard and flash the rom from recovery? Or am I missing something?
Put the rom on the root of your card, wipe data, cache and dalvik cache twice, then flash the rom.
Sent from my PC36100 using XDA App
Don't forget to backup any apps with TB or MyBackupPro as well as the nand backup.
Good luck
Sent from my PC36100 using XDA App
Systemfraud said:
Put the rom on the root of your card, wipe data, cache and dalvik cache twice, then flash the rom.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
wiping twice is a good idea after a duece, but it's a bit redundant when dealing with dalvik cache
Sent from my Nokia 5100 using XDA App
OneStepAhead said:
wiping twice is a good idea after a duece, but it's a bit redundant when dealing with dalvik cache
Sent from my Nokia 5100 using XDA App
Click to expand...
Click to collapse
Its always a bit redundant i think thats the point though. Honestly if the recoveries are wiping them correctly there should be no reason to do them twice, But it makes people feel good to do so more power to them.

Flashing Custom Rom for the first time, need help :)

Hey guys, I rooted my i9020T running 2.3.4, build GRJ22 last week, I want to install this rom
forum.xda-developers.com/showthread.php?t=1003453
I want to know what all will I have to do to install it, please help
Gaurav.Stallion said:
Hey guys, I rooted my i9020T running 2.3.4, build GRJ22 last week, I want to install this rom
forum.xda-developers.com/showthread.php?t=1003453
I want to know what all will I have to do to install it, please help
Click to expand...
Click to collapse
You basically need to:
- Download clockworkmod recovery and the ROM
- Copy the ROM to the phone
- Reboot to bootloader
- Flash clockworkmod recovery
- Reboot to recovery
- Make a Nandroid backup
- Wipe cache, data and dalvik cache
- Apply the update
- Reboot
Step by step instructions can be found elsewhere in the forum.
Sent from my Nexus S using XDA Premium App
Graham19 said:
You basically need to:
- Download clockworkmod recovery and the ROM
- Copy the ROM to the phone
- Reboot to bootloader
- Flash clockworkmod recovery
- Reboot to recovery
- Make a Nandroid backup
- Wipe cache, data and dalvik cache
- Apply the update
- Reboot
Step by step instructions can be found elsewhere in the forum.
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
Okay, I know about the wipe cache and wipe data, but what is dalvik data? How do I wipe that?
and one more thing, what exactly is a Nandroid Baclup?
Sent from my Awesome Nexus S
Gaurav.Stallion said:
Okay, I know about the wipe cache and wipe data, but what is dalvik data? How do I wipe that?
and one more thing, what exactly is a Nandroid Baclup?
Sent from my Awesome Nexus S
Click to expand...
Click to collapse
Dalvik is the android Java virtual machine. A cache is made of your current programs to speed things up. Best to clear to let your new ROM build a new version.
Nandroid does a complete system backup. It means if things go wrong, you can restore to a working state. This is done through recovery.
Sent from my Nexus S using XDA Premium App
Graham19 said:
Dalvik is the android Java virtual machine. A cache is made of your current programs to speed things up. Best to clear to let your new ROM build a new version.
Nandroid does a complete system backup. It means if things go wrong, you can restore to a working state. This is done through recovery.
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
How do i wipe the dalvik cache? And how do i do a nandroid backup?
Gaurav.Stallion said:
How do i wipe the dalvik cache? And how do i do a nandroid backup?
Click to expand...
Click to collapse
Graham19 said:
- Flash clockworkmod.
- Reboot to recovery
Click to expand...
Click to collapse
The exact location depends on the recovery version you're using, but in 4.0.0.2, nandroid is under Backup & Restore, and wipe-dalvik is under Wipe.
Do I have to use xrecovery for xperia x10i? Or is this only for restoring stock/earlier roms. Sorry if it a noon thing to say, I jus wanna make sure I dont soft brick my phone.
Sent from my X10i
laneyofdeath said:
Do I have to use xrecovery for xperia x10i? Or is this only for restoring stock/earlier roms. Sorry if it a noon thing to say, I jus wanna make sure I dont soft brick my phone.
Sent from my X10i
Click to expand...
Click to collapse
Huh? This is the Nexus S forum.
Maximilian Mary said:
The exact location depends on the recovery version you're using, but in 4.0.0.2, nandroid is under Backup & Restore, and wipe-dalvik is under Wipe.
Click to expand...
Click to collapse
Okie, so after I back up and wipe, i choose install zip from sd card right?
Do apologise
Sent from my X10i
Gaurav.Stallion said:
Okie, so after I back up and wipe, i choose install zip from sd card right?
Click to expand...
Click to collapse
Making a nandroid backup is completely optional. You don't have to, but it does give you a good opportunity to go back in time.
You want to wipe: Factory/Data/Dalvik before flashing a new ROM. Otherwise problems will occur.
Gaurav.Stallion said:
How do i wipe the dalvik cache? And how do i do a nandroid backup?
Click to expand...
Click to collapse
Dalvik Cache is under ' advance' in clockwork.
Sent from my HERO200 using XDA App
zephiK said:
Making a nandroid backup is completely optional. You don't have to, but it does give you a good opportunity to go back in time.
You want to wipe: Factory/Data/Dalvik before flashing a new ROM. Otherwise problems will occur.
Click to expand...
Click to collapse
I backed up, I'm downloading the rom right now, so after I wipe the data/cache/dalvik, I install zip from SD card right?
Sent from my Awesome Nexus S
Gaurav.Stallion said:
I backed up, I'm downloading the rom right now, so after I wipe the data/cache/dalvik, I install zip from SD card right?
Sent from my Awesome Nexus S
Click to expand...
Click to collapse
yes
10char
zephiK said:
yes
10char
Click to expand...
Click to collapse
Okie! Thanks mate
Sent from my Awesome Nexus S
I flashed this rom
http://forum.xda-developers.com/showthread.php?t=1003453
can anyone tell me how to change icons of the apps in the app drawer?

Nexus 4 wipe data problem

I would like to ask that when I wipe data in recovery , what will actually be wipe, will my photo or music be wipe?
Sent from my MB526 using xda app-developers app
If you wipe data in recovery mode, it'll wipe everything. Everything.
I mean in custom recovery, if it will wipe everything even the zip in sd card then how can we actually flash rom? Sorry for my silly question, cause my previous phone can use sdcard which don't got this problem....
Sent from my MB526 using xda app-developers app
If you wipe data in recovery, it doesn't wipe your photos or music.
It only wipes your apps, system apps and their data. Also resets the phone.
Then only way you wipe your photos or music is if you go to;
mount and storage > format sdcard.
WHICH YOU DON'T WANT TO DO!
So if you want to flash a custom ROM;
In your recovery you;
Wipe data & Factory Reset
Go go Advance > wipe dalvik cache
Flash your ROM.
Sent from my Nexus 4 using xda premium
Thanks, that's mean it's just the same way as defy, how about how about flash a kernel? Because as defy's boot loader are locked, we can't actually flash a really kernel, just the 2nd boot kernel
Sent from my MB526 using xda app-developers app
ansontyl96 said:
Thanks, that's mean it's just the same way as defy, how about how about flash a kernel? Because as defy's boot loader are locked, we can't actually flash a really kernel, just the 2nd boot kernel
Sent from my MB526 using xda app-developers app
Click to expand...
Click to collapse
Well if your bootloader is locked, look around the development thread for the nexus 4 utility 1.3.0
That unlocks, roots, install recovery and all sort of stuffs.
To flash a kernel to a stock or custom ROM;
Boot to recovery
Format Cache
Format dalvik cache
Flash
Reboot.
Sent from my Nexus 4 using xda premium
Unlocking bootloader will wipe EVERYTHING on your phone.
what would i have to do if i wanted to wipe my sd card? stock clean??
i've taken up 2gb of data because i tried to make a system back up but i've done it like 3 time and i can't find the backup zips so i just want to clean the SD card back to the begining without messing up the system data since i'm not flashing anything new
I have the same doubt. What is the best way to format SD card?. I did it once and had to inject the ROM with computer using ADb. Any alternative?
Sparta507 said:
what would i have to do if i wanted to wipe my sd card? stock clean??
i've taken up 2gb of data because i tried to make a system back up but i've done it like 3 time and i can't find the backup zips so i just want to clean the SD card back to the begining without messing up the system data since i'm not flashing anything new
Click to expand...
Click to collapse

Proper way to flash a kernel?

Just wondering whats the proper way of changing kernels while running a rom already cause what i do is wipe cache and dalvik and sometimes i lose data and wifi like it stays grey when its suppose to stay blue
NeXus⁴ using XDA Premium
Read Here.
http://forum.xda-developers.com/showthread.php?t=2008222
What I do... After I downloaded kernel of course lol.. Is go into recovery then wipe cache partition and wipe davlik. Flash the kernel then repeat the two wipes and reboot.
Never had a problem.
Sent from my Nexus 4 using xda app-developers app

So, I'm stuck in TWRP - deleting cache forever

So I installed TWRP with the no root method, then I rooted.
I wanted just to wipe cache/dalvik but it seems to take forever.
How do I Hardreboot or get out of this loop?
thanks
ok problem solved, so wiping cache takes like forever...never mind
I got scared first time too!
Then I read in Clean ROM post #2 "For faster wipes go into TWRP settings and choose the option "rm -f". Then wiping cache is normal.
mkext4fs takes a long time for some reason. You'll see the same thing if you ever have to wipe system in TWRP.
I waited so long I almost stopped breathing....
Thank god
Others are saying the same thing. I should have went to settings and changed it. I can confirm it is taking FOREVER!!!!!!!
I never changed any settings in twrp, and it does not take me forever to wipe cache. No idea why
Sent from my LG-VS980 using xda app-developers app
Lawlrus said:
I never changed any settings in twrp, and it does not take me forever to wipe cache. No idea why
Sent from my LG-VS980 using xda app-developers app
Click to expand...
Click to collapse
Hey just flash the 2.6.3.3 twrp, comes in zip format too just flash....has fix for long wipes....
And supports 4.4

Categories

Resources