Bootloader and Custom Rom - Nexus One Q&A, Help & Troubleshooting

I know this is a re-hash of previous questions but coming from the MyTouch3G the nexus one is a bit odd.
I don't want to void the warranty and thus lose my warranty. I've done the 1-click root which allows me to run a couple of apps as su.
But it seems to stop there.
I would really like to checkout some of the custom roms, as my current froyo is messing up pretty bad on all browser connection (very frustrating)
On the MT3G I've never really had to do any adb/fastboot stuff as the images were pretty self-contained and installed all that was needed.
On the nexus one it seems pretty hard to find good steps on the stock bootloader so that I can go back to stock if needed.
On to the questions after all of this:
1. ADB sees the device, yet fastboot doesn't. Any tips?
2. Can I backup the current bootloader/rom via adb/fastboot?
3. Can I install the RA Recovery without unlocking the bootloader, or does that pretty much go hand in hand?
4. If a custom recovery cannot be installed, then I'm guessing no custom roms can either be used, is this correct?
Thanks!

1. use the correct fastboot binary (what os?)
2. no need
3. yes
4. yes
Just unlock the bootloader, there are numerous accounts of getting the phone repaired regardless.

just install rom manager (if for nothing else it will install a recovery on your phone) then you never have to use the program again. It will not mess with the boot loader or anything else.
Its free in the market, the nexus one is the easieest phone to swap roms and such

You don't need another application to install a recovery image, just terminal. flash_image recovery /sdcard/name of recovery.img

yeah but some people dont use ADB, and an app is easier

That's a terminal command, not adb. But can also be executed via adb shell.

either way, often rom manager is simpler to use for people new to rooting and custom rom flashing

Related

Easier way to flash recovery with locked bootloader via battery mod?

I used this method http://forum.xda-developers.com/showthread.php?t=710842 to root without unlocking bootloader.
I want to flash the new amonra recovery 1.8.0.1
Fastboot flash recovery filename.img does not work (this is probably the limitation of this method of rooting without unlocking bootloader).
What's the best way/easier way to do this rather than going through steps 17-24
Thanks.
Besides using the one-click root? http://forum.xda-developers.com/showthread.php?t=747598
Also, what's wrong with 17-24? You *have* to do this regardless in order to install stuff into /system, although actually not 100% sure if you have to do it in order to install a recovery.
I guess the point is you don't want to set up adb?
khaytsus said:
Besides using the one-click root? http://forum.xda-developers.com/showthread.php?t=747598
Also, what's wrong with 17-24? You *have* to do this regardless in order to install stuff into /system, although actually not 100% sure if you have to do it in order to install a recovery.
I guess the point is you don't want to set up adb?
Click to expand...
Click to collapse
The one click root for nexus one didn't exist when I did mine using the tutorial i did.
everything works except you can't do a "fastboot flash recovery" command.
So using the One Click Root, lets you use the fastboot flash recovery command and keeps the bootloader locked?
Maybe I'll redo my phone.
You need to use flash_image command from the Terminal. Fastboot works only for original images when bootloader is locked.

[Q] Re: Hasoon2000's HTC Vivid All-In-One Kit

