yashsingh1/xdaforums huggingface dataset:
[Android Themes] 05Gurpreet:
In this guide , I will tell "How to add Colorpicker" in Settings. :)

Tested this on 4.2 and 4.4 ​

REQUIREMENTS :

1. Brain

2. Apktool

3. Notepad ++

4. Knowledge on How to Decompile/Recompile the apk

Lets start ,

1. Decompile your Settings.apk and merge the file (given below).

2. Now open strings.xml and add these lines above </resources>.

<string name="dialog_color_picker">Color Picker</string>
<string name="press_color_to_apply">Press on color below to apply</string>
<string name="arrow_right">→</string>
<string name="arrow_down">↓</string>
<string name="hex">Hex:</string>
<string name="hex_hint">\#ff000000</string>
<string name="set">Set</string>

3. Now open ids.xml and add these lines above </resources>.

<item type="id" name="hex">false</item>
<item type="id" name="enter">false</item>
<item type="id" name="white_panel">false</item>
<item type="id" name="black_panel">false</item>
<item type="id" name="cyan_panel">false</item>
<item type="id" name="red_panel">false</item>
<item type="id" name="green_panel">false</item>
<item type="id" name="yellow_panel">false</item>
<item type="id" name="old_color_panel">false</item>
<item type="id" name="new_color_panel">false</item>
<item type="id" name="reset">false</item>
<item type="id" name="color_picker_view">false</item>
<item type="id" name="ics_color">false</item>
<item type="id" name="color_panel_view">false</item>

4. Now Recompile your Settings.apk , Sign it and then again Decompile it.

5. Now go to smali/net/margaritov/preference/colorpicker and open the "ColorPickerDialog.smali". Then replace the id with the id present in public.xml of your Settings.apk

0x7f0400bb

<public type="layout" name="dialog_color_picker"

0x7f0b09ba

<public type="string" name="dialog_color_picker"

0x7f08028a

<public type="id" name="color_picker_view"

0x7f080288

<public type="id" name="old_color_panel"

0x7f080289

<public type="id" name="new_color_panel"

Do this with other same id

0x7f080282

<public type="id" name="white_panel"

0x7f080283

<public type="id" name="black_panel"

0x7f080284

<public type="id" name="cyan_panel"

0x7f080285

<public type="id" name="red_panel"

0x7f080286

<public type="id" name="green_panel"

0x7f080287

<public type="id" name="yellow_panel"

0x7f080280

<public type="id" name="hex"

0x7f080281

<public type="id" name="enter"

Important Information :

• If you are having colorpicker , but its having old ui and want to use this then first follow the guide and then go to that option layout xml and change the path of the colorpicker to the line given below.

net.margaritov.preference.colorpicker.ColorPickerPreference

Special Thanks To :

1. Cyanogenmod

2. XDA
[Android Themes] 05Gurpreet:
Screenshot
[Android Themes] Darkstar085:
Thanks bro..
[Android Themes] Hamidreza2010:
Anyone tried on LL?
[Android Themes] ax0817:
My English is poor, thanks for sharing, I ask how to modify the default color? White, black,Cyan,Red,Green...
[Android Themes] Rajeev:
Yep. Works fine
[Android Themes] ARGHA_DAS:
Bro..credit goes to Sergey Margaritov for creating this colorpicker ans anyways Thanks for sharing
[Android Themes] Rajeev:
Why you quoting the whole OP my friend?
[Android Themes] 05Gurpreet:
Ok , will definitely give full credits to Sergey Sir. I have extracted this from cyanogenmod ROM. :)
[Android Themes] raziel zarafan:
I got fc on settings when I click to modify color .-.
[Android Themes] Nimadroid:
Tnx bro working on LL 5.1.1 Xperia
[Android Themes] moonryder:
where is that option layout xml file???

is it color_picker_item.xml?

if yes how to change it???
[Android Themes] ryan_joshua:
I didn't found this one in my public.xml,

<public type="layout" name="dialog_color_picker"

