myTouch 3g Slide Rooting - Android Software/Hacking General [Developers Only]

Hi,
I have a Mytouch 3g Slide. I tried to root it with the following steps.
Download the Slide Root zip file @ http://forum.xda-developers.com/showthread.php?t=702973
On your device, navigate to Settings, select Application then Development and make sure you turn on USB Debugging
Turn off your myTouch 3G Slide
Extract the content of the zip file you downloaded to your Android SDK Tools folder on your computer
Open up a command prompt window and navigate to your SDK Tools directory
Boot your myTouch 3G Slide in bootloader mode: turn it on and press and hold Volume Down and Power
From your command prompt execute loop.bat to start a loop on your computer
Now on your myTouch 3G Slide pick Recovery from the bootloader menu
The recovery should load and you should now have an Offline Device.
Stop the loop on your computer (CTRL+C will do it)
Disconnect the USB cable from your device and plug it back in
adb should detect your device now, test it and make sure it is in recovery mode
From the menu on your device, pick update.zip. It will fail and that is normal.
Now back to your computer type: adb push ota.zip /sdcard/update.zip
Then type: adb push slideroot.zip
Now type: adb push update.zip /sdcard BUT DON’T PRESS ENTER YET.
Back to your myTouch 3G Slide, select update.zip again.
As soon as the process starts press Enter on your computer to start the adb command (adb push update.zip /sdcard )
You should now see Clockwork Recovery on your device.
Go to the Partitions menu and select Mount System
Go back then pick install any zip from sdcard
Make sure you select slideroot.zip and pick apply update from zip to complete the root process
Soft reset your device.
If you want to check if your device is connected use the command adb devices and you will see it in the list of devices attached
Again from the command prompt type: adb install Superuser.apk
Once Superuser is installed use adb shell to shell to your device.
Type su to gain root access.
Click to expand...
Click to collapse
Only problem is that when the phone is in recovery mode, I cannot run an ADB command because I get an error saying the phone is offline then. How can I make this work. I've been trying for hours now and its pretty frustrating.

Related

[Q] Cant load Reovery from fastboot

