yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M7)] Alex1123:
That would be like porting from a sense rom and this aosp based isn't it. Remember the Google edition Rom is basically like a sense rom without sense the kernel is sense and I believe some of the framework is Sewell which is why the sense camera has been ported over to the Google edition.
[Sprint HTC One (M7)] digitalhigh:
Best MIUI build I ever released was sense based. Battery life was phenomenal, and it had working 3D camera. (Evo 3D). All official MIUI builds are almost always based on the stock ROM for the device.
[Sprint HTC One (M7)] Alex1123:
Oh I see lol see last time I used Miui was on the galaxy nexus and galaxy s2 and back then it was all aosp based
[Sprint HTC One (M7)] XaoSilentrzk:
You misread. I know they are working hard, but some unknown forces refuse to want to be figured out (SMS)...

Sent from my HTCONE
[Sprint HTC One (M7)] ProfessorAnomaly:
You'll have to decompile some firmware to get SMS working.
[Sprint HTC One (M7)] AdhvanIt:
Either I'm misunderstanding you, or you've missed the entirety of this discussion. Both kernel and framework need to be decompiled, modified and compiled again to even get this port to boot. Let alone fixing a plethora of other issues that you run into after it boots. This is not just a stock based winzip ROM...
[Sprint HTC One (M7)] SantinoInc:
Adhvanlt, is there a chance that you and digitalhigh would even consider doing a SENSE based MIUI if this current builds mms problems can't be figured out? I can tell by your and digitalhigh's post that it would probably be a pretty time consuming feat.

In the interim I may snoop arourd MIUI.us to see if there is someoner over there that can help with this build.

Thanks again for your work on this guys!
[Sprint HTC One (M7)] digitalhigh:
But I decompiled the stock framework-res.apk and made everything lime green. I iz leet haxor.
[Sprint HTC One (M7)] AdhvanIt:
I haven't really looked into this, but I may give it a shot if he's up for it...

I CAN HAZ CANDY APPLE RED VERSION OF UR ROM??!

Getting those lines just perfect on the .9.png's totally warrant releasing your theme as a ROM...
[Sprint HTC One (M7)] digitalhigh:
I can maybe do the red, but only of the rest of team bangarang is on board.
[Sprint HTC One (M7)] XaoSilentrzk:
Wait a minute... What is the difference between a sense based MIUI and sense based?

Sent from my HTCONE
[Sprint HTC One (M7)] AdhvanIt:
Stock based MIUI will allow us to keep stock features like camera, and other fun Sense related stuff. They're usually better performing and have better battery life than AOSP based MIUI as well.
[Sprint HTC One (M7)] XaoSilentrzk:
I'm no dev, but wouldn't it be better to build the sense one? Sounds like the AOSP one is just a headache

Sent from my HTCONE
[Sprint HTC One (M7)] AdhvanIt:
It takes a lot more work. It's merging patchROM code into Sense framework and applications. Which wouldn't be so hard were it not for the lack of any similar devices supported. It's just going to take more work than you might think right now.
[Sprint HTC One (M7)] Da1stig:
i know nothing of being a dev but why not copy the firmware from another phones build like the Evo LTE ?

Btw theres gotta be a program thaat let me atleast read my texts
[Sprint HTC One (M7)] HTC_M7:
Evo lte is 4.1.2
[Sprint HTC One (M7)] XaoSilentrzk:
Oh... Thanks for enlightening me sir

Sent from my HTCONE
[Sprint HTC One (M7)] digitalhigh:
What firmware? Firmware is device-specific stuff for radios and other low-level devices. It has absolutely no bearing on this scenario.
[Sprint HTC One (M7)] AdhvanIt:
Google voice will allow you to send and receive texts.

Also. the post above. You're thinking framework. Firmware doesn't get modified, except in the case of flashing an engineering bootloader, or other such shenanigans that have are by no means ROM specific.
[Sprint HTC One (M7)] kcstier:
Where do I sign into my google account on this ROM?

