Finally Satisfied with my Q - Motorola Photon Q 4G LTE

Today was a turning point for me. I am now finally satisfied with my Q. After moving from my HTC Touch Pro 2, I am now able to do everything I was able to before, and in addition, have a flashlight.
Here is a list is what I felt needed to be done and I have finally figured out:
Disable camera shutter sound
Force Roam
Wifi Tether
LED control (I like to see a red LED charging, and it turn green when charged)
Anything that I am missing out on with the Q guys?

ericcire said:
Today was a turning point for me. I am now finally satisfied with my Q. After moving from my HTC Touch Pro 2, I am now able to do everything I was able to before, and in addition, have a flashlight.
Here is a list is what I felt needed to be done and I have finally figured out:
Disable camera shutter sound
Force Roam
Wifi Tether
LED control (I like to see a red LED charging, and it turn green when charged)
Anything that I am missing out on with the Q guys?
Click to expand...
Click to collapse
Links would be good for anyone coming over from another device, might make this thread worthwhile to some folks.
-Saint

If anyone is missing the notification toggle switches from samsung/cm there is an app in the play store called notification toggle that works great. U can add the flashlight toggle right to that also which is key.
Sent from my XT897 using xda app-developers app

iamchocho said:
If anyone is missing the notification toggle switches from samsung/cm there is an app in the play store called notification toggle that works great. U can add the flashlight toggle right to that also which is key.
Sent from my XT897 using xda app-developers app
Click to expand...
Click to collapse
Awesome! The 4G icon pulls up the testing menu where one switched to force roaming.
Now I just need a matching icon.

Only CM will be truly satisfying.

rustydetroit said:
Only CM will be truly satisfying for me personally.
Click to expand...
Click to collapse
Fixed.

ericcire said:
Here is a list is what I felt needed to be done and I have finally figured out:
Force Roam
Click to expand...
Click to collapse
How did you force roam? Was it for voice only, or data as well?
In my city, LTE isn't rolled out (and won't be for 6 months to 8 years), and 3G is getting worse daily. I'd love to be able to force roam onto a different carrier's 3G.

GDorn said:
How did you force roam? Was it for voice only, or data as well?
In my city, LTE isn't rolled out (and won't be for 6 months to 8 years), and 3G is getting worse daily. I'd love to be able to force roam onto a different carrier's 3G.
Click to expand...
Click to collapse
I would also like to know how you got forced roaming.
CMNDR

zodiac12345 said:
Go into dialer/phone, dial *#*#4636#*#*. This sometimes does not work, so just redial it if anything. Afterwards, go into "Phone Information". On the bottom right corner if the screen, there will be the menu icon (3 squares lined up). Click on it, then choose "Select Radio Band".
3 Options will appear:
USA Band - Does not seem to work
Cellular - This will force roam onto Verizon, US Cellular, etc (all companies that utilize the 850 MHz band)
PCS - Should be Sprint Native signal for the most part. (1900 MHz, so pretty much Sprint)
Note: As of now, this should work as a decent workaround to force Roaming, however, Sprint will be deploying 1x (Voice) over the SMR spectrum, or simply put, the 800 MHz frequency. I am not sure if the phone will connect to Sprint's 800MHz frequency when available, or it if it will connect to Verizon's 850 MHz. This will not only come into play in Network Vision areas, but will eventually impact all of Sprint's network, as all towers will receive Network Vision.
WARNING: This method has proven to be problematic as you cannot return to default settings. This means no Auto Roam, you will have to manually switch between Cellular and PCS until you can use QPST as a fix. IF YOU DON'T KNOW WHAT QPST IS, DO NOT USE THIS METHOD AS IT MAY HURT YOUR EXPERIENCE.
Disclaimer: I am not responsible for your stupidity or loss of contract for using this method. I am also not responsible if you become angry at your phone and throw your cat out the window, then punch a woman out of frustration.
Click to expand...
Click to collapse
You will want to look up the force roam thread for more info before you do this

ericcire said:
You will want to look up the force roam thread for more info before you do this
Click to expand...
Click to collapse
Oh, I'd hoped you'd found something I didn't. When I force roam to cellular, I get no data at all. Perhaps that's the region I'm in?

ericcire said:
Today was a turning point for me. I am now finally satisfied with my Q. After moving from my HTC Touch Pro 2, I am now able to do everything I was able to before, and in addition, have a flashlight.
Here is a list is what I felt needed to be done and I have finally figured out:
Disable camera shutter sound
Force Roam
Wifi Tether
LED control (I like to see a red LED charging, and it turn green when charged)
Anything that I am missing out on with the Q guys?
Click to expand...
Click to collapse
Nice! I switched from an HTC Tytn II about a month ago myself. Excellent change and Android is nice.

