[Q] How to change MAC address on CM7 barebone ? - Kindle Fire General

I installed "[ROM] CM7 Barebones 03-12-2012" on my kindle fire on 03-14
and it have been working great.
It can play 1080p youtube movie very smoothly.
But there is one problem for me.
I tried MAC address change described in
http://forum.xda-developers.com/showthread.php?t=1406845
but I could not change MAC address on CM7 barebone.
I could change MAC address on MIUI by the same method.
So I cannot install the great CM7 barebone on my second kindle fire
used in same subnet.
I will appreciate if anyone answer how to change the MAC address
on CM7 barebone 03-12-2012.
Best regards

would try to use the method at post #25 of the thread you linked to
the attched file in post #26 should work for your needs ...

Thanks and one more question
Dear b63
Thank you very much for your answer.
I'm going to try #25 method in the same thread.
Can I ask another question if possible ?
How can I see the contents of the file "system.ext4.win" saved by TWRP ?
Is there an easy method to see them on Windows PC without restoring the file
into kindle fire again ?
#### self answer ####
A ~~~~.win file is either .tar or .tgz depending on the compression selected at saving.
Now I can see the contents.
I'm sorry for my question easily solved by the article search.

glad to help ...
please mark the subject of the topic (edit first post) with [Solved]

Related

[Q] Anyway to get new Kernel with different MAC Address?

Can anyone help compile a new kernal to read the MAC address from the startup.txt or have a different value then 00:11:22:33:44:55? Or am I oversimplifying the issue... I have 3 HD2 for each of my family member and loaded Android onto them. However only 1 device can access the wifi at a time due to having the same MAC address. I have been trying for the past few days to learn git to download the source and compile the kernel but I was using windows and MAKE doesn't like windows too much. Any help would be appreciative, thank you.
This sounds like a great question. Does it occur on diff builds?
Sent from my HTC Desire using XDA App
Yes, this occur on different builds. One is FroyoStone and the others are on darkstone v2.1.
i have it on mattc sense and i cant use wifi at school
There must be members who can point out the right direction to solve this very legitimate question. I'd like to know.
edit
Adding
Code:
set cmdline "WiFi.mac=XX:XX:XX:XX:XX:XX"
to startup.txt (where XX:XX:XX:XX:XX:XX is your own MAC found in WM) didn't make any impact, but I guest the OP already found that out.
/edit
it can be done, really easy actually..
in the script that turns on the wifi. all you have to do is before the wifi is turned on set the mac by ifconfig..
checking out the init.rc file i saw this
# wireless properties
setprop wifi.interface eth0
you might try to add under this
ifconfig eth0 down hw ether 00:00:00:00:00:01
then reboot..
i would do it but i dont have time for testing right now.. it might crash your phone
Edit, these files are located in the roofs.img
you have to mount it with linux to edit it.
Holy Thread Revival Batman!
Did you guys have any luck on working out how to change the MAC address? It would be fantastic to get it my real MAC back.

