Assistance Needed Nexus 1 not working after unlocking bootloader and rooting - Nexus One General

Assistance Needed Nexus 1 not working after unlocking bootloader and rooting
I used the guide on this site,
I don't know what I did wrong, but now it just hangs on the N1 symbol with the lock at the bottom and won't respond to any button input. I can get it to load the bootloader.
Any help, guidance, words of wisdom, or berating would be awesome.
......OH YEAH, and I'll pay you,

Easiest way would be to use fastboot to install amon_ra's custom recovery: link
then boot to recovery like so:
How to boot in Recovery Mode
1. Boot the phone while holding down the VOLUMEDOWN-key.
2. Navigate to RECOVERY with the the VOLUMEDOWN-key.
3. Press the POWER-key to select.
Click to expand...
Click to collapse
then wipe and install cm's 5.0 beta4: link
hope that helps.

Related

Bricked - Nexus S :(

OK first of all:
1 - I am a total noob
2 - Because of #1, I shouldnt have been doing this!
I unlocked my bootloader and was in the process of rooting my phone and when it booted up, I am stuck at the google screen with the unlocked lock at the bottom...any help here?
i CAN take out battery and load into the mode where I press volume up and power at the same time...if that helps.
When I do take out the battery, put it back in, then press the power and volume up buttons, then select recovery, I get a triangle with the "!" in it...dont know if that means anything to anyone or not.
When u get to the triangle part, Hold Power then press volume up. This will get you into recovery.
BUT you need to flash ( or re-flash) clockwork recovery via fast-boot ( follow the root guides) because looks like you didn't flash it.
Since you were attempting to root anyway, may I suggest you head over to the rooting guide, flash clockworkmod recovery and get a pre-rooted stock nandroid?
It lets me reboot the phone from there, but freezes on the google logo with the unlocked lock screen.
I cant seem to get the recovery img...like the link is bad....where else can i get it?
I googled and got the file, but when I type the command "fastboot flash recovery recovery.img" it says it cannot load "recovery.img" any help here?
chuckenfoot said:
I googled and got the file, but when I type the command "fastboot flash recovery recovery.img" it says it cannot load "recovery.img" any help here?
Click to expand...
Click to collapse
have android 2.3.X sdk set up properly? recovery.img needs to be in /sdk/tools/
zephiK said:
have android 2.3.X sdk set up properly? recovery.img needs to be in /sdk/tools/
Click to expand...
Click to collapse
Im sure I have it in the correct folder...what else?
wrong place
10char
Are you on a mac or a PC?
If you're on a mac I would suggest Kenvan19's rooting guide. It works great!
http://android.modaco.com/content/g...-colour-revert-superboot-rooting-the-nexus-s/
Chuckenfoot, Go to Paul's site Android Modaco see link above. I could'nt get fast boot commands to work and I almost gave up. His superboot method is absolutely the easiest method to get root and then you can install CWM. Follow his instructions and you'll be golden. Good Luck.
GFam4 said:
Chuckenfoot, Go to Paul's site Android Modaco see link above. I could'nt get fast boot commands to work and I almost gave up. His superboot method is absolutely the easiest method to get root and then you can install CWM. Follow his instructions and you'll be golden. Good Luck.
Click to expand...
Click to collapse
Superboot does make kernel modifications FYI. If you want to be completely stock and rooted so you can still get OTA superboot will prevent that.

[Guide] Unlocking HTC Desire HD using HTCDEV method and installing CyanogenMod

I'm pretty new here but as I documented the process of modding my own phone I thought I'd share it with you. I didn't invent any of these processes and this information is available from many different sources. I've tried to credit any source material that I've used verbatim. I am by no means an expert.
Please reply back with any corrections and I'll be happy to edit the post.
This guide describes how to take a HTC Desire HD (mine was fully patched with OTA updates including Sense 3.0), unlock it and install CyanogenMod onto it. It worked for me but it might not for you. I don't take any responsibility for you turning your phone into a brick!
Pro Tips
Remember, in any steps requiring the phone to be powered off, just give it a minute to make sure that it is properly turned off.
Understand what's happening! If you get what's going on, you've more chance of fixing it if it goes wrong. This process describes how to use HTCs official method to unlock the bootloader. This allows you to change the operating system on the phone. The phone contains a recovery system which we an engineer can boot into to replace the main operating system if it becomes unbootable. We are going to replace this stock recovery system with a modified one which allows us do fiddle about with the phone's internal partitions. Once we have the modified recovery system in place we use it backup the existing phone operating system and replace it with a modified one. We can also use it to restore the original one again if things go wrong.
Read all of the instructions properly first! Don't go off half-****ed!
As far as I'm aware you can't reverse the official HTC bootloader unlock (i.e put your phone back *exactly* as it was) and it may effect your warranty. You have been warned!
Unlock the Bootloader
INFO: You can use the HTCDEV unlock bootloader method from HTC as an 'official' means of unlocking the bootloader. Confused? Check out the official site: http://htcdev.com/bootloader/ I'm not going to describe it step by step here because HTC do that quite well enough themselves.
Quick tip. If when going from one step to another on the HTC website you come to a white screen, that may be because you've been logged out. Just go back to the first page, log in again, then go back to the last step you completed.
Another quick tip. Make sure you properly install everything HTC tells you to. We'll need it all later...
Installing recovery mode
INFO: The stock recovery mode itself is pretty basic and can't do much, so we need to replace it with a custom recovery image.
We're going to use the clockworkmod recovery image which you grab from here: http://dl.dropbox.com/u/4518713/archive/recovery-clockwork-5.0.2.7.111102-j_r0dd_mod-ace.zip (originally seen here: http://forum.xda-developers.com/showthread.php?t=1118865)
Make sure that the fast boot mode on your phone is disabled. You can find this in your power settings menu.
If the phone is connected via a USB cable then unplug it.
Power off the phone using the power button and leave it alone for a minute.
INFO: To flash the new recovery image to the phone, you need to reboot the phone into the bootloader so that you can select a new image to boot. The bootloader is known as HBOOT.
Boot into HBOOT by holding down the 'volume down' button and pressing the power button.
By default FASTBOOT is selected so just press the power button to access it.
Attach the USB cable and note that FASTBOOT changes to FASTBOOT USB
On your PC open cmd prompt and cd to the platform-tools directory of the android sdk. Mine is at C:\Program Files (x86)\Android\android-sdk\platform-tools>
Copy the .img file from the clockworkmod zip file we downloaded earlier to the platform-tools directory. Rename it recovery.img
Go to your command prompt and issue this command:
Code:
fastboot flash recovery recovery.img
INFO: The recovery image will then be written to your phone, and as long as everything went well you'll get a message saying OK.
Ensure that BOOTLOADER is selected in the HBOOT menu and press POWER button to select it. Now you're back at the HBOOT menu.
Use the volume buttons to highlight RECOVERY and press the power button to select it. After showing you the HTC logo, the phone should boot into recovery mode!
Backing up your phone
Using the volume buttons to select move to the 'backup and restore' option in the menu. Use power to select and use the backup option. This backs up your current phone setup to the SD card.
Select power off to turn off you phone. Leave it a few secs - select reboot system now.
When your phone is backup and running, mount it in mass storage mode and navigate to the root of your SD card. See the folder called 'clockworkmod'? copy that along with everything in it to your computer and put it somewhere safe. That's your backup. If needs be, you can use this backup your phone back to the original state!
Installing CyanogenMod (other mods may vary)
Mostly taken from http://wiki.cyanogenmod.com/wiki/Nexus_One:_Full_Update_Guide with some extra stuff that messed with me when I tried to do it.
Download the latest version of CyanogenMod from http://download.cyanogenmod.com/?type=stable&device=ace
Download the Google Apps for the device. http://wiki.cyanogenmod.com/wiki/Latest_Version/Google_Apps
Place the CyanogenMod update.zip file on the root of the SD card.
Place the Google Apps .zip on the root of the SD card also.
Boot into the ClockworkMod Recovery.
Once the device boots into the ClockworkMod Recovery, use the side volume buttons to move around, and the power button to select.
Select the option to Wipe data/factory reset.
Then select the option to Wipe cache partition.
And the option to wipe the Dalvik cache
Select Install zip from sdcard.
Select Choose zip from sdcard.
Select the CyanogenMod update.zip.
Select Install zip from sdcard
Select Choose zip from sdcard
Select the Google apps zip
These extra steps seem to have been required by people in this thread. All credit due to marsdta and theluckster for their suggestions. I've edited this guide to include the instructions here where they are more visible.
On your computer extract the ROM zip (e.g. update-cm-7.1.0-DesireHD-signed.zip) and there should be a file inside it called boot.img. This should be flashed automatically, however for some reason via the HTCDEV method it is not.
To do it manually, you need to enter fastboot mode, as per the instructions above:
Boot into HBOOT by holding down the 'volume down' button and pressing the power button.
By default FASTBOOT is selected so just press the power button to access it.
Attach the USB cable and note that FASTBOOT changes to FASTBOOT USB
Then on your PC, in the directory you extracted the zip file run:
fastboot flash boot boot.img
Click to expand...
Click to collapse
Once the installation has finished, select Go Back to get back to the main menu, and select the Reboot system now option. The phone should now boot into CyanogenMod.
Now wait for what seems like an incredibly long time with the phone showing the 'htc' screen.
INFO: The phone should now boot into CyanogenMod!
Restoring your phone - When things go wrong
OK, so you flashed a bad mod. Time to restore.
First up, put the backup you made in the previous step onto the root of your SDcard (if it isn't already there). Then, I came across this video which seems to explain things pretty well
http://www.youtube.com/watch?v=mUYGe8mmNWU
The basic gist of it is, boot into recovery mode, format the cache, data and system partitions, wipe the Dalvik cache, then restore the backup from your SD card.
Wow thanks a lot!
I personally have 1 problem:
Step 12 of the "installing recovery mode" when i type in the command in command prompt is says:
'error: cannot load recovery.img'
I placed it in the same folder as fastboot en renamed it "recovery.img".
I unlocked the bootloader succesfully btw..
Any thoughts?
I think you should contemplate using attn1's ace hack kit to gain bootloader unlock instead of voiding your warranty.
Hunt3r.j2 said:
I think you should contemplate using attn1's ace hack kit to gain bootloader unlock instead of voiding your warranty.
Click to expand...
Click to collapse
Well I've already unlocked the bootloader through htcdev.
But tried the Attn1's as well...ended up saying:
/data/local/tmp/goldcard.img: cannot open for read: No such file or directory
starting downgrade...
** The phone will now reboot into HBOOT.
** It will then check the file just sent.
** If everything is okay, the phone will
** prompt you to continue by pressing
** VOLUME UP. It will reboot, flashing twice.
The phone did not prompt me to continue by pressing volume up.
When i start clockwork recovery it states i should root my phone...
So a lot going wrong and i can't figure out what..
how long the htc screen? I'm waiting for a looooong time
Thanks for the tutorial. I've followed the instructions and managed to unlock the bootloader and install ClockworkMod, however after flashing CM7 and rebooting it is stuck on the H3G boot screen (isn't flashing CM7 supposed to overwrite the boot logo?). I'm trying to flash:
update-cm-7.1.0-DesireHD-signed.zip
gapps-gb-20110828-signed.zip
I've double checked /data, /system, /cache and Dalvik-Cache have been wiped before flashing but still no avail
Here are the versions from the bootloader:
***UNLOCKED***
ACE PVT SHIP S-ON RL
HBOOT-2.00.0029
MICROP-0438
RADIO-26.14.04.28_M
eMMC-boot
Dec 22 2011, 14:28:19
I am able to restore the backup, but flashing any other ROM just doesn't boot.
The guide is missing one key step . Flashing the boot image.
So after flashing your from boot back into boot loader and flash your roms boot.img.(just copy it over to your fast boot file)
Then run the command
Fastboot flash boot boot.img
Reboot . Done.
You'll have to do this every time you flash different roms. 4ext has a nice feature of doing this for those that have HTC unlocked you should try it out
Sent from my Inspire 4G using XDA
Awesome, thanks marsdta! It is working now, good work!
thelucster said:
Awesome, thanks marsdta! It is working now, good work!
Click to expand...
Click to collapse
can you repeat it more clear for me because i have the same problem.
Thank you Thelucster. You have saved me from a big mistake.
crom1 said:
can you repeat it more clear for me because i have the same problem
Click to expand...
Click to collapse
First flash the Cyanogen ROM and Google Apps, as per the instructions above. Then on your computer extract the ROM zip (e.g. update-cm-7.1.0-DesireHD-signed.zip) and there should be a file inside it called boot.img. This should be flashed automatically, however for some reason via the HTCDEV method it is not.
To do it manually, you need to enter fastboot mode, as per the instructions above:
Boot into HBOOT by holding down the 'volume down' button and pressing the power button.
By default FASTBOOT is selected so just press the power button to access it.
Attach the USB cable and note that FASTBOOT changes to FASTBOOT USB
Click to expand...
Click to collapse
Then on your PC, in the directory you extracted the zip file run:
fastboot flash boot boot.img
Click to expand...
Click to collapse
I didn't set notifications on this post and forgot it existed till today. I've updated the guide with the information posted by marsdta and theluckster to make things clearer. Sorry about any confusion caused by missing that step out.
the boot screen shows cyanogen(mod)7 instead of the regular HTC sign!! Following each and every step I landed up here. And now I am stuck, cuz this boot screen has been there for like half-an hour....does it mean something is wrong or does it take this much time to load first???
Hello,
for HTC dev unlocked bootloader (about what is added after step 15 in "installing cyanogen" phase) : it seems that the boot.img must be flashed before installing the .zip from sdcard.
I got stuck for that. Could be worth to make it clear.
Great tutorial anyway, thank you !
zarkenciel said:
Hello,
for HTC dev unlocked bootloader (about what is added after step 15 in "installing cyanogen" phase) : it seems that the boot.img must be flashed before installing the .zip from sdcard.
I got stuck for that. Could be worth to make it clear.
Great tutorial anyway, thank you !
Click to expand...
Click to collapse
It shouldn't matter. I've seen people do it both ways and it worked fine for them.
@ash win. Your in a boot loop. Did you do a full wipe before flashing? Could be just a bad flash. Go back and reflash the rom and boot.img. you should also verify the md5hash to make sure yous didn't get a corrupt download file.
Just finished the tutorial, works perfectly. Thanks for writing it.
Does this unlock you from the network, i.e. is this the alternative to paying £15 for an unlock code?
I do understand this is for modding and flashing to a new ROM, but I am wondering if it also unlocks the phone from your network (or maybe that is IMEI based).
This is not for any illegal purposes, just I fancy a new ROM and I am now out of contract, so happy to experiment with flashing.
ohforfs said:
Does this unlock you from the network, i.e. is this the alternative to paying £15 for an unlock code?
I do understand this is for modding and flashing to a new ROM, but I am wondering if it also unlocks the phone from your network (or maybe that is IMEI based).
This is not for any illegal purposes, just I fancy a new ROM and I am now out of contract, so happy to experiment with flashing.
Click to expand...
Click to collapse
No, you need the aahk for that. That gives you sim unlock as well. Just Google attn1 aahk and you'll find it
marsdta said:
No, you need the aahk for that. That gives you sim unlock as well. Just Google attn1 aahk and you'll find it
Click to expand...
Click to collapse
Thanks - very kind of you to point me in the right direction, I've found it
Hi,
and how do i root my phone after HTCDev Unlock??
I want install the Custom Rom "Sabsa Prime". Do i need root to flash it?
Sorry for my bad english.
You may also want to include wiping battery stats in the advanced option of cwm in your guide

[Q] how to restore stock recovery and unlock bootloader?

Well, I was using the Unified Android Toolkit (SkipSoft) to restore the system before selling it.
It looks like it flashed everything correctly, I did the following:
1) Unroot
2) flash stock recovery
3) lock bootloader.
I confirmed that the bootloader is unlocked, and root no longer works.
However, when I try to boot to recovery I get the android with an '!' sticking out of his chest. Any ideas??
RedBullet said:
Well, I was using the Unified Android Toolkit (SkipSoft) to restore the system before selling it.
It looks like it flashed everything correctly, I did the following:
1) Unroot
2) flash stock recovery
3) lock bootloader.
I confirmed that the bootloader is unlocked, and root no longer works.
However, when I try to boot to recovery I get the android with an '!' sticking out of his chest. Any ideas??
Click to expand...
Click to collapse
That is stock recovery. You have to hit Volume Up (or Volume Down?) + Power at the same time to bring up the recovery menu.
charesa39 said:
That is stock recovery. You have to hit Volume Up (or Volume Down?) + Power at the same time to bring up the recovery menu.
Click to expand...
Click to collapse
Right, I thin it confirms I have the stock recovery. I got to it by gettng into fastboot then selecting boot recovery. As far as I know that's the only way to do it.
So, why does it boot to recovery in error and how do I fix it?
I did just try downloading the stock images from google and flashed them all (I needed to unlock bootloader first).
Everything flashed. Still couldn't boot to recovery.
locked bootloader again, still couldn't boot to recovery.
What gives??
Can't recall what stock recovery looks like but I believe you have it, as in the ! You see is the stock recovery just as charesa39 has said
http://forum.xda-developers.com/showthread.php?t=2670400
Post three here has the steps laid out, in your case though it sounds as you completed your goal if everything is booting
Sent from my Nexus 4 using XDA Premium 4 mobile app
RedBullet said:
Right, I thin it confirms I have the stock recovery. I got to it by gettng into fastboot then selecting boot recovery. As far as I know that's the only way to do it.
So, why does it boot to recovery in error and how do I fix it?
Click to expand...
Click to collapse
It's not an error. That's the way it was intended to work. It was the same on my Nexus 5 and 7 (2013) before installing a custom recovery. I have no idea why it was designed like that. Maybe some safety feature, as in, adding a necessary button combination (Power + Volume Button) so someone doesn't accidentally wipe his or her device? IDK. All I know is, your recovery seems to be normal.
You are correct in that the only way to get to recovery is through fastboot, unless you have enabled the advanced power menu in developer options, or use a ROM or Xposed Module (like myself) that allows you to reboot into recovery.

