Deleted system phone app. How do i get it back? - OnePlus 7 Pro Questions & Answers

Yes i know its a system app but i was trying to delete the google dialer app that i had made a system app but deleted the stock one instead. how do i get the stock phone dialer back and make it a system app again? Thx.

equlizer said:
Yes i know its a system app but i was trying to delete the google dialer app that i had made a system app but deleted the stock one instead. how do i get the stock phone dialer back and make it a system app again? Thx.
Click to expand...
Click to collapse
You can dirty flash stock rom

Related

[Q]Debloat Jellybean Sense rom

Anyway I can take out apps off the new jellybean Roms? Like system apps that can't be deleted normally. If there isn't then alright.
Thankyou
You have to do it in recovery.... Mount system then proceed to delete them using file manager or you can freeze them with titanium
Misterowl said:
Anyway I can take out apps off the new jellybean Roms? Like system apps that can't be deleted normally. If there isn't then alright.
Thankyou
Click to expand...
Click to collapse
remove them before you flash the rom i removed and about 225 megs before flashing
Alright thanks for the help!
Sent from my HTC One X using xda premium
Assuming your phone is rooted, just download titanium backup, scroll down until you find the app,tap it and press delete
If your phone isn't rooted, then delete them in recovery

[Q] hard reset proofing apps

