Restoring apps to restore OS - OnePlus 7 Pro Questions & Answers

Well I feel stupid. I uninstalled the Google Play Music and Movie apps with system app remover. Now the phone won't boot.
When I try to boot it just goes to Fastboot, and I can load TWRP just fine, but it won't load the OS. Any suggestions? Is there a way to reinstall those apps from outside the OS? I tried a factory reset but that didn't do anything, either.

Get a zip of the OS you're running and just install it on top with twrp without any wiping. It should add the missing pieces back. I did the same thing recently and that solved my issue. Good luck!

Is there a way to look up from in TWRP which OS version I have? Not just 9 but specifically 9.what.what?
Edit: Nevermind, I found it in build.prop

Related

HELP

So, I purchased my Samsung Galaxy S (Captivate) last weekend. I had it rooted and everything was fine. Then I got rid of some of the bloatware. I wrote a couple of programs for myself to use, so I needed to enable side-loading. I did that-successfully.
First sign of a problem was when I went to the marketplace and it would not download any single app that I tried. So, I went to restore the phone using the backup I made, but some reason it wasn't there.
Then I decided to revert to factory settings. I did a hard reset, but the problem was still not resolved. Then I found a thread on here about Odin 3. I've been trying to use that all night but the best I've gotten is to the File Analysis step. I've tried at least 10 different times.
I'm trying to get everything back up and running and preferably rooted again so that I can use my Titanium backup to restore all my apps and settings.
I'm at my wits end, and any help would be greatly appreciated.
Thanks.
Factory reset would not solve any problems that may have been caused by deleting core apps. Is your phone rooted and nand unlocked (baseband) or just rooted? Are you running a custom rom? If so you need to reflash the rom after clearing cache and dalvik cache. If you still have the original rom then you can reflash an official samsung firmware using odin, look for your handsets firmware on www.samfirmwares.com
Other than that you could try finding out which apps are needed and using root explorer you may be able to fix the version you have. If the market is your only issue then try clearing data and cache settings/manage apps/market and download manager (two different apps)
How did you root your phone? Did you install a custom ROM yet? What bloatware did you remove, and how did you go about it?
Ok. In the wee hours this morning I finally got Odin to work and now everything works as it should. I switched computers and the program worked right away. Intersting tidbit though, I accidentally left the sim card in during the reflash and I had no ill effects. I'm actually wondering if that helped me.
Thanks tina333.
nenol, I used the one touch root. I have not installed a custom rom and I don't remember exactly which of the programs I uninstalled. I used Titanium backup to both backup my apps and to delete the bloatware.
There are very few system apps that are not needed by the system, titanium only backs up data by default. Be careful what you delete and always research first

[Resolved] Google Device manager and apps from web no longer work.

I have a rooted galaxy s3 on straight talk pre paid. Wanted to try slim kat so I flashed it with cwmt. Delvik, fact reset , cache and /system. Didn't like the random reboots so flashed back to stock backup. When I install something from google play it won't download to phone. From within phone it works. Device manager can't locate device. Tried cleaning data on play store app. Play services looks like it's stuck in app manager, and can't delete data. Any suggestions?
Update: Factory reset through Samsung's stock OS resolved issue. Device actually booted into CWM which scared me. Then it rebooted and started updating apps. I maintained root.

Lg_setup.apk please

LS996-ZV9 Sprint
I did something stupid. After I rooted my phone I did a little clean up of apps I don't use. Well the LG setup was one of them, I uninstalled it. Well I did a factory reset. I forget that doesn't restore uninstalled apps. So as soon as I rebooted my phone I could only get through the first part of the setup. My phone boots and go through the setup. But when its done it goes right back through the setup.
My option are to do an unroot and install a stock system.
Install a stock rooted system.
or adb the apk to the phone, do a reset and hope that it was just the LG setup app.
TIA
nickmus said:
LS996-ZV9 Sprint
I did something stupid. After I rooted my phone I did a little clean up of apps I don't use. Well the LG setup was one of them, I uninstalled it. Well I did a factory reset. I forget that doesn't restore uninstalled apps. So as soon as I rebooted my phone I could only get through the first part of the setup. My phone boots and go through the setup. But when its done it goes right back through the setup.
My option are to do an unroot and install a stock system.
Install a stock rooted system.
or adb the apk to the phone, do a reset and hope that it was just the LG setup app.
TIA
Click to expand...
Click to collapse
i have a 955 with 15c, so maybe it cant work there but if you can point me to the path of the apk i can send it to you.
I think easiest way would be to use lg flash tool and just start from beginning, works for h955
Here was my solution; so far.
I bluetoothed titanium backup from my tablet to my phone. Once i had the download notification i installed the app. After the install i open the app and froze the LGSetup app. Now the only problem i have is some of my stettings cause the settings app to stop and close.
Im going to try and run the rootsystem.img again.
WHAT I DID FIND; After the factory reset my internal storage had been wipped. But my rootsystem.img file was still there and untouched.

Coming Over From Rooted Marshmallow Galaxy S7 - What Do I Need to Know?

