[Q] kernel name not there - Galaxy S II Q&A, Help & Troubleshooting

Hello,
Hope this is not in the wrong place.
I downloaded 4.0.4 "IRAQ" stock rom from sammobile and came here to get cf-root for it.
The problem is for the first time i can't find the kernel model where it usually is
"Go to Settings -> About phone -> Kernel Version. Note the string present there:
2.6.35.7-I9100XXKG1-CL349526"
this rom has the following in its place:
Linux version 3.0.15-1060868 ([email protected]) (gcc version 4.4.3 (GCC) ) #3 SMP PREEMPT Fri Aug 24 11:55:55 KST 2012
(copy pasted from adb shell cat /proc/version)
so i am back to 4.0.3 "EGYPT"
Was there a way of finding out the kernel so i could get the proper root file for it?

hmm i think i posted this in the wrong section. Could a mod move this to Q & A please?

Related

[Q] Bought a rooted Galaxy S2

Hi
Just wondered if anyone could help me work out how to update my rooted phone.
I bought it pre-rooted, but I think this was done some time ago.
Here's the only information I can see using the Root tool. I'm quite keen to get rid of the yellow triangle and update the firmware.
Linux version 2.6.35.7-I9100XWKDD-CL161513 ([email protected]) (gcc version 4.4.0 (GCC) ) #2 SMP PREEMPT Tue Apr 26 09:15:26 KST 2011
Can anyone provide any info?
TIA

[Q] Kernel version question

How does one set kernel version?
I have disabled CONFIG_LOCALVERSION_AUTO and set CONFIG_LOCALVERSION to CONFIG_LOCALVERSION="evo3dguy".
I have even changed ro.build.display.id but the kernel version still displays Linux version 2.6.35.13-g84f8edd ([email protected]) (gcc version 4.4.0 (GCC) ) #1 SMP PREEMPT Fri Aug 5 01:14:20 CST 2011
From my understanding the g84f8edd would be added via CONFIG_LOCALVERSION_AUTO=y so I set it to # CONFIG_LOCALVERSION_AUTO is not set, which should disable it, so it can't git rev-parse --verify HEAD and display g84f8edd, yet it does anyway.
So what is needed to change this
Linux version 2.6.35.13-g84f8edd ([email protected]) (gcc version 4.4.0 (GCC) ) #1 SMP PREEMPT Fri Aug 5 01:14:20 CST 2011
Linux version 2.6.35.13-evo3dguy ([email protected]) (gcc version 4.4.0 (GCC) ) #1 SMP PREEMPT Fri Aug 5 01:14:20 CST 2011
I download the source from htc, made my changes build kernel but the version doesn't change, I have also downloaded other sources posted here and compiled those kernels they display the authors name.
So what do I need to change or add to have evo3dguy displayed?
evo3dguy said:
How does one set kernel version?
I have disabled CONFIG_LOCALVERSION_AUTO and set CONFIG_LOCALVERSION to CONFIG_LOCALVERSION="evo3dguy".
I have even changed ro.build.display.id but the kernel version still displays Linux version 2.6.35.13-g84f8edd ([email protected]) (gcc version 4.4.0 (GCC) ) #1 SMP PREEMPT Fri Aug 5 01:14:20 CST 2011
From my understanding the g84f8edd would be added via CONFIG_LOCALVERSION_AUTO=y so I set it to # CONFIG_LOCALVERSION_AUTO is not set, which should disable it, so it can't git rev-parse --verify HEAD and display g84f8edd, yet it does anyway.
So what is needed to change this
Linux version 2.6.35.13-g84f8edd ([email protected]) (gcc version 4.4.0 (GCC) ) #1 SMP PREEMPT Fri Aug 5 01:14:20 CST 2011
Linux version 2.6.35.13-evo3dguy ([email protected]) (gcc version 4.4.0 (GCC) ) #1 SMP PREEMPT Fri Aug 5 01:14:20 CST 2011
I download the source from htc, made my changes build kernel but the version doesn't change, I have also downloaded other sources posted here and compiled those kernels they display the authors name.
So what do I need to change or add to have evo3dguy displayed?
Click to expand...
Click to collapse
There are a few ways to go about changing this.
The most handy version I have at the moment is a flag to add to the make command:
make -j2 LINUX_VERSION="2.6.29 jk original"
I know there is a place in the kernel source code also you can edit. If you've downloaded somebody else's custom source code, grep the code for their linux version output. I want to say it was in the actual .config file is where I used to change it.
Hope that helps!
There are several way to do this. What I do is create a small bash script to compile my kernels.
Code:
#!/bin/bash
export LOCALVERSION="-Vampirefo"
make clean
make -j4
if I type uname -r
I get
2.6.35.14-Vampirefo
if i type
cat /proc/version
I get
Linux version 2.6.35.14-Vampirefo ([email protected]) (gcc version 4.4.4 (crosstool-NG 1.12.4) ) #1 SMP PREEMPT Sat Oct 22 22:18:02 EDT 2011
vampirefo said:
There are several way to do this. What I do is create a small bash script to compile my kernels.
Code:
#!/bin/bash
export LOCALVERSION="-Vampirefo"
make clean
make -j4
if I type uname -r
I get
2.6.35.14-Vampirefo
if i type
cat /proc/version
I get
Linux version 2.6.35.14-Vampirefo ([email protected]) (gcc version 4.4.4 (crosstool-NG 1.12.4) ) #1 SMP PREEMPT Sat Oct 22 22:18:02 EDT 2011
Click to expand...
Click to collapse
to bring the question round circle, in android about phone -> software information where it shows the kernel version, it obtains the information from the /proc/version file and then uses regex to parse and display!
hope that helps connect all the dots!
joeykrim said:
to bring the question round circle, in android about phone -> software information where it shows the kernel version, it obtains the information from the /proc/version file and then uses regex to parse and display!
hope that helps connect all the dots!
Click to expand...
Click to collapse
Joeykrim, Vampirefo
Thanks so much for the help and information, my kernel now displays what I wanted.

