Recover from failed rooting - Samsung Galaxy S8 Questions and Answers

Hi, I recently tried to root my S8 Snapdragon (SM-G950F) With Odin and CF-Auto-Root without success.
I could reset my phone but now I have some troubles:
Securitylogagent always alerts: I Fix it with a package disabler app.
I Can't install some apps from the Play Store: Netflix for example.. I download the apk by hand.
I Can't use Samsung Apps, like Health
There is any way to do a factory reset?
I don't want to change the factory ROM and I don't worry about the warranty, I know that I lost it and it's ok
Sorry if it is a very newby question, I'm new in this.
Thanks in advance!

mattnash said:
have you flashed a custom recovery? if so, you can easily do a factory reset and wipe cache/dalvik cache to solve the problem
Click to expand...
Click to collapse
No, I didn't flash a custom recovery.
I both factory reset and wipe cache but without success. I still get the error when I enter in Samsung Apps

joaera said:
No, I didn't flash a custom recovery.
I both factory reset and wipe cache but without success. I still get the error when I enter in Samsung Apps
Click to expand...
Click to collapse
Samsung health, Samsung pay won't work because you tripped Knox, flashing cf-autoroot will trip Knox, once tripped it cannot be reverted.
---------- Post added at 06:52 PM ---------- Previous post was at 06:49 PM ----------
joaera said:
No, I didn't flash a custom recovery.
I both factory reset and wipe cache but without success. I still get the error when I enter in Samsung Apps
Click to expand...
Click to collapse
Your only choice to get these Samsung apps and Netflix working is to flash a custom Rom, this will fix your issue. You can fix the issue as is but you will need to get root access, btw flashing twrp for the 1st time will most likely ask you to wipe data

Related

[Q] Possible to unroot without losing data on i9500?

Apologies if this question has already been asked, but is it possible to unroot a i9500 without losing data? I used CF root if it matters.
Saw this thread, but it involves a factory reset and will result in data loss.
The objective is to get the OTA updates as they roll out and then root again
fullerms said:
Apologies if this question has already been asked, but is it possible to unroot a i9500 without losing data? I used CF root if it matters.
Saw this thread, but it involves a factory reset and will result in data loss.
The objective is to get the OTA updates as they roll out and then root again
Click to expand...
Click to collapse
flashing stock firmware with odin, dont wipe data.
but sometimes you need to wipe data if you stuck in a bootloop after flashing.
make backup before.
samersh72 said:
flashing stock firmware with odin, dont wipe data.
but sometimes you need to wipe data if you stuck in a bootloop after flashing.
make backup before.
Click to expand...
Click to collapse
Ok thanks. Will this also reset the phone to "official" status?

Would reflashing the stock firmware via odin wipe data?

