Samsung Galaxy Tab GT-P1000 tun.ko - Android Software/Hacking General [Developers Only]

hi, for whoever is interested I have built, from samsung kernel sources, the tun.ko kernel module for the Samsung Galaxy Tab GT-P1000 (android 2.6.32.9 armv7l FROYO XXJID). You can find it in attachment to this message.

samsung tab 1010 complains... another build?
Hi!
first thanks for the module. No I got 7zip running on Linux ;->
But the Samsung Galaxy Tab 7" (1010, wifi only) doesn't like the module.
In dmesg it complains:
[20606.327819] tun: version magic '2.6.32.9 mod_unload ARMv7 ' should be '2.6.32.9 preempt mod_unload ARMv7 '
=> the tab insists on preempt
Could you please do me and many many samsung tab users a big favour...
You got the dev-environment still running
here the kernel parameters:
/mnt/sdcard # uname -a
Linux localhost 2.6.32.9 #1 PREEMPT Wed Mar 9 10:55:49 KST 2011 armv7l GNU/Linux
/mnt/sdcard # zcat /proc/config.gz | grep -i preempt
# CONFIG_TREE_PREEMPT_RCU is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_DEBUG_PREEMPT=y
# CONFIG_PREEMPT_TRACER is not set
Big thanks in advance
Michael

works
Worked a charm on my samsung galaxy gt-p1000 very nice

My P1000 with Overcome (based on 2.3.6) does report ...failed (Exec format error).
What I am missing?

Related

Fake or réal Android version

Hi developers,
How can I be sur that my phone Android version is real and not a fake build.prop modification ?
On my phone I have as result of uname -a 3.4 and cat /proc/version give me 3.0!
How can I be sur that my CPU is a MT6589 with 4 cores ?
Thank you for your help
Sent from my GT-N7102 using xda app-developers app
https://play.google.com/store/apps/details?id=zausan.zdevicetest
p107r0 said:
https://play.google.com/store/apps/details?id=zausan.zdevicetest
Click to expand...
Click to collapse
Thank you for your replu
I have tested this apps, but nothing that says, for my CPU, that is an MT6589 as the seller says ...
I have also tested some others semblable apps, but same result.
other thing : He says tha I have 2 GB oe RAM, but in information I have always 1.5 GB marked as used, on only less than 500 MB free : a lot for a smartphone!
other : the internal storage, must be 16 GB as saied by the seller, even with the basic system without any extra apps, less than 1 GB is free, and the all other space is used by the system !!
and he says also that the screen is 1280x720, but all hadware information apps says 960x540, except Antutu that says 1280x720, who beleive ?
what is the difference between "uname -a" and "cat /proc/version" ?
in a normal system it must gives the same result, but not mine :
Code:
[email protected]:/ # uname -a
Linux localhost 3.4.5 #1 SMP PREEMPT Sat Apr 13 12:29:44 CST 2013 armv7l GNU/Linux
Code:
[email protected]:/ # cat /proc/version
Linux version 3.0.31-178067 ([email protected]) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Sat Apr 13 12:29:44 CST 2013
CPU info, in the kernel :
Code:
[email protected]:/ # cat /proc/cpu
cpu/ cpu_ss/ cpufreq/ cpuinfo
[email protected]:/ # cat /proc/cpuinfo
Processor : ARMv7 Processor rev 0 (v7l)
processor : 0
BogoMIPS : 2439.94
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 2
Hardware : SMDK4x12
Revision : 0000
Serial : 0000000000000000
As we see, only one processor (core) unlike what says other apps/seller
thank you for your help

[Q] Insecure kernel for I9100G DLS3 for root

Hi folks...
I am trying to root my galaxy S2 - I9100G - India. But, I couldn't find any insecure kernel close to my build number. I tried searching the forums, but couldn't find any. Wondering if anyone could point me to the insecure kernel I can use to root.
Below are the details...
Kernel version:
3.0.31 - 1019164
[email protected] #2
SMP PREEMPT Wed Mar 6 22:35:33
KST 2013
Baseband version:
I9100GDDLS2
Build number:
JZO54K.I9100GDDLS3
Android version:
4.1.2
Thanks a ton !!