Noob Friendly guild to Root,Unlock and Recovery. Testers needed.

First thing i did was download the mimimal_adb_fastboot. Installing that was easier than sdk. After that I download Bacon recovery img. I will list all downloads after this. No need to even download super for this, but I did just in case. Next I put the bacon recovery img into the same folder as mimimal_adb_ astboot.
If you are already on CM11s, you can go into developers options and turn on advanced recovery power menu. Also while in there turn off system updade for cm and turn on usb debugging.
Turn the phone off and go to reboot, you should get an option to going into Bootloader, choose that.
Once in that go to tmimimal_adb_ fastboot and type flash fastboot oem unlock, this will reboot your phone back into regular mode and you will have an unlocked bootloader.
After the phone boots up, go back into power menu and boot back to the bootloader
After that go back into mimimal_adb_ fastboot. and type in fastboot flash recovery openrecovery-twrp-2.7.1.0-bacon.img this will install the recovery.
Nothing will happen, this is ok. Just reboot the phone with the power button.
Once booted back up, hit the power button again and select, recovery, once you go in there, just select reboot, and a screen should come up and say to you want to root and just follow the instructions.
One last step once back up, going into supersu it will say your not fully rooted, click on the twrp button on the bottom after it reboots you are root, have recovery and unlocked bootloader.
I can't take credit for this. I just lumped other guides into for guide to make it easier to do this.
http://forum.xda-developers.com/showthread.php?t=2317790
http://teamw.in/project/twrp2/231
http://download.chainfire.eu/420/SuperSU/UPDATE-SuperSU-v1.99.zip
This worked for me. Can I have someone test this just to double check? First time I wrote a guide like this.
We already have a guide stickied here: http://forum.xda-developers.com/showthread.php?t=2788632
Dear OP, While we appreciate the effort you put in we do already have a guide for this. In order to keep the forum clean I will be closing this thread. Please use the link below
dansou901 said:
We already have a guide stickied here: http://forum.xda-developers.com/showthread.php?t=2788632
Click to expand...
Click to collapse

