yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M7)] Alex1123:
Do you know if this will have the option to use gsm connections like on sense ROMs it apparently was added into cm10.2 but I haven't had much luck with that working however on sense ROMs it works well i use my sim unlocked HTC one from sprint on T-Mobile
[Sprint HTC One (M7)] digitalhigh:
IDK right now. The build I have booting has mobile network settings greyed out right now. Will post tonight after I know more.
[Sprint HTC One (M7)] Alex1123:
Alright thanks for the info can't wait for this rom I've been watching this thread now for a while haven't used miui in so long, thanks for your hard work I really appreciate it
[Sprint HTC One (M7)] digitalhigh:
Well thanks, but I'm mostly just a glorified kanger with a little .smali knowledge. ;)
[Sprint HTC One (M7)] digitalhigh:
Status Update:

Still working on trying to get errything working. I'm on my seventh build - lots of trial and error and failed boots, but I'm also learning what needs to be done where.

Still not 100% what their source build is, but I'm leaning towards the GE m7ul. Tried throwing a number of proper CDMA kernels at it and nothing boots - but I'm downloading the nocturnal GE edition as I type this, which I hope will prove to have the special sauce needed to port theirs correctly.

Once I have a booting port with working data, wifi, and camera, I will be opening a new thread and posting screenshots. Unfortunately, Xiaomi has stated that their beta testers are not allowed to redistribute beta versions...so, even though this is technically a port, I will not be releasing anything publicly until theirs is out of beta. I don't want to lose access to their downloads, which would only hinder further development on my end.

However, I *may* be PMing a few people regarding a test version, but that will probably be restricted to those people who are MIUI.en beta members. Maybe.

So, stay tuned.
[Sprint HTC One (M7)] nofriendsbz3:
I cant wait for this to work
[Sprint HTC One (M7)] im0rtalz:
I already message then to remove me from the beta test since I would not be able to test it. I rather have the spot be given to someone who could actually test.
[Sprint HTC One (M7)] digitalhigh:
I'd message back and say nevermind. I hope I can have something for people in our boat to test yet this evening, and people like you would be the prime candidates. Hell, I could post a link in their official download thread, then anything I release for testing would be 100% legit. ;)
[Sprint HTC One (M7)] nwo122383:
I would love to test but never got the opportunity to I guess I don't have enough mi credits
[Sprint HTC One (M7)] tgearman:
I just want some MIUI goodness on my handset. It's been a long time and I miss it so.

God speed, DH. You're my hope!
[Sprint HTC One (M7)] Th3Bill:
I'll most likely be getting this device by next weekend. I have experience with MIUI (have worked on Photon, Atrix, and Infuse builds for MIUI.us and MIUIAndroid) and may be able to help if you want. Let me know.
[Sprint HTC One (M7)] digitalhigh:
Slowly but surely...
[Sprint HTC One (M7)] YoungCorruptionV2.0:
It looks so beautiful
[Sprint HTC One (M7)] im0rtalz:
:good: awesome, I'm really excited about this I did mess around with the rom as is but nothing works and I have no idea what to do any how. Glad you got picked/

I did play around with the beta rom from en.miui but of course data does not work for me neither did wifi, but the camera wow htc camera is still in with Zoe. Sense base miui just seems to have it all once everything works. The button settings from sense is still there too.
[Sprint HTC One (M7)] sharky481232:
If you need a tester I'd be happy to help.
[Sprint HTC One (M7)] mali85:
I am also interested in testing this awesome ROM
[Sprint HTC One (M7)] -TheEdge-:
Well im excited i havent tried miui sincebi had sammy
[Sprint HTC One (M7)] digitalhigh:
I am pleased...excited...delighted...fuc*ing EXUBERANT to report that I have successfully ported the chinese release to our device with data, wifi, camera, sound, and SMS working.

I will be opening a new thread shortly, please PM me if you were selected as an Xiaomi beta tester, and I will get you a link.
[Sprint HTC One (M7)] Alex1123:
Any idea if it'll work on gsm service in the us? Sense based Roms seem to work cm10.2 and 11 seem to work only outside the us on the sprint HTC one while on GSM
[Sprint HTC One (M7)] digitalhigh:
Radio and telephone bits are based on Nocturnal's GE edition for the M7spr. So, whatever works on that should work on this?
[Sprint HTC One (M7)] Alex1123:
Hmm we I heard he had a patch for people on gsm not sure if that was true well either way once its your release this I'll probably check it out thanks