Where do I sign into my google account on this rom and where is the play store?
[Sprint HTC One (M7)] SantinoInc:
You have to flash the Gapps right after you flash the rom otherwise you will be missing the Play Store and the other essential Google related apps.

Link to Gapps should be right under the ROM link in the OP

Be advised that SMS/MMS is currently not working unless you use Google Voice
[Sprint HTC One (M7)] kcstier:
So this ROM is still beta?
[Sprint HTC One (M7)] SantinoInc:
IDK how you want to classify it but SMS is not working.
[Sprint HTC One (M7)] kcstier:
Is anyone working on SMS/MMS ??? For this ROM? When do we expect a fix?

When can we expect a fix for this?
[Sprint HTC One (M7)] SantinoInc:
No ETA ATM. They have numerous things to fix it but they haven't worked.
[Sprint HTC One (M7)] gmfeny:
Lol when they figure it out.... Seriously theyre not holding back on releasing a fix. They haven't figured it out yet. Once they figure it out I'm sure it will be released immediately
[Sprint HTC One (M7)] kcstier:
Also, Settings Storage

Storage doesn't work as well, and this rom won't sync to my computer to put files on the phone.
[Sprint HTC One (M7)] digitalhigh:
So, to address all of these in one fell swoop.

Personally, I have been working off and on on fixing up the whole ROM in entirety. My process has been slow, as it took me a bit to get my hands on the correct source and base ROMS that went into creating the 3.6.28 release.

Once I got both of those straghtened out, I was able to successfully create an overlay that consists of all contents of libs, bins, xbins, and etc. folders that basically need to be added to CM10 to create MIUI. I've also managed to reverse-engineer out all the framework changes that need to go into MIUI framework to get it booting on our device. This is using the latest MIUI release for S4 and the 7/23 nightly of CM10.1.

Also made some changes to the boot.img for ADB and permissions.

So, I get all this stuff together so we have a basic template for porting. Compiled, zipped...got boot. This alone was enough to fix USB issues, as well as the problems where you couldn't access filemanager or themes because it wasn't mounting USB right.

Then I started looking at the logcat, and discovered that NFC is, essentially...pissed. Then I had to go back and grab all the libs, framework, apk and permissions stuff to fix NFC. Got that fixed.

Which leaves me with a nice weekly template, and just SMS to fix. Frankly, that issue is still a motherfuc*er. The problem is that I still don't know where exactly the framework for the ROM we're porting from comes from, which means I can't just grab that and diff it and go "AHA, that's what they did to get telephony working." Even worse, there is little to no information in logcat as to why SMS isn't sending. If there were, it would probably be fixed by now.

Factor in my fulltime job (where I was recently busted and reprimanded for doing ROM work), a 5-year old, biweekly band practice, and an hour of T-ball for the kid every week, and my schedule is fairly limited.

I have shared my basic overlay with Advanhlt (minus the NFC stuff I did last night), so hopefully between the two of us, we can crack this thing soon. Otherwise, I have a few friends with more programming knowledge whom I may be able to get to help.

But we are working dilligently on it, and have got most everything fixed except for damned SMS. It's just hard, because we're essentially shooting in the dark and hoping we hit our target...
[Sprint HTC One (M7)] SantinoInc:
That was above and beyond the call of duty to give us such an in depth description of what you're working on. Sorry you got chewed out while doing Android "work". Fvcking supervisor is probably an Apple user! :D
[Sprint HTC One (M7)] digitalhigh:
Not at all. Well, they do use Apple products here, but it's not the point. (Half the people who have the iPhones have trouble figuring out how to work em. Imagine if they had an actual mobile OS...) He's right...I'm here to fix their digital toys, not my own. The benefits far outweigh the minor inability to do rom work. They pay me well, and I obviously have a lot of freedom. He's just covering his own ass. NBD.
[Sprint HTC One (M7)] kcstier:
Problem Please Help