ericcire said:
Disable camera shutter sound
Click to expand...
Click to collapse
Just for record ... further generations ... :]
Go to: /system/media/audio/ui/
Rename following files to something else:
Code:
camera_click.ogg // this is shutter sound
multishot_click.ogg // this is multishutter sound
VideoRecord.ogg // This is sound when recording starts
Or in terminal under root just use:
Code:
cd /system/media/audio/ui/
mv camera_click.ogg camera_click.ogg.bck
mv multishot_click.ogg multishot_click.ogg.bck
mv VideoRecord.ogg VideoRecord.ogg.bck
Enjoy silence ^^

How did you change the LED for charging? Id love that

judogti said:
How did you change the LED for charging? Id love that
Click to expand...
Click to collapse
I used LightFlow.

Stunherald said:
Just for record ... further generations ... :]
Go to: /system/media/audio/ui/
Rename following files to something else:
Code:
camera_click.ogg // this is shutter sound
multishot_click.ogg // this is multishutter sound
VideoRecord.ogg // This is sound when recording starts
Or in terminal under root just use:
Code:
cd /system/media/audio/ui/
mv camera_click.ogg camera_click.ogg.bck
mv multishot_click.ogg multishot_click.ogg.bck
mv VideoRecord.ogg VideoRecord.ogg.bck
Enjoy silence ^^
Click to expand...
Click to collapse
How did you do that? Everytime i try to rename it or chmod on it, it give error of read only file system. any idea?

pb908 said:
How did you do that? Everytime i try to rename it or chmod on it, it give error of read only file system. any idea?
Click to expand...
Click to collapse
You have to remount system RW.
Code:
adb root
then
Code:
adb remount
Should do it.

arrrghhh said:
You have to remount system RW.
Code:
adb root
then
Code:
adb remount
Should do it.
Click to expand...
Click to collapse
well, got one error on adb root command = adbd cannot run as root in production builds
but got work around by doing it in shell :
adb shell
su
then wait until SU pop out appears on phone and click granted access.
# mount -o rw,remount /system
then do the rest while under shell.
thanks for the tips !!

Related

[REQUEST][MOD] Hide 4G notification on 3.70

So, i upgraded to Fresh 3.5 which is based off of the OTA 3.70. and now when i keep 4G on and there is no 4G signal around that notification icon sits on the top left corner of the task bar. it's a 4G icon with an exclamation point on it and when you pull the notification bar down it says "4G antenna is ON, tap to scan for 4G service" can someone please find a way to hide this icon. I like to keep 4G turned on all the time and don't want to keep seeing this every time the 4G connection drops. TIA.
I second this!!
We can't be the only two to find this annoying.
___________________________________
Sent Remotely....
Annoys me as well... jesus. I know I have 4g on. I don't need reminded!
hide the taskbar, you wont even know its there~....plus a little more room on the home screen
Drives me crazy, please remove this USELESS notification. Actually, I'm going to call Sprint and give them an ear full.
gdog1977 said:
Drives me crazy, please remove this USELESS notification. Actually, I'm going to call Sprint and give them an ear full.
Click to expand...
Click to collapse
if phone is rooted then nothing they can do
bigboii30 said:
if phone is rooted then nothing they can do
Click to expand...
Click to collapse
Sprint could get all information from user.. note phone is rooted and flag account
No they can't, I'll called them today, no flagging or anything. And remember rooting is not illegal, and they cannot flag your account for doing it. Their saying this is a feature to save battery life. I disagree. My thought is they couldn't figure out how to get the 3G to 4G handoff to happen properly so this is their solution. BTW, I've had nothing but problems with 4G stalling since I've owned the phone so this is still an issue.
For those of you wanting to lose the constant notification. It's in the framework-res.apk You can use Gimp to make it transparent and then push the framework back to your phone. Or you can pull your framework and make your own flashable zip. Then you can keep modifying anytime you want to change something with 7-zip.
It's actually not in framework-res, and making the image transparent keeps the spacing allocated and continues to display the notification text in the "notifications" section of the drop down window.
So, having said that, consider the attached (flash via recovery) EXTREMELY experimental. It "should" remove all the corresponding 4G notifications. What I don't know, is if in doing so, it breaks the ability to automatically reconnect when leaving and re-entering a 4G area. This isn't as easy to remove as icons to the right of the status bar, or even some on the left. This uses android's built-in notifications framework, which requires ongoing services, etc, to report activity on the top left side, and in trying to break its display, it is certainly possible more than just its display has been "broken".
Again, give it a shot and see if it works without any unintended side affects. But, be warned, as mentioned, it may. Just not sure, as I haven't been able to test it enough to verify it works as intended.
Nandroid before flashing so you can restore more easily if it doesn't work as intended.
It flashed just fine, I haven't left my 4G area yet so well see if it effects reconnection. I let everyone know. Now I just need to change the scanning frequency interval back to what it was before because it seems that the interval is longer now, thus they put a button on the notification bar to instantly activate it. Thank you Sir for your help, and a Happy Christmas and Merry New Year to everyone.
After looking at the wimax setting the values that changed are-
Previous- wimax entry delay(s)600
Current- wimax entry delay(s) 300
and
Handoff Threshold
Previous - 0
Current - 6
I changed my handoff back to 0 and well see what happens, and I'll try 3 and report back.
I'm also going to lower entry delay and see what it does to battery life.
The (Previous) settings are taken from a post from July, so who know what there were a few weeks ago.
I can confirm that the .zip file works perfectly. Gets rid of the notification and reconnection works fine. Still playing with the scan settings in regards to battery life.
Finally, back on the forum. Thanks for making this mod. Downloading now and will give it a try.
___________________________________
Sent Remotely....
I can confirm that this works a well. I'm able to connect back to 4g without a problem.
___________________________________
Sent Remotely....
strikeIII said:
I can confirm that this works a well. I'm able to connect back to 4g without a problem.
___________________________________
Sent Remotely....
Click to expand...
Click to collapse
Cool, thank for the additional confirmation.
Sorry to be so noobish. I just got my first android phone and just (stupidly) applied this update today and I hate how it doesn't reconnect the 4g automatically and makes me rescan. I really wish I could make the 4g how it was before.
My phone is not rooted or anything its just an HTC evo with a white backing right out of the box and updated. What should I do?
I'd be more than happy to donate to the developer of this method just need a little help here please.
Action B said:
My phone is not rooted or anything.
Click to expand...
Click to collapse
Your not rooted, how did you flash his mod?
triscuit1983 said:
Your not rooted, how did you flash his mod?
Click to expand...
Click to collapse
You beat me to the same question. While it is trivial to undo, how did you apply in the first place?
I guess it is feasible to extract the apk from the zip, and manually click to install from your sd card, but somehow I doubt this is what was done...
Either way, for future edification, since you would have to know what apk it is, if you installed it this way, why not just download a stock ROM and pull out the same apk and re-apply?
This is what I have done and attached.