---------- Post added at 07:17 PM ---------- Previous post was at 07:16 PM ----------
[Sprint HTC One (M7)] Bairdog35:
Dang I wish I was apart of that beta... Oh well! Great work :)
[Sprint HTC One (M7)] digitalhigh:
You could always apply now, I know they often ask for more testers each consecutive week.

Otherwise, it shouldn't be too long before it goes official and I can release either way.
[Sprint HTC One (M7)] Bairdog35:
Well count me in where is the link to apply??:highfive:

Edit: Balls nevermind, I don't have 50 credits :( I'm not even registered over there haha!
[Sprint HTC One (M7)] tgearman:
I knew you were The One! Can't wait to slather some MIUI goodness all over my handset. Thanks for all you do for us, DH!
[Sprint HTC One (M7)] tc2007:
Excellent job!!!

Any idea on GPS :)

Normally GPS gets borked on Miui :crying:
[Sprint HTC One (M7)] digitalhigh:
http://xdaforums.com/showthread.php?t=2523987

GPS works. DL Link in new thread.
[Sprint HTC One (M7)] xdominic:
Cant wait!!!
[Sprint HTC One (M7)] digitalhigh:
Well, that whole debacle was interesting, wasn't it? On the bright side, I was able to get this week's version going very quickly, so I think weekly ports should be a snap. They decided to add the MIUI Keyboard that is actually a ripoff of the xperia keyboard - but very nice. I've contacted the fellow who does the GE port for our device, and he thinks he can help me make the necessary framework changes to completely get data going. I've got the rest of my stuff set aside so I literally just have to decompile a few MIUI frameworks then copy everything into it and recompile.

I've also resurrected my Aroma installer and got it set up for preliminary testing. I've updated all the extra apps that came custom with my previous MIUI, and plan on incorporating options to replace the MIUI launcher with the Google one if so desired. I've got hangouts doing SMS too, so that's neat. Uh...what else. Beats support is there, but was missing the libs. WAS. I'll be testing that this weekend too. Oh, and IR blaster. I think it actually works in the build I just made, but the HTC app f/c's because there's a missing color definition in the statusbar or something little. I should be able to find that and fix it in time as well.

Still no ETA on when it comes out of beta, but I'd expect it's in the next few weeks. In the meanwhile, I'll be fixing this baby up, polishing the extras, and popping out one hell of a ROM.
[Sprint HTC One (M7)] digitalhigh:
A little update...

Got aroma installer firing correctly on all cylinders. I've updated the splash and theme, as well as got in the latest gapps, the option to replace mihome with google launcher, the option to add hangouts, and the usual goodies (adblock, kernel tuner, goo.im updater, maps, playstation certification, and youtube. These are all optional, and can be omitted if you so desire.

I have added the GE live wallpaper picker, bravia engine, and a bunch of performance tweaks to init.d. I have tested the IR functionality with Smart IR Remote, and it appears to be working correctly. I tested beats, and got no errors in logcat or f/c. All camera functions work including Zoe and video recording. I've also added DSP manager from GE, which seems to work as well. There is also logo2menu, and a soft menu that shows up for apps without the threedot.

So...yeah. I would say that pending the data fix, this puppy is easily on par with my Evo 3D version, minus the kernel chooser. And kernels are next on my list. :D
[Sprint HTC One (M7)] tc2007:
You have breathed a new life on the HTC ONE :)

Any idea on the data bug? If possible can you put a bare-bones version with MIUI ROM + Recovery Option + GApps to keep the package size down?
[Sprint HTC One (M7)] digitalhigh:
You mean the overall download? The ROM and Gapps are really the bulk of the programs...unless you mean IR support and wallpaper picker, which are more like missing features than anything. The way the installer is set up, you can choose to install whatever you want - just gapps and system if that's what you pick.

I honestly don't know for sure what the data bug issue is, but Gruesomwolf did the port of Google Edition from M7 to M7spr, and he initially had the same issue with data and MMS. So, I could poke around and guess at how to fix it, but he's already had this problem and knows where to look for the cause(s). I've sent him the frameworks, and imagine he's literally working on the fix right now, if not soon. Once he gets it, I'll have him show me what edits need to be made each week, then just set up a template that can be used over and over again.
[Sprint HTC One (M7)] tc2007:
Yeah overall download. Not a big deal if I guess :)
[Sprint HTC One (M7)] tgearman:
I haven't even unlocked my One yet, but I'm gonna soon. :) Super excited for this!
[Sprint HTC One (M7)] digitalhigh:
Been working on fixing data, amongst other things. PM me with your gmail address if you'd like to be my guinea pig.
[Sprint HTC One (M7)] reesedizan:
Delete
[Sprint HTC One (M7)] tapout27:
Pretty excited for some MIUI on my One
[Sprint HTC One (M7)] digitalhigh:
Thanks everybody for the PM's - I'm good with testers for now. If you messaged me and I didn't reply, I will probably be messaging you when the next test build is ready. Thanks again.
[Sprint HTC One (M7)] digitalhigh:
Well...I've got good news and bad news...

