yashsingh1/xdaforums huggingface dataset:
[Android General] daxgirl:
Although this is widely off topic, some clarifications..

1. Resources are hard coded attributes, used by the Java code as base for various classes. Colors on runtime are being converted to color integer, xml drawables are being converted to objects of Drawable class, layouts and views are being converted to objects of View class, strings are converted to String objects and so on.

2. You can imagine the resource xml files as "read-only" storage for android. There is no way to write into them. EVER. It's for fetching REFERENCE only. Java code can access the xml only by using resource identifiers, which are kinda of "social security" numbers for all resource items.

3. Drawable xml files are being concerted to Drawable object. As Drawable, you can set color filter on them. You can fetch the color for color filter from db after you put it there with rc. Or you can work on the view and set background or foreground tint.

I know those are very complex issues, but this is exactly what we do in smali modding. We set colors dynamically. Based on value provided by rc.

Now, rc itself doesn't affect ANY application. It doesn't even know systemui exists. It just writes values to common android setting storage database. And when we do smali modding we read those values in code.

I know this doesn't answer your question, but mainly that's because your question is rooted in deep misunderstanding. Although resources cannot be changed, colors for views can be set dynamically in Java. So, what you need is some kinda smali mod to dynamically change tint of the call and video call buttons.
[Android General] OvrDriVE:
actually that makes perfect sense. and i tryed to set it based on the xml in drawables that calls those colors. but didn't work. lol. ok well i will keep trying. thank you though
[Android General] daxgirl:
My friend, this is an rc thread. There is absolutely no connection between what you ask and rc. And it's stated on op that there is no support for smali mods.

Another issue is, you say something doesn't work. Now, I am rather with super human powers (lol), but I how can you possible imagine I can help you??? I haven't seen your code. I haven't seen your smali files. (And no, thus is NOT an invitation to publish them here).

There is obviously a problem with the way you made the mod. Because the view we provided for CustomBg works 100% correctly. But I cannot tell you what you did wrong. Because you say "it doesn't work". So if by that you mean "your mod doesn't work " we all know it's not true. It works perfectly. So there is obviously something that doesn't work in how you made it. And in most cases it's a key issue. Make sure keys are matching.
[Android General] daxgirl:
You cannot change the "solid" in xml itself from code. But you can set color filter to it in code. When you cast it as Drawable after you pull it as xml drawable by identifier.
[Android General] sonnguyenpg:
Thank Anna for answer . I will recheck.

J710F
[Android General] OvrDriVE:
yeah i can find the id for the 2 xmls in the smali. thats easy. lol. it's creating the right method to do what i want. back to reading up on coloring items again and see if i can finally understand it. so far it's confusing but if i stare at it long enuff it will suddenly make sense.
[Android General] Kamy:
It's me again. Anna! today I figured all my preference are empty in github. It seems when at the first time I created my empty preferences I uploaded my project in github and I thought my sources are there but actually they are just empty preferences. Sorry for that as I mentioned my codes existed in my previous post. To solve this I tried to use Commit Changes, no success. Then tried to delete my repository and use "Share project on Github" option but it says remote with selected name already exists. I am not sure what is going on and how to solve it. Would you please help me in this?

Edit: I just fixed it by deleting .git folder as mentioned by Wuby. Sorry for inconvenience. (My source)
[Android General] smaiarif:
[MENTION=4714483]daxgirl[/MENTION]

please help me with this, I'm unable to build apk, followed every single instruction form OP, everything went fine till this error occurred...

please take look at my workspace in image below

https://drive.google.com/open?id=0B4tv0RwzfJWdWlUxV3hTanQ2Vk0
[Android General] daxgirl:
This is a perfect example of post, which is

1. Uninformative!!! I have no way to know what you mean by saying "unable to build"

2. Against thread explicit rules - we don't support "unable to build". Look up your error. Search for it online. Try to solve it.

See, if everyone is unable to build, it is something we can solve. Because it is maybe our problem. But since everyone is able to build but you, this is your problem. You should see why you can't build and at LEAST come with specific problem.

This is not a "help me i cant do that" thread. This is an advanced development thread. If you can't build, try again. If you come to ask questions, use professional terminology and format. Specific errors. Specific lines in gradle. Something... this is not a thread for noobs. You have to KNOW how to use android studio before you build rc. Not the other way around. We don't teach android studio.
[Android General] smaiarif:
I apologize for the way I have expressed my query. Will keep on trying to solve that issue until I don't solve it. Will revert back once I get it solved. Thanks for your response.
[Android General] smaiarif:
Thank you friend, do you mean team viewer for TM?
[Android General] smaiarif:
Got Android studio issue solved.

