yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M7)] Th3Bill:
I already have tested swapping the smalis...no dice. I have a feeling its line by line. I'll have more time later tonight and tomorrow to look at it.

I know on the photon, only certain ril libs worked for miui data.
[Sprint HTC One (M7)] Notorious:
If you switch 1 smali you have to switch the corresponding ones with it also from the log so they all look for the same thing

com.android.internal.telephony.cdma.CdmaDataConnectionTracker

and

com.android.internal.telephony.DataConnectionTracker need to be swapped
[Sprint HTC One (M7)] AdhvanIt:
This is not by mistake. They have it this way on every port they work. The telephony folder does not even exist in 4.2.2 framework.jar /except/ when looking at MIUI (if I recall correctly). The smali they've put in there need to be copied from tc.jar to framework.jar exactly as they are in the MIUI base.

I mentioned previously that there are telephony bits in the MIUI framework.jar and I still think that's part of the issue. Someone really needs to get with their devs to figure out exactly what they're doing there and why in order to resolve this issue.

---------- Post added at 03:24 AM ---------- Previous post was at 03:17 AM ----------

This. Except I still don't think swapping the smali is the answer. In fact, I'm almost certain it's not, because I spent nearly two months working on this project daily before giving up on SMS.

When I fixed data in the original base, it was by merging what was in tc.jar with the telephony files in framework.jar and adding the RIL there. Don't ask me why it worked. It just did.

[MENTION=3400685]digitalhigh[/MENTION], this remains my first try at a solution if you haven't done it yet. I'm equating data and SMS on MIUI for the One to the MEID fix after you wiped it out. There's absolutely no logic behind it. It doesn't make sense why flashing CM fixed your MEID when running the RUU didn't. But it fixed it. Same way telephony stuffs in framework.jar make no sense. But they're there for a reason.
[Sprint HTC One (M7)] digitalhigh:
Has anybody actually looked at the .smali I posted? I do appreciate the advise on how it's been fixed in the past, but it seems that all the past experiences here aren't fully applicable because the overall way MIUI made their changes to the framework of this is different. Java.lang.incompatibleclasschangerror. Why? What class is it *****ing about, and how do I fix it?

And no, "swap a bunch of .smali files" doesn't seem to be the answer. I am confident about 90% of the changes I made to the TC.jar I posted...it's either adding methods, fields, calling injectors, or invoking them. But there's a few spots where the our version and the EU version didn't line up just right, so I had to wing it. And that's probably where I screwed up.

So that's why I posted all four sets of .smali. I'm trying to talk about where to look at *this* code. We know that most everything works already, and that dude can get data on WCDMA using his backup. So I'm highly doubtful that moving RIL files from one jar to another will do anything. It works. It just doesn't work on our network. So make the telephony-common match ours.

Fixing MIUI for the evo 3d wasn't as easy as everybody keeps making it sound. I didn't just throw some files in and it magically worked - I had to wade through the logcats for weeks, slowly tracing out one missing/wrong line at a time and fixing it till the errors stopped. I really think that's what we need to do here...which is why I'm asking for help.

I've got some errands to run today, but when I get home, I hope to sit down and document every single line change in every single file in telephony-common...maybe if I make a spreadsheet or something, it will shed some light on what's throwing the invalid class change error...
[Sprint HTC One (M7)] Th3Bill:
On the Motorola Photon, only certain Ril lib files would work right with data on Sprint...for some reason, it seemed that the Ril libs from the ATRIX worked for data and MMS while the ones for the Photon didn't work at all. It's another one of those don't know why it worked, but it did. Maybe we need to find some other HTC ril libs and try using those?

I'll be available tomorrow some of the time...have plans all night tonight. I've got a ton of time off coming up this next week, so I'll be able to really dive into this more then...
[Sprint HTC One (M7)] digitalhigh:
Hey...look what I did.

PICTURE OF DATA FIX REMOVED BECAUSE OF PERSONAL INFO

But yes, data is fixed.

Upload coming soon.
[Sprint HTC One (M7)] Stellarex:
LOL, Your phone number is on that SS
[Sprint HTC One (M7)] bsharp8:
Awesome.
[Sprint HTC One (M7)] nwo122383:
You should black out imei and phone # in that screen shot

This is awesome news you are friggin amazing never gave up
[Sprint HTC One (M7)] digitalhigh:
Can you please edit the pic out of your post?

