yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 Edge Questions and Answers] Cooper.G:
Thank you for your patient.

1. I tried your code, and I was wrong about the permission, it says PERMISSION_DENIED. but I think this is not the problem for this question.

2. Did you tried my code ? The way that I asked for "WRITE_SETTINGS" is really work for ringtone, altho

private boolean checkWriteSettingsPermissions() {
String permission = "android.permission.WRITE_SETTINGS";
int res = getContext().checkCallingOrSelfPermission(permission);
return (res == PackageManager.PERMISSION_GRANTED);
}

said "PERMISSION_DENIED" , but it's really changed the ringtone ! If you not believe this, please try by yourself, and you can see from the setting - ring and vibrate - ringtone , you can see the result.

3. After several times try, I figure it out now... both way(manual and auto set by code "setMyRingtone()") of set the ringtone will work on the phone if have the permission of "Settings.System.canWrite(this)", but only work for the Ringtone of SIM 1, not work for SIM2. you can see the result form the setting page(only the ringtone for sim1 will change). if the ringtone still play the default ring of system, the problem probably is the metter of URI .

4. Before I post this thread, both way won't change the result of ringtone from the setting page of the phone, but as I said , you can see the result form another third part application.(this problem most probably is that I only use one SIM card at that time, did I put it into sim2? I don't know, already forget... but now if I put it into sim2 the ringtone form the setting page of the phone never change, but from the log of the code you can see the result is correct actually.)

5. Now the problem change into "How to create a standard URI and how to change the ringtone for SIM2". I will try to work on it.

6. Sorry for my pool English, and sorry for the "messy" code, I will improve it.

Anyway , thank you. you r the only one who helped me... Wish u luck.
[Samsung Galaxy S7 Edge Questions and Answers] nicholaschum:
I had the ringtone added on my MediaProvider but not set as the current one, I believe AOSP and TW deving is different.

When I mentioned "messy" I meant just copying and pasting the code into the forum, use

tags next time so it formats perfectly! :good::highfive:
[Samsung Galaxy S7 Edge Questions and Answers] Cooper.G:
Thank you !
[Samsung Galaxy S7 Edge Questions and Answers] gotoark:
Hey Have you found the solution..?
[Upgrading, Modifying and Unlocking] Sorensen:
Hi,

My French inlaws have given me an iPAQ hx2790b but unfortunatly it has the french os on it and my french is pretty bad :(

I am trying top convert to english but haven't been able to get this sorted. Microsoft and HP have been no help.

Please help - I'm deperate here.

Thanks
[Upgrading, Modifying and Unlocking] nokistein:
Look at the thread of upgrading to WM6. You have WM5 so it is easy, rename a file and done.

Good look.
[Upgrading, Modifying and Unlocking] Beef2000:
Hello Sorensen, if you have the french rom, i would be really interested ;)
[XDA Assist] MrMoistWalrus:
Was wondering if I would be able to create a ROM that is pure android for my Samsung Galaxy A7 (SM-A700YD)?

Thanks
[XDA Assist] Saber:
Hi,

Thanks for using XDA assist.

Please review The Purpose of XDA Assist [Please Read]. This is a forum where new users can be directed to the correct forum for help, it would be best to ask developers that already develop ROMs for your device.

Thread closed.

gsstudios
[HTC 10 Questions & Answers] masi0:
Just took out HTC10 from the box, fresh install and I have noticed that BACK button light is not working

I have googled for any solution and only found this: http://recomhub.com/blog/how-to-fix-htc-10-back-button-not-working/ which does not help me as I dont have those options

