[MOD] Remove Root without formatting! - Galaxy S 5 Android Development (Snapdragon)

Hi everyone!
Today, I made a zip file that removes root privileges from your android device
I made this to prevent reflashing a stock rom just to remove the root
It WILL keep the same recovery though.
HOW TO INSTALL?
1) Download the zip file
2) Flash it with a custom recovery

la2o said:
Hi everyone!
Today, I made a zip file that removes root privileges from your android device
I made this to prevent reflashing a stock rom just to remove the root
It WILL keep the same recovery though.
HOW TO INSTALL?
1) Download the zip file
2) Flash it with a custom recovery
Click to expand...
Click to collapse
Use SuperSU, no need for custom recovery, and unroot. No need to flash stock rom to unroot.

Ah interesting, I did not know that. Thanks

OTA?
I can after this use in OTA? or changed for ofiicaly systems for get ota update?

Related

Lost Root after trying out 4.2

This is odd. I believe I no longer have root privileges after flashing in the 4.2 ROM from Metal Dragon. I manage to get to stock recovery and do a wipe and reflash a custom ROM (SlimBean). However I have no root privileges anymore. Can anyone help?
wunderkind said:
This is odd. I believe I no longer have root privileges after flashing in the 4.2 ROM from Metal Dragon. I manage to get to stock recovery and do a wipe and reflash a custom ROM (SlimBean). However I have no root privileges anymore. Can anyone help?
Click to expand...
Click to collapse
That's normal, knzo warned that the rom wasn't rooted.
From within a custom recovery, simply flash either SuperUser or SuperSU (my favorite).
SuperSU
Download and flash CWM-SuperSU-v0.98.zip
SuperUser
Download and flash Superuser-3.1.3-arm-signed.zip

[Q] Update to Lollipop without USB and with root

Hi, my N5 has a problem, it has the USB port broken so i can't connect it to the PC. It now has KitKat 4.4.4.
Here is my problem:
I want to update to Lollipop but i can't do it with Factory image and/or Sideload because the USB problem.
I tried to "unroot" but i couldn't do it right, i've downloaded the 5.0 OTA and my phone rebooted with a red triangle and it said "error" i know this is because i still keep my phone rooted.
So i would like to know 2 things:
1) How do i unroot definitely? because i did it before but it seems it didn't do right, i clicked "unroot" on SuperSU (i read that sometimes when you press "unroot" it doesn't erase all the folders and files so you have to do by your own, but what files and what folders are they?)
2) If i unroot and i if update to Lollipop, can i be root without using the USB port?
Of you're rooted, why would you want the stock ota anyway? There are PLENTY of 5.0 Roms in the development section with custom kernels (custom kernels are needed in 5.0 lollipop for root). Flash one of those in recovery. Make sure you have the latest TWRP which you can flash with flashify if you can't fastboot flash using USB.
Sent from my Nexus 5 using xda premium
Pain-N-Panic said:
Of you're rooted, why would you want the stock ota anyway? There are PLENTY of 5.0 Roms in the development section with custom kernels (custom kernels are needed in 5.0 lollipop for root). Flash one of those in recovery. Make sure you have the latest TWRP which you can flash with flashify if you can't fastboot flash using USB.
Sent from my Nexus 5 using xda premium
Click to expand...
Click to collapse
Is really needed to flash a custom kernel to get root on Lollipop? I'm asking because in this thread [ROM] [STOCK] Android 5.0 LRX21O - Stock/Flashable (11/12/14) FAQ nº 2 it says:
Q: How do I get root?
A: If you want to keep the stock kernel, use CF-Auto-Root. If you flash a custom kernel, just flash the newest SuperSU ZIP afterwards.
Click to expand...
Click to collapse
So i understand that we can have root with stock kernel, is this ok or did i misunderstood something?
If i want to flash a custom kernel, where can i get "SuperSU" Zip to get root? and does it need to clean something after or before flashing this file? caché, data, etc?
Yes CF AUTO ROOT will allow your to root the stock image. However since youre already rooted youre running into issues flashing it successfully. I attached the SU zip below. My recomendation is if you want the stock ota image, download it from the developer thread, flash francos custim kernel for lollipop ans then flash the root zip i have attached below. I would complete a full wipe of system, data, and both caches (not internal storage or you will lose all on sd card) before flashing. Once you wipe just flash the the rom, kernel and root zip in that order.
Pain-N-Panic said:
Yes CF AUTO ROOT will allow your to root the stock image. However since youre already rooted youre running into issues flashing it successfully. I attached the SU zip below. My recomendation is if you want the stock ota image, download it from the developer thread, flash francos custim kernel for lollipop ans then flash the root zip i have attached below. I would complete a full wipe of system, data, and both caches (not internal storage or you will lose all on sd card) before flashing. Once you wipe just flash the the rom, kernel and root zip in that order.
Click to expand...
Click to collapse
Thanks!!!
It worked perfectly!
I tried first with CF AutoRoot but it failed, but it worked with SuperSU.

[Q] Restore without downloading stock firmware?