The bad news: Still no fix on data. Tonight, if time allows, I plan on digging deeper into the frameworks and playing "spot the differences" between m7spr GE and m7 GE. Also hoping that [MENTION=3585174]gruesomewolf[/MENTION] can bring his magic over so I can avoid having to guess my way to a fix.

The good news: Lots of progress on the customization front. Had an issue in framework2 where it would bootloop with xposed framework installed...worked with Rovo89 today and figured out what Xiaomi screwed up to break it. Made the patch he recommended, and I've now got Gravitybox, Tinted Status bar, and the MIUI Toolkit all running perfectly. So there's that at least.

I'll keep you guys posted as far as data is concerned.
[Sprint HTC One (M7)] kraminc:
Woops
[Sprint HTC One (M7)] tc2007:
Just a low priority problem I noticed: There is no support for Live wallpapers on this rom. That option is not visible from anywhere.
[Sprint HTC One (M7)] manup456:
What ever happened to the original owner of this rom? Does he not have the device or something?
[Sprint HTC One (M7)] im0rtalz:
He no longer has the HTC One he is currently on the moto x I believe.
[Sprint HTC One (M7)] digitalhigh:
That's correct. He's planning on coming back to the ONE when he can tho. I actually talked to him quite a bit last night - he helped me fix an issue I had with my device that even Sprint couldn't fix. Hell, it's a good story, so here goes...

So I was working on trying to fix data, and I was monkeying around with apns.xml in framework-res. I still don't know what the hell I did, but I rebooted after pushing the new framework-res.apk over, and it bootlooped. Tried to get into recovery...no recovery. I didn't panic...I've accidentally overwritten my recovery partition before...so I fastboot flash a copy of CWM I have sitting around. Still no recovery. Now I panic...just a little. Do a fastboot erase cache, then data...still nothing. Finally do a full RUU. Boot into stock ROM...no data. No phone. No nothing. My phone number is blank, and my MEID is all 1's and 0's. Crazy. So I try to update profile, update PRL, re-activate...nothing works. RUU AGAIN. Still nothing. Call sprint. They have me do a master reset, updates, etc. Still nothing. Try to manually reprogram my number in IMSI, it fails. They give me the number for tier 2. Tier 2 is just as useless...same steps, nojoy. They tell me they're gonna ship me a new one for nothing...even tho I was completely honest and told them what I was doing. You know, because I thought maybe providing some technical info on what I was doing would help. LOL, no.

So, new phone is on it's way. I'm screwed, trying to do a data fix on a ROM with a device that has no data. Hence the beta testing.

Rest assured - I never used any of the framework-res stuff I was using with the copy I uploaded for testing - I'm my own guinea pig first and foremost.

Anyway - so I'm like three days in, waiting for the new phone and still trying stuff. I see ol' Advanhalt is on Gtalk, and I share with him the same sordid story.

He proceeds to tell me he had the exact same issue trying to fix SMS on his build - right down to the RUU and reprogramming. Then, he tells me that he fixed it

just by flashing CM10

