yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M7)] luigi311:
Just flashed 4.4.11 and loving it. Heads up for people flashing the front camera is the only one that works and it has a red tint on it even with 3rd party apps. On first boot up during the setup process is searches for a SIM card just leave it, it will eventually timeout and say shutdown or continue. If u don't have access to sprint go to mobile networks, then network type, set it to automatic and u should be good. Other than that this Rom is flawless I was messing with the 3rd party camera apps and mihome crashed but that was just once and it was probably the camera app. I had my home button glitch where it wouldn't function but a simple reboot fixed that. Mms don't seem to send for some reason but it might just be the apns since it's empty
[Sprint HTC One (M7)] salmanati:
ElementalX Kernel Support ?
[Sprint HTC One (M7)] Th3Bill:
Not tested. If u want to test and let me know, that would be good. It will have to be for 4.2.2, so the elementalx 13.1 or 13.5.1 will not work....

---------- Post added at 08:02 AM ---------- Previous post was at 07:57 AM ----------

I'll take a look at it tonight. Since I don't run this ROM during day, I only have chance to debug at night.

---------- Post added at 08:38 AM ---------- Previous post was at 08:02 AM ----------

This is a test fix for MMS. I have a feeling this is what I missed when I was putting ROM together. It's been a while since DH and I worked on this collaboratively, so I'm working to catch up on what was merged and what was not.

Test Fix
[Sprint HTC One (M7)] nwo122383:
I think the camera problem occurs after you have sent out device for repair of camera problem or possibly newer phones that have a different camera module. I was having that problem with the camera but only on jb and lower roms. Camera works perfectly on kit Kat though.
[Sprint HTC One (M7)] luigi311:
It's possible since the sensors are different though I'm not sure if that would apply to front facing camera. Awhile back aosp had the same problem even with other devices so it might be the same problem here
[Sprint HTC One (M7)] nwo122383:
the only thing is it seems to be something with the camera hardware not being compatible with anything but KitKat. i think when they swapped out the camera maybe the camera module has both the front and rear facing camera attached? and this may be causing the problems? The main thing here is that for me before the repair it all worked well i was running this rom (one of my favorites and can no longer run it :crying:) and after i got it back i can no longer run anything but KitKat roms. The camera no longer works on other roms that are pre-KitKat. I have tried quite a few things to get it working tried running different cameras such as camera zoom fx and others but its not an app related problem, seems to be that its a completely different module and it just is not compatible with this if anybody can get it to work that would be great. i have one question though about all this. would this possibly be fixable with a kernel? would there be something in the kernel that could activate the camera module that is being used now? just a thought thats all
[Sprint HTC One (M7)] im0rtalz:
[MENTION=4480697]Th3Bill[/MENTION] Do you know if the HTC One will updated to 4.4.2 base since the nexus 5 is getting official miui beta support soon.
[Sprint HTC One (M7)] Th3Bill:
I'm not on the inner circle of that info, but I would imagine so. I'm certainly hoping so lol

---------- Post added at 08:18 PM ---------- Previous post was at 08:17 PM ----------

