Can I flash CWM on Non-Rooted Nexus, but Unlocked Bootloader? - Samsung Galaxy Nexus

Hey.
Title says all.
Or should I just boot into recovery without flashing when I need to do it on the toolkit?
Also, for flashing kernels do they require root?
Thanks!

Cwm can be flashed on non-rooted as long ad its unlocked.
Sent from my Galaxy Nexus

ok thanks man and do you know if kernels require root? To install?
edit: Tried to flash CWM and it said "an error occurred while attempting to run privileged commands!" Looks like it requires su.

Without root, you'll have to do it via fastboot. Go to clockworkmod site and download the one for your phone, your call as for touch version or not. Place it in the same directory as fastboot, then "fastboot flash recovery <filename>".

Alright thanks Johan. Do you know if flashing kernels requires root?

No, but you'll have to go into CWM (or use fastboot) to flash one, meaning you can't just use rom manager or other apps that install stuff.

Alright, thanks.

Root is only require inside the os. Everything else can be done with just unlocking.
Sent from my Galaxy Nexus

Related

[Q] GNex on Stock ICS 4.03; can't root or flash

Hey guys i bought a GNex off a Google employee and the phone came stock with 4.03. I've already unlocked the bootloader but can't get the phone rooted or flash with a different rom. I've even tried to upgrade to 4.04 that was just released but it will not let me upgrade.
Is there a way i can flash to 4.02? any help will be greatly appreciated
maluthug said:
Hey guys i bought a GNex off a Google employee and the phone came stock with 4.03. I've already unlocked the bootloader but can't get the phone rooted or flash with a different rom. I've even tried to upgrade to 4.04 that was just released but it will not let me upgrade.
Is there a way i can flash to 4.02? any help will be greatly appreciated
Click to expand...
Click to collapse
Have you rooted and installed CWM Recovery?
cannot root the phone, i've tried and phone just hangs
Have you downloaded the gnex toolkit in the development thread and tried that?
Sent from my Galaxy Nexus using xda premium
tried the wugfresh and the gnex toolkit 5.2; wont let me root 4.03
Have you installed a custom recovery?
which custom recovery? cwm recovery will not work without root access correct?
you can not have cwm recovery without root. do u have a GSM or LTE GN?
LTE version
I cant seem to find a way to root 4.0.3
maluthug said:
which custom recovery? cwm recovery will not work without root access correct?
Click to expand...
Click to collapse
Incorrect.
Root access gives you write access to the OS, which is separate from recovery. The standard root method for a Nexus device is to remove security from the bootloader, which then allows you to install non-signed images. You then install a custom recovery image. The custom recovery allows you to flash non-signed OS changes, which means you can flash the su binary and busybox (giving you root)...
You need to use fastboot to flash cwm, then you can install su and busybox...
ok gotcha, i was under the stupid assumption that i needed to gain root access to install a custom recovery. im going to give it a shot and see what happens
If you want to install recovery from the OS, then you would need an insecure/rooted OS. If you want to install recovery from the bootloader, then you would need an insecure/unlocked bootloader...
danger-rat said:
If you want to install recovery from the OS, then you would need an insecure/rooted OS. If you want to install recovery from the bootloader, then you would need an insecure/unlocked bootloader...
Click to expand...
Click to collapse
thanks so much, got recovery on there and updated the phone and rooted it as well. appreciate the help
Same here
Same thing happened to me. I installed the Gnex toolkit and unlocked the bootloader. Then I tried to root the phone: It restarted and I turned on USB debugging as it said and nothing happened.
So you're saying that I can skip the rooting and "Rename Recovery Restore File" before I "Flash CWM Recovery". After that I can try rooting through Gnex Toolkit 5.2?

[Q] Nexus Factory image, can I flash it like a ROM?