Thanks. :D
[Sprint HTC One (M7)] nofriendsbz3:
Dude you are my hero... Ive been waiting for MIUI...
[Sprint HTC One (M7)] digitalhigh:
But yes guys, I am fu*%ing exuberant to announce that we have working data (at least 3G, I'm not in LTE area ATM). I can confirm that phone calls go out, sms and MMS send and receive with the native app, IR blaster works all the way through including using as a regular remote (not just setup). Camera works, zoes, wifi, usb otg, looks like everything. I'm about 20% done uploading my base build right now...this doesn't have gapps or aroma, but will provide the fully working ROM.

It does take a minute on first boot, and it will complain about no SIM (I had to add one sim method to telephony-common to get it working), but everything does work properly.

Will post a link with the main upload here and in OP when it's done. Then I'm going to town on this - I have to fix services.jar to make Xposed not F/C, then there will be addons, aroma...all that joy. I've also got my custom theme updated...it covers everything in the ROM and a ton of extra apps as well...

Hell yes. Christmas has come early.
[Sprint HTC One (M7)] YoungCorruptionV2.0:
What was the problem with data?
[Sprint HTC One (M7)] mrinehart93:
NICE WORK!!!
[Sprint HTC One (M7)] tgearman:
Super excited, DH! Thanks for your perseverance.

:beer::beer::beer:
[Sprint HTC One (M7)] hoebag:
DH, I brought this account out of several years of dormancy to tell you that you are a my f****** hero man!
[Sprint HTC One (M7)] digitalhigh:
Telephony-common.jar. I wound up taking the whole jarfile from another 4.2.2 ROM, throwing it into my MIUI build, then adding the methods it complained about until it stopped complaining. This is why it still thinks there should be a SIM card...but it doesn't have any adverse effect because the MIUI SIM stuff isn't really hooked up, so I think it's just the GUI, not the whole ROM.

That is a great idea. I will be getting a beer just as soon as I finish posting this.

Thank you.

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

There you are, gang. Data should work out of the box (after it complains about there being no SIM). You may have to pick the APN in settings > mobile networks and enable roaming, and also pick the preferred network by dialing *#*#4636#*#* in phone and then picking phone information. I know "CDMA Only" works, please let me know if CDMA/LTE (PRL) works. I may need to update the apns to get the right sauce, but for now, this thing works.

And yes, it is Sense based, and the TV/remote app, camera, and FM radio all work.

Oh, and being the xmas season...donations are more than welcome. It is absolutely not required in any way and never will be, but I think my wife is pretty happy that I have fixed this and will be spending less nights sitting on the couch with my laptop till midnight or later. ;)

Enjoy. I will be updating with aroma and goodies very soon.
[Sprint HTC One (M7)] skuddy:
So stupid question. Is there anything left not working? Thanks for all your hard work DH.
[Sprint HTC One (M7)] digitalhigh:
Possibly LTE. I won't be able to test until I'm at work on Monday.
[Sprint HTC One (M7)] nuvens:
Data works awesome! Didn't get no SIM error on startup, apns where already set up. Everything worked out of the box. Great job DH. I don't see lte working even though I'm in a strong lte area.
[Sprint HTC One (M7)] nofriendsbz3:
where do we get gapps from?

nevermind im an noob... I found them
[Sprint HTC One (M7)] limache:
Wishing you the best of luck! Get that data working and I'll flash it! I miss MIUI! :)
[Sprint HTC One (M7)] YoungCorruptionV2.0:
I hope you didn't flash it. It's sense based so you don't need gapps
[Sprint HTC One (M7)] FL0OD:
Data is working and yes you do need gapps.
[Sprint HTC One (M7)] digitalhigh:
Well then, flash it, because data works. :D
[Sprint HTC One (M7)] limache:
Oh haha I just saw this update. Cool! Hmm so LTE's not confirmed huh? Maybe we should wait until Monday or later regarding LTE?

So actually I just wanted to confirm - do I have to use this g-apps package that you posted in order for it to work or can I use any 4.3 g-apps package? This is 4.3 right?

Lastly, what version of TWRP does it need to be on minimum? I read that some roms won't work unless TWRP was up to date so I wanted to make sure my TWRP was compatible?

---------- Post added at 09:53 PM ---------- Previous post was at 09:52 PM ----------

Oh haha I just saw this update. Cool! Hmm so LTE's not confirmed huh? Maybe we should wait until Monday or later regarding LTE?

So actually I just wanted to confirm - do I have to use this g-apps package that you posted in order for it to work or can I use any 4.3 g-apps package? This is 4.3 right?

