[Q] I need a way to view what changes were made after software was installed - Android Q&A, Help & Troubleshooting

Not sure if I'm posting this in the correct place but, here we go.
I am being asked to install work related software on a personal device by an employer. The device in question is a Samsung Note 3. Due to the software being work related, I can't mention what it is or what it is for.
Since I am unsure of what exact changes this software will make to my device, or what features will be disabled or locked down, I would like the ability to run a utility that will record the exact changes that are being made so I can revert them after I am done with the software.
I have used software like this before for a Windows system. It made a log of where files were placed and what changes it made to files, system files, registry, etc. Basically a snapshot of before and after, with the ability to view the changes made.
If anyone knows of a utility that can do this on an Android system, the help and recommendation would be greatly appreciated.

Related

Divining application registrations

Hey guys:
Quick question. I've got a bunch of apps registered on my phone. Every time I flash a new ROM I need to reenter all of those serial numbers. I was looking at the UC customization threads to see if maybe I could just create a provisioning XML to create the appropriate registry entries automatically. Problem is don't think all the apps store their registration information in the registry.
So a couple questions:
1. I've found a good way to see registry changes (and thus figure out which keys I need to update), but I can't find the equivalent for the file system. Is there a tool that can take a snapshot of the file system on the phone, and then show diffs of the current file system with that snapshot? (That way I could figure out the additional files I'd need to copy over to make apps think they're registered.)
2. Is there another mechanism, other than registry and file system, that apps use to set themselves as registered? I couldn't think of anything... but then I'm hardly a hacker. (Even though... and correct me if I'm wrong... this is not technically hacking -- the serials are valid, I just don't want to reenter 10 of them every time I flash)
3. (And this probably belongs more in the UC thread): for some reason my provisionining file has no effect whatsoever. I've verified syntactical correctness of the file, and that cabarc can successfully create a CAB out of it. I've verified that the file is "installed" during the customization step. Yet, after a reset I see none of the changes specified in the provisionining xml. Any idea how I can debug this? Is there a log file that the config program leaves somewhere?
Thanks!

[RES][COOKING] rilphoneAuto: auto RIL DLL selection based on user's current radio ROM

*** MOVED! The dev thread for this app is now in Development and Hacking, HERE
---original post---
I recently got into cooking my own personal ROMs, and realized that every time I get a new kitchen/ROM or flash a new radio, I have to make sure the rilphone.dll file is the correct one for my radio. Well, more accurately, I realized how annoying it can be.
Yes, it can be done with UC and the appropriate CAB for the user's current radio, but I wanted to create an easier way to do it so that the user doesn't have to think about it. Considering how many times the TP/Fuze keyboard layout question is asked here, I'd say any kind of automation is good automation
My answer to this issue is rilphoneAuto.exe, a .NET CF 2.0 app that reads the user's current radio version, determines if the appropriate RIL DLL is available (through a configuration XML file), and edits the "DLL" entry under HKLM\Drivers\BuiltIn\RIL to point to this particular DLL.
In order for this app to work, you have to include all the RIL DLLs you'd like to support in your ROM, and change the rilphoneAuto.xml file to have an entry for each of those DLLs. It's a very simple format, don't worry
I have attached version 1.0 of rilphoneAuto in OEM and EXT formats. Both attachments contain the app, RIL DLLs version 1.12.25.19 and 1.14.25.05, and the XML config file preconfigured with the aforementioned DLLs.
*** IMPORTANT: You must add rilphoneAuto to one of your config*.txt files in order for the app to start on first boot customization. I don't know if that can be done from inside the OEM or EXT packages. The line you'll need to add is:
Code:
EXEC:\Windows\rilphoneAuto.exe
Please leave feedback. Thanks!
Looks like a good addition, i'll try it out on my ROMs.
frickin awesome!
you should post this on the development & hacking forum, a lot of other devices users could use this too!
Good idea. I'll do that.
awesome as hell for all the users into radio switching and even those who arent. they'll have improved functionality and not even know it, just by flashing their radio.
so this is in the rom i just updated to
if i change my radio after the initial boot does the phone change the necasarry settings? or is it now up to me?
thanks
rilphoneAuto should only run on first boot, so if you changed your radio, you should re-run it by executing \Windows\rilphoneAuto.exe and then rebooting.

