Move anti-theft to Android system. - Android Q&A, Help & Troubleshooting

Hello, through the "titanium backup" application i can move an application to /system thus protecting it from a hard reset, you can inform me how i can perform this same process of moving to /system not only the application but also your data forwhoever After a hard reset, both the application and your pre-configured data remain safe on the device?
I plan to use this in an anti-theft app.

would it survive factory reset in TWRP?

badai said:
would it survive factory reset in TWRP?
Click to expand...
Click to collapse
I want to protect the overhead of a hard reset so that it is only possible to remove the application and its configuration by flash another rom

Please help me :crying:

I want to make the application proof of restart both the application and its data in a way that even after a restart the application remains installed and configured on the device.

This version of avast anti theft had the function I'm looking for. https://play.google.com/store/apps/details?id=com.avast.android.antitheft_setup

After a long time I thought of two ways to accomplish this process but I would like some developer or someone understanding the subject to inform me if this is possible.
The anti-theft app I want to move to the system is this https://play.google.com/store/apps/details?id=com.avast.android.at_play.
1 = I noticed that the location where application data is saved is "/data/data/com.avast.android.at_play" so I thought if it is possible to block this folder from deletion, somehow changing its properties, unchanging, causing her to survive a hard reset.
2 = I thought of somehow editing the path where the application files are saved, for example "/data/data/com.avast.android.at_play" to "system / data / com.avast.android.at_play" but no where is the file where I can edit this path. If anyone can help thanks.

https://groups.google.com/forum/m/#!msg/cerberus-support-forum/FxdHYe_tROE/19PQfY72ePMJ

Related

Super User

