[HOW-TO] Wifi Fix for CM6 [1/2/2011] - myTouch 3G Slide Android Development

DISCLAIMER: Nobody -- and I do mean nobody -- is responsible for a bricked device except for the person attempting this modification. Do not contact me to complain that you borked your Slide by not following instructions.​
All credit for this discovery goes to knowmercymod​
Certain Espresso owners running CM6 (or CM6 derivatives) may have discovered that their wifi functionality doesn't work as expected. The issue is well-documented on the CM6 issue tracker [issue 2153] and the cause of the problem is known, but there is no source-based solution at the moment. As such, there's no easy way to distribute a fix for working wifi within a packaged CM6 zip.
The issue relates to missing GPL'd drivers for the MSM7227 chipset from Qualcomm that is used in several devices, most notably the HTC Espresso, Legend and Aria. But due to small versioning differences in certain aspects of this chipset, some devices have functioning wifi using the generic open-source SDIO modules and others do not. The permanent solution for this issue is cajoling HTC into releasing this code -- this process is already underway -- but, in the meantime, this thread will serve to provide a temporary solution that is 100% effective.
So let's get started...
Step 1: Downloading the necessary files​
Attached to this post are the two files necessary to fix this issue:
sdio.ko
tiwlan_drv.ko
They both come from *stock* Espresso -- the code currently in use in the CM6 repository does not generate fully-functional versions of these modules.
Download the "modules.zip" file to your PC and extract the two files to an easily accessible location.
Step 2: Backing up the corresponding files on your device [optional]​
This optional step will walk you through backing up the existing files on your device. This is completely unnecessary as those files can simply be restored by re-flashing a CM6 zip, but I figured that people should get in the habit of backing up stock files before modifying their device.
To do so, execute the following two commands -- both can be done while the phone is booted up or in recovery (if you're in ClockworkMod recovery, just make sure your system partition is mounted -- partitions->mount /system):
Code:
ADB PULL /system/lib/modules/tiwlan_drv.ko [DESTINATION]
ADB PULL /system/lib/modules/sdio.ko [DESTINATION]
To use my PC as an example, I would connect my Slide via USB and enter the following commands on the command line:
Code:
ADB PULL /system/lib/modules/tiwlan_drv.ko ~/Documents/Android/Backup
ADB PULL /system/lib/modules/sdio.ko ~/Documents/Android/Backup
Step 3: Replacing the files on your device​
So now we're ready to make the actual modification. First step: boot into recovery. My preferred method is to use the ADB REBOOT RECOVERY command.
Once you're in ClockworkMod Recovery, please make sure system is mounted -- partitions->mount /system
Then you would simply execute these two commands:
Code:
ADB PUSH [SOURCE]/tiwlan_drv.ko /system/lib/modules/tiwlan_drv.ko
ADB PUSH [SOURCE]/sdio.ko /system/lib/modules/sdio.ko
To use my PC as an example, I would enter the following commands on the command line:
Code:
ADB PUSH ~/Downloads/modules/tiwlan_drv.ko /system/lib/modules/tiwlan_drv.ko
ADB PUSH ~/Downloads/modules/sdio.ko /system/lib/modules/sdio.ko
Once you've pushed these files, simply reboot your device and you're done! You should no longer have any issues with your wifi connectivity, including (but not limited to) full wifi tether functionality when using the Wireless Tether 2.0.5 application.
And, again, all credit for this temporary fix goes to knowmercymod (who is far too humble to post this himself).

Saving this space for future updates...

I hope this fixes my frequent disconnects, but on the legend section they fixed the problem by changing the channels to 14 instead of 11, not sure if that will work for espresso.

UPDATE: Works great! Thanks for posting this.
Very exciting news! I'll fully charge and try this fix. Looking forward to using CM instead of stock.

Just pushed the files to cyanoginger 1.1.. wifi and wifi tether both appear to work perfectly now

Cool, thanks for posting!
I did it, not sure if it did anything. Weird thing is, after pushing the 2 files I noticed I forgot to mount the system folder but it said it transfered successfully.. *shrugs*
I think tethering was working before, either way though, it works now

Awesome! Thanks so much for the hard work. I know you guys will manage a perm fix via a regular rom soon. HTC will cough up that source code for ya

Just chiming in to say this works for me. Takes a little longer now to connect to an access point than it used to, but rock solid after that. With s-off, didn't even have to be in recovery, just mounted system rw, pushed files, and rebooted.
Sent from my MyTouch 3G Slide running CM6.1.1

Did it right off my phone with sufbs file manager. Great job hopefully its integrated in next cm build.

I keep getting a "out of space" error when I go to copy the files.
Please help.

poormanq45 said:
I keep getting a "out of space" error when I go to copy the files.
Please help.
Click to expand...
Click to collapse
If you have not applied s-off patch by alpharev, then you have to push the files while in clockwork recovery, after going to the partitions menu and selecting mount /system. If you are in fact s-off, you have to use a terminal emulator and type [code}mount -o rw,remount /system[/code] and then push the files
Sent from my T-Mobile myTouch 3G Slide

CM6 wifi works fine for me, but would these drivers work better with my phone anyways since they're specifically made for this phone?

Applied this on Arayaray revamped which seemed to have spotty wifi for me especially when accessing the market. After applying this the wifi is perfect not a single problem at all now, thanks so much!!

I refuse to connect my phone to my pc. Is there any way to get these files pushed onto my phone? Terminal Emulator work? If not, it's cool. Wifi seems to be working for the most part under CM6.

xaodxkevin said:
CM6 wifi works fine for me, but would these drivers work better with my phone anyways since they're specifically made for this phone?
Click to expand...
Click to collapse
It depends. These files are taken *directly* from the stock espresso rom and are known-good. If you're not having any issues with wifi running CM6 I don't feel comfortable telling you this will "improve" anything -- but I don't think it would hurt. In any case, if you follow my instructions you will have backed up the original files and can restore them at any time.
Hayzie said:
I refuse to connect my phone to my pc. Is there any way to get these files pushed onto my phone? Terminal Emulator work? If not, it's cool. Wifi seems to be working for the most part under CM6.
Click to expand...
Click to collapse
Uhhhh -- why? That seems incredibly myopic and weird. You know what -- never mind -- I don't want to know. You can use a terminal emulator on the device to move the two files from your sdcard to their rightful place on /system. I'll leave it as an exercise to the user to figure out the correct commands to do so.

Well I'll tell you anyways... MyTouch Slide always acts funny when plugged via USB to my pc, more-or-less so Windows 7. I could say this is an uncommon issue, but it's not. So it's not weird.

Mine works just fine, whats funny about it when u plug it in? Sorry to bring this up here herbrewtoyou but im curious lol
Sent from my T-Mobile myTouch 3G Slide using XDA App

Hey guys I just pushed the 2 files to my phone, I'm running CM 6.1.1-Slide - since I flashed to 6.1 and then reflashed to 6.1.1 I have had 0 Wifi capability. So I push these files and followed the instructions, and well I still have no wifi. I will enable it and it will scan, try to authenticate and then disconnect and repeat.......any ideas???

ApeMan911 said:
Hey guys I just pushed the 2 files to my phone, I'm running CM 6.1.1-Slide - since I flashed to 6.1 and then reflashed to 6.1.1 I have had 0 Wifi capability. So I push these files and followed the instructions, and well I still have no wifi. I will enable it and it will scan, try to authenticate and then disconnect and repeat.......any ideas???
Click to expand...
Click to collapse
Sounds like an issue with your router...

No its def not the router, phone would connect all day long before switching to CM.

Related

[GUIDE] One click temp ROOT - sticks until restart

First, props to TeamWin, joel.bourquard, theintelligent, and maybe a few others I'm not aware of...
Second, these are Windows instructions. If you have another OS, you can open the batch files and type the commands inside (or paste them) one by one.
Third, keep in mind that the current temp root is NOT a full root even WHEN it is in place... so don't expect too much! This method has also been modified (by others) so that it does not "randomly" reset and it sticks until the next restart. As a result of how that works, however, even fewer apps recognize root with this method but some do!
Most of this is just other people's work: stuff from several different posts repackaged in a way that I found very easy to use. So I don't take credit for most of the contents, although I did modify the batch files to take care of a timing issue that was causing a fail on most machines. In the end, you should be able to use the attached prepare.bat file to prepare your phone once and then you can use root.bat after each reboot to restore temp root. Create a shortcut to root.bat on your desktop and you can just plug your phone in, click the icon, and you're (re)rooted in about 8 seconds.
The instructions are simple but I elaborate below to try to hit all the stumbling blocks. Basically you just run prepare.bat the first time you do this and from that point forward, you only need to run root.bat after every restart.
Here are the specific instructions:
THE FIRST TIME ONLY:
(1) Unzip contents of the attached ZIP to a folder you'll remember on your hard drive.
(2) Plug your phone in via USB and set it to "charge only" with "USB debugging" under "Settings", "Applications", "Development" turned on. It's best to do this after a fresh (full, not fast) boot. Your phone should be in this mode each time you connect it to root it. Trust me, if you've been using your phone for a while, reboot it first, then wait a few minutes for it to stabilize, THEN do this routine... saves a lot of headaches.
(3) Go to the folder where you unzipped the files in (1) and run prepare.bat. I prefer to do it in a DOS box but you should be able to just use Explorer and double click on the prepare.bat file.
(4) The first thing these batch files do is a check to make sure your computer can see the phone. If your phone isn't in the list, Ctrl-C and break out of the batch file. You'll have to correct the problem which will most likely be an issue with the HTC drivers. If your phone is not found, try these x64 drivers... or these if you're running a 32 bit OS. To install these, go to Control Panel and click on your Android device and do "Update Drivers" and browse to the location of the drivers you downloaded.
(5) Assuming your phone is on the list, everything should be ready to go. Press enter and the batch file will proceed and it will root your phone.
AFTER DOING THE ABOVE ONCE, AFTER EACH REBOOT:
(1) Attach phone and double click the root.bat file.
(2) Again, verify that your phone is on the list (proves your PC can see the phone). If so, press enter and the phone will be RErooted.
That's it! Works for me. Keep in mind that temp root is NOT a full root! Many apps will not run (won't see root) but that's just the nature of the current temp root. But some apps do work. Barnacle WiFi does for example: although sometimes it take two "start" presses to get it to connect as the first one sometimes produces errors. People say Titanium Backup and some other apps work: I haven't personally tested them. As temp root is really for dev and testing, test what you want and see if it works.
Hope this helps some of us to get a quick and easy temp root. If any issues are found, I'd be glad to modify this initial post and/or modify the batch files if any errors are found.
Mike
I can't get to the site to download the 64-bit drivers for windows. Anybody has an alternate links? Thanks.
Does this really work? How is this thread not blowing up??
vWvSTATICvWv said:
Does this really work? How is this thread not blowing up??
Click to expand...
Click to collapse
Really! Anyone out there? I expected to come back from lunch to find questions I needed to answer or maybe a suggested modification or two. This has been working for me for over 12 hours now. No restarts. No reverting to non-root. Barnacle Wifi Tether is still working. And the best thing is, if I have to restart the phone for some reason, I connect it to my computer, click, and 8 seconds later it is rooted again and I unplug it and go on my way.
Mike
can you run a wireless tethering app after temp root?
edit: see mikeyxda's post above this
I was hoping to be able to help some people with the Barnacle WiFi Tether app because a lot of people complain that they didn't get it to work and I suspect I got it to work with some combination of settings. Only problem is: I don't know how my Barnacle settings differ from those other people are using so I wanted to compare with others. Short on time right now but later I'll try to post my entire list of Barnacle settings. They work for me.
Edit: Oh Hell... I have a few minutes, here are my settings:
SSID: Evo 3D Tether
BSSID: <blank>
Wireless Encryption: not enabled (open)
Channel: mine is 6, probably doesn't matter
Custom Wifi Ad-hoc: none
Skip wpa_supplicant: NOT checked
Auto Associate: NOT checked
Access Control: NOT checked
New Client Actions: Notify Checked, nothing else checked
Local Mode: NOT checked
DHCP: Didn't mess with these
NAT: Didn't mess with that either
WAN: rmnet0 (whatever that means)
LAN: Blank
Mike
it seems like the link for the 32bit drivers is down also....
i ran batch files as OP directed, they run successfully, but when i go to start barnacle tether it doesn't have root. same for the "wifi tether for root" app. tried full reboots several times, no help.
os10 said:
i ran batch files as OP directed, they run successfully, but when i go to start barnacle tether it doesn't have root. same for the "wifi tether for root" app. tried full reboots several times, no help.
Click to expand...
Click to collapse
Try making sure fast boot is turned off and then power the phone down and power it back up. Then use the root.bat to reroot. Might not work the first time.
For those having trouble with the driver links, try this link. It's kind of a convoluted mess with countdowns, etc. but seems like the files are there. I haven't verified them yet though.
Mike
Gave it a shot, doesn't quite seem to be working for me.
johnsmusicbox said:
Gave it a shot, doesn't quite seem to be working for me.
Click to expand...
Click to collapse
What is it that isn't working: the rooting process itself or Barnacle? I was hoping to give enough feedback in this thread to get things working for the people who say "it doesn't work" because I've been watching other threads and most of these methods seem to be very inconsistent, meaning, they don't work for a lot of people. My intention was to find the kinks and get it working for the vast majority. If you can give me details like what you see during the process, whether any error messages display, and so on, we might be able to get a more reliable temp root.
Mike
Titanium backup is definitely not working with this.
So what's going on with this? Anyone got it to work?
OK, let's try this. This is a "cleaned up" version of a different method posted in another thread. Comes with 2 batch files. Run root-init the first time and then root-redo each time you restart after that. Let's see if this works better.
Mike
Ok...My guess is that people are scared and don't know exactly what they're flashing. Would you mind sharing the source of your find, Mike? If this does indeed work, I can't see people not using this method. HmMm
*EDIT* I found the source is from XHAUSX
*EDIT 2* IT WORKS!!

