yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] guhl99:
Re: [ROM][27-02-13][Guhl] Andromadus Permission Spoofing Framework CM10.1

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
[G2 and Desire Z Android Development] yelti:
Thx for the extra option.

I have done a full wipe, and it's stable and smoother now.
[G2 and Desire Z Android Development] guhl99:
Re: [ROM][11-03-13][Guhl] Andromadus Permission Spoofing Framework CM10.1

I ran it for some hours but had several framework reboots.

Maybe someone else can report back.

Have fun - Guhl
[G2 and Desire Z Android Development] dsip:
Could I just flash this over Flinny's ROM, or would you absolutely recommend a clean install?
[G2 and Desire Z Android Development] guhl99:
Hi,

You can absolutely flash this over Flinny's ROM. No need to wipe in either direction.

Have fun - Guhl
[G2 and Desire Z Android Development] dsip:
Wifi doesn't seem to work for me, even after a clean install. (Actually right after a clean install Settings crashes..) If I try turning it on it gets stuck in the "turning on Wifi" mode (or whatever it is called exactly, I currently don't have my phone set to English, sorry).

Does anyone else have that problem or is it just me?
[G2 and Desire Z Android Development] guhl99:
Hi,

Not sure about that.

I will upload a newer version (where I know for sure that Wifi works) later today.

Have fun - Guhl
[G2 and Desire Z Android Development] guhl99:
Version 2013-04-20 uploaded - Wifi and Wifi tethering work for me on this version.

Have fun - Guhl
[G2 and Desire Z Android Development] lioks:
Same issue here. I tried to flash Version 2013-04-20 yesterday after a superwipe, Settings crashes and wifi won't turn on.

I am using an azerty GSM Desire Z, if that can help.
[G2 and Desire Z Android Development] guhl99:
Hi,

I am sorry to hear that and it is kind of strange as it works for me.

To sort your problem I need additional information:

1. the output in /proc/kmsg when you turn Wifi on. You can get this using adb with the following command (in a command window/terminal on your PC):

adb root
adb shell cat /proc/kmsg > kmsg.log

Then you turn Wifi on and after some seconds you hit Ctrl-C to end the output of the kernel messages.

You can then either use pastebin.com do paste the content of the file mksg.log there and post the resulting URL here or you directly upload the file somewhere and post the link here.

And the same procedure for logcat:

adb shell logcat > logcat.log