I have an issue! Since this ROM's data sync doesn't work between the device and the computer, I don't know how to put another rom on the device to flash? I need to get off this rom until it's more stable. I'm new to HTC used an S4 previously, would just use ODIN but that doesn't look like an option either. Please help? Ideas? I didn't make a backup of the stock rom.
[Sprint HTC One (M7)] gmfeny:
Download a ROM on your phone
[Sprint HTC One (M7)] digitalhigh:
In recovery, connect phone to computer and then type from command prompt:

Adb push ROMNAME.ZIP /sdcard/
[Sprint HTC One (M7)] HTC_M7:
or if u have twrp go to advanced then adb sideload and switch it on while connected to computer and then put rom zip in sdk folder and type adb sideload "romname".zip

works for me.
[Sprint HTC One (M7)] SantinoInc:
I posted a thread on MIUI.com:

http://en.miui.com/thread-5926-1-1.html

Either people don't know how to help or don't care. There probably isn't anyone much more experienced and knowledgeable than Advanlt and digitalhigh on those boards anyway.

I may try the MIUI.us irc and see if any of them are willing to take a look at things. Hope I'm not stepping on your toes by doing this. I'm just trying to contribute the only way I know how (besides cash ;))
[Sprint HTC One (M7)] digitalhigh:
You can sideload in cwm as well.
[Sprint HTC One (M7)] Notorious:
I dont even post on that site and im on the porting team :rolleyes:
[Sprint HTC One (M7)] SantinoInc:
Yeah, I figured it was a long shot. I think poking around miui.us may be more useful although I'm not too optimistic about that either.
[Sprint HTC One (M7)] digitalhigh:
Same here.
[Sprint HTC One (M7)] ValdreZ:
I hate to be "that guy", but is there any update on the rom? :)
[Sprint HTC One (M7)] digitalhigh:
I've figured out how to decompile framework to source code, and have passed it on to Agrabren, who is a regular developer for CM10. He said if he has time, he'll take a look and see if he can't compile us a custom framework. But, like most of us, he has a life, so I'm not sweating him.

When I have time, I'm also going to set up Linux again and start working on a Sense-based patchrom build. I flashed ViperRom yesterday, and honestly think it would be best to get MIUI that way. I didn't realize that IRblaster was borked on CM10. Plus battery life seems a TON better on sense, not to mention all the camera goodies and FM radio we can use then.

I wouldn't hold my breath tho...I'm busy as $hit lately. Might have some time tomorrow night to start breaking stuff with patchROM.
[Sprint HTC One (M7)] travisd4est:
Sounds good. Thanks for the inform!
[Sprint HTC One (M7)] SantinoInc:
Guys, I just got this message from LBX MOBBIN, the guy who released the initial port of this Rom. He just sent me a PM stating that he believes he knows how to fix SMS/MMS. Unfortunately I'm not home to do the steps needed. If anyone is home and knows how to do this please give it a shot. Here is his PM to me:
[Sprint HTC One (M7)] Alex1123:
idk if you where able to do that or not but i was going to do it but my apktool wont run for some reason
[Sprint HTC One (M7)] SantinoInc:
I d/l apktool but I don't know how to use it. I was expecting a .exe file when I unzipped it. I'm on the road again but if nobody gets this done I will have to look into a apktool tutorial or something.
[Sprint HTC One (M7)] Gumby63:
Open up command prompt and change direction (cd) to the folder where you have apktool/aapt and such. So " cd C:/path/to/apktool/folder "

Now just type "apktool d telephony-common.jar"

And there will be a folder with the decompiled contents waiting for you.
[Sprint HTC One (M7)] Alex1123:
hmm maybe someone who themes apps and all that would know how to use it know anyone who does that, that might be willing to help out?
[Sprint HTC One (M7)] digitalhigh:
LOL