. Nothing else required. So I tries it, and presto. 3G. (Not on MIUI, on CM10). Effing uncanny. I *did* have to flash back to Sense and reset my SCRTN stuff (##72786#) to fix Phone and SMS, but now I have a fully working device again. All because I flashed CM10.

So if anybody else happens to do this to themself...CM10 is the answer. And if anybody else happens to know WHY this happened, I sure would love to know, because it still just blows my mind. I've been doing ROM stuff for a while now, and I've never worried that a mod I'd make to the framework would cause such havoc. Hell, I'm embarrassed it even happened. But whatever.

Still working on data...Looking at APN stuff and comparing to the original MIUI build. I'm sure it's something simple, and that I'm going to kick myself when I figure it out.
[Sprint HTC One (M7)] AdhvanIt:
http://xdaforums.com/showthread.php?p=43322320

Lol. This kicked my ass for a solid minute when porting from Mako initially.
[Sprint HTC One (M7)] digitalhigh:
I sent you the files I've modified to get this booting and everything thus far...the xposed fix isn't in there, but I can grab that, it's just two method changes in framework2.jar. Nothing major.
[Sprint HTC One (M7)] im0rtalz:
CM11 work for me with this weird data issue. I was doing the same thing trying different things on my own. Finally gave up and restored back to my nand backup of sense and to find out that I lost celluar and data, but for some reason lte would still work fine. I could no longer make calls or send text, my phone number was unknown in about phone status etc. It was late in the night so I thought I would just give up and try RUU the next day but then I was like might as well try cm11 and voila somehow it was working again.
[Sprint HTC One (M7)] digitalhigh:
Well, looks like I may be on to something here...

Really dug through the official MIUI last night, and I discovered in the init.d folder a startup script with a line that mentions "Android Revolution HD". What's cool is that at least for their 4.3 release, the GSM version has all the stuff needed to make it CDMA right in the installer.

Unfortunately, the link for their older releases is down right now, so I've asked the developer for the download link for 4.2.2. Best case scenario, it's set up the same way and all I need to do is grab the bits and put them in our version.

Worst case scenario, there is no 4.2.2 setup, and I've gotta look elsewhere.

But still, it looks like part of the issue may be that I've been looking at the wrong release for our source files. So, if time allows tonight, I'll be digging in with this new knowledge and seeing where I get.

Fingers crossed...
[Sprint HTC One (M7)] digitalhigh:
Well, looks like we're dealing with the worst-case scenario. As I suspected, there is no 4.2.2 stock Sense ROM (or a port of it) for our device. If there is, I can't find the damned thing. About the closest thing we have is the GE ROM by [MENTION=3585174]gruesomewolf[/MENTION], who still hasn't gotten back to me on the changes he made to firmware to get data going.

I wanted to work last night on this stuff, but wound up spending most of my time searching for a 4.2.2 Sense ROM for M7spr with no luck, and downloading 1GB ROMS from slow servers.

So, currently, I'm trying to collect a few different ROMS for comparison - the 4.1.2 and 4.3 releases of Android Revolution HD and this week's beta release, then I'll be trying to hodge-podge them together to get the files we need. Still not sure what is causing the APN issues, but I do see that Xiaomi has hardcoded APN settings into framework-res.apk, which means I'll probably be taking that stuff from the Revolution ROMS, and then using the binaries and libs from GE.

Hopefully, between having some new files to compare against and a little better understanding of what Xiaomi did, I can get data fixed this weekend.
[Sprint HTC One (M7)] iskatebad45:
I remember when the GE ROM was out there was a port with working data at the same time. Here's the link to the svn of the ROM. Hope this helps man.

http://xdaforums.com/showthread.php?t=2374670
[Sprint HTC One (M7)] digitalhigh:
Yes sir, and the google edition is what I used to get the port this far. But, if you look at the framework-res of the MIUI ROM and the fres of the Google Edition, the GE version has the APNS defined in system\etc\apns-conf.xml. In the MIUI Version, they put them in APNS.xml and compile it into framework-res...because it's based on Sense. So, it seems like there are different methods in the framework to call the APN information and figure out what the radio is talking to. This is just how HTC does it. I found this out by reading this post here.

But, the incredibly helpful [MENTION=3425387]mali85[/MENTION] was kind enough to point me to the ecleptic ROM, which I'm now about to merge with this week's beta of MIUI and see if I can't get data working. I hope this helps. It's 4.2.2 sense, and just in looking at the stuff in telephony-common.jar, I see a lot more similarities than I have between the other ROMS I've examined.

So, that's gonna be my Friday night. WHOOO...roms. :P
[Sprint HTC One (M7)] iskatebad45:
Oh man! I was way tired when I posted that. The SVN was for the stock 4.2.2 port they had going at the same time as the GE port. Gruesome was helping on both sides as I recall. If you need a fully stock one, definitely check out the link. Best of luck man. Let me know if you need any more resources. I'm no Dev but I've been lurking long enough to know what/where to look.
[Sprint HTC One (M7)] im0rtalz:
delete
[Sprint HTC One (M7)] jblaze10:
hey dh, when you get this thing up and running, what's the chances of getting the gangem boot ani? or at least an option to use it. still my fav to this day, thx man.
[Sprint HTC One (M7)] avwheeler:
Hawksnest and indirect were the only two that I recall working, Hawksnest worked very well. However think GW and the two sense based all worked together. Same kernel would work on any of the three. Hope you find what you need.
[Sprint HTC One (M7)] digitalhigh:
Well, I'm giving up on fixing data. I've tried a bajillion different things, but just can't get it. I've spent countless hours downloading, decompiling, editing, staring, and just getting frustrated at various levels of failure. I'm done.

With that said, I was contacted today by a member of the chinese forum who says they were able to fix data. XD

I've seen the screenshots, and either he's got it working, or they're photoshopped. I'm guessing he's got it working. So, I should have that in my hands in the next few days, then I will be figuring out what needs to be changed so I can do weekly releases based on official. This means I can focus on the other little things - xposed tweaks, extra apps, kitkat gapps, etc. I've also been working on my nightfrost theme...it's already updated for XXHDPI devices, I've added themeing for the latest gapps...should be fun.

So yeah. The wait is almost over. I wish I could say it was me who got it first, but I'm just happy to be able to focus on improving what's there - not fixing base functionality.
[Sprint HTC One (M7)] nwo122383:
Thank you for all your hard work and dedication. even though you were not able to get it i know that you put in way more time than you wanted to for this. Maybe once you get the build from the member of the chinese forum you will be able to find out what the issue was or maybe he would let you know. at least that way you would have closure on the matter. again thanks for all your hard work.
[Sprint HTC One (M7)] digitalhigh:
Oh, I'm sure. Now that I look in my inbox, it's the same fellow who messaged me a while ago asking for the first beta I released. So I'd guess that it's using my base plus whatever framework fixes were required. Should be interesting to see.
[Sprint HTC One (M7)] ivanmmj:
Once you figure it out, I'd be curious to find out what the fix was.

Did you mention anything else other than data that wasn't working?
[Sprint HTC One (M7)] digitalhigh:
I'm bout to kick myself in the as$. This is what happens when one doesn't read every single file thoroughly:

Your MIUI ROM brush, modify the ACC in the default.xml Rootexplorer.

1) Modify:

