yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] brokenworm:
Enables Adhoc networking

on ALL HTC official and test releases so far allso GINGERBREAD

thread continue here http://xdaforums.com/showthread.php?t=1071138

you need root

update in recovery

v2 is for the new ext4 recoverys "EDIFY"

V3 is added on the new continued thread. !

added files below :D

THX

Marsdroid
[G2 and Desire Z Android Development] onesolo:
Does this also work on the Desire HD ??
[G2 and Desire Z Android Development] brokenworm:
Yes .. with custom recovery
[G2 and Desire Z Android Development] onesolo:
Can you help on one more thing?

I put that zip file on the sdcard, right?

Then I go into recovery. I have ClockworkMod recovery

In order to install this, in the menu of the clockwork mode, I go to "install zip from sdcard", "choose zip from sdcard", and then pick up your zip file, right??

Is this the way to do it??
[G2 and Desire Z Android Development] brokenworm:
yes correct
[G2 and Desire Z Android Development] i-link:
am I having problem with this?

stock rom, root n s-off.

i am able to see the connection, but when connect, i got this searching for address till it disconnected. was trying to link with my laptop using adhoc!
[G2 and Desire Z Android Development] android602:
What does this do?

sent from t-mobile g2 using HTC sense
[G2 and Desire Z Android Development] brokenworm:
You need to share your internet connection.. or manually setup your ip... THATS A DHCP ERROR..

ADHOC NETWORKING

This is working perfect.. TESTED

THX

Marsdroid
[G2 and Desire Z Android Development] g1doobie:
Sorry for the dumb noob question but will this work on the G2? I only ask since this section now has the G2 and desire z development together
[G2 and Desire Z Android Development] brokenworm:
YES ..It will work on your stock s-off g2
[G2 and Desire Z Android Development] imranbandial:
sory sory,very stupid question,wat is adhoc network.i installed already but i dont know wat it is..
[G2 and Desire Z Android Development] DocNinja:
OH NO U SHOUD HAV READ

In seven days you will either die or your screen will show nothing but an image of the Beastie Boys' Ad-Rock. It was a typo, they mean Ad-Rock Networking.

Other smarmy answer: Let Me Google That For You

Real answer: Ad-hoc networking is two wifi devices networking to each other, as opposed to using an access point (i.e. a wifi router).
[G2 and Desire Z Android Development] sino8r:
LOL! Instant classic!:D
[G2 and Desire Z Android Development] jsunkist146:
I'm getting really tired of people expecting EVERYTHING be done for them. You can go to the trouble to flash this but can't do a 30 second google seach? If you really need to ask these questions, do it in the general section. The development section is FILLED with questions of those too lazy to do anywork themselves these days. Quite annoying.
[G2 and Desire Z Android Development] rhacy:
Thanks so much brokenworm! Your attached wpa_supplicant with Ad-Hoc support works great on my HD2 running Core Droid HD v0.3 by Sergio76 (Desire HD build). To clarify, I just replaced the original wpa_supplicant with yours, and now Ad-Hoc networks are visible and working as intended.

Cheers,

R
[G2 and Desire Z Android Development] xerox3500:
I can confirm this works fine on the Desire HD, although the DHCP is a bit dodgy without Internet Connection Sharing like someone said earlier.
[G2 and Desire Z Android Development] brokenworm:
op... hello 1. page ;)
[G2 and Desire Z Android Development] GermanGuy:
I am not able to install the zip using ClockworkMod 3 running CM 6.1.1. It says somthing about a "scripter problem". Would I be able to flash an older ClockworkMod to be able to run the zip, and then flash back to ClockworkMod 3?
[G2 and Desire Z Android Development] GermanGuy:
Ok, I was able to install it using an older version of ClockworkMod. Question. I am trying to connect my G2 to a WifiHotspot created on my wife's jailbroken iPhone4 using MyWi on the iphone. My G2 sees the hotspot but cannot connect to it. Anybody know of any workaround?
[G2 and Desire Z Android Development] brokenworm:
updated 1. post with new adhoc zip... for the new recoverys

