unaszplodrmann

[MOD] [CM9] Support for PDroid in CyanogenMod 9 for the G300

65 posts in this topic

Here are some packages that add/remove support for PDroid to CyanogenMod 9 for the Huawei Ascend G300.

These should only be applied against version R9 from the 17/2/2013. If you damage your CM installation by applying them to the wrong version, then it sucks to be you.

red.zip || blue.zip

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

Edited by unaszplodrmann
9

Share this post


Link to post
Share on other sites

Sweeeeeeeeeeeeet.

0

Share this post


Link to post
Share on other sites

Nice. Thanks for this.

0

Share this post


Link to post
Share on other sites

Sorry noob here. Which do I flash first?

Perhaps I need to clarify. The update.zip adds support for PDroid, whilst the restore.zip removes support for PDroid.

0

Share this post


Link to post
Share on other sites

Perhaps I need to clarify. The update.zip adds support for PDroid, whilst the restore.zip removes support for PDroid.

Should have gone with red.zip and blue.zip. ;)

0

Share this post


Link to post
Share on other sites

I hope I am not an utter fool. Anyway I've been using LBE privacy guard, also right now on cm9, to manage the permissions. Looking to the description of pdroid app in the play store I'm not sure what the differences are? LBE seems to does it job?

0

Share this post


Link to post
Share on other sites

I hope I am not an utter fool. Anyway I've been using LBE privacy guard, also right now on cm9, to manage the permissions. Looking to the description of pdroid app in the play store I'm not sure what the differences are? LBE seems to does it job?

It does the same job, but not in the same way. Because PDroid does not run as a service, unlike LBE, it does not occupy precious space in RAM and therefore will also not cause problems if killed by Android's task manager. And apps will not complain when blocked, unlike with some apps and LBE. Other than that, it allows somewhat more granular control and, importantly for some, it is open source, whereas LBE is not.

PDroid is superior, but LBE is easier to get up and running; that's where these zips come in handy...

Edited by unaszplodrmann
0

Share this post


Link to post
Share on other sites

Thanks, I will give it a try. One more question, when there is an OTA available, before updating cm 9, should I flash the restore? Or is the update/wipe enough..

0

Share this post


Link to post
Share on other sites

Thanks, I will give it a try. One more question, when there is an OTA available, before updating cm 9, should I flash the restore? Or is the update/wipe enough..

An OTA update will overwrite the modified files, breaking support for PDroid. If the files that require modification in order to support PDroid do not change between one OTA update and the next, the update.zip for the previous release could be reapplied. BUT, if you don't know whether these files have changed between between versions, you're playing russian roulette, hence the cautionary message in the opening post.

Should have gone with red.zip and blue.zip. ;)

Very droll, Misterr Aanderrrson. ;) Yeah, the first think I did was set Google Play Services to receive arbitrary values :ninja: :rolleyes:

0

Share this post


Link to post
Share on other sites

Yeah, the first think I did was set Google Play Services to receive arbitrary values :ninja: :rolleyes:

Hah! I hope you had your foil hat on while doing so! :P

/back on topic: working well here; all apps vetted and mostly fed random values. All hail paranoia. :ph34r:

Edited by Cyda
0

Share this post


Link to post
Share on other sites
BUT, if you don't know whether these files have changed between between versions, you're playing russian roulette, hence the cautionary message in the opening post.

Let's say I do not wanna play that dangerous Russian game you were talking about. What do you think?

0

Share this post


Link to post
Share on other sites

Let's say I do not wanna play that dangerous Russian game you were talking about. What do you think?

You've made the right choice, in this instance. Updated packages are uploading now; check the OP soon.

0

Share this post


Link to post
Share on other sites

Hm. Flashed the zip. Installed Pdroid again from market. First time run gives error: pdroid not working yet on ICS.

0

Share this post


Link to post
Share on other sites

Hm. Flashed the zip. Installed Pdroid again from market. First time run gives error: pdroid not working yet on ICS.

Looking into it now.

Edit: It appears the new CWM is not handling the .zip correctly. I pushed the modified file via ADB instead. Sorry, there's no quick fix; you're just gonna have to wait.

Edited by unaszplodrmann
0

Share this post


Link to post
Share on other sites

Looking into it now.

Edit: It appears the new CWM is not handling the .zip correctly. I pushed the modified file via ADB instead. Sorry, there's no quick fix; you're just gonna have to wait.

Might be the same that is happening with my Link2Int mod. It seems the new CWM doesn't mount system correctly when flashing the zips. Try this, boot to CWM go to Mounts and Storage > unmount /system and then mount /system. Then go and flash the zip as normal, this worked for my mod I'd guess it should work for this.

0

Share this post


Link to post
Share on other sites

Its the same issue, yeah. The quickest way to workaround is to 'adb remount' before applying the .zip, assuming the user has the SDK.

0

Share this post


Link to post
Share on other sites

It worked for me after flashing the zip several times. If it takes 0.5 seconds it didnt work, but if it takes 2seconds then it's ok.

0

Share this post


Link to post
Share on other sites

Try this, boot to CWM go to Mounts and Storage > unmount /system and then mount /system. Then go and flash the zip as normal, this worked for my mod I'd guess it should work for this.

I can confirm, this did the job at once. Thanks!

0

Share this post


Link to post
Share on other sites

is this compatible with ics as someone on market said they aren't upgrading to ics until pdroid is compatible

0

Share this post


Link to post
Share on other sites

...but it's being used for CM9 right here?

0

Share this post


Link to post
Share on other sites

is this compatible with ics as someone on market said they aren't upgrading to ics until pdroid is compatible

So, it's not compatible with ICS, as they say themselves But the fix presented here enables it for use with CM9.

0

Share this post


Link to post
Share on other sites

is this compatible with ics as someone on market said they aren't upgrading to ics until pdroid is compatible

People "on the market" say a lot of things ;) AOSP 4.0.x can be patched for PDroid (v1) support, specifically /system/framework/{core,framework,services}.jar, but if you try to apply either the 'red.zip' or the 'blue.zip' to stock G300 firmware, you're gonna bork it.

Edited by unaszplodrmann
0

Share this post


Link to post
Share on other sites

Install went fine for me. didn't use any setting yet as assassins creed 3 is taking up my time

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.