Jump to content


Photo

[MOD] [CM10] Support for PDroid 2.0 in CyanogenMod 10 for the G300


  • Please log in to reply
26 replies to this topic

#1
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300
Following on from the packages for the old version of PDroid for CM9, here are some packages that add/remove support for PDroid 2.0 to CyanogenMod 10 for the Huawei Ascend G300. Unlike the previous offering, this mod includes the PDroid 2.0 user application itself, which is not available via the Play Store.

These should only be applied against version R5 from the 21/1/2013. If you damage your CM installation by applying them to the wrong version, then it sucks to be you, Mr Anderson.

red zip || blue zip

The red.zip will add support for PDroid to your CM installation, along with the settings app, whilst the blue.zip can be used to restore the original, unmodified files, whereby removing support for PDroid.

---

IMPORTANT NOTE for those upgrading via OTA from CM9:

The PDroid 2.0 database is not compatible with the old PDroid format. After upgrading to CM10, Please apply the blue zip before applying the red zip, as the former will clean up your old PDroid installation in preparation for PDroid 2.0.

Edited by unaszplodrmann, 26 January 2013 - 11:03 PM.

  • 4
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#2
Cyda

Cyda

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,448 posts
  • Gender:Male
  • Location:Wales
  • Devices:Nexus 4 & 7 running PAC
Anyone had any issues with this? I tried it (flashed blue first as advised) and everything seemed to work but when i tried to change the settings in the PDroid app I got a message about unable to save settings. I've since restored back to a previous nandroid but I'll try it again later if it is working fine for everyone else.

  • 0

#3
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300

Anyone had any issues with this? I tried it (flashed blue first as advised) and everything seemed to work but when i tried to change the settings in the PDroid app I got a message about unable to save settings. I've since restored back to a previous nandroid but I'll try it again later if it is working fine for everyone else.


It sounds like the blue zip didn't remove /data/system/{privacy.db,privacy.db-journal,privacy} as expected. I'm guessing that the old PDroid app was not removed, either. For now, just delete the old data store and it'll work fine. I'll likely have to improve the edify stuff with a conditional statement or two, that's all.

  • 0
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#4
Cyda

Cyda

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,448 posts
  • Gender:Male
  • Location:Wales
  • Devices:Nexus 4 & 7 running PAC
Tried it again, made sure that the /data/system/privacy and privacy.db/privacy.db-journal were removed but the same error occurs.

Attached File  Screenshot_2012-12-11-14-59-03.png   284.25KB   71 downloads

Guess its just me getting this error then?

  • 0

#5
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300
It works for me at least. Blue removes the data store and both PDroid/PDroid 2.0 settings apps, as expected. I didn't make their removal conditional as Edify handles everything gracefully enough. I'm going t knck out some packages that add support for the original PDroid to CM10, anyway. I'm quickly finding that this incarnation isn't so much to my liking; too many options, not enough sound design choices.

  • 0
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#6
Cyda

Cyda

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,448 posts
  • Gender:Male
  • Location:Wales
  • Devices:Nexus 4 & 7 running PAC
I don't think it was anything wrong with the zip but I still couldn't work out wtf was going on. Checked for those files/folder and they were gone, reinstalled, checked permissions and still kept getting the error. Logcat gave no clues so in the end jI ust bit the bullet and did a fresh install of CM10 - everything worked first time after that.

Cheers btw.

  • 0

#7
jsevi83

jsevi83

    Enthusiast

  • Members
  • PipPipPip
  • 292 posts
  • Gender:Not Telling
I uninstalled the old PDroid, flashed the blue zip and then the red one, and everything is working perfect. Thanks a lot, PDroid2 is much nicer than the older version!

  • 0

#8
Davidoff59

Davidoff59

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,317 posts
  • Gender:Male
  • Devices:Orange San Francisco, G300
Working fine here thanks for this

  • 0

#9
vladax10

