[GUIDE] To Understanding the root process for MT3GS - myTouch 3G Slide Android Development

Ok I have seen enough people having trouble whith the current root process so I going to try to explain it in the best way I know how.
First off if you have applied the new OTA update from tmobile either from tmobile or from xda dev forums the current root process WILL NOT WORK.
Now, that being said,
Step 1: Setting up the android sdk
Ok the Android sdk is a set of executable files thrown together to help developers piece together .apk's and various components for android devices thus the name "Software Developers kit". Now once you download the sdk I suggest that you install it on the root of your hard drive. In most users case it would be "C:/", and I also suggest your name its directory something simple like "SDK" like me because it cuts down on typing and the possiblity of typos.
Within the sdk directory there will be a directory called tools and this is where you will need to "cd" to in "cmd"
Cd = change directory
Cmd = Command Prompt
You may skip the next step if you have been able to view your devices serial number in "cmd".
Step 2: Viewing your devices serial number
I'm sure all of you like me as soon as we got our phone plugged it into our computer and messed around with it, well we just gave ourselves our first headache.
To fix this issue first we need to download and install "USBDeview" and uninstall all "Mytouch Slide" drivers from the computer .
Next we need to download "PDAnet" and install and choose "HTC" as the device.
Now we goto "Settings>Applications>Development and check "USB Debugging".
Now we can plug in our slide and our adb driver should install automatically without a hitch.
Now to verify open "cmd" type in "cd/" then "cd /sdk/tools" and "adb devices" and you should see your devices serial number.
Step 3: Understanding Root.zip package
The current root process is called "OTA spoofing" and its named this way for good reason. Within the root.zip there will be three files loop.bat, ota.zip, and update.zip.
Loop.bat = a batch script which loops the command "adb devices" until user command to stop "ctrl+c" verify with "Y".
OTA.zip = A .zip archive with tmobile ota signatures to allow the file to be read this file does not contain clockwormod recovery or superuser.apk or su.
Update.zip = the important file this file is what contains the recovery img and root permission "su" and "superuser.apk".
These files need to be placed in your "C:/SDK/tools" directory
Step 4: Getting your device to read in recovery
Now we power off the phone and power back on into "bootloader" press and hold Volume Down and power until your in bootloader.
Now it will check for an img on your sdcard it will not find one unless you put one there.
After its done press volume down before you select with power open up "cmd" and "cd" too your android sdk tools directory.
Type "loop" to start your loop batch script you should see "adbe devices" repeatedly being displayed on your screen.
Now select power.
If successful you will see "device offline" repeating
If not then repeat this step.
Otherwise unplug your usb cable from your device and then type "adb devices" and it should return with your serial number and devices in recovery.
Step 5: Pushing files and gaining root
Ok here we go...
Its important to know what the commands mean when doing this process.
"Adb push" :: adb push your.file /todirectory :: what this command is doing is sending the file you selected (in this case "your.file" to the directory you selected in this case the directory "todirectory") this is the proper syntax to push a file
However we need to send the ota.zip to the sdcard first but for the android recovery to read it it needs to be named "update". And we all know that two files with the same file extention and the same name cannot exist in the same directory. How do we solve this? By pushing ota.zip to the sdcard as "update.zip". This is done by the following command:
adb push ota.zip /sdcard/update.zip
This will send the ota.zip to the sdcard as "update.zip"
Now simply type in the following command BUT DO NOT PRESS RETURN ON YOUR KEYBOARD YET.
adb push update.zip /sdcard
Now scroll to "apply sdcard:update.zip" with volume down
Press power count
1...
2...
Press enter on your computers keyboard to send update.zip to the sdcard.
Boom you should see clockworkmod recovery.
Select install from sdcard find update.zip and select with the power and you now have root.
Sent from my T-Mobile myTouch 3G Slide using XDA App

Should talk about the engineering rom too

Seriously. It took me A LOT of reading and swarming through 20+ tabs of the same thing to figure out that when everyone mentions ENG and installing ClockWorkMod Recovery and then small glimps of everyone saying "ENG for its recovery" that I FINALLY figured out you NEED to flash the ENG build for soley its test key's recovery to HAVE clockwork working the way its supposed to.

Related

Need help rooting my phone

