yashsingh1/xdaforums huggingface dataset:
[Fairphone 1] benkxda:
Yes. +1 and thank you [MENTION=3833079]mudar1488[/MENTION] :)

Ok, now to your questions:

Yes, I see the animation (smoothly on N5/S3 LTE and on Galaxy Nexus a bit sluggish).

Yes, I see these pixels in landscape mode. Doesn't matter if I start in portrait mode and switch to landscape mode or if I directly start in landscape mode.

I have this all the time, doesn't matter if I try after reboot or at the end of the day... always the same.

This is a bit special. Well, I think I don't see my background wallpaper (my wallpaper is just simple black). But I tried it on two home screens. One screen with a lot of icons, the other one with none (even no navigation icons). The result was interesting, as I saw a mostly brown or green fragment on the screen with much icons and usually a black fragment on the screen without icons. It is not always the brown/green or the black one, but that where the most results.

Hope that helps.
[Fairphone 1] mudar1771:
Thanks [MENTION=4465234]benkxda[/MENTION]! Did you try-out the v07a and v07b versions (attached here)? the latter doesn't play video and they both use ugly colors to try to understand what zone/element holds the strange pixels!

However, I do suspect an issue with the custom ROM or the custom DPI value used :(
[Fairphone 1] mudar1771:
New Version 1.0

APK and Changelog are provided in the OP. Peace of Mind+ is also available on the Playstore.

Out of beta now :) so future updates will mainly be bug-fixes. Your feedback/suggestions/comments are most welcome!

Thanks,

mudar
[Fairphone 1] Unrelashade:
Nnnniiice work! So will you get/ put it into the f-droid repository as well? Looking forward to it! :good:

(also, please tell me if the people from f-droid put it into their repository or if a developers has to do that. It could be just them, because all the code is available and they build it from source by themselves to make sure applications don't differ from the code they link to/ offer)
[Fairphone 1] benkxda:
Screenshots of Version 7A and 7B. Pixels still appearing. No change with Version 8. However, it's not hurting.

Version 7 A

Version 7 B

Version 8

I tried 7A and 7B without the enabled software navbar, also with the native DPI @ 320 dpi. Nothing changed there, as well.

What's that? Why did you strike that? I don't mind if you would touch that as well ;)

EDIT:

Upgraded the S3 LTE to CM11 (Android 4.4.2). Regardless to software navbar and dpi settings - it just works now. So forget this problem on (maybe all ROMs with) Android 4.4.2.

But you could update the Help page, it's up to 12 hours now, what is really great.
[Fairphone 1] mudar1771:
Hi [MENTION=4465234]benkxda[/MENTION],

Here attached is a new version that should fix the weird-pixels problem :)

I've installed CM 10.2 / Android 4.3.1 on my Galaxy Tab 10.1 and I had the same issue you reported. I've attached screenshots of the bug (yours) and of my build info.

So, the bug was related to the textShadow. It's very strange because it's not the only textView that has shadow. And the fix was adding some padding to right of the text! Bug fixed on my device, can you confirm it's fixed on your S3?

Working on PoM, I was very surprised by the buggy (and low quality) source code. When I first compiled/ran the launcer, it had many errors too. So I think it's too much work! Another selfish reason is that I hate edge-swipe since I use my phone with a gel case, so I've already replaced the launcher on my Fairphone and I don't think I'll be using it on another phone. Sorry ;)

However, someone has already forked it on the playstore
[Fairphone 1] benkxda:
While I was editing my old post, you posted a new one... ;)

I upgraded about 11 hours ago and I won't go back now. ;)

But I used my girlfriend's Samsung Galaxy Note 2 (GT-N7100) with Samsung stock firmware Android 4.3 (unrooted). Also got these strange pixels, but also only on the right side, like yours and mine.

How did you get your Fairphone btw.? I thought it's only available in Europe :confused:

Do I understand right, the source for PoM as provided was not able to be compiled? Obviously the app within Fairphone OS was able to be compiled so there is a difference, right?