Camera module on this ROM is from Sprint based m7 ROM, not the miui base
[Sprint HTC One (M7)] luigi311:
By camera module I think he's referring to the camera sensor that HTC replaces when people have the purple camera issue.
[Sprint HTC One (M7)] Th3Bill:
Ahhh...That I'm not sure of.
[Sprint HTC One (M7)] nwo122383:
Yes that is correct
[Sprint HTC One (M7)] hoebag:
Just a heads up, everytime I activate the voice control or voice command or whatever you want to call it, it stops my buttons from working, all buttons, volume, power, home and back, on screen things still work like the statusbar but I have to reset by holding the power button everytime
[Sprint HTC One (M7)] salmanati:
Guys I Am From India And I am Gsm user And Gsm not Work In This Rom Plzz Guys Help Me I Love Miui Roms Thanks In Advance.. :(
[Sprint HTC One (M7)] luigi311:
In order to get out tap on the icon thing to activate the voice and then tap to stop and then press menu (right above HTC) and the home button should work.
[Sprint HTC One (M7)] hoebag:
So I ran this Rom a few months ago and everything was working ok for me besides having to set the data in dialer to work every time I rebooted but I just downloaded the newest build and can't get it to work right. I can't send sms messages and have data at the same time. If I set lte cdma auto I can send messages and if I set gsm cdma let auto I get data but no sms, what am I doing wrong?
[Sprint HTC One (M7)] 144saint:
That's the same for me...

---------- Post added at 08:24 PM ---------- Previous post was at 08:19 PM ----------

The fix made everything FC
[Sprint HTC One (M7)] 144saint:
It's the thread dead?
[Sprint HTC One (M7)] Th3Bill:
Not dead. I've been really busy lately. Had a bunch of school activities w my kids...then had to re-install OS on my PC due to a stupid move I did...then wife asked me to organize the family collection of digital photos(over 80,000 which I'd been putting off for almost 2 months).

I'm working on a couple things for this release...hopefully something that might get LTE to show proper icon. No promises tho.
[Sprint HTC One (M7)] 144saint:
My mms want working no matter what I did. Tried everything.
[Sprint HTC One (M7)] hoebag:
Has there been any word on v6 lately? I see a beta has made it into the wild with th e nexus, wasn't sure if we know anything else..?
[Sprint HTC One (M7)] Th3Bill:
Ok...delay again....I just got out of the hospital. Blood clot in my right leg. I have a ton of MD appointments and forms to fill out because I'll be out of work for a few weeks. I'll get something done as soon as I can.