As an alternative you can connect to IRC on freenode (i.e. using the web-client at http://webchat.freenode.net/?channels=#andromadus) and join the #andromadus channel.

Look there for me and I will try to analyze your problem there together with you.

I am there most evenings (my timezone is UTC+2).

Have fun - Guhl
[G2 and Desire Z Android Development] demkantor:
Man you really think outside the box! I love it!

I'll probably use this phone this weekend if I do I'll gladly flash this and test it out, seriously this is good stuff!
[G2 and Desire Z Android Development] :
I'm getting the same issue as lioks, Settings crashes on boot and WiFi is permanently stuck on "turning on". I can't give you any logs right now (I already reverted to my old ROM), but it seems to be a problem with the "p2p_supplicant" service (init complains about not bring able to find it - /proc/kmsg).

If that doesn't help, I can reinstall your ROM and get proper logs. Do you want me to?
[G2 and Desire Z Android Development] dsip:
I made logs as requested; I hope they're helpful in some way.

kmsg: http://pastebin.com/Z67a2Zpb

logcat: http://pastebin.com/YsAsiSU3

Settings crashes after every boot btw.
[G2 and Desire Z Android Development] guhl99:
Hi,

Thanks - that helps a lot.

I will try to talk to Flinny to fix that.

The crash of the Settings after boot is already fixed in my local repo (that was i minor left over form the AOSP branch).

Thanks again and have fun - Guhl
[G2 and Desire Z Android Development] guhl99:
Wifi fixed; Revoking now in regular ROM

Hi,

after parsing the logs and wiping my own phone I could reproduce and fix the Wifi Error.

For me the cm-10.1-20130430-UNOFFICIAL-vision-pff.zip that is linked in the OP works now also after a full wipe.

In addition I decided to move the permission revoking feature from the test ROM to the original as I did not have any problems with it yet.

Have fun - Guhl
[G2 and Desire Z Android Development] hungyellow:
Hello, I installed this ROM last night and it is great. I am kind of noob, I know how to read instructions, warnings, and research a lot but I not an android superuser like many of you are. The issue that I am having is that every time I try to install a .apk I get a Unfortunately Package Installer Has Stopped. I have not had any issues like this in the past with other ROMs but this is my first JB ROM (coming from ICS ROM). Is it something I did wrong or is there a fix somewhere I have not ran across yet using search? Only thing I can think of that could have an effect is that I did not wipe partition but I don't think that would affect it would it? Any help would be appreciated. Thanks!
[G2 and Desire Z Android Development] guhl99:
PFF-GPSPath

Hi,

well it took a while for me to release an update.

But I have not been sleeping or lazy but been working on some major changes and enhancements that prohibited me from just releasing an update.

These changes are:

Added PFFInfoDatabase to make PFF spoofed information persistent and changeable

Exposed functions in the PackageManagerService to get and set the spoofed location

Created the PFF-GPSPath App that allows you to graphically set the spoofed location in the framework and also allows you to create a path by adding several markers to the map and then simulate the movement along this path.

Remarks for the PFF-GPSPath

- The coarse location is still visible to some Apps. I know for sure that Google Maps sees the real coarse location. This is currently on top of my agenda to find how the coarse location is leaked to the Google Apps.

But Apps that retrieve the coarse location using the standard location API see the spoofed coarse location.

So if you really don't want to leak your location to Google Apps turn off the network location access in Settings.

- The App might have some bugs as it is rather new.

- Planned enhancements in the near future: Use the Google services to calculate the path along the roads instead of just creating "craw flight" path segments.

The OP has been updated and contains all the links to the ROM, Apps, Sources and commits.

Well, I am looking forward to your feedback!

Have fun - Guhl
[G2 and Desire Z Android Development] gabx:
Your job is just awesome. Thank you so much.

As I am not a great fan of CM, do you think I can use your framework directories to replace the aosp ones and then build? Or is it much more complicated ?

One request if possible for the location apk : would it be possible to change the location setting process ? It is more practical to move the map with a fix pointer than moving the pointer all over a fix map.
[G2 and Desire Z Android Development] guhl99:
Hi,

Thanks for the feedback.

Well you will have to apply the commits to the aosp sources. Using the complete CM directories that include my code will not work. But if you like I would help you with creating a pure aosp with the pff framework (I also did this for the Vision).

Regarding the App:

Well the easier way is:

- Drag the map to where ever you want to go.

- Long click there to add a new marker (will create a path but that does not hurt)

- Then click on the new marker - a toast will tell you that the location has been set to the location of the marker.

- Then hit the clear and the reset buttons to refresh the map

I will be on freenode irc channels #g2root and #andromadus tonight - maybe you can join the we could discuss the aosp build.

Have fun - Guhl
[G2 and Desire Z Android Development] gabx:
I am already on the channel. Talk to you tonite ( UTC +1 for me). Yes I am very interested in merging your commits.
[G2 and Desire Z Android Development] guhl99:
Hi,

Updated the rom from the Andromadus sources.

Have fun Guhl
[G2 and Desire Z Android Development] raimundo amador:
usb debugging

Hi, nice improvement, but Titanium backup does not work, it says the rom is not properly rooted, also terminal does not give root privileges. However there are some apps such droidwall that work properly.

Any idea will be appreciated.

Many thanks,

Rai
[G2 and Desire Z Android Development] guhl99:
Hi,

well the build is a "userdebug" build so it does not give you root in adb immediately.

First of all you need to enable developer settings:

Go to Settings - About phone and there click on the Build Number (last item) 6 times -> in Setting the Developer options Menu will be enabled

Second you need to allow root for Apps and ADB:

Go to Settings - Developer options.

Select Root access and select the option Apps and ADB

Still when you connect to the phone with the adb shell you will have only shell access rights.

But you can either use the command "su" in the shell to get root access or if you want to have root immediately in the adb shell then you have to restart adb as root before connecting the shell. This is done by the commands:

adb root
adb shell

If this still does not make Titanium happy then check in Settings - Superuser that you did not disable root access for Titanium by accident.

Have fun - Guhl
[G2 and Desire Z Android Development] Johi-Wan:
Hi Guhl!

Thanks for your work.

I have problems with your latest release, maybe the same like hungyellow posted one month ago:

On boot up, the dialog pops up where it says "unfortunatly, settings has stopped".

When i try to install an apk manually it says "package installer has stopped" every time.

I did a superwipe and a fresh install many times, but the errors keep coming.

Every thing else is working like a charm! Maybe you can help me out with these problems.

Thanks again.
[G2 and Desire Z Android Development] guhl99:
Hi,

- The problem that the settings crash on start is an upstream CM problem and totally uncritical it will function normally but I well nevertheless sync today and do a new build to check if that is soved in upstream.

- Reagrding the "package installer has stopped" a logcat would be very helpful. On your PC do:

adb logcat

then install some apk manually and when it crashes hit Ctrl-C on the PC. Copy the relevant part of the logcat (probably something that is related to a keystore permission problem) to www. pastebin.com and post me the link.

Have fun - Guhl
[G2 and Desire Z Android Development] Johi-Wan:
Hi again Guhl and thanks for your help.

Here is the requested Logcat: pastebin.com Jy2tVh0W

I'm not allowed to post a outside link, so you have to put it together. Sorry! ;)
[G2 and Desire Z Android Development] guhl99:
Hi,

Thanks for the logcat and the info. This is actually really my problem and not an upstream problem.

I will fix that and post a new ROM (probably tonight)

Have fun - Guhl
[G2 and Desire Z Android Development] guhl99:
Hi,

I updated the ROM from Andromadus/CM - that fixes the crash of Settings on start and I fixed the crash of PackageManager when installing an App from the file system.

The link to the updated ROM is in the OP.

Please tell me if it works for you too.

Have fun - Guhl
[G2 and Desire Z Android Development] Johi-Wan:
Hi Guhl!

The Package-Installer issue is gone, but the "Settings has stopped" problem on boot up is still there.

And i have another problem with wifi connecting to my router since i have used the SuperwipeG2+ script from http://xdaforums.com/showthread.php?t=1044992 . It includes your efs wiping script. May there be a problem with the wipe? Should i try to reflash a efs-backup?

I already tried things like re-wiping, flashing other roms and changing the config but wifi authentication fails everytime.

Maybe you can give me a hint in that case.

And i have read something about ext3/4 partitioning for ics/jb. I came from GB and don't know if i have to do something with the formating of partitions for a clean flash!?

Thank you so much!
[G2 and Desire Z Android Development] guhl99:
Hi,

I added some functionality to the PFF-GPSPath App.

The real big change is that i included opensourcmap based features into the PFF-GPSPath App.

- When you set the pff-spoof location by clicking on one of the markers it will use the OSM elevation service to determine the altitude for the point and also set the altitude accordingly in the spoofed location.

- The App contains now a "Route" button that will transform the craws flight path that you created by adding markers to the map into a route that follows the streets. The routing is also based on the OSM services.

Please also see the updated Github wiki page of PFF-GPSPath

I hope you like the changes!

Have fun - Guhl
[G2 and Desire Z Android Development] raimundo amador:
good improvement!!! settings still stop unexpectably anyway, but good job.

---------- Post added at 04:58 PM ---------- Previous post was at 04:50 PM ----------

good improvement, but settings still stop unexpectably.
[G2 and Desire Z Android Development] guhl99:
Hi,

could you try to get me a logcat from the moment when settings crashes?

You do the logcat using:

adb logcat > log.txt

then you do whatever it needs to make settings crash.

When it crashes ht Ctrl-C on the PC to stop the logcat and upload me the file log.txt somewhere.

This would help a lot finding the issue.

Have fun - Guhl
[G2 and Desire Z Android Development] guhl99:
Hi,

I updated the rom from CM - no new spoofing.

Now you have the spoofing and revoking features from my framework and the new CM privacy guard in the ROM.

In principle there should be no problem with this but i did not test what happens if you enable the privacy guard for an app and also spoof some permissions. I do not think that this would make sense anyway but if you experience problems than please check/test if this might be because of conflicting settings.

Have fun - Guhl
[G2 and Desire Z Android Development] soadfan:
I just installed it (clean) and settings crashes on boot and for some reason auto rotating screen doesn't work. It is enabled both on system and nova launcher's settings

Edit: after I while decide to try clinometer app and it doesn't work at all, so the problem is in sensor or driver
[G2 and Desire Z Android Development] guhl99:
Hi,

well you are right on Settings crashing on start - thats a minor left over from Andromadus. While it does not harm at all I still will try to fix it.

Regarding the auto rotation:

If i enable it in "Settings - Laucher - General" and in "Settings - Display - Rotation" it works for me. I actually never use auto rotate on the Vision but still it works here.

Have fun - Guhl
[G2 and Desire Z Android Development] soadfan:
For some reason can't use the sensor at all. I tried clinometer app and nothing...

It can be really annoying when use physical keyboard, when close it, screen is landscaped and don't rotate to portrait
[G2 and Desire Z Android Development] soadfan:
Still no luck. I've restored nandroid backup (Mimicry 1.5) and accelerometer is working. After that i perform a clean install of 4.2.2. perm spoof + gapps (i was thinking may be the problem came from titanium back restored apps), but isn't working. Next time i'll try clean install without gapps just to be sure. I'm open for suggestions. I want to try safe mode, but don't know how to boot it in. I was booted it in the past by mistake (because of a tight leather case for my phone), but i don't know what key combination is used (i presume it's hardware buttons combination, not touch)

P.S. I don't use rotate screen options. I'm using clinometer app for leveling upright my motorcycle for oil checking :D
[G2 and Desire Z Android Development] guhl99:
Hi,

can you please wipe your efs data (there is a posting by me in this thread about this but I can't search it atm as I am mobile)

If this also does not help then please try to find me in the #g2root or #andromadus channel on freenode irc - I will try to help you diagnose the issue.

Have fun - Guhl
[G2 and Desire Z Android Development] soadfan:
This was first think I did, I'm using 4ext recovery so it's pretty simple job, but I'll do it again
[G2 and Desire Z Android Development] Nuke101:
Guhl any chance you will do a permission spoofing version off of jelly baby v2 ? Sorry don't mean to jack the thread, keep up the great work!
[G2 and Desire Z Android Development] soadfan:
Can u tell what nick you're using? Because i found something similar, but g2root_guhl_ld is 3 days idle and guhl_ld is over a two weeks? Have you run eggdrop or bouncer?
[G2 and Desire Z Android Development] guhl99:
Hi,

my nick is just Guhl or sometime Guhl99. The 2 nicks you found are used by me to log the 2 channels.

I should be there tonight (UTC+2)

Have fun Guhl
[G2 and Desire Z Android Development] demkantor:
Guhl already has an andromadus aosp ROM with permission spoofing, its what jelly baby is based off of and would be kinda redundant to make one for jelly baby. There are only a few nuances that differ between the ROMs so if you want perm spoofing just flash guhls and add what you feel is missing
[G2 and Desire Z Android Development] guhl99:
Hi,

I updated the rom from CM - no new spoofing.

And I also fixed the Settings crashing on boot (again).

Have fun - Guhl
[G2 and Desire Z Android Development] soadfan:
Lame question, how to update with new version?

Just install via recovery without wiping anything or?

P.s. i found few bugs or misses but will report if exist in new version
[G2 and Desire Z Android Development] guhl99:
Hi, just flash it via recovery, no wipe needed.

Have fun - Guhl
[G2 and Desire Z Android Development] soadfan:
ok, stll no respond from g-sensor (i'm searching you at freenode but you don't really stays much online ;()

There is few little bugs:

• when hit fn button and "." It type comma instead of colon symbol, only way is to close hardware keyboard add it with soft keyboard and reopen the hard

• showing upcoming events on lockscreen don't show any events even when set range to 4 weeks and check all calendars to read from

P.s. i'm not complaining just for information
[G2 and Desire Z Android Development] Westnile:
While jealous and wanting this feature without having to use xposed framework and xprivacy I want to commend you on a awesome job I'm going to follow this thread when I get a better laptop I might attempt to get back into coding and help how ever I can.
[G2 and Desire Z Android Development] soadfan:
Today i tried clean install without gabbs, result still no response from g-sensor.

Found another strange behavior, when try to turn on/off spoofing in app info dialog it remember only last turned on/off spoof. If you want to change more than one you need to close the app info after every single one and re-open it for next spoof
[G2 and Desire Z Android Development] soadfan:
I found this, can this is thr issue with my phone? I have 19 radio, what is the last?
[G2 and Desire Z Android Development] guhl99:
Hi,

well of course there is no 4.x radio for the vision as it's latest official android version is 2.3

This is the radio thread http://xdaforums.com/showthread.php?t=970809 for the vision.

And I am running Vision_RADIO_12.22.60.09b_26.02.01.15 but that should not be the issue.

But in general on a DZ we do recommend to run the Vision_RADIO_12.28b.60.140e_26.03.02.24.

Would be astonishing if this solves your sensor issue but who knows.

And please wipe efs after switching radio.

Have fun - Guhl
[G2 and Desire Z Android Development] soadfan:
I'll try. But can't run your script after chmod, next step after chmod returning that is directory. But from the guide seems that should push whole unzipped directory, not just files in it
[G2 and Desire Z Android Development] riahc3:
guhl99, I believe you are the last only active developer for the Desire Z.

Im not a CM kinda guy but I guess when you release a updated version of your ROM (last release was the 30th of September) Ill switch to yours.

---------- Post added at 10:14 AM ---------- Previous post was at 10:14 AM ----------

guhl99, I believe you are the last only active developer for the Desire Z.

Im not a CM kinda guy but I guess when you release a updated version of your ROM (last release was the 30th of September) Ill switch to yours.
[G2 and Desire Z Android Development] soadfan:
Still no response from g-sensor i think we should make appointment at freenode after 7 pm for example, we're both on gmt +2
[G2 and Desire Z Android Development] guhl99:
Update from Cyanogenmod (28.10.2013)

Hi,

I updated the rom from CM - no new spoofing.

Have fun - Guhl
[G2 and Desire Z Android Development] riahc3:
Will you in the future, if everything goes normal, release a KitKat ROM as well?
[G2 and Desire Z Android Development] guhl99:
Hi,

Well let me explain a thing or two.

And this is also an answer to you question in my AOSP thread.

Porting JB or KK to the Vision will need some very serious work on the kernel and the framework parts that deal with hardware especially display. The reason is that we will never get the device proprietary hardware libraries that are compatible with 4.3/4.4.

So we would need to back port a lot.

With 4.1/4.2 there was the Andromadus team, especially Flinny, who did that.

ATM it does not seem likely that this is going to happen. Some of them moved on to other devices others are too busy work related.

So I will probably release some more updates for the CM build as long as CM is still updating the 10.1 branch and of course I will update the ROM if I fix or add something in the privacy framework but there will be no updates to the AOSP ROM as Google does not update the sources either.

My last personal statement:

I do not like where Android is heading. With KitKat Google continued the direction to move functionality from the open source Android OS to their closed source Applications. While I understand that they want to avoid fragmentation this is not acceptable for me. I.e. moving the SMS to the hangout app leaves me with no control over SMS privacy.

Another some Android versions an Android will be as free as IOS.

I will have a close look at 4.4 but at the same time I am looking for alternatives to Android for me.

Have fun - Guhl
[G2 and Desire Z Android Development] riahc3:
Its a shame to hear that you will not update the AOSP ROM any more. I understand this ROM is for "privacy issues" but my intrest in that is basically none. My intrest is having a good up to date from for the Vision. Obviously you have moved onto to the Nexus 4 (great device if it had a QWERTY) so your intrest in the Vision is basically none.

With you we can most like say the development on the Vision has died and stopped at 4.2.2 Its a sad day for QWERTY owners but sooner or later it was coming....

We can now only wait for the Droid 5 and HOPE it doesnt have a locked bootloader (it will) as KitKat introduces some more unfriend modding technics to not install custom ROMs.

Thank you for your work Guhl
[G2 and Desire Z Android Development] robuser007:
Thanks,

Appreciate the info and your efforts.
[G2 and Desire Z Android Development] riahc3:
How the hell do you remove the slider shortcut screen to go directly to pattern unlock? So annoying....
[G2 and Desire Z Android Development] soadfan:
Hm...after every reboot it says upgrading android app 1 of 107 it's really annoying. How can i determine which app is misbehaving and causing this?

UPDATE

wiping dalvik solves the problem
[G2 and Desire Z Android Development] guhl99:
Well,

looks like the game has changed again. See http://xdaforums.com/showthread.php?t=2527197

When I am back from holiday in a week I will have a close look at Nevergones work and maybe try a AOSP JB build.

And btw. the Vision is still my main phone. I only use the N4 as a reference development platform as the driver situation is easier. I will never ever get used to a phone without a physical keyboard.

Have fun - Guhl
[G2 and Desire Z Android Development] asdf2345:
Anyone have working links for PFF-AppSettings_1_1.apk and PFF-Test.apk?