can some one help me use adb - Ideos S7 General

I just set up android SDK and adb. It's all set up correctly. Now theses are my direction I have to use.
http://www.androidtablets.net/forum/huawei-ideos-s7-technical/23497-working-connection-adhoc.html
It's says to put the file in the work directory of my pc. What's that mean and were is that. Also I've never used and before . Do I enter each line as is and hit enter. I am just little confused and don't want to mess my tablet up.
If this doesn't work can I replace it with the orginal file ?

I think this post is in the wrong section can a mod move it if so please to q n a

Related

adb pushing apn list

Can anyone tell me what I am doing wrong...
I am trying to push an apn list to my magic 32b (vodafone) and am using the following commands
adb devices
adb remount
adb push apns-conf.xml /system/etc
This is how i`ve seen to do it on these forums... and it pushes ok... but i never get any apns show up on my phone..
even after doing the reset to default thing.
What am i doing wrong?? does the file need to need to be somewhere else on the phone?? or called something different???
any help is appreciated
bump######
maybe try packaging it into an update.zip and updating it through recovery. that might work. some files wont let you just simply push stuff through.
you can try first to push it again through recovery. so reboot into recovery and try pushing it.
if dont work, try the update.zip method.
will try what you mentioned... but I have a feeling it wont work...
as cyanogenmod roms already have the file in them. Why does it not already show up some APNs if not mine.
Now trying again.
ok so tried pushing while in recovery mode, and no luck...
I have never put together an update.zip... so am wondering how i would go about it...
Does the zip need signing??? and how would i structure it to make certain the file goes to the right place??
Thanks for your help
Yep.. it needs to be signed.. I've re-searched this files to sign and they are a bit out there.. you may find some dead links, but there's always a good one.. But, tell me you, use a linux OS? Because what's out there is for linux, I don't even researched if there's something for windows!
i`m on windows :-(
wud luv to make the change to linux, but dont know enuf... and like my gaming to much!!
Cud anyone on a linux machine possibly put together an update.zip for me??
search in the dream's theme forum for stericson's easy auto sign app. works for windows.
I always push my apns-conf that way.
Just one thing: do you do it right after wiping, updating and rebooting? On the PIN screen at first boot, before the Android tutorial.
That's how I do it and it works fine for me.
RolSMcS said:
I always push my apns-conf that way.
Just one thing: do you do it right after wiping, updating and rebooting? On the PIN screen at first boot, before the Android tutorial.
That's how I do it and it works fine for me.
Click to expand...
Click to collapse
it wont work because the system doesnt read that file after first boot...apn list is loaded elsewhere in /data/data/
If ur going to do it that way u have wipe data after in recovery or delete the data/data/com.android.telephony watever folder and then reboot .....wiping data being easier
Sent from my EVO 4G using XDA App

No instant root for Hero under 2.1?

There was an application called instantroot that roots HTC hero running 1.5 but until the software was upgraded nothing was done for the instantroot application. Do you have information about that? Is the developer still working on it?
rapsass said:
There was an application called instantroot that roots HTC hero running 1.5 but until the software was upgraded nothing was done for the instantroot application. Do you have information about that? Is the developer still working on it?
Click to expand...
Click to collapse
Not heard of it for a while, but this method at http://forum.xda-developers.com/showthread.php?t=726118 works on 2.1 fine with little issues.
Thanks but I'm still looking for a very easy way to do the root. I don't know why(may be I'm afraid) but I still hesitate to root my hero. I'll think about it again, thank again.
Following that link pulser gave will give the easiest way to root your hero.
Its thanks to that I'm able to root it with no problems whatsoever.
Good Luck!! Don't let yourself stay unrooted!!!
Ok. I'll try later as the villainrom web site is not reachable now.
rapsass said:
Ok. I'll try later as the villainrom web site is not reachable now.
Click to expand...
Click to collapse
Hmm. Are you having trouble too getting onto the site?
Here's the instructions as posted.
Hi all,
I believe I have managed to find a way to root the 2.1 RUU for GSM Hero, completely using the work of wag3slav3 over at XDA (http://forum.xda-developers.com/showthread.php?t=724741), so thanks to him
I took his Droid Eris root and used the correct files for our Hero, and thanks to daentech on IRC, we tested the process and it worked. Here are the conditions used in the test:
1) GSM HTC Hero installed with the 2.1 ROM based on RUU (on this occasion an update.zip was used, as the user involved didn't want to lose root obviously). That zip is unrooted and stock, taken straight from the RUU and converted to update.zip.
2) Booted into ROM, and enabled USB debugging. ADB was installed and set up on this machine, as per this guide - http://www.villainrom.co.uk/viewtopic.php?f=46&t=1735
3) Then downloaded this file: http://www.villainrom.co.uk/uploads/GSMRoot.zip
4) Extract it to a folder on your computer. Open the command prompt using Start > Run > cmd.exe (and press enter)
5) use cd to get into the folder you stored the extracted files.
6) Run the command "runindos.bat"
(If you use linux, put adb in your path folder, and then download this shell script: http://www.villainrom.co.uk/uploads/runinlinuxadb.sh and execute it as normal. Rest will be same as in windows. )
7) Ideally, the phone should sit there for a bit, with some things appearing on screen like
Files copied and permissions set, rebooting HTC Andriod 2.1
Your phone will now reboot into normal mode, then reboot into recovery mode
If it does not reboot the second time, wait 10 minutes and manually reboot and begin again
Your phone is now rebooting in Rooted Recovery mode, do a backup and load yourROMs
Click to expand...
Click to collapse
And it will reboot a couple of times. You will hopefully end up sitting in recovery with a blue 'care bear' in the background
If so, you now have a custom recovery installed. Do a nandroid, and flash a custom ROM like VillainROM 12 or whatever. You should now have root.
8) To further enhance the usefulness of recovery flash VR 12 from here: http://villainrom.co.uk/viewtopic.php?f=95&t=1807 which includes a modified recovery that wipes better than the stock Amon-Ra
If you don't get it to work, please post any errors or details of what happens, and copy and paste your entire command prompt window contents into a
Code:
[/quote] box in the forum window so we can see what's happening.
Hope this works
[size=3]PS. Here are some ROM links for you.
http://villainrom.co.uk/viewtopic.php?f=95&t=1807 - VillainROM 12 (Full Sense 2.1 ROM)
http://www.villainrom.co.uk/viewtopic.php?f=45&t=2844 - FroydVillain 1.1.0 (Vanilla 2.2 Froyo ROM)[/size]
[/quote]
If you can't download the file, get it from http://dl.dropbox.com/u/7618177/GSMRoot.zip
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Oh man thank you. I wonder if I must install ADB to root my phone. I ask this because I still can't reach villainrom web site to check this guide http://www.villainrom.co.uk/viewtopic.php?f=46&t=1735
rapsass said:
Oh man thank you. I wonder if I must install ADB to root my phone. I ask this because I still can't reach villainrom web site to check this guide http://www.villainrom.co.uk/viewtopic.php?f=46&t=1735
Click to expand...
Click to collapse
If you find the user btdag, his signature has the same guide, as he wrote it on both sites. I just use that link as it's easier to find.
pulser_g2 said:
If you find the user btdag, his signature has the same guide, as he wrote it on both sites. I just use that link as it's easier to find.
Click to expand...
Click to collapse
I would love to take credit for that guide but the user ante0 created it (such a simple method I overlooked). Here is it quoted. It is missing pictures but should make enough sense (i hope). It is highly recommended to have the latest HTC Sync installed (link in my sig) for this guide.
Tools needed:
Android SDK (Links below)
HTC Sync (Links below)
Winrar - to extract Android's SDK files.
Patience and time.
1. Getting ADB (Android Debug Bridge)
Okay. You now need to get ADB, which is a part of android's SDK. It can be obtained here http://developer.android.com/sdk/downlo ... indows.zip
or if it's updated when you read this you can go here http://developer.android.com/sdk/index.html and download it. Get the Windows version if you use a windows PC.
Next we need to "install" it. This is done by simply extracting it to your harddrive (Install WinRar, then rightclick on the zip file). I chose C:\android-sdk-windows\. (Actually I chose C:\, the folder in the zip is named android-sdk-windows, so it goes there by default.)
After that is done we are now done with the "installing" part.
2. Setting up environment variables (access adb from outside of \sdk\tools directory.)
Now that we have extracted all files we need to set up environment variables to make our lives easier.
I always do this, because if you don't you need to be in the sdk\tools folder at all times...
Okay, so here we go...
Windows XP:
Rightclick on "My computer" and select "Properties".
click on the "Advanced" tab in the box that appears, looks like the pic below.
Image
Click on the button named "Environment Variables".
Now, doubleclick on the text entry named "Path" in the lower list box.
at the end of it, enter "might\have\other\entries\before\;C:\Path\To\SDK\Tools".
In my "path" it looks like this ";C:\android-sdk-windows\tools\".
(";" is required at the start so windows knows it's a new entry.)
Click on OK to exit out of the dialog, then OK again to get out of My computer's properties.
Now we have it set up.
Windows 7/Vista:
This is similar to Windows XP's setup of environment variables.
Rightclick on "My computer" and select Properties.
In the System window that appears click on "Advanced System settings" located in the left list.
Click on the Advanced tab in the box that appears, then on the "environment variables" button.
Same thing here. Doubleclick on "Path" located in the lower list box.
At the end of it, enter "might\have\other\entries\before\;C:\Path\To\SDK\Tools".
In my "path" it looks like this ";C:\android-sdk-windows\tools\".
(";" is required at the start so windows knows it's a new entry.)
Now click on OK, then OK again to exit.
Alright, all set up!
3. Making sure USB works...
Use this guide: viewtopic.php?f=15&t=379
4. Using ADB
I won't list all commands you can use here. I will only list some examples...
Remember to plug your phone in your usb cable (I've forgotten sometimes... lol)
Start by opening a command prompt.
This is done by opening up the startmenu then click on "Run..." (Alternative way: Windowskey + R).
In the "Run..." box, enter "cmd" without quotes.
If you have some knowledge of using a cmd prompt you don't need to read the next part.
To navigate you mainly use the commands CD and DIR.
Here's an image of what it looks like
Image
C:\Documents and settings\jwork> tells you what your current working folder is.
To get out of it, use the command "cd ..".
This will go back one folder, so your new location will be C:\Documents and settings>
One more "cd .." will take you to C:\.
Now, lets say you have a folder named Images in C:\. To enter it you use "cd Images".
If you want to list all files in that folder, enter the command "dir".
Now you might have a image named image01.jpg in that folder, that you want to get to your phone.
Use the command adb push image01.jpg /sdcard/
It should notify you now if the push was successful.
You can check if the image is on your sdcard by using the command "adb shell ls /sdcard/".
That should conclude this guide...
One more thing, if you just enter "adb" it will show a list of all commands with descriptions.
Click to expand...
Click to collapse
Have you ever heard of Universal Androot? It is only one click away to root your hero2.1.
It's working on my hero.
Universal Androot? Never heard of it. But it looks great and easy. Can I also install another firmware after I root my device with it?
Can I install another firmware like FroydVillain 1.2.2 OTA on my hero after rooted it with this application?
If it installs a custom recovery image then yes you should be able to. If not try installing ClockworkMod and then installing AmonRA - once you have root.
You are the best. Thank you.
Application thread in the Nexus forum. Worked on my Hero 2.1 for instant root.
http://forum.xda-developers.com/showthread.php?t=747598

help with Fastboot on mac plz

Hey I'm hoping that you guys can help me. So I picked up a streak from a buddy a few days ago its running 2.2 build 10688 and bb 305 I would like to go to dj steves 1.6.1 because I hear that's the best one to run and from what I have looked up it gets highest scores in bench mark. Anyways I dont have pc I have a mac, so I have 1.5.1 cause streakdroid says you have to do 1.5.1 then 1.6.1 next I have amss.mbn 1.5.1+ or whatever and the recovery.img. So my question is i open terminal and put the phone in fast boot and plug it in blah blah it says fast boot mode on the bottom left so I know it is connected but what do I put in the command as the path so I can access it to flash everything over because I have no clue what the path is and no clue how to figure it out because there is no how tos for a mac.. Thanks for whoever will help me id love to get this streak going fast and smooth! Thanks everyone!!! One other question I also need to know where to put the amss and recivery.img iv already put 1.5.1.zip and 1.6.1.zip on the root of my sd!! Thanks again!!!!!!!
Sorry im a noob to fastboot
I use mac for fastboot.
There is a good guide somewhere around here . I lost the link
However he command for fastboot is
./fastboot -i 0x413c flash recovery recovery.alt.img
the part in red is the name of the recovery file u want to flash
for flashing amss it should be
./fastboot -i 0x413c flash amss amss.mbn
Also make sure that the terminal is open from the folder that has all the fastboot files
put your recovery and amss files in the same folder
Thanks tons for the reply man, I actually knew about the commands that you type but when you open terminal and then hit shell and then new command, once that pops up dont you have to type the path of the phone to flash the stuff to it or am I totally confused lol. Also where do I put my two files ( amss.mbn and recovery.img) is there any other things I need? If you can find that link also let me know! Thanks so much for the help!!
put the files in the folder Android/android-sdk-mac_86/tools
I only use these 2 files ( amss - was only for a one time use )
You have to open the terminal from the tools folder.
( you have to direct the terminal to that folder )( i use the app called terminal here - It resides in the side bar of my finder and i can open terminal from any folder)
U dont have to type anything to locate the phone.
when u type the commands and click enter , it should go through.
This is one good thing about mac.
Alright man ill give it a shot!! Lol ill let you know if anything comes up thanks tons!!
So got this is where my android-sdk-mac_x86/tools is located here: /Users/Nave/Desktop/android-sdk-mac_x86/tools do i need to move this somewhere else? yours says android/android-sdk-mac_x86/tools wheres android located? And then i go into terminal and hit new command and then put the path in and I should be good right? thanks
So either im stupid or just missing something, ill tell you my set up and what iv downloaded and you tell me what I need.
I have downloaded the following:
android-sdk-mac_x86
amss.mbn
recovery.img
along with 1.5.1.zip and 1.6.1.zip on my sd card on my streak.
Now what do i do this folder (android-sdk-mac_x86) is sitting on my desktop along with amss.mbn and recovery.img in the tools folder inside android-sdk-mac_x86/tools. Now what do I do im so lost and iv tried launching android in this folder which gets me to a program. IDK what to do from here and iv searched all over the place like I said i am a huge noob and I have no clue what I am doing I just wanna get the BB flashed to what it needs to be for dj steve 1.6.1 and get that on there. If you can write me up a step by step from where im at that would be awesome.
Idk what to put as the directory when I open terminal, shell, then new command what do I put there to access the android-sdk-mac_x86 that is sitting on my desktop.
Sorry im really stupid at this im a huge noob to this and so confused. Thanks again!
Any idea man?
See ur PM. See the second one.

[Q] Unlocking Bootloader.

Hey guys.
I've been searching this damn problems all day and cant find a straight forward solution i can use so i resort to asking you guys for help. Im sorry if the solution is easy but i just cant seem to get it.
I was trying to unlock the bootloader today. So i downloaded the SDK and got an unlock code. But then the problems begin. First i missed AdbWinApi.dll. I relocated the file so Fastboot.exe would work. But now it does something and closes up in an instant.
How the hell do i make the screen stay open to enter commands?
Thanks in advance guys.
fastboot has to be done via CMD sounds to me like your double clicking on it.
Cant give you more info than that really out of not wanting you to brick your device, if your struggling to use fastboot to unlock you should think twice about doing it.
also just to add there is NO advantage right now in unlocking the device.
Aightu said:
Hey guys.
I've been searching this damn problems all day and cant find a straight forward solution i can use so i resort to asking you guys for help. Im sorry if the solution is easy but i just cant seem to get it.
I was trying to unlock the bootloader today. So i downloaded the SDK and got an unlock code. But then the problems begin. First i missed AdbWinApi.dll. I relocated the file so Fastboot.exe would work. But now it does something and closes up in an instant.
How the hell do i make the screen stay open to enter commands?
Thanks in advance guys.
Click to expand...
Click to collapse
Yep i've noticed the same thing, there seems to be a .dll missing in the sdk, now worries though, download this fastboot package, i used it to unlock my bootloader
http://www.multiupload.com/BMJ24IL6XY
waz000000 said:
fastboot has to be done via CMD sounds to me like your double clicking on it.
Cant give you more info than that really out of not wanting you to brick your device, if your struggling to use fastboot to unlock you should think twice about doing it.
also just to add there is NO advantage right now in unlocking the device.
Click to expand...
Click to collapse
I am double clicking it because i cant figure out how to run it via CMD. I cant change directory in the CMD. I thought the only way to remove bloatware was to unlock bootloader?
Aightu said:
I am double clicking it because i cant figure out how to run it via CMD. I cant change directory in the CMD. I thought the only way to remove bloatware was to unlock bootloader?
Click to expand...
Click to collapse
No not at all!
Simple download gingerbreak and root it with that go to market download root uninstaller and off you go.
You change DIR like this:
hold shift and right click on the folder containing the tools select open command prompt here. but please dont do it! not until youve read a lot more.
There is no need right now to unlock the bootloader. Wait for custom roms possibly the weekend i may have a go at a kernel overclock but that's if i get the time wolves are playing sunderland.
Aightu said:
I am double clicking it because i cant figure out how to run it via CMD. I cant change directory in the CMD. I thought the only way to remove bloatware was to unlock bootloader?
Click to expand...
Click to collapse
to change directory in a command prompt, use the cd "directory location" command or cd .. to go back a folder
AndroHero said:
to change directory in a command prompt, use the cd "directory location" command or cd .. to go back a folder
Click to expand...
Click to collapse
Ok i finally got the CMD thing running. It just keeps saying: Waiting for device. Ive re-installed the drivers but it still cant really connect. Phone does go into fastboot mode. Anyone got any idea? Because else im just gonne try another laptop.
Fixed, used wrong driver.
Note that the android_winusb.inf file provided by SE is a quick hack (do a diff of both versions to appreciate the workmanship..)
In particular, it will not work as it is on Vista or Windows 7 with AMD x64 CPUs.
To fix it, you'll have to open the .inf file in a text editor, and copy the "; SonyEricsson" line and the 3 lines that follow under the "[Google.NTamd64]" section.
Save it, replug your phone with the search key pressed, and windows should finally be able to accept the driver.

Razer Phone 2 Unroot Step by step.

Unroot Razer Phone 2
This is the method that I used, I bought a phone that was rooted (little did I know) custom recovery was not installed on my device, but bootloader was unlocked and the phone was rooted. Disclaimer:I am no expert, i just used this method last night (2/2/2019) the Razer guides weren't the best at step by step so I am compiling what I learned from doing this. I am not responsible if you brick or bootloop your phone. You should also do independent research on XDA etc before you attempt this process so you understand the risks. I invite others that know more than me to correct what I may have missed and I will updated the OP.
Step 1
You need a USB C to A cord similar to the one that came with the phone, but Razer says that they don't recommend you use that one because it is designed for quick charge not data transfer so I used one that I bought on Amazon years Ago.
Step 2 you need to download 3 things:
The stock image that can be found here:https://developer.razer.com/razer-phone-dev-tools/factory-images/
You need to download Android SDK
https://developer.android.com/studio/releases/platform-tools.html
You need to download the drivers:
https://dl-ssl.google.com/android/repository/latest_usb_driver_windows.zip
Also open this https://developer.razer.com/razer-p...02.1384856067.1549140743-333350818.1549140743
Unzip all of these files to a new folder on your desktop call it Razer Phone 2 or whatever.
I also went into the phone tapped build number repeatedly to enable developer options and turned on USB debugging.
On the device, go to Settings > About <device>.
Tap the Build number seven times to make Settings > Developer options available.
Then enable the USB Debugging option.
Step 3 you need to Open this PDF courtesy of Razer:
https://s3.amazonaws.com/cheryl-fac...stall_Android_Fastboot_Drivers_on_Windows.pdf
This document loosely tells you how to install the drivers follow through all of the steps they give you
It should be noted you see a reference to “Download Mode” there is no such thing also the easiest way to get to this screen is to turn the phone off plug the USB into the computer with the phone not plugged in then hold volume down and plug the phone into the computer and press the power button holding volume down you should be taken to a screen that looks like this (aka download mode): see the image I attached.
I had an issue when I got to the Have Disk portion once I got to the step I had to drill all the way down to the android_winusb.inf file located inside the usb_driver folder. Once i got that it finally showed me the Android ADB Interface and the following dialogue screens. (if you are scrolling through a screen of Manufacturer -Models looking for something then you are doing it wrong) Once it is installed the device Should not have the Android with a ? on the device manager screen it should now say Android ADB Interface. (this part took me almost 2 hours I got frustrated and had to walk away for a bit so dont give up)
You can test that the drivers have been installed correctly like they say in the document but they left a step out for the not as tech savvy people. The way to do it is to open up a command prompt. You will see the directory that is is pointing to is likely C:\Users\[Insert user Name]. We need to change the directory it is looking at by typing.
Cd C:\Users\[insertusername]\Desktop\razer phone 2\platform-tools
(the command cd changes the directory)
You should see the directory change to be looking specifically at that folder now. Now simply type fastboot devices. The command should run and you should see the serial number of your device in the command prompt. If it does not return this then the drivers are not installed correctly.
(some other guides said you should also run the command adb devices, but I never got that to return anything all it ever told me when i ran it was “List of devices attached” with nothing else.
Step 4
Setting the Environment
Once i got to this step I was a little scared because I have never dealt with this before this allows you to call the ADB commands from the command prompt without having to specify the specific folder these ADB commands are located.
Follow the document referenced above until you get to the step that says click New
Instead we are going to look in the section titled “User Variables for [InsertUsername]
Under this section you will see a variable called PATH click on PATH and click edit. A box should pop up and on the right side it should say New, Edit, Browse, Delete, Move Up, Move Down.
Click on New and specify the folder called platform-tools mine looked like this
C:\Users\[username]\Desktop\razer phone 2\platform-tools
Click on ok the box will close and then click on ok again all the boxes pertaining to the environment variables will close.
Step 5
Test that the environment is set up correctly.
You might remember in step 4 we had to open a command prompt and tell it to look specifically at the platform-tools folder to run the ADB commands. With the environment now set we no longer have to specify the folder to run these commands, we can call them from any directory. To test this open a new command prompt it will likely be pointing to
C:\Users\[Insert user Name]
With the phone still plugged in and in “download mode” and without changing the directory, type
fastboot devices it should return the serial number of the phone if the environment has been properly setup if it has not been properly setup then it will return this error.
fastboot' is not recognized as an internal or external command,
operable program or batch file.
Step 6 (im not sure if this is necessary)
Because I bought my phone used I used rootchecker app to ensure the phone was indeed rooted and “download mode” told me the bootloader was unlocked. I wasnt sure if I needed to unlock the critical partitions, but you will notice in the razer instructions right above flash system image they call for them to be unlocked. I simply opened a command prompt and typed:
fastboot flashing unlock_critical
It said they were already unlocked so I moved forward with flashing the system image.
Step 7
Install the system image
From here I followed the razer instructions when i got to the step:
“Navigate to the unzipped system image directory” you open a command prompt and type
Cd C:\Users\[insertusername]\Desktop\razer phone 2\aura-o-global-2009
What this allows you to do is run the flash_all script.
The flash all script uses the command fastboot which if you remember is in the platform-tools folder this is why we had to add the environment in the previous steps so that once we got to this step the flash_all script could find and run that command. I ran this and had no issues the phone will continue to restart and in the command prompt you will see it pushing all the files to the phone. After about 3-4 minutes the phone was at the Wizard. I continued following the guide to lock the bootloader
Reserved
Duplicate post
my phone is not detected in bootloader mode now. i just want to relock my bootloader and i am stuck now
thank you so much! I was almost giving up trying to fix my phone till i saw your post
LordCandyAndy said:
thank you so much! I was almost giving up trying to fix my phone till i saw your post
Click to expand...
Click to collapse
Same here this post was a god send.
The only issues I keep having is that it keeps saying waiting on device, I have uninstalled and removed everything and then reinstalled everything step by step and I keep getting waiting for device in cmd and ps.
any help would be great.
Thanks for the guide.
flash_all kept failing for me because it wouldn't allow fastboot from the ROM's folder. Copying the contents of my platform-tools (adb) folder into the ROM's folder fixed this issue for me. I'm assuming this is because I didn't set up the environment variables correctly.
Darkann said:
The only issues I keep having is that it keeps saying waiting on device, I have uninstalled and removed everything and then reinstalled everything step by step and I keep getting waiting for device in cmd and ps.
any help would be great.
Click to expand...
Click to collapse
I am having the same issue any help

Categories

Resources