Related
Hi Guys!
I am trying to root my nexus, unlocked it, installed the right usb drivers, I can see the phone and everything looks right.
Downloaded Superboot for ERE27 with himem enabled and ran this. no problem.
I put the img file on the SD card and when I boot the phone in Fastboot / Recovery it does not find and img files on the SD card.
I tried 2 different cards and also different img files.
When I do this I get first the message no images found than I see the droid with a triangle and a ! in it. - Have to pull the battery.
Ideas anyone?
Thanks
What are you trying to do?
1) you had to unlock the bootloader which enables you to install a new recovery image (which is needed to allow you to install new roms)
2) you had to apply the recovery image Amon RA via a command prompt and a batch file if you use Windows. The phone's USB connection needs to be in development mode and once the batch file executes and successfully finishes you need to reboot the phone.
3) you restart the phone into bootloader mode, use the volume rocker to select the recovery console. If you end up with an andriod and exclamation symbol the Amon RA recovery file was not installed.
4) the new recovery console allows you to clean the SD card. Install roms from the SD card and some other commands. The Roms for the Andriod are in ZIP format and do not need to be unziped. In other words all you need to copy to the SD card is the full ZIP file (approx 75MB) and install that directly from the recovery console.
If your android stays in the booting sequence which is shown as the X with flying little pixels, it's most likely because you did not wipe the device clean first. That item is in the recovery console as well.
Hope this helps. I am just as new to this as you are.
You didn't unzip them did you?
You're trying to root with superboot. Great, but the recovery is not capable of flashing .img files, only .zip updates and roms and such. .img files have to be flashed using fastboot, not recovery, and are flashed from the connected computer.
If you read the superboot instructions from wherever you got the file, you'll see that you have to put the .img in the same directory ON YOUR COMPUTER as fastboot, connect via USB, boot the phone into fastboot, then enter the appropriate command line on the computer to flash the file.
If you've done that, then you are officially DONE with the rooting process.
Also, make damn sure that the superboot version matches the software version on your phone. They're both ERE27, right?
I'm not sure what anosis's post is talking about, but that looks more like the process for installing a custom rom (ie cyanogenmod), than rooting.
To root your phone, you DO NOT need Amon-RA's recovery. You only need that if you want to install custom roms, etc. It wont hurt to have it, as it includes many more functions than the stock recovery, but just to root, you don't need it.
Summary:
If you flashed the superboot.img from your computer via fastboot, your phone is rooted. Done.
You don't need to do anything in the recovery at all for rooting. Only for installing update.zips and custom rom.zips.
Hey, So I have been scouring the forums trying to find some answers about this and you seem to be the closet to my situation. Here is what I did:
So I was running a CM9 Aplha, reverted back to stock 2.3.6 [1ada25375426.signed-soju-ota-189904.1ada2537]) so that I could then apply ICS update [VQ8PQk_V]) which I sucessfully did. This was about a month ago and it was all going well.
Then yesterday I wanted to upgrade to 4.0.4 [hR7QFEtn] so I did and superuser wasn't working properly but then I reinstalled it and got it to work. However I got to the point where everything was working fine EXCEPT for the Google Play store kept on force closing. I spent hours trying last night and could not find a solution.
I tried restoring the previous ICS update that I had and it worked, and then I tried updating again. Also side: My clockwork was on the fritz lately so I was using Zedowmaxs force into clockwork recovery image [fastboot boot recovery3101.img] to force it in sometimes.
Anyway bottom line here is where my REAL ISSUE begins. I decided just to wipe everything and start anew. I factory reset/ wiped properly [cache partition and davliche cache] and then locked my bootloader again. Then tried rebooting. Got stuck on Google screen. Then I unlocked my bootloader again. Tried again, same issue.
So, here is where I am at. Cannot get into recovery from fastboot, takes me back to fastboot. AND, everything is wiped because I locked/unlocked my bootloader. All I can do is adb commands.
I don't know what to do from here and there is a lot of things going on. If you could help that would be great!? What I am going to try next is to flash some recovery on, but I don't know which one/ try to mount a file to my sd card from adb commands.
Daboxk said:
Hey, So I have been scouring the forums trying to find some answers about this and you seem to be the closet to my situation. Here is what I did:
So I was running a CM9 Aplha, reverted back to stock 2.3.6 [1ada25375426.signed-soju-ota-189904.1ada2537]) so that I could then apply ICS update [VQ8PQk_V]) which I sucessfully did. This was about a month ago and it was all going well.
Then yesterday I wanted to upgrade to 4.0.4 [hR7QFEtn] so I did and superuser wasn't working properly but then I reinstalled it and got it to work. However I got to the point where everything was working fine EXCEPT for the Google Play store kept on force closing. I spent hours trying last night and could not find a solution.
I tried restoring the previous ICS update that I had and it worked, and then I tried updating again. Also side: My clockwork was on the fritz lately so I was using Zedowmaxs force into clockwork recovery image [fastboot boot recovery3101.img] to force it in sometimes.
Anyway bottom line here is where my REAL ISSUE begins. I decided just to wipe everything and start anew. I factory reset/ wiped properly [cache partition and davliche cache] and then locked my bootloader again. Then tried rebooting. Got stuck on Google screen. Then I unlocked my bootloader again. Tried again, same issue.
So, here is where I am at. Cannot get into recovery from fastboot, takes me back to fastboot. AND, everything is wiped because I locked/unlocked my bootloader. All I can do is adb commands.
I don't know what to do from here and there is a lot of things going on. If you could help that would be great!? What I am going to try next is to flash some recovery on, but I don't know which one/ try to mount a file to my sd card from adb commands.
Click to expand...
Click to collapse
It looks like the time when you were locking-unlocking the bootloader, you messed up the recovery. Since your phone can get into bootloader menu, I think you can get out of this issue.
Here is what I would do.
1. Unlock the bootloader.
2. flash clockworkmod recovery using fastboot USB.
3. Download recovery-RA-passion-v2.2.1.img, put it in C:\fastboot\
4. Shut down your phone. Then start your Nexus One in Fastboot mode by holding down the Trackball and press the Power button.
5. Connect your phone to your computer. Open a Command Prompt (Start -> All Programs -> Accessories -> Command Prompt), and run the following commands:
cd C:\fastboot
fastboot devices
fastboot flash recovery recovery-RA-passion-v2.2.1.img
now see if you can get into recovery. If you can, just flash a custom rom using install zip from sd card option in the recovery
I didn't read all the replies but fastboot reads from your PC's disk not the sdcard, unless you are running it through shell or something?
Hi!
I wanna root my Nexus S now. But i see that i have to get my device wiped before i get root.
The problem is that i cant backup app data without root. And i cant loose alle my game data
So does any of you have a good idea how i can move my data further to my rooted Nexus?
Sent from my Nexus S using XDA App
You can try this:
1. Download the latest clockworkmod recovery image
2.
Code:
fastboot boot clockworkmod-recovery.img
3. Do a nandroid backup
4. Copy all stuff on the internal SD to your computer
5.
Code:
fastboot oem unlock
6. Copy all stuff back to the internal SD
7.
Code:
fastboot flash recovery clockworkmod-recovery.img
8. Do a nandroid restore
9. Root your phone
I'm not sure if it'll work, just an idea of something you can try.
Si_NZ said:
You can try this:
1. Download the latest clockworkmod recovery image
2.
Code:
fastboot boot clockworkmod-recovery.img
3. Do a nandroid backup
4. Copy all stuff on the internal SD to your computer
5.
Code:
fastboot oem unlock
6. Copy all stuff back to the internal SD
7.
Code:
fastboot flash recovery clockworkmod-recovery.img
8. Do a nandroid restore
9. Root your phone
I'm not sure if it'll work, just an idea of something you can try.
Click to expand...
Click to collapse
Don't you need to unlock before you can flash a new recovery? lol.
BlackHawkA4 said:
Don't you need to unlock before you can flash a new recovery? lol.
Click to expand...
Click to collapse
If you are talking about step 2, it's not flashing, it's booting the image without flashing.
Si_NZ said:
If you are talking about step 2, it's not flashing, it's booting the image without flashing.
Click to expand...
Click to collapse
A lot of people have issues with the command
Code:
fastboot boot
For some reason it seems to not work on the majority of devices let alone the fact that I'm fairly certain you can't fastboot anything without unlocking. There was a root method pre 2.3.3 that made use of that hole which then got closed with 2.3.3
Basically, all you can feasibly do is copy all of your SD card contents to your computer and hope the saves are there.
~~EDIT~~
So I went back and viewed the pre 2.3.3 root guide without bootloader unlock and I am correct, you CANNOT run fastboot commands other than
Code:
fastboot oem unlock
until after unlocking the bootloader.
However, the thread does reference this post with someone using gingerbreak to root a LOCKED NS (unlocking is what wipes your phone). But the link in that post no longer goes anywhere. Its possible the one-click methods don't unlock the bootloader but thats something you'll have to check into and I always discourage one-clicks where possible because its so much safer to run the commands yourself.
1 click does indeed unlock bootloader fyi. It then roots and flashes su.
Sent from my Nexus S 4G using Tapatalk
Thanks for the answers
I unlocked my bootloader before i saw youre answers so i didnt check if it worked. But i copyed the SD card so i got some aplication data, like gameloft saves and such. So now iam rooted again
I lost my angry birds saves but it doesnt matter cause iam tired of it anyway
Hello,
I saw that the OTA update to Lollipop was available on my phone today, so I went ahead and let it download. Upon completion of the download, it restarted and applied patches, then restarted again and has been stuck in boot loop for about an hour. After reading several other threads on how to try to reset the phone, I'm stuck. When I try power + volume up or down, the LED status indicator flashes red and I never get to any kind of other screen. Am I completely screwed? I previously had stock 4.4.2 with no modifications.
Finally was able to get to the bootloader menu. Apparently having the phone plugged into the charger was preventing me from getting there for some reason. I ended up having to wipe the phone to get it to boot
so you can get into clock recovery right? download nexus 4 toolkit..that might save your phone. I suggest you to unroot and flash everything to stock and then unlock again and start everything from scratch. good luck.
Similar issue on an OTA upgrade to an unrooted N4. It's stuck on the Lollipol boot screen with the rotating Circle thingies.
I can get to the Android System Recovery but there's no CWM or TWRP on my N4. I'm guessing a factory reset will fix it but is there a way to preserve my pics/files on the phone before doing so?
Sportfreunde said:
Similar issue on an OTA upgrade to an unrooted N4. It's stuck on the Lollipol boot screen with the rotating Circle thingies.
I can get to the Android System Recovery but there's no CWM or TWRP on my N4. I'm guessing a factory reset will fix it but is there a way to preserve my pics/files on the phone before doing so?
Click to expand...
Click to collapse
I guess TWRP Recovery has option to enable MTP and you can access the internal SD card by connecting mobile with computer using usb cable.
---------- Post added at 06:37 PM ---------- Previous post was at 05:37 PM ----------
Sportfreunde said:
Similar issue on an OTA upgrade to an unrooted N4. It's stuck on the Lollipol boot screen with the rotating Circle thingies.
I can get to the Android System Recovery but there's no CWM or TWRP on my N4. I'm guessing a factory reset will fix it but is there a way to preserve my pics/files on the phone before doing so?
Click to expand...
Click to collapse
Flash TWRP Recovery using fastboot.
1. If you have otg y cable, connect it and use file manager to copy all the files.
2. OTG method is failed then select “Mount”, then select only “Data” and connect your Nexus 4 to your computer and Enable MTP in TWRP. now you can use adb pull and push commands.
I ended up going the factory reset route, which wasn't really a bad thing. My photos had been backed up in dropbox and the play store remembered all the apps and were able to reload them. The only things I really had to do was reload some music onto the phone and re-enter passwords for apps.
Same story here: sideloaded the OTA zip file, then had bootloop. Tried a few approaches, but none worked. In the end only wiping the data was the solution for me. Lost some userdata in a few important Apps...
I went through this yesterday. The only way to get it to boot is a Factory Reset from Recovery. It works like magic, but sucks you lose the data.
Got the OTA yesterday and also got a bootloop(stuck in boot screen animation). I couldnt afford losing my photos/videos as i had no backup , so i figured out a super easy to get it to boot without wiping data .
I was unrooted with stock recovery running stock 4.4.2, bootloader was unlocked. I flashed CWM recovery through fastboot and wiped chache+ Dalvik from there then simply rebooted the phone .
I had already tried wiping cache from the stock Android recovery,needless to say that didnt work for me.
If anyone else is having the same problem please try the method above and report back, cheers!
I post this on Google Product Forum 2 days ago. Hope it helps
https://productforums.google.com/for...Q/wDzRUm4b2UsJ
(updated 29/11/2014)[not perfect but it is a SOLUTION]
The idea of this is to downgrade your nexus 4 without wiping your data, which means stuff you will need includes:
1. adb and fastboot on your computer (I am using mac but you can find it on windows as well. There are tones of website and forums telling you the latest method of getting it onto your computer)
2. factory image of nexus 4(I use 4.4.4, since that's what it was. I don't have the time and energy to try to do the same thing with lollipop. you can try can leave a comment).
update: do NOT try to flash 5.0 rom using this method. You will be stuck at boot loop again
3. usb cable
4. nexus 4 with unlocked bootloader(the process of unlocking bootloader will wipe your device)
5. computer
steps
1. unzip the factory image (something.tgz)
2. for me, after unzipping the .tgz, I still find another .zip inside. unzip that too.
3. hold vol+, vol-, and power button simultaneously to enter fastboot mode
4. open terminal(mac)(it would probably be cmd for windows)
5. connect your nexus 4(in fastboot)
6. to make sure it connect successfully, type "fastboot devices". if something like "005040c0d54bb291 fastboot" appears, you are good. Otherwise, try reconnect your device/boot to fastboot again/use another usb cable
7.now we need to tell the terminal to navigate to the location of the unzipped factory image. to do that, i suggest you put the unzipped folder to somewhere easy to find, like desktop. these are some commands to help you navigate:
"ls" allows you to look at whats inside the current directory of the terminal. For example, this is the output after typing "ls" for me:
some folder Photos
nexus4image.tgz how many folders do you have
5.zip occam-ktu84p
more folder occam-ktu84p.zip
after knowing where you are, use "cd" (below) to go to your folder
"cd" means change directory. For example. "cd Photos" will brings me to the "Photos" folder. And then if I type ls, I will see a whole bunch of photos in my photos. If you go to the wrong folder, type "cd ..", and it will bring you back to the previous folder.
8. flash bootloader.
enter the following command, BUT REMEMBER TO CHANGE THE NAME TO FIT YOURS(DIFFERENT VERSIONS HAVE SLIGHTLY DIFFERENT FILE NAME AT THE END(type ls first to help you type the correct name)
fastboot flash bootloader bootloader-mako-makoz30d.img
9. reboot bootloader. just copy and paste
fastboot reboot-bootloader
10. flash radio
enter the following command, BUT REMEMBER TO CHANGE THE NAME TO FIT YOURS(DIFFERENT VERSIONS HAVE SLIGHTLY DIFFERENT FILE NAME AT THE END(type ls first to help you type the correct name)
fastboot flash radio radio-mako-m9615a-cefwmazm-2.0.1701.03.img
11. reboot bootloader. just copy and paste
fastboot reboot-bootloader
12. flash system
system.img is located inside the zip, use ls to help you navigate. This steps takes the longest time, total time on this step is 87 seconds while the others are less then 1 second
fastboot flash system system.img
13. flash boot
boot.img is located inside the zip, use ls to help you navigate.
fastboot flash boot boot.img
14. flash recovery
fastboot.img is located inside the zip, use ls to help you navigate.
fastboot flash recovery recovery.img
15. format cache(not the memory, so everything should be fine)
fastboot format cache
16. reboot and wait
this will reboot your device. You probably have to wait for a while to initialise all the apps. after than you are good to go!
fastboot reboot
credit: my friend for giving me this idea + http://forum.xda-developers.com/nexu...image-t2010312 + HelpMyNexus
Tired of waiting for the OTA? Can't use it because you're rooted? Don't want to wipe your entire phone? No problem! Here's how you can upgrade with Google's Nexus factory images without wiping your apps or sdcard.
NOTE: You must have your bootloader unlocked. If you've never unlocked your bootloader, I don't think there's any way to do this without wiping your data.
STEP 1: Install fastboot
Fastboot is Google's utility for flashing factory images. You can also use it to flash custom recoveries like TWRP and CWM. The standard way to get is is through Google's Android SDK, but that's a bit heavy-duty, so you can also download just the most important tools (fastboot and adb) separately, packaged by users. Here are some links:
Official Google Android SDK (cross-platform): http://developer.android.com/sdk/index.html#Other[1]
Unofficial for Windows: http://developer.android.com/sdk/index.html#Other[2]
Unofficial Mac/Linux: http://code.google.com/p/adb-fastboot-install/[3]
Windows users might also need to install drivers: http://developer.android.com/sdk/win-usb.html[4] (can any Windows users confirm whether it's necessary?)
STEP 2: Prepare factory image
Download the latest Nexus 6 factory image at https://developers.google.com/android/nexus/images#shamu[5]
Unzip it and open the resulting folder
Unzip the "image-shamu-*.zip" file in there
You should now be looking at something like this: http://i.imgur.com/mzrfwrP.png [6]
STEP 3: Flash! (Ah-ahhhhh! [7] )
Connect your phone to your computer via USB, and enter the bootloader. You can enter the bootloader by holding down the power and volume-down buttons to boot. Once you see the bootloader, you can release the buttons.
Open a terminal/command prompt. The syntax might be slightly different on Windows than on Mac or Linux, but basically the same. Anything you see in <> you need to replace, e.g. with the actual path to your factory image folder. The rest you should be able to copy and paste. (Tip: you can easily enter a folder path into your terminal/command prompt by simply dragging the folder onto your terminal window. This works on Mac, Windows, and the vast majority of Linux GUIs.) Enter these commands:
cd </path/to/shamu-lmy47d>
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.08.img
Reboot the bootloader.
fastboot flash radio radio-shamu-d4.0-9625-02.95.img
cd <image-shamu-lmy47d>
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash system system.img
If you DO NOT use a custom recovery (like TWRP or CWM), then also: fastboot flash recovery recovery.img
Don't worry if you see messages like "target reported max download size of 1073741824 bytes". Just wait and let it finish.
Reboot your phone and enjoy. It's normal for the first boot to take a while. Going from Kitkat to Lollipop took about 20 minutes. Going from 5.0 to 5.0.1 took 5-10, I think. YMMV.
A WORD OF WARNING: If you're moving between ROMs, you generally should do a complete reset, including wiping data. Many users have reported problems going from KitKat to Lollipop without wiping data and recommend a factory reset anyway. If you're okay with wiping everything, you can simply use Google's included flash-all scripts, or flash the userdata.img file yourself. Personally, I'm not going to bother wiping adta for an incremental update like 5.0.1->5.1. As always, be sure to back up your data!
Shamelessly stolen from: http://www.reddit.com/r/Nexus5/comments/2phqy7/howto_upgrade_android_using_nexus_factory_images/
Shouldn't you also fastboot reboot bootloader after radio flash?
This is the scenic route.
I tried to update using wugz, without unlocking the bootloader. failed. Oh well, I'll wait to receive ota
Unless this method doesnt require unlocking?
If you have an OTA zip file, this is different than using a System Img?
I do not think you need to lose data or unlock your bootloader?
Found a link for the OTA zip file.
If I remember right you can copy the zip to you phone with a USB cable.
Go into the bootloader, Volume Down and Power.
Select the zip.
I did not think you needed a terminal and all the commands if you had the OTA zip on your phones SD card.
Am I wrong does something like this not work?
or
I can just wait.....
This worked great.
I was unbranded with VZ sim, unlocked, rooted with TWRP recovery. Didn't want to lose all that nor my apps or data. This method upgrades to 5.1 without any loss.
When I was done with the flashing, I rebooted to TWRP recovery (not system) in order to wipe dalvik and cache (just to be certain). I wiped and then rebooted to system. TWRP noticed I didn't have SuperSU installed so it installed it for me. Meaning, once I got my system rebooted, I still had root too.
All in all, this process worked great for me. Thanks.
I run the first two commands
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.08.img
fastboot reboot-bootloader
they worked, then i moved to the radio
fastboot flash radio radio-shamu-d4.0-9625-02.95.img
but it failed.
Any idea?
---------- Post added 14th March 2015 at 12:17 AM ---------- Previous post was 13th March 2015 at 11:53 PM ----------
Nikos2k said:
I run the first two commands
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.08.img
fastboot reboot-bootloader
they worked, then i moved to the radio
fastboot flash radio radio-shamu-d4.0-9625-02.95.img
but it failed.
Any idea?
Click to expand...
Click to collapse
This is the message after the radio flash command:
fastboot flash radio radio-shamu-d4.0-9625-02.95.img
target reported max download size of 536870912 bytes
sending 'radio' (85422 KB)...
OKAY [ 2.697s]
writing 'radio'...
(bootloader) flashing modem ...
(bootloader) flashing modem ...**☺
FAILED (unknown status code)
finished. total time: 3.721s
Why the failed message?
I'm decrypted. Will this re encrypt my Nexus or do I have to flash a non enforce img?
Thank you, this really helped.
Since my bootloader was locked i had to unlock it as well.
Had a bit of a scare with the whole erasing screen staying on for too long.
Went back and redid the process, and went downstairs for 5 minutes, came back and phone was booted.
Anyway, thank you again
Will this work on an encrypted phone?
mikeadamz said:
Tired of waiting for the OTA? Can't use it because you're rooted? Don't want to wipe your entire phone? No problem! Here's how you can upgrade with Google's Nexus factory images without wiping your apps or sdcard.
<<snip>>
Click to expand...
Click to collapse
I don't suggest that anyone read and follow someone else's instructions when doing something like this. Not because the instructions are wrong or anything, but because blindly following instructions doesn't involve *understanding* anything.
So rather than reading and following instructions, read and UNDERSTAND the process of installing factory images as delivered with the factory images (flash-all.sh). If you UNDERSTAND the process and what everything does, then (a) you *already know* what needs to be adjusted to do what you want, and (b) if something starts going wrong in the middle of it, you will understand why, and what to do to correct it.
mikeadamz said:
cd </path/to/shamu-lmy47d>
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.08.img
Click to expand...
Click to collapse
First, thanks for the write up, I do greatly appreciate it. Second, thanks for the tip on dragging file locations into the command prompt. Very helpful.
Now my question. When I did this I tried using exactly the steps above and had no luck whatsoever. I'd cd to the location of the img files as noted and it would say fastboot is unrecognized as an internal or external command. I moved the file into the fastboot location and got the same issue. I finally ran the fastboot from the adb folder location and just referenced the full file path for each img file (using the drag and drop method) and everything went swimmingly. My question is just about using fastboot. Should it have worked when I used cd to go to the img file location? Is there something I need to do to make it work as you described?
Thanks!
Nick
Nick D said:
First, thanks for the write up, I do greatly appreciate it. Second, thanks for the tip on dragging file locations into the command prompt. Very helpful.
Now my question. When I did this I tried using exactly the steps above and had no luck whatsoever. I'd cd to the location of the img files as noted and it would say fastboot is unrecognized as an internal or external command. I moved the file into the fastboot location and got the same issue. I finally ran the fastboot from the adb folder location and just referenced the full file path for each img file (using the drag and drop method) and everything went swimmingly. My question is just about using fastboot. Should it have worked when I used cd to go to the img file location? Is there something I need to do to make it work as you described?
Thanks!
Nick
Click to expand...
Click to collapse
Install this:
http://forum.xda-developers.com/showthread.php?t=2588979
Now ADB and fastboot are installed system wide. Put your files anywhere, I use the desktop. Hold shift and right click on wherever your files are and select "open command prompt here" and flash away. Simplified, no more dragging and dropping.
Will try with the new update (5.1.1 (LMY48M)) to ensure it works. Thanks!
[/COLOR]
handyarrow said:
Will this work on an encrypted phone?
Click to expand...
Click to collapse
Have been flashing this zip in twrp after the fastboot stage without an issue for the last few updates - http://forum.xda-developers.com/nexus-6/development/mod-disable-force-encryption-rom-kernel-t3000788
Flashed LMY48M with fastboot method and it works great.
My phone is encrypted.
I was in the middle of a restore in twrp and the phone shut off in the middle of the restore (while restoring recovery), and had such, my android system will no longer boot, nor can I get into recovery. It simply goes into fastboot mode and that's all. Is there a way to flash twrp (Archlinux?) using fastboot/adb?
Thank you in advance!
533y4 said:
I was in the middle of a restore in twrp and the phone shut off in the middle of the restore (while restoring recovery), and had such, my android system will no longer boot, nor can I get into recovery. It simply goes into fastboot mode and that's all. Is there a way to flash twrp (Archlinux?) using fastboot/adb?
Thank you in advance!
Click to expand...
Click to collapse
Depends on what variant you have. If its a dirtysanta one while in fastboot do
Code:
fastboot flash recovery (twrpimgnamehere).img
and it will install the twrp image you have downloaded. If you are on TMO you need to revert to stock using a KDZ and then re root.
Fastboot commands aren't working on the H918? My model... -_-
What's the difference between recowvery and dirtysanta?
OK. So let me ask this then. If fastboot commands don't seem to do much on the H918, then how does one go about backing up the internal storage before being formatted? Is there like a dd command to copy everything over? Or will the phone still attach storage to the PC when attached, even in fastboot?
In other words, how can I backup my internal storage before reseting to stock?
533y4 said:
Fastboot commands aren't working on the H918? My model... -_-
What's the difference between recowvery and dirtysanta?
Click to expand...
Click to collapse
The difference between recowvery and dirtysanta is multiple things. One thing is the fact that recovery goes after the recovery directly and dirtysanta replaces the bootloader itself. IF you use dirtysanta on a H918 you WILL BRICK. non recoverable. Dirtysantas boatloader is a debug bootloader that has full access to the phone. H918 bootloader only has limited commands available.
The other difference is how the methods goes about actually doing everything. Jcadduonos recowvery attacks recovery uses scripts to start a factory recovery installer/updater but makes it install a temp root instead of a recovery then the device has access to fully install a twrp image. Dirtysanta skips that and attacks the bootloader directly by replacing a higher level function of the phone temporarily that has access to the phones bootloader(for some unknown reason) and replaces it with the debug one. Once the debug one is in the device is able to be rooted like any other device with an unlocked bootloader since it has full access.
533y4 said:
OK. So let me ask this then. If fastboot commands don't seem to do much on the H918, then how does one go about backing up the internal storage before being formatted? Is there like a dd command to copy everything over? Or will the phone still attach storage to the PC when attached, even in fastboot?
In other words, how can I backup my internal storage before reseting to stock?
Click to expand...
Click to collapse
You don't. you can copy everything manually but If you backup the data partition(which has your internal storage inside) it will not be usable on the device after you root. If you do manage to back it up then restore it afterward since the device itself is normally encrypted and is now decrypted the settings and stuff will cause crashes and force closes.
me2151 said:
The difference between recowvery and dirtysanta is multiple things. One thing is the fact that recovery goes after the recovery directly and dirtysanta replaces the bootloader itself. IF you use dirtysanta on a H918 you WILL BRICK. non recoverable. Dirtysantas boatloader is a debug bootloader that has full access to the phone. H918 bootloader only has limited commands available.
The other difference is how the methods goes about actually doing everything. Jcadduonos recowvery attacks recovery uses scripts to start a factory recovery installer/updater but makes it install a temp root instead of a recovery then the device has access to fully install a twrp image. Dirtysanta skips that and attacks the bootloader directly by replacing a higher level function of the phone temporarily that has access to the phones bootloader(for some unknown reason) and replaces it with the debug one. Once the debug one is in the device is able to be rooted like any other device with an unlocked bootloader since it has full access.
You don't. you can copy everything manually but If you backup the data partition(which has your internal storage inside) it will not be usable on the device after you root. If you do manage to back it up then restore it afterward since the device itself is normally encrypted and is now decrypted the settings and stuff will cause crashes and force closes.
Click to expand...
Click to collapse
Very interesting how different the two are and how they work. Very interesting indeed.
As for the data partition, mine is already decrypted as is (was rooted already and tried to install a cm rom to test; ended up glitches during restore). But I have no intentions on restoring an backups. I simply want my photos, saves, books, etc off the actual internal SD storage (not my external SD card, obviously).
My question here I guess is, will the internal storage mount while in fastboot mode the same as if the phone was on normal (adds a new drive (win)/mtp link (unix))?
I just want to copy and paste all the files off the internal storage on to my unix desktop. Then format the whole phone and start fresh again.
*bump*
I have tried to access the SD card while in fastboot mode. Absolutely nothing I do can make the PC see the internal storage on my V20. I have some files for my job on my internal SD card (NOT my external SD card, but the actual built in storage), that I absolutely, positively cannot afford to loose. These files are for my job. If I loose these files, I will loose my job.
Please, can someone tell me how to access the SD card in fastboot mode? It's really really important.
If anyone, at all, has any clue or any ideas on how to access the internal storage or how to restore my v20 without a full reset, then please please please help. Hell, I'll even be willing to donate some money to whoever can figure this out for me. Seriously, it's really that important that I get my files off the internal storage.
Thanks to anyone who can help.
P.s. I have access to Windows and Linux computers.
533y4 said:
*bump*
I have tried to access the SD card while in fastboot mode. Absolutely nothing I do can make the PC see the internal storage on my V20. I have some files for my job on my internal SD card (NOT my external SD card, but the actual built in storage), that I absolutely, positively cannot afford to loose. These files are for my job. If I loose these files, I will loose my job.
Please, can someone tell me how to access the SD card in fastboot mode? It's really really important.
If anyone, at all, has any clue or any ideas on how to access the internal storage or how to restore my v20 without a full reset, then please please please help. Hell, I'll even be willing to donate some money to whoever can figure this out for me. Seriously, it's really that important that I get my files off the internal storage.
Thanks to anyone who can help.
P.s. I have access to Windows and Linux computers.
Click to expand...
Click to collapse
can you let it boot up and will it just hang on the lg logo or is it rebooting into fastboot?
really my only advice would be try letting it hang on lg logo and see if adb is present, furthermore you can get a adb always moded boot.img and push that to the phone using fastboot then see if adb is a option.
If so you can do the adb commands to pull the userdata portion off the device the same way the system dumps are done i believe, but the sad fact is its probably all currupted anyway from your restore you were trying.
The other option is push recovery again to device, and then try a dirty flash of the stock rom, in hopes it can get the system partition back up and running,
furthermore, worst case wipe all and flash the rom, once its back up and running, download diskdigger from playstore and see if it can recovery the deleted stuff, or try the phonedoctor program for windows that runs against your internals and trys to recocvery stuff..
The biggest question is why were you flashing your device without saving stuff thats "soooo important and can cost you your job" ? seems like a oversight on your part really, and a lesson learned. Backup work stuff always, and dont play with roms during work days lol, not to be mean but really, why risk your job and lively hood over some unsaved stuff?
I did actually have a back up on my S6, which I dropped and broke a mere hour before this. So it's not at all an oversight. There were backups in place. And it won't boot at all or I'd had been able to get adb Atleast. ADB won't see the v20 and I tried to flash recovery using fastboot flash recovery recovery.img command. It says unknown.
How can one going about flashing such a boot.img in the H918? Where can one find such things? I assume you mean a kernel of some sort, right?
I truly appreciate the reply. Has I said, it's not like I didn't have backups. I did. It really is an issue of bad luck. : (
i tried this it worked https://forum.xda-developers.com/v20/help/lg-v20-access-to-fastboot-t3557328
Have you tried power on and volume down to go through the factory reset screens.
A bunch of us had this problem and it was because an update downloaded on it's own and the bootloader snoops it out and forces recovery to boot.
Just do the volume down + power button - as soon as you see the lg logo release power only then immediately re-press power and continue holding power and volume down until the factory reset screen pops up. Select yes and yes, (don't worry - if you have twrp recovery it can't reset). It will boot you into TWRP and I'm pretty sure it will delete the update files in fota folder.
In TWRP select reboot - system and it should boot normally like nothing happened.