I "attempted" to root my NS following these directions:
I. Before You Begin
1. This will unlock your phone’s bootloader (so you can flash recoveries and ROMs), and can be undone very easily (unlike the Nexus One).
2. This WILL ERASE all your information on the phone.
II. Setup ADB
1. Head to our How To Setup ADB procedure, once you can see your phone’s serial number after typing adb devices then come back to this procedure and continue.
(MAKE SURE YOU FOLLOW ALL THE STEPS IN THE WRITTEN PROCEDURE AS THERE HAVE BEEN UPDATES ADDED).
III. Unlock the Bootloader
1. Turn off your phone.
2. Turn it on by holding Volume Up and Power until fastboot mode comes up.
3. Plug the phone in via USB cable to your computer while it is in fastboot mode.
4. Open a command prompt on your computer by clicking on the Start menu button and typing cmd and hitting enter in the search box.
5. In the command prompt that pops up, type the following with hitting enter at the end of each line:
cd c:\androidsdk\tools\
fastboot oem unlock
6. At this point the phone will ask you to confirm, select yes. You now have an unlocked bootloader.
IV. Flash a Custom Recovery Image
1. Download the custom recovery image and save it to your computer:
ClockworkMod Recovery for Nexus S
2. Copy the recovery.img file inside the tools folder of the sdk (so it is in the same folder as fastboot.exe)
3. Then in the command prompt that should still be open, type the following with hitting enter at the end of each line:
fastboot flash recovery recovery.img
4. Once it is flashed, leave the phone in plugged in and in fastboot mode.
V. Root the Phone
1. In fastboot mode, select Recovery using the volume buttons and power button and wait for it to boot into recovery mode.
2. Download the Superuser flashable zip file and save it to your computer.
Superuser for Android 2.0 and Up Flashable Zip
3. Once in recovery mode, select Mounts and Storage then select Mount USB Storage so we can transfer files to the sd while it is in recovery mode.
4. Copy the Superuser.zip file to the root of your internal storage (do NOT extract it, do NOT put it in any folders, just on the phone’s storage itself).
5. Select Unmount on the phone.
6. Select Mount System, then select Go Back to get back to the main menu.
7. Then scroll to flash zip from sdcard and then choose zip from sd card and select the superuser.zip file and wait for it to finish flashing.
8. Once it is done, select Go Back then Reboot System and wait for the phone to reboot.
VI. Stop the Phone from Uninstalling the Custom Recovery Image
1. Once the phone is booted up, plug it in via USB cable and do NOT mount the storage.
2. Open a command prompt on the computer and type the following with hitting enter at the end of each line:
adb shell
cd etc
mount -o rw,remount /dev/block/mtdblock3 /system
mv install-recovery.sh install-recovery-no.sh
3. That will mount the system as writable and rename the file that overwrites the recovery image on reboot so that our custom recovery will stay.
4. Turn off the phone and turn it back on by holding down Volume Up and Power to get into fastboot mode.
5. Plug the phone in via USB cable while in fastboot mode and open the command prompt again and type the following with hitting enter at the end of each line:
cd\
cd c:\androidsdk\tools\
adb reboot bootloader
fastboot flash recovery recovery.img
5. Once it is done, you have just reflashed the recovery image and it will now stick. You are all done! You have an unlocked bootloader, a custom recovery image, and root access! If you want to now load a custom ROM head to the next procedure linked below.
I ran into an issue near the end with this step under VI:
2. Open a command prompt on the computer and type the following with hitting enter at the end of each line:
adb shell
cd etc
mount -o rw,remount /dev/block/mtdblock3 /system
mv install-recovery.sh install-recovery-no.sh
I used root explorer to mount and rename the file since I couldnt get it to mount with adb shell. My issue now is that when I boot into fastboot mode and go to recovery, I get the error icon (The android with the triangle with the ! in the middle). I cant for the life of me figure out how to get recovery back. It also does not recognize my device in fastboot mode with adb devices but does recognize it when its booted into the regular os. Any ideas?
This is solved. Apparently the directions are a little sketchy.
When it got to this step:
5. Plug the phone in via USB cable while in fastboot mode and open the command prompt again and type the following with hitting enter at the end of each line:
cd\
cd c:\androidsdk\tools\
adb reboot bootloader
fastboot flash recovery recovery.img
the adb reboot bootloader command would not work. Skipping it solved my problem.

help with rooting mytouch 4G