We have the dev of the Fairphone launcher in the Fairphone thread, I'll ask him if he wants to do improvements on it.

EDIT:

The device of my girlfriend is set to German language. Now I saw the German version the first time, haha. The text is longer but as far as I read, it was good.
[Fairphone 1] mudar1771:
So does PeaceOfMind-v09.apk (version 1.1) still have the strange pixels on the Galaxy Note 2? meaning that the problem is still not fixed?

I had my Fairphone shipped at a friend's who was planning to come to Montreal in January :)

Hmm... not what I meant. The source compiled fine, there's probably no difference between the source-code and the version shipped on the Fairphone.

What I meant is that the quality of the code was lower than I expected, with some serious bugs that should never have shipped. :(

Also, the app was not built to support Android's different screen sizes and resolutions :crying:, which requires lots of work before making it available for devices other than the Fairphone.

I don't know the time or the resources they had to build these apps, but the source-code is... not very inviting!
[Fairphone 1] benkxda:
Sorry, I forgot that in the last post. Yes, version 09, as you provided, was working without any problem. I started it several times and have had no issues here. Great job, sir. :good:

Hopefully Fairphone will grab your code and integrates it again for the Fairphone customers. Not everyone knows, there could be a better version in Google Play.

Oh, nice. Now we have a delivery bridge for spreading the Fairphone to North America. :laugh:

Ok, now I understand. So you did some development for Kwamecorp or let's say for the next update of the Fairphone OS or the widget Peace of Mind. Although the source is not perfect, I am happy, because they provided the idea and the source code. And thank you, that you accepted the code challenge ;)
[Fairphone 1] dabl8:
I knocked up an F-Droid recipe, which you may want to push to them. I used RootTools 3.4 because 3.3 is known to have problems compiling and preferred to build it from source since there is no official binary of 3.3 to compare yours with. Note that XDA has misinterpreted the text in the for the Categories value!

diff --git a/metadata/ca.mudar.fairphone.peaceofmind.txt b/metadata/ca.mudar.fairphone.peaceofmind.txt
new file mode 100644
index 0000000..0a68fa6
--- /dev/null
+++ b/metadata/ca.mudar.fairphone.peaceofmind.txt
@@ -0,0 +1,40 @@
+Categories:eek:ffice
+License:Apache2
+Web Site:http://fairphone.mudar.ca
+Source Code:https://github.com/mudar/Fairphone
+Issue Tracker:https://github.com/mudar/Fairphone/issues
+
+Auto Name:Peace of Mind+
+Summary:Widget to quiet the phone
+Description:
+Based-on a widget that comes with the [http://fairphone.com Fairphone],
+a phone that's made from ethically-sourced materials.
+
+Would you like to disconnect, if only for a moment?
+Your phone will go silent and disconnect from the world: no e-mail, no status
+updates, no SMS and no phone calls.
+Choose how long you wish to disconnect (up to 3 hours).
+
+Requires root on Android 4.2+ to put the phone in Airplane Mode; if
+the request is declined only Silent Mode will be enabled instead.
+.
+
+Repo Type:git
+Repo:https://github.com/mudar/Fairphone
+
+Build:1.0,8
+ commit=36fd2aeb73
+ subdir=FairphonePeaceOfMind
+ gradle=defaultFlavor
+ srclibs=RootTools-new@3.4
+ rm=FairphonePeaceOfMind/libs/RootTools-3.3.jar
+ prebuild=sed -i "/^ compile files/d" build.gradle && \
+ sed -i "37 i \ \ \ \ compile project(':RootTools-new')" build.gradle && \
+ echo "include ':RootTools-new'" >> ../settings.gradle && \
+ ln -s $(readlink -f $$RootTools-new$$) ../RootTools-new
+
+Auto Update Mode:None
+Update Check Mode:RepoManifest
+Current Version:1.0
+Current Version Code:8
+
diff --git a/srclibs/RootTools-new.txt b/srclibs/RootTools-new.txt
new file mode 100644
index 0000000..0925f35
--- /dev/null
+++ b/srclibs/RootTools-new.txt
@@ -0,0 +1,3 @@
+Repo Type:git
+Repo:https://github.com/Stericson/RootTools
+Subdir:RootTools/RootTools
[Fairphone 1] mudar1771:
Submitting to F-Droid

Thanks [MENTION=3554004]dabl8[/MENTION] for the F-Droid metadata file, I have started testing this but the buiid fails because of the FairphoneHome app, even though it compils (and runs) fine in AndroidStudio.

Build fail log:

$ fdroid build -t ca.mudar.fairphone.peaceofmind
Building version 1.0 of ca.mudar.fairphone.peaceofmind
Getting source for revision 36fd2aeb73
HEAD is now at 36fd2ae New version released
Removing RootTools-new
HEAD is now at 36fd2ae... New version released
Collecting source libraries...
HEAD is now at fe75688 adding .gitignore, removing .DS_Store
HEAD is now at fe75688... adding .gitignore, removing .DS_Store
Removing debuggable flags...
Cleaning Gradle project...
Could not build app ca.mudar.fairphone.peaceofmind due to BuildException: 'Error cleaning ca.mudar.fairphone.peaceofmind:1.0'
==== detail begin ====
FAILURE: Build failed with an exception.

* Where:
Build file '/home/android/Fairphone/_DATA/f-droid/mudar-fdroiddata/build/srclib/Fairphone-mudar/FairphoneHome/build.gradle' line: 9

* What went wrong:
A problem occurred evaluating project ':FairphoneHome'.
> Could not create plugin of type 'AppPlugin'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2.343 secs
==== detail end ====
Build for app ca.mudar.fairphone.peaceofmind failed:
'Error cleaning ca.mudar.fairphone.peaceofmind:1.0'
==== detail begin ====
FAILURE: Build failed with an exception.

* Where:
Build file '/home/android/Fairphone/_DATA/f-droid/mudar-fdroiddata/build/srclib/Fairphone-mudar/FairphoneHome/build.gradle' line: 9

* What went wrong:
A problem occurred evaluating project ':FairphoneHome'.
> Could not create plugin of type 'AppPlugin'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2.343 secs
==== detail end ====
Finished.
1 builds failed

I'm not quite sure about the need of building RootTools 3.4 from source instead of using the official JAR file. Is this an f-droid requirement for libraries? However, since the project is currently (one day ago) moving to github, a new version might be on the way...

So, I'm looking into this, reading the doc, checking the build config etc... I've forked fdroiddata, so you could push your additions to fdroiddata or to my repo. I would greatly appreciate your help with these build issues since this is the first time I submit to f-droid.

thanks
[Fairphone 1] dabl8:
Oh dear. I have only one change made to my fdroidserver: I prevent gradle clean from running because it is so slow and pointless on my netbook. There looks like a problem with FairphoneHome/build.gradle so just use rm=roittools.jar;FairphoneHome and it should work. If not Ill check it out and do a merge request.

Edit: Its possible to use the jar; it can be added to the fdroid repo, but it bloats it to have jars in there, or you can use wget over https. I prefer to use source code myself.

Edit: Did you ever use gradle 1.10? If so look at this bug: https://code.google.com/p/android/issues/detail?id=63999
[Fairphone 1] dabl8:
Merge request created to mudar's fork.
[Fairphone 1] lungre:
Hi and thanks for releasing this great app for all us non-fairphone owners :)

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.
[Fairphone 1] mudar1771:
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 :)
[Fairphone 1] 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 :)
[Fairphone 1] 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 :)
[Fairphone 1] benkxda:
[MENTION=3833079]mudar1488[/MENTION] ...finally, your improved app is on the XDA portal :victory: Congrats!
[Fairphone 1] Kekoh:
+1 for a schedule option for nights
[Fairphone 1] mudar1771:
Thanks [MENTION=5242260]soumoks[/MENTION] 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...
[Fairphone 1] mudar1771:
[MENTION=2045571]lungre[/MENTION] here is a new version that will (hopefully!) fix that.