Is that okay?
[Nexus 6 Q&A, Help & Troubleshooting] dude_itsdevon1:
The other day I bought a nexus 6 used and didn't know what carrier it was from.. Well I dug around in the settings and found out that it was Verizon. The phone worked fine with my T-Mobile sim just like it should but when I tried flashing 5.1.1 Verizon build lmy48i it just would not flash right... It would just bootloop and nexus root toolkit said everything failed to flash but the bootloader. But I tried again after taking the sim out and it worked first try. Everything is okay, but why does a sim make so much of a difference? Should I be flashing T-Mobile img's?
[Nexus 6 Q&A, Help & Troubleshooting] GuestK0087:
First, you shouldn't use toolkits unless you already know how to use fastboot.

Second, use fastboot and flash the latest T-Mobile factory image if you're using your device on T-Mobile.

Follow method #2 from here:

http://xdaforums.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
[Nexus 6 Q&A, Help & Troubleshooting] dude_itsdevon1:
Thanks for the super quick reply, I am familiar with fasboot and doing it manually but I'm lazy that's all. It just makes it so simple. thanks for letting me know which image to use. I just had to set up the apn settings to get my data to work right. Will I get otas if I flash the T-Mobile factory image and use their service?
[Nexus 6 Q&A, Help & Troubleshooting] GuestK0087:
As long as you're 100% stock and using a T-Mobile sim, you'll be able to get and install T-Mobile OTA's.
[Nexus 6 Q&A, Help & Troubleshooting] stevemw:
LMY48I is not a T-Mobile version. You want LYZ28E or LYZ28J.
[T-Mobile Samsung Galaxy S6 Edge] scorpion112:
hello guys can u plz help me

i have Galaxy s6 edge T-MOBILE unlocked SM-G925T to work with other sim in jordan

IT HAVE A 5.0.2 ROM But i need to upgrade it to 5.1.1

if i flash a rom from sammobile rom 5.1.1 with odin

the phone will be relock ? or still unlocked
[T-Mobile Samsung Galaxy S6 Edge] scorpion112:
can anybody help ?
[HTC Tornado] SHiSH:
When i have active gprs session and try to block keyboard (long press on red key) gprs session is disconnected

How i can fix this (not disconnect gprs on key block)?
[HTC Tornado] karhoe:
Perhaps this is a standard WM6 feature? Try to unlock your keypad using quicklist
[HTC Tornado] sebbes:
Seems like that was also the default with WM5

http://msmobiles.com/news.php/4714.html
[HTC Tornado] SHiSH:
its not was default on last official WM 5.0 firmware
[HTC Tornado] jm012a9749:
It was default on all WM5 firmware EXCEPT the qtek firmwares

Phil
[HTC Tornado] bsider:
I think it would be nice to make it the same for WM6 ROM. We are just used to it and the red button is supposed to block the keys, not to disconnect GPRS.
[HTC Tornado] SHiSH:
and for end call too, not to end call and disconnect gprs
[HTC Tornado] nedge2k:
try changing HKLM\DRIVERS\BUILTIN\RIL\GPRSAutoDetach to 0
[HTC Tornado] bsider:
It is "0" by default already in WM6 Rom. Any other tips?
[G4 Q&A, Help & Troubleshooting] 12star12:
Hi got a LG G4 trying to pair a juice box Bluetooth speaker.

The device is found but when I try to pair it will not let me put in a pairing code.

It displays a message wrong code entered do you wish to try again.

If I click no then pairing cancels if I click yes pairing times out. I can connect speaker to my LG g3 with out problem.

Tried resetting to factory settings twice. Once in recovery mode once in the settings.

Any help would be aprecaited.

Regards
[G4 Q&A, Help & Troubleshooting] chubbrock:
Also have issues pairing with my car radio
[Xiaomi Mi 4i] Phobos0815:
Hey,

i made a mistake and basically wiped my whole mi4i.

Now, I installed the MIUI and copied the cm12.1 file onto the phone, rooted it, installed twrp.

I just want to go to recovery mode and flash cm12.1, but no matter what I do, it loads into the mode where I first navigate with the volume buttons, dont know what its called - theres "MI-recovery 2.0.1." on the screen, but its not the screen I am used to from TWRP.

Where did i go wrong??