I have downloaded the app from eclips3 and have tried rooting my phone..when i go to reboot my phone and holding down vol down plus pwer key my phone does not read the PB00IMG.zip file, eclips3 has been a lot of help but we have ran out of ideas. Does anyone else have any ideas of how to root my phone or put a ROM on it?
1. try a new sd card
2. make sure you have at least 50 % battery life...
3. Re download the image..
if not...go to verizon n tell them you cant root your phone.. LOL! jk...
hope someone else knows what to do...
lol thanks..do you think verizon will help me root it?? lol jk;-)
do you have the PB00IMG.zip in the root of your sd card (not in any other folders?)
The Beginning
You are going to need the Android SDK installed and working as we all the latest version of Java.
Extract and run ‘SDK setup.exe’ . You can find a quick setup on the download page for Android SDK.
Make sure you install the SDK for 1.5, 2.1 and USB Driver package (to make it easy just click to install all).
Put your phone into USB debugging mode: Settings > Applications > Development > check USB Debugging
Connect your phone to your PC
Open device manager on your PC, the device with the yellow exclamation mark next to it is your phone.
Right click on the device and click ‘Update Device’. Find and locate your Android SDK directory and find the ‘USB Driver’ Folder. If you can’t find the USB Driver folder then you didn’t install the USB Driver Package.
Once your Device driver is updated you can continue on to the next step: Rooting your phone.
Rooting Your Phone
Download PB00IMG.zip
Place PB00IMG.zip into the root directory of your SD Card. (Thats right inside your SD Card, not inside any other folders.)
Power down your phone.
Turn your phone back up by holding down the ‘down volume’ and the power on keys at the same time. It should bring you to the HBOOT screen. When it says Push Activate you have to push down on your trackball. The process will take about 10 minutes, and when your phone starts back up it will take quite a bit longer than usual.
Your Phone is now rooted!! (That was the easy part)
Install Recovery Image
Be sure your phones SD card is not mounted to your computer before you start anything.
Download Recovery.zip
Extract file contents to your \tools\ directory of your Android SDK.
Open up a command prompt and go to your tools directory (‘cd …./android-sdk-windows/tools’ or where ever your directory is but cd is the change directory command) , and execute these commands:
adb shell mount -o rw,remount /dev/block/mtdblock3 /system
adb push recovery.img /sdcard
adb push flash_image /system/bin
adb shell chmod 755 /system/bin/flash_image
adb shell flash_image recovery /sdcard/recovery.img
You now have a recovery partition on your phone, you can access it by going into recovery mode on your phone (volume up + power on).
Install new rooted ROM
Download eris21official-root.zip
Copy eris21official-root.zip into the root directory of your SD Card.
Reboot your phone into Recovery Mode. (power down your phone and turn it back on with volume up and power button)
Go to Wipe, and do a wipe of data/factory reset, as well as dalvik-cache wipe.
Go back to the main menu and select “Flash Zip from SDcard”. You should see your eris21official-root.zip, select it and press the track ball to flash it.
You are now done and are running the latest version of the root rom. Remember these last step because they are the steps you will be using to use other ROMS or to update.
Click to expand...
Click to collapse
if you follow those steps step by step then it should work... its exactly what i did and what a lot of other people have done
for custom roms just find the rom you would like to try and follow the 'install new rooted rom' steps
i have downloaded and set up the sdk but i dont have a yellow triangle with an explanation point on my device manager..my phone is in debugging mode. I have just tried over and over copying the PB00IMG.zip file to my sd card and it still doesnt read it. It just says trying to read image PB00DIAG.img and a few others and says no image then goes straight to the hboot screen.
naenaek22 said:
i have downloaded and set up the sdk but i dont have a yellow triangle with an explanation point on my device manager..my phone is in debugging mode. I have just tried over and over copying the PB00IMG.zip file to my sd card and it still doesnt read it. It just says trying to read image PB00DIAG.img and a few others and says no image then goes straight to the hboot screen.
Click to expand...
Click to collapse
I'm rooting right now (my third Eris, actually) and it does that. You need to agree to updating by pressing volume up or down (don't recall which one, the screen will tell you, though..). It looks like it wants you to run through the first step all over again but it's not, the second time is the actual installation of the .zip on your sdcard.
-mak
it says my drivers are up to date when i click update drivers...so now i am stuck trying to root my phone..the problem i am having there is i cant get my phone to read the PB00IMG.zip file from the hboot screen.
lg optimus s
can this phone be rooted
tlove008 said:
can this phone be rooted
Click to expand...
Click to collapse
First, this post doesn't belong here as this is the HTC Droid Eris forum. Your phone isn't even an HTC brand. I looked and saw that XDA doesn't have a section for an LG Optimus S so I would guess not, personally. Perhaps you should try Google?
Good luck.