I sent him the latest decompiled TC.jar like two hours ago. Sorry...at work.
[Sprint HTC One (M7)] SantinoInc:
Thank god, because I really didn't want to mess with that apktool
[Sprint HTC One (M7)] digitalhigh:
Teehee. I use APKTool so damned much, I often batch out four or five decompiles in a row without being able to see what I'm typing. :D
[Sprint HTC One (M7)] Rally187:
so.......? heard anything back yet :)
[Sprint HTC One (M7)] digitalhigh:
Yes.
[Sprint HTC One (M7)] reesedizan:
Very intelligent folks around here. Thank you for your dedication.
[Sprint HTC One (M7)] YoungCorruptionV2.0:
Sweet and simple answer lol I like
[Sprint HTC One (M7)] digitalhigh:
LOL. Sorry...was being half smartass, half unable to type at that moment.

We are discussing potential solutions. It seems like with the current CM10 base, the issue may be the Middleware patches breaking things. In CM 10.1, all of the telephony stuff was moved to telephony-common.jar. But in 4.2.2 MIUI, the stuff is present in both framework.jar and telephony-common.jar. The strange thing, however, is that the same .smali file in one framework does not match the corresponding in telephony-common. Since we have no clue where they got what from, it's still a crapshoot in regards to finding the issue. We have some ideas, but any way you slice it, it still requires a lot of work to test.

So we've got the wheels turning on that...

Elsewhere, he's also working on a patchROM version for another device, and has asked me to help fixing the rejected patches. In turn, I've asked him to do me a firstpatch for our device using the Sense base - and to dump both builds to GIT so we can work collaboratively on them - maybe even get a few extra hands on deck.

Either way...it will be a process. But I am confident that if we can get a Sense-based build working, it will be far superior in both performance and features. ;)
[Sprint HTC One (M7)] CNexus:
It's not that hard. dex2jar -> jd-gui/similar -> java

The only issue with decompiling is that you can never get everything exactly right or even processed for that matter.

Sent from my buttered S3
[Sprint HTC One (M7)] digitalhigh:
Right, but we do have the entirety of CM10's source code, so it's at least theoretically possible to create a set of patches to CM10 code that would create MIUI. But again, PatchROM would be the complete shizz. We'd have all the working features, plus we'd be able to do our weekly updates on Thursday and even nightlies if we wanted. Xiaomi may be weird in a lot of ways, but they are pretty good at keeping github updated.
[Sprint HTC One (M7)] CNexus:
That would be an ideal world. I don't even have this device, but good luck, you seem to know what you're doing.

Sent from my buttered S3
[Sprint HTC One (M7)] misfit0313:
Bump, bump, bumpity bump.

Thanks guys for working on this, been waiting for a solid MIUI port since the OG Evo days. I have a good feeling about this.
[Sprint HTC One (M7)] lbxmobbin_1:
Just got your email bro..well actually just read it lol but I'll get on working on the patchrom builds and will get them both up and get to work on them...let me know I'd you need anything else
[Sprint HTC One (M7)] SantinoInc:
Do you're thing Angel!
[Sprint HTC One (M7)] digitalhigh:
Just sent you an email...but I'd start with ViperROM. Seems fast and stable with not-so-many framework edits, but a few features we'd want either way. Just dropbox/gdrive/github your firstpatch, and I'll start trying to reconcile the rejected patches.

