Hi everybody.
This worked for me so hope it helps you.
Extract Rom files, copy nk:nbf to your device folder ieH20B, copy SetOperator &
xda3nbftool(found in PH20B1) into PH20B copy this folder into C drive (C:\PH20B) or whichever is your
local/main drive
Now click Start-run,type cmd click ok
in the command line window type the following (where [ENTER] means hit the ENTER key)
cd \ (space after cd) [ENTER]
cd PH20B [ENTER]
SetOperator O2UK001 (your code) [ENTER]
when completed type exit [ENTER}
basically cd means change directory.
starting from c:\, and wanting to get to c:\my documents\pocket pc\helmi rom\ph20b, you would type:
cd c:
cd my documents\pocket pc\helmi rom\ph20b
setoperator .....................
I copied the folder Ph20B to C: drive to simplify the command prompt
if you type cd C: it just copies the same line of text
Type cd \
you get
C:\>
Type cd PH20B after >
you get
C:\PH20B> then type SetOperator & code after > and hey Presto you get
Setting Operator to[???????] for ROM
updated checksum to ????????
Completed
C:\PH20B> type exit after > to close prompt
stealph said:
if you type cd C: it just copies the same line of text
Click to expand...
Click to collapse
sorry, typo - i meant c:\
No problem
After searching for ages for a step by step guide, i remembered i'd done something with command prompt to intergrate XPsp2 into XP and it helped me to understand this.
Just hope it helps others
Related
I have a september 2 copy of my nv_data.bin and nv_data.bin.md5 on my computer and I would like to move it to my phones EFS directory, can anyone teach me the syntax to do so ?
Firstly, make sure you make a backup of the original files using Root Explorer or similar....
Open CMD promt (as admin if Vista or W7).
Cd to the Tools dir were you installed ADB...
e.g. cd androidsdk/tools
Then type:
ADB Shell Stop
Press Enter
You should see a msg about Deamon Starting...
Then type:
adb push FILENAME /DIR/DIR
/DIR/DIR Replace with the path the files need to goto on the phone....
Once copied type:
ADB shell start
Press Enter.
Hope that make sense.
Hello every one,
I am using the latest nightly bild from CM10.1 and I am trying to install GPSCountryOptimizer app with adb but all the time it give me error INSTALL_FAILED_INVALID_APK ?
Can anyone please explain me what do I need to do? Also tried to wipe devlik after copying the same app in system folder and setting permissions as well but no use.
Thanks.
sPEADy said:
Hello every one,
I am using the latest nightly bild from CM10.1 and I am trying to install GPSCountryOptimizer app with adb but all the time it give me error INSTALL_FAILED_INVALID_APK ?
Can anyone please explain me what do I need to do? Also tried to wipe devlik after copying the same app in system folder and setting permissions as well but no use.
Thanks.
Click to expand...
Click to collapse
check settings in Developer Options about adb. may be you do not have some check point there...
also uncheck <verify application> and check <unknown sources> and try again
gtdaniel said:
check settings in Developer Options about adb. may be you do not have some check point there...
also uncheck <verify application> and check <unknown sources> and try again
Click to expand...
Click to collapse
Thanks for your quick reply. I have checked USB Debugging, Debugging over network is unchecked, Apps over USB checking is unchecked.
It should be right or maybe I am wrong.
With the Following Process it worked out how to install the unsigned apps.
Here are a couple of different options to try.
For both options you will need to put the gallery apk into the same directory as your sdk install. (if you don't know what this is try to pull a file from your device and see where it ends up. Mine is /AndroidSDK/tools because I installed the SDK in the /AndroidSDK directory on my PC)
with all of the commands to type below ignore the single quotes (')
*Install from PC*
1) connect your phone and make sure adb can detect it.
- Launch command prompt
- Navigate to your sdk directory
- type 'adb devices' - you should now see your device listed.
2) Go back to the command prompt and type 'adb install [apk name.apk]
3) You should now see a success message, if you it fails try my other option below.
*Manually place APK into /system/app*
1) connect your phone and make sure adb can detect it.
- Launch command prompt
- Navigate to your sdk directory
- type 'adb devices' - you should now see your device listed.
2) push gallery apk to your sd card.
-type 'adb push [apk name.apk] /sdcard/[apk name.apk]
3) Launch a second command prompt
-type 'adb shell'
-type 'su'
-type 'mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system'
4) go back to first command prompt
-type 'adb shell'
-type 'su'
-type 'cd /system/app'
-type 'cp /sdcard/[apk name.apk] [apk name.apk]'
-command prompt will show 'cp /sdcard/[apk name.apk] [apk name.apk]'
-type 'exit' (this will get you out of su)
-type 'exit' again (this should get you out of adb shell)
-type 'exit' again (this should close the command prompt)
5) go back to first command prompt
-type 'exit' (this will get you out of su)
-type 'exit' again (this should get you out of adb shell)
-type 'adb reboot' (this will reboot your phone)
-type 'exit' again (this should close the command prompt)
You may not need to do this in 2 command prompts, but for some reason I've had issue using just one before.
one of these should work.
Thanks to ezun for so detailed post.
Having the same problem here with the PwnMyMoto rooting file. Thing is, the Droid maxx does not have a sd card. Should I just type "System" instead of sdcard in the command?
I tried to do what in http://forum.xda-developers.com/showthread.php?t=2281254
but my current default.xml file had all languages , but i only see 13 in settings
is there anyway to do it ?
am runing android 4.2.2 stock rom
Anyone ?
!!!!!!!!!!!! really ? no one !!!!!!!!!!!!!!!
enable hidden languages
mjrshark said:
!!!!!!!!!!!! really ? no one !!!!!!!!!!!!!!!
Click to expand...
Click to collapse
phone has to be rooted -- tested and working with HTC One X
1. boot in FASTBOOT and check CID , start cmd type
Code:
fastboot getvar all
2. start phone normally, enable usb debugging
3. start CMD type:
Code:
adb pull system/customize/CID/default.xml
4. rename saved file "default.xml" to "your_cid.xml" // my cid was HTC__Y13 so it will be HTC__Y13.xml
5. start CMD type:
Code:
adb push your_cid.xml/sdcard/
6. start CMD type:
Code:
adb shell
su (tap grant access on your htc screen)
mount -o remount,rw /system
cat /sdcard/your_cid.xml > /system/customize/CID/your_cid.xml
exit
exit
7. do factory reset
artur223 said:
phone has to be rooted -- tested and working with HTC One X
1. boot in FASTBOOT and check CID , start cmd type
Code:
fastboot getvar all
2. start phone normally, enable usb debugging
3. start CMD type:
Code:
adb pull system/customize/CID/default.xml
4. rename saved file "default.xml" to "your_cid.xml" // my cid was HTC__Y13 so it will be HTC__Y13.xml
5. start CMD type:
Code:
adb push your_cid.xml/sdcard/
6. start CMD type:
Code:
adb shell
su (tap grant access on your htc screen)
mount -o remount,rw /system
cat /sdcard/your_cid.xml > /system/customize/CID/your_cid.xml
exit
exit
7. do factory reset
Click to expand...
Click to collapse
thanks for answer after a year dont have HTC anymore , but maybe someone will read your answer and learn from it
I'm new to this please kindly help
It says command not found every time i try to do that
I'm using HTC one M7 International 4.4.2
Last login: Sun Mar 30 15:42:50 on console
Pipers-MacBook-Pro:~ PiperNatathaphol$ cd Desktop/Android
Pipers-MacBook-Pro:Android PiperNatathaphol$ ./ADB-Install-Mac.sh
This will install ADB and Fastboot on your computer.
Root Permissions required. Please type your password.
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
Changed directory to /Users/PiperNatathaphol/Desktop/Android
Moving ADB
mv: rename Mac/adb_Mac to /usr/bin/adb: No such file or directory
ADB Moved to /usr/bin/adb
moving Fastboot
mv: rename Mac/fastboot_Mac to /usr/bin/fastboot: No such file or directory
Fastboot moved to /usr/bin/fastboot
You may now run Android Debug Bridge and Fastboot commands
Have a nice day.
Pipers-MacBook-Pro:Android PiperNatathaphol$ fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img.
-bash: fastboot: command not found
Best notepad Hacking tricks for removing the shortcut virus using Cmd prompt.
NOTE: No need of any antivirus software to perform this operation.
After plug in your virus affected drive, just press Win key + R to open Run box and type “cmd” and press Enter key. (Without double quotes)
In the opened command prompt, open your drive by entering your drive letter as shown in the below figure. For example, if your drive letter is entered g: and press Enter. (To find your drive letter just open “My Computer” and check your drive icon)
Now type “ del *.lnk” and hit Enter.(without double quotes)
Finally, type the below command and hit Enter. (without double quotes)
“ attrib -s -r -h *.* /s /d /l ”
IN Simple Words:–
In this step, you have to remove shortcut virus using CMD.
Click on “Start” –>Run –> type cmd and click on OK.
let me consider your drive letter as G:
Enter this command:
attrib -h -r -s /s /d g:*.*
attrib G:*.* /d /s -h -r -s “
Note: Don’t forget to replace the letter g with your drive letter. Give a look to your files. Must Saw Firstly Your Drive Letter as whatever be it is an example of this- g:,h:,l:,
That’s it, just wait some seconds. Then open and check your drive. Your folders will be retrieved. I hope this is useful for you. If any doubt, comment below. Share with your friends.
non android topic - thread closed - copy / pasta from here https://www.wikitechy.com/technology/remove-shortcut-viruses-using-cmd/