Related
I understand now that logcat requires root for Android 4.1+ is that right?
I would like some way to debug my app on someone's phone remotely, in the past I have got them to install alogcat and send me the output, but since I've upgraded to 4.1 I've never got it to work.
Whats the best technique to obtain syslog logcat data when my app fails, the data which I see on the play store isn't enough detail for me to resolve or identify the problem.
1 user is getting this error:
Caused by: java.lang.NoClassDefFoundError: com.google.android.maps.GeoPoint
Click to expand...
Click to collapse
as far as I know no-one else is seeing this issue,
They have google maps installed but I don't know what else to check other that get access to the logcat from there phone.
thanks
They can still download the Android SDK and then type
Code:
adb shell
logcat
I was hoping an easier method would be available.
you can ask them to mail you dumpstate_app_error.txt.gz from /data/log/ .I think astro can copy that to sdcard.Or else you could run
Code:
pull /data/log/dumpstate_app_error.txt.gz /sdcard
from any terminal app to copy that to sdcard.
vijai2011 said:
you can ask them to mail you dumpstate_app_error.txt.gz from /data/log/ .I think astro can copy that to sdcard.Or else you could run
Code:
pull /data/log/dumpstate_app_error.txt.gz /sdcard
from any terminal app to copy that to sdcard.
Click to expand...
Click to collapse
Isn't root required for that?
nikwen said:
Isn't root required for that?
Click to expand...
Click to collapse
Nope...data is mounted as RW by default and more over you need root only to write to a partition mounted as R(users should also be considered).You can even copy system files with astro without root. But Its been so long since I did that and don't know how it has changed with 4.1 and 4.2.But no harm in trying
vijai2011 said:
Nope...data is mounted as RW by default and more over you need root only to write to a partition mounted as R(users should also be considered).You can even copy system files with astro without root. But Its been so long since I did that and don't know how it has changed with 4.1 and 4.2.But no harm in trying
Click to expand...
Click to collapse
In 4.x you need root to access the logs from an app so I do not think that this is possible.
On 2.3 when my phone was not rooted I was not able to access /data at all.
nikwen said:
In 4.x you need root to access the logs from an app so I do not think that this is possible.
On 2.3 when my phone was not rooted I was not able to access /data at all.
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.delta.Info .This app targets 4.0-4.2 and it mails the same file without root.So it will work.
vijai2011 said:
https://play.google.com/store/apps/details?id=com.delta.Info .This app targets 4.0-4.2 and it mails the same file without root.So it will work.
Click to expand...
Click to collapse
The description says that it does only work with DeltaROM.
nikwen said:
The description says that it does only work with DeltaROM.
Click to expand...
Click to collapse
Of course it is...But the fact I wanted to say is, the app doesn't need root for that
vijai2011 said:
Of course it is...But the fact I wanted to say is, the app doesn't need root for that
Click to expand...
Click to collapse
It does need root. Well, every app can get logs the old way and they will get logs, but just those logs with the user id of the app. No more logs.
Just one more thing I could think of: Maybe the developer of the ROM changed that code in the Android sources of his ROM.
Or when the app is installed, the ROM automatically runs that command:
Code:
pm grant com.delta.Info android.permission.READ_LOGS
I will test it on my phone and tell you the result. If it does not work, it is a feature of the ROM.
nikwen said:
It does need root. Well, every app can get logs the old way and they will get logs, but just those logs with the user id of the app. No more logs.
Just one more thing I could think of: Maybe the developer of the ROM changed that code in the Android sources of his ROM.
Or when the app is installed, the ROM automatically runs that command:
Code:
pm grant com.delta.Info android.permission.READ_LOGS
I will test it on my phone and tell you the result. If it does not work, it is a feature of the ROM.
Click to expand...
Click to collapse
FYI I'm the dev of the app .And there is no root,no extra permissions,Rom is not modded (except for a file which needs for the app to work.But it doesnt have any relation with logs).
If you still have doubt,Just create an email indent with the log file in /data/log as an extra data in Async task and try
vijai2011 said:
FYI I'm the dev of the app .And there is no root,no extra permissions,Rom is not modded (except for a file which needs for the app to work.But it doesnt have any relation with logs).
If you still have doubt,Just create an email indent with the log file in /data/log as an extra data in Async task and try
Click to expand...
Click to collapse
Ok. I did not see that.
I will try that.
---------- Post added at 03:03 PM ---------- Previous post was at 02:44 PM ----------
nikwen said:
Ok. I did not see that.
I will try that.
Click to expand...
Click to collapse
For me it said "Could not send attachment."
My code:
Code:
Intent mailIntent = new Intent(android.content.Intent.ACTION_SENDTO);
mailIntent.setType("text/plain");
mailIntent.setData(Uri.parse("mailto:[email protected]"));
mailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "test");
mailIntent.putExtra(android.content.Intent.EXTRA_TEXT, "hi");
mailIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File("/data/log/dumpstate_app_error.txt.gz")));
mailIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
startActivity(Intent.createChooser(mailIntent, "Send via"));
(Of course, I changed the mail address.)
nikwen said:
Ok. I did not see that.
I will try that.
---------- Post added at 03:03 PM ---------- Previous post was at 02:44 PM ----------
For me it said "Could not send attachment."
My code:
Code:
Intent mailIntent = new Intent(android.content.Intent.ACTION_SENDTO);
mailIntent.setType("text/plain");
mailIntent.setData(Uri.parse("mailto:[email protected]"));
mailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "test");
mailIntent.putExtra(android.content.Intent.EXTRA_TEXT, "hi");
mailIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File("/data/log/dumpstate_app_error.txt.gz")));
mailIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
startActivity(Intent.createChooser(mailIntent, "Send via"));
(Of course, I changed the mail address.)
Click to expand...
Click to collapse
Seriously?I just now tried on my sony xperia miro running 4.0.4 and it works just flawlessly...But I didnt use email indent...I use a external mail api...(Doesnt make difference if its blocked in core android I suppose)
vijai2011 said:
Seriously?I just now tried on my sony xperia miro running 4.0.4 and it works just flawlessly...But I didnt use email indent...I use a external mail api...(Doesnt make difference if its blocked in core android I suppose)
Click to expand...
Click to collapse
Yeah, seriously.
Ah. You run it on 4.0.4. They removed it in JellyBean.
Check this: https://groups.google.com/d/msg/android-developers/6U4A5irWang/AvZsrTdfICIJ
---------- Post added at 03:14 PM ---------- Previous post was at 03:11 PM ----------
@mtrax: Check the answer here: http://stackoverflow.com/questions/11499636/so-how-can-i-see-the-logs-in-jelly-bean
That's how to create reports and send them via email.
nikwen said:
Yeah, seriously.
Ah. You run it on 4.0.4. They removed it in JellyBean.
Check this: https://groups.google.com/d/msg/android-developers/6U4A5irWang/AvZsrTdfICIJ
---------- Post added at 03:14 PM ---------- Previous post was at 03:11 PM ----------
@mtrax: Check the answer here: http://stackoverflow.com/questions/11499636/so-how-can-i-see-the-logs-in-jelly-bean
That's how to create reports and send them via email.
Click to expand...
Click to collapse
Its min api is 4.0.4 and I even run it on 4.2.2 on my friends s3 and it works fine .Think I should make the class open source
vijai2011 said:
Its min api is 4.0.4 and I even run it on 4.2.2 on my friends s3 and it works fine .Think I should make the class open source
Click to expand...
Click to collapse
Interesting. I will test it if you opensource it.
nikwen said:
Interesting. I will test it if you opensource it.
Click to expand...
Click to collapse
Will do that part alone soon
Sent from my GT-N7000 using xda app-developers app
I tried this from my rooted SG2
ie
pull /data/log/dumpstate_app_error.txt.gz /sdcard
and I got pull command not found
mtrax said:
I tried this from my rooted SG2
ie
pull /data/log/dumpstate_app_error.txt.gz /sdcard
and I got pull command not found
Click to expand...
Click to collapse
If you do in computer, it will be
Code:
adb pull /data/log/dumpstate_app_error.txt.gz /sdcard
Sent from my GT-N7000 using xda app-developers app
The official huawei page of our region has stated that it has released the MM update for kiw l21 and it should reach us in 2-3 working days...
There will be an OTA and a link on their website... I want to mirror the link on sites like mega etc for people who don't get the update right away.... But don't kniw how to, can someone please explain the procedure so middle eastern people don't have to wait any longer...
Sent from my KIW-L21 using Tapatalk
hi.can send me rom link?
Faheemarif252 said:
The official huawei page of our region has stated that it has released the MM update for kiw l21 and it should reach us in 2-3 working days...
There will be an OTA and a link on their website... I want to mirror the link on sites like mega etc for people who don't get the update right away.... But don't kniw how to, can someone please explain the procedure so middle eastern people don't have to wait any longer...
Sent from my KIW-L21 using Tapatalk
Click to expand...
Click to collapse
where is the link??? Please share with us
Faheemarif252
What is the web address of the official Huawei page thats states this ?
Please provide a link so that we can read this.
Thank you
If you read the original post correctly... Huawei said that the OTA will reach in 2-3 working days... That means monday or tuesday (at least where i live).... Some people have got the ota but i still haven't... And there is no update available till now on their website...
One of my friends recieved the update so i should be soon too.... I will mirror the OTA and share the link asap
Sent from my KIW-L21 using Tapatalk
It should be in XDA's Honor's 5x repository
Faheemarif252 said:
The official huawei page of our region has stated that it has released the MM update for kiw l21 and it should reach us in 2-3 working days...
There will be an OTA and a link on their website... I want to mirror the link on sites like mega etc for people who don't get the update right away.... But don't kniw how to, can someone please explain the procedure so middle eastern people don't have to wait any longer...
Sent from my KIW-L21 using Tapatalk
Click to expand...
Click to collapse
I simply use the logcat feature of android to get the URL of an OTA update
Open a command prompt and use these two commands to clear the log and then dump the log to your PC and simply look (search) for any http:// in the log
I simply use.
adb logcat -c
followed by
adb logcat -d > logcat.txt
to learn more read below
1. When you get prompted to download an update on your Android device, immediately plug your phone into a computer.
2. From that computer, open a command prompt, type “adb logcat” and hit enter. (On a Mac it’s “./adb logcat”)
3. The command prompt will then begin to spit out information from your phone.
4. Feel free to then tap the “Download” button on the update from your phone.
5. Once the download starts, you will be able to find the URL of the file that is downloading in the logcat.
6. You can do a handful of things now to find it-
Click to expand...
Click to collapse
To better use the "adb logcat" command, we need to look at its options:
"adb logcat -b <buffer>" - Loads an alternate log buffer for viewing, such as event or radio. The main buffer is used by default. There are log buffers on the Android system: "main", "events", and "radio". The default buffer is "main".
"adb logcat -c" - Clears (flushes) the entire log and exits.
"adb logcat -d" - Dumps the log to the screen and exits.
"adb logcat -f <filename>" - Writes log message output to a file. The default is the "stdout - Standard Output".
"adb logcat -g" - Prints the size of the specified log buffer and exits.
"adb logcat -n <count>" - Sets the maximum number of rotated logs to <count>. The default value is 4. Requires the -r option.
"adb logcat -r <kbytes>" - Rotates the log file every <kbytes> of output. The default value is 16. Requires the -f option.
"adb logcat -s" - Sets the default filter spec to silent.
"adb logcat -v <format>" - Sets the output format for log messages. The default is brief format.
Click to expand...
Click to collapse
clsA said:
I simply use the logcat feature of android to get the URL of an OTA update
Open a command prompt and use these two commands to clear the log and then dump the log to your PC and simply look (search) for any http:// in the log
I simply use.
adb logcat -c
followed by
adb logcat -d > logcat.txt
to learn more read below
1. When you get prompted to download an update on your Android device, immediately plug your phone into a computer.
2. From that computer, open a command prompt, type â??adb logcatâ? and hit enter. (On a Mac itâ??s â??./adb logcatâ?)
3. The command prompt will then begin to spit out information from your phone.
4. Feel free to then tap the â??Downloadâ? button on the update from your phone.
5. Once the download starts, you will be able to find the URL of the file that is downloading in the logcat.
6. You can do a handful of things now to find it-
To better use the "adb logcat" command, we need to look at its options:
"adb logcat -b <buffer>" - Loads an alternate log buffer for viewing, such as event or radio. The main buffer is used by default. There are log buffers on the Android system: "main", "events", and "radio". The default buffer is "main".
"adb logcat -c" - Clears (flushes) the entire log and exits.
"adb logcat -d" - Dumps the log to the screen and exits.
"adb logcat -f <filename>" - Writes log message output to a file. The default is the "stdout - Standard Output".
"adb logcat -g" - Prints the size of the specified log buffer and exits.
"adb logcat -n <count>" - Sets the maximum number of rotated logs to <count>. The default value is 4. Requires the -r option.
"adb logcat -r <kbytes>" - Rotates the log file every <kbytes> of output. The default value is 16. Requires the -f option.
"adb logcat -s" - Sets the default filter spec to silent.
"adb logcat -v <format>" - Sets the output format for log messages. The default is brief format.
Click to expand...
Click to collapse
Nice trick, thanks
clsA said:
I simply use the logcat feature of android to get the URL of an OTA update
Open a command prompt and use these two commands to clear the log and then dump the log to your PC and simply look (search) for any http:// in the log
I simply use.
adb logcat -c
followed by
adb logcat -d > logcat.txt
to learn more read below
Click to expand...
Click to collapse
Thnx a lot bro... I'll try the same as soon as i get the ota...
Sent from my KIW-L21 using Tapatalk
Faheemarif252 said:
Thnx a lot bro... I'll try the same as soon as i get the ota...
Sent from my KIW-L21 using Tapatalk
Click to expand...
Click to collapse
yep no problem another tip the file is normally named update.zip
and can be found in internal storage HwOUC folder with a folder inside with 5 digit number containing update.zip file
Nahid s said:
where is the link??? Please share with us
Click to expand...
Click to collapse
mammadpsy said:
hi.can send me rom link?
Click to expand...
Click to collapse
Tasha T said:
Faheemarif252
What is the web address of the official Huawei page thats states this ?
Please provide a link so that we can read this.
Thank you
Click to expand...
Click to collapse
Hey guys, Here is the link for Official MM update for ME - http://download-c.huawei.com/download/downloadCenter?downloadId=90103&version=351925&siteCode=pk
vsriram92 said:
Hey guys, Here is the link for Official MM update for ME - http://download-c.huawei.com/download/downloadCenter?downloadId=90103&version=351925&siteCode=pk
Click to expand...
Click to collapse
i have a bug in my phone in this update
when i receive new notification ex.whatsapp not show whatsapp icon in statusbar
show me pic who send me a message in statusbar
plz help me this bug
Amr fego said:
i have a bug in my phone in this update
when i receive new notification ex.whatsapp not show whatsapp icon in statusbar
show me pic who send me a message in statusbar
plz help me this bug
Click to expand...
Click to collapse
It's due to EMUI I guess
PalakMi said:
It's due to EMUI I guess
Click to expand...
Click to collapse
how can i fix this bug !!!!
i tired to found solution
Amr fego said:
how can i fix this bug !!!!
i tired to found solution
Click to expand...
Click to collapse
Try uninstalling and reinstall whatsapp
PalakMi said:
Try uninstalling and reinstall whatsapp
Click to expand...
Click to collapse
this problem in all application in my phone after i install this update
Amr fego said:
this problem in all application in my phone after i install this update
Click to expand...
Click to collapse
It's because the update, just go with a custom ROM that's better
how i return to custom rom !?
Amr fego said:
how i return to custom rom !?
Click to expand...
Click to collapse
Just unlock bootloader, install TWRP recovery and install custom ROM of your choice
the page huawai to get code to unlockbootloader not opend get me error
any anthor way to install TWRP recovery without unlock bootloader
So I have an app that I use and quite often and it crashes for seemingly no reason quite often. I have contacted the dev on these apps and they claim it's always on my end and the app is coded properly.
In order to validate these claims I need to be able to see why they are crashing. Is there any app or tool I can use to get a quick read out as to why the app crashed?
Thanks.
PieOfJustice said:
So I have an app that I use and quite often and it crashes for seemingly no reason quite often. I have contacted the dev on these apps and they claim it's always on my end and the app is coded properly.
In order to validate these claims I need to be able to see why they are crashing. Is there any app or tool I can use to get a quick read out as to why the app crashed?
Thanks.
Click to expand...
Click to collapse
The app developer can tell you how to log a crash and submit it to them
Sent from my Nexus 6P using Tapatalk
clsA said:
The app developer can tell you how to log a crash and submit it to them
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
They won't. That's why I'm asking here.
@PieOfJustice
Well if the developer is not willing to help how do you plan on fixing it?
in your fastboot / adb folder
create a new txt and name it Runlogcat.bat
open the empty file and paste
Code:
ECHO @
adb logcat -d > logcat.txt
I also use another bat file called clearlogcat.bat so the log is not so long
create it the same way
Code:
ECHO @
adb logcat -c
the idea is to clear the log and then crash the app then take the log to see what the errors were
Sent from my Nexus 6P using Tapatalk
clsA said:
@PieOfJustice
Well if the developer is not willing to help how do you plan on fixing it?
in your fastboot / adb folder
create a new txt and name it Runlogcat.bat
open the empty file and paste
Code:
ECHO @
adb logcat -d > logcat.txt
I also use another bat file called clearlogcat.bat so the log is not so long
create it the same way
Code:
ECHO @
adb logcat -c
the idea is to clear the log and then crash the app then take the log to see what the errors were
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Thanks. It's more so I can see if its truly on my end (system) or if its related to the app .
PieOfJustice said:
@PieOfJustice
Well if the developer is not willing to help how do you plan on fixing it?
in your fastboot / adb folder
create a new txt and name it Runlogcat.bat
open the empty file and paste
I also use another bat file called clearlogcat.bat so the log is not so long
create it the same way
Thanks. It's more so I can see if its truly on my end (system) or if its related to the app .
Click to expand...
Click to collapse
Just out of curiosity are you running a custom rom or stock? I had some apps crash when I was on Pure Nexus. When I changed roms the apps didn't crash anymore.
jhs39 said:
Just out of curiosity are you running a custom rom or stock? I had some apps crash when I was on Pure Nexus. When I changed roms the apps didn't crash anymore.
Click to expand...
Click to collapse
Tried both stock and custom. Same thing. I am back to using AOSiP.
Okay guys first off sorry if there's a thread for this but XDA has become so over crowded and full of comments it's just to much to read through and try to remember. But anyway
Can anyone point me in the right direction or simply explain real quick how to properly root the T-Mobile variant. I'm running full stock (Obviously) I'm on H91810j and would like to debloat a little and use greenify. Any help is appreciated.
StonerSteve420 said:
Okay guys first off sorry if there's a thread for this but XDA has become so over crowded and full of comments it's just to much to read through and try to remember. But anyway
Can anyone point me in the right direction or simply explain real quick how to properly root the T-Mobile variant. I'm running full stock (Obviously) I'm on H91810j and would like to debloat a little and use greenify. Any help is appreciated.
Click to expand...
Click to collapse
There is literally speaking a thread dedicated just for the sake of rooting and twrp lol. Here:
https://forum.xda-developers.com/v20/development/h918-recowvery-unlock-v20-root-shell-t3490594
It should take about 3 to 5 minutes to complete the whole process if you know what you are doing. If you are a noob it might take sometime to figure out were to go from one step to another
Also, just remember, there is a search function on the v20 section's main screen. You can always use keywords and the function will search what you are looking for (if someone has posted something related to That). As French prople says... "Bon chance|"
P.s: yes. The rooting method by jcadduono works for 10j
jinkerz9430 said:
There is literally speaking a thread dedicated just for the sake of rooting and twrp lol. Here:
https://forum.xda-developers.com/v20/development/h918-recowvery-unlock-v20-root-shell-t3490594
It should take about 3 to 5 minutes to complete the whole process if you know what you are doing. If you are a noob it might take sometime to figure out were to go from one step to another
Also, just remember, there is a search function on the v20 section's main screen. You can always use keywords and the function will search what you are looking for (if someone has posted something related to That). As French prople says... "Bon chance|"
P.s: yes. The rooting method by jcadduono works for 10j
Click to expand...
Click to collapse
ive downloaded everything and when i extract the adb fastboot it extracts just fine but when i go to run it as administrator a box opens then closes immediately. what am i doing wrong
StonerSteve420 said:
ive downloaded everything and when i extract the adb fastboot it extracts just fine but when i go to run it as administrator a box opens then closes immediately. what am i doing wrong
Click to expand...
Click to collapse
Oh. The adb i used was from a pixel thread... The one posted in the rooting thread seems to either be missing a file called lib.... Something i forgot the name lol; or they did open and close immediately like it happened to you.
jinkerz9430 said:
Oh. The adb i used was from a pixel thread... The one posted in the rooting thread seems to either be missing a file called lib.... Something i forgot the name lol; or they did open and close immediately like it happened to you.
Click to expand...
Click to collapse
Can you link me to the adb you used. It just keeps opening and closing.
StonerSteve420 said:
Can you link me to the adb you used. It just keeps opening and closing.
Click to expand...
Click to collapse
Let me see if i can find it. If not i will zip it and send it to you
jinkerz9430 said:
Let me see if i can find it. If not i will zip it and send it to you
Click to expand...
Click to collapse
Thank you
StonerSteve420 said:
Thank you
Click to expand...
Click to collapse
Well. I couldnt find it. Anyway, i made a zip with all the files. Here:
View attachment 4070081
jinkerz9430 said:
Well. I couldnt find it. Anyway, i made a zip with all the files. Here:
View attachment 4070081
Click to expand...
Click to collapse
Still doing it. I must be the one person who's screwed lol
StonerSteve420 said:
Still doing it. I must be the one person who's screwed lol
Click to expand...
Click to collapse
Have you tried to run it in administrative mode?
jinkerz9430 said:
Have you tried to run it in administrative mode?
Click to expand...
Click to collapse
Right click run as administrator? Yes I have. Still can't get this to work. I'm using WinRar idk if that's the culprit or not. It's always been reliable.
Here, use this.
https://forum.xda-developers.com/showthread.php?t=2588979
Best for noobs.
It it asks about system wide say yes.
Then hit Windows key and R and type cmd. Then run your commands. The installer should also work.
StonerSteve420 said:
Right click run as administrator? Yes I have. Still can't get this to work. I'm using WinRar idk if that's the culprit or not. It's always been reliable.
Click to expand...
Click to collapse
Wait. I forgot to tell you. You cant double click the files. The files can be accessed only by using cmd. (command promt). So, extract the files into a folder, and use cd or pushd in dorect it to the directory where the files are. That is the proper way.
jinkerz9430 said:
Wait. I forgot to tell you. You cant double click the files. The files can be accessed only by using cmd. (command promt). So, extract the files into a folder, and use cd or pushd in dorect it to the directory where the files are. That is the proper way.
Click to expand...
Click to collapse
I know what you mean but how does the command go. I know I have to type something then add the file name sorry like I said I'm used to the old way maybe use adb for one step then the rest does it itself lol trying to catch up
StonerSteve420 said:
I know what you mean but how does the command go. I know I have to type something then add the file name sorry like I said I'm used to the old way maybe use adb for one step then the rest does it itself lol trying to catch up
Click to expand...
Click to collapse
For starter... Whats the directory where you downloaded and extracted adb fastboot? Assuming you are using the file i sent you. Was it on the downloads directory? If so open cmd (not in administratibe mode) and type pushd Downloads . Then ise all the start the adb server by using adb start-server to recognize your device. Or if you want to even see if your device is even present type adb devices
jinkerz9430 said:
For starter... Whats the directory where you downloaded and extracted adb fastboot? Assuming you are using the file i sent you. Was it on the downloads directory? If so open cmd (not in administratibe mode) and type pushd Downloads . Then ise all the start the adb server by using adb start-server to recognize your device. Or if you want to even see if your device is even present type adb devices
Click to expand...
Click to collapse
I have it in a folder on the desktop. So I type pushed Desktop/(folder name)? Or can it not be in a desktop folder. Sorry your spelling is confusing me with the second part how do I start adb server? Do I type adb start-server? Thanks for helping it's greatly appreciated
StonerSteve420 said:
I have it in a folder on the desktop. So I type pushed Desktop/(folder name)? Or can it not be in a desktop folder. Sorry your spelling is confusing me with the second part how do I start adb server? Do I type adb start-server? Thanks for helping it's greatly appreciated
Click to expand...
Click to collapse
You could use the desktop but it is more troublesome to type the directory. Thats why i suggest to put it on the downloads folder and asked you to not start the cmd as administrative. Because when you dont start it as administrative, cmd will start right from the users folder and then is only a matter of writting pushd Downloads. Focus on the first part first. Otherwise you will go nowhere lol.
jinkerz9430 said:
You could use the desktop but it is more troublesome to type the directory. Thats why i suggest to put it on the downloads folder and asked you to not start the cmd as administrative. Because when you dont start it as administrative, cmd will start right from the users folder and then is only a matter of writting pushd Downloads. Focus on the first part first. Otherwise you will go nowhere lol.
Click to expand...
Click to collapse
Thank you. I'll try that when I get home.
jinkerz9430 said:
You could use the desktop but it is more troublesome to type the directory. Thats why i suggest to put it on the downloads folder and asked you to not start the cmd as administrative. Because when you dont start it as administrative, cmd will start right from the users folder and then is only a matter of writting pushd Downloads. Focus on the first part first. Otherwise you will go nowhere lol.
Click to expand...
Click to collapse
Okay I got into the download folder using cmd (pushd download) i tried doing adb and hitting enter after and it brought up a bunch of lines after that. I did adb devices and it shows my phone but when I do fastboot oem unlock it just hangs at waiting for devices. USB debugging is on and so is OEM unlock.
StonerSteve420 said:
Okay I got into the download folder using cmd (pushd download) i tried doing adb and hitting enter after and it brought up a bunch of lines after that. I did adb devices and it shows my phone but when I do fastboot oem unlock it just hangs at waiting for devices. USB debugging is on and so is OEM unlock.
Click to expand...
Click to collapse
but are you in fastboot mode now? because after you have done the OEM unlock and then after that use usb debbugging then accept the prompt it shows about giving authorization to your computer, then after that you must go to fastboot mode to start the process of root
Hi so I updated to Windows 10 Creator's update and now when I go to my platform tools and shift right click it only gives me option for powershell I can't click on cmd. I can search computer and open cmd but it's not in the right directory and can't run adb commands.
check the image
AndrewM3 said:
Hi so I updated to Windows 10 Creator's update and now when I go to my platform tools and shift right click it only gives me option for powershell I can't click on cmd. I can search computer and open cmd but it's not in the right directory and can't run adb commands.
Click to expand...
Click to collapse
Hello,
Follow this link, it's a simple change: https://insidewindows.net/2016/12/1...-window-here-option-in-build-14986-and-newer/
Good luck...
Puck24 said:
check the image
Click to expand...
Click to collapse
Hello,
This won't help in case you want to open a command prompt in a specific folder. Check the link above...
Cheers...
EDIT: updated link. Tested it myself and the previous one didn't work. This one does :good:
Also, just in case you would like to go back to previous state, instead of deleting the cmd DWRD as stated on part 10 of the tutorial
10. Delete the DWORD with the name HideBasedOnVelocityId.
I suggest you right click on the name, select "rename" and just add an underscore _ like this _HideBasedOnVelocityId
Do the same if you follow the second part of the guide and want to hide the "Open PowerShell window here"
Cheers
5.1 said:
Hello,
Follow this link, it's a simple change: https://insidewindows.net/2016/12/1...-window-here-option-in-build-14986-and-newer/
Good luck...
Hello,
This won't help in case you want to open a command prompt in a specific folder. Check the link above...
Cheers...
EDIT: updated link. Tested it myself and the previous one didn't work. This one does :good:
Also, just in case you would like to go back to previous state, instead of deleting the cmd DWRD as stated on part 10 of the tutorial
10. Delete the DWORD with the name HideBasedOnVelocityId.
I suggest you right click on the name, select "rename" and just add an underscore _ like this _HideBasedOnVelocityId
Do the same if you follow the second part of the guide and want to hide the "Open PowerShell window here"
Cheers
Click to expand...
Click to collapse
This didn't work for me. I tried renaming first and then deleting the entry. None worked. I went back and tried again and all the settings are already correct as per the guide. I did it again anyways and still nothing even after a reboot. Not a huge deal since I can still just open CMD and cd to the correct location. I have mine at c:/SDK/platform-tools so it isn't a huge pain. Any ideas? I took the latest Creator update.
5.1 said:
Hello,
Follow this link, it's a simple change: https://insidewindows.net/2016/12/1...-window-here-option-in-build-14986-and-newer/
Good luck...
Hello,
This won't help in case you want to open a command prompt in a specific folder. Check the link above...
Cheers...
EDIT: updated link. Tested it myself and the previous one didn't work. This one does :good:
Also, just in case you would like to go back to previous state, instead of deleting the cmd DWRD as stated on part 10 of the tutorial
10. Delete the DWORD with the name HideBasedOnVelocityId.
I suggest you right click on the name, select "rename" and just add an underscore _ like this _HideBasedOnVelocityId
Do the same if you follow the second part of the guide and want to hide the "Open PowerShell window here"
Cheers
Click to expand...
Click to collapse
Thank you so much it worked for me followed the instructions to the line and it worked really thankful.
AndrewM3 said:
Thank you so much it worked for me followed the instructions to the line and it worked really thankful.
Click to expand...
Click to collapse
What the heck, I wonder why it isn't working for me. Is your username (for step 6) a single word or two? Mine is my first and last name. I don't think that should be an issue since when I type it in and hit check names it shows up as PC NAME\FIRST LAST so it doesn't seem to have any problems with that. Checked the box under it, deleted registry key. Changed admin to full control & nothing. Tried giving USER full control as well and nothing.
I've followed the steps 100% about 8 times now, I know I'm not missing anything, but it just won't work for me. :crying:
RoyJ said:
What the heck, I wonder why it isn't working for me. Is your username (for step 6) a single word or two? Mine is my first and last name. I don't think that should be an issue since when I type it in and hit check names it shows up as PC NAME\FIRST LAST so it doesn't seem to have any problems with that. Checked the box under it, deleted registry key. Changed admin to full control & nothing. Tried giving USER full control as well and nothing.
I've followed the steps 100% about 8 times now, I know I'm not missing anything, but it just won't work for me. :crying:
Click to expand...
Click to collapse
For user name I just put my email and hit ok then it automatically put my first and last name. Also make sure to allow full control for administrators. Then delete the dwords
AndrewM3 said:
For user name I just put my email and hit ok then it automatically put my first and last name. Also make sure to allow full control for administrators. Then delete the dwords
Click to expand...
Click to collapse
Yep yep, did those both and still no dice. Just powershell. IDK what's going on.
AndrewM3 said:
Thank you so much it worked for me followed the instructions to the line and it worked really thankful.
Click to expand...
Click to collapse
Hello,
Google FTW! I just typed a few keywords and the tutorial showed up. Glad it helped you...
Cheers...
RoyJ said:
Yep yep, did those both and still no dice. Just powershell. IDK what's going on.
Click to expand...
Click to collapse
Hey,
Not sure what's the problem. I tried it before posting, because i didn't want to post it just assuming it would work. Check the attached screenshot. Just followed the tutorial and i got "Open command window here" back...
Yeah it's not working for me. Oh well.
RoyJ said:
Yeah it's not working for me. Oh well.
Click to expand...
Click to collapse
I don't give up so easily :good:
Try adding this *.reg file: Enable Command Prompt.reg
Just double click and accept... Open it if you wish, basically, it's just the "HideBasedOnVelocityId" renamed to "_HideBasedOnVelocityId"
I didn't find infos if it also needs proper permissions.
Let me know if it works...
Also adding a "disable command prompt" in case you want to revert the change. I just found the *.reg somewhere and edited it a bit...
Cheers...
5.1 said:
I don't give up so easily :good:
Try adding this *.reg file: Enable Command Prompt.reg
Just double click and accept... Open it if you wish, basically, it's just the "HideBasedOnVelocityId" renamed to "_HideBasedOnVelocityId"
I didn't find infos if it also needs proper permissions.
Let me know if it works...
Also adding a "disable command prompt" in case you want to revert the change. I just found the *.reg somewhere and edited it a bit...
Cheers...
Click to expand...
Click to collapse
Hey thanks, I'll be out for a couple hours but I'll try it when I get back!
RoyJ said:
Hey thanks, I'll be out for a couple hours but I'll try it when I get back!
Click to expand...
Click to collapse
I tried the *.reg file just for fun and it seems it still needs proper permission though...
By the way, did you properly set the full control at step 9?
Strange, but after a reboot it disappeared for me until i set "full control" for my username (Seb desktop as you can see on the attached screenshot) and not administrator as per the tutorial... This thing is really weird. Doesn't work for you, disappear after reboot for me, lol...
Good luck...
Option in settings for powershell or CMD... I think
dontbeweakvato said:
Option in settings for powershell or CMD... I think
Click to expand...
Click to collapse
Hello,
Where?
Thanks...
5.1 said:
Hello,
Where?
Thanks...
Click to expand...
Click to collapse
I remember someone complaining that powershell was default and told me how to change it. Right click taskbar then navigation or properties. I'll look tomorrow if that isn't correct. My mind is so foggy sometimes
dontbeweakvato said:
I remember someone complaining that powershell was default and told me how to change it. Right click taskbar then navigation or properties. I'll look tomorrow if that isn't correct. My mind is so foggy sometimes
Click to expand...
Click to collapse
Hey,
Check the OP and the second post of this thread. This doesn't have anything to do with what we are trying to achieve...
Thanks though...
5.1 said:
Hey,
Check the OP and the second post of this thread. This doesn't have anything to do with what we are trying to achieve...
Thanks though...
Click to expand...
Click to collapse
yea thats wrong, I was half a sleep. I remember someone telling me about switching from ps couple of days ago but as usual i wasnt listening.
Just put "./" before your commands in power shell.
(Without the quotes if that isn't obvious)
ajgftw said:
Just put "./" before your commands in power shell.
(Without the quotes if that isn't obvious)
Click to expand...
Click to collapse
Hey,
I set adb + fastboot path in environment variable and forget about it...
Still your post doesn't help to replace powershell by Command prompt using contextual menu which is the matter of this thread... :good:
Chers...