yashsingh1/xdaforums huggingface dataset:
[LG Optimus G Pro] CapnPez:
Have you tried any automating apps like Tasker or Llama? You can set up profiles in those that detect when certain variable conditions are met, such as headphones plugged in and charging. If you have any questions on how to do this, I would be happy to help.

For example, I currently have a Tasker profile that turns on Bluetooth in the morning and once it detects it is connected to the Bluetooth in my car, it increases the media volume to max, lowers the notification volume to zero, and starts Mort for my audio book for my morning commute. In the evening, it starts Slacker radio instead for my commute home.
[LG Optimus G Pro] Dream Reality Syndrome:
Why thank you! Will try this out right now!
[LG Optimus G Pro] Dream Reality Syndrome:
And Tasker seems rather complicated to set up!
[LG Optimus G Pro] CapnPez:
Yeah, I admit Tasker is a bit daunting at first, but once you learn some stuff, it's awesome! I started out using llama, which can do a lot of stuff while still being free. Tasker is just more feature packed and can do other things like creating scenes and even make an installable app.

Just as a quick rundown, Tasker is set up with Profiles, Tasks, Scenes, and Variables tabs. You start with either the profiles or tasks. The profiles set up the conditions of which you want your task to run from. To start, you can ignore the scenes and variables. I think there's even an " easy" or " simple" mode if you want :).

If you would like more help in how to set one of them up, I would be happy to assist. Otherwise, there's a lot of other resources out there with more knowledge than me.
[LG Optimus G Pro] CapnPez:
Just checking to see if you got it to work the way you wanted. If not, I would be happy to help!
[LG Optimus G Pro] Yannick1988:
Any mod for this?
[LG Optimus G Pro] CapnPez:
Sorry, but I'm not sure what you mean. Are you asking about how to use Tasker or Llama to change the notification volume when plugged in?
[LG Optimus G Pro] Yannick1988:
No. I'm asking if there is a mid to flash through recovery to disable notification in headphones when in silent or vibrate mode.

My old phone made a notification in headphone only in "normal mode" and it was better!
[LG Optimus G Pro] CapnPez:
Sorry, but no, I don't know of any mod to apply in recovery. Instead, I have a tasker profile set up so that whenever my Bluetooth headphones are connected, the notification volume is set to zero.

Otherwise, have you used an xposed module like gravity box to make sure your ringtone and notification volumes are linked? I'm not sure, but perhaps that will make it so the notification is muted when in silent or vibrate mode.
[Motorola Photon Q 4G LTE] Comet1966:
Hi, I was wondering if there was something I could edit with the build.prop editor app, to enable the native usb,, and wifi tehering?
[Android Apps and Games] charliebigpot:
I just bought myself a Galaxy S4 Mini and there's only one thing that I miss: notification light.

I knew that also before I bought it but I wonder if there's an app or if it's possible to develop an app which would do the following when the screen is turned off:

Upon receiving an SMS, email, whatsapp, etc. the screen lights up grey/black except for a small strip (here in green) which has different colours depending on the notification type.

The device would still be locked but the screen could light up for 30-60 seconds and look like something like this:

Is this feasible or will I have to live without notification light?
[Android Apps and Games] Pekempy:
One app that comes to mind is Knock² notifications. It doesn't do exactly what you want, but it shows notifications with the rest of the screen remaining blank.

Knock² Free/Demo

Knock² Pro/Full

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

Sent from my MB525

Bayer (Red Lens)

Quarx CM10.1 (Android 4.2.2)

***************************************
[Android Apps and Games] flarpflinger:
I've never used it but I knew my friend had used it on his old phone which also didn't have an LED

https://play.google.com/store/apps/...lt#?t=W251bGwsMSwxLDEsImNvbS5sZWQubm90aWZ5Il0.
[Sprint HTC One (M7)] AdhvanIt:
​

I am proud to present​

MIUI v5 3.6.28 for the HTC ONE​

Huge thanks to [MENTION=2736147]lbxmobbin_1[/MENTION] for this build. He did this thing blind while I've been busy, so go give him props for it.

Installation Instructions

-​

Not Working

-​

Downloads

Old Builds

-​

Changelogs