Any suggestions?
[HTC 10 Questions & Answers] nobnut:
I don't know what kind of drugs the person that wrote that webpage was on. The correct menu option can be found under Settings > Display, gestures & buttons.
[HTC 10 Questions & Answers] masi0:
there are no options to disable/enable lights on buttons
[HTC 10 Questions & Answers] nobnut:
No one said there were.
[HTC 10 Questions & Answers] masi0:
so is this hardware issue with the phone then? right button light is just fine
[HTC 10 Questions & Answers] nobnut:
Unfortunately it sounds like it is a hardware issue.
[HTC 10 Questions & Answers] masi0:
I have connected 10 to my car audio to test mirror link.. after a while I have noticed that back button has a light. After few hours it does not light anymore. Maybe it's more like a software issue then?

Wysłane z mojego SM-T815 przy użyciu Tapatalka
[HTC 10 Questions & Answers] Zzan:
Could be software but I would lean toward hardware issue with the power system of the phone. That LED is not getting enough juice to stay lit, its poser dropping off faster than the rest of the phone. If it is an electronics issue it may get worse/spread over time and use.
[HTC 10 Questions & Answers] masi0:
Not necessary a hardware issue. It works again when I turned on light near me.

Will observe during weekend

Wysłane z mojego SM-T815 przy użyciu Tapatalka
[HTC 10 Questions & Answers] karhuk:
I have Sprint version and can opt to have button lights on only when pressed or when screen is on.

Under Settings>>Display, gesture & buttons>> Navigation Button backlight option>> Auto off when inactive or always on when screen on?

You don't have this option? Or its not working?
[HTC 10 Questions & Answers] nasrunefendi:
this problem solve? i've back/multitask light off and not function ,this must be hardware problem? where i can buy for the flexible back/multitask?
[Moto E Q&A, Help & Troubleshooting] ngm2378:
I'm on 2014 moto e rooted with CM13...have tried to flash various zip for dolby atmos/ viper...but none of them seem to work...any clues
[Moto E Q&A, Help & Troubleshooting] jukebox355:
try switching your selinux to permissive to make vipre work
[Moto E Q&A, Help & Troubleshooting] piku 123:
Try lollivipre from here

http://xdaforums.com/google-nexus-5/themes-apps/discussion-viper4android-t2543796

It will work on enforcing too.
[Moto E Q&A, Help & Troubleshooting] paul vity:
this subforum is for development, not for consultations, for that is the general forum

Enviado desde mi Moto E mediante Tapatalk
[Zuk Z1 General] Kiristiba:
Hi,

Qualcomm released new drivers for our graphics chipset.

Alexey71 from the galaxy tab pro forum packed them up in a onetime flashable zip.

http://xdaforums.com/showthread.php?p=67041939

For me it fixed a problem with green purple embedded videos

and it bumped my antutu score by 2k. :)

Credits go to Qualcomm and Alexey71
[Zuk Z1 General] sherlok81:
Is there a driver update available for Lollipop based ROMs as well?
[Zuk Z1 General] Kiristiba:
Hi, no sry, only for marshmallow.

I didn't write in in the op, it's a beta release. Perhaps they will release new lollipop versions when they are going final.
[Zuk Z1 General] Kiristiba:
New Version online

http://xdaforums.com/showthread.php?p=67537098
[Zuk Z1 General] sahu.prashant:
Anyone saw any improvements after flashing the drivers?
[XDA Assist] johndemike:
Hi, I downloaded kingroot from this website and rooted my phone without thinking ahead, I struggled but I managed to eventually solve the probelm by unlocking the bootloader :crying: now I'm faced with another issue, my wifi and dual sim card aren't working, I pressed alot of place to get my phone working before I unlocked the bootloader, i even did -fast boot flash flash recovery, ( that might have been where i got the problem with the wifi and sim) Anyways I would appreciate if you could help me get my wifi and sim working again, I have motorla 2gen dual sim, Australia . Also where can I download the lastest stock firmware 6.0 , I don't feel like rooting my phone anymore, this is way more complicated than jailbreaking on iphone.
[XDA Assist] Saber:
Hi,

Thanks for using XDA assist.

Can you please confirm that you are using the Motorola Moto G 2nd Gen Dual Sim? This is so I can direct you to the correct forum so experts may help you.