<item type="boolean" name="data_icon_t3s_show_h_for_3g">flase</item>

Change:

<item type="boolean" name="data_icon_t3s_show_h_for_3g">true</item>

2)System restart！

Like...seriously? I'm astonished, angry, and happy all at the same time. Okay, so I'm primarily hung-over right now...but still. If you've got the beta, I'd wager making this one change to build.prop will fix you up. I have yet to flash it and try for myself, but if you've got the beta already and a text editor, I'd suggest giving this fix a whirl.

Once I've had my coffee and this splitting headache subsides, I'll be putting together an updated version with the fix and the 11.22 release files.

Rejoice peasants...for MIUI may be fixed. :D
[Sprint HTC One (M7)] nwo122383:
I will try this and report back as soon as i get the file edited and the rom flashed and see what happens.
[Sprint HTC One (M7)] im0rtalz:
I already tried no go ;p
[Sprint HTC One (M7)] digitalhigh:
PROOF!! Hummminnneeeeeeeyayaaahahahahahahaha!

However, the fix I posted is not all of it. Even what he sent me didn't fix it on mine. I had to download his release and install it. And it's a twrp backup, so kind of a weird method ATM.

But, I've got it installed now, and I'm doing a full system dump now, then we'll see what's up. I'll have a download available for you guys in a few hours here. :D
[Sprint HTC One (M7)] nwo122383:
cool sounds good i have tried the fix mentioned and as mentioned it did not work i was also trying a few things in the data menu changing the settings and seeing if that would help but to no avail. any chance of posting the twrp backup of just the system portion? or would that have some of the account and sensitive information in it? also do you think this will be uploaded soon or for the time being should i just revert to nandroid backup of previous rom?

cool looks like it has the single signal bars versus the annoying double signal bars thats a plus
[Sprint HTC One (M7)] nofriendsbz3:
You good sir have just made my day... I missed MIUI ROM for so long. I can start deving some themes and lockscreens for it again... WOO HOO

Thanks for your time and hard work... its much appreciated.
[Sprint HTC One (M7)] tc2007:
This didnt work for me. Are you sure this is the only change?
[Sprint HTC One (M7)] nwo122383:
it was tough to find the default.xml there are a few different ones this one was located in /system/customize/ACC the line is towards the bottom but not all the way at the bottom. i did try the fix but it alone did not work DigitalHigh says hes got data working with this fix and another fix that was not mentioned in this thread. So, i would just wait until he releases it. I tried the fix and tried a few things under the data menu and nothing would work. there must be something crucial that goes along with that to get it working. hope this helps you locate the file.