ADB Help... Please! - Android Q&A, Help & Troubleshooting

I'm trying to execute a .bat file with ADB, but I'm not really experienced with using ADB. Can someone Please post the commands necessary to run this stupid file?
Also can it be done with a app or wireless ADB?
Sent from my PG86100 using XDA Premium 4 mobile app

Related

Root ?

I was rooting my phone using adb and it all whent ok until one of the commands it told me to chek all the charters and they were all different any help thanks
Sent from my ADR6400L using XDA App
data/local/busybox md5sum /dev/block/mmcblk0p18 If the output does not match "6991368ee2deaf182048a3ed9d3c0fcb," try again; if it still doesn’t work, seek help from chat.andirc.net in
Sent from my ADR6400L using XDA App
Delete the file from your computer, download it again, and repeat the steps starting with the last adb push before your md5 sum.didn't match.
Sent from my ADR6400L using Tapatalk

[SOLVED] Renamed PortalApp with Root Explorer

In trying to enable the webtop app I renamed the PortalApp.apk to PortalApp.apk.bak. Now I get an error message:
"The application com.android.portal (com.android.portal) has stopped unexpectedly.Please try again."
I know, I shouldn't have renamed that apk when in the thread it didn't say to but I figured I needed to replace that too. I've learned my lesson.
How can I go about fixing this?
Connect your mobile to computer .
I hope you have adb checked already!
Open cmd.
And write:
adb shell
su
(and TRY TO ALLOW on the phone)
mv system/app/PortalApp.apk.bak system/app/PortalApp.apk
If you can't allow SU request, respond here. To give a try with same commands on early usb enumeration!
If I helped, hit thanks button
Sent from my MB860 using XDA App
Do you mean PortalApp.apk instead of Portal.apk?
Bagel Bear said:
Do you mean PortalApp.apk instead of Portal.apk?
Click to expand...
Click to collapse
Yes. I Am on the atrix. And I couldnt see or remember your apk, so I posted and later edit.
Sent from my MB860 using XDA App
I do have the sdk installed and I've used it before but I've forgotten how to get to it. Just typing "adb shell" on the first line of cmd won't do much help if I'm not in the right directory.
With windows explorer!
Find your sdk folder. Enter it.
Copy everything.
Go to Windows folder, and paste everything!
Now you have "adb" command directly in your cmd prompt!
Sent from my MB860 using XDA App
Can I give you one million thanks?
Everything worked out alright!
Yes.
Go to xda settings, click the autothanks button, put "Paschalis" and then allow SU Request on your atrix!
Heheheh!!
Your are welcome!!
Sent from my MB860 using XDA App
Can you also replace:
Need help in your topic title, with:
[SOLVED] tag?
So somebody else with same problem, find answer easily!
Sent from my MB860 using XDA App

Few questions

