Device status offical with TWRP ? - Galaxy S 5 Q&A, Help & Troubleshooting

Hi,
If I flash the default ROM with odin, my device status is official.
If I flash the TWRP recovery, my device status is custom.
Is there any way to have a device status official with TWRP installed?
This is the first step for me before rooting systemlessly.
I've got a default samsung 6.0.1 rom
Thanks!

No way to get "official" status on samsung bootloaders, and it can be ignored. If you flash magisk, you can have systemless root and bypass safetynet.

alexbelgium said:
Hi,
If I flash the default ROM with odin, my device status is official.
If I flash the TWRP recovery, my device status is custom.
Is there any way to have a device status official with TWRP installed?
This is the first step for me before rooting systemlessly.
I've got a default samsung 6.0.1 rom
Thanks!
Click to expand...
Click to collapse
install and flash stock kitkat rom through odin
full reboot and install towel root to root withoust pc and your knox will be still 0x0
use Rashr - Flash Tool it's available on play store to flash twrp recovery
boot into download mode and flash android mm BL and modem by odin
download
[ROM][G900F][ALEXNDR] * CQG1 * DevBase v4.3 * Multi CSC
and flas it from recovery
now you have stock mm ,twrp and official status (knox0x0)
NOTE: I didn't test that but it should work.

@Saber
Thanks I feared that... The only remaining way is to install xposed and wanam's module to fake the status. Well, I'll go that way.
My aim is to get samsung pay working, only to get back the beep'n'go features they have incorporated within.
For other users : it is not possible to pass safetynet with xposed installed, so it's a choice between safetynet and device status.
Have a nice day.

alexbelgium said:
@Saber
Thanks I feared that... The only remaining way is to install xposed and wanam's module to fake the status. Well, I'll go that way.
My aim is to get samsung pay working, only to get back the beep'n'go features they have incorporated within.
For other users : it is not possible to pass safetynet with xposed installed, so it's a choice between safetynet and device status.
Have a nice day.
Click to expand...
Click to collapse
Another tip: With wanam's touchwiz module, you're better off using firefds kit which is a modified variant of wanam's xtouchwiz module but is specifically for older touchwiz found in devices like ours. xtouchwiz while may work perfectly fine, is more generic so you lose device specific extras.

alexbelgium said:
@Saber
Thanks I feared that... The only remaining way is to install xposed and wanam's module to fake the status. Well, I'll go that way.
My aim is to get samsung pay working, only to get back the beep'n'go features they have incorporated within.
For other users : it is not possible to pass safetynet with xposed installed, so it's a choice between safetynet and device status.
Have a nice day.
Click to expand...
Click to collapse
Not true. You can hide xposed in the magisk settings to pass safetynet. And xposed has an unnoficial nougat build up now.

Related

[Guide][Xposed] Installing Traditional Xposed on Stock ROM

IMPORTANT UPDATE!!!
I have now updated the guide. We now use the official installer instead of the systemless installer due to a big change in the way the systemless image is handled (thanks to Magisk). If you have the old systemless version, you must remove it before installing the official Xposed. You can find a guide for that here. Alternatively, you can rebase your entire system on the new systemless Magisk system, for which I have a guide coming soon.
Getting Xposed up and running on this thing is pretty simple once you're rooted, but I got a request to make this, and I don't want anyone breaking their phone while they're trying to get it installed, so I made a guide.
Before you begin, you'll need your phone rooted with SuperSU (systemless root). This has been tested on V6.1 and V6.4 of the Amazon Prime edition BLU R1 HD, but I'm sure it will work on the non-Prime version too. You also must have TWRP installed. Not really sure how you got root without having TWRP, but you do need it.
As always, you're doing this at your own risk. It's not my fault if your phone gets bricked, damaged, or becomes sentient and plots with other Android devices to kill you and your cat.
With all that out of the way, let's get started here.
First, you need DVDandroid's Material Design Xposed installer. It's a really great alternative to the official Xposed installer and I prefer it on all my devices. You can download it from this thread.
After installing that, open it up. You'll be greeted with a screen telling you to be careful and that this could damage your device. Dismiss it.
Slide over to the official tab in the Xposed installer. We used to use the systemless version, but we can no longer use that one due to some changes that were recently made.
From the top dropdown, choose xposed-(version)-sdk23-arm, where (version) is replaced with the latest version of the file. This should be selected by default, but double check. Make absolutely sure that the ARM version is selected and NOT the ARM64 or x86 version. Flashing the wrong version could damage your phone.
Click Install/Update. Xposed installer will give you a few warnings and ask for root access, but at the end of it all, your phone will reboot.
The rest is automatic. Your phone will boot into TWRP, where it will run a couple scripts, and then reboot back into the system. The first boot process will take a long time, and might even loop once or twice. It will also rebuild the caches for every app on your phone, so it will take a while. Once it finally finishes, you should be booted to Android with Xposed framework enabled!
That's it! Install your favourite modules and play with your phone to your heart's content!
Also note that after performing these steps, your device will take a long time to boot up. The Xposed framework simply being initialized will make your phone take much longer to start up than normal. Every additional module you enable will also make your phone take a little longer to boot. You can disable the Xposed framework in the Xposed Status tab of the Xposed Installer using the switch at the top. This will disable Xposed and your phone will boot quickly again (without even removing Xposed!), so you can use this as a hotswitch for enabling/disabling Xposed (if that makes sense in your use-case). Removal of Xposed is also pretty straightforward. Just head over to the official tab in Xposed Installer and click the Uninstall button. I've never personally tried this because I see no reason for it, but I can't imagine why it would break anything.
This second post will be reserved for any notes I want to make about specific modules. If anyone discovers anything useful for this post, please let me know and I'll add it.
In GravityBox, enable "Force AOSP" in the About menu to fix a problem with several of the Statusbar Tweaks.
Some of Android N-ify's options don't work. Specifically, the Status bar header options cause the quick settings and notification panel header to become improperly layered, making it unusable. If anyone knows how to go about fixing this, please let me know. Disabling the options completely fixes it, but you lose the functionality. You will also want to disable all options in Notifications section to avoid the notifications panel looking awkward.
Having the GravityBox Miscellaneous option "Search bar visibility" set to "Hide and remove space" causes glitchy graphics when opening the recent apps/task manager. To correct this, set it to either "Default" or "Hide and keep space".
The following problems are the same issue manifesting in different ways.
Double tapping the overview key while only one app is opened and Android N-ify's "Quick switch" is on causes SystemUI to crash.
Tapping the overview key while the overview is already opened, only one app is opened, and Android N-ify "Recents button click behavior" is set to "Return to previous app" causes SystemUI to crash.
Tapping the overview key while the overview is already opened and Android N-ify's "Recents button click behavior" is set to "Cycle through apps" causes SystemUI to crash.
Side note, I hate the default clear all button (in the recent apps/task manager). It's ugly, takes up too much space, and is poorly positioned. If anyone knows of an Xposed module that can get rid of it completely (I can use a different one from either GravityBox or the best recent apps/task manager enhancer ever, Recently), or knows how to go about making such a module, please let me know. I would be grateful forever.
Just want to add that Xposed also works in V6.4. And also thanks for mentioning the unofficial Xposed installer app, the material design looks much better than the original
jasonmerc said:
Just want to add that Xposed also works in V6.4. And also thanks for mentioning the unofficial Xposed installer app, the material design looks much better than the original
Click to expand...
Click to collapse
Thanks. Updated the first post.
Wow, never used Xposed before but this is pretty neat. I've got the CM battery icon on my status bar.
Nice.
Thanks for the guide! Love using gravitybox to make the navbar smaller. Anybody know a way to make double tapping power button open camera?
I'm getting this error in twrp. Any ideas?
After I click install my phone reboots into TWRP but it does not run any scripts and xposed isn't installed. Any ideas why?
sporez said:
I'm getting this error in twrp. Any ideas?
Click to expand...
Click to collapse
twotonejuggler said:
After I click install my phone reboots into TWRP but it does not run any scripts and xposed isn't installed. Any ideas why?
Click to expand...
Click to collapse
Systemless Xposed is officially dead. Well, not really. Thanks to a new tool called Magisk, things have changed a lot, which means I will have to rewrite a good chunk of this guide. I will be writing a new guide talking about Magisk shortly, but for now, this guide is dead. Sorry.
I've updated the guide with instructions for installing official Xposed version, and I tested it. This guide is back in business. Now to work on that Magisk guide. Install away, @sporez @twotonejuggler!
Removing old systemless Xposed and re-installing official version.
Today, an update to the Xposed Installer was released. It should offer to update itelf when you open it. Please update the Xposed installer before uninstalling the old systemless Xposed package and installing the new one.
This will serve as the guide for removing systemless Xposed and installing the official Xposed package. If you would like to continue using systemless Xposed, you will have to get the Magisk framework, which I have a guide coming soon for, so please sit tight. It does require unrooting/restoring your phone, so don't get too attatched.
Make sure Xposed Installer is up to date. You need the 05/08/16 version or newer.
Switch to the systemless tab of Xposed installer, then click the Uninstall button. Accept the warnings, allow root access if required. Your phone will reboot to recovery, remove Xposed, and reboot back to Android. Xposed will be gone.
Reopen the Xposed Installer, switch to the official tab, verify that the selected framework is xposed-(version)-sdk23-arm (NOT any other version) and click Install/Update. Accept the warnings, allow root access if required. Your phone will reboot to recovery, then back to Android. It will rebuild the cache for all apps, so this first boot will take a long time.
You should be good to go.
ColtonDRG said:
I've updated the guide with instructions for installing official Xposed version, and I tested it. This guide is back in business. Now to work on that Magisk guide. Install away, @sporez @twotonejuggler!
Click to expand...
Click to collapse
Thank you! Followed the updated guide and it worked.
​
ColtonDRG said:
Today, an update to the Xposed Installer was released. It should offer to update itelf when you open it. Please update the Xposed installer before uninstalling the old systemless Xposed package and installing the new one.
This will serve as the guide for removing systemless Xposed and installing the official Xposed package. If you would like to continue using systemless Xposed, you will have to get the Magisk framework, which I have a guide coming soon for, so please sit tight. It does require unrooting/restoring your phone, so don't get too attatched.
Make sure Xposed Installer is up to date. You need the 05/08/16 version or newer.
Switch to the systemless tab of Xposed installer, then click the Uninstall button. Accept the warnings, allow root access if required. Your phone will reboot to recovery, remove Xposed, and reboot back to Android. Xposed will be gone.
Reopen the Xposed Installer, switch to the official tab, verify that the selected framework is xposed-(version)-sdk23-arm (NOT any other version) and click Install/Update. Accept the warnings, allow root access if required. Your phone will reboot to recovery, then back to Android. It will rebuild the cache for all apps, so this first boot will take a long time.
You should be good to go.
Click to expand...
Click to collapse
I tried doing this today, but it never completed in twrp. What am I doing wrong? When I look at the console, it says:
- Mounting /system(ro), /cache, /data
- Xposed version: 86.3 alt (Systemless by topjohnwu)
! Magisk is not installed
! Magisk is required for this mod!
Updater process ended with ERROR: 1
Error installing zip file '/cache/recovery/xposed-uninstaller-topjohnwu-20160804.zip'
Done processing script file
MTP Enabled
yaconsult said:
​I tried doing this today, but it never completed in twrp. What am I doing wrong? When I look at the console, it says:
- Mounting /system(ro), /cache, /data
- Xposed version: 86.3 alt (Systemless by topjohnwu)
! Magisk is not installed
! Magisk is required for this mod!
Updater process ended with ERROR: 1
Error installing zip file '/cache/recovery/xposed-uninstaller-topjohnwu-20160804.zip'
Done processing script file
MTP Enabled
Click to expand...
Click to collapse
same message here when i try to uninstall the xposed systemless... but i have systemless xposed version 86.2
Ok, I did some google searches and figured it out. I needed to install magisk and that required installing a different su. I, too, would like to understand the advantages of using official xposed vs systemless?
Here are some links for what I needed to do:
http://www.xda-developers.com/use-android-pay-with-xposed-without-rebooting-with-magisk/
http://forum.xda-developers.com/android/software/mod-magisk-v1-universal-systemless-t3432382
yaconsult said:
Ok, I did some google searches and figured it out. I needed to install magisk and that required installing a different su. I, too, would like to understand the advantages of using official xposed vs systemless?
Here are some links for what I needed to do:
http://www.xda-developers.com/use-android-pay-with-xposed-without-rebooting-with-magisk/
http://forum.xda-developers.com/android/software/mod-magisk-v1-universal-systemless-t3432382
Click to expand...
Click to collapse
reading about magisk, i think the only advantages of this is you can use android pay with xposed, but this device doesn't have nfc so... not useful here.
And to install magisk we need uninstall xposed and supersu to install magisk to uninstall xposed? lol
i think the only way to uninstall systemless xposed is reinstalling stock rom or not?
No, I didn't need to do anything besides install magisk and the supersu. After that, the uninstall of xposed from within the xposed installer is able to complete successfully. Then I was able to install the official version of xposed, reboot, and it was working again with all my gravitybox settings. I just don't know if I have gained or given up anything by switching from the systemless xposed to the official version!
yaconsult said:
No, I didn't need to do anything besides install magisk and the supersu. After that, the uninstall of xposed from within the xposed installer is able to complete successfully. Then I was able to install the official version of xposed, reboot, and it was working again with all my gravitybox settings. I just don't know if I have gained or given up anything by switching from the systemless xposed to the official version!
Click to expand...
Click to collapse
well the uninstaller didn't work with me we have to switch to official because the new version of systemless xposed require the magisk installed
yaconsult said:
I tried doing this today, but it never completed in twrp. What am I doing wrong? When I look at the console, it says:
- Mounting /system(ro), /cache, /data
- Xposed version: 86.3 alt (Systemless by topjohnwu)
! Magisk is not installed
! Magisk is required for this mod!
Updater process ended with ERROR: 1
Error installing zip file '/cache/recovery/xposed-uninstaller-topjohnwu-20160804.zip'
Done processing script file
MTP Enabled
Click to expand...
Click to collapse
Alex19Gam said:
same message here when i try to uninstall the xposed systemless... but i have systemless xposed version 86.2
Click to expand...
Click to collapse
yaconsult said:
Ok, I did some google searches and figured it out. I needed to install magisk and that required installing a different su. I, too, would like to understand the advantages of using official xposed vs systemless?
Here are some links for what I needed to do:
http://www.xda-developers.com/use-android-pay-with-xposed-without-rebooting-with-magisk/
http://forum.xda-developers.com/android/software/mod-magisk-v1-universal-systemless-t3432382
Click to expand...
Click to collapse
Alex19Gam said:
reading about magisk, i think the only advantages of this is you can use android pay with xposed, but this device doesn't have nfc so... not useful here.
And to install magisk we need uninstall xposed and supersu to install magisk to uninstall xposed? lol
i think the only way to uninstall systemless xposed is reinstalling stock rom or not?
Click to expand...
Click to collapse
yaconsult said:
No, I didn't need to do anything besides install magisk and the supersu. After that, the uninstall of xposed from within the xposed installer is able to complete successfully. Then I was able to install the official version of xposed, reboot, and it was working again with all my gravitybox settings. I just don't know if I have gained or given up anything by switching from the systemless xposed to the official version!
Click to expand...
Click to collapse
Alex19Gam said:
well the uninstaller didn't work with me we have to switch to official because the new version of systemless xposed require the magisk installed
Click to expand...
Click to collapse
Yikes! What a disaster. I'll have to make some changes. Sorry about all that.
Sent from my LG G4 using XDA Labs