gsstudios
[HTC 10 Questions & Answers] indie1982:
I used my M8 in the car a lot but most of what I need involves Car Mode being active on the phone, it was no problem with the M8 as the HTC car kit contained a USB cable that enabled Car Mode when you plugged it in.

HTC assured me that the 10 was compatible with Car Mode and it was the dock part of the Universal Car Kit that activated Car Mode and not the USB cable. Their Universal Car Kit only comes with a Micro USB Cable and not Type-C cable that the 10 needs. Turns out it's most definitely the cable that activates Car Mode and not the action of placing it in the dock, so as there only seems to be normal USB Type-C cables on the market I can't get Car Mode to activate when I use the phone in my car.

Does any one have any ideas? HTC's social teams online are useless, even after telling me that the 10 was definitely supported for Car Mode when it wasn't they just kinda shrugged it off with no real answer.
[HTC 10 Questions & Answers] nobnut:
It isn't installed on the HTC 10. They lied to you.

You will have to install them from this http://xdaforums.com/htc-10/themes/patch-one-patch-missing-sense-apps-t3362787 but you will need to unlock your bootloader, flash TWRP and flash it through recovery.
[HTC 10 Questions & Answers] spicypixel:
Alternatively android auto in app mode will be out soon and likely sufficient.
[HTC 10 Questions & Answers] indie1982:
Sorry I should have been more specific, I'm not on about the "HTC Car" app, I'm on about triggering a Car Mode action dock event.

A lot of the apps I use function better when they're triggered by a dock event from Android system rather than being triggered by a Bluetooth or charge event.
[HTC 10 Questions & Answers] nobnut:
LOL

Easy. If you want to trigger car mode, just install an app that does just that. My weapon of choice would be Tasker. That way, you could trigger via an event or anything else really (e.g. bluetooth connection, NFC tag, whatever you like).

You could even simulate a dock event.
[HTC 10 Questions & Answers] indie1982:
Thanks, I'm having a look at Trigger, it looks like I can get it to trigger a car dock event when it sees that the phone connect to the car's Bluetooth AND is charging. And then it'll send an undock event when it disconnects from the car's Bluetooth and stops charging.

Will see how it goes when I get in the car later!
[HTC 10 Questions & Answers] JeffreyJDavis:
You may also like the Drivemode app. I'm using it on HTC 10 and it works pretty well. Triggered via BT connect to your car, but seems to trigger reliably.
[HTC 10 Questions & Answers] Souldrinker:
I'm not using a HTC10, but found this thread when looking for the same thing as the thread creator here. I also used my HTC One M8 up until about a month ago with the HTC Car dock and the "special" cable that triggered car mode. From what I can see from this thread: https://forums.androidcentral.com/epic-4g-accessories/64959-what-triggers-car-dock-mode.html, it seems like the magic to trigger car mode is that the cable have a 619K resistor between pins 4 and 5 on the micro usb cable.

Does anybody know if something similar is valid for Type C usb cables and in that case where to get those kind of cables?

Since I got my new phone (which unfortunately was missing NFC, so I can't use RFID stickers in my car dock) I've used a Tasker profile to enable bluetooth on "Power AC" (=wall charger or 2.1A car charger) and then another Tasker profile to enable car mode when it gets connected to the car bluetooth, but this means it takes quite some time before my car home app gets started since the phone first has to enable bluetooth and wait to connect before launching the car app as opposed to with the M8 that triggered car mode immediately when the USB cable was being plugged (by docking the phone) and then let the car app enable bluetooth.
[Galaxy Note 4 Q&A, Help & Troubleshooting] isDefeated:
Hello all I'm on Lollipop now and I'm rooted. Should I upgrade to 6.0.1? Are there root methods for marshmallow?

Will the xposedd module work? Because I need to download the module that enables private mode and shealth
[Galaxy Note 4 Q&A, Help & Troubleshooting] zabhi:
Yeah why not .? 6.0 much better than 5.0

You should try new features :)
[Galaxy Note 4 Q&A, Help & Troubleshooting] isDefeated:
Ye I want to try it but I'm concerned about the root and closed if they will work
[Galaxy Note 4 Q&A, Help & Troubleshooting] gun26:
Yes the most recent cf-autoroot works fine. TWRP also installs fine. Battery life will be appreciably better due to doze mode. I don't think it will be a problem.
[Galaxy Note 4 Q&A, Help & Troubleshooting] cacingbesar:
well, if you already rooted, then you can try some stock-base custom ROM.