thx ;)
[G2 and Desire Z Android Development] OneUp03:
After installing this new one you posted, my wifi is stuck in scanning...I can't get 7-zip to extract any of the zip file's contents either.
[G2 and Desire Z Android Development] brokenworm:
redownload it and try again
[G2 and Desire Z Android Development] OneUp03:
Just to clarify, will this make it so that only ad-hoc works? If so, what do I need to do to revert back to normal?

Edit: I was able to revert by copying wpa_supplicant from my rom and chmod 755.
[G2 and Desire Z Android Development] Durkbeef:
Will this fix the Wireless Tether app in CM7?
[G2 and Desire Z Android Development] brokenworm:
No and cm7 rc1 have adhoc in advance...

Second this Adhoc do add Adhoc networks in your wifi list... not destroying or removes anything.. its only a + to use

Thx
[G2 and Desire Z Android Development] xomikronx:
Tried redownloading and installing three times already...

Wifi is stuck on scanning. :(

I'm on GingerVillian 1.5
[G2 and Desire Z Android Development] brokenworm:
It dont work on gingerVillian.

Thx
[G2 and Desire Z Android Development] xomikronx:
Where is it located in the phone so I can replace to fix?

BTW, Should mention somewhere on OP that this doesn't work with 2.3.

*edit*

Nevermind, found it: /system/bin
[G2 and Desire Z Android Development] brokenworm:
It dont works on GingerVillian

Thx
[G2 and Desire Z Android Development] brokenworm:
first page hello
[G2 and Desire Z Android Development] gizzymo:
V2 flashed OK. but when I flash WPA-AdHoc-Signed.zip I get this:

Amend scripting (update-script) is no longer supported.

Amend scripting was depreciated by Google in Android 1.5.

It was necessary to remove it when upgrading to the ClockworkMod 3.0 Gingerbread based recovery.

Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.

installation aborted.

And stuck on "Scanning"

HELP?
[G2 and Desire Z Android Development] brokenworm:
what rom do you use ? ... its changing /system/bin/wpa_supplicant.
[G2 and Desire Z Android Development] lazyidiot:
Unable to scan for networks

This is my logcat -

I/wpa_supplicant( 2369): Initial scan channel number: 11

W/wpa_supplicant( 2369): ioctl[SIOCSIWPRIV]

W/wpa_supplicant( 2369): ioctl[SIOCGIFFLAGS]

W/wpa_supplicant( 2369): ioctl[SIOCSIWPMKSA]

I//system/bin/wpa_supplicant( 2367): Could not get interface 'eth0' flags

W/wpa_supplicant( 2369): ioctl[SIOCSIWMODE]

W/wpa_supplicant( 2369): ioctl[SIOCGIRANGE]

W/wpa_supplicant( 2369): ioctl[SIOCGIWMODE]

W/wpa_supplicant( 2369): ioctl[SIOCSIWAP]

W/wpa_supplicant( 2369): ioctl[SIOCSIWENCODEEXT]

W/wpa_supplicant( 2369): ioctl[SIOCSIWENCODE]

W/wpa_supplicant( 2369): ioctl[SIOCSIWENCODEEXT]

I//system/bin/wpa_supplicant( 2367): Could not configure driver to use managed mode

I//system/bin/wpa_supplicant( 2367): ioctl[SIOCGIFINDEX]: No such device

W/wpa_supplicant( 2369): ioctl[SIOCSIWENCODE]

W/wpa_supplicant( 2369): ioctl[SIOCSIWENCODEEXT]

W/wpa_supplicant( 2369): ioctl[SIOCSIWENCODE]

W/wpa_supplicant( 2369): ioctl[SIOCSIWENCODEEXT]

W/wpa_supplicant( 2369): ioctl[SIOCSIWENCODE]

I/wpa_supplicant( 2369): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00

E/wpa_supplicant( 2369): Failed to disable WPA in the driver.

W/wpa_supplicant( 2369): ioctl[SIOCGIWMODE]

W/wpa_supplicant( 2369): ioctl[SIOCSIWAP]

W/wpa_supplicant( 2369): ioctl[SIOCGIFFLAGS]

I/logwrapper( 2367): /system/bin/wpa_supplicant terminated by exit(255)

Any clue whats going on there?
[G2 and Desire Z Android Development] brokenworm:
Your maybe using a incompatible ROM.. you need to restore /system/bin/wpa_supplicant from the original ROM ..

What ROM you use ?

Sent from my Unknown Device
[G2 and Desire Z Android Development] lazyidiot:
I was using CM7 first, then moved to Virtuous, then to Shokouhi Saga. I din't have this problem with CM, but after upgrading to RC3, my phone started restarting whenever I switched on Wifi. I got tired of that and moved to Virtuous.

This problem has been consistent on Virtuous and now SSG2. I've tried both wpa_supplicant from original ROM as well as yours. On your version of wpa_supplicant, I'm getting No such device for all of ioctl.

I'm kind of puzzled here about the problem as wifi works for first time and randomly once in a while.
[G2 and Desire Z Android Development] brokenworm:
I would try a stock ROM only just rooted, and see if the problem sticks..reflash all your partitions/hboot/radio. if that dont work ,it could be its hardware related.. maybe a result of heavy OC kernels... i myself have a dead pixel . I use vitourous 101 with advanced 212 kernel and stock gingerbread and have no problems

Cm7/6 have adhoc in advance dont it ?
[G2 and Desire Z Android Development] lazyidiot:
I'm not sure whether its a hardware problem and I din't want to find out the hard way that before trying other options.

First, Wifi does work once in while randomly (that suggests that wifi does work)

Second,

# insmod /system/lib/modules/bcm4329.ko firmware_path=/system/etc/firmware/fw_bcm4329.bin

# ifconfig eth0

eth0: No such device

I thought the device eth0 was created when wifi driver is loaded. But it is not getting created.

When the interface itself is not there, wpa_supplicant will certainly fail. So, I started to think that its more of a driver issue.

But, anyway, looks like I don't have any option other than trying out Stock ROM or telling goodbye to wifi for a while.
[G2 and Desire Z Android Development] brokenworm:
Could be the driver .. but still test the new rooted gingerbread stock test signed. Before you give up ;)
[G2 and Desire Z Android Development] lazyidiot:
I actually found where exactly is my driver going wrong

