yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M7)] jblaze10:
For those that are wondering, digital high is amazing and had the best miui on the 3vo!! He'll imo he had the best Rom on it period! And he was always very helpful till the end(for me). I would not be surprised if he isn't still floating around that forum. This will be the shizz no doubt!!! Flash awaaaaaayyyyyy!!!!!!!
[Sprint HTC One (M7)] im0rtalz:
Change the updater script not the build prop, but I would recommend just waiting for next fix version.
[Sprint HTC One (M7)] sharky481232:
Holy hell im super late to the party, but too excited to care.

Thanks DigitalHigh!
[Sprint HTC One (M7)] nwo122383:
Awesome work running this now just gotta find a good remote app for free and I'll be set
[Sprint HTC One (M7)] digitalhigh:
Just be aware that data is borked right now. I think I found the issue - they have their APN's hardcoded into framework-res, whereas the GE build I stole from defers to the actual apns-conf.xml in /etc. I slapped our entries into framework-res and compiled, just about to push and see if they take.
[Sprint HTC One (M7)] nwo122383:
Yep just read that and then turned WiFi off and realized that I'll deal until you get the fix out
[Sprint HTC One (M7)] tc2007:
Couple of things.

How do I go to recovery screen after installing this?

Where do I copy my downloaded theme *.mtz files so it shows up in Theme manager?
[Sprint HTC One (M7)] vnyborg:
For some reason my home button didn't work. Also it showed I had data but I didn't have Internet access.
[Sprint HTC One (M7)] sharky481232:
Did you flash .16 and the data fix from the previous page?
[Sprint HTC One (M7)] vnyborg:
Yes I wiped, flashed.16 first then the data fix.
[Sprint HTC One (M7)] reesedizan:
Full wipe? Not just cache and davlik.
[Sprint HTC One (M7)] vnyborg:
Yup full wipe. I'm gonna redownload the Rom and try it again.
[Sprint HTC One (M7)] reesedizan:
Sorry. I just know when I wiped only those two, I wasn't able to get data on reboot. Hope it works for you.
[Sprint HTC One (M7)] digitalhigh:
Did some work last night merging as much telephony stuff as I could grab from ecliptic's services.jar and framework2.jar into MIUI's, then grabbing as many of MIUI's hooks and re-adding them to telephony-common.jar.

Thus far, the effect seems nominal. I had no f/c's, data works as consistently as it did in the most recent release w. data fix, and persists after reboot. I briefly glanced at the phone info on my way into work, and it said connected to LTE (still showed 3G signal bars) and I was able to load a web page.

So, merging our stuff in more definitely hasn't hurt.

MMS Still not working...I'm gonna look at our PDUParser and PDUpersister.smali's, I know in the past that has fixed this issue...
[Sprint HTC One (M7)] sharky481232:
Awesome, if you need a guinea pig lmk.
[Sprint HTC One (M7)] digitalhigh:
So yeah...I think I got LTE working. Network outside showed "LTE", and pages were loading faster than hell. Still had dual bars tho. Will test further and report back when I can.
[Sprint HTC One (M7)] nwo122383:
This all sounds wonderful I would love to give this another shot sometime. I've always had a fond spot for miui. Can't wait for MMS working then I would use this as a daily.

Oh and by the way I like your novel posts. I think they are very helpful to the community and to anyone who may be looking for help on how to do these things. Keep up the awesome work man
[Sprint HTC One (M7)] YoungCorruptionV2.0:
I can always test out LTE since I have it at home. But the stuff your saying sounds good and I'll give your next upload a spin
[Sprint HTC One (M7)] digitalhigh:
I'm just about done rewriting the boot.img part of the installer, then it should be ready for the first deployment. My brain is just spinning right now, trying to work out all the possible scenarios for installation. You can be installing as full package and detect latest update which could or could not have a boot image. You can be installing as a full package without an update, then you install the full's boot.img. You can be installing as a update package with a detected full package, then you have to check to see if the update has a boot image, else you install the full package's boot image...but if the update you're installing has a boot.img, then you don't have to check to see if the full one has a boot img. Wheee!

Oooh, wait. See, writing that all down so I could see it another way gave me a great idea. Just write another script after all the extracting is done of whatever and have it look for boot images, then install from the right location depending on identity.

My head hurts. :P
[Sprint HTC One (M7)] YoungCorruptionV2.0:
Lol I'm sure your brain hurts. That was hard to keep up with what you were typing
[Sprint HTC One (M7)] sharky481232:
After flashing I let the battery fully drain, then full charge while powered off and turned it on. Used the phone like I would any other day.Very pleased with the results.

