yashsingh1/xdaforums huggingface dataset:
[Xoom Android Development] tdaliviu:
One of the possible uses of MAC changing is described in the head of this thread. IMHO it's the most useful one. Other purposes may not be so legit, but the author takes no responsibility ;-)
[Xoom Android Development] rockhumper:
Lol I guess I was too dumb to understand what you did in the op, but I will still put this on my sd card just in case I find a use or need it
[Xoom Android Development] tdaliviu:
Purpose for MAC change

Maybe I did explain myself in a little too a technical language :) The basic idea is that if you have a wireless access point (i.e. a router) that accepts only one of your devices (i.e. your notebook), but does not accept your Xoom, you can try and change the Xoom's MAC address to mimic the notebook. The only thing to remember is that you can not use two devices with the same MAC on a network at once. If you follow that rule, you're golden.

P.S. Ah, and forgot to mention that this update will not work on the 3.2.2 for 4G Xooms.
[Xoom Android Development] Krpto1973:
tdaliviu,

Question for you. Since I applied this update I have noticed that my "WiFi Disconnect Policy" keeps reverting back to "When Screen Turns Off" no matter what I change it to.

I am not saying this patch is the cause, but what do you think are the possibilities? Again, I love the capability, and will live with the issue even it turns out to because of this patch, but I just wanted to check your thoughts on it, or see if you thought it might be something to do with the Tiamat ROM.

Thanks for looking at this.

UPDATE: Well I may have gfinally gotten the disconnect settings to stick. Instead of just changing it, letting it sit and coming back later to find out that it didn't, I changed it to the setting I wanted, then immediatley rebooted. Now it seems to be holding the setting. I will let go for a while and see what it does. Will provide an update either way. Thanks again.
[Xoom Android Development] Krpto1973:
For those wondering what this MOD might be good for, there are multiple things. Some ethical and some not so ethical. For instance, as "tdaliviu" mention, if you are trying to simply get around a MAC address problem, you might need to change it. If you were into hacking/cracking or just sniffing around wireless nets that weren’t yours and you didn't want to be discovered or tracked via your MAC. If you just want anonymity. I like it from this standpoint and that of security.

For instance, assume you are sitting in an Airport with your Xoom WiFi up and running, and someone is scanning the airwaves for likely targets to hack. If they seem your MAC address, they will know you are coming from a Motorola device, and might even be able to tell it is a Xoom. If there are any known security flaws, they automatically know which exploits to use against you to gain access. Just being a Xoom might make you a more attractive target. Who knows. But, if you can change your MAC address so that it appears as belonging to a different kind of system, say a "network device" like a wireless repeater, wireless AP, or some other boring target then not only would the attacker not know what exploits to run, but they would most likely just leave you alone without any further investigation or possible portscans.

And of course if you want real anonymity, you might consider changing the name your Xoom provides to DHCP servers when requesting an IP Address. Right now it uses "android_xxxxxxxxxx" with the x's being some number that is specific to your Xoom. I believe that could be used to track back your identity as well. I found several threads and ideas on how to do this. I used the one at http://xdaforums.com/showthread.php?t=760314.

Anyway, thanks again for the MOD!
[Xoom Android Development] tdaliviu:
Quite a strange issue there, Krpto1973. At a loss to what might be the problem. I myself am running Moray, so will do some testing...
[Xoom Android Development] Krpto1973:
Well like I said, I may have gotten it taken care of. It's been holding steady since I set it and immedialty rebooted. It probably had nothing at all to do with your MOD. If anything changes I will let you know.
[Xoom Android Development] Krpto1973:
Guess I spoke too soon. After it sat idle for quite a couple hours, I came back and found it with "No Internet Connection". Once it fully woke up(just a second or so) it immedialty reconnected but when I checked the WiFi Disconnect Policy settings, it was back at "When Screen Turns Off".