<6>[ 78.012695] [WLAN] wifi_set_power = 1

<6>[ 78.012817] vision_wifi_power: 1

<6>[ 78.398101] Touch Status: 0x01 0x00 0x6D 0xDB 0x95

<6>[ 78.467926] [WLAN] wifi_set_carddetect = 1

<6>[ 78.468078] vision_wifi_set_carddetect: 1

<7>[ 78.468200] mmc1: card_present 1

<6>[ 78.468414] mmc1: Slot status change detected (0 -> 1)

<6>[ 78.472625] [WLAN] Dongle Host Driver, version 4.218.204.2

<6>[ 78.480651] Touch Status: 0x01 0x40 0x6D 0xDB 0x95

<6>[ 78.492980] Touch Status: 0x01 0x00 0x6D 0xDB 0x95

<6>[ 78.674530] Touch Status: 0x01 0x40 0x6D 0xDB 0x95

<7>[ 81.027893] mmc1: queuing CIS tuple 0x91 length 3

<6>[ 81.028045] mmc1: new high speed SDIO card at address 0001

<6>[ 81.048339] [WLAN] DHD: dongle ram size is set to 294912(orig 294912)

<6>[ 81.314331] [WLAN] irq: 275

<6>[ 81.315063] [WLAN] firmware version: wl0: Aug 2 2010 16:45:25 version 4.218.207.0

The above is dmesg output when Wifi works (as I told, it works once in a while), and it fails when <6>[ 81.028045] mmc1: new high speed SDIO card at address 0001 is failed.

This is what happens when wifi fails

<7>[ 7003.933746] mmc1: queuing CIS tuple 0x91 length 3

<6>[ 7003.934875] mmc1: new high speed SDIO card at address 0001

<3>[ 7005.979949] mmc1: Data timeout

<6>[ 7005.980163] mmc1: Controller has been reset

<4>[ 7005.980407] [WLAN][WRN] dhdsdio_probe_attach: si_attach failed!

<4>[ 7005.980621] [WLAN][WRN] dhdsdio_probe: dhdsdio_probe_attach failed