Can you please try both tests too?

thanks again for the precious feedback!
[Fairphone 1] mudar1771:
Hey [MENTION=3554004]dabl8[/MENTION],

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:

$ 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 :good:

however, there's something wrong because the result APK (attached here) cannot install and it seems it doesn't have a Manifest.

$ jarsigner -verify -verbose -certs PeaceOfMind.apk

no manifest.
jar is unsigned. (signatures missing or not parsable)

Could this be related to the parent directory? :confused:
[Fairphone 1] dabl8:
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 :)
[Fairphone 1] lungre:
Excellent! Both tests working :)

Reverts to previous mode after timer and manual stop now.

Skickat från min LG-P880 via Tapatalk
[Fairphone 1] melkhatt:
Thanks, waitin' for this feature too.
[Fairphone 1] Unrelashade:
You can probably use software e.g. an app like Tasker. I agree that a nice feature request is a "start time" and "end time" though, as you could also set it up for times more than an hour and recurring times. Like Cyanogenmod's silent hours. Maybe there's a code libraby/ template for stuff like this?
[Fairphone 1] Dede525:
[MENTION=225651]op[/MENTION] what about compatibility with older version of android? I've got my FP but also an older phone, that I'm using sometime, with android 2.3.... any chance to have this app on 2.3.x as well?
[Fairphone 1] mudar1771:
Sorry, but no plans for 2.3 compatibility :(

PeaceOfMind+ started as a fork of Fairphone's PeaceOfMind, which was intended to run only on the fairphone: screen resolution, android version, system app, etc.

So working with that code I tried to make it compatible with other devices. The original app was for Android 4.1 (API 16), so I added support for 4.0+ (API 14). Initially I thought it would only need some UI changes, but I had to handle non-rooted phones and fix too many bugs. And the code quality was not that great.

So to me it's difficult to justify the amount of changes (and time!) required to add support for 2.3, especially for what was supposed to be a simple Fork.
[Fairphone 1] Unrelashade:
Hi Mudar, didn't you plan to release it/ have it released on free software appstore f-droid also? That would be really nice still!

Regards
[Fairphone 1] mudar1771:
Update, version 2.1.0

Hi all,

More than 3 years later, I have updated the app to support native Do not disturb mode, along with Material design and other fun stuff.

Changelog and screenshots in the first post, or on Github. App is also available on Google Play.
[Fairphone 1] Phant19:
Hidden Airplane Mode?

Hi!

I've found this app yesterday on F-Droid and installed it right away (V2.1.1) as I know the original software already from my FP1. So now, on my FP2, it looks good and works, BUT: There isn't any Airplane Mode available.

Fairphone Open 18.04.1 (Android 6.0.1) is running and "root access" is generally enabled for apps in the Developer settings. I've also uninstalled and reinstalled the app again. No change.

Is there any tweak to enable the Airplane Mode support? Could another app disturb the detection of root access (I have XPrivacy and GravityBox running as system-near apps)?

Thanks for any hints.

Phant
[Verizon HTC Droid Incredible 4G LTE] grayson.mott:
Hey guys I am in some need for help. I am trying out the 4.4 ROM over in the dev thread and ran into an issue. My phone sticks at the "This build is for development purposes only etc" screen when attempting to boot to the ROM. Bellow are the steps ive done

1) Flash the recovery.img that was posted

