How to implement resource sharing on a computer
--Create an SMB folder under the local user directory
--Right click, select Share Options
--then enter the settings interface, there are two can choose their own (others can create files in your directory, others can directly access, no password)
--it is now possible to use it directly, but in the middle there are problems, problems and solutions as follows
Error in shared folder: Failed to execute child process "Testparm" (No such file or directory)
sudo cp/usr/bin/testparm.samba3/usr/bin/testparm
sudo cp/usr/bin/net.samba3/usr/bin/net
sudo chmod +x/usr/bin/testparm/usr/bin/net
How to access the remote
--Start by commanding IConfig to view your IP
--On the other computer, press the grid on the keyboard to build +r, and then enter your own IP
--This is the time to go directly to the SMB folder where you created the share, and you can manipulate the files under the folder
How to burn the source code on your computer on another computer
--Start by commanding IConfig to view your IP
--On the other computer, press the grid on the keyboard to build +r, and then enter your own IP
--At this time to enter the source you want to burn
--then in the Open Burn tool, copy this directory in the address bar
--This is the time to burn normally.
Burn Code
-At this point you just need to put the compiled source in the PROJECT_KK/S5/OUT/TARGET/PRODUCT/VANZO92_CWET_KK using command CP */HOME/ZHANGSHULI/SMB/S5
Copy it to your own SMB folder.
--When burning, the file used is Mt6592_android_scatter.txt
How to set Ubuntu to improve speed
Specific operation
---------------------
Installing DNSMASQ
Command: sudo apt-get install DNSMASQ
Edit the DNSMASQ configuration file
Command: sudo gedit/etc/dnsmasq.conf
Find one of the following
#resolv-file=
Replace with one of the following statements
Resolv-file=/etc/resolv.dnsmasq.conf
Make sure you haven't changed the/etc/resolv.conf file, and if you change it, revert to the original
Then execute the command.
sudo cp/etc/resolv.conf/etc/resolv.dnsmasq.conf
Then edit resolv.conf
command; sudo gedit/etc/resolv.conf
Remove all of the domain name servers and add the following line
NameServer 127.0.0.1
Save, exit
Execute the following command
Execute command sudo gedit/etc/ppp/peers/provider (Ubuntu 10.10 filename is provider, other versions may differ)
Search
Add # to the front of the usepeerdns, which means to overwrite the statement.
In case, the resolv.conf setting is covered by PPPoE.
Restart your computer. Without restarting, you will find that the domain name cannot be resolved. So be sure to restart the computer to achieve the purpose of restarting the DNSMASQ.
After restarting, you will find that the resolution of Firefox is faster than the previous n magnitude.
How to compile a single project
--The first is to connect to the phone, and then remount, this time may be prompted to say that the permissions are not enough, you can be like the solution to view mobile software available version, using (sudo-i adb kill-server adb devices) to solve
--Compile a single module./MAKEMTK mm packages/apps/musictphone/
--At this time, you can directly use the Quick Method, is the MMX (he in your user directory under the MMX file can be found) + you want to install the app serial number
--of course, the usual practice is ADB push out/target/product/vanzo92_cwet_kk/system/app/music.apk system/app (which you should also note, that is, which directory to install to the phone)
--so that, at this time, the original native system application of the phone will be replaced, and not as the third-party software, as it is, as if to say, replace it with the same name (the conference has a unique ID-like identity)
WORKSTART-SMB Shared file creation