Any thoughts?
[Xoom Android Development] tdaliviu:
Sorry, tested on my side. No such problem... Did you do a wipe when you switched to Tiamat's ROM? Maybe there are some leftovers from Stock? I am almost outruling a module problem since it's compiled from Tiamat's source using Tiamat's config.
[Xoom Android Development] willverduzco:
Fantastically stated there, sir. I wasn't aware of the DHCP request issue. You've successfully made me that much more paranoid. :)
[Xoom Android Development] willverduzco:
Hmm this mod doesn't seem to work on 3.2.1 (breaks wifi functionality). Planning on updating by any chance?
[Xoom Android Development] tdaliviu:
Sorry, but I'm on Tiamat's Moray ROM right now, which is based on the 3.2 kernel. I certainly plan on an update when Tiamat releases a ROM based off 3.2.1 (or 3.2.2 for that matter).
[Xoom Android Development] bigrushdog:
If you attach a patch ill add it to the repo and give you bunches of credits :D
[Xoom Android Development] tdaliviu:
Oh, didn't quite expect such a turn of events :-) One patch coming up...
[Xoom Android Development] tdaliviu:
mac_change_mod patch

Here's the patch. It's quite obvious, though took some time to figure it out. It's against the stock Makefile, but as I understood, there were no changes to the WiFi module from Team Tiamat.

Is it going to make it to a future release of Tiamat ROM/Kernel or will it live only as a patch file in the repo?

--- /home/liviu/Desktop/Xoom/Makefile	2011-08-03 09:27:45.000000000 +0300
+++ /home/liviu/Desktop/Xoom/stock/drivers/net/wireless/bcm4329/Makefile	2011-08-01 21:27:35.395212384 +0300
@@ -6,7 +6,7 @@
-Wall -Wstrict-prototypes -Werror -DOOB_INTR_ONLY -DCUSTOMER_HW2 \
-DDHD_USE_STATIC_BUF -DMMC_SDIO_ABORT -DDHD_DEBUG_TRAP -DSOFTAP \
-DEMBEDDED_PLATFORM -DARP_OFFLOAD_SUPPORT -DPKT_FILTER_SUPPORT \
-	-DGET_CUSTOM_MAC_ENABLE -DSET_RANDOM_MAC_SOFTAP -DCSCAN -DHW_OOB \
+	-DSET_RANDOM_MAC_SOFTAP -DCSCAN -DHW_OOB \
-DKEEP_ALIVE -DPNO_SUPPORT \
-Idrivers/net/wireless/bcm4329 -Idrivers/net/wireless/bcm4329/include
[Xoom Android Development] bigrushdog:
Sweet. Cooking and testing. I don't see why this cant make a release. We gotta play with it a bit, but I like this mod. Goes nice with the BT5 concept too :D
[Xoom Android Development] tdaliviu:
mac_change_mod patch

Yeah, the BT5 is a winnar. Wish I had an Alfa adapter :) Maybe, someday...
[Xoom Android Development] bigrushdog:
Got it up and running. Also got a nice script that will randomize mac, restore stock Mac, or output stock and current. I'm cleaning up script for user set Mac as well. Just gotta tighten up error checking. This will be included in my Power User BT5 Compatibility Pack when the rom update drops. Also solarnz made a new kernel configuration for it in bcm4329 settings to enable or disable.
[Xoom Android Development] tdaliviu:
Ok, great news :-) Will the randomize MAC script randomize the manufacturer part for a plausible MAC or will it be a totally random MAC address? Also, how are you getting the original MAC? I thought it can only be seen with the original driver. Just curious :-)
[Xoom Android Development] bigrushdog:
#!system/bin/sh
#
#MAC changer -- will randomize MAC and make a backup of stock just in case
#
#
FLAG="$1"
CALPATH=/system/etc/wifi/bcm4329.cal
BINPATH=/pds/wifi/wlan_mac.bin
RNDMAC=-1
OUI_ALLOW=( 0 4 8 c )
RND_OUI=-1
MAC=-1

test=$(lsmod | grep -o bcm4329)
if [ "$test" == "bcm4329" ]; then
echo "Please disable wifi first and wait 10 seconds" >&2
exit 1
fi

#get stock MAC from hardware dump and parse for use
stock ()
{
tmp=`hexdump $BINPATH | grep " .... " | cut -d' ' -f2- | sed 's/ //g' `
STOCK_MAC=${tmp: 0:2}":"${tmp: 2:2}":"${tmp: 4:2}":"${tmp: 6:2}":"${tmp: 8:2}":"${tmp: 10:2}
}

