Stock Kernel Confusion - Galaxy S III Q&A, Help & Troubleshooting

Hi Guys,
Ok so I have an i9300 and I want to restore it to stock before passing it down to a family member. I've followed a few guides but it doesn't seem to want to boot. I was running CM12.1 unofficial and flashed a custom kernel onto it, unfortunately I failed to note down the original kernel info before hand.
I've flashed stock recovery, stock rom and one of many stock kernels. I've tried the usual factory reset, clear cache & dalvik but it seems to be stuck at the boot screen indicating that I've flashed the wrong kernel.
Without the phone booting, how do I find out what the correct stock kernel is for my phone? Or does it even matter?
The only info I have from an old screen shot is that when it was running stock android 4.0.4 that the Baseband version was i9300XXLH1 and the Kernel version was "3.0.15-928452 [email protected] #1 SMP PREEMPT Tues Aug 21 17:04:13 KST 2012"
Hope someone can help.
Thanks,
Speed3y

Speed3y said:
...
I've flashed stock recovery, stock rom and one of many stock kernels. I've tried the usual factory reset, clear cache & dalvik but it seems to be stuck at the boot screen indicating that I've flashed the wrong kernel.
...
Click to expand...
Click to collapse
I don't know what you did exactly as you did not tell. But the statement "many stock kernels" makes me wonder...
Just to make something clear: Flashing a stock firmware from sammobile.com via ODIN includes rom, modem, kernel and recovery.
So please do only that and report back.

Hawaiihemd said:
I don't know what you did exactly as you did not tell. But the statement "many stock kernels" makes me wonder...
Just to make something clear: Flashing a stock firmware from sammobile.com via ODIN includes rom, modem, kernel and recovery.
So please do only that and report back.
Click to expand...
Click to collapse
Thank you, see I was under the impression that the rom did not contain everything, but knowing that it does means more than likely I've flashed the wrong one.
Just got to work out which one I need off sammobile.

Speed3y said:
Thank you, see I was under the impression that the rom did not contain everything, but knowing that it does means more than likely I've flashed the wrong one.
Just got to work out which one I need off sammobile.
Click to expand...
Click to collapse
Practically any version for your device and your region will work fine. Since you are new to the forum, I can recommend at least the first thread in my signature as a little reading material. It contains almost all basics you should understand... ideally before you put hands on your device
-- EDIT --
Ah I forgot: You should first and foremost make an EFS backup (if you don't have one already), preferrably on extSD card. I'd use TWRP recovery for that...

I've flashed several that should work, but none did. I've managed to get it to boot now with a copy of CM11 so hopefully I should be able to get enough info to flash the correct rom.

Related

[Q] Root, kernels, firmwares and roms

Getting a bit confused about all this, so am wondering if i've got it right. A rom is the whole thing, it includes a kernel and so forth? So a Kernel is a part of the rom right? And you can flash kernels individually without flashing a whole new rom? But what is a firmware then? Just another name of a rom?
Also on the Galaxy S2 can you flash custom roms, like Lite'ning, without getting root first? Or do you need to get root before flashing custom roms? If you can flash custom roms first without rooting, will the custom rom then give you root as long as it includes it?
And you also got recovery, which is a separate thing again? Galaxy S2 comes with a very basic one if i've understood correctly, but there is others out there that you can install, which also gives you the ability of flashing roms straight from the microsd/phone storage?
So have i gotten any of this? Hope am not to far off
Edit: http://forum.xda-developers.com/showthread.php?t=1246131 looks like most of my questions where answered there, though am still a bit unsure if it's possible to flash a custom rom before you root?
ROM's and FIRMWARE: The ROM or Read Only Memory is the internal flash memory where the core operating system resides. The Firmware is a device specific part of the ROM that controls various hardware components. So the firmware is contained in the ROM but in the context of Android the terms are often used interchangeably.
KERNELS: Different kernels offer different advantages, some are fast, some are light weight on the battery and some are a mix, so yes you can in most cases flash a different kernel with a ROM, and then your phone will be running the custom ROM you picked with the new kernel you flashed.
Rooting: You must have a rooted phone inorder to flash a custom rom, but rooting in my opinion seems really safe and it really easy to do on the SG2
There are things that allow you to flash from your SD card and you do that by entering clockworkmod revovery, apps like rom manager also allow you to flash from sd card, but you can always use odin, which is safe and fast
hope this helps
Thanks, and very nicely explained =) Another question then, what is the reason one need root before you can flash custom firmwares? As i heard Galaxy S2 doesn't really have any safety measures put in to stop things, like HTC do with their bootloader. Another thing is that i checked the thread for the Lite'ning rom, and saw the installation procedure, and it doesn't mention anything about having root before starting, so am getting a bit confused there.
You don't need to root before flashing a custom ROM as long as you can enter download mode (power up with volume down, home and power button pressed) and can flash the ROM via Odin.
If the ROM is flashable only via ClockWorkMod recovery (a zip that you copy on your phone) then you need to flash something that includes that recovery before flashing the rom (like CF-Root or any kernel that includes CWM).
Lite'ning ROM that you mentioned earlier is flashable via Odin so no problem.
Every ROM includes a Kernel, the only thing they sometimes don't include is the modem like in VillainROM, you have to flash it separately. And also, if a ROM is announced as rooted, when you flash it, you will have root regardless of the state before flashing
Thanks once again =)
Another question, if one want to get back to stock, flashing one of these "official firmwares": http://forum.xda-developers.com/showthread.php?t=1075278 well revert everything right? Even if i got CWM recovery, after flashing on of those "official firmwares" will give me back the original recovery as well?
Edit: Also you mention "modem", if one ROM don't include one, do you have to flash it separately for the ROM to function at all? Or will it just use the modem that's already on the phone or something? Checked out the VillainROM thread and it doesn't say anything about a modem.
Nitrius said:
Another question, if one want to get back to stock, flashing one of these "official firmwares": http://forum.xda-developers.com/showthread.php?t=1075278 well revert everything right? Even if i got CWM recovery, after flashing on of those "official firmwares" will give me back the original recovery as well?
Click to expand...
Click to collapse
Yes it will revert back everything
Nitrius said:
Edit: Also you mention "modem", if one ROM don't include one, do you have to flash it separately for the ROM to function at all? Or will it just use the modem that's already on the phone or something? Checked out the VillainROM thread and it doesn't say anything about a modem.
Click to expand...
Click to collapse
If you dont flash a modem it will just use the one you had before. They talk about it in the old thread and also in the new but not in the firsts posts, you'll have to do a search.
Plus Modem Kernels are interchangeable .
KH3 Firmware with KI4 modem and KH1 kernel .
Guide
http://forum.xda-developers.com/showthread.php?t=1125282
jje