[Q] Stuck at the flash recovery part of rooting directions

Facts:
Laptop connected to my phone uses Ubuntu linux
Unlocked my Amaze successfully
I have the RecoveryInstallerForNoobs2.0
I have chmod'ed all the pertient files to be executable
With phone in fastboot mode, doing 'sudo ./fastboot devices' returns the serial number
Problem:
'sudo ./Flash.sh' returns the following output:
./Flash.sh: 1: adb: not found
: not found 2:
Additional facts:
I am a n00b and I am aware my life's output at age 32 is dismal
I have read the "read first for linux..." thread, "how to root" thread and the "faq before posting" thread
I have searched the site but possibly not hard enough, ergo my own impudent thread
What to do??
Is debug on in your phones settings?
Sent by accident from my Amaze using Tapatalk
Double0EK said:
Is debug on in your phones settings?
Sent by accident from my Amaze using Tapatalk
Click to expand...
Click to collapse
what he said turn on debugging on your phone. also make sure the zip file is unzipped into a folder
Debugging is on in the settings and the recovery for noobs zip is unzipped.
I flashed mine manually using the fastboot command...
But I only know how to do it with a windows machine.
Put the recovery.img in your AndroidSDK/tools folder , open cmd , cd to the tools folder and type "fastboot flash recovery recovery.img" being if you renamed it to recovery.img..(if it wasn't renamed then you need to type the name of the recovery img.)
Sent by accident from my Amaze using Tapatalk
ryurage said:
Debugging is on in the settings and the recovery for noobs zip is unzipped.
Click to expand...
Click to collapse
don't go to fastboot, the script should automatically kill and restart the adb shell...just turn on your phone and run flash.sh... if that doesn't work Rename the shellscript from flash.sh to flash.command, then associate it with Terminal.app
let me know if those work, if not, I've got some other tricks but it's a little bit more complicated.
@seansk, I renamed the file and tried it with the same resulted output:
./flash.command: 1: adb: not found
: not foundmand: 2:
Btw, I run the flash script one of two ways, 1. sudo ./flash.command or 2. bash flash.command
I could be wrong but I think the issue possibly lies in the script:
adb kill-serveradb reboot bootloaderfastboot flash recovery recovery-cwm-ruby-5.0.2.7.imgfastboot rebootexit
Perhaps adb has to be in my PATH? I'm open to other suggestions too.
One more thought, assuming the adb daemon is shut down, maybe this command would do it: 'sudo ./fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img'?
hmm that thing has been up for months...I've only had two people having trouble and havn't heard back from the other guy...so I hope there's nothing wrong with the scrip...I will look into it again...unfortuantely my vitual machine for mac is down right now, don't know when I'll get it back up and running...
try these
1)To start the shell-script 'file.sh':
sh file.sh
bash file.sh
2)Another option is set executable permission using chmod command:
chmod +x file.sh
Now run .sh file as follows:
./file.sh
ultimately if you have a windows computer it would be much easier...or if you can also here's the new recovery from xboarder I havn't updated this zip file yet... you can edit the recovery script to change the name to this file name: recovery-cwm-ruby-5.5.0.4.img
if all else fails follow the second method here from xboarder (you need an sd card): http://forum.xda-developers.com/showthread.php?t=1316855
Download file to your computer
2. make sure its named PH85IMG.zip
3. Copy to sdcard (external one) then restart your phone in fastboot, by holding down the volume down and power.
4. Wait for it to say do you want to update (press volume up)
5. Press power button to reboot
6. Reboot Phone into recovery as normal and enjoy clockworkmod recovery with fixed charging and sdcard

(7/14/12)How to Manually install Clockworkmod Touch Recovery for all GS3 Variants