[MENTION=7443243]BenjaminW8[/MENTION]

Thanks for all your help bro. You made my day???

[MENTION=5405448]thereassaad[/MENTION] and [MENTION=4835387]OvrDriVE[/MENTION]

Thanks to you too guys, you both were always there when I was in need of guidance....
[Android General] OvrDriVE:
hey [MENTION=4714483]daxgirl[/MENTION] have another question.

is there a way. to force a reboot on a user but only after setting the value of 2 keys. ie. i can force a reboot after each option is set. but is there a way to tie those 2 keys to a single reboot after both have been set

or would i need to tie the 2 methods in my smali into a single method so both items get set accordingly and then use a single option in rc v2 and force a reboot then

hope that makes sense

basically. i have 2 listprefs. i want each one to be able to be set by itself. but need to force the user to reboot only after both have been set
[Android General] tdunham:
I'm pretty sure this is not a choice right now.

I really believe you should only force reboot (make it imminent as parameter) if the reboot is absolutely necessary for the phone to operate properly.

Otherwise, use optional parameter:

app:rebootOptions="optional"

app:showConfirmDialog="false" <-- this is optional but I like using it

This way they can opt not to reboot but they know that one is necessary for the feature to work properly and if you have more than one choice, they can say yes to the reboot on the last one if necessary.

---------- Post added at 02:32 AM ---------- Previous post was at 02:18 AM ----------

As an example about force reboots, I swap out InCallUI.

If a forced reboot is not initiated, there will be force closes so there is really no choice in this instance. I think imminent reboots are best used wisely.

I don't know about you, but if I were going through making all my choices and the phone kept rebooting, it would be really annoying.
[Android General] OvrDriVE:
thats exactly what i was trying to avoid. ty. will use optional and showdialog option.

that will solve my issue
[Android General] tdunham:
By the way, in your guide [Guide] How to Change Low & Critical Battery Warning Percentages

You have this entry for summary.

android:summary="%s"

I've been told that this summary %s is no longer necessary, it will display the proper value without it. I had it in a lot of places in mine as well until Daxgirl set me straight that this is a hold over from the way we did things with customsettings.

I thought I would post it here as well since others are probably still using the same old method that is no longer necessary.
[Android General] OvrDriVE:
thanks [MENTION=1042140]tdunham[/MENTION]. i will edit guide with change. and fix it in rc v2 as i have a couple other places where that is used as well. hehe
[Desire 816 Q&A, Help & Troubleshooting] davidw.roggenkamp:
Howdy, I'm currently playing with bigsupersquid's unofficial cyanogenmod 13.1 rom for the Virgin Mobile variant of this phone. Everything on it works great except for the wifi which seems not to activate at all - also preventing me from using my tethering. I was forwarded to update the firmware for this device to Lollipop, but outside of the "A5-DUG" variant, I seem to be having trouble finding it. Can anyone provide me the right directions or place to start for this? Any help would be appreciated, thanks!
[Desire 816 Q&A, Help & Troubleshooting] bigsupersquid:
yer lucky, I don't often browse the regular forum, just the threads I've already posted in.

however, I obviously need to add this link to the OP for cm13 (and maybe cm12 as well.)

http://www.htc.com/us/support/htc-desire-816-virgin-mobile/news/

straight from the horse's mouth (htc,) that link.

getting it installed without M$ windows is challenging but can be done, requires some searching. with window$ it's relatively painless after downloading the 2+GB file and installing drivers and such.

I know some people are picky about questions in dev threads but I've always welcomed discussion there, so feel free to ask anything else in the ROM threads.
[Desire 816 Q&A, Help & Troubleshooting] davidw.roggenkamp:
I'm guessing that this is the process to use a RUU and revert back to stock to get the OTA update? I went through a huge debacle trying to find just this and managed to get it to work with a stroke of luck. I'm actually using your Cyanogenmod 13.1 without much issues. I'll leave a bug report in your thread. Thanks again!
[Desire 816 Q&A, Help & Troubleshooting] tucker1003:
How do you get lucky? I am on CM 13.1 and still can't get wifi. I have the RUU and tried through windows and just got errors.
[Desire 816 Q&A, Help & Troubleshooting] bigsupersquid:
Here, for everyone having firmware issues on chl, I spent all day uploading the zip RUU.