[Q] Error code-36 (Can't transfer files) (SuperAOSP Rom)

I have a Nexus One with AT&T and I have SuperAOSP 2.8.4 Rom on it,
2.6.35.10-superaosp-HAVS #36 - Kernel
and when I try to transfer a file to it through USB I get error code-36 on a Mac OSX 10.6.7. I have the SD Card partitioned for the Apps2ext (It's built into the Rom) How can I fix this?
BTW, I would ask the question in the SuperAOSP thread but I don't have enough posts and I'm not about to make random posts to get 10. I've had this account for a while just never posted anything.
Can MOD move this thread to the Q & A section of Nexus One? I didn't notice I couldn't post questions in this thread, thanks in advance.

CIFS Support With Rooted Stock?

Hello all,
I have hardly posted on this forum because I usually don't need to. My answers are usually answered in some thread or another. I have been lurking for a couple of years now. Thanks to all the XDA users who help out.
I am perfectly satisfied with the Nexus 7 completely stock, with one exception: I want to access windows and linux/samba shares from the tablet over Wifi. I do not want to install a custom ROM to do this. I saw a thread or two that mentioned this briefly, saying there was a kernel that does this, but mostly it is all vague. I found one kernel in the development forum that provides CIFS, but I do not know if that will work with the stock rom if I were to flash it.
Would someone please help me understand this? All I want is to use files on my other computers.
Thanks in advance!
-David
You can access files on a network with ES file explorer.
Sent from my Nexus 7 using XDA Premium HD app
If you want to mount the CIFs shares as local directories then you need to be rooted and the stock ROM will need some additional kernel modules. You don't need a custom ROM in that respect, but you do need to root the device. Cifs Manager, which only works as root anyway, will allow you to load the modules and then manage the mounting/unmounting of the shares.
There's the N7 specific modules in qwerp_'s thread here: http://forum.xda-developers.com/showthread.php?t=1781411. The 10th post of that thread tells you how to add those modules.
There's a Cifs Manager thread here: http://forum.xda-developers.com/showthread.php?t=756158 which details some common problems and set up tips.
thankyousam said:
If you want to mount the CIFs shares as local directories then you need to be rooted and the stock ROM will need some additional kernel modules. You don't need a custom ROM in that respect, but you do need to root the device. Cifs Manager, which only works as root anyway, will allow you to load the modules and then manage the mounting/unmounting of the shares.
There's the N7 specific modules in qwerp_'s thread here: http://forum.xda-developers.com/showthread.php?t=1781411. The 10th post of that thread tells you how to add those modules.
There's a Cifs Manager thread here: http://forum.xda-developers.com/showthread.php?t=756158 which details some common problems and set up tips.
Click to expand...
Click to collapse
Thanks Thankyousam! A little redundant, but thank you. I'll try this out tonight and report back how it went. I appreciate your thoroughness!
-Dave
COMPLETE
hesperaux said:
Thanks Thankyousam! A little redundant, but thank you. I'll try this out tonight and report back how it went. I appreciate your thoroughness!
-Dave
Click to expand...
Click to collapse
Just so everyone knows, I got this to work flawlessly , but I had to go through hell to make sharing on Windows 7 work properly . I'm going to document that here for everyone's benefit.
Before I start, the end result was watching VOB format movies over wifi for 2+ hours with no issues at all. Very pleased with this. You can't do this with a basic SMB browser (because it has to download the file before viewing it).
I followed a lot of tutorials online after my initial attempts at sharing over the network failed. I wanted to do this WITHOUT a HomeGroup and WITH USER SECURITY ENABLED. I didn't want to share everything to Everyone like most tutorials suggest.
It turned out that sharing worked fine, with or without HomeGroup enabled, but only with other Windows 7 machines. This is because Microsoft hates my life and because it doesn't support "legacy" devices by default. The coolest part about all of this is that there is no way to fix this except by editing the registry directly. I will paste the registry fix into this post and also link to the source (Microsoft) just in case the link goes down.
Open: regedit.exe as Administrator
Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
Create: DWORD (32-bit), called "AllowLegacySrvCall"
Set: AllowLegacySrvCall = 1 (binary, hex, or octal, doesn't matter if it's value is 1)
(I am a new user and cannot post links...)
support.microsoft.com/kb/957441
Another important thing: in the Network and Sharing Center, you'll need to edit advanced sharing options and enable 48- and 56-bit encryption support for older protocols (Don't use the 128-bit encryption because it probably won't work with most other devices, like the tablet).
Lastly, in your CIFS mount options (in CIFSManager this is the last input box in the settings) you may need to add domain=WORKGROUP,sec=ntlmv2
This is because the username it logs in with may or may not need to be specified according to the workgroup you are in (or domain, if applicable). The security option tells CIFS.ko to use one of the more recent authentication protocols that Windows 7 requires by default. You can change this default setting in Windows 7, but I think it is better to use the updated authentication method from Android since it appears to be supported.
Hope that helps anyone who is raging about this. I know I did.
If I think of anything else that's important, I will try to update this post. If anyone has any questions about getting this to work, let me know!
Thanks again to all who helped me figure this out. CIFS is wonderful!
-Dave

[Q] Nook Color BRNV200 just rooted and and wifi error???

So I just rooted my Nook Color BNRV200 which was easy done following the instruction on this thread
http://forum.xda-developers.com/showthread.php?t=1494901
Only problem I am having is I get an error when I try to turn on the wifi and there is not a Wifi MAC address? I read over everything again to make sure I didn't do anything wrong.. how can I fix this???
Please help
Thanks in advance
no replies? Please help!
TheInfamous1 said:
So I just rooted my Nook Color BNRV200 which was easy done following the instruction on this thread
http://forum.xda-developers.com/showthread.php?t=1494901
Only problem I am having is I get an error when I try to turn on the wifi and there is not a Wifi MAC address? I read over everything again to make sure I didn't do anything wrong.. how can I fix this???
Please help
Thanks in advance
Click to expand...
Click to collapse
The wifi MAC Address is read in a file stored on partition 2. I'm not sure that is the source of your problem though since the nook usually generates a fake one if it can't find that one. One thing to try is to flash my romrestore zip in my NC Tips thread linked in my signature. It restores partition 2 from a backup in partition 3. I don't know if this will make any difference or not.
Sent from my Nook HD+ running CM10 on Hybrid SD
leapinlar said:
The wifi MAC Address is read in a file stored on partition 2. I'm not sure that is the source of your problem though since the nook usually generates a fake one if it can't find that one. One thing to try is to flash my romrestore zip in my NC Tips thread linked in my signature. It restores partition 2 from a backup in partition 3. I don't know if this will make any difference or not.
Sent from my Nook HD+ running CM10 on Hybrid SD
Click to expand...
Click to collapse
Problem is fixed! thanks!!

[Q] [P705] MAC address issue on Slim Bean 4.1.2 Build 3

Hi there,
First of all, this is my first thread and before asking for anything I want to thank every contributors to this forum as this forum has been really helpful to find out how to root my phone, install CWM and a custom ROM and fix some minor issues!
I have an Australian LG Optimus L7 P705. I was on ICS and wanted to upgrade to JB (stock update not available in Australia)
I installed Slim Bean 4.1.2 Build 3 a few weeks back on my phone which is awesome!
A few days back, I have done the same on my partner's P705. The ROM is working fine too.
But since, we both have Slim Bean installed on our phones, well I realised the ROM changed our MAC address to exactly the same.
As a result, we can't be connected to the house Wifi at the same time which is really annoying as we live together...
I have tried to create 2 separate networks and to use MAC Address spoofer but nothing worked.
Have I done something wrong when flashing Slim Bean or is just normal for a custom ROM to give the same MAC address to all of its users?
Is there any way we could still use the same ROM and get our original MAC Address back?
If there are no solutions, what custom ROM on JB 4.1.2 would you recommend as an alternative (I'm happy to change ROM if needed if I get the same speed and reliability as SlimBean) so we'd be on a different ROM from each other until we get a stable and fully functional version of JB 4.3?
Thank you to anyone who can help or try to help!
Anyone with a solution please?
I edited my first post so the problem is better described.
Thanks!
Hi Everyone,
I found the solution by myself so I will share it in case other people are in the same situation as me.
The Wifi MAC Address on LG P700/705 using Slim Bean (maybe the same on other ROM, please test) is located in:
/system/etc/firmware/wlan/volans/WCN1314_qcom_cfg.ini
You will need to change the MAC address in this file with the text editor from any root explorer app.
To be able to write on the /system folder, I simply used "mount /system (rw / ro)" app from Google Play: https://play.google.com/store/apps/details?id=com.beansoft.mount_system&hl=en
Just press Mount r/w and it will work (no need to get any terminal emulator or adb shell I couldn't understand myself, you will still need to be rooted and grant superuser to the app of course)
Modify the MAC address in the file above to the MAC address of your choice (there are four different line with MAC addresses, I have put the same number in all of them)
Save the file
Restart your Wifi on your phone
You will have the MAC address you specified as your new MAC address.
I tried restarting Wifi and phone a few times and it seems to be a permanent fix.
PS: If I were you, I would still press "Mount r/o" on the mounting app after changing the MAC address to put the /system folder back into "read-only" just as a safety thing.
I hope I helped someone!

Categories

Resources