Page 1 of 2
Samsung Galaxy Tab 7" GT-P3100 Jelly Bean
Posted: 17 Dec 2012, 07:42
by prabuddhadg
I use a Samsung Galaxy Tab 2 7" GT-P3100
Android version
4.1.1 and
Kernel version
3.0.31-471788
se.infra@SEP - 131 #1
SMP PREEMPT Mon Dec 3 20:49:31
KST 2012.
I updated from the prevous set up which was as follows :-
Android version
4.0.4 and
Kernel version
3.0.8-1060938
dpi@HP25 #1
SMP PREEMPT Fri Aug 24 11:33:25
KST 2012.
With the Ice cream sandwich version, I was able to browse the net using the PPP Widget.
By the way, I use a ZTE CDMA datacard , model AC-2736.
However, now I am again stuck. When I connect the same data card, the widget displays the three following texts, "Prepare device", "Search for port" and finally "Port wasn't found."
Josua, does this mean I need another new set of drivers?
Re: Samsung Galaxy Tab 7" GT-P3100 Jelly Bean
Posted: 18 Dec 2012, 18:45
by Josh
Every time your kernel changes, you need matching modules.
Let me see what I can do.
Re: Samsung Galaxy Tab 7" GT-P3100 Jelly Bean
Posted: 18 Dec 2012, 22:41
by Josh
O.K., I have added drivers for your version.
Please report success or failure.
Re: Samsung Galaxy Tab 7" GT-P3100 Jelly Bean
Posted: 20 Dec 2012, 15:32
by Josh
prabuddhadg,
were you able to test those modules?
Re: Samsung Galaxy Tab 7" GT-P3100 Jelly Bean
Posted: 21 Dec 2012, 07:59
by prabuddhadg
Apologies Josh, but I have been travelling the past couple of days and I seem to have left my OTG cable behind. I shall be able to check if it works only this evening.
Thanks so much for your effort.
One question. I could not find the driver module zip file for the Kernel version 3.0.31-471788. Does that mean I should use the one for the version 3.0.31-140615?
Re: Samsung Galaxy Tab 7" GT-P3100 Jelly Bean
Posted: 21 Dec 2012, 14:03
by copvaibhav
did u figured it out...or not...if yes help me too
Re: Samsung Galaxy Tab 7" GT-P3100 Jelly Bean
Posted: 22 Dec 2012, 01:11
by Josh
Oops, I must have skipped pressing the "Submit" button before ...
The new kernel package is now available.
Re: Samsung Galaxy Tab 7" GT-P3100 Jelly Bean
Posted: 22 Dec 2012, 07:46
by copvaibhav
no driver found with new drivers
Re: Samsung Galaxy Tab 7" GT-P3100 Jelly Bean
Posted: 21 Jan 2013, 09:36
by aksonlyaks
Josh wrote:Oops, I must have skipped pressing the "Submit" button before ...
The new kernel package is now available.
Hello Josh,
First of all thank you for your efforts. I have P3100 with kernel version 3.0.31-471788. I downloaded the driver that you submitted in driver module section for P3100. But that did not work. However, it was compiled only 3.0.31 and also the name of the zip file indicates P3110 instead of P3100.
I know a bit of kernel compilation. I downloaded the JB-Update2 version from opensamsung site. Compiled it as said in the readme but getting Exec format error and dmesg says module disagrees. Can you please provide me the config file that you are using or can you tell me what are the other modifications needed apart from the defconfig.
Regards
Abhi
Re: Samsung Galaxy Tab 7" GT-P3100 Jelly Bean
Posted: 21 Jan 2013, 10:36
by Josh
The configuration that Samsung managed to fix is only good for the GT-P311x / GT-P511x tablets.
The "module_layout" checksum is different for the GT-P3100.
Unfortunately, the source package download pages at Samsung don't even show a release date, but I just checked and I have tried the Update2 already. No good.
If you are compiling yourself, I recommend to use the toolchain that Samsung suggests (CodeSourcery 2010q1). Also note that you have to compile modules with the compiler flag "no-pic" ('make CFLAGS_MODULE=-fno-pic ... ').
To check if the compiled modules are compatible, compare them to the ones on the device. A good candidate is "scsi_wait_scan.ko" in /lib/modules. You might see that folder only when on a "su" shell, via adb or on the device.
The same module is compiled by default from the source, in "drivers/scsi". Compare both versions by running
Code: Select all
# modprobe --dump-modversions ./scsi_wait_scan.ko
on each of them (you can rename them at will).
All listed checksums have to match.
If you find a difference,
write to Samsung using the "Inquiry" button next to the download link. Tell them politely that they are required to provide the exact configuration used for the binary kernel that they are distributing in their firmware.
The issue with MODVERSIONS and the differing checksums has already been explained to them.
From
GPL Violations:
... some programs such as the Linux kernel tend to have compile-time configuration (in case of the Linux kernel the .config file). Since this compile-time configuration undoubtedly controls the process of compilation, you need to include any such compile-time configuration files, too.
Re: Samsung Galaxy Tab 7" GT-P3100 Jelly Bean
Posted: 23 Jan 2013, 17:26
by aksonlyaks
Thanks Josh for your kind support.
I sent a inquiry mail to Samsung asking them the correct source code that I should use. I also attached my device info screenshot so that they can get all the info they have needed. They replied that since I bought the device in India, I should try to compile ICS_SWA source code. This what they said.
[SAMSUNG OSRC COMMENTS DELIVERY NOTIFICATION]
♦ classification : Mobile Phone ♦
♦ model name : GT-P3100 ♦
Thank you for your interest in our product.
We received your request on OSRC.
Where did you buy your Mobile Phone?
If India, download GT-P3100_SWA_ICS_Opensource.zip.
This is fixed version.
If not let me know where did you buy?
Currently I'm trying to download the source code and then I'll give it a try. However, my internet speed is quite slow, so it seems only tomorrow it will be possible