(I did go into recovery to flash the new radio that was released but other then that on all day)
[Sprint HTC One (M7)] digitalhigh:
Yes, that's one thing I've noticed on this as well...battery life is just superb. I ran the latest kitkat GE port the other day, and I just burned through the battery compared to this.
[Sprint HTC One (M7)] sharky481232:
I rely on my phone for work all day, with that being said cm,aokp,aosp,ge they just dont cut it service and battery wise.

But seriously loving miui.
[Sprint HTC One (M7)] hoebag:
I've noticed the same with the battery, just curious it why is aosp suck a bettery hog?
[Sprint HTC One (M7)] Th3Bill:
Well...Android Only Sucks Pork....AOSP....probably why it likes sucking better hogs. Jk
[Sprint HTC One (M7)] YoungCorruptionV2.0:
Probably because its not optimized for our phone. My friend has a nexus 5 and battery life is pretty good
[Sprint HTC One (M7)] Th3Bill:
I still think this phones battery life is just amazing. I have an intern that has a Nexus 4 that is lucky to get 14 hours, while I routinely get 22 hours.
[Sprint HTC One (M7)] YoungCorruptionV2.0:
Oh without a doubt our battery life is good. I easily get a day when running sense. Miui is usually the only thing to get me to switch from sense. I just don't care for the look of pure vanilla android
[Sprint HTC One (M7)] digitalhigh:
Yeah, MIUI is really the only ROM that does it for me anymore. I used GE and didn't mind it much, and Paranoid, AOKP, and all the other CM based ones are just too much alike. Whoa...one has PIE, and another has hybrid display settings I'll never use.

So, to not only have MIUI, but have it be Sense-based is really really awesome. We get all of the device-specific features that the cyanogen derivatives lack, the supreme battery life and (theoretically) better signal strength that come with having OEM binaries/libs, and then all of the MIUI goodness over top.

IMHO, there is no other ROM that comes close to doing what MIUI does...which is why I'm willing to spend so much time trying to make the goddamned thing work. :D

I'm telling myself I'm gonna take a break tonight because I've stayed up every other night till midnight or so working on this, but I also know that once I get home and have some dinner, I'll probably wind up on the couch with the laptop as usual.

Man, I really hope they give us 4.3 tomorrow...
[Sprint HTC One (M7)] tgearman:
I hope so too, DH, but the release notes on the MIUI English site didn't give me that warm, hopeful feeling. =(

AlI I saw was some fancy calendar enhancements. Guess light a candle tonight and hope for the best...
[Sprint HTC One (M7)] digitalhigh:
Well, either way, I wound up breaking down and diving into the installer stuff again. Worked out the boot.img stuff and cleaned up the amount and complexity of the scripting so that it's nice and modular and uniform. The goal is to have it ready and thoroughly tested so whatever comes out tomorrow will be released with it, as long as the first xtras package.
[Sprint HTC One (M7)] Th3Bill:
Well, it's no 4.3 update, so it's still going to be testing and fixing till we get LTE/data/sms all working together. I kinda figured that it would be this way, as their flagship devices that they build themselves are still mired on 4.2....

EDIT: And a quick diff of the frameworks reveals.....changes to the lockscreen and security....nothing or telephony, data, or anything else. YAY!
[Sprint HTC One (M7)] digitalhigh:
My friend... It is uncanny how little sleep you require.

So no 4.3. Bummer. Still, I've got a bunch of stuff ready to go. Should have a release up in a few hours with everything working cept mms and lte.
[Sprint HTC One (M7)] YoungCorruptionV2.0:
Lol I don't get how you guys can barely get sleep. I went to sleep at 11 so that I can wake up at 6 and I'm dead tired
[Sprint HTC One (M7)] Th3Bill:
Nice! I'll have more time to work on it over the next few days. I think I'm finally making some headway on UbuntuTouch, which will free me up a bit from it.

I hardly sleep 4-5 hours a night. Most nights, I go to bed around 2:30 and get up at 6. LoL

