Root Kernel for T900 TouchWiz 5.1.1 Stealthee-Kernel - Galaxy Tab Pro 12.2, 10.1, 8.4 Android Development

Ok So I with the help of ShinySide the Creator of Hispasain and TrapKernel. Have created a t900 root kernel for the new 5.1.1. you will have to install TWRP via ODIN and then flash this. This is a stock kernel that is set to permissive. It also installs the SU Binary's at the same time. I learned a lot in the last 3 days. Thank you @ShinySide
I know we don't have any Custom 5.1.1 Roms out yet but if your already Touchwiz 5.1.1 on some custom rom and only want my kernel then Skip to part 2.
Part 1
Ok if you are on 4.4.2 you will have to Odin Flash your tablet to 5.1.1 Stock. (Probably 2) times to get it to boot up.
If you are on CM(what ever version) Go into TWRP and WIPE Advanced SYSTEM / DATA / Cache / Dalvik Cache Then reboot into download mode and Odin the 5.1.1 (I've not done it this way might still need 2 try's)
Make sure tablet boots and you are now on stock 5.1.1 power down tablet.
Hold POWER VOLUME DOWN AND HOME and wait for Download Mode.
Load Odin. Connect your cable Select the TWRP.tar file . UN CHECK THE REBOOT OPTION! Flash the TWRP.tar file with Odin.
Now hold down just VOLUME UP AND POWER till you see a message at the top about Non-Enforcing recovery and then let go of the power button but not the up button. The screen should got black. let go of the volume button TWRP should start.
If you did not into TWRP You did not help the buttons right and are now looking at a Stock Recovery and will have to jump back up to "Make sure tablet boots into 5.1.1" and go from there again.
BACK UP Stock WITH TWRP BEFORE YOU FLASH !!! FOR THE LOVE OF GOD !
BACK UP Stock WITH TWRP BEFORE YOU FLASH !!! FOR THE LOVE OF GOD !
BACK UP Stock WITH TWRP BEFORE YOU FLASH !!! FOR THE LOVE OF GOD !
Part 2
Flash My Stealthee-Kernel.zip Below in TWRP (It already is set to install SU Binaries)
Reboot and DO NOT LET TWRP INSTALL SU Binaries or you will need to at least restore the system part of your Backup. If you did not back up before and missed the 3 lines saying so I can't help you. (Will not actually sorry) You will have to start over.
Remember at your own risk.. .boom. and all that
This Kernel also has Init.d support Although the current Stock Rom does not support this by Default. I was able to use terminal emulator and make mine work and show up So I could test Synapse. I don't work BTW Not supported.
GITHUB Source for Kernel is up
https://github.com/Stealthee/SM-T900_Kernel
If you would like to buy me a soda since i don't drink. But learning to kernel edit might of drove me to it. Feel free to donate
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=j71rivera%40gmail%2ecom&lc=US&item_name=Stealthee%27s%20Soda%20Fund&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
Thanks go to
ShinySide: for all the help and his githubs
toolhas4degrees: For the fixed zip with the correct block I kept messing up
g.lewarne: For UniKernel that made all this happen.
Side note im not sure im ready to learn how to over clock and all that. But who knows.. One day.

stealthee said:
Ok So i with the help of ShinySide the Creator of Hispasain and TrapKernel. Have created a t900 root kernel for the new 5.1.1. you will have to install TWRP and then flash this. Left my tablet at work its going to be stuck there over the weekend. So i need A brave soul that would be willing to give this a flash. It's just the kernel and root. Its either a OMG you rock. or damn you Stealthee (as you load up twrp to restore.) BACK UP WITH TWRP BEFORE YOU FLASH !!! FOR THE LOVE OF GOD !
http://www.filedropper.com/stealthee--kernel
Remember at your own risk.. .boom. and all that .. or OMG.. I would of already flashed if my tablet was here.
Click to expand...
Click to collapse
@ShinySide
su binary does not install. su apk is present

So the kernel did install too correct? I forgot to name it correctly so it will say. [email protected] and can you check se for android status under setting about device and tell if it shows permissive.
https://plus.google.com/photos/albu...6193636469279682626&oid=110078731989156903833

I have first flashed the ROM with Odin. Then flashed the other insecure kernel with Odin. Then flashed TWRP in Odin. Then flashed SuperSu and your kernel. But it only boots into recovery, not to system anymore. Just restored to CM again. Let's hope somone will succeed making a new root tool for Samsung 5.1.1 and up.

That's exactly what happened with my custom kernel. It would boot straight to recovery.

Planet X said:
I have first flashed the ROM with Odin. Then flashed the other insecure kernel with Odin. Then flashed TWRP in Odin. Then flashed SuperSu and your kernel. But it only boots into recovery, not to system anymore. Just restored to CM again. Let's hope somone will succeed making a new root tool for Samsung 5.1.1 and up.
Click to expand...
Click to collapse
ok you have to wipe everything except storage and flash the 5.1.1 update tar 2 times some times to get it to work. Then once you have that you have a stock 5.1.1 then flash the twrp tar. THEN flash my root kernel test. I need to know since i dont have my tablet here right now if the se android status under setting general about this device says "Permisive" or what it says" if it does then great i need to fix the librarys so sayeth the ShinySide. Or i need to update superuser in my ramdisk if it does cause i have the wrong one. thats why im asking abou tthe SE Status. If someone could answer this I'll know if i need to recompile the kernel again with a different passive fix. Just flashing 1 time the 5.1.1 TW rom will not work if you have not wiped everything. Took me 2 odins to get it running. and i was stock 4.4.2 rooted. if your on CM you will need to wipe and then flash. The tar does not seem to wipe data it just overlays it seems.

toolhas4degrees said:
@ShinySide
su binary does not install. su apk is present
Click to expand...
Click to collapse
K. But Is it set to permissive in settings?

I really know how to flash. And for me flash stock rom has worked the first time. But how do you flash the recovery without first flashing @andrewnelson23 kernel ? Your kernel is not tar.md5 but zip. If you try to flash TWRP after you have flashed stock rom the recovery doesn't get flashed. I have read the post about boot to recovery while pressing start in Odin but that didn't work for me. May be you can make a tar.md5 package with your kernel?
B.t.w. I have tried flashing with Flashfire but that results in Bootloop too.

Planet X said:
I really know how to flash. And for me flash stock rom has worked the first time. But how do you flash the recovery without first flashing @andrewnelson23 kernel ? Your kernel is not tar.md5 but zip. If you try to flash TWRP after you have flashed stock rom the recovery doesn't get flashed. I have read the post about boot to recovery while pressing start in Odin but that didn't work for me. May be you can make a tar.md5 package with your kernel?
Click to expand...
Click to collapse
I'm confused on why you think a recovery gets flashed when flashing a kernel. Or are you saying twrp isn't sticking after you reboot?

ShinySide said:
I'm confused on why you think a recovery gets flashed when flashing a kernel. Or are you saying twrp isn't sticking after you reboot?
Click to expand...
Click to collapse
Indeed, the recovery doesn't stick than.

Planet X said:
Indeed, the recovery doesn't stick than.
Click to expand...
Click to collapse
Simple fix. Flash recovery boot directly to recovery before going to the os

ShinySide said:
Simple fix. Flash recovery boot directly to recovery before going to the os
Click to expand...
Click to collapse
Do you mean i should be booted into twrp when starting flash with Odin?
Edit: I see. But that is what I did. Flash recovery and after flash your kernel. But then it boots right into twrp. Also wiped dalvik cache but that makes no difference.

Planet X said:
Do you mean i should be booted into twrp when starting flash with Odin?
Click to expand...
Click to collapse
No. If you have flashed twrp while in download mode and rebooted to android and then tried to go to twrp and it took you to stock recovery IE. twrp didn't stick, you need to flash twrp while in download mode and when it goes to reboot do your key combo to go to recovery before booting to android. Or Uncheck auto reboot, flash twrp, disconnect cable, hold power button til it shuts off then go directly to recovery before booting to android.
Your post didn't make much sense to me so assuming you meant you flashed twrp, let it reboot and when you tried rebooting to twrp it wasn't there.

ShinySide said:
No. If you have flashed twrp while in download mode and rebooted to android and then tried to go to twrp and it took you to stock recovery IE. twrp didn't stick, you need to flash twrp while in download mode and when it goes to reboot do your key combo to go to recovery before booting to android. Or Uncheck auto reboot, flash twrp, disconnect cable, hold power button til it shuts off then go directly to recovery before booting to android.
Your post didn't make much sense to me so assuming you meant you flashed twrp, let it reboot and when you tried rebooting to twrp it wasn't there.
Click to expand...
Click to collapse
By that's exactly what i did. I unchecked reboot in Odin and flashed twrp and tried to boot into twrp but all i get was stock recovery.
B.t.w. if you uncheck auto reboot in Odin you will have to flash the rom twice. That's right. But if leave auto reboot checked you will only have to flash one time

Planet X said:
By that's exactly what i did. I unchecked reboot in Odin and flashed twrp and tried to boot into twrp but all i get was stock recovery.
Click to expand...
Click to collapse
I'm beyond confused now after reading your previous posts edit and this one.

ShinySide said:
I'm beyond confused now after reading your previous posts edit and this one.
Click to expand...
Click to collapse
I have re-edited my post again. May be it's more clear now.

Okay one minute you have twrp, next minute twrp isn't sticking..... also talking about recovery not flashing an entire firmware with unchecked auto reboot

