[Q] Help! 4.2.2 won't install - Samsung Galaxy Nexus

Hi
I converted from Yakju to Takju when 4.2 started rolling out in the Autumn. Now my GN has tried to install the OTA twice and failed both times.
So using adb I tried to apply the patch manually. However, it's giving an error:
assert failed: apply_patch_check ("EMMC:/dev/block/platform/omap/omap_hasmmc.0/by-name/radio (it then goes into a very long number)
Installation aborted
Do I need to upgrade the radio baseband? Will it work if I flash the whole image rather than just the update?
EDIT: I should say I'm on stock 4.2.1, unlocked, no root

Yes, the radio is why its failing. You could flash the whole image instead, or just fastboot flash radio radio.img, reboot, then try the update.

Download whole takju 4.2.2 image, flash LJ radio and fastboot update image-takju4.2.2.zip without -w parameter to avoid userdata overwrite, more faster since you skip the OTA flash this way.

OK, cool. Thanks for the info. Though I have a dodgy USB port at the moment, so will have to wait until that's fixed I think. Can't get a reliable connection at the moment

I've been trying to follow these instructions:
http://forum.xda-developers.com/showthread.php?t=1995482
to flash the radio and update, as I figured it should work. I'm using OSX.
However, I'm getting the "no device detected" error in Terminal. Is this just my dodgy USB connection or am I doing something wrong? USB Debugging is on (and I have an icon when connected)

That's not a very good guide. Use this one: http://forum.xda-developers.com/showthread.php?t=1626895. You're typing ./adb devices, and it says no device detected? What version of osx? For me, on 10.6.8, if im not connected via usb, ./adb devices just returns "list of devices attached" with a blank line under it.... I think i've read about some issues connecting a gnex to newer osx versions, and if that is the case, google it. If your phone is registering a connection, I doubt the usb port is the problem.

Got it working with the guide. Flashed bootloader and radio with no problem.
Had a couple of errors whilst flashing system, but tried it a few times and eventually got an OK on the phone and in Terminal. Flashed recovery, cleared cache and rebooted.
However, my phone has now been on the Google logo for over 5 minutes. Dead?
EDIT - Went through the whole process again, no errors... seems to be fine, though doing its tediously slow 'optimising app' thing...

How about boot.img? you should've flashed that too... You've got a bootloop, so go back to the guide, see what you've missed and try it again.
I wonder what kind of errors you had while flashing system.img..

bodh said:
How about boot.img? you should've flashed that too... You've got a bootloop, so go back to the guide, see what you've missed and try it again.
I wonder what kind of errors you had while flashing system.img..
Click to expand...
Click to collapse
Yeah, flashed boot just forgot to put it in here. The error I was getting during system.img was 'no such folder' (can't remember the exact phrasing). But I started again from scratch, didn't get any errors and it's all working fine. Not sure what the difference between attempts was.

I use the Teshxx rooted version of the stock 4.2.2
I used TWRP to flash the zip file and then used the Galaxy Nexus Toolkit to fastboot the latest radio and bootloader.
All the threads are in the galaxy nexus development sub-forum.
If you need any help let me know.

Related

Help urgent!!!!!!! Gn stuck on google symbol

So I was trying to put JB on my GN using this:
pcworld.idg.com.au/article/429778/how_update_your_galaxy_nexus_jelly_bean/[/url]
I reached to apoint where i had 4.04 yakju, but when I put the file to get JB, It said error and aborted, i went to wipe data and reboot, wipe data worked fine, reboot led me to the google home screen and is stuck there.
I can access fastboot. Recovery mode takes me to that android with the danger sign, doing another reset doesnt work, clicking reboot doesnt work.
I'm pretty nooby at this. I read a few other forums and they said something about flashing a new rom or something but I don't understand.
Please help! The phone isn't mine! Need help ASAP before owner finds out I messed up their phone, thanks!
If you can access fastboot and your bootloader is unlocked just flash a stock system image.
These are the reasons people shouldn't just one click everything they do. If you understood how fastboot worked you would be golden.
Reflash recovery. Then mount USB storage and then get a ROM on there and flash it.
Sent from my Galaxy Nexus using xda app-developers app
xjman said:
If you can access fastboot and your bootloader is unlocked just flash a stock system image.
These are the reasons people should just one click everything they do. If you understood how fastboot worked you would be golden.
Click to expand...
Click to collapse
The site I went to dumbed down everything, and all i had to do was input numbers into some program. I double checked what a fastboot was. I definitely don't know how to work that. I mixed up the fastboot with the bootloader...
how do i reflash recovery and get a rom on there? I know this is asking alot....sorry
My bootloader is unlocked but im not rooted. I will (figure out how to) root if needed.
Open up a terminal on your computer use fastboot to flash the recovery image.
Since you didn't take the time learn what you were doing to begin with, I would take the time now to go read. The answers are easily found with google, or searching this site.
Roughly, install adb and fastboot on your computer, load drivers for your phone, download the proper recovery and put it in the fastboot directory on your pc, plug in the phone boot to the bootloader
open term
./fastboot oem unlock
./fastboot flash recovery <nameofrecoveryimage>
I reached the fastboot part, but when i type in "fastboot flash recovery (file name) it says it cannot load file name...
What is the proper file that I should use? Running 4.04 YAKJU looking to just recover the phone back or switch to jelly bean, whichever is easier. (jelly bean if they are both the same)
okay okay okay, i think im almost there...got a rom and extraced it, i know how 4 files:
Boot 4,148KB
Recovery 4,478 KB
System 316,112 KB
Userdata 137,555 KB
Which one do I put for fastboot oem recovery (fileimagename)
Thanks
Stuck on Google screen
Background: GN is unclocked and rooted. I've had quite a few devices and have rooted them all and run custom ROMs. I am fairly familiar with all of the tools needed, but by no means an expert. I have the Android SDK with adb and fastboot installed on my Win 7 x64 machine as well as the samsung drivers. I loaded a Jelly Bean ROM the day after it was announced at Google I/O and ran it for awhile before I started having touchscreen issues. I removed the battery and restarted the phone and had no problems for about a week or so.
Problem: I started having touchscreen problems again, but figured it was perhaps due to the early version of JB that was ported over from the GSM version (I believe). I tried a few other versions that were released later and they would work for a few days and then the touchscreen issue would pop up again. At this point I started thinking it might be a hardware problem because if I twisted the phone (weird, but it worked) the touchscreen would respond. I flashed another version of the Jelly Belly ROM yesterday (//rootzwiki.com/topic/28677-rom-jelly-belly-v33-07122012-jellybean-411-pure-aosp-its-all-about-speed/") to see if it would work by chance. Unfortunately, I still encountered the touchscreen problem. After rebooting a few times my GN started bootlooping and would not load into Android.
Actions: At this point I tried to recover from a backup, but much to my dismay it failed (don't remember exact error). I tried a few other backups with no luck. I tried reflashing another ROM, no luck. Then I started seeing some errors when booting into recovery (E: can't mount cache/recovery/log. Around this time I also noticed I was getting errors with sdcard. I decided to take the phone back to stock using the verizon ICL53F factory image. I tried via numerous toolkits (Odin, Galaxy Nexus Toolkit and directly from fastboot) and have been unsuccessful. I've searched every forum and have literally tried everything I with no luck. I can flash new recoveries, but it doesn't solve my problem. Right now phone is back to stock with stock recovery and just bootloops at the Google screen.
I assume my phone is completely hosed, but am hoping someone might know something I don't and might be able to help me restore this phone.
Edit: I tried flashing an imm76k factory image via fastboot and was finally able to get in. I must have had a bad icl53f factory image...close call.

I'm in a bit of a pickle (GB, S-ON, ADB is broken)

First of all, I gotta give props to Albinoman for getting the Incredible to where he has (Jellybean, on the Incredible!... wow!)
http://forum.xda-developers.com/showthread.php?t=1778190
I've been following Albinoman's progress and while I was trying to troubleshoot the "low space notification" we're all too familiar with, I made a HUGE mistake.... I was using Albinoman's Beta 2, which worked great, but I tried restoring a nandroid backup and it failed, due to a corrupt SD card. Then, I tried restoring to another backup, which also failed. I then set out to run a scandisk on the SD card, so I shut off my phone thinking I could just boot back into recovery no problem right?!? WRONG!
After fixing the SD card, I was unable to even boot into recovery, I was getting the scary 5 vibrates of death, and I found this thread, which was half-helpful:
[HOW-TO] Fix 5 vibrate and black screen
http://forum.xda-developers.com/showthread.php?t=1110865
It was able to get my SD card working (previously it didn't at all), but I still cannot boot without having a USB cable plugged in (otherwise I get the 5 vibrates and a blank screen).
The thread suggested using z4root to gain temporary root but when I try that, it just sits there for a very long time and times out.
Here's where my biggest problems come in...
I'm currently running Gingerbread 2.3.4, S-ON, and ADB is BROKEN on my phone
My HBoot is version 1.07.0000 (I was 0.92.0000, but now I flashed cmlusco's newer HTC rom, so it changed)
What I currently have to work with (what works):
Wifi, SD Card (new one of course), 3G, and I'm able to boot, and I got my bootloader unlocked!
I cannot find any way to root my phone based on my current situation.
I have found plenty of ways to root (I'm used unrevoked plenty of times but it wont help me now because ADB wont work with my phone because it's broken, but I can't fix ADB, because I can't get root, it's really a sad situation)
I've tried HTC's RUU official root method, other RUU's, and Unrevoked, but they all don't work because my ADB is messed up
Also, I don't know if this helps, I can use fastboot, and I was able to flash an image using fastboot commands, but it's been awhile since I've tried that, and I don't know of anything I can flash via fastboot to help my situation.
My main goal is, I just need to get rooted again so that I can re-flash Albinoman's sweet Beta 3 ROM which I've been unable to even try
Thanks for the help you guys are amazing!
UPDATE: It's FIXED!!!! Here's the short version of how (in case it happens to anyone else)
To start, my phone A: Would not boot B: Would not read the SD card, or EMMC, EVEN in recovery C: all USB was broken including ADB (but fastboot worked) and D: I managed to lose root by flashing like mad in hopes of fixing AB and C
Step 1: I flashed cmlusco's ROM that he suggested which got my hboot up to date etc...
Step 2: I went to http://htcdev.com/bootloader/ and unlocked my bootloader (BUT I skipped straight to step 8 (the fastboot part, since everything before that was a waste of my time since my USB/ADB was hosed))
Step 3: I flashed this recovery image and ran "fastboot flash recovery recovery.img"
Step 4: I downloaded superuser and loaded it through recovery, now that my SD card worked
Step 5: I then was able to do the following in order to fix the USB/ADB problem:
using this file and this file and running them in an android emulator app I downloaded from google play (since my USB was broken)
Terminal emulator & ADB commands:
Code:
su
cat /sdcard/flash_image > /data/flash_image
cat /sdcard/mtd-eng.img > /data/mtd-eng.img
chmod 755 /data/flash_image
/data/flash_image misc /data/mtd-eng.img
reboot
(credits for this to this thread)
Step 6: I was now fixed, so I just wiped my phone and flashed Albinoman's Jellybean ROM because it rocks!
Thanks to tiny4579 and cmlusco for both of your help!
Two quick questions:
1. Does USB mass storage work? (do your sdcard and emmc get recognized as drive letters when it boots) - if it doesn't there MAY be a problem but question 2's suggestion may fix it.
2. Did you try uninstalling and reinstalling the adb drivers?
This is just off the top of my head. Oh, now I see that fastboot works so basic USB communication works so it may be a driver issue.
Oh, since fastboot works you should be able to flash CWM recovery and a superuser zip to root unless it says not allowed. But if you can flash and boot recovery at that point no point on rooting, just flash a rooted ROM like jellybean beta3.
meadowsjared said:
First of all, I gotta give props to Albinoman for getting the Incredible to where he has (Jellybean, on the Incredible!... wow!)
http://forum.xda-developers.com/showthread.php?t=1778190
I've been following Albinoman's progress and while I was trying to troubleshoot the "low space notification" we're all too familiar with, I made a HUGE mistake.... I was using Albinoman's Beta 2, which worked great, but I tried restoring a nandroid backup and it failed, due to a corrupt SD card. Then, I tried restoring to another backup, which also failed. I then set out to run a scandisk on the SD card, so I shut off my phone thinking I could just boot back into recovery no problem right?!? WRONG!
After fixing the SD card, I was unable to even boot into recovery, I was getting the scary 5 vibrates of death, and I found this thread, which was half-helpful:
[HOW-TO] Fix 5 vibrate and black screen
http://forum.xda-developers.com/showthread.php?t=1110865
It was able to get my SD card working (previously it didn't at all), but I still cannot boot without having a USB cable plugged in (otherwise I get the 5 vibrates and a blank screen).
The thread suggested using z4root to gain temporary root but when I try that, it just sits there for a very long time and times out.
Here's where my biggest problems come in...
I'm currently running Gingerbread 2.3.4, S-ON, and ADB is BROKEN on my phone
What I currently have to work with (what works):
Wifi, SD Card (new one of course), 3G, and I'm able to boot
I cannot find any way to root my phone based on my current situation.
I have found plenty of ways to root (I'm used unrevoked plenty of times but it wont help me now because ADB wont work with my phone because it's broken, but I can't fix ADB, because I can't get root, it's really a sad situation)
I've tried HTC's RUU official root method, other RUU's, and Unrevoked, but they all don't work because my ADB is messed up
Also, I don't know if this helps, I can use fastboot, and I was able to flash an image using fastboot commands, but it's been awhile since I've tried that, and I don't know of anything I can flash via fastboot to help my situation.
My main goal is, I just need to get rooted again so that I can re-flash Albinoman's sweet Beta 3 ROM which I've been unable to even try
Any help anybody could offer me would be GREAT! Thanks XDA, you guys are amazing!
Click to expand...
Click to collapse
What hboot version are you on? Have you tried an ruu thru hboot?
I would try an ruu thru hboot first. http://dinc.does-it.net/Stock_Images/4.08.605.15/PB31IMG.zip
If that dosent let you boot, use the htcdev site to unlock your bootloader. And then fastboot flash cwm recovery, and then superuser thru cwm. Then you will be rooted and can try to wipe everything and flash a rom.
tiny4579 said:
Two quick questions:
1. Does USB mass storage work? (do your sdcard and emmc get recognized as drive letters when it boots) - if it doesn't there MAY be a problem but question 2's suggestion may fix it.
2. Did you try uninstalling and reinstalling the adb drivers?
This is just off the top of my head. Oh, now I see that fastboot works so basic USB communication works so it may be a driver issue.
Oh, since fastboot works you should be able to flash CWM recovery and a superuser zip to root unless it says not allowed. But if you can flash and boot recovery at that point no point on rooting, just flash a rooted ROM like jellybean beta3.
Click to expand...
Click to collapse
1st of all, thanks for getting back to me so quickly Tiny, you're amazing, and I appreciate all the work you've done with the Dinc, thanks for being so active!
1. No, mass storage doesn't work (I assume you mean plugging in the phone and having it mount the SD card as a drive on the computer)
However, I am able to now use both my SD card from within Gingerbread, and the recovery, but only after doing the "fastboot oem enableqxdm 0" trick
2. I haven't tried uninstalling and reinstalling the ADB drivers, but only because.... I'm a developer, and sometimes I develop on my home computer, and sometimes I develop at work, and they both exhibit the same behavior, so I don't think it can be that both computers, just happened to get messed up at the exact same time, right when my phone got hosed?
Also, I've used ADB plenty in the past, on both computers, so I'm certain they're set up right, just between having two computers to work with, AND the extensive use I've made of ADB in the past (I'm the office Root-er, I've rooted most of my co-worker's phone for them, so I've had quite a bit of experience (and should have known better than to turn off my phone when I did which got me in this pickle ))
Just to be clear though, basic USB communication works, but only in HBOOT, NOT from Gingerbread, actually, having the phone plugged into USB (whether or not USB debugging is turned on on the phone), WILL lock up my computer until I unplug it, and as soon as I unplug, my computer snaps back to normal So I think somehow something in the phone got hosed so the ADB is broken, however, I can't fix it because I can't get my root back because I'm stuck in the horrible stock gingerbread (no offense to anyone that likes it )
Also, yes, I've tried a ton of times to flash a superuser zip to root and it says it's not allowed/bad signature or whatever, because it's still S-ON
cmlusco said:
What hboot version are you on? Have you tried an ruu thru hboot?
I would try an ruu thru hboot first. http://dinc.does-it.net/Stock_Images/4.08.605.15/PB31IMG.zip
If that dosent let you boot, use the htcdev site to unlock your bootloader. And then fastboot flash cwm recovery, and then superuser thru cwm. Then you will be rooted and can try to wipe everything and flash a rom.
Click to expand...
Click to collapse
@cmlusco
I didn't even know you could use RUU's through hboot, I'll try that, as well as using the HTC unlocker RUU with hboot.
I'd already tried those things normally, but with by USB being hosed, it didn't help much. :-\
I'll post back when I've given them a try
cmlusco said:
What hboot version are you on? Have you tried an ruu thru hboot?
I would try an ruu thru hboot first. http://dinc.does-it.net/Stock_Images/4.08.605.15/PB31IMG.zip
If that dosent let you boot, use the htcdev site to unlock your bootloader. And then fastboot flash cwm recovery, and then superuser thru cwm. Then you will be rooted and can try to wipe everything and flash a rom.
Click to expand...
Click to collapse
I'm on HBoot 0.92.0000
and it seems to only allow me to flash newer, or the same version as what I've got (because I've tried downgrading)
I just tried the RUU from HTC to root my phone.
I ran the RUU, put the phone in hboot, and it sat and said "verifying phone information" or something like that and said "error 170, usb connection error"
I also put the phone in "fastboot" and tried again, it didn't seem to make a difference.
Now regarding flashing an RUU through hboot, how would I go about doing that? I'm assuming you're talking about throwing the PB31IMG.zip on my SD and booting into Hboot. Now that DOES work however, I'm still S-ON, so unless it's a factory image, it ain't gonna like it
That is, unless there's some kind of fastboot voodoo that can be done to get something on there to exploit it and get my back my root I once had and loved!
meadowsjared said:
I'm on HBoot 0.92.0000
and it seems to only allow me to flash newer, or the same version as what I've got (because I've tried downgrading)
I just tried the RUU from HTC to root my phone.
I ran the RUU, put the phone in hboot, and it sat and said "verifying phone information" or something like that and said "error 170, usb connection error"
I also put the phone in "fastboot" and tried again, it didn't seem to make a difference.
Now regarding flashing an RUU through hboot, how would I go about doing that? I'm assuming you're talking about throwing the PB31IMG.zip on my SD and booting into Hboot. Now that DOES work however, I'm still S-ON, so unless it's a factory image, it ain't gonna like it
That is, unless there's some kind of fastboot voodoo that can be done to get something on there to exploit it and get my back my root I once had and loved!
Click to expand...
Click to collapse
That PB31IMG.zip i posted is 4.08.605.15, the latest android version for our phone. It is official and signed by htc, so it should flash even if your s-on. Just place it on your sd in no folders and hboot should find it.
cmlusco said:
That PB31IMG.zip i posted is 4.08.605.15, the latest android version for our phone. It is official and signed by htc, so it should flash even if your s-on. Just place it on your sd in no folders and hboot should find it.
Click to expand...
Click to collapse
Yes, you're right, I was able to flash that image using hboot, but sadly... the adb is STILL broken and doing all the same things it was before (it doesn't work, and when I plug it into my computer, it freaks out my computer and the computer freezes until I unplug the phone, then everything is fine again)
It seems that all these images write everything to the phone... BUT what I need. I've found some things that "should" fix my problem, but they are all unsigned, and therefore they require root. Is there a chance that now with this newest RUU you gave me "z4root" will work cmlusco? (the reason I ask is, I'm hoping that an app that roots the phone without the computer will work, since every time I plug into a computer, it doesn't work, and just freaks out the computer)
Also, regarding the official HTC way to root, I tried running their "PB3120000_Incredible_C_hboot_1.02.0000_4.08.605.2.exe" file, however, that didn't work in the slightest (because it uses adb commands to talk to the phone). Is it possible that there's a way to extract the PB31IMG.zip file from that exe file and therefore I would be able to flash that using hboot, and the phone would like it because it's signed by HTC (I'm assuming)?
By the way, ever since I flashed that newer PB31IMG.zip ROM, now when I go into hboot, at the top it says "*** LOCKED ***", and it never said that before, I don't know if that matters at all? :-\
Also, if it helps any, here's what the update looked like....
*** LOCKED ***
INCREDIBLE XC SHIP S-ON
HBOOT-1.07.0000
MICROP-0417
TOUCH PANEL-ATMEL224_16ab
RADIO-2.15.10.12.20
Apr 24 2012,22:58:40
HBOOT
Parsing... [SD ZIP]
[1] RADIO_V2 - OK
[2] BOOT - OK
[3] RECOVERY - OK
[4] SYSTEM - OK
[5] SPLASH1 - OK
Update Complete...
Then, after running the update, it asked me if I wanted to reboot, it showed the picture of the phone with the arrows in a circle around it, then when it wen to reboot, it did the usual (for me lately), and gave me the 5-vibrates of death and a black screen, the only way to get out of it is to do a battery pull. Then, after doing that, if I just plug in the cable, I can boot into the new rom just fine, but if the cable isn't plugged in, I just get the 5 vibrates of death, like this guy....
[HOW-TO] Fix 5 vibrate and black screen
http://forum.xda-developers.com/show....php?t=1110865
But sadly, in order to completely fix myself, I need root, and I can't seem to even get temporary root? :-\
I'm hoping maybe something there might help y'all to help me? :-\
tiny4579 said:
Two quick questions:
1. Does USB mass storage work? (do your sdcard and emmc get recognized as drive letters when it boots) - if it doesn't there MAY be a problem but question 2's suggestion may fix it.
2. Did you try uninstalling and reinstalling the adb drivers?
This is just off the top of my head. Oh, now I see that fastboot works so basic USB communication works so it may be a driver issue.
Oh, since fastboot works you should be able to flash CWM recovery and a superuser zip to root unless it says not allowed. But if you can flash and boot recovery at that point no point on rooting, just flash a rooted ROM like jellybean beta3.
Click to expand...
Click to collapse
@tiny4579
To be more clear, the basic USB communication doesn't work, the only way I can get anything that uses USB to work, is by booting into fastboot, and I have been able to do fastboot commands (like "fastboot oem enableqxdm 0"). So it seems that fastboot's USB works just fine (I've tested this on multiple computers), but anything after that, like trying to use the USB from the operating system, is totally broken. So I'm guessing that internally, the phone's drivers for USB are separate for hboot, and therefore still work, however, the phone's USB drivers for Gingerbread, are completely broken, even though I've been able to flash 2 different versions of signed gingerbread from HTC, they still don't seem to fix my USB problem even though it's writing the entire system all over again. Is it possible that there's a signed HTC zip that will fix my USB, that would fix me... the only question is.... does a signed HTC zip exist that will fix my USB??? :-\
Ok, I've got great news, I was able to finally unlock my bootloader! so now when I go into HBOOT, it says at the top "UNLOCKED", however, it still says S-ON, and I still don't have root, but I think we're getting there!
So now that my bootloader is unlocked, I'm assuming I should be able to either load a custom recovery (like clockworkmod), however, I still can't use ADB to do anything so things like unrevoked wont work for me sadly
Do you guys have any advice on what I can now do that my bootloader is unlocked? (I'm a little unclear about what the whole bootloader thing does for me). I think I understand rooting, at least enough, and I thought I understood the bootloader, and the unlocking. But now that my bootloader is unlocked, it still wont let me load anything like CM7.1, or clockworkmod (I tried both of those by going into recovery and trying to flash the update.zip).
Either way, I'm very encouraged by the fact that my bootloader is unlocked, I'm assuming it should help me to acheive my goal of rooting and eventually gettting Albioman's Jellybean on there?
meadowsjared said:
Ok, I've got great news, I was able to finally unlock my bootloader! so now when I go into HBOOT, it says at the top "UNLOCKED", however, it still says S-ON, and I still don't have root, but I think we're getting there!
So now that my bootloader is unlocked, I'm assuming I should be able to either load a custom recovery (like clockworkmod), however, I still can't use ADB to do anything so things like unrevoked wont work for me sadly
Do you guys have any advice on what I can now do that my bootloader is unlocked? (I'm a little unclear about what the whole bootloader thing does for me). I think I understand rooting, at least enough, and I thought I understood the bootloader, and the unlocking. But now that my bootloader is unlocked, it still wont let me load anything like CM7.1, or clockworkmod (I tried both of those by going into recovery and trying to flash the update.zip).
Either way, I'm very encouraged by the fact that my bootloader is unlocked, I'm assuming it should help me to acheive my goal of rooting and eventually gettting Albioman's Jellybean on there?
Click to expand...
Click to collapse
Now you need to fastboot flash cwm. Download this file http://dinc.does-it.net/Guide_Root_New_Hboot/recovery.img, and place it on your pc in the same folder as the fastboot.exe file.
Open a cmd prompt on your pc to where fastboot.exe and recovery.img are. Type the folowing:
Code:
fastboot flash recovery recovery.img
If you get no errors, go to the maim hboot menu and select recovery. You should now be in cwm recovery.
Download superuser http://dinc.does-it.net/Superuser/SuperUser_3.0.7.zip, and place it on your sdcard by going to mounts and storrage and selecting mount usb storrage. If it freezes up the phone or the pc, you will need to take the sd out and use a card reader to put it on the sd with a pc.
Then flash it thru recovery like you would a rom. Now you will be rooted. Then flash a rom of your choosing and hope it boots.
Might as well load the ROM when you load superuser. But flashing superuser is silly if you're going to flash a ROM with root right after it but it's probably still a good zip to keep on your sdcard.
tiny4579 said:
Might as well load the ROM when you load superuser. But flashing superuser is silly if you're going to flash a ROM with root right after it but it's probably still a good zip to keep on your sdcard.
Click to expand...
Click to collapse
Yeah i guess it is pointless to flash su, then wipe it, then flash a rooted rom.
Thank you both of you, you were a HUGE HELP!!!!! I'm FIIIIIIXED!!!!!!!!!!!!!!
I'm going to update the original post to detail how I got fixed (the short version is, I just did what cmlusco said, and as soon as I had root, I followed this and it worked!!!!)
tiny4579 said:
Might as well load the ROM when you load superuser. But flashing superuser is silly if you're going to flash a ROM with root right after it but it's probably still a good zip to keep on your sdcard.
Click to expand...
Click to collapse
I wound up loading superuser like cmlusco suggested, only because I wanted to have everything fixed and perfect before loading Albinoman's new ROM, just in case there were issues, that way I'd know that it was the ROM or my phone, especially since my SD Card freaked out on me and that's how I got into this mess
....But, you are right, the only problem is, I'm super paranoid, and I like to be super-thorough
meadowsjared said:
I wound up loading superuser like cmlusco suggested, only because I wanted to have everything fixed and perfect before loading Albinoman's new ROM, just in case there were issues, that way I'd know that it was the ROM or my phone, especially since my SD Card freaked out on me and that's how I got into this mess
....But, you are right, the only problem is, I'm super paranoid, and I like to be super-thorough
Click to expand...
Click to collapse
Glad its working for you.
Sent from my Galaxy Nexus using Tapatalk 2

[Q] Strange root problem, please help

Okay it's been a few months since this has happened so I'll try to remember as best as I can; I had rooted my Nexus using WugFresh's kit, everything went fine. It was rooted for about 6 months and eventually got stuck in a boot loop (no clue how this happened, I hadn't installed any kernals, roms, even apps in months). I tried like 4 or 5 different methods to fix the issue; I finally was able to get the phone working again using ODIN mode, it completely restored it to stock (as far as I'm aware).
So I tried to re-root the phone; no luck, using ANY method I've been able to find. The main problem is I can't seem to get into TWRP, every time I try to it simply gives me the dead android with the red exclamation point. I'm not an advanced user by any means, but I'm not totally clueless and I can follow directions. If anyone has any advice for me on this I'd GREATLY appreciate it, I have an excellent 4G signal where I live and the only other internet option is AT&T basic DSL so I'd really like to be able to use my wifi hotspot again. Thanks in advance for your time, I appreciate anyone who takes the time to try to help.
1) android on its back is stock recovery.
2) follow this: http://forum.xda-developers.com/showthread.php?t=1529058
it works 100% of the time if you read and take your time.
it sounds like you have root but cant flash a recovery, let me know if im wrong but if this is the case I would just download goo manager from the market and go into settings and flash a custom recovery and that should fix your recovery problem but sometimes you have to download the recovery twice ive noticed that in the past, let me know if this works for you or you could go through the longer process above but your fix may be very simple
Thanks for the info, I will try this either tonight or tomorrow and get back to you; I certainly hope it works!
jaymazz13 said:
it sounds like you have root but cant flash a recovery, let me know if im wrong but if this is the case I would just download goo manager from the market and go into settings and flash a custom recovery and that should fix your recovery problem but sometimes you have to download the recovery twice ive noticed that in the past, let me know if this works for you or you could go through the longer process above but your fix may be very simple
Click to expand...
Click to collapse
I thought that too, but I tried installing super user and a couple of other root-only apps and it said that my device wasn't rooted. =P
Zepius said:
1) android on its back is stock recovery.
2) follow this: http://forum.xda-developers.com/showthread.php?t=1529058
it works 100% of the time if you read and take your time.
Click to expand...
Click to collapse
This is driving me insane. I'm trying this method; I followed the directions step by step, but my phone is showing that it is unlocked already (when I entered the fastboot oem unlock command in CP it returned FAILED: Invalid Command, but it is showing as unlocked in bootloader.
Now for the weird part; I rebooted to bootloader and tried fastboot flash recovery recovery-clockwork-6.0.2.3-toroplus.img and it returned immediately FAILED: Invalid Argument. I decided to start the process over, and now I can't reboot from CP, it's saying error: device not found.
I really want to just smash this f*%&ing thing into several hundred thousand pieces right about now, so I'm going to take a break for the moment. Are there different types of bootloaders, or is it possible the my bootloader is just corrupted or something?
There are different bootloaders, but the fastboot commands should work just the same. You're on Windows i'm assuming? You could also look at efrant's guide, http://forum.xda-developers.com/showthread.php?t=1626895, as well as his 101 in the general section stickies. It does not make sense that the device would become not found, and I would try reflashing the bootloader. Don't smash the phone!
Have you tried this method?
http://forum.xda-developers.com/showthread.php?t=1400871
lockehart12 said:
Now for the weird part; I rebooted to bootloader and tried fastboot flash recovery recovery-clockwork-6.0.2.3-toroplus.img and it returned immediately FAILED: Invalid Argument. I decided to start the process over, and now I can't reboot from CP, it's saying error: device not found.
Click to expand...
Click to collapse
your drivers are not installed correctly.

[Q] Unique Situation ATT Galaxy Note 2 Help

Ok, this is my first post so forgive if this is in the wrong section...
I have a friend's Galaxy Note 2 ATT that was stuck on the Galaxy Note 2 Boot screen, and it wouldn't go any further.
Because I work for Samsung at the Samsung Experience Shop, I tried running it through our smart reflash tool
-----> This didn't work because it would fully download it onto the phone, but when it got to the Android with the thing spinning in its chest, it would stop and ALWAYS freeze halfway.
Next step I tried doing was going through Samsung Kies and downloading the stock OS and load that, but the same Android with the spinning thing in its chest would show up and it would freeze.
Due to this guy being my friend I told him I would try anything to get his phone to work again (root, to custom recovery, to custom rom)
My steps so far:
1. I have successfully rooted my device via ODIN 1.85 by using CF-Auto-Root
2. Afterwards, I loaded on a custom recovery via ODIN 1.85 which now is philz_touch_6.07.9
Here is my problem now, I've tried searching everywhere and I can't really find the answer...
Whenever I try to side load a rom through ADB through Android tools (its in the right directory and everything because it transfers over), I keep getting an error message "E: Error in /tmp/update.zip (status 7) Installation Aborted."
Now before I get that error I get stuff like getprop("ro.product.device")==t0lte" ||getprop("ro.build.product").... etc. and it goes on and on.
So far the ROMs that I have tried were Cyanogenmod 10.1 and the Pacman Rom, and yes, both are for the correct device like the model name/number match up. And now how I said I thought I rooted the device, whenever I try to reboot into recovery via Philztouch, it says at the top Root Access is missing. Root device, and I click yes. When it reboots into recovery and I want to turn the phone off again, it still says Root Access is missing.
I am open for anything really. My friend just wants his phone to work again. and I've literally exhausted all of my ideas as I keep running into the same issue.
What am I doing wrong? and is something like this possible to fix? Or is my friend SOL?
Thanks for all the help. It's much appreciated.
Your recovery is outdated. Status 7 error.
I use TWRP from the original development section.
rangercaptain said:
Your recovery is outdated. Status 7 error.
I use TWRP from the original development section.
Click to expand...
Click to collapse
+1 to this^^^^^
Look here»»» http://forum.xda-developers.com/showthread.php?t=1981198
And why not give him something stock instead of a CM Rom??[emoji37]
Plenty of stock 4.3 Rom's in the development section...
Sent from my SAMSUNG-SGH-I317 using Tapatalk
Good advice ^^^^ for your friend.
Ok, thanks for the direct response. I've downloaded the latest TWRP recovery and when I try to push it through ODIN, I still have PhilZ Touch 6..? Sorry, I feel like I'm skipping something simple...
according to a guide, I have to make sure when I'm pushing a custom recovery through ODIN I have to leave Auto Reboot and F. Reset Time UNCHECKED. I made sure they were, and for some reason after it says PASS and thread successful 1 failed 0. When I disconnect the phone and turn it back on into recovery mode, I still has PhilZ Touch...
Use your recovery to flash TWRP. There's a zip version and an odin version.
Ok, I got stock recovery on there just by redoing the CF-Auto Root package through ODIN.
I figured well I can apply the ROM the adb through the stock recovery...
It was going well until I got this error. The last line before the error stated:
"Veryfying update package..."
Error:
E: failed to verify whole-file signature
E: signature verification failed
is that due to the fact that i'm using stock recovery?
In the mean time since that didn't work I'm going to flash TWRP and hopefully that fixes the issue.
I'm kinda just documenting my steps here in case anyone wants to follow and chime in if i'm doing something wrong.
Thanks for the help guys!
************3AM EDIT*****************
Ok so I managed to get TWRP 2.7 on the device as I needed the ability to adb sideload the update.zip to the phone since I can't boot into the phone's OS whatsoever.
This is the error I'm receiving now:
Checking for MD5 file...
Skipping Md5 check: no MD5 file found.
then it restarts and I'm stuck at the Samsung GALAXY Note II screen... what's my next step..? Find a different ROM?
**********Another Edit**************
It has just come to me, I shouldn't have to adb sideload the update.zip or the custom rom... even though I can't get into the phones OS and can't copy and paste to the root of the device. Can't I just copy and paste it to a micro SD card and mount that, and then apply the update from there? And as far as those errors I had earlier, I'm still not sure why I received them...
Again, thanks for all the help
Adb won't work if USB debugging wasn't enabled.
In TWRP you can disable md5 checking.
And you don't unzip the zip file.
Thanks for the reply. ADB didn't work because, in fact, since I haven't been able to turn the phone on, I know USB debugging isn't turned on.
And as far as having the MD5 check, it is unchecked.
I received a success message. However, when I try to boot the phone it still gets stuck at the Samsung Galaxy Note II screen.
******Edit******
Ok ended up using a different ROM, I think PacMan rom? It seemed to work until it got to extracting system files and then the phone sits for a couple minutes, screen turns black. And when I try to wake the screen, only the back and menu buttons come up...
Another thing, even though I've already rooted my device using CF-Auto-Root, When I reboot my device with TWRP I go to reboot and then recovery. Then it warns me saying no OS bla bla bla, and then it says it notices that my phone isn't rooted? And that SuperSU isn't on the device. It asks to install it by swiping. I swipe it starts to install, phone reboots. When I reboot it again, it still tells me that the phone isn't rooted. And with the phone not being rooted, I'm coming to the conclusion why I'm having trouble trying to flash Roms.. Is this a possibility?
Why are you using ADB? just drop the .zip for the ROM you wish to flash onto a micro SD card, and flash from within the TWRP. Don't try to extract the .zip whatsoever.

Zenfone 2 failed update, can't flash stock firmware

I accidentally allowed the 2.20.40.183 OTA update, which rendered my phone useless. I tried putting MOFD_UPDATE of 2.20.40.174 on my SD card, but that didn't work.
Here's a few other things I tried:
Recovery menu: Updating phone, then dead droid. No menu appears.
adb sideload: adb didn't recognize my phone.
fastboot flash: Permission denied, or something along those lines. The write fails. Tried to flash system.img but it never did and nothing happened.
adb sideload through temporary CWM: Unauthorized device. Couldn't sideload.
Flashing through temporary CWM and temporary TWRP: Fails early on with Status 7. 2.20.40.174 is older, and this is apparently reason enough to deny me.
Does anyone have an idea about what I can do to fix this? Could I flash Cyanogenmod, then flash stock over that, using temporary CWM/TWRP?
My bootloader is not unlocked.
PasserbyPassingBy said:
I accidentally allowed the 2.20.40.183 OTA update, which rendered my phone useless. I tried putting MOFD_UPDATE of 2.20.40.174 on my SD card, but that didn't work.
Here's a few other things I tried:
Recovery menu: Updating phone, then dead droid. No menu appears.
adb sideload: adb didn't recognize my phone.
fastboot flash: Permission denied, or something along those lines. The write fails. Tried to flash system.img but it never did and nothing happened.
adb sideload through temporary CWM: Unauthorized device. Couldn't sideload.
Flashing through temporary CWM and temporary TWRP: Fails early on with Status 7. 2.20.40.174 is older, and this is apparently reason enough to deny me.
Does anyone have an idea about what I can do to fix this? Could I flash Cyanogenmod, then flash stock over that, using temporary CWM/TWRP?
My bootloader is not unlocked.
Click to expand...
Click to collapse
I do the same! Now my phone stuck on boot screen.
Does anybody can help us?
http://forum.xda-developers.com/zenfone2/general/guide-brick-soft-hard-bricked-zenfone-2-t3284256
mr_gourav2000 said:
http://forum.xda-developers.com/zenfone2/general/guide-brick-soft-hard-bricked-zenfone-2-t3284256
Click to expand...
Click to collapse
I'm not going to lie, that guide's a bit hard to read. I'll try to follow as best as I can and reply if this works for me.
I'd still appreciate any other advice others have.
PasserbyPassingBy said:
I'm not going to lie, that guide's a bit hard to read. I'll try to follow as best as I can and reply if this works for me.
I'd still appreciate any other advice others have.
Click to expand...
Click to collapse
All necessary to read.
Hope you fix the problem.
Fixed
I managed to fix my phone, but not with the method Mr Gourav so kindly posted. I chose not to use mr_gourav2000's IntelSoC fix because the guide was written in a way that made it very hard to follow, and I was unsure if MOOREFIELD was supposed to flash briefly or stay on the Device Manager. Regardless, I wasn't going to risk bricking my phone beyond help by pushing on without knowing what i was doing.
The key was bypassing Status 7 (or 1), which prevents you from downgrading firmware. If your phone says something like "Installation failed with Status 1" or "Status 7," or you get the "Can't install this package over newer build" error when you attempt to flash a previous firmware, this fix can help you. Funny enough, the fix was posted by the very same person earlier this year:
http://forum.xda-developers.com/showpost.php?p=65995574&postcount=116
First, download the latest full firmware from Asus' support site: https://www.asus.com/Phone/ZenFone_2_ZE551ML/HelpDesk_Download/
Then, open or extract the .zip file, and go to into UL-Z00A-WW-(Firmware.Version.Number)-user.zip\META-INF\com\google\android\ . Select updater-script (no file extension), and open it in a plain text editor like Notepad++.
Remove lines 1-6, beginning with "(!less_than_int" and ending with "getprop("ro.product.device") + "\".");". The result should look like this.
Then, insert the edited updater-script into the .zip file, overwriting the old updater-script. At this point, I should mention that one of the removed lines probably checked your phone's model number to see if it was compatible with the firmware. I sure hope you downloaded the right file for your phone. If not, brick city here you come.
Finally, put the edited .zip into a microSD card, and insert that into your phone. If you want to use the stock recovery to install the firmware, rename the .zip to MOFD-UPDATE.zip and put it in the root of the SD, then restart the phone and let it update. Presumably. I didn't use the stock recovery. I used the temporary ClockworkMod recovery to fix my phone, so I'm not sure if it's that simple. If you're using that temporary CWM, just go to the zip installation menu and apply the zip from external_sd.
If you were going through the same problems I was, your phone should boot into stock, unrooted firmware again. Pat yourself on the back and never do whatever dumb thing you did to get to this point in the first place (like absentmindedly apply an OTA update in the middle of a lecture)!
Once again, thanks to mr_gourav2000 for posting this fix earlier. I may not have understood the IntelSoC fix, but I did understand this one!
.183 after update takes an extremelynlong time to boot after asus screen aa well. Made me think mynphone crashed, took a bout 10-15 minutes on first boot for me
Redtexan said:
.183 after update takes an extremelynlong time to boot after asus screen aa well. Made me think mynphone crashed, took a bout 10-15 minutes on first boot for me
Click to expand...
Click to collapse
If it's the 1st boot it generally will as it is recreating cache, dalvik-cache or ART...
It seems to take forever to clear cache too when using recovery but about a heartbeat when using fastboot.... Just another quirk of the phone...
Thank you much
I gotta say, this got me on the right path. Though my issue was exactly the same the fix was a little different.
I had to use the next patch and that worked. Recovery is working now and I have to manually update, but still have root, so no real big deal.
Thanks again.
mastet68 said:
I gotta say, this got me on the right path. Though my issue was exactly the same the fix was a little different.
I had to use the next patch and that worked. Recovery is working now and I have to manually update, but still have root, so no real big deal.
Thanks again.
Click to expand...
Click to collapse
You need to flash boot, droidboot and recovery for the build you are using.
I use fastboot to do this but make sure developer settings are enabled and USB debugging is ticked before trying to flash.
To find the img files for the above mentioned, go to Shakalaka's pre-rooted rom thread in Android Developement, you don't need to download the rom if you don't want to but it sure makes rooting easy.
Find the version of Android you need and download boot,droidboot and recovery img files. Flash with fastboot using these commands -
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash fastboot droidboot.img
***Make sure the right commands are used or it may result in a brick...***

Categories

Resources