I'm now confused. Why is SDIO card timed out once in a while.
[G2 and Desire Z Android Development] brokenworm:
powersavings i belive.. cannot help you there
[G2 and Desire Z Android Development] lazyidiot:
Na, I think its a hardware issue. It works once in a while when I'm charging phone. Anyway, I'm not highly dependent on wifi, so, its not troubling me a lot.
[G2 and Desire Z Android Development] coszy:
LOL

dough...nuts
[G2 and Desire Z Android Development] brokenworm:
sry to hear that..use your warrenty to get it replaced...im waiting until something breaks, i can live with 1 dead pixel. smil

thx

marsdroid
[G2 and Desire Z Android Development] lazyidiot:
Cant do that. I'm in India; I bought this phone in the US.
[G2 and Desire Z Android Development] brokenworm:
ahh crap.. thats to bad
[G2 and Desire Z Android Development] seanhsueh:
First off, thanks brokenworm for fixing this issue. It works PERFECTLY on my HTC Thunderbolt.

I didn't even need to flash anything. I followed Rhacy's method. All i did was download ADHOC.v2 and extracted it to my desktop. Then I went to my phone and renamed the original WPA_Supplicant in the system/bin folder to WPA_Supplicant_OLD. Lastly, I copied the supplied WPA_Supplicant file from brokenworm to my phone (same folder...system/bin). REBOOT and VOILA!!!! ad-hoc support.

I can't thank you guys enough. AWESOME!
[G2 and Desire Z Android Development] sergispro:
K I installed this I'm running doubleshot ROM war now LOL. Like how do I use it
[G2 and Desire Z Android Development] doublecheese:
Will V2 work on Gingerbread with Clockworkmod recovery 3.x.x.x ?
[G2 and Desire Z Android Development] brokenworm:
Yes it should work perfectly..
[G2 and Desire Z Android Development] doublecheese:
Ok let me try that then

Becuase currently I am stuck on Froyo due to this Ad-Hoc thingy.

The reason I need the Ad-hoc is only for controlling my Ardrone :)
[G2 and Desire Z Android Development] doublecheese:
Yes what about the Clockworkmod recovery ?

Normally the froyo patch can only be flashed with CWm 2.5.1.3 as the new CWM versions 3.x.x.x can not apply this patch .

Is this V2 patch compiled in such a way that CWM 3.x.x.x will flash it to the gingerbread or not ?

Because normally with the original patch you get this error

Therefore you must downgrade your CWM from v. 3.x.x.x to 2.5.1.3 on the fisrt Froyo version.....
[G2 and Desire Z Android Development] rdst_1:
thanks a lot.Confirmed working on SGS II(KF3 kernel)
[G2 and Desire Z Android Development] brokenworm:
http://xdaforums.com/showthread.php?t=1071138

continue here plz
[Windows Phone 7 Q&A, Help & Troubleshooting] zard:
I had installed many free apps from marketplace but had found that two apps after installed does not show up in Start menu?

The two apps are:

1. Memory 77 - Swimsuit Edition

2. Timer by Carrasco Technology

Anyone encountered this?

I'm using HD7.
[Windows Phone 7 Q&A, Help & Troubleshooting] Jim Coleman:
Maybe they show up in Games instead of Apps?
[Windows Phone 7 Q&A, Help & Troubleshooting] zard:
You were right. I didn't scroll down far enough. Thanks.

Sent from my HD7 T9292 using Board Express
[Galaxy S I9000 General] SpaceGooner:
Kies is showing a newer Froyo update today than the one we got in November.

The official O2 UK Froyo was PDA: JP5, PHONE: JP3, CSC: JP3

The new Kies update is showing PDA: JP6, PHONE: JP3, CSC: JP3

Has anyone tried this yet, and what's changed? Is there anything to be gained from JP6 over JP5?
[Galaxy S I9000 General] amwebby:
Just spotted this this morning. Upgraded and will report back later. I may be some time...
[Galaxy S I9000 General] _dsk_:
Can you let us know if this is 2.2.1? :) Ta!
[Galaxy S I9000 General] amwebby:
It's not 2.2.1, the phone still shows 2.2 as the version. It does seem to have solved some lags I was experiencing in email and calendar applications. That's about it so far.
[Galaxy S I9000 General] amwebby:
Just discovered the notification volume is now separate from call volume, which I thought was a 2.2.1 feature?
[Galaxy S I9000 General] _dsk_:
Nope, always been separate (well on all the 2.1 and 2.2 ROMS ive used).

