[Q] stupid n00b kernel questions - Nexus S Q&A, Help & Troubleshooting

1) if i flash a custom ICS kernel and not a ROM, will i have to setup my whole phone again (lose my data/settings)?
2) if there is an ICS update in the future, will flashing it back to ICS 4.0.3 for the update lose all my data/settings?
sorry for the n00b questions.

If u flash a kernel you won't loose data. All you have to do is wipe cache and dalvik cache and flash it.
Sent from my Nexus S 4G using xda premium

thanks esteway.
just to clarify, if i ever need to revert back to stock ICS, i won't lose data also?

No need to reflash the whole rom/ kernel to go back to stock Just need to reflash stock kernel since you are on stock rom
Stock kernel can be found here 3rd post 3.0.8. Kernel
http://forum.xda-developers.com/showthread.php?t=1399273

many thanks guys.
damnit, i lost CWR. my bootloader is unlocked but i can't get into CWR from recovery. all i see is a dead android icon with an "!" coming out of its body.
if i "fastboot flash recovery recovery-clockwork-5.0.2.0-crespo.img" will that do it? give me the ability to flash in a new kernel? i hope this doesn't wipe the bloody phone clean.

You can flash the recovery via recovery then boot directly into it and flash the kernel.
Your recovery will be overwritten every time the stock os boots up unless you remove / rename the install recovery script in it.

for sticky recovery, you might refer to this guide for help, just rename the script will do it:
http://forum.xda-developers.com/showthread.php?t=1396959

Related

HELP!!! Cant Go Past HTC Screen

I Followed all instructions to flash the new sense froyo rom, and it wouldnt go past the white htc screen, so i then just tried to install my old rom back and its still doing the same thing. any help?
are you running the FIRERAT's MOD???
Yea i did..
FYI : anytime you flash a new rom after this mod, or flash a new kernal to a currently flashed rom, you will ONLY NEED TO FLASH THE SECONDARY FIRERAT BOOT file named "FR-boot-v1.5.3-CustomMTD_S.zip".
so say after this mod you want to try a new kernal, you flash the kernal, flash boot, and reboot the system.
or say you want to flash a new cm6 nightly update, you flash the new rom/update, flash boot, reboot.
or say u want a new nightly and a new kernal, you flash the nightly, flash the kernal, flash the boot, reboot.
its very simple, if anything u flash overwrites current kernal specifications, u need to flash the boot file to make sure it knows how to set itself up. this goes for nandroid back ups aswell.
Click to expand...
Click to collapse
you didn't follow the FIRERAT MOD steps when flashing a new ROM
benbenondatrack said:
I Followed all instructions to flash the new sense froyo rom, and it wouldnt go past the white htc screen, so i then just tried to install my old rom back and its still doing the same thing. any help?
Click to expand...
Click to collapse
did you wipe before/after rom flash?
and this isnt the right forum

[Q] how to flash custom rom safely?