#get current MAC from nvflash module file
bcmcal ()
{
tmp2=`cat $CALPATH | grep macaddr`
CURRENT_MAC=${tmp2: 8}
}

bcmcal
OG_CURRENT=$CURRENT_MAC

writemac ()
{
writemac="$1"
bcmcal
tmp_curr=$CURRENT_MAC
sysrw
sed -i 's/'$tmp_curr'/'$writemac'/g' "$CALPATH"
}

roui ()
{
n=$RANDOM
tmp=$(( n %= 4 ))
RND_OUI=${OUI_ALLOW[$tmp]}
}

rmac ()
{
n=$RANDOM
tmp=$(( n %= 16 ))
if [ $tmp -eq 10 ]; then
MAC=a
elif [ $tmp -eq 11 ]; then
MAC=b
elif [ $tmp -eq 12 ]; then
MAC=c
elif [ $tmp -eq 13 ]; then
MAC=d
elif [ $tmp -eq 14 ]; then
MAC=e
elif [ $tmp -eq 15 ]; then
MAC=f
else
MAC=$tmp
fi
}

genmac ()
{
rmac
m1=$MAC
roui
m2=$RND_OUI
rmac
m3=$MAC
rmac
m4=$MAC
rmac
m5=$MAC
rmac
m6=$MAC
rmac
m7=$MAC
rmac
m8=$MAC
rmac
m9=$MAC
rmac
m10=$MAC
rmac
m11=$MAC
rmac
m12=$MAC
RNDMAC=$m1$m2":"$m3$m4":"$m5$m6":"$m7$m8":"$m9$m10":"$m11$m12
}

if [ "$FLAG" == "-r" ]; then
stock
bcmcal
echo "Your stock MAC is: $STOCK_MAC"
echo "Your current MAC is: $OG_CURRENT"
echo Restoring stock MAC...
writemac $STOCK_MAC
bcmcal
echo Confirming stock MAC restore...
echo "BCM4329 hardware dump MAC: $STOCK_MAC"
echo "Nvram file MAC: $CURRENT_MAC"
if [ "$STOCK_MAC" == "$CURRENT_MAC" ]; then
echo The two MAC match, restore confirmed
exit 0
else
echo Stock MAC restore failed. Try again >&2
exit 1
fi
elif [ "$FLAG" == "-s" ]; then
stock
bcmcal
echo "Your stock MAC is: $STOCK_MAC"
echo "Your current MAC is: $OG_CURRENT"
else
stock
bcmcal
echo "Your stock MAC is: $STOCK_MAC"
echo "Your current MAC is: $OG_CURRENT"
echo Writing random MAC...
genmac
writemac $RNDMAC
bcmcal
echo Your new MAC is $CURRENT_MAC
echo Enable Wifi and run netcfg to confirm new MAC
exit 0
fi
[Xoom Android Development] tdaliviu:
An intriguing script you got there.... I got it how you're getting the stock MAC (of course root is required), but as about the OUI, I didn't quite understand why you're randomizing everything except the LS nibble of the OUI MSB. I thought MAC-48 defines the first 3 bytes as OUI... Sorry to distract, but curiosity is such a worm ;-)
[Xoom Android Development] bigrushdog:
I just released the Power Pack, and the release script is a bit cleaner. Sounds to me you are more of an expert on these matters than I am. I found that simple keeping that second byte at 0, 4, 8, and c kept the mac compliant with being able to connect to routers. If the standard the script uses needs further modification, please don't hesitate to grab it and post up a fix.
[Xoom Android Development] tdaliviu:
Plausible MAC generation

Hi, BRD. I just made a cross of publicly available OUIs at http://standards.ieee.org/develop/regauth/oui/oui.txt with a list of Ubuntu supported wireless NICs' manufacturers at https://help.ubuntu.com/community/WifiDocs/WirelessCardsSupported#By_Manufacturer and here's the crude result (http://pastebin.com/cNbMHvz2). IMHO, for the MAC to be plausible (i.e. mimic a real world wireless device), the first 3 bytes should be taken at random from this list, anything else could be random. What are your thoughts on this?
[Xoom Android Development] bigrushdog:
ya I think i can work with that. let's see what can whip up.
[Xoom Android Development] tdaliviu:
New version added