Shame it isnt 2.2.1 (JPU based), its a really good ROM, bar the browser niggles...
[Galaxy S I9000 General] amwebby:
OK. You can now enter alphanumeric postcodes in contacts, which I couldn't do before.
[Galaxy S I9000 General] forcedv:
Any GPS improvement ?
[Galaxy S I9000 General] amwebby:
I haven't noticed any difference in GPS but I never had a problem before.
[Galaxy S I9000 General] amwebby:
Just noticed I now have HTML support in the email app, which I'm sure I never had before.
[Windows Phone 7 General] zard:
I noticed that if I scroll through Marketplace for apps, e.g. under All-New, after scrolling down for sometime, maybe 10 to 20 mins, sometimes shorter, my Marketplace app will hang. If I try to go back to Home screen and start the app again, it will not start.

Anyone encounter this problem?

I'm using HD7.

Thanks.
[Windows Phone 7 General] radical_tushar:
Hi Zard,

yes, this is a known issue/bug.

See http://xdaforums.com/showthread.php?t=836373

Hth...
[Windows Phone 7 General] zard:
Thanks. Thought I was the only with that problem.

Sent from my HD7 T9292 using Board Express
[Windows Phone 7 General] ARHMogul:
It happens on my HTC Surround as well, a simple reset corrects the issue.
[Galaxy S I9000 Themes and Apps] Nejzy:
Hi!

for .ics file i use ics bot to open it directly from my gmail. When i open it every event which is added to my calendar is one hour late....when it should be at 4pm its at 5pm...why this happens?...how to fix?
[Galaxy Tab General] mrmilo69:
Yesterday i upgraded ny firnware to the jm6 firnware. Backed all my stuff up etc, seemibgly followed the instructions in the first post to the letter but in the upgrade i lost my samsung games and samsung movies apps and titanium would nit allow me to recover my old ones. I rolled back to jj4 and tried to recover it but no luck. Tried to go back to a voda firnware hoping it would help but the flash got stuck on hidden.rfs so i again installed jm6 and went to bed at 4! I am hoping i can get it sorted today as i would like to restore the tab to how it was.
[General Questions and Answers] valve90210:
Hi All

Wasn't sure quite where to post this but as it has questions I thought here might be right, if not please feel free to move it to somewhere better.

I have a Desire Z and from time to time would like to be able to watch Sopcast streams on my phone. This would only be when I am at home and my phone is connected to my network via wifi.

I have done a fair bit of googling and from what I can tell there is no android app for sopcast, so I looked to my past experience to try to find a solution.

In the past I have managed to watch a Sopcast stream on an original xbox running XBMC, and wondered if I might be able to use the same/similar process to watch on my phone.

The setup was fairly simple.

1) run Sopcast on my pc, find the stream I wanted and set it playing.

2) check what port Sopcast was broadcasting on

3) create a text file containing the address and port of the computer running sopcast (ie http://192.168.0.1:xxxx) and name it sopcast.strm or similar.

4) copy the .strm file to the xbox. browse to it and hit play. The xbox would then play the stream that sopcast was broadcasting on the pc.

It worked pretty well and as long as the sopcast stream was fairly stable it continued to play.

During my googling I found two sites that made me think.

http://technology.anoj.me/2008/03/streaming-sopcast-to-your-mobile.html

Which described doing pretty much exactly the same as I used to do on my xbox

and

http://tuddthudnaar.blogspot.com/2010/08/how-to-stream-your-music-videos-or.html

Which gave instructions and settings for streaming videos etc over the internet to a dummy webpage which would allow the phone to open up the stream by clicking a link. Included in this setup are suggested settings for the video stream so android phones can play it.

Now, I was thinking if I could sort of cross-pollinate these two threads and setups, it might be possible to watch sopcast on my phone?

I'm thinking along these lines of