i have the root files on my sd card
i have visionary r11 and r14
i have terminal emulator
these are the steps i used
open visionary, check "Set system r/w after root" on
run temproot
open terminal and entered
su - got super user
cd / sdcard/root
sh root.sh
wait til its done and tells me to turn off phone.
holding volume down+power to get into the hboot.. it still says s-on... ive done this many times... still not working..
i dont have root manager, so it seems i cant use the other methods like gfree
anyone knows/sees what im doing wrong?
Here are the steps I used (MyTouch 4g with bootloader version 0.86.0000)
1. Turn USB Debugging mode ON, turn Fastboot OFF (settings-> applications -> development)
2. Install & open Visionary r14, check "set system r/w"
3. Click "temproot now", wait for it to do its thing.
4. Make sure the temproot was successful (download root explorer or something that requires root privileges and make sure it pops up saying "such and such was granted superuser permission")
5. Get Android SDK for your PC, install all the add-ons.
6. Connect phone to PC, making sure debugging mode is still enabled (you don't have to switch it to Disk Drive mode, just connect)
7. Allow ALL drivers to install (in Windows, it'll pop up saying "Device is ready to use" when it's done)
8. Get gfree, put it in the root directory of your phone's SD card (switch Disk Drive mode on temporarily for this, obviously).
9. On your PC, navigate to the folder where Android SDK is (in Windows, it's C:/Program Files/Android/android-sdk)
10. Hold down Shift, right-click the folder called "platform-tools", click "Open command window here"
11. In command window, type "adb devices" to make sure everything's working fine so far. If so, you'll see your device listed.
12. Still in the command window, type "adb push gfree /data/local"
13. Back on the phone, install terminal emulator
14. In terminal emulator, type "su" and hit enter
15. After it says "Terminal Emulator has been granted superuser permissions", type the following: "cd /data/local" and hit enter
16. Type "chmod 777 gfree" and hit enter
17. Type "./gfree -f" and hit enter - It'll runs something and immediately reboot here. Now you can check your hboot and you should have S-Off
18. Once the phone boots back up, run Visionary again to get temproot.
19. Now that you have root privileges, run Visionary yet again, but click "Attempt Permroot Now"
20. Let Visionary do its thing and you should be permrooted with S-Off!
AWESOME thanx..
i did this and the first time it worked.. i avoided this before coz it took soo long to download all the drivers... i just let it download overnight..
now have perma root and the engineering bootloader.. haha...
Root Files
what root files did you use and where did you get them?? sorry im really new to the phone modding

[Guide] Telus Motorola Backflip with CM7 Android 2.3.7

Recently I've got a cheap Motorola Backflip for Telus, then I start exploring and find a solution to upgrade to 2.3.7. I've spent 2 whole days facing the computer but eventually got the solution.
I don't know is there anyone still using this ancient phone but I wish this thread can help the one who needs this and also update some of the out-dated processes.
Origin: Android 1.5
Let's start:
(The following are tested on a telus backflip)
First Root
1) Go setting>Application> Development>USB debugging. check the debugging box
Put a at least 1GB memory card in your phone
2)Connect your phone to computer. USB connecting type: "charge only"
3)Download pdanet so that they can install the driver you need, run it after you downloaded it with your phone connected to the computer
http://www.junefabrics.com/android/download.php
4)Download adb and extract all the files to the root of (C: )
http://www.mediafire.com/?tntogmymgo16ac0
5)Download the rageagainstthecage file, create a file called "Moto_MSM_Root" in (C: ), then extract all the files into "Moto_MSM_Root" in (C: )
http://www.mediafire.com/?azcraghfl12sw8w
6)Download “Terminal Emulator” and "Rootchecker" and put them in the root of (C: )
http://www.iapktop.com/wp-content/plugins/download-monitor/download.php?id=5181
http://goo.gl/KEt1Z
7)Computer: Enter (C: )drive and then hold "shift" on your keyboard and right click, choose to open the command prompt
8)Code
8a)Verify the connection by typing the following code, if it shows your devices serial and "device" side by side, you are good to go
Code:
adb devices
Example:XXXXXXXXXXXXXXXX device
8b)start rooting
Code:
adb install RootCheckPro.apk
adb install Android_Terminal_Emulator_v1.0.32.apk
adb push c:\Moto_MSM_Root\Superuser.apk /sdcard/Superuser.apk
adb push c:\Moto_MSM_Root\su /sdcard/su
adb push c:\Moto_MSM_Root\rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin
adb push c:\Moto_MSM_Root\install-root.sh /data/local/tmp/install-root.sh
adb shell
cd /data/local/tmp
chmod 0755 rageagainstthecage-arm5.bin
chmod 0755 install-root.sh
Keep your phone connecting to the computer
9)Backflip: open the terminal emulator in your Backflip
10)type the following in the terminal emulator on Backflip
Code:
cd /data/local/tmp
./rageagainstthecage-arm5.bin
11)Wait for a while until you see this message
Code:
[+] Forked xxxx childs.
12)Close the " terminal emulator"
13)Open " terminal emulator" and type the following (!My " terminal emulator" failed to open after closing it, so I force close it by this method: Setting>Application>Manage Applications>terminal emulator>Force close! Open terminal emulator again and type the code):
Code:
/data/local/tmp/install-root.sh
14)If the script doesn't show nothing, then your backflip is rooted!
15)Open "RootChecker" in your phone to verify "root"
Second Flashing ROM (CM7.2)
1)Download the ROM and other things we needed to run CM7 perfectly, DO NOT extract them, put them in (C: )Drive
CM7.2: http://get.cm/get/jenkins/2849/cm-7.2.0-motus.zip
gapps-gb-20110828:http://cmw.22aaf3.com/gapps/gapps-gb-20110828-signed.zip
(For non-AT&T Backflip ONLY) : signed-IT_radio.zip:http://www.mediafire.com/?pco663926xf2ccm
2)Download recovery.img and EXTRACT it to (C: )drive
recovery.img:http://www.mediafire.com/?4limlcamj4tv7dl
3)Computer: Enter (C: )drive and then hold "shift" on your keyboard and right click, choose to open the command prompt
4) Verify your device first ,if it shows your devices serial and "device"side by side, you are good to go
Code:
adb start-server
adb devices
5)Plug in your phone via USB and in "charge only" mode, check usb debugging
6)Code in the command prompt
Code:
adb push c:\cm-7.2.0-motus.zip /sdcard/cm-7.2.0-motus.zip
adb push c:\gapps-gb-20110828-signed.zip /sdcard/gapps-gb-20110828-signed.zip
adb push c:\signed-IT_radio.zip /sdcard/signed-IT_radio.zip
adb push c:\recovery.img /sdcard/recovery.img
adb shell
su
flash_image recovery /sdcard/recovery.img
exit
exit
7) Reboot the phone in recovery mode. First, power off the phone>hold camera button –> Press power button while keep holding the camera button> hold until your see the screen with green letter. Then, press volume down key immediately. Don't concern what it says in this stage.
8)You should have enter the recovery mode with a green Android background
9)Use Volume Keys to navigate, home button for enter and Back button for back.
10)Select Wipe>wipe all and then confirmed by clicking the home button
10.1) (For non-AT&T Backflip ONLY) Click back and then select “Flash zip from SD”, select "signed-IT_radio.zip" and hit home button twice
After finish flashing this, reboot the phone to recovery.
11) Back to the main menu, select “Flash zip from SD”, then select "cm-7.2.0-motus.zip" hit home button twice
After finish flashing this, click back once
12)select "gapps-gb-20110828-signed.zip" and hit home button twice
13) select "Reboot system now"
14) It would take about 15-20 mins for the first boot-up
15) Done and Enjoying using CM7.2 Android 2.3.7
ATTENTION: I won't be held accountable for any damage to your phone, you take your own risk.
All the resources in the guide are from different website and developer, all the effort belongs to them. Please visit their own website/forum and support them.
ATTENTION: After flashed to Italian radiio, I can't detect telus network on my phone but it becomes usable for Rogers/Bell/Virgin/chatr/
Take your own risk
HOPE YOU CAN DO IT!
ADB http://www.mediafire.com/?occn7zlez9qkk2x
dead link
unable to dwnld gapps-gb-20110828-signed.zip
link seems to b dead
need an alternate link..
pls help !
edit : found it here
goo.im/gapps/gapps-gb-20110828-signed.zip add http @ beginning..!
Root is done and i can't access to write recovery
i download SuperOneClickv1.6.5-ShortFuse and do root then i open super user
then i do restart to phone and write
flash_image recovery /sdcard/recovery.img
Lot Of time
recovery is done write :good:
Your Post Helpful Bro
Br Ahmed Zitoon
---------- Post added at 07:21 PM ---------- Previous post was at 06:53 PM ----------
And This is Perfectly Work
update-cm-7.1.0-BACKFLIP-signed