No word on V6 yet. I can attempt a port of it based on CM, but that would be without all the great Sense stuff that I like for this device...
[Sprint HTC One (M7)] nwo122383:
Oh man sorry to hear that you take some time for yourself. If you wanna do a port of v6 that would be great otherwise focus on yourself man
[Sprint HTC One (M7)] HarveyStyles:
Is there a regular port of Miui for the M7?
[Sprint HTC One (M7)] Notorious:
What do you mean by regular
[Sprint HTC One (M7)] luigi311:
I think he means official lol
[Sprint HTC One (M7)] HarveyStyles:
From my understanding of this Ron it is a "sense based" version of Miui (correct me if I'm wrong).

Is there a non sense based version?
[Sprint HTC One (M7)] Th3Bill:
Only version of the m7 is sense based at the moment. I may work on a port of aosp based once I'm feeling better. Still a bit under right now.
[Sprint HTC One (M7)] HarveyStyles:
By all means, you take your time to recover. I just did t know if there was another version floating about.
[Sprint HTC One (M7)] slickrick54:
Can't wait bud. I love MIUI and all the devs who put there own time and effort into getting these ports done for us. Thank you all for being awesome and letting us have something to do other than twittle our thumbs up our butts lol!! JK
[Sprint HTC One (M7)] HarveyStyles:
Is there a fix for the non-focusing camera issue?
[Sprint HTC One (M7)] nwo122383:
Any chance of getting a custom kernel for this that would make the camera work after having it replaced. It was reported on a different forum for the gsm HTC one that they have a custom kernel that fixes that problem. Just wondering if there is any way to get the camera working on miui again
[Sprint HTC One (M7)] trev23sks:
No 4.4 plans ahead for miui ?
[Sprint HTC One (M7)] Th3Bill:
Gonna try to port it off aosp or gpe, but it'll be a few days till I get to trying that. Been slowly working on some stuff.
[Sprint HTC One (M7)] nwo122383:
That is awesome if you need someone to help test some things let me know always willing to help
[Sprint HTC One (M7)] nwo122383:
would anybody be able to make this kernel work for us? i would love to be able to run Miui again on my Sprint HTC One.
[Sprint HTC One (M7)] trev23sks:
I cant wait till kitkat comes to miui for the htc one
[Sprint HTC One (M7)] 144saint:
Kitkat dropped for the mi3
[Sprint HTC One (M7)] trev23sks:
I really hope a port comes soon.
[Sprint HTC One (M7)] evrdrandosity:
Any update on any of this? Seems everyone just kinda went poof on this project.
[Sprint HTC One (M7)] fryguy503:
Everyday I log into XDA, I hope that some magical Dev has uploaded a working MIUI rom, alas its all pipe dreams. I think a lot of people have moved to the M8 lately.
[Sprint HTC One (M7)] malexxran:
? I check everyday also
[Sprint HTC One (M7)] thicklizard:
What kind of update are you looking for?
[Sprint HTC One (M7)] nwo122383:
I'm hoping for the miui v5 kitkat update that way my camera would work again that or a miui 6 port
[Sprint HTC One (M7)] thicklizard:
miui 4.8.8 based off android 4.2.2
[Sprint HTC One (M7)] Th3Bill:
Been really busy guys. Haven't had time to even play around with my own phone (m8). 3 kids in school and work just kinda has me behind on everything.

Also, gotta point out that I think Miui dropped the m7 from the v6/kitkat planned development. I read that maybe a month ago. If that's the case, any attempt on that will have to be aosp based.
[Sprint HTC One (M7)] fryguy503:
Thank you for everything you have done, we understand that people have lives and this is not their daily job. As for the state of things, Any working stable version of MIUI for the SPR version would be amazing, Sense or AOSP Based. The biggest issue i have with the current version is the lack of a stable data connection.

Again, thank you for all your hard work and we do understand. Sometimes I wish I had the knowledge to actually help out with these types of ports.
[Sprint HTC One (M7)] fryguy503:
You mind sharing? :D
[Sprint HTC One (M7)] luigi311:
All in good time sir all in good time....
[Sprint HTC One (M7)] thicklizard:
I am not a big miui guy. What are the biggest bugs I need to look for?
[Sprint HTC One (M7)] fryguy503:
The Largest Issue for me is very unreliable data, sometimes I could get it working but it kept requiring a change in *#*#4363#*#* and SMS I do not think ever worked.

I believe the MIUI in this thread is based on a sense 4.2.2 port, so a port of a port.
[Sprint HTC One (M7)] thicklizard:
Well I tried sms last night and it worked didn't try mms. And as for data goes that's probably something I won't be able to test miui is not my rom of choice so I do not run except for an hour here and there
[Sprint HTC One (M7)] Th3Bill:
It's a port of the international sense version, which if I recall correctly is actually source built for the device. They do have a port version, but neither DH nor I used that for a starting point.
[Sprint HTC One (M7)] temo29:
pleaseeeeee update this rom..

:D hi team choco please updte soon i can get my data to work i try evrything it sucks such nice rom..please send me a link when u do u guys are awesome..thnaks

---------- Post added at 10:15 PM ---------- Previous post was at 10:08 PM ----------

hello xda does anybody know a way to fix the data and network problem..i really like miui but its just not working for me ..i do fresh install and then on the first reboot my data is gone no network conectivity..i try evrything..,,please some one got to know something or will the updte come soon..or the stable version even better..team choco thanks for evrything
[Sprint HTC One (M7)] fryguy503:
The rom is not stable enough for daily use as far as I have seen, the data issues are the largest problem.

I know thicklizard said he was doing a little bit of work on it, but I do not know the status.
[Sprint HTC One (M7)] gaara6775:
ROM lags a lot

I just flashed this but its laggy as hell. I have used miui on my xiaomi mi3 and it runs buttery smooth but on my m7 this ROM lags. Why is that? I've disabled animations from developer option still this ROM lags :( .

I was using viperone prior to this then I flashed this one but the home screen transitions are laggy ,I mean its not at all smooth. I changed transitions too still no effect.

Is this bug or did I do anything wrong while installing? :( .

I did factory reset,wipe cache,wipe dalvik - cache, wipe data then flashed this ROM :confused: .

Can anybody help? I love miui :laugh:
[Sprint HTC One (M7)] swerff:
The data issues solved yet? Love to give this a try, just sounds too flaky. Sounds like op isn't maintaining it anymore?
[Sprint HTC One (M7)] fryguy503:
I am dying for an MIUI Rom or anysort that works.
[Sprint HTC One (M7)] swerff:
I tried a few zips. None work correctly with m7spr and data. Works OK for an out of service phone.
[Sprint HTC One (M7)] tamayo:
check this out

http://en.miui.com/thread-11801-1-1.html
[Sprint HTC One (M7)] swerff:
No working 4g. Miui within its own updater won't recognize newer versions, on WiFi or mobile.
[Sprint HTC One (M7)] tamayo:
Hmmmm well the miui 4.11.28 has worked fine for me and it has 4g and all the toys! ? the only two problems is after a reboot you have to dial *#*#4636#*#* and change it from gsm to lte/CDMA (auto prl) AMD you'll get the signal, and the other problem is that if you do the uptade you will mess up the market place speed. I flashed gapps and it worked fine on 4.11 I'm keeping it and it has been good so far... It's been 2weeks heavy use.
[Sprint HTC One (M7)] swerff:
Ohhhh, thought 4g was good right out of the box.
[Sprint HTC One (M7)] digitalhigh:
Hell yeah! What did you have to do to get APN's working??
[Sprint HTC One (M7)] Th3Bill:
Sent you a PM with a link :) Has the files I edited. You'll most likely need the actual rom that was used as the base for this MIUI build so you can edit in the methods that are missing, but once that's done, it could be a winner :)

