Hi guys, how can i use Root + ADB to toggle airplane mode on and off thru my laptop? any ideas?
I don't think this is precisely what you want, but maybe it'll put you on the right track?
http://stackoverflow.com/questions/...o-change-settings-or-perform-tasks-on-a-phone
Swyped w/ XDA App. When in doubt, mumble.
Related
I don't get it. When i try and get my vibrant into dl mode using this method -
Step 1.) Open Odin.exe and plug a usb cable to your computer that will connect to your phone (do not plug it in to the phone yet, just the computer)
Step 2.) *Added this: Power off your phone before trying to get into download mode, and then....*
Hold down both volume buttons at the same time and while holding them down plug the usb into your phone.
- all that happes is a green battery bar comes up. Tried it on my roommates vibrant and it went straight into dl mode. WTF?
*EDIT - Phone is rooted and running the factory rom. I'm trying to install the JI6 update found here
http://forum.xda-developers.com/showthread.php?t=803492
I really don't understand why its so hard for people to get into DL mode.
Unless your soft bricked you don't need to go through all these steps.
'adb reboot download ' in adb is all you need to do.
Sent from my GT-I9000 using XDA App
Your phone sounds hardware locked
Still flashing , thanks to odin & tw
Alkaloid said:
I really don't understand why its so hard for people to get into DL mode.
Unless your soft bricked you don't need to go through all these steps.
'adb reboot download ' in adb is all you need to do.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
It's hard for me because i don't know much about command lines and such. I'm still new to this. My buddy is over here and he finally got it into dl mode by doing adb. So we're at least started
and now i'm soft bricked...
Do You have the samsung drivers installed to use odin ?
Still flashing , thanks to odin & tw
dominoslave said:
It's hard for me because i don't know much about command lines and such. I'm still new to this. My buddy is over here and he finally got it into dl mode by doing adb. So we're at least started
Click to expand...
Click to collapse
Well now you know, my friend.
It's really not hard to learn how to use ADB.
If you plan on messing around with your phone, you should definitely familiarize yourself with it.
Sent from my GT-I9000 using XDA App
yeah, i installed the drivers last night along with odin. we were using odin to install the JI6 update and it stopped midway. the fact that we can only ude adb to get into download mode is frustrating since windows no longer recognizes my phone
Yeah I'm not familiar with adb enough to advise but you should be able to find what you need on this site if I find anything I think can help I'll post back good luck man
Still flashing , thanks to odin & tw
now im soft bricked and i cant even go into download mode? what do i do.
Check the bible man its on the sticky by the way email thegreat520 you can search for him on this site I hear he's great at helping people when they are bricked
Still flashing , thanks to odin & tw
hey guys...
I want to permanently change a setting in the htc browser (enabling google zoom). I have to do this with adb shell.
Now my question is: do I have to enter the recovery mode?? (is it even possible to enter this mode with our non nand builds?)
Thanks.
Dom
Btw. Im running core droid 0.7
Sent from my HTC HD2 using XDA App
you dont need recovery mode just activate debug mode and push the files then restart
After following [ROOT] HTC EVO 4G 2.3 Gingerbread root tutorial. My evo is able to connect and able to enter in my beta key and it starts running with the ZRooting please wait line.. After 20 minutes its still sitting there and the phone is still at the home screen. I have charge only and fastboot mode checked in the settings of the phone. Also sync is not installed and the proper drivers were based off the link. So what am i missing. I am using 2.16.0.1 hboot method..
Any help is appreciated.
portreeve said:
After following [ROOT] HTC EVO 4G 2.3 Gingerbread root tutorial. My evo is able to connect and able to enter in my beta key and it starts running with the ZRooting please wait line.. After 20 minutes its still sitting there and the phone is still at the home screen. I have charge only and fastboot mode checked in the settings of the phone. Also sync is not installed and the proper drivers were based off the link. So what am i missing. I am using 2.16.0.1 hboot method..
Any help is appreciated.
Click to expand...
Click to collapse
im having the same problem
Make sure you have USB debugging on too.
Applications> Development> USB Debugging {Check}
I thought it was supposed to be done with fastboot OFF?
Sent from Looney Tunes Central!
portreeve said:
After following [ROOT] HTC EVO 4G 2.3 Gingerbread root tutorial. My evo is able to connect and able to enter in my beta key and it starts running with the ZRooting please wait line.. After 20 minutes its still sitting there and the phone is still at the home screen. I have charge only and fastboot mode checked in the settings of the phone. Also sync is not installed and the proper drivers were based off the link. So what am i missing. I am using 2.16.0.1 hboot method..
Any help is appreciated.
Click to expand...
Click to collapse
tazman1963 said:
I thought it was supposed to be done with fastboot OFF?
Sent from Looney Tunes Central!
Click to expand...
Click to collapse
Yes, the fastboot mode needs to be UNCHECKED/OFF.
Make sure you uninstall HTC sync from your computer. I finally got it to work for me yesterday morning.
Yes fast boot unchecked a must, usb debug on charge only afterwards, choose recovery itl boot into a blue cwm screen and choose the su-2.3.6.3 zip on your sd card which needs to be on root of sd, then youll have superuser pushed to your device thats it!!!!!!!
Hey all!
My wife's nexus 4 screen is just dead! Latest signs of life were some weird colors and black and white lines and now it's completely black.
The problem is that it's locked (pattern lock) and we cannot access the phone.
I tried many times to unlock it blindly but I don't know if it's registering touches or not.
The phone LED is blinking normally while I can hear apps notifications and calls ring normally but screen is always black.
I just want to access the internal memory to copy the important photos and some important files on PC.
As you know, a locked device cannot be accessed through MTP.
I dunno what to do, any help would be appreciated!
Fixing the screen in here will cost me around 200 to 300$ which is the device price! And I'm not planning to do so! I just want to access the internal memory to access the files and use my spare phone.
I know that also formatting the phone to original state will remove the lock but I can't find a way to do so while it's completely black!
Thanks!
Life Engineer said:
Hey all!
My wife's nexus 4 screen is just dead! Latest signs of life were some weird colors and black and white lines and now it's completely black.
The problem is that it's locked (pattern lock) and we cannot access the phone.
I tried many times to unlock it blindly but I don't know if it's registering touches or not.
The phone LED is blinking normally while I can hear apps notifications and calls ring normally but screen is always black.
I just want to access the internal memory to copy the important photos and some important files on PC.
As you know, a locked device cannot be accessed through MTP.
I dunno what to do, any help would be appreciated!
Fixing the screen in here will cost me around 200 to 300$ which is the device price! And I'm not planning to do so! I just want to access the internal memory to access the files and use my spare phone.
I know that also formatting the phone to original state will remove the lock but I can't find a way to do so while it's completely black!
Thanks!
Click to expand...
Click to collapse
Do you have a custom recovery on? Is your bootloader unlocked? If so you may have an option using adb.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Do you have a custom recovery on? Is your bootloader unlocked? If so you may have an option using adb.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Yes the bootloader is unlocked and I have a custom recovery!
But what options do I have if I am practically blind?
Thanks mate!
Sent from my LG-D802 using XDA Premium 4 mobile app
Life Engineer said:
Yes the bootloader is unlocked and I have a custom recovery!
But what options do I have if I am practically blind?
Thanks mate!
Sent from my LG-D802 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Unplug your device from the usb and press and hold the power button go 15 seconds. That'll make sure your device is powered off. Then press and hold vol down and power until you feel it vibrate. Then release the keys. You should now be in the bootloader. Then press power up twice and then press power. That should put you into recovery. Then use adb pull to pull your data off.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Unplug your device from the usb and press and hold the power button go 15 seconds. That'll make sure your device is powered off. Then press and hold vol down and power until you feel it vibrate. Then release the keys. You should now be in the bootloader. Then press power up twice and then press power. That should put you into recovery. Then use adb pull to pull your data off.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks man for the help!
I will try it and let you know how it goes! Hopefully it works!
Sent from my LG-D802 using XDA Premium 4 mobile app
Life Engineer said:
Thanks man for the help!
I will try it and let you know how it goes! Hopefully it works!
Sent from my LG-D802 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No problem. If you need more help let me know.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
No problem. If you need more help let me know.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
The adb method failed on me 10 times although I was sure I'm in recovery mode!
Although I followed the steps exactly and I hear the "dong" sound on PC that the device is now connected,
adb devices command gives me nothing
and adb shell gives me error: no device connected
Of course to do that I have drivers installed and androidSDK too... I even followed an online guide to make sure I'm doing everything right...
I'm desperate now
Do you think these might work from bootloader instead of recovery?
If so could you please remind me how to reach it?
Thanks anyways man!
Life Engineer said:
The adb method failed on me 10 times although I was sure I'm in recovery mode!
Although I followed the steps exactly and I hear the "dong" sound on PC that the device is now connected,
adb devices command gives me nothing
and adb shell gives me error: no device connected
Of course to do that I have drivers installed and androidSDK too... I even followed an online guide to make sure I'm doing everything right...
I'm desperate now
Do you think these might work from bootloader instead of recovery?
If so could you please remind me how to reach it?
Thanks anyways man!
Click to expand...
Click to collapse
Google 15 second adb install xda. Try those drivers. It could be just a driver issue. Do use the command adb devices first and hopefully you'll get your device recognized. Once you do then use the adb pull
You won't be able to pull any files in the bootloader, you need to be in recovery.
Sent from my Nexus 5 using XDA Free mobile app
U
jd1639 said:
Google 15 second adb install xda. Try those drivers. It could be just a driver issue. Do use the command adb devices first and hopefully you'll get your device recognized. Once you do then use the adb pull
You won't be able to pull any files in the bootloader, you need to be in recovery.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
OK, I've done this simulating a non-functioning screen:
1. Don't have the usb plugged into the phone. Make sure the device is off, press and hold power for 15 seconds
2. Press and hold vol down and power simultaneously, when you feel the vibration release both keys
3. Press vol up twice then press power. It should vibrate once as it enters recovery, give it 15 seconds to boot into recovery
4. Plug in the usb cable
5. Open a cmd window on your pc and type adb devices. It should recognize the connected device
6. If your device is recognized use adb pull /sdcard/ c:\sdcard Have the c:\sdcard folder on your pc beforehand
If your device is not recognized got to device manager and see if there is a usb port with an exclamation mark on it. If there is you don't have the drivers set up right. Right click on that usb port and go to update driver software, go to browse my computer and let me pick from a list on the computer. Chose android composite adb interface. It'll probably ask you if your sure, just say yes.
jd1639 said:
U
OK, I've done this simulating a non-functioning screen:
1. Don't have the usb plugged into the phone. Make sure the device is off, press and hold power for 15 seconds
2. Press and hold vol down and power simultaneously, when you feel the vibration release both keys
3. Press vol up twice then press power. It should vibrate once as it enters recovery, give it 15 seconds to boot into recovery
4. Plug in the usb cable
5. Open a cmd window on your pc and type adb devices. It should recognize the connected device
6. If your device is recognized use adb pull /sdcard/ c:\sdcard Have the c:\sdcard folder on your pc beforehand
If your device is not recognized got to device manager and see if there is a usb port with an exclamation mark on it. If there is you don't have the drivers set up right. Right click on that usb port and go to update driver software, go to browse my computer and let me pick from a list on the computer. Chose android composite adb interface. It'll probably ask you if your sure, just say yes.
Click to expand...
Click to collapse
Bro bro bro it works!!!! Thank you thank you! It was a driver issue!
However, I am holding the laptop right now and I tried:
adb pull /sdcard/ etc...
and
adb pull /mnt/scard/ etc...
and both say remote object "/scard/" or "/mnt/sdcard" does not exist
What could it be named?
I want the Internal memory.
:EDIT :
Its working now!
THANK YOU!
Thanks a 1000000 times!
Life Engineer said:
Bro bro bro it works!!!! Thank you thank you! It was a driver issue!
However, I am holding the laptop right now and I tried:
adb pull /sdcard/ etc...
and
adb pull /mnt/scard/ etc...
and both say remote object "/scard/" or "/mnt/sdcard" does not exist
What could it be named?
I want the Internal memory.
:EDIT :
Its working now!
THANK YOU!
Thanks a 1000000 times!
Click to expand...
Click to collapse
Glad you got it working
Sent from my Nexus 5 using XDA Free mobile app
Hello, fellas. My device is SM-G928F. Before few hours I've switch on UPSM. I found right away there no such apps or option to turn off UPSM. The only button available was the Settings, but very limited - airplane mode, wifi, brightness and etc. My mistake was to reboot the device and the result is persistent bootloop. No option to turf off the phone or reboot. I must wait to drain the battery.
The case is pretty lame, because of my Package Disable Pro. I'm not using auto disable packages, but everything of my choise. I was aware of disable com.sec.android.emergencylauncher, so I'm sure i don't touch any critical packages, because of weeks of no-problemos using.
So my questions: Is there any chance to turn off upsm via adb or enable all disabled apps via adb? My device is not rooted, so this is no way. Factory reset is no way out. Any suggestions?
Of couse Safe Mode is not usable method too, because of the bootloop? Any suggestions?
Best regards
PS - Botting into stock recovery, download mode or shutting down the device is ok. But what about debugging via adb in the download mode? Any chances to get working adb via download mode? Any suggestions? ^____^
MoHuToP said:
PS - Botting into stock recovery, download mode or shutting down the device is ok. But what about debugging via adb in the download mode? Any chances to get working adb via download mode? Any suggestions? ^____^
Click to expand...
Click to collapse
Boot into your Recovery. It should be a custom one like TWRP.
In TWRP click on Advance -> File Manager.
There you have to find '/data/data/com.android.providers.settings/databases'. This is the place where your settings get stored.
Just add to the 3 files inside a .bak to the end and reboot. This should have reset all your settings and it should boot fine
WerWolv said:
Boot into your Recovery. It should be a custom one like TWRP.
In TWRP click on Advance -> File Manager.
There you have to find '/data/data/com.android.providers.settings/databases'. This is the place where your settings get stored.
Just add to the 3 files inside a .bak to the end and reboot. This should have reset all your settings and it should boot fine
Click to expand...
Click to collapse
Thanks for the tips, but I don't want to root.
Under Windows 7, when I check the device, the console return me unauthorized device, but in debian I see offline.
I cannot get access to the data partition in this moment. I'm sure USB Debugging is enable. Under Debian, when I connect device to my pc, I get SIM code question. Any ideas?
MoHuToP said:
Thanks for the tips, but I don't want to root.
Under Windows 7, when I check the device, the console return me unauthorized device, but in debian I see offline.
I cannot get access to the data partition in this moment. I'm sure USB Debugging is enable. Under Debian, when I connect device to my pc, I get SIM code question. Any ideas?
Click to expand...
Click to collapse
If you don't want to root or flash anything, the only thing you can do is a factory reset...
Dear forum friends, the easiest way was rooting the phone and flashing the latest twrp. After that is very easy - enable all emergency packages via adb, which associated with upsm. So if you use Package Disabler backup everything and check twice before reboot the device.
Thanks for helping, @WerWolv!
Sent from my SM-G928F using Tapatalk