Just now, I flashed 6.0.1 stock ROM via ODIN.

Now Note 4 has screen off memo! Yay!

CF Auto root works so fine with 910H 6.0.1, so I think I'll stay with stock ROM for a moment.
[Galaxy Note 4 Q&A, Help & Troubleshooting] zabhi:
Everything thing is working fine just try
[Galaxy Note 4 Q&A, Help & Troubleshooting] isDefeated:
Cool ?

Just one more thing im using ios emojis with modded google keyboard apk, will this be an issue on marshmallow? Cause i heard that marshmallow is more strict
[Galaxy Note 4 Q&A, Help & Troubleshooting] Rajada:
good point, mm does not allow emojis
[Galaxy Note 4 Q&A, Help & Troubleshooting] isDefeated:
really???
[Galaxy Note 4 Q&A, Help & Troubleshooting] Eudemony:
what's this then? http://xdaforums.com/galaxy-s6/themes-apps/mod-unicode-8-emoji-6-0-1-compatible-t3267939
[Galaxy Note 4 Q&A, Help & Troubleshooting] abdel310:
Can you please tell me how to root i am on 6.0.1 official and i cant find cf auto root for 6.0.1
[Galaxy Note 4 Q&A, Help & Troubleshooting] cacingbesar:
you can use CF autoroot for 5.1.1

it works for 6.0.1 too.
[Galaxy Note 4 Q&A, Help & Troubleshooting] nine5raptor:
If you are set up the way you like, then why change? I'm on 4.4.4 with a dark theme, lots of xposed modules, custom fonts, greenify root (which means I don't need doze) , and security via appopsxposed. I don't think marshmallow really offers me anything. Have MM on my nexus devices and prefer 4.4.4 still on the Note.

Sent from my 910T running FireKat 4.4.4.
[Galaxy Note 4 Q&A, Help & Troubleshooting] abdel310:
thanks man . do you have by chance the 5.1.1 BL and modem for 910h cause i wanna downgrade from mm to 5.1.1 ??
[Galaxy Note 4 Q&A, Help & Troubleshooting] cacingbesar:
I dont have it. But I think I saw it somewhere in xda. Try to use google.