-​
[Sprint HTC One (M7)] AdhvanIt:
Credits/Thanks

[LIST]
[*][URL="http://xdaforums.com/member.php?u=2736147"]lbxmobbin_1[/URL]-Kicking out the initial port
[*][URL="http://xdaforums.com/member.php?u=2399936"]Lens_flare[/URL]-Being absurdly knowledgeable and always willing to help
[*]The regulars-Thank you for helping maintain this thread while I'm not readily available. You guys are awesome!
[/LIST]
[Sprint HTC One (M7)] AdhvanIt:
I'll take this one too.
[Sprint HTC One (M7)] sharky481232:
WOOOHOOOO!!!!
[Sprint HTC One (M7)] flex360:
love me some miui!!
[Sprint HTC One (M7)] dandan2980:
Definitely flashing this been a long time since I've used Miui
[Sprint HTC One (M7)] mackentosh:
Hungh!!!! -Rick Ross
[Sprint HTC One (M7)] SantinoInc:
Yeah kid...you and LBX know I've been waiting for this badboy for long while! Happy 4th everyone!
[Sprint HTC One (M7)] AdhvanIt:
As soon as we get SMS fixed, it'll be daily driver for sure. Also. GPS does work. I lied in the OP.
[Sprint HTC One (M7)] HTC_M7:
Sprint just got the first miui for htc one!!
[Sprint HTC One (M7)] sharky481232:
You didn;t lie in the OP that was completely my fault.... you can blame me for sure on this one.
[Sprint HTC One (M7)] travisd4est:
Been looking forward to this. Thanks
[Sprint HTC One (M7)] SantinoInc:
Is flashing gapps mandatory to have Play store working or is optional?
[Sprint HTC One (M7)] Anon9mouz:
Woot woot now for the att one son

_____________________________________________
[Sprint HTC One (M7)] HTC_M7:
Yep. Unless u put phonesky.apk in system/apps before you flash
[Sprint HTC One (M7)] Carbajal3009:
Nice nice. No SMS? Really? :o well that's a bummer. Will be following this closely though. Good job guys, much appreciated. :D :beer:
[Sprint HTC One (M7)] Anon9mouz:
Any one try go SMS yet to see if that might work??

_____________________________________________
[Sprint HTC One (M7)] Littleazn248:
I will definitely be trying this out as soon as some people try it first. I wanna make sure this rom doesn't act up and brick my phone. As for the SMS issue can't you just use Google Voice?
[Sprint HTC One (M7)] Slamone11:
I'm excited to try this when the SMS is confirmed working!! :fingers-crossed:
[Sprint HTC One (M7)] AdhvanIt:
Google voice works. Not sure about any other SMS apps though. It's in the works as we speak.
[Sprint HTC One (M7)] tgearman:
I just messed my shorts - haven't been this excited since...

Ever!!!

going to start putting together my Thank You donation fund now. Well, right after I clean up... :eek:

Sent from my HTCONE
[Sprint HTC One (M7)] digitalhigh:
But patchrom is technically designed to show you the compile errors. If we have another device with qualcomm 400 chipset and adreno gfx, then it's not impossible to build a patchrom from another device. Especially if we have a CM version to check against.
[Sprint HTC One (M7)] AdhvanIt:
What he's actually suggesting is merging patchROM code into the Sense frameworks. There's no need for a similar device, that's what patchROM is designed for. Patching MIUI over your devices stock ROM..
[Sprint HTC One (M7)] HTC_M7:
That's true tho. But a similar device makes it a lot less of a pita. You would be patching so much in the frameworks no? But wat do I know lol.
[Sprint HTC One (M7)] digitalhigh:
No, you're absolutely right. It would be a massive undertaking. But it is what patchrom is designed for. Plus, as a member of the official porting team, I could possibly get access to resources that could help with the endeavour.
[Sprint HTC One (M7)] HTC_M7:
Ann yes. True. Well hopefully they decide to get htc one added to patchrom and it will be less of a pita. Good luck!! And thanks.
[Sprint HTC One (M7)] SantinoInc:
AOSP or Sense based...you guys have my moral support! :cyclops:
[Sprint HTC One (M7)] eyeisdasteve:
Is there anyone who is working on the sms issue?
[Sprint HTC One (M7)] AdhvanIt:
Yup. I think I found the issue too, I should have the build updated and released tonight.
[Sprint HTC One (M7)] gmfeny:
Patience my friend