Has there been anything on rooting directly from the phone?
And has anyone made an update.zip with unlockd boot?
Sent from my MB855 using XDA Premium App
Yes, you can root directly from your phone by using terminal emulator but you have to put photon-torpedo.tar to /data/tmp first. I rooted my photon on the phone itself.
GraphicDemon said:
Has there been anything on rooting directly from the phone?
And has anyone made an update.zip with unlockd boot?
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1216143
A little bit of reading goes a long, long way. This thread will tell you the current state of the art.
urcboss07 said:
Yes, you can root directly from your phone by using terminal emulator but you have to put photon-torpedo.tar to /data/tmp first. I rooted my photon on the phone itself.
Click to expand...
Click to collapse
Ok can you please tell me how you got terminal to process your commands. I get permission denied every time I use terminal to try and do anything with /data. I obviously need root to complete the commands using terminal to write to anything besides the sd. I would appreciate any help. Thanks in advance.
Sent from my MB855 using XDA Premium App
Ok I tried using it from phone but how u push it to data without using comp
Sent from my MB855 using XDA Premium App
Did you install superuser from market? You also need to install Superuser and push photon-torpedo.tar to /data/tmp
then type the following in terminal emulator:
cd /data/tmp
/bin/tar xf /data/tmp/photon-torpedo.tar
/data/tmp/photon-torpedo.sh
/data/tmp/install-su.sh
Just say "THANKS" to Edgan for great work and job well done.
urcboss07 said:
Did you install superuser from market? You also need to install Superuser and push photon-torpedo.tar to /data/tmp
then type the following in terminal emulator:
cd /data/tmp
/bin/tar xf /data/tmp/photon-torpedo.tar
/data/tmp/photon-torpedo.sh
/data/tmp/install-su.sh
Just say "THANKS" to Edgan for great work and job well done.
Click to expand...
Click to collapse
Not sure if you were responding to me or the other guy but my MacBook and my Linux laptop both recognize my phone but they both say its offline when I try and use a adb. Some people say they have done this root without the computer and just using the terminal on the phone but I get permission denied messages since it needs root. I have super user installed but that does me no good without root. I want to know how they got past the permission denied using the terminal on the phone?
Sent from my MB855 using XDA Premium App
smoothone said:
Not sure if you were responding to me or the other guy but my MacBook and my Linux laptop both recognize my phone but they both say its offline when I try and use a adb. Some people say they have done this root without the computer and just using the terminal on the phone but I get permission denied messages since it needs root. I have super user installed but that does me no good without root. I want to know how they got past the permission denied using the terminal on the phone?
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Exactly I'm having same problem. I m not understanding how I can push it to that part of the phone without root.
Sent from my MB855 using XDA Premium App
GraphicDemon said:
Exactly I'm having same problem. I m not understanding how I can push it to that part of the phone without root.
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Make sure you have USB debugging checked. Menu > settings > applications > development. This was my problem when I first tried to adb the file to the /data/tmp folder on the phone.
Also, I was getting an error at "Run /data/tmp/photon-torpedo.sh," but I just ignored it and kept going. It worked. You can use root checker from the market to verify that you have root.
my2cents said:
Make sure you have USB debugging checked. Menu > settings > applications > development. This was my problem when I first tried to adb the file to the /data/tmp folder on the phone.
Also, I was getting an error at "Run /data/tmp/photon-torpedo.sh," but I just ignored it and kept going. It worked. You can use root checker from the market to verify that you have root.
Click to expand...
Click to collapse
Thanks for the advice but the both of us are not using adb. I always have debugging enabled. We are both trying to do this from or phones with terminal. An update zip would be amazing :~)
Sent from my MB855 using XDA Premium App
smoothone said:
Thanks for the advice but the both of us are not using adb. I always have debugging enabled. We are both trying to do this from or phones with terminal. An update zip would be amazing :~)
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Ok. I thought one of you was trying to use a Mac or something to push the file then use terminal. And an update.zip would be awesome!
my2cents said:
Ok. I thought one of you was trying to use a Mac or something to push the file then use terminal. And an update.zip would be awesome!
Click to expand...
Click to collapse
I was trying to use adb with my Mac and my Linux laptop but both give me "device offline" when I use adb. I'm going to try a different USB cable as I have seen this happen before and a different cable works but I find it hard to believe that i'm the only one that used stock cable and does not work
Sent from my MB855 using XDA Premium App
What happened to that person said they did everything from phone?
Sent from my MB855 using XDA Premium App
GraphicDemon said:
What happened to that person said they did everything from phone?
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Lol, I guess they all vanished! Funny thing is that I am not new to Linux and those are busybox commands which
1: busybox does not come installed on the factory ROM and
2: even if you install it from the market it still needs root access.
Sent from my MB855 using XDA Premium App
So what are we developing in this thread again?
Sent from my MB855 using XDA App
Custodian said:
So what are we developing in this thread again?
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
If you cannot help then just save your useless comment! Your bringing back bad memories from the EVO forum. That forum was full of bashers and flamers.
smoothone said:
Lol, I guess they all vanished! Funny thing is that I am not new to Linux and those are busybox commands which
1: busybox does not come installed on the factory ROM and
2: even if you install it from the market it still needs root access.
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Yeah tell me about it, wish they would just make a damn step sheet it's getting ridiculous.
Sent from my MB855 using XDA Premium App
http://forum.xda-developers.com/showthread.php?p=16904179
Sent from my MB855 using Tapatalk

Rooting Motorola Photon