If you don't have a chance, I'll look at it tonight, but it won;t be until after 930pm EST or so.
[Sprint HTC One (M7)] insuusvenerati:
Tested IR blaster doesn't work. So far the batt life on this us amazing.
[Sprint HTC One (M7)] Th3Bill:
doesn't surprise me...there seemed to be a couple possible things missing there, but right now, trying to nail down the data/apns issue fully so that we can get everything data A+
[Sprint HTC One (M7)] digitalhigh:
Yeah, IR Blaster, Camera editor, other HTC stuff I'm not too concerned with. That's all easy fixes. Once data is working on this jalopy, I will be adding all that stuff back in, plus Aroma, Gapps, Xposed and a ton of tweaks and mods.
[Sprint HTC One (M7)] insuusvenerati:
Well let me know if there is anything I can help with. I put it up on GITHUB just because and I have a mirror setup on my site if you want to use either of those. My coding skills are like 2/10 but I can understand instructions. My phone isn't on a plan so it's just wifi only right now. Wouldn't be much help with testing data but I am going to unlock and run on ATT once [MENTION=498360]Viperboy[/MENTION] gets his app running. So yea just pm me if you want something. I'm stay at home dad so I got lots of free time : D
[Sprint HTC One (M7)] digitalhigh:
Newsflash.

Ext.jar from Ecliptic makes the APN's show up. Still no data, but if you're playing along at home...that's something. Keep you posted.
[Sprint HTC One (M7)] nwo122383:
Awesome looking forward to any and all updates on this
[Sprint HTC One (M7)] ivanmmj:
That's great to hear. Mind releasing the version with the APNs so we can all work from that point? :D
[Sprint HTC One (M7)] nwo122383:
I think he's still working on stuff I for one would rather him keep going if he's on to something, then to take time to package everything up and then upload it. Might be more feasible to just upload the edited files for us to replace in the rom ourselves. Either way I'm good hoping this will be up and running in the near future. I got faith in all involved keep up the great work
[Sprint HTC One (M7)] digitalhigh:
Here you are. To add to system, boot to recovery, mount system, then do

adb push ext.jar /system/framework

