Hi,
is it possible to unroot the phone and relock the bootloader using the phone only without a PC?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If I do a wipe data/factory reset from the recovery mode, do I unroot the phone?
And what about the bootloader lock?
Thanks.
If yours on the stock ROM, a factory reset should unroot you.
As for the Boot loader, you need PC...
Sent from my Galaxy Nexus using xda app-developers app
jimmyco2008 said:
If yours on the stock ROM, a factory reset should unroot you.
As for the Boot loader, you need PC...
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
no and no
1) factory reset will not remove root as it is a system app and has a system binary to go with it. you need to remove it with a file manager that can mount /system as r/w.
2) there's a way to relock the bootloader by changing a file. this app does this for you: https://play.google.com/store/apps/details?id=net.segv11.bootunlocker
Zepius said:
no and no
1) factory reset will not remove root as it is a system app and has a system binary to go with it. you need to remove it with a file manager that can mount /system as r/w.
2) there's a way to relock the bootloader by changing a file. this app does this for you: https://play.google.com/store/apps/details?id=net.segv11.bootunlocker
Click to expand...
Click to collapse
correct me if I'm wrong...
I can unroot and relock the phone via device without PC...
I install the bootunlocker app, I lock the bootloader, than I start a file manager as root, I remove the app that root my phone "superuser",
reboot the phone, I have a locked unrooted phone.
Am I wrong?
sblantipodi said:
correct me if I'm wrong...
I can unroot and relock the phone via device without PC...
I install the bootunlocker app, I lock the bootloader, than I start a file manager as root, I remove the app that root my phone "superuser",
reboot the phone, I have a locked unrooted phone.
Am I wrong?
Click to expand...
Click to collapse
that will work.
the no and no was to the person above me.
if you do the steps you just mentioned in that order, it will be a locked unrooted phone. however, if you modified any system files or installed busybox, you will not be stock.
Zepius said:
that will work.
the no and no was to the person above me.
if you do the steps you just mentioned in that order, it will be a locked unrooted phone. however, if you modified any system files or installed busybox, you will not be stock.
Click to expand...
Click to collapse
thanks.
Just to add, if you are running a custom ROM, you can use mobile Odin to flash stock, just remember to lock the bootloader before hand using the app mentioned above.
If he's on stock ROM, a factory reset will break root. If he's using a custom recovery, he's fine.
And from the looks of it, he's on the stock recovery.
Sent from my Galaxy Nexus using xda app-developers app
Related
This is a guide on how to get ClockWorkMod onto your stock 4.0.2 and 4.0.3 LTE Galaxy Nexus through Rom Manager
If your having problems booting into Recovery from ROM Manager go to bottom.
Screen turning off while in Recovery? Read herehttp://forum.xda-developers.com/showpost.php?p=20467448&postcount=206
Go to market, search "Clockworkmod"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Install Rom Manager*
Open up Rom Manager and select "Flash ClockworkMod Recovery"
A pop-up will come up called "Confirm Phone Model," of course choose "Google Galaxy Nexus CDMA"
Then you should hopefully get this (if not scroll down to bottom)
Now let it install etc, then with a File Manager** with SU access, Go to system, click "Mount R/W"(if using Root Explorer) and then scroll down until you see "recovery-from-boot.p" and rename it to "recovery-from-boot.p.bak"
Close out off your File Manager and go to Rom Manager and select "Reboot into Recovery"
There you go
You should be able to boot into CWM
* Free version works
**I used Root Explorer
If you got
That means either A) your not rooted or B) you didn't click 'Allow' when ROM Manager requested root privileges.
If your not rooted, then root. If you are rooted, then go to SuperUser and clear the permissions for ROM Manager
PROBLEMS BOOTING INTO RECOVERY FROM ROM MANAGER
To fix your problem just hit flash clockwork recovery again from Rom manager. Then just boot into the bootloader by turning off your phone and holding vol up+down and power button...then hit the vol down button once or twice till you see recovery mode and hit the power button. Iv noticed that sometimes reboot into recovery from rom manager doesnt seem to work correctly. But if your getting the android on his back...that just means you still have stock recovery and that file is overwriting clockwork still.
O and you wont have to do anything once you hit reboot recovery...or do it from the bootloader. clockwork will immediately pop up its not like stock recovery at all.
Click to expand...
Click to collapse
Great tutorial, this is how I did it and it works like a charm.
Nice write up with pics.
I'm with you all the way until it comes to locating the recovery-from-boot.p file. Checked with Root Explorer as well as Astro. Each boot removes Clockwork and requires a new flash.
Not a super big deal, but I think a lot of people could profit if we could figure out what's going on here.
wanderfowl said:
Great tutorial, this is how I did it and it works like a charm.
Click to expand...
Click to collapse
Thanks
P-bot said:
Nice write up with pics.
I'm with you all the way until it comes to locating the recovery-from-boot.p file. Checked with Root Explorer as well as Astro. Each boot removes Clockwork and requires a new flash.
Not a super big deal, but I think a lot of people could profit if we could figure out what's going on here.
Click to expand...
Click to collapse
Read the bottom of the OP and see if that helps, but your right A lot of people do seem to be having this problem(not being able to find the file). I'll try and figure something out, if not I'm sure Koush will
Can I be the jerk who points out that the title says "CMW" instead of "CWM"?
lulz
Good day.
RooftopFiddler said:
Can I be the jerk who points out that the title says "CMW" instead of "CWM"?
lulz
Good day.
Click to expand...
Click to collapse
Lmao. Your right
How to change..? lol
theboo7 said:
Lmao. Your right
How to change..? lol
Click to expand...
Click to collapse
You should be able to edit your original post, and the title while doing that.
RooftopFiddler said:
You should be able to edit your original post, and the title while doing that.
Click to expand...
Click to collapse
ahh yes, advance settings
You only have to do this once right? Not every time I wipe the partitions right?
Sent From IceCreamSandwich'd Sensation 4G
itsmikeramsay said:
You only have to do this once right? Not every time I wipe the partitions right?
Sent From IceCreamSandwich'd Sensation 4G
Click to expand...
Click to collapse
Yes as long as you don't flash another recovery
Sent from my Galaxy Nexus using XDA App
I have been facing bootloops recently. It started all of a sudden. I am able to reach CWM but i dont have a backup to restore though i have a backup copy in my computer which i am unable to copy as the device doesn't enter into adb mode. And i am not able to flash any roms as there is no rom in my virtual sd card. Any help would be appreciated. Can i somehow get into adb mode? And btw the screen kinda flickers when booting.
Edit: Found CWM supports adb mode. Will revert back soon.
Edit2: I think i lost CWM too. Now just bootloops.Pls help.
Edit3: I get CWM sometimes and sometimes not. Not able to push backup through Gnex Toolkit.
Not sure, but can you push factory IMG through the toolkit and see if you can get your backup from there?
Sent from my Galaxy Nexus using xda app-developers app
mabast said:
Not sure, but can you push factory IMG through the toolkit and see if you can get your backup from there?
Click to expand...
Click to collapse
I am not able to flash the google factory image through the toolkit.. I can error as too many links
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
sdhanush1 said:
I am not able to flash the google factory image through the toolkit.. I can error as too many links
Click to expand...
Click to collapse
looks like the tar you downloaded does not contain those files
k786 said:
looks like the tar you downloaded does not contain those files
Click to expand...
Click to collapse
But thats the factory image. It has to contain those files. Why does the bootloader doesn't get written?
sdhanush1 said:
But thats the factory image. It has to contain those files. Why does the bootloader doesn't get written?
Click to expand...
Click to collapse
try flashing recovery using toolkit and then boot into recovery and flash a rom
k786 said:
try flashing recovery using toolkit and then boot into recovery and flash a rom
Click to expand...
Click to collapse
I am not able to push any rom using adb.
put on your big boy pants and do it this way: http://forum.xda-developers.com/showthread.php?t=1626895
Zepius said:
put on your big boy pants and do it this way: http://forum.xda-developers.com/showthread.php?t=1626895
Click to expand...
Click to collapse
is that gonna work if he cant use adb? dont have experience with that i always used the toolkit or adb and sometime the emulator...
k786 said:
is that gonna work if he cant use adb? dont have experience with that i always used the toolkit or adb and sometime the emulator...
Click to expand...
Click to collapse
there is no ADB being used. only fastboot.
the post tells you how to do pretty much everything the proper way.
Bad cable or something, try another cable.
And trash the toolkit.
Mach3.2 said:
Bad cable or something, try another cable.
And trash the toolkit.
Click to expand...
Click to collapse
Changed the cable. and followed the above linked thread, but the problem persists writing failed too many links..
1)Are you connecting the device directly to the PC's back usb port (the ones physically connected to the motherboard, not the ones in the front)?
2)Using a USB hub? Don't.
3)Dual boot Linux.
4)Ditch windows.
Sent from my i9250
I bought a GPE, unlocked, rooted and installed TWRP.
Then I found a dead pixel, so I started the RMA process.
Now, to be safe, I want to revert back to stock.
I would be using the files found here where the partitions are listed:
http://forum.xda-developers.com/showpost.php?p=48352057&postcount=1
I am trying to figure out how to flash the stock recovery back to the tablet. I was told I can run the following from ADB to complete the process:
Code:
adb shell
su
dd if=/sdcard/nameofrecoveryfilegoeshere.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
But, looking further, couldnt I just perform a fastboot command?
Code:
fastboot flash recovery recovery.img
Mindspin_311 said:
I bought a GPE, unlocked, rooted and installed TWRP.
Then I found a dead pixel, so I started the RMA process.
Now, to be safe, I want to revert back to stock.
I would be using the files found here where the partitions are listed:
http://forum.xda-developers.com/showpost.php?p=48352057&postcount=1
I am trying to figure out how to flash the stock recovery back to the tablet. I was told I can run the following from ADB to complete the process:
Code:
adb shell
su
dd if=/sdcard/nameofrecoveryfilegoeshere.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
But, looking further, couldnt I just perform a fastboot command?
Code:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Yes, on the GPE you can flash the recovery in fastboot.
Mixinitup4Christ said:
Yes, on the GPE you can flash the recovery in fastboot.
Click to expand...
Click to collapse
Great, seems much simpler.
Now, I need to figure out how to unroot. Any suggestions?
Mindspin_311 said:
Great, seems much simpler.
Now, I need to figure out how to unroot. Any suggestions?
Click to expand...
Click to collapse
If you are running SuperSU there should be an option in the settings menu.
Mixinitup4Christ said:
If you are running SuperSU there should be an option in the settings menu.
Click to expand...
Click to collapse
Ah, just checked SuperSU on my N5, you are correct. Thanks for the help!
Mindspin_311 said:
Ah, just checked SuperSU on my N5, you are correct. Thanks for the help!
Click to expand...
Click to collapse
Very welcome!
Unroot via SuperSU worked, and I'm pretty sure the recovery flash worked too
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Nexus 5 using Tapatalk
Mindspin_311 said:
Unroot via SuperSU worked, and I'm pretty sure the recovery flash worked too
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yup, that's it! If you tap Vol. Up a bunch of times you'll get the recovery menu!
I have a HTC M8 purchased from Dubai. It's a standard unlocked one. Yesterday I had received notification that there is a system update and I had downloaded the same. But now when I click on install I get the following error message.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have never rooted the device but now this is big surprise to me. I had given the device around a year back to a dealer here for some repair. I had found an app called SU which when I searched on google shows as a root app. I can't remove the installed app as it gives error. Please help me to resolve this issue and install the Android 6 on my phone.
I'm a pure layman on these technical items. Age isn't on my side to understand most of the technical terms
no you cannot update it because you are using custom recovery, flash the approriate stock recovery then install the update
imfuzzyyy said:
no you cannot update it because you are using custom recovery, flash the approriate stock recovery then install the update
Click to expand...
Click to collapse
Thank you. But can you be a little more specific,like how to do what you asked me to please. I have never done anything of this sort.
ok look first your stock recovery here base on your software info --> http://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
then flash it via fastboot
type fastboot flash recovery (recovery name).img <--- dont included the () just put the recovery name, maybe name it as stock.img so you can flash it like this
fastboot flash recovery stock.img
then install the OTA enjoy
Thanks a lot imfuzzyyy
imfuzzyyy said:
ok look first your stock recovery here base on your software info --> http://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
then flash it via fastboot
type fastboot flash recovery (recovery name).img <--- dont included the () just put the recovery name, maybe name it as stock.img so you can flash it like this
fastboot flash recovery stock.img
then install the OTA enjoy
Click to expand...
Click to collapse
imfuzzyyy, when I try to install the TWRP Manager, it says "Root is required for this app". I have downloaded the app from the play store. Please do let me know what to do.
Skele said:
imfuzzyyy, when I try to install the TWRP Manager, it says "Root is required for this app". I have downloaded the app from the play store. Please do let me know what to do.
Click to expand...
Click to collapse
Install TWRP by fastboot, as directed in the link given to you in the previous post.
Your bootloader is currently unlocked?
redpoint73 said:
Install TWRP by fastboot, as directed in the link given to you in the previous post.
Your bootloader is currently unlocked?
Click to expand...
Click to collapse
I have no idea redpoint. I tried using google. I'm getting this error on the cmd screen
My boot screen is as below
Please do let me know, what is the issue and what can be done to resolve it.
Skele said:
I have no idea redpoint.
My boot screen is as below
Click to expand...
Click to collapse
It says UNLOCKED highlighted in purple on the bootloaders screen. This means your bootloader is unlocked. No need to unlock it again.
TWRP should install fine. Use the fastboot method to install TWRP. TWRP Manager app is a needless middle man, and can cause issues in itself.
But you may have to re-install HTC Sync to get fastboot working (based on the error message show in your PC screenshot).
redpoint73 said:
It says UNLOCKED highlighted in purple on the bootloaders screen. This means your bootloader is unlocked. No need to unlock it again.
TWRP should install fine. Use the fastboot method to install TWRP. TWRP Manager app is a needless middle man, and can cause issues in itself.
But you may have to re-install HTC Sync to get fastboot working (based on the error message show in your PC screenshot).
Click to expand...
Click to collapse
Can you please advise which one to download from this page? http://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
Tried with a TWRP img. Got an error
Skele said:
Can you please advise which one to download from this page? http://forum.xda-developers.com/htc-one-m8/help/tutorial-how-to-stock-stock-twrp-t3086860
Click to expand...
Click to collapse
TWRP 2.8.7.0
Hi, this is my first time rooting a phone.
I was able to unlock, flash TWRP, install and root my phone with Magisk following this video from Munchy
Following that, I installed ArrowOS and wiped (Format Data) with TWRP, as per this video from Munchy again.
But then I noticed that on boot, my Magisk app stated N/A, so I assumed I had to reroot the phone again, so I followed this video but I think I flashed the wrong boot.img, and arrowOS was unable to detect Wi-Fi at all.
I then tried to use this to restore stock MIUI following this tutorial and now my phone is stuck on this screen as per my attached picture. Selecting any option here just brings me back to the same screen no matter what I try, can anyone help?
This is what MiFlash looks like as well after everything:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Platform tools:
Use the 8/13/21 version of MiFlash. I had issues with the newer versions. I zipped up the 8/13 version and uploaded it. You can download it here:
https://drive.google.com/open?id=1-...pdlf&[email protected]&usp=drive_fs
ajsmsg78 said:
Use the 8/13/21 version of MiFlash. I had issues with the newer versions. I zipped up the 8/13 version and uploaded it. You can download it here:
https://drive.google.com/open?id=1-UZgUFVCl3YBAxZBBtVYjpG2L-wOpdlf&[email protected]&usp=drive_fs
Click to expand...
Click to collapse
It says I need permission to access it, just sent in the request, any chance you're the one who can grant me permission?
aatkaw said:
It says I need permission to access it, just sent in the request, any chance you're the one who can grant me permission?
Click to expand...
Click to collapse
Sorry, fixed. You can download now. Also, in MiFlash go into Configuration and uncheck Read Back Verify if It's checked.
ajsmsg78 said:
Sorry, fixed. You can download now. Also, in MiFlash go into Configuration and uncheck Read Back Verify if It's checked.
Click to expand...
Click to collapse
I MANAGED TO FLASH IT, YOU SAVED MY PHONE DUDE THANKS!
If you don't mind, I'm trying to do the following:
-Root the Poco F3
-Flash ArrowOS
Is there a tutorial somewhere I can follow that can get me both of the above? I think I was able to root it successfully first, but flashing arrowos caused the issue of the post
You need to boot twrp in fastboot (fastboot boot twrp) then flash twrp once you're booted into twrp
ajsmsg78 said:
You need to boot twrp in fastboot (fastboot boot twrp) then flash twrp once you're booted into twrp
Click to expand...
Click to collapse
Is this the TWRP I need to flash for the Poco F3?
aatkaw said:
Is this the TWRP I need to flash for the Poco F3?
Click to expand...
Click to collapse
Flash this one. It's Orangefox recovery. Basically TWRP but better.
https://drive.google.com/open?id=1-...lZ82&[email protected]&usp=drive_fs
ajsmsg78 said:
Flash this one. It's Orangefox recovery. Basically TWRP but better.
https://drive.google.com/open?id=1-_EqlMUtJWDBJACR_V_vSu9NkCMzlZ82&[email protected]&usp=drive_fs
Click to expand...
Click to collapse
Need permissions XD
aatkaw said:
Need permissions XD
Click to expand...
Click to collapse
Done. It's not too often an Arnold helps another Arnold on XDA lol
Haha nice, ok I'm here now, what should I be pressing?
aatkaw said:
Haha nice, ok I'm here now, what should I be pressing?
Click to expand...
Click to collapse
Now you can flash whatever rom you want. Just make sure the "install recovery after flashing" or whatever it says is checked. It will automatically flash Orangefox after the ROM so it sticks. Make sure it is checked when you flash any rom. If the ROM doesn't come with Gapps you flash the ROM first, reboot recovery then flash Gapps then Magisk, then Format data (not wipe data, format data) then restart and you should be good to go.
I'm glad you got that flashing error sorted out. I still get shivers in my spine when I see that error...