Make sure your phone is charged first. Very bad juju for it to die during firmware flashes.

I'm not sure if it needs stock recovery installed to use it or not. May not install without it and that'd be a hassle. Follow the instructions linked in my cm13 first post for installing stock recovery if you're wanting to play it safe.

Definitely

fastboot oem lock

before putting the 0P9CIMG.zip on external SD and rebooting into HBOOT. Or it won't flash.

Then remove the sd card after it is finally done. It'll take a few reboots to finish.
[Desire Q&A, Help & Troubleshooting] DIN_9:
Hi all,

I use htc 626g+ dual sim android phone with 4.4.2 OS version. It is a rooted device. I updated the system with a system update and but it was not completed and was crashed and now when i switch on it turns on and ends in NO COMMAND screen in recovery and in a boot loop . then I tried factory reset using the option in recovery mode . it was completed but when I turn it again it returns to same no command screen. I read many articles in the threads and internet . should I flash a custom recovery and custom ROM because I cant do anything other than charging? I downloaded HTC SYNC MANAGER but it doesnot detect the phone.. there I cant do anything.... Please advice me... THANKS in advance
[ZenFone 2 Q&A, Help & Troubleshooting] Buletproof:
I have Asus ZE550ML which is suddenly acting weird from couple of days, even the phone is not connected to USB the phone was showing Orange LED(Charging) and battery symbol showing its charging, even restarting several times the phone didn't help.

now the phone is not charging at all, checked with several cables but problem is not solved.

but when I switch off the phone and try to charge the orange LED gets on for 4-5 seconds showing its charging but going of.

whats the solution for the same?

UPDATE: USB port of mobile is fine as I connected micro USB Pen drive to phone and it gets detected, don't know why phone is not charging when its Switched ON though.

phone is charging while its switched off.

any suggestions?
[ZenFone 2 Q&A, Help & Troubleshooting] chetank08:
heyy

do you find the solution i had a same problem and i even changes whole charging board for device still same problem occurs...please help if you found out solution
[Tilt, TyTN II, MDA Vario III General] stpete111:
Does anyone know of any "all-you-can-eat" music subscription service that will successfully stream to a WM6 device?

I have a subscription with Rhapsody. There are two ways to use it: with their software client installed on your desktop harddrive, or stream directly from their website. However, if you stream from their website, it installs a very small player app on your harddrive. If you try to stream from their website on a mobile device, it brings up an error saying that the player app must be installed and can only be installed on XP/2000, etc. And there is no mobile Rhapsody client available, in fact, no mention of one even in the works from Rhapsody.

As far as other services go, for a short time last year I used AOL Music and it was able to stream b/c their streams used WMP. I was so excited... I paid the normal 10 bucks a month and could listen to any song, any time, any where on my phone as long as I had a data connection. Unfortunately, AOL music subscription service shutdown late last year.

As for the other guys, Napster, Urge, and Yahoo all either use their own players or their own clients, so none of them work on mobile phones.

Any suggestions? Any of you genius-smart app writers out there think you could come up with something that could stream any of these services?
[Tilt, TyTN II, MDA Vario III General] kireol:
I'm listening to sirius right now on my tilt. It uses tcpmp. go ask the guys at geekstoolbox.com and maybe they can throw something together real quick for ya. they're working on an all in one right now i think
[Tilt, TyTN II, MDA Vario III General] stpete111:
Hey thanks for the info kireol. Yeah I listen to XM and Sirius on my phone as well. Great feature. I'm looking to get a subscription service going as well.

Thanks for the site suggestion... going to check it out now.
[Tilt, TyTN II, MDA Vario III General] stpete111:
Looks like geekstoolbox is geared mainly toward smartphones and Sirius. They're hard at work on their latest project which appears to be a complete overhaul to their Sirius software, but it's only going to add XM and internet radio stations. Don't think they'll be doing anything related to subscription services (outside of satellite radio) anytime soon.
[Tilt, TyTN II, MDA Vario III General] docrob:
Any other thoughts about how to get a subscription service to stream? Alternatively, have you looked at trying to get Pandora to stream to a WM device?

AT&T Tilt

Samsung Blackjack

AT&T 3125
[Tilt, TyTN II, MDA Vario III General] surur:
The Nokia 810 has a mobile rhapsody client, and that also runs on an arm processor. I am sure a concerted effort could be made to port that code to WM, but I dont think there are enough rhapsody subscribers to care.