I would appreciate if somebody could tell me step by step on how to root my phone.
There are many different variants on the photon-torpedo method that you can find on these forums, the stickies, and through google search, but here is the step by step method I prefer. Credit goes to Edgan.
Photon Root Instructions
1. Create a folder in the C:/ drive on your Windows 7 machine called Photon root. (You can call it anything you want, but that’s what I called mine and will use for the purpose of this post).
2. Download and install the adb package from http://gititbit.ch/AFAS and install them into C:/Photon root.
3. Download photon-torpedo.tar from http://proton.cygnusx-1.org/~edgan/photon/photon-torpedo.tar and copy it to C:/Photon root in your windows machine. Do not unzip it.
4. On your phone, go to Settings > Applications > Development and select USB Debugging.
5. Plug your phone to your computer and on your phone, set it to USB Mass Storage.
6. Copy photon-torpedo.tar from C:/Photon Root to your phone’s internal storage using Windows 7. Don’t put it in any folder, and leave it zipped.
7. Install Superuser from the Market. (This is absolutely necessary to do before you get started or it won’t work)
8. Open the command prompt (Start >> run “cmd” >> enter)
9. Type the following commands – don’t worry about the errors, it will be all right
• cd C:/photon root • adb push photon-torpedo.tar /data/tmp • adb shell • cd /data/tmp • /bin/tar xf /data/tmp/photon-torpedo.tar • /data/tmp/photon-torpedo.sh • /data/tmp/install-su.sh
10. That's it. Reboot and enjoy.
Sent from my MB855 using xda premium
Here our friend qbking77 latest step by step video. https://www.youtube.com/watch?v=7xAYkejI4CE&feature=youtube_gdata_player
Sent from my SPH-D710 using Tapatalk 2
If ypu dont want to use your computer you can do it right from your phone just google root photon without computer and the first thing to pop up should be an xda thread
Sent from my MB855 using xda app-developers app
The adb package link dont work
Sent from my MB855 using xda app-developers app
MarcquisDale said:
The adb package link dont work
Sent from my MB855 using xda app-developers app
Click to expand...
Click to collapse
did you try the way i suggested? http://forum.xda-developers.com/showthread.php?t=1243792 it never fails
Ill try that way
Sent from my MB855 using xda app-developers app
Any Luck
MarcquisDale said:
The adb package link dont work
Sent from my MB855 using xda app-developers app
Click to expand...
Click to collapse
Hello Marcq, Did you get any working link for adb package. I am searching for long time. If you have, please update. Thanks. Bala
nice
jayalaba said:
I am searching for long time. ...
Click to expand...
Click to collapse
Go here: http://forum.xda-developers.com/showthread.php?t=1819660
I just verified the download, it has the adb.exe you seek, and also the photon-torpedo.tar file you'll need. It's all in a zip file, QBKing77 also includes a video on what to do.
Hope this helps.
Btw, drop a thanks on mof for the work. You might also seriously consider flashing mof's Slim ROM, it's great.
Sent from my Slim Photon using xda app-developers app
one guy just posted a link
Sent from my MB855 using xda app-developers app
adb package
adb package link is dead
dark_boy99 said:
adb package link is dead
Click to expand...
Click to collapse
This community has been dead for a while so it may be hard to find a working link
Sent from my XT1058 using XDA Free mobile app
MarcquisDale said:
This community has been dead for a while so it may be hard to find a working link
Sent from my XT1058 using XDA Free mobile app
Click to expand...
Click to collapse
i downloaded this from extra link
i rooted this phone with your tips
tnx a lot
*********************
now my device in logo...
http://forum.xda-developers.com/showthread.php?t=749620&page=5#post60391586

Can I Re-Root using Terminal Emulator?

Hi im using the lgp-769 v10g T-Mobile and i was rooted on this phone but i lost root and now in system xbin i have a file named su.old, i explored this using file browser, i found that i can access this file using terminal emulator which changes the $ sign to #. I accessed it via /system/xbin/su.old... anyways I'm wondering if there is anyway i can use this and terminal emulator to regain root? I also have busybox and kbox2 working in terminal without root if that even matters... can someone kindly point me in the right direction, it would be most appreciated. Thank you all.
Sent from my LG-P769 using XDA Premium 4 mobile app
DarksiderzSK4G said:
Hi im using the lgp-769 v10g T-Mobile and i was rooted on this phone but i lost root and now in system xbin i have a file named su.old, i explored this using file browser, i found that i can access this file using terminal emulator which changes the $ sign to #. I accessed it via /system/xbin/su.old... anyways I'm wondering if there is anyway i can use this and terminal emulator to regain root? I also have busybox and kbox2 working in terminal without root if that even matters... can someone kindly point me in the right direction, it would be most appreciated. Thank you all.
Sent from my LG-P769 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
When your have root (#) try this
Code:
cp /system/xbin/su.old /system/bin/su
chmod 644 /system/bin/su
or try
Code:
mv su.old su
Here is screenshot of the results of your suggestions. What should i do now?
Sent from my LG-P769 using XDA Premium 4 mobile app
Well it says cross device link using mv and it says can't create su and. something about can't stat system/bin/su cant chmod644
Sent from my LG-P769 using XDA Premium 4 mobile app
I ended up getting it to re-root using a few commands in terminal emulator if anyone is still stuck after OTA look into using terminal emulator
Sent from my LG-P769 using XDA Premium 4 mobile app
Hi can I root moto g4 with terminal emulator (first time doing it)

Categories

Resources