Site Notice - We are currently investigating an issue with missing download links. Apologies for any inconvenience caused. PaulOBrien

  • Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

[Tutorial]Enable WiFi Direct in ICS

28 posts in this topic

Posted (edited) · Report post

SEEMS TO BE WORKING IN THE OFFICIAL ICS



First of all the credits:

george109: For helping me out with the update script
Google source and my old phone for the permissions

Roms not working:
Cyanogenmod 10/10.1/10.2 by Dazzozo
Any Android rom with API Level below 14 (below 4.0)
B960+ by Cuda


Roms Working:
Cyanogenmod 9/9.1 by Dazzozo
Official ICS (it was an problem with the script :D )
Tesla by kyan31

Now the requirements:

- An Ascend G300(U8815/U8815N/U8818) rooted w/ a custom recovery (TWRP or CWM)
- WiFi Direct permission file (in attachements)
- Official ICS or a rom based in official ICS
- Optional: ADB drivers installed







Method 1: Using adb push


1st: Do a nandroid backup (incase something goes wrong)

2nd: Download the file in the attachements (android.hardware.wifi.direct.xml)

3rd: Connect your phone in your PC using and USB cable (But don't turn on the storage mode)

4th: Go to your Android SDK folder and enter in the platform-tools folder

5th: Open the command prompt doing Shift+Right click into the folder

6th: Do the following commands:

adb shell
adb push android.hardware.wifi.direct.xml /system/etc/permissions


7th: Go to settings and disable Fast Boot then reboot your phone

8th: Go to settings>More and there you have it

Method 2: Using your phone


1st: Do a nandroid backup (incase something goes wrong)

2nd: Download a root explorer and enter it and be sure if you have access to write into system folder

3rd: Download the file in the attachements (android.hardware.wifi.direct.xml)

4th: Go to your explorer and move the android.hardware.wifi.direct.xml into /system/etc/permissions/

5th: Disable the Fast Boot option in the settings

6th: Reboot your phone and go to your setting>more and there you have it
 

Method 3: Using the flashable .zip created by me :) (easiest) (Script made by George109)

1st: Do a nandroid backup (incase something goes wrong)

2nd: Download the file http://rapidshare.co...t Flashable.zip

3rd: Go to your CWM/TWRP recovery and flash the zip

4th: Reboot your phone.

5th: Go to setting>more and you shall have a Wifi Direct option.

If you have any questions please tell me, also if you tried and didnt work in your rom post in the replays: Your Phone: and the rom you are using

wifi direct NOT FLASHABLE.zip

Edited by fabiossilva21
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Thanks for this :)

Would it work in gingerbread, do you know if it's possible?

Edited by george109
1

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks for this :)

Would it work in gingerbread, do you know if it's possible?

Sorry i dont know my phone came with 4.0.3... But if you make an backup and try and it works tell me :) but if it doesnt tell me and restore from the backup
0

Share this post


Link to post
Share on other sites

Posted · Report post

Sorry i dont know my phone came with 4.0.3... But if you make an backup and try and it works tell me :) but if it doesnt tell me and restore from the backup

Ok. Thanks. I make an update script for you too :)

 

ui_print("");

ui_print("");

ui_print("");

ui_print("********************");

ui_print("Enable Wi-Fi Direct");

ui_print("For ICS only! "); 

ui_print("********************"); 

ui_print("By: Fabiossilva21");

ui_print("********************");

ui_print("");

ui_print("");

ui_print("Installing, please be patient...");

show_progress(0.300000, 0);

ui_print("Mounting System...");

run_program("/sbin/busybox", "mount", "/system");

show_progress(0.300000, 0);

ui_print("Writing System...");

package_extract_dir("system", "/system");

show_progress(0.300000, 0);

ui_print("Unmounting System..."); 

unmount("/system");

show_progress(0.100000, 0);

ui_print("Installation Complete!");

ui_print("Enjoy!"); 


 

1

Share this post


Link to post
Share on other sites

Posted · Report post

Ok. Thanks. I make an update script for you too :)


ui_print("");

ui_print("");

ui_print("");

ui_print("********************");

