[Q] Change "kernel version" string - Android Software/Hacking General [Developers Only]

Can I change "kernel version" displayed in "About Phone" section without recompiling kernel?

su27 said:
Can I change "kernel version" displayed in "About Phone" section without recompiling kernel?
Click to expand...
Click to collapse
Me too, for android market compatibility issue since I've changed ro.build.name and ro.build.model in build.prof file to the original names with the initial belief that it would pass the compatibility check. It didn't since android market picked up the info from somewhere else like kernel version (I presume and hope).

Related

[Q] OpenVPN + Samsung Galaxy S = problems

Greetings,
I realise this may have been asked a number of times before on this forum (and other forums, for that matter), but my circumstances don't appear to be quite the same as those of the people asking if any of the Google searching I've done is anything to go by (correct me if I'm wrong, once you've read this):
I recently got a Samsung Galaxy S on Vodafone UK (see below for more firmware details) which I have since rooted, and I was hoping get OpenVPN working on it using OpenVPN Installer and OpenVPN Settings from the Android Market. I understand as part of the process that I need a module named tun.ko which ordinarily has to have been compiled specifically for a particular phone, yes? With that in mind I was hoping to be able to use this post from a thread I dug up during a search of this forum in order to help me. So I loaded this onto my phone's internal storage and then inserted the exact path accordingly into OpenVPN Settings, however I get the below error when I try to initiate a new tunnel:
Code:
FATAL: cannot allocate tun/tap dev dynamically
Here are the things I've tried up to now to get this working (in no particular order), which so far haven't worked:
1) Installed BusyBox Installer from the Android Market, in order to install BusyBox (obviously ) which I understand OpenVPN Settings requires to initiate a new tunnel.
- Having done this I have also tried re-installing OpenVPN via OpenVPN Installer, and redefining the path to BusyBox's 'ifconfig' and 'route' processes, which I understand the OpenVPN Settings app uses.​
2) Tried switching between 'modprobe' and 'insmod' as the chosen method of calling the tun module prior to tunnel initialisation.
3) Tried moving the tun.ko module I downloaded from the above linked post to different locations, then add the exact path in OpenVPN Settings accordingly.
4) Tried using various differing tun modules downloaded from different webpages, loading each one in turn as above.
5) Tried switching between 3G and Wi-Fi hoping that somehow the behaviour would change (was running out of ideas at this point ).
6) I read somewhere that you can compile your own tun.ko module using the kernel source code that matches your particular firmware version, so I tried visiting the link referenced in the above linked post [http://opensource.samsung.com/] in order to find the source code for my phone. However I can't seem to find my exact firmware listed (see below for my firmware). Incidentally how exactly would you compile your own module from the source code? Does this require the Android SDK, which I have readily available? [EDIT: I've had another look at the list of source code downloads for my phone and I noticed one entitled 'GT-I9000_OpenSource_Froyo_update2.zip' for the so-called 'JPX' version, which appears to be for the European versions of the handset. Do I assume the 'X' here is a wildcard in place of whatever letter or number represents the user's firmware, or does the 'X' represent the actual firmware version itself?]
7) Tried manually editing the .ovpn config file to read 'dev tun' instead of 'dev tap' as it was originally (I can post the full config file if anyone requires it for the troubleshooting process, perhaps there's something here I've missed).
If it helps at all here are the firmware details for my handset (taken from 'About phone' section under 'Settings'):
Code:
Model number: GT-I9000
Firmware version: 2.2
Baseband version: I9000BUJP5
Kernel version: 2.6.32.9
[email protected] #1
Build number: FROYO.BUJP7
N.B. This was pre-loaded onto the phone (probably by Vodafone), I haven't flashed/updated it with anything else.
Any help would be appreciated. Thanks.
Regards,
Jon.
Bump, this forum seems to get a lot of activity!
Bump. Still no help?
Why don't you install a kernel with TUN support? voodoo and hardcore do support it.
I'm using hardcore's and my OpenVPN connection works without any problems. See this post for more inform about the client and server settings:
http://forum.xda-developers.com/showpost.php?p=11299020&postcount=3

[LY-F1] Model number vs build.prop

Hi guys, hope somebody can help me.
I have an LY-F1 tablet with latest ICS 4.0.3 from manufacturer site.
It's pre-rooted already and i installed superuser and busybox.
My major problem is the market, my tablet is recognized has unknown MID which keeps me from getting acess to the full list of apps and gives me compatibility issues.
I've searched in build.prop and there's no field in that file that could define my tablet as MID.
Where can that info be stored for the market to read it?
On my about tablet it also shows MID for model number which means that must be stored somewhere else.
my ro.product.model has a value of A710, not MID!!
What the hell can i do to change this?
I was told to create a local.prop on /data folder, that local.prop should override the build.prop but with no result.
I used a build.prop file from a previous ICS firmware for the same device with no results too. That previous release had full market acess with that same file and the most strange thing was that when using that previous file whem going to about tablet nothing changed, model remains the same, build date remains the date of previous firmware also. Seems like nothing is read from build.prop.
Hope i made my point and sorry for the long post.
Thanks in advance
That's because "MID" model is defined in the "oem.prop" file. I suggest you to use a custom ROM based on the official one released on 10.3.2012.
Here is the video link, you can see how good it is, and it has a "MID" changed to other model so you can access a lot of more apps on makert.
Only bug I found in this one is the HDMI connection, but gaming is great, for the first time, I am able to play Aspahalt 6 on my Ly-f1 tablet.
http://www.youtube.com/watch?feature=player_embedded&v=Xx1jGxeeRyU
Alseo, today, manufacturer released the new version ROM and it says that it has a better market compatibility. I'm gona test it as soon it gets downloaded.
aldinezi said:
That's because "MID" model is defined in the "oem.prop" file. I suggest you to use a custom ROM based on the official one released on 10.3.2012.
Here is the video link, you can see how good it is, and it has a "MID" changed to other model so you can access a lot of more apps on makert.
Only bug I found in this one is the HDMI connection, but gaming is great, for the first time, I am able to play Aspahalt 6 on my Ly-f1 tablet.
http://www.youtube.com/watch?feature=player_embedded&v=Xx1jGxeeRyU
Alseo, today, manufacturer released the new version ROM and it says that it has a better market compatibility. I'm gona test it as soon it gets downloaded.
Click to expand...
Click to collapse
hey guys
i have a question, i read your post,but so i must change the information inside the file "oem.prop"??anf How ??....thanks.