[BOTH][MOD by APP] Nebtop - Universal HDMI Webtop hack

UPDATE
I will keep updating issues about Webtop on my website. I won't copy those analysis or finding to here to reduce redundancy and effort....
Demo Video
What is this about?
In short, you can use this to activate Webtop mode and see the virtual pad on the phone with an HDMI cable only.
In long, this is a runtime MOD that can simulate the docking event of the HD dock so that the virtual pad will come up. Together with the hw.whisper trick, the Webtop option can then show up and being selected.
This mean if you set the hw.whisper manually, you could still see the Webtop option. Be sure to set this using root before plugging in the HDMI cable.
To make this ease of use and able to simulate the docking event, an APP has been written to do the runtime MOD for you.
This app requires ROOT privilege.
Why is it called Nebtop?
Well, everything needs a name.
HDMI Cable \ + Nebtop -> \Nebtop -> Webtop
For sure, the phone must have webtop built-in for this to work.
What is the difference of this MOD comparing to the existing system apk MOD?
Fenny's MOD was the first that allows exactly the same result for various Moto phones. That was the first important foundation for further improvement.
The runtime MOD done by Nebtop has the advantage of not changing anything persistently. So in the worst scenario the kernel will panic and cause reboot only.
Also, this MOD is trying to be universal, for different phones and ROMs that supports Webtop. Even it failed for kernel compatibility issues, if it can be done, it will be done.
Tested device
Razr (Tested by me)
Atrix, Atrix 2
Photon
Bionic
Droid 4
Feel free to try it on your Webtop workable device with an HDMI cable! As the least request, please report whether it works for you and what phone and ROM you're using so that I could keep this MOD by APP improved.
Download it here: https://sites.google.com/site/androidnothize/nebtop
Or search Nebtop in Market.
Enjoy!
If you think that it helps you and would like to support my work, you could always find the latest version from market which is a paid version.
Special thanks
Fenny for the first for the Webtop Via HDMI Without a Dock breakthrough.
Turl from the atrix dev team for the hw.whisper trick.
Just tried it out; although I was using the botched CDMA hacked webtop the trackpad display came up but no function; It does show that it is connected to a dock though which is a good step in the right direction.
Do you have the original webtop files available in a zip format to flash through CWM or possibly full ROM for CDMA Verizon?
* reloaded razrx rom; now webtop shows top left only of my screen but still no control from the phone itself
** reset phone; full screen but still no responsive phone pad
*** loaded nitro deodexed; still no response to the phone pad, displays fine but the new display comes up blank as the rest
**** loaded another stock rooted rom 744; no change in phonepad function; phonepad appears and can rotate, extent of function
CDMA Verizon
Kernel 2.6.35.7
EDIT:
Works fantastically on stock outside of the safe strap rom
works like a charm man !!!!! thank you so much !!!!!!!! wow - thanks man
Ooooooooo my ROM is asia version.....
Do you have the logcat -v time files?
Although it's unrelated to the app, I'm interested to know how did it happen and any work around.
400757 said:
Ooooooooo my ROM is asia version.....
Do you have the logcat -v time files?
Although it's unrelated to the app, I'm interested to know how did it happen and any work around.
Click to expand...
Click to collapse
I am also having issues with ADB; I have to see if something isn't wrong with my device
Could you install SSHDroid and use WiFi to ssh to the device?
400757 said:
Could you install SSHDroid and use WiFi to ssh to the device?
Click to expand...
Click to collapse
Yeah I can do that, what files do you need?
Will need the logcat -v time when you loaded Nebtop and see the virtual pad on the phone, that cannot rotate or won't pop keyboard or have no effect when moving.......
Also try those home,back,setting and search keys.
And make sure you have a clean reboot before testing since sometimes webtop can fall into an unstable state as I've tried which will only be cleared after phone reboot.
elitegunslinger said:
Yeah I can do that, what files do you need?
Click to expand...
Click to collapse
Mind to tell which ROM are you using? It's for statistics purpose.
showdown_counts said:
works like a charm man !!!!! thank you so much !!!!!!!! wow - thanks man
Click to expand...
Click to collapse
This works 100% in my Razr runing Artic V1.5 ! Awesome work thanks!
Sent from my XT910 using xda premium
Im using the stock Asia Rom. kernel is 2.6.35.7
400757 said:
Will need the logcat -v time when you loaded Nebtop and see the virtual pad on the phone, that cannot rotate or won't pop keyboard or have no effect when moving.......
Also try those home,back,setting and search keys.
And make sure you have a clean reboot before testing since sometimes webtop can fall into an unstable state as I've tried which will only be cleared after phone reboot.
Click to expand...
Click to collapse
I am unable to generate a log file for you; I even attempted adb shell within a terminal emulator on the phone; [email protected]_spyder:/# basically saying the device is offline, I reset the adb server a couple times and it didn't help.
What works:
Displays the virtual pad and rotates
What doesn't:
The screen becomes unresponsive, the display which mirrors the phones display is blank, and none of the virtual keys work, including the hard keys such as home, back, etc.
I have reset the phone and used multiple roms for CDMA however I can't seem to get it working. I have fixed permissions, each wipe I do data, cache, format system, and wipe dalvik cache (although it gives me an error about E: SD-ext).
If you have any suggestions to get the ADB service back up and recognizing itself I will gladly get you logcat files.
*Side Note: I know it isn't my PC drivers or my Mac; I attempted to get adb running on all including the terminal inside the phone; all say the device is offline, is it possible it has something to do with safestrap?
I thought once installed SSHDroid, you could use ssh/PuTTY to access the terminal from PC, gather the log and redirect to a file, then finally scp to copy the file back to PC.
Or use another SwiFtp app for file transfer as the default install of SSHDroid failed to initiate the scp for me.
elitegunslinger said:
I am unable to generate a log file for you; I even attempted adb shell within a terminal emulator on the phone; [email protected]_spyder:/# basically saying the device is offline, I reset the adb server a couple times and it didn't help.
What works:
Displays the virtual pad and rotates
What doesn't:
The screen becomes unresponsive, the display which mirrors the phones display is blank, and none of the virtual keys work, including the hard keys such as home, back, etc.
I have reset the phone and used multiple roms for CDMA however I can't seem to get it working. I have fixed permissions, each wipe I do data, cache, format system, and wipe dalvik cache (although it gives me an error about E: SD-ext).
If you have any suggestions to get the ADB service back up and recognizing itself I will gladly get you logcat files.
*Side Note: I know it isn't my PC drivers or my Mac; I attempted to get adb running on all including the terminal inside the phone; all say the device is offline, is it possible it has something to do with safestrap?
Click to expand...
Click to collapse
works perfect!!! thx on arctic 1.5....
400757 said:
I thought once installed SSHDroid, you could use ssh/PuTTY to access the terminal from PC, gather the log and redirect to a file, then finally scp to copy the file back to PC.
Or use another SwiFtp app for file transfer as the default install of SSHDroid failed to initiate the scp for me.
Click to expand...
Click to collapse
The issue I am having also is when I attempt to log nothing is coming up. As if no events exist; I am not sure whats wrong. The only logcat command I know is adb shell logcat etc. ; what other command could I use?
Does it work with motorola atrix?
I want to make it work for most devices and ROM that has webtop. So let's try and let me know the result.
Nipit said:
Does it work with motorola atrix?
Click to expand...
Click to collapse
Works great on vzw razr...thanks.
Sent from my DROID RAZR using XDA App
400757 said:
I want to make it work for most devices and ROM that has webtop. So let's try and let me know the result.
Click to expand...
Click to collapse
I tried it on my Bell Atrix running 2.3.6 and your emulator works great
Thanks!
Works great on my razr! Thanks