Lastly, what version of TWRP does it need to be on minimum? I read that some roms won't work unless TWRP was up to date so I wanted to make sure my TWRP was compatible?
[Sprint HTC One (M7)] insuusvenerati:
Think I can flash this dirty on your old build?
[Sprint HTC One (M7)] digitalhigh:
Maybe? You might have issues because of the changes to data...

I'd just do a MIUI backup, wipe data, then flash.
[Sprint HTC One (M7)] insuusvenerati:
Good point. Thanks for your hard work bud. Lemme know if you want some free webspace. I'm poor but I can offer that : D
[Sprint HTC One (M7)] olorolo:
Nice job! So far everything seems to work fine including themes
[Sprint HTC One (M7)] olorolo:
Oops
[Sprint HTC One (M7)] im0rtalz:
well this is just my luck I been using the Chinese one and got myself a month of prepaid T-Mobile to play around with, time to come back to Sprint

Also I been using this to install gapps, pretty easy to do. http://en.miui.com/forum.php?mod=viewthread&tid=3998&highlight=google+app
[Sprint HTC One (M7)] bleichtman:
I might be missing something. How do you get menus to pop up
[Sprint HTC One (M7)] im0rtalz:
Yea seems like the logo2menu isn't activated the kernel should support it though.
[Sprint HTC One (M7)] :
As already mentioned it looks like Logo2Menu is missing from this build's Kernel. No worries, it was previously in there and with Data fixed anything that might have fallen between the cracks will be fixed shrotly.

In the meantime, go to Settings -> Buttons -> and configure the on-screen navigation. That will give you a menu button on-screen.
[Sprint HTC One (M7)] bleichtman:
Thanks....obviously didn't read through
[Sprint HTC One (M7)] xdominic:
i love you guys!!!! thanks!
[Sprint HTC One (M7)] digitalhigh:
So now that I FINALLY don't have to think about fixing the stupid data anymore, I've begun thinking about the best way to distribute this ROM.

In the past, with the Evo 3d, I just had one massive .zip that you had to download, then aroma would provide you with the option to add as much or as little as possible. This was nice, but also cumbersome not only for people to download, but also for me to maintain and upload.

Now, with the ONE, the ROM is even bigger, which means an 800MB+ download if I want to offer one integrated package featuring Gapps, extras, tweaks, kernels, and anything else. If I make a tiny change...I'd have to push everything again.

OR, if I do a weekly update, I'd have to do the same - repack everything every week, then wait forever to upload, and you guys wait forever to download.

This is a PITA.

So, I looked at Aroma's documentation, and I see that there is a ZIPREAD function. According to this, you can basically say "ZIPREAD (PATH/TO/FILE/ON/SDCARD.zip" and it will find that file, then parse /meta-inf/com/google/android/something.foo and read it to a file that the rest of Aroma can use.

Which means...I think I can split this ROM up into separate .zip files that all still work as one installer...or separately. Kind of like Voltron, but with android and zip files.

So the idea is basically this: I will do releases with the usual MIUI_3.XX.XX_ extension. But then they'll be split - baseROM.zip and Xtras.zip. You can pick "install" for either, and the Aroma script will use ZIPREAD to detect the presence of the other in sdcard/download or sdcard/. Additionally, I'll probably do _minor_ update releases that will only contain updates to files on a weekly basis, or changes to xtras that I want to add.

The end result is one unified installer, regardless of how many .zip files I throw out. You can flash just the base extras, just the base ROM, an extra update, or a base update. You can flash them by themselves, or in one sitting. And the whole process will be seamless...you just run the installer and it finds whatever files you have.

At least...that's the idea. I'm still in the "working it out in my head" process. Then I still have to test working with the ZIPREAD function, establish naming conventions, configure the OTA downloader (goomanager), test all that good stuff...

But, as far as I know, this has never been done before. If I can pull it off, it should make keeping this ROM updated very simple for everybody involved. You read about the idea here first. Crap...I better patent this. :P
[Sprint HTC One (M7)] nwo122383:
That sounds pretty awesome
[Sprint HTC One (M7)] Mko979:
Where do you put themes on the sdcard for miui to see it in the theme manager.
[Sprint HTC One (M7)] digitalhigh:
Haha...that's probably one of the trickiest things to do in MIUI ATM.