[4.2.2][Fake GALAXY S5 mini][SM-G800][Translation] Useful notes on Translating

Hello
[INTRO](a little background)
This is a guide for those who want to have their phone in their language but the operating system does not have it built in. You can flash a new ROM that has it or install an app right? Not so much. There are reasons for these methods to fail or simply not work for your situation. My problem was that the bootlegged hardware was not supported by the official ROMs or the Android community. This forum is also riddled with threds that started by people who need to mod something about their phone but have no technical knowhow. There wouldn't be annything wrong with that exept that the awnsers in these threds are something along the lines "Oh you just need to do this thingnemabob" that's it one sentence pointing to a technical slang word that means nothing to anyone but a seasoned developer despite first post DIRECTLY STATES IT WAS MADE BY A PERSON ASKING FOR A STEP BY STEP SOLUTION OR A LINK TO A TUTORIAL!
[pre-procedure]
List of necessary software:
Zipsigner (this goes on your phone)
ADB
text editor of choice( notepad++ recommended)
AIO-Flasher
smali/backsmali (depeding on wether your system files are odexed more on that later)
APKstudio
[installing above software]
Zipsigner
Why you need it?
As you modify your apk files their signature changes. Basically if you change anything about them the phone will no longer recognise these as "its" therfor you need to convince your phone that these are in fact okay with zipsigner.
how to install?
This is an app. If you ever installed anything from Google playstore before than you know how to install it. Go to your Google play store app on your phone. Search for Zipsigner and pick the top app. Agree to all the demands and tap on install
ADB
why you need it?
this is a command line piece of software. these might be very scary to use but don't worry follow the tutorial and you'll be okay. That aside what is it used for. ADB is a powerful tool but we will use it only to copy and paste files to and from Phone
how to install it?
ADB comes packed up with Android Development Kit so the easiest way to install it is to get the ADK
[STEP 1]
Okay so you want to translate your phone for one reason or another. Make backup! Backups are important. You want to have something when you fail to fall back on. Yes "When" you fail. Not "if" you fail. You will screw up but as long as you have a proper backup everything is okay.
You can back up your phone in few different ways.
Hello
[INTRO] (skip if you are not interrested in fluff)
For the past week I lived in Android Hell looking for what I thought would be a simple procedure and I wanted to share my expieriences somewhere so that no one else has to go through this flustrating expierience.
I got two phones (Galaxy S5 and Galaxy S5 mini)and I was taked with translating them. Well It should not be a problem I thought because it should be as easy as going into [settings]>>[region and langages] and choosing Polish. There is no Polish. So that was my first step towards the translating thiese.
[STEP 1]
First thing first backup. I am by no means a talented programmer or modder so I went with Samsung Kies but software didn't recognise neither phone. After fiddling with drivers and a back-and-forth with samsung costumer support we came to conclusion that phones are fake. IMEI of one identifies it as a Blackberry and other as Nokia >_< well okay they still have some sort of Android so there should be a way to translate them anyway. First thing on the agenda is still backup. So I went through a triall and error to get both roms dumped. I was successful with ANDROID AIO FLASHER which was a godsend after I failed time and again to push romdump's INSTALL into the phone. I managed to get one ROM off by now but other Phone still insists on denying me ability to dump the rom because of Segmentation error. but at least I have one rom backed up.
[STEP 2]
Okay I got myself ROM now what? I decided to make a transfusion. Why bother with getting down and dirty when you can just use the work of others. So I downloaded a ROM with same version of the Android OS and begun looking for language pack or something similar. No luck this is not how Android works. After some research I came to the conclusion that in order to make things work I need to basically decompile each and every APK file that refers to system functionality and translate Strings.xml by hand in order to ensure compatibility.
[PRESENT DAY]
this is where I am now. all I wonder if there is a way to add a new file in the APKs with polish in it or should I just translate English "strings.xml" file and set langage to english?
Feel free to point out faults in my logic as well as provide tips and tricks for those of us who bought our phones on the cheap and just want to usethem with language they are comfortable with. I will build up this topic with factual information that I come across and try to make this into a universal guide to Android translation with resources to download. I do this because no one should be subjected to this and there is no decent step by step guide on this forum just disjointed and incompleate information in posths here and there. Belive me I looked both here and Google and after two weeks of finding nothing more than a hints I want to just give back to the community all I found.