i am a dangerous noob =(
i am trying to flash my skyrocket to [ROM][RADIO]UCLA3 2.3.6 STOCK ROM(NOciq)/UCLA3 Modem/FEB 24
i know how to boot to recovery mode so far...
i got the rom and radio downloaded....
can anyone suggest a good tutorial? i tried youtubing skyrocket custom rom installation and i see mostly s2 w/ the middle button that i don't have.
also, how to i not trip the flash counter as someone said it was very annoying to have that on the phone?
and yes this will be my first time flashing my phone. i don't want to have a expensive brick in the end
unlockingsky said:
i am a dangerous noob =(
i am trying to flash my skyrocket to [ROM][RADIO]UCLA3 2.3.6 STOCK ROM(NOciq)/UCLA3 Modem/FEB 24
i know how to boot to recovery mode so far...
i got the rom and radio downloaded....
can anyone suggest a good tutorial? i tried youtubing skyrocket custom rom installation and i see mostly s2 w/ the middle button that i don't have.
also, how to i not trip the flash counter as someone said it was very annoying to have that on the phone?
and yes this will be my first time flashing my phone. i don't want to have a expensive brick in the end
Click to expand...
Click to collapse
As long as you don't flash via Odin you will not increment the counter. Flashing via clockworkmod recovery is safe.
The first post of the thread where u downloaded from has instructions on how to flash. Please read it again.
Sent via smoke signal
unlockingsky said:
i am a dangerous noob =(
i am trying to flash my skyrocket to [ROM][RADIO]UCLA3 2.3.6 STOCK ROM(NOciq)/UCLA3 Modem/FEB 24
i know how to boot to recovery mode so far...
i got the rom and radio downloaded....
can anyone suggest a good tutorial? i tried youtubing skyrocket custom rom installation and i see mostly s2 w/ the middle button that i don't have.
also, how to i not trip the flash counter as someone said it was very annoying to have that on the phone?
and yes this will be my first time flashing my phone. i don't want to have a expensive brick in the end
Click to expand...
Click to collapse
I assume your phone is rooted and CWM installed.
1. Reboot in CWM ( turn off your phone , then press both volume keys and press power wait for samsung logo and relese all buttons)
2. go to backup and restore and buckaup your phone just in case go back
3. Wipe data/factory reset
4. Wipe cache partition
5. go to mount and storage and format system go back to main menu
6. install zip from sdcard
7. choose zip from sdcard
8. flash rom
10 . go back to to main menu and go to advance wipe there Dalvik Cache
11. back to main menu and reboot system now.
Wait for full reboot setup whatever you need to setup. If after rom and modem flash you will have no mobile data reflash rom again.
Good luck
6.
my phone is root on stock firmware.
cwm = clockworkmod?
i see cwm on the market.. which version i should use?
https://market.android.com/search?q=clockworkmod
unlockingsky said:
my phone is root on stock firmware.
cwm = clockworkmod?
i see cwm on the market.. which version i should use?
https://market.android.com/search?q=clockworkmod
Click to expand...
Click to collapse
Download the rom manager app from the market. There is an option to flash cwm from there. Flash the one for the T-Mobile skyrocket.
Sent via smoke signal
Use this one https://market.android.com/details?...yLDEsImNvbS5rb3VzaGlrZHV0dGEucm9tbWFuYWdlciJd
thank you all, i have successfully upgrade to 2.3.6 stock... i will play with custom roms later.
Noob question
cdshepherd said:
ok folks we finally made it. silver has been busting his butt for the past three days, mucho thanks to him.
STOCK ZIPALIGNED UCLA3 2.3.6 ROM---https://www.sugarsync.com/pf/D7693548_2736667_990900
Rom mirror---http://hotfile.com/dl/147732791/c4551c4/UCLA3_2.3.6_rom.zip.html
Wipe data/factory reset
Wipe cache/dalvik
Format /system(under mounts and storage in cwm)
Flash rom
Reboot
Enjoy
Carrier IQ is not present in the stock rom
2.3.6 UCLA3 Stock kernal included in zip
STOCK UCLA3 MODEM --- http://www.mediafire.com/?h7bnu7kvpw7dqtg
Modem mirror https://www.sugarsync.com/pf/D7693548_2736667_990795
Wipe cache partition
Wipe dalvik cache
Reboot
Enjoy
NOTE: Many people have already experienced better signal/data speeds with the stock 2.3.6 UCLA3 Modem/kernal combo. Personally my data speeds went from 3-4mbs up to 8-9mbs after flashing UCLA3 Modem/Kernal combo. The more feedback on this the better.
Good Luck! Look forward to hearing your feedback
Click to expand...
Click to collapse
Sorry for the noob question but are we suppose to flash both files? The ROM and MODEM ?
desilva79 said:
Sorry for the noob question but are we suppose to flash both files? The ROM and MODEM ?
Click to expand...
Click to collapse
You can flash/run various modems, kernels, and rom combinations depending on your particular wants and needs. If you want to stay close to stock, and take advantage of the symbiotic relationship between the UCLA3 rom, kernel, radio, then yes flash both UCLA3 files in cdshepherd's OP. (his ROM has the kernel included). I would suggest flashing modem (radio) first... reboot.. then boot back into CWM to flash rom. For me (and others) when the modem is flashed after rom, the data connection is lost. Follow the install instructions in the OP of the rom. Also, take a look at silver03wrx's Silver_Rom... it's stock UCLA3 but he'll be theming/deodexing it going forward. By the way, I found my HPSA+ speeds significantly increase using the combination of the UCLA3 kernel and modem. Good luck... hope this helped.
Thanks a lot DoctorQMM. That helps a lot . I think I want to stay as close to stock as possible right now while waiting for ICS. I just took the plunge and rooted my phone for the first time so I'm learning as much as I can via google/xda but sometimes I need reassurance just to make sure I don't brick the phone while doing something stupid.

How to reset? Ive done Superonclick & Clockworkmod Recovery Rom

Things Ive done:
Android Version 2.3.5
Baseband ver: I727UCKJ2
Kernel 2.6.35.11
Superoneclick Root
Clockworkmod recovery rom installed
I think Ive deleted some of the ATT bloatware.
How do I factory reset so I can get the next over the air updates?
IF I reboot to recovery with ROM Manager, will
Wipe/data factory reset & wipe cache set the phone back to like when i first got it from ATT?
I want to able to get the over the air updates tomorrow, What do I do?
If you have the stock UCKJ2 rom (which it appears that you do) then there is no need to factory reset or wipe data.
You will need to flash the stock recovery tar via ODIN, because OTA updates will not work with CWM recovery.
cschmitt said:
If you have the stock UCKJ2 rom (which it appears that you do) then there is no need to factory reset or wipe data.
You will need to flash the stock recovery tar via ODIN, because OTA updates will not work with CWM recovery.
Click to expand...
Click to collapse
will this increase my flash counter?
No, because you would be flashing the recover partition only.
The flash counter trips only when a custom rom package containing a kernel (boot.img) is flashed.
Sent from my SAMSUNG-SGH-I727 using XDA App
Wipe data will never reset you to stock when you are running a custom from, which you are not. Nor will it return you to the stock recovery. So all you have to do is flash the stock recovery tar through Odin you can find that in development along with instructions. Also note that by updating through ota you will lose root access
My phone is running android 2.3.5. kernal version 2.6.35.11 and baseband is I727RUXKJ7. its a roger i727r though. so my baseband would be UXKJ7
I'm on stock rom, rooted and have cwm installed. I wanna delete cwm and totally wipe my phone of root and everything.
my phones speaker has been messing up and i want to send it in for warranty.
how can i do all of this without tripping the flash counter?
Basically, u can't. That being said I haven't heard of anyone tripping the flash counter and having issues. If you've done it once or twice u should be ok

Flashing different roms, whats the deal???

Ok so i've finally decided im ready to unlock and flash. My question is this: whats the deal with returning to stock and redoing everything on certain roms? Can anyone explain to me the variables here?
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
once you have your device rooted and have a recovery installed, make a nandroid back up your stock rom, flash whatever rom you want, then if you need to go back to stock rom, just flash the nandroid back up you made. If you want to go 100%, then you will have to find the stock recovery image, and flash that over your custom recovery as well, then just use OTA Rootkeeper... and temp unroot your phone... and viola, your 100% stock again.... but if you plan to go back to 100% stock then DO NOT UNLOCK YOUR BOOTLOADER!! there is no way to lock it again once you unlock it.
I think it's worth while to note
currently the only custom recovery that is able to flash stock is CWM
TWRP is not able to flash a stock rom
KAD79 said:
I think it's worth while to note
currently the only custom recovery that is able to flash stock is CWM
TWRP is not able to flash a stock rom
Click to expand...
Click to collapse
If you flash a stock ROM using CWM you will lose all data on your device, including any backups you made using CWM. So be sure to backup those files to your PC (they're located in the clockworkmod/backup folder of your internal storage) before flashing the stock Asus ROM.
I've been changing my ROM's throughout the day and have basically memorized the process of flashing CWM, root, and ROM's by now
KAD79 said:
I think it's worth while to note
currently the only custom recovery that is able to flash stock is CWM
TWRP is not able to flash a stock rom
Click to expand...
Click to collapse
TWRP can flash stock. I've done it.
Sent from my SGH-I897 using xda premium
Ive read about problems reflashing ROMs when youre on the CM or AOKP. Need to return to stock, then flash other ROMs, dunno why exactly. So is it enough just to restore my stock nand backup or do I need to do something differently? :good:
This is exactly what im talking about. What are the rules when coming from cyan to a stock flavor?
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
So lets say right now im ready to unlock and root. I would want to unlock the device, then root, then flash CWM (not twrp) so i could still retrain (and boot in to without reinstalling) my original rom? Because i still want to titanium my apps.
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
not sure if I understand your question right, but yeah you can use your stock rom when you root or flash cwm. Untill you wont wipe anything within CWM, theres no reason you coulndt use it. But dont forget to do backup of your stock mate.
I think part of the confusion is defining what "stock" means, and I've got two different views on it over the past few days:
COMPLETE STOCK means flashing ASUS' original stock firmware, which completely wipes out everything on your tablet (including your nandroid backups) and CWM and takes you back to a fully stock tablet (except it will still have unlocked bootloader). From here, if you want to install ROM's like CleanROM or Hydro you have to re-flash CWM each time, then flash the appropriate ROM.
MODIFIED STOCK would be making a nandroid backup of your stock settings as soon as you flash the stock ROM, install CWM, then back it up and you can revert to it accordingly. I don't know if this would break things when you tried to flash Clean/Hydro and so maybe someone can clarify.
I wanted to try both hydro and cleanrom so I spent many hours yesterday flashing between stock/modified stock. Its kind of a pain, but all part of the learning process.
And one thing I want to note both for myself and for anyone else: if you flash stock without removing CWM it'll give you the broken bootloader logo (android on his back w/ exclamation point), and my solution has just been to do a 'wipe data' from the fastboot menu and the stock will work fine. What I mean by this is I've done this at least three times, where I flash STOCK from within CWM and when I try to boot into recovery, I'll get that android. That's because STOCK completely erases everything including CWM so in order to restore the normal operating procedure, you just need to 'wipe data' from within the tablet.
Hope my understanding of these situations is correct, if not anyone can feel free to correct me
People like to experiment with their tablet, they get easily bored with the same thing.
So they go back to stock and flash another rom like Hydro which is stock based because when you flash CM or AOKP it won't let you just flash to Hydro.
KAD79 said:
I think it's worth while to note
currently the only custom recovery that is able to flash stock is CWM
TWRP is not able to flash a stock rom
Click to expand...
Click to collapse
NOT TRUE!
It should be noted that TWRP is now more functional than CWM. TWRP can now flash stock ROMs just fine. It can now restore complete nandroids, including /boot, and it can now flash from and store to the external SD card. It was just recently updated for this, which is why all the information until now has said to use CWM to flash the stock ROM. So, go ahead and use TWRP. It's perfect now.

Need a few qiuck tips. Regarding rooting and flashing

I am about to flash my nexus 5 device.
I was wondering.. if i unlock the bootloader and install a custom recovery plus create a backup.. that means ill have basicly a backup on my phone of a factory ROM and kernel right ?
So If i play around with custom roms and Kernels does that mean if I want to go back to stock kernel or/and ROM I can just recover my backup files from ,for example, CWM ?
And also if anyone here knows... how big difference can a kernel for battery life extension make ?
Then..
If I want to flash both.. Custom ROM and Kernel.. Rom comes first ? And if after that .. lets say I have flashed Cyanogenmod , and I have decided to change ROMs , Do I have to flash factory ROM ? Or I can just factory reset and Flash ir over the Cyanogenmod ?
For example.. for elementalX kernel I read this line... "You should only flash ElementalX over the kernel that came with your ROM!!!" I assume that means I do flash the ROM first... and what if I want to change Kernels later on? I re-flash the factory kernel ? And how do I do that?
For now that would be it
Thanks
Yes, installing a custom recovery (I recommend TWRP) allows you to create a backup of the existing ROM for restoration at a later point in time if you don't like the phone's existing ROM. Restoring TWRP backups have always worked except for me except in a couple of situations where I could not boot the restored ROM without first doing a factory wipe of the data and cache partitions.
I can't comment on custom kernels except to say that everyone uses their phone in different ways and getting the best battery life and performance may require a lot of tweaking. You could just try different kernels to see which one suits your needs.
You can restore the ROM's original kernel by extracting the kernel from the original ROM and flashing it. Alternatively, you could dirty flash the over the existing ROM. For example, if you are running CM12.1 2015-12-30 with a custom kernel and you want to go back to CM12.1 2015-12-30 without the custom kernel, you could just re-flash the entire CM12.1 2015-12-30 ROM again.
audit13 said:
Yes, installing a custom recovery (I recommend TWRP) allows you to create a backup of the existing ROM for restoration at a later point in time if you don't like the phone's existing ROM. Restoring TWRP backups have always worked except for me except in a couple of situations where I could not boot the restored ROM without first doing a factory wipe of the data and cache partitions.
I can't comment on custom kernels except to say that everyone uses their phone in different ways and getting the best battery life and performance may require a lot of tweaking. You could just try different kernels to see which one suits your needs.
You can restore the ROM's original kernel by extracting the kernel from the original ROM and flashing it. Alternatively, you could dirty flash the over the existing ROM. For example, if you are running CM12.1 2015-12-30 with a custom kernel and you want to go back to CM12.1 2015-12-30 without the custom kernel, you could just re-flash the entire CM12.1 2015-12-30 ROM again.
Click to expand...
Click to collapse
Thanks!
What advantages does TWRP has over CWM ? And also does it recover other files as well or just the system ones ?
And I guess its safer to just extract the original ROMs kernel.. Just how do i do that ?
TWRP is well supported and features a simple touch interface. TWRP will recover the system and data files.
Not necessarily safer to flash just the kernel rather than the entire ROM. It also saves time and effort because, if the kernel is not extracted and compiled for flashing in recovery, it could cause the phone to bootloop.
I've never extracted the kernel myself but this may help: https://www.youtube.com/watch?v=rLhprnOF6-U
audit13 said:
TWRP is well supported and features a simple touch interface. TWRP will recover the system and data files.
Not necessarily safer to flash just the kernel rather than the entire ROM. It also saves time and effort because, if the kernel is not extracted and compiled for flashing in recovery, it could cause the phone to bootloop.
I've never extracted the kernel myself but this may help:
Click to expand...
Click to collapse
Thanks!
So.. If, lets say, I flash cyanogenmod. Then Flash custom kernel. In order to change other kernel which is also custom , I should first flash the factory ROM which will have kernel on it ? And then reflash the ROM and then flash the new kernel ?
Im sorry , I also read a lot about this and somewhere on the way got really confused , haha.
Let's assume you flash CM version 1 and then you flash custom kernel "Kernel A". If you want to try another custom kernel named "Kernel B", you could just flash "Kernel B" over "Kernel A". If the developer of "Kernel B" cays it must be flashed over CM's original kernal, you could still flash "Kernel B" over "Kernel A" and hope it works. If it doesn't work, you could dirty flash CM version 1 over the existing ROM, then flash "Kernel B".
audit13 said:
Let's assume you flash CM version 1 and then you flash custom kernel "Kernel A". If you want to try another custom kernel named "Kernel B", you could just flash "Kernel B" over "Kernel A". If the developer of "Kernel B" cays it must be flashed over CM's original kernal, you could still flash "Kernel B" over "Kernel A" and hope it works. If it doesn't work, you could dirty flash CM version 1 over the existing ROM, then flash "Kernel B".
Click to expand...
Click to collapse
Thank you. Made things much clearer. Dirty flash means just flashing over the existing custom ROM and Kernel right?
And also.. What about if i have CM and Kernel B ... But i want to go change to ParanoidAndroid and still keep the Kernel B? This ROM would remove the Kernel and I would have to re flash ir right?
And also if I am just switching around ROMs only.. I can just flash them one over another? Perhaps a factory reset is healthy in between though.
Dirty flash means flashing over the existing ROM without wiping the system in recovery.
Flashing any ROM over an existing ROM will replace the system and kernel. If you want to change ROMs altogether, you'd flash PA and then flash Kernel B.
When changing ROMs, I always recommend a full wipe (i.e. system, data, cache).
audit13 said:
Dirty flash means flashing over the existing ROM without wiping the system in recovery.
Flashing any ROM over an existing ROM will replace the system and kernel. If you want to change ROMs altogether, you'd flash PA and then flash Kernel B.
When changing ROMs, I always recommend a full wipe (i.e. system, data, cache).
Click to expand...
Click to collapse
Alright. And just one last thing that I got a bit confused of..
When I root and install a custom ROM, I am not going to receive OTAs. If I just flash the newest custom ROM does that work as an update? Or the newest ROM can ble flashed over the newest android? If so... How do I exactly get the newest updates manually? I have to flash to factory ROM and then somehow flash the update? By far thats how I understood it.
rihz said:
Alright. And just one last thing that I got a bit confused of..
When I root and install a custom ROM, I am not going to receive OTAs. If I just flash the newest custom ROM does that work as an update? Or the newest ROM can ble flashed over the newest android? If so... How do I exactly get the newest updates manually? I have to flash to factory ROM and then somehow flash the update? By far thats how I understood it.
Click to expand...
Click to collapse
Depends on which rom, but updates to custom roms generally can just be flashed over. Not sure of the MM jump, but from KK to LP, it worked fine so far. Whatever you do read the instructions of the rom and kernel builders. You get lucky sometimes and can dirty flash things that should not be dirty flashed, but if there are issues, there are instructions on the rom or kernel page how to start again.
If you are factory modified and want a factory image you need to flash in fastboot. If on a custom rom, well, like I said follow their advice. Make sure to backup with recovery and save on computer before doing anything.
wangdaning said:
Depends on which rom, but updates to custom roms generally can just be flashed over. Not sure of the MM jump, but from KK to LP, it worked fine so far. Whatever you do read the instructions of the rom and kernel builders. You get lucky sometimes and can dirty flash things that should not be dirty flashed, but if there are issues, there are instructions on the rom or kernel page how to start again.
If you are factory modified and want a factory image you need to flash in fastboot. If on a custom rom, well, like I said follow their advice. Make sure to backup with recovery and save on computer before doing anything.
Click to expand...
Click to collapse
Okay, thanks!
And Happy New year to you all!

Categories

Resources