Cant wait. I unlocked and rooted my phone when I seen you started miui but I still haven't flashed any rom.... This will be the 1st on my one
[Sprint HTC One (M7)] SantinoInc:
You good sir, are the man!
[Sprint HTC One (M7)] Bairdog35:
Ooooo that was good news to wake up too!
[Sprint HTC One (M7)] eyeisdasteve:
Awesome. :cool::D:beer:
[Sprint HTC One (M7)] xdominic:
I'm in the exact same boat!
[Sprint HTC One (M7)] digitalhigh:
What was the problem?
[Sprint HTC One (M7)] AdhvanIt:
Stupid. MIUI uses RIL from both telephony-common and framework.jar where AOSP only uses telephony-common and doesn't even have the RIL files in framework.jar. Just needed to merge the two.

Now to fix this weeks WebKit errors... Should be fun.
[Sprint HTC One (M7)] AdhvanIt:
[MENTION=2446455]im0rtalz[/MENTION] I see you lurking... You're on the One now?
[Sprint HTC One (M7)] Notorious:
You're welcome ;)
[Sprint HTC One (M7)] AdhvanIt:
Seriously. Thank this guy..
[Sprint HTC One (M7)] eyeisdasteve:
Thank you good sir! :cool:
[Sprint HTC One (M7)] eyeisdasteve:
Hopefully I can flash this before work tomorrow. :p
[Sprint HTC One (M7)] im0rtalz:
yes I am :)
[Sprint HTC One (M7)] joefx13:
Stiiiiiiiill waiting lol
[Sprint HTC One (M7)] CNexus:
Now help me get RIL working on the Sense 5 port! :D

Sent from my S3 on Sense 5 (you jelly?)

---------- Post added at 02:50 AM ---------- Previous post was at 02:45 AM ----------

Also, could you post the names of the exact smali files you added/merged? Thanks.

If not, I can just diff the two builds.

Sent from my S3 on Sense 5 (you jelly?)
[Sprint HTC One (M7)] HTC_M7:
Those ril files are not related to sense 5. Miui rils wont work with sense especially because they are aosp based, plus they will be different methods. Post a radio logcat.
[Sprint HTC One (M7)] CNexus:
Yes, they will. AOSP works with everything dude. People say that you can't boot Sense with an AOSP kernel and other things like that...well, I must be breaking the laws of nature or something because I do that everyday.

Anyway, yeah.

Thanks in advance [MENTION=1948903]AdhvanIt[/MENTION]

Sent from my S3 on Sense 5 (you jelly?)
[Sprint HTC One (M7)] mikef:
Thread Cleaned

Thread Cleaned. No further political commentary please as it has nothing to do with mobile phone development.

Thank you,

mikef

XDA Senior Moderator
[Sprint HTC One (M7)] ValdreZ:
I think I have a problem...

I keep refreshing this thread like once an hour haha.
[Sprint HTC One (M7)] mackentosh:
You not the only one :D
[Sprint HTC One (M7)] eyeisdasteve:
Agreed.
[Sprint HTC One (M7)] SantinoInc:
Yeah, like u guys said. If I were the kind of guy to ask about ETAs now would be a good time. :D

Waiting patiently for the goodness to roll in.
[Sprint HTC One (M7)] eyeisdasteve:
I never ask for eta's....

But....

Yea..
[Sprint HTC One (M7)] tgearman:
I'm just grateful for whatever, whenever. Thanks for all of your efforts on our behalf.

Sent from my HTCONE
[Sprint HTC One (M7)] eyeisdasteve:
I also agree.
[Sprint HTC One (M7)] naturecannon:
Who is that below?? The OP lurking or one of you guys waiting for MIUI? :laugh::laugh::laugh:
[Sprint HTC One (M7)] AdhvanIt:
I lied.

Still no SMS. :/

