MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      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 software
      Nintendo 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 be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      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 / suspensions / 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 [url="http://rapidshare.com/files/1637937520/Wifi%20direct%20Flashable.zip"]http://rapidshare.co...t Flashable.zip[/url]

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

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

[quote name='george109' timestamp='1378597405' post='2155842']
Thanks for this :)
Would it work in gingerbread, do you know if it's possible?
[/quote]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

[quote name='fabiossilva21' timestamp='1378597779' post='2155843']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[/quote]
Ok. Thanks. I make an update script for you too :)
[code]
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!");

[/code]
1

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='george109' timestamp='1378597997' post='2155845']
Ok. Thanks. I make an update script for you too :)
[code]
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!");

[/code]
[/quote]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

[quote name='fabiossilva21' timestamp='1378598128' post='2155846']Well i already made one but i will change it Thanks :)[/quote]You're welcome :)
1

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='george109' timestamp='1378598220' post='2155847']
You're welcome :)
[/quote]Well its updated and uploaded thx ;)
0

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='fabiossilva21' timestamp='1378598549' post='2155848']Well its updated and uploaded thx ;)[/quote]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

[quote name='george109' timestamp='1378599738' post='2155851']
Great :)
Also, it does not work on gingerbread (the AtomicMod ROM) for me. :(
[/quote]:( Well i was seeing in the android developers website and it said "[font=Roboto, sans-serif][background=rgb(249, 249, 249)]Wi-Fi peer-to-peer (P2P) allows Android 4.0 (API level 14) or later devices..." sorry :([/background][/font]
0

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='george109' timestamp='1378599738' post='2155851']
Great :)
Also, it does not work on gingerbread (the AtomicMod ROM) for me. :(
[/quote]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

[quote name='fabiossilva21' timestamp='1378600134' post='2155854']:( Well i was seeing in the android developers website and it said "[font=Roboto, sans-serif][background=rgb(249, 249, 249)]Wi-Fi peer-to-peer (P2P) allows Android 4.0 (API level 14) or later devices..." sorry :([/background][/font][/quote]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

[quote name='george109' timestamp='1378600312' post='2155856']
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!
[/quote] 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

[quote name='bidzapfc' timestamp='1378656555' post='2156086']
What's benefit of this?
[/quote]It is basically bluetooth, where you can send files, except it works over Wi-Fi. It is so much faster. More here: [url="https://en.wikipedia.org/wiki/Wi-Fi_Direct"]https://en.wikipedia.org/wiki/Wi-Fi_Direct[/url]
0

Share this post


Link to post
Share on other sites

Posted · Report post

[quote name='george109' timestamp='1378656678' post='2156087']
It is basically bluetooth, where you can send files, except it works over Wi-Fi. It is so much faster. More here: [url="https://en.wikipedia.org/wiki/Wi-Fi_Direct"]https://en.wikipedia...ki/Wi-Fi_Direct[/url]
[/quote]Yep but way faster and you can send at multiple targets at once
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

[quote name='bidzapfc' timestamp='1378669434' post='2156162']
any special app to get it working? or we just get wifi direct next to bluetooth option on send?
[/quote] 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

[quote name='bidzapfc' timestamp='1378672181' post='2156193']
I use Cm10 so no problem :D


IPMSG app is good for things like these
[/quote]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

[quote name='bidzapfc' timestamp='1378675348' post='2156211']
Which one is working?
[/quote] 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.