Or if you have plenty of internet bandwidth, you can download samfirm (from xda too) to download a stock firmware directly from samsung. And flash it with odin.
[Galaxy Note 4 Q&A, Help & Troubleshooting] abdel310:
i already downloaded the stock firmware 5.1.1 but i cant find the BL and modem 5.1.1 i already checked on google but no luck :(
[Galaxy Note 4 Q&A, Help & Troubleshooting] cacingbesar:
correct me if I'm wrong...... but I think the original firmware already has bootloader and modem in it.
[Galaxy Note 4 Q&A, Help & Troubleshooting] Hashiba Hoo Haa:
Hold if you can. Horrible battery drain on Canadian update (rogers). If you read a bit, all releases are experiencing this. And the culprit is Android System that is using max battery.

No fix reported for this yet.

My phone battery has dropped from full day plus to barely half day at 21% remaining.
[Galaxy Note 4 Q&A, Help & Troubleshooting] abdel310:
i'm not sure i read in xda that if you downgrade and dont flash the bl an modem 5.1.1 you will get bootloops
[Galaxy Note 4 Q&A, Help & Troubleshooting] thehawk73:
Some one can update test about battery draining wit MM 6.0.1 compared to Lollipop ?

Witch is the best custom rom based on MM 6.0.1 stock ?
[Galaxy Note 4 Q&A, Help & Troubleshooting] cacingbesar:
the best custom ROM? there is no such thing.

you gotta try it yourself, and make decision.

battery draining? I got no problem.

I'm using erobot ROM for 910H, a bit laggy, but I love note 5 apps in it.

combined with greenify's aggresive doze, Its awesome. my phone sleep so deep.
[Galaxy Note 4 Q&A, Help & Troubleshooting] kolembo:
Heh. No update for H.

I don't know if I mind actually.....
[Galaxy Note 4 Q&A, Help & Troubleshooting] Hermankzr:
Don't you know that on MM we got all the same function on air command and some function like on Note 5.

Screen off memo & scroll capture

It's worth it..

Plus theme support even though it's just a mod.
[One (M9) Q&A, Help & Troubleshooting] Mr Davo:
Hi All,

Because my phone is only capable of booting into 'download mode', and unable to boot into any custom ROM I made the decision to try and set it back to stock.

Towards this end I have attempted to install the 0PJAIMG.ZIP file (from here) by booting my phone with the file correctly named and on the root of an SD card. Doing this presents the message below -

I then press on the Volume up key and after a short time I am presented with the error message below -

I thought that the error above may have been related to the bootloader being unlocked. I therefore proceeded to relock the bootloader (fastboot oem lock) and attempted to flash the ZIP file again. However once more I was met with the error screen above.

I am quite stuck now! Not only will my phone not boot into any custom ROMs, but it cannot reflash to stock either. I am thinking that not S-OFFing the phone before unlocking the bootloader and installing TWRP may have been my downfall.

At any rate if anybody can shine a light from the other end of the tunnel it will be grealy appreciated.

Kind Regards,

Davo
[One (M9) Q&A, Help & Troubleshooting] squ89r97:
And what firmware were you on, is it the matching firmware you tried to flash?

What recovery do you currently have?

A bit more info about your phone would help people to help you.
[One (M9) Q&A, Help & Troubleshooting] Mr Davo:
More information - TWRP version...

Hi squ89r97,

Thanks for your interest in my post. I can state that I am using TWRP v2.8.7.0. However I am uncertain of how to determine the firmware version. Perhaps the screen capture below will shed some light.

I have been considering mounting then extracting a firmware file from one of the bin files inside the RUU file (any thoughts on this approach are welcome!).

On a related note when I unzip the RUU file which I downloaded I do not get correct file sizes for the bin files.

Here is a screen capture when looking at the file using WinRAR -

Then once I extract the files in the archive I see the following -

I am using Windows 10 to perform the unzipping. Should I be looking at any earlier version of Windows or perhaps Linux (Ubuntu)?

Any further help here would be fantastic. I have made about four other posts concerning my phone in various threads, and at the moment I am quite concerned that I am stuck with a 'very sexy paper weight'!

I have flashed ROMs onto many HTC devices before (HTC Sensation, HTC One X, HTC One XL, HTC Velocity) and not been confronted with this issue.

Kind Regards,

Davo
[One (M9) Q&A, Help & Troubleshooting] Flippy498:
The custom roms don't boot because your firmware is too old. You need firmware 3.x for most of the current versions of the custom roms.

Your firmware is stated in the line with OS at the beginning (2.9.841.5). You can't use the RUU you linked in your first post since with S-ON you can only flash RUUs with the same or a higher firmware version than your phone. Besides winrar isn't able to handle RUUs correctly if they're encrypted (which are almost all of the M9 RUUs). You need 7-zip and the "right-click > open > #" method. Nevertheless it would be easier to use a tool like the one presented in this thread: http://xdaforums.com/chef-central/android/tool-universal-htc-ruu-rom-decryption-t3382928

If you're not able to find a RUU you will need to either flash an older version of a custom rom (viperone m9 3.x for example) and then get S-OFF via sunshine to be able to downgrade your phone with the RUU from your first post or you search for a TWRP backup for your current firmware and follow the instructions in my signature (it's in the google sheet) or you use llabtoofer's RUU service to get back to stock (you can find it easily with google or if you read page one of my sheet). However after you installed the latest 3.x firmware on your phone you should follow the instructions "make your own backup" which can be found in my google sheet so that you're able to return to stock without much hassle the next time.
[One (M9) Q&A, Help & Troubleshooting] Mr Davo:
Hi Flippy498,