Then, just for good measure, I'd wipe data. That should get the APN's showing up. I'm wondering if the stuff in /system/customize is interfering with the default network now. I know there is some radio stuff in there...will check that next.
[Sprint HTC One (M7)] mali85:
Did some testing last night and APN show up under Access Point but under Phone Information it's still not sticking says unknown and which ever mode i assign its changes back to unknown - Getting close great job
[Sprint HTC One (M7)] Th3Bill:
I'm going to work on it some more today when I get a chance....it's probably something simple and stupid that we're overlooking...lol
[Sprint HTC One (M7)] digitalhigh:
Okay guys, I have uploaded two new test builds to my gdrive (link in OP).

clean2_dh.zip and clean3_dh.zip. Clean2_dh is a combination of my stuff and the Chinese release - no data. Clean3_dh is a combination of the Chinese dump, bits from stock ROM, and some of my stuff.

If you're playing along at home, I'd recommend flashing clean3_dh and working from there...it seems to have the most stuff 'right' off the bat.

LMK if anybody gets any further...

Also - it seems I've omitted linking to the source ROM I'm using to compare frameworks...

Here: http://www.androidfilehost.com/?fid=23134718111255830

Been trying to steal from telephony-common.jar to fix it...but nojoy yet. Maybe better minds can prevail.
[Sprint HTC One (M7)] insuusvenerati:
Hey is there any way to add french language to the keyboard? I'm gonna try to pull the keyboard apk from a diff rom and see but IDK if it's going to work.
[Sprint HTC One (M7)] digitalhigh:
I'm sure there is, I just don't know off the top of my head. Once we get data sorted out, I'd be happy to check it out.
[Sprint HTC One (M7)] Th3Bill:
Once data is fixed, it'd be no more difficult than applying the data fix to the multilanguage rom. :)

I'm going to play around with it in a little bit....the gym came first last night fellas and I was wasted after getting home at 11:30.
[Sprint HTC One (M7)] insuusvenerati:
I got it figured out. It was just a matter of pulling the language apk from /system/app over and rebooting. Now I can type and get word suggestions in french : )
[Sprint HTC One (M7)] manup456:
Someone is building the latest version on Sprint anyone ask them?

Edit: just an idea not being a d@$k or anything.
[Sprint HTC One (M7)] Th3Bill:
You mean for the HTC or another device? I'm a bit confused by what ya meant...
[Sprint HTC One (M7)] manup456:
If devs are building on a HTC sprint phone that is anything close to ours and have data working why not ask them. I will find someone because I like miui my self and that's the only thing this device is missing and from what I read the only big issue this has.
[Sprint HTC One (M7)] digitalhigh:
Yes, what do you mean, "building the latest version on sprint"? Latest version of what? If they're building an official Sprint MIUI, then hell yes, i want to talk to them.

But no, no worries, I didn't think you were being a desk.
[Sprint HTC One (M7)] manup456:
Have you tried in the evo lte section I know they have 3.11.22 working not sure if the base is sense but check it out I'm at work so can't do much searching for you. I will look for something for you when I get home today.
[Sprint HTC One (M7)] Th3Bill:
I'll give it a shot later, but as this is a work then gym day, it'll be 11 our later before that happens.

Let us know if you come across anything
[Sprint HTC One (M7)] digitalhigh:
Stll no *$&%*#*( data...but I had this crazy idea yesterday...

So, there seem to be too many differences between our telephony-common.jar and MIUI's telephony-common.jar to get data fully connected. Trying to merge our TC.jar with MIUI's is also not an option because they're so damned different.

But, once I took and compared MIUI's TC against the stock sense ROM for EU devices, I was able to pinpoint the exact changes they made to every single .smali file. Using this new information, I was able to go through our 4.2.2 tc.jar and add in every MIUI hook and change right down the line.

Of course...I screwed something up and am now getting F/C's...but I think between logcat and the sources I now have for comparison, I *may* be able to wade through my mistakes and get this ***** fixed.

If there's anybody else out there who's really good with .smali...I could def. use the help. I feel pretty confident with what I'm doing, but a second pair of eyes wouldn't hurt.

So, here's what I've got. First, a logcat with my merged TC.jar pissing off the Android system:

