How to Flash Samsung in "MDM Mode" ??????????? - Android Q&A, Help & Troubleshooting

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??

Related

Did i brick it? Stuck in CM10 loop

i just rooted for the 1st time with cwm then i was able to switch it to twrp. then i made a backup, then installed CM10. but i failed badly...i never deleted the 2 caches.
nor did i wipe it / reset it, for fear i would lose all my settings/apps/contacts/etc... i know i have the backup but i still didn't think it was necessary.
can anyone tell me where i go from here?
i tried holding down all 3 buttons, it just vibrates, then reboots and starts the loop again. i went into recovery mode with vol down & power buttons. since i don't have a tar file for twrp, i had to go with the tar file from odin. then it rebooted but it went back to the loop.
i just pulled the battery out and let it sit for a minute. turned it on and it is still CM10 looping.
thanks in advance for any advice!
ARTAQaf said:
i just rooted for the 1st time with cwm then i was able to switch it to twrp. then i made a backup, then installed CM10. but i failed badly...i never deleted the 2 caches.
nor did i wipe it / reset it, for fear i would lose all my settings/apps/contacts/etc... i know i have the backup but i still didn't think it was necessary.
can anyone tell me where i go from here?
i tried holding down all 3 buttons, it just vibrates, then reboots and starts the loop again. i went into recovery mode with vol down & power buttons. since i don't have a tar file for twrp, i had to go with the tar file from odin. then it rebooted but it went back to the loop.
i just pulled the battery out and let it sit for a minute. turned it on and it is still CM10 looping.
thanks in advance for any advice!
Click to expand...
Click to collapse
You can try using odin and flashing the twrp tar file and you can find that here.
or you can use kies to do an emergency firmware update. It will blitz everything on your phone (except your external memory) and reinstall android version 4.1.2. Then you can root properly and know nothing is botched up.
To update to latest firmware (from any rom even rooted)
1. On a PC open http://www.samsung.com/us/kies/
2. Click Download for windows
3. Install Kies
4. Open Kies
5. Write down serial number of phone device (it's under battery)
6. Plug in phone to PC and power up phone while HOLDING volume down
7. Once you see the download screen on phone press volume up
8. On PC in Kies click "tools - Firmware Upgrade and Initialization"
9. Type in SGH-I717 (all caps)
10. Type in serial number
11. Follow directions
12. Once phone reboots you will have the latest OFFICIAL AT&T firmware (JB 4.1.2 as of 6-1-2013)
13. Perform a factory data reset before proceeding (it helps it run smoother)
14. Type in google info and enjoy!
To root the stock 4.1.2 rom
1. Use Odin 1.85 in Admin Mode for Windows users.
2. Install TWRP 2.5 via PDA settings.
3. Reboot phone into Recovery.
4. Install SuperSU via the Zip.
5. Reboot phone and Presto!
Your now on the latest software for the i717, rooted, and have twrp recovery installed. Enjoy or flash any rom of your choice!
440bro said:
You can try using odin and flashing the twrp tar file and you can find that here.
or you can use kies to do an emergency firmware update. It will blitz everything on your phone (except your external memory) and reinstall android version 4.1.2. Then you can root properly and know nothing is botched up.
To update to latest firmware (from any rom even rooted)
1. On a PC open http://www.samsung.com/us/kies/
2. Click Download for windows
3. Install Kies
4. Open Kies
5. Write down serial number of phone device (it's under battery)
6. Plug in phone to PC and power up phone while HOLDING volume down
7. Once you see the download screen on phone press volume up
8. On PC in Kies click "tools - Firmware Upgrade and Initialization"
9. Type in SGH-I717 (all caps)
10. Type in serial number
11. Follow directions
12. Once phone reboots you will have the latest OFFICIAL AT&T firmware (JB 4.1.2 as of 6-1-2013)
13. Perform a factory data reset before proceeding (it helps it run smoother)
14. Type in google info and enjoy!
To root the stock 4.1.2 rom
1. Use Odin 1.85 in Admin Mode for Windows users.
2. Install TWRP 2.5 via PDA settings.
3. Reboot phone into Recovery.
4. Install SuperSU via the Zip.
5. Reboot phone and Presto!
Your now on the latest software for the i717, rooted, and have twrp recovery installed. Enjoy or flash any rom of your choice!
Click to expand...
Click to collapse
thanks! being a noob, when i goto the teamwin link i download the only 2 downloads they have there...1 is the goo zip the other says it's the twrp zip. i put them in a twrp folder i made and unzip them both there (since i am not sure which is neededwith 7zip. when i go into odin mode, i click pda and when it goes to open the needed file in that twrp folder i made it only sees an MD5 file and when i click that, odin freezes (Not Responding) and i have to force it closed. am i missing something?
thankx in advance for any assistance :cyclops:
ARTAQaf said:
thanks! being a noob, when i goto the teamwin link i download the only 2 downloads they have there...1 is the goo zip the other says it's the twrp zip. i put them in a twrp folder i made and unzip them both there (since i am not sure which is neededwith 7zip. when i go into odin mode, i click pda and when it goes to open the needed file in that twrp folder i made it only sees an MD5 file and when i click that, odin freezes (Not Responding) and i have to force it closed. am i missing something?
thankx in advance for any assistance :cyclops:
Click to expand...
Click to collapse
I see more than 2 options for downloads in twrp. The one you should be using with odin is this one http://goo.im/devs/OpenRecovery/sgh-i717/openrecovery-twrp-2.5.0.0-quincyatt.img.tar
don't unzip, open, or do anything with it. Just place it in the PDA section of odin and hit start.
If that fails use kies.
that file i cant find on the link, but thanks 440!!! Odin would get stuck at "Setup connection," so it wasn't working. tried it again and it said it did work, "passed," but still no changes from tthe CM10 loop.
i was desperate not to use Kies and lose everything. so i started messing around with different buttons. i pressed and held both volume buttons and power button again...it powered off and nothing. tried it again and this time i saw the teamwin logo!! i was able to then click restore on the Gnote's screen and now it is restoring my twrp back up from yesterday. i guess that last attempt on Odin paid off.
just rebooted it and voila, all is perfect again.
thanks for your quick assistance 440!!! :good::good::good:
so now if i try CM10 again, when i "wipe" it (i think that is the wording) will that wipe all my txt's, call history, photos, contacts, S memo's, etc...???
ARTAQaf said:
that file i cant find on the link, but thanks 440!!! Odin would get stuck at "Setup connection," so it wasn't working. tried it again and it said it did work, "passed," but still no changes from tthe CM10 loop.
i was desperate not to use Kies and lose everything. so i started messing around with different buttons. i pressed and held both volume buttons and power button again...it powered off and nothing. tried it again and this time i saw the teamwin logo!! i was able to then click restore on the Gnote's screen and now it is restoring my twrp back up from yesterday. i guess that last attempt on Odin paid off.
just rebooted it and voila, all is perfect again.
thanks for your quick assistance 440!!! :good::good::good:
so now if i try CM10 again, when i "wipe" it (i think that is the wording) will that wipe all my txt's, call history, photos, contacts, S memo's, etc...???
Click to expand...
Click to collapse
Before you wipe make sure to do a complete back up, download sms backup or super backup to back up contacts, texts etc... Download app2zip or Titanium to back up your apps.
Here's the process I go through each time. Each time you will lose everything but is safer and have a better chance of not failing:
In TWRP
Factory reset
Wipe System
Wipe cache and dalvik cache
Install your rom and the gapps
Wipe cache and dalvik again
reboot and let the phone sit for about 10mins, then reboot again and all should be good.
Once phone is up and running, if you did app2zip to back up your apps, you have to go back into recovery and flash that zip and install the backups from sms backup or super backup for your contacts, texts etc....
Hope that helped some.

[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

help s2 i777 brick

hello friends I have a problem with my s2, is that recently had cm 10.2 and they were giving me problems the gapps then I recommended re-they install gapas, is that hize but mistakenly install gapps that were not then when lit would not let go when the phone boot configuration came out I went out and pulled me wrong, I thought of reinstlar again but this time let me not get into recovery mode (rare) good then wanted to try the last SamMobile stock and with odin and now flashe not pass the screen of at & t, and does not enter recovery mode still only download mode, and been reading and what I see I q flash a rom 3 files for q re-partition is made and is clean, any suggestions?
You posted in two forums. Please do not double post. One is sufficient.
No need to repartition.
Do not repartition.
Enter recovery - hold all three buttons, (power, volume up, volume down) continuously until the boot screen appears the second time, then release.
Perform a wipe data/factory reset. If your phone boots, you are done...
If you are still unable to enter recovery, re-flash the stock firmware:
Download Odin3 v1.85.
Download I777UCMD8_I777ATTMD8_I777UCMD8_HOME.tar.md5.7z.
Extract I777UCMD8_I777ATTMD8_I777UCMD8_HOME.tar.md5 from the 7z archive, and flash in the PDA slot of Odin3 v1.85.
Then enter recovery and perform a wipe data/factory reset.
thanks, sorry
but I re-flash with odin and the firmware but still do not go to recovery mode and then flash the screen stays on at&t log i need to enter recovery mode
xomarcr said:
thanks, sorry
but I re-flash with odin and the firmware but still do not go to recovery mode and then flash the screen stays on at&t log i need to enter recovery mode
Click to expand...
Click to collapse
Did you follow my instruction for getting into recovery?
If you flash the stock firmware that I linked above, and you got a pass, then you should be able to get into recovery.
If you are unable to get into recovery, then either you are doing something wrong, or the phone has some sort of internal damage.
if I did I think I have the boot porblem

Root Kernel for T900 TouchWiz 5.1.1 Stealthee-Kernel

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.

[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