I have an app on my phone that I want to hard reset proof not just the apk (which ive already done) but the settings also. ive tried using root explorers and changing the permissions for the /data/data folders but that doesnt help, ive tried converting the user app to a system app AFTER I set up all my options, hoping that would save all my settings, and I tried changing the permissions of my "system" app to prevent any changes. no luck. ive been researching like crazy and I hope im not posting in the wrong forum but can someone explain how to make my app and its settings master reset proof? thanks a bunch!
btw I have a rooted tmobile samsung galaxy s3 (sgh-t999) with the latest android (4.1.1 using the root66 rom), with supersu and busybox if that helps. and if it works for my s3, would the same steps work on my note 2?
Are you putting your app into /system/app ?
Hmm ...
careenprokop85 said:
...
btw I have a rooted tmobile samsung galaxy s3 (sgh-t999) with the latest android (4.1.1 using the root66 rom), with supersu and busybox if that helps. and if it works for my s3, would the same steps work on my note 2?
Click to expand...
Click to collapse
Have you tried in app info -> clear data? (also clear cache).
xclub_101 said:
Have you tried in app info -> clear data? (also clear cache).
Click to expand...
Click to collapse
Yes I have but why would I want that? I want to save the current settings not clear them
[email protected] said:
Are you putting your app into /system/app ?
Click to expand...
Click to collapse
yes the app is in my system/app and it does survive a master reset but the settings of the app don't. Would I have to build a custom rom after installing the app and getting the settings all set how I want? Then If it's master reset it should save the settings, right?
careenprokop85 said:
yes the app is in my system/app and it does survive a master reset but the settings of the app don't. Would I have to build a custom rom after installing the app and getting the settings all set how I want? Then If it's master reset it should save the settings, right?
Click to expand...
Click to collapse
Normally Android keeps app data under /data/data.
When you commit a hardreset, /data gets wiped. So all your app data gets removed.
You have to keep your app data under /system if you are the developer of that app
careenprokop85 said:
Yes I have but why would I want that? I want to save the current settings not clear them
...
Click to expand...
Click to collapse
OOPS. my mistake, I only read hard-reset, not the entire hard-reset-proof :
[email protected] said:
Normally Android keeps app data under /data/data.
When you commit a hardreset, /data gets wiped. So all your app data gets removed.
You have to keep your app data under /system if you are the developer of that app
Click to expand...
Click to collapse
but wouldnt that folder then need to be moved back to data/data after the master reset for it to work correctly?
careenprokop85 said:
but wouldnt that folder then need to be moved back to data/data after the master reset for it to work correctly?
Click to expand...
Click to collapse
Depends on who the developer of that app is.
If it's not you, yes you have move that folder after every hardreset.
If it's you, I suggest you to use /system as your app data folder.
unfortunately I'm not the apps developer. However, if I created a custom rom by installing whatever room I wanted, then setting up the app as I want it, then creating a custom rom from that, then flash it, would that solve the problem? Because (if im understanding things right lol) then someone could matter reset it and it would revert to how the chain rom was when I flashed it, correct?
Suppose I am the developer of the app.
How do set App Data folder to System?
SandeepEmekar said:
Suppose I am the developer of the app.
How do set App Data folder to System?
Click to expand...
Click to collapse
I'm already using a hardreset proof app on my note 2. It uses /etc folder to keep its app datas in a file. After hardreset it detects its data folder wiped, then restores settings from the backup file under /etc.
Of course your program will need root permission to do that.
[email protected] said:
I'm already using a hardreset proof app on my note 2. It uses /etc folder to keep its app datas in a file. After hardreset it detects its data folder wiped, then restores settings from the backup file under /etc.
Of course your program will need root permission to do that.
Click to expand...
Click to collapse
Can you give me the source code?
SandeepEmekar said:
Can you give me the source code?
Click to expand...
Click to collapse
Where did I say I'm the developer of the App?
[email protected] said:
Where did I say I'm the developer of the App?
Click to expand...
Click to collapse
LOL
I knew.
What's the name of the App you are using.
SandeepEmekar said:
LOL
I knew.
What's the name of the App you are using.
Click to expand...
Click to collapse
Avast Anti Theft
Init.d script to link /system/data/some.app to /data/app-data/some.app
Put apk to /system/app
This should work
GR0S said:
Init.d script to link /system/data/some.app to /data/app-data/some.app
Put apk to /system/app
This should work
Click to expand...
Click to collapse
can u describe how to do this in a bit more detail? Because I have an apk that I was able to put into the system/app folder, but would LOVE to save the settings so they are master-reset proof. I've contacted the developer but he was a bit of a jerk actually, saying I shouldn't need any reason to hard reset proof the apk..... ugh
From my experience, the avast! anti-theft app consist of 2 hard-reset proof part:
1. APK file in /system/app
2. Setting file (data) in /etc
Both survived hard reset...
The only way to get rid is via Aroma File Manager or flashing ROM.
Get titanium backup, backup all data of the app, and install the update. Then put the data back, if im correct settings would be copy pasted to this way. I use it for many system apps to get data back.
send from another universe, made possible by xda
If you are willing to learn how to script... it's all possible
I have done this before...
Use busybox commands...
Make a backup script that would back up all the user data in tar file.
Make a backup of apps you like to be restored on first boot of any rom.
on first boot let the script install the backed up apps, after install see if data exist for the package you just installed, get permission/owner of the package, restore data and apply permission to data.
i think is the basic
attached are the scripts i used to make this work on android 2.1
i even made a custom progress bar lol that used bootanimation as base...
.... copies custom bootanimation on start
.... copies custom boot sound...
.... restores wifi settings...
.... played music while restoring....
.... uses logcat as primary logging...
i am not sure if these scripts are the latest ones... but they worked at some point...
all was done in here...
http://forum.xda-developers.com/showthread.php?t=1465866
have fun...

[Q] phone apk

Where can I get a copy of the stock phone.apk? I flashed my nexus s 4g to the latest slim bean build and the phone apk is no longer installed.
iontrap said:
Where can I get a copy of the stock phone.apk? I flashed my nexus s 4g to the latest slim bean build and the phone apk is no longer installed.
Click to expand...
Click to collapse
just remove the icon from your homescreen and put the one from the app drawer in its place, the phone apk is "missing" in android 4.3 because it's location in system has been changed
mrdjibrilo said:
just remove the icon from your homescreen and put the one from the app drawer in its place, the phone apk is "missing" in android 4.3 because it's location in system has been changed
Click to expand...
Click to collapse
The icon is not in the app drawer. I found phone.apk in the system/app folder and the permissions are correct but the app doesn't show up anywhere.
iontrap said:
The icon is not in the app drawer. I found phone.apk in the system/app folder and the permissions are correct but the app doesn't show up anywhere.
Click to expand...
Click to collapse
is it under hidden apps by any chance if you're using apex or nova? If not did you do a full wipe before installing slimbean?
mrdjibrilo said:
is it under hidden apps by any chance if you're using apex or nova? If not did you do a full wipe before installing slimbean?
Click to expand...
Click to collapse
I didn't do a full wipe before flashing build 8, I'll do a full wipe and reflash.
Did a full wipe and reinstall, all is back to normal.