I even tried booting into recovery mode via terminal, same thing.

Help!!

Thank you very much in advance!
[Xiaomi Mi 4i] elot01:
Ik think you only 'flashed' the TWRP temporarely.

So it is gone after a reboot or reset.

You could use the Flashify app to install TWRP or you could use the PC software "Mi4i Toolkit v4" (don't use v3).

http://en.miui.com/thread-125216-1-1.html

http://en.miui.com/thread-117336-1-1.html
[Xiaomi Mi 4i] Phobos0815:
Thank you so much.

Mi Toolkit v4 didnt work for me, got the phone rooted but couldnt flash twrp.

However, after another clean install, flashify did the trick for me!

Thanks a lot!
[Xiaomi Mi 4i] elot01:
Glad i could help.

About the toolkit. In most cases if it does not work, you have the wrong drivers on the pc.

Please check the links for drivers to install and use them.

Those should make it possible.

Use of v3 on the Mi4i gave to some people unexpected results (at least, that is what i read on the Xiaomi forums).
[Xiaomi Mi 4i] Phobos0815:
Na, the drivers are OK, and the Toolkit worked just fine the first time I installed CM12.1.

Dont know what went wrong this time, doesnt really matter as long as everything's fine again ;)
[G4 Q&A, Help & Troubleshooting] p2im0:
I haven't yet seen any posts regarding removing default icons from the G4's status bar.

What needs to happen before we'll be able to remove NFC icons from our devices? Any G4 Tweaksbox in the works?
[G4 Q&A, Help & Troubleshooting] siraltus:
I'd love to know if this is possible. The NFC icon is driving me nuts. I just leave NFC enabled all the time and don't need an indicator. Sadly, neither GravityBox nor Wanam Kit can hide it, and G3 Tweaksbox does not work on the G4.
[G4 Q&A, Help & Troubleshooting] OGIGA:
I would love to hide it too
[G4 Q&A, Help & Troubleshooting] geoff5093:
You should be able to hide it with GravityBox and Xposed. I used it to hide the bluetooth, alarm, "am/pm", and a few other icons from my notification bar.
[G4 Q&A, Help & Troubleshooting] OGIGA:
Yes, there is an option to hide Bluetooth. There doesn't seem to be a way to hide NFC or location service icons unless they're in a totally different place that I can't find. =/
[G4 Q&A, Help & Troubleshooting] android404:
You can hide the location icon using "flat style bar indicators" but not the nfc icon.
[G4 Q&A, Help & Troubleshooting] AlDollaz:
I just got the G4 and I'm coming from a Galaxy S3 and Cyanogenmod, so I'm very used to being able to add/remove icons and disabling the NFC icon would be most awesome.

I also wouldn't mind the numbered battery percentage text inside the battery icon.

Oh, and can you unpair the notification and ringtone volume so I can adjust each independently?

Otherwise, great phone. It's the small things that irk me. :)
[G4 Q&A, Help & Troubleshooting] OGIGA:
After upgrading to Marshmallow, the GravityBox utility to hide the Bluetooth icon doesn't seem to work right anymore. It works the moment when it is hidden or etc, but when I turn the Bluetooth device on, the icon comes back and stays there. =/

Still nothing I can do about the NFC icon.
[G4 Q&A, Help & Troubleshooting] android404:
And the solution is still in my post three above this one.

Edit: OOOOPS..! The module was updated a long time ago and works with the NFC icon now...
[General Questions and Answers] Piyush005:
Anybody please help me in making a new kernel for Samsung Galaxy S Duos 2 which should be compatible with android lollipop. Many developers tried to make kernel but they didnt get success in booting the rom because of the kernel . So please anybody please help in making the kernel. If the kernel succeds then i will make PAC 5.1 or Carbon kitkat rom.
[General Questions and Answers] k4rn8g3:
u want lollipop kernel right ??? TRY THIS !!!

here u are ENJOY !!!

http://www104.zippyshare.com/v/p5b3x1GL/file.html

---------- Post added at 04:48 PM ---------- Previous post was at 04:45 PM ----------

hey please make this ROM RESURREECTION REMIX 5.6.3 or above for the galaxy s duos 2 (lollipop based)

MADE BY SANDPOX @ XDA and CM forums

****************************************************

Device Tree (GT-S7582) : https://github.com/SandPox/android_device_samsung_kyleprods

Kernel Source : https://github.com/SandPox/android_kernel_samsung_kyleproxx

Vendor Blobs : https://github.com/SandPox/android_vendor_samsung_kyleproxx

******************************************************

MADE BY SANDPOX @ XDA and CM forums

Thanks in advance...﻿
[General Questions and Answers] Savio96:
Unable to download

Zippyshare says file removed...
[XDA Assist] Armaan_sharma:
I Have A Canvas 4 A210 Device.......

I update it with wrong recover thats y my phone touch screen working opposite

When I touch on right top corner it response on left bottom corner

can any one help me out what i will do

Thanks In advance
[XDA Assist] GuestK0087:
Hi, thanks for using XDA Assist! :)