[Q] Major Problem, Need Major Help!

Today I tried to flash the CyanogenMod 9 Nightly 06-30-12, coming from Build 35 of AOKP and after factory resetting and clearing Dalvik I went to install the zip and while flashing it I got a build-prop related error!
All of my NANDROIDS gave me a data error when flashing and now I am pretty f'd! I /really/ need to fix this ASAP but have no idea how.
-Samsung Galaxy Tab 10.1 Wifi-
-CWM 4-
On a second note, does anywhere know where I can get my screen replaced for cheap? I dropped my tab a few months back and the screen got MAJOR cracked, though it still does technically work (I still use the screen, it works but it's cracked is all...) and after calling Samsung and waiting for over 1 and a half hours they told me they wanted $150 to fix it, which if I recall is about half of what I payed for it anyway...
To be honest, I'd be lying if I said I was happy with Samsung over all.
I mean, bad customer support, the proprietary connection cable, and lack of official updates (along with the ugly TouchWiz that I'm not sure /who/ likes ) don't make me that happy...
Anyway, can anyone help me please?
Thanks in advance!
Update your recovery: http://droidbasement.com/db-blog/?p=2655
If you have a GT-P7510 (p4wifi), in this post are flashable zips (with your current recovery) of CWM and TWRP, in case you prefer this method: http://forum.xda-developers.com/showpost.php?p=28051448&postcount=29
After that, flash your ROM like always.
Yeah, thanks, were it so easy. I fired up ODIN multiple times, no matter what, unsuccessful. Like always, my computer would not recognize my tablet. Yes, I have the bloody Samsung drivers, yes I've tried reinstalling them (several times in the last few months), yes I've tried using different USB ports! And what? Nothing. Nothing at all. For the last few months I have not been able to transfer movies/music to my tablet via file transfer and I can't even get the stupid odin download thing to work. To be honest, I really am pissed off with this broken pile of trash. Would trade it in for a similar tablet any time.
Did you try any of the flashable zips for a new recovery?
About the USB, it sounds like a different problem, but for the file transfers, are you sure you have MTP selected? (answer #5 --> http://forum.xda-developers.com/showthread.php?t=1642009 )
If you haven't tried it yet, you could use a different computer, another OS (some Linux distro and check that adb works), change the USB cable.
I can't use a flashable zip since I can't copy files onto the tablet >.>
Also, yes, for file transfers I /do/ have MTP selected always and it doesn't work eitherway.
Essentially, I am stuck with a $300+ ugly and broken thing that I can only use as a paperweight for the huge mess I call my desk. Yay.
>Rage sidenote; Samsung, go take the money I payed for **** and shove it.
And I guess you don't have your old ROM (AOKP build 35) in your tab.
Try with adb (in recovery), but if you can't get a working USB connection (using other computers or OS), maybe there's something physically wrong with your tablet.
No, I don't. I'm stupid enough to delete the ROM zip after flashing it to save space on the tablet...
How do I do this ADB thing? I've heard of it before alot but never used it or looked into it...
Read this: for windows -> http://forum.xda-developers.com/showthread.php?t=1387527 , for Ubuntu -> http://forum.xda-developers.com/showthread.php?t=921169
After everything is installed, boot your tablet into recovery and try running in your command line application (CMD for windows):
adb devices
If it shows that a device (and ID number and the actual state, e.g. recovery) is connected, your golden!
If you have another android device, try it too, to be sure that is working.
To transfer a file the command is
adb push /path/to/file /path/in/tablet
In windows I guess is something like this:
adb push C:\path\to\file /path/in/tablet
so I'd do something like
adb push C:\ADB\CWM-5.5.0.4-p4wifi.zip mnt/sdcard/ ?
Im dling the ADB files right now
adb push C:\ADB\CWM-5.5.0.4-p4wifi.zip /mnt/sdcard/
You need the slash at the star and end of the path of the tablet.
While installing PdaNet it failed, said it couldnt connect through to the device or w/e
Also,I don't recall having ADB on when I had the tablet. I might've but I don't think I kept debugging on for the general time...
This is so frustrating >.>
I'm not sure about that error in PdaNet, I can help you with adb but I don't use Windows, so there's things I can't test.
If you didn't select ADB debugging in your ROM it doesn't matter, you're doing this from recovery.
BTW, do you have other android device?
adb seems to be working and copying, but I can't find the file in Recovery while doing choose a zip to apply!
Yes, I have an LG Optimus V on Virgin Mobile running tdm's AMAZING Quattrimus Alpha 10 on Ice Cream Sandwich/ Android 4.0.4
this is what I get
C:\Users\Mikoyan Gurevich\Desktop\LG Drivers>adb devices
List of devices attached
43C800340009517 recovery
C:\Users\Mikoyan Gurevich\Desktop\LG Drivers>adb push C:\CWM-5.5.0.4-p4wifi.zip
43C800340009517\sdcard\download
1328 KB/s (4147569 bytes in 3.048s)
C:\Users\Mikoyan Gurevich\Desktop\LG Drivers>
If you connect your phone and execute
adb devices
What's the output?
If you do the same with your tablet, what's the output?
with the tablet it's
C:\Users\Mikoyan Gurevich\Desktop\LG Drivers>adb devices
List of devices attached
43C800340009517 recovery
with my phone it doesn't wanna show up in Recovery or not.... Hmm.
Well, it shows fine, then you should be able to transfer the files
First, in your recovery, go through the steps to install some zip file, but just go as far as selecting the directory, then go back
Now in your PC try running something like this, change your path in windows:
adb push C:\CWM-5.5.0.4-p4wifi.zip /sdcard/
The in your recovery, select install and should show there. The thing is that most likely the sdcard wasn't mounted in your tab
Edit, to mount your sdcard in recovery do: mounts and storage > mount /sdcard > Go back
The do the transfer in your PC.
Hmm
While I was holding it to my gut, pushing the end of the cable into my stomach (It was the only way to get it to be recognized) I fooled around and went into download mode, hoping that on the contrary I could do that, turn it off, and when I went back into Recovery it would be there when it finally said the cable WAS connected and then I rushed to open Odin and wrote it through, and it frickin' wrote CWM v5 right on and it worked, I'll be damned!
Maple, I can not thank you enough for helping me with this, I am in great debt.
You're welcome, I'm glad it worked. Knowing how to use adb is really useful. And now you know that something is wrong with your cable.
Or in the connector pins or w/e of the tablet... The cable works fine for charging though....
You are my savior, bro.

A unique set of problems

I have come to what seems to be the end of a very unique set of misfortunes. I was keeping my phone stock for as long as possible, to avoid running into these issues (I don't have any "backup" phones), but being sent on travel for work and staying in a hotel with no Internet forced my hand. I needed to be able to tether my phone.
I went about unlocking the bootloader and after booting into TWRP, I immediately made a backup. I then flashed the necessary zip file to acquire root access. After successfully rooting it, I was able to achieve wireless tethering via Wireless Tether for Root. However, I did not want to deal with the power drain and possible latency/bandwidth degradation of a wireless connection, so I began the process of flashing a custom ROM (MeanROM).
After laboriously acquiring the ROM zip via Panera Bread wifi and placing it in my external SD card, I booted into TWRP to attempt to flash it. While trying to flash a ROM, I ran into some problems and was able to successfully restore from the backup I had made. I attempted to flash MeanROM, however, and received a failure message. The zip program was unable to open the file.
After reading up a bit more, I decided to wipe cache, dalvik cache, and perform a factory reset and system wipe. These operations did not enable me to successfully flash my ROM. They did, however, result in corrupting my internal SD card partition, resulting in the loss of my backup. What I mean by this is that there are several messages about "failed to mount /sdcard (Invalid argument)" in the log. The next step was to try to reformat the internal SD card.
I discovered that the busybox install provided did not have the ability to do what I needed, so I went about pushing a newer version onto my phone using adb push. The exact command I ran (copied and pasted from my terminal) was this:
Code:
sudo ./adb-linux push busybox /sbin
This had the unfortunate result of assuming /sbin was the new name of the busybox file on my phone, thus overwriting my /sbin folder with a file. Now, when I try to run adb shell, I get the nasty message
Code:
- exec '/sbin/sh' failed: Permission denied (13) -
So! Does anyone want to undertake the task of trying to help me?
After another Factory Reset and reboot, I was able to get past that last error message and can now adb shell in again. Hopefully I'll just be able to re-download the (or another) ROM and get that flashed.
Aaaaaaaaaaand I just learned about this: Enable WiFi Hotspot and USB / Bluetooth Tethering on the EVO 4G LTE
Note to self, do more reading.
elead1 said:
After another Factory Reset and reboot, I was able to get past that last error message and can now adb shell in again. Hopefully I'll just be able to re-download the (or another) ROM and get that flashed.
Click to expand...
Click to collapse
That would be my suggestion. Make sure to check the md5 on the rom download, especially on questionable wifi networks.
Sent from my EVO LTE
Definitely a bad download. Also, you must be on twrp 2.2.1 to install the latest MeanRom. With the addition of GoogleNow to the rom it has grown to over 600mb and the older versions of twrp seem to fail more often than succeed during install. If you want to use usb tether, you probably should bite the bullet and buy PDAnet. It is by far the best and most reliable method of USB tether. You won't be able to get it in the market though, you will have to get it directly from their website: http://junefabrics.com/android/
I've been using PDAnet for 3 years now and you don't have to be rooted to use it. PDAnet's latest version offers wifi and bluetooth tether now, but unfortunately it doesn't work on HTC phones because it uses FoxFi for its wireless tether which doesn't work on HTC phones.

[Q] My Nabi 2 wifi isnt working please help fellahs!

hey everyone long story short i rooted my tablet a while back and started having problems so i flashed a new rom and the wifi isnt working.
I went to androidfiles.org and clicked nabi 2 and download wifi-fix, ota update and stock zip rom and flashed those three zip files ( i compressed them) in twrp.. its booting up and everything but wifi isnt working. ive read a lot of peeps are having wifi probs. I have a xda link for my exact device and you guys tell me wut the hell im supposed to do. its got all kinds of stock roms and ota updats and stuff,... which one do i use wtf do i do. should i go one at a time from lowest to biggest, do i even need ota updates or w./e that is?!?!?!? please help guys my chirstmas is becoming a nightmare... its my only internet source.. i had to come all the way to the dang library for this crap.. please help!!!!! heres the link that might give u guys an idea on how to help.. heres the stock roms and stuff
http://forum.xda-developers.com/wiki/Fuhu_nabi_2 thank you!!!!!
duuude im baked said:
hey everyone long story short i rooted my tablet a while back and started having problems so i flashed a new rom and the wifi isnt working.
I went to androidfiles.org and clicked nabi 2 and download wifi-fix, ota update and stock zip rom and flashed those three zip files ( i compressed them) in twrp.. its booting up and everything but wifi isnt working. ive read a lot of peeps are having wifi probs. I have a xda link for my exact device and you guys tell me wut the hell im supposed to do. its got all kinds of stock roms and ota updats and stuff,... which one do i use wtf do i do. should i go one at a time from lowest to biggest, do i even need ota updates or w./e that is?!?!?!? please help guys my chirstmas is becoming a nightmare... its my only internet source.. i had to come all the way to the dang library for this crap.. please help!!!!! heres the link that might give u guys an idea on how to help.. heres the stock roms and stuff
http://forum.xda-developers.com/wiki/Fuhu_nabi_2 thank you!!!!!
Click to expand...
Click to collapse
Thought I would share some info I found when I ran into the wifi problem on my daughter's nabi. I did some searches on the internet and the typical answer I found for solving the wifi issue was "reset the device" or "unroot and return to stock rom - flash all updates and reroot". Being a glutton for punishment, and the fact I didn't want to reset the device, I searched and searched and was able to fix my daughter's wifi without doing a reset or unroot/reroot. Before I get into it I wanted to mention that wifi failures can happen for a number of reasons so while this worked for myself, it may not work for you.
Some prerequisites:
Most importantly; you need a rooted device. If you do not have root access you will not be able to write files or access the commands to fix the issue I am about to outline.
Some knowledge of linux would be helpful, but not necessarily required.
Lets get started:
Warning! It goes without saying but I will say it anyways - you can mess up your nabi by rooting it. Some of the commands below could mess up your nabi bad. If this scares you then you probably should not proceed any further. I am not responsible for any damage you do to your nabi.
Commands are listed between ' and ' - do not use the ' when inputing the commands.
Note: The first two/three steps are not necessary but they do give you insight as to how I was able to determine my problem. If following this doesn't fix the problem for you the logcat output may give you some important info that you can google that may help you fix your particular problem.
Note: Steps 5 and on can be skipped if you have a text editor (vi or nano) on your device. If you have a text editor loaded simply edit the conf file directly.
1. You will need to run the command 'adb logcat' in a command-line window and in your appropriate directory. Adb is available as part of the android sdk but can also be found stand alone since most people do not need the sdk.
2. Try to turn on the wifi. You should see the output of your adb logcat window scroll some data. If the wifi is not attempting to turn on at all sometimes you can move between the settings options then go back to the wifi settings and move the slider. If you cannot get your wifi to turn on you can scroll the window up and attmept to find the data from when the device started up. In the output you should see lines that talk about wlan0 and probably something that says "failed" somewhere. In my case I could see where the wlan0 enabled but then a few lines down it said something about "Line: 25 failed" and "failed to parse file".
3. The file is actually a configuration file used by the wifi kernal module/driver. In my case this file had become corrupted.
4. Set adb in root mode (won't work if the device does not have root access) by running 'adb root' at the command-line. You may need to click on an "allow root permission" window on the actual device after running this command.
5. Run 'adb pull /data/misc/wifi/wpa_supplicant.conf' from command-line. If this does not work then do the following:
a. Run 'adb shell' from command line.
b. 'su'
c. 'cat /data/misc/wifi/wpa_supplicant.conf' - copy the output from the command and paste into a text editor (see note in step 6 on why NOT to use notepad).
d. Save the file as wpa_supplicant.conf, preferrably in the same diretory as adb.
e. 'exit' twice should exit you from the adb shell and return you to your command-line. If all else failes a "ctrl-c" should drop you out of adb.
6. Use a text editor to open wpa_supplicant.conf. The file should be located int he same directory as adb. If you are using Windows I would strongly suggest you NOT use notepad. Notepad will typically change all the EOLs (End Of Line) from \n to \r\n which will really mess things up worse.
7. In the file you should see "network={" entries. There maybe one entry, there maybe many entries. You can remove all lines between "network={" and "}" including the latter themselves. If you see your 'home' network listed you can leave it as the only entry and make sure its priority is set to 1 but it maybe better to remove it as well just in case it contains part of the corrupted data.
8. Save the file.
9. Do 'adb push wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf' from command-line. If this does not work then do the following:
a. Run 'adb push wpa_supplicant.conf /sdcard/wpa_supplicant.conf' from command-line.
b. Run 'adb shell'
c. 'su'
d. 'dd if=/sdcard/wpa_supplicant.conf of=/data/misc/wifi/wpa_supplicant.conf'
e. Do 'exit' twice to exit the adb shell. If all else fails then a "ctrl-c" should drop you ot of adb.
10. If the wpa_supplicant file was corrupted then the wifi should now be able to enable and you should now be able to connect to a network.
I hope this is helpful to at least a few people.

Categories

Resources