Im planning to reflash my phone back to stock as a few things are messed up, will be flashing via odin the base firmware is UEND6 and will reflash the same firmware so that I can still root w/o tripping knox, would reflashing via Odin clear user data?
i guess not
EarlZ said:
Im planning to reflash my phone back to stock as a few things are messed up, will be flashing via odin the base firmware is UEND6 and will reflash the same firmware so that I can still root w/o tripping knox, would reflashing via Odin clear user data?
Click to expand...
Click to collapse
I guess just flashing the firmware won't wipe the data.
I flashed stock over a CM install and forgot to wipe data. My stuff was still there but the install was definitely a little bit unstable with background apps crashing. It didn't wipe data, but the phone needed a data wipe afterwards to be usable...
AO7 said:
I flashed stock over a CM install and forgot to wipe data. My stuff was still there but the install was definitely a little bit unstable with background apps crashing. It didn't wipe data, but the phone needed a data wipe afterwards to be usable...
Click to expand...
Click to collapse
I kinda need to get my data back before wiping, I installed 3 new xposed modules and I am not 100% sure which of the 3 is causing the issue, Im stuck at the Samsung logo.
EDIT:
Im wondering if factory reset would delete camera photos stored on the internal memory, if not I have most of my impt stuff backed up online.
EarlZ said:
I kinda need to get my data back before wiping, I installed 3 new xposed modules and I am not 100% sure which of the 3 is causing the issue, Im stuck at the Samsung logo.
Click to expand...
Click to collapse
Install TWRP recovery (will trip knox) and make a TWRP backup of the entire phone including data partition. Once inside TWRP recovery you can also mount /data and adb pull whatever data you need from it, including the backup. Not sure what to do if you need to access embedded app data that you can not pull through adb.
When I flashed stock without wiping data my files were still there though.
AO7 said:
Install TWRP recovery (will trip knox) and make a TWRP backup of the entire phone including data partition. Once inside TWRP recovery you can also mount /data and adb pull whatever data you need from it, including the backup. Not sure what to do if you need to access embedded app data that you can not pull through adb.
When I flashed stock without wiping data my files were still there though.
Click to expand...
Click to collapse
My data is not that important to trip knox
EarlZ said:
My data is not that important to trip knox
Click to expand...
Click to collapse
In that case I would just flash stock and see what happens,
AO7 said:
In that case I would just flash stock and see what happens,
Click to expand...
Click to collapse
Still waiting for the download to complete. Samfirmware is only giving me 300kb/s and I dont know where else to get stock firmwares.
To close this issue with a resolved status, I would like to say one thing.
If you flash a leaked firmware - it will wipe your phone.
If you flash a stock firmware - it will NOT wipe your phone.
Factory reset will not wipe your internal SD.
Installing TWRP or anything unofficial will trip your KNOX. If your data is worth losing warranty - go for it
I was with a UEND6 firmware and just gonna flash the same to get my data back and factory reset the phone.
EDIT:
Got my data, everything seems to be perfectly working aside from the task manger, Gonna factory reset the phone and probably reflash with odin to have a clean start, would ticking repartition be necessary for a fresh install ? ( but I remember that required a PIT file )

TM-535 Stocks on Samsung Logo / Loading Apps after Boot / Important DATA / TWRP Insta

Hi there, i've got a big problem. I flashed recently my sisters school tab with custom recovery (TWRP) to delete the forgotten password, worked well. But afterwards, the school write her an email, that the tab is rooted (Was not rooted, but SU App appears) so i decided to flash the stock recovery back. This also works well on first boot but after cleaning cache, its stocks on Samsung logo. Now i flashed TWRP back and cleaned dalvik cache/cache, on first boot is passes the samsung logo and Andriod os loading apps appears and stucks (i let it run over the night.). So how can i fix this without any data lose, app lose? I cant do a factory reset because of her school config...I dont know which android version is installed.
sabankuru said:
Hi there, i've got a big problem. I flashed recently my sisters school tab with custom recovery (TWRP) to delete the forgotten password, worked well. But afterwards, the school write her an email, that the tab is rooted (Was not rooted, but SU App appears) so i decided to flash the stock recovery back. This also works well on first boot but after cleaning cache, its stocks on Samsung logo. Now i flashed TWRP back and cleaned dalvik cache/cache, on first boot is passes the samsung logo and Andriod os loading apps appears and stucks (i let it run over the night.). So how can i fix this without any data lose, app lose? I cant do a factory reset because of her school config...I dont know which android version is installed.
Click to expand...
Click to collapse
Why do not you just removed Su application?
Maybe better to ask the school you have to do?
yes thats right, but now i cant boot anymore. "Android is Starting" "Optimizing App x of xxx and hang at the end. will official firmware flash with odin erase all the data?
sabankuru said:
yes thats right, but now i cant boot anymore. "Android is Starting" "Optimizing App x of xxx and hang at the end. will official firmware flash with odin erase all the data?
Click to expand...
Click to collapse
No . Ordinary stock firmware without wipe not erase data . It update system files , not data . This called dirty installation . But maybe some bugs with installed apps .
---------- Post added at 11:46 AM ---------- Previous post was at 11:41 AM ----------
You need to do copy your internal memory to PC and to do reflash firmware with all wipes
repey6 said:
No . Ordinary stock firmware without wipe not erase data . It update system files , not data . This called dirty installation . But maybe some bugs with installed apps .
---------- Post added at 11:46 AM ---------- Previous post was at 11:41 AM ----------
You need to do copy your internal memory to PC and to do reflash firmware with all wipes
Click to expand...
Click to collapse
how to restore after clean install all the data and apps? ive done a backup in twrp recovery, can i just restore ond /data after clean install and all the apps and settings will restore? Thx!
sabankuru said:
how to restore after clean install all the data and apps? ive done a backup in twrp recovery, can i just restore ond /data after clean install and all the apps and settings will restore? Thx!
Click to expand...
Click to collapse
Yes! You need flash TWRP again after clean installation and restore your backup . Then to try delete SU-apps and superSU , if it exist
Ok i will let you know...
I installed 4.4.2 with odin, afterwards there was a process error (google play) so i upgraded to 5.0.2 without data lose. Thx!

Just got RMA, can't disable force encryption

Just got my RMA, so of course I instantly unlock, root, and go to disable forced encryption and i keep getting a password error, my only pin i've ever used won't work, so I flashed factory, reset it up, made sure i didn't use a pin or anything, tried again, still asks for a password and won't accept mine. Am I missing something or is the fact they sent me a remanufactured phone screwing me because of the previous users pin?
kickenwing13 said:
Just got my RMA, so of course I instantly unlock, root, and go to disable forced encryption and i keep getting a password error, my only pin i've ever used won't work, so I flashed factory, reset it up, made sure i didn't use a pin or anything, tried again, still asks for a password and won't accept mine. Am I missing something or is the fact they sent me a remanufactured phone screwing me because of the previous users pin?
Click to expand...
Click to collapse
What TWRP version are you using? Are you on the newest 3.03? If not that's more than likely your problem.
murphyjasonc said:
What TWRP version are you using? Are you on the newest 3.03? If not that's more than likely your problem.
Click to expand...
Click to collapse
OMG I'm confident it's 3.02. So I need to update that before I try the decrypting thing. I need to go root, twrp 3.3 then unencrypt ?
Thanks man I wouldn't ahve thought of that .
kickenwing13 said:
OMG I'm confident it's 3.02. So I need to update that before I try the decrypting thing. I need to go root, twrp 3.3 then unencrypt ?
Thanks man I wouldn't ahve thought of that .
Click to expand...
Click to collapse
Just download the updated TWRP from this link. Boot back into recovery and choose flash IMG instead of zip. Install to recovery partition and then reboot. You should be good to go.
http://dl.twrp.me/angler/
murphyjasonc said:
Just download the updated TWRP from this link. Boot back into recovery and choose flash IMG instead of zip. Install to recovery partition and then reboot. You should be good to go.
http://dl.twrp.me/angler/
Click to expand...
Click to collapse
same nonsense. Went from clean, rooted, flashed TWRP 3.03, tried to flash noencrypt kernel and it's asking me for a password I don't have ... . should I try making my own password next time I reflash stock and see if it like overwrites it ?
found something on a N6 thread that says wipe user data and it should work .
kickenwing13 said:
found something on a N6 thread that says wipe user data and it should work .
Click to expand...
Click to collapse
Yeah that will work and shouldn't be an issue backing up everything with a new phone. TWRP should be able to read an encrypted device though as long as you gave it permissions to change system. No kernel will decrypt a device but most do not force encrypt.
---------- Post added at 11:38 PM ---------- Previous post was at 11:37 PM ----------
kickenwing13 said:
same nonsense. Went from clean, rooted, flashed TWRP 3.03, tried to flash noencrypt kernel and it's asking me for a password I don't have ... . should I try making my own password next time I reflash stock and see if it like overwrites it ?
Click to expand...
Click to collapse
Are you by chance trying to restore a backup on your RMA?
kickenwing13 said:
same nonsense. Went from clean, rooted, flashed TWRP 3.03, tried to flash noencrypt kernel and it's asking me for a password I don't have ... . should I try making my own password next time I reflash stock and see if it like overwrites it ?
Click to expand...
Click to collapse
I had a similar problem with TWRP 3.0.3-0 when I tried to restore a backup. It asked for a password, which has never happened before. I couldn't access my backup or any of my data or boot up. I had to restore stock. Clearing user data did nothing.
murphyjasonc said:
Yeah that will work and shouldn't be an issue backing up everything with a new phone. TWRP should be able to read an encrypted device though as long as you gave it permissions to change system. No kernel will decrypt a device but most do not force encrypt.
---------- Post added at 11:38 PM ---------- Previous post was at 11:37 PM ----------
Are you by chance trying to restore a backup on your RMA?
Click to expand...
Click to collapse
I was not . Just trying to disable force encrypt root and get PN back on it . Wiping worked for me. Also on 3.03, but that alone didn't solve, had to wipe . May be because I was using WUGS instead of manually doing it . Not sure, but it worked .
kickenwing13 said:
I was not . Just trying to disable force encrypt root and get PN back on it . Wiping worked for me. Also on 3.03, but that alone didn't solve, had to wipe . May be because I was using WUGS instead of manually doing it . Not sure, but it worked .
Click to expand...
Click to collapse
Hey, I'm running into the same problem after an RMA. I'm currently on stock unrooted 7.1.1 and want to flash custom rom but want to disable encryption beforehand. Can you advise proper wipe steps, or is this correct?
- unlock bootloader
- restart phone, enable developer options for USB debugging
- fastboot twrp-3.0.3-0-angler.img
- factory reset
- wipe everything (all checkboxes) including internal? (will this format with no encryption?)
- wipe system, data, cache
- push ROM (PN), Gapps, SuperSU-v2.79-201612051815.zip to phone via ADB in TWRP
- flash ROM (PN), Gapps, SuperSU-v2.79-201612051815.zip
- restart
Or is there another way to decrypt data or is it not an issue when clean wiping a new ROM?
Thanks and appreciate any help.
martinomac said:
Hey, I'm running into the same problem after an RMA. I'm currently on stock unrooted 7.1.1 and want to flash custom rom but want to disable encryption beforehand. Can you advise proper wipe steps, or is this correct?
- unlock bootloader
- restart phone, enable developer options for USB debugging
- fastboot twrp-3.0.3-0-angler.img
- factory reset
- wipe everything (all checkboxes) including internal? (will this format with no encryption?)
- wipe system, data, cache
- push ROM (PN), Gapps, SuperSU-v2.79-201612051815.zip to phone via ADB in TWRP
- flash ROM (PN), Gapps, SuperSU-v2.79-201612051815.zip
- restart
Or is there another way to decrypt data or is it not an issue when clean wiping a new ROM?
Thanks and appreciate any help.
Click to expand...
Click to collapse
You need to Format Data, Not Wipe to decrypt. It WILL wipe EVERYTHING so make sure anything in internal storage you want is backed up.
CyberpodS2 said:
You need to Format Data, Not Wipe to decrypt. It WILL wipe EVERYTHING so make sure anything in internal storage you want is backed up.
Click to expand...
Click to collapse
Thanks for confirming, I wasn't aware that there's a difference between Format Data and Wipe Data. After formatting data, I should be able to sideload the ROM, gapps, etc back via TWRP right?
I always try to keep an emergency folder on the PC with the minimum needed to copy back to the phone through recovery. In my case I keep a copy of pure nexus, dynamic gapps, supersu and elementalx. That combination never fails to boot and I know it well enough to get back in business in short order if it all went to hell. Do what's best for you.
Sent from my Nexus 6 using XDA-Developers Legacy app