Thank you very much for your insightful response. I am going to start by installing an older version of ViperOne ROM. Will then (hopefully) S-OFF using the Sunshine apk.

I feel like there may be a 'light at the end of the tunnel'.

Cheers

Davo
[One (M9) Q&A, Help & Troubleshooting] Mr Davo:
I have successfully installed ViperOneM9 version 2.3.0. Will now wait until pay day before using the Sunshine S-OFF method. Then plan to return to stock, followed by an OTA to Marshmallow firmware, and finally installing the newest version of Viper!
[One (M9) Q&A, Help & Troubleshooting] Mr Davo:
Hi Flippy498,

I am now S-OFF (pay day was yesterday...yippy!). Last night I tried to use the RUU from my original post (by putting it [correctly named] on the root of my SD Card), onto the phone. I booted into 'Download mode' and followed the prompts...everything appeared to work fine. However when I booted the phone it went straight back into the Viper ROM that I had installed earlier. Furthermore I checked the firmware version through settings, and unfortunately nothing appeared to change.

Should I try the RUU using fastboot, or am I 'barking up a tree that isn't there' (as a Tibertan monk once said)?

Any further help would be greatly appreciated.

Kind Regards,

Davo
[One (M9) Q&A, Help & Troubleshooting] Mr Davo:
HOLD THE PRESS!

Just booted into 'Download mode' on my phone again (Vol Down + Power), and noticed that a couple of extra things were installing (had only hoped to enter Bootloader!). Once they finished I rebooted again...and...stock ROM (complete with Telstra icons) is installed again!!! Now for OTA updates to Marshmallow (preferably through Telstra!)...

Then...eventually onto the newest version of Viper ROM!
[One (M9) Q&A, Help & Troubleshooting] Flippy498:
Sorry, I didn't have the time to answer. A RUU always only flashes some partitions and then reboots before it flashes the rest. On earlier firmware versions the M9 rebooted to download mode automatically. Don't ask me why HTC changed that behavior so that the phone now reboots to the (old) system instead.
[Tilt, TyTN II, MDA Vario III General] nstefanelli:
Hey guys

been looking around for a while and can't seem to find the new apps that at&t has put on the tilt. i would like all of the apps because they not only look good, but as far as i know right now they are newer versions. id appreciate any links to something that you may have seen that hasn't caught my eye. Thanks
[Tilt, TyTN II, MDA Vario III General] nstefanelli:
BUMP to the top
[Tilt, TyTN II, MDA Vario III General] kavi:
Sticky item 34 :)

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

Direct Link

http://www.mediafire.com/?cyxmzytzrwr
[Tilt, TyTN II, MDA Vario III General] nstefanelli:
those are the same ones that i had already, i was looking for the newer ones extracted from the cingular rom of the kaiser
[General Accessories] John Chen:
[IMG="magnetic USB"]http://imagizer.imageshack.us/v2/150x100q90/924/jsfz69.jpg[/IMG]

[IMG="magnetic USB"]http://imagizer.imageshack.us/v2/150x100q90/921/LC5IJa.jpg[/IMG]

This magnetic USB cable is really good? No harm to the phone?
[General Accessories] denNorske:
it wont be a problem using magnets as long as they aren't really really strong :)
[General Accessories] John Chen:
Thank you!