As soon as DH gets the device, I'm going to see if we can bang our heads together a bit to get this thing going properly...
[Sprint HTC One (M7)] SantinoInc:
Crap. Thanks for the update though dooooood
[Sprint HTC One (M7)] travisd4est:
Random thought, maybe see if sir brainmaster may be able to assist. If you don't know the man and his miracles with miui, then I'd ask around.
[Sprint HTC One (M7)] digitalhigh:
Is there actually a user called "Sir Brainmaster", or are you referring to me? :D

My One *should* be delivered to my house today. Unfortunately, I have band practice, so I won't be home till like 8:30 at night. Then there will be dinner, then I'll have to gain S-off, root, install recovery, etc.

So tomorrow...I will be playing. ;)
[Sprint HTC One (M7)] travisd4est:
It's just "brainmaster" haha
[Sprint HTC One (M7)] digitalhigh:
LOL...

Gotta love the joys of whacky forum names. Never know if it's a clever handle or a term of endearment. ;)
[Sprint HTC One (M7)] SantinoInc:
Hail Sir BrainMaster, aka BrainMaster, aka digitalhigh...may he slay the evil SMS bug and liberate the MIUI nation! :victory:
[Sprint HTC One (M7)] BREWGIRL03:
Hi can you tell me if go sms works to send and receive messages and does 4g work?

Sent from my One using Xparent Pink Tapatalk 2
[Sprint HTC One (M7)] SantinoInc:
negative, negative GhostRider. If it were we wouldn't be hounding these guys about fixing SMS.

Edit: sorry, missed the LTE part of your question. It is working but I haven't used it on this ROM firsthand.
[Sprint HTC One (M7)] tc2007:
I thought 4G was working. I have switched back so cannot confirm again.

These are not working for sure

1. SMS

2. File Exp.

3. Voice Rec.