I was very happy when Clockworkmod started officially supporting all versions of the GS3, but I was unsure how to install the Touch recovery version from the clockworkmod website. After doing some digging, I finally found the solution.
To do this you will need three things:
-The Clockworkmod Touch Recovery Image for your device at the clockworkmod website (Make sure you get the right one!).
-ADB platform tools that come with Android SDK Manager
-A Computer
1: Compile all of your platform tools (including ADB) and the recovery image into a folder.
2: Rename the recovery image to recovery.img. Ex: recovery-clockwork-touch-5.8.4.9-d2spr.img to recovery.img
3:Within the folder, make sure no files are selected, then hold shift and right click somewhere within the folder and choose "open command window here"
4: Run "adb push recovery.img /sdcard/recovery.img"
5: Then run "adb shell", and after that run "su"
6: Then run "dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery".
7: And after the last command has finished, run "reboot recovery".
Congratulations! You have just installed the Clockworkmod Touch Recovery for free and saved yourself $2.
I have tested this method twice and it has worked both times.
pearsonpsh said:
I was very happy when Clockworkmod started officially supporting all versions of the GS3, but I was unsure how to install the Touch recovery version from the clockworkmod website. After doing some digging, I finally found the solution.
To do this you will need three things:
-The Clockworkmod Touch Recovery Image for your device at the clockworkmod website (Make sure you get the right one!).
-ADB platform tools that come with Android SDK Manager
-A Computer
1: Compile all of your platform tools (including ADB) and the recovery image into a folder.
2: Rename the recovery image to recovery.img. Ex: recovery-clockwork-touch-5.8.4.9-d2spr.img to recovery.img
3:Within the folder, make sure no files are selected, then hold shift and right click somewhere within the folder and choose "open command window here"
4: Run "adb push recovery.img /sdcard/recovery.img"
5: Then run "adb shell", and after that run "su"
6: Then run "dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery".
7: And after the last command has finished, run "reboot recovery".
Congratulations! You have just installed the Clockworkmod Touch Recovery for free and saved yourself $2.
I have tested this method twice and it has worked both times.
Click to expand...
Click to collapse
Thanks...you can also use moblie odin http://forum.xda-developers.com/showthread.php?t=1347899

Install 4.4 ROM on VZW G2: ALL STEPS?