LG G2 CM 11 BOOTLOOP! Help please!

hello guys, i just installed a nightly cm 11 on my LG G2 D805, i used a trick to convert it to D802, so its ok, but when i install the zip, i got stuck in the bootloader, i already wiped the data and cache, system, etc, the problem is i cant download and install another zip because the LG G2 has no SD ! ...i cant add more files to install, i need help, how i can unbrick my phone? please!
Can you enter the download mode?
This is easily solvable, I've had a few issues like you since the Nexus 5 does not have an SD Card slot either.
What you'll need to do is set up ADB, Google it if you don't have it.
Then go to where you have the contents (adb files). Or you can go into cmd (command promt) and type in "cd your/adb/folder/destination" if you haven't done the "cd" method simply go into the adb folder. And open a cmd window there, once open. Boot your device into recovery mode and plug in your cable to your PC. So that it detects your device.
Then in the command prompt window type the following command - "adb devices" (This will run adb and it'll check to see if adb is properly installed, if your device does not pop up, make sure you cable is in properly. If it still doesn't show, you will have to install the drivers for your device again... Properly).
Now it should list your device, go into the G2 section and download the preferred rom.
Once downloaded simply type this in the command prompt window.
Adb push path/to/rom.zip /sdcard
Eg - adb push c:/user/user/Downloads/cm11.zip /sdcard
Now this should push the .zip to your internal memory, in the recovery mode (after adb has down its job). Simply wipe data and install the .zip c:
Your device should work.
If I helped, don't hesitate to hit that Thanks button