I've got a rooted S7, apps backed up with Titanium Backup, etc.
Is there anything I need to know about getting this transferred over to a Pixel, which will presumably be running Oreo or Pie? I'd certainly like to take the opportunity to upgrade; I'm still on MM on the S7 mostly because it's just hassle to reflash the ROM (running Superman ROM, not stock).
I assume Nova Launcher will come across okay? What about things like Good Lock? It presumably won't work, but will it break anything or will I need to remove it from my backups before restoring?
Titanium allows me to create a zip of all my backups. Do I just flash that in TWRP? I don't think it's used from within the app itself, is it?
Any ROM recommendations? I use GravityBox so something AOSPish would be ideal, Pie would be awesome but I'd settle for Oreo. I'm not sure what Pie's release status is at the moment - I didn't think it was out yet but it seems to be. This is a very rushed thing (the S7 just stopped working and will be too expensive for repair to be worthwhile), so everything's very scrambled in my head at the moment and I'm just throwing thoughts out there, largely. EDIT: Actually, I assume Xposed and such aren't set up for Pie yet? If so Oreo would be the way to go.
Since I have GMail and such installed as user apps, not system apps, and backed up as such, I'm assuming I'll need to find a way to arrange the same with the Pixel? Superman ROM offers the option to install those apps or not through the Aroma installer.
Does anyone have any input on this?
I'm also curious as to the differences between rooting with/without tripping SafetyNet. I'm assuming there are some, or everyone would do the latter?
Do you have your Pixel, yet? Unlock the bootloader, install the latest factory image, use the latest TWRP & Magisk (do it properly, & a SafetyNet check will pass). When your phone is booting up fine and rooted, we can talk about transferring data.
I don't, but it should be arriving today. I like to be prepared, rather than getting into a situation where I have the phone and want to get everything sorted immediately, only to end up rushing and causing issues. I think I was reading and asking questions about two weeks ahead of my purchase of the S7. As I said, I'm replacing the S7 due to a fault, and I've been without it for a couple of weeks now, so the more I can get my head around before it arrives and I get all "OMG do everything immediately", the better.
If you really need Xposed, you can install a Magisk version of Xposed. Personally, I am no longer using Xposed; Magisk gives me root, and I can install all the modules I need.
Do you have the Pro version of Titanium Backup? You have to jump through some hoops to get it to recognize your Pro key. I would just transfer your entire backup directory to the backup directory on your new phone, then use the app to select which apps to restore. Do the app restores in waves, to help you narrow down a problematic restoration.
Even if you already have the latest version of Android installed on the Pixel, download the full factory image so that you can extract the boot.img file from it. Flashing the stock boot.img can get you out of most bootloops. Here's some reading material to help you understand what has changed.
Personally, I'm happy with the stock ROM, rooted. I suggest you look at Tulsadiver's mod. It has some sorely needed customization options.
:good:
post-mortem said:
If you really need Xposed, you can install a Magisk version of Xposed. Personally, I am no longer using Xposed; Magisk gives me root, and I can install all the modules I need.
Click to expand...
Click to collapse
So Xposed modules work in Magisk? Or....? I have GravityBox for notification control, as I find the default LED blink speed too low and like to change the sound/LED colour on a per-app basis far more than the apps themselves allow, along with Unbeloved Hosts, MinMinGuard, Airplane Mode Helper, Screenshot Delay Remover, Secure Settings, XToast and YouTube AdAway.
Do you have the Pro version of Titanium Backup? You have to jump through some hoops to get it to recognize your Pro key.
Click to expand...
Click to collapse
I do. There's an option to just create a flashable install of Titanium, and to back up its settings, which is what I've always done in the past. Is this different now?
EDIT: Which guide do I follow to install TWRP and Magisk? I thought this would be the go, but reading through it requires a custom ROM to begin with.
I followed this guide. I really don't know if it's actually necessary to uninstall com.android.phone, though I did it. The command you'll want to use to unlock the bootloader is fastboot flashing unlock, as stated at the top of this Google page.
If the enable OEM unlocking option under developer settings remains grayed out, you might have to get out of the settings and reenter them, restart your phone, or even reflash and start all over. For some reason, a number of people have reported that executing the command am start com.android.chrome in a terminal or adb shell allows the OEM unlocking options to become toggleable.
post-mortem said:
I followed this guide. I really don't know if it's actually necessary to uninstall com.android.phone, though I did it. The command you'll want to use to unlock the bootloader is fastboot flashing unlock, as stated at the top of this Google page
Click to expand...
Click to collapse
Why "flashing" and not "oem"? And then how do I install TWRP? The page you linked to has "install" zips and normal zips, not sure which I'm meant to download.
EDIT: Phone arrived, and is running 7.1.2.
Read the top of the Google page with the links to the Factory Images.
TWRP is temporarily booted using a PC with fastboot boot <TWRPfilename.zip> . Once you're in TWRP, you install the TWRP installer zip like any other zip. So the .img file stays on your computer (fastboot will load it onto your phone and boot into it), and the .zip goes on the phone so that you can install the TWRP installer.
post-mortem said:
TWRP is temporarily booted using a PC with fastboot boot <TWRPfilename.zip> .
Click to expand...
Click to collapse
Should that be the .img file, not the .zip file? Just guessing from context, otherwise you're using the zip file twice and the img file never.
So:
Unlock bootloader
Flash TWRP
Use TWRP to flash TWRP
Use TWRP to flash Magisk
Yes?
EDIT: Wait, that doesn't include flashing the system thing. When and how do I do that?
Unpopular opinion, but...
If I were you I would just use the phone as it is for at least a couple of days.
I don't want to sound like a Pixel fanboy but I'm liking the stock firmware much better than any custom ROM on this phone.
Of course I'm rooted and running a custom kernel, but I'm positive that Magisk will have the answers to most of your modding needs.
You got a new phone, why go out of your way and risk messing up stuff just to make it feel like your old one?
I mean, I'm cool with stock in theory, I just liked the debloated ROM I had last time because, well, debloating. And GMail and YouTube and such are now user apps on the S7, so my backups treat them as such.
Where do I find the drivers? I installed an "adb setup" thing that claimed to have them, but my PC isn't recognising the Pixel. Google's links to OEM drivers include a bunch of brands that aren't Google, so I'm not sure what to download.
EDIT: Okay, got it. Now running Android 9. When I'm installing TWRP, do I need to wipe anything? I miss the S7 forums and their one clear rooting guide that went step by step through everything.
koberulz said:
I mean, I'm cool with stock in theory, I just liked the debloated ROM I had last time because, well, debloating. And GMail and YouTube and such are now user apps on the S7, so my backups treat them as such.
Where do I find the drivers? I installed an "adb setup" thing that claimed to have them, but my PC isn't recognising the Pixel. Google's links to OEM drivers include a bunch of brands that aren't Google, so I'm not sure what to download.
EDIT: Okay, got it. Now running Android 9. When I'm installing TWRP, do I need to wipe anything? I miss the S7 forums and their one clear rooting guide that went step by step through everything.
Click to expand...
Click to collapse
No. just fastboot twrp img > flash zip via booted twrp. Reboot to system. That's all you gotta do
How do I boot into TWRP once installed? And come to that, what's the point of installing if I can boot to it regardless?
koberulz said:
There's an option to just create a flashable install of Titanium, and to back up its settings, which is what I've always done in the past. Is this different now?
Click to expand...
Click to collapse
Okay, this seems not to work. I've tried flashing it and there's no sign of the app at all.
koberulz said:
How do I boot into TWRP once installed? And come to that, what's the point of installing if I can boot to it regardless?
Click to expand...
Click to collapse
Doesn't the command fastboot boot twrp.img just boot it?
It does that for me, then I just have to flash twrp pixel installer.zip and it sticks.
I do this every time I update my factory image (which resets recovery to stock)
Anyways, I'm in. Had to manually install TB, then restore all my backups...and it screwed everything up big-time. Contacts are horribly broken; they initially kept crashing and now it says there's no contacts app installed. GMail crashes every time I open it. And the vibration has been replaced with a quiet beep.
I expected that... Just reflash latest factory image
Look, don't restore any apps, yet, especially any apps made by Google. You shouldn't need to restore any data, as all Google info is in the cloud, anyway. Just launch the app and log in to your Google account.
You don't need to "permanently" install TWRP if you don't want to.
I don't use Drive, so no it isn't.
I've managed to get everything over except my contacts. They killed it last time so I'm disinclined to try again. Not sure how else to get them over though.
My S7 had an "only display contacts with a phone number" option, does Pixel have an equivalent?
Since I don't have Xposed, I don't have any of my ad blockers. Are there options available?
I also had a lock screen with a tray of apps I could drag up to unlock straight into that app, the clock on the right instead of the left, and a percentage instead of just a battery icon on the lock screen and without swiping down. Any way I can set that up?
I tried Light Flow, but it doesn't seem to be working, I'm not getting any LED lights. It was working fine while I was setting up last night, but I unplugged the phone to go to bed and it's stopped.
I've looked at that Pie Aroma Mod Installer thing, but there's three files offered for download and I'm not sure what they are?
Is there a way to stop the screen turning on and the phone making a sound when I plug/unplug it?