Problem.Android S3 clone does not turn. System folder changed.

Hello guys,
I got a replica of android mobile galaxy S3 and performed the same root.
PROBLEM: I renamed the folder name LIB (system/lib to system/lib1) and now my phone will not turn on, But the android system recovery is still running.
There are a solution to recover my phone? I've tried various ways in adb shell, but do not have permission to change system files. I also tried resetting to factory mode in system recovery, but the problem continues. Friends is there a solution to solve this problem?
Manufacturer name GT-I9300
Device model GT-I9300
Device brand samsung
Hardware name mt6575
Firmware version 4.1.9
Firmware configuration version API returned illegal or no value
Build number IMM76D.I9300ZSALE9
Build fingerprint alps/tdc1212/tdc1212:4.0.4/IMM76D/1352963687:user/test-keys
Kernel version 3.0.13
[email protected] #4 Thu Nov 15 16:20:02 CST 2012
Kernel version raw Linux version 3.0.13 ([email protected]) (gcc version 4.4.3 (GCC) ) #4 PREEMPT Thu Nov 15 16:20:02 CST 2012
Bootloader version unknown
Baseband configuration version API returned illegal or no value
Baseband version MAUI.11AMD.W11.50.SP.V20, 2012/11/09 09:33

What would happen?

What would happen if I flash a different kernel on my phone that doesn't match. Also my phone has MT6582.
The name of my phone is Starmobile Diamond S1. (Can't post link)
My phone kernel is:
Code:
3.4.5
[email protected] #1
Fri Nov. 22 09:42:58 CST 2013
and I found this:
Code:
3.4.67
([email protected])
(gcc version 4.7 (GCC) ) #1 SMP PREEMPT Wed Sep 17 18:52:18 CST 2014
Do you guys have kitkat rom/kernel so that I can flash or port some custom rom?
Can anyone answer this?
Only one way to find out? Just make sure it is for your device. If not you will not be happy at all and need a new device.

chinese phone porting and kernel logo

hi all - so i have 2 questions, I got given a highscreen thor phone, and really struggling to find roms for it, for now it seems miui has one which i will try.
Is it possible to use a cmw backup as my Base Rom (see this article: http://forum.xda-developers.com/showthread.php?t=1908008) or do i need to try find a stock rom somewhere?
ALso - I tried flashing a carbon rom to this phone and the 1st pic that loads is terrible! it shows 6 copies of the same terrible pic- i tried downloading a app to fix but it says phone not supported!
Any ideas? i want to try port a cwm to this and compare the miui.. im a bit of a CM fan - but the stock rom is just so plain..
Specs:
MT6592
Build Number: TBW978117_9404_V006110
Build Date UTC: 20140221-070751
Version: 4.2.2
BaseBand: MOLY.WR8.W1315.MD.WG.MP.V21.P9.2014/02/21 14:47
Kernel v: 3.4.39 ([email protected]) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP Fri Feb 21
Uboot build v: - should be root shell
LCD Driver: -should be root shell
IMEI 1: ****
IMEI 1: ****

Categories

Resources