Also, I spoke with my old MIUI associate [MENTION=4449758]cmbaughman[/MENTION], and he said he'd like to jump in on the patchROM fun as well, so maybe GitHUB would be the best place for it. He's got a lot more experience working with patchROM than me. :D
[Sprint HTC One (M7)] AdhvanIt:
Agreed on this. Github.. :D
[Sprint HTC One (M7)] BMP7777:
Hey, I know you.......just got me a ONE and glad to see a familiar face :cool:
[Sprint HTC One (M7)] AdhvanIt:
Awesome! Good to see you here. What happened with the OG?
[Sprint HTC One (M7)] BMP7777:
It's up for sale. I have no intention of just abandoning my threads at LGOG; gonna update em as soon as my wifi is back on line and then see about getting some maintainers who are down to learn. I see we have no Beanstalk or JellyBeer here; gonna have to see what I can do about that. Are you down to assist?
[Sprint HTC One (M7)] AdhvanIt:
Absolutely! You have my gmail, get a hold of me on hangouts if you need anything. :)
[Sprint HTC One (M7)] SantinoInc:
+1 to progress being made on a Sense based MIUI!
[Sprint HTC One (M7)] digitalhigh:
Posting this from a fresh Ubuntu 13 install. Got sdk installed and patchROM synched.
[Sprint HTC One (M7)] SantinoInc:
Does that mean you're ready to start making the Sense based Rom?
[Sprint HTC One (M7)] SantinoInc:
Just dropping by to say "wassaaaaa." Got ants in my pants waiting for this.
[Sprint HTC One (M7)] digitalhigh:
Got the initial patch done...will upload to git today.
[Sprint HTC One (M7)] digitalhigh:
And...IDK why I didn't think of this before, but they are maintaining the HTC OneX, which appears to be sense-based. I'm running the make workspace on it right now with our Sense base substituted for theirs. Once I've got the firstpatch made, I'll sync to my fork of it on Github and send out emails so our other collaborators can get access...
[Sprint HTC One (M7)] arikaru0:
Just curious, is the sms fix anywhere within the forseeable future?
[Sprint HTC One (M7)] SantinoInc:
I don't believe so. That is why they are transitioning to a Sense base
[Sprint HTC One (M7)] AdhvanIt:
This is correct. Well, it's a decent part of the reason.
[Sprint HTC One (M7)] bleichtman:
Does Bluetooth work on this?
[Sprint HTC One (M7)] tc2007:
Sense based rom

So if we successfully get MIUI merged into Sense based rom, will the UI look and feel like Sense or MIUI?

I am currently using Sense Stock ROM + MIUI Home and Lockscreen. Was wondering how different would the new approach be.

Thanks for all the hard work.
[Sprint HTC One (M7)] gmfeny:
I never seen how this works but my guess would be it'll be just like the gpe ROM. You shouldn't be able to tell its sense based it should look exactly like miui but with some sense framework and a sense kernel.
[Sprint HTC One (M7)] AdhvanIt:
This is correct. It is actually Sense framework with MIUI code patched in. So it will have Sense features, like camera and beats, but overall look and feel will be MIUI.
[Sprint HTC One (M7)] dandan2980:
Sound very interesting. Haven't flashed Miui since the evo days. Sense base sounds way better than aosp base. Especially after reading beats audio will be included.
[Sprint HTC One (M7)] SantinoInc:
Hasn't been much to report in these parts I'm guessing. I PM the MIUI dev from the HTC INE INTERNATIONAL yesterday evening to see if he can offer any assistance. Idk If Advanlt & DH already asked him for help and I don't know if he's willing and able to help...guess we'll see.
[Sprint HTC One (M7)] gmfeny:
Not sure if this will help the CDMA version but they're doing a vote to officially support either the One or the S4

http://en.miui.com/thread-6831-1-1.html

I voted for the one maybe you guys should too
[Sprint HTC One (M7)] YoungCorruptionV2.0:
I'm gonna have to resister to vote for sure
[Sprint HTC One (M7)] gmfeny:
It looks like they both will be official but the voting is to see which one will be first
[Sprint HTC One (M7)] Carbajal3009:
Just voted for our beloved ONE :D
[Sprint HTC One (M7)] Mko979:
I just voted.:)
[Sprint HTC One (M7)] gmfeny:
Whoever is voting make sure you're voting here too.

http://www.miui.com/extra.php?mod=romvote/index

We're winning on en.miui but where getting our butts kicked on Chinese miui site
[Sprint HTC One (M7)] Mko979:
OK I tried that site to but im not sure if it worked.
[Sprint HTC One (M7)] :
I tried as well, clicked on the image of the HTC One and it had a green check, but I don't know if it actually casted my vote. I tried Google translate and it didn't do the best job.

Does anyone know exactly what we have to do on the Chinese site to vote?

---------- Post added at 02:58 PM ---------- Previous post was at 02:57 PM ----------

Voted...