I used a magisk module that modified some DRM and now NOTHING fixes it

The module that did this was "liboemcrypto disabler" and was advertised as allowing DRM content to be viewed in full HD despite my bootloader being unlocked. It immediately put me in a boot loop after installing. I removed the magisk module from recovery but I was stuck in a boot loopstill and ended up having to wipe. I've done a full wipe, I've fully erased and decrypted the phone with ALL IN ONE tool and then installed a new stock ROM via fastboot. I then used TWRP to wipe EVERYTHING and then used ALL IN ONE TOOL to erase the phone and then used MSM tools to reflash a stock ROM and start from scratch while also choosing to wipe all data in the process. Netflix not working has persisted through all of this, it seems this module has touched a drm file that is normally out of reach in the wiping process / it's not replaced when doing a clean install. Another odd thing is that throughout this whole process, Nova Launcher stayed installed throughout all of the wipes. Any time I try to open Netflix it either says I need to update and clicking okay brings me to the play store where it tells me Netflix is not compatible on my device. Sometimes I get other error messages but it's always the same, Netflix doesn't work. The odd thing is I got it working on Pie in the process of unlocking my tmobile bootloader with the Android 10 DP3 so I could root it. Netflix actually worked for a second while I was on Pie, up until I updated to Android 10. This leads me to believe that the drm Android 10 is using is different from Pie and upgrading put me back to relying on the ruined drm file. I've even tried installing and uninstalling the magisk module that screwed all of this up hoping it would replace the original drm file but I've had no luck. This is such an odd problem. I had no clue any magisk module had the power to give your phone problems that literally can't be fixed through full wipes and reinstalls. I've tried removing netflix from ADB and reinstalling the apk manually but there's still no luck. The other streaming services that normally rely on this DRM are fine. If anyone has the slightest idea of what to do here I'd love to hear it! Are all drm files the same for everyone? If I were to aquire the drm file that was replaced while installing this thing could that possibly fix it? The file that is modified is under /vendor/lib/ and is named "liboemcrypto.so"

Categories

Resources