How to fix a soft bricked device from a flash that failed due to missing files

This guide is meant to less techie people, and written in detail. Please don't mind me if I overexplain. If you have any questions, feel free to comment them.
Also, I am not responsible for anything you do to your phone; you assume your responsibility for anything you do because of this guide.
Scenario:
So, lets say that you tried to flash an zip file on your android using sideload, but the zip required another file to be in the same directory as it, in order to work.
After flashing the zip and getting an error, your phone may not get pass the logo of the brand and be soft bricked.
Also, you formatted your external sd as internal, and cant access your usual location with files in the recovery.
In this case, don't worry, as I'm here to help you unbrick your phone without reinstalling the rom.
Things you will need:
your phone
a computer connected to your phone with an usb cable
the proper drivers for your phone
a custom recovery like cwm or twrp installed on your phone
probably root, although I'm not sure
and finally the adb (android development bridge) utility
Where to get a custom recovery?
- https://www.xda-developers.com/how-to-install-clockworkmod/
or search on xda under at your device's forum
Where to download adb from?
- https://forum.xda-developers.com/showthread.php?t=2588979 (this one comes with the drivers)
- https://dl.google.com/android/repository/platform-tools-latest-windows.zip (just the adb files)
So lets get started:
First, get your phone into Recovery mode (on samsung hold power button volume up and home button), and connect it to your pc with a usb cable.
Open ADB by shift + right clicking the folder platform-tools in witch it is located. Click on "Open Command Prompt window here" or "Open Powershell window here" (depends on your windows settings).
You need to find a location on your phone that is accessible through the flash zip menu from your recovery. (from sdcard / from sdcard1 or whatever your external sd is called)
In my case, i could get to see folder 0 and obb from "flash zip from sdcard".
To find a suitable folder:
In the window, type
Code:
adb.exe shell
if you opened cmd, or
Code:
./adb.exe shell
if you opened powershell.
This will open a terminal that will run commands on your phone.
(Now you can type commands in the cmd window that will be run on your phone.)
Type in
Code:
cd /sdcard/0
to go to the main sd card location that is accessible in recovery when you go to flash a zip from there. (if you can get to another folder where you could a flash a zip from, change the location to that place)
You can use here the command
Code:
ls
to view objects in the folder you are in.
After you are done, type
Code:
exit
to exit.
To solve the soft-brick, you need to reflash the zip, but with the files it needed in the same directory.
Type in the ADB window
Code:
./adb.exe push "location of the file you are sending" "location of the folder you are sending to (eg. /sdcard/0)"
if you are in powershell, or without the ./ if you are in cmd.
Use this until you have sent all the files needed for a successful flash.
Then just use the "flash zip" utility from your recovery with the location you have sent the files to, on your phone, to complete the flash, and solve the half-brick.
Restart your phone and you should be good to go.
Thanks to the following threads, that helped me put this together, and solve this problem on my phone:
https://forum.xda-developers.com/showthread.php?t=1927198
https://forum.xda-developers.com/showthread.php?t=2588979​

Categories

Resources