Planet X said:
By that's exactly what i did. I unchecked reboot in Odin and flashed twrp and tried to boot into twrp but all i get was stock recovery.
B.t.w. if you uncheck auto reboot in Odin you will have to flash the rom twice. That's right. But if leave auto reboot checked you will only have to flash one time
Click to expand...
Click to collapse
ok after you flash twrp and uncheck reboot after it flashes. hold down ONLY volume down and power untill you see the selinux msg on top. let it go. it should goto a black screen and then into twrp. do not hold HOME. you only get 1 chance if you boot into stock recovery you have to start all over and get back into download mode and flash twrp tar again. But once you do it 1 time it sticks and stock recovery is replaced by twrp.

stealthee said:
ok after you flash twrp and uncheck reboot after it flashes. hold down ONLY volume down and power untill you see the selinux msg on top. let it go. it should goto a black screen and then into twrp. do not hold HOME.
Click to expand...
Click to collapse
Boot into twrp
Wipe advanced system, data, caches
Reboot to download mode
Flash stock rom with odin 3.10
Go through setup
Switch off
Boot into download mode
Start odin and uncheck auto reboot
Flash twrp 3.8.7.0
Switch tablet off
Start tablet with volume up and home pressed to enter twrp
All i have is stock recovery
So i power off tablet
Power + volume down + home pressed to enter download mode
Start Odin and uncheck auto reboot
Flash @andrewnelson23 kernel
Power off tablet
Start download mode again with power + volume down + home button pressed
Start odin switch off auto reboot
Flash twrp again
Power off tablet
Enter twrp with power + volume up + home pressed
Flash SuperSu and your kernel in one time
Power off tablket
Power on tablet but only enter recovery
That's all. Is that clear to you?
---------- Post added at 07:04 PM ---------- Previous post was at 07:00 PM ----------
stealthee said:
ok after you flash twrp and uncheck reboot after it flashes. hold down ONLY volume down and power untill you see the selinux msg on top. let it go. it should goto a black screen and then into twrp. do not hold HOME. you only get 1 chance if you boot into stock recovery you have to start all over and get back into download mode and flash twrp tar again. But once you do it 1 time it sticks and stock recovery is replaced by twrp.
Click to expand...
Click to collapse
Okay. I will try that once again. And immediately flash this kernel than if that works.

Planet X said:
Boot into twrp
Wipe advanced system, data, caches
Reboot to download mode
Flash stock rom with odin 3.10
Go through setup
Switch off
Boot into download mode
Start odin and uncheck auto reboot
Flash twrp 3.8.7.0
Switch tablet off
Start tablet with volume up and home pressed to enter twrp
All i have is stock recovery
So i power off tablet
Power + volume down + home pressed to enter download mode
Start Odin and uncheck auto reboot
Flash @andrewnelson23 kernel
Power off tablet
Start download mode again with power + volume down + home button pressed
Start odin switch off auto reboot
Flash twrp again
Power off tablet
Enter twrp with power + volume up + home pressed
Flash SuperSu and your kernel in one time
Power off tablket
Power on tablet but only enter recovery
That's all. Is that clear to you?
---------- Post added at 07:04 PM ---------- Previous post was at 07:00 PM ----------
Okay. I will try that once again. And immediately flash this kernel than if that works.
Click to expand...
Click to collapse
Start tablet with volume up and home pressed to enter twrp
All i have is stock recovery
Wrong i said power and volume down. i explicitly said NO HOME BUTTON. you hold them after twrp flash. when you see unenforcing msg let go.

Related

[Q] ODIN 3.07 can't flash in CWM Recovery Mode in Samsung Galaxy Neo GT-S5310

I'm following step by step process to root my gt-s5310 using ODIN 3.07. Started from download mode and connect to the PC is no problem at all. ODIN finished with the GREEN PASS. When I tried to open recovery mode, only android recovery mode is open(but malfunctioning, going no where when I press the home button) that recovery mode also don't has "install zip from sd card" option.
My android version is 4.1.2 . Baseband version S5310DXAME2. Kernel version 3.0.15-1521875 [email protected]#1
Please help me to solve the issue. Attached is the recovery mode picture
nadzir said:
I'm following step by step process to root my gt-s5310 using ODIN 3.07. Started from download mode and connect to the PC is no problem at all. ODIN finished with the GREEN PASS. When I tried to open recovery mode, only android recovery mode is open(but malfunctioning, going no where when I press the home button) that recovery mode also don't has "install zip from sd card" option.
My android version is 4.1.2 . Baseband version S5310DXAME2. Kernel version 3.0.15-1521875 [email protected]#1
Please help me to solve the issue. Attached is the recovery mode picture
Click to expand...
Click to collapse
After the successful flash of the CWM file in Odin, do you let it auto reboot? Many Samsung phones have a built in script that checks to see if the recovery partition has been modified and then reapplies the factory recovery file back to it. Try this: Have the phone in hand with fingers on button combo for recovery (most Samsung phones with physical home buttons are typically Home + Volume Up along with Power, but you won't need to do the ) and when it reboots, hit the combo for recovery and it should boot to CWM, then you'll be able to do a nandroid backup and install the stuff you want. If you want to keep the stock rom and CWM recovery, you'll have to get root access and remove the script.
es0tericcha0s said:
After the successful flash of the CWM file in Odin, do you let it auto reboot? Many Samsung phones have a built in script that checks to see if the recovery partition has been modified and then reapplies the factory recovery file back to it. Try this: Have the phone in hand with fingers on button combo for recovery (most Samsung phones with physical home buttons are typically Home + Volume Up along with Power, but you won't need to do the ) and when it reboots, hit the combo for recovery and it should boot to CWM, then you'll be able to do a nandroid backup and install the stuff you want. If you want to keep the stock rom and CWM recovery, you'll have to get root access and remove the script.
Click to expand...
Click to collapse
i cant believe this actually worked!! thank you so much i was about to give up on rooting my gt-s5310
guajojo said:
i cant believe this actually worked!! thank you so much i was about to give up on rooting my gt-s5310
Click to expand...
Click to collapse
I believe it.
Glad all is well. Hope you enjoy!
Where I can find it?
es0tericcha0s said:
After the successful flash of the CWM file in Odin, do you let it auto reboot? Many Samsung phones have a built in script that checks to see if the recovery partition has been modified and then reapplies the factory recovery file back to it. Try this: Have the phone in hand with fingers on button combo for recovery (most Samsung phones with physical home buttons are typically Home + Volume Up along with Power, but you won't need to do the ) and when it reboots, hit the combo for recovery and it should boot to CWM, then you'll be able to do a nandroid backup and install the stuff you want. If you want to keep the stock rom and CWM recovery, you'll have to get root access and remove the script.
Click to expand...
Click to collapse
Where I can find that script to remove it?
Willlldo said:
Where I can find that script to remove it?
Click to expand...
Click to collapse
/system/etc/install-recovery.sh
Still can't make it.
I face the same problem . can you explain how to hit the button correctly ? because i don't understand how to do it. I already follow the step of installing CWM on my gt-s5310. I already install it completely. Every time i hit volume up + home + power button it still enter android recovery mode.. Not CWM. Please help me sir..
How can i install cwm recovery in gt s5310 without odin3

Complicated issue with recovery mode

I flashed NightmareROM. I found myself do not like it. I decided to flash ArchiDroid (AOSP ROM). I found it required Philz recovery. I flashed it through recovery (CWM). I rebooted to make sure everything is OK. After making Nandroid backup, found myself cannot boot into recovery and cannot boot into download mode after factory reset., but I can boot to system normally. I installed CM installer. It detected my phone, and I was able to boot into download and recovery mode. I can boot into download mode normally. I flashed the latest version of Philz Touch Recovery through Odin. When I want to boot into recovery mode, by pressing the combination, I find myself rebooting normally. When I press the combination, then pressing home + up only after the first reboot, I can boot into recovery. Is there any problem? I did not try to flash something
Change to stock cwm or twrp and test. I'm guessing a recovery problem as I've had this in the past with philz.
andrewwright said:
Change to stock cwm or twrp and test. I'm guessing a recovery problem as I've had this in the past with philz.
Click to expand...
Click to collapse
Someone flashed it, and he said there is no problem. Could be there is a problem with bootloader?
Bootloader won't be the problem. I use cwm6.0.4.4 and flash any ROM any firmware without issue. Philz is only a recommendations not a must In any ROM/firmware
Flashd TWRP, still having the same problem
THE.W!ZARD said:
Flashd TWRP, still having the same problem
Click to expand...
Click to collapse
Use one of the many apps on Playstore to boot into recovery or use adb. I know PhilZ sometimes can be a bit awkward to get into recovery but the others should be fine.Have you also tried going back to stock and starting again this may solve your problem.
Download and flash cwm 6.0.4.4
Can't help with something I don't use 'twrp'
Question.. Can you boot into recovery or download mode? If not mobile Odin.
And..what ROM are you running now? Are you rooted?
andrewwright said:
Can you boot into recovery or download mode? If not mobile Odin.
And..what ROM are you running now? Are you rooted?
Click to expand...
Click to collapse
I can boot into download mode normally. I can boot into recovery mode, but I have to press up + home + power, the phone will boot into recovery, but in less than 1 sec it reboot, so I have to press up + home only
That's normal to hold the three button combo or it WONT enter recovery or download mode. Holding the power button alone will just reboot the device as you can see.
andrewwright said:
That's normal to hold the three button combo or it WONT enter recovery or download mode. Holding the power button alone will just reboot the device as you can see.
Click to expand...
Click to collapse
This never happened before . You mean I can flash normally?
Mate are you joking. Read the stickies

How to Flash Samsung in "MDM Mode" ???????????

How to Flash Samsung in "MDM Mode" ???????????
TWRP all the way
luckysisi said:
How to Flash Samsung in "MDM Mode" ???????????
Click to expand...
Click to collapse
1. Get TWRP recovery for your device. Flash it using Odin. If you can't flash it using Odin, use ADB and flash TWRP.
2. Here on, if you can successfully flash the stock ROM to your device using TWRP, you will have the device with stock Android running.
3. If you can't flash, enter TWRP recovery and mount all the drives and wipe them. Now flash stock ROM. You will have your device back.:good:
hi guys i found an artical
https://ge0n0sis.github.io/posts/20...-mode-using-an-undocumented-feature-of-aboot/
if anyone can use this documentation to bypass mdm mode it will be great
Very good. Very interesting.
But is for developers ...
Code is missing ....
as long as you can get into download mode it is pretty simple Ive done quite a few. Download stock firmware and in odin click on the options tab select nand erase all checkbox and flash the stock files in and it removed the mdm while flashing.
Worked for me
Thanks buddy
FAIL
stevena1844 said:
as long as you can get into download mode it is pretty simple Ive done quite a few. Download stock firmware and in odin click on the options tab select nand erase all checkbox and flash the stock files in and it removed the mdm while flashing.
Click to expand...
Click to collapse
after select nand erase, phone fail flash and now just restarting
dvrz said:
1. Get TWRP recovery for your device. Flash it using Odin. If you can't flash it using Odin, use ADB and flash TWRP.
2. Here on, if you can successfully flash the stock ROM to your device using TWRP, you will have the device with stock Android running.
3. If you can't flash, enter TWRP recovery and mount all the drives and wipe them. Now flash stock ROM. You will have your device back.:good:
Click to expand...
Click to collapse
For me this worked pretty much, but I only needed step 1. Once inside TWRP recovery, I just needed to wipe to factory reset and reboot. These were the steps for my Eat 24 tablet SM-T280:
1. Install the drivers if necessary
2. Go to Download mode by using Volume Down + Home + Power
3. Download and Extract TWRP compatible with SM-T280 here: https://forum.xda-developers.com/ga...covery-samsung-galaxy-tab-a6-sm-t280-t3475381. TWRP is a custom recovery image for Android.
4. Download and Install Odin (this works only on Samsung devices)
5. Use Odin by running as administrator, uncheck Auto Reboot, select AP and point to the extracted TWRP .tar file, then click on start.
6. Once successful, hold home + volume down + power to shut off tablet.
7. Go to TWRP recovery by holding home + volume up + power.
8. Select "Wipe", and "swipe to factory reset"
9. Reboot
This worked for my SM-T280
[/COLOR]
izeta said:
For me this worked pretty much, but I only needed step 1. Once inside TWRP recovery, I just needed to wipe to factory reset and reboot. These were the steps for my Eat 24 tablet SM-T280:
1. Install the drivers if necessary
2. Go to Download mode by using Volume Down + Home + Power
3. Download and Extract TWRP compatible with SM-T280 here: https://forum.xda-developers.com/ga...covery-samsung-galaxy-tab-a6-sm-t280-t3475381. TWRP is a custom recovery image for Android.
4. Download and Install Odin (this works only on Samsung devices)
5. Use Odin by running as administrator, uncheck Auto Reboot, select AP and point to the extracted TWRP .tar file, then click on start.
6. Once successful, hold home + volume down + power to shut off tablet.
7. Go to TWRP recovery by holding home + volume up + power.
8. Select "Wipe", and "swipe to factory reset"
9. Reboot
Click to expand...
Click to collapse
I'm writing this reply in hopes that it will help anyone else in a similar situation.
Before finding this thread i had zero, ZERO experience rooting/flashing twrp'ing, whatever you call it.
I still don't understand fully what i did by following the instructions in this thread.
I just know it worked.
By using the instructions here and from another thread on this website, i was able to successfully flash twrp [whatever you call it] my Samsung A6 that was in mdm mode.
Prior to following the instructions in this thread, i could only go online with my tablet. It wouldn't let me open any settings, change anything, it wouldn't let me do a factory reset.
Now, i am able to use the tablet as if i had just purchased it.
After following the instructions, and after rebooting, i saw the screens you normally see when you turn on your tablet for the first time. All of the setup, agree to terms, Samsung account setup, available WiFi connections; everything; it was all there just like it's supposed to be.
I was so excited to see the setup screens.
After agreeing and going through setup I was able to use my tablet 100% like normal.
Thank you and thank you to the other users who posted directions on how to do this.
I will soon post my own new thread that will have each step laid out so that anyone in the same situation can easily follow it from beginning to end.
i have 5 device T280 bloked by MDM how can you help me please?
i have 10 device T561 bloked by MDM how can you help me please?
Hi, I was able to unlock a Samsung Galaxy Tab A that was locked in MDM mode by postmates.
MDM blocked any recovery wiping or download mode flashing, so I couldn't flash TWRP.
I was able to set a screen lock (pattern) and turn on "wipe after 15 attempts." After 15 attempts it rebooted and was stuck on the logo screen for hours so I figured it didn't do anything. I was able to reboot into download mode and successfully flash TWRP at this point (I forgot to select NAND erase). I also was able to flash the stock rom, though unable to wipe in recovery first. I wasn't able to get into TWRP.
It rebooted and seemed like before, with the postmates kiosk mode and MDM lock in recovery wipe and download mode flashing. I went back into download mode and tried to flash TWRP again with nand selected. It didn't work, neither did flashing a ROM.
Anyways, it rebooted into the setup screen as if it was wiped.
mrnamster said:
Hi, I was able to unlock a Samsung Galaxy Tab A that was locked in MDM mode by postmates.
MDM blocked any recovery wiping or download mode flashing, so I couldn't flash TWRP.
I was able to set a screen lock (pattern) and turn on "wipe after 15 attempts." After 15 attempts it rebooted and was stuck on the logo screen for hours so I figured it didn't do anything. I was able to reboot into download mode and successfully flash TWRP at this point (I forgot to select NAND erase). I also was able to flash the stock rom, though unable to wipe in recovery first. I wasn't able to get into TWRP.
It rebooted and seemed like before, with the postmates kiosk mode and MDM lock in recovery wipe and download mode flashing. I went back into download mode and tried to flash TWRP again with nand selected. It didn't work, neither did flashing a ROM.
Anyways, it rebooted into the setup screen as if it was wiped.
Click to expand...
Click to collapse
How did you finally get it to work, like what exactly did you do??

Help with root

I have a tmobile gs5 that I tried rooting with cf root. I went into odin it detected my phone and I ran the .tar file under ap even though the directions said hit pda but there is no pda. Everything looked good and odin said pass. But my phone was stuck in a boot loop and read in yellow set warranty bit kernel. So I cleared the cache and the boot loop was gone and the phone works fine. But every time I reboot the yellow error is still there. I tried to odin again and the same thing boot loop reset cache all is good yellow error is still there. What happened? And how can I get root? I have used odin on my gs3 and no problem. I'm lost right now. Thanks ahead for any replys
Sent from my SM-G900T using XDA Free mobile app
@dpshptl You should just install TWRP with Odin and use TWRP to flash supersu zip, that's more or less what cf auto-root is doing anyway. Boot your phone into Odin mode (home, vol down, and power), connect your phone to PC with USB, and install twrp-3.0.0-0-klte-klte.img.tar with Odin (AP button, auto-reboot option disabled). When the status bar is filled, you need to immediately boot into TWRP without rebooting system (this is where you hold down home, vol up, and power). In TWRP, install supersu zip file.
If you reboot to normal android before booting into TWRP and flashing the supersu zip when TWRP is first installed, the operating system will overwrite TWRP with the stock recovery, and you have to try again.
thisisapoorusernamechoice said:
@dpshptl You should just install TWRP with Odin and use TWRP to flash supersu zip, that's more or less what cf auto-root is doing anyway. Boot your phone into Odin mode (home, vol down, and power), connect your phone to PC with USB, and install twrp-3.0.0-0-klte-klte.img.tar with Odin (AP button, auto-reboot option disabled). When the status bar is filled, you need to immediately boot into TWRP without rebooting system (this is where you hold down home, vol up, and power). In TWRP, install supersu zip file.
If you reboot to normal android before booting into TWRP and flashing the supersu zip when TWRP is first installed, the operating system will overwrite TWRP with the stock recovery, and you have to try again.
Click to expand...
Click to collapse
I tried this method. But I can't uncheck auto reboot. All of the choices are shaded and you can't check or uncheck any boxes. Should I try a different version of odin? I can't believe im having so much problems rooting a samsung.
Sent from my SM-G900T using XDA Free mobile app
dpshptl said:
I tried this method. But I can't uncheck auto reboot. All of the choices are shaded and you can't check or uncheck any boxes. Should I try a different version of odin? I can't believe im having so much problems rooting a samsung.
Click to expand...
Click to collapse
Try Odin v3.09 and try this version of the supersu zip
What do I do
So do I take out the battery after Odin and then reboot to twrp
This guy needs help said:
So do I take out the battery after Odin and then reboot to twrp
Click to expand...
Click to collapse
You can, or just hold down home, vol+, and power when Odin is done (status bar is full)
@dpshptl try twrp-2.8.6.0-klte.tar or twrp-2.8.7.0-klte.img.tar and this supersu zip
thisisapoorusernamechoice said:
Try Odin v3.09 and try this version of the supersu zip
Click to expand...
Click to collapse
TWRP got installed and so did supersu but on reboot phone is stuck on the samsung screen for over 25 mins. So I went back into recovery and wiped cache but that did not do anything either. Whats my options? I hope I dont have to do a factory reset and wipe everything.
What do I do
I was on twrp then I flashed supersu but I keep getting set warranty bit kernel message
This guy needs help said:
I was on twrp then I flashed supersu but I keep getting set warranty bit kernel message
Click to expand...
Click to collapse
Even though you hijacked my thread ill still help you.
I have the same error and i think its from the knox security being tripped but i could be wrong. did your phone boot up? after supersu install?
dpshptl said:
Even though you hijacked my thread ill still help you.
I have the same error and i think its from the knox security being tripped but i could be wrong. did your phone boot up? after supersu install?
Click to expand...
Click to collapse
No I had to reflash the stock rom, thanks for helping
This guy needs help said:
No I had to reflash the stock rom, thanks for helping
Click to expand...
Click to collapse
Apparently I got the set warranty bit kernel message after I flashed twrp

[RECOVERY][3.3.1-3][a50dd]Unofficial TWRP recovery for Galaxy A50

back up all your data before starting​
Code:
#include <std_disclaimer.h>
/*
*
* I'm not responsible for bricked devices, dead SD cards,
* before flashing it! YOU are choosing to make these modifications.
Features:
- magisk works.
- encryption/decryption doesn't work.
Install guide:
1. you are in stock rom ..
2. go to settings and remove your google accounts ...
3. reboot to stock recovery ..
4. wipe data/cache
5. reboot to boot-loader ( download mode )
6. open Odin... choose AP and select the downloaded file TWRP_3.tar
7. connect your phone to usb and click start... immediately click volume up + power button tail you are in twrp
8. if you cant open internal storage on computer... format data on twrp.
Download:
https://mega.nz/#!SWYwAQAb!bbLnex8yhT7tyBTdTMr2wIS-tzITjg5VMJ_p1msXenQ
install this decrypter .
thanks to geiti94 and Mauronofrio and Zackptg5
......
reserved
this one too
can i update to latest of magisk ?
thanks for hard work
On booting to recovery using the key combination, my phone got stuck at the TeamWin splash screen and won't go beyond it. Now it just boots to that screen when using the normal key combination as well instead of Android. Anything I did wrong or is there any other issue?
I was using Magisk with stock recovery prior to flashing this. Going to flash the stock ROM again using Odin and try this once again.
Edit: Since all reboot options now lead to the TWRP splash screen, there doesn't seem to be a way to get in to download mode. Most likely seems that I have to let the battery drain out. A word of caution for anyone else trying this out.
t3chg33k said:
On booting to recovery using the key combination, my phone got stuck at the TeamWin splash screen and won't go beyond it. Now it just boots to that screen when using the normal key combination as well instead of Android. Anything I did wrong or is there any other issue?
I was using Magisk with stock recovery prior to flashing this. Going to flash the stock ROM again using Odin and try this once again.
Edit: Since all reboot options now lead to the TWRP splash screen, there doesn't seem to be a way to get in to download mode. Most likely seems that I have to let the battery drain out. A word of caution for anyone else trying this out.
Click to expand...
Click to collapse
have you formatted data? and rebooted directly to bootloader?
when stuck on spash screen means data is encrypted.
zvox said:
have you formatted data? and rebooted directly to bootloader?
when stuck on spash screen means data is encrypted.
Click to expand...
Click to collapse
I had removed all accounts and formatted data/cache partitions before flashing the TWRP file. However, the first time I missed booting immediately in to recovery and the OS started booting instead. So, I rebooted in to recovery and it is stuck on the TWRP splash screen since then. So, did the half boot in to the OS result in encryption of the data partition once again?
Tried just about everything but still stuck on the splash screen. I don't know when the battery will run out now but do hope that I will be able to get in to download mode once it does so or otherwise I think I got myself a brick.
t3chg33k said:
I had removed all accounts and formatted data/cache partitions before flashing the TWRP file. However, the first time I missed booting immediately in to recovery and the OS started booting instead. So, I rebooted in to recovery and it is stuck on the TWRP splash screen since then. So, did the half boot in to the OS result in encryption of the data partition once again?
Tried just about everything but still stuck on the splash screen. I don't know when the battery will run out now but do hope that I will be able to get in to download mode once it does so or otherwise I think I got myself a brick.
Click to expand...
Click to collapse
no needfor battery to drain, just Press volume up + down + power with USB plugged in and when the phone turn off release power and keep pressing up/down buttons. and you'll be directed to download mode
zvox said:
no needfor battery to drain, just Press volume up + down + power with USB plugged in and when the phone turn off release power and keep pressing up/down buttons. and you'll be directed to download mode
Click to expand...
Click to collapse
Thanks, that's the combination I was looking out for. I did that combination without the USB connected and used some other combination when the USB was connected. After a fresh ODIN flash, I was able to boot in to TWRP without any issues, so great job with the recovery.
Update 1: After powering off the device, it is now only booting to stock recovery, no sign of TWRP. Selecting the 'Reboot to system' option in stock recovery results in a "cannot load android system" and "data may be corrupt" message. Selecting "factory reset" option in stock recovery booted me to Android.
Update 2: Booted to system after the factory reset and powered off. Now the phone won't go past the Samsung logo with the message "only official binaries are allowed to be flashed"
t3chg33k said:
Thanks, that's the combination I was looking out for. I did that combination without the USB connected and used some other combination when the USB was connected. After a fresh ODIN flash, I was able to boot in to TWRP without any issues, so great job with the recovery.
Update: After powering off the device, it is now only booting to stock recovery, no sign of TWRP. Selecting the 'Reboot to system' option in stock recovery results in a "cannot load android system" and "data may be corrupt" message. Selecting "factory reset" option in stock recovery booted me to Android.
Click to expand...
Click to collapse
wipe data again and reboot to bootloader and flash twrp again, once youre in twrp.. mount system... open file manager and go to system/system and rename recovery-from-boot.p to recovery-from-boot.p.bak.
i forget to mention that.
dont forget to flash the decrypter before booting.
zvox said:
no needfor battery to drain, just Press volume up + down + power with USB plugged in and when the phone turn off release power and keep pressing up/down buttons. and you'll be directed to download mode
Click to expand...
Click to collapse
zvox said:
wipe data again and reboot to bootloader and flash twrp again, once youre in twrp.. mount system... open file manager and go to system/system and rename recovery-from-boot.p to recovery-from-boot.p.bak.
i forget to mention that.
dont forget to flash the decrypter before booting.
Click to expand...
Click to collapse
I had to first boot in to the OS and check for updates to register the device with the OEM unlock option enabled once again before the "official binaries only" message disappeared. Thereafter things worked out fine as per your instructions and I have permanent TWRP. Will try out Magisk-patched TWRP later and post the results.
Would you mind attaching the kernel source?
Anyone else tried this TWRP? is this really a permanent TWRP?
zidane02 said:
Anyone else tried this TWRP? is this really a permanent TWRP?
Click to expand...
Click to collapse
TWRP is permanent but it always boots to TWRP irrespective of key combination and from there one has to reboot to System.
Also, I patched the recovery image with Magisk and it doesn't seem to work. When rebooting to recovery from TWRP the first time, it leads to a blank screen and on rebooting it gets stuck at the Samsung boot logo.
t3chg33k said:
TWRP is permanent but it always boots to TWRP irrespective of key combination and from there one has to reboot to System.
Also, I patched the recovery image with Magisk and it doesn't seem to work. When rebooting to recovery ffrom TWRP the first time, it leads to a blank screen and on rebooting it gets stuck at the Samsung boot logo.
Click to expand...
Click to collapse
I see. But what is TWRP without magisk? Nandroid is ok, but my main purpose of TWRP is magisk.
So my 2nd question is, will this work on any firmware?
zidane02 said:
I see. But what is TWRP without magisk? Nandroid is ok, but my main purpose of TWRP is magisk.
So my 2nd question is, will this work on any firmware?
Click to expand...
Click to collapse
Not much use for non-Magisk TWRP I am afraid. So I am going back to Magisk with stock recovery for now since I chiely use Titanium backup.
I am on the ASE2 firmware and since this TWRP boots it up fine, I am assuming it is the same kernel version as used in the stock version since its source code was released recently. Hence, it might not work with other firmware but I am in no position to check that out.
t3chg33k said:
Not much use for non-Magisk TWRP I am afraid. So I am going back to Magisk with stock recovery for now since I chiely use Titanium backup.
I am on the ASE2 firmware and since this TWRP boots it up fine, I am assuming it is the same kernel version as used in the stock version since its source code was released recently. Hence, it might not work with other firmware but I am in no position to check that out.
Click to expand...
Click to collapse
I see. Then I'll be preserving my knox for the mean time until a stable and Magisk-able TWRP is available.
There is magisk with stock recovery? Can you tell me where can I find this thread? Also will this method trip your knox? Thanks.
zidane02 said:
I see. Then I'll be preserving my knox for the mean time until a stable and Magisk-able TWRP is available.
There is magisk with stock recovery? Can you tell me where can I find this thread? Also will this method trip your knox? Thanks.
Click to expand...
Click to collapse
You can always install Magisk with stock recovery for any firmware using topjohnwu's guide over here. However, Magisk installation will always trip Knox.
Also, TWRP might be helpful in flashing various patches, especially for GSI releases that you cannot do with the stock recovery.
t3chg33k said:
You can always install Magisk with stock recovery for any firmware using topjohnwu's guide over here. However, Magisk installation will always trip Knox.
Also, TWRP might be helpful in flashing various patches, especially for GSI releases that you cannot do with the stock recovery.
Click to expand...
Click to collapse
Thank you so much for the link. I'm good without TWRP for now, not a fan of GSI since many things are broken, magisk is what I really needed. Thanks again.
Eamo5 said:
Would you mind attaching the kernel source?
Click to expand...
Click to collapse
Good to see you here lol

Categories

Resources