I have Indian moto g 16 GB Android 4.4.4 I have a few questions
1. I just want to root it without any custom recovery or rom. Only to try apps which require root. I am not interested in custom roms, happy with stock rom. I found Modaco's method for it. But many users did not find it working. Is there any other SIMPLE AND STABLE method for it without messing up with stock rom and recovery?
2. If I successfully root it without custom recovery what will be steps to unroot it and revert it back to stock 4.4.4 so that I could receive future OTA. (i had rooted my HTC one x with custom recovery so I know about unlocking bootloader). Will this process include flashing stock rom as there is already stock rom in phone
3. Is is necessary to download stock firmware if someone decide to revert back from rooted phone to stock. I mean not everyone has fast Internet connection to download those big 400-500 mb . Zip files. I read somewhere that we can backup the entire rom after rooting. So why not flash that backed up rom for reverting process. Why need to download..and For backing up the stock rom do we need to root with custom recovery or the Modaco's method (stock recovery root) will work.
You may find my third question stupid but I am not much into this stuff.
Please answer my all questions whether it is yes or no. You need not to provide detailed descriptions but just clear my confusion. I couldn't find these type of questions anywhere else on Internet. So may be useful for other users too. Thanx
???
Anybody???
Guru.Eclairs said:
Anybody???
Click to expand...
Click to collapse
Hey...yes you can root it but doing so requires an unlocked bootloader(which wipes all data on the phone..so backup)
To revert root you'll need stock recovery(since you say you don't want a custom recovery, skip flashing the stock recovery) and untouched stock ROM...
you can either download a stock fresh stock ROM[recommended]
Or
You can revert all root changes you did to the ROM(Xposed, root,busybox, e.t.c.)
Cheers mate
thanx for replying..
Ok reverting will be enough? I thought stock rom is no more Pure after we root it either by stock recovery or custom recovery. And if i choose the reverting method, how much total apps will i have to delete/uninstall?
Guru.Eclairs said:
Ok reverting will be enough? I thought stock rom is no more Pure after we root it either by stock recovery or custom recovery. And if i choose the reverting method, how much total apps will i have to delete/uninstall?
Click to expand...
Click to collapse
You'll will have to remove all root adjustments you made...if you can't remember them all, it's best to flash a new zip...but in my case it was only Xposed and root so I uninstalled Xposed within the app, then went to supersu to revert root.
Good luck
itouchables said:
You'll will have to remove all root adjustments you made...if you can't remember them all, it's best to flash a new zip...but in my case it was only Xposed and root so I uninstalled Xposed within the app, then went to supersu to revert root.
Good luck
Click to expand...
Click to collapse
Thanx sir, Good Day
1. Try Paul O´Brien´s (that guy from Modaco) method. I rooted my Moto G with stock 4.4.4 like a month ago. No need to mess with the recovery, easy and simple.
2. There is an option in SuperSU that deletes all SU binaries from the phone. It is not needed to update though. You can update with SU installed, unless you modified any system files that the OTA wants to patch.
3. No, as mentioned in 2. Just unroot, uninstall xposed and you are done.
2207
knizmi said:
1. Try Paul O´Brien´s (that guy from Modaco) method. I rooted my Moto G with stock 4.4.4 like a month ago. No need to mess with the recovery, easy and simple.
2. There is an option in SuperSU that deletes all SU binaries from the phone. It is not needed to update though. You can update with SU installed, unless you modified any system files that the OTA wants to patch.
3. No, as mentioned in 2. Just unroot, uninstall xposed and you are done.
Click to expand...
Click to collapse
Thanks i'll try MoDaCo's method after getting android L OTA

Install original recovery MT-L09

Hello, my HAM7 is rooted and with a custom revovery, and I could not install the updates because of the recovery, how can I install the original stock recovery?
Thanks!
janrck said:
Hello, my HAM7 is rooted and with a custom revovery, and I could not install the updates because of the recovery, how can I install the original stock recovery?
Thanks!
Click to expand...
Click to collapse
Get your stock HAM7 firmware, unzip the archive and extract the UPDATE.APP file with huawei update extractor (you can search this on this forum) and flash the stock recovery manually via bootloader.
Take this
https://www.dropbox.com/s/g44qfj8ebos0b2x/recovery_stock.img?dl=0
... send from hell, hahahahahaaaa ...
janrck said:
Hello, my HAM7 is rooted and with a custom revovery, and I could not install the updates because of the recovery, how can I install the original stock recovery?
Thanks!
Click to expand...
Click to collapse
jesus .. another who cant be arsed with searching Mate7 forum ......
Thanks! Finally i could install stock recovery and update the firmware!

[Q] Flash stock recovery

Hey guys, yesterday I rooted my phone using KingRoot and XZRecovery to flash Super SU and now I want to flash back the stock recovery again because I want install future system updates without problems.
How can I flash it again? (I have my bootloader locked)
kapucho19 said:
Hey guys, yesterday I rooted my phone using KingRoot and XZRecovery to flash Super SU and now I want to flash back the stock recovery again because I want install future system updates without problems.
How can I flash it again? (I have my bootloader locked)
Click to expand...
Click to collapse
There is no accessible stock recovery on Xperia phones, the actual recovery partition will still be there. Dual recovery is installed on the system partition.
If your bootloader is locked you will be able to OTA, but you will lose root. The best thing to do is flash a pre-rooted flashable zip in the dual recovery you have. As soon as there is an update you can make a new pre-rooted flashable zip using PRFCreator.

Categories

Resources