Magisk, SuHide & Others.. What Works, what doesn't?

Hello!
Now after Google seems to be tweaking the hell out of its Safetynet (bootloader check and whatever) I was wondered where this will lead us to. Especially since our devices, at least the Exynos ones come with an unlocked bootloader..
I tried a dozen of combinations from the above named tools without any success, as my mobile banking app seem to rely on that crap now too since it's latest update (I can live without Pokemon go ) it got me all little worried.
What are your experiences, how did you lock out Safetynet, do you guys ignore it? So many questions regarding that topic. Feel free to leave any comment.. :good:
From what I understand all s7 come with bootloader locked by default but on exynos variant, it's unlockable with a "OEM Unlock" toggle in developer option. So normal user who don't root or modified the phone don't affect by new safetynet.
So if you don't need root, you can turn off OEM Unlock and flash back stock rom. But if you need root, there's no known method for now to bypass safetynet.
Sent from my SM-G935F using Tapatalk
I haven't been able to log in PokemonGO with my S7 and on my OnePlus One for the last 24 hours
Samsung Galaxy S7
TWRP 3.0.2-3
Superman ROM v1.14 (SELinux status [kernel]: Permissive)
Supersu v2.78-sr1 systemless
topjohnwu's Xposed v86.2 systemless
Suhide v0.55
06suhide
RootSwitch 1.2.4
Click to expand...
Click to collapse
EDIT: It now works with my OnePlus One (removed the 06suhide fix and ticked the "Stop all SU deamons" option in RootSwitch), but stills doesn't work with my S7
OnePlus One
TWRP 3.0.2.0
Official ROM Cyanogen OS v13.1.2 Android 6.0.1
SELinux Status: Enforcing
Supersu v2.78-sr1 systemless
Suhide v0.55
06suhide
+Added RootSwitch 1.2.4
Click to expand...
Click to collapse
I've heard they can now detect and block Custom Recovery. I don't think it's true.
I tried that Again now, using Hydra Kernel 1.7.1 without that modified Boot stuff. Removed SuperSu and Xposed, flashed the new Root Free Kernel and safetynet i's Not Flagged. The Main Problem for me (and many others) ist, that the Phone wont Boot after installing SuHide 0.5x! I've used the Not Flagged System as testbase, TWRP doesnt Alter it in any Way, but once i install either Magisk v8 or SuperSu 1.78R1 it gets Flagged Again.. So without SuHide, which doesnt Boot the Phone at All its worthless..

Magisk v11.6 compatible with Droid Turbo Stock ROM

I can confirm that Magisk v11.6 installs and appears to function perfectly on my stock, unrooted, bootloader unlocked MCG24.251-5-5 device. Also, MagiskHide is not enabled by default, so keep this in mind if you're using a work device or any other situation where you might get in trouble for failing safetynet. That's all I know so far.
Go forth and Magisk!!!
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Pics or it didn't happen
And last, but certainly not least...
So I can root without unlocking the bootloader using sunshine?
Sparksys said:
So I can root without unlocking the bootloader using sunshine?
Click to expand...
Click to collapse
No.
Sparksys said:
So I can root without unlocking the bootloader using sunshine?
Click to expand...
Click to collapse
No. Sunshine unlocks your bootloader, so you can then root.
Sparksys said:
So I can root without unlocking the bootloader using sunshine?
Click to expand...
Click to collapse
There will never be a free root for this device unless you develop it, so you can save yourself the time asking in so many different threads.
Can anyone tell me where you get the "magiskSU" app from I can't find it in that thread.
Tokogon said:
Can anyone tell me where you get the "magiskSU" app from I can't find it in that thread.
Click to expand...
Click to collapse
MagicSU is included with the Magisk package. You can enable or disable it using the Magisk Manager app once it is installed.
TheSt33v said:
MagicSU is included with the Magisk package. You can enable or disable it using the Magisk Manager app once it is installed.
Click to expand...
Click to collapse
Do you have a screenshot of where I can find it in settings? I've been searching for an hour and I've reset my phone twice and installed it but can't see it lol.
I want to play Pokemon Go so bad again.
Tokogon said:
Do you have a screenshot of where I can find it in settings? I've been searching for an hour and I've reset my phone twice and installed it but can't see it lol.
I want to play Pokemon Go so bad again.
Click to expand...
Click to collapse
Sorry, I was wrong about being able to disable it. There doesn't seem to be an option for that. But as long as Magisk Hide is enabled, Pokémon Go works fine for me.
More complicated question:
If I'm rooted via Computerfreek's debloated stock ROM, is there any point to running Magisk--and if so, how would I switch from SuperSU to MagicSU
y8s said:
More complicated question:
If I'm rooted via Computerfreek's debloated stock ROM, is there any point to running Magisk--and if so, how would I switch from SuperSU to MagicSU
Click to expand...
Click to collapse
The only advantage gained would be the ability to pass safetynet/use Android Pay/play pokemon go while rooted. To switch, uninstall SuperSU by selecting the full unroot option in the SuperSU app, then flash Magisk.
TheSt33v said:
The only advantage gained would be the ability to pass safetynet/use Android Pay/play pokemon go while rooted. To switch, uninstall SuperSU by selecting the full unroot option in the SuperSU app, then flash Magisk.
Click to expand...
Click to collapse
It's mostly for intellectual curiosity and maybe android pay.
But it didn't work--at least how I went about it.
I went into SuperSU and did a full unroot but did not restore the boot image (should I have?)
Then downloaded and flashed the latest 11.6 magisk
When the phone came back up, SU was gone but Magisk didn't re-root it. There were no options to do so.
Tried a second time and wiped caches but no change.
I'm going to go out on a limb and guess that Magisk needs the OG boot image to work properly?
y8s said:
It's mostly for intellectual curiosity and maybe android pay.
But it didn't work--at least how I went about it.
I went into SuperSU and did a full unroot but did not restore the boot image (should I have?)
Then downloaded and flashed the latest 11.6 magisk
When the phone came back up, SU was gone but Magisk didn't re-root it. There were no options to do so.
Tried a second time and wiped caches but no change.
I'm going to go out on a limb and guess that Magisk needs the OG boot image to work properly?
Click to expand...
Click to collapse
I installed it on stock MCG24.251-5-5 and Superuser is an option that appears in Magisk Manager. Yes, you should probably have the stock boot image before installing Magisk. I think the Magisk installer is designed to detect existing installations of SuperSU and not install its own superuser if it's detected, so if the full unroot didn't clean itself up properly for whatever reason, that might be why it didn't install with superuser.
It says:
...
-(Recommended) Restore your boot image back to stock
-Download the latest Magisk zip file
-If you choose to use SuperSU (only support Android 6.0+), first flash SuperSU in systemless mode
...
Which zip of super su should I flash therefore before flashing magisk zip?
I am currently, after restoring a backup, running your MGC stock with stock kernel, but I try installing bhb27s kernel now.
Ultimately I simply want to hide root+xPosed against my banking app...
€DIT: Wait, so SuperSUB may not be necessary, but is it safe to install magisk over bhb27s kernel?
I would do the following:
-Install newest v44 kernel from March, 12
-Reboot and look if Wi-Fi still works ...
-install Magisk 11.6
-Check if phone still works
-then install a working xposed
-Check if everything works
Is that correct or should I use another kernel version? I don't want another bootloop or damaged wifi^^
Einheit-101 said:
It says:
...
-(Recommended) Restore your boot image back to stock
-Download the latest Magisk zip file
-If you choose to use SuperSU (only support Android 6.0+), first flash SuperSU in systemless mode
...
Which zip of super su should I flash therefore before flashing magisk zip?
I am currently, after restoring a backup, running your MGC stock with stock kernel, but I try installing bhb27s kernel now.
Ultimately I simply want to hide root+xPosed against my banking app...
€DIT: Wait, so SuperSUB may not be necessary, but is it safe to install magisk over bhb27s kernel?
I would do the following:
-Install newest v44 kernel from March, 12
-Reboot and look if Wi-Fi still works ...
-install Magisk 11.6
-Check if phone still works
-then install a working xposed
-Check if everything works
Click to expand...
Click to collapse
I don't see any problems with that plan, but you should know that xposed will insta-fail safetynet. If you want to hide modifications from anything that uses safetynet, xposed in any form is not an option. The only thing that works for me is Magisk 11.6's built in root, no xposed, no other modifications. With that, I can use Android Pay, Pokemon Go and my banking apps just fine as long as Magisk Hide is turned on. Android Pay and PoGo are blocked by default, but you need to make sure to go in and manually check the box next to every other app that you want to hide stuff from.
Also, if you insist on using SuperSU instead of the built in Magisk root (why???), you will also have to install the latest version of suhide (and I'm not positive that works anymore).
.I did not exactly know Super SU is just an option so I will not install it. Wish me luck
Also I hope there will be a way to hide xPosed however my banking app does not use SafetyNet, there is still hope, I don't care about Pokemon Go.
€DIT::: Everything working perfect - however safetynet fails when checking with Magisks own test. I guess it detects the Bootloader?
€DIT2::: Now after another reboot safetynet is successfully bypassed. My banking app still doesn't work - looks like they found a way that is even better than safetynet.
I just haven't had time to dig up another boot.img and flash it. I might revert back to SuperSU and come back to this later.
Einheit-101 said:
.I did not exactly know Super SU is just an option so I will not install it. Wish me luck
Also I hope there will be a way to hide xPosed however my banking app does not use SafetyNet, there is still hope, I don't care about Pokemon Go.
€DIT::: Everything working perfect - however safetynet fails when checking with Magisks own test. I guess it detects the Bootloader?
€DIT2::: Now after another reboot safetynet is successfully bypassed. My banking app still doesn't work - looks like they found a way that is even better than safetynet.
Click to expand...
Click to collapse
Try clearing the data for your banking app. Maybe it's set up so that once it fails, it never checks again. Also, clear cache/dalvik cache in TWRP if you haven't already. Also also, did you remember to block the banking app in magisk hide?

Tried manually flashing firmware with fastboot and now no system

Ok so I've been having a hell of a time with this phone so far. I have the boost mobile variant (xt1766). I unlocked the bootloader, installed twrp, but forgot to make a backup before flashing supersu, after which my phone would no longer boot so I flashed lineageOS. It booted up fine but I had no 3g connection so I wanted to go back to stock. I downloaded the stock firmware, but couldn't get RSD lite to install on my computer so I extracted all the files and flashed them manually with fastboot. After that my phone wouldnt boot and TWRP couldnt mount the data partition so I couldnt restore my lineage backups. I had to format the data partition in order to restore from backup but now I have nothing on internal storage, and my phone wont boot into system unless I boot into factory mode from the bootloader. It boots up fine in factory mode but now I have no network connection, no service whatsoever.
Under sim status it says Network: unknown, cellular network type: unknown, Service state: Radio Off, etc. I tried manually turning the radio on but that didn't work. I really just want to go back to stock but I don't understand how to accomplish this. I flashed everything in the firmware package in the correct order, and somehow it just rendered my phone useless. any help would be much appreciated. I've tried just about everything and I'm at a loss here.
Update:
I successfully got back to stock. For some reason executing the fastboot commands manually one at a time didn't work so I made a bat file with all the proper commands, executed it, and this time it worked. Not sure why it didn't work the other way but it might be because I didn't flash the stock recovery so as not to replace TWRP. Apparently when flashing firmware its all or nothing.
Are there any custom ROMs with 3G functionality for this device? Cuz so far every single one I've tried gets no network connection but this stock ROM is lame.
AMShiech said:
Are there any custom ROMs with 3G functionality for this device? Cuz so far every single one I've tried gets no network connection but this stock ROM is lame.
Click to expand...
Click to collapse
Not "lame" unless that's the latest descriptor for a reliable, fully functional, device optimized ROM that just works. If you want additional bling/tweaks flash Xposed framework and a few well regarded modules like GravityBox.
Alternatively, you can cycle through the various custom ROMs and decide which suite of compromises you're willing to live with. Suggest a careful read of the relevant ROM thread before diving in. Be sure to backup what works (including stock!) and store those nandroids on a SD card and/or off-device.
Good luck.
AMShiech said:
Update:
I successfully got back to stock. For some reason executing the fastboot commands manually one at a time didn't work so I made a bat file with all the proper commands, executed it, and this time it worked. Not sure why it didn't work the other way but it might be because I didn't flash the stock recovery so as not to replace TWRP. Apparently when flashing firmware its all or nothing.
Are there any custom ROMs with 3G functionality for this device? Cuz so far every single one I've tried gets no network connection but this stock ROM is lame.
Click to expand...
Click to collapse
That's because you're on boost, not many ROMs here have CDMA support. There is a fix in the help section. But stock is fine for me. Gravitybox and all features of any of the broken unofficial ROMs are all there. Rock solid, and LTE. But flash away dude.
madbat99 said:
That's because you're on boost, not many ROMs here have CDMA support. There is a fix in the help section. But stock is fine for me. Gravitybox and all features of any of the broken unofficial ROMs are all there. Rock solid, and LTE. But flash away dude.
Click to expand...
Click to collapse
I haven't been able to install the Xposed framework. Xposed installer says my CPU architecture is incompatible. When I flashed Xposed v89 for nougat my phone wouldn't boot past the boost logo. I keep hearing about people getting Xposed working on this device but I can't figure out how they're doing it. I would love to be able to have gravity box on this ROM.
Apparently the purityOS guys made an unofficial work around a while back but all the download links in that thread are dead and I can't find it anywhere else. It's my understanding that i need to be able to set selinux to permissive on boot in order to install Xposed.
AMShiech said:
I haven't been able to install the Xposed framework. Xposed installer says my CPU architecture is incompatible. When I flashed Xposed v89 for nougat my phone wouldn't boot past the boost logo. I keep hearing about people getting Xposed working on this device but I can't figure out how they're doing it. I would love to be able to have gravity box on this ROM.
Apparently the purityOS guys made an unofficial work around a while back but all the download links in that thread are dead and I can't find it anywhere else. It's my understanding that i need to be able to set selinux to permissive on boot in order to install Xposed.
Click to expand...
Click to collapse
No, regular Xposed. Wipe cache and dalvik, and wait. Let it sit 5 - 10 minutes. It has to optimize everything. Make sure it's the arm build. It works fine, just gotta let it sit. First boot takes a good bit.
Or use magisk, and install Xposed through that.
Do not use that old purity crap. That's why the links are dead. It's old crap. Xposed works fine with no extra steps or messing with selinux.
AMShiech said:
I haven't been able to install the Xposed framework. Xposed installer says my CPU architecture is incompatible. When I flashed Xposed v89 for nougat my phone wouldn't boot past the boost logo. I keep hearing about people getting Xposed working on this device but I can't figure out how they're doing it. I would love to be able to have gravity box on this ROM.
Apparently the purityOS guys made an unofficial work around a while back but all the download links in that thread are dead and I can't find it anywhere else. It's my understanding that i need to be able to set selinux to permissive on boot in order to install Xposed.
Click to expand...
Click to collapse
That's BS; don't overcomplicate things. Xposed framework installs fine in enforcing mode. Make sure you have the correct framework for Android 7.1 (SDK 25) and your hardware (arm). You will also need the corresponding management app. There is no need to wipe anything before/after flashing the framework although doing so can't hurt. First boot will take awhile; patience is a virtue.
Got Xposed working now with gravitybox and edge in full effect so this stock ROM is now much more tolerable. I guess I had the wrong version of Xposed installer and didn't wait long enough for boot to finish.
It broke safetynet though which I fully expected. I'd rather use the systemless Xposed magisk module so I can pass safetynet but I can't get any magisk modules to install successfully either through magisk or by flashing with TWRP. Apparently I'm not the only one having this issue either and it doesn't look like anyone has found a fix for it as of yet. I guess for now I'll have to live without Pokemon go lol
AMShiech said:
Got Xposed working now with gravitybox and edge in full effect so this stock ROM is now much more tolerable. I guess I had the wrong version of Xposed installer and didn't wait long enough for boot to finish.
It broke safetynet though which I fully expected. I'd rather use the systemless Xposed magisk module so I can pass safetynet but I can't get any magisk modules to install successfully either through magisk or by flashing with TWRP. Apparently I'm not the only one having this issue either and it doesn't look like anyone has found a fix for it as of yet. I guess for now I'll have to live without Pokemon go lol
Click to expand...
Click to collapse
Well yes there is most definitely a fix. Your problem is the f2fs loopback bug. Your solution is the f2fs loopback bug workaround module. It's in the magisk manager app. Download there, but install it in twrp. Then magisk modules will work. You must have halted your research a little early because this is well known, and posted in many places.
You still won't pass safetynet with systemless Xposed. Which a little reading would have also revealed. But, you can turn off Xposed in magisk , then reboot and pass safetynet. Do whatever it is you need safetynet for, then turn it back on and reboot. You must completely uninstall the Xposed you have to use magisk Xposed. You must use the Xposed installer APK that's linked in Xposed for magisk so it recognizes systemless Xposed. So uninstall Xposed with uninstaller zip, uninstall Xposed APK. Wipe caches. Then you can just go in magisk manager, scroll to the bottom of downloads, install Xposed sdk 25 module. Also Xposed installer APK linked 8n the readme that pops up when you click the Xposed module in magisk downloads. See screenshots below.
Also, there is more to pogo than safetynet. There is an entire thread devoted to it (more than one) in the magisk section of the forum.
You have a bit of reading to do in order to do the things you want. It's all very easy to find. You don't seem to be looking very hard.
madbat99 said:
Well yes there is most definitely a fix. Your problem is the f2fs loopback bug. Your solution is the f2fs loopback bug workaround module. It's in the magisk manager app. Download there, but install it in twrp. Then magisk modules will work. You must have halted your research a little early because this is well known, and posted in many places.
You still won't pass safetynet with systemless Xposed. Which a little reading would have also revealed. But, you can turn off Xposed in magisk , then reboot and pass safetynet. Do whatever it is you need safetynet for, then turn it back on and reboot. You must completely uninstall the Xposed you have to use magisk Xposed. You must use the Xposed installer APK that's linked in Xposed for magisk so it recognizes systemless Xposed. So uninstall Xposed with uninstaller zip, uninstall Xposed APK. Wipe caches. Then you can just go in magisk manager, scroll to the bottom of downloads, install Xposed sdk 25 module. Also Xposed installer APK linked 8n the readme that pops up when you click the Xposed module in magisk downloads. See screenshots below.
Also, there is more to pogo than safetynet. There is an entire thread devoted to it (more than one) in the magisk section of the forum.
You have a bit of reading to do in order to do the things you want. It's all very easy to find. You don't seem to be looking very hard.
Also I certainly hope that's not the app I think it is (the smiley face)? You're not allowed to promote or speak of that "warez" here. So screenshot is not a great idea.
Click to expand...
Click to collapse
I'm well aware that the problem is f2fs loopback but due to the bug I'm unable to install the fix. Can't install magisk modules so a fix in the form of a magisk module doesn't really help me. Ive tried installing it with TWRP a couple times with no success. As far as PoGo I've actually never even played that game. Was just curious about it.
And I'm not sure what app you're referring to but that "wow" face is a chrome shortcut. Changed it cuz I didn't like the default grey square.
AMShiech said:
I'm well aware that the problem is f2fs loopback but due to the bug I'm unable to install the fix. Can't install magisk modules so a fix in the form of a magisk module doesn't really help me. As far as PoGo I've actually never even played that game. Was just curious about it.
Click to expand...
Click to collapse
Trend continues; reread post you're disparaging. Or module OP. f2fs loopback 'fix' gets flashed in twrp or via fastboot (for the adventurous).
I edited my post shortly after your quote. Tried installing with TWRP more than once. Doesn't show up in magisk modules.
Just flashed with fastboot and now it seems to have worked. Fastboot for the win.
Maybe all caps will help out
go inside magisk manager> downloads search F2FS LOOPBACK BUG WORKAROUND, FLASH INSIDE TWRP!!! WILL NOT WORK IF ATTEMPTED TO FLASH THROUGH MAGISK MANAGER!!!!

[Q] Is there a stock unrooted debloated ROM?

I'm planning to use this phone as a dedicated gaming device but there are games that still won't work even with magisk hide. Thanks!
If your N4 doesn't pass "Safety Net Check" that might be the reason. Download an app from Google PS to find out if Magisk Hide works as intend. If you have Xposed framwork or a permissive custom kernel, chances are you will not pass saftey Net Checks.
I know for my n910p there are stock debloated roms. Another option is to install TWRP on a stock rom and flash a debload scrip .zip.

Categories

Resources