[A] 10_4_4_25 Update Kernel still 3.1.10 ?

Due to its small size I assume the new update to 10_4_4_25 is still the same 3.1.10 kernel? Can someone check their settings/about section that has updated and confirm that?
I just compiled some drivers and this source is not out so I don't want to break what I just fixed by updating. Thanks!
hx4700 Killer said:
Due to its small size I assume the new update to 10_4_4_25 is still the same 3.1.10 kernel? Can someone check their settings/about section that has updated and confirm that?
I just compiled some drivers and this source is not out so I don't want to break what I just fixed by updating. Thanks!
Click to expand...
Click to collapse
EDIT: Just heard from sdbags that the kernel was changed in .25 version.
Yes don't know what as of yet. I did a binary compare and there are more than a few lines different between the the .23 kernel and the .25 kernel. However they have the same file size ..... That could just mean an offset or they moved some modules around. Need to do some more work first to confirm.
Update - 10.4.4.25 boots and seems to work fine with the old kernel. Will check versions now BTW your screen shot is too small to read.
Here is the one in 10.4.4.23
Defo a new kernel - minor change though.
Lol, I think that last shot sums it up for me:
the version string has "[email protected]" in it.
Now I feel like $h!*.... I have to recompile.

[Q] New ROM, now EA Games won't work

I just changed my ROM after months of running the same one, but now my previously purchased EA Games won't work. When I try to load them I get the message "This game is not authorised for use on your Android device". This is despite me restoring my Android ID using "Settings storage" in Titanium.
Any ideas? The games concerned are NFS Most Wanted, Real Racing 3 and Asphalt 8.
What rom did you change to? Change it back
Hi,
Maybe a change in the build.prop file compared to the previous rom you used?
Maybe a lot of time, but compare the two build.prop files, each line for "# begin build properties" and "# ADDITIONAL_BUILD_PROPERTIES" (/system/build.prop)...
No DPI changed, other mods?
Hammer_Of_The_Gods said:
Hi,
Maybe a change in the build.prop file compared to the previous rom you used?
Maybe a lot of time, but compare the two build.prop files, each line for "# begin build properties" and "# ADDITIONAL_BUILD_PROPERTIES" (/system/build.prop)...
No DPI changed, other mods?
Click to expand...
Click to collapse
Ok, it will take a while though because I'll have to restore the backup of my original ROM. I haven't changed DPI or any other mods really.
setspeed said:
Ok, it will take a while though because I'll have to restore the backup of my original ROM. I haven't changed DPI or any other mods really.
Click to expand...
Click to collapse
Yep
Like jd1639 asked, what rom?
Maybe ask in the rom thread, maybe you are not the only one with this problem? maybe a workaround/"fix"? Or at least an explanation?
Hammer_Of_The_Gods said:
Yep
Like jd1639 asked, what rom?
Maybe ask in the rom thread, maybe you are not the only one with this problem? maybe a workaround/"fix"? Or at least an explanation?
Click to expand...
Click to collapse
I've moved from Cataclysm to Mahdi-ROM.
Not really sure what I should be looking for? There is a difference in the first line of the build.prop:
Cataclysm
# begin build properties # autogenerated by buildinfo.sh ro.build.id=KOT49H ro.build.display.id=KOT49H
Mahdi-ROM
# begin build properties # autogenerated by buildinfo.sh ro.build.id=KVT49L ro.build.display.id=KVT49L
"Settings storage" isn't how you restore your android id. In titanium > menu > scroll to penultimate set of options called "your device" > manage android id
Sent from my Nexus 5 using Tapatalk
rootSU said:
"Settings storage" isn't how you restore your android id. In titanium > menu > scroll to penultimate set of options called "your device" > manage android id
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I tried that and it told me that my Android ID was the same as the one in the only backup I have.
The problem is resolved now, although I'm not quite sure how. I uninstalled the games and then redownloaded them (well over a gig each :-/) and now they seem to be working.
Thanks all, for your help and suggestions

[Q] How to edit "About Device" details on Android

Hi,
Is there procedure on how to edit "About Device" on android
specifically:
Model Number
Kernel Version
Build Number
BeatlesBoy said:
Hi,
Is there procedure on how to edit "About Device" on android
specifically:
Model Number
Kernel Version
Build Number
Click to expand...
Click to collapse
Google is your friend. Let me google that for you. http://lmgtfy.com/?q=android+change+build+number
However, you need to be rooted and modify build.prop. BE CAREFUL, you may damage your installation. Check these threads:
1) How to edit build.prop and change build number -> http://forum.xda-developers.com/showthread.php?t=1219527
2) Explanation of every string in build.prop http://forum.xda-developers.com/showthread.php?t=2503997

Categories

Resources