Jump to content


Photo

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


  • Please log in to reply
63 replies to this topic

#1
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300
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, 18 February 2013 - 12:55 AM.

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

#2
Dazzozo

Dazzozo

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,304 posts
  • Gender:Male
  • Location:Shropshire, UK
  • Devices:Crescent, G300, Y300, Nexus 5
  • Twitter:@Dazzozo
Sweeeeeeeeeeeeet.

  • 0
Like my work? Give me rep!

Like my work a lot? Donate! Remember to leave your forum name if you want to be credited!

You're likely to get a quicker response from me on Twitter.

#3
Cyda

Cyda

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,448 posts
  • Gender:Male
  • Location:Wales
  • Devices:Nexus 4 & 7 running PAC
Nice. Thanks for this.

  • 0

#4
grizzlyflea

grizzlyflea

    Enthusiast

  • Members
  • PipPipPip
  • 209 posts
  • Gender:Male
  • Devices:Huawei Ascend G300
Sorry noob here. Which do I flash first?

  • 0

#5
unaszplodrmann

unaszplodrmann

    Diehard

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

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
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

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

#7
wouterbeer

wouterbeer

    Enthusiast

  • Members
  • PipPipPip
  • 171 posts
  • Gender:Male
  • Devices:G300
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

#8
unaszplodrmann

unaszplodrmann

    Diehard

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

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, 14 November 2012 - 10:12 PM.

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

#9
wouterbeer

wouterbeer

    Enthusiast

  • Members
  • PipPipPip
  • 171 posts
  • Gender:Male
  • Devices:G300
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

#10
unaszplodrmann

unaszplodrmann

    Diehard

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

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
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#11
Cyda

Cyda

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,448 posts
  • Gender:Male
  • Location:Wales
  • Devices:Nexus 4 & 7 running PAC

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, 14 November 2012 - 10:53 PM.

  • 0

#12
wouterbeer

wouterbeer

    Enthusiast

  • Members
  • PipPipPip
  • 171 posts
  • Gender:Male
  • Devices:G300

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

#13
unaszplodrmann

unaszplodrmann

    Diehard

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

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
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#14
wouterbeer

wouterbeer

    Enthusiast

  • Members
  • PipPipPip
  • 171 posts
  • Gender:Male
  • Devices:G300
Thanks. Now just taking the red pill :P

  • 0

#15
wouterbeer

wouterbeer

    Enthusiast

  • Members
  • PipPipPip
  • 171 posts
  • Gender:Male
  • Devices:G300
Hm. Flashed the zip. Installed Pdroid again from market. First time run gives error: pdroid not working yet on ICS.

  • 0

#16
unaszplodrmann

unaszplodrmann

    Diehard

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

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, 17 November 2012 - 04:31 PM.

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

#17
Cyda

Cyda

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,448 posts
  • Gender:Male
  • Location:Wales
  • Devices:Nexus 4 & 7 running PAC

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

#18
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300
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
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#19
jsevi83

jsevi83

    Enthusiast

  • Members
  • PipPipPip
  • 292 posts
  • Gender:Not Telling
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

#20
wouterbeer

wouterbeer

    Enthusiast

  • Members
  • PipPipPip
  • 171 posts
  • Gender:Male
  • Devices:G300

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users