I am very new to the android world, seeing as I am a recent iOS convert. However, I am still struggling with all the terminology and technicalities of android and require assistance (perhaps a lot! :cyclops.
I have managed to root my G2 (VERIZON MODEL) but am stuck there. I do not know how to install CWM or TWRP, nor install any custom ROMs like CM or Gummy.
So will anyone be kind enough to guide me through the process? Thank you.
P.S.
I have searched through the threads in this forum regarding installing custom ROMs and am still confused.
from this thread here
http://forum.xda-developers.com/showthread.php?t=2449670
first download twrp for your device, http://techerrata.com/file/twrp2/g2vzw/openrecovery-twrp-2.6.3.3-g2vzw.zip
plug the phone to the computer, make sure u have usb debugging on in developer settings of phone
since you are already rooted, place that file recovery img to the IOROOT folder.
once done, rename the recovery file to recovery.img
one done, CONTROL + SHIFT + RIGHT CLICK, OPEN COMMAND PROMPT HERE
then type this
adb push recovery.img /data/local/tmp/recovery.img
adb shell
(IF YOU DONT SEE A # prompt on your phone, type su in the command prompt to get it then allow it on phone. once thats done then contine onto next step blow.)
cd /data/local/tmp
dd if=/data/local/tmp/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
exit
adb reboot recovery
once its complet just reboot the phone and you should have twrp installed!
once twrp is installed, you can dl the verizon version of paranoid android here
http://downloads.codefi.re/houstonn/kitkat/G2/PA/vs980/pa_g2-4.0-ALPHA-20131205-vs980.zip
and
http://www.androidfilehost.com/?fid=23252070760973599
dl the file, drag the files to the phone, dont place into any folder though.
to install, go to the ioroot folder again, control shift right click open prompt again, type adb reboot recovery
phone should reboot to recovery, go to settings, then select USE RM-F instead of formatting, then go to wipe, advance, select dalvik cache, system, data, and cache. IMPORTANT DO NOT SELECT INTERNAL STORAGE!!!
then swipe to wipe
then go to install then install the paranoid android download first, once its installed, hit the back button on the botom right, then install the GAPPS, then reboot the device your done.
Or you could just download the recovery.img that u choose, and flash it using the app called "Flashify". Easiest way by far and works perfectly for me everytime, using both TWRP and CWM whenever I need.
Once you have that done, installing a ROM such as GUMMY is fairly simple since it usually has the instructions right there in the OP of the thread. Pretty straightforward.
expertzero1 said:
from this thread here
http://forum.xda-developers.com/showthread.php?t=2449670
first download twrp for your device, http://techerrata.com/file/twrp2/g2vzw/openrecovery-twrp-2.6.3.3-g2vzw.zip
plug the phone to the computer, make sure u have usb debugging on in developer settings of phone
since you are already rooted, place that file recovery img to the IOROOT folder.
once done, rename the recovery file to recovery.img
one done, CONTROL + SHIFT + RIGHT CLICK, OPEN COMMAND PROMPT HERE
then type this
adb push recovery.img /data/local/tmp/recovery.img
adb shell
(IF YOU DONT SEE A # prompt on your phone, type su in the command prompt to get it then allow it on phone. once thats done then contine onto next step blow.)
cd /data/local/tmp
dd if=/data/local/tmp/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
exit
adb reboot recovery
once its complet just reboot the phone and you should have twrp installed!
once twrp is installed, you can dl the verizon version of paranoid android here
http://downloads.codefi.re/houstonn/kitkat/G2/PA/vs980/pa_g2-4.0-ALPHA-20131205-vs980.zip
and
http://www.androidfilehost.com/?fid=23252070760973599
dl the file, drag the files to the phone, dont place into any folder though.
to install, go to the ioroot folder again, control shift right click open prompt again, type adb reboot recovery
phone should reboot to recovery, go to settings, then select USE RM-F instead of formatting, then go to wipe, advance, select dalvik cache, system, data, and cache. IMPORTANT DO NOT SELECT INTERNAL STORAGE!!!
then swipe to wipe
then go to install then install the paranoid android download first, once its installed, hit the back button on the botom right, then install the GAPPS, then reboot the device your done.
Click to expand...
Click to collapse
So I take it that I put the "ioroot10" file into my phone over the USB, then extract the files of the TWRP file, then place the extracted TWRP file inside of the ioroot10 file? Also, I did the control+shift+right click, but there is not OPEN COMMAND PROMPT option. Sorry for all the questions..
dlee96 said:
So I take it that I put the "ioroot10" file into my phone over the USB, then extract the files of the TWRP file, then place the extracted TWRP file inside of the ioroot10 file? Also, I did the control+shift+right click, but there is not OPEN COMMAND PROMPT option. Sorry for all the questions..
Click to expand...
Click to collapse
no, you place the recovery.img to the ioroot10 folder, ioroot10 stays on your computer.
control + shift + right click = open command window here
Just use flashify its free n so much easier
the definition of open: “mkdir android ; cd android ; repo init -u git:// android.git.kernel.org/platform/manifest.git ; repo sync ; make" gansta mic drop

Need help, ADB keeps saying "No such file or directory"

I'm trying to follow this tutorial on this page: https://forum.xda-developers.com/lg-g-pad-83/general/vk810-altev-complete-root-recovery-t3108260
Im on the section that says "How to downgrade and flash aboot4.2.2 " I put the aboot.img file in all the required folders, in the root of my internal memory on my android device, on the root of the sd card and in the platform tools folder. I am in adb mode on the PC and the device has USB debugging on. When i get to part after entering "SU" in CMD and enter the "dd if....." line of code it says that no such file or directory exists.
Why cant it find the aboot file I put in the folder and flash it? I'm all out of ideas and I'm about to go crazy if I cant figure this out.
masterx1234 said:
I'm trying to follow this tutorial on this page: https://forum.xda-developers.com/lg-g-pad-83/general/vk810-altev-complete-root-recovery-t3108260
Im on the section that says "How to downgrade and flash aboot4.2.2 " I put the aboot.img file in all the required folders, in the root of my internal memory on my android device, on the root of the sd card and in the platform tools folder. I am in adb mode on the PC and the device has USB debugging on. When i get to part after entering "SU" in CMD and enter the "dd if....." line of code it says that no such file or directory exists.
Why cant it find the aboot file I put in the folder and flash it? I'm all out of ideas and I'm about to go crazy if I cant figure this out.
Click to expand...
Click to collapse
Instruction number 3 says to put a boot file in /platform-tools folder of SD card, but then command shows 'if /sdcard/aboot', which would point the program to the root of your internal storage. Instead of copying the commands directly, modify the command to point to where your about file actually is.

Categories

Resources