FORUMS

Earthquake Early Warning in Your Pocket

Probably all of us reading this have a smartphone in our pocket. For many of us, the … more

Sony: The OEM You Want To Save

In our recent Discuss article, we asked you readers on which OEM you would like to help. While the … more

How to Lock and Protect Your Apps – XDA Xposed Tuesday

The smartphone revolution has passed. Everybody has mobile apps. Some of … more

Which OEM Would You Like to Help?

Most manufacturers have moments of greatness and moments of decadence, and in the past few years … more

[DEV][Kernel] P5210 | USB RT8187 | Aircrack-ng How to Included

22 posts
Thanks Meter: 18
 
By Daniel-TAz00, Junior Member on 22nd April 2014, 10:39 PM
Post Reply Subscribe to Thread Email Thread
11th March 2015, 04:53 AM |#31  
Jacker31's Avatar
Senior Member
Flag Johor
Thanks Meter: 38
 
Donate to Me
More
Quote:

About Heat. My device also Heats in that area too, maximum heat is just below IR transducer. I think is the lamp. Why because I had try some program that does do a screen saver while on "boot" and with that program the device do not heat!!

I will look for my jig to see if it does work in TAB3.

Nope, I got a gig that works nice in a Galaxy S3 but when inserted in TAB3 10.1 it does nothing

My jig doesn't work too, i have test it on galaxy w, ace, s3 and s2 and during warranty period of my tab3 ( before i do any modding on it ) it works. Wonder why not it is not working anymore.
 
 
11th March 2015, 06:53 AM |#32  
Jacker31's Avatar
Senior Member
Flag Johor
Thanks Meter: 38
 
Donate to Me
More
Well i hate crappy wifi ==gotta wait for 2 hours just to download new firmware... guess luck is with me, I did nothing and i just plug in with the charger and now it boot up but as expected encounter boot loop. I am gotta flash it back to 4.4 kk and use it for a while. And I am gotta download 4.2 source and edit it again. Hopefully it works under 4.2 JB.
Last edited by Jacker31; 11th March 2015 at 06:56 AM.
11th March 2015, 10:23 AM |#33  
Senior Member
Thanks Meter: 182
 
More
Quote:
Originally Posted by Jacker31

... I did nothing and i just plug in with the charger and now it boot up but as expected encounter boot loop...

No I do not think was luck, You use the button and you got in Power OFF. You just did not so the difference, but when hook to the wall it did start charging!!

If you are in 4.2.2, to prevent getting so deep into trouble, next time do not WIPE data or Cache. You are just playing with boot.img. So to correct you only need to reprogram with a good boot.img. 4.2.2 system do not check boot or recovery.

Now the best of the best is CM10.1 4.2.2 boot.img. It has SElinux disabled and you can then mod even deeper the boot image.
11th March 2015, 11:33 AM |#34  
Jacker31's Avatar
Senior Member
Flag Johor
Thanks Meter: 38
 
Donate to Me
More
Quote:
Originally Posted by r2d23cpo

No I do not think was luck, You use the button and you got in Power OFF. You just did not so the difference, but when hook to the wall it did start charging!!

If you are in 4.2.2, to prevent getting so deep into trouble, next time do not WIPE data or Cache. You are just playing with boot.img. So to correct you only need to reprogram with a good boot.img. 4.2.2 system do not check boot or recovery.

Now the best of the best is CM10.1 4.2.2 boot.img. It has SElinux disabled and you can then mod even deeper the boot image.

Well, I agree, the SElinux gave tones developers trouble, same thing happen when i am messing with my galaxy wonder. I am don't really have good skills on boot.img reprogramming but i will not give up on it. I will try it with 4.2 and CM, hopefully I can get something nice. I think i will just flash to stock firmware and change it to CWM as I am more confidence on it than Philz or TWRP.
12th March 2015, 01:17 AM |#35  
Senior Member
Thanks Meter: 182
 
More
@Daniel-TAz00 , @Jacker31 , @Max4000

I need to clarify something.