Please post your question here:

http://xdaforums.com/canvas-4/help

That's the specific help forum for your device. Your device experts are located there.

Good luck! :)

Thread closed.
[Android Apps and Games] smallwind:
Just one touch to turn off and lock screen.

The hardware power button of some devices is not well designed. The frequent use to power on/off may damage it. We provided the software shortcuts to replace it and extend its lifespan.

Different kinds of shortcuts (buttons):

- Shortcut on home screen

- Shortcut in the notification

- Shortcut floating on the screen over other apps:cool:

Features:

- Adjust the size of icon

- Adjust the opacity of icon

- Built-in icon library

- Select icon from the pictures in your device

- Vibrate when locking

- Play sounds when locking

- Display weather information in floating shortcut

- Floating shortcut can auto hide in fullscreen mode

- Set floating shortcut to the desired position on the screen

- Floating shortcut can auto return to lock position

(In this mode, when shortcut is moved, it will automatically move back to lock position in seconds.

To change lock position, just move it to new position & hold in seconds)

[v.2.0] 2015.8.10

- Added more icons

You can install the attached APK file or download the latest version (Free) from the Google Play at

https://play.google.com/store/apps/details?id=com.simi.screenlock

If you have any suggestion or new features you would like, please feel free to reply this post or send email to us. Thanks!

simistudio628@gmail.com

[Screenshot]

[IMG="1"]https://lh4.googleusercontent.com/-wO5LOA4U5sc/VaPJR4C-WWI/AAAAAAAAALw/PEpV8oZqZ30/w540-h960-no/Screenshot_PlayStore2.png[/IMG][IMG="2"]https://lh4.googleusercontent.com/-srTt5RufAfc/VaPJR9o85yI/AAAAAAAAALw/YiAvRxJ2kpw/w540-h960-no/Screenshot_PlayStore1.png[/IMG]

[IMG="3"]https://lh6.googleusercontent.com/-G-TI2dwgNKg/VaPJR_ESX7I/AAAAAAAAALw/K6ok-Z8iPPE/w540-h960-no/Screenshot_PlayStore3.png[/IMG][IMG="4"]https://lh4.googleusercontent.com/-oZpOdNTVlcA/VaPJR2ifqGI/AAAAAAAAALw/1sPQEG2nr_8/w540-h960-no/Screenshot_PlayStore4.png[/IMG]
[Xperia Z1 Q&A, Help & Troubleshooting] anakdayak:
Hi guys how do i disable annoying the data n0tification on z1 stock odex 5.0.2? Been searching for few days and can't find it.Appreciate u guys if possible flashable zip.
[XDA Assist] Ibmug:
Well there's nothing on my phone here and I'm new to this site. Is there a way to root my LG l33l other than kingo root and install supersu as well as busy box? It so what would be my options? I haven't tried towelroot yet either but so far have been unable to get anything to work.
[XDA Assist] GuestK0087:
Hi, thanks for using XDA Assist! :)

You can post your question here:

http://xdaforums.com/showthread.php?t=2259645

You'll find expert advice there.

Good luck! :)