[Q] CF Root, now new rom

i've just flashed a new KERNEL onto me sgs2 which went well CF_ROOT 4.1 i also downloaded villin 2.5 in zip format, can this just be put on using CWM?
also I wanted to get the original KERNEL and Rom just incase all goes belly up. How do I know what they are?
I struggled a bit picking a CF KERNEL what the best way to go about picking one which is suitable.
Do all ROMs come with a new kernel?
Many thanks, learning as much as possibale.
jonbet83 said:
i've just flashed a new KERNEL onto me sgs2 which went well CF_ROOT 4.1 i also downloaded villin 2.5 in zip format, can this just be put on using CWM?
What do VR rom instructs say you follow the instructions for each rom .
also I wanted to get the original KERNEL and Rom just incase all goes belly up. How do I know what they are?
You look them up in the place you wrote them down otherwise all you can do is guess at what firmware firmware not kernel.
I struggled a bit picking a CF KERNEL what the best way to go about picking one which is suitable.
Follow the instructs Chainfire tells you exactly how and why .
Do all ROMs come with a new kernel?
No a kernel is part of the firmware stock KE1 will have KE1 firmware
Custom KE7 firmware may have custom kernel .
jje
Click to expand...
Click to collapse
jonbet83 said:
i've just flashed a new KERNEL onto me sgs2 which went well CF_ROOT 4.1 i also downloaded villin 2.5 in zip format, can this just be put on using CWM?
also I wanted to get the original KERNEL and Rom just incase all goes belly up. How do I know what they are?
I struggled a bit picking a CF KERNEL what the best way to go about picking one which is suitable.
Do all ROMs come with a new kernel?
Many thanks, learning as much as possibale.
Click to expand...
Click to collapse
Do you remember what your kernel was before you rooted? if not you can check the stock and carrier specific firmware threads by intratech in the original development forum, this should also provide an original rom for you.
To flash villain
1. boot into recovery (hold vol up, home and power on startup)
2. backup ( so you can resore if you wish)
3. wipe data, cache and dalvik cache in advanced.
4. instal Villain zip from sd
5. reboot
6. ??
7. profit.
Have fun
No i didn't think to write them down at all, its only a few day old so i guess it should be quite a new one...
I have already made a back up using CWM, would this restore every thing even if a new ROM is installed back to how it was?
Thanks for the advice