vladax10

    Regular

  • Members
  • PipPip
  • 87 posts
  • Gender:Male
  • Devices:Huawei Ascend G300
For what you actually use this?

  • 0

#10
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300

I don't think it was anything wrong with the zip but I still couldn't work out wtf was going on. Checked for those files/folder and they were gone, reinstalled, checked permissions and still kept getting the error. Logcat gave no clues so in the end jI ust bit the bullet and did a fresh install of CM10 - everything worked first time after that.

Cheers btw.


Hmm... I was thinking it'd be a uid issue, but then you would've seen it in the cat of the log. Oh well, am relieved it's working for you now. Meanwhile, I'm running PDroid 1.32 on CM10... ;)

For what you actually use this?


It has a few uses. Some use it to avoid detection when they're on dangerous missions for super-secret international organisations, but most use it to squeeze cats out of logs.

:rolleyes:

Thanks for the feedback, guys. :)

  • 1
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#11
Davidoff59

Davidoff59

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,317 posts
  • Gender:Male
  • Devices:Orange San Francisco, G300
Sorry I feel a bit if a plonker asking this and I know there are some explanations in the app itself.
Any resources on what can safely be switched off? I have done a search but only found the xda dev thread and no real explanation of the permissions and what they do.
I used lbe extensively but it's not supported on jb.

Any info appreciated.

Do People generally leave the Google apps alone.

  • 0

#12
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300
No need to feel a plonker, it's a perfectly reasonable question, I'd say. As far as I know, disabling access to information and functions will not cause apps to crap themselves, on the main part. Are there any permissions in particular that you're wondering about?

I can only speak for myself, but when it comes to the gapps, yes I generally leave them alone, but there is no reason not to deny access to particular information, if it isn't required in your use of their apps and services.

  • 0
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#13
Davidoff59

Davidoff59

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,317 posts
  • Gender:Male
  • Devices:Orange San Francisco, G300
There are quite a few I don't really understand. Some permissions are quite disturbing like incoming phone number on a torch app or use of the camera on Firefox, something I could not think of a reason for it having or needing.

I may just do up a list at some stage, and post it in here and any blanks can be explained by the community. It's good to understand the reasons behind a permission, that way you learn and remember it better. It's a bit like doing something for years but never really understanding it fully, and then one day your like ah, that's what that is for.

  • 0

#14
Davidoff59

Davidoff59

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,317 posts
  • Gender:Male
  • Devices:Orange San Francisco, G300
One example is opera mini, with sim info turned off, it won't work. I am on wifi so what has sim info got to do with it?

  • 0

#15
wouterbeer

wouterbeer

    Enthusiast

  • Members
  • PipPipPip
  • 171 posts
  • Gender:Male
  • Devices:G300
Can someone confirm this is also working with CM10 R2? Cheers!

  • 0

#16
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300
Probably. But if Daz has made framework changes between revisions, apply the R1 package will probably revert fixes and even create additional problems. You need to understand the nature of this package; its a bunch of modified system files, not a couple of additional .apks and a launcher script...

Apologie for the delay, I'll upload a new version soon. I'm on CM9 here atm...

  • 0
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#17
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300
Links updated.

  • 0
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#18
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300

One example is opera mini, with sim info turned off, it won't work. I am on wifi so what has sim info got to do with it?


Sorry for the belated reply. At a guess, I'd say that Opera is trying to get your country code for localistion. But why get that from the SIM? Opera Mini is potentially a powerful demographic info farming tool, given that all page requests necessarily go to their servers.

  • 0
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#19
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300
Links updated. I'll probably be dropping the PDroid2.0 updates soon in favour of OpenPDroid, depending on if/when my G300 arrives back from repair.

  • 0
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#20
wouterbeer

wouterbeer

    Enthusiast

  • Members
  • PipPipPip
  • 171 posts
  • Gender:Male
  • Devices:G300
Thanks for your continuous work on this, man with the unpronounceable name! Any chance this will be updated to work on R4 soon?

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users