You really just need to put them in the root of /sdcard/0. Then in theme manager, you need to pick "local" tab, and then press the menu button and pick "import". However, without logo2menu enabled, you'll probably be hard-pressed to import, unless there's a better way to get the menu. :D
[Sprint HTC One (M7)] -TheEdge-:
You should prolly remap home key so long press is menu and double press is recents.
[Sprint HTC One (M7)] nofriendsbz3:
Where do I enable root at in this fine Rom...

Never mind I found it...

-Nick-
[Sprint HTC One (M7)] Mko979:
Yea that's what I was finding out. In the past we just had to put in sdcard/MIUI/themes but that sorry seem to work anymore. I put themes in there but the theme manager doesn't recognize them.
[Sprint HTC One (M7)] spuzwuzzel:
First off, thanks so so much to digitalhigh for making this happen. I have loved this room since I had my Evo 4g. I do however have a couple of issues right now. The first is that I can't download anything from Google play. It says it's preparing to download, but it never actually starts downloading, even after hours of waiting. The second isn't quite as big a deal but I was wondering if there was a way to make menu accessible through a long press of the home button. I have never really cared for on screen buttons, especially in this case where it makes you have the menu button and it duplicates the hardware buttons.

Thanks again.
[Sprint HTC One (M7)] :
1. If you aren't on WiFi you will have to go under the download app and make sure to uncheck "download over WiFi only". Also when you download any app a pop up should appear asking if you want to download over WiFi, you can uncheck and download per app here.

2. At the moment the menu button is tricky. Currently no way to configure a long press hardware button for menu. You can configure the nav bar under settings -> buttons, but it doesnt appear under all apps. You can see a screenshot of it below.
[Sprint HTC One (M7)] reesedizan:
Tried calling someone and they call me, can't hear their voice. Got the volume all the way up...? Sorry for the dumb question.
[Sprint HTC One (M7)] bleichtman:
Having the same issue with calls. If I dial out it works fine. If I get the call neither side can hear
[Sprint HTC One (M7)] xdominic:
I'm having the same issue. . .
[Sprint HTC One (M7)] GhostRyder1209:
Same here!
[Sprint HTC One (M7)] nofriendsbz3:
Same here
[Sprint HTC One (M7)] digitalhigh:
But of course it would be too good to be true.

Can anybody grab me a logcat of this issue? I'm sure it's just because we're missing methods in telephony-common.jar, and they have hooks for voice recording and stuff.
[Sprint HTC One (M7)] wheelsun:
woooo! been waiting for this, great work!

no LTE connection but I can live with just 3G and wifi for now :laugh:
[Sprint HTC One (M7)] -TheEdge-:
U should be able to remap in keylayout
[Sprint HTC One (M7)] tc2007:
LOL. I hope it is not related to the Data fix in any way. In other words it does not force use to choose between the 2 issues :)
[Sprint HTC One (M7)] xdominic:
Pm'd
[Sprint HTC One (M7)] daoliverio:
I've lost data and voice since I flashed this ROM. Restored a backup with sense and the phone won't connect to voice or data. MSID and MDN are not showing up and are failing to commit when I input them manually...

And ideas?
[Sprint HTC One (M7)] :
Flash CM and then go into dialer and type ##72786# and hit menu and choose rest.

This is an SCRTN data reset.

Then flash back to stock and reactivate using hands free activation.
[Sprint HTC One (M7)] digitalhigh:
What he said. What were you doing when you lost data? I've had this happen when experimenting and switching out APN's on a live system, but never just while running the ROM.
[Sprint HTC One (M7)] daoliverio:
Ok. I've tried the ##72786# before and reset everything. Hands free activation doesn't show up and I cannot connect to the Sprint Network. I wasn't S-OFF....I'm not sure if that made a difference?

I am now. Installed an unofficial CM and it SAYS i'm connected to the sprint network 3g and all...but nothing is working.
[Sprint HTC One (M7)] Th3Bill:
Hands-free activation only runs on stockish Rom. Flash superblue. I used that after I lost radio....hands-free fired right up on first boot and all was well with the world.
[Sprint HTC One (M7)] hoebag:
I had this same issues on a 4.4 Rom, if I changed to roam only I could get my messages but no sprint no matter which Rom I was on, ruu solved it for me
[Sprint HTC One (M7)] digitalhigh:
RUU didin't work for me or Ebbinger. The trick, for whatever reason, is to flash CM10. I use irocevo. Then it would show service, but nothing works. THEN you flash sense, do a scrtn reset, and data should kick back in like normal. It has to be done in this order tho.
[Sprint HTC One (M7)] daoliverio:
Ok. S-OFF and just put on Stock with Goodies...it's a Sense 5.5 rom...I'm getting an error that says vDM Client has stopped.

