root samsung epic 4g galaxy sph-d700 - Android Q&A, Help & Troubleshooting

In the end I found it fairly easy to root my samsung epic 4g galaxy sph-d700 but the documentation was a bit tricky (because some of it was based on odin rather than heimdall, it wasn't always clear where to get ROM's, how ClockWorkMod Recovery (CWM) fits into the picture, etc.). I hope that this post will be useful.
(1) Install heimdall on the computer running ubuntu (heimdall is a program that will flash ROM's to the phone)
apt-get install heimdall-flash
(2) Download to the computer the latest CWM and an appropriate, i.e., pre-rooted, ROM from an archive such as that of kennyglass123. BML ROM's may be easier for beginners than are MTD ROM's. The ROM should be matched to the phone, which means both the hardware and the system it is replacing. I used
cwm-5.0.2.7-epic4g.tar (ClockWorkMod Recovery; extract its contents)
Deodexed-FC09-BML.zip (a ROM and system for the android phone; leave the file zipped)
(But ThePeoplesROMv2.22_BML.zip has also been recommended and there are others in circulation).
(3) Connect the android phone to the computer via USB cable; the phone should show up on the desktop as a removable disk. Transfer the ROM file (Deodexed-FC09-BML.zip) from the computer to the sd card of the phone (just as you would transfer any file, e.g., an mp3, by drag and drop or by copying from the command line from/to the appropriate directory).
(4) On the computer extract recovery.bin from the CWM tarfile
tar xvf cwm-5.0.2.7-epic4g.tar
(I renamed recovery.bin to cwm5_recovery.bin to remind myself what it is.)
(5) Disconnect and turn off the phone and restart the phone in Download mode by turning off the phone and turning it on while holding down the number "1" on the physical keyboard. "Download" mode starts (black screen with yellow triangle with worker digging).
(6) Connect the phone to the computer by USB cable. From the computer use heimdall to flash the CWM file to the phone as a recovery file. Flashing is not the same as file transfer: phone must be in Download mode and the heimdall program must be used to flash the file onto the phone's ROM. The command is:
heimdall flash --recovery cwm5_recovery.bin
(7) Disconnect the phone and restart phone with on/off, camera, and volume-down buttons ("three-fingered salute"). Hold all three buttons until the lighted buttons at the bottom of the phone turn on. Phone will start in "Recovery" mode with a menu of 7-10 items.
(8) Navigate the Recovery menu with the volume up/down keys and select items with the camera button. Select item "Install zip from sdcard". Navigate file menu to choose Deodexed-FC09-BML.zip (or another zipped ROM file you have selected). ROM will install.
(9) When the Recovery mode menu returns, select "Reboot phone" and the phone should boot (slowly the first time) to the new ROM and be rooted. There will be a new "Superuser" app on the phone and you should be able to install apps from the Play Store that require root privileges.
qbking77 has some excellent YouTube videos that walk through the process.

root samsung epic 4g galaxy sph-d700 on ubuntu 13.04
I left out "on ubuntu 13.04" in the title of the post.
michaelaoash said:
In the end I found it fairly easy to root my samsung epic 4g galaxy sph-d700 but the documentation was a bit tricky (because some of it was based on odin rather than heimdall, it wasn't always clear where to get ROM's, how ClockWorkMod Recovery (CWM) fits into the picture, etc.). I hope that this post will be useful.
(1) Install heimdall on the computer running ubuntu (heimdall is a program that will flash ROM's to the phone)
apt-get install heimdall-flash
(2) Download to the computer the latest CWM and an appropriate, i.e., pre-rooted, ROM from an archive such as that of kennyglass123. BML ROM's may be easier for beginners than are MTD ROM's. The ROM should be matched to the phone, which means both the hardware and the system it is replacing. I used
cwm-5.0.2.7-epic4g.tar (ClockWorkMod Recovery; extract its contents)
Deodexed-FC09-BML.zip (a ROM and system for the android phone; leave the file zipped)
(But ThePeoplesROMv2.22_BML.zip has also been recommended and there are others in circulation).
(3) Connect the android phone to the computer via USB cable; the phone should show up on the desktop as a removable disk. Transfer the ROM file (Deodexed-FC09-BML.zip) from the computer to the sd card of the phone (just as you would transfer any file, e.g., an mp3, by drag and drop or by copying from the command line from/to the appropriate directory).
(4) On the computer extract recovery.bin from the CWM tarfile
tar xvf cwm-5.0.2.7-epic4g.tar
(I renamed recovery.bin to cwm5_recovery.bin to remind myself what it is.)
(5) Disconnect and turn off the phone and restart the phone in Download mode by turning off the phone and turning it on while holding down the number "1" on the physical keyboard. "Download" mode starts (black screen with yellow triangle with worker digging).
(6) Connect the phone to the computer by USB cable. From the computer use heimdall to flash the CWM file to the phone as a recovery file. Flashing is not the same as file transfer: phone must be in Download mode and the heimdall program must be used to flash the file onto the phone's ROM. The command is:
heimdall flash --recovery cwm5_recovery.bin
(7) Disconnect the phone and restart phone with on/off, camera, and volume-down buttons ("three-fingered salute"). Hold all three buttons until the lighted buttons at the bottom of the phone turn on. Phone will start in "Recovery" mode with a menu of 7-10 items.
(8) Navigate the Recovery menu with the volume up/down keys and select items with the camera button. Select item "Install zip from sdcard". Navigate file menu to choose Deodexed-FC09-BML.zip (or another zipped ROM file you have selected). ROM will install.
(9) When the Recovery mode menu returns, select "Reboot phone" and the phone should boot (slowly the first time) to the new ROM and be rooted. There will be a new "Superuser" app on the phone and you should be able to install apps from the Play Store that require root privileges.
qbking77 has some excellent YouTube videos that walk through the process.
Click to expand...
Click to collapse

michaelaoash said:
I left out "on ubuntu 13.04" in the title of the post.
Click to expand...
Click to collapse
Append --no-reboot to the heimdall command otherwise you cannot finish the steps because the phone reboots and you lose cwm.

Related

Flash recovery from lgmdp

FLASHING CUSTOM RECOVERY (CWM) FROM LGMDP
FOR LG P500 / OPTIMUS ONE ONLY
This method works for all unrooted p500/optimus one and p500/optimus one devices stuck in emergency mode.
DO THIS ON YOUR OWN RISK, I WILL HAVE NO LIABILITY IF YOU BRICK YOUR PHONE !!!
download lgmdp : Download here
download clockwork recovery (5.0.2.0): Download here
1. disable lg modem ( in device manager->modems)
2. now connect your phone to pc. (If phone not booting into rom connect in emergency mode, turn off phone and press (volup+return+power) buttons simultaneously)
3. start lgdmp
4. click "select port"
Phone will be automatically detected press "connect"
(close the pop up window of image select generally you will get it on connect of lgmdp)
5. backup nv for safety (tools->nv backup) {ignore this step when phone connected in emergency mode, i did ignore this and found no risk of loosing nv}
6. extract downloaded recovery into a new folder
7. select the extracted recovery folder as "image folder or select image" in lgmdp
(it gives some errors as other files are not present, donot worry as we are only flashing recovery those 2 files are enough, files "recovery" and "partiton" will be automatically checked and others gray out)
8. Close the selection window and press "download" (in main window of lgmdp)
DONOT DISCONNECT YOUR MOBILE UNTILL IT SHOWS DOWNLOAD COMPLETE AT BOTTOM
it shows in middle trying to connect to phone etc. donot touch the phone it will be automatically connect everytime.
AFTER DOWNLOAD COMPLETE your device should boot into recovery
1. switch off your device
2. pressing (home+vol down+power) buttons simultaneously should boot into recovery.
now install whichever rom you want and enjoy
Tested on O1 having baseband v10 and v20 also, from normal boot and emergency mode as well and it works.
mak.3736 said:
FOR LG P500 / OPTIMUS ONE ONLY
This method should work for all unrooted devices and p500/optimus one devices stuck in emergency mode.
This is tested on O1 having v10 baseband and it works.
SHOULD WORK FOR V20 as well
download lgmdp : http://www.mediafire.com/?ov799yg7vbnce9j
download cwm recovery : http://www.mediafire.com/?1lcjbfa3ypqbqj3
1. disable lg modem ( in device manager->modems)
2. now connect your phone to pc.(if phone not booting into rom connect in emergency mode (home+volup+return) button holding simultaneously)
3. start lgdmp
4. click "select port"
Phone will be automatically detected press "connect"
(close the pop up window of image select generally you will get it on connect of lgmdp)
5. backup nv for safety (tools->nv backup) {ignore this step while connecting phone in emergency mode, i did ignore this and found no risk of loosing nv}
6. extract downloaded recovery into a new folder
7. select the extracted recovery folder as "image folder or image select" in lgmdp
(it gives some errors donot worry, but files "recovery" and "partiton" will be automatically checked and others gray out)
8. press start or download
DONOT DISCONNECT YOUR MOBILE UNTILL IT SHOWS DOWNLOAD COMPLETE AT BOTTOM
AFTER DOWNLOAD COMPLETE your device should boot into recovery
1. switch off your device
2. pressing (home+vol down+power) buttons simultaneously should boot into recovery.
now install whichever rom you want and enjoy
TESTED ON v10 baseband LG O1 and it worked for me.
Click to expand...
Click to collapse
i need to try it once.thanks tho
phone is not detecting
no phone to connect.LGMDP-v1.5 is not detecting the phone.pls help...my full problem http://forum.xda-developers.com/showthread.php?p=19303459#post19303459
ojobinv said:
no phone to connect.LGMDP-v1.5 is not detecting the phone.pls help...my full problem http://forum.xda-developers.com/showthread.php?p=19303459#post19303459
Click to expand...
Click to collapse
reinstall drivers.
let your phone be on (stuck at lg logo), connect to computer, flash custom recovery from lgmdp.
There might errors occur at nv backup or nv restore but it will flash recovery.
my phone doesnt even starting in emergency mode.
1. disable lg modem ( in device manager->modems)
2. now connect your phone to pc. (If phone not booting into rom connect in emergency mode, turn off phone and press (home+volup+return) buttons simultaneously)
3. start lgdmp
4. click "select port"
Phone will be automatically detected press "connect"
(close the pop up window of image select generally you will get it on connect of lgmdp)
5. backup nv for safety (tools->nv backup) {ignore this step when phone connected in emergency mode, i did ignore this and found no risk of loosing nv}
6. extract downloaded recovery into a new folder
7. select the extracted recovery folder as "image folder or select image" in lgmdp
(it gives some errors as other files are not present, donot worry as we are only flashing recovery those 2 files are enough, files "recovery" and "partiton" will be automatically checked and others gray out)
8. press start or download
DONOT DISCONNECT YOUR MOBILE UNTILL IT SHOWS DOWNLOAD COMPLETE AT BOTTOM
AFTER DOWNLOAD COMPLETE your device should boot into recovery
1. switch off your device
2. pressing (home+vol down+power) buttons simultaneously should boot into recovery.
now install whichever rom you want and enjoy
Tested on O1 having baseband v10 and v20 also, from normal boot and emergency mode as well and it works.[/QUOTE]
hi
i tried to update firmware through kdz updater.
it erased the c drive but then due to some error my phone is not starting even in emergency mode.
i tried all possible combinations of hard keys.
luckily its under warranty.
but i dont know any convincing reason that the service center would accept.
plz help.
farzii said:
hi
i tried to update firmware through kdz updater.
it erased the c drive but then due to some error my phone is not starting even in emergency mode.
i tried all possible combinations of hard keys.
luckily its under warranty.
but i dont know any convincing reason that the service center would accept.
plz help.
Click to expand...
Click to collapse
Tell them you were updating phone through official lg tool software updater, the phone went to emergency mode during process, it shutdown and it didnt power on since then.
They wont ask a single question after this. All the best
(I did use the same explanation)
Heyy, so when I do this(note I am stuck in recovery mode on the phone), it says Error can't open serial port, reboot and restart. Every time I click download to put the recovery in it it does this.
MXFrodo195 said:
Heyy, so when I do this(note I am stuck in recovery mode on the phone), it says Error can't open serial port, reboot and restart. Every time I click download to put the recovery in it it does this.
Click to expand...
Click to collapse
i experienced same problem in one of my friends computer, but then it was solved when we tried again after fresh install of windows and drivers, better you try on any other computer, i m sure u will get it work.
mak.3736 said:
i experienced same problem in one of my friends computer, but then it was solved when we tried again after fresh install of windows and drivers, better you try on any other computer, i m sure u will get it work.
Click to expand...
Click to collapse
I tried from another computer, it's doing the same exact thing. Any other ideas?
Thats what happens when I click download, when I click Select Image, nothing is happening at all. In recovery should I be mounting anything?(data, sdcard, cache, system). Or should I be mounting the USB Storage? I am just baffled, I must be doing something simple wrong, as it seems pretty straightforward.
Hi,
Thank you for the informations.
after image file selected and started, error message was occured "Error! Partition table"
Plz help...
solenun said:
Hi,
Thank you for the informations.
after image file selected and started, error message was occured "Error! Partition table"
Plz help...
Click to expand...
Click to collapse
I think you are not selecting partion.mbn, download the recovery zip once again and follow below:
there are 2 files in zip, recovery image and other is partition.mbn.
Make sure both the files are selected and ticked while image select.
partition.mbn will be selected in partition table,
recovery.img will be selected in recovery image,
then close the window of image select and press download.
MXFrodo195 said:
I tried from another computer, it's doing the same exact thing. Any other ideas?
Thats what happens when I click download, when I click Select Image, nothing is happening at all. In recovery should I be mounting anything?(data, sdcard, cache, system). Or should I be mounting the USB Storage? I am just baffled, I must be doing something simple wrong, as it seems pretty straightforward.
Click to expand...
Click to collapse
uninstall other phone drivers (nokia , motorola etc.) from computer, reboot, reinstall lg p500 usb drivers, reboot and follow guide as the same.
mak.3736 said:
uninstall other phone drivers (nokia , motorola etc.) from computer, reboot, reinstall lg p500 usb drivers, reboot and follow guide as the same.
Click to expand...
Click to collapse
Don't forget to disable the LGE virtuial modem with tools in the LGDMP after it "sees" the phone(leaving the other LGE modem active) (that is the LGDMP)Also after the disable cmd do not restart your computer(mine suggestes this after).Select your image zip the p500 partition table is included there.You will get about 4 or 5 error windows just ok click them away (ignore) and run download.It takes a short time and then pauses a min. and continues.DO NOT disconnect or stop/cancell anything untill you get a red DOWNLOAD COMPLETE!..I used this a couple of times and feel it a very safe way to flash
is it possible to flash amon ra recovery via LGMDP.exe?
if so, how?
vivithbharath said:
is it possible to flash amon ra recovery via LGMDP.exe?
if so, how?
Click to expand...
Click to collapse
yes , but i didnt test it.
try it by replacing clockwork's recovery.img with amonra's revovey.img in folder u get after extracting the zip of clockwork provided in thread.
(i mean use partition.mbn from clockwork zip in thread and amonra recovery.img and flash with lgmdp)
mak.3736 said:
yes , but i didnt test it.
try it by replacing clockwork's recovery.img with amonra's revovey.img in folder u get after extracting the zip of clockwork provided in thread.
(i mean use partition.mbn from clockwork zip in thread and amonra recovery.img and flash with lgmdp)
Click to expand...
Click to collapse
thanks! will try and post the results
My start button is greyed out, clicking it is useless.
Edit: after selecting the file, I closed the window and clicked download. After backing up my NV, the flash worked.
jasonwsc said:
My start button is greyed out, clicking it is useless.
Edit: after selecting the file, I closed the window and clicked download. After backing up my NV, the flash worked.
Click to expand...
Click to collapse
yes i mentioned in procedure press "start" or "download", its obvious start button will be grayed out as all files are not selected. so close file select window and press "download" in main window..
............
I have added it in steps as well now
Why is it that after I selected the port, the select image button is not doing anything? it's clickable but it does nothing?
bryanposas said:
Why is it that after I selected the port, the select image button is not doing anything? it's clickable but it does nothing?
Click to expand...
Click to collapse
After selecting port , a window will pop up to browse for "image folder" close this poped up window then all the functions of main window of lgmdp will be accesible

[Tutorial] Root, Unlock, Recovery and flashing a Custom ROM

This is long, but it's nice for noobs because it's detailed. It's honestly kind of fun, I promise. I'm assuming you have WINDOWS. This is based off of the guide by torxx!. It's modified because some of the info is outdated (you don't have to flash the boot.mg separately, for example). If you are NOT a noob you can just look at the "overview" for each step. This will work with all versions of the HTC One, assuming the kernel works. I have only tested the kernel with the T-mobile variant because that's what I have.
UNLOCKING YOUR DEVICE WILL WIPE YOUR DEVICE. THIS IS A SECURITY FEATURE. BACKUP FIRST.
Part 1- gaining unlock token
Overview: go to htcdev.com and unlock bootloader
Be sure you've turned off fast boot option in power menu; usb debugging should be on (settings -> developer options).
Go to http://www.htc.com/www/software/htc-sync-manager/[1] and install HTC SYNC. Alternatively, if you know what you're doing, you can install these drivers:
x86 http://www.mediafire.com/?qabo1tue2v1ky75 x64 http://www.mediafire.com/?8dl8s3l9mr6ggr9
Go on http://www.htcdev.com[4] and create yourself an account on HTCDEV.
Download these adb/fastboot files: http://d-h.st/RvD
Make a new folder anywhere. We'll use C:/fastboot as an example.
Extract the zip downloaded to the new folder
Go Here http://www.htcdev.com/bootloader/[6] and select "All Other Supported Models" and "then begin unlock bootloader" (check the boxes, click proceed, all that good stuff). YOU CAN IGNORE THE DIRECTIONS THAT THEY TELL YOU (and follow this guide instead).
Power off your phone. Power your phone on by holding power and volume down.
Highlight 'Fastboot' the volume buttons then press power to "select".
Plug your phone into your PC and open a Command Prompt. (windows XP - Click Start > Run > type CMD in box then press OK; Windows 7 - Click Start > type CMD in search box then press Enter) Change directory to your folder where we put fastboot files by typing cd c:\fastboot for example.*
*Alternatively, you can just hold down shift and right click in the folder and select "open command window here". Neat huh?
Type this into your command prompt window: fastboot oem get_identifier_token
Select & copy the text as per step 9 on the HTCDev website
Paste your identifier token into the box at the bottom and submit
You Will Very Shortly Receive an email from HTCDev with a link to the second part of the instructions and your "Unlock_code.bin" attached
Download the "Unlock_code.bin" from the email and save it to the same folder that we extracted fastboot files
Type this into your command prompt window: fastboot flash unlocktoken Unlock_code.bin
The Display Will change on your phone, press Vol+ to accept and power to confirm.
Part 2
Overview: flash your recovery. Boot into recovery. Turn phone off if it boots into OS. Boot into back into recovery. You're done!
Download a recovery:
TWRP (the one I use): http://forum.xda-developers.com/showthread.php?t=2173870
CWM 2: http://forum.xda-developers.com/showthread.php?t=2172979
CWM: http://forum.xda-developers.com/showthread.php?t=2173863
Place the Recovery file to the folder where the fastboot.exe is.
Same thing as above- boot (volume down + power) into the bootloader and highlight 'Fastboot' the volume buttons then press power to "select".
Do the same thing as with the command prompt above. This time, however, you'll be typing:
fastboot flash recovery "name_of_the_recovery.img"
For example:
fastboot flash recovery openrecovery-twrp-2.5.0.0-m7.img
then type:
fastboot erase cache
From the menu, boot into recovery (use volume to move up and down, power to select). The phone might boot to the OS instead of recovery, don't worry!
Turn off phone then turn on (while holding volume down) to boot back into the bootloader.
TAMPERED shows up, boot into recovery and now your recovery should be working!
Part 3- obtaining root
Overview: flash a super tool
Download a super user tool for root:
SuperSU (I use this one): http://forum.xda-developers.com/showthread.php?t=1538053
SuperUser: http://download.clockworkmod.com/superuser/superuser.zip
Alternatively, download this: http://forum.xda-developers.com/showthread.php?t=2266025. This is a stock rooted rom for T-Mobile. If you download and flash this instead of the super user tool, you're done. (This rom includes super user)
Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip super user tool to a location you remember ON the phone.
Flash it with the Recovery: Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader Navigate with VOL and Power to Recovery Now flash the .zip:
- install zip from sdcard
- choose zip from sdcard
- select the downloaded SuperSU/SuperUser zip file and flash it
- Reboot now
If you are a t-mobile user you're not out of the woods yet! The stock kernel is system write protected, so you still can't modify it (changes won't "stick"). You'll have to flash a custom rom or a kernel if you want stock instead.
I recommend these kernels: http://forum.xda-developers.com/showthread.php?t=2255900 or http://forum.xda-developers.com/showthread.php?t=2233665&highlight=menu
Download it.
Installing custom rom/kernel ("flashing a rom")
Overview: Download Rom, boot into recovery and wipe and then flash.
According to Shenye, even though your device is s-on, you can still flash boot now. So just do this:
Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip kernel/cutom rom to a location you remember ON the phone.
Flash it with the Recovery: Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader Navigate with VOL and Power to Recovery Now flash the .zip:
- install zip from sdcard
- choose zip from sdcard
- select the downloaded SuperSU/SuperUser zip file and flash it
- Reboot now
ixrs said:
This is long, but it's nice for noobs because it's detailed. It's honestly kind of fun, I promise. I'm assuming you have WINDOWS. This is based off of the guide by torxx!. It's modified because some of the info is outdated (you don't have to flash the boot.mg separately, for example). If you are NOT a noob you can just look at the "overview" for each step. This will work with all versions of the HTC One, assuming the kernel works. I have only tested the kernel with the T-mobile variant because that's what I have.
UNLOCKING YOUR DEVICE WILL WIPE YOUR DEVICE. THIS IS A SECURITY FEATURE. BACKUP FIRST.
Part 1- gaining unlock token
Overview: go to htcdev.com and unlock bootloader
Be sure you've turned off fast boot option in power menu; usb debugging should be on (settings -> developer options).
Go to http://www.htc.com/www/software/htc-sync-manager/[1] and install HTC SYNC. Alternatively, if you know what you're doing, you can install these drivers: x86 http://www.mediafire.com/?qabo1tue2v1ky75 x64 http://www.mediafire.com/?8dl8s3l9mr6ggr9
Go on http://www.htcdev.com[4] and create yourself an account on HTCDEV.
Download these adb/fastboot files: http://d-h.st/RvD
Make a new folder anywhere. We'll use C:/fastboot as an example.
Extract the zip downloaded to the new folder
Go Here http://www.htcdev.com/bootloader/[6] and select "All Other Supported Models" and "then begin unlock bootloader" (check the boxes, click proceed, all that good stuff). YOU CAN IGNORE THE DIRECTIONS THAT THEY TELL YOU (and follow this guide instead).
Power off your phone. Power your phone on by holding power and volume down.
Highlight 'Fastboot' the volume buttons then press power to "select".
Plug your phone into your PC and open a Command Prompt. (windows XP - Click Start > Run > type CMD in box then press OK; Windows 7 - Click Start > type CMD in search box then press Enter) Change directory to your folder where we put fastboot files cd c:\fastboot*
*Alternatively, you can just hold down shift and right click in the folder and select "open command window here". Neat huh?
Type this into your command prompt window: fastboot oem get_identifier_token
Select & copy the text as per step 9 on the HTCDev website
Paste your identifier token into the box at the bottom and submit
You Will Very Shortly Receive an email from HTCDev with a link to the second part of the instructions and your "Unlock_code.bin" attached
Download the "Unlock_code.bin" from the email and save it to the same folder that we extracted fastboot files
Type this into your command prompt window: fastboot flash unlocktoken Unlock_code.bin
The Display Will change on your phone, press Vol+ to accept and power to confirm.
Part 2
Overview: flash your recovery. Boot into recovery. Turn phone off if it boots into OS. Boot into back into recovery. You're done!
Download a recovery:
TWRP (the one I use): http://forum.xda-developers.com/showthread.php?t=2173870
CWM 2: http://forum.xda-developers.com/showthread.php?t=2172979
CWM: http://forum.xda-developers.com/showthread.php?t=2173863
Place the Recovery file to the folder where the fastboot.exe is.
Same thing as above- boot (volume down + power) into the bootloader and highlight 'Fastboot' the volume buttons then press power to "select".
Do the same thing as with the command prompt above. This time, however, you'll be typing:
fastboot flash recovery name_of_the_recovery.img
For example:
fastboot flash recovery openrecovery-twrp-2.5.0.0-m7.img
then type:
fastboot erase cache
From the menu, boot into recovery (use volume to move up and down, power to select). The phone might boot to the OS instead of recovery, don't worry!
Turn off phone then turn on (while holding volume down) to boot back into the bootloader.
TAMPERED shows up, boot into recovery and now your recovery should be working!
Part 3- obtaining root
Overview: flash a super tool
Download a super user tool for root:
SuperSU (I use this one): http://forum.xda-developers.com/showthread.php?t=1538053
SuperUser: http://download.clockworkmod.com/superuser/superuser.zip
Alternatively, download this: http://forum.xda-developers.com/showthread.php?t=2266025. This is a stock rooted rom. If you download and flash this instead of the super user tool, you're done. (This rom includes super user)
Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip super user tool to a location you remember ON the phone.
Flash it with the Recovery: Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader Navigate with VOL and Power to Recovery Now flash the .zip:
- install zip from sdcard
- choose zip from sdcard
- select the downloaded SuperSU/SuperUser zip file and flash it
- Reboot now
If you are a t-mobile user you're not out of the woods yet! The stock kernel is system write protected, so you still can't modify it (changes won't "stick"). You'll have to flash a custom rom or a kernel if you want stock instead.
I recommend these kernels: http://forum.xda-developers.com/showthread.php?t=2255900 or http://forum.xda-developers.com/showthread.php?t=2233665&highlight=menu
Download it.
Installing custom rom/kernel ("flashing a rom")
Overview: Download Rom, boot into recovery and wipe and then flash.
According to Shenye, even though your device is s-on, you can still flash boot now. So just do this:
Turn on your phone again (and disable usb debugging) and connect to computer, copy the .zip kernel/cutom rom to a location you remember ON the phone.
Flash it with the Recovery: Power off your device and then hold the VOL DOWN + Power to boot into the Bootloader Navigate with VOL and Power to Recovery Now flash the .zip:
- install zip from sdcard
- choose zip from sdcard
- select the downloaded SuperSU/SuperUser zip file and flash it
- Reboot now
Click to expand...
Click to collapse
Thanks for this awesome tutorial man. It definitely should help give noobs a much better understanding!
Sent from my HTC One using xda premium
thanks! this worked great. perfect for all the noobs
Thanks!! I was on the fence about rooting (since the one is so great out of the box) but had an immediate need for tethering. You got me up and running in ~20 Minutes!!
Glad to hear! I think you may have rooted your phone faster than me, lol.
Thank you for this. I am on the fence about which new device i will be purchasing and good to know someone went to the trouble with rooting instructions
rolling56 said:
Thank you for this. I am on the fence about which new device i will be purchasing and good to know someone went to the trouble with rooting instructions
Click to expand...
Click to collapse
Thanks for your kind words! I tried hard to make these instructions as easy as possible, it looks like others found it easy but if you have any questions let me know.
im having trouble unlocking. after i get the unlock code and put it in my folder, i do the cmd 'fastboot unlocktoken Unlock_code.din'. but i get an error "cannot load Unlock_code.bin". am i missing something?
OK
I'll test it out on mines here and let you know
msterner123 said:
im having trouble unlocking. after i get the unlock code and put it in my folder, i do the cmd 'fastboot unlocktoken Unlock_code.din'. but i get an error "cannot load Unlock_code.bin". am i missing something?
Click to expand...
Click to collapse
Did you change directory to that folder?
Can you take a screenshot?
ixrs said:
Did you change directory to that folder?
Can you take a screenshot?
Click to expand...
Click to collapse
Worked like a champ! Thanks! I can't believe I missed that.
Does anyone know where I can find the stock ROM for T-Mobile to flash back to stock?
kgor93 said:
Does anyone know where I can find the stock ROM for T-Mobile to flash back to stock?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2276446
Seems to be where the stock stuff is at.
ixrs said:
http://forum.xda-developers.com/showthread.php?t=2276446
Click to expand...
Click to collapse
Thank you! I've been looking all over for that. Guess it was finally posted today.
kgor93 said:
Thank you! I've been looking all over for that. Guess it was finally posted today.
Click to expand...
Click to collapse
The only problem is that it has not been zipped, so we cannot use it to flash back to stock yet. Once it does, I'm going to be all over it! I wish I had been a bit more patient and just stuck out stock a few days more. I would've been able to realize how much disabling of installed apps just through the HTC settings menu. Not everything can be "disabled", but quite a bit can...
One of the few times where I think stock software is pretty good! Props to HTC!
I've heard this kinda thing voids the warranty, is that the case for the t-mobile 0ne?
Great tutorial but as usual I have been having saveer problems getting the HTC device to install properly so it can be detected in fastboot and recovery. Have been trying on both my laptop and desktop all day...
whitephenix said:
Great tutorial but as usual I have been having saveer problems getting the HTC device to install properly so it can be detected in fastboot and recovery. Have been trying on both my laptop and desktop all day...
Click to expand...
Click to collapse
Where are you stuck? I heard there was a problem with Win 8 x64 on usb 3.0.
Their was a problem for me with Windows 7 pro on my desktop but i finaly got it to work on my laptop.. I am led to think due to previous issues ultimate works better than pro or perhaps my hardware configuration on my homebrew leads windows to have certain comparability issues... The issue is spacifically with hardware detection and driver install errors. But like I said I got it to work on my laptop.
Sent from my HTC One using xda app-developers app
How easy is it to revert back to stock if you decide you don't want to use a custom rom anymore? Are factory images available to flash? Is it as easy as Samsung phones?

Samsung Galaxy Grand 4.2.2 Official firmware

How to flash I9082XXUBMF2 Android 4.2.2 Jelly Bean on Samsung Galaxy Grand Duos GT-I9082 device:
Download the leak Android 4.2.2 Jelly Bean I9082XXUBMF2 file from here "https://hotfile.com/dl/233057193/bed43fc/I9082XXUBMF2_I9082OXABMF2_OXA.rar.html?expire=1" and save it in your PC.
Now, extract the downloaded file and get a tar.md5 file together with a few other files.
Download Odin 3.07 , save it on the PC, extract its content and get Odin 3 v3.07 exe file and other some files.
Power off complete the Samsung Galaxy Grand device.
Now, boot the smartphone into Download Mode. To do that press and keep holding the Home + Power + Volume Down buttons on the same time.
Open Odin3 v3.07.exe file with the administrator rights.
Next, connect the Samsung Galaxy Grand device to PC, for making this use the USB cable while the device is in Download mode.
Now, just look on the Odin interface to make sure that the ID: COM box turn yellow with the proper COM port number and an Added message will be displayed, that means the smartphone is connected successfully,
In case the Added message isn’t displayed try to connect the device on another USB port. If the Odin application still fails to recognize the connection between the device and PC re-install the suitable USB driver once again.
Now, after the connection between Android device and PC is successfully realized, and the ODIN confirmed that you have to select these files extracted from I9082XXUBMF2 folder to flash the same on the smartphone:a) From ODIN click the PDA button, search and load the .tar.md5 file
b) Now, click the Phone button, search and load the file with MODEM in its name.
c) Next, click the CSC button and load the file with CSC in its name.
d) Click the PIT button from ODIN, search and load the .pit file.
Note: Ignore these steps in case the file from step b, c and d isn’t existing.
Important: You have to configure the Odin settings. In ODIN window make sure that the Auto Reboot and F.Reset Time checkboxes are selected. Uncheck the Re-Partition option from ODIN window select it, only in case a .pit file is being used (loaded previously).
Now, when you want to start the installation process, click the Start button in Odin app.
The flashing process should start immediately, and you need to wait about few minutes to be done.
Now, when flashing process is successfully completed, the ODIN app will say a PASS message with a green background very top of the Odin app, and the Samsung Galaxy Grand device will restart automatically.
After restart, you can disconnect safety the USB cord from the PC.
Congratulation, now the Samsung Galaxy Grand Duos should running on the leaked official Android 4.2.2 XXUBMF2 Jelly Bean firmware.
Verify if the new firmware is running on the smartphone, to do that navigate to the following path Settings>> About phone and note down the firmware version running on the smartphone.
Troubleshooting:
In case the Android device gets stuck at the first booting animation or it is entering on a bootloop you have to do:
Place the device in the recovery mode, to do this press and keep holding the Home+ Power + Volume UP buttons on the same time.
Now, from the Recovery Mode select Wipe data/factory reset and after that select wipe cache partition option.
Next, back on the main menu of Recovery Mode and from there select reboot system now option.
Dont forget to hit thanx
Wat about my warrenty after update?
Sent from my GT-I9082 using xda premium
tanmay5 said:
How to flash I9082XXUBMF2 Android 4.2.2 Jelly Bean on Samsung Galaxy Grand Duos GT-I9082 device:
Download the leak Android 4.2.2 Jelly Bean I9082XXUBMF2 file from here "https://hotfile.com/dl/233057193/bed43fc/I9082XXUBMF2_I9082OXABMF2_OXA.rar.html?expire=1" and save it in your PC.
Now, extract the downloaded file and get a tar.md5 file together with a few other files.
Download Odin 3.07 , save it on the PC, extract its content and get Odin 3 v3.07 exe file and other some files.
Power off complete the Samsung Galaxy Grand device.
Now, boot the smartphone into Download Mode. To do that press and keep holding the Home + Power + Volume Down buttons on the same time.
Open Odin3 v3.07.exe file with the administrator rights.
Next, connect the Samsung Galaxy Grand device to PC, for making this use the USB cable while the device is in Download mode.
Now, just look on the Odin interface to make sure that the ID: COM box turn yellow with the proper COM port number and an Added message will be displayed, that means the smartphone is connected successfully,
In case the Added message isn’t displayed try to connect the device on another USB port. If the Odin application still fails to recognize the connection between the device and PC re-install the suitable USB driver once again.
Now, after the connection between Android device and PC is successfully realized, and the ODIN confirmed that you have to select these files extracted from I9082XXUBMF2 folder to flash the same on the smartphone:a) From ODIN click the PDA button, search and load the .tar.md5 file
b) Now, click the Phone button, search and load the file with MODEM in its name.
c) Next, click the CSC button and load the file with CSC in its name.
d) Click the PIT button from ODIN, search and load the .pit file.
Note: Ignore these steps in case the file from step b, c and d isn’t existing.
Important: You have to configure the Odin settings. In ODIN window make sure that the Auto Reboot and F.Reset Time checkboxes are selected. Uncheck the Re-Partition option from ODIN window select it, only in case a .pit file is being used (loaded previously).
Now, when you want to start the installation process, click the Start button in Odin app.
The flashing process should start immediately, and you need to wait about few minutes to be done.
Now, when flashing process is successfully completed, the ODIN app will say a PASS message with a green background very top of the Odin app, and the Samsung Galaxy Grand device will restart automatically.
After restart, you can disconnect safety the USB cord from the PC.
Congratulation, now the Samsung Galaxy Grand Duos should running on the leaked official Android 4.2.2 XXUBMF2 Jelly Bean firmware.
Verify if the new firmware is running on the smartphone, to do that navigate to the following path Settings>> About phone and note down the firmware version running on the smartphone.
Troubleshooting:
In case the Android device gets stuck at the first booting animation or it is entering on a bootloop you have to do:
Place the device in the recovery mode, to do this press and keep holding the Home+ Power + Volume UP buttons on the same time.
Now, from the Recovery Mode select Wipe data/factory reset and after that select wipe cache partition option.
Next, back on the main menu of Recovery Mode and from there select reboot system now option.
Dont forget to hit thanx
Click to expand...
Click to collapse
Hey man i wiped my data and cache partition but even after that it gets stucked what should i do?
Sent from my GT-I9082 using xda premium

Help needed For custom ROM: Ainol Numy AX9 3G P97

Dear Developers,
I have Ainol Numy 3G AX9 P97.
But there is always adds are poping up and tablet using is quite difficult.
We need a custom ROM for it. (MIUI rom or any android custom rom)
We did not find any other ROM for it.
So if you have/know where can I found this then please give me link or if you have then please help me with this ROM.
Thanks in advance.
================================================================================================================================================================================================================================================
We have found one link but not Download links are are working now: 4pda.ru/forum/index.php
After flashing the tablet is not charging, does not turn on the computer is not detected. The solution for such bricks include:
1. Remove the back cover plate.
2. Turning off the power connector.
3. Unpack firmware somewhere on your computer.
4. Turn SP Flash Tool 5.14 and set the path to the file from a folder with MT6582_Android_scatter unpacked firmware (see para. 3)
5. Expose setting Format All + Download and hit Download.
6. Hold down the Volume + pressed connect the USB and wait until the flashing process will start. (The buttons do not go!)
7. As soon as you see a yellow band of interest on the firmware download, you can release the Volume + and wait for the end of the process.
8. After the firmware disable USB, connect the power connector of the battery and turn our device for verification.
9. Put the cover back.
As I said, flashing a site Ainol not work and leads to a brick (3 times sewed, 3 times okirpichil). I solved this problem by replacing preloader.bin of the new version on preloader.bin from the previous version, which is stitched without any problems, and then packed RABOCHUYUYU latest firmware for our tablet did re-initialization of memory + 2GB USRDATA (instead of 1 GB for applications will be allocated 2 GB and there is no fault with the lack of space). Spread the firmware for the members of the forum.
To flash mode Firmware Uprade through SP Flash Tool (for those who okirpichil: see. The instructions above)
Do not forget to make backup NVRAM!
Ainol_AX9_2014.09.05_2GB
Attached file SP_Flash_Tool_v5.1452.00.000.rar (24,67 MB) --> no link
Here CWM recovery for our animal. Put through Mtk Droid Tools.
Download CWM recovery
Attached file MtkDroidTools.rar (9.97 MB)
1. Turn the tablet in debug mode via USB. (Settings for developers)
2. Set the Root rights (Annex Framaroot to help)
3. Start the MTK Droid Tools, connect the USB cable to the plate.
4. Wait for the connection (in the corner of the box should be lit green), and your device must be recognized.
5. Go to the tab root, backup, recovery.
6. click on the button Recovery and Boot.
First, it prompts you to specify the path to the boot.img, but we we press Cancel, and then it asks you to specify the path to recovery.img and we specify the path to my file and hit ok.
7. Turn off the tablet and go in through rekaveri kombanatsiyu On. and Volume +
Attached file recovery.img (5,33 MB)
Please add information to the cap.

Getting a recovery on an old android TV Box

I have an Android TV box, specifically the My Gica ATV582. I want to install Linux on it since the Android system runs way too slowly for my liking, and I don't like the UI.
The problem at the moment is installing a custom recovery so I can flash the new OS. The device is already rooted and has the QuickBoot app so I can get into the stock recovery. Since it's a TV box, there's no way to connect it to a computer to use Odin. I tried Flashify and Rashr, which crash on flash or won't open respectively. CWM or TWRP's apps say there is no supported version for this device. Using ROM toolbox, it say's flash successful, but when I boot into recovery it is still the stock. I even briefly tried building my own port of CWM, but doing so requires connecting to a pc, which I can't do.
Does anyone have any advice?
Just download the Ubuntu Mate Desktop -- Kodi is preinstalled within the Mate img
Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_mate_20180515.img.xz
https://mega.nz/#F!j9QSDQSQ!6WpasOlbZYIInfw6yo4phQ?alZmzAaR
1. EXTRACT the download
2. FORMAT the sd-card
3. OPEN Rufus -- tap ISO icon -- select the EXTRACTED img
4. Create the sd
5. HOLD reset
6. INSERT the sdcard (hold reset!)
7. APPLY POWER (hold reset!)
8. After few screen flashes, let go of the reset and proceed.

Categories

Resources