Thread closed.
[Android Studio] mdawdy:
I am getting an "Unfortunately Has Stopped" message in my release version that does not occur in the debug version. This happens both on my S4 mini and on the Samsung RTL devices. The debug version works on all of these devices plus on the Genymotion emulators. The error occurs using Jsoup when i tap my menu choice which activates Jsoup.connect.

So far i have determined that the problem is most likely caused by ProGuard, in the minify process. The release program does run if i set minifyEnabled to false but i would prefer to un-apply it just where necessary. So i need to know a few things ...

1. what is the syntax for the proguard statement to eliminate org.jsoup.* from being minified

2. which file is this statement to be added to, proguard-android.txt or proguard-rules.pro

3. how do i initiate a stack trace? It must be simple but my searches have not turned up a step by step procedure for this. I believe that with a stack trace i could identify which specific Jsoup modules need to be eliminated from minify rather than minifying the complete lib

It seems that these are very basic questions. Virtually every post that i have read on these subjects assumes that you know these things. Hope you can help.

Mick
[Android Studio] mdawdy:
OK, making a little progress.

Found this example -keep class org.joda.time. { ; }** so I substituted jsoup in place of joda, put it into the proguard-rules.pro file and my release build now runs :)

I found the -s or --stacktrace option and where to set it in the IDE. However I am lost about where to find the actual stacktrace when I run the program.

I would appreciate any help i can get on how to get a stack trace, especially while running a release version of the program
[ZenFone 2 Q&A, Help & Troubleshooting] init-0:
Hello,

i own a Z00ADB ze551ML and i would like to know which wifi card my smartphone has.

Apart from Wi-Fi Version: 6.37.32RC23.34.22 i cant find any information about this.

I tried the "dmesg | grep -i lan" command, but that doesnt show any useful information.

Im quite new to Smartphnes and interested in monitor mode and packet injection and would like to know if there is any chance that this will work on my Zenfone?

Would it be possible to change the wifi card?

Thanks,

init-0
[ZenFone 2 Q&A, Help & Troubleshooting] init-0:
According to this guide: www[dot]myfixguide[dot]com/manual/asus-zenfone-2-teardown/ it has a bcm4339, just as te nexus 5.

I tried to use the bcmon4330 drivers, but it didnt work. Do i need cyanogen or another rom for this?

But this thread stackoverflow[dot]com/questions/30223870/nexus-5-wireless-driver-for-bcm4339 on stackoverflow states that the bcm4339 drivers cannot be modified.

Is my only option now to use usb otg?
[Advantage X7500, MDA Ameo ROM Development] DNY80:
Hi i unlocked my Athena and i want to know if there is any way to find out if I have CID UNlocked it???? I wana know before trying to get WM6 onto it. Oh and does anyone have the WM6 Upgrade that works? i would like to add it to mine if there are any nice people out there with a link to it??? :-)
[Advantage X7500, MDA Ameo ROM Development] Olipro:
put it in bootloader mode, disable activesync, run mtty, execute task 32.

was there any point in me telling you that? I doubt it.
[Advantage X7500, MDA Ameo ROM Development] LTxda:
If you read through the forum, you'll find out that you don't need to unlock your phone in every case just to get WM6 installed...only in some cases. Give reading a try and see what wonders are out there. ;-)
[Advantage X7500, MDA Ameo ROM Development] irus:
:D :D

OLIPRO IS A DI*K

what i think he was trying to say is, if i were you i would wait until the

offical wn6 rom comes out so u dont have bugs or even worse you brick it

p.s. j/k olipro :D
[Advantage X7500, MDA Ameo ROM Development] DNY80:
I know that. i just wanted to know if there was an easy way to see if i could fin out if i was CID enabled or not.
[Advantage X7500, MDA Ameo ROM Development] eagle 1:
Yes, there is an easy way to tell if you are SuperCid. I beleive Olipro gave you the way to do it. Download mtty.exe. Disable USB activesync, put your PDA into bootloader. Connect with mtty and issue task32 if you receive CID=0 , you are supercid, if you receive FF you are not.

It will also tell you what your cid is...HTC__001 is an HTC advantage, and TMOB__001 is tmobile, etc

