Kernels and flashing - EVO 4G Q&A, Help & Troubleshooting

Noob here.
I had a question about kernels. What the hell are they and how do you flash?
I just put Miui on my EVO. I really like it but there are some issues with Bluetooth and also voice messages not wanting to send or receive. Plus the front camera issue.
I saw some others flashed a different kernel to fix some issues so I was wondering how to do that.
Also mentioned was doing a Nandroid backup... what is that?

zatos said:
Noob here.
I had a question about kernels. What the hell are they and how do you flash?
I just put Miui on my EVO. I really like it but there are some issues with Bluetooth and also voice messages not wanting to send or receive. Plus the front camera issue.
I saw some others flashed a different kernel to fix some issues so I was wondering how to do that.
Also mentioned was doing a Nandroid backup... what is that?
Click to expand...
Click to collapse
Take the zip you want drop it in your sd card use rom manager recovery and install new zip nanroid is under recovery mode as well

Flash a kernel- place the zip file on the root of your sd card [not in a folder], wipe you cache and dalvik cache, then click install zip from sd card, then select your file
Nandroid [a backup]- from the main menu, select backup and restore, click backup, done.
Always do a backup before flashing a kernel because it may not play nice.

Once you've got the basics down. Just start with one of Netarchy's (my preference) and try a few to see what seems to flow best with your phone. I've had the best luck with Nets 4.3.1 more havs nosbc. Good luck.

To wipe the cache and dalvik cache, is that listed under the recovery menu or do I have to do it some other way? What is stored in the cache?
Also hope I got this right, but I can only use AOSP kernels with Miui? I'm not sure what is different about AOSP. Is Netarchy AOSP?

Unfortunately, I don't believe Nets has any AOSP kernels. Sorry, I don't have a good kernel recommendation for Miui. I'm a MikFroyo fan, tried a lot of roms and kernels, but haven't given Miui a try. I like my 4G. Mik is fast and stable, so I've stuck with it for a while now. Depending on what recovery your using, to wipe the dalvik cache, you should have that option. In clockwork its under the advanced i believe and in amon its under wipe. Don't really know what is stored in cache, but any time you make a change or flash something new, always good to wipe the dalvik cache.

What is AOSP versus whatever else is used?

in the evo world, every rom you'll find is either AOSP or Sense based. Aosp roms are custom made roms built straight from android source. Miui and Cyanogen are the most popular AOSP roms. Sense roms are basically the rom sprint uses that people have hacked to make it faster/personalized.

Do the kernels have to be specifically for the EVO?

zatos said:
What is AOSP versus whatever else is used?
Click to expand...
Click to collapse
AOSP- Android Open Source Project ; closest to bare bones Android [Think Cyanogenmod]
the other is Sense- Think stock HTC Evo, roms like MikFroyo, Azrael, ect

zatos said:
Do the kernels have to be specifically for the EVO?
Click to expand...
Click to collapse
I believe so. Make sure you're running a stock kernel with stock rom aosp kernel for an aosp rom.

Nandroid
Nandroid backups are performed in custom recovery. They essentially backup the entire "image" of your current ROM into the "Nandroid" folder on your SD card. The beauty of this is that you can take a nandroid backup, flash a ROM and, if something goes wrong or you don't like it, you can restore via nandroid and return your phone to a previous state.

No one has still answer his original question...
Android relies on Linux version 2.6(the kernel) for core system services such as security, memory management, process management, network stack, and driver model. The kernel also acts as an abstraction layer between the hardware and the rest of the software stack.
So basically, it is what allows for better management between the rom and the actually hardware. For example, your rom could manage how many applications are running and using up cycles of your processor, but your kernel will determine how your processor elevates to the needed speeds for the ongoing task. Kernels are important to keep your phone secure, stable and longer batteries

Related

just rooted need help/advice