4. GPS (unless you install after keeping the lock on from previous rom)
[Sprint HTC One (M7)] eyeisdasteve:
:(:(:(

I wanna use Miui!
[Sprint HTC One (M7)] joefx13:
Lmao same here. One day, one day. Maybe I'll revisit this in a couple weeks and something will be fixed. As of for now, I give up hope :/
[Sprint HTC One (M7)] eyeisdasteve:
Yea. It's been pretty slow around here.
[Sprint HTC One (M7)] gmfeny:
Well adhvanlt can't figure out mms and digitalhigh was suppose to be getting his one yesterday but still needed to unlock it so he said he wouldnt get a chance to look at it until today. These guys have lives you gotta give them time. Lol atleast give him until tmrw before you hassle him!!!
[Sprint HTC One (M7)] AdhvanIt:
Did you get the link I sent you the other day with the 3.7.12 build? It has a maguro base.

Be careful with what you do in framework-jar /com/android/internal/telephony. If you do something it doesn't like, you'll lose your MEID, have to flash CM and set the network mode to NV, then restore a stock ROM and run hands-free activation on it. It's a PITA.
[Sprint HTC One (M7)] digitalhigh:
Picked my baby up today from the UPS center. Already S-off, rooted, and have CWM. I'm downloading now to test. Did you include Yellowpages.apk fro the 7.12 build? It's necessary for CDMA devices to work properly.
[Sprint HTC One (M7)] SantinoInc:
Awesome, happy you have the phone up and running already. Out of curiosity may I ask why you chose to go with CWM as opposed to the more popular TWRP?
[Sprint HTC One (M7)] AdhvanIt:
Yeah, it's included.

I removed the just remembered I forgot to fix NFC before uploading. Removed the apk so I could read the logs (vs adding the libs, since it wasn't intended to be permanent).
[Sprint HTC One (M7)] digitalhigh:
I had issues with Aroma/MIUI and TWRP on Evo 3D. I would really love to have 4ext recovery again.

Okay, I'm digging right in here...

First thing I notice is in framework.jar

Here:

framework.jar.out\smali\com\android\internal\telephony\cdma\sms\BearerData.smali

has a number of calls to SmsMessageBase in 3VO, but GSMalphabet in ONE. I'm going to try pointing to the smsmessagebase again...seems like a likely candidate.

Might take some monkeying, but I'd suggest checking it out.
[Sprint HTC One (M7)] digitalhigh:
Hmmm...

So, tried the base you sent me, Adhvanlt, and I think the current release is a lot more stable. I'll be working with this to try to fix SMS. Same thing with this build tho - lots of calls to that GSMalphabet insted of SMSMessageBase. Also, as was mentioned, no HTCQualcommRIL.smali in current. I'm downloading V5 for JEWEL (4G LTE), which should be a lot closer in antenna composition than EVO. Maybe I can find the magic sauce there...
[Sprint HTC One (M7)] AdhvanIt:
I missed HTCQualcommRIL in this one? Damn... I was up pretty late that night trying to get SMS working.

Current release is far more stable, presumably because of the base. As for bearerdata, it was replaced with the one in CM10.1 7/8 nightly, as I've not seen any newer builds with radio working properly.

I'm out with the kids now, but when I get home, I'll hit you up on hangouts to see where you're at.

So far, I've spent about 20hrs fighting with SMS over the last week. :-\
[Sprint HTC One (M7)] digitalhigh:
Might not be around too much tonight...kid's got teeball, and then we're going out for dinner. Then tomorrow night, band practice...thursday evening I'll be on. But then again, I'm mildly obsessive, so who knows. :D

But yes, HTCQualcommRIL.smali is definitely missing.
[Sprint HTC One (M7)] AdhvanIt:
Lol well get a hold of me when you're free and we will see what we can get done.
[Sprint HTC One (M7)] eyeisdasteve:
So excited right now.
[Sprint HTC One (M7)] SantinoInc:
Nice to see knowledgeable minds collaborating
[Sprint HTC One (M7)] Alex1123:
I've been waiting for miui and have been watching this a lot i cannot wait till sms works but i have a question didnt cyanogenmod make someway to use google voice from the sms app? couldnt something like that also be implemented into miui? actually heres what was on the cyanogenMod google plus

Koushik Dutta originally shared:

Just got Google Voice working through the stock SMS app in +CyanogenMod.

(and every other third party SMS app as well)

Basically, this means if you are running +CyanogenMod, you can text to/from your Google Voice account using a normal SMS app (GoSMS, Handcent, Chomp, etc).
[Sprint HTC One (M7)] shadd01:
Can't wait to load this on my phone (once SMS is working). Anyone else see the irony in the splash image saying there are unparallelled SMS features?!
[Sprint HTC One (M7)] AdhvanIt:
Not sure that this is really feasible without an incredible amount of knowledge of smali. I'm not nearly that good...

However Gvoice does work for SMS. So there's always that for right now.. :)

Lol.
[Sprint HTC One (M7)] digitalhigh:
Eh...not that hard. If this makes it into regular CM10 repo, then gets passed on to MIUI builds...in theory all we'd need to do is make sure to include Babel.apk and presto. Option 2 be would be to gram Koush's middleware commits and try to port them into our MMS.apk directly.

ATM, I'm downloading our stock ROM to decompile and do a three-way compare against CM10 and our current MIUI release. I think I know what's going on with file explorer, and think it may help in deciphering SMS issues too. :D
[Sprint HTC One (M7)] digitalhigh:
And I'm just pushing my first test build to my device...

Added the Xperia Z keyboard, 4.3 Google camera with photosphere, removed a bunch of unnecessary (and possibly problematic) .APK's, grabbed some RIL libs and VOLD stuff from 20130717 CM10 nightly, updated boot.img with a few things, modified some telephony stuff in framework.jar...

Let's see if this helps at all. *fingers crossed*
[Sprint HTC One (M7)] HTC_M7:
Isnt this rom cm10.1 based?
[Sprint HTC One (M7)] AdhvanIt:
Yes....
[Sprint HTC One (M7)] SantinoInc:
If all of these modifications leads to a working MIUI will you and Advhnlt be releasing right away? Please say yes!
[Sprint HTC One (M7)] tgearman:
Patience, Grasshopper, as your eagerness may be misconstrued as impatience.
[Sprint HTC One (M7)] digitalhigh:
It is, as is the base I'm comparing against. I just omitted the .1 cuz I'm lazy. ;)

That's not entirely up to me.

For Adhvanlt:

So, I'm thinking the Jewel framework.jar might hold the key to fixing SMS. Maybe. I see they have special calls there to differentiate between CDMA and GSM devices. I compiled one framework with no errors that puts most of the calls to GSMAlphabet back to SMSMessageBase...still hasn't fixed the problem...but no F/C's or anything either. So, I'll keep digging deeper. If I don't get anywhere today, I'll gmail you the modified framework.jar and let you take a crack at it...
[Sprint HTC One (M7)] AdhvanIt:
Sounds good.

I've actually been comparing with the droid DNA, as they first ported from mine and got everything working. Their telephony-common.jar has a number of additional smalis replaced with those from CM that I didn't change.

As for the GSMAlphabet changes, it makes sense. The log I posted up on page 39 shows a language issue.

E/SmsReportService( 1986): Language is not available.
[Sprint HTC One (M7)] digitalhigh:
I see that error. But I think that's actually another symptom, not the error that denotes the problem. Look...right before that, it says this:

D/SmsReceiver( 1983): sms ack received, uri: content://sms/2, result: 1

V/SmsReceiverService( 1983): onStart: #1 mResultCode: 1 = SmsManager.RESULT_ERROR_GENERIC_FAILURE

Personally, I'm starting to get a headache from reading so many damned smalis. :P

Edit: Which telephony-common.jar are you using?
[Sprint HTC One (M7)] AdhvanIt:
That's how I've been feeling since the first release. Would be a whole lot easier if these logs would tell me where the error is. Of course, that would be too easy...
[Sprint HTC One (M7)] xdominic:
Useless post: We're chomping at the bit here guys. Thanks so much for your work.
[Sprint HTC One (M7)] Da1stig:
Patiently waiting for this rom . PM me if you want someone to test (dont care about bricking my phone)
[Sprint HTC One (M7)] SantinoInc:
Lmao...that's hardcore! Respek!
[Sprint HTC One (M7)] digitalhigh:
Well...haven't fixed SMS yet, but I was playing around at home, and was delighted to find that Koush's middleware patches are, in fact, already built into our current CM10 build. I've isolated most of the classes already, and should be able to get them working with no issue.
[Sprint HTC One (M7)] SantinoInc:
I have no idea what most of that is about but I'm happy that you're happy about the middleware patches (huh?) :eek:
[Sprint HTC One (M7)] digitalhigh:
It means the potential to connect third party sms apps directly to the stock app.
[Sprint HTC One (M7)] JBurlison:
Thanks for the hard work. I have been using this ROM over the last few days and here are some bugs I found.

1. Setting the network mode (mobile data) don't work properly.

2. Older wireless versions b/g don't connect. N works fine.

3. About fc in system settings and advanced options.
[Sprint HTC One (M7)] CNexus:
From OP.

Sent from my S3 on Sense 5 (you jelly?)
[Sprint HTC One (M7)] SantinoInc:
Just a useless post to bump my beloved MIUI back to the top where it belongs.
[Sprint HTC One (M7)] AdhvanIt:
It'll get back up top, don't you worry. I know DH has been spending some time hunting through RIL stuff and backporting the international One build to see if that might help solve this silly sms mystery.

I've also been spending entirely too much time working on this thing. I'm taking a break for a couple of days. Reading through all of that smali over and over is tiresome...
[Sprint HTC One (M7)] SantinoInc:
Yeah, I can definitely see how time consuming it must be for you guys to try crack this problem. I imagine it being like a difficult Sudoku puzzle that you just can't put down despite knowing that you're spending too much time on it. I'm sure that if I was in the business of porting/developing I would dedicate way more time than I should trying to make it just right. Thanks again to you guys for spending your free time on this beautiful headache we call MIUI.
[Sprint HTC One (M7)] eyeisdasteve:
I thank you guys as well. Can't wait to see this working!
[Sprint HTC One (M7)] XaoSilentrzk:
Well... I've been watching this thing like a hawk and it's annoying me that SMS refuses to want to be figured out... So... Lets get the bounty started on cracking SMS and them other broken features. I'll start with $5

Sent from my HTCONE
[Sprint HTC One (M7)] SantinoInc:
To be honest I think these guys are working as hard as they can on this SMS bug but it's just taking some time and research. Having said that I commit at least $5 as well to the cause. It will be well deserved.
[Sprint HTC One (M7)] HTC_M7:
GE version released by NT Team. i say port from that once data working. may give u less issues