Surur
[Tilt, TyTN II, MDA Vario III General] awdbeast:
Add one to the "I care" list. I also have a Rhapsody To-Go membership & I would love to be able to take advantage of that on my Tilt.
[Tilt, TyTN II, MDA Vario III General] awdbeast:
Any progress?

Any progress?
[Tilt, TyTN II, MDA Vario III General] asfoor:
Mundu Radio

So far I tried Resco Radio, XM and Sirius. And lately Mundu Radio. The best so far, and BTW it is free, is the Mundu Radio. You can download the Cab file from the following link:

http://radio.mundu.com/download/download.php

Enjoy..... :D
[G4 Q&A, Help & Troubleshooting] sampathkumar2811:
When I try to lock the mobile using power button, locksreen aound is coming twice sometimes.

When I lock the device using power button , it is first locking the screen and immediately unlocking automatically and vice versa is happening.

Tried restore of mobile.still no luck.

Does anyone faced these problem?
[G4 Q&A, Help & Troubleshooting] TheMadScientist:
This used to happen to me on my g3. All the time followed by the screen on then back off. I never really looked for a fix. Kinda fixxed itself amongst all the rom flashes.
[G4 Q&A, Help & Troubleshooting] sampathkumar2811:
Ok..thanks..
[K3 Note Q&A, Help & Troubleshooting] SkopiX:
Hi guys, i have a serious problem... i flashed this rom ( http://xdaforums.com/k3-note/development/chost-rom-v2-1-lenovo-k3-note-k50-t3398131 ), all was ok, but now everything FC after reboot... and i cant go back to stock, because i cant wipe or reflash recovery, there is PERMANENT TWRP 302-3 which CANT wipe anything or flash anything... what can I do? i tried SP flashtools, but i do something wrong, because it reboots my phone instead of start flashing...
[K3 Note Q&A, Help & Troubleshooting] vins66:
Lenovo K3 Problems All Solve ..

Does any one have K3 lenovo any problems message me or reply I solve any problems..
[K3 Note Q&A, Help & Troubleshooting] SkopiX:
Hi :)

can youhelp me? i already tried SP flashtools, it flash rom normally, says SUCCES but there is still ghost rom (link in 1st post) and still everything FC
[K3 Note Q&A, Help & Troubleshooting] vins66:
What u need do u want new chinese Rom or official Rom ..?

What u need now do u want to format ,install same ROM gost or other Chinese ROM or want to install Official ROM..?
[K3 Note Q&A, Help & Troubleshooting] SkopiX:
It doesnt matter, i just need working phone... I preffer stock rom :) my device is K50-T5

i tried everything, TWRP, SP flashtools... but i cant write anything to this phone, doesnt matter how...
[K3 Note Q&A, Help & Troubleshooting] vins66:
https://www.youtube.com/watch?v=TySRc_DkcFk

go to above link ..
[K3 Note Q&A, Help & Troubleshooting] SkopiX:
I already tried that... As I sasid, SP flashtool start flashing, all is ok, it says "SUCESS" but when i turn on phone, thre is still ghost rom, TWRP data... everything...
[K3 Note Q&A, Help & Troubleshooting] vins66:
Problem u may faced is :- u havnt changed Download Agent or Scatter Loading in Spflash tool it's default from ur ghost ROM, to install new ROM change folder from new ROM ..

Backup your data+ IMEI.

Mobile should be rooted , install or flash CWM recovery

if success ,

then , flash spflash tool below link Marshmallow cuckoo92 or via CWM install downloaded zip .

https://www.androidfilehost.com/?fid=24533103863140515

or i dnt knw your stock model indian or chinese version mobile so ,

you can install Official update lolipop Google it u can get via spflash tool then update to Marshmallow don't root mobile untill you get latest updates from Settings update option then root CWM, if invalid IMEI found use chameleon.apk use it IMEI store in ur PC in notepad not in sdcard,