So the Verizon 4.0.4 Factory Image was just published by Google, so I downloaded it to my phone for safe keeping. I'm just curious, if I install a custom ROM and I want to go back to stock ICS can I just flash this file like a ROM? Also will I loose root if I do that?
This is what I'm talking about.
Yes you loose root and custom recovery.
CM9 kang powered by TRINITY
actually, no... you have to flash it using fastboot commands, flashing image by image:
fastboot flash bootloader bootloaderxxxxx.img
fastboot flash system systemxxxx.img
fastboot flash recovery recoveryxxx.img
etc, etc, etc...
your phone will be exactly like never touched, that means of course, stock with no root or custom recovery.
barbac666 said:
Yes you loose root and custom recovery.
CM9 kang powered by TRINITY
Click to expand...
Click to collapse
thiagodark said:
actually, no... you have to flash it using fastboot commands, flashing image by image:
fastboot flash bootloader bootloaderxxxxx.img
fastboot flash system systemxxxx.img
fastboot flash recovery recoveryxxx.img
etc, etc, etc...
your phone will be exactly like never touched, that means of course, stock with no root or custom recovery.
Click to expand...
Click to collapse
Thank you, so when I rooted my phone it created a recovery image, and that's what I would want to use to go back to "stock + keeping root"
Right?
Yes make a nandroid backup in CWM , and if you want to go back restore this.
In CWM go to backup and restore.
CM9 kang powered by TRINITY
Big Cam said:
Thank you, so when I rooted my phone it created a recovery image, and that's what I would want to use to go back to "stock + keeping root"
Right?
Click to expand...
Click to collapse
don't understand exactly what you mean... the thing is:
"root" means that you have access to root files/partitions, that is it, but the usual way to get root is: unlock bootloader, flash custom recovery using fastboot, flash root file.
now you have a "stock" phone with root access and custom recovery (usually custom recovery is replaced by stock one in the first reboot) and you end with a stock phone + root! that is exactly what you want!
as barbac666 said, you should make a nandroid backup as soon as you flash your custom recovery, even before root it!
why don't you use the tool kit available in dev section?
It's alot easier if you use the Nexus tool kit v7, It makes it alot easier by placing the image file in the specific folder and just tapping a key. Then again it's best to keep a placed copy elsewhere as the image tends to get wiped/deleted after flashing (to avoid conflict with other image files).
thiagodark said:
don't understand exactly what you mean... the thing is:
"root" means that you have access to root files/partitions, that is it, but the usual way to get root is: unlock bootloader, flash custom recovery using fastboot, flash root file.
now you have a "stock" phone with root access and custom recovery (usually custom recovery is replaced by stock one in the first reboot) and you end with a stock phone + root! that is exactly what you want!
as barbac666 said, you should make a nandroid backup as soon as you flash your custom recovery, even before root it!
why don't you use the tool kit available in dev section?
Click to expand...
Click to collapse
I think I got it. I think I slightly misunderstood the true meaning of root.
All I've done so far is unlock the bootloader and flashed the recovery that was instructed in this thread. So the recovery image I flashed there, replaced my "stock" one, but after doing a reboot, the stock recovery replaced my custom one? So I'm now stock with an unlocked bootloader and root?
As for the toolkit, I'm going to look into it, I was just looking to root, and followed the guide I found.
thiagodark said:
don't understand exactly what you mean... the thing is:
"root" means that you have access to root files/partitions, that is it, but the usual way to get root is: unlock bootloader, flash custom recovery using fastboot, flash root file.
now you have a "stock" phone with root access and custom recovery (usually custom recovery is replaced by stock one in the first reboot) and you end with a stock phone + root! that is exactly what you want!
as barbac666 said, you should make a nandroid backup as soon as you flash your custom recovery, even before root it!
why don't you use the tool kit available in dev section?
Click to expand...
Click to collapse
You dont need to flash cwm to get it running. If its only needed to flash su/superuser.apk, you may 'fastboot boot cwm.img', it will take you to cwm.
Misledz said:
It's alot easier if you use the Nexus tool kit v7, It makes it alot easier by placing the image file in the specific folder and just tapping a key. Then again it's best to keep a placed copy elsewhere as the image tends to get wiped/deleted after flashing (to avoid conflict with other image files).
Click to expand...
Click to collapse
Why doesnt he use the toolkit? Because it's better for them if people learn how to do this manually. Scripts are helpful, but dont teach you anything.
Sent from my i9250
bk201doesntexist said:
Why doesnt he use the toolkit? Because it's better for them if people learn how to do this manually. Scripts are helpful, but dont teach you anything.
Sent from my i9250
Click to expand...
Click to collapse
That's exactly why I wanted to do it like that.
On my LG Revolution there was pretty much only one root method and it was a one click, so I've never rooted manually. I'm happy I did.
I have Rom ToolBox Pro that I bought when I had my Revolution so I have access to boot to recovery and manage ROM's. I was just curious about the Google image file.
So at this point, is there really a reason for the Toolbox? Since I'm rooted already, I can do backups from CWM Recovery as well as flashing ROM's and Kernals. I've only ever done this from CWM on the phone so I'm used to doing it on the phone. I read most of the thread and it seams most helpful in the rooting/unlocking process.