How can backup and restore my desktop screens

I use Titanium Backup pro, but I cannot find a way to backup and restore my screens.
I want to be able to back them up so I can flash another rom and restore the apps and screens.
Is there a way to backup/restore the screens?
Thanks
Helloooo.... Anyone?
Sent from my SCH-I545 using Tapatalk
rdefino said:
Helloooo.... Anyone?
Sent from my SCH-I545 using Tapatalk
Click to expand...
Click to collapse
I believe nandroid manager has that option
Backup the launcher you are using. If it's a TW rom, backup the TouchWiz Home app, then when install new rom (provided it's another TW rom) restore the data only from that app. I do this all the time on Omega roms.
Sent from my GT-I9505 using XDA Premium 4 mobile app
highaltitude said:
Backup the launcher you are using. If it's a TW rom, backup the TouchWiz Home app, then when install new rom (provided it's another TW rom) restore the data only from that app. I do this all the time on Omega roms.
Sent from my GT-I9505 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
So I backup my touchwiz home, then as a test I removed a widget from my screen. Then I restored the touchwiz home and the widget isn't there.
Do I do it wrong?
rdefino said:
So I backup my touchwiz home, then as a test I removed a widget from my screen. Then I restored the touchwiz home and the widget isn't there.
Do I do it wrong?
Click to expand...
Click to collapse
No, but did you reboot? Most of the time a reboot is required when restoring the launcher. Just to get clear, the app is Touch Wiz Home 4.2.2 I9505ZHUDMl1 or similar. Back it up. Then when a new rom is installed or when just going to recovery and doing a full wipe you boot back up. Install TB from playstore. Restore all normal apps. Then, restore data only of TouchWiz app. The phone will prompt saying to the effect of when a system app is restored a reboot is recommended. Then reboot. All apps should be in their place, however widgets will have to be manually placed again. This only works for apps, not widgets. But for me this is still a way quicker way of setting up a new rom to my way of liking.
Sent from my GT-I9505 using XDA Premium 4 mobile app
highaltitude said:
No, but did you reboot? Most of the time a reboot is required when restoring the launcher. Just to get clear, the app is Touch Wiz Home 4.2.2 I9505ZHUDMl1 or similar. Back it up. Then when a new rom is installed or when just going to recovery and doing a full wipe you boot back up. Install TB from playstore. Restore all normal apps. Then, restore data only of TouchWiz app. The phone will prompt saying to the effect of when a system app is restored a reboot is recommended. Then reboot. All apps should be in their place, however widgets will have to be manually placed again. This only works for apps, not widgets. But for me this is still a way quicker way of setting up a new rom to my way of liking.
Sent from my GT-I9505 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
that was it. I tested deleting an app icon on the desktop and it restored.
Thanks
rdefino said:
I use Titanium Backup pro, but I cannot find a way to backup and restore my screens.
I want to be able to back them up so I can flash another rom and restore the apps and screens.
Is there a way to backup/restore the screens?
Thanks
Click to expand...
Click to collapse
I use my backup pro

Replace stock app (i.e. dialer) with alternative app via adb?

Hi, is it possible to swap standard stock apps with alternative apps? I don't really like the contacts, phone and calendar apps from Samsung. I know I could always disable the standard apps and just use the other ones, but is there a way to get rid of them forever without root or installing a custom rom?
You can do this https://www.xda-developers.com/disable-system-app-bloatware-android/amp/, but they will reappear after a factory reset.
M1chiel said:
You can do this https://www.xda-developers.com/disable-system-app-bloatware-android/amp/, but they will reappear after a factory reset.
Click to expand...
Click to collapse
Thanks man, will try!

Categories

Resources