So i just did the 3 step root and im at the clockwork mod recovery screen
There is different stuff to choose and i have no clue what to select?
Can someone please direct me to what to do next this is my first android phone and i have no idea how to load a rom or what i should be doing next
thanks in advance
Well are you hoping to flash a custom ROM? If so, you'll need to download the ROM and copy it to the root of your SD card. Then when you boot to recovery, choose the options to wipe data, wipe cache, and then install a zip from SD. If you want to back up your phone, choose the Nandroid option.
You got pretty far without knowing how to complete your journey.
so if i click nandroid that will back up what my phone is set at now?
what is a good custom rom to use ?
I would like to have wifi tether but do not have 4g and probly wouldnt use it very often, i read something that there was a stock rooted rom? I also do not want to lose my camera?
Start here:
http://forum.xda-developers.com/wiki/index.php?title=HTC_Evo_ROMs
Then just read up on the dev pages/threads for the popular ROMs. I use Fresh 1.0.1 with the netarchy 3.7.3c Fresh-compatible kernel (haven't switched to the new one that just came out today). Camera works great, wifi tether app is built-in. If you want that, download both (just search here), put them on your SD card, reboot to recovery, and flash the ROM, then the kernel. You don't have to flash a new kernel or even radio if you don't want to, but everything is installed the same. Usually reading a couple of pages for each ROM will tell you if there are an problems. Other options are the stock rooted ROM, DamageControl, Baked snack, or there are a couple of new ones for Froyo as well, but they have some features left out (like 4G, wifi, MMS . . . depends on the ROM).
Nandroid (or, inside Android, ROM Manager) will make a system image for you, saving everything exactly as it is. To restore, boot to recovery and choose the correct options for that. Should be pretty self-explanatory.
Always wipe data and cache before flashing, and it's a good idea to search Google for Cyanogen's recommendations for recalibrating your battery (it's on his wiki). Just don't flash a stock, non-rooted ROM or any OTA updates that Sprint tries to push on you. Always get something that the devs here say is safe for rooted phones.
Hope that clears some things up for you.

[Q] Roms And Kernels

I'm a little confused on the subject of kernels and roms. Im not sure whether you have to start fresh on your phone every time you change either the rom or the kernel. If you don't have to start fresh, I mean redo all your apps and settings etc, then I would be a lot more tempted to play around with more roms and kernels.
On a second note, if I wished to change a rom or kernel, what do i need to do while in recovery, minus making a nandroid backup.
Any Help is Welcome! Thanks!
You can change a kernel without much effort and without wiping anything out. In recovery, wipe dalvik cache, and then flash the kernel. It should be a signed flashable zip.
But kernels are tricky. If you use the wrong one, you could lose things like bluetooth. Some are designed for AOSP roms, and some are designed for Sense roms, so just make sure you pick a kernel that is compatible with the Rom you are using.
Once the new kernel is flashed, you will probably not notice anything has changed, because the kernel handles all the underlying processes.
Roms on the other hand, change everything. When flashing a new rom, it's always a good idea to do a complete wipe of your phone. Even if you are flashing a newer version of the same rom.
You can use apps like Titanium backup to restore missing apps, and settings once the new Rom is on.
Thanks
Thats great to know. Thanks so much.

Need some help asap

ok well i just downloaded and flashed the chopsuey kernel and now when im rebooting, my phone only sits at the htc evo 4g screen.. someone PLEASE HELP.. i think my phone just got bricked
No problems mate,just pull your battery,replace it,when turning on hold your volume button down,when you entered the bootloader,scroll to recovery and wipe your phone then find restore/nandroid then restore your phone to your latest backup,hopefully you did back up,if not reinstall the rom again after you wipe everything,then next time set your CPU to a lower setting,then move up gradually.I hope this helped.
blah.. so new to this i didnt know i could backup through recovery.. thought it meant like my apps and what not =/ guess i have to wipe
I set my phone to high the first time and it did the same thing and of course i freaked,lol.After bricking your phone a few hundred times,you remember to do a backup regularly.
what rom are you using? Hopefully not a AOSP cause Chop Suey is a sense kernel.
well my set cpu wasnt working because i was using stock kernel.. all i did was flash the chopsuey rom and then i just hit reboot and i was stuck at the htc evo 4g white screen.. what did i do wrong?
i am using team nocturnals sense 3.0 themed rom. more specifically, shooterRLS_3.1
ReapersDeath said:
well my set cpu wasnt working because i was using stock kernel.. all i did was flash the chopsuey rom and then i just hit reboot and i was stuck at the htc evo 4g white screen.. what did i do wrong?
Click to expand...
Click to collapse
Ok i'm not sure that roms compatible with chopsuey,try freedom kernel... Freedom Kernel
I am rooted. and i meant chopsuey is a kernel.. but the rom im using is shooterRLS_3.1.. im guessing i just flash the rom, and then the kernal and im done?
i just retryed and now its actually starting up so blah.. is it actually not compatable or not?
If its running ok,use it.
oh ok.. i dont want to screw up my phone.. so blah.. thanks for the help.. almost had a heart attack
Did you wipe cache and Dalvik before you flashed the ROM? If that ever happens again, wipe those then try to boot again. If it still doesn't boot, wipe everything and reflash your ROM, err, start over, but since it was just a Kernel, that would probably wiork
Whenever you flash a new rom, wipe everything (data, cache, dalvik, system, boot, .android_secure, sd-ext). Whenever you flash anything that isn't a rom - kernels, themes, mods, boot animations, etc - or flash an update to your existing rom then wipe cache and dalvik only.
Always make a nandroid backup when you flash a new rom. I don't nandroid for everything I flash, but if you're flashing a new kernel and it has been a while since you did a backup then go ahead and do another one. You can always delete nandroid backups to save space, but keep at least one on your SD card. Also nandroid before modifying system files, like removing system apps.
Always read about what you're doing before you do it.
I know you solved your problem, just pointing some stuff out that you may have missed along the way. Good luck & happy flashing!
Supersonic Evo 4G | MIUI | Tapatalk
plainjane said:
Whenever you flash a new rom, wipe everything (data, cache, dalvik, system, boot, .android_secure, sd-ext). Whenever you flash anything that isn't a rom - kernels, themes, mods, boot animations, etc - or flash an update to your existing rom then wipe cache and dalvik only.
Always make a nandroid backup when you flash a new rom. I don't nandroid for everything I flash, but if you're flashing a new kernel and it has been a while since you did a backup then go ahead and do another one. You can always delete nandroid backups to save space, but keep at least one on your SD card. Also nandroid before modifying system files, like removing system apps.
Always read about what you're doing before you do it.
I know you solved your problem, just pointing some stuff out that you may have missed along the way. Good luck & happy flashing!
Supersonic Evo 4G | MIUI | Tapatalk
Click to expand...
Click to collapse
True that. I keep 5 Nandroids on my phone at all times: Original Stock/Rooted. Stock/Rooted with updated apps +TB & GPS Status, Last good setup, Current ROM before I added all my apps, etc. and Current ROM after a fresh flash.
HipKat said:
True that. I keep 5 Nandroids on my phone at all times: Original Stock/Rooted. Stock/Rooted with updated apps +TB & GPS Status, Last good setup, Current ROM before I added all my apps, etc. and Current ROM after a fresh flash.
Click to expand...
Click to collapse
Jeeze, I feel like I take so many shortcuts...I only keep a backup of my CM7 latest, and currently ICS, incase I had to switch for whatever reason.
I keep all my apps up to date in tb so that alleviates that issue.
Well, it's not about apps. I like to have the barebones, stock/rooted all the time. The updated stock is for when I need to run the Sense Fix for GPS, or just updating profile/PRL.
The last Good Setup is obvious, as is the current good setup.
The bare bones Nandroid for my current ROM is in-case I screw up, I can go back to that and start over
HipKat said:
Well, it's not about apps. I like to have the barebones, stock/rooted all the time. The updated stock is for when I need to run the Sense Fix for GPS, or just updating profile/PRL.
The last Good Setup is obvious, as is the current good setup.
The bare bones Nandroid for my current ROM is in-case I screw up, I can go back to that and start over
Click to expand...
Click to collapse
Well that makes sense. If I mess up, I just go back to the last backup. xp Though neither practice is bad.

things disappear when flashing ROM? ever happen to you?

I've flashed 3-4 ROMs on my Dinc2. (Magnolia, IC Tazz, Skyraider, ViperINC). I've done the wipe cache/davlik/format before each flash. After testing each ROM, I decided on Magnolia, and did a full superduperwipe via Chillybean's AntiVenom. With each ROM flash I've noticed things being different and outright missing. For example, YouTube may or may not be there after flash.
Is this normal? I've tried formatting with ext3 and ext4, noticing no speed or function different... but could this have something to do with it?
I'm still sorta new at this flashing thing. If there's something I'm missing or doing wrong, I'm open to ALL suggestions.
My phone is a Verizon Dinc2, radio is 320, and my recovery is 4EXT.
Rumblur said:
I've flashed 3-4 ROMs on my Dinc2. (Magnolia, IC Tazz, Skyraider, ViperINC). I've done the wipe cache/davlik/format before each flash. After testing each ROM, I decided on Magnolia, and did a full superduperwipe via Chillybean's AntiVenom. With each ROM flash I've noticed things being different and outright missing. For example, YouTube may or may not be there after flash.
Is this normal? I've tried formatting with ext3 and ext4, noticing no speed or function different... but could this have something to do with it?
I'm still sorta new at this flashing thing. If there's something I'm missing or doing wrong, I'm open to ALL suggestions.
My phone is a Verizon Dinc2, radio is 320, and my recovery is 4EXT.
Click to expand...
Click to collapse
Some Deva just won't put it in their Roms. Most the apps just need to be redowbliaded from the market.
Sent from a phone HTC forgot. Right now its running Chilly powered PAC n a lil NOS jus for fun.
Thanks but that's not what I'm saying. I'm saying I can load the same ROM from the same file and there be different apps or features each time I flash it.
Rumblur said:
Thanks but that's not what I'm saying. I'm saying I can load the same ROM from the same file and there be different apps or features each time I flash it.
Click to expand...
Click to collapse
Then you probably aren't doing a full wipe, assuming the rom isn't an aroma installed rom and you choose different features.
yes, they are Aroma installed, using EXT4 as my recovery. I'm talking about (specifically) Magnolia and ViperINC. I've noticed different apps being loaded with each flash. I use Chilly's AntiVenom wiper, then let the ROM do another wipe of it's own choosing. It's just weird, I thought I'd ask if anyone else ever had the same experience.
...
*facepalm
Rumblur said:
I've flashed 3-4 ROMs on my Dinc2. (Magnolia, IC Tazz, Skyraider, ViperINC). I've done the wipe cache/davlik/format before each flash. After testing each ROM, I decided on Magnolia, and did a full superduperwipe via Chillybean's AntiVenom. With each ROM flash I've noticed things being different and outright missing. For example, YouTube may or may not be there after flash.
Is this normal? I've tried formatting with ext3 and ext4, noticing no speed or function different... but could this have something to do with it?
I'm still sorta new at this flashing thing. If there's something I'm missing or doing wrong, I'm open to ALL suggestions.
My phone is a Verizon Dinc2, radio is 320, and my recovery is 4EXT.
Click to expand...
Click to collapse
Hi Friend,
Best way to overcome this is to install Titanium Backup from play store and take a full backup of your apps+data and you can restore the same after flashing new rom.
Regarding youtube you can flash GAPPS from this link goo.im/gapps (install according to your android version)
denny007 said:
Hi Friend,
Best way to overcome this is to install Titanium Backup from play store and take a full backup of your apps+data and you can restore the same after flashing new rom.
Regarding youtube you can flash GAPPS from this link goo.im/gapps (install according to your android version)
Click to expand...
Click to collapse
Um, if you're flashing sense roms, don't flash gapps... Those are specifically for aosp, cm base and aokp roms.
Sent from my Nexus 7 using xda premium

[Q] SGS3 T999 - Personal Data, Apps, and New ROM(s)

Hey guys,
Love reading and contributing to this forum.
Question, I am currently running stock ROMs for my tmo SGS3 T999. I was thinking about switching to another slimmer ROM so I can further get more performance and juice out of the thing. Right now I'm running the Root66 latest 4.3 ROM and it works well.
So, one I was considering was the SlimRom (Here). Knowing that there might be issues with my data not importing into this ROM, what is the best way to preserve this as well as maybe import from stock to another ROM? Is it as simple as taking a Titanium Backup and importing it? Or, should it just acquire the old data and use it? If I decide to go back to a stock ROM, will my old data be retained even after using a different ROM for some time or will it get overwritten?
As an example of why I'd like to save/import my data:
For instance, I have a game that I've been working on for months. I'd like to preserve this game state data on any ROM I decide to flash.
Lastly, what high performance and customizable ROM would you suggest and does it require a non-stock recovery (i.e. CWM or TWRP, etc.)?
Thanks guys and keep up the good work!
Thanks,
Johnathan
As an example of why I'd like to save/import my data:
For instance, I have a game that I've been working on for months. I'd like to preserve this game state data on any ROM I decide to flash.
If you intend to go back to Stock at some point then take a Nandroid before flashing SlimBean.
As to the Game Data etc, Titanium is your friend. Do note, if there is a System app that you wish to keep data then convert it to user app before taking Titanium Backup. Titanium won't be Able to restore the data for a System app. Particularly when the app was a System app on Touchwiz and SlimBean is AOSP.
Perseus71 said:
If you intend to go back to Stock at some point then take a Nandroid before flashing SlimBean.
As to the Game Data etc, Titanium is your friend. Do note, if there is a System app that you wish to keep data then convert it to user app before taking Titanium Backup. Titanium won't be Able to restore the data for a System app. Particularly when the app was a System app on Touchwiz and SlimBean is AOSP.
Click to expand...
Click to collapse
Apologies for the noob response, but I suppose that Nandroid is a backup software? I also assume that SlimBean and SlimROM are the same.
Can things like Messages, call logs, email, etc be migrated from a Titanium Backup?
If I convert any system apps to user apps, would that include Messaging to keep txt's etc. as well as Phone for call logs?
Looks like I'll have to root my phone even though I've used Root66's ROM last so I can backup my phone... hmph.
Thanks,
Johnathan
Nandroid is not a Software. It is a Nand Backupyou create when booted into a Custom Recovery. You will have read here on forum or on Wiki if you need to know more.
SlimBean and Slim Rom are one and the same. To the best of my knowledge, Slim Bean is the Official Name.
Emails and messages can be migrated via Titanium. However best if you take a backup of these inside the respective apps. Typically they allow you to back on a PC. Do so for double effect. I do believe Kies has an ability to backup Call Log. But I personally have never backed up Call Log so am not sure. I don't think you'd have to convert Messaging and Phone apps since you are backing those details as above.
OK, thanks for that.
So, if I want to keep data from System Apps, they need to be converted to User Apps, does this include the Phone and Message apps so I can retain the logs and txt's?
Thanks again,
Johnathan
johnathanamber said:
OK, thanks for that.
So, if I want to keep data from System Apps, they need to be converted to User Apps, does this include the Phone and Message apps so I can retain the logs and txt's?
Thanks again,
Johnathan
Click to expand...
Click to collapse
Think I answered that one in my last post.
Perseus71 said:
Think I answered that one in my last post.
Click to expand...
Click to collapse
Got it. Thanks again.
BTW, any experience with the PAC-man ROM (Here) or AllianceROM (Here)?
Seemed like a decent one since it include features from multiple other ROMs.
Thanks,
Johnathan
I have tried PAC MAN Rom just because I wanted to see what the Unicorn (AOKP) is upto. Realized it hates my favorite Kernel so left it. Honestly never tried Alliance Rom. I like AOSP and have no love for the touchwiz framework. My Current Combo is SlimKat Rom and KT747 Kernel.
Perseus71 said:
I have tried PAC MAN Rom just because I wanted to see what the Unicorn (AOKP) is upto. Realized it hates my favorite Kernel so left it. Honestly never tried Alliance Rom. I like AOSP and have no love for the touchwiz framework. My Current Combo is SlimKat Rom and KT747 Kernel.
Click to expand...
Click to collapse
I was looking at SlimKat.... they have the d2lte download that replaced the d2tmo. Would I need CWM or TWRP to implement this?
Also, that is the Kernel compared to the ROM?
Thanks for your help,
Johnathan
Yes you will need either CWM or TWRP or something similar such as Philz Touch.
I tend to replace the kernel of Slimkat with KT747. Nothing wrong with the Rom's kernel. Its just my preference.
Ok,so for any ROMs that are not stock-based, a different recovery is needed other than stock.
Why did you choose that Kernel over others? What does it offer that suits your fancy?
Using the XDA Developers app... OH YEAH!!!
Sounds about right. Do note, even for Alliance Rom, you'd need Custom Recovery such as CWM or TWRP. For terminology sake, any recovery that's not stock is called Custom Recovery.
I like KT747 because of the ease and flexibility it offers for profile based Overclocking or Undervolting. See the link in my signature for Undervolting just to give you an Idea.
Perseus71 said:
Sounds about right. Do note, even for Alliance Rom, you'd need Custom Recovery such as CWM or TWRP. For terminology sake, any recovery that's not stock is called Custom Recovery.
I like KT747 because of the ease and flexibility it offers for profile based Overclocking or Undervolting. See the link in my signature for Undervolting just to give you an Idea.
Click to expand...
Click to collapse
That's cool, I'll check it out.
Apologies for all the questions... just thought that I'd get them all out.
One last one, I think... AllianceROM, I've seen several that have specific device models that it should work for... I can't find much about the t999 being supported with AllianceROM. I suppose I can't assume this would work with this model, correct?
Thanks again,
Johnathan
When it comes to Touchwiz based Roms (AKA Stock Based Roms), if it does not include your device, I wouldn't try it.

Categories

Resources