I don't see how it wouldn't help the CDMA, maybe not directly, but at least then we could port MIUI more easily.
[Sprint HTC One (M7)] digitalhigh:
127 vs 94...keep it up!!
[Sprint HTC One (M7)] Greytest:
Voted
[Sprint HTC One (M7)] digitalhigh:
To vote on the chinese site, you need to log in with Xiaomi account, click on the HTC One picture, enter the confirmation code, and click the box to the right.

And for helping CDMA...it will be effing HUGE. There was no official CDMA for Evo 3d for months - it was me porting from GSM. It wasn't until after my verson was posted to the EN forums that they started releasing CDMA. So, if history is any kind of a teacher, if we get official GSM, it will be a snap to turn that to CDMA. All we'd need is to modify a few things in boot.img, /etc, and a few spots in frameworks, and we should have it.
[Sprint HTC One (M7)] SantinoInc:
I didn't vote in the last presidential election but I just voted for the HTC ONE. :-X
[Sprint HTC One (M7)] digitalhigh:
Well, the difference between this vote and the election is that there's actually something worth voting for here. ;)
[Sprint HTC One (M7)] Mko979:
In curious I didn't see when will the voting time be up?
[Sprint HTC One (M7)] tc2007:
even if they have a rom for the generic HTC ONE will it work for the Sprint Version?
[Sprint HTC One (M7)] YoungCorruptionV2.0:
It will be easier to port
[Sprint HTC One (M7)] SantinoInc:
If this doesn't get officially ported by MIUI China do we have any other ideas to get this up in running or are all our eggs in this basket.
[Sprint HTC One (M7)] gmfeny:
It will be official. But they will be working on the s4 first
[Sprint HTC One (M7)] ubuntunerd:
Voted :)
[Sprint HTC One (M7)] digitalhigh:
The S4 can suck it.

We're still working on PatchROM build, but it's a lot of work, and I have been so goddamned busy lately it's ridiculous. IDK where a week goes for me, but it's gone in a flash...
[Sprint HTC One (M7)] pleasedie:
is there a kernel to flash with this rom?
[Sprint HTC One (M7)] tc2007:
Slightly off topic: I am using MIUI Home not the ROM. How do I go to settings for the same? The HTC one does not have a menu button :(
[Sprint HTC One (M7)] YoungCorruptionV2.0:
Custom kernel most likely
[Sprint HTC One (M7)] im0rtalz:
If you mean the launcher settings, it should be in the System tools folder. There should be an app in there that says Launcher settings.
[Sprint HTC One (M7)] tc2007:
Thanks. That was it :)
[Sprint HTC One (M7)] SantinoInc:
Just wiping away the cobwebs from this thread. It's starting to seem that MIUI development is coming to a near halt here in the US. IDK if the newer versions of MIUI are harder to port than there were previously or if American users just don't care about MIUI anymore. I suspect it may be a little of both.

Anyway, hoping that official support from MIUI will help revive this Rom.
[Sprint HTC One (M7)] tgearman:
I care. First had MIUI on my OG evo and haven't found anything I like better since. That was four handsets ago. Now I have this amazing device but haven't even rooted it because the only ROM I want to load is this.

So yes, I care.

Sent from my HTCONE
[Sprint HTC One (M7)] SantinoInc:
I hear ya bro, I'm in the same exact boat. Loved MIUI on the OG Evo even though it didn't have 4G. Ever since that phone I haven't come across another build that was DD worthy.
[Sprint HTC One (M7)] digitalhigh:
I'm here. I check the xiaomi sites as frequently as time allows...patiently waiting for news of official support. Once that happens, even if it's for GSM, I will be slamming that baby to the ground and making it my bit*h.

I've also downloaded the GSM version for Evo 3d like three weeks in a row now...I just haven't had time to port it back to CDMA. I really mean to, just no time.

Trust me...I'm just waiting to strike. It doesn't help that half the illiterate boobs voting for the S4 support aren't even voting for the device they are proposing. Give Xiaomi a few weeks...we'll probably see both devices get official...