[help]us996 can't boot into twrp recovery

hello
i have a lg v20 us996 phone and i unlock the bootloader via lg's official unlock tool. then i boot into bootloader and use fastboot tool flash twrp-3.0.2-1-us996 recovery, everything goes well.
i reboot the phone use fastboot command
Code:
fastboot reboot
phone seemed to get a factory wipe and i re-enable the usb debug again in the develope mode
then reboot to recovery use adb command
Code:
adb reboot recovery
but after reboot, i can only get lg's recovery. I've tried to re-flash twrp use fastboot,but every time i reboot to recovery i could only get lg recovery only, there is on way to reboot to twrp.
anyone can help me to get boot into twrp, thank you
Dont reboot the device after flashing recovery in ADB. Boot straight to recovery.
Can a mod please move this thread to the proper location?
This thread should be moved to the q&a section
12MaNy said:
Dont reboot the device after flashing recovery in ADB. Boot straight to recovery.
Can a mod please move this thread to the proper location?
Click to expand...
Click to collapse
but can u tell me how to reboot straight to recovery while finish flash recovery in fastboot mode, i can't find way do this.
I have unlock the bootloader so each time i boot up the phone, first there is a lg logo displaying for about 2 second and then a warning msg will appear on the screen. this warning message will display on the screen for about ten second and then a lg logo appear again then boot the android system. i don't know how to interrupt the normal boot process and get into recovery manual.
when i use adb to reboot to recovery, lg recovery will appear after the warning message screen off. i turnoff the phone and press power+down button together to try to get into recovery manually, but after the lg logo appear the second time, there is no way to start recovery. the phone will boot to android directly.
ok i find the way to get into twrp now by vidoe in youtube.
https://www.youtube.com/watch?v=aN5hd53_V5U
thank you @12MaNy
here is a new problem, each time i start a normal boot, i will lost twrp again. anyone can tell me how to solve this, thank you
mking007cn said:
here is a new problem, each time i start a normal boot, i will lost twrp again. anyone can tell me how to solve this, thank you
Click to expand...
Click to collapse
I had the same trouble. Read this page of responses
mking007cn said:
ok i find the way to get into twrp now by vidoe in youtube.
https://www.youtube.com/watch?v=aN5hd53_V5U
thank you @12MaNy
Click to expand...
Click to collapse
No problem, but I would rather you hit the thanks button.
12MaNy said:
No problem, but I would rather you hit the thanks button.
Click to expand...
Click to collapse
Thanks added
Also having this problem, however when I hold the POWER+VOLUME DOWN buttons to try to boot into recovery after shutdown/battery removal - the system STILL loads.
I get the warning saying the bootloader is unlocked though. After that the phone just starts up as normal, even though I'm holding the buttons
TheCoryGuy said:
Also having this problem, however when I hold the POWER+VOLUME DOWN buttons to try to boot into recovery after shutdown/battery removal - the system STILL loads.
I get the warning saying the bootloader is unlocked though. After that the phone just starts up as normal, even though I'm holding the buttons
Click to expand...
Click to collapse
here is the step i find finally
1. re-boot into fastboot mode
2. flash twrp use fastboot command.
3. power-off the phone
4. power-on with power and volume down button holding
5. while lg log appears, release power button immediately for 1 second and then hold again
6. when recovery selection screen appears, select 'yes' both two times.
now phone boot to twrp recovery.
REMEMBER: WHEN YOU BOOT INTO LG'S SYSTEM AGAIN, YOU WILL LOST TWRP. IF U WANT TO USE TWRP AGAIN, U MUST RE-FLASH TWRP AND REPEAT THE STEPS ABOVE. THIS WILL LOST ALL DATA(PHONE WILL GET FACTORY RECOVERED)!!
I hope this can help you, good luck.
mking007cn said:
here is a new problem, each time i start a normal boot, i will lost twrp again. anyone can tell me how to solve this, thank you
Click to expand...
Click to collapse
You need to delete the file recovery-from-boot.p in /system
Each time you boot, that file gets executed and restores the stock recovery from recoverybak. Alternatively, you can flash TWRP to both recovery and recoverybak.
-- Brian
runningnak3d said:
You need to delete the file recovery-from-boot.p in /system
Each time you boot, that file gets executed and restores the stock recovery from recoverybak. Alternatively, you can flash TWRP to both recovery and recoverybak.
-- Brian
Click to expand...
Click to collapse
i use lineageos now, and this problem has gone.
Thank you.

Categories

Resources