http://pastebin.com/NcqHqZ96

Secondly, here are the four .jar files needed to get the full picture of what I'm attempting.

telephony-common.jar.out.DHMOD.zip is the final goal, the merged smali, the big enchillada.

telephony-common.jar.out.m7.zip is the stock, unmodified TC.jar for the euro/gsm M7. This is what MIUI changed to make their file.

telephony-common.jar.out.MIUI.zip is the modified version of the euro one. This is what you diff against the m7 TC.jar to see what they put where.

telephony-common.jar.out.m7spr.zip is OUR stock telephony-common.jar. You can diff this against DHMOD and see what I tried to do where, and potentially, what I may have done wrong.

https://drive.google.com/file/d/0B0OpOqUNqeKkaU1Fd0FNcXBVWXc/edit?usp=sharing

And hell, I'm gonna pull out the big guns here and try and get everybody I can think of to look at this. I know we're damned close...

[MENTION=4480697]Th3Bill[/MENTION] [MENTION=5289563]silentstrand[/MENTION] [MENTION=1701520]sk8erboy[/MENTION] [MENTION=2517018]valdesr11[/MENTION] [MENTION=3276448]xadidas4lifex[/MENTION]
[Sprint HTC One (M7)] digitalhigh:
[MENTION=2736147]lbxmobbin_1[/MENTION] [MENTION=3425387]mali85[/MENTION] [MENTION=2399936]Lens_flare[/MENTION] [MENTION=1596076]il Duce[/MENTION] [MENTION=3668547]scott951[/MENTION]
[Sprint HTC One (M7)] digitalhigh:
[MENTION=4449758]cmbaughman[/MENTION] @18006059800 [MENTION=3585174]gruesomewolf[/MENTION] [MENTION=1901336]ebbinger_413[/MENTION] [MENTION=3327168]BMP7777[/MENTION] [MENTION=1948903]AdhvanIt[/MENTION]
[Sprint HTC One (M7)] AdhvanIt:
I/TelephonyRegistry( 759): notifyDataConnection: state=0 isDataConnectivityPossible=false reason='cdmaDataDetached' apn='null' apnType=default networkType=0 roaming=false errorCause=0preConn = []

D/MobileDataStateTracker( 759): default: Broadcast received: ACTION_ANY_DATA_CONNECTION_STATE_CHANGED mApnType=default == received apnType=default

E/AndroidRuntime( 1146): FATAL EXCEPTION: main

E/AndroidRuntime( 1146): java.lang.IncompatibleClassChangeError: com.android.internal.telephony.DataConnectionTracker

I currently have a PC that is acting up. Badly. So I'm pretty useless for the time being, but here's what I can see from my phone that tells me you made an error when merging the MIUI hooks into at least that smali file.

Unless I'm wrong, which is more likely.
[Sprint HTC One (M7)] Notorious:
All RIL is involved in framework.jar. telephony-common.jar is there just for show any changes you do to it dont effect the rom. Thats how it is in aosp miui at least. Right [MENTION=3212538]blackwing182[/MENTION]
[Sprint HTC One (M7)] digitalhigh:
In this framework.jar, there is nearly zero telephony stuff. Definitely no RIL of Phonefactory bits...they did it all in telephony-common.jar, because that's what HTC did.
[Sprint HTC One (M7)] Notorious:
So there is no Ril.smali* and phonefactory.smali in framework.jar?
[Sprint HTC One (M7)] digitalhigh:
That is correct. Literally, not a damned thing. It almost looks like they tried putting their changes in framework.jar like they always do, but then realized it was in telephony-common.jar, but forgot to delete the smali.

http://pastebin.com/ZVewMVT2
[Sprint HTC One (M7)] Notorious:
Then based on advahnts snip of the logcat should be as simple as swapping that smali and if not have to go line by line to find the issue
[Sprint HTC One (M7)] digitalhigh:
Hence why I posted all the source needed (I think) to find the issue. I'm only so good at .smali.