2) Flash ROM from new CWM recovery

3) Wipe data/cache and dalvik

4) Reboot

I have pulled battery and still no resolve. I can still get into fastboot and recovery, just wont load the ROM (sticks at the HTC quietly brilliant screen)

Please help!

Thank you
[Verizon HTC Droid Incredible 4G LTE] santod040:
Why are you wiping after you flash the rom?

Just flash the rom, flash Gapps,...reboot. :)
[Verizon HTC Droid Incredible 4G LTE] triseal1:
If I remember correctly, I needed to pull the boot.img from the 4.4 tiKtaK Alpha ROM and flash it with Fastboot to get the ROM running.
[Verizon HTC Droid Incredible 4G LTE] grayson.mott:
I wrote that out of order, sorry. I have wiped data/cache then flashed the ROM. Any ideas? It is stuck on the HTC quietly brilliant screen. I verified the files were downloaded properly.
[Verizon HTC Droid Incredible 4G LTE] santod040:
Try just going back into recovery again, don't wipe anything, reflash the rom and Gapps.

If you are not s-off, then yes you will have to fastboot flash the boot image as mentioned above.
[Verizon HTC Droid Incredible 4G LTE] grayson.mott:
Awesome man thanks trying now... was the command syntax fastboot flash bootloader boot.img ?
[Verizon HTC Droid Incredible 4G LTE] grayson.mott:
Yeah it still is getting stuck at the HTC screen. I do have S=Off so that explains that.
[Verizon HTC Droid Incredible 4G LTE] grayson.mott:
Ok so I booted into CWM recovery and flashed the rom and then gapps. After a reboot it is still getting stuck on the quietly brilliant issue. Could I have an older radio or something? I came from a 10.1 nightly. Thanks for the help.
[Verizon HTC Droid Incredible 4G LTE] santod040:
That's definitely possible.