Hi,

Just added a new module for the Tiamat 2.2.0 Odachi kernel. Here's the patch which should be applied to the '.config' file. In other words, when configuring your kernel, you should set the 'CONFIG_BCM4329_DYNAMIC_MAC' to 'yes'.

--- .config	2011-11-28 13:49:24.765649058 +0200
+++ config	2011-11-12 22:26:48.000000000 +0200
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.36.4
-# Mon Nov 28 13:49:24 2011
+# Sat Nov 12 17:09:43 2011
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -1078,7 +1078,7 @@
CONFIG_BCM4329=m
CONFIG_BCM4329_FW_PATH="/vendor/firmware/fw_bcm4329.bin"
CONFIG_BCM4329_NVRAM_PATH="/system/etc/wifi/bcm4329.cal"
-CONFIG_BCM4329_DYNAMIC_MAC=y
+# CONFIG_BCM4329_DYNAMIC_MAC is not set
# CONFIG_HOSTAP is not set

#
[Xoom Android Development] flyer05:
Awesome any chance for 4g zip running stock root with rogue 1.4.3
[Xoom Android Development] tdaliviu:
flyer05, I'm afraid if I don't own one of these (a 4G that is) soon (and the chances are far too slim), I'd be forced to concentrate on WiFi only. Plus Tiamat is my kernel of choice.
[Xoom Android Development] bigrushdog:
Hey guys just a quick update here

Tiamat Odachi Backtrack 5 Edition

This has the mac patch as well as all the backtrack dongle drivers. I just got my xoom back from getting LTE upgrade and have been working heavily with Solarnz on ICS. so i havent had a chance to test all the backtrack drivers but 4g works fine.
[Xoom Android Development] solarnz:
Looks like you have done the diff around the wrong way. You should be enabling the dynamic mac address option, not disabling it.
[Xoom Android Development] eureka9092000:
Can you make a kernel for 3g version.I'm using MZ601..This really helpful for me since my wifi college just let student register for one device only..
[Xoom Android Development] iruiz2:
Hi @bigrushdog, I've been reading this thread and looking in the developer's expansion pack of yours (#4) but I wasn't able to find your mac randomizer script anywhere... is it included in it or some compiling has to be done for it?

I would greatly appreciate your help on this, either by telling me where to find it or by pointing to me how I could do it...

EDIT: I downloaded your mac randomizer/changer script and run it to see if it could work on team eos #92 + dev_overlay_4, but no luck. The output looks fine and the bcm4329.cal file is changed to the output value of the script, but ifconfig or netcfg give the old mac address (which by the way are different from the script's output "stock" mac. Any ideas?
[Xoom Android Development] bigrushdog:
Yep different driver, different method, which off the top of my head, I don't know what that method is :D . But I think this time around, I can do a native solution.
[Xoom Android Development] iruiz2:
Let me know if I can do something to help... :thumbup:
[Xoom Android Development] iruiz2:
Hi bigrushdog, I managed to change the mac address of my desire using the kernel in http://xdaforums.com/showthread.php?t=1525230, maybe something similar could be accomplished for the Xoom under Team EOS nightlies? It would be great!

Thanks for all your efforts... the xoom wouldn't be so great without you guys!
[Xoom Android Development] erfannf2:
Hi. Do you have any idea about Droid 4 with rooted stock 4.1 ROM? iplink set wlan0 does not respond properly to change the MAC. It says: "dev" is already exists or xx:xx:xx:xx is garbage!
[Atrix 4G Q&A, Help & Troubleshooting] nicnic360:
So I unlock my atrix (at&t) bootloader and added gingerbread with rsd lite 4.5.91. But when I flash a rom etc Cherry pie or Alien I dont get all of the features and i lose my root and have to root the phone again. Themes seem to work if i flash them a couple of time but I dont Know what to do to get the roms working right. Please help.
[Atrix 4G Q&A, Help & Troubleshooting] shadowskorch:
Most likely a bad download since the alien rom and cherry pie already have root built in. Or the recovery could be bad and just update to the latest version.
[Atrix 4G Q&A, Help & Troubleshooting] damonsmith666:
Are you wiping the device before the flash?
[G Tablet Q&A, Help & Troubleshooting] mikebanno:
hey all

is it possible to install windows 7 onto a viewsonic g tablet

i have a windows 7 bootable key just unsure how to get the device to boot from it

if this is not possible and linux based os's able to be installed.

thanks
[G Tablet Q&A, Help & Troubleshooting] aabbondanza:
ARM based processors (which the tegra 2 is) are not supported yet (Win7).

You'll have to wait for Windows 8 for that...then we'll have to see!!

I think Viewsonic's dual boot Windows7/Android tab uses an Intel Atom processor.
[G Tablet Q&A, Help & Troubleshooting] mikebanno:
so is it possible to boot from a usb key though?
[G Tablet Q&A, Help & Troubleshooting] DKS1282:
Sure its possible. But I highly doubt you or anyone here is going to undertake the task of modifying windows in order to work properly the ARM processor on the Gtab
[G Tablet Q&A, Help & Troubleshooting] aabbondanza:
At this point no.

Win7 code is not ARM compatible. Intel & ARM based processors use different code. That's why the Viewsonic dual boot tab uses an Intel Atom instead of a Tegra.

Even when Win8 is out, somone would have to develop the dual boot capable bootloader to select between the 2 OS's.

I wouldn't hold my breath waiting for this to happen in the near future (if ever)!!!! By the time this is even a possibility most will have moved on to the latest/greatest device out. Can't wait for the quad-core Tegra devices which probably would be much more capable of running Win8 than the current Tegra2s.
[G Tablet Q&A, Help & Troubleshooting] mic31:
I think that "we have a dream!!" VS is pushing away the new customers from gtablet, so after a few weeks the most developers will support someone other tablet. AND there are a lot of them!!
[G Tablet Q&A, Help & Troubleshooting] EL TEJANO:
Windows 7 is a no go, but I was able to install WinCe on a cheapy Chinese Android tablet I previously had, not to sure if that can be done on the G-Tab.
[Motorola Photon 4G] kkwus74:
How do i get stuff to save to sd instead of internal memory? I see in root explorer /sdcard and /sdcard-ext which is my my sdcard.
[Motorola Photon 4G] fatcobra:
It will ask you where you want to to save files to. Try going into the file manager.
[Motorola Photon 4G] kiwiBeans:
I know what you mean - I don't see a way to do this by default across the board. Some apps let you choose the backup location and you'd have to type in the path you wrote above. Other than that, aside from some of the stock Moto apps that let you specify saving to the "SD Card" - which is actually the card, other apps will only identify the internal memory thinking it is the "SD Card".

I don't like how Moto made the internal memory identify itself as the SD Card.
[Motorola Photon 4G] kkwus74:
Precisely what i mean. :-) thanks.... Hmmm.... Kinda crappy that you can't change in most apps to automatically save to sd card. Kinda defeats the purpose of one.
[Motorola Photon 4G] kawaski47:
Wait a sec... Sdcard-ext is the actual sd card? And the regular sdcard is the internal storage? Oooohh that explains alot then. I was so confused about that. For some reason I though the phone was partitioning the sd card into two... Woops lol
[Vibrant Accessories] gamikzone:
my battery is dated at june 30 2010 is it time to get a new one? i have decent battery life but it used to be even better
[Vibrant Accessories] kaintfm:
The time for a new battery is when the battery is dead. Any other time is personal preference.
[Vibrant Accessories] rakeshchn:
Doesn't matter when the battery was manufactured. It depends how many full charge cycles you went through.
[Vibrant Accessories] Trbobuick:
Not true. Lithium-ion batteries start corroding the moment they are manufactured. 2 -3 years is the max on one.
[Vibrant Accessories] ferhanmm:
The old battery I had only lasts 6 hours so i got a new one and it's much better.
[Vibrant Accessories] gamikzone:
mine would barley get 16 hours with light usage so that isnt too bad but i could probably get better with a new one
[Vibrant Accessories] nevrlow:
i got a new battery for my vibrant yesterday and it wont charge past 80 percent. however it sits at 80 for a whille then starts to drain normally.
[Vibrant Accessories] gamikzone:
it probably doesnt say it charges to 100 heck when i fully charge my phone and reboot its somewhere in the mid 90's
[Vibrant Accessories] pspram:
Thank you very much for the battery info
[Vibrant Accessories] Daniel Dourado:
Nice info. Thank you
[Vibrant Accessories] Xenoism:
If you want 100% you need to shut off the phone when it stops charging, when its off plug it in until it says 100% then pull the battery and pop it back in and charge again until it gets 100% rinse and repeat this 10 times or so, and reboot...your charge should have gone past 80% - you can do this until you hit 100% but its not really all that important unless you're trying to calibrate and get a proper 100%
[Vibrant Accessories] nerve101:
Thanks for the great info "dseldown" I really have to stop charging my phone over night i just have been getting lazy over the months.
[T-Mobile myTouch 4G Slide] Akujin:
I'm looking for something that emulates touch pad and keyboard but that doesn't require a java runtime on the machine being controlled.