Can i edit the wifi section of an *.img with Dragonface??

Hi.. I have been trying to fix a tv stick for a few months now (basically is more about the knowledge i am getting - I am not desperate in fixing it). It is a strange piece, probably clone that i have been tricked in buying. It has an Allwinner A20 dual core cpu with an AP6210 wifi module...
Tried to flash another firmware ti improve it, ended up with the wifi problem. Wifi (and bleutooth) will not start. When i press the button, it just slides back to off... I have read and tried anything i could find on the internet. I have also tried tens of firmwares, but the wifi problem persisted (the original firmware is nowhere to be found).. To cut the story short, the device will not connect to a computer through ADB (it just doesn't seem to support this function - is not a matter of drivers). So everything i have been trying did not include this option...Also the recovery can not be changed to support backup and restore from custom recoveries (i.e CWM, or TWRP)..
What i did manage was to extract a backup from the rom, of another identical device, with the Nandroid App (online version, not through the recovery). Then i used the Dragonface program to edit another similar firmware (MK808C). While loaded, i open the FSOP folder which is the folder that dragonface collapses the loaded firmware for editing and then, i replaced the existing system folder with the one i had backed up trough the Nandroid procedure... Then hit the save button of the Dragonface...
I flashed the new *.img to my tv stick with the phoenix tool, and the tv stick booted normally, looking EXACTLY the same as when i first bought it. I even managed to get the bleutooth going this time, BUT, the bloody wifi still refuses to come on :-/
I must tell you, I know my way through some computer technical stuff but I am not an expert into the coding level and i haven't had the experience of Linux systems (thus i don't really understand coding). I really thought all settings and drivers are included in the system file and copying the original system file into another firmware, would do the trick.. but i guess is not that simple... The thing is that, the way i see it, the problem is probably hidden at the booting level... hitting the system configuration in the advance settings of the Dragon face, will open some coding thing which i don't understand.. but i do see the AP6210 module in that coding, which means that the new firmware includes those drivers..If anybody have any idea or can point me to the right direction I would really appreciate it.. Thanks
I have the same problem with AP6210 on H3 Allwinner STB box. After firmware ugrade from Android 4.4.2 to Android 10 Wifi just don't work, button slides back to off. Drivers are present. Have both firware files unpacked.
Please help! What i have to do? Sys_config? Init.rc?

Create global content filter for files

Hey guys!
I´m new here and I hope you can help me with some questions... I didn´t know if I´m right here, so please correct me if I do something wrong
My "setup":
- Samsung S3 international with CM13
I like to create a global "Content Filter", which filters files (pictures, videos, documents, etc.) on my smartphone. So what I mean is something like what the UserManager (sorry I can´t poste the Link to Android API) from Android framework does:
User A (owner) creates pictures with the camera, download files, etc. and if User B (guest) logs in, User B can´t access the files from User A and vice versa.
The diffrent part is that I like to "hide" or better make them not accessable by custom criteria - for example "only pictures from the last two hours will be shown to User B". And the main point ist that every application gets the same content.
I thought I have to edit and extend the internal/external storage functions (or ContentProvider?) by my custom filter. Later there will be a system app for controlling the behavior of this filter.
Now there are some question, which I ask myself:
- Is it possible to implement this functionality in Android specific code and not in device specific code? So is it possible to make it portable for other devices and Android versions (Custom ROM, manufacture ROM or the pure Stock Android from Google´s Nexus phones) without "much" effort?
- Does it make more sense to use the original Stock Android instead of Cyanogenmod to reach the portability?
- Where do I have to start? I downloaded the source Code of CM13 for the Samsung S3. But how I ask before - is there a generic way for all devices and android versions? I started to look into the framework specific code of android (system/frameworks/base/... ). I thougth I can build the filter between the api calls (java -> jni bridge -> c/c++), but that would be not the right place, yes?
I hope someone understand my plan and can help me with some informations and tipps or where I have to look to get them!
Thanks!!
Fabian
I think you might mean the profile system that android used to have on ICS?.
Unfortunately I can't answer why they removed that feature. Does the phone not have an option or something if you have 2 or more google accounts registered to the device?..
Beamed in by telepathy.

Categories

Resources