where to download source code for kernel 3.4.0+

Dear all
i have an "old" P706 tablet with a rooted kernel, i need to build a custom module for this kernel.
Linux version 3.4.0+ ([email protected]) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #301 SMP PREEMPT Wed Dec 3 09:17:11 CST 2014
Click to expand...
Click to collapse
following a tutorial, i've downloaded the 3.4 branch from android.googlesource.com/kernel/goldfish.git
git clone android.googlesource.com/kernel/goldfish.git
git checkout -b 3.4 origin/android-goldfish-3.4
Click to expand...
Click to collapse
i've succesfully build the .ko module using a toolchain for arm, but when i try to load the module i get an error related to version mismatch:
<3>: version magic '3.4.67+ mod_unload modversions ARMv7 p2v8 ' should be '3.4.0+ SMP preempt mod_unload ARMv7 p2v8 '
Click to expand...
Click to collapse
do you know where to download the "old" 3.4.0 source code, or where can i get the exact git revision to checkout the correct version?
Thanks to all in advance!
sorry, maybe is better to move this request under Android Software and Hacking General [Developers Only] ?
Thanks

how to retrieve build options of a specific rooted ROM

dear all
can you help me to find the related config.gz of a specific ROM if it is not available on /proc/config.gz?
i'd like to build a module for a specific hardware, but i don't know how this ROM was built.
the tablet is a p706 and is running
[email protected]_sd:/ # cat /proc/version
Linux version 3.4.0+ ([email protected]) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #301 SMP PREEMPT Wed Dec 3 09:17:11 CST 2014
(Android/Demo_7021a-userdebug 4.4.2 KOT49H eng.root.20140929.140049 release-keys)
Do you know how to retrieve additional infos, from the rooted device or from the web?
Thanks
nik600 said:
dear all
can you help me to find the related config.gz of a specific ROM if it is not available on /proc/config.gz?
i'd like to build a module for a specific hardware, but i don't know how this ROM was built.
the tablet is a p706 and is running
[email protected]_sd:/ # cat /proc/version
Linux version 3.4.0+ ([email protected]) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #301 SMP PREEMPT Wed Dec 3 09:17:11 CST 2014
(Android/Demo_7021a-userdebug 4.4.2 KOT49H eng.root.20140929.140049 release-keys)
Do you know how to retrieve additional infos, from the rooted device or from the web?
Thanks
Click to expand...
Click to collapse
Hi,
If the kernel wasn't built with that option enabled (I'm sure it wasn't), you can't retrieve the stock defconfig with cat proc/config.gz option.
So, you will likely have to find the kernel sources for your device instead. It should have defconfig for your device.

linux on asus TF103

hello,
i have a TF103 bricked. And found a and another functional.
I found an interesting tutorial
this tablette have an INTEL Z3745 , what is interesting is not arm but x86. So not need cross compiling. i have kernel found on asus site.
but compil not work . have this
*** Default configuration is based on 'x86_64_defconfig'
drivers/external_drivers/Kconfig:21: can't open file "drivers/external_drivers/drivers/Kconfig"
make[1]: *** [/home/****/tmp/assus/kernel/scripts/kconfig/Makefile:104 : defconfig] Erreur 1
make: *** [Makefile:505 : defconfig] Erreur 2
Click to expand...
Click to collapse
have this with adb shell cat /proc/version
Linux version 3.10.20-x86_64_byt-00002-g61e2b17 ([email protected]) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Fri Dec 25 18:53:37 CST 2015
Click to expand...
Click to collapse
edit
finally I must have external modules
the folder kernel/drivers/external_drivers have this , with symbolic link
camera -> ../../../modules/camera
drivers -> ../../../modules/drivers
intel_media -> ../../../modules/intel_media/
Kconfig
Makefile
Click to expand...
Click to collapse
vhere i can find modules for compiling ?
thank

Categories

Resources