Sorry new to Android and am learning so please be gentle....I rooted my Razr Maxx and once I finished I installed some apps and made sure I had root access. I read that it was a good idea that I due a factory reset so I did....after the reset was complete. I noticed the icon SuperUser was now missing. Do I need that Icon? Was there any additional settings I could access via it. If so, how do I get it back?? thanks.
When you make a factory reset, all the user apps (that means all the aplications installed in the /data partition, the apps that the user has installed and wheren't there when you bought the phone) and all the personal configurations of the system are erased. A factory reset leaves your phone just as the way it was when you first turned on. So, if your SuperUser.apk was installed in the data partition it sure will be gone. That app is needed to administrate which aplications get elevated acces to some system resources, so if it's not there it is like you have no root access. Some scripts used to root the phone push the superuser.apk to the System/app folder instead of data/app, so it's not deleted by a factory reset, but this is not your case as it seems... You could donwload the superuser app from google play, but I dont recommend it as I tried it once and it didn't work. I think you should try repeating the whole root proccess, and not making a factory reset after it, it was never necessary for me. Good luck!
danygarss said:
When you make a factory reset, all the user apps (that means all the aplications installed in the /data partition, the apps that the user has installed and wheren't there when you bought the phone) and all the personal configurations of the system are erased. A factory reset leaves your phone just as the way it was when you first turned on. So, if your SuperUser.apk was installed in the data partition it sure will be gone. That app is needed to administrate which aplications get elevated acces to some system resources, so if it's not there it is like you have no root access. Some scripts used to root the phone push the superuser.apk to the System/app folder instead of data/app, so it's not deleted by a factory reset, but this is not your case as it seems... You could donwload the superuser app from google play, but I dont recommend it as I tried it once and it didn't work. I think you should try repeating the whole root proccess, and not making a factory reset after it, it was never necessary for me. Good luck!
Click to expand...
Click to collapse
Should I do a factory reset or can I just to the entire root process again now?
slawcop` said:
Should I do a factory reset or can I just to the entire root process again now?
Click to expand...
Click to collapse
Just do the entire rooting process again. If you do factory reset you will loose again your superuser.apk
You should be able to download the superuser app as the phone is still rooted. Try superSU, that's the SU app that installed when I rooted (eternity project easy root)
I did the same thing by mistake once & just downloaded the app & it worked like a charm.
Sent from my DROID SPYDER using xda premium

Factory reset - What EXACTLY happens?

Hello,
In my question, What EXACTLY happens during a factory reset, the emphasis is, obviously, on "exactly". I will explain why I need to know this - the research I've done has failed to answer my question.
Carrier-phones come with a bunch of pre-installed apps. Of all possible scenarios, Japanese smartphones, and particularly Sharp smartphones, are the worst case. They are very difficult to root, very finicky phones that seem to go into a boot loop whenever you do something to them that you're not supposed to - all the more challenging
If we manage to root a Sharp phone, the first thing we do is freeze some of the Docomo or Softbank pre-installed apps that take up precious memory. We know that if we want to do a factory reset, we must first un-freeze all those apps, or we risk going into a boot loop, and having to ship the phone back to Japan to get repaired (for those of use who don't live in Japan).
Now, the million dollar question is, what happens if we delete/uninstall those system apps? And here I am asking about the general case, hoping that Sharp haven't invented some twisted scheme here too.
When we do a factory reset, how does the phone know what was - and what is supposed to be - in the /system/apps folder? Hence: What EXACTLY happens during a factory reset?
Does the phone look up a file which contains a list of all those pre-installed app, and verify the contents of the /system/app folder against it --- and if something is missing, it gets stuck during reboot? Or does it simply delete the contents of the /data folder, without paying attention to /system/app? And why does it go into a boot loop, if a system app was frozen?
In the end, I don't simply want to freeze some apps, I want to get rid of them completely --- you can't imagine the load of BS that Japanese carriers cram into their phones (a built-in Rakuten auctions app, a McDonald's app, a BeeTV app??? and so on and so forth) --- but I want to make sure the phone isn't checking what's supposed to be in /system/app.
---------------------
In the case of my 005SH, the rootkit came with a recovery that helps me "resurrect" the phone from a boot loop - and that has happened twice after a factory reset so far - I deleted some seemingly insignificant app, and Titanium Backup failed to restore it for some reason, so it's now gone forever. But not every rootkit comes with a proper recovery...
cheeseus said:
Now, the million dollar question is, what happens if we delete/uninstall those system apps?
Click to expand...
Click to collapse
Some system apps are important for the device to run properly and some are just bloatware that can be deleted without harm (e.g, Youtube, ChatOn.. etc). There are several app lists in the forum of safe app to remove (this is one).
But I advice you not to play with system apps if you don't know which app is safe to remove.
cheeseus said:
When we do a factory reset, how does the phone know what was - and what is supposed to be - in the /system/apps folder? Hence: What EXACTLY happens during a factory reset?
Click to expand...
Click to collapse
All app in system partition will be restored as if it was first time to be run, although all of your installed app, contacts, sms, WiFi access and data will be deleted
majdinj said:
Some system apps are important for the device to run properly and some are just bloatware that can be deleted without harm (e.g, Youtube, ChatOn.. etc). There are several app lists in the forum of safe app to remove (this is one).
But I advice you not to play with system apps if you don't know which app is safe to remove.
All app in system partition will be restored as if it was first time to be run, although all of your installed app, contacts, sms, WiFi access and data will be deleted
Click to expand...
Click to collapse
Thanks but this does not answer my question. I know perfectly well which apps are bloatware and which are essential. I will restate my question:
Is there some register or list, which the phone checks during factory reset, and which says what apps were originally installed in /system/app? That is, will the phone "know" that I have removed some of the original apps?
cheeseus said:
Thanks but this does not answer my question. I know perfectly well which apps are bloatware and which are essential. I will restate my question:
Is there some register or list, which the phone checks during factory reset, and which says what apps were originally installed in /system/app? That is, will the phone "know" that I have removed some of the original apps?
Click to expand...
Click to collapse
As I mentioned, factory reset will delete all data apps that can be found in data partition not those found in system partition.. If it happens some of original apps are installed in data partition, then they will be deleted (unless if they are found in preload partition!!).. I can't be clear more than this..
majdinj said:
As I mentioned, factory reset will delete all data apps that can be found in data partition not those found in system partition.. If it happens some of original apps are installed in data partition, then they will be deleted (unless if they are found in preload partition!!).. I can't be clear more than this..
Click to expand...
Click to collapse
Really, read my question carefully, please, not just the title of the thread. You are talking about something very different.
It is known that on Japanese Sharp phones, if you uninstall and remove completely some of the apps that are installed by the manufacturer or the carrier in /system/app, when you do a factory reset, the phone may - or even will - go into a boot loop (will be bricked). This has nothing to do with apps that are installed in /data.
Is it possible that Sharp have added an extra "security" mechanism to their phones to prevent users from removing pre-installed apps (similar to their MIYABI LSM lock)? I want to know how to find this security mechanism, if it exists, and - hopefully, how to cheat it.
How does the phone know what apps are supposed to be in /system/app, and if it doesn't find them when rebooting after a factory reset, why does it go into a boot loop?

[Q] Full and secure wipe -> no way to get data back ?

Hi everyone,
I am about to sell my old galaxy S3, and I would like to completly wipe it:
I have already read tons of topic, i don't want to:
- manually delete files
- wipe from recovery
- format from the setting menu
etc.. I have already done these steps before and i am not satisfied:crying:, i would like the next owner to not be able to find any file on my phone with softwares such as getDataBack or DiskDigger...
I read on xda that the only way to "erase" a file is to replace it.. so if i fill my phone with many useless files I may not be able to recover any file anymore..?
but that's why i poste here.. i would like to know if there is a software which can do this by itself ? or if there are other methods...
thanks a lot for your help
cheers
anyone ?
Here's a tutorial I found online!
Step one: Encrypting
I recommend encrypting your device before you are getting ready to wipe it. The encryption process will scramble the data on your device and, even if the wipe doesn't fully delete the data, a special key will be required to unscramble it.
To encrypt your device on stock Android, enter settings, click on Security, and select Encrypt phone. The feature may be located under different options on other devices.
Step two: Perform a factory reset
The next thing you will want to do is perform a factory reset. This can be done on stock Android by selecting Factory data reset in the Backup & reset option in the settings menu. You should be aware that this will erase all of the data on your phone and that you should backup anything you don't want to lose.
Step three: Load dummy data
Following step one and two should be enough for most people, but there's an extra step you can take to add another layer of protection when erasing your personal data. Try loading fake photos and contacts on your device. Why you ask? We will address that in the next step.
Step four: Perform another factory reset
You should now perform another factory reset, thus erasing the dummy content you loaded onto the device. This will make it even harder for someone to locate your data because it will be buried below the dummy content.
Still feeling a little paranoid? Repeat steps three and four as many times as you like. As I mentioned above, though, for most people simply following steps one and two should be enough. Without the encryption pin, which is overwritten in the initial factory reset, it will be almost impossible to unscramble your data.
Step five: Try using data recovery software to see if you succeeded in completely wiping your original data!
Then again, you could always take a hammer to your phone or toss it in the toilet. You know, if you aren't interested in selling it.
Hello, thank you very much for those explanations !
I will do all these steps and check if backup softwares find something

Best File Shredder ?

I'm looking for a file shredder that will work decently with our 5X internal storage.I'm going to use it in conjunction with Tasker or another similar automation app to wipe my device in the event of unauthorized access.As a lot of us do, I have sensitive work info on my device and am trying to basically overwrite everything so it can't be picked apart and recovered.Any suggestions would be appreciated.
This discussion may be of interest to you.
Here's the meat of it:
Due to wear leveling present in all new flash memory controllers, there's no way to securely erase a single file unless the flash memory manufacturer has built in a secure erase tool. If you're trying to clean a phone before selling it, go through the process to encrypt your phone's storage then do a factory reset. The data will be there but encrypted and performing the reset deletes the encryption key so it is unrecoverable.
Click to expand...
Click to collapse
For some reason it won't allow me to give thanks for your answer. More than likely because I put the thread in question format. Anyhow,I appreciate your answer and the info.

Backup images from the phone

Respected by mistake, I reset the phone to factory settings.
So on that occasion I lost pictures, videos, viber pictures, messages and sms.
So I'm wondering how I can get back to my phone or computer.
And is it possible to set the phone as a usb device or sd card so that all the data on the computer is restored to the software (I managed to recover the data from the deleted usb from the usb device using recuva applications and the like)
Thanks
sndelija said:
Respected by mistake, I reset the phone to factory settings.
So on that occasion I lost pictures, videos, viber pictures, messages and sms.
So I'm wondering how I can get back to my phone or computer.
And is it possible to set the phone as a usb device or sd card so that all the data on the computer is restored to the software (I managed to recover the data from the deleted usb from the usb device using recuva applications and the like)
Thanks
Click to expand...
Click to collapse
What you intend to achieve requires 1. the phone is rooted and 2. USB-Debugging is successfully enabled. Both requirements fulfilled?
jwoegerbauer said:
What you intend to achieve requires 1. the phone is rooted and 2. USB-Debugging is successfully enabled. Both requirements fulfilled?
Click to expand...
Click to collapse
The phone is rooted once but I'm not sure if it's done well.
So I should root it and then try with some apps to find the lost files in the phone?
sndelija said:
The phone is rooted once but I'm not sure if it's done well.
So I should root it and then try with some apps to find the lost files in the phone?
Click to expand...
Click to collapse
I apologize: Device must NOT be rooted.
Carrying out a Factory Reset all your device data get wiped out, means you end up losing all your important user data before it is backed up. However, Factory Reset does not affect the external SD-card in any way. So, even if you have the SD card inserted with videos, images, documents and any other personal information in the Android device while carrying out a Factory Reset, everything will remain safe and intact.
Factory Reset is neither the best option anyway.
As long as after the Factory Reset no apps etc.pp. got installed on Android device, there is a chance you can recover deleted user data - but only if the related storage memory didn't get overwritten in between. So instead of recovering deleted files from Android without computer by an Android file recovery app, which could potentially overwrite the deleted files when the app is installed, you have a better chance to recover the deleted files with a desktop Android data recovery application on your computer. Dozens of those Windows applications are available, simply do a Google search for those.
I tried the root phone but failed.
Does anyone know how to root this model?
Thank you

Categories

Resources