1) open sopcast on PC, get the address/port that it is broadcasting.

2) open the stream in vlc on the pc and get it to transcode using the settings from the second link and then stream it on a different port

3) open up the vlc stream on the phone using...something, would the vlc android app be able to do that?

How does that sound? does it seem feasible, has anyone done it, is it likely to work?

Baring in mind I'm only concerned with watching in via my home network, I'm not bothered about using over the internet or anything like that.

Any thoughts, experience or comments very much welcomed.

Valve
[General Questions and Answers] valve90210:
Ok, so no one knows...

Last night I had very little time to have a play but, I got sopcast stream fine and I got vlc to pick up the stream and transcode it using the settings on the second link above.

However, I couldn't work out how to open, on my phone, the stream that vlc was broadcasting, any ideas anyone?

I tried the vlc app but couldn't get it to connect, and i tried AndTV but couldn't work out what to do there either.

If I get a chance tonight, I shall try to open vlcs stream on my xbox (probably using different settings) to just check that vlc is actually streaming and to ensure the address is correct. (how do I check the address that vlc is streaming to? - i tried to find it last night by viewing various properties within vlc but all I found was the properties of the stream vlc was picking up from sopcast...

If anyone has any thoughts please do let me know.
[General Questions and Answers] geordierussell:
Did you ever get this working?
[General Questions and Answers] aaho:
I am also looking for an app like Dreabox Live (apple app) for android. Well nice.. I will give it a try and will check it.
[General Questions and Answers] smek3rul:
How can I watch sopcast on Android?
[General Questions and Answers] THE_NIGHTCRAWLER:
My Sopcast setup

I've been streaming sopcast to my TV through PS3 for a few years, but I only came across this post today while looking for sopcast for android.

---------- Post added at 02:06 PM ---------- Previous post was at 01:54 PM ----------

1. Download ps3mediaserver

2. Download VLC

3. Install them

4. Find and open WEB.Conf in notepad or any text editor

---------- Post added at 02:25 PM ---------- Previous post was at 02:06 PM ----------

5. add new feed in the same format with the address as one two seven point zero point zero point one

6. save and close it

5. Run PSMS

6. Run a Sopcast>>choose options>>Choose external player>>Use my own media player. Find VLC Click OK

7. Run a sopcast stream(ie sop://broker.sopcast.

com:3912/106723 ;))

8. Click switch to external player button on the button of the screen

9. On PS3 go to Videos>>PSMS>>Television>>Sopcast

10. It may take a minute to buffer

11. Enjoy the match LOL
[General Questions and Answers] whodat70003:
Nice idea!

Sent from my DROID BIONIC
[General Questions and Answers] korenpenza:
Well, this would work with PS3, what about android phones or tablets?
[General Questions and Answers] engineerpig:
Just download MX Video Player, it works with sopcast stream and I 've been using it for this purpose .
[General Questions and Answers] rodman1962:
engineerpig

how do you do that? just copy URL from SopCast and paste? Can you show some sample of URL?

Thanks
[General Questions and Answers] kofte:
I am also wondering how Sopcast streaming works with MX Video player?

Can someone please explain?
[General Questions and Answers] DeviceIK:
I can.

Way 1 (to 1GHz smart and stronger):

1. Run Sopcast on PC and select channel.

2. Run on Android any videoplayer (MX Video Player, vplayer, yxplayer) and select stream video. Write link: h t t p ://localhost:8902/tv.asf, where "localhost" - ip adress PC.

3. Profit.

Way 2 (to smart with less then 1GHz processor):

1. Run Sopcast on PC and select channel.

2. Run VLC Player on PC and run web-interface.

3. Open in VLC h t t p ://localhost:8902/tv.asf, save playlist with any name.

4. Run VLC stream&convert on Android, adjust the settings for your PC, select stream to phone.

5. In browse tab find your playlist and select it. Then select h t t p ://localhost:8902/tv.asf.

6. Profit.

Sorry for my language.

Instruction from 4pda.ru.
[General Questions and Answers] SteveI:
Sopcast have just released an Official Beta client for Android, take a look at my thread.

http://xdaforums.com/showthread.php?t=1592435