[Closing message]
Hi,
I am discontinuing the work on the Android Permission Spoofing Framework as I am not using Android anymore.
If anybody is interested in taking over the development I would be very happy to help her or him getting started as much as possible.
Feel free to contact me if you would like to work on it.
Sorry and have fun - Guhl
[End closing message]
This ROM is based on Andromadus CM11 Alpha. Besides the deep integration of the permission spoofing functionality the ROM is unchanged from Flinnys Andromadus CM11 builds!
In addition to the original Andromadus rom it includes the permission spoofing framework enhancement that was originally developed by Plamen K. Kosseff for Android 2.3. The functionality has been rebased to Android 4.4 and enhanced (a lot) by me and is now available.
My work was/is originally done for the HTC vision (G2/DZ) for which i provide ROMs based on ASOP and CM10.1.
If you as a developer want to add the permission spoofing framework to your ROM please go ahead it should be portable easily. I will keep the commit list updated. If you need help don't hesitate to ask!
Actually the main motivation to publish this is to inspire other developers to integrate this with their work.
The source of the enhancement can be found on github in the repositories:
android_frameworks_base
cm-android_frameworks_opt_telephony
cm-android_packages_apps_Settings
The current work is done in the cm-11.0 branch and the relevant commits are:
framework initial commit
framework bug fix 1
framework bug fix 2
frameworks telephony initial commit
app settings initial commit
framework permission spoofing - location
framework pff: infrastructure code cleanup
framework pff: infrastructure bug-fix in ContextImpl.java
framework pff: permission spoofing - contacts and phone log
framework pff: permission spoofing - calendar (Instances)
framework pff: permission spoofing - calendar (Instances - cleanup)
framework pff: permission revoking - initial commit
framework pff: add PFFInfoDatabase to make spoofed information persistent and changeable
framework pff: bug fix for permission revoking
What is permission spoofing
Permission spoofing means that the framework will return spoofed information to Apps instead of the original information based on permissions that the App requested during installation. The main motivation for the development of this functionality is the protection of the privacy of the phones owner.
Examples for spoofed information are:
Empty contact list instead of real contacts - READ_CONTACTS
False location instead of real location - ACCESS_COARSE_LOCATION / ACCESS_FINE_LOCATION
False Information for phone id and phone number - READ_PHONE_STATE
Empty log instead of real phone call log - READ_CALL_LOG
Empty calendar list instead of real calendar entries - READ_CALENDAR
....
Current implementation
Currently the following permissions are available:
READ_PHONE_STATE
While this permission allows the App to read the state of the phone (in call, ...) it also allows the App to read information like the phone number or the IMEI of the phone. Instead of revoking the permission that has to be granted to an App, permission spoofing provides spoofed information for this sensitive data.
ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION
Instead of the real location a location that can be set using the PFF-GPSPath will be reporte (the default spoofed location is the top of Mt. Everest). The implementation is not perfect yet (Google maps and Latitude still seem to know the coarse location - working on that)
READ_CONTACTS and READ_CALL_LOG
Instead of the contacts and the call log an empty list will be reported. The implementation sets the limit parameter of the query to 0 if the permission is spoofed.
READ_CALENDAR
The implementation changes the date for which the items will returned to the first week of 1970.
More permissions might be added in the future.
Usage
Spoofing can be enabled on a per App basis. To enable spoofing go to Settings - Apps, choose the App for which you want to spoof the permission. Below the spoofable permission will be a switch that can be set to On to enable spoofing or Off to disable spoofing for this App.
Optional Apps
The source of these apps is also available at https://github.com/guhl
PFF-GPSPath
The PFF-GPSPath App can be used to set the spoofed location and in addition it can also be used to define a path the can then be simulated in the App (by effectively moveing the spoofed location)!
HowTo for PFF-GPSPath HowTo
PFF-Settings
The PFF-Settings app provides the same functionality as App - Settings but in a more comprehensive way.
It provides a list of all Apps (including system Apps) that have a spoofable permission and allows you to set spoofing On/Off for them
PFF-Test
If you spoof a spoofable permission for the app PFF-Test you can check the info that the framework provides to PFF-Test
Downloads
ROM cm-11-20140108-UNOFFICIAL-vision-pff.zip (kind of stable version)
ROM cm-11-20140331-UNOFFICIAL-vision-pff.zip (nightly)
Gapps are not included in the rom - they can be found at SLIM ROM 4.4 gapps page
PFF-GPSPath_1_3.apk
PFF-AppSettings_1_1.apk
PFF-Test
Communication
I do not want to start a flame war on spoofing on XDA. Whiile spoofing is important for me I do understand people opposing it.
If you want to talk to me, the best way to do this is to look for me (Guhl) at #nexus4, #G2ROOT or #andromadus on freenode IRC.
Changelog
2014-03-31
Updated from Andromadus/CM - fixed SMS/MMS crash
2014-03-22
Updated from Andromadus/CM
2014-02-15
Updated from Andromadus/CM - no new spoofing
ROM is untested
2014-01-08
Rebased from AOSP 4.4 to Andromadus CM11 - ALPHA !!!
Credits
Plamen K. Kosseff for the original framework changes
Flinny for his huge work on the Andromadus roms and supporting me with my original development for the vision
pierre_ja, Nipqer, Hymie and all the others at #G2ROOT for their endless help and entertainment
Keep in mind - this is ALPHA
Hi,
at the moment the permission spoofing build that i posted today is based on Andromadus ALPHA.
Please have a look at [ROM][24-12-13][Flinny] Andromadus - CM10/11.0 - Vision [alpha2] to see what works and what does not.
There are problems with:
- installing gapps
- android standard browser
- GPS (maybe)
- ...
Have fun - Guhl
So glad to see you are making this! Keep it up my man, love your work!
Sent from my Nexus 4 using XDA Premium 4 mobile app
fantastic work, running great
G Sensor works!
But when i hit revoke network access it turns on but isn't saved, so next time i enter app info it's off again (i've tested the app i revoked had network access) I want to remove avast and use this (for many reasons)
And looks like i need to restore apps + data via titanium back and than to move to sd-ext using link2sd, because restoring sd-ext via recovery console isn't working. Link2sd don't recognize any program, but when print info there's about 1gb used space on sdext so apps are there.
Now i'm swapping back to 4.2, and when have time to play with TB will migrate completely.
I use xprivacy (having another phone): works also great (you need the exposed framework).
Updated ROM from Andromadus/CM - Test-Build available
Hi,
I did update the ROM from the Andromadus/CM sources and provides a test-build (see the OP).
As I am on holidays and ain't got a vision with me I can't test the ROM - but maybe someone wants to.
Have fun - Guhl
PFF-GPSPath Version 1.3
Hi,
In my constant struggle to remove everything that involves the use of the closed source Google Play-Services from my devices I rewrote the PFF-GPSPath App.
Version 1.3:
- Switched to OpenStreetMap data using the MapQuest Android API
- Completely removed dependencies on Google play-services
Known-Issues:
- Draging Markers is not implemented yet
There is no functional improvement between version 1.2 and version 1.3 but it is all free!
Have fun - Guhl
Nice. Im still waiting for something to get a lot more stable.
Updated ROM from Andromadus/CM
Hi,
I updated the ROM from Andromadus/CM.
It's running fine for me.
Have fun - Guhl
guhl99 said:
Hi,
I updated the ROM from Andromadus/CM.
It's running fine for me.
Have fun - Guhl
Click to expand...
Click to collapse
text messages crashes when u try n open a massage or start a new one, part from that everything else seems fine
great work, huge thanks
Sent from my Desire Z using xda app-developers app
Mince69Meat said:
text messages crashes when u try n open a massage or start a new one, part from that everything else seems fine
great work, huge thanks
Sent from my Desire Z using xda app-developers app
Click to expand...
Click to collapse
Hi,
thanks for repporting this. I did not notice it as I am running TextSecure as my default SMS/MMS app.
I'll try to look into it.
Have fun - Guhl
Updated ROM from Andromadus/CM
Hi,
I updated the ROM from Andromadus/CM and fixed the crash in the SMS/MMS App.
Have fun - Guhl
guhl99 said:
Hi,
I updated the ROM from Andromadus/CM and fixed the crash in the SMS/MMS App.
Have fun - Guhl
Click to expand...
Click to collapse
Hi,
finally was able to migrate to the latest version(31.03.2014), with all of my user apps.
few bugs i'd found so far:
* hardware keyboard special symbols doesn't work (only ~ and "), for all other it's type letter when Hit Fn and key or doesn't type anything if hit double Fn.
* Just can't revoke network access permission. I've turned it ON, exit app info dialog, but the app still have network access. When re open app info revoke network access is back to OFF
* PFF-Settings values isn't share with android settings. I mean when change permissions via pff settings, app info dialog doesn't update this change
P.S. But no problem with g-sensor, this time :good:
Thank you!
Thank you for the right step into more personal saefty!
Just a quetion. Why can i not aktivate the revoke stop for geting into the www?
And, why does any firewall not work?
Greetings and please continue your importaint work!
If i can help, just email me...
Lg ivi
Sent from my Desire Z using xda premium
ivifly said:
Thank you!
Thank you for the right step into more personal saefty!
Just a quetion. Why can i not aktivate the revoke stop for geting into the www?
And, why does any firewall not work?
Greetings and please continue your importaint work!
If i can help, just email me...
Lg ivi
Sent from my Desire Z using xda premium
Click to expand...
Click to collapse
as for the firewall I be-leave that's been messed up in the CM git hub , the Linux (android) packet filters are messed up, I could be wrong but I think that's the issue with FW programs
soadfan said:
Hi,
finally was able to migrate to the latest version(31.03.2014), with all of my user apps.
few bugs i'd found so far:
* hardware keyboard special symbols doesn't work (only ~ and "), for all other it's type letter when Hit Fn and key or doesn't type anything if hit double Fn.
* Just can't revoke network access permission. I've turned it ON, exit app info dialog, but the app still have network access. When re open app info revoke network access is back to OFF
* PFF-Settings values isn't share with android settings. I mean when change permissions via pff settings, app info dialog doesn't update this change
P.S. But no problem with g-sensor, this time :good:
Click to expand...
Click to collapse
Hi soadfan,
regarding the keyboard: Go to settings - language & input - vision-keyboard - set up keyboard layouts -> select the English HTC Desire Z hardware keyboard.
That brings back the special characters (also the functionality to long press a key for the special character popup)
I will look into the internet revoke problem over the weekend
Have fun Guhl
soadfan said:
...
* Just can't revoke network access permission. I've turned it ON, exit app info dialog, but the app still have network access. When re open app info revoke network access is back to OFF
* PFF-Settings values isn't share with android settings. I mean when change permissions via pff settings, app info dialog doesn't update this change
...
Click to expand...
Click to collapse
Hi soadfan,
for which App did you want to revoke Internet access?
At the moment my implementation is a bit confusing. While I do show the "revoke" switch in the apps setting for all apps that have the Internet access permission I do only set the revoke for Non-System Apps. So i.e. you can not really revoke the access internet permission for the standard browser as it is a system app.
I will rethink this approach but please tell me which App you tried it for.
Have fun - Guhl
guhl99 said:
Hi soadfan,
for which App did you want to revoke Internet access?
At the moment my implementation is a bit confusing. While I do show the "revoke" switch in the apps setting for all apps that have the Internet access permission I do only set the revoke for Non-System Apps. So i.e. you can not really revoke the access internet permission for the standard browser as it is a system app.
I will rethink this approach but please tell me which App you tried it for.
Have fun - Guhl
Click to expand...
Click to collapse
Several - Opera browser, tapatalk, tix.bg and few more that don't remember.
Is it possible avast firewall to mess up with your implementation?
I will test without avast installed, and report back here
UPDATE: I've removed avast completely but still not working, but i remember (know) when just tried the rom was happening same thing:
soadfan said:
But when i hit revoke network access it turns on but isn't saved, so next time i enter app info it's off again (i've tested the app i revoked had network access) ...
Click to expand...
Click to collapse
Hi all
Can you confirm one bug with the app Kontakte mean Contacts.
It is not possibile to put a picture to the Contacts. I get alweays the frame " there are no picutres on the storages" but i habe more than plenty picutres
Also the option to take a picutre and to add to the contact is not possibel, the error apears again.
Any idears?
I really would love to give the contacts a face with pictures....
Thank you for your help!
greetings ivi
Related
this guide only for those who have 2.1 eclair (not for korean or bell device)
1. download every driver or software needed to connect your phone via usb, or you can get it here http://gorumors.com/samsung-galaxy-s-rooting-guide-i9000/2754159i9000/2754159
2.download update for international i9000 with superuser 2.3.4
https://content.wuala.com/contents/Samsung%20Galaxy%20S/Firewares%20,%20Updates%20and%20Odin/Android%202.1%20Root%20Update/update%20for%20international%20I9000%20with%20superuser%202.3.4.zip?key=AfzUZSU4SpKU&dl=1
3.extract GalaxyS_I9000_One-Click_Root.zip . look for root.zip, delete file.
4.rename "update for international I9000 with superuser 2.3.4.zip" to root.zip
5.move it to the "GalaxyS_I9000_One-Click_Root" folder
6.run application, click unroot 2.1 your devise for those who already rooted their sgs (im not certain about double rooting) so play safe!!!
7.if you got a fresh device then you can go ahead click 2.1 root.
8.follow the onscreen instruction (takes about 30 seconds) i think
9.voila! you got a brand new superuser 2.3.4!!!
"for those who think that you are superior, and call the rookie a noob ,and not willing to share your knowledge. im sure that one day you gonna get your stuff bricked, or having a misserable death" be wise good deed will grant you friends and prosperous live!
or you could open the market and update it...
rifky1780 said:
"for those who think that you are superior, and call the rookie a noob ,and not willing to share your knowledge. im sure that one day you gonna get your stuff bricked, or having a misserable death" be wise good deed will grant you friends and prosperous live!
Click to expand...
Click to collapse
You is a noob in english
Sent from my GT-I9000M using XDA App
When i try to update from the market, its says unsuccessful.
I've double rooted ...no problem
mastercut said:
I've double rooted ...no problem
Click to expand...
Click to collapse
double rooted??
Open term:
su
rm /system/app/Superuser.apk
pm uninstall com.noshufou.android.su
Install from market
And for what do i need to update superuser?
Do i have now i better interface, for pressing YES or NO?
exadeci said:
Open term:
su
rm /system/app/Superuser.apk
pm uninstall com.noshufou.android.su
Install from market
Click to expand...
Click to collapse
Worked perfectly, thanks
thE_29 said:
And for what do i need to update superuser?
Do i have now i better interface, for pressing YES or NO?
Click to expand...
Click to collapse
- Each permission is shown by it's name, rather than it's UID
- Many translations (Spanish, German, Czech, Greek, French, Italian, Dutch, Russian and Danish (Some are full translations, some are only partial))
- Optional notifications
- A dialog that shows details of each permission
- Full logging system
- A much clearer request window.
- Permissions are removed when an app is uninstalled to prevent another app from possibly getting permissions you don't want it to have.
- A bunch of work behind the scenes to smooth things out.
(New for 2.2)
- Changed requests to a broadcast intent to prevent app murder.
- Using new permission scheme for better security
- Fixed several database leaks.
- Version display for app and binary in preferences.
(New for 2.2.1)
- Install fixed. Will clear old permissions, but it's the last time I'll delete your permissions.
- Fixed AndroidManifest to allow install on cupcake.
- Russian translation thanks to stari4ek
(New for 2.2.2)
- Install really fixed this time thanks to a trick little shell script in the update.zip
(New for 2.3)
- New layout of main app
- Full logging
- New request layout
- Fixed boot/widget bug
- Date/time format options
- Better notification system
- New icon
- Better allow system
- A whole mess of code cleanup
- Rearranged drawables so that only one apk needs to be built for any firmware
(New for 2.3.1)
- Big bugfixes
- Better support for landscape mode
- better support for ldpi devices
(New for 2.3.2.1)
- Now lives in the market!
- Bugfixes
(New for 2.3.3)
- More bugfixes
- App can now update it's own binary without using update.zip
(New for 2.3.4)
- App downloads binaries if necessary
- Entry in Settings to check for updated binaries
(New for 2.3.5)
- Better handling of su binary versions (Thanks ATomCZ)
- Polish translation (Thanks Piter1225)
- Fixed bug that prevented Apps from showing up if they didn't have a log entry
- Added Clear Log button to preferences
- Added a check to ensure that no other apps are trying to respond to Superuser requests
Click to expand...
Click to collapse
That's all The most important are bugfixes
moosamm said:
When i try to update from the market, its says unsuccessful.
Click to expand...
Click to collapse
same here
dinfung said:
same here
Click to expand...
Click to collapse
exadeci said:
Open term:
su
rm /system/app/Superuser.apk
pm uninstall com.noshufou.android.su
Install from market
Click to expand...
Click to collapse
Well open your eyes -_-
just for playing, downloaded the update.zip posted for I9000XXJPC. then replaced the 2.1 apk with the new version 2.3.4 (using 7zip), went through the update process for the jpc, first it gave error but I rebooted, and it works perfectly after updating the su binary (through the app settings). so it also works for 2.2 jpc.
Hi,
I created a little toolbox app for the Galaxy S. It requires root and has the following functions:
- Check & backup device product code files (req. root)
- Access hidden dialer code menu's
- Reboot and reboot into recovery (req. root)
- Mount /system as rw (and back to ro) (req. root)
- CSC Selection
- Scan SD card for corrupt image/movie files and remove these to prevent the mediaserver process from going crazy and draining your battery.
Hope you like it. Suggestions for additions and bug reports are welcome.
Cheers,
Xander
THE APPLICATION IS AVAILABLE IN THE ANDROID MARKET! If you like it consider the Donate version.
0.5.6 changelog
- Check for busybox at launch
- UI changes
- Fixed remount for gingerbread.
0.5.3 changelog
- CSC Selection and product code check functions didn't work on a fresh install when the efs backup hadn't been done before.
0.5.2 changelog
- Fixed the GPS test menu.
- Removed the unnecessary internet permission.
Reserved for changelog...
v0.1 - Added shortcut to Phone and Battery info menu.
v0.2 - Writing nv_data backup to a timestamped folder in /sdcard/ProductCodeCheck/yyyyMMdd-HHmmSS
v0.3 - Added menu option for CSC selection menu, reboot and reboot into recovery.
Menu items requiring root have been marked red and are disabled.
v0.3.1 - Fixed the app icon so the corners are transparent instead of black. Looks better on your homescreen
v0.4 - Added option for remounting the /system mountpoint as r/w (and vice versa)
v0.4.1 - Bug fixes
v0.4.2 - Bug fixes and error code reporting
dl i'll give it a try! tnx!
Looks great, will try, thanks!
Nice app Good to see that I still had XEN code and it also backed up the nv_data.bin and the .nv_data.bak file
Hi,
Just created version 0.3 with these new options:
- CSC selection menu
- reboot
- reboot into recovery
You can find the APK in the first post.
Thanks for the update!
Thank you for this! It's great!
Not quite sure if it's for the Captivate or not but I downloaded it..lol
Thanks
Great App. works fine on the SGS i9000m thanks!
I got it, but recovery and the other one is red, disabled. I have rooted my phone, so should they not be disabled?
X-GoD said:
I got it, but recovery and the other one is red, disabled. I have rooted my phone, so should they not be disabled?
Click to expand...
Click to collapse
Those options will only turn red when the app failed to gain root access. Did you allow the app to gain root though the superuser permissions ?
It never did the first time, but then i opened it up again and it aksed for permission, now all are green !!
thanks
X-GoD said:
It never did the first time, but then i opened it up again and it aksed for permission, now all are green !!
thanks
Click to expand...
Click to collapse
Ok great!
Just did a minor update to fix the app icon. Now it has transparent corners so it looks better on your homescreen .
hello, would this work on the new samsung fascinate for verizon? i already have root access and i am wanting to try this great app. thanks
works on my SGS...nice apps
Thanks for the app
BTW, and excuse the noob question.... for what is the option Check Product code ?
It writes a file nv_data ... for what is that file ?
Thanks in advance
am too wondering - where is the option to see the Product Code using this App?!
Great little app, thank you for sharing with us all
Nice app
APK Edit V0.4e
--------------------------------------------------------------------------------
Ever wanted to simply change an icon on your Android phone and found yourself lost in the endless lists of forum posts saying: you have to change heaven and earth to do this...
NOT ANYMORE!!!!
APK Edit is born!
With this little program you can simply change icons of your android application.
It even lets you change the applications name.
But wait mike..... there's more.....
It even lets you edit the text used in applications.
Sounds to good to be true...
Well... to be honest.... it is.
But I've come a long way from that initial question to the final answer.
My conclusion so far, it works for most of my applications.
It probably will work on most of yours as well.
Try it out now!
(Caution: when overwriting an existing application, using the adb Wireless feature, you will loose your associated data!!!)
For the record... only use on you're own apk files, otherwise it's not that legal I think.
Version history:
Code:
0.4e - Minor update
Added: Some more debug logging on startup of the application.
Fixed: Version number in settings tab now shows correct version.
0.4d - Minor update
Fixed: Fixed startup crash if some APK properties are empty (like screensize/densities/locales), like in Settings.apk.
Fixed: A little bug in the fancy install mechanism, mainly experienced when installing system apk's
0.4c - Minor update
Fixed: Compatibility issue with Windows XP, causing program to crash on startup.
0.4b - Minor update
Fixed: Error extracting signature.
Changed: Extended logging.
0.4a - Minor update
Changed: Logging is enabled by default.
Added: Some debug messages for when opening of apk goes wrong.
0.4 - Major rewrite
Did a major rewrite of the code.
Added: Option to choose APK tool version
Added: Logging feature
Added: Auto retrieve required dependency files from phone if needed (for editing system apps)
Added: Details panel, shows information about the package.
Added: Restore original file link, for when thing's get really messed up.
Added: Donate button, for those who wanna celebrate with me.
Fixed: Some annoying issues (APKtool Issue 100) / (XLargeScreens bug)
Removed: QR Code installation support
Removed: AdbWireless installation support
0.3 - Update
Added: Language support.
Added: Installation method (USB Cable).
0.2 - Minor update
Added: Save confirmation dialog (as req by droidzone)
Changed: Recreated the loading animation so that it theme's better with the rest of the application.
0.1 - Initial release
Special thanks goes out to:Brut.all for creating Apktool, the backbone of this little project.
and to: anoniem100 to make it functional for noobs like me Orginal Post click here
very good
Seems an excellent work let's try and then will report back
Sent from my GT-I9000 using XDA App
How can I use this program ?? If I open it, it opens a dialog screen that wants to open a java.exe file ?
In order to use it you need to have java installed.
By default it will search for it in "C:\Program Files (x86)\Java\jre6\bin\java.exe".
If it can't find it there, it will pop up the screen you are talking about, asking you where it can find it.
I know, it's a little dirty this way, but I'm a lazy programmer
If necessary you can download java for free at: java.com
Anoniem100 said:
In order to use it you need to have java installed.
By default it will search for it in "C:\Program Files (x86)\Java\jre6\bin\java.exe".
If it can't find it there, it will pop up the screen you are talking about, asking you where it can find it.
I know, it's a little dirty this way, but I'm a lazy programmer
If necessary you can download java for free at: java.com
Click to expand...
Click to collapse
Thanks my friend to make it functional for noobs like me
what can i say friend? you are a great guy!!!
dena994 said:
what can i say friend? you are a great guy!!!
Click to expand...
Click to collapse
So i'll see all custom icons in your next Rom LOL
This is total awesomeness... works perfect for me, i will definitely promote this!
Thanks for sharing it.
BTW heads up --- this can actually break some apps...
The breakage comes because this tool works by decompiling the apk and
signing it with a key that is NOT the same as the original developer's
key so for apps that have co-dependencies (ie, one app calls into another), this can cause mystery errors because if the signatures are not identical, then the call will fail.
while this is a lovely tool, i just wanted to mention this...
thanks for the info
Update New version V0.2
That's true ThaPHLASH, co-dependencies are a big trouble when using this approach. Can't think of any way around it at this time, so we are currently stuck at changing those apk's who are autonomous.
If it does break you're apk, don't worry... it always saves a backup of the original apk when changing.
Great!! its work fine for me
Thanks!
i think this will change the icon in the appdrawer, right ?
if so, it would be nice to seen this wihtin an app on the phone direct,
like desktop visualiser but also in the appdrawer.
dunno if its possible to code, but that woud be awesom !
Falloutboy2000 said:
i think this will change the icon in the appdrawer, right ?
if so, it would be nice to seen this wihtin an app on the phone direct,
like desktop visualiser but also in the appdrawer.
dunno if its possible to code, but that woud be awesom !
Click to expand...
Click to collapse
That is pretty easy to do, u just find the icons in the drawables of a app but I think this app will make it much easier, I need to get back on my pc and check this out.
Sent from my GT-I9000 using XDA App
I have a problem i think.... when change icon to apk file the aplicattion create a .backup file but no a new file with the new icon... and other work ok i dont know why...
Congrats zEsAr!!!
You are the lucky finder of a brand new bug!
Are you having this problem with all your apk files?
No, some apks work ok but others say save changes very fast and the new archive dont exist.
zEsAr said:
No, some apks work ok but others say save changes very fast and the new archive dont exits.
Click to expand...
Click to collapse
Cool, or actually... not that cool, but you get my drift.
Will look into it, I myself have the same problem with some of them.
Maybe has to do something with compression levels, bla bla...
Back to work ;-)
not to question your skills or the app capability, but does it still have the problem zesar had? just wanna make sure before trying it out..
[Closing message]
Hi,
I am discontinuing the work on the Android Permission Spoofing Framework as I am not using Android anymore.
If anybody is interested in taking over the development I would be very happy to help her or him getting started as much as possible.
Feel free to contact me if you would like to work on it.
Sorry and have fun - Guhl
[End closing message]
This ROM is based on the Andromadus CM10.1 build.
(There is also a AOSP based version available here [ROM][21-01-13][Guhl] Andromadus Permission Spoofing Framework AOSP 4.2.2
In addition to the original Andromadus CM10.1 rom it includes the permission spoofing framework enhancement that was originally developed by Plamen K. Kosseff for Android 2.3. The functionality has been ported to Android 4.x and enhanced by me and is now available.
The source of the enhancement can be found on github in the repositories:
android_frameworks_base
android_frameworks_opt_telephony
android_packages_apps_Settings
The current work is done in the CM10.1 branch and the relevant commits are:
framework initial commit
framework bug fix 1
framework bug fix 2
frameworks telephony initial commit
app settings initial commit
framework permission spoofing - location
framework pff: infrastructure code cleanup
framework pff: permission spoofing - contacts and phone log
framework permission spoofing - calendar (Instances)
framework pff: permission revoking - initial commit
framework pff: add PFFInfoDatabase to make spoofed informations persistant and changeable
framework pff: bug fix for permission revoking
What is permission spoofing
Permission spoofing means that the framework will return spoofed informations to Apps instead of the original information based on permissions that the App requested during installation. The main motivation for the development of this functionality is the protection of the privacy of the phones owner.
Examples for spoofed information are:
Empty contact list instead of real contacts - READ_CONTACTS
False location instead of real location - ACCESS_COARSE_LOCATION / ACCESS_FINE_LOCATION
False Information for phone id and phone number - READ_PHONE_STATE
Empty log instead of real phone call log - READ_CALL_LOG
Empty calendar list instead of real calendar entries - READ_CONTACTS
....
Current implementation
Currently the following permissions are available:
READ_PHONE_STATE
While this permission allows the App to read the state of the phone (in call, ...) it also allows the App to read information like the phone number or the IMEI of the phone. Instead of revoking the permission that has to be granted to an App, permission spoofing provides spoofed information for this sensitive data.
ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION
Instead of the real location the top of Mount Everest will be reported. The implimentation is not perfect yet (Google maps and Latitude still seem to know the location - working on that)
READ_CONTACTS and READ_CALL_LOG
Instead of the contacts and the call log an empty list will be reported. The implementation sets the limit paramter of the query to 0 if the permission is spoofed.
READ_CALENDAR
The implementation changes the date for which the items will returned to the first week of 1970.
More permissions will be added in the near future.
Usage
Spoofing can be enabled on a per App basis. To enable spoofing go to Settings - Apps, choose the App for which you want to spoof the permission. Below the spoofable permission will be a switch that can be set to On to enable spoofing or Off to disable spoofing for this App.
Optional Apps
The source of these apps is also available at https://github.com/guhl
PFF-GPSPath
The PFF-GPSPath App can be used to set the spoofed location and in addition it can also be used to define a path the can then be simulated in the App (by effectively moveing the spoofed location)!
HowTo for PFF-GPSPath HowTo
PFF-Settings
The PFF-Settings app provides the same functionality as App - Settings but in a more comprehensive way.
It provides a list of all Apps (including system Apps) that have a spoofable permission and allows you to set spoofing On/Off for them
PFF-Test
If you spoof a spoofable permission for the app PFF-Test you can check the info that the framework provides to PFF-Test
Downloads
ROM cm-10.1-20131028-UNOFFICIAL-vision-pff.zip
Gapps are not included in the rom - they can be found at gapps-jb-20130301-signed.zip
PFF-GPSPath_1_2.apk (needs a ROM >= 20130512)
PFF-AppSettings_1_1.apk
PFF-Test
Communication
I do not want to start a flame war on spoofing on XDA. Whiile spoofing is important for me I do understand people opposing it.
If you want to talk to me, the best way to do this is to look for me (Guhl) at #G2ROOT or #andromadus on freenode IRC.
Changelog
2013-10-28
Updated from CM/Andromadus (no new spoofing)
2013-10-21
Fix permission unspoofing bug in PFF-AppSettings -> Version 1.1 - see downloads
2013-09-30
Updated from CM/Andromadus (no new spoofing)
Fixed Settings crashing on boot
2013-07-05
Updated from Andromadus (no new spoofing)
2013-06-15
PFF-GPSPath_1_2.apk added Altitude detection and routing!
2013-06-03
Updated from Andromadus/CM - fixes Settings crash on start
Bugfix - Crash of PackageManager when installing apk from file.
2013-06-03
Updated from Andromadus (no new spoofing)
2013-05-25
Updated from Andromadus (no new spoofing)
2013-05-12
Framework change to make the spoofed information persistent and changeable
App PFF-GPSPath to set and simulate the spoofed location
Update from CM sources
permission revoking moved to Main-ROM and removed the Test-ROM
2013-04-30
Update from Andromadus
Wifi fixed for wiped phones
Revoking now in regular ROM
2013-04-20
Enabled permission revoking (in Test-ROM)
2013-04-20
Updated from Andromadus (no new spoofing)
2013-04-07
Updated from Andromadus (no new spoofing)
Added buttons to PFF-AppSettings to spoof/unspoof all apps with one click
2013-03-26
Updated from Andromadus (no new spoofing)
2013-03-11
Updated from Andromadus (no new spoofing)
2013-02-27
Added spoofing for READ_CALENDAR
2013-02-21
Added spoofing for READ_CONTACTS and READ_CALL_LOG
Updated PFF-AppSettings to reflect the new permissions
2013-02-15
Updated from Andromadus (no new spoofing)
2013-01-21
Updated from Andromadus (no new spoofing)
2013-01-14]
Added location spoofing
Added location testing to PFF-Test
Credits
Plamen K. Kosseff for the original framework changes
Flinny for his huge work on the Andromadus roms and supporting me
pierre_ja, Nipqer, Hymie and all the others at #G2ROOT for their endless help and entertainment
Link to rom not working....
ineedone said:
Link to rom not working....
Click to expand...
Click to collapse
sorry - the downside of access rights, .... working now!
Have fun - Guhl
Hi,
I added location spoofing.
Have fun - Guhl
Hi,
Updated the rom from the Andromadus sources.
No new spoofing yet
Have fun Guhl
Re: [ROM][21-01-13][Guhl] Andromadus Permission Spoofing Framework CM10.1
Any updates on this ROM?
Greets Vauvenal7
Sent from my HTC Vision
Vauvenal7 said:
Any updates on this ROM?
Greets Vauvenal7
Sent from my HTC Vision
Click to expand...
Click to collapse
Hi,
there will hopefully be an update (merge from Andromadus) in the next days.
No new spoofing though.
Have fun - Guhl
guhl99 said:
Hi,
there will hopefully be an update (merge from Andromadus) in the next days.
No new spoofing though.
Have fun - Guhl
Click to expand...
Click to collapse
New version uploaded - Have fun Guhl
Contacts and phone log
Hi,
I added contacts and phone log spoofing.
Have fun - Guhl
Re: [ROM][21-02-13][Guhl] Andromadus Permission Spoofing Framework CM10.1
Will download the update tomorrow
Greets Vauvenal7
Sent from my HTC myTouch 4G slide
This is realy great, thx.
In the app, i understand on means giving the correct infomation to the program?
Re: [ROM][21-02-13][Guhl] Andromadus Permission Spoofing Framework CM10.1
Nope
On means spoofing is on therefore the apps are not seeing anything
Greets Vauvenal7
Sent from my myTouch 4G Slide
Odp: [ROM][21-02-13][Guhl] Andromadus Permission Spoofing Framework CM10.1
Hi, I don't know if this issue is only on my phone but bluetooth tethering is not working. It worked only once and now it is not sharing connection anymore. Hope someone have some solution. Thank you for support.
Wysłane z mojego Nexus 7
Read_calendar
Hi,
I added spoofing for READ_CALENDAR.
Have fun - Guhl
Any posibility to enable spoofing on all apps as a standard?
Or a way to enable it on all apps with a touch of a button?
Running it for a week now.
Had some crahes and not realy smooth.
All of this without a full wipe, but will do this now and see how it changes.
Re: [ROM][27-02-13][Guhl] Andromadus Permission Spoofing Framework CM10.1
yelti said:
Any posibility to enable spoofing on all apps as a standard?
Or a way to enable it on all apps with a touch of a button?
Running it for a week now.
Had some crahes and not realy smooth.
All of this without a full wipe, but will do this now and see how it changes.
Click to expand...
Click to collapse
Hi,
Thank for you input. I will try to add an option to spoof all (maybe non-system apps) with on click in the PFF-Settings app.
Regarding the crashes: The Andromadus CM
Sent from my HTC Vision using xda app-developers app
guhl99 said:
Hi,
Thank for you input. I will try to add an option to spoof all (maybe non-system apps) with on click in the PFF-Settings app.
Regarding the crashes: The Andromadus CM
Sent from my HTC Vision using xda app-developers app
Click to expand...
Click to collapse
Thx for the extra option.
I have done a full wipe, and it's stable and smoother now.
Hi,
Updated the rom from the Andromadus sources.
No new spoofing yet
Have fun Guhl
Re: [ROM][11-03-13][Guhl] Andromadus Permission Spoofing Framework CM10.1
guhl99 said:
Hi,
Updated the rom from the Andromadus sources.
No new spoofing yet
Have fun Guhl
Click to expand...
Click to collapse
I ran it for some hours but had several framework reboots.
Maybe someone else can report back.
Have fun - Guhl
Sent from my HTC Vision using xda app-developers app
Hi,
Updated the rom from the Andromadus sources. No new spoofing.
Have fun Guhl
Translated Link:
http://translate.google.de/translat...dex.php?showtopic=479224&st=120#entry23833639
Original Link:
http://4pda.ru/forum/index.php?showtopic=479224&st=120#entry23833639
- Based on China Unicom version of the official EmotionUI latest upgrade package B115 production, complete ROM production
- Streamlining of the system most of the unwanted programs, such as promotion of operators, telecom customized help and other procedures, reducing the ROM size, reduced memory footprint
- Added full ROOT permissions
- Use SuperSU latest version 1.41 as a super administrative privileges
- Updated Busybox and su binary file
- Streamlined out CUST in music and video, as well as unwanted pictures
- Optimization of the system program zipling further optimize the system memory usage
- Turn on call recording function (call will see more options click the record button)
- Modify Call (millet calls) as well as the alarm tone (Secret Garden)
- Open Theme Manager Online Themes Gallery
- Adjust the boot order of the default desktop icons
- Added new ATX Advanced Settings v0.3, see the following detailed description
- Fix the previous user swipes down notification bar after losing control of the problem (if there are questions, please timely feedback to me)
- To join the list of animation from mokeeos can turn off the ATX advanced settings and effects replacement
- Set up by adding the Quick Start option, Huawei's 5 seconds boot function, the first boot enabled by default
- Join ZTE screen assistant tool, open your own needs
- According to contest requirements, join the ING market, potatoes video client, the brush into the back, in the case of open networking for me a moment to complete the entry support
The new ATX v0.3 Advanced Settings
- Support the on / off status bar shows the percentage of power
- Support on / off GSM network crack (reboot to take effect) - Telecom Edition exclusive
- Support your lock screen is turned on / off mobile data connection
- To support the boot Mute
- Support Huawei and Google lock screen lock screen toggle native
- Support for the user to streamline Google Services Framework, reducing memory footprint (first start Google Framework installed by default)
- Join the engineering mode Quick Entry
- To join the list of super brightly animated, animation effects can define, can also be self-closing
Click to expand...
Click to collapse
Instuctions:
http://translate.google.de/translat...index.php?showtopic=479224&st=0#entry23399079
Anyone tried?
I think it cant work with closed BL and without working fastboot commands?! (the install script inside the package just use fastboot commands to flash)
the language seems to be Russian on that ROM
Ruchira88 said:
the language seems to be Russian on that ROM
Click to expand...
Click to collapse
This custom ROM taked from china forum.
I installed that some time ago ... from the russian board and it worked ... but as it had no informations bar, I went back to B107
Can anyone port "ATX v0.3 Advanced Settings" as an apk from the rom?
Edit: Found the APK from the rom but it fails to install.
Edit2: Tried sideloading it into system/apps/, but it does not appear in launcher drawer, any help?
List of Chinese custom Roms: http://cn.club.vmall.com/forum.php?mod=viewthread&tid=199781&extra=&page=1&mobile=yes
tauio111 said:
Can anyone port "ATX v0.3 Advanced Settings" as an apk from the rom?
Edit: Found the APK from the rom but it fails to install.
Edit2: Tried sideloading it into system/apps/, but it does not appear in launcher drawer, any help?
Click to expand...
Click to collapse
Have you actually tried the ROM itself ? Just curious, it seems interesting and I may give it a try.
Otherwise sorry but can not help with the apk.
LL13-
No, I have not tried this ROM, since I've had this phone for 2 weeks only. I usually wait a few months before flashing a custom rom. ATX advanced settings are what I'm only curious about in that rom, because it has an ability to disable the huawei lockscreen and use the AOSP one instead.