.
The issue with MODVERSIONS and the differing checksums has already been explained to them.
From GPL Violations:
Quote:
... some programs such as the Linux kernel tend to have compile-time configuration (in case of the Linux kernel the .config file). Since this compile-time configuration undoubtedly controls the process of compilation, you need to include any such compile-time configuration files, too.
It seems they are again taking risk by not including .config.
Thanks
Abhi
Re: Samsung Galaxy Tab 7" GT-P3100 Jelly Bean
Posted: 23 Jan 2013, 17:52
by Josh
Samsung wrote:If India, download GT-P3100_SWA_ICS_Opensource.zip.
This is fixed version.
I'm not sure this makes sense. If you have kernel 3.0.31 you are most likely on Jelly Bean (Android 4.1/4.2), not on ICS (Android 4.0) ...
aksonlyaks wrote:It seems they are again taking risk by not including .config.
The config files are usually included in the subfolder "arch/arm/configs".
Just follow the kernel README in the source package, then ".config" will be generated.
Re: Samsung Galaxy Tab 7" GT-P3100 Jelly Bean
Posted: 24 Jan 2013, 07:09
by aksonlyaks
I'm not sure this makes sense. If you have kernel 3.0.31 you are most likely on Jelly Bean (Android 4.1/4.2), not on ICS (Android 4.0) ...
true I asked them on this. But did not get any reply after that. I'll again remind them on this..
The config files are usually included in the subfolder "arch/arm/configs".
Yaa.. I know this. I was actually saying that Samsung removed /proc/config which might again put them on risk.. Since they are violating the GPL license..
Re: Samsung Galaxy Tab 7" GT-P3100 Jelly Bean
Posted: 24 Jan 2013, 11:51
by aksonlyaks
I got a reply from Samsung today.
[SAMSUNG OSRC COMMENTS DELIVERY NOTIFICATION]
♦ classification : Mobile Phone ♦
♦ model name : GT-P3100 ♦
Dear Customer,
Sorry, I missed the Android version.
You could get the fixed source code at GT-P3100_SWA_JB_Opensource.zip
However, I already tried this version but with the some other compiler. In this source, the readme says to use arm-eabi-4.4.3 compiler but I'm not able to find this compiler. BUt it's a bit strange also because in other sources they recommend to use arm-none-linux-gnueabi- compiler.
Re: Samsung Galaxy Tab 7" GT-P3100 Jelly Bean
Posted: 24 Jan 2013, 14:24
by Josh
I was not able to build working modules with the GNU compiler so I got myself the one that Samsung recommends in earlier READMEs. It is the toolchain from CodeSourcery, release 2010q1. The compiler included is arm-eabi-4.4.3 (I think). Anyway, it definitely works.
Link to download request
You will get a mail with a download link. In the list of downloads choose the release
Sourcery G++ Lite 2010q1-202