Hello,
I cannot make sense of either the written directions or the Youtube video. They assume knowledge that I do not possess. Speaking of which...
In the "flash a recovery" step, is this supposed create a recovery image of some sort, or flash an already existing one onto the phone. If the latter, where does this recovery image come from?
In the kernel step, it says to place your kernel in the /Data/Kernel directory. How am I supposed to obtain the kernel image?
Thank you in advance.
(I posted this here because I do not have the necessary permissions to reply to Hansoon2000's thread)
psterrett said:
Hello,
I cannot make sense of either the written directions or the Youtube video. They assume knowledge that I do not possess. Speaking of which...
In the "flash a recovery" step, is this supposed create a recovery image of some sort, or flash an already existing one onto the phone. If the latter, where does this recovery image come from?
In the kernel step, it says to place your kernel in the /Data/Kernel directory. How am I supposed to obtain the kernel image?
Thank you in advance.
(I posted this here because I do not have the necessary permissions to reply to Hansoon2000's thread)
Click to expand...
Click to collapse
Assuming you are S-on you dont have to flash a kernel if you are just rooting it
Root your phone, S-off it(If you want to... I recommend it), and just flash a rom via recovery
I believe the recovery is in the folders already? Can anyone confirm?
bilibox said:
Assuming you are S-on you dont have to flash a kernel if you are just rooting it
Root your phone, S-off it(If you want to... I recommend it), and just flash a rom via recovery
I believe the recovery is in the folders already? Can anyone confirm?
Click to expand...
Click to collapse
Correct CW or WCX just have to choose which you want
It's pretty straight forward and noob friendly...follow instructions to unlock bootloader, choose cwm or wcx recovery then press button to flash...kernel is optional, if you want one download one from here and put it in the kernels subfolder...
Everything comes from/is located in the data folder and its sub-directories you also extracted
Sent from my HTC PH39100 using xda app-developers app
Thank you
Thanks for the replies. I found a simpler to follow method, using fastboot.exe and an included recovery image, and successfully rooted the phone.
Now, I'm going to do some RTFMing, so this won't be an issue again.
One piece of information that might help you is understanding that the term "recovery" can mean two things. In the context of "flashing a recovery" in the process of rooting your phone, what this means is flashing a recovery tool to the recovery partition of your phone. Your phone has a special place set aside for a backup OS (or recovery tool) in case things go south for your actual OS. The recovery you can flash with the all-in-one tool will install CWM (ClockWorkMod), or WCX. Personally, I use CWM. By holding the power key and volume down when you start your phone, you gain access to the boot menu, where you can load the recovery tool. This allows you to do all sorts of powerful things, from flashing kernels and ROMS, to preforming backups and restores, to clearing caches, and all sorts of other power-user type functions.
Hope that helps, and glad you got your phone rooted. These things are a lot of fun once you open them up a little

Nexus 6 Stuck on Google Screen

I was trying to do a factory reset but now phone is stuck on google screen. I can boot into Recovery but I since it has no files I can't do much. I don't have a rom I could flash and I have no idea how to flash one using a mac. Anyone have any idea how I can flash a rom even if it's the stock rom?
Bootloader still unlocked.
Thanks,
You don't have TWRP installed?
Flash twrp then look up examples of how to use adb push, or adb side load.
Or if you want stock, download official image and flash via fastboot, the instructions are on the official image page.
https://developers.google.com/android/nexus/images
To be honest, if you are new to flashing and installing custom roms, recoveries and so on - Its better to find Windows machine and to install Wugs nexus tool kit http://www.wugfresh.com/nrt/
It has all the options you need, like flashing bricked device.
Ask your friends who has a Windows (it will take just 30min)
Monster Mary said:
To be honest, if you are new to flashing and installing custom roms, recoveries and so on - Its better to find Windows machine and to install Wugs nexus tool kit http://www.wugfresh.com/nrt/
It has all the options you need, like flashing bricked device.
Ask your friends who has a Windows (it will take just 30min)
Click to expand...
Click to collapse
If he finds a windows machine and has TWRP, he can just use MTP to copy a romzip over.
fastboot flash is also very simple from a Mac, using my adb and fastboot thread. We do generally try to discourage toolkits from noobs. They need to learn this stuff to help them when it comes to these issues. Toolkits don't even really save any time, but if they did, it would be better to understand what they are actually doing rather than blindly jumping in.
danarama said:
If he finds a windows machine and has TWRP, he can just use MTP to copy a romzip over.
fastboot flash is also very simple from a Mac, using my adb and fastboot thread. We do generally try to discourage toolkits from noobs. They need to learn this stuff to help them when it comes to these issues. Toolkits don't even really save any time, but if they did, it would be better to understand what they are actually doing rather than blindly jumping in.
Click to expand...
Click to collapse
I'll agree on that
Thanks everyone for the reply. I was able to still boot into recovery, manually flash (push) roms using terminal.
It was not an easy task but it was possibly at the end.
Now I'm loaded with a custom rom and everything is better than before.

Which Root to use?

So, I have decided on rooting my Xperia Z3 Compact so that I can finally move OBB to SD card, however I have no knowledge of how roots work (not a programmer much), or which one to pick. I have seen quite a few options for different roots, and previously used Kingo root, but seeing the post about it I am avoiding it like a forest fire. Anyone got good suggestions on which one to pick for my Xperia z3 compact?
In modern Android the phone's security systems prevent rooting via one click apps unless the device is unlocked. The best/safest way to root is to flash custom recovery such as TWRP and then install SuperSU.zip from TWRP. Make sure you make a backup first just in case.
You will most likely have to unlock your bootloader before you can flash TWRP. SONY devices are usually pretty Dev friendly, so you shouldn't have too much trouble finding everything you need. Good luck.
Sent from my KYOCERA-C6745 using Tapatalk
RealWelder said:
In modern Android the phone's security systems prevent rooting via one click apps unless the device is unlocked. The best/safest way to root is to flash custom recovery such as TWRP and then install SuperSU.zip from TWRP. Make sure you make a backup first just in case.
You will most likely have to unlock your bootloader before you can flash TWRP. SONY devices are usually pretty Dev friendly, so you shouldn't have too much trouble finding everything you need. Good luck.
Sent from my KYOCERA-C6745 using Tapatalk
Click to expand...
Click to collapse
Erm can you explain it so that I will understand it? XD
I kind of understand what you mean but I am still confused here and there....
GarrusN7 said:
Erm can you explain it so that I will understand it? XD
I kind of understand what you mean but I am still confused here and there....
Click to expand...
Click to collapse
Your phone has a recovery. When you bought it, it came with the factory (or stock) recovery. Stock recoveries will only let you flash certain signed zip files and not all (for example - your ota updates). So you need to shift to a custom recovery that will let you flash any file you want. Custom recoveries are device specific. Search how to flash it in your phone. Common ones are - TWRP, cwm, philz.
Once you have your new recovery set up, you are ready to root it. All you have to do is use the recovery to flash the supersu file (i recommend chainfire). If you have twrp installed, the flashable su file is a part of it, and it will guide you.
Reboot after done, and supersu will prompt you to update your su binaries, done. you are all set. Dont forget to unlock the bootloader.
Your warranty will be void unless you revert all changes. Not at all complicated, you do it once and get the hang of it.
A short note on flashing: Flashing is replacing (or installing) certain system files. You can tweak your system in any way you like (overclocking, changing animations, installing apps or scripts, changing the os, etcetera ). Just make sure the zips you flash are compatible.
RealWelder said:
In modern Android the phone's security systems prevent rooting via one click apps unless the device is unlocked. The best/safest way to root is to flash custom recovery such as TWRP and then install SuperSU.zip from TWRP. Make sure you make a backup first just in case.
You will most likely have to unlock your bootloader before you can flash TWRP. SONY devices are usually pretty Dev friendly, so you shouldn't have too much trouble finding everything you need. Good luck.
Sent from my KYOCERA-C6745 using Tapatalk
Click to expand...
Click to collapse
dev.kasibhatla said:
Your phone has a recovery. When you bought it, it came with the factory (or stock) recovery. Stock recoveries will only let you flash certain signed zip files and not all (for example - your ota updates). So you need to shift to a custom recovery that will let you flash any file you want. Custom recoveries are device specific. Search how to flash it in your phone. Common ones are - TWRP, cwm, philz.
Once you have your new recovery set up, you are ready to root it. All you have to do is use the recovery to flash the supersu file (i recommend chainfire). If you have twrp installed, the flashable su file is a part of it, and it will guide you.
Reboot after done, and supersu will prompt you to update your su binaries, done. you are all set. Dont forget to unlock the bootloader.
Your warranty will be void unless you revert all changes. Not at all complicated, you do it once and get the hang of it.
A short note on flashing: Flashing is replacing (or installing) certain system files. You can tweak your system in any way you like (overclocking, changing animations, installing apps or scripts, changing the os, etcetera ). Just make sure the zips you flash are compatible.
Click to expand...
Click to collapse
Is chain fire part of Super Su or do you mean instead of it? And what do you mean unlock bootloader???
GarrusN7 said:
Is chain fire part of Super Su or do you mean instead of it? And what do you mean unlock bootloader???
Click to expand...
Click to collapse
Chainfire made the root strategy. There are various strategies. Supersu is by chainfire. To change your recovery from stock to custom, you need to unlock the bootloader. It protects the current system by not letting unauthorized files overwrite or execute their scripts.
Not unlocking bootloader and flashing may lead to a brick. So
download platform-tools by google. (adb)
Extract it. Say at C:\
Now install drivers for your phone
open cmd and navigate to the folder where you extracted platform tools. Follow the code.
Enable usb debugging from developer options
Code:
cd C:\platform-tools
adb devices
a device and some number should show up with an online status
Code:
adb reboot bootloader
fastboot devices
again, a device and number should show
Code:
fastboot oem unlock
fastboot reboot
if it says success,bootloader is unlocked.
download a recovery.img specific to your phone. rename it to say twrp.img and place it in the same folder as platform tools.
Code:
adb reboot bootloader
fastboot boot twrp.img
the recovery will boot. this is a temporary boot and will wipe off on a reboot. Flash your supersu zip to root.
That's all. You have a rooted phone with an unlocked bootloader.
That is the maximum anyone would describe for you. Still confused, please do some research.
Hit thanks if i helped.
dev.kasibhatla said:
Chainfire made the root strategy. There are various strategies. Supersu is by chainfire. To change your recovery from stock to custom, you need to unlock the bootloader. It protects the current system by not letting unauthorized files overwrite or execute their scripts.
Not unlocking bootloader and flashing may lead to a brick. So
download platform-tools by google. (adb)
Extract it. Say at C:\
Now install drivers for your phone
open cmd and navigate to the folder where you extracted platform tools. Follow the code.
Enable usb debugging from developer options
Code:
cd C:\platform-tools
adb devices
a device and some number should show up with an online status
Code:
adb reboot bootloader
fastboot devices
again, a device and number should show
Code:
fastboot oem unlock
fastboot reboot
if it says success,bootloader is unlocked.
download a recovery.img specific to your phone. rename it to say twrp.img and place it in the same folder as platform tools.
Code:
adb reboot bootloader
fastboot boot twrp.img
the recovery will boot. this is a temporary boot and will wipe off on a reboot. Flash your supersu zip to root.
That's all. You have a rooted phone with an unlocked bootloader.
That is the mazimum anyone would describe for you. Still confused, please do some research.
Hit thanks if i helped.
Click to expand...
Click to collapse
Thanks. Tho I am sure once I get hands on to it, I will know what to do. Can't wait to move those damned OBB Xd
Just be aware that by unlocking the bootloader you are going to lose camera quality. That's because the keys for image processing are deleted. I think it's only noticeable in low light situations, but still important to know, because once lost those keys will never come back. Therefore I'd rather recommend this rooting method:
https://forum.xda-developers.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343
fab_ben said:
Just be aware that by unlocking the bootloader you are going to lose camera quality. That's because the keys for image processing are deleted. I think it's only noticeable in low light situations, but still important to know, because once lost those keys will never come back. Therefore I'd rather recommend this rooting method:
https://forum.xda-developers.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343
Click to expand...
Click to collapse
I woundn't recommend this anymore...
Use this one from russel5 - this is for stock rom and locked bootloader - and for staying at looked bootloader...
https://forum.xda-developers.com/z3-compact/general/recovery-root-mm-575-lb-t3418714
This is an noob-save tut which uses russel5's way...
https://forum.xda-developers.com/z3-compact/general/guide-newbshow-to-291-mm-z3clocked-t3536395
fluffi444 said:
I woundn't recommend this anymore...
Use this one from russel5 - this is for stock rom and locked bootloader - and for staying at looked bootloader...
https://forum.xda-developers.com/z3-compact/general/recovery-root-mm-575-lb-t3418714
This is an noob-save tut which uses russel5's way...
https://forum.xda-developers.com/z3-compact/general/guide-newbshow-to-291-mm-z3clocked-t3536395
Click to expand...
Click to collapse
What he/she says. Sorry, I totally forgot about that method, it's much easier, thank you!
dev.kasibhatla said:
Chainfire made the root strategy. There are various strategies. Supersu is by chainfire. To change your recovery from stock to custom, you need to unlock the bootloader. It protects the current system by not letting unauthorized files overwrite or execute their scripts.
Not unlocking bootloader and flashing may lead to a brick. So
download platform-tools by google. (adb)
Extract it. Say at C:\
Now install drivers for your phone
open cmd and navigate to the folder where you extracted platform tools. Follow the code.
Enable usb debugging from developer options
Code:
cd C:\platform-tools
adb devices
a device and some number should show up with an online status
Code:
adb reboot bootloader
fastboot devices
again, a device and number should show
Code:
fastboot oem unlock
fastboot reboot
if it says success,bootloader is unlocked.
download a recovery.img specific to your phone. rename it to say twrp.img and place it in the same folder as platform tools.
Code:
adb reboot bootloader
fastboot boot twrp.img
the recovery will boot. this is a temporary boot and will wipe off on a reboot. Flash your supersu zip to root.
That's all. You have a rooted phone with an unlocked bootloader.
That is the maximum anyone would describe for you. Still confused, please do some research.
Hit thanks if i helped.
Click to expand...
Click to collapse
Well ****....my root doesn't work. I am using SuperSu and TWRP but for some reason a ram disk extraction fails and no install...is it because I have systemless version of my phone or whatever keeps popping up???? And how do I fix that crap???
dev.kasibhatla said:
Chainfire made the root strategy. There are various strategies. Supersu is by chainfire. To change your recovery from stock to custom, you need to unlock the bootloader. It protects the current system by not letting unauthorized files overwrite or execute their scripts.
Not unlocking bootloader and flashing may lead to a brick. So
download platform-tools by google. (adb)
Extract it. Say at C:\
Now install drivers for your phone
open cmd and navigate to the folder where you extracted platform tools. Follow the code.
Enable usb debugging from developer options
Code:
cd C:\platform-tools
adb devices
a device and some number should show up with an online status
Code:
adb reboot bootloader
fastboot devices
again, a device and number should show
Code:
fastboot oem unlock
fastboot reboot
if it says success,bootloader is unlocked.
download a recovery.img specific to your phone. rename it to say twrp.img and place it in the same folder as platform tools.
Code:
adb reboot bootloader
fastboot boot twrp.img
the recovery will boot. this is a temporary boot and will wipe off on a reboot. Flash your supersu zip to root.
That's all. You have a rooted phone with an unlocked bootloader.
That is the maximum anyone would describe for you. Still confused, please do some research.
Hit thanks if i helped.
Click to expand...
Click to collapse
fluffi444 said:
I woundn't recommend this anymore...
Use this one from russel5 - this is for stock rom and locked bootloader - and for staying at looked bootloader...
https://forum.xda-developers.com/z3-compact/general/recovery-root-mm-575-lb-t3418714
This is an noob-save tut which uses russel5's way...
https://forum.xda-developers.com/z3-compact/general/guide-newbshow-to-291-mm-z3clocked-t3536395
Click to expand...
Click to collapse
I unlocked the boot loader the official way (Sony guide and ****). I didn't want to brick my phone accidently.
GarrusN7 said:
I unlocked the boot loader the official way (Sony guide and ****). I didn't want to brick my phone accidently.
Click to expand...
Click to collapse
You wouldn't have bricked your phone
If you followed instructions on their site and contacted them, like unlocking htc bootloader, congratulations, your warranty is officially void.
If you didn't contact them in any wau or uploaded your phone's mac/imei, if you re lock, warranty valid again.
dev.kasibhatla said:
You wouldn't have bricked your phone
If you followed instructions on their site and contacted them, like unlocking htc bootloader, congratulations, your warranty is officially void.
If you didn't contact them in any wau or uploaded your phone's mac/imei, if you re lock, warranty valid again.
Click to expand...
Click to collapse
At least I did this the safe way. Oh well, I never send my phones for repairs as the repairs are always overpriced, my dad fixes everything himself if actually fixable XD.
But my root issue still remains!
GarrusN7 said:
At least I did this the safe way. Oh well, I never send my phones for repairs as the repairs are always overpriced, my dad fixes everything himself if actually fixable XD.
But my root issue still remains!
Click to expand...
Click to collapse
Here's a link from another post. Follow it and check. It should work.
(you've already performed a few of those steps)
link

Empty Nexus 6

Hi everyone. I have a rooted unlocked Nexus 6 with no recovery and (obv) no Android on it. Basically its just an emply mobile phone shell. I know there is plenty life left in it so I would like to make it work again. Either flash TWRP or the Stock recovery I dont mind as long as I can use it again. Im kinda stuck, very inexperienced with all this. Can any one point me with the right direction please? I understand I can only use it with terminal since there is absolutely nothing in the phone.
Anyone please?
If you know how to install TWRP then you can copy any Nexus 6 custom ROM to the device and flash it - with Gapps Pico Arm (not Arm64) if you want Google services.
If it's "empty" how do you know it's rooted?
This phone usually only becomes empty if there is serious problems with the storage - if that is the case, it's unlikely to be fixable. How did it happen?
But if the storage is still OK, and the phone really is unlocked, you can download a stock rom from Google, and flash it using fastboot:
1) install fastboot on your computer
2) start the phone in bootloader mode
3) run the batch file included with the download
(Or do it like dahawthorne said to get a custom rom - provided that the radio-partition still has its contents intact).

Categories

Resources