Guess I'm just a bit nutty like that.
[Sprint HTC One (M7)] sharky481232:
Damn no MMS still, I had to switch back to a sense rom for that reason :(
[Sprint HTC One (M7)] digitalhigh:
Damn dude, sorry to hear that.

If only I could figure out why MMS isn't working...

Oh, wait. I did.

You guys ready for another novel? Okay...

Even with the forward progress I've been making, things still didn't seem right. No matter what changes I made, I couldn't get APN's to stick, and it still wanted to default to "WCDMA", despite going through services, framework, framework2, telephony-common, framework-res, build.prop, and the whole /customize folder with a fine-tooth comb.

Then this morning, I'm thinking about what to try next while in the shower. And I come to the excellent conclusion that I need to look in the other .jar files that I haven't checked before.

And I do just that. I decompile most everything that don't know what it's explicitly for. And lo and behold...in HTCExtension.jar, there are a whole MESS of telephony settings. Specifically, if I grep for "WCDMA", there's just a ton of bools for all kinds of network-specific stuff.

So, I take the last good working build I have, merge my existing changes into this week's build, and then grab the entire HTCExtension.jar file.

Install it. Data connects with dual bars. Reboot. Data connects with dual bars again. NICE. Check APN's...holy sh1t, I have APN's! Try to send a MMS...HOLY SH1T, I SENT AND RECEIVED A MMS.

So yeah. That's what I'm sayin'. Didn't have a chance to test LTE, but I very strongly believe that now that I have APN's working, I might be that close to getting LTE working proper on this thing. Either way, MMS works now.

I'm going to take a closer look at the other .jar files and make sure there aren't any more hidden nuggets of settings like this, then I swear, I'll get you guys something to install. I'd just like to see how far I can push this now that I've got that figured out.
[Sprint HTC One (M7)] sharky481232:
That's it ive decided to donate to you. You my friend are a genius!

Donation coming your way shortly.

ALSO thank you! (and you know if you need a tester you got me I'll be in a LTE area for the next 6 hours)

not sure if you know this, I only bought this phone cause AdhvanIt said he would be bringing MIUI to this phone and I was STOKED!
[Sprint HTC One (M7)] digitalhigh:
Okay, uploading. It will be here when done.

https://drive.google.com/folderview?id=0B0OpOqUNqeKka0xJSVRjSzBTclk&usp=sharing

So, not sure if LTE is gonna work or not. You may get no signal when connected to LTE...if that happens, switch to CDMA and you should be fine.

I can verify that data settings should stick on reboot, and that you should have APN's listed now. You may need to do *#*#4636#*#* in phone and pick LTE/CDMA(Auto PRL) ONCE on first boot, but after that, data should stick. I'd recommend going into mobile networks in settings and only selecting the bottom option (AUTO) for CDMA there. It should then choose which network to connect to, and potentially, give LTE.

MMS works on CDMA for sure, as well as SMS and outgoing voice calls. I doubt incoming will be an issue anymore, but just for the record, I've not tested it.

Uh...what else? Ah.

First trial run of the new aroma hotness. Still got some kinks to work out with the extra and base packages, but as a regular installer, it works. No need to wipe data, as you get the option in installer.

So, it should be in the shared folder shortly. MIUI_3.12.20_DH_M7SPR_FULL.zip. Future releases will always follow that naming convention, with the last bit designating what's what. FULL is a full package. BASE is an update and should always be flased on top fo the latest package. XTRA will be all the goodies I've got laid out - once we get LTE working for sure. But for now, if you have one of my BASE packages on your SD card, select "no" in the install prompt. I'll be working in version checking to ensure that you can't flash a base file older than the system revision if full package...but that's after I get the base stuff going.

And now I'm going to go take a nap. I'm tired. :cool:
[Sprint HTC One (M7)] sharky481232:
Like the genius that I am, I left my USB cable at home first download on phone ended with a error 7 so re-downloading now.
[Sprint HTC One (M7)] Th3Bill:
Well, looks like you win the weekly dunce cap award. LoL

Just kiddin. I've been there before. I'm waiting till I get home from work...inside the building, I get spotty lte and lose download at every service change, and my work WiFi is so slow, I could probably walk from Florida to DH's house in Wisconsin and transfer it from his pc directly before it'd finish here. LoL
[Sprint HTC One (M7)] bleichtman:
Does the file actually say 13.12.20?
[Sprint HTC One (M7)] sharky481232:
Second download = error 7... looks like im waiting til I get home to flash ... sigh.

---------- Post added at 08:13 PM ---------- Previous post was at 08:12 PM ----------

MIUI_13.12.20_M7SPR_DH_FULL.zip
[Sprint HTC One (M7)] bearw815:
Boot Error Log

https://www.dropbox.com/s/mm34bz5qabsvq6t/3.12.20_FULL.zip.log.txt
[Sprint HTC One (M7)] sharky481232:
I keep getting

"file_getprop: failed to stat "/tmp/aroma/boot.prop": No such file or directory

is that a bad download or something else?
[Sprint HTC One (M7)] nwo122383:
i am getting the same thing
[Sprint HTC One (M7)] digitalhigh:
Probably because while I tested this extensively with both the base and xtra packages present on my SD card, I did not test without them there.

boot.prop is not being created because the prompt regarding base/xtra never happens, so the flag is not being set.

So, to fix...

1. Create empty .zip files that end with _BASE.zip and _XTRA.zip, put them anywhere on your SD Card.

2. On the wipe options screen, do

adb shell
echo "selected=1" > tmp/aroma/boot.prop
exit

3. Replace the aroma-config file in meta-inf/com/google/android/ with the one attached to this post.

4. Wait for me to upload a fixed version, which should be online shortly...

Sorry. Sometimes I'm so smart I'm stupid. :D
[Sprint HTC One (M7)] nwo122383:
did the above the 2nd option i couldnt do. my phone wouldnt adb while in that screen but i created the 2 zip files and then replaced the aroma-config file. so im looking at the mi boot screen right now waiting for it to load so i can post back how its running hope all goes well

---------- Post added at 05:27 AM ---------- Previous post was at 05:15 AM ----------

didn't seem to want to boot. maybe i forgot to wipe data. gonna wipe and then try again and see if i have any luck

---------- Post added at 05:30 AM ---------- Previous post was at 05:27 AM ----------

cool came back in the room and its showing the starting apps thing will let you guys know how it goes

---------- Post added at 05:47 AM ---------- Previous post was at 05:30 AM ----------

here is a logcat of the error it has now been sitting on the boot screen for a quite some time now

https://drive.google.com/file/d/0B2fnY1mI40t3Q3RFTWs5ODE5Mjg/edit?usp=sharing
[Sprint HTC One (M7)] reesedizan:
Flashed the newest build. Got data to work again after reboot, just not SMS.
[Sprint HTC One (M7)] thecell2007:
were you able to adb while on wipe options screen?
[Sprint HTC One (M7)] digitalhigh:
https://drive.google.com/file/d/0B0OpOqUNqeKkMTV0bm8wek13TDg/edit?usp=sharing
[Sprint HTC One (M7)] thecell2007:
perfect timing! downloading now and will report my findings.

edit: ok when i first booted up i did the dialer thing and went to lte/cdma auto and i had 4g in network type. and had data. when i rebooted, i naturally reverted to gsm/cdma. still had data of course. sent text messages and mms. all went smooth. but after all of this i did dialer thing again and hit the lte/cdma auto button, network type will not pick up 4g anymore. only evdo or this 1xtaa thing. so as far as i can tell we have made progress with getting data, sms, and mms to all play nicely even after reboots. 4g, i wish i'd have tested the speed before a reboot when my network type said 4g but i needed to install gapps to go download speedtest. always forgetting something. but thats where i'm at. gonna reboot again and if anything changes i'll report here.

edit again: dont know if this made a difference but i can't get lte to connect again, however, i came from beanstalk so im restoring that to get lte back and then do the exact same process minus the reboot and see what speedtests are with that initial reboot. a long shot but hey i have no clue what im doing so its the best ive got lol.

yet again: ok 20 mb download speeds!!!!!! 4g is connected. BUT, heres exactly what i did. load beanstalk and boot up. wait for 4g to connect. reboot to recovery and dirty flash this latest build of miui. wipe data, cache, etc. boot it up. go to dialer and push the magic combination. set it to lte/gsm/cdma (auto). POW you have 4g! but you lose it on reboot and CANNOT get it back. whatever that means or if it helps any i dont know. but after reboot i can confirm sms, mms, and data. thats all ive got now and i'm pooped lol. thanks for the hard work as usual DH.
[Sprint HTC One (M7)] blackwing182:
cant be, miui wont use the telephony-common.jar for nothing. you can grab my rom from jflteatt and see whats going on.( dont know why miui still uses framework.jar for ril files -_- )
[Sprint HTC One (M7)] reesedizan:
I've got data and sms after reboot from the one you just uploaded.
[Sprint HTC One (M7)] thecell2007:
my results with where i usualy have 3 bars of 4g...
[Sprint HTC One (M7)] thecell_2007:
Ok 4g comes back after reboot and in dialer thing select lye/gsm/dems auto. Now if we can get it to stick on reboot.
[Sprint HTC One (M7)] thecell2007:
lol havent set up autocorrect yet. lte/gsm/cdma auto is what that mess should have said.
[Sprint HTC One (M7)] Th3Bill:
Not sure what you mean here. All of the phone related stuff minus a few small bits are in telephony-common.jar certainly all the ril, pdu, cdma, and gsm related smalis are there. None of the ril smalis are in framework on the HTC One build.
[Sprint HTC One (M7)] digitalhigh:
Can be. I didn't just spend the last month+ working on this every night for as long as I could keep my eyes open for nothing. Telephony-common, as the name would suggest, is where most of the HTC One telephony stuff lives. If you look in framework-jar, the ONLY thing they have in there for telephony are the added MIUI smalis.

Thanks for the input, but maybe you should just leave the "being awesome" to me.

I'm wondering if again, this isn't necessarily an error, but maybe one of the visible seams in the merge between a GSM and CDMA device. Like, our assertion that the 4636 section HAS to be "LTE/CDMA (Auto PRL). Maybe this part of the ROM doesn't mean jack because of how much I've torn apart the framework, and the proper setting is actually LTE/GSM/CDMA.

Like, in the GE ports...I seem to remember actually causing data issues by changing stuff in here. Wonder if just booting the phone and not messing with anything is the trick?

IDK. Could be we just need to change the preferred network in build.prop. I have it set to "9", which by my count of the avilable networks is LTE/CDMA auto.

I'll do some more digging, see if we can't nail this down. Anybody got a logcat for me of successful connection to LTE?

Logcat and radio log would be great. Radio log is

adb logcat -b radio > filename.txt
[Sprint HTC One (M7)] nuvens:
Is there a way to change the weather from Celsius to farenheit?
[Sprint HTC One (M7)] thecell_2007:
Just woke up and still have 4g mms and sms after a reboot this morning. Like I said, just do the dialer thing and it sticks. DH I'll try to get a logcat for us as soon as possible but the Mrs. Isn't thrilled I slept so late and we have 4 kids lol. Gonna go sweep and mop floors as a peace offering then I'll be back lol.
[Sprint HTC One (M7)] Th3Bill:
Naughty naughty! I know how that one goes. Which log are you going to pull? I'm going to try to help with some of this now that I have a little more figured on my side project...

---------- Post added at 01:33 PM ---------- Previous post was at 01:30 PM ----------

Well, you can always multiply number by 9, divide by 5, then add 32 :D

Just messing with ya. It should be a relatively simple fix. I'll give it a look in a little bit once it slows down at work. I know DH is busy with the wonderful weather up there in WI.
[Sprint HTC One (M7)] sharky481232:
I have 0 complaints right now. Thanks DH

I did lose 4g on reboot but nothing a little *#*#4636#*#* couldn't fix.
[Sprint HTC One (M7)] thecell2007:
i can pull the 4g connected right now and the radio.

---------- Post added at 06:57 PM ---------- Previous post was at 06:41 PM ----------

http://pastebin.com/aVK1CCmg

http://pastebin.com/hCES6akf
[Sprint HTC One (M7)] digitalhigh:
Gonna take some hacking. It's on my list of stuff to do. :)
[Sprint HTC One (M7)] Mko979:
Just wondering, I can't get the mi tools to apply. I updated and installed the wsm tools but when I reboot nothing sticks. Overall everything else it's running smooth.
[Sprint HTC One (M7)] reesedizan:
Go WSM Tools, backspace into the modules, click the white button by MI tools to enable, reboot.
[Sprint HTC One (M7)] digitalhigh:
So, with the weather app, I've found the method where they get the temperature...pretty sure if I had the smali equavilent of a command that either converted C to F or would even let me do math, I can make it happen. I know 0xD34D released a version of the old weather app in both C and F flavors...I'm going to decompile the two and see how he did it. I'm hoping he just created a method that does the conversion and injected it into one of the .smalis, and I can just do the same thing.

We shall see.
[Sprint HTC One (M7)] im0rtalz:
more news on miui movement to 4.4 base

http://en.miui.com/thread-11152-1-2.html

Looks like 4.4 versions will start coming during their Spring Festival along with nexus 5 support. So hopefully the HTC One will get rebased even sooner as well.
[Sprint HTC One (M7)] digitalhigh:
Omg. Can't wait
[Sprint HTC One (M7)] thecell_2007:
Hey guys any idea why on this new build I can't log in to my xiaomi account? Never had issues before.
[Sprint HTC One (M7)] bleichtman:
I'm having problems connecting to play store even after wiping app data and cache
[Sprint HTC One (M7)] sharky481232:
Try another gapps happened to me when i used the gapps from the OP.. make sure its 4.2.2 though

heres a link to the gapps i use on my gdrive:

https://drive.google.com/file/d/0B_8k2XEWGMg4SGFoZUV2SGE5WkU/edit?usp=sharing
[Sprint HTC One (M7)] xcolt45:
Definitely having the same issue with GApps services keep stopping and cannot connect to play store
[Sprint HTC One (M7)] wase4711:
Any chance of bringing this to the One Max?

thanks!