Ideas?

---------- Post added at 02:43 AM ---------- Previous post was at 02:42 AM ----------

It's SHOWING that I have data and voice. But nothing is working. I did the same (ish) steps
[Sprint HTC One (M7)] Th3Bill:
Sameish is not the same as exact. Do exactly this....flash CM10, do the reset device thing from that one menu. Then flash SuperBlue. That's what I had to do when I lost radio on THIS exact rom back when I was working to help DigitalHigh fix data.

And please don't take what I am saying to be me being a jerk. I'm just telling you the truth...not doing the exact steps will pretty much negate the ability to fix...
[One (M7) Q&A, Help & Troubleshooting] proteus665:
Hi guys! I'm on viper rom but I wanted to flash back to stock. I already downloaded this RUU RUU_M7_UL_JB_50_hTC_Asia_WWE_1.29.707.3_R_Radio_4A .14.3250.13_10.33.1150.01_release_311678_signed.exe but when I started the exe set up, in the middle I get an error 131 customer ID error. What do I need to do? I have already did the oemlock before proceeding the the exe set up. Below is also the information from getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.44.0000

(bootloader) version-baseband: 4A.14.3250.13

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.29.206.11

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: FA33TWxxxxx

(bootloader) imei: 3544360xxxxx

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0710000

(bootloader) cidnum: O2___001

(bootloader) battery-status: good

(bootloader) battery-voltage: 4042mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

I hope you'll respond. Thank you!
[One (M7) Q&A, Help & Troubleshooting] stovie_steve:
That RUU will not work. There is no RUU for your cid. Are you looking to return to stock 02 UK? Just download revone push it to your device and s off again. Restore a nandroid backup (if you don't have one I can give you a link), install stock recovery and then reset tamper flag, lock bootloader and then OTA to 2.24.206.1 then s on

---------- Post added at 06:55 PM ---------- Previous post was at 06:49 PM ----------

If going back to stock 02 then please follow this guide from step 5 onwards

Hit thanks if I helped :)
[One (M7) Q&A, Help & Troubleshooting] proteus665:
No my phone has an asian variant. So what do I need to do? Do I need to have my CID to have 11111 so that the RUU will work? I don't also know how to do Nandroid back up. :(

Thank you for your reply steve!
[Galaxy Note 3 Q&A, Help & Troubleshooting] DR_HAMMER:
Hi all

The 4k camera of the Note 3 seems to be quite impressive. I'm actually thinking about buying the Sony RX100 II camera for travelling, but I'm unsure whether it is worth it. Since compact digital cameras don't support 4k yet I would just buy yesterday's technology.

What do you guys think, does it make sense to buy a compact digital camera at the moment despite of already owning a Note 3? Or is it better to wait for 4k digital cameras?

Thanks in advance for all inputs.
[Galaxy Note 3 Q&A, Help & Troubleshooting] ShadowLea:
Depends on the price. The Note 3 camera is downright horrible in low-light, fluorescent light and with motion.

I'm a Canon-person (Technically I'm a DSLR user), so I can't say how good that Sony camera is. But the Note 3 camera is only good in bright sunlight, so it's probably a good idea to buy an additional camera anyway if you travel a lot.

As for 4K, that's only VIDEOS. You'd be hard pressed to find a digital compact camera these days with a resolution that low. For photographs, 4K is low: 3840 × 2160, 8.3MP. Anything above 8.3MP is a higher resolution than 4K, but only on STILL SHOTS.
[Galaxy Note 3 Q&A, Help & Troubleshooting] sportster44:
I have both (as well as Canon dslrs) and the Sony blows away the GN3 for image quality.
[Galaxy Note 3 Q&A, Help & Troubleshooting] mardukeme:
I have both as well and the Sony RX100ii blows the Note 3 away especially in low lighting. I basically use to take spur of the moment pics. If at an event, party, or on a trip I would definitley use the RX100ii instead.
[Galaxy Note 3 Q&A, Help & Troubleshooting] elingreen:
rx100ii is amazing, but it won't pair with the note 3, so it's slickest feature of using the phone as a remote viewfinder won't work
[Galaxy Note 3 Q&A, Help & Troubleshooting] sportster44:
Have you tried the Sony software? Works great on my Note 10.1