I would suggest hunting down the latest available radio for your device and falshing it if you aren't on it already.

I see Andy has posted these, I don't know if you guys have anything newer or not...
[Verizon HTC Droid Incredible 4G LTE] grayson.mott:
Dang yeah im on current radio (1.53.06.0919). I'm stumped, I just tried the whole process over Locked bootloader, then unlocked, fastbooted cwm recovery and flashed rom + gapps. It keeps hanging at the htc screen, what are my options?
[Verizon HTC Droid Incredible 4G LTE] grayson.mott:
Ok for now im rolling to stock via RUU. I relocked the boot loader to do so.
[Verizon HTC Droid Incredible 4G LTE] santod040:
Did you verify that you had a complete download?

Check the md5 sum of the file you downloaded against what's on the server.

I know you already reverted, but that's the only other thing I can suggest really.
[Verizon HTC Droid Incredible 4G LTE] Sum Dumb Guy:
Silly question, but are you sure you have the correct gapps? Maybe flash just the rom and see if you can complete the boot process. Then install gapps.

J
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] vinu4u07:
I'm new on this forum and I'm from India.. Recently I got one AT&T S3 i747 unlocked version for my dad and it's running with the 4.1.1 version..

While trying to update through OTA it shows there's no update and I would like to update to the 4.1.2 version...

Could someone tell me how to update to 4.1.2 manually and will there be any problem with the network since I'm from India.. Coz all the 4.1.2 roms in Samsung updates website are for Canada or US
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] vinu4u07:
anybody with a solution??:confused:
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] xSharpi:
I found this here and it should help get you to 4.1.2 http://xdaforums.com/showthread.php?t=2388065 I believe you need to be already rooted with a custom recovery on 4.1.1 and then from there you can flash the .zip but factory wipe and backup before hand. I also don't think you need to download the modem from there just the 4.1.2 ROM

PROCEED AT YOUR ON RISK
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] vinu4u07:
Thanks bro.. Will give a try on that n see the results..
[Galaxy S III General] danierakes:
Stock 4.3 and stock kernel
[Galaxy S III General] dimon28:
Hmm I actually get 20660 on first run. im on archidroid 1.7.3 with boeffla kernel. But the phone seems very snappy and fast and does a great job on multitasking
[Galaxy S III General] maej72:
are you serious i got on 1st run 20712 with OC to 1.6ghz and (-50) undervolt using zzmove performance governor on Boeffla-kernel

2nd run 20631 with OC to 1.6ghz no undervolting using pegasusq speedmod governor

your score seems very impressive without any tweaks, well done my friend.
[Galaxy S III General] s14sh3r:
20604

ArchiDroid 1.7.3 with Yank555 kernel. zzmoove optimal governor.
[Galaxy S III General] danierakes:
Yes I tested last nite stock rom and stock kernel....