I'm trying to backup my entire 1st generation Moto G before doing anything like rooting or flashing CWM or CyanogenMod. From googling, it should be possible by booting from CWM without flashing it. I've had no success:
> $ fastboot.exe boot recovery-clockwork-6.0.4.7-falcon.img
> downloading 'boot.img'...
> OKAY [ 0.300s]
> booting...
> OKAY [ 0.240s]
> finished. total time: 0.540s
I unlocked the bootloader and tried the above with fastboot and mfastboot, from a CMD prompt in an account with Administrator privileges, and invoked with As Administrator. All that happened was that the device rebooted as normal. Not that for this to work, I had to copy all the DLL files from XDA's adb/fastboot folder tree into the directory with the CWM image.
Given that this doesn't work, is there any other way to backup the carrier-provided recovery before flashing CWM? Or can CWM be flashed to the devices (and booted) without clobbering the carrier's recovery? I don't mean the OS, I mean the recovery itself. Thanks.
my1stSmartPhone said:
I'm trying to backup my entire 1st generation Moto G before doing anything like rooting or flashing CWM or CyanogenMod. From googling, it should be possible by booting from CWM without flashing it. I've had no success:
> $ fastboot.exe boot recovery-clockwork-6.0.4.7-falcon.img
> downloading 'boot.img'...
> OKAY [ 0.300s]
> booting...
> OKAY [ 0.240s]
> finished. total time: 0.540s
I unlocked the bootloader and tried the above with fastboot and mfastboot, from a CMD prompt in an account with Administrator privileges, and invoked with As Administrator. All that happened was that the device rebooted as normal. Not that for this to work, I had to copy all the DLL files from XDA's adb/fastboot folder tree into the directory with the CWM image.
Given that this doesn't work, is there any other way to backup the carrier-provided recovery before flashing CWM? Or can CWM be flashed to the devices (and booted) without clobbering the carrier's recovery? I don't mean the OS, I mean the recovery itself. Thanks.
Click to expand...
Click to collapse
Not that I'm aware of. Essentially, the recovery partition will get overwritten once you flash CWM. I did manage to find some info on extracting the stock recovery.img. It's not for the Moto G specifically, but it does provide some insight to the process involved.
How to extract a stock recovery.img
http://forum.xda-developers.com/showthread.php?t=2027311&page=3
EASIEST WAY ROM DUMP - ROM dumping method for any phone - some links no longer work in that article.
http://forum.xda-developers.com/showthread.php?t=1771347
This should give you some reading material for the time being and I'll check in from time to time to see what progress has been made.
rikkster said:
Not that I'm aware of. Essentially, the recovery partition will get overwritten once you flash CWM. I did manage to find some info on extracting the stock recovery.img. It's not for the Moto G specifically, but it does provide some insight to the process involved.
How to extract a stock recovery.img
http://forum.xda-developers.com/showthread.php?t=2027311&page=3
EASIEST WAY ROM DUMP - ROM dumping method for any phone - some links no longer work in that article.
http://forum.xda-developers.com/showthread.php?t=1771347
This should give you some reading material for the time being and I'll check in from time to time to see what progress has been made.
Click to expand...
Click to collapse
Sorry for the delayed follow-up. I had only fragmented opportunities to examine the content that you linked to (a few times), then things went crazy in the home stretch of 2014 at work, before the holiday season. Then the holiday season came in at full force (not that I'm complaining). Only now having a chance to look at this again, and a limited chance at that. Will respond with more thoughts/decisions as soon as possible.
Being unfamiliar with Android, the 2 links took a number of visits to digest. Here are my notes in following the 2 discussions.
1st link: How To Extract Stock Recovery.img From an android
-----------------------------------------------------------
I only followed this link until the 4th page, as most of it seemed to apply to other models. Because of the many references to the directory structure on the smartphone, I ended up using adb to explore the directory stucture on the phone. For anyone else who may follow in my naive footsteps for the Moto G (1st generation):
* For those unfamiliar with command line shells, for any of this to
work, you need to ensure that the directory containing adb.exe is
in your environment variable PATH (this is googlable)
* Since I was playing around and exploring, I also ensured that PATH
contained the directories in which fastboot & mfastboot resided.
This was not necessary for exploration described here.
* I then had to enable Developer Mode by going into Settings, About
phone, then tapping Build number ten times.
* I then went into Settings, Developer options, and enabled USB
debugging.
* For some reason, I also had go into Settings, Developer Options,
and Revoke USB debugging authorization
* After that, when I issued "adb devices" from the laptop, I and to
confirm authorization from the Moto G
* Note that if the Moto G required a password when powered up, I
needed to enter that before "adb devices" saw the Moto G.
* That "adb devices" command was issued at the command line on the PC
to which the Moto G was connected
* I did not need to be on an account with Administrator privileges
in order to use adb
* This 1st link suggested the existence of /proc/bml, /proc/mtd,
/dev/bml, and /dev/mtd. I found none of these on my Moto G.
* References are made to /proc/dumchar_info and /proc/emmc (albeit
for an "MTK Phone"), and my phone seems to contain neither
* Mention was made of SP Flash tool, but I'm making a conscious
decision to stick with mainstream tools
* CWM for sure, but the whole challenge right now is to back
up the OEM recovery before installing CWM
* Whatever the means of backing up the OEM's recovery, root cannot be
a prerequisite, since the point is to backup the whole phone as-is
before messing around, i.e., backing up the OEM recovery before
installing CWM, using it to back up the rest of the phone before
anything else like rooting, etc.
* Frankly, I don't plan to install much else, nor root unnecessarily
* From
http://www.theandroidhow.com/2014/06/how-to-dump-backup-any-android-rom.html,
the prospects of backing up the OEM's recovery without rooting
seems low
2nd link: [EASIEST WAY ROM DUMP] ROM dumping method for any phone
-----------------------------------------------------------------
* I initially entertained the idea of treating the Romdump mentioned
in the 2nd link as mainstream, but a google doesn't reveal any hits
for that, so it's not
* The top of the thread says "Need ROOT access", though it's not
clear whether the meaning is that root is needed for Romdump or
Romdump is needed because the person wants to back up the phone
before rooting
* The 1st post says that the su command is needed, which implies
that whatever was meant in the 1st bullet, root is needed to use
Romdump
* The 2nd post asks how Romdump can create a reliable image when CWM
requires that the OS must not be running (probably not referring to
backing up the OEM recovery). I could not find a clear and
compelling answer to the question of how the integrity could be
confirmed. One "answer" was to restore the backed up partition.
To me, this is not acceptable as you will be clobbering the content
of interest before confirming that it was properly backed up.
* I followed this thread at length, and several times, but it becomes
confusing after this and its relevance to my phone seems uncertain.
Due to the above 4 bullets, I decided not to spend the time needed
to more thoroughly vet this
It seems that backing up the OEM recovery without rooting may be a lost cause. I will go ahead and clobber it with CWM. Hopefully, that will work. Thanks for the help.
Related
This is a tutorial to restore the Nexus One ROM to Original Shipping Image [updated Jan 12, 2010 @ 23:57 CST]
I am assuming you know how to use ADB and Fastboot as well as some basic OS knowledge be it DOS, OSX, or Linux.
This will do the followings to your Nexus One:
1. Reset your system files to the original system files.
2. Reset your kernel/boot image to the original shipping boot image.
3. Reset your recovery to original recovery (if you wish).
This will not relock your Nexus One. Once you unlock your phone, you are stuck for now.
This is for those of you who decided to flash a few different ROMs and want to restart from scratch.
You may get the Original Shipping Image from HERE or thru Modaco HERE. [22607 build]
MD5sum for the images is: bef86698cafc88ca03fff5758571d9d6 (per DroidDrop)
As before, if you mess up your phone or your computer, you are on your own. I take no responsibility on what you do with your phone or your computer.
Brendenk posted a nandroid back of his fresh image here If you don't want to do an actual factory restore, try this first. If you really really want to do it your way then...
Step 1. Disable backup my settings under privacy settings.
Step 2. unzip the original shipping ROM and put it somewhere you can find.
Step 3. Plug in Nexus One with USB to computer (enable usb and debug modes)
Step 4. adb reboot bootloader (which will boot into the bootloader)
Step 5. Confirm fastboot connection fastboot devices
Step 6*. fastboot erase userdata
Step 7*. fastboot erase cache
*If step 6 and 7 does not work, and if you have Amon_RA's recovery installed, you can do a factory data wipe from there.
Alternately, you can also do a factory data wipe within Android. Settings => Privacy Settings => Factory Data Reset.
Thanks to Brian and setzer715.
Step 8. Go to the directory that you stored your unzipped files.
Step 9. fastboot flash userdata userdata.img
Step 10. fastboot flash boot boot.img
Step 11. fastboot flash system system.img
Step 12. Skip to step 13 if you want to keep recovery (assuming you have a modified recovery such as Amon_RA's recovery). If not fastboot flash recovery recovery.img
Step 13. fastboot reboot
Step 14. After the system boots up and while setting up skip setting up with the google account and you can setup accounts later. This will prevent the phone from pulling down the previous settings (downloaded apps, wallpaper etc) from google.
Step 15. You are done. Enjoy.
Source: Modaco for the ROM Image and HTC for the Instructions.
This post can and will be updated without notice. Keep checking here for the up to date details.
The following information came from user tuffCookie (for those with unlocked bootloader):
ok, after researching, i finally figured it out.
If you have a rooted N1 with a LOCKED bootloader and want to bring it back to complete stock, follow my steps below.
DISCLAIMER: I am not responsible for any damages you may cause to your phone. Proceed at your own risk!
BEFORE YOU BEGIN: Just to be safe, make sure your battery is fully charged.
1) Find and download FRG33 IMAGE FORMAT from MoDaCo here: http://android.modaco.com/content/go...root-insecure/
2) Rename the file to PASSIMG.zip
3) Place the zip file on the root of your sdcard
4) Reboot into bootloader (power on your phone while pressing the vol down button)
5) Bootloader will automatically find and check PASSIMG.zip. Give it a minute and it should eventually show "Parsing....[SD ZIP]" and a list showing boot, bootloader, radio, recovery, etc and ask if you want to start the update. Press vol up for yes.
7) The update process will begin and automatically start flashing each item on the list. DO NOT POWER DOWN THE DEVICE DURING THIS PROCESS!!!
8) When it asks to reboot the device, press vol up for yes.
9) Now you're back to complete stock! If you want, you can go into settings and do an OTA system update.
Click to expand...
Click to collapse
Great tutorial, thanks for all your work in the nexus area
thank you!!! exactly what i need!!!
hks18psigst said:
thank you!!! exactly what i need!!!
Click to expand...
Click to collapse
I saw the other post you posted under wifi thread. You're welcome.
system.img should take a while to flash right? i'm getting nervous
took like 20 mins but all done nvm and thanks sooo much
system.img is only 110 odd MB. The whole process took a few minutes (less than 3) for me. But I know what I am doing.
Nice Work.
Does this lock the bootloader?
Edit: Just saw your twitter...fml
seraph1024 said:
This is a tutorial to restore the Nexus One Step 3. adb boot recovery
Step 4. from recovery console, Wipe => Wipe data/factory Reset.
< You may also do step 3 and 4 from Nexus -- Do a search -- Google has it in their FAQs >
Click to expand...
Click to collapse
You can also wipe data using fastboot:
fastboot erase userdata
swetland said:
You can also wipe data using fastboot:
fastboot erase userdata
Click to expand...
Click to collapse
Yes. Thanks Brian. Forgot about that. Probably should clear cache too right?
Yeah, if you're going for that new phone smell, erasing cache too makes sense.
Thanks again.
I've updated the instructions and this should make things more to the "blank slate" status before the ROM is reflashed.
If anyone is stuck etc, feel free to PM or contact me via AIM or twitter
Can we get a mirror and an md5sum? RS and MU are going REALLY slow
Since I did not supply the images, you have to check the thread for the people who supplied the thread. I can upload to a different source or on my own server if there is a major request (pending permission from the original source at modaco).
Nice write up, but on Step 3 I think you meant adb REBOOT bootloader, not BOOT. Save ya a butt load of newb "I cant get step 3 to work" posts.
Also I cannot get fastboot erase userdata to work. I get "erasing 'userdata'... FAILED <remote: not allowed>. I had to erase in recovery.
Anyone have an MD5Sum for the passimg?
Restore your Nexus One to its Original Shipping Image
I have rewritten the above guide..
Restore your Nexus One to its Original Shipping Image - http://www.machackpc.com/headline/restore-your-nexus-one-to-its-original-shipping-image/
Please let me if I am missing anything.
Thanks
MacHackPC
http://www.machackpc.com
machackpc said:
I have rewritten the above guide..
Restore your Nexus One to its Original Shipping Image - http://www.machackpc.com/headline/restore-your-nexus-one-to-its-original-shipping-image/
Please let me if I am missing anything.
Thanks
MacHackPC
http://www.machackpc.com
Click to expand...
Click to collapse
I have no issues with anyone linking to this site. I do have an issue with the people that just want to copy our work here and repost it like they just figured out how to do that. Please link back to XDA and Modaco for the ROMs. The reason why we keep things centralized is so that people do not have miscommunications while updates are not being made on the mirrored sites.
Now for comments.
1. You don't need to download the drivers again. Why? People have already rooted their devices, thus drivers installed. If you have not rooted the N1, no need for restore.
2. Why do you need to download and unzip superboot? (again no credit to the site of where superboot came from).
3. We are still having issue of erase userdata. When I update the instructions, will you update yours or will you leave people in the dark more confused than ever.
Single source of clear direction helps. Multiple source of multiple directions cause chaos.
If I am wrong in my reasoning, please let me know. We are all here to share.
question: why disable backup my settings?
Dear Memeber
i find that my htc legend is un rooted and i need to root it to install a room to it i try many ways i find other the internet and it doesn't success to do it so am look for how and the way to root it
and will be thankful for you
-Unlock the boot loader using HTCDev
-Use HTCSuperTools v3 to gain root access
-Flash ClockworkMod Recovery
-Flash any ROM you want.
These are the basic steps. I might write up an updated, more detailed guide for others when I get back to a computer.
Sent from my Legend using XDA
Go to http://www.htcdev.com/bootloader/
Register, select your device and unlock the bootloader
Get HTC Super Tools from
http://forum.xda-developers.com/showthread.php?t=1343114
Run it, do options 1 and 3, in that order, to root your phone
Get Clockwork Recovery Mod from
http://forum.xda-developers.com/showthread.php?t=1290841
Use 1st step for S-OFF method to install ClockworkRecovery
Boot into Recovery mode and take a backup of your ROM
Download the ROM of your choice and copy it to your SD card
Boot into Recovery Mode, do a data wipe/factory reset and a cache wipe
Select Install from zip in Recovery, navigate to your ROM in SD Card and install it. Hope this helps.
This is a long process, at least for the first timers. You may get stuck at various places, please let us know if you do
Unlock the boot loader using HTCDev
-Use HTCSuperTools v3 to gain root access
i download this two items and i try to root it but it dosen't work with me or maybe i did something wrong
what is the steps that i have to follow by using them
and thanks for your replies
Regards
sometimes it says like this
C:\Android>fastboot oem get_identifier_token
< waiting for device >
...
and it stuck for along time and nothing changed
and other times when i press power button for the fastboot it change to be like this
(bootloader) [ERR] Command error !!!
OKAY [ 0.008s]
finished. total time: 0.008s
C:\Android>fastboot oem get_identifier_token
...
FAILED (status read failed (Too many links))
finished. total time: 4.670s
All I can think of is that you should start again reading every step carefully.
Also, jc36 that's a great guide
Sent from my Legend using XDA
clarify jc36 clockwork recovery mod step
I need to clarify something important for the "Get Clockwork Recovery Mod step which says to follow the 1st step for S-OFF method to install ClockworkRecovery.
On the linked page http://forum.xda-developers.com/show....php?t=1290841
Where it says the following:
"How to use S-OFF user
Download file and move on adb fastboot folder"
Does "move on adb fastboot folder" mean, put the file into the folder? And if so where is the folder?
There is no such folder: "adb fastboot folder"?
Does it mean:
1. put it in the Android folder created (C:\android) to hold the files instructed by HTC Dev for unlocking the bootloader?
2. Or put it in the android-sdk folder, somewhere? May be the Platform Tools folder where adb.exe exists?
Thanks to anyone who can help clarify this step for me
Yes it means put the recovery into the folder with adb.exe and fastboot.exe
Sent from my Legend using XDA
Thanks again
Thanks for clarifying that. As you can imagine I am a noob. It would be awesome if the brief procedure by jc36 could be expanded upon into an exact step-by-step (hand-holding) for all the noobs out there. Jumping back and forth between the forum links can get confusing -- especially some of the posts are old... leaving one wonder if the instructions are outdated etc!
May be I will do it if I get through this safely....
xdadufus said:
Thanks for clarifying that. As you can imagine I am a noob. It would be awesome if the brief procedure by jc36 could be expanded upon into an exact step-by-step (hand-holding) for all the noobs out there. Jumping back and forth between the forum links can get confusing -- especially some of the posts are old... leaving one wonder if the instructions are outdated etc!
May be I will do it if I get through this safely....
Click to expand...
Click to collapse
Brief is good although I do understand how a noob would want a step-by-step guide. In relation to date, none of the links I gave you were really outdated. The datestamp at the top of the thread might say '6th October 2011, 10:00 AM' but if you look at the bottom of the post it'll say something like 'Last edited by (username); 21st March 2012 at 09:32 AM' on threads/posts that get updated. Welcome to the Legend forums!
Further Clarification
I am continuing with my quest to clarify and document the whole jc36 procedure accurately.
1. After you have unlocked the bootloader are there any mode changes to be made before running SuperTools?
2. After running SuperTools, following the 1st step for S-OFF Clockwork Recovery Mod how do you put the phone into "fastboot" mode? Does the phone have to be disconnected again, powered down, restart with volume held down, highlighting Fastboot then press Power button and reconnecting to computer? Is this the procedure or is there another way while it still connected to the computer?
3. Continueing with Clockwork Recovery Mod code where it says:
"In fastboot mode:
Code:
adb reboot bootloader
fastboot flash recovery recovery_legend_5.0.2.8.img"
I'm guessing the code above is for command prompt for the c:\android directory as done previously for HTC Dev unlocking of the bootloader?
Open up command prompt. ( Start> Run> Type CMD,).
Command Prompt: cd c:\Android)
Type in Command Prompt:
adb reboot bootloader
fastboot flash recovery recovery_legend_5.0.2.8.img
Correct?
4. After completing Clockwork recovery Mod it says to "Boot into Recovery mode and take a backup of your ROM" -- again do you disconnect the phone to do this and boot into the bootloader to select Recovery mode? And how to you backup? Is it to an SD card or is the phone connected to the computer to take the backup to your hardrive?
Thank you to all in advance who take the time to go over these questions.
1. By mode changes I'm assuming you mean something like enabling USB debugging which is definitely recommended.
2.You get into fastboot mode by rebooting into the bootloader (Hold volume down+trackball+power button). Fastboot is the first selected option so all you have to do is press the power button to choose it and then it will go into fastboot mode
3.Yes in command prompt you navigate to the folder that has adb.exe, fastboot.exe and the recovery image and then carry out those commands
4.If you've flashed a ROM that supports it then in phone options(hold down power button) you can select Reboot and then Recovery. Otherwise to get to recovery you would have to go through the bootloader. To backup you go to Backup and Restore in CWM and select Backup or alternatively you can use ROM Manager to do a backup. The phone doesn't have to be disconnected and the backups are made to the micro SD Card.
Sent from my Legend using XDA
run in to trouble at the beginning
I have run into an error with the command provided with HTC Dev Unlock Bootloader.
I have followed all instructions very carefully. When in command prompt I get this error after entering:
fastboot oem get_identifier_token
...
<bootloader> [ERR] Command error !!!
I am in the android directory in c:\android and have the three files there:
adb.exe
adbWinApi.dll
fastboot (which I extracted from an older version of SDK as instructed by HTC because it doesn't exist in the latest SDK software)
Is your phone connected with USB Debugging on and HTC drivers installed on your computer?
bootloader now unlocked successfully
I just flashed the RUU that HTC Dev recommended for my phone, the version it should have before attempting to unlock the bootloader.
My phone originally had this updated version anyway so I never updated it on my first attempt.
After reading the forums here for people having similar issues I flashed their recommended RUU for the Legend and from that point on the command in command prompt worked. I have now unlocked the bootloader ...
what about gapps?
I finally rooted my phone and flashed cm7.2 ROM successfully after some nail biting experiences... it is not as simple as the instructions posted earlier in this forum make it appear... There were some issues I ran into. I will post an explanation of how I resolved them soon.
What good is a new android ROM without essential Google apps? I know they are not packaged due to licensing but I can not find a reasonable explanation of how to get them on my phone. I thought it would be simple but it is not. Right now I can not download any apps...
I read the gapps packages should be installed during the flashing of the ROM... that point is missing from the instructions here! So what now? Do I have to run through the process of flashing the ROM again along with the gapps package this time?
I tried installing the latest Google Play app but it would not connect to the server -- whatever that means -- after entering in my google account.
Is there any way to get the apps downloaded directly to my computer so I can copy them to the SD card? I did find a couple of solutions to do this but you need to enter google account details and some id number for the phone which I can not find... what is the identifier for the phone and where?
Any assistance on this would be greatly appreciated because at this point the whole new fresh ROM is useless...
You can flash GApps at any time. Whether it's during installation, right after first boot, or years later. Make sure you flash the appropriate .zip.
You can use APK Downloader to get them straight from the Play Store to your computer in .APK format.
http://codekiem.com/2012/02/24/apk-downloader/
All the latest Gapps packages can be found here. Use the 'gapps-gb-20110828-signed.zip' package if you're running Gingerbread and 'gapps-ics-20120429-signed.zip' if you're running ICS.
I need a bit more help please!
I have had the legend for ages and wanted to breath new life into it. I am using a ssensation as my everyday phone and that was a doddle to root compared to this!
I have gotten as far as flashing recovery. I dl'd the S-OFF .img from here and placed it in my adb folder. I tried running the adb command and only got as far as
"fastboot flash recovery" when
"error: neither -p product specified or ANDROID_PRODUCT_OUT set" shows up.
Any help? the HTCdev and Supertools seemed to go flawlessly for me. My HBOOT was 1.01 and HTCdev changed it to 1.02. It also now has *** LOCKED (OOW) *** at the top. I'm still S-ON too. What's going wrong? There is no su app in the app drawer like there was when I rooted my sensation. do I have to start over? any help would be great!
icanttinkofaname said:
I need a bit more help please!
I have had the legend for ages and wanted to breath new life into it. I am using a ssensation as my everyday phone and that was a doddle to root compared to this!
I have gotten as far as flashing recovery. I dl'd the S-OFF .img from here and placed it in my adb folder. I tried running the adb command and only got as far as
"fastboot flash recovery" when
"error: neither -p product specified or ANDROID_PRODUCT_OUT set" shows up.
Any help? the HTCdev and Supertools seemed to go flawlessly for me. My HBOOT was 1.01 and HTCdev changed it to 1.02. It also now has *** LOCKED (OOW) *** at the top. I'm still S-ON too. What's going wrong? There is no su app in the app drawer like there was when I rooted my sensation. do I have to start over? any help would be great!
Click to expand...
Click to collapse
You do see the words "locked"? that means its "locked" you need to follow the steps provided by htcdev in the email they would have sent you including the unlock.bin file with out those steps you can't do anything, its like its still not rooted.
Sent from my Legend using XDA
Credits go to @nlooooo for starting this thread!
WARNING
I’m not responsible for bricked devices, all you do is on your own responsibility. Most of the processes I’ll mention will work with some vital parts of your phone, so if you don’t have enough courage or until you don’t understand all the things you should do I recommend not to get involved with this.
Click to expand...
Click to collapse
Ok, there's a tool for almost all of that. Tool is updated, but you need to be sure to click the button for the right recovery, explanation below.
1. UNLOCKING OF BOOTLOADER
Everything starts with this. Unlocking of bootloader will allow you to make changes to some critical partitions of your phone (boot, system and recovery) and will allow you to flash custom recovery that can be used for installing of custom roms, mods and all kind of flashable zips. However, it won't s-off your phone, and other critical partitions (bootloader, radio) remain inaccessible.
So, I won't explain how to do that. Why? Because if you successfully unlock bootloader on your phone it means that you received enough knowledge for the rest of the process and you're qualified to go further.
This process will factory reset your phone (erase data partition) so backup your stuff before you proceed.
Ok, now go to htcdev.com, register your account, go to unlock bootloader section, for the device choose 'All other supported models' and follow the instructions carefully everything is explained in details. Pay attention to 'Required resources' on the first page after confirmation - you need Android SDK platform tools Java Runtime Environment and HTC Sync installed and there are all needed links. Files mentioned in step 5 you will find in Android Bundle zip you downloaded in folder adt-bundle-windows-x86_64\sdk\platform tools.
Here are some useful links about Android SDK platform tools, you won’t be needing most of it but it won't be bad to read.
http://developer.android.com/tools/help/adb.html
http://android-dls.com/wiki/index.php?title=ADB
http://android-dls.com/wiki/index.php?title=Fastboot
http://wiki.cyanogenmod.org/wiki/fastboot
Remark: once unlocked bootloader can be relocked but can never be locked again. This can be done issuing command from fastboot:
fastboot oem lockThis means that on the top of you bootloader screen you’ll have a sign RELOCKED instead of LOCKED, which is a notice to HTC that you unlocked it once. Plus they have data about all users that requested unlock_code so they can deny your warranty whenever they want.
If you’ve successfully unlocked your phone bootloader we can proceed to the next step.
Click to expand...
Click to collapse
2. CUSTOM RECOVERY INSTALLING
- Go to this address:
http://forum.xda-developers.com/showthread.php?t=2502327There you can find custom recoveries for DesX. Some of them have a few bugs but they are generally functional. Download one of your choice, rename it to recovery.img and put it on the root of c: drive on your PC. Before downloading, read the thread linked to carefully, as it is important to check your hboot before installing a custom recovery.
Remark: you can use recovery image provided in WindyCityRockr's tool.
- Go here:
http://download.chainfire.eu/370/SuperSUdownload SuperSU, connect your phone to PC and put it somewhere on your phone sd card.
- Do not disconnect your phone from PC, reboot phone to fastboot on one of this ways :
1. choose restart from power menu and when the screen comes off wait for the buttons to turn off and immediately push volume down, the phone will boot to bootloader, then select fastboot from bootloader menu
2. issuing command
adb reboot-bootloaderfrom command prompt that will take you directly to fastboot
- once you’re in fastboot mode open command prompt, lead it to folder where you installed adb and fastboot (remark: unlocking bootloader guide pointed you to make a folder c:\Android for this) and issue commands
fastboot flash recovery c:\recovery.img
fastboot reboot-bootloader
fastboot erase cache
The second and third commands are not quite necessary but they don’t harm and leave your phone with no trails of previous recoveries. Now you can disconnect your phone from your PC.
Click to expand...
Click to collapse
3. BACKING UP STOCK ROM
Now it is really important to backup your stock ROM. Dependent on your CID and hboot version, you can't use RUU to get back to stock, especially if your phone is branded by your carrier. Also, RUUs are only available for ICS bootloader (hboot 1.24 and lower). For JB there are only nand backups for a few CIDs uploaded by some nice xda members. So if you definitely want to be able to get back to stock any time, you'll have to backup your current configuration first. That's done by:
Reboot your phone to recovery
Backup -> Select all partitions -> Swipe to BackupThat will take some time. After that's finished, you should make a copy of that backup somewhere safe (it's located on the sdcard in folder TWRP, just copy the whole folder somewhere).
Click to expand...
Click to collapse
4. ROOTING YOUR PHONE
- From fastboot menu choose bootloader and then recovery to reboot phone to recovery
- If you successfully boot to recovery choose options:
Install zip from sd card
Choose zip from sd cardNavigate to UPDATE-SuperSU-vx.xx.zip you stored on sd card and choose it. Once the installation is finished reboot your phone. Now you should see SuperSU app in app drawer and your phone is rooted.
Click to expand...
Click to collapse
5. CUSTOM ROMS INSTALLING
There are already quite a few ROMs available for our device. But watch out... many of them are discontinued, mostly the CM ROMs as well as the ROMs based off CM. Go here for the index:
http://forum.xda-developers.com/showthread.php?p=35735267#post35735267That’s the Index thread I created for all user to track development for our device. There you’ll find roms that can be installed.
I have to emphasize that every chef gives an instruction how to install his rom, so here I’ll just give you the basics for custom rom installing using custom recovery.
- Download the rom of your choice and put it on the sd card of your device
- Unpack boot.img from rom.zip and put it on the root of c: drive on your PC
- Reboot phone to recovery
- Choose option ‘wipe data/factory reset’
- Choose option ‘wipe cache partition’
- Choose option ‘advanced’ and in next menu choose ‘wipe dalvik cache’
- Go back to main menu and choose ‘install zip from sd card’ and then ‘choose zip from sd card’
- Navigate recovery to rom zip you put on sd card and choose it
- Wait until the installation is finished
- Reboot your phone to fastboot and connect it to your PC
- Open command prompt, lead it to folder where you installed adb and fastboot (remark: unlocking bootloader guide pointed you to make a folder c:\Android for this) and issue commands
fastboot flash boot c:\boot.img
fastboot reboot-bootloader
fastboot erase cache- Reboot your phone
The last few steps are needed since there is no way to s-off our device, so boot.img included in rom.zip has to be flashed separately via fastboot.
Remark: don’t ever forget for the golden rule of flashing ‘Always make a nand backup before you flash something'.
Click to expand...
Click to collapse
6. S-OFF
As S-OFF makes your device vibrating 7 tmes on each boot, you should really think about if you need it. If you are not sure about it, then it's not for you. If you still want to do it, go here:
http://forum.xda-developers.com/showthread.php?t=2630531
http://forum.xda-developers.com/showthread.php?t=2667156Use the first link to get to the files needed to do your S-OFF. In the second link you'll find the things you can do after the S-OFF procedure including downgrading the hboot in order to install RUUs etc.
Click to expand...
Click to collapse
Ok, I did what I had promised, all suggestions and corrections are more than welcome.
All this came as 2 years experience with HTC phones (had Desire and Incredible S before), unlocking, rooting and taking their guts out .
Sources and links posted:
- HTC Developers site
- WinDroid HTC Desire X Toolkit v2.1 made by WindyCityRockr
- Android Developers site
- Cyanogen Wiki site
- SuperSU made by Chainfire
- Thanks to ckpv5 for nand ICS backup thread
- Thanks to Izzy Stinson for pointing me to things not explained enough
- Sources for recoveries can be found in my recovery thread
- Thanks to GtrCraft for the idea to include the backup of stockrom
- Thanks to nightwalkerkg and the rumrunners team for getting us the S-OFF
- Again thanks to ckpv5 for the S-OFF tutorial
Going back to stock for official update
Now to say more about a reverse part. The point of this is to make your phone available for official updates, and make it possible to do. Thanks to Ranalakshay36 and Bedroom we have information that you can apply OTA without need to relock bootloader on the phone. However, relocking is still mandatory if you want to install a fresh new rom using RUU.
The first important thing for this is: PEOPLE, MAKE A NAND BACKUP OF STOCK ROM BEFORE REMOVING OF ANY APP FROM SYSTEM OR INSTALLING A CUSTOM ROM!!! This will make this process much easier to do.
RECEIVING AND OFFICIAL UPDATES INSTALLING
Part one:
Ok, you just unlocked bootloader and rooted your phone (no custom rom installed), but you received a notification that you have an official update available and you want to install it. No problem at all if you didn't touch the apps on system partition (some of them are necessary for official support), and all you have to do are these 2 things:
1. Reinstall stock recovery - I attached it. Remember the part about custom recovery? The process for this is the same:
- download recovery I attached, rename it to recovery.img and put it on the root of c: drive on your PC
- reboot phone to fastboot
- connect it to a PC
- open command prompt and guide it to the folder where you have adb platform tools installed
- issue commands
fastboot flash recovery c:\recovery.img
fastboot reboot-bootloader
fastboot erase cache
Now your phone should be ready to apply official update.
Click to expand...
Click to collapse
Part two:
1. You installed a custom rom, however you made a nand backup of your intact stock rooted, so all you need is to restore your nand backup and go to "Part one", that will do a thing.
2. You installed a custom rom, however you didn't make a nand backup of your intact stock rooted, or you deleted some important files from system partiton. So, you're almost scre**d. I said almost because you can ask some of your geeky friends to borrow you his nand backup that you can use for restore.
The best option is to revert back to stock using RUU, but that's currently limited only for devices with Europe based firmware. Here is the thread I made where you can find info about 1.18.401.1 RUU and CID compatibility and a way to check CID of your phone to make sure you can use it:
Get CID and RUU 1.18.401.1 Compatibility
RUU Download page
To run RUU you need to relock your bootloader. This is how you can do it:
- reboot phone to fastboot
- connect it to a PC
- open command prompt and guide it to the folder where you have adb platform tools installed
- issue command
fastboot oem lock- the phone should restart automatically and you'll have a sign RELOCKED on the top of bootloader screen.
After you successfully relock bootloader you can run RUU directly from fastboot. With earlier HTC models there was I a way to bypass CID checking and use any RUU to revert back to stock using a GoldCard, but someone told me that it's not possible with Desire X.
Remark: once you relock bootloader it can be unlocked again in the same way you did it for the first time, and, of course, it will factory reset you phone. Also, going in this order is mandatory, cause if you relock bootloader before you flash stock recovery, you won't be able to do that with relocked bootloader
Click to expand...
Click to collapse
If you can't run a RUU because of incompatible CID, you have to have a nand backup ready for restoring or else to find one in the forums. Here is a thread with different nand backups incompatible from the RUUs:
ICS nandroid backups
Follow the instructions in the above thread to restore your backup.
Click to expand...
Click to collapse
Credits:
- Cobje - stock recovery img from latest update (1.18.xx)
http://forum.xda-developers.com/showpost.php?p=35031493&postcount=25
- Ranalakshay36 and Bedroom for the intel.
Reserved once more...
Nice on nlo, will hopefully stop alot of the questions
Good job writing this tutorial!
One small remark: unlocking bootloader via htcdev will hard-reset the device so all data on the phone will be lost. Might be useful to mention this so users can back-up as much as possible on an un-rooted device.
nightcrow said:
Good job writing this tutorial!
One small remark: unlocking bootloader via htcdev will hard-reset the device so all data on the phone will be lost. Might be useful to mention this so users can back-up as much as possible on an un-rooted device.
Click to expand...
Click to collapse
Thanks, forgot about that while I was writing all this stuff.
I can imagine it's quite a story
Anyway well done and it will definitely be useful to the ones that are about to dive into the rabbit-hole.
thanks for the tutorial! very easy to understand and very simple. :good::good::good:
thanks for the tutorial! nice Job men.:good:
a very well written master piece tutorial. absolutely easy use of english as well without most technical jargon. keep up the good work.
here after m gonna redirect such noob questions to this page.
ayyu3m said:
a very well written master piece tutorial. absolutely easy use of english as well without most technical jargon. keep up the good work.
here after m gonna redirect such noob questions to this page.
Click to expand...
Click to collapse
When an English gentleman says that's an easy use of English I somehow get delighted...
Updated, added flashing boot.img via fastboot for custom roms installing.
thx man, its very helpful for noobs like me who cant follow every thread
there is one more thing i need you help to do it .. how to install busybox ?
I tried all the market apps but i keep getting they same problem "failed to install, try other version or different location"
AxR979 said:
thx man, its very helpful for noobs like me who cant follow every thread
there is one more thing i need you help to do it .. how to install busybox ?
I tried all the market apps but i keep getting they same problem "failed to install, try other version or different location"
Click to expand...
Click to collapse
Try here, here you can find it as a flashable zip.
http://forum.xda-developers.com/showthread.php?t=1929852
nlooooo said:
Try here, here you can find it as a flashable zip.
http://forum.xda-developers.com/showthread.php?t=1929852
Click to expand...
Click to collapse
it worked !! thx
any idea how to keep the changed font after restarting ? it appears the system revert any change i do
I have one question, after I done process 1 and 2, can I factory reset again from the settings without losing root and still keep bootloader unlocked?
Sent from my HTC Desire X using xda app-developers app
Izzy Stinson said:
I have one question, after I done process 1 and 2, can I factory reset again from the settings without losing root and still keep bootloader unlocked?
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Of course you can, factory reset deletes only data partition while all others stay intact, and Superuser app is located on system partition, while bootloader can't be accessed from there, only from fastboot.
nlooooo said:
Of course you can, factory reset deletes only data partition while all others stay intact, and Superuser app is located on system partition, while bootloader can't be accessed from there, only from fastboot.
Click to expand...
Click to collapse
thanks. and one last question. you gave 3 links to download for cwm recovery. which of those three are the best cwm for you?
For me the best is 4ext, but it's not released yet for our device.
I would go with Claudyy's version.since it doesn't have a screen shift bug.
nlooooo said:
For me the best is 4ext, but it's not released yet for our device.
I would go with Claudyy's version.since it doesn't have a screen shift bug.
Click to expand...
Click to collapse
so i guess im gonna download clauddy cwm then.
so it is CWM-protou.img, i should rename it to recovery.img right?
sorry for asking so many questions, i dont like to make mistakes when doing this kind of things.. :silly:
Hey everyone,
This is my first time posting to the forums. I have been trying to get everything done without having to ask questions since there are so many all over the place and I can see how it can get tiring trying to help everyone when their may be an answer out there already if you look. However, I have ran into an issue that I can't seem to find much information on. I have the HTC Rezound that is S-On (apparently you need a Linux machine to get S-Off which I don't have. Using Windows 7.) and have been using fastboot to get things done. I have unlocked the bootloader and have installed the 'Amon Ra' recovery and setup Superuser and SU. As far as I know, I have to use ROM's that are S-On friendly (right?) and I chose to try out 'EclipticRez' and later 'Talon'.
As I tried to flash the ROM's through fastboot it fails with the following errors every time and I cannot continue:
archive does not contain android-info.txt
archive does not contain android-product.txt
From what I found is that it may be a bad download of the ROM. Maybe.... But it happened consecutively with two different ROM downloads.
I also read that maybe the recovery wasn't setup, which as far as I know it is. Should I use a different recovery? Everyone usually references to using CWM, which I wouldn't mind using but I couldn't figure out how to get SU access.
Can I just create the files myself? They are only txt files after all.
If anyone can help me with this I will be so grateful! I'm pretty new to this and it has definitely been a fun learning experience for me
Much thanks in advance!
Strikerz87 said:
Hey everyone,
This is my first time posting to the forums. I have been trying to get everything done without having to ask questions since there are so many all over the place and I can see how it can get tiring trying to help everyone when their may be an answer out there already if you look. However, I have ran into an issue that I can't seem to find much information on. I have the HTC Rezound that is S-On (apparently you need a Linux machine to get S-Off which I don't have. Using Windows 7.) and have been using fastboot to get things done. I have unlocked the bootloader and have installed the 'Amon Ra' recovery and setup Superuser and SU. As far as I know, I have to use ROM's that are S-On friendly (right?) and I chose to try out 'EclipticRez' and later 'Talon'.
As I tried to flash the ROM's through fastboot it fails with the following errors every time and I cannot continue:
archive does not contain android-info.txt
archive does not contain android-product.txt
From what I found is that it may be a bad download of the ROM. Maybe.... But it happened consecutively with two different ROM downloads.
I also read that maybe the recovery wasn't setup, which as far as I know it is. Should I use a different recovery? Everyone usually references to using CWM, which I wouldn't mind using but I couldn't figure out how to get SU access.
Can I just create the files myself? They are only txt files after all.
If anyone can help me with this I will be so grateful! I'm pretty new to this and it has definitely been a fun learning experience for me
Much thanks in advance!
Click to expand...
Click to collapse
1) Switch to TWRP or CWM for your recovery.
2) You install the rom zip via recovery.
3) You then need to fastboot flash the kernel from the rom zip you downloaded. You don't install the whole rom via fastboot.
To borrow from the CM11 thread.
- Place the boot.img into the platform-tools folder of the Android SDK's install directory.
- Boot to the bootloader.
- Ensure your device is connected to your computer and that your device is now in fastboot mode. This is a white screen and it says fastboot on it.
- Open a Terminal (OSX or Linux) or CMD window (Windows) and cd to the platform-tools directory of the Android SDK's install directory.
- Issue this command to flash the boot.img we placed in the platform-tools folder earlier:
Code:
fastboot flash boot boot.img
- Watch the output of the terminal, it should say something like "sent successfully".
- Finally send this command:
Code:
fastboot reboot
Since you're s-on, you'll need to do this whenever you install a new rom. Using these steps, you can install any rom you want.
Strikerz87 said:
Hey everyone,
This is my first time posting to the forums. I have been trying to get everything done without having to ask questions since there are so many all over the place and I can see how it can get tiring trying to help everyone when their may be an answer out there already if you look. However, I have ran into an issue that I can't seem to find much information on. I have the HTC Rezound that is S-On (apparently you need a Linux machine to get S-Off which I don't have. Using Windows 7.) and have been using fastboot to get things done. I have unlocked the bootloader and have installed the 'Amon Ra' recovery and setup Superuser and SU. As far as I know, I have to use ROM's that are S-On friendly (right?) and I chose to try out 'EclipticRez' and later 'Talon'.
As I tried to flash the ROM's through fastboot it fails with the following errors every time and I cannot continue:
archive does not contain android-info.txt
archive does not contain android-product.txt
From what I found is that it may be a bad download of the ROM. Maybe.... But it happened consecutively with two different ROM downloads.
I also read that maybe the recovery wasn't setup, which as far as I know it is. Should I use a different recovery? Everyone usually references to using CWM, which I wouldn't mind using but I couldn't figure out how to get SU access.
Can I just create the files myself? They are only txt files after all.
If anyone can help me with this I will be so grateful! I'm pretty new to this and it has definitely been a fun learning experience for me
Much thanks in advance!
Click to expand...
Click to collapse
also to note....you dont have to install linux to get s-off....if you follow my guide you can do it straight from a live disk rather than installing it....so it wont erase or mess up your windows partition at all
Solved!
Thank you, Mjones, I finally got it! I knew it was much easier than I was making it out to be. I was missing the kernel! Yeah, a crucial part in the process, I know
I first ran CWM and flashed the ROM over and ran the .zip through recovery (which I couldn't understand at first as I could never find it in the directory) but the installer would only go 50% and would fail... makes sense why now lol
I later flashed TWRP and backed up again after recovering from the fail. I flashed over the kernel and voila! So simple... Had to slap myself.
Thanks again! Case solved.
REV3NT3CH, that is sweet!! I have been hoping there is a way to gain s-off with Windows. I have 7 at work and 8.1 (which I can't get anything to work on) at home. I actually have to focus on work today haha so I'll look into the method and try it out tomorrow if I can. Thanks for all of the help.
mjones73 said:
1) Switch to TWRP or CWM for your recovery.
2) You install the rom zip via recovery.
3) You then need to fastboot flash the kernel from the rom zip you downloaded. You don't install the whole rom via fastboot.
To borrow from the CM11 thread.
- Place the boot.img into the platform-tools folder of the Android SDK's install directory.
- Boot to the bootloader.
- Ensure your device is connected to your computer and that your device is now in fastboot mode. This is a white screen and it says fastboot on it.
- Open a Terminal (OSX or Linux) or CMD window (Windows) and cd to the platform-tools directory of the Android SDK's install directory.
- Issue this command to flash the boot.img we placed in the platform-tools folder earlier:
Code:
fastboot flash boot boot.img
- Watch the output of the terminal, it should say something like "sent successfully".
- Finally send this command:
Code:
fastboot reboot
Since you're s-on, you'll need to do this whenever you install a new rom. Using these steps, you can install any rom you want.
Click to expand...
Click to collapse
Thank You So much, Mine case also Resolved. I was too frustated sice last 3 days cause my phone was in dead mode. At the end, fastboot flash boot boot.img Worked. ThankYOu
mjones73 said:
1) Switch to TWRP or CWM for your recovery.
2) You install the rom zip via recovery.
3) You then need to fastboot flash the kernel from the rom zip you downloaded. You don't install the whole rom via fastboot.
To borrow from the CM11 thread.
- Place the boot.img into the platform-tools folder of the Android SDK's install directory.
- Boot to the bootloader.
- Ensure your device is connected to your computer and that your device is now in fastboot mode. This is a white screen and it says fastboot on it.
- Open a Terminal (OSX or Linux) or CMD window (Windows) and cd to the platform-tools directory of the Android SDK's install directory.
- Issue this command to flash the boot.img we placed in the platform-tools folder earlier:
Code:
fastboot flash boot boot.img
- Watch the output of the terminal, it should say something like "sent successfully".
- Finally send this command:
Code:
fastboot reboot
Since you're s-on, you'll need to do this whenever you install a new rom. Using these steps, you can install any rom you want.
Click to expand...
Click to collapse
I need to be able to do it via fastboot, as my Motorola Electrify M is stuck in a bootloop and there's no way I could find to boot into recovery. I'm using ./fastboot update name_of_update.zip and it is an official OTA .zip but I still get this error. Any suggestions?
ecols33 said:
I need to be able to do it via fastboot, as my Motorola Electrify M is stuck in a bootloop and there's no way I could find to boot into recovery. I'm using ./fastboot update name_of_update.zip and it is an official OTA .zip but I still get this error. Any suggestions?
Click to expand...
Click to collapse
Sorry, don't know anything about that phone.
ecols33 said:
I need to be able to do it via fastboot, as my Motorola Electrify M is stuck in a bootloop and there's no way I could find to boot into recovery. I'm using ./fastboot update name_of_update.zip and it is an official OTA .zip but I still get this error. Any suggestions?
Click to expand...
Click to collapse
Did you try this first? (Right from Moto's site)
Perform a factory reset using external keys
1. Power off the phone, press and hold volume down button, press power button
2. Screen will come up with "Fastboot", press Vol down key to cycle through choices until you get "Android Recovery", then press Vol up key
3. Wait for the "triangle ! / Android" screen then go on to step 4
4. Press both Vol up and Vol down key simultaneously. A menu will come up
5. Tap on Vol down key until "wipe data/factory reset" is highlighted, and tap Power key. Another Confirmation screen will come. Tap on Vol down key until coming to Yes and tap Power key
6. After userdata is cleared, the "reboot system now" option will be highlighted by Default. Tap Power key
7. Phone will reboot to initial setup screen.
PLEASE HELP! I have a Huawei P8 and I tried to update to android 6.0 (GRA-L09xxxxxxxxxxxB317 or something) Went to install it and now im stuck in bootloop (a very annoying one, I can rarely get into eRecovery and eRecovery is not able to fix my problem: "Getting package info failed") so I went into fastboot&rescue mode and I did the flash thing via my PC (that Fastboot flash boot boot.img etc.) but I get this error saying: "FAILED (remote: Command not allowed)" for any image im trying to flash. My fastboot/bootloader or whatever it's called is locked my android is unrooted and stock android. I don't know how to unlock it I can't find anything anywhere.. HELP ME
not working
hariom.gupta11 said:
Thank You So much, Mine case also Resolved. I was too frustated sice last 3 days cause my phone was in dead mode. At the end, fastboot flash boot boot.img Worked. ThankYOu
Click to expand...
Click to collapse
not working on my 4c. write successful but when reboot is completed it goes to previous state.
"the user data partition can no longer be used"
zb602kl_x00tdb
L0RDZ3RO said:
PLEASE HELP! I have a Huawei P8 and I tried to update to android 6.0 (GRA-L09xxxxxxxxxxxB317 or something) Went to install it and now im stuck in bootloop (a very annoying one, I can rarely get into eRecovery and eRecovery is not able to fix my problem: "Getting package info failed") so I went into fastboot&rescue mode and I did the flash thing via my PC (that Fastboot flash boot boot.img etc.) but I get this error saying: "FAILED (remote: Command not allowed)" for any image im trying to flash. My fastboot/bootloader or whatever it's called is locked my android is unrooted and stock android. I don't know how to unlock it I can't find anything anywhere.. HELP ME
Click to expand...
Click to collapse
I have same problem on asus zenfone max pro m1 I bought it online said used and now working
can't boot into recovery.
can't boot into system.
Only EDL Mode and Fastboot Mode, but fastboot is Locked whic I cant unlock because I cannot boot into system to toggle USB Debugging and allow OEM unlocking
Qualcomm is harder to flash than MTK that can use SP FlashTool.
on this I use QFIL but keeps "sahara error". I tried searching and try moving firmware file to bin but no Luck. I'm currently trying different version of QFIL Tool.
If it FAILS my only HOPE is to use MUT-QCfire which will Require a "SmartCardReader" Which is a bit pricey and I don't even know if it will work on my device.
HI all, looking for some help. I recently became the owner of this Dell 7840. It was my sister's former boyfriend's device or something to that effect. It looks somebody did a hard reset and when I boot it up is asks for the google acct verification for acct previously used. This is information that she does not have and is not willing to attempt to get. I tried all the tricks online to bypass to no avail. So I assume its bricked.
Having read through most of the forums on this device, I figured I would several posted suggestions to try and unbrick the device to fix it but have not been able to get anywhere. (Ref How-To: Unbrick Dell Venue 8 7840 by wirebook) I have no way of know if USB debugging or developer settings were enabled but I suppose not.
I can get into Fastboot mode which list the following:
Prod name: BB, Variant - Venue 8 7840, HW version -unknown, Bootloader version - unknown, IFWI version - 0004.FD1F
S/N - 5B700JQA01, Signing - unknown, Secure Boot - unknown, Device State - Locked
The in Green - Fast boot CMD waiting
I installed Drivers, intel flash tool, SDK tools, ADB fastboot - Shows up devices as an Intel Android Device, with ADB interface
It shows up in the Flash tool and I've tried flashing 1-502_droidboot_and_firmware, but it times out everytime at 40 tries.
When I go into recovery mode:
it says Android system recovery, Venue 8 7840-user 5.1 LMY47I BBX803A173600DEL release keys
other than the option to wipe data/factory reset and wipe cache partition - (which I have tried) - the only option is apply update from ADB.
When I run the cwm tether launcher through IntelAndroid-FBRL-07-24-2015 I get:
'Device Status ADB Online', 'Device into 5B700JQA01 sideload'
Try to run T4 - get error 'closed', 'waiting for device' - Which is odd because when I tried it yesterday it said something like this:
'Using Trigger 4
target reported max download size of 536870912 bytes
sending '/tmp/recovery.zip' (7154 KB)...
OKAY [ 0.284s]
writing '/tmp/recovery.zip'...
FAILED (remote: Bootloader must not be locked)
finished. total time: 0.318s
target reported max download size of 536870912 bytes
sending '/tmp/recovery.launcher' (704 KB)...
OKAY [ 0.061s]
writing '/tmp/recovery.launcher'...
FAILED (remote: Bootloader must not be locked)
finished. total time: 0.095s
...
FAILED (remote: command not allowed in this device state)
finished. total time: 0.035s
target reported max download size of 536870912 bytes
sending '/system/bin/logcat' (349 KB)...
OKAY [ 0.055s]
writing '/system/bin/logcat'...
FAILED (remote: Bootloader must not be locked)
finished. total time: 0.096s
...
FAILED (remote: command not allowed in this device state)
finished. total time: 0.035s'
Minimal ADB and Fastboot>adb devices finds the device
List of devices attached
adb server version (32) doesn't match this client (36); killing...
* daemon started successfully *
5B700JQA01 sideload
D:\SDK\Minimal ADB and Fastboot>fastboot devices
5B700JQA01 fastboot
D:\SDK\Minimal ADB and Fastboot>
All I am trying to do is get thing back up and running - I don't need root or anything else - I would like to be able to sell as a functional device - if not possible no matter, but I thought I would ask the experts here.
So I had been fighting with my device for the past two days. I erased the entire system from the device by accident on fastboot. Most everything I read said I was doomed. However, there were 2 topics that really helped me through get it back up and running. I dont remember the specific steps that I took to get it up and running - but I'll give you some thoughts. Remember that I lost my entire system.img - so there wasn't even an OS to get to. When you would boot it - it would simply load to the circle dell logo and sit there.
Here are the topics I found the most useful -
https://forum.xda-developers.com/dell-venue/general/7840-stuck-bootloop-bricked-t3178937
https://forum.xda-developers.com/dell-venue/general/7840-stuck-bootloop-bricked-t3178937
First, I was about to get into Fastboot - but there was no stock recovery or cwm. I started by loading up the Intel flash tool. I initially flashed the developer DDO_BB.xml which unlocked things and allowed me to start really getting to work. I then flashed a stock recovery.img through fastboot. This at least allowed me to get to a stock recovery. It also allowed me to get to ADB. I circled here for awhile.. but eventually was able to get back to fastboot to get the T4 tool working. From there, I was finally able to get CWM loaded. Once I got in there - I figured I was going to be golden. Still wasn't having any luck fastboot flashing the system.img... so I was able to transfer my system.img file over to an ext_4 sd card, then use the dd command to transfer it over to the device. Once i got success here, I was totally golden. Was able to wipe data, cache, etc.. and it finally booted.
So, this might not be the exact issues you are having - but it should give you confidence that recovery can happen. Again - those links helped me the most.. it was a lot of trial and error.. but I figured I was already in a bad place, so it couldn't get much worse.
MynticeLX said:
So I had been fighting with my device for the past two days. I erased the entire system from the device by accident on fastboot. Most everything I read said I was doomed. However, there were 2 topics that really helped me through get it back up and running. I dont remember the specific steps that I took to get it up and running - but I'll give you some thoughts. Remember that I lost my entire system.img - so there wasn't even an OS to get to. When you would boot it - it would simply load to the circle dell logo and sit there.
Here are the topics I found the most useful -
https://forum.xda-developers.com/dell-venue/general/7840-stuck-bootloop-bricked-t3178937
https://forum.xda-developers.com/dell-venue/general/7840-stuck-bootloop-bricked-t3178937
First, I was about to get into Fastboot - but there was no stock recovery or cwm. I started by loading up the Intel flash tool. I initially flashed the developer DDO_BB.xml which unlocked things and allowed me to start really getting to work. I then flashed a stock recovery.img through fastboot. This at least allowed me to get to a stock recovery. It also allowed me to get to ADB. I circled here for awhile.. but eventually was able to get back to fastboot to get the T4 tool working. From there, I was finally able to get CWM loaded. Once I got in there - I figured I was going to be golden. Still wasn't having any luck fastboot flashing the system.img... so I was able to transfer my system.img file over to an ext_4 sd card, then use the dd command to transfer it over to the device. Once i got success here, I was totally golden. Was able to wipe data, cache, etc.. and it finally booted.
So, this might not be the exact issues you are having - but it should give you confidence that recovery can happen. Again - those links helped me the most.. it was a lot of trial and error.. but I figured I was already in a bad place, so it couldn't get much worse.
Click to expand...
Click to collapse
Thanks for the links - It seems that all options are dependent on being able to change the device state from locked to unlocked. I have not been successful it this following recommendations using ADB or Fastboot options. Anyone have a good way to unlock it?
Once I flashed the DDO_BB through the Intel tool, it unlocks everything since it was released from Dell as the developer tools. My bootloader and recovery were both locked before flashing that. Afterwards, I was able to do whatever I needed.
---------- Post added at 06:41 PM ---------- Previous post was at 06:40 PM ----------
Also, make sure you are in the right mode to flash.. you need to hold volume up and power while connected to the tool and it should register on the tool even though the screen may be blank on the device.
MynticeLX said:
So I had been fighting with my device for the past two days. I erased the entire system from the device by accident on fastboot. Most everything I read said I was doomed. However, there were 2 topics that really helped me through get it back up and running. I dont remember the specific steps that I took to get it up and running - but I'll give you some thoughts. Remember that I lost my entire system.img - so there wasn't even an OS to get to. When you would boot it - it would simply load to the circle dell logo and sit there.
Here are the topics I found the most useful -
https://forum.xda-developers.com/dell-venue/general/7840-stuck-bootloop-bricked-t3178937
https://forum.xda-developers.com/dell-venue/general/7840-stuck-bootloop-bricked-t3178937
First, I was about to get into Fastboot - but there was no stock recovery or cwm. I started by loading up the Intel flash tool. I initially flashed the developer DDO_BB.xml which unlocked things and allowed me to start really getting to work. I then flashed a stock recovery.img through fastboot. This at least allowed me to get to a stock recovery. It also allowed me to get to ADB. I circled here for awhile.. but eventually was able to get back to fastboot to get the T4 tool working. From there, I was finally able to get CWM loaded. Once I got in there - I figured I was going to be golden. Still wasn't having any luck fastboot flashing the system.img... so I was able to transfer my system.img file over to an ext_4 sd card, then use the dd command to transfer it over to the device. Once i got success here, I was totally golden. Was able to wipe data, cache, etc.. and it finally booted.
So, this might not be the exact issues you are having - but it should give you confidence that recovery can happen. Again - those links helped me the most.. it was a lot of trial and error.. but I figured I was already in a bad place, so it couldn't get much worse.
Click to expand...
Click to collapse
MynticeLX said:
Once I flashed the DDO_BB through the Intel tool, it unlocks everything since it was released from Dell as the developer tools. My bootloader and recovery were both locked before flashing that. Afterwards, I was able to do whatever I needed.
---------- Post added at 06:41 PM ---------- Previous post was at 06:40 PM ----------
Also, make sure you are in the right mode to flash.. you need to hold volume up and power while connected to the tool and it should register on the tool even though the screen may be blank on the device.
Click to expand...
Click to collapse
Thanks again for the help - You were right - I was not in the correct mode - I apparently missed that at some point - So using that I was able flash the old droid boot (part1) from:
https://forum.xda-developers.com/dell-venue/general/7840-update-t3162385/page5
which worked successfully - Than I was able to use IntelAndroid-FBRL-07-24-2015 to get the cwm working.
I copied UPDATE-SuperSU-v2.46.zip and update.zip to my SD card
I followed steps 28-33 from:
https://forum.xda-developers.com/dell-venue/general/root-howto-dell-venue-8-7840-t3282532
Flashed both zip successfully. but when I went to reboot - the only option was to repair boot or something and when evrything rebooted - I was back to the FRP screen. I must be missing something to fix the boot image - maybe I need to use a different copy of the OS
Any thoughts?
Have you tried the boot.img and system.img from xBIGREDDx post on the second link that I referenced for you? I believe those were the main files I used. I wouldn't worry about rooting right now, just get your system back up then go back and root.
xBIGREDDx system and boot img files
http://forum.datadevelopement.com/sh...58&postcount=5
system.img: https://mega.co.nz/#!w9AjBCSI!YdQenT...SgiyULA1FVIA8A
boot.img: https://mega.co.nz/#!Fk4FUSza!1gY1Rj...VOCH-P2V5fVFPI
---------- Post added at 07:09 PM ---------- Previous post was at 07:07 PM ----------
I would put the system image on a SD card.. then boot into cwm recovery to use the dd command in shell to transfer over the system.. then boot back into bootloader and fastboot the boot.img over to it.
MynticeLX said:
Have you tried the boot.img and system.img from xBIGREDDx post on the second link that I referenced for you? I believe those were the main files I used. I wouldn't worry about rooting right now, just get your system back up then go back and root.
xBIGREDDx system and boot img files
http://forum.datadevelopement.com/sh...58&postcount=5
system.img: https://mega.co.nz/#!w9AjBCSI!YdQenT...SgiyULA1FVIA8A
boot.img: https://mega.co.nz/#!Fk4FUSza!1gY1Rj...VOCH-P2V5fVFPI
---------- Post added at 07:09 PM ---------- Previous post was at 07:07 PM ----------
I would put the system image on a SD card.. then boot into cwm recovery to use the dd command in shell to transfer over the system.. then boot back into bootloader and fastboot the boot.img over to it.
Click to expand...
Click to collapse
OK so I formatted an sd card in ext4 using Minitool partition wizard - got back into cwm recovery - unmounted system and mounted the external sd.
after several attempts trying to follow the instructions on:
https://forum.xda-developers.com/de...-8-7840-developer-files-posted-t3144232/page2
I was finally able to push the system.img to the sd card using adb but then I get to the next step and I get this response from ADB:
D:\SDK\Minimal ADB and Fastboot>dd if=/external_sd/system.img of=/dev/block/by-name/system
'dd' is not recognized as an internal or external command, operable program or batch file.
This is my first time using ADB so I'm not sure if I'm missing something though it seems i'm making some progress.
I noticed that you said to "use the dd command in shell to transfer over the system." I tried that as well - I typed 'shell' in cwm as indicated and entered the same command 'dd if=/external_sd/system.img of=/dev/block/by-name/system' - nothing happened.
Resazurin said:
OK so I formatted an sd card in ext4 using Minitool partition wizard - got back into cwm recovery - unmounted system and mounted the external sd.
after several attempts trying to follow the instructions on:
https://forum.xda-developers.com/de...-8-7840-developer-files-posted-t3144232/page2
I was finally able to push the system.img to the sd card using adb but then I get to the next step and I get this response from ADB:
D:\SDK\Minimal ADB and Fastboot>dd if=/external_sd/system.img of=/dev/block/by-name/system
'dd' is not recognized as an internal or external command, operable program or batch file.
This is my first time using ADB so I'm not sure if I'm missing something though it seems i'm making some progress.
I noticed that you said to "use the dd command in shell to transfer over the system." I tried that as well - I typed 'shell' in cwm as indicated and entered the same command 'dd if=/external_sd/system.img of=/dev/block/by-name/system' - nothing happened.
Click to expand...
Click to collapse
Sorry to make this super simplistic.. but want to make sure we are both starting from the same place. Get the device to launch into CWM. Once there, you'll need to move within the menu structure every couple mins to make sure that it doesn't exit out on you. You should be able to ADB from your computer at this point. Make sure you use adb devices to see your active device. Once you see it, and have the system.img on your external sd card - you should be able to run the command "adb shell". You should see the CMD window put you into a ">$ or >#" like screen. From there, you are specifically operating on the device - not on your computer to the device. This is where you can start to run the series of commands. I was not able to run the mount commands - so I just used the menu in CWM to make sure that they were mounted correctly. Before transferring the system - I would format it through CWM. Then, after all that is done, type in the dd command from the post referenced exactly. You won't really get any feedback from the cmd window or the device... as long as you DONT have the ability to type in the cmd window - it means it's transferring. It will finally say if it has successfully transferred or error'ed out. Hopefully a success. I did find out that through the process, I had to click in and through the CWM on the device to make sure that it stayed active and didn't kick me out into reboot.
Good luck. Sounds like you are getting close.
MynticeLX said:
Sorry to make this super simplistic.. but want to make sure we are both starting from the same place. Get the device to launch into CWM. Once there, you'll need to move within the menu structure every couple mins to make sure that it doesn't exit out on you. You should be able to ADB from your computer at this point. Make sure you use adb devices to see your active device. Once you see it, and have the system.img on your external sd card - you should be able to run the command "adb shell". You should see the CMD window put you into a ">$ or >#" like screen. From there, you are specifically operating on the device - not on your computer to the device. This is where you can start to run the series of commands. I was not able to run the mount commands - so I just used the menu in CWM to make sure that they were mounted correctly. Before transferring the system - I would format it through CWM. Then, after all that is done, type in the dd command from the post referenced exactly. You won't really get any feedback from the cmd window or the device... as long as you DONT have the ability to type in the cmd window - it means it's transferring. It will finally say if it has successfully transferred or error'ed out. Hopefully a success. I did find out that through the process, I had to click in and through the CWM on the device to make sure that it stayed active and didn't kick me out into reboot.
Good luck. Sounds like you are getting close.
Click to expand...
Click to collapse
Thanks to your clarification - I can report success - successful dd of system.img from external SD using ADB shell and after rebooting to fastboot, the successful fastboot push of root.img
Rebooted tablet and FRP was gone - logged in with my own google acct and all is well. Working tablet
Thank you so much for the help and your patience - really appreciate it and I learned a lot -
Update:
I didn't realize I was already rooted - Super SU was installed with the process above - I was able to flash the UPDATE.ZIP of 5.1 from xBIGREDDx link (https://forum.xda-developers.com/dell-venue/general/7840-update-t3162385/page2) through CWM. Works without issue - Still rooted after update. Thanks again