No OS to boot

Help help help!!! I am having a strange issue since last night. Wanted to install the MIUI ROM and since I was earlier on nougat I thought I will do a clean install so installed the stock Marshmallow ROM freshly And installed the TWRP through ODIN and as usual after installing the TWRP, also flashed no decrypt thing and also did Format. Now it says there is no OS to boot. Flashed this ROM but still no luck. So basically when I do Format it's wiping out the OS as well and after that no matter what I flash its not booting up. Tried the whole process some 5 times with no luck. What on the earth could be possibly doing wrong? How is it wiping out the OS too when I do the Format? This is the first time it has happened to me. Any help is really appreciated!!!
Use Odin to flash stock rom and then start from scratch.
Did that 4 times now and the same damn thing is happening. Tried different versions of TWRP too but with no luck. This is so frutrating
finnmacool said:
Use Odin to flash stock rom and then start from scratch.
Click to expand...
Click to collapse
TWRP has nothing to do with Odin. Does Odin 'pass' when you flash stock? What files are you flashing with Odin?
The phone boots up when i flash the Stock ROM through Odin, but when i install the TWRP and then do the Format option, Its wiping the OS too. Very strange. And later it doesnt boot up irrespective of what ROM i flash. Tried it so manytimes and same thing is happening.
finnmacool said:
TWRP has nothing to do with Odin. Does Odin 'pass' when you flash stock? What files are you flashing with Odin?
Click to expand...
Click to collapse
Why are you wiping anything after twrp install?
---------- Post added at 08:10 PM ---------- Previous post was at 08:09 PM ----------
If you are going to wipe anything, only dalvik and cache.
After installing the TWRP, the internal storage shows as 0mb until i format it completely. Hence have to Format.
finnmacool said:
Why are you wiping anything after twrp install?
---------- Post added at 08:10 PM ---------- Previous post was at 08:09 PM ----------
If you are going to wipe anything, only dalvik and cache.
Click to expand...
Click to collapse
so, odin stock, reboot...it loads, right? Odin TWRP and reboot. Shouldn't be any wiping required that way
http://www.cyanogenmods.org/forums/topic/install-twrp-recovery-samsung-android-using-odin/
Well i dont know how you did it, but it clearly says in the tutorial that after installing the TWRP the phone needs to be formatted. And if i dont, then the TWRP wouldnt recognize my internal storage. Hence i have to format it completely. The strange thing is, i have done it in the past and it would never wipe the OS but for some reason its doung now.
finnmacool said:
so, odin stock, reboot...it loads, right? Odin TWRP and reboot. Shouldn't be any wiping required that way
Click to expand...
Click to collapse
Nowhere in that tutorial did it even mention the word 'format'
Well the problem at the moment is, if i dont wipe it completely after installing TWRP, the internal storage shows as 0 mb. Doesnt this happen to all? And the internal storage shows up only after i do a complete wipe. What could be possibly wrong? And is full wipe supposed to wipe the OS as well?
finnmacool said:
Nowhere in that tutorial did it even mention the word 'format'
Click to expand...
Click to collapse
Why don't you just install twrp and reboot to see what happens.
Let me give that a try. I am sure it reboots normally. But for installing a custom ROM i need to wipe it completely and thats when the OS is getting wiped too.
finnmacool said:
Why don't you just install twrp and reboot to see what happens.
Click to expand...
Click to collapse
Thats a totally different issue. To install a new rom, put it on your sd card, fully wipe device then install new rom. After you make a twrp backup of course.
Well thats when i am facing this issue. After installing the twrp i tried installing a custom ROM and it says cant mount storage. And when i wipe it completely and flash a ROM,it doesnt boot up. Have been flashing for years now, this had never happened. What i am not able to understand is, hows it wiping the OS too. Bluddy frutrating.
finnmacool said:
Thats a totally different issue. To install a new rom, put it on your sd card, fully wipe device then install new rom. After you make a twrp backup of course.
Click to expand...
Click to collapse
Use the FORMAT DATA button. It's right there under the WIPE options next to the ADVANCED WIPE button. That should solve your problems.
Well now i have installed the twrp and it did boot normally, but again in TWRP the internal storage is showing as 0mb. And FORMAT DATA is what i have been doing each time and its formatting the OS too.
finnmacool said:
Use the FORMAT DATA button. It's right there under the WIPE options next to the ADVANCED WIPE button. That should solve your problems.
Click to expand...
Click to collapse
Read through this and see if you find a solution: https://forum.xda-developers.com/s7-edge/help/twrp-mount-data-unable-to-crypto-footer-t3360331
Thanks for the link, had seen it before. Dint help much either. Just flashed the Stock rom and i think i will stick to this s***
finnmacool said:
Read through this and see if you find a solution: https://forum.xda-developers.com/s7-edge/help/twrp-mount-data-unable-to-crypto-footer-t3360331
Click to expand...
Click to collapse

Categories

Resources