Java is banned from my computer and especially from my media center.

Can someone make a recommendation if this exists?
[T-Mobile myTouch 4G Slide] piligrimm:
If it would be possible, it would be the much more ability for a hacking. So, for security reason it's not possible. I develop the android app for remote control windows pc and investigate any ability to do this — it's not possible. :(
[T-Mobile myTouch 4G Slide] Akujin:
That's what passwords are for.
[Galaxy S II Q&A, Help & Troubleshooting] benjih:
Hi i have a problem with my lovely SGSII

i cant wipe dalvik cache its saying: E: unknown volume for path [/sd-ext]

How to fix?
[Galaxy S II Q&A, Help & Troubleshooting] rwj5279955:
Just hit yes anyway.
[Galaxy S II Q&A, Help & Troubleshooting] benjih:
No where to press yes, this is not a problem? with E: unknown volume for path [/sd-ext]
[Galaxy S II Q&A, Help & Troubleshooting] rwj5279955:
Are you pressing the home button? I have the same error which I think is related to external sd, which means nothing? But I hit yes and it wipes anyway. When it's done wiping, the error is still on the recovery screen but underneath it says wiped.
[Galaxy S II Q&A, Help & Troubleshooting] benjih:
Then it not i problem with my device:) all i wanted to know:D Thanks
[T-Mobile LG G2x] touge_ninja:
Ok so even before GB my phone would lockup and forces me to do a restart just to get it working, and now even after the update that still happens. Am I the only one who is having that problem?
[T-Mobile LG G2x] mariuscm:
Mine is doing the same things but even more than before GB. It doesn't reboot randomly but it lags (in the browser and sometimes when using the keyboard - I use SwiftKey) and freezes a lot to the point of me having to remove the battery.

I'm new to Android but I think I'm ready to get a custom rom on this. Any advice?
[T-Mobile LG G2x] msmahfuz:
after the GB updates, mine is behaving not that different. It now restarts itself when i plug it in for charging and plug out from charging. Anyone having this kind of problem?

Tmobile tech team is now not doing the exchange any more, instead they are telling me to go to nearest store to investigate the problem.....looks like i'm stuck with this device......

with the GB update, the battery looks good. It does not drain out like it used to be before.
[T-Mobile LG G2x] touge_ninja:
Yeah its really getting on my nerves. lastnight it locked up so much i just switched it off and went on my iphone. i might call customer care and get a replacement and see if that works better.
[T-Mobile LG G2x] Spunix:
Any of you try and to a factory reset?

I've been running since the day of the release and the phone locked up only once while left on the dash and got extremely warm.

Every issue I've had has been fixed, the phone runs unbelievably well for me.
[T-Mobile LG G2x] touge_ninja:
yea i factory reset and it still happens. only thing i cant complain on is improved battery life, but what good is that when my POS phone locks up lol.
[T-Mobile LG G2x] FatalityBoyZahy:
The lockups are a hardware issue. It still exists even on different Kernels. Just request a replacement.
[T-Mobile LG G2x] unique77:
I've had lock ups before. Flash cwm and start trying some roms. I no longer have any problems and there are really some great roms out for this phone. Just make sure to wipe everything and backup each time to be safe. There's no reason not to try them, much of then are far better performance wise than stock.
[T-Mobile LG G2x] Horsey:
What rom are you running? I had lockups with the cm7 nightly and eaglesblood (even more than stock).