I like to obey xda rules. I may not agree with a few but I obey them. This thread is called "[DEV][Kernel] P5210 | USB RT8187 | Aircrack-ng How to Included". I been posting because I assume we are working towards an improved on this thread. Now I may be confusing but I guess I think the title have been change and it shows a very Specific Work. [Kernel], P5210, USB RT8187, Aircrack-ng. I now I am not sure we are meeting that criteria!!! You guys have P5200 and P5220 and I assume the Idea is NOT to use USB RT8187 instead TAB3 own Wifi!!! And finally we are taking a lot of post in Kernel Development and unbricking procedure. In fact my-self.

If you guys do not mind I suggest we move to a new more generic thread where we may not violate any rules. Then once we have solution more close related to this thread we can return and post that solution here. Daniel-TAz00 in the other hand if you want us to be here please say so. Do not get it wrong, I am pretty happy here but I will not like to see us in trouble in the future.

I seen that Jacker31 loves to create new Thread in benefits to others. So if you want to start that thread please do so. If not, some time ago I wrote a thread called, SGT3 10.1 Rom Developing by learning developers => http://forum.xda-developers.com/show....php?t=2643970. This is a suggestion, just to keep on good xda standing. Wait for you answer.

@Jacker31
I know I Mention CM10.1. Please be aware there in no Official Working Cianogenmod for our device, the most we have is Angel_666 work. I had taken a lot of work to get where hi is at.
For know I suggest you not to get involved in CM10.1. I have bad Internet, It took me 1 moth just to downlond ripos and patches just to see it compile boot and recovery images. It does not produce a working system.img.

Now what I try to say before is that a 4.2.2 CM10.1 boot & recovery images had make my life more easier. At least that is my impression. Just give me some time I will post the images I use. Then you can place your Kernel on it.
12th March 2015, 08:45 AM |#36  
OP Junior Member
Thanks Meter: 18
 
Donate to Me
More
To hell with the xda rules, they're toxic anyway

Getting the proper monitor mode broadcom drivers should be possible, which broadcom chip do we have tho?
https://code.google.com/p/bcmon/sour...Fsrc%2Fbcm4329

Anyone know which is the latest kernel source file? (i could surely compile for the P5200 aswell)
http://opensource.samsung.com/recept...Value=GT-P5210

I was thinking of compiling a new kernel, to get on the 4.4.2 wagon
The Following 2 Users Say Thank You to Daniel-TAz00 For This Useful Post: [ View ]
13th March 2015, 02:04 AM |#37  
Senior Member
Thanks Meter: 182
 
More
Daniel-TAz00

I know my post are too long, but you guys talk to little and some time do not respond what are ask. So I got confuse by not understanding the objectives of Jacker31. The I have a feeling you edit the Title.

In any case It may be good Idea to express our self in a Kernel development thread. Then once we are set and have the drivers ready we can come and post them here. Any way Jacker31 started his post!
[DIS][DEV]Android Kernel Modding for GT-P52xx => http://forum.xda-developers.com/gala...p52xx-t3052321

Quote:
Originally Posted by Daniel-TAz00

Getting the proper monitor mode broadcom drivers should be possible, which broadcom chip do we have tho?
h__ps://code.google.com/p/bcmon/source/browse/trunk/#trunk%2Fbcm4329%2Fdriver%2Fsrc%2Fbcm4329

I look at that post before and at at the blog that talk about that. Are those drivers modified for promiscuous com already?

Any way here is what I has found. If I serach in Android OS
Code:
 # ls /system/etc/wifi                                           
bcmdhd_apsta.bin_b2
bcmdhd_mfg.bin_b2
bcmdhd_p2p.bin_b2
bcmdhd_sta.bin_b2
cred.conf
hostapd.conf
nvram_mfg.txt
nvram_net.txt
p2p_supplicant.conf
wpa_supplicant.conf
This gives me de idea that our wifi driver is called bcmdhd.
The driver in the kernel is at
Code:
Kernel-GT-P5210_SEA_JB_Opensource/drivers/net/wireless/bcmdhd
And the modules provided in boot.img are
Code:
# ls /lib/modules                                               
atomisp.ko
db8131m.ko
dhd.ko
exfat_core.ko
exfat_fs.ko
hid-logitech-dj.ko
s5k5ccgx.ko
scsi_wait_scan.ko
sgx.ko
videobuf-core.ko
videobuf-vmalloc.ko
So the closes thing I see is
Code:
dhd.ko
But when I search kernel source to see what modules are install during init.rc I found
Code:
ramdisk$ grep -rn "insmod /lib/modules/" *
init.avc.rc:23:    insmod /lib/modules/videobuf-core.ko
init.avc.rc:24:    insmod /lib/modules/videobuf-dma-contig.ko
init.avc.rc:25:    insmod /lib/modules/videobuf-vmalloc.ko
init.avc.rc:26:    insmod /lib/modules/videobuf2-core.ko
init.avc.rc:27:    insmod /lib/modules/videobuf2-memops.ko
init.avc.rc:32:    #insmod /lib/modules/ov8830.ko
init.avc.rc:33:    #insmod /lib/modules/mt9m114.ko
init.avc.rc:34:    #insmod /lib/modules/lm3554.ko
init.avc.rc:36:    insmod /lib/modules/s5k5ccgx.ko
init.avc.rc:37:    insmod /lib/modules/db8131m.ko
init.avc.rc:38:    insmod /lib/modules/atomisp.ko
init.common.rc:138:    insmod /lib/modules/atomisp.ko
init.rc:137:insmod /lib/modules/exfat_core.ko
init.rc:138:insmod /lib/modules/exfat_fs.ko
init.redhookbay.rc:45:    insmod /lib/modules/sgx.ko
init.redhookbay.rc:48:    insmod /lib/modules/matrix.ko
init.redhookbay.rc:126:    insmod /lib/modules/rmi4.ko
init.redhookbay.rc:198:    insmod /lib/modules/rmi4.ko boot_mode=1
init.santos10wifi.rc:63:    insmod /lib/modules/sgx.ko
init.santos10wifi.rc:66:    insmod /lib/modules/matrix.ko
init.santos10wifi.rc:176:    insmod /lib/modules/rmi4.ko
init.santos10wifi.rc:353:    insmod /lib/modules/rmi4.ko boot_mode=1
init.wifi.vendor.rc:3:#    insmod /lib/modules/cfg80211.ko
init.wireless.rc:4:    insmod /lib/modules/fmdrv_chr.ko
init.wireless.rc:6:    insmod /lib/modules/ipv6.ko
So it is not clear why there is a dhd.ko but it never loads!. This may means only that dhd is in fact build inside the kernel!!! I am not sure.

As a note "dhd.ko" have references inside about "bcmdhd". So I am prety sure this is the driver.
Code:
ramdisk$ grep -rn "bcmdhd" *
Binary file lib/modules/dhd.ko matches

Quote:
Originally Posted by Daniel-TAz00

Anyone know which is the latest kernel source file? (i could surely compile for the P5200 aswell)
http://opensource.samsung.com/recept...Value=GT-P5210

I was thinking of compiling a new kernel, to get on the 4.4.2 wagon

Again to start you guys should start testing with JB 4.2.2, then try in KK 4.4.2. You will see what I mean if you don't.
Another funny thing you are saying you are P5200 but show me a P5210 for selection!!
for KK you have ( Look in the Source Code column)
Code:
GT-P5200_SEA_KK_Opensource.zip
GT-P5200_EUR_KK_Opensource.zip
Now I am not sure but I think for kernel development any one is OK, I think that bzimage will work for all TAB3 10.1. I imagine, the importance could be only to match KK or JB version. But I am not Totally sure about that. Now going back to KK 4.4.2 issue. It is possible that does not apply to KK since Selinux and related security may prevent mixing!! But I am not sure on that it is just a feeling!.
Last edited by r2d23cpo; 13th March 2015 at 02:19 AM.
The Following User Says Thank You to r2d23cpo For This Useful Post: [ View ]
14th March 2015, 01:18 PM |#38  
Jacker31's Avatar
Senior Member
Flag Johor
Thanks Meter: 38
 
Donate to Me
More
@r2d23cpo @Daniel-TAz00 I finally got my kernel working thanks for all of your support. Even though i got some error *i cant remember* when i tried to put it into monitor mode. But i guess i will work around that tomorrow. But one thing weird that it cannot detect my TP-Link adapter that base off Atheros AR9002U even though i enabled Atheros driver.
26th April 2015, 06:01 PM |#39  
Member
Flag Hannover
Thanks Meter: 28
 
More
So would someone please create an kernel for the P5200 with this functionality?
Post Reply Subscribe to Thread

Tags
aircrack-ng, gt-p5210, rt8187, tab310
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes