Rob. S. 1,649 Posted August 17, 2021 Share Posted August 17, 2021 (edited) This is what I did (starting with a fully functional and stable LOS 18.1 + GApps + Magisk + XPosed setup): Backed up everything (Titanium Backup). Replaced display. Flashed stock according to @Waxberry's [Guide] Restore to stock firmware using Fastboot method. Used the 20200825 firmware (it was necessary to re-enable the four commented-out lines in fastboot_all.bat). Display margins returned to normal on first boot. No installation of newer OTA updates necessary. Reinstalled LOS 18.1, GApps, Magisk, XPosed like in https://wiki.lineageos.org/devices/pro1/install and https://community.fxtec.com/topic/3321-how-to-install-aicp-or-other-rom-magisk-and-root-with-safetynet-certified-device-google-pay-working/. LOS came up fine. Performed the tasks for passing SafetyNet, installed the Magisk modules I had before. Tried to restore everything (Titanium Backup). This is where the problems started. First, the restore process stuck at 0% of the first app (no matter which app I tried). Had to disable "Verify apps over USB" in the phone's Developer Settings. Chrome and Maps still didn't restore (but I didn't care). At the xth attempt everything else did, though. Now the phone doesn't come up again. After an unusually long time of showing the Lineage animation the display changes into saying "Phone is starting..." – and stays there, nothing more happens: Thinking back, there's one thing that's different compared to the original setup – while originally I had been using MindTheGApps, I now flashed the more recent OpenGApps. I can easily imagine that this would be the reason for Titanium Backup failing to restore Chrome and Maps... Any ideas on what I could do at this point, except going back to step 4.? Cheers, Robert Edited August 17, 2021 by Rob. S. 1 1 Quote Link to post Share on other sites
EskeRahn 5,436 Posted August 17, 2021 Share Posted August 17, 2021 5 hours ago, Rob. S. said: Used the 20200825 firmware (it was necessary to re-enable the four commented-out lines in fastboot_all.bat). Display margins returned to normal on first boot. No installation of newer OTA updates necessary. The 20200825 IS the newest. On the things not working after restore my guess would also be on opengapps/mindthegapps. They are quite different, see this I tried to combine. Did yo actively exclude all Gapps from the restore? If not I would try that. 1 Quote Link to post Share on other sites
Rob. S. 1,649 Posted August 17, 2021 Author Share Posted August 17, 2021 Thanks for reminding me of that insightful table. No, I didn't exclude anything from the restore, only Chrome and Maps after TB got stuck or complained. I didn't even have in mind that switching the GApps package could have made a difference ("what could go wrong") at the time... Ok, then I guess it's back to step 4. – probably best if I choose MindTheGapps again for the new attempt.. 2 Quote Link to post Share on other sites
Rob. S. 1,649 Posted August 20, 2021 Author Share Posted August 20, 2021 (edited) So after a few more failed/stuck attempts (I still can't seem to get to grips with that A/B layout, I'm never really sure whether I need to boot before doing something or not...!) I finally got it up and running again 🙂 Even the "Identity" one-time token app for my employer's VPN seems to run (but I need the IT service people to transfer the account to my Pro1 again before I can be absolutely sure). Also, much of what I had could be restored. So much for the good news, and the previous sentence already hints at some of the bad 😉 The one banking app that made it through the process doesn't know me anymore. Thankfully in this case I can authorize it through my second phone, but I would have hoped Titanium Backup would preserve my credentials. As it seems, it doesn't, and if my other banking app would have appeared in the freshly installed system, I probably wouldn't have had access again. As it was, it wasn't even backed up. Somehow I or Titanium Backup (yeah, I do know what's more probable 😉) must have made a mistake, it did only back up apps from A to M, N to Z were missing... Which is why I physically had to go to that bank's office and request new online credentials, which I received on a freshly printed piece of paper (yes, that's how they do business and probably it's also why online banks and fintechs have become so popular)... Ok, time to set up everything again and put the SIM card back in. Edited August 20, 2021 by Rob. S. 1 Quote Link to post Share on other sites
agent008 243 Posted November 11, 2021 Share Posted November 11, 2021 (edited) @Rob. S.: Thanks for this thread. Your summary worked perfectly for me, I'm currently just battling with getting SafetyNet ctsProfile to pass. I too replaced my screen but somewhat botched the job, so another screen is on the way from China. Is there any possibility that someone could extract the "capacitive sensor firmware upgrade" part from the stock ROM so that when my new screen arrives I don't have to factory reset and reinstall the stock ROM all over again? Or tell me how to do it and I'd go about extracting the thing myself. I believe others wouls also benefit from this. Thanks! Edited November 11, 2021 by agent008 2 Quote Link to post Share on other sites
daniel.schaaaf 177 Posted November 17, 2021 Share Posted November 17, 2021 On 8/20/2021 at 8:24 PM, Rob. S. said: The one banking app that made it through the process doesn't know me anymore... I encountered similar difficulties previously, not only with banking apps but also others like Sygic. These apps store a fingerprint of your system in their settings. Installing a new system is likely to change the Android ID or other information. One way to avoid trouble is to block sensitive information with XPrivacyLua. But not by letting XPL return random information back to an app. Some hook definitions, built in or downloaded, allow the user to store custom fixed values. Be warned though, figuring out what information an app uses to identify users can be a lengthy and cumbersome process. Sygic, for example, only uses the Android ID and can be made to cooperate with a newly installed system easily. Obviously, this off-label use of XPL doesn't protect your privacy from these apps any more. However, in case of personal licenses or banking, these apps knows my identity anyways ... 2 Quote Link to post Share on other sites
claude0001 1,329 Posted November 17, 2021 Share Posted November 17, 2021 (edited) On 11/11/2021 at 1:04 PM, agent008 said: Is there any possibility that someone could extract the "capacitive sensor firmware upgrade" part from the stock ROM so that when my new screen arrives I don't have to factory reset and reinstall the stock ROM all over again? Actually, there is a (vendor) tool to flash the screen firmware without reinstalling the OS. However, it is made for Android 9 and, while it seems to work in LOS 16.0, it has been found to not work on 18.1. See this post by @Rob. S. and subsequent ones. Edited November 17, 2021 by claude0001 1 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.