How to restore nexus one to original rom - Android Software Development

Hi can someone please help with this, i am completely new to this. I have read about it but had no luck in restoring my handset.

Did you unlock the bootloader? or is there phone not rebooting right?

yes i have unlocked the bootloader, i have a custom firmware on the device

gurvinder76 said:
yes i have unlocked the bootloader, i have a custom firmware on the device
Click to expand...
Click to collapse
If I read posts from Cyanogen correctly, there should be a nandroid of the original stock firmware of the Nexus One (there is no one's info in this backup)
Just put the folder in the root and run a nandroid restore

Related

How can I just root and not unlock

Is it possible to just root my phone?
if so how do i do it?
All the posts I have seen go into unlocking and then rooting
gjjh25 said:
Is it possible to just root my phone?
if so how do i do it?
All the posts I have seen go into unlocking and then rooting
Click to expand...
Click to collapse
you will need to unlock to flash custom zip, but u can relock after
gjjh25 said:
Is it possible to just root my phone?
if so how do i do it?
All the posts I have seen go into unlocking and then rooting
Click to expand...
Click to collapse
Question - why? What do you want to root your phone for if not to use the wonderful tools of root. Why do you think fully rooting your phone will harm something. Locked or unlocked bootloader is not going to affect your phone. Rooted stock rom with recovery will not make it act funny.... Sorry not putting you out there but just asking why? Feel free to ignore me if you must...
Edit: Sorry to answer your question like the post above said you can root and then lock it right back up if that is your preference
playya said:
Question - why? What do you want to root your phone for if not to use the wonderful tools of root. Why do you think fully rooting your phone will harm something. Locked or unlocked bootloader is not going to affect your phone. Rooted stock rom with recovery will not make it act funny.... Sorry not putting you out there but just asking why? Feel free to ignore me if you must...
Edit: Sorry to answer your question like the post above said you can root and then lock it right back up if that is your preference
Click to expand...
Click to collapse
I have come from an HTC Desire, which I rooted and had a custom rom (Cyganonmod) on and was very happy with it.
I am still not sure of what I would gain by doing the same with my Nexus 4 ?
any advice is much appreciated.
Is this new Cyganonmod installer the best way to go?
gjjh25 said:
I have come from an HTC Desire, which I rooted and had a custom rom (Cyganonmod) on and was very happy with it.
I am still not sure of what I would gain by doing the same with my Nexus 4 ?
any advice is much appreciated.
Is this new Cyganonmod installer the best way to go?
Click to expand...
Click to collapse
This phone is built for rooting and modding. You wont know what benefit you have until you either read up and see if the mods are ones you want or actually flash a rom. Sure try the CM installer but if you dont toolkits or just basic knowledge of android can get this phone roooted in minutes.
the CM rom on your HTC will give you the same benefits on your Nexus 4
playya said:
This phone is built for rooting and modding. You wont know what benefit you have until you either read up and see if the mods are ones you want or actually flash a rom. Sure try the CM installer but if you dont toolkits or just basic knowledge of android can get this phone roooted in minutes.
the CM rom on your HTC will give you the same benefits on your Nexus 4
Click to expand...
Click to collapse
Thanks, what do you recommend for the easiest way to unlock and root then?
gjjh25 said:
Thanks, what do you recommend for the easiest way to unlock and root then?
Click to expand...
Click to collapse
I used a toolkit but honestly you can unlock manually by just booting into bootloader mode. Go into development and try Wugs Toolkit.... Rooting the phone is easy and all methods are relatively the same.
I do not see anything wrong with giving CM a try as well
gjjh25 said:
Is it possible to just root my phone?
if so how do i do it?
All the posts I have seen go into unlocking and then rooting
Click to expand...
Click to collapse
I recommend you to stick to your original plan, its your phone, do what you like, you don't need to flash custom roms if you don't want to. I am using stock kernel and stock KitKat right now and the performance is excellent.
Follow these instructions to unlock bootloader, install latest kitkat factory image, install custom TWRP recovery, and root. http://forum.xda-developers.com/showthread.php?t=2010312
The links to fastboot package and driver required is in my signature.
Link to download factory image: https://developers.google.com/android/nexus/images
Link for latest TWRP: TWRP recovery
Link for latest SuperSU package: SuperSU package
After you do all that, in bootloader menu, you can flash back the stock recovery (recovery.img), which is location in the "image-occam-******.zip" of the factory image. (fastboot flash recovery recovery.img)
Then lock your bootloader by "fastboot oem lock". You can also use BootUnlocker to lock and unlock your bootloader on the fly while in the phone, without losing your data, since everytime you do fastboot oem unlock, it will wipe the entire device.
By using stock rom, stock recovery, stock kernel and temporarily unroot (SuperSU) or hide root (SuperSU paid version), it allows you to receive future OTA updates from Google. If you want to modify your phones more while staying with stock, read up on Xposed Framework and its module Gravity Box, which is not yet compatible with Android 4.4 but will be eventually.
Just remember if you don't have custom recovery, once something goes wrong and your phone can't boot, its very hard to save the data inside. Once you have custom recovery like TWRP, you can make a backup of your stock image (which also backup your stock kernel) and try out other custom roms and easily go back to stock, then you can flash stock recovery again to receive OTA updates.
Thanks for advice everyone.
I rooted and unlocked with Wugfresh over the weekend. A lot easier than I thought it would be

Nexus 4 update help

I have data on the device and tried the OTA 4.4.2 update which failed to complete. I was getting boots loops.
Is there any way I can keep the data and update it to 4.4.2 myself manually.
Many thanks
Are you able to make a nandroid backup before trying other methods to flash 4.4?
audit13 said:
Are you able to make a nandroid backup before trying other methods to flash 4.4?
Click to expand...
Click to collapse
Cheers for the assistance, I'm not rooted and the bootloader is locked so not sure, any ideas on what I can do?
Thanks
If you want to install a custom rom, unlocking the bootloader will reset the phone so don't do that yet.
You can try this to unlock the bootloader and install a custom recovery. Once the custom recovery is installed, you can create a nandroid backup.
http://forum.xda-developers.com/showpost.php?p=41291371&postcount=28

[Q] File recovery From Bootloop'ed Nexus 4

Hi,
I Need help .
I have nexus 4 with stock ROM and stock recovery.
Two days after OTA update to Lollipop, the phone got stuck on boot-loop.
The problem is that on the phone i have a very important voice recording of a cop that says he will lie in court.
The court time is coming and i need that recording!
Everywhere i looked, no one has an idea how to recover a boot-loop'ed phone.
The 2 options that people recommended are:
1. RE-Flash the ROM.
Maybe it wont delete the files.
2. Wipe everything and hope that the file is recoverable with one of the software's.
A. What do you recommend?
B. Did someone try any of the recovering software's with any luck of actually recovering?
Your bootloader is locked, correct?
ashyossi said:
Hi,
I Need help .
I have nexus 4 with stock ROM and stock recovery.
Two days after OTA update to Lollipop, the phone got stuck on boot-loop.
The problem is that on the phone i have a very important voice recording of a cop that says he will lie in court.
The court time is coming and i need that recording!
Everywhere i looked, no one has an idea how to recover a boot-loop'ed phone.
The 2 options that people recommended are:
1. RE-Flash the ROM.
Maybe it wont delete the files.
2. Wipe everything and hope that the file is recoverable with one of the software's.
A. What do you recommend?
B. Did someone try any of the recovering software's with any luck of actually recovering?
Click to expand...
Click to collapse
If your bootloader is unlocked you can try flashing TWRP recovery which has a built in file manager and mtp function to copy files to computer. You can also try to "dirty flash" another lollipop rom which will not wipe the data, but may not work.
Yeah, this is the only option, however, this can only happen if his bootloader is unlocked
lolcakes203 said:
Yeah, this is the only option, however, this can only happen if his bootloader is unlocked
Click to expand...
Click to collapse
unfortunately, the bootloader is locked.
what are the chances that "Dirty Flash" wont delete the files?
and what rom should i flash? the same build or maybe try to flash kitkat insted...?
ashyossi said:
unfortunately, the bootloader is locked.
what are the chances that "Dirty Flash" wont delete the files?
and what rom should i flash? the same build or maybe try to flash kitkat insted...?
Click to expand...
Click to collapse
Unfortunately, as far as I know you can't flash any Rom's while your bootloader is locked. You need either fastboot or a custom recovery to flash a custom ROM and both need an unlocked bootloader.
theminikiller said:
Unfortunately, as far as I know you can't flash any Rom's while your bootloader is locked. You need either fastboot or a custom recovery to flash a custom ROM and both need an unlocked bootloader.
Click to expand...
Click to collapse
and flushing the same STOCK rom that i got as OTA should work or does it only work with custom ROM's?
i've looked again.
seems that the bootloader is unlocked!
so, should i flash a TWRP recovery?
ashyossi said:
i've looked again.
seems that the bootloader is unlocked!
so, should i flash a TWRP recovery?
Click to expand...
Click to collapse
Yes, after you've flashed twrp you should be able to access your files from a computer if you're booted in recovery.
soooooo.....
i flashed the TWRP Recovery.
very easy. no errors.
and it shows as the storage is completely empty! as if someone in all this time wiped everything...
so now, what recovery software do you know/used/heard of?
ashyossi said:
soooooo.....
i flashed the TWRP Recovery.
very easy. no errors.
and it shows as the storage is completely empty! as if someone in all this time wiped everything...
so now, what recovery software do you know/used/heard of?
Click to expand...
Click to collapse
When the storage is completely empty, are you booted in recovery, the bootloader or just trying to boot normally? When you say it's empty, do you actually see the device on your computer? If so, is it completely empty with no folders or files or anything, or just stock stuff?
Can you check mount and make sure all the storage volumes are mounted? It's usually blank when they are all manually unmounted.

questions I have about updating and the bootloader lock image

Hello everyone. I have some questions. First, to install an ota do we have to lock our bootloaders fully to install the update or do we need to restore a completely stock backup with the stock boot/recovery and does anyone know if the bl lock img we backed up in the unofficial unlock method is device specific because my computer crashed and I lost the file before I could back it up to my Google Drive.
If you are just interested in the latest build B29 and have TWRP installed then http://forum.xda-developers.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484
Will get you there I think.
I'm not sure what you are after but that thread saved me from a sticky situation.
daveyian said:
If you are just interested in the latest build B29 and have TWRP installed then http://forum.xda-developers.com/axon-7/development/rom-guide-updates-to-stock-files-via-t3469484
Will get you there I think.
I'm not sure what you are after but that thread saved me from a sticky situation.
Click to expand...
Click to collapse
I'm sorry, I completely forgot about the fact that you responded. The file I'm looking for is the bootloader lock img that you get with the unofficial unlock method that tells your phone it was never unlocked.

OnePlus 5 Bricked. NEED FULL NANDROID STOCK Recovery

Hi
Does anyone have a full NANDROID Original Stock of a OnePlus 5? And will a full backup restore help lock the bootloader or needs to be in Manual Mode?
My phone was bought in UK. It's Stock Recovery and Oxygen OS 4.5.3 but can't flash the bootloader to oem LOCK.
Due to warranty issues since i'm giving my phone member i need to re-stock it.
Please Help.
How did you brick it? Can you get into fastboot? Can you get into recovery?
r1card0amr said:
Hi
Does anyone have a full NANDROID Original Stock of a OnePlus 5? And will a full backup restore help lock the bootloader or needs to be in Manual Mode?
My phone was bought in UK. It's Stock Recovery and Oxygen OS 4.5.3 but can't flash the bootloader to oem LOCK.
Due to warranty issues since i'm giving my phone member i need to re-stock it.
Please Help.
Click to expand...
Click to collapse
Unlocking the bootloader does not void your warranty with OnePlus phones.
Also, even if anyone had a nandroid backup at the moment, restoring /data using TWRP will cause bootloops. As long as you can get into fastboot/bootloader mode, you can safely flash stock recovery and then flash the full stock ZIP provided by OnePlus.
MrKhozam said:
Unlocking the bootloader does not void your warranty with OnePlus phones.
Also, even if anyone had a nandroid backup at the moment, restoring /data using TWRP will cause bootloops. As long as you can get into fastboot/bootloader mode, you can safely flash stock recovery and then flash the full stock ZIP provided by OnePlus.
Click to expand...
Click to collapse
Why does restoring data gives you bootloops?
I have this problem now and canĀ“t figure out why does restoring nandroid wont work
Download the full original firmware from oneplus site, flash via adb, it will works don't worry

Categories

Resources