ui_print("Enable Wi-Fi Direct");

ui_print("For ICS only! ");

ui_print("********************");

ui_print("By: Fabiossilva21");

ui_print("********************");

ui_print("");

ui_print("");

ui_print("Installing, please be patient...");

show_progress(0.300000, 0);

ui_print("Mounting System...");

run_program("/sbin/busybox", "mount", "/system");

show_progress(0.300000, 0);

ui_print("Writing System...");

package_extract_dir("system", "/system");

show_progress(0.300000, 0);

ui_print("Unmounting System...");

unmount("/system");

show_progress(0.100000, 0);

ui_print("Installation Complete!");

ui_print("Enjoy!");


Well i already made one but i will change it Thanks :)
0

Share this post


Link to post
Share on other sites

Posted · Report post

Well i already made one but i will change it Thanks :)
You're welcome :)
1

Share this post


Link to post
Share on other sites

Posted · Report post

You're welcome :)

Well its updated and uploaded thx ;)
0

Share this post


Link to post
Share on other sites

Posted · Report post

Well its updated and uploaded thx ;)
Great :)

Also, it does not work on gingerbread (the AtomicMod ROM) for me. :(

0

Share this post


Link to post
Share on other sites

Posted · Report post

Great :)

Also, it does not work on gingerbread (the AtomicMod ROM) for me. :(

:( Well i was seeing in the android developers website and it said "Wi-Fi peer-to-peer (P2P) allows Android 4.0 (API level 14) or later devices..." sorry :(
0

Share this post


Link to post
Share on other sites

Posted · Report post

Great :)

Also, it does not work on gingerbread (the AtomicMod ROM) for me. :(

I also downgraded my phone to see if it works but no
0

Share this post


Link to post
Share on other sites

Posted · Report post

:( Well i was seeing in the android developers website and it said "Wi-Fi peer-to-peer (P2P) allows Android 4.0 (API level 14) or later devices..." sorry :(
Its fine :)

I dont really need it anyway, it would just be a good thing to play with! :P

If I ever upgrade back to ICS, then I will definitely give this a go!

1

Share this post


Link to post
Share on other sites

Posted · Report post

Its fine :)

I dont really need it anyway, it would just be a good thing to play with! :P

If I ever upgrade back to ICS, then I will definitely give this a go!

Aha Thank you :)
0

Share this post


Link to post
Share on other sites

Posted · Report post

What's benefit of this?

0

Share this post


Link to post
Share on other sites

Posted · Report post

What's benefit of this?

It is basically bluetooth, where you can send files, except it works over Wi-Fi. It is so much faster. More here: https://en.wikipedia.org/wiki/Wi-Fi_Direct
0

Share this post


Link to post
Share on other sites

Posted · Report post

any special app to get it working? or we just get wifi direct next to bluetooth option on send?

0

Share this post


Link to post
Share on other sites

Posted · Report post

any special app to get it working? or we just get wifi direct next to bluetooth option on send?

Well i included an app but if you go into settings>more you shall get a wifi direct option (remember not working with the official ICS im trying to make a patch)
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

I use Cm10 so no problem :D

IPMSG app is good for things like these

Edited by bidzapfc
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

I use Cm10 so no problem :D

IPMSG app is good for things like these

Ok, i will review the app.

BTW can you tell me if it works on cm10? :) Because I put the wrong rom in working

Edited by fabiossilva21
0

Share this post


Link to post
Share on other sites

Posted · Report post

Which one is working?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Which one is working?

Its confirmed to be working in CM9 and CM9.1, and now any ICS Based rom i managed to make a fix
0

Share this post


Link to post
Share on other sites

Posted · Report post

Sorry it took so long... it doesnt work in CM10

0

Share this post


Link to post
Share on other sites

Posted · Report post

Android 4.0/4.0.4 Cyanogenmod 9/9.1 and any of roms based in Stock ICS

0

Share this post


Link to post
Share on other sites

Posted · Report post

not work on b960+ by cuda :-(

0

Share this post


Link to post
Share on other sites

Posted · Report post

not work on b960+ by cuda :-(

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.