Just read the wiki, and search for MTTY.exe and mtty commands. Rally simple once you have read up on it.
[Advantage X7500, MDA Ameo ROM Development] ahmadfarid:
And there is possibility that you will go into black screen after you soft reset. If that happen you need the flash rom again (based from my experience)
[Galaxy Grand Prime Themes and Apps] paulgbago:
Can someone port S6 music player to pour grand prime pls and wallpaper picker s6
[Galaxy Grand Prime Themes and Apps] Nonta72:
http://xdaforums.com/grand-prime/themes-apps/port-touchwiz-music-player-sm-g5308w-t3171461
[G3 Q&A, Help & Troubleshooting] Simone98RC:
Hi guys,

due to many issues with my 64Gb SD card formatted in exFat filesystem, I want to format it in NTFS one.

I exclude FAT32 due to file size limitations and the poor performance... and ext4 too for obvious compatibility troubles with Windows.

I'm using the latest Resurrection Remix rom, where happens that apps like OsmAnd+ and MyBackups (sometimes Online Nandroid Backup too) cause unmount issues and sometimes data corruptions which force me to do a checkdisk.

I've read that the most camera apps won't to take photo and video recordings on NTFS filesystems.

Is the issue still existing in latest CyanogenMod builds?

Thanks, if there isn't any known issues I'll change filesystem as soon as possible, I see in CM repos the famous NTFS-3gdriver, which would be a "guarantee" of stability.
[Android Q&A, Help & Troubleshooting] andy_from_ireland:
hello I have just got an ASUS TF103C(X) pad and its got the back key at the navigation bar on the left - and Im using a Samsung Galaxy Note 1 phone and the back key is on the right, which is making things a little confusing when I swap between both devices. So on the ASUS Pad I want to swap the back button with the recents button Im all rooted, so I decided to try the Samsung key swap Generic.kl think where you swap key 139 and 158 in text editor and restarted tablet but it didnt work, the keys were still in same place so far I have changed 139 and 158 in these keylayout parts and it still hasnt moved them -

ASUS_TransKeyboard.kl

asuspec.kl

Generic.kl

KEYPAD.kl

wonder what Im doing wrong?
[OnePlus 2 General] electric0ant:
when they announced the price for HK I was pleasantly surprised that it was going to be cheaper then the opo last year @ $2799 HKD.

This was the price shown a the end of Pete Lau's video after the VR launch, and also on the oneplus hk website.

Well the sales went live today and the price has now been jacked up by $200 HKD to $2999. USA and UK prices are the same, not checked any other coutnries.

If it was a pricing error in the first place I have to say it took them a pretty long time to realize it, since they also plastered it all over the HK site for the past two weeks. But for them to suddenly bump up the price with no announcement kinda sucks.
[OnePlus 2 General] samir_a:
Looks like one more screw up by OnePlus
[Xperia SP Themes and Apps] kiladu:
Does having a third-party launcher really have an advantage over a stock one in terms of performance?

I've just installed Hola-launcher which boasts being faster alongside looking great [ricing]. Does the general forum agree that overall performance can be performed up with simply additions such as this? if so, what else could be done , app installation wise, to improve speed which I should know about? I'm primarily interested in having a high performing phone.
[Xperia SP Themes and Apps] taha1994:
try AICP or XenonHD

if you have an unlocked bootloader a custom rom and kernel is what's gona give you performance

I bought my xperia sp last week and didn't want to unlock the BL so tryed to squeez more performance out of the stock 4.3 rom

I initialy instaled nova launcher and other apps (CM cleaner , ram manager,xposed) with root of course ,i felt more performance but battery life became worst (more load on the CPU)

then i decided to unlock the BL and instaled Xenon HD (no kernel needed ,the one included rocks) then i knew what performance is.

so i would sugest upgrading to custom ROMs and DO IT AT YOUR OWN RISK
[Xperia SP Themes and Apps] le grande magnetto:
[MENTION=6872508]taha1994[/MENTION] what is wrong with you? (about the text)

anyway Nova is great launcher. I use it mainly because of the gestures. But as I just remembered, there are gestures in my rom, so I probably try to play with stock launcher to see if gives similar results.