[Q] Samsung's leaked ICS : kernel panic

Hi guys,
as you know some days ago, Samsung has leaked their SGS2 ICS firmware, which I learnt on sammobile.com.
In their article, was a tutorial to install it, so I did.
I tried it a bit, but have been desapointed, so I decided to flash back to MIUI.
Thus I first flash another kernel, but here my trouble start.
Long story short, if I don't use the leaked, buggy firmware, I have a "Kernel panic - upload mode" and Kies does not recognize my phone to flash it back to stock.
I figured out that in the tutorial I have been told to change some file I've never flashed (like the pit, the modem and I think the CSC). Files that I don't know anything about. So I thought that those files weren't compatible with previous kernel etc. but as I don't know much, I can't be sure...
So I am know with a very buggy phone (for instance, I cannot be phoned, but I can phone to people) or a kernel panic. Help please :/
By the way, if someone could explain the meaning of those files, it would be cool, not to do the same mistake again.
And as I think : in all the tutorials using ODIN, it's said the I must not check "re-partition", what is it about ?
Thanks, and sorry for my poor English
Some updates here.
I thought yesterday, as there were those files (.pit, csc and stuff) in the downloaded archive on sammobile to flash leaked ICS, there were in the others firmware too, and I was right.
So this morning I flashed back to official 2.3.6 and it worked well. Then I flashed to xcell kernel (for Miui) and tried to flash MIUI 2.1.6. The kernel flash worked, as I rebooted normally but after flashing MIUI, another kernel panic :/
Did you wipe before flashing MIUI?
I did it after flashing, but still before rebooting.
Is that a mistake ?
If you wipe after flashing then your phone won't even boot.
So I think you did not wipe at all.
Yes I did, and I tried once again just now, wipping before flashing, but after the Samsung GS2 logo, still the kernel panic screen.
Clean Slate for those that balls up the firmware .Or need to return to service or decide if its hardware/firmware problem .
Backup data first if phone is working .
Boot CWM recovery
Mounts and Storage
Format cache data system sd card .
Remove battery
Boot to download mode
Open Odin
Install correct stock firmware .
Then read and learn before flashing anything else .
jje
Where can I find the correct stock firmware ?
I'm kinda lost with all the versions and stuff.
And when flashing, I would like to know what I do, but noone, nowhere, explains what we do, just "do that stuff and it will be good".
Swali said:
Where can I find the correct stock firmware ?
I'm kinda lost with all the versions and stuff.
You shouldd stop flashing and start READING THE BASICS you are flashing test roms from complete ignorance .
Stock firmware here you should know what your firmware is .
Stock Roms .and csc
http://forum.xda-developers.com/showthread.php?t=1075278
jje
Click to expand...
Click to collapse
Ok, I admit it, I was dumb doing it :-/
So now I am under stock both kernel and rom (2.3.5) and Kies says that there is an update but my phone isn't ok to do it, but that is not what I want.
I wanted to reset my phone through Kies to be sure all would be set to stock, but now Kies doesn't let me do it, there is no option to do it.
I think that the rom, even if official, is not good for my phone.
On the topic you linked, I choosed XXKI4 (France, if I understood well) for the rom.
Kies says my version is "I9100XWKJ2/I9100XEFKJ1/I9100XXKI4/I9100XWKJ2".
And my phone says :
- Banseband : I9100XXKI4
- Kernel : 2.6.35.7-I9100XXKI4-CL611039 [email protected] #2
- Version number : GINGERBREAD.XWKJ2.
Is that all ok ?
What I would like to do is flashing MIUI 2.1.6, so is it good to do it now ?
Make sure you have flashed back the old bootloaders, see this post: http://forum.xda-developers.com/showpost.php?p=21146446&postcount=2
Ok so I flashed an old bootloader then a custom kernel and to finish the latest MIUI and everything went well !
Thank you, guys !

[Q] Siyah 4.1.5 to Slim Bean?

