yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] kwerdenker:
3. Setup Mode Tasks

This is the part where all the work above comes to fruition. Now we will define the modes that will be switchable via the widget. I use a setup with three modes and this tutorial will reflect that. You can however have as many different modes as you want. Just adapt what you learn here.

All our modes will follow the same pattern: first we set the variables to the values we want and then we use the settings tasks to put these values at the appropriate places.

The first mode is intended for my battery saving settings. Go again to the Tasks tab and tap the ‘+’ icon. As usual the name can be choosen freely but I’ll name mine “Batterymode”. In this mode, I want the minimum CPU frequency to be at 162 MHz, the maximum at 810 MHz, GPU at 200 MHz and Eco mode.

In the Task edit screen tap again on the ‘+’ and choose Variables->Variable Set.

Selecting Variable Set Action​

Fill in the name of the variable (or tap the labels icon and select it there). Now for the value you enter into the To field. This will depend on which setting you are trying to change here. As an example, let’s have a look at the CPU minimum frequency. The CPU frequency stubs expect their value in KHz. This means we have to multiply our values by 1000 to get the correct value. So our minimum frequency of 162 MHz becomes 162000 KHz and that’s what we need to set our variable to (just the number obviously). For the values of other settings, please check the reference. The action now looks like this:

Set Cpufreqlow Action​

After the variable is set, we now need to call our setting task. This is done with the Perform Task action found under the Task action category.

Selecting Perform Task Action​

To select the task to perform with this action, in the action edit screen tap on the magnifier icon on the upper right side. You will be presented with a list of exisiting tasks. Just pick the right one and you are done with this action, as you can leave the rest of the options as they are.

These two steps (1. Add Variable Set action 2. Add Perform Task action) have to be repeated for every setting you want to change. You should end up with something similiar to the following screenshot:

Battery Mode Task​

If you have finished your first mode, the subsequent modes will be much easier to set up. Just long press on the task in the Tasks tab until the action bar comes up, select Clone, give it a new name and hit the checkmark. Now you only have to enter the new task by tapping on it and then you can change the values of the Variable Set actions by also tapping on them. This way you can set up new modes very fast and efficient.

If you have your different modes setup as you like, it’s time to put them to good use. Let’s make a profile switcher widget!
[Nexus 4 General] kwerdenker:
4. Setup Widget

To setup a toggable widget, first create a new task and name it “Toggle”. Remember the variable we defined in the first step I named STATE? Now is the time we are going to use it. In the following Task Edit screen add an If action found under the Task category. This will enable us to check a variable for a certain state and execute actions based on that check. In the Action Edit screen of the If we just added, tap the labels icon and select the STATE variable (or whatever you named yours). Next click on the ‘~’ in the middle and select “ Math: Equals” and then enter a zero on the right side. Now add a Perform Task action and select the profile you want to have at the first position. For me, that is my battery oriented one. Then add a Variable Set action and use it to set STATE to 1.

Now that we set our profile, we also want the widget to reflect what state we currently are in. You can do this by changing the text of the widget, the icon or both. To change the text when execute a profile, add a Set Widget Label action found under the Tasker action category. As a name, enter “Toggle” and as a label anything you want the widget to show in the state you are currently in. I choose “Battery”. For the icon, add a Set Widget Icon action also under the Tasker group. Enter the name again and then select an icon you want to represent your state.

Now the first state of the widget is setup. For the next one, first add an Else action. Select the If option and once again select the STATE variabel and the “Math: Equals” option. This time however check for STATE = 1 instead of a zero as we did for the previous state. Now repeat the same process with the Perform Task and Variable Set actions (again increasing the number by one, so STATE is set to 2). And if you decided to change the label or icon of the widget, repeat the steps here again with the new text and/or icon.

Repeat the Else action step until you have all the profiles you want to toggle. For the very last step you need to set STATE to zero again instead of increasing it, so the widget loops around and starts again at the first profile.

After the last Else action, add an End If to finalize the task. Now it is ready to use as an widget.

Finished Toggle Task​

To do that, add a Tasker widget to your home screen. The actions to do that differ between launchers, so you'll have to find out how to do it in the one you are using. When adding the widget, you'll have the choice between Task and Task Timer. Select the first one and then pick the "Toggle" task from the list. Now just press the Back button to return to your home screen.

Congratulations, you now have your very own profile toggle! :good:

If you have any questions left or are stuck in a step, don't hesitate to post you comments/questions!
[Nexus 4 General] kwerdenker:
5. Reference

Property stubs for faux’s Nexus 4 kernel:

GPU frequency

Path: /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk

Value: Frequency in Herz

Example: Setting GPU frequency to 200 MHz

echo 200000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk

CPU maximum frequency

Path: /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

Value: Frequency in Kiloherz

Example: Setting maximum CPU frequency to 1512 MHz

echo 1512000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

CPU minimum frequency

Path: /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

Value: Frequency in Kiloherz

Example: Setting minimum CPU frequency to 162 MHz

echo 162000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

Set Eco Mode

(only available if mpdecision is off)

Path: /sys/module/intelli_plug/parameters/eco_mode_active

Value: 1 for on, 0 for off

Example: Setting eco mode to on

echo 1 > /sys/module/intelli_plug/parameters/eco_mode_active

Set CPU frequency limit

(only available if snakecharmer is on)

Path: /sys/kernel/msm_cpufreq_limit/cpufreq_limit

Value: Frequency in Kiloherz

Example: Setting CPU frequency limit to 810 MHz

echo 810000 > /sys/kernel/msm_cpufreq_limit/cpufreq_limit
[Galaxy S 4 Q&A, Help & Troubleshooting] aami.aami:
which one do u have? can u post pics here? front and back side, macro and from some distance?

thanks
[Galaxy S 4 Q&A, Help & Troubleshooting] MaKTaiL:
http://lmgtfy.com/?q=galaxy+s4+black+mist+white+frost
[Galaxy S 4 Q&A, Help & Troubleshooting] aami.aami:
wow... that was cool but useless... i asked the community not google
[Galaxy S 4 Q&A, Help & Troubleshooting] MaKTaiL:
You made a pool. People answered it.

Now you want pictures, there are tons on Google.
[Galaxy S 4 Q&A, Help & Troubleshooting] plasmastate:
Go with the black mist. The white one just looks like a galaxy grand or note 2 because the dotted pattern isn't very pronounced. Have fun.

---------- Post added at 07:59 AM ---------- Previous post was at 07:58 AM ----------
[Verizon Samsung Galaxy S 4] Thank Me Later:
I know it's still there in this phone. What I want to know is when you open up the menu that shows you all the toggles, does it have a Wi-Fi toggle you can throw in the quick toggles bar?
[Verizon Samsung Galaxy S 4] jpen:
Are you talking about in the notification bar? If so nope. The lovely Verizon peeps decided to give us the constant notification and remove the Wi-Fi toggle. How nice of them!
[Verizon Samsung Galaxy S 4] Thank Me Later:
Yes I was talking about the toggles in the notification bar. I got the S3 now. It's very annoying. Was thinking of upgrading to an S4 but I might leave Verizon to save some money. Constant Wi-Fi notification instead of a quick toggle, locked boot loaders, I'm considering it!
[Verizon Samsung Galaxy S 4] jpen:
There is a MOD to get rid of the constant notification, and I am sure someone is working on a toggle now. I hope, I haven't gotten the phone either yet. Still waiting, but still stalking these forums.
[Verizon Samsung Galaxy S 4] Thank Me Later:
I thought you had it. I was asking about the full toggles menu if they put a Wi-Fi toggle in there so we'd have an alternative vs. the stupid on going notification. Easy fix is to run a custom Rom. But it's still annoying to know Verizon is sticking to this. That's not my only gripe with them. Money is the main factor. T-Mobile has LTE in my state already and no contract seems very tempting! haha. Unlimited + LTE, that's sick! Instead of this cap data stuff.
[MDA II, XDA II, 2060 ROM Development] thinksmart:
Hi all,

Anyone know how to change default font size (zoom) for the Notes app ?

Whenever I "view source" on a web page, or open notes directly, the default setting is 200% which is a pain.

Thanks in advance.

Martin

PS Have searched the registry but haven't found anything.
[MDA II, XDA II, 2060 ROM Development] avers:
Try to set:

Input options/Options/

Default zoom level for typing: 100%

by Avers
[MDA II, XDA II, 2060 ROM Development] thinksmart:
Thanks Avers, worked like a charm.

Cheers,

Martin
[Samsung Galaxy S II Plus] Jonny:
A message from the moderators:

Opening this post should automatically redirect you to another thread on the forum. If you are reading this note, it probably means that you are using a mobile app. Apparently, mobile apps have a problem with redirection and show this post instead. Use the link below to see the welcome message from the forum moderators...

Samsung International Moderation Team
[Xperia Z Q&A, Help & Troubleshooting] zippy01:
Hi, I have been trying to create my own rom for my locked bootloader.

My reasons are I want what I want not what everyone else wants :)

I am as far as creating a working .zip file however I cannot keep root.

I am wondering in order to keep root from 434 onto 253 what files do I need in my .zip?

Am I wrong by thinking supersu su binary and busybox are enough?

Do I also need all the other files from the root exploit in the correct directories?

Thank you
[Xperia Z Q&A, Help & Troubleshooting] gm007:
If it's only for your own purpose,you can download any rom for locked bootloader and use the zip as a base and change whatever you want.
[Xperia Z Q&A, Help & Troubleshooting] zippy01:
I wanted it based on my own firmware and want to learn.

That is why I made my own zip and added my own system and added root files.

The issue is I cannot keep root on 253 when after I flash the system zip

Thank you for your reply
[Xperia Z Q&A, Help & Troubleshooting] zippy01:
Sorted, seems I had to select the option in CWM to fix root :P

Is it normal to have 3 reboots while updating NFC firmware?
[Xperia Z Q&A, Help & Troubleshooting] zippy01:
And does anyone want an untouched but rooted NCB rom :P with nfc icon fixed?
[Off-topic] dnanj:
Please read and help in getting 100,000 signatures for petition to change organ donor policy that prevents children under 12 from being considered for a transplant as adults.

Link to petition:

http://wh.gov/lq9O7

Lung Transplant Out of Reach for 10-Year-Old Sarah Murnaghan:

http://abcnews.go.com/m/story?id=19274359

Sarah Murnaghan of Newtown Square has end-stage cystic fibrosis and has been unable to leave Children's Hospital of Philadelphia for three months, needing a ventilator to breathe, according to an online petition that had drawn more than 17,000 supporters by Monday. Her mother, Janet, said her daughter has only a matter of weeks to live.
[Off-topic] Slender Troll:
I think you are on the wrong forum dude, this is XDA Developers, not a charity organization. Also, check your facts before you repost stuff like this, as most of the time, these stories aren't true.
[Off-topic] Ichigo:
It's on the internet. It has to be true.
[Off-topic] Slender Troll:
Of course! Why wouldn't it be?
[Off-topic] jaszek:
[YOUTUBE]v_CgPsGY5Mw[/YOUTUBE]
[Off-topic] veeman:
How are would they put an adult's lung inside a 10 year old girl? :confused:
[Off-topic] dnanj:
I realize that this is not a charity org site, which is why I'm not asking for monetary donations. All I'm asking for is a couple of minutes out of everyone's busy schedule to just sign a petition that could possibly help the child from my post above or any other child that may face the same situation in the near future.

Besides, the last I checked, this is an off topic forum.

Also for those that feel this is fake...that's why I posted the link to abcnews site. This was also on the news broadcast this afternoon. Check all the news sources online or offline and let me know if you find that this is a scam.
[Off-topic] dnanj:
Partial lung transplant is possible.
[Off-topic] 063_XOBX:
Oh, a petition? Why that will change eeeeeeverything
[Off-topic] dnanj:
No one, especially not me, said that it will change everything, but it certainly can. Besides, what a few minutes when it's for a good cause.
[Off-topic] 063_XOBX:
Even when petitions "succeed" they typically do absolutely nothing and the people who sign them go back to their lives feeling like they made a difference. If you really care about something then you need to call or write your representative and encourage others to do the same.
[Off-topic] dnanj:
Also for those that are skeptical, the petition to Make Unlocking Cell Phones Legal received 114,322 signatures(including mine) and resulted in an official White House response:
[Off-topic] dnanj:
Agreed...but wouldnt it be nice knowing that you possibly could make a difference?
[Off-topic] Slender Troll:
There's a difference between "possibly" making a difference and "actually" making a difference.
[Off-topic] dnanj:
Absolutely true, but you won't know unless you try.
[Off-topic] Slender Troll:
"Do, or do not. There is no try."
[Off-topic] dnanj:
I stand corrected. :thumbup:
[Verizon Samsung Galaxy S III] Valvaris:
Hello all:

I currently have the original HTC incredible. Yes, old, I know. It's starting to get on its last legs and I wanted to upgrade. I did a bunch of reading and found that there are people that have been successful in taking a Galaxy S3 from US Cellular and using it on Verizon. I want to do this because I don't want to pay $600 for a new phone and I don't want to lose my unlimited data.

I have a friend's used Galaxy S3 from US Cellular.

I called Verizon and had them send me a SIM card as I did not have one before.

What do I do from here? I have looked in many places and was unable to find a clear set of instructions as to how to go about this task. A lot of people are saying "I stuck a SIM card in and it worked but didn't have 4G or SMS" or "I went to Verizon and had them activate a SIM card for me" Well, Verizon won't just activate a SIM card for me to stick in there. They want me to have the phone in hand. Do I need to root it or unlock the bootloader? Load a custom ROM? I have no idea how to start and finish.

Thanks
[Verizon Samsung Galaxy S III] eckodarkstar:
I just stuck my sim card and everything worked fine, except I have no LTE. I also flashed a Verizon rom and my phones been running like a champ.
[Verizon Samsung Galaxy S III] kjrivas:
flash rom?

I too put my Verizon sim in a uscc galaxy s3 and all works fine except no 4G lte. How do you "flash a Verizon rom????" That may help me with mine...
[Verizon Samsung Galaxy S III] eckodarkstar:
I just flashed a rom that was meant for Verizon. Dont remember which one it was. CM11 I think
[Galaxy S 4 Accessories] SoonerLater:
I've bought cables from Monoprice for years, but lately I find that they don't last more than few months before the micro USB connector gets too lose to stay firmly attached, so my phone may not be charging, even though it appears to be connected. What is a reasonably priced source for

high quality

USB cables? I'd rather not buy Samsung originals due to the price, but they're certainly better than what I've been getting from Monoprice. If I found a source that had really good cables at a fair price, I'd buy 10 or more at once.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kingozzo:
Hi, somebody can tell me in which system app is TelephonyManager service included?

thank you :good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kingozzo:
Bump!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kingozzo:
I'll try to explain it better... What is the app that manages the Gsm/umts network?

Inviato dal mio SK17i con Tapatalk 2
[HTC Sensation] michy2012:
Hello friends.

at the moment there are many roms.

I lose the overview. :silly:

I can recommend a ne rom that is stable, final and very energy efficient?

sense should have

I had elegancia battery is bad.

revolution hd often crashes.

what do you think that is worth?

greetings from Germany
[HTC Sensation] AndroidSupporter318:
This ROM is nice stable. Don't know about energy efficiency yet though: http://xdaforums.com/showthread.php?p=41965655

This one is good too: http://xdaforums.com/showthread.php?p=37121632

Sent from my HTC Sensation
[HTC Sensation] michy2012:
the rom MUST have SENSE:good:
[HTC Sensation] AndroidSupporter318:
Viper s 1.6.3 is nice: http://xdaforums.com/showthread.php?p=26521078

Sent from my HTC Sensation
[HTC Sensation] michy2012:
I have read viper s has very poor battery performance .... is that right?
[HTC Sensation] Skipjacks:
First off, threads asking for ROM recomendations are discouraged on XDA.

Second, you have to try the ROM's and test them yourself to see which one is the best fit for you. There is no universal answer to which ROM has the best battery life. It all depends on what your usage is like. Some ROM's might be better for heavy Wifi usages. Some might be more battery efficient to heavy Bluetooth usage.

Only you can determine if a ROM is right for you. No one else can tell you which is the best ROM for you, because everyone's experience with every ROM is different.
[HTC Sensation] michy2012:
ok then I'll test it ... thanks for the informative :) sometimes it is so that you can tell the energy is more than others! nevertheless many thanks to you!
[HTC Sensation] Skipjacks:
One more thing...

After you install a new rom you CANNOT make a determination of how good the battery life is within the first few hours. It will take 3 to 5 full charge and discharge cycles before the battery life evens out and you can really see if ti's good for your use or not.
[HTC Sensation] michy2012:
ok thanks, I did not know!

'll wait a week then see if it is good.

thank you :)
[Nexus 4 Q&A, Help & Troubleshooting] KRN03:
Hi guys,

I noticed last week that the search with camera option just went missing from goggle now. Since I don't use any 3rd party apps for barcode scanning, can anyone help reason on why and how has the option disappeared.

Sent from my Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] badboy47:
First time when u installed Google Goggles. Did u check Search with Camera option?
[Nexus 4 Q&A, Help & Troubleshooting] KRN03:
I started using the option from the start through Google Now... Now I find that it suddenly disappeared. Just wanted to know if anyone has bought this up and found out the reason.

Sent from my Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] akusokuzan:
http://www.androidpolice.com/2013/0...d-from-google-search-and-we-have-no-idea-why/
[Nexus 4 Q&A, Help & Troubleshooting] klvnhng:
Yeah, that feature's been removed in the latest update. Goggles essentially replaces it, but if you really want it, uninstall the most recent update for Search.

Sent by carrier pigeon
[Nexus 4 Q&A, Help & Troubleshooting] KRN03:
Alright thanks guys. I guess I'll have to just install goggles till Google integrates it back into Now.

Sent from my Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] erniev:
Worst part is that ios still has that option. What's up with that?
[Fascinate Q&A, Help & Troubleshooting] abowlofsoda:
Okay a buddy of mine had this phone for awhile and I had it before him. I'm so out of the loop that I can't remember everything. I believe hes on ICS. The about phone says

4.0.3

baseband i:500.04 V.EH03

kernal 2.6.35.14-g9722964

build IML74K

mod unknown

I tried reflashing the ROMs he had on his memory card and now i've got gapps crashing non-stop and something about UID problem needing to format data partition at boot up.

Don't have a ton of time to research it so I was hoping someone can just tell me which Odin version and recovery file I should use. Pretty sure I remember how to Odin a recovery I just wasn't sure which recovery file to use and which Odin version.

Hope I don't offend with needing quick help without researching. Thanks!
[MDA II, XDA II, 2060 General] d-light:
hay

need your help desperetly !!!!!

need to unlock ipaq 6315 locked to t-mobile.

IMEI 352795000515220

i think the code is 8 digits

please help if you can

or show me the way to unlock it

all thanks

dudi

israel

email: d-light@zahav.net.il[/code]
[Optimus L3, L5, L7 General] caiejay:
All you have to do is :

Flash zip file through cwm

Wipe cache and dalvik (if needed)

http://www.mediafire.com/?zg47znt166q42d3

Have a good day :)

Working on L7 and L5
[Optimus L3, L5, L7 General] yesiamfrozen:
any noticeable differences?
[Optimus L3, L5, L7 General] caiejay:
On v20D no but on cm10 and other v10k based roms yes

Sent from my V20D p700 (as smooth as it can get :D )
[Optimus L3, L5, L7 General] luigi997:
Works on L5?
[Optimus L3, L5, L7 General] caiejay:
If it is adreno 200 then yes
[Optimus L3, L5, L7 General] luigi997:
It is adreno .. Now I try :)
[Optimus L3, L5, L7 General] luigi997:
Works on lg l5! :)
[Optimus L3, L5, L7 General] steliosk:
sorry for the question but, do I have ti install these drivers after any new build installation?
[Optimus L3, L5, L7 General] abyextreme:
Good, nice job ! :good:
[Optimus L3, L5, L7 General] -CALIBAN666-:
have flashed on flatzkis jellyclean v4 rom with 1ghz oc kernel and after reboot i have only a white screen.
[Optimus L3, L5, L7 General] cristianrd:
Did someone actually checked if the new drivers are installed? On my nightly CM10 there's no change made on the old files, since I have compared manually against file size. Also the egl.cfg is the old one with only adreno200 line (the hardware tweak).
[Optimus L3, L5, L7 General] leonardo.teseyra:
excuse the ignorance, but this does? improves the speed of the phone?
[Optimus L3, L5, L7 General] AsianFoodRules:
There are even newer drivers on the qualconm website.

Someone upload them into a CWM flashable zip please?
[Optimus L3, L5, L7 General] caiejay:
Will try to that when i got home
[Optimus L3, L5, L7 General] caiejay:
Send me the link
[Optimus L3, L5, L7 General] acheron350:
So what about this new new drivers ? I havent found anything on the internet
[Optimus L3, L5, L7 General] gerardojerry:
Here you have bro :) https://developer.qualcomm.com/download/Adreno200-AU_LINUX_ANDROID_JB_VANILLA_04.02.02.060.053.zip
[Optimus L3, L5, L7 General] g.carvalho97:
Someone tested it on L3? Looks great on L5 and L7, but I'm a little afraid of flashing it on my L3... :silly:
[Optimus L3, L5, L7 General] steliosk:
are these drivers works for lb 4.1.2?
[Optimus L3, L5, L7 General] AsianFoodRules:
I believe so.
[Optimus L3, L5, L7 General] steliosk:
When I tried to install it says that "installation aborted" why?
[Optimus L3, L5, L7 General] michelemascia7:
because it isn't a flashable zip! now i try to create it

UPD: http://db.tt/ZQdUxrEM

this is a flashable zip created by me! and it work :D
[Optimus L3, L5, L7 General] gerardojerry:
thanks man, i will try it later :D
[Optimus L3, L5, L7 General] michelemascia7:
ok let me know if it works for you :D
[Optimus L3, L5, L7 General] ubuntuh:
can't download Form the link above