Custom rom question - Android Q&A, Help & Troubleshooting

Does it matter what version the rom is when flashing as long as it matches my model number? I read online sometimes if you downgrade the stock firmware you can risk bricking. My phone is a Samsung J3 Emerge (Sprint - SM-J327P). The reason I want a custom rom is to find one with an updated kernel. Apparently magisk needs a kernel version of 3.8+ for some features to work properly which is more than likely why my safetynet fails . Also trying to select something in magisk hide deselects itself when going back.
Flashing a modified boot.img with magisk to my phone trips the knox counter and says I'm running a custom binary. Would this be the reason safetynet breaks? Because as soon as I restore images in magisk and reboot, safety passes with flying colors. Is it possible to have a custom rom with magisk that passes safetynet?
I'm new to the forums and have never really asked for help as I was able to find pretty much everything from Google searching. Main reason I'm doing this is because I'd like my device rooted while passing safetynet.

Related

Android Pay - How to get working?

I'm running 47A from here:
http://forum.xda-developers.com/ver...t/vs985-46a-stock-flashable-firmware-t3304365
It's got systemless root, I'm using SuperSU and I have TWRP installed. No xposed.
I really don't want to use xposed/magisk and I'm probably willing to lose root (would be nice if it was temporary vs permanent).
If I uncheck enable superuser in SuperSU and reboot, Android Pay still doesn't work.
So what exactly do I need to do in order to get Android Pay working?
lexluthor said:
I'm running 47A from here:
http://forum.xda-developers.com/ver...t/vs985-46a-stock-flashable-firmware-t3304365
It's got systemless root, I'm using SuperSU and I have TWRP installed. No xposed.
I really don't want to use xposed/magisk and I'm probably willing to lose root (would be nice if it was temporary vs permanent).
If I uncheck enable superuser in SuperSU and reboot, Android Pay still doesn't work.
So what exactly do I need to do in order to get Android Pay working?
Click to expand...
Click to collapse
I'm not rooted (anymore), but with bumped TWRP and SuperSU, apparently you can work around this. It appears PokeMon GO is blocking rooted users due to people spoofing their GPS location via Xposed modules, etc. This article explains how to flash something called Magisk that apparently works for both Pokemon GO as well as Android Pay. Again, I'm not rooted so I have no idea if this will work or not, but he lays out the instructions pretty well. I believe that since you are already rooted and bumped with TWRP, and no Xposed, you just need to obtain Magisk and flash from within TWRP.
http://www.androidpolice.com/2016/09/11/guide-play-pokemon-go-0-37-rooted-android-magisk/
Hope this helps. I just happen to come across this article in my Feedly feed and remembered reading your post, so hopefully this helps you.
Let us know!
iBolski said:
I'm not rooted (anymore), but with bumped TWRP and SuperSU, apparently you can work around this. It appears PokeMon GO is blocking rooted users due to people spoofing their GPS location via Xposed modules, etc. This article explains how to flash something called Magisk that apparently works for both Pokemon GO as well as Android Pay. Again, I'm not rooted so I have no idea if this will work or not, but he lays out the instructions pretty well. I believe that since you are already rooted and bumped with TWRP, and no Xposed, you just need to obtain Magisk and flash from within TWRP.
Hope this helps. I just happen to come across this article in my Feedly feed and remembered reading your post, so hopefully this helps you.
Let us know!
Click to expand...
Click to collapse
Hi iBolski,
Did you mean to include a link to an article about installing Magisk with an Verizon LG G3?
I've been looking for a way to install a stock unrooted rom for days but have been coming up short. Magisk would be ideal but I can't seem to find any threads that have a stock (unrooted) firmware image or a guide on how to unroot a pre-rooted firmware. I wish a tutorial specifically for a Bumped VS985 existed to set up a stock firmware or other ROM with Magisk because I have been having trouble piecing information together and am nervous about causing problems with my phone!
If anyone else has a Bump'd VS985 Verizon LG G3 with TWRP installed that is either unrooted or have Magisk running successfully with Android Pay or Pokemon GO, please let us know how you did it!
Thanks!!
EDIT: I just noticed that you yourself are running stock unrooted 46A iBolski... do you have TWRP installed or are you fully stock and accepted an OTA? If TWRP, does Android Pay or Pokemon Go work for you? And how'd ya get to where you are?
eagle132 said:
Hi iBolski,
Did you mean to include a link to an article about installing Magisk with an Verizon LG G3?
I've been looking for a way to install a stock unrooted rom for days but have been coming up short. Magisk would be ideal but I can't seem to find any threads that have a stock (unrooted) firmware image or a guide on how to unroot a pre-rooted firmware. I wish a tutorial specifically for a Bumped VS985 existed to set up a stock firmware or other ROM with Magisk because I have been having trouble piecing information together and am nervous about causing problems with my phone!
If anyone else has a Bump'd VS985 Verizon LG G3 with TWRP installed that is either unrooted or have Magisk running successfully with Android Pay or Pokemon GO, please let us know how you did it!
Thanks!!
EDIT: I just noticed that you yourself are running stock unrooted 46A iBolski... do you have TWRP installed or are you fully stock and accepted an OTA? If TWRP, does Android Pay or Pokemon Go work for you? And how'd ya get to where you are?
Click to expand...
Click to collapse
Sorry about forgetting the link. I updated my previous reply with the article in question.
As to your answer, I do not have TWRP installed. I do have all the official OTAs applied.
iBolski said:
Sorry about forgetting the link. I updated my previous reply with the article in question.
As to your answer, I do not have TWRP installed. I do have all the official OTAs applied.
Click to expand...
Click to collapse
Thanks for updating with the link. I did see that guide but am unsure about how to handle it with BUMP and what ROMs it works with.
If anyone else has a stock unrooted ROM or working Magisk with their TWRP/BUMP'd G3... please let us know!
eagle132 said:
Thanks for updating with the link. I did see that guide but am unsure about how to handle it with BUMP and what ROMs it works with.
If anyone else has a stock unrooted ROM or working Magisk with their TWRP/BUMP'd G3... please let us know!
Click to expand...
Click to collapse
As a follow up to my own post, I was able to pass the SafetyNet check (I used SafetyNet Helper from the Play Store to check) on my CloudyG3 2.5 LG G3 VS985. This was not without it's negatives however (no Xposed or root).
I simply flashed the Xposed Uninstaller and uninstalled the app, then from within the SuperSU app settings selected the option to permanently unroot. I did of course make a nandroid backup before doing this so restoring will not be an issue, but I do now get a green screen / pass to SafetyNet which should mean Android Pay and Pokemon Go will work.
eagle132 said:
As a follow up to my own post, I was able to pass the SafetyNet check (I used SafetyNet Helper from the Play Store to check) on my CloudyG3 2.5 LG G3 VS985. This was not without it's negatives however (no Xposed or root).
I simply flashed the Xposed Uninstaller and uninstalled the app, then from within the SuperSU app settings selected the option to permanently unroot. I did of course make a nandroid backup before doing this so restoring will not be an issue, but I do now get a green screen / pass to SafetyNet which should mean Android Pay and Pokemon Go will work.
Click to expand...
Click to collapse
Did you try Magisk at all? I am on Jasmine ROM (Android 5.1.1) and would love a way to still have Root & Xposed, but be able to pass SafetyNet for PokemonGO and Wallet
Question on XDABBEB's VS985 ROM
Considering that this phone will probably see no more OTA's, I'm ready to go back to root, but I don't want to break Android Pay. Also, I'm not going to use Kingroot. Don't trust it. So, I'll TOT back to 10B to flash XDABBEB VS985 ROM. But i have some questions regarding it (I haven't ran a custom ROM in almost a year).
Does anyone know if removing SuperSU from XDABBEB VS985 ROM will allow Android Pay to work? Curious if so, otherwise, I'll probably just stick with my stock 48A unrooted phone in order to keep Android Pay.
I also miss TiBu as my backup tool. Yes, LG Backup is nice and all, but TiBu is so much more flexible, including the scheduled backups that I like to do as well as pushing to my Google Drive for backing up the files. Also, TiBu doesn't store it in one giant backup file. I really wish LG Backup would store each app as a separate file, rather than one giant, humongous file. Also, if I do upgrade to a new phone that's not LG, LG Backup won't work for me, so I'll need TiBu (and of course, I have to make sure the new phone is rootable).
Thanks!
While I have not tried this (I plan to try magisk later this week) supposedly Reddit says we can use this bump script after applying magisk in order to make everything will boot. I'm reading mixed comments about if/which certain bootloader is needed to have this work (KitKat vs Lollipop vs Marshmallow) or which ROM to start with as a base (though I saw CM 13 mentioned). If anyone tries this, let me know. I'll post my results in the coming days.

Magisk support or this phone dies.

Netflix no longer works for me as Google SafetyNet DRM detects root (SuperSU, busybox, and unlocked bootloaders). Currently, the only work around is Magisk hide, which means you need johnwu systemless root using MagiskSU and the Magisk framework flashed. There is a major snag for the G3 however, due to bump. Bump is what allows a custom bootloader to be accepted. MagiskSU and framework work by modifying the boot.img to mount a hidden partition. With stock ROMs above 5.1.1, you cannot just bump the modified boot image as it causes flashing red and blue lights and bootloader not to verify correctly.
I could switch to a different ROM like Cyanogenmod and use a bump script to get it to work (complicated and unwanted). Developer support is lacking at the moment, so I am not holding my breath. Not to mention, SafetyNet will keep evolving and leave this method behind eventually. The future is likely in a temp root solution just to apply system-less modules and ad-blocking as rooted users become more persecuted by major services.
Even so, I would love a method of using Magisk hide currently while staying on stock MM if possible.
Oh no! I had no idea Magisk wasn't working for stock roms.
I was just looking it up because I got the dreaded screen dying issue (paper fix is working for now) and was thinking of starting over with a new G3 and putting Magisk on it.
I guess I'll have to use a custom ROM if I do that? Are there any that can pass SafetyNet?
davidgro said:
Oh no! I had no idea Magisk wasn't working for stock roms.
I was just looking it up because I got the dreaded screen dying issue (paper fix is working for now) and was thinking of starting over with a new G3 and putting Magisk on it.
I guess I'll have to use a custom ROM if I do that? Are there any that can pass SafetyNet?
Click to expand...
Click to collapse
CyanogenMod works with magisk I've heard.
manaox2 said:
CyanogenMod works with magisk I've heard.
Click to expand...
Click to collapse
Turns out Fulmics does too! That's what I'm using on my new phone.

Help going from Unrooted > Rooted > Unrooted

Hey guys, I've been lurking on the XZ5C forums for over a year now, and I've learned so much from this community. I have no problems rooting the phone through Rootkernel, Magisk, and even manually now, and I have you guys to thank for that.
However, with the introduction of the SafetyNet API being injected into more and more apps (Android Pay, Pokemon Go, Netflix, Snapchat) its becoming harder to keep my daily driver rooted. It is very important to me that I pass the SafetyNet check, and my only desire for root is to debloat, and do a bit of Substratum Theming. (Not trying to run Xposed or a custom ROM here.) So for this purpose, a temp root / systemless root would work just fine. The issue has been that in order to install either of these, I've needed a custom recovery, and custom recovery needs a custom kernel - which trips SafetyNet.
Can anyone give me any advice? I've got a clean installation of Marshmallow 32.2.A.5.11, and access to a variety of root management tools. I basically just need someone with a thorough understanding of the SafetyNet API to tell me how to avoid triggering it while the temp root is achieved, or at least, how to pass again after the temp root has been removed.
Right now I'm leaning toward Magisk as my root method, but how can I install it without affecting the stock kernel?
In the meantime, I will also be looking into this method, but I would prefer to be completely unrooted so I am immune to SafetyNet updates in the future as well.
Thanks in advance!

I have some questions about after rooting

I started to think about rooting my g960f, it is a week year old device and the ads in apps annoys me so much. I will be using root to disable bixby through root uninstaller, if you have any other suggestions please tell. also I will be using mother of adblock, if you have any other suggestions please tell. I still have some questions.
- Is there any way to root the phone without custom recovery?
- will I be able to install system updates if I root the phone? if not how am I supposed to install them when the device is rooted?
- will it lose any of its features? if yes, which features?
- will I be able to go full stock again and gain all the lost features back?
I wont be installing custom rom as I already liked the stock rom but it needs some modification. I am sure that most of the people has the same questions in their minds so your answers would help many.
Pandemicc said:
- will I be able to install system updates if I root the phone? if not how am I supposed to install them when the device is rooted?
Click to expand...
Click to collapse
As long as all you did was root the phone and did not change the OS to a custom one you should be able to get OTA updates. You should be able to install OTA updates normally, but you will loose the root install and have to do it again. Since OTA updates may patch any exploits a root install tool may use you might not be able to root the phone again (at least not until the root utility is updated to use a different method) after an update, so keep that in mind.
Pandemicc said:
- will it lose any of its features? if yes, which features?
Click to expand...
Click to collapse
Once you root you might very well trip Knox. If Knox is tripped Samsung Pay, Secure folders is what I can find Google Searching and searching the forum here as what wouldn't work Samsung app wise. S-Health would also stop working, but I've read about potential ways to make S-health work again. I am not sure if those ways still work or not.
Other apps (financial, etc) may not work if the phone is rooted..
Pandemicc said:
- will I be able to go full stock again and gain all the lost features back?
Click to expand...
Click to collapse
Sort of... Knox secure apps like S-health, Secure Folders, Samsung Pay will not work. Once you trip knox they will not work on the device ever again. This is because once knox is tripped it is tripped, it's a hardware e-fuse. You can not fix it nor reset it.
Other apps that just detected whether root is installed (or being used) should return to normal
thank you so much for the reply, lastly do you any suggestion for rooting? like the best way of doing it or use this guide and such.
Why root the device? You can use Adhell3 and block all the ads using knox itself
Pandemicc said:
thank you so much for the reply, lastly do you any suggestion for rooting? like the best way of doing it or use this guide and such.
Click to expand...
Click to collapse
Personally I don't have a suggestion on a root method for your phone, but I do suggest you do some research on the subject. You can also look in the Galaxy S9 topic on XDA as that is the model you said you were using (G960F). In all honesty your gonna want to read up on what the process entails, what issues you might encounter and the risks involved... This is kind of a one way trip (metaphorically and essentially literally speaking) because if you trip knox (which you most likely will) you will void any warranty as well as permanently loose rather useful functionality on the phone (Samsung pay does come in handy IMHO). Not to mention root weakens the security of the phone and if your not careful you could (not saying you will, but could) run into a lot of problems.
Granted I am not saying you shouldn't root your phone but I am suggesting that in your case there is a more simpler method of doing what you want to do. Adhell3 was suggested and it's an app I use as well. Adhell3 will allow you to configure knox to do what you are seeking.. Knox can be configured to serve as a system wide ad blocking and it can be used as a way to disable apps on the phone (including bixby). There is more it can do, but I would suggest reading up on it (I can't give you all the answers, your gonna have to discover them also). Since your not trying to install an custom OS or changing cpu governors, cpu frequencies or anything Xposed related I would suggest looking into Adhell3 since that will do what you want without messing with Knox (or any potential issues with your phone from rooting). Also Adhell3 is not a permanent change to the phone, it can be fully removed, it doesn't weaken the security of the phone by allowing root access to the Android OS and file system on the phone and it will survive OTA updates.
Also if your looking to cut down on advertisements in applications I would suggest not installing as many.. Adblocking whether by hosts file or Adhell3 works by blocking the dns lookup of an advertisement. Both methods are not 100% perfect because if an advertisement comes from the same domain as where you are accessing (like facebook or Youtube sometimes do) then the advertisement will still be shown. Still to cut down on advertisements I would suggest going with Adhell3 over root.
- Is there any way to root the phone without custom recovery?
Nope, that means also that once you decice to flash custom recovery your knox will be triggered 0x1 in bootloader and it cant be reversed by flashing stock.
- will I be able to install system updates if I root the phone? if not how am I supposed to install them when the device is rooted?
Most devs here release latest build of their ROMs based on the latest security patches from official stock ROMs. You can just dirty flash the latest build over the previous one.
- will it lose any of its features? if yes, which features?
Samsung pay and secure folder. However you can try google pay as an alternative and you can use MagiskHide to make apps work even if the phone is rooted.
- will I be able to go full stock again and gain all the lost features back?
You can go back to stock, but you wont be able to use the features mentioned above. It's a one way irreversible process.
KevAngelo14 said:
- Is there any way to root the phone without custom recovery?
Nope, that means also that once you decice to flash custom recovery your knox will be triggered 0x1 in bootloader and it cant be reversed by flashing stock.
- will I be able to install system updates if I root the phone? if not how am I supposed to install them when the device is rooted?
Most devs here release latest build of their ROMs based on the latest security patches from official stock ROMs. You can just dirty flash the latest build over the previous one.
- will it lose any of its features? if yes, which features?
Samsung pay and secure folder. However you can try google pay as an alternative and you can use MagiskHide to make apps work even if the phone is rooted.
- will I be able to go full stock again and gain all the lost features back?
You can go back to stock, but you wont be able to use the features mentioned above. It's a one way irreversible process.
Click to expand...
Click to collapse
Remember to include Xprivacylua to inhibit apps from seeing what apps you have installed. Have helped me out using bank apps as well

Widevine/DRM status and official updates after root?

Hi,
I am considering getting the 7.2 in the 6 GB/128 GB edition. Usually I unlock the bootloader and root my phones (Magisk), to be able to use apps such as TitaniumBackup and Magisk Modules like YouTube Vanced.
Has anybody rooted their phone and can report back the availability of Widevine L1 and passing of SafetyNet (Magisk and/or DRM Info) after rooting? How does the phone handle official updates after rooting, do they still come in OTA or do they need to be flashed manually?
Thanks!
I wonder if camera quality gets worse, too.
I hope it's not the same case as with Sony devices...
No, the camera does not get worse.
OTAs
After unlocking the bootloader, I was unable to install any OTA updates. The system did allow downloading them, yet I couldn't get it to install them.
UPDATE
Turns out, you can install OTA updates with an unlocked bootloader. Though, it only works with the stock kernel. So, if anyone installed twrp or any custom kernel, OTAs would not work.
I have both Magisk and EdXposed installed. The latter is a means of using Xposed on the phone. GravityBox works like a charm

Categories

Resources