FORUMS
Remove All Ads from XDA

 View Poll Results: Did you buy a Fairphone

Yes!
 
38 Vote(s)
53.52%
No, wasn't interested
 
14 Vote(s)
19.72%
No, shipping to EU only
 
0 Vote(s)
0%
No, hadn't heard about it
 
19 Vote(s)
26.76%

[APP] Peace of Mind+, Fairphone fork

58 posts
Thanks Meter: 81
 
Post Reply Email Thread
27th January 2014, 02:30 PM |#31  
mudar1771's Avatar
OP Member
Flag Montréal
Thanks Meter: 81
 
More
Quote:
Originally Posted by lungre

I've got a bug concerning phone volume. When I start the timer the phone goes to silent mode and flight mode. When the timer ends only flight mode is turned off again, phone remains in silent mode.

My phone is a rooted LG Optimus 4X HD, running CM11 (android 4.4.2). I have this bug under both ver 1.0 and 1.1.

I've added this to the issue tracker on GitHub

Later I'll probably need your help to test some versions and see if the issue is solved.

For now:
  • Did you install any superuser app/binaries, or is just CM's?
  • Small test 1: if you manually interrupt the timer (dragging down to zero), does it revert to the previous sound mode or stays stuck in Silent?
  • Small test 2: can you set the phone to Vibrate mode (the middle button on the power-off menu). Start the PoM timer afterwards. It should go into Silent and Flight modes. When it ends, does it revert to Vibrate or stays in Silent?

Thanks a lot for your feedback
 
 
27th January 2014, 03:05 PM |#32  
Junior Member
Flag Skellefteå
Thanks Meter: 3
 
More
Quote:
Originally Posted by mudar1488

  • Did you install any superuser app/binaries, or is just CM's?
  • Small test 1: if you manually interrupt the timer (dragging down to zero), does it revert to the previous sound mode or stays stuck in Silent?
  • Small test 2: can you set the phone to Vibrate mode (the middle button on the power-off menu). Start the PoM timer afterwards. It should go into Silent and Flight modes. When it ends, does it revert to Vibrate or stays in Silent?

Thanks for quick reply and I've now checked both small tests.
(*) No, just CM
(*) Tested both manual interrupt and timer. Stuck in silent on both.
(*) Set to Vibrate mode, still stuck on Silent after manual interrupt/timer.

I'll try any test builds if it will help
27th January 2014, 06:12 PM |#33  
soumoks's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 423
 
More
Thank you for this amazing app, it's well designed and offers good functionality.
A feature request : I usually put my phone into airplane plane mode at night, is there anyway this process can be automated such that it switches to airplane mode at a particular time?
Thanks again for the app

Sent from my Nexus 4 using Tapatalk
27th January 2014, 06:41 PM |#34  
benkxda's Avatar
Recognized Contributor
Thanks Meter: 3,667
 
More
@mudar1488 ...finally, your improved app is on the XDA portal Congrats!
The Following 2 Users Say Thank You to benkxda For This Useful Post: [ View ] Gift benkxda Ad-Free
27th January 2014, 07:19 PM |#35  
Kekoh's Avatar
Senior Member
Flag Southern California
Thanks Meter: 57
 
More
Quote:
Originally Posted by soumoks

Thank you for this amazing app, it's well designed and offers good functionality.
A feature request : I usually put my phone into airplane plane mode at night, is there anyway this process can be automated such that it switches to airplane mode at a particular time?
Thanks again for the app

Sent from my Nexus 4 using Tapatalk

+1 for a schedule option for nights
27th January 2014, 07:30 PM |#36  
mudar1771's Avatar
OP Member
Flag Montréal
Thanks Meter: 81
 
More
Quote:
Originally Posted by soumoks

Thank you for this amazing app, it's well designed and offers good functionality.
A feature request : I usually put my phone into airplane plane mode at night, is there anyway this process can be automated such that it switches to airplane mode at a particular time?
Thanks again for the app

Sent from my Nexus 4 using Tapatalk

Thanks @soumoks for the suggestion
I've added it on the ToDo list on GitHub

Will have to think of a way to include this in the app's UI...
27th January 2014, 07:57 PM |#37  
mudar1771's Avatar
OP Member
Flag Montréal
Thanks Meter: 81
 
More
Quote:
Originally Posted by lungre

Thanks for quick reply and I've now checked both small tests.
(*) No, just CM
(*) Tested both manual interrupt and timer. Stuck in silent on both.
(*) Set to Vibrate mode, still stuck on Silent after manual interrupt/timer.

I'll try any test builds if it will help

@lungre here is a new version that will (hopefully!) fix that.

Can you please try both tests too?

thanks again for the precious feedback!
Attached Files
File Type: apk PeaceOfMind-v11.apk - [Click for QR Code] (769.0 KB, 17 views)
The Following User Says Thank You to mudar1771 For This Useful Post: [ View ] Gift mudar1771 Ad-Free
27th January 2014, 09:19 PM |#38  
mudar1771's Avatar
OP Member
Flag Montréal
Thanks Meter: 81
 
More
Quote:
Originally Posted by dabl8

Merge request created to mudar's fork.

Hey @dabl8,

I've merged your changes.
At that point I had build errors related to Lint, so I did some code cleanup on PoM, commited to PoM github repo, updated the fdroid meta to get the lastest version..

Build log:
Code:
$ fdroid build -t ca.mudar.fairphone.peaceofmind

Building version 1.1 of ca.mudar.fairphone.peaceofmind
Getting source for revision 3c2b38f6a47e4c912b4a70c28f7e7bd8ebe52483
Cloning into 'build/ca.mudar.fairphone.peaceofmind'...
remote: Counting objects: 3150, done.
remote: Compressing objects: 100% (1655/1655), done.
remote: Total 3150 (delta 1128), reused 3052 (delta 1030)
Receiving objects: 100% (3150/3150), 51.40 MiB | 2.30 MiB/s, done.
Resolving deltas: 100% (1128/1128), done.
Note: checking out '3c2b38f6a47e4c912b4a70c28f7e7bd8ebe52483'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 3c2b38f... Gradle updates
Collecting source libraries...
Cloning into 'build/srclib/RootTools-new'...
remote: Counting objects: 79, done.
remote: Compressing objects: 100% (57/57), done.
remote: Total 79 (delta 7), reused 79 (delta 7)
Unpacking objects: 100% (79/79), done.
Note: checking out '3.4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at fe75688... adding .gitignore, removing .DS_Store
Removing debuggable flags...
Cleaning Gradle project...
Scanning source for common problems...
Creating source tarball...
Building Gradle project...
Successfully built version 1.1 of ca.mudar.fairphone.peaceofmind
Checking build/ca.mudar.fairphone.peaceofmind/FairphonePeaceOfMind/build/apk/FairphonePeaceOfMind-defaultFlavor-release-unsigned.apk
success: ca.mudar.fairphone.peaceofmind
Finished.
1 builds succeeded

well, now at least the build goes through

however, there's something wrong because the result APK (attached here) cannot install and it seems it doesn't have a Manifest.
Code:
$ jarsigner -verify -verbose -certs PeaceOfMind.apk

no manifest.
jar is unsigned. (signatures missing or not parsable)
Could this be related to the parent directory?
27th January 2014, 11:13 PM |#39  
Senior Member
Thanks Meter: 56
 
More
Quote:
Originally Posted by mudar1488

Hey @dabl8,

I've merged your changes.
At that point I had build errors related to Lint, so I did some code cleanup on PoM, commited to PoM github repo, updated the fdroid meta to get the lastest version..

Build log:

Code:
$ fdroid build -t ca.mudar.fairphone.peaceofmind

Building version 1.1 of ca.mudar.fairphone.peaceofmind
Getting source for revision 3c2b38f6a47e4c912b4a70c28f7e7bd8ebe52483
Cloning into 'build/ca.mudar.fairphone.peaceofmind'...
remote: Counting objects: 3150, done.
remote: Compressing objects: 100% (1655/1655), done.
remote: Total 3150 (delta 1128), reused 3052 (delta 1030)
Receiving objects: 100% (3150/3150), 51.40 MiB | 2.30 MiB/s, done.
Resolving deltas: 100% (1128/1128), done.
Note: checking out '3c2b38f6a47e4c912b4a70c28f7e7bd8ebe52483'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 3c2b38f... Gradle updates
Collecting source libraries...
Cloning into 'build/srclib/RootTools-new'...
remote: Counting objects: 79, done.
remote: Compressing objects: 100% (57/57), done.
remote: Total 79 (delta 7), reused 79 (delta 7)
Unpacking objects: 100% (79/79), done.
Note: checking out '3.4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at fe75688... adding .gitignore, removing .DS_Store
Removing debuggable flags...
Cleaning Gradle project...
Scanning source for common problems...
Creating source tarball...
Building Gradle project...
Successfully built version 1.1 of ca.mudar.fairphone.peaceofmind
Checking build/ca.mudar.fairphone.peaceofmind/FairphonePeaceOfMind/build/apk/FairphonePeaceOfMind-defaultFlavor-release-unsigned.apk
success: ca.mudar.fairphone.peaceofmind
Finished.
1 builds succeeded

well, now at least the build goes through

however, there's something wrong because the result APK (attached here) cannot install and it seems it doesn't have a Manifest.
Code:
$ jarsigner -verify -verbose -certs PeaceOfMind.apk

no manifest.
jar is unsigned. (signatures missing or not parsable)
Could this be related to the parent directory?

That's normal. The signing is done separately either with jarsigner or fdroid publish. There used to be convenient direct install with debug key but that fell victim to spring cleaning
28th January 2014, 05:40 AM |#40  
Junior Member
Flag Skellefteå
Thanks Meter: 3
 
More
Quote:
Originally Posted by mudar1488

@lungre here is a new version that will (hopefully!) fix that.

Can you please try both tests too?

thanks again for the precious feedback!

Excellent! Both tests working
Reverts to previous mode after timer and manual stop now.

Skickat från min LG-P880 via Tapatalk
The Following User Says Thank You to lungre For This Useful Post: [ View ] Gift lungre Ad-Free
28th January 2014, 05:33 PM |#41  
melkhatt's Avatar
Senior Member
Thanks Meter: 12
 
More
Quote:
Originally Posted by mudar1488

Thanks @soumoks for the suggestion
I've added it on the ToDo list on GitHub

Will have to think of a way to include this in the app's UI...

Thanks, waitin' for this feature too.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes