[Q] Mac changer - Galaxy Note GT-N7000 General

Hi, is there any script or utility for Mac changing.

And why would you even do that?
Sent from my GT-N7000 using xda app-developers app

You need to have root.
1. Install busybox and any terminal app
2. Open terminal and put this code in:
Code:
:su :busybox iplink show eth0
You should get your address shown on the screen. If so, go ahead:
Code:
:busybox ifconfig eth0 hw ether [your desired MAC address]
Use the first command again if you want to check if everything went right.

Akiainavas said:
Code:
:su :busybox iplink show eth0
You should get your address shown on the screen. If so, go ahead:
Click to expand...
Click to collapse
iplink: applet not found
praetorius said:
And why would you even do that?
Click to expand...
Click to collapse
And why would you even don't do that?

Related

Root Level Functionality w/o Root?

Hi all,
I want to use some command line tools such as ping, ifconfig, etc on my Xoom wifi-unrooted. I found a terminal app in the market, but as it should, I'm denied access for a number of the tools. I've looked for a sudo file in which I can put my credentials but can't find it. I'm not sure OS would allow me to edit the file if I did.
Any ideas?
JA in KY
Sent from my Xoom using Tapatalk
adamsjw2 said:
Hi all,
I want to use some command line tools such as ping, ifconfig, etc on my Xoom wifi-unrooted. I found a terminal app in the market, but as it should, I'm denied access for a number of the tools. I've looked for a sudo file in which I can put my credentials but can't find it. I'm not sure OS would allow me to edit the file if I did.
Any ideas?
JA in KY
Sent from my Xoom using Tapatalk
Click to expand...
Click to collapse
You will have to root to do what you want.
Sent From My Evo

USB tether app or script development

Hi all devs, me and pradobly not only me need a simple app or script todo 3 line commends
Su
Dhcpcd Usb1
Setprop net.dns1 8.8.8.8
I was make script with script manager but is not work for some reason. When i type in terminal works fine every time.
If it will be easier to write app Maybe on settings button add dns witch we can change and usb port aslo
Other case can u give me source code for script so i will know what am doing wrong
Thx Greetings and happy new year
Sent from my A500 using xda premium

[Q] Can anyone explain me the name of kernels?

I just made up a kernel from source and its name is:
2.6.35.7
[email protected]
What is "adminuser"?
Whats this thing "se-virtualboximagescom-"?
How to change them?
I dont know abt this but want to know the answer....
admin user is ur username of os...
and
se-vbox****** is ur hostname
_______________________________________________
How To Change Hostname
Type Command in Terminal. (Ctrl+Alt+T)
sudo gedit /etc/hostname
Click to expand...
Click to collapse
The hostname file will open, displaying the current computer name. Replace the current computer name with the desired new name.
Click Save.
Close all open windows and restart your system.After your system has restarted, it will have the new computer name.
_________________________________________________
How To Change Ur Username
Method 1 make/create new 1 and remove old one
Method 2
1 .Open Terminal
2.Unlock account root and enable login as root using below command
sudo passwd root
sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'
Click to expand...
Click to collapse
3.Reboot your computer and login as root
4.Open a terminal and Use blow command to change your username
usermod -l newname oldname
Click to expand...
Click to collapse
5.(Optional)Now you already changed your username,but your home folder name still are “/home/oldname”,if you also want to change /home/oldname to /home/newname just run below command
usermod -m -d /home/newname newname
Click to expand...
Click to collapse
Notef course you can combine step 4 and step 5 using below command
usermod -m -d /home/newname -l newname oldname
Click to expand...
Click to collapse
6.All done,use below command to lock your root again,then you can reboot and login as your new username(in my way i always use root.. for time of build kernel user other user name iduos)
passwd -l root
Click to expand...
Click to collapse
i Hope Its Help U :laugh::laugh::laugh::good::good::good:
wow...using vbox consume a lot of rams and tend to be (a lot) slower compared when we use a real installed linux. you have a good computer out there mate.
manoranjan2050 said:
admin user is ur username of os...
and
se-vbox****** is ur hostname
_______________________________________________
How To Change Hostname
Type Command in Terminal. (Ctrl+Alt+T)
The hostname file will open, displaying the current computer name. Replace the current computer name with the desired new name.
Click Save.
Close all open windows and restart your system.After your system has restarted, it will have the new computer name.
_________________________________________________
How To Change Ur Username
Method 1 make/create new 1 and remove old one
Method 2
1 .Open Terminal
2.Unlock account root and enable login as root using below command
3.Reboot your computer and login as root
4.Open a terminal and Use blow command to change your username
5.(Optional)Now you already changed your username,but your home folder name still are “/home/oldname”,if you also want to change /home/oldname to /home/newname just run below command
Notef course you can combine step 4 and step 5 using below command
6.All done,use below command to lock your root again,then you can reboot and login as your new username(in my way i always use root.. for time of build kernel user other user name iduos)
i Hope Its Help U :laugh::laugh::laugh::good::good::good:
Click to expand...
Click to collapse
Tried to change that se-virtual**** to 'hell_lock' and then compiled it. Not working
after change hostname restart ......then check its changed or not
type hostname to chack ur host
and save ur .config file and make clean then compile
Sent from my GT-S6102 using Tapatalk 2
manoranjan2050 said:
after change hostname restart ......then check its changed or not
type hostname to chack ur host
and save ur .config file and make clean then compile
Sent from my GT-S6102 using Tapatalk 2
Click to expand...
Click to collapse
The name has changed inn terminal but no name change in kernel..
Sent from my GT-S5360 using XDA
make clean and re compile it :thumbup:
Sent from my GT-S6102 using Tapatalk 2
manoranjan2050 said:
make clean and re compile it :thumbup:
Sent from my GT-S6102 using Tapatalk 2
Click to expand...
Click to collapse
Cleaned the common folder and recompiled.. NO CHANGES!! seems like I gotta live with it
hell_lock said:
Cleaned the common folder and recompiled.. NO CHANGES!! seems like I gotta live with it
Click to expand...
Click to collapse
also check This file
sudo gedit /etc/hosts
Click to expand...
Click to collapse
127.0.0.1 old hostname (change it to ur new name)
127.0.1.1 old hostname (change it to ur new name)

Locking the screen

Hi all,
I rooted my Nook Simple Touch via TouchNooter 2.1.31. No hitches aside from the Market giving me a Server Error just after installing, which cleared up the next day. Since now I have my email (and in the future other sensitive apps/info) on the Nook I would like to be able to lock the screen like a full Android phone or tablet. Is this possible? I don't necessarily mean having the exact same way of locking (i.e., press the power button and the screen locks) but at least an app for doing that would be great. Any ideas?
Thanks!
Set a PIN lock on your Nook.
In an ADB shell:
Code:
am start -n com.android.settings/.ChooseLockPin
Thanks! Now if I could only get adb to work... doing adb shell gives me "error: device not found", and turning on AdbWireless and trying to connect with adb connect just hangs.
Renate NST said:
Set a PIN lock on your Nook.
In an ADB shell:
Code:
am start -n com.android.settings/.ChooseLockPin
Click to expand...
Click to collapse
Ah... SUFBS to the rescue! Did it from the terminal. Works perfectly! Thanks!
mcamou said:
Thanks! Now if I could only get adb to work... doing adb shell gives me "error: device not found", and turning on AdbWireless and trying to connect with adb connect just hangs.
Click to expand...
Click to collapse
Renate NST said:
Set a PIN lock on your Nook.
In an ADB shell:
Code:
am start -n com.android.settings/.ChooseLockPin
Click to expand...
Click to collapse
How to remove the lock?
I don't know if there is an easy user way to do this, but:
Code:
sqlite3 settings.db
delete from system where name like 'lock%';
.q
Either do this on the Nook in /data/data/com.android.providers.settings/databases/
Or else adb pull it, sqlite3 it, adb push it.
Renate NST said:
Set a PIN lock on your Nook.
In an ADB shell:
Code:
am start -n com.android.settings/.ChooseLockPin
Click to expand...
Click to collapse
Hi, I'm very new to rooting and have managed to get tinynoot to root my UK Simple Touch Glowlight. I can use the adb install in my command prompt but when I copied your script into the command prompt I just got a list of commands. I have looked at the adb command instructions here http://developer.android.com/tools/help/adb.html#commandsummary but still can't work out what to do. Would you mind giving me some slightly more detailed instructions for adding the lockscreen from a windows command prompt?
Thanks
EDIT 1: Just brought myself up to speed on shell stuff. Thank you, thank you, thank you Renate NST!!!!
Hi, I know this thread is a bit old but I am having a problem and I am bit of a blind baboon in a maze with all this.
I followed the directions as best I could: connected rooted Nook, started adb shell then:
Code:
# am start -n com.android.settings/.ChooseLockPin 1111
am start -n com.android.settings/.ChooseLockPin 1111
Starting: Intent { act=android.intent.action.VIEW dat=1111 }
Error: Activity not started, unable to resolve Intent { act=android.intent.actio
n.VIEW dat=1111 flg=0x10000000 }
Tried other things too but I can't code for toffees so..
Can you help?
icouldntfindit said:
Hi, I know this thread is a bit old but I am having a problem and I am bit of a blind baboon in a maze with all this.
I followed the directions as best I could: connected rooted Nook, started adb shell then:
Code:
# am start -n com.android.settings/.ChooseLockPin 1111
am start -n com.android.settings/.ChooseLockPin 1111
Starting: Intent { act=android.intent.action.VIEW dat=1111 }
Error: Activity not started, unable to resolve Intent { act=android.intent.actio
n.VIEW dat=1111 flg=0x10000000 }
Tried other things too but I can't code for toffees so..
Can you help?
Click to expand...
Click to collapse
Presumably that's your desired PIN (i.e. 1111?)
You don't put it on the command line, am start -n com.android.settings/.ChooseLockPin starts the PIN chooser activity on your Nook and you enter it there, twice, to set it.
cowbutt said:
Presumably that's your desired PIN (i.e. 1111?)
You don't put it on the command line, am start -n com.android.settings/.ChooseLockPin starts the PIN chooser activity on your Nook and you enter it there, twice, to set it.
Click to expand...
Click to collapse
Lmao there's something I didn't try. Thank you for replying so fast!
cowbutt said:
Presumably that's your desired PIN (i.e. 1111?)
You don't put it on the command line, am start -n com.android.settings/.ChooseLockPin starts the PIN chooser activity on your Nook and you enter it there, twice, to set it.
Click to expand...
Click to collapse
I have to say thank you, first, for providing this information! It was exactly what I wanted.
Now, though, I've been locked out of my device. I think pressure from inside my bookbag created a bunch of readings that the nook took as attempts to access the system, and I'm locked out after 'too many pattern attempts.' It says: "to unlock, sign in with your Google account." But I do that, with no response. (This is without active wi-fi, which I can't activate anyway!)
I was hoping I could use ADB to reset the PIN again, but ADB doesn't appear to recognize the system; maybe it's not opening up the device to USB until it gets unlocked.
I'm currently on the road so I can't go back to my home wi-fi...
Any suggestions?
jasonmehmel said:
Any suggestions?
Click to expand...
Click to collapse
Well, on my Nook, I'd open up the Nook, hook into the console connector and do the SQLite solution to delete the lock and reboot.
You probably never got around to soldering a console connector to your Nook.
If you had access to ADB you could do the same.
Apparently you have ADB over WiFi and the WiFi is off.
I could also boot up on Clockwork Mod Recovery and use ADB over USB.
(I already have CWM as my recovery internally.)
You could put CWM on an SD card and boot that.
Renate NST said:
...
I could also boot up on Clockwork Mod Recovery and use ADB over USB.
(I already have CWM as my recovery internally.)
You could put CWM on an SD card and boot that.
Click to expand...
Click to collapse
I basically did that. Not CWM specifically, but factory resetting it and then re-rooting it. I'm getting a lot of practice at rooting the little son of a gun...
jasonmehmel said:
... factory resetting ...
Click to expand...
Click to collapse
I didn't say anything about factory resetting.
The only way to fix things is to know what's going on.
Why don't you get a console somehow going to your device and fix the settings database?
Hello,
I have just rooted my nook ST glowlight using Nook manager, and it is my first android device so I am not very familiar with this world. I have installed android SDK on my laptop and started an adb console. I can see my device connected when I list the devices but when I run
am start -n com.android.settings/.ChooseLockPin
it says that 'am' is not recongnized as a command.
Could you please help here?
Many thanks
MRXIII said:
it says that 'am' is not recognized as a command
Click to expand...
Click to collapse
Interesting. Try
Code:
ls -l /system/bin/am
ls -l /system/bin/pm
Did you accidentally delete something?
This is the NG1 (old black Nook Glow)?
Renate NST said:
Interesting. Try
Code:
ls -l /system/bin/am
ls -l /system/bin/pm
Did you accidentally delete something?
This is the NG1 (old black Nook Glow)?
Click to expand...
Click to collapse
Hi Renate
Thank you for your reply. I am using windows, is ls supposed to work with adb ? I have tried but it says the same :/
'ls' is not recognized...
I did not delete anything as far as I know. It is the nook Simple touch glowlight (black)
thanks
Ha, ha, the joke's on me.
That "am" command is supposed to be executed in a Linux shell running over ADB.
Code:
C:\>adb shell
# am start -n com.android.settings/.ChooseLockPin
# ^C
C:\>
Renate NST said:
Ha, ha, the joke's on me.
That "am" command is supposed to be executed in a Linux shell running over ADB.
Code:
C:\>adb shell
# am start -n com.android.settings/.ChooseLockPin
# ^C
C:\>
Click to expand...
Click to collapse
Hi Renate
Happy new year.!
Is there a way to achieve lock screen using a windows shell ?
Thank you
MRXIII said:
Is there a way to achieve lock screen using a windows shell?
Click to expand...
Click to collapse
Do you mean:
Code:
C:\>adb shell am start -n com.android.settings/.ChooseLockPin

wifi mac address 02:00:00:00:00:00

guys, using root explorer, i edited wlan_mac.bin and changed the mac address and then in android emulator, i typed
su
chattr +i /persist/wlan_mac.bin
after restarting the phone, the mac address is showing 02:00:00:00:00:00, not able to switch on the wifi. tried to change the file again using root explorer but the file doesn't change. please help me to fix this.
guys, i got the solution, use this command in android emulator
su
chattr -i /persist/wlan_mac.id
aneesh12 said:
guys, i got the solution, use this command in android emulator
su
chattr -i /persist/wlan_mac.id
Click to expand...
Click to collapse
The comand gives back the error:
/systen/bin/sh: chattr: not found
del

Categories

Resources