[Q] GNex TOOLKIT V7 Drivers, Backup, Unlock, Root, CWM, Flash, Mods + MUCH MORE [GSM

Gnex Toolkit option 10 = Boot into custom recovery without permanently flashing it. I understand that this means that the stock recovery won't be overwritten. Does it therefore mean that you can use a custom recovery to flash zip files from sd partition without using/losing stock recovery?
NB Why can't I ask this question at the gnex toolkit thread? I don't appear to be allowed to join in.
optom2000 said:
Gnex Toolkit option 10 = Boot into custom recovery without permanently flashing it. I understand that this means that the stock recovery won't be overwritten. Does it therefore mean that you can use a custom recovery to flash zip files from sd partition without using/losing stock recovery?
NB Why can't I ask this question at the gnex toolkit thread? I don't appear to be allowed to join in.
Click to expand...
Click to collapse
Yep, it means exactly that. You could do the same using the fastboot command fastboot boot <recovery-name>.img if you decide to ever learn to use fastboot and ADB (which you should ).
Unlawful said:
Yep, it means exactly that. You could do the same using the fastboot command fastboot boot <recovery-name>.img if you decide to ever learn to use fastboot and ADB (which you should ).
Click to expand...
Click to collapse
@Unlawful. Thank you very much for your extremely prompt reply. Perhaps you would be kind enough to indulge me further. The reason I asked the question is that I am currently rooted and using a custom rom (Gummy) but fancy some JellyBean. I understand that I need to flash stock rom 4.0.4 and then flash stock recovery in order to get OTA update (btw do I need to do a system wipe before flashing the stock rom as you do before you flash a custom rom or is is ok just to flash stock without a separate manual wipe?), reboot and see if I get the OTA update immediately. If so I can just go ahead and update. If not I have the OTA update as a flashable zip file I obtained elsewhere in XDA. Hence if I have a stock recovery installed but can use a custom recovery (CWM Touch) I can flash the update as zip using CWM and then re-root and re-flash CWM permanently, all of this being done by the toolkit. Is my thinking correct?

[Q] Getting broken andy trying to root on linux

Hello all,
I'm still a beginner with rooting but just picked up a gnex as a replacement due to breaking my other phone. Anyway I really only have access to a linux machine right (ubuntu 12.10) and am having some trouble rooting it. I'm using this toolkit found here:
http://forum.xda-developers.com/showthread.php?t=1848036
and it worked fine for unlocking the bootloader. Now trying to root it copies over su.zip find but when the gnex tries to reboot it just goes to the broken andy screen after showing the google splash image as well as the unlock symbol. Not sure what to do next... Sorry if this is a dumb question just want to get root access so I can flash a 4.2.1 rom. I'm currently on Verizon with their 4.1.4 version.
Thanks
you dont have a custom recovery to flash the su.zip...
Zepius said:
you dont have a custom recovery to flash the su.zip...
Click to expand...
Click to collapse
That makes sense. So do I flash the ClockworkMod Recovery first? I tried that and then the root and it still failed.
you need to flash cwm, then boot into cwm and flash su.zip.

A few qiestions about rooting

Hello everyone, im really mew to rooting.
I have the T Mob M8 with 5.0.1, i was planning on rooting but will I be able to update nprmally wjen 5.1 comes out? If so how?
Also whats tje easiest method to root this phone? Ive seen apks like framaroot that root the phone extremely quick and easy...is there something similar for this phone?
Thanks in advance
Sent from my HTC One_M8 using XDA Free mobile app
Root by unlocking the bootloader via HTCDev.com and then just install custom recovery and flash current (2.56) SuperSU zip.
One click root solutions won't work with a locked bootloader. Unlocking the bootloader is really the key.
Once rooted, you can OTA. But you need to have stock ROM (nothing altered in /system partition) and you need to re-install stock recovery. Root is okay (although you will likely lose root) and unlocked bootloader is okay to OTA. To root again after an OTA, just install custom recovery and flash SuperSU again.
Thanks a lot. I will unlock the bootloader and can you link me to a good tutorial or guide on how to install custom recovery and supersu?
Thanks again
Sent from my HTC One_M8 using XDA Free mobile app
Red_Gh0st said:
Thanks a lot. I will unlock the bootloader and can you link me to a good tutorial or guide on how to install custom recovery and supersu?
Click to expand...
Click to collapse
The following guide is a pretty good one: http://forum.xda-developers.com/showthread.php?t=2799796
Although some links are outdated:
1) Installing HTCSync should be fine to get the HTC drivers on your computer; or you can search XDA for more recent HTC drivers. The HTC drivers linked in the guide are really old.
2) Get the latest SuperSU zip here: http://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
3) And if you need an easy adb/fastboot installer, just use the XDA seach function with the phrase "simple adb" and you will get a few results for beginner adb guides and installers.
4) Get the latest version of TWRP here: http://techerrata.com/browse/twrp2/m8
redpoint73 said:
The following guide is a pretty good one: http://forum.xda-developers.com/showthread.php?t=2799796
Although some links are outdated:
1) Installing HTCSync should be fine to get the HTC drivers on your computer; or you can search XDA for more recent HTC drivers. The HTC drivers linked in the guide are really old.
2) Get the latest SuperSU zip here: http://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
3) And if you need an easy adb/fastboot installer, just use the XDA seach function with the phrase "simple adb" and you will get a few results for beginner adb guides and installers.
4) Get the latest version of TWRP here: http://techerrata.com/browse/twrp2/m8
Click to expand...
Click to collapse
hello I saw your post Im planning also to root my m8 but I dont want to flash the custom recovery someone told me it is possible
just download the custom recovery
then type "fastboot boot recovery.img" = this will boot my m8 to custom recovery but not flash so I can flash the supersu in that custom recovery then reboot after that stock recovery is still intact
imfuzzyyy said:
hello I saw your post Im planning also to root my m8 but I dont want to flash the custom recovery someone told me it is possible
just download the custom recovery
then type "fastboot boot recovery.img" = this will boot my m8 to custom recovery but not flash so I can flash the supersu in that custom recovery then reboot after that stock recovery is still intact
Click to expand...
Click to collapse
That's true, you can boot TWRP remotely with fastboot, without actually flashing it (installing to the phone).
Although its slightly irrelevant; you can always flash back to stock recovery back to the phone (over-write TWRP). You can either find your stock recovery posted in the collection; or back it up your self using the fastboot TWRP trick (fastboot boot TWRP, and use TWRP to backup stock recovery). In that instance, the fastboot boot TWRP trick is very useful.
Having TWRP installed after root is very useful. Reason being, it gives you a lot more recovery options if things go south. And also, for a lot of mods done under root, you will want to backup your stock setup anyway (just in case the mod goes wrong, and you need to revert). Stock recovery is close to useless for anything but installing OTA updates.
redpoint73 said:
That's true, you can boot TWRP remotely with fastboot, without actually flashing it (installing to the phone).
Although its slightly irrelevant; you can always flash back to stock recovery back to the phone (over-write TWRP). You can either find your stock recovery posted in the collection; or back it up your self using the fastboot TWRP trick (fastboot boot TWRP, and use TWRP to backup stock recovery). In that instance, the fastboot boot TWRP trick is very useful.
Having TWRP installed after root is very useful. Reason being, it gives you a lot more recovery options if things go south. And also, for a lot of mods done under root, you will want to backup your stock setup anyway (just in case the mod goes wrong, and you need to revert). Stock recovery is close to useless for anything but installing OTA updates.
Click to expand...
Click to collapse
woah didnt know that I can back up the stock recovery by fastboot boot in TWRP BTW if I'm using this phone I will probably use a TWRP but its my gf who uses it so she just need the root access for xmod app because she is an coc adik haha and she doesnt know about modding its system, thanks for this wonderful information
---------- Post added at 01:33 AM ---------- Previous post was at 01:13 AM ----------
hello I need your help this m8 is previously rooted have supersu installed then take OTA before now it is not rooted but the supersu still intact on my apps, I fastboot boot twrp.img then went smoothly flash the supersu.zip but Im still unrooted any suggestion? it say on root checker the root access is not properly installed
update: sorry got root now I flashed the 1.94.zip which is very outdated didnt notice it flashed the latest 2.46.zip now its rooted thank you so much!
Hello I finally started downloading everything to get started. I start the process to unlock the bootloader but when i get to the part i need to type "fastoboom oem....." On cmd I get an error saying Adbwinapi.dll is missing try reinstalling the program.
What can I do to fix this?
Sent from my HTC One_M8 using XDA Free mobile app
Red_Gh0st said:
On cmd I get an error saying Adbwinapi.dll is missing try reinstalling the program.
Click to expand...
Click to collapse
Is HTC Sync installed? If so, re-install it.
Reinstalled but it still says tht file is missing from my conputer
Sent from my HTC One_M8 using XDA Free mobile app
Red_Gh0st said:
Reinstalled but it still says tht file is missing from my conputer
Click to expand...
Click to collapse
Try a different adb installer.
Thanks a lot I unlocked my bootloader and rooted my phone

Categories

Resources