Hi guys.
I have spent the last couple of days understanding the meaning of ROMs and kernels. It is still rocket science to me. My i9100 had the dreaded Android 4.0.4 XXLQ6 which i now upgraded to the Siyah 4.1.5 kernel.
Phone specs right now:
GT-I9100
Android 4.0.4
Baseband I9100XXLQ6
Kernel 3.0.15-Siyah-s2-v4.1.5
Buildnumber IMM76D.XXLQB
Now I want to upgrade to Slim Bean 3.1. However, I don't understand the instructions on their website. I would really appreciate it if somebody could explain all steps towards succesfull installation to me. I know you guys don't like XDA noobs, but this is my last resort. Thanks.
1.DOwnload this And
this(Select Addons what you want)
2.Boot into Recovery Wipe data and cache then format system in Mounts and storage
3.Flash Slim-GT-I9100-4.2.1.Beta.1-OFFICIAL.zip***, then MUST flash slim_gapps.zip (other files optional)
*** If the flash is too quick ( < 5 seconds or so), reflash device before flashing common or other zip files.
Understand ?
Paulius7 said:
1.DOwnload this And this(Select Addons what you want)
2.Boot into Recovery Wipe data and cache then format system in Mounts and storage
3.Flash Slim-GT-I9100-4.2.1.Beta.1-OFFICIAL.zip***, then MUST flash slim_gapps.zip (other files optional)
*** If the flash is too quick ( < 5 seconds or so), reflash device before flashing common or other zip files.
Understand ?
Click to expand...
Click to collapse
That doesn't sound too difficult. Won't this interfere with my kernel as it was made for ICS instead of JB? And I prefer to flash the 3.1.0 version. But that doesn't change anything to the mentioned method, right?
Thanks, Paulius7.
No, won't interfere with your kernel it change it I think( I don't know execly) ...No it's not change method if you want to flash oldest versions...
If i am wrong correct me
Achtendertig said:
That doesn't sound too difficult. Won't this interfere with my kernel as it was made for ICS instead of JB? And I prefer to flash the 3.1.0 version. But that doesn't change anything to the mentioned method, right?
Thanks, Paulius7.
Click to expand...
Click to collapse
Your current kernel allows you to enter CWM Recovery, so you can flash any rom you want. When you succesfully flashed it, your kernel will be 'overwritten' (don't know all the technical stuff but I think this is understandable), so it doesn't matter the Siyah-version you have is for ICS, just like Paulius told you.
Edit: make a Nandroid backup, just in case anything goes wrong.
Sent from the Matrix
Thanks guys. I will give it a try later on. This makes things a lot less complicated.
Flash seems to be succesfull. There are some issues, however. The home key doesn't work when I use it to get back to my home screen. I keep getting notifications about apps that stopped working. I cannot synchronise to my Google account either? Did I miss something essential?
Wipe Cache/dalvik cache fix permisions...
If not Try to flash newest version...
The problem still persists. Should I wipe cache/dalvik cache/fix permissions and then re-flash gapps?
Edit 2: Problem solved. I mistakenly used the Gapps for 4.2.1.
I really appreciate your help. Thanks a lot!
Oh btw: so called noobs are as welcome as everyone is here It just annoying if they ask things without searching or reading first. Feel free to state your questions if it's needed:thumbup:
Sent from the Matrix

can't install ANY rom. Help!

So I was having some issues with feedback during calls with almost all custom ROMS. I reverted back to the gingerbread stock rom via odin to see if it was just a ROM problem and I found the source of the initial problem. But now when I boot into the recovery, it won't flash any new ROM I want to go back to. I do the normal flash/wipe + the cache for good measure, and apply the zip and It'll say "Short write of /tmp/sideload/package.zip (no space left on the device)." But I have 4gb free on my phone so i'm definitely not out of space. I've tried the AOKP JB rom, shoshock, and the newest cyanogen mod. No luck on any of them.
What am I doing wrong?
Tell us more details about your process, from stock through root and kernel, and we can help you out better.
aspen1135 said:
So I was having some issues with feedback during calls with almost all custom ROMS. I reverted back to the gingerbread stock rom via odin to see if it was just a ROM problem and I found the source of the initial problem. But now when I boot into the recovery, it won't flash any new ROM I want to go back to. I do the normal flash/wipe + the cache for good measure, and apply the zip and It'll say "Short write of /tmp/sideload/package.zip (no space left on the device)." But I have 4gb free on my phone so i'm definitely not out of space. I've tried the AOKP JB rom, shoshock, and the newest cyanogen mod. No luck on any of them.
What am I doing wrong?
Click to expand...
Click to collapse
cyril279 said:
Tell us more details about your process, from stock through root and kernel, and we can help you out better.
Click to expand...
Click to collapse
Well the process is fairly straight forward. I think Ive explained the details as well as I can. I flashed the stock firmware through Odin and can't reflash any new rom or kernel. I made a nanbackup before doing this but the factory stocks kernel doesn't support backup/restore. I need to go from this old stock gingerbread rom back to shoshock or anything else to restore my backup.
In your explanation, I didn't see mention of how you rooted the device, or what custom-kernel you chose, or how (or if) you flashed the custom kernel. The stock recovery won't allow the installation of firmware that was not signed by Samsung, and Odin-flashing custom firmware is not the preferred method.
>>This Guide<< is the most up-to-date, and straight-forward method that I'm aware of for the I777, I highly recommend it.
aspen1135 said:
Well the process is fairly straight forward. I think Ive explained the details as well as I can. I flashed the stock firmware through Odin and can't reflash any new rom or kernel. I made a nanbackup before doing this but the factory stocks kernel doesn't support backup/restore. I need to go from this old stock gingerbread rom back to shoshock or anything else to restore my backup.
Click to expand...
Click to collapse
Once you're rooted and kernel'd, and can tell us what android version firmware you're trying to get to, we can better suggest which custom kernel to flash prior.
cyril279 said:
In your explanation, I didn't see mention of how you rooted the device, or what custom-kernel you chose, or how (or if) you flashed the custom kernel. The stock recovery won't allow the installation of firmware that was not signed by Samsung, and Odin-flashing custom firmware is not the preferred method.
>>This Guide<< is the most up-to-date, and straight-forward method that I'm aware of for the I777, I highly recommend it.
Once you're rooted and kernel'd, and can tell us what android version firmware you're trying to get to, we can better suggest which custom kernel to flash prior.
Click to expand...
Click to collapse
Sorry for not elaborating. The stock ROM (the one i'm on now) thats flash-able through odin, is pre-rooted.
I got it from this thread here: http://forum.xda-developers.com/showthread.php?t=1286432
But other than root, its completely stock gingerbread, Stock kernel, Bloatware, ETC. I'm trying to get to at least jelly bean or higher. I was on the shoshock rom before I decided to revert to the factory rom to test some things out. The signed package thing you mentioned makes sense because signature verification fails whenever i try to flash a different kernel. But it wont let me flash any of the jelly bean ROMS either (refer to my first post's error).
I visited the link you provided, and want to give the method a try. But mobile odin lite has been giving me constant trouble. it keeps saying I need to install another ad on in order to flash stuff and when I hit OK, the link takes me to my browser, but doesnt direct me to the web page that provides the ad-on download. Where do I go from here?
The add-on that mobile odin is trying to download is the i777 flash kernel that it needs to perform its magic. It's in post #10 of the mobile odin thread. Whether you use mobile odin lite or pro, you need this flash kernel. I'm not sure why it wouldn't download it from within the app.
aspen1135 said:
Sorry for not elaborating. The stock ROM (the one i'm on now) thats flash-able through odin, is pre-rooted.
I got it from this thread here: http://forum.xda-developers.com/showthread.php?t=1286432
But other than root, its completely stock gingerbread, Stock kernel, Bloatware, ETC. I'm trying to get to at least jelly bean or higher. I was on the shoshock rom before I decided to revert to the factory rom to test some things out. The signed package thing you mentioned makes sense because signature verification fails whenever i try to flash a different kernel. But it wont let me flash any of the jelly bean ROMS either (refer to my first post's error).
I visited the link you provided, and want to give the method a try. But mobile odin lite has been giving me constant trouble. it keeps saying I need to install another ad on in order to flash stuff and when I hit OK, the link takes me to my browser, but doesnt direct me to the web page that provides the ad-on download. Where do I go from here?
Click to expand...
Click to collapse
cyril279 said:
The add-on that mobile odin is trying to download is the i777 flash kernel that it needs to perform its magic. It's in post #10 of the mobile odin thread. Whether you use mobile odin lite or pro, you need this flash kernel. I'm not sure why it wouldn't download it from within the app.
Click to expand...
Click to collapse
Thank you thank you! I will try this out when I get a break from my classes. IDK why it wouldn't either. Much thanks!
aspen1135 said:
Thank you thank you! I will try this out when I get a break from my classes. IDK why it wouldn't either. Much thanks!
Click to expand...
Click to collapse
Just wanted to confirm that the mobile ODIN method worked and I now have my phone restored to how it was. Thanks again for all the help.

Categories

Resources