[APP] Unlock At Home Using Wifi v1.5.9

Hi people,
I'm the developer of an application distributed on the market called "Unlock At Home Using Wifi", I've developed this basically because I was tired of having to unlock the phone's dots security pattern in every time and place, specially when I was at secure locations, like home f.e.
The idea of the application is that whenever the phone is connected to a wifi network defined as secure, you'll have to unlock the device just ONCE, and then after disconnection, lock will be again automatically enabled. Also you can define a different wifi sleep policy depending if you are in a secure location or not.
NOTE: I'm deleting my xda-developers account (this thread will stay here I think) but isn't supported for me anymore. If you want to contact me please use the provided email at market. Thanks everyone!
UPDATES
*** version 1.5.9 *** (05/12/2011)
(RECOMMENDED BRANCH)
Free market application link
- Enforced and default activation of "(Wifi) White-Network Always On" option (sleep policy RECOMMENDED), if it's off the application might get some issues.
*** version 1.5.8 *** (04/28/2011)
- Several issues fixed in service (unlock finally holds all the time it shoulds)
- Added option to disable the screen flick on wifi off/screen off locking situations (NOT RECOMMENDED)
*** version 1.5.7 *** (04/25/2011)
- Fixing keyguard
- Better app behavior
*** version 1.5.6 *** (04/11/2011)
Now when app detects a white-list network connection, it'll show a yellow status bar icon, indicating that after unlocking, phone will switch to fixed unlocked status (red icon). Known issue: From time to time, at least in my phone (CM7) keyguard is coming back on his own, it this happens also to you, you'll have to unlock again to fix it, I'm looking for a solution to this... (I feel a bit at the limit of OS posibilities now...)
*** version 1.5.5 ***
More app behavior fix... Hope this is the last. Screen now will flick a little when disconnecting. (it'll fix keygyard state).
Remember now you just have to unlock the device once, when connected to a secure located wifi network. It's safer and fits quite well inside the OS limits.
*** version 1.4 ***
NOTE: This branch is a bit outdated now, the recommended one is the 1.5, try this for curiosity if you want, view the (outdated) source) and so if you want, but this is, I repeat it: OUTDATED.
If you don't like the idea of a totally unlocked device, try this, is only for Android 2.2 onwards, it will change from dotted lock to slide lock on secure locations, requires a rooted phone and installing the app in /system/app.
APK version 1.4 android 2.2+
Github source code repository (v.1.4)
If you don't know how to install this, better go for the 1.5 free market app.
FINAL WORDS
If you find useful this application, please consider a small donation via the donation app. Thank you very much!
Works on Galaxy S! Great app thx! how is the battery drain?
Hi DasPrinzip,
in my experience, almost inexistent, it's just hooked to wifi up/wifi down events, also has a very low memory footprint.... check for yourself
Greetings,
Ruben
Works well on Desire Z CM7 nightly #32
Tested today and no problem yet.
Thanks
fantastic idea. feel like I saw a post here or somewhere else where you were asking opinions on pricing. Did you decide yet if/what you are going to charge for this? This app would make a great partnership with something like widget locker.
ThePitboss said:
fantastic idea. feel like I saw a post here or somewhere else where you were asking opinions on pricing. Did you decide yet if/what you are going to charge for this? This app would make a great partnership with something like widget locker.
Click to expand...
Click to collapse
Thank you ThePitboss, the app is GPL3 free software, may be you saw another app that was inspired on mine, recently on the xda-news ...
You can get the github repo and compile for yourself if you want...
Thanks khroma. Just getting into android development, and it's great to read code for apps like this.
Sent from my PC36100 using XDA App
Unlocking doesn't work affter reboot
It worked successfully for a certain time yesterday, after reboot I realize that the phone get lock even when on wifi whitelist. Then when I unlock the phone, the green lock icon is still there. I have to click on "Tap for modify networks lock configuration" in notification area to unlock the phone again ( I see the red unlock icon in status bar). It works for a few minutes, then it revert back to green lock icon even when unlock.
I'm using the github apk installed with adb push.
Using CM7 nightly #32 on rooted Desire Z
Will try CM7 RC4 today with all the usual wipe dalvick cache etc...
Any Ideas?
No success after upgraded to CM7 RC4 and reinstalled apk. No significant messages in logs. UnlockAtHome icon still switching to green lock even when my sreen is on :-(
droidoz said:
No success after upgraded to CM7 RC4 and reinstalled apk. No significant messages in logs. UnlockAtHome icon still switching to green lock even when my sreen is on :-(
Click to expand...
Click to collapse
I'm sorry droidoz ... if you like the new approach, uninstall the v.1.4 of /system/app space and try the app directly from market. Please tell me what happens there.
Wont install from the Market :-(
droidoz said:
Wont install from the Market :-(
Click to expand...
Click to collapse
Did you delete it first from /system/app?
Steps:
[plug phone]
adb remount
adb shell
cd /system/app
rm UnlockAtHome.apk
exit
Khroma said:
I'm sorry droidoz ... if you like the new approach, uninstall the v.1.4 of /system/app space and try the app directly from market. Please tell me what happens there.
Click to expand...
Click to collapse
It works but reboot erase configs. I went to an internet coffee shop to test it and it last 2 hours without any problem, then I came back at home enter my shema to unlock and it works well. I tried a reboot, then it lost all configs like if it was a new app. I did the same config as the first time: settings wifi always on a you suggested. Waited a few minutes... still working. Did another reboot and lost again my all configs.
Could it be a permission problem? I did a fix permission from recovery, but didn't change anythings.
droidoz said:
Waited a few minutes... still working. Did another reboot and lost again my all configs.
Could it be a permission problem? I did a fix permission from recovery, but didn't change anythings.
Click to expand...
Click to collapse
Weird... yes it seems a permission problem, may be your phone still contains the old /system/app aplication data (?), look in /data/data directory using adb shell, the app id is com.accedo.unlockathome, compare user/permissions of the directory, or if you want to make to make sure the directory is created again (sample commands, take care with this):
[uninstall unlock at home once again, plug your phone]
adb shell
cd /data/data
ls -ld com.accedo.unlockathome
[if you see some dir here delete it with this command:]
rm -rf com.accedo.unlockathome
Install the app again, you'll need to configure your data again but I hope this time you get no issues
Installed from Market for me! Nice app - will try it out over next few days.
Great that your offering is Free / GPL unlike the other one
I am running Pongsters HyperDroidGBX-v11 on an HTC HD2
Cheers
UPDATE
Uninstalled - used 70% battery overnight - normal usage is 3%. I normally turn everything off using a power widget - no WiFi, etc - phone in airplane mode. Despite this left with 9% battery when I woke up - was at 79% 8 hours before going to kip!
Khroma said:
[uninstall unlock at home once again, plug your phone]
adb shell
cd /data/data
ls -ld com.accedo.unlockathome
[if you see some dir here delete it with this command:]
rm -rf com.accedo.unlockathome
Install the app again, you'll need to configure your data again but I hope this time you get no issues
Click to expand...
Click to collapse
ls: com.accedo.unlockathome: No such file or directory.
But there was a file in dalvik-cache which I deleted. Removed copmpletly the app and did a reinstall and it reverted back to the same problem. It works for a few minutes and then locks again. It solved configs problem at reboot, but still no improvement.
droidoz said:
ls: com.accedo.unlockathome: No such file or directory.
But there was a file in dalvik-cache which I deleted. Removed copmpletly the app and did a reinstall and it reverted back to the same problem. It works for a few minutes and then locks again. It solved configs problem at reboot, but still no improvement.
Click to expand...
Click to collapse
Soooo weird... now my only guess is CM7 RC4, I'll try to test this ASAP, when the ROM is available for my phone, sorry for the inconveniences. Please see also my PM.
jellywobbles said:
Great that your offering is Free / GPL unlike the other one
[..]
UPDATE
Uninstalled - used 70% battery overnight - normal usage is 3%. I normally turn everything off using a power widget - no WiFi, etc - phone in airplane mode. Despite this left with 9% battery when I woke up - was at 79% 8 hours before going to kip!
Click to expand...
Click to collapse
Thank you anyway for your confidence and your feedback!
The app it self it's a service that runs only on wifi app - down events, should not drain at all, but I'll check this today
Regards
Khroma said:
Thank you anyway for your confidence and your feedback!
The app it self it's a service that runs only on wifi app - down events, should not drain at all, but I'll check this today
Regards
Click to expand...
Click to collapse
Thanks - if the battery drain can be solved, this will be a brilliant product!
jellywobbles said:
Thanks - if the battery drain can be solved, this will be a brilliant product!
Click to expand...
Click to collapse
Please could help me with this issue checking what process are draining the battery, I've tested it for a few hours and here everything is running ok, just a guess: Did you checked the "white network always on" checkbox? Maybe the problem is some process over-using wifi?
Anyway I'm interested (if you can do some more testing) about what process are draining your battery, you can check it in "About the phone > Battery use"
(I've never seen my process in that list in my phone)

Is there any way to flash / blink the camera LED on call / ring / sms ?

Hey everyone,
I want to flash the camera LED (Not the notification LED) on incoming call , message , and SMS / MMS .
I have tried just about all the free apps on the market attempting to do so, with no / little luck. Some just don't work at all, and a few will flash on TEST mode but not actually work when ringing. [Edit: Some work great on SMS / text but NOT ringer ... wtf ???]
I found one or two that will flash AFTER the ringer stops, but not consistently and nothing works like it should. Also nothing will actually flash while the phone is ringing. I tried Flashlight Notifier but you have to pay for PRO to use the ringer option, which I am afraid to do since nothing else worked....
I am using ViperOne 3.2.1 on HTC One M8 -- I have also tried the VenomTweaks settings of notification flash and added people and phone but that doesn't work either.
A few apps that I tried have Accessibility on/off service, which I have enabled and still no luck.
Any suggestions ?
Thanks !
BaLLZaCH said:
Hey everyone,
I want to flash the camera LED (Not the notification LED) on incoming call , message , and SMS / MMS .
I have tried just about all the free apps on the market attempting to do so, with no / little luck. Some just don't work at all, and a few will flash on TEST mode but not actually work when ringing. [Edit: Some work great on SMS / text but NOT ringer ... wtf ???]
I found one or two that will flash AFTER the ringer stops, but not consistently and nothing works like it should. Also nothing will actually flash while the phone is ringing. I tried FLASHLIGHT NOTIFIER but you have to pay for PRO to use the ringer option, which I am afraid to do since nothing else worked.... (Flashlight Alerts is purchase also and again, I'm afraid to try since nothing free came even close to working correctly)...
I am using ViperOne 3.2.1 on HTC One M8 -- I have also tried the VenomTweaks settings of notification flash and added people and phone but that doesn't work either.
A few apps that I tried have Accessibility on/off service, which I have enabled and still no luck.
Any suggestions ?
Thanks !
Click to expand...
Click to collapse
Did you check out all the options xposed framework has to offer?
BaLLZaCH said:
Hey everyone,
I want to flash the camera LED (Not the notification LED) on incoming call , message , and SMS / MMS .
I have tried just about all the free apps on the market attempting to do so, with no / little luck. Some just don't work at all, and a few will flash on TEST mode but not actually work when ringing. [Edit: Some work great on SMS / text but NOT ringer ... wtf ???]
I found one or two that will flash AFTER the ringer stops, but not consistently and nothing works like it should. Also nothing will actually flash while the phone is ringing. I tried FLASHLIGHT NOTIFIER but you have to pay for PRO to use the ringer option, which I am afraid to do since nothing else worked.... (Flashlight Alerts is purchase also and again, I'm afraid to try since nothing free came even close to working correctly)...
I am using ViperOne 3.2.1 on HTC One M8 -- I have also tried the VenomTweaks settings of notification flash and added people and phone but that doesn't work either.
A few apps that I tried have Accessibility on/off service, which I have enabled and still no luck.
Any suggestions ?
Thanks !
Click to expand...
Click to collapse
You want it to flash as often as the notification led or just once when the initial notification comes in?
Sent from my HTC6525LVW using Tapatalk 2
dottat said:
Did you check out all the options xposed framework has to offer?
Click to expand...
Click to collapse
I didn't see anything in the XPosed world, any suggestions to search for ?
runandhide05 said:
You want it to flash as often as the notification led or just once when the initial notification comes in?
Sent from my HTC6525LVW using Tapatalk 2
Click to expand...
Click to collapse
Well, just flashing on the original incoming call would be great.
In a perfect world mirroring the notification LED, at incoming call, on voicemail, sms and text all would be nice but all I really want is to flash while the phone is ringing....
BaLLZaCH said:
I didn't see anything in the XPosed world, any suggestions to search for ?
Well, just flashing on the original incoming call would be great.
In a perfect world mirroring the notification LED, at incoming call, on voicemail, sms and text all would be nice but all I really want is to flash while the phone is ringing....
Click to expand...
Click to collapse
I plan on working on some stuff this weekend, I'll add it to my list of things to look into, I know the leds can be controlled via a init like we did on the xoom's charging light.
Sent from my HTC6525LVW using Tapatalk 2
runandhide05 said:
I plan on working on some stuff this weekend, I'll add it to my list of things to look into, I know the leds can be controlled via a init like we did on the xoom's charging light.
Sent from my HTC6525LVW using Tapatalk 2
Click to expand...
Click to collapse
Awesome, that would be cool...
I know zero about Android code, but in my head it's just something like:
----------------------------------------------------------------------------------
On Rintone_Activate call Flashing_Timer
On Ringtine_DeActivate (Halt Flashng_Timer | Camera_Flash_OFF )
Module Flashing_Timer (
:Loop
Camera_Flash ON | Wait 1,1
Camera_Flash OFF | Goto Loop
)
----------------------------------------------------------------------------------
BaLLZaCH said:
Awesome, that would be cool...
I know zero about Android code, but in my head it's just something like:
----------------------------------------------------------------------------------
On Rintone_Activate call Flashing_Timer
On Ringtine_DeActivate (Halt Flashng_Timer | Camera_Flash_OFF )
Module Flashing_Timer (
:Loop
Camera_Flash ON | Wait 1,1
Camera_Flash OFF | Goto Loop
)
----------------------------------------------------------------------------------
Click to expand...
Click to collapse
So... Quite a funny outcome here...
So unless you write an app including permission to access torch, if torch is turned on in anyway (outside of an app with permission) the screen turns off...
So what I did was wrote a nice little script to monitor when /sys/class/leds/green/blink so when it's set to 1 /sys/class/leds/flash_0/brightness is echo > 200 for 500ms (half a second) then echo 0 > /sys/class/leds/flash_0/brightness . However because of what I have found when that does happen the screen goes black for a second while torch is flashing.
Il keep working on it to see if I can get something a little more usable.
Still having an issue monitoring /green led
Sent from my HTC6525LVW using Tapatalk 2
---------- Post added at 08:37 PM ---------- Previous post was at 08:19 PM ----------
ok so this is what ive come up with for the time being, since i see no foreseeable way around the screen flash issue, and there for dont see a point in dedicating more time to this.
download tasker.
create a new profile.
select event
select file
select file modified
type
Code:
/sys/class/leds/green/blink
then back out and create a task.
label it what ever you'd like
press the + and select code
select Run Shell
in the command field type
Code:
echo 200 > /sys/class/leds/flash_0/brightness
the check the box next to Use Root
back out and click the play icon bottom left, this will prompt you to allow su access.
all done, now in the phone settings under sounds and notification select what app light notifications you want to use, and whenever the green light changes from on or off status the torch will flash once.
runandhide05 said:
So... Quite a funny outcome here...
So unless you write an app including permission to access torch, if torch is turned on in anyway (outside of an app with permission) the screen turns off...
So what I did was wrote a nice little script to monitor when /sys/class/leds/green/blink so when it's set to 1 /sys/class/leds/flash_0/brightness is echo > 200 for 500ms (half a second) then echo 0 > /sys/class/leds/flash_0/brightness . However because of what I have found when that does happen the screen goes black for a second while torch is flashing.
Il keep working on it to see if I can get something a little more usable.
Still having an issue monitoring /green led
Sent from my HTC6525LVW using Tapatalk 2
---------- Post added at 08:37 PM ---------- Previous post was at 08:19 PM ----------
ok so this is what ive come up with for the time being, since i see no foreseeable way around the screen flash issue, and there for dont see a point in dedicating more time to this.
download tasker.
create a new profile.
select event
select file
select file modified
type
Code:
/sys/class/leds/green/blink
then back out and create a task.
label it what ever you'd like
press the + and select code
select Run Shell
in the command field type
Code:
echo 200 > /sys/class/leds/flash_0/brightness
the check the box next to Use Root
back out and click the play icon bottom left, this will prompt you to allow su access.
all done, now in the phone settings under sounds and notification select what app light notifications you want to use, and whenever the green light changes from on or off status the torch will flash once.
Click to expand...
Click to collapse
Thanks for taking a stab at it, I will try it out in a few days if I ever get a chance...

notification fix

OK guys I hope this hasn't already been covered but here goes anyway. I have found this fix for notifications not arriving when doze is enabled. Iff you go into the particular app e.g what's app then into data usage you must select the following settings see pic below. then all the notifications will arrive straight away regardless of doze state.
sam00561 said:
OK guys I hope this hasn't already been covered but here goes anyway. I have found this fix for notifications not arriving when doze is enabled. Iff you go into the particular app e.g what's app then into data usage you must select the following settings see pic below. then all the notifications will arrive straight away regardless of doze state.
Click to expand...
Click to collapse
Yes that seems to be the problem. I had made a post months ago. It's very hidden feature by Lenovo and I think it's wrong to pre-restrict all background data. User should decide what to do.
I think they lenovo did it to block unnecessary data usage but i agree it is not needed and people are thinking their is something wrong with their phones.
Thanks for the tip
Thanks Sam, I saw this on the JJ review of Nougat. Is this for Nougat as my MM P2 settings don't look like the screenshot.
Sent from my Lenovo P2a42 using Tapatalk
Hi yes it is for Nougat the comment posted on JJs review regarding this fix was posted by me also.
Confusing settings these as the first one makes it look like enabling the "Restrict background data" option will disable background data, when in fact it does the opposite. You need to have both of these options enabled so the sliders are green, then you need to open Settings > Power Manager > Battery Optimization
Then you need to search for the apps that you need to fix notifications and change the option so it says "Don't optimize". Then the phone won't 'helpfully' close the app when the phone has been unused for a long time. This is why notifications are stopping.
precisely i agree quite confusing it took me a while i had to get a friend to send me whats app messages continuously untill i figured all this out but im glad i finally did.
If you make the changes to fix the notifications, shut down and power the phone back on rather than do a reboot. The settings don't seem to work until the phone has properly rebooted.
Is it worth noting that elsewhere it's stated that turning off doze altogether (using ADB) might be a saner option? Consensus seems to indicate it's basically a curse with little value, and that would certainly hold water in light of the battery capacity of the P2.
https://forum.xda-developers.com/lenovo-p2/help/regretting-purchase-t3611968
I think the following helps. Credit goes to JasonMR and manototh (Taken from oneplus.net forum)
JasonMR
KitKat
JasonMR, Nov 2, 2016 :
Guys, to avoid having to run the ADB command after each reboot follow these instructions (please note, the files should be downloaded to a PC and then transferred to your phone via USB otherwise they mess up sometimes):
You need to enable USB debugging mode in Developer options first
Download and install this apk and transfer it to your phones storage - https://drive.google.com/file/d/0BxD...w?usp=drivesdk
Then connect phone to PC and allow the drivers to install
Download and install ADB here - https://drive.google.com/file/d/0B0M...ljU2NPR0k/view
Go into the ADB folder, hold shift, right click and select "Open command prompt here"
Type the command: adb devices (now hit enter)
It should return your phones serial number is connected correctly
Run this command in ADB: adb -d shell pm grant com.adamioan.scriptrunner android.permission.DUMP (now hit enter)
Download this file and transfer it to your phones storage - https://drive.google.com/open?id=0Bx...VA4YmxGTS1OX3c
Open the SH Script runner app and tap the three dots in the top right corner, select "Load" and locate the file from teh previous step
Click the Circle button with the play sign at the top of the screen
You should see the message "Idle mode disabled" which means that Doze has now been disabled.
Whenever you reboot your phone, open the SH Script runner and the command will still be there, just click the play button to run the script again.
And that is it, two clicks to disable Doze after each reboot.
Full credit to manototh for putting this together originally.
Doze does not need disabling iff you follow my advice in the initial post i have tried and tested this and can confirm it works fully.
This is really frustrating. No matter what settings I use I still don't get notifications after a while. I don't want to go modifying my phone, can someone post a step by step if they have it working properly?
Spacedog79 said:
This is really frustrating. No matter what settings I use I still don't get notifications after a while. I don't want to go modifying my phone, can someone post a step by step if they have it working properly?
Click to expand...
Click to collapse
Follow my ordinal post and also go into battery optimisation and disable optimization for things like sms eggs what's app Facebook etc all the things you need notifications for should be disabled from sleep mode under battery optimization.
Like this
sam00561 said:
Like this
Click to expand...
Click to collapse
Yes thats exactly how I've done it. I've also tried every combination of settings under Apps for Unrestricted data usage.
And also the setting here
sam00561 said:
And also the setting here
Click to expand...
Click to collapse
Yep doesn't work either.
Perhaps your only option left is to try the disable doze app which has worked for many people but it's a paid app.
Just to update it does seem to be working properly now. I'm not 100% sure but I think turning the phone all the way off and on again instead of rebooting with the settings correct had the desired effect.

Themes / Apps / Mods Quick tip on adjusting screen saturation on rooted pixel

I always found stock pixel color saturation to be a bit washed out. I prefer the look of more saturated color palette. Even choosing "adaptive" color on display options is still not good enough for me.
If you're rooted and want to increase color saturation do the following:
Open any Android terminal with root capabilities, I personally use Termux.
Type "su" and hit enter to grant root privileges. I don't know if it's a necessary step, but I change the directory to the root of the phone by typing "CD /". Then I copy and paste the below code into the terminal. I personally set my "x.x" to 1.25. hit enter and it will automatically take effect. You can change the values at anytime afterwards to go higher or lower. Values will go back to stock after a reboot using this method, so if you don't like it, just reboot to go back to stock values.
"service call SurfaceFlinger 1022 f X.X" (x.x sets saturation up to 2.0)
I HAVE NOT TESTED THIS, but in the past I have used this code to permanently set the saturation level on boot:
Setprop persist.sys.sf.color_saturation X.X
using this, the saturation level will remain to the chosen value on boot. Again, I have not tested this on the pixel 7 Pro.
That's interesting as I also find the "adaptive" setting too washed out on Pixels.
I wonder if this could be used through a root app with more control over colors and such?
works - thank you!
Ghisy said:
That's interesting as I also find the "adaptive" setting too washed out on Pixels.
I wonder if this could be used through a root app with more control over colors and such?
Click to expand...
Click to collapse
I'm sure it could but that's beyond my capabilities lol l
Gotta wonder what effect this might have on...everything? Battery life...screen life...brightness level adjustments when on auto? YMMV
But what can we use after
"service call SurfaceFlinger 1022 f X.X" to disable if needed ?
Attinderkahlon said:
But what can we use after
"service call SurfaceFlinger 1022 f X.X" to disable if needed ?
Click to expand...
Click to collapse
I believe 1.0 is the stock value. So you can either enter the line again and replace whatever previous value you used with 1.0, or you could just reboot the device and it'll go back to the stock saturation settings.
jaseman said:
Gotta wonder what effect this might have on...everything? Battery life...screen life...brightness level adjustments when on auto? YMMV
Click to expand...
Click to collapse
It could have a negative effect on battery life....but I would guess its minimal. Been using a custom saturation value for 2 days now, no known issues.
I haven't checked yet but going by previous devices, there is probably a way to access other color modes using tasker. "boosted" has been taken away from the menu, my guess is its still there and can be accessed with tasker. I'll check it if i keep the phone.
Thank you for this, legit the only thing driving me crazy was the dull colors now it looks more like I wanted. You da man.
Glad I could help!
Dope. Going to give this a shot whenever I decide to root.
Now, has this always been a thing? If so, I wish I knew about it so I didn't have to use apps the entire time to tweak it to my liking.
Curiousn00b said:
Dope. Going to give this a shot whenever I decide to root.
Now, has this always been a thing? If so, I wish I knew about it so I didn't have to use apps the entire time to tweak it to my liking.
Click to expand...
Click to collapse
I've been using this mod since the OnePlus 6T....so it's been a thing for a while at least for me.
Has anyone tried this? Getting a Parcel Null error when I enter the code. Rooted. That "CD /" comes back as inaccessible too. It's probably me, but not able to get this to work as of now.
Unable to set up after boot, i get the setprop inaccessible
System is read-only for now. There's no rw mount mod so can't really edit build prop to set it on boot. We'll just have to wait for twrp or any system rw mount mod
xgerryx said:
Has anyone tried this? Getting a Parcel Null error when I enter the code. Rooted. That "CD /" comes back as inaccessible too. It's probably me, but not able to get this to work as of now.
Click to expand...
Click to collapse
I get parcell null response as well but it still works.
Also, I just tested changing directory in not necessary so you can skip the "CD /" part.
Trust me on this, run the script with a value of 0.5 and hit enter. Go to your home screen, open apps and scroll through your phone. Then open your emulator again, run the script with a value of 3.0 and hit enter. Then look about your phone it will look completely different. From there, just keep messing around with different values until you get one you like.
Pain-N-Panic said:
I get parcell null response as well but it still works.
Also, I just tested changing directory in not necessary so you can skip the "CD /" part.
Trust me on this, run the script with a value of 0.5 and hit enter. Go to your home screen, open apps and scroll through your phone. Then open your emulator again, run the script with a value of 3.0 and hit enter. Then look about your phone it will look completely different. From there, just keep messing around with different values until you get one you like.
Click to expand...
Click to collapse
Ok yes I'm seeing it now. Thanks for following up. It does change exactly what we're looking for. I bet you someone can make this into a little app or a magisk module.
xgerryx said:
Ok yes I'm seeing it now. Thanks for following up. It does change exactly what we're looking for. I bet you someone can make this into a little app or a magisk module.
Click to expand...
Click to collapse
Glad ya got it working! Yeah I'm sure it's possible, having to run the script everytime you boot is kind of annoying
I wish we could adjust the white balance. This screen is so yellow looking

Categories

Resources