ad hoc networks with Lifetab P9516 rooted

  • 6 Antworten
  • Letztes Antwortdatum
Y

YLG80

Neues Mitglied
4
Here is the procedure to patch your rooted P9516 for ad hoc networks.
Sorry for the english text.
It would be great if somebody could translate this procedure in German.:winki:
 
Lifetab P9516 patch for ad hoc networks.


If you want to use your tablet with for example an iPhone in tethering mode (MyWi),
you need a patched version of the wpa_supplicant file in your tablet.
The original supplicant filters out the ad hoc networks :( !

Here is the procedure :

(you are supposed to have a rooted tablet and know how to use adb)

Decompress wpa_supplicant_adhoc_ICS.zip in your adb directory:

www.avi-plus.com/download/wpa_supplicant_adhoc_ICS.zip

File Name: wpa_supplicant_adhoc_ICS.zip
File Size: 264 KB

You get a file named wpa_supplicant_adhoc_ICS (471 Kb) in your adb directory.

Under windows, enter in cmd mode and cd to the adb directory, for exemple cd \adb

Enter:
Code:
adb push wpa_supplicant_adhoc_ICS [COLOR=#339933]/[/COLOR]sdcard[COLOR=#339933]/[/COLOR]wpa_supplicant
The file is copied in the sdcard and renamed as wpa_supplicant.

Enter the following command get into androïd shell mode:

Under Windows

Code:
    adb shell
Under Linux:
Code:
  adb[COLOR=#339933]-[/COLOR]linux shell
Under Mac:
Code:
  adb[COLOR=#339933]-[/COLOR]mac shell
Once in shell mode your prompt should be a $ sign
Enter :
Code:
su
The prompt becomes # (root access).

Enter :
Code:
mount [COLOR=#339933]-[/COLOR]o rw[COLOR=#339933],[/COLOR]remount [COLOR=#339933]-[/COLOR]t yaffs2 [COLOR=#339933]/[/COLOR]dev[COLOR=#339933]/[/COLOR]block[COLOR=#339933]/[/COLOR]mtdblock3 [COLOR=#339933]/[/COLOR][COLOR=#990000]system[/COLOR]
dd [COLOR=#B1B100]if[/COLOR][COLOR=#339933]=/[/COLOR][COLOR=#990000]system[/COLOR][COLOR=#339933]/[/COLOR]bin[COLOR=#339933]/[/COLOR]wpa_supplicant of[COLOR=#339933]=/[/COLOR]sdcard[COLOR=#339933]/[/COLOR]wpa_supplicant[COLOR=#339933].[/COLOR]original
This will save your original wpa_supplicant file version into your internal SDcard.
We will then copy the ad hoc patched version into the /system/bin directory.
Code:
dd [COLOR=#B1B100]if[/COLOR][COLOR=#339933]=/[/COLOR]sdcard[COLOR=#339933]/[/COLOR]wpa_supplicant_adhoc_ICS of[COLOR=#339933]=/[/COLOR][COLOR=#990000]system[/COLOR][COLOR=#339933]/[/COLOR]bin[COLOR=#339933]/[/COLOR]wpa_supplicant
This will overwrite the original file with the new one..
We have to make sure that the access rights are correct :

Code:
[COLOR=#990000]chmod[/COLOR] [COLOR=#CC66CC]755[/COLOR] [COLOR=#339933]/[/COLOR][COLOR=#990000]system[/COLOR][COLOR=#339933]/[/COLOR]bin[COLOR=#339933]/[/COLOR]wpa_supplicant  
[COLOR=#990000]chown[/COLOR] [COLOR=#990000]system[/COLOR][COLOR=#339933].[/COLOR]wifi [COLOR=#339933]/[/COLOR]data[COLOR=#339933]/[/COLOR]misc[COLOR=#339933]/[/COLOR]wifi[COLOR=#339933]/[/COLOR]wpa_supplicant[COLOR=#339933].[/COLOR]conf
Enter exit twice to get out of the shell mode .

Code:
[COLOR=#990000]exit[/COLOR]
e[COLOR=#990000]xit[/COLOR]
Reboot the tablet by entering :

Code:
adb reboot
Your are done and you should see the ad hoc networks and be able to connect to any ad hoc network.:thumbsup:
With this patched version (for ICS 4.0.4), your Wifi strength indicator should work correctly.:thumbsup:


If something wrong happens, revert to the original file by doing this :

Code:
adb shell
su
mount [COLOR=#339933]-[/COLOR]o rw[COLOR=#339933],[/COLOR]remount [COLOR=#339933]-[/COLOR]t yaffs2 [COLOR=#339933]/[/COLOR]dev[COLOR=#339933]/[/COLOR]block[COLOR=#339933]/[/COLOR]mtdblock3 [COLOR=#339933]/[/COLOR][COLOR=#990000]system[/COLOR]
dd [COLOR=#B1B100]if[/COLOR][COLOR=#339933]=/[/COLOR]sdcard[COLOR=#339933]/[/COLOR]wpa_supplicant[COLOR=#339933].[/COLOR]original of[COLOR=#339933]=/[/COLOR][COLOR=#990000]system[/COLOR][COLOR=#339933]/[/COLOR]bin[COLOR=#339933]/[/COLOR]wpa_supplicant
This will restore the original wpa_supplicant.

Code:
    [COLOR=#990000]
chmod[/COLOR] [COLOR=#CC66CC]755[/COLOR] [COLOR=#339933]/[/COLOR][COLOR=#990000]system[/COLOR][COLOR=#339933]/[/COLOR]bin[COLOR=#339933]/[/COLOR]wpa_supplicant
[COLOR=#990000]chown[/COLOR] [COLOR=#990000]system[/COLOR][COLOR=#339933].[/COLOR]wifi [COLOR=#339933]/[/COLOR]data[COLOR=#339933]/[/COLOR]misc[COLOR=#339933]/[/COLOR]wifi[COLOR=#339933]/[/COLOR]wpa_supplicant[COLOR=#339933].[/COLOR]conf
[COLOR=#990000]exit[/COLOR]
Then reboot your tablet:
Code:
adb reboot
Your original file will be restored.
 
Zuletzt bearbeitet:
  • Danke
Reaktionen: Ameisentaetowierer
Hello,


I alreay found somthing simular for the Galaxy TAB2 in 2011.
But it don't work under ICS.
I tried this new wpa_supplicat but it also not working with
Galaxy Tab2 P5100.
Please if there is an Android out there with an solution post it ?

Thank you in advance.

(My Galaxy P5100 is rooted)

BHE-Android-ICS :confused2:
 
Hey YLG80!

Thank you very much for this great post !!!

regards

Gerald
 
Thank you very much. But I have a problem. It takes minutes tu get a ip.
I would like to go back to normal. But I made a reset and the mod is still aktive.
With the reset i lost my original wpa supplicant.
Can anybody please upload the original one or tell me how to get the tablet to factory defoult.

Thanks

Snow
 
Zuletzt bearbeitet:
Hi all, I am Newcomer in LINUX and ANDROID, please forgive a potentila silly question.
When I try to copy "dd if=/sdcard/wpa_supplicant_adhoc_ICS of=/system/bin/wpa_supplicant" I always get the error "cannot open for write: Text file busy".
I switched of WLAN on my Lifetab S10334, but still have the same Problem - file is not copied.
What can I do now? THX for any enlightment ...
Best, Harry

Der ursprüngliche Beitrag von 14:17 Uhr wurde um 14:39 Uhr ergänzt:

I worked around the file copy issue: I first deleted the destintion file - then the copy did work. However: WLAN does not start anymore ...
I try to go back to the original file. Hope it will work.

Is there a specific ad-hoc enabled wpa_supplicant file around?

Best, Harry
 

Ähnliche Themen

D
Antworten
2
Aufrufe
1.500
daddle
D
H
Antworten
0
Aufrufe
1.776
hsv1234
H
L
  • leonie1022
Antworten
1
Aufrufe
2.012
daddle
D
Zurück
Oben Unten