[Q] Anyone using Tasker on G3? - G3 Q&A, Help & Troubleshooting

I am using Tasker on G3 and lower the ringer volume with Cell Near triggering.
Then when the profile active, I checked the settings in volume, it shows me the volume has been lowered.
But when the phone ring, its volume is max.
Anyone using Tasker having the same issue?
Or anyone has ideas on Tasker volume settings?
Thanks a lot.

xpking said:
I am using Tasker on G3 and lower the ringer volume with Cell Near triggering.
Then when the profile active, I checked the settings in volume, it shows me the volume has been lowered.
But when the phone ring, its volume is max.
Anyone using Tasker having the same issue?
Or anyone has ideas on this?
Thanks a lot.
Click to expand...
Click to collapse
I've played with it. It seems a powerful utility if a person learns the 'language'. Years ago I'd spend the time. Now a days you can find an app on PS or elsewhere that probably already accomplishes most of what you can think of, unless it's a long chained macro type of setup. Kinda like T-Rex for the Amiga computer back in the 80's and 90's.

I'd suggest you try automagic, it's a nice little utility...

Jagdish84 said:
I'd suggest you try automagic, it's a nice little utility...
Click to expand...
Click to collapse
It seems that automagic cannot perform much on volume, it can only switching to slient, vibrate, or ring.
The Tasker works fine, but I am only having issues on Ring volume only...

I use it and it works well, here is my task to turn off all sounds and notifications every night.
<TaskerData sr="" dvi="1" tv="4.5u1m">
<Task sr="task11">
<cdate>1410473930226</cdate>
<edate>1414685138861</edate>
<id>11</id>
<nme>Sounds Off</nme>
<pri>10</pri>
<Action sr="act0" ve="7">
<code>304</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>308</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act2" ve="7">
<code>307</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act3" ve="7">
<code>305</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act4" ve="7">
<code>177</code>
<Int sr="arg0" val="0"/>
</Action>
</Task>
</TaskerData>

I'm using tasker for a while now.
I was using tasker with my previous phone, and I use the same profiles with the same settings on my LG G3 now.
And everything still works great.
So I think that the problem has to do with your settings in tasker, and not with the LG G3.

I have tasker as well and have many profiles set up. For example turning WiFi on and connecting automatically when I'm in a certain area or turn location on when I open Google maps. It's a great tool and tool me a little while to use it correctly but once you do it's great.

It would be very helpful for the folks in the know (how) about Tasker, if they'd share their script, with a brief explanation for the literal minded.
Thank you.

Profile that enables location and GPS upon opening Google maps and when exiting to wait 1 minute to turn location off (incase I get a phone call location does not turn off)<br />
1.Then make a new profile for application and choose any apps for location<br />
2. For the task you will choose plug in....then secure settings <br />
3. In secure settings choose SYSTEM+ACTIONS and look for GPS then select on and press save<br />
4. The next task will go back in to secure settings and turn on location services <br />
5. New task back to secure settings and turn location mode to high accuracy <br />
6. Create an exit task that waits 30 sec- 1 min delay in case you get a phone call while navigating<br />
7. Then the rest of the exit tasks turn off GPS and location services in secure settings<br/>

I also use tasker a lot.
I have a profile that switches volumes off during the night and raises it before the phone rings to wake me up.
No problem until now.
By the way I have also a profile that switches wi-fi/data based on cell near location and it works like a charm.
Only you have to periodically check if your phone operator changed same cell.
If you go in the profile condition you have on the top right an icon with a magnifier that contains all the lastest cells reached by the phone. The ones with an "x" beside aren't considered in the profile conditions.
If you touch them one by one then are added to the set of cells used in your profile to activate the corresponding task.
Hope it helps.

JeffDC said:
It would be very helpful for the folks in the know (how) about Tasker, if they'd share their script, with a brief explanation for the literal minded.
Thank you.
Click to expand...
Click to collapse
This guy seems to have covered most things, worth watching a few.
https://m.youtube.com/playlist?list=PLjV3HijScGMynGvjJrvNNd5Q9pPy255dL
Sent from my LG-D855 using XDA Free mobile app

mjb152 said:
This guy seems to have covered most things, worth watching a few.
https://m.youtube.com/playlist?list=PLjV3HijScGMynGvjJrvNNd5Q9pPy255dL
Sent from my LG-D855 using XDA Free mobile app
Click to expand...
Click to collapse
Excellent, thank you.

Thank you for your replies letting me know there's no issues with Tasker on G3.
As I have just changed my phone with my profiles loaded, I need to rescan the "Cell Near" info.
Seems like old Cell Near API is not working good, I am using "Use New Cell Near API" in perference.
Now seems it is working well.
Thank you!!

Jagdish84 said:
I'd suggest you try automagic, it's a nice little utility...
Click to expand...
Click to collapse
Actually Automagic offers several volume and sound functions. Can set each one individually and for multiple events. Language is a lot simpler than Tasker (especially for us NON-programmers)

Related

Really interesting problem...

So I thought that maybe some of you guys that know more about the inner workings of our phones may be able to help. First, let me preface by saying that I have Ricky's V24 installed along with SmartToolKit, Ringu Iconbar, NRG's MiniWeather. I have other stuff installed, but nothing that I think could be the cause of this "problem".
I've zipped two screen captures for you guys to take a look at. Anyway, in the first shot of the "Clock & Alarm" screen, note that instead of the typical 5 entries, there's now a sixth one that is just a repeat of the 3rd (Alarm 2).
In the second screenshot of the "Home Screen" settings the list of options repeats itself a second time...and it's very odd, but it's independent. For example, I can uncheck one of the options to display recent programs, but the other one doesn't automatically uncheck.
I didn't have this problem until recently... basically, I ran an Autoclean with SKTools and my phone stopped booting. I ended up having to do a hard reset using the two softbuttons, then using a self-executable Sprite backup I fortunately had. Also note, that I tried another hard reset and verified that these problems don't appear until I run the restore.
Anyone know what file(s) got screwed up and how to fix this?
Also, here is what clckalrm.cpl.xml looks like:
- <stinger-controlpanel-doc>
<cpl-title res="30067" />
<cpl-link href="clock.cpl.xml" res="30010" />
<cpl-link href="alarm.cpl.xml" res="30069" />
<cpl-link href="alarm2.cpl.xml" res="30079" />
- <cpl-link clsid="{77B5B15A-C23F-497e-BB98-B22796130069}">
<title lang="0x0409">All Alarms</title>
</cpl-link>
<cpl-link clsid="{CCD5194B-08E6-472E-8F3A-73770108489D}" />
</stinger-controlpanel-doc>
and home.cpl.xml:
- <stinger-controlpanel-doc>
<cpl-title res="30018" />
- <characteristic type="Home">
- <characteristic type="HKCU\ControlPanel\Home">
<parm-query name="Scheme" />
</characteristic>
- <characteristic type="HKCU\Software\Microsoft\Shell\StartMenu">
<parm-query name="RPL" />
</characteristic>
- <characteristic type="HKCU\ControlPanel\Home">
<parm-query name="ColorScheme" refresh="1" />
<parm-query name="BgImage" />
</characteristic>
</characteristic>
- <characteristic type="Registry">
- <characteristic type="HKCU\ControlPanel\Home">
<parm-query name="Timeout" />
</characteristic>
</characteristic>
</stinger-controlpanel-doc>
In the Home Screen setup, the "Timeout" option only appears once...
I have the EXACT same problem with mine. Also my alarm that is set for 7am will sound at random times but never at 7am. I am considering wiping everything and starting over with kavanas rom.
cmcgrail said:
I have the EXACT same problem with mine. Also my alarm that is set for 7am will sound at random times but never at 7am. I am considering wiping everything and starting over with kavanas rom.
Click to expand...
Click to collapse
Regards alarm: Clear your alarm notification with SKTools and stop using Windows default alarm use another program like pTravel alarm, it's an old Windows bug.
OP & Poster i would hard-reset thats not normal the Alarm dialog or the Homescreen mind you if doesn't effect the device then wouldn't worry so much.
I will have a look @ the .xml's in bit to see if any different.
stylez said:
Regards alarm: Clear your alarm notification with SKTools and stop using Windows default alarm use another program like pTravel alarm, it's an old Windows bug.
OP & Poster i would hard-reset thats not normal the Alarm dialog or the Homescreen mind you if doesn't effect the device then wouldn't worry so much.
I will have a look @ the .xml's in bit to see if any different.
Click to expand...
Click to collapse
Thanks Stylez! I actually did a hard reset again and compared the xml files... there's no difference at all in the coding. You're right though...it doesn't affect the device at all, because I don't ever change the homescreen options or play with the alarm much. Just thought it would be nice to figure out what was up. I'm still working on it myself and will be doing incremental restores using Sprite to see if I can narrow down what files are causing the issue.
uansari1 said:
Thanks Stylez! I actually did a hard reset again and compared the xml files... there's no difference at all in the coding. You're right though...it doesn't affect the device at all, because I don't ever change the homescreen options or play with the alarm much. Just thought it would be nice to figure out what was up. I'm still working on it myself and will be doing incremental restores using Sprite to see if I can narrow down what files are causing the issue.
Click to expand...
Click to collapse
That's cool bruv, would be good to know what bit of software does it? When you figured it out be sure to update post as it's interesting as never come across this issue before.
I had a night of hard-reset too, thank god on PPC we have SASHAMI installs everything for you, as my backup was up it too. Still got to tweak everything but saves alot of time.

NookReader - Associate ePub files with the stock reader

I just got a NST and it looks like the app that I made way back for the Nook Color to load epubs with the stock reader app also works with the NST. Basically, this is an app that registers as an ePub receiver and forwards along the ePub activity to the B&N stock app.
It's very simple, attached is the apk and below is the code:
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="dev.nookreader">
<application android:label="@string/app_name">
<activity android:name=".NookReaderActivity"
android:label="@string/app_name" android:configChanges="keyboardHidden|orientation"
android:theme="@android:style/Theme.NoTitleBar"
android:launchMode="singleTask"
android:screenOrientation="sensor">
<meta-data android:name="noPickRestrictions" android:value="true" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:host="" android:scheme="file" />
<data android:pathPattern=".*\\.epub"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:host="" android:scheme="file" />
<data android:mimeType="application/epub+zip"/>
</intent-filter>
</activity>
</application>
<uses-sdk android:minSdkVersion="3" />
</manifest>
Code:
package dev.nookreader;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.ComponentName;
public class NookReaderActivity
extends Activity
{
private Intent m_lastIntent = null;
@Override
protected void onStart()
{
super.onStart();
try
{
Intent i = getIntent();
if (m_lastIntent == i)
{
return;
}
m_lastIntent = i;
Intent newIntent = new Intent(i);
newIntent.setComponent(new ComponentName("com.bn.nook.reader.activities", "com.bn.nook.reader.activities.ReaderActivity"));
startActivity(newIntent);
}
catch(Exception e)
{
e.printStackTrace();
}
finish();
}
}
Code:
package dev.nookreader;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.ComponentName;
public class NookReaderReceiver
extends BroadcastReceiver
{
@Override
public void onReceive(Context context, Intent intent)
{
try
{
Intent newIntent = new Intent(intent);
newIntent.setComponent(new ComponentName("com.bn.nook.reader.activities", "ReaderActivity"));
context.startActivity(newIntent);
}
catch(Exception e)
{
e.printStackTrace();
}
}
}
do you mind if I include your code in my Home replacement?
thread here
class file here
I thought that the stock reader is able to open e pubs?
What does this reader allow you to do?
Sent from my SAMSUNG-SGH-I777 using XDA App
aspellclark said:
do you mind if I include your code in my Home replacement?
Click to expand...
Click to collapse
Go ahead.
switters1 said:
I thought that the stock reader is able to open e pubs?
What does this reader allow you to do?
Click to expand...
Click to collapse
Despite the terrible name, this isn't a reader app. It just registers to receive epub intents and will redirect them in such a way so the stock reader opens the epub. This basically allows you to use a file explorer and click on an epub and have it open with the stock reader. If you try it without my app the stock reader won't open it.
JoshMiers said:
Despite the terrible name, this isn't a reader app.
Click to expand...
Click to collapse
Josh,
Looking for your advice here
I do remember you were working on Almost working: Stock 2.1 Nook Color Reader and Library, figured, you are the right guy to ask!
Thanks for posting this app. It was exactly what I was looking for.
But I noticed a limitation.
The "Last Book" button in the status bar takes me back to the last book which was opened through the Library, and ignores books opened through your app.
Please let me know if anyone has a workaround. Thanks!
once again, terrific work!
JoshMiers said:
I just got a NST and it looks like the app that I made way back for the Nook Color to load epubs with the stock reader app also works with the NST. Basically, this is an app that registers as an ePub receiver and forwards along the ePub activity to the B&N stock app.
...
Click to expand...
Click to collapse
This seems to be the solution to a problem I have on my Nook Tablet running CM7 ROM (off an SD card), which is not being able to use the stock B&N eReader to open epubs that are side-loaded. (However, I have not had this problem with my rooted NST).
Does this app make the B&N stock eReader the sole eReader (i.e., exclusive of other ereaders one might wish to try out) for epubs?
Exactly what I was looking for. Works very well, thanks a lot!
The stock reader already has entries in its AndroidManifest.xml for the mimetype epub.
Android does not really natively have a translator from file extension to mimetype.
Some file managers (like the Open Intents one) use their own internally.
That's why I have never seen this problem, for me, I click on an epub and it opens.
Yes, that application with a file filter can catch intents and relay them on to the stock reader.
Still, if I found that at all necessary, I'd rather just edit the stock reader's manifest for those intents.
Is there also a way to put a link to the default reader app onto the homescreen?
It does not show up in the application list when trying to create a shortcut.
rhhd said:
Is there also a way to put a link to the default reader app onto the homescreen?
It does not show up in the application list when trying to create a shortcut.
Click to expand...
Click to collapse
That's because the Reader has no android.intent.category.LAUNCHER in an intent filter.
Have you noticed that the Reader has no "Open File" option?
If you were to launch the Reader with no context, it would not display anything.
If you want last read book, it's already available on the upper left hand corner.
If you want Library, it's there in the app drawer already.
Renate NST said:
Have you noticed that the Reader has no "Open File" option?
If you were to launch the Reader with no context, it would not display anything.
Click to expand...
Click to collapse
Hmm interestingly that happens sometimes when I open an epub from my file manager (using the tool offered by the OP in this thread).
Renate NST said:
If you want last read book, it's already available on the upper left hand corner.
Click to expand...
Click to collapse
Yes, I do want the last book. (Well, really all I want would be a homescreen link that simply switches to the already running app.) But on the homescreen I have hidden the title bar, so I always have to swipe it down to click that.
Well, no big deal obviously.
hi OP
any chances of making similar apk for pdf's to be loaded with the stock NST reader?
This is not working for me. Running Nexus 7 Jellybean. Is there any reason it shouldn't?

[Q] Help: Samsung epic not viewing apps in android market

So I recently made an android app and published it to the market. However, when i search for my app on my Samsung epic 4g it doesnt show up. I know the app is there and it says that i have published it, but it doesnt appear on my epic. Any ideas why this is? In the manifest of the app i set the minSdkVersion to 5 so it shouldnt filter it out right? is there something special i have to add to the manifest for it to see my app? I would appreciate any help. my current manifest looks like this:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=----
package="send.text.fast"
android:versionCode="2"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="5" />
<uses-permission android:name="android.permission.SEND_SMS"> </uses-permission>
<uses-permission android:name="android.permission.READ_CONTACTS"> </uses-permission>
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<supports-screens android:smallScreens="true"
android:normalScreens="true" android:largeScreens="true"
android:anyDensity="true">
</supports-screens>
<activity
android:name=".Main"
android:label="@string/app_name"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
android:label="@string/app_name"
app_name = don't you have to put the name of the app there? i know html is different, but usually when you didn't do something simple like that, i would get that kind of problem with a webpage. what if you tried doing that?

[MOD][HOW TO]Enable Tegra 4 Graphics on Dead Trigger 2

Instructions
1. First force stop Dead Trigger 2 App in Application settings
2. UNZIP and Just push the attached file to /data/data/com.madfingergames.deadtrigger2/shared_prefs/
3. Done! Enjoy! :laugh:
The Manually method(Reccomended)
1. Force Stop Dead Trigger 2 in settings.
2. Just open up the shared_prefs folder and find the com.madfingergames.deadtrigger2.xml.
3. Next change makes this code the same as this. Just change one value.
Change
Code:
< int name=”UnityGraphicsQuality” value=”[COLOR="Red"][B]3[/B][/COLOR]″ / >
Change
Code:
< int name=”OptionsGraphicDetail” value=”[B][COLOR="Red"]3[/COLOR][/B]″ / >.
4. Save and relaunch, now you have Tegra Graphics for your Non-Tegra Device
You may experience frame drops at times but that's to be expected. These graphics are intense. But, S800 handles it very well!
Works on any device, must be rooted
Thank you, works great on my N9005
What isthe meaning of 0440?
I can enable 044 doing read group and others, but 0440 can't with any combination.
kersh said:
What isthe meaning of 0440?
I can enable 044 doing read group and others, but 0440 can't with any combination.
Click to expand...
Click to collapse
The 0 to the far left is Used to set setuid, setgid, or sticky bit, you may not see it in your file browser but 0440 or 440 is okay
As long as the permission looks like the photo your good.
Sent from my SM-N900T using Tapatalk 2
Going to add a link to this in the Sprint thread as well. Thanks again!
nolimit06 said:
Going to add a link to this in the Sprint thread as well. Thanks again!
Click to expand...
Click to collapse
Alright, you and anyone else are more than welcome to.
Sent from my SM-N900T using Tapatalk 2
lm that guy said:
1. First force stop Dead Trigger 2 App in Application settings
2. UNZIP and Just push the attached file to /data/data/com.madfingergames.deadtrigger2/shared_prefs/
3. Then change permission to 440
4. Done! Enjoy! :laugh:
You will experience a tad bit of frame drops at times but that's to be expected since the graphics were optimized for only Tegra 4. BUT, S800 handles it very well!
Works on any device, must be rooted
Click to expand...
Click to collapse
Do you see ultra high in settings? I see only low and high even after mod
Sent from my Nexus 7 using Tapatalk
gautampw said:
Do you see ultra high in settings? I see only low and high even after mod
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
That's just how it is but max graphics are enabled. Just make sure you don't touch those or you will have to reapply the mod.
Sent from my SM-N900T using Tapatalk 2
DEAD TRIGGER 2 Ultra High Graphics
Google "DEAD TRIGGER 2 [Ultra High Graphics] v0.02.1 APK" for Ultra High Graphics on any device
No root required!
I love
that a 3kb file was compressed into a 1kb zip!
I know this is a noob question but how do you change the permissions please?
Smash41 said:
I know this is a noob question but how do you change the permissions please?
Click to expand...
Click to collapse
Download Root explorer. inside root explorer tap on the file you want to change the permissions you will see list of options>>>> select permissions. then you will know what to do from there.
---------- Post added at 03:12 PM ---------- Previous post was at 03:01 PM ----------
please how would my Motorola droid Razr XT912 handle this game on ultra high settings. I play dead trigger1 on ultra with mod. its plays at 30fps-40fps it can dip low to 19fps in a twinkle of an eye. and rerurns back to 30fps. overall gameplay is smooth but i want to know how dead trigger2 will perform. on my razr
infinitycane said:
Download Root explorer. inside root explorer tap on the file you want to change the permissions you will see list of options>>>> select permissions. then you will know what to do from there.
---------- Post added at 03:12 PM ---------- Previous post was at 03:01 PM ----------
please how would my Motorola droid Razr XT912 handle this game on ultra high settings. I play dead trigger1 on ultra with mod. its plays at 30fps-40fps it can dip low to 19fps in a twinkle of an eye. and rerurns back to 30fps. overall gameplay is smooth but i want to know how dead trigger2 will perform. on my razr
Click to expand...
Click to collapse
You might be in for a lag fest If your rooted you can try and revert back easily by changing the in app graphic settings.
Sent from my SM-N900T using Tapatalk 2
Cool nice thread lets see how my tegra 3 handles it
Thanks
Sent from my HTC One X using Tapatalk 2
works well on my nexus 4, thanks !
That made difference
Thanks
peteyboy24 said:
works well on my nexus 4, thanks !
Click to expand...
Click to collapse
where did you find the permission in the text?
[ <?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<int name="OptionsMute" value="1" />
<float name="OptionsReloadButtonY" value="0.0" />
<float name="OptionsMusicVolume" value="1.0" />
<float name="OptionsSensitivity" value="0.7" />
<float name="OptionsGadgetButtonX4" value="0.0" />
<int name="OptionsInvertYAxis" value="0" />
<float name="OptionsWeaponButtonX" value="0.0" />
<float name="OptionsWeaponButtonY" value="0.0" />
<float name="OptionsReloadButtonX" value="0.0" />
<int name="UnityGraphicsQuality" value="3" />
<float name="OptionsGadgetButtonX3" value="0.0" />
<float name="OptionsAimButtonX" value="0.0" />
<float name="OptionsGadgetButtonX2" value="0.0" />
<float name="OptionsGadgetButtonX1" value="0.0" />
<float name="OptionsGadgetButtonX0" value="0.0" />
<int name="OptionsLeftHandControlsNeedUpdate" value="0" />
<float name="OptionsMoveStickY" value="0.0" />
<float name="OptionsMeleeButtonY" value="0.0" />
<float name="OptionsMeleeButtonX" value="0.0" />
<string name="PUNCloudBestRegion">US</string>
<int name="OptionsLeftHandAiming" value="0" />
<int name="ShowBlood" value="1" />
<int name="FirstRun" value="2" />
<float name="OptionsMoveStickX" value="0.0" />
<float name="OptionsSoundVolume" value="1.0" />
<int name="OptionsControlScheme" value="0" />
<float name="OptionsAimButtonY" value="0.0" />
<int name="OptionsLanguage" value="1" />
<int name="OptionsSubtitles" value="1" />
<int name="Screenmanager Is Fullscreen mode" value="0" />
<float name="OptionsPauseButtonX" value="0.0" />
<int name="Screenmanager Resolution Width" value="1920" />
<float name="OptionsPauseButtonY" value="0.0" />
<int name="OptionsGraphicDetail" value="2" />
<int name="OptionsControlStyle" value="1" />
<float name="OptionsFireButtonX" value="0.0" />
<float name="OptionsFireButtonY" value="0.0" />
<int name="Screenmanager Resolution Height" value="1080" />
<float name="OptionsGadgetButtonY0" value="0.0" />
<int name="Intro" value="1" />
<float name="OptionsGadgetButtonY2" value="0.0" />
<float name="OptionsGadgetButtonY1" value="0.0" />
<float name="OptionsGadgetButtonY4" value="0.0" />
<float name="OptionsGadgetButtonY3" value="0.0" />
</map>]
that was all what i get! so tell me please where is it? or where i should put the value in?
Sent from my Nexus 4 using xda app-developers app
nexuses said:
where did you find the permission in the text?
that was all what i get! so tell me please where is it? or where i should put the value in?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
change this line:
Code:
<int name="OptionsGraphicDetail" value="2" />
to this:
Code:
<int name="OptionsGraphicDetail" value="[B][COLOR="Red"]3[/COLOR][/B]" />
nexuses said:
where did you find the permission in the text?
[ <?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<int name="OptionsMute" value="1" />
<float name="OptionsReloadButtonY" value="0.0" />
<float name="OptionsMusicVolume" value="1.0" />
<float name="OptionsSensitivity" value="0.7" />
<float name="OptionsGadgetButtonX4" value="0.0" />
<int name="OptionsInvertYAxis" value="0" />
<float name="OptionsWeaponButtonX" value="0.0" />
<float name="OptionsWeaponButtonY" value="0.0" />
<float name="OptionsReloadButtonX" value="0.0" />
<int name="UnityGraphicsQuality" value="3" />
<float name="OptionsGadgetButtonX3" value="0.0" />
<float name="OptionsAimButtonX" value="0.0" />
<float name="OptionsGadgetButtonX2" value="0.0" />
<float name="OptionsGadgetButtonX1" value="0.0" />
<float name="OptionsGadgetButtonX0" value="0.0" />
<int name="OptionsLeftHandControlsNeedUpdate" value="0" />
<float name="OptionsMoveStickY" value="0.0" />
<float name="OptionsMeleeButtonY" value="0.0" />
<float name="OptionsMeleeButtonX" value="0.0" />
<string name="PUNCloudBestRegion">US</string>
<int name="OptionsLeftHandAiming" value="0" />
<int name="ShowBlood" value="1" />
<int name="FirstRun" value="2" />
<float name="OptionsMoveStickX" value="0.0" />
<float name="OptionsSoundVolume" value="1.0" />
<int name="OptionsControlScheme" value="0" />
<float name="OptionsAimButtonY" value="0.0" />
<int name="OptionsLanguage" value="1" />
<int name="OptionsSubtitles" value="1" />
<int name="Screenmanager Is Fullscreen mode" value="0" />
<float name="OptionsPauseButtonX" value="0.0" />
<int name="Screenmanager Resolution Width" value="1920" />
<float name="OptionsPauseButtonY" value="0.0" />
<int name="OptionsGraphicDetail" value="2" />
<int name="OptionsControlStyle" value="1" />
<float name="OptionsFireButtonX" value="0.0" />
<float name="OptionsFireButtonY" value="0.0" />
<int name="Screenmanager Resolution Height" value="1080" />
<float name="OptionsGadgetButtonY0" value="0.0" />
<int name="Intro" value="1" />
<float name="OptionsGadgetButtonY2" value="0.0" />
<float name="OptionsGadgetButtonY1" value="0.0" />
<float name="OptionsGadgetButtonY4" value="0.0" />
<float name="OptionsGadgetButtonY3" value="0.0" />
</map>]
that was all what i get! so tell me please where is it? or where i should put the value in?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
that's okay.. but this is the permissions which I saw.. and I don't know how to set them to that value!
Sent from my Nexus 4 using xda app-developers app
lm that guy said:
change this line:
Code:
<int name="OptionsGraphicDetail" value="2" />
to this:
Code:
<int name="OptionsGraphicDetail" value="[B][COLOR="Red"]3[/COLOR][/B]" />
Click to expand...
Click to collapse
I just tried it, there has been a observed improvement in the quality of graphics.. thanks
Sent from my Nexus 4 using xda app-developers app

[GUIDE] Shake to Clear RAM

Shake your Phone to clear RAM​
Information/Video:
Video: http://www.youtube.com/watch?v=W2i_LPQeV44 (please ignore my background HAHA)
Description: It will close almost all background/running apps, except music, fm radio, voice recorder. (Still finding solution on how ). There are two options on customizableparts.apk, normal clear ram and advance clear ram. normal will just close background/running apps but not the app on your screen. Example, you're on your settings and you shake your phone, it will not kill settings, only background/running apps. Advance clear ram will clear also the app you are using, it WAS LIKE pressing the home button and shake. It will still work even your phone is screen Off/lockscreen.
BUGS: Observe for 1 day, no bug encountered. Disadvantage only, of course you are shaking it, it may bump on walls, or maybe if it was disassembled, it will shake the hardwares inside that was not properly intact/stable. You just need a mild shake like what the video did.
How it works: If you read the steps, you will put it on your SystemUI. Why? because SystemUI is always active, therefore, the action will be always active like the Proximity to lockscreen on my previous guide.
Combo xD: While playing game/open apps, press home button then shake. And if you have proximity to lock, home+shake+proximity+jump.
WARNING! : Doing this guide makes your battery to drain faster than before. (Because Sensor is always active).
Steps:
1.) Decompile SystemUI.apk
2.) Download HarlemShake.zip and extract on smali folder.
3.) Go to SystemUI/res/layout/status_bar.xml and add this code BELOW line WITH @id/icons or anywhere you want (as long as you know what you're doing) (dont worry if 0.0dip, we just need to activate it)
Code:
<com.tenten.HarlemShake android:layout_width="0.0dip" android:layout_height="0.0dip" />
4.) Recompile SystemUI.apk.
5.) Install CustomizableParts.apk (Optional, for you to have advance clear ram, or normal clear ram).
6.) Flash your recompiled SystemUI.apk. Shake , then if it works, do some harlemshake. (dont forget to jump high xD) :highfive:
NOTE (Optional): Tested on Galaxy Young and Pocket. If you are using other phone, put this permission on your manifest: (credits to the_vanya1 for testing :highfive:
Code:
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
Java source: https://github.com/tentenponce/Proximity_and_Shake/tree/Gingerbread
Please tell me if I forgot something.
Credits
@PineappleOwl
@mariozawa
Cyanmobile
StackOverflow.com
Lenox Devs
Potato Inc​
EDIT: Actions were canceled.
STILL feel free to suggest what kind of action on shake except clearing ram. Make sure it will be good/useful (And also make sure i can do it, because im not a magician and will just magic it for you xD)
cool
thanks dude. awesome.
haha,cool.why you not make an all in one thread only for your awesome mods bro?
tentenponce said:
Shake your Phone to clear RAM​
Information/Video:
Video: http://www.youtube.com/watch?v=W2i_LPQeV44 (please ignore my background HAHA)
Description: It will close almost all background/running apps, except music, fm radio, voice recorder. (Still finding solution on how ). There are two options on customizableparts.apk, normal clear ram and advance clear ram. normal will just close background/running apps but not the app on your screen. Example, you're on your settings and you shake your phone, it will not kill settings, only background/running apps. Advance clear ram will clear also the app you are using, it WAS LIKE pressing the home button and shake. It will still work even your phone is screen Off/lockscreen.
BUGS: Observe for 1 day, no bug encountered. Disadvantage only, of course you are shaking it, it may bump on walls, or maybe if it was disassembled, it will shake the hardwares inside that was not properly intact/stable. You just need a mild shake like what the video did.
How it works: If you read the steps, you will put it on your SystemUI. Why? because SystemUI is always active, therefore, the action will be always active like the Proximity to lockscreen on my previous guide.
Combo xD: While playing game/open apps, press home button then shake. And if you have proximity to lock, home+shake+proximity+jump.
Steps:
1.) Decompile SystemUI.apk
2.) Download HarlemShake.zip and extract on smali folder.
3.) Go to SystemUI/res/layout/status_bar.xml and add this code BELOW line WITH @id/icons or anywhere you want (as long as you know what you're doing) (dont worry if 0.0dip, we just need to activate it)
Code:
<com.tenten.HarlemShake android:layout_width="0.0dip" android:layout_height="0.0dip" />
4.) Recompile SystemUI.apk.
5.) Install CustomizableParts.apk (Optional, for you to have advance clear ram, or normal clear ram).
6.) Flash your recompiled SystemUI.apk. Shake , then if it works, do some harlemshake. (dont forget to jump high xD) :highfive:
Please tell me if I forgot something.
Credits
@PineappleOwl
@mariozawa
Cyanmobile
StackOverflow.com
Lenox Devs
Potato Inc​
Click to expand...
Click to collapse
plz can you make this for me , i will put systemUI;apk in the attachement , plz make this for me
Yahia700 said:
plz can you make this for me , i will put systemUI;apk in the attachement , plz make this for me
Click to expand...
Click to collapse
i cant sir, you must learn xml first by yourself so you can make mods like this . sorry sir.
-CALIBAN666- said:
haha,cool.why you not make an all in one thread only for your awesome mods bro?
Click to expand...
Click to collapse
Uhm sir i think because this was a shake, and it's not nothing to do with proximity sensor, im reserving a slot for other actions for shake, and the other thread for proximity. Is this ok sir ? if not, ill transfer this on my other guide Sorry again sir.
Dont work for me, LG P713, 4.1.2, when i shake, SystemUI FC
the_vanya1 said:
Dont work for me, LG P713, 4.1.2, when i shake, SystemUI FC
Click to expand...
Click to collapse
havent tried on other device, but sir can you post logcat? try to add this permissions on your SystemUI,
Code:
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
if it work, please tell me so i can update the thread.
tentenponce said:
havent tried on other device, but sir can you post logcat? try to add this permissions on your SystemUI,
Code:
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
if it work, please tell me so i can update the thread.
Click to expand...
Click to collapse
i have this lines
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.GET_DETAILED_TASKS" />
<uses-permission android:name="android.permission.REORDER_TASKS" />
<uses-permission android:name="android.permission.REMOVE_TASKS" />
My logcat - http://yadi.sk/d/-_Mi3WsjRzbgN
the_vanya1 said:
i have this lines
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.GET_DETAILED_TASKS" />
<uses-permission android:name="android.permission.REORDER_TASKS" />
<uses-permission android:name="android.permission.REMOVE_TASKS" />
My logcat - http://yadi.sk/d/-_Mi3WsjRzbgN
Click to expand...
Click to collapse
There's no error on your logcat that has connect on shake sir? put on filter: androidruntime
I add this line to manifest
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
and no more FC, thx
Time to party
Thanks again sir Tentenponce for another quite queer but awesome mod.Cheers.:victory:
let's do the harlem shake..
hope u can make proximity unlock..to lockscreen sir tenten
dansoy92 said:
let's do the harlem shake..
hope u can make proximity unlock..to lockscreen sir tenten
Click to expand...
Click to collapse
still finding solution and how to unlock our phone properly.
that's good news sir good luck
Thanks sir Tentenponce for this awesome mod youve made.
Tried it alrdy on my sgy and its working well :good:
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[53,4] Error for input '.parameter': Invalid directive
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[54,4] Error for input '.parameter': Invalid directive
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[53,15] mismatched input '"context"' expecting END_METHOD_DIRECTIVE
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[166,15] no viable alternative at input 'reader'
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[166,22] no viable alternative at input 'Ljava/io/RandomAccessFile;'
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[172,15] no viable alternative at input 'load'
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[172,20] no viable alternative at input 'Ljava/lang/String;'
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[180,15] no viable alternative at input 'memInfo'
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[180,23] no viable alternative at input '[Ljava/lang/String;'
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[208,15] no viable alternative at input 'mi'
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[208,18] no viable alternative at input 'Landroid/app/ActivityManager$MemoryInfo;'
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[234,15] no viable alternative at input 'usedmemory'
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[240,15] no viable alternative at input 'totmem'
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[296,15] no viable alternative at input 'ex'
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[296,18] no viable alternative at input 'Ljava/lang/Exception;'
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[304,4] Error for input '.parameter': Invalid directive
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[304,15] mismatched input '"x0"' expecting END_METHOD_DIRECTIVE
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[317,4] Error for input '.parameter': Invalid directive
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[318,4] Error for input '.parameter': Invalid directive
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[317,15] mismatched input '"sensor"' expecting END_METHOD_DIRECTIVE
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[367,4] Error for input '.parameter': Invalid directive
../../../mnt/sdcard/360/SystemUI_src_src/smali/com/tenten/HarlemShake.smali[367,15] mismatched input '"event"' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/tenten/HarlemShake.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:337)
at brut.androlib.Androlib.buildSources(Androlib.java:298)
at brut.androlib.Androlib.build(Androlib.java:284)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:233)
at brut.apktool.Main.main(Main.java:88)
I: Using Apktool 2.0.0-Beta7 on SystemUI_src_src
I: Smaling...
Recompile UI it's error.sir..how to do?
Sent from my IM-A690S using Tapatalk 2
yeah.now it's ok.Thanks sir
Sent from my IM-A690S using Tapatalk 2
is this gonna work if i do the steps in systemUI.apk of hyperion 9 ?
and what to do if i want this both work(Proximity sensor to lockscreen and this one) ? thanks in advanced :good:

Categories

Resources