that's it
[K3 Note Q&A, Help & Troubleshooting] SkopiX:
I have twrp, but it cannot flash anything ;) same as SP flash tools :) i have chinese k50-t5 +TD LTE so... what can I do next? :( in the link provided thereis no posibiliti to flash via SP flash tools...
[K3 Note Q&A, Help & Troubleshooting] vins66:
Final Answer:- Remove Twrp and install CWM .

Download ROM below link register free download all types of Roms you get ,flash CWM via adb tools from pc,

if this flash dsnt work, then check data cable, learn how to flash from youtube,

http://www.needrom.com/

if there is no possibility to flash it means you have flash via CWM ,to open boot recovery switch off mobile press volume buttons + power button both u get menu CWM ,search ROM from sdcard and update that zip.

Alternative easy to flash:- CWM

http://bit.ly/1Nj74mK

Download K3 note manager
[K3 Note Q&A, Help & Troubleshooting] SkopiX:
ok, I downloaded CWM from rootjunkysdl, tried flash via Flashtools, it said succes, but there is still TWRP, tried to flash it using fastboot flash recovery recovery.img, it said done, but there is still TWRP which cant wipe or flash anything... :(

thank u for all your help and time, please dont abadon me now :( :D
[K3 Note Q&A, Help & Troubleshooting] adikri:
Have you tried service centre..?

Or a shop..?
[K3 Note Q&A, Help & Troubleshooting] SkopiX:
I dont know, what you mean... :(
[K3 Note Q&A, Help & Troubleshooting] adikri:
I mean visit lenovo service centre otherwise a mobile shop..
[Android Q&A, Help & Troubleshooting] oy-ster:
i ask because i deconstructed and built again an app, without changes, using the latest apktool. no errors were shown but the original has installed itself perfectly while the reconstruction had an error.

thank you.
[One (M9) Q&A, Help & Troubleshooting] trance432:
Dears

I've just installed cm13 on my HTC one m9 , my charge was 70% , then I slept , when I woke up at the morning , my charge was 3% , this is really weird .

Anyone knows what is the cause of this proplem ?

And how can I solve it ?
[One (M9) Q&A, Help & Troubleshooting] Roobwz:
install gsam battery monitor and post screenshots here or ill not know whats causing it.
[One (M9) Q&A, Help & Troubleshooting] trance432:
It is stucked at calculating
[One (M9) Q&A, Help & Troubleshooting] Roobwz:
Let it settle down and report back in a couple of hours or something like that
[Amazon Fire Phone] Rayyan91:
I was trying to go back to stock os from cm11 on the Amazon fire phone. Downloaded a stock rom and tried to install using safestrap.

After I pressed reboot the phone turned off but didn't turn back on. It's not responding to anything , not even goes into recovery , but when I connect it to computer by cable , six partitions show up , five of which it says are in need of format , and one contains a folder named image , which has a lot of files.

I'm new to this , got cm by following a simple guide , help pls
[Amazon Fire Phone] ingokabel:
Hi to you all!

I have exactly the same issue.

If I connect the Fire Phone to the Pc there are six partitions that show up. So ADB sideload is not possible any more. Ialready disconected the battery- did not work out

Does any of you have any idea?

Thanks
[Amazon Fire Phone] SohailAzeem:
How come no one answered to this issue since 2016

Good day everyone,

I wonder why this issue was not replied to since 2016 on a professional forum. Is it because its not fixable? :(

I just bought an Amazon Fire Phone 64GB, the AT&T version. I already knew the phone was a complete disaster, but I still bought due to my low budget. Its the SnapDragon 800 series processor which I considered for such a small budget phone. Anyways, I rooted it via KingRoot, installed Safestrap-Kodiak-4.0.1-B01. I then downloaded the Unlocked version of the Fire phone Fireware "update-kindle-35.4.6.6_user_466000820" (since I wanted to avoid AT&T bloatware. I reside outside the States so cant use AT&T, so no use keeping it running all the time and sacrifice my battery) and flashed that. It flashed alright but got stuck after the welcome screen after selecting English (United Sates or UK). I then thought of of reverting it back to its original state Fire OS Ver 3.5, so downloaded "update-fire-phone-121_1.0.1_user_101012120" and now it has no life what so ever. Now it in the same state as mentioned by 2 others on this thread. It shows total 6 partitions with only 1 partition with an "Image" named Dir and a few files around 53MB or so residing in it.

I have snapshots of the Image folder files and the "QHSUSB_Bulk" status shown in Device manager, but I cant seem to find an option here to attach my jpg's here. Gosh! It doesnt get dumber than this. :(

Requesting help from someone who can help me out with anything at all, links, text, vdo's.

I've already downloaded the following files, but dont have a clue what to do with any one of them:(

QPST.2.7.460

Qualcomm_Flash_Image_Loader_v1.0.0.3

SRKtool_2.1_droidth

Qualcomm HS-USB QDLoader 9008 Driver Qualcomm HS-USB QDLoader 9008 Driver2.1.0.4

Qualcomm HS-USB QDLoader 9008 Driver Ver8.5
[Amazon Fire Phone] Android#:
Have you tried going into adb sideload, installing adb drivers and sideloading the stock rom?