yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Q&A, Help & Troubleshooting] shaneaus:
Ok. I think I did it. I extracted the "telephony-common.jar" file from system/framework. I used 7zip to open it and took the classes.dex file out. I placed the classes.dex file into my smali/baksmali folder, decomplied, changed the above line of code in the manner indicated, recompiled.... I opened telephony-common.jar back up (confirmed that classes.dex was not present), copied the newly updated classes.dex file into telephony-common.jar. I placed it into a folder on the device. Using the app Root Explorer I had two tabs open and deleted the original telephony-common.jar file and immediately copy/pasted the new one in it's place. Just to be sure it worked I extracted the classes.dex file again and decompiled it to confirm.

I'll test it out tomorrow with a mass text to all of my sub-contractors. If it works - I'll edit/post the detailed instructions on the first post in this thread.
[Nexus 6P Q&A, Help & Troubleshooting] Decimation001:
Any update? It should work if you used the correct hexidecimals.
[Nexus 6P Q&A, Help & Troubleshooting] Decimation001:
I can also test it out if you want me to. I have all weekend. Just send me the jar.
[Nexus 6P Q&A, Help & Troubleshooting] Decimation001:
I just fixed it! I patched the jar myself. I set the max to 300 and the check (ms) to 0 so now I can send unlimited texts.
[Nexus 6P Q&A, Help & Troubleshooting] shaneaus:
[MENTION=7546851]Decimation001[/MENTION] [MENTION=453210]hanschke[/MENTION] [MENTION=6990243]jhs39[/MENTION]

Yep! It seemed to work for me. I, currently have 128 contractors. I sent out a text about work this week. Only issue is I only changed the max texts - not, the frequency in which it checks. I received about 6-8 pop-up messages about allowing a high number of texts. So, I just changed the hexadecimal (in milliseconds) to only check once/hr. This should fix it entirely for me! I'll update the first post on this thread with detailed instructions next week.
[Nexus 6P Q&A, Help & Troubleshooting] ragincajun97:
I have a Huawei Honor 5x running a custom 7.1.1 ROM. I have been desperately trying to remove this limit so I can message my daughter's soccer team efficiently. I have been trying the suggestions in this thread to no avail. I keep receiving an error that classes.dex is not a dex or odex file. I have used both Dex Manager and a smali/baksmali toolkit. I have successfully de-compiled other dex files so my tools are running correctly. Any suggestions?
[Nexus 6P Q&A, Help & Troubleshooting] Decimation001:
Here is a copy of my modified one.

https://www.dropbox.com/s/f6sqaduplc1k29k/telephony-common.jar?dl=0

Drop it in /system/framework. Replace it but make sure to create a copy of the default one.

This patch has absolutely no sending limits so you should be totally unrestricted.
[Nexus 6P Q&A, Help & Troubleshooting] ragincajun97:
Thanks for posting the jar file but unfortunately, my device didn't like it. After a lengthy reboot it did not recognize my SIM nor did the GPS function. I replaced the jar file with the original but it still acted flaky. I had to restore a recent backup.
[Nexus 6P Q&A, Help & Troubleshooting] Decimation001:
Sorry about that. It must be because you're on a different device. If you send me your copy of the default one I can modify it if you'd like.
[Nexus 6P Q&A, Help & Troubleshooting] ragincajun97:
I really appreciate your help. Here is a link to my jar file.

https://www.dropbox.com/s/eidq3wy245e2vxt/telephony-common.jar?dl=0
[Nexus 6P Q&A, Help & Troubleshooting] Decimation001:
Here: https://mega.nz/#!flJVCZYZ!qNXqzLeFKAFmIH4n7K8_S35HouErZx_w7SKmys_Y06o
[Nexus 6P Q&A, Help & Troubleshooting] iliehar:
Help Decimation

Please Decimation001 help us to edit step by step .

Dex file is difficult to change, and give us inside what line you changed.

Step by step is very good.

Thank you:confused:
[Nexus 6P Q&A, Help & Troubleshooting] Decimation001:
1. You are going to need the tool "apktool"

2. Extract your "telephony-common.jar" file from the folder "system/framework/" in the root partition and move it to your computer

3. Shift-click in the folder you put your telephony file. Click "Open command window here".

4. Type: "

apktool d telephony-common.jar

" and run it.

5. Once it's decompiled, navigate to "telephony-common.jar.out\smali\com\android\internal\telephony"

6. Find the file "SmsUsageMonitor$SettingsObserver.smali" and open it in any editor.

7. Find the line containing:

.line 248
const-string/jumbo v2, "sms_outgoing_check_max_count"

const/16 v3, 0x1e

and/or:

.line 250
const-string/jumbo v2, "sms_outgoing_check_interval_ms"

const v3, 0xea60

8. Now change the values "0x1e" and/or "0xea60" to your desired values in hexadecimal format. The value "0x1e" corresponds to "30" in decimal format and the value "0xea60" to "60000".

If you wanted the value "0" for both, change them to "0x0". Changing them both to "0x0" would allow you to send unlimited texts within an unlimited amount of time.

9. Now, to recompile the jar, run this command: "

apktool b telephony-common.jar.out

"

10. Navigate to "telephony-common.jar.out\build\apk" and get the "classes.dex" file.

11. Open the original "telephony-common.jar" in any archive tool (7zip, WinRAR) and replace the "classes.dex" file with the one you recompiled.

12. You now have your patched "telephony-common.jar"

13. Simply replace the default one in "system/framework/" with the one you patched. Also be sure that the permissions match the original one.
[Nexus 6P Q&A, Help & Troubleshooting] iliehar:
Thanks

Hello

Thank you veri Much but I dont Find in telephony-common.jar.out ,, smali'' , I use android 7.

One friend tell me the file is inside ,,boot-telephony-common.oat''

System/framework/arm/Boot_telephony_common.oat

I need to decompile and compile that file.

Thanks for help
[Nexus 6P Q&A, Help & Troubleshooting] Mikegrmn:
I was somewhat curious about why one would need to send so many text messages in such a short time that would trigger the Text limit. I can see the point in sending 140 texts at once on new years, but then again, and sorry if this is no help for circumventing this limit but rather a "thank you" for the developers who have implemented this limit and made it even harder to get around it.

There are still phone plans around the world where every text costs a certain amount of money. On my plan it´s somewhat of a flat fee that cannot be exceeded, but if someone would trigger my phone to send 400 texts at once, my text and voice plan would be depleted. In the past, there were cases around here, where malicious code triggered hundreds of texts in a short amount of time resulting in horrendous charges for the owner of a phone (remember the old nokias where you have to hit one key multiple times to get to the letter you needed???? although you could basically prove that this couldn´t have happened from your grannys phone, carriers never gave up on collecting the money) going into thousands of bucks.

Like stated at the beginning, I can see a limited application to legally send a lot of texts at once (like the amber alerts in the US), but mostly, I can see this deployed for illegal reasons. You may have a legit application to send so many texts, but seeing all the harm that can be done with it also, I´m quite glad to read that it´s not easy to circumvent.

Rather than sending so many texts, I´d rather use any of the apps that would send messages to a group of people like whatsapp or similar. Even google hangouts could do it.

I know there are still people not having smartphones where an app wouldn´t work, but if all the people you want to reach would own such phones, you wouldn´t deal with reverse engineering apps as you most likely wouldn´t own a smartphone either.

So, this is just my take on it and my 2 cents. If anyone comments on this as not helping this "project" getting further (which I actually said within my post that it won´t help the project) or if it gets insulting replies, I won´t comment back. If this triggers a nice discussion about why private entities would really need to send mass texts, I´m more than glad to come back to discuss and have others convince me why this is useful.
[Nexus 6P Q&A, Help & Troubleshooting] iliehar:
If I create a long mesage and send to many person (group), alarm. The cost is me problem, if the android sistem stop is not corect, an avertisation is ok but if I accept is me problem.
[Nexus 6P Q&A, Help & Troubleshooting] Mikegrmn:
I think this is a case I covered in my post. Why does it have to be a text? Can't you use some group chat app instead? And if there is one or two persons not having a smartphone, send a text to those seperately? Just asking. I know this would be a small inconvenience, but if it's really needed, it wouldn't matter that much. Not sure if I would go through such great lengths to achieve this, unless I would need it on a daily basis. But once every year for new years?!?
[Nexus 6P Q&A, Help & Troubleshooting] 5.1:
Hi... It sounds [MENTION=711322]shaneaus[/MENTION] needs this option for work purpose. Maybe sending a simple SMS is more convenient than asking ~100 people to install a third party app?!

Also, this modification doesn't seem to take much time to achieve once you know what you're looking for.

Personally, I don't need to send so much text messages, but it's great to see android yet offers a way to workaround (almost) any issue one can encounter. :)
[Nexus 6P Q&A, Help & Troubleshooting] ragincajun97:
Many thanks.
[Nexus 6P Q&A, Help & Troubleshooting] iliehar:
Hello

If you help me I buy you a coffee.

System/framework/arm/Boot_telephony_common.oat

I belive the fille SmsUsageMonitor$SettingsObserver.smali is inside.

Thank you
[Nexus 6P Q&A, Help & Troubleshooting] max_artman:
Thanks to all of you guys!

Had the same problem since flashing LineageOS but with Decimation001's guide now everything is fine again.

The only thing you should perhaps mention is that the filesystem has to be mounted writeable (before 13.):

mount -o rw,remount /system

After that you can mount it again as read-only:

mount -o ro,remount /system

Thanks and greetings from Austria, MW
[Nexus 6P Q&A, Help & Troubleshooting] hanschke:
can anyone give us a flash zip file for LineageOS please?
[Nexus 6P Q&A, Help & Troubleshooting] 5.1:
Hello...

You have to use your own "telephony-common.jar" to make the changes...

Extract it and post it here. When I have some time I'll take a look. If nobody does it before.

Cheers...
[Nexus 6P Q&A, Help & Troubleshooting] bilalahmad116:
I have attached my OP3T file. Can you please remove SMS limit?
[Nexus 6P Q&A, Help & Troubleshooting] 5.1:
Hello... Is the file on your phone really only 310 bytes? There is nothing to decompile inside of the Jar...

On my N6, N6P and Pixel XL, the telephony-common.jar is ~800 kilo bytes.

Check this and let me know. If it is the case, this must be another Jar on the OP3T...

Cheers...
[Nexus 6P Q&A, Help & Troubleshooting] bilalahmad116:
This is the other file i found.

https://www.dropbox.com/s/9sadgcsn1nbl2cq/qti-telephony-common.jar?dl=0
[Nexus 6P Q&A, Help & Troubleshooting] 5.1:
So..? Only 310 bytes?

Seems only RIL (Radio Interface Layer) and DATA related...

Cheers...
[Nexus 6P Q&A, Help & Troubleshooting] max_artman:
After my last update (LineageOS 14.1) i had the same problem (my telephony-common.jar schrank to 810 bytes).

But this worked for me:

https://www.xda-developers.com/change-sms-limit-android/
[Nexus 6P Q&A, Help & Troubleshooting] iliehar:
My phone have Android 8 Oreo (I think work android 6-7-8), I REZOLV the problem like this:

1-Install TWRP (search on Internet) and root the phone install with TWRP SuperSU, atention all for your Phone.

2-Open The Phone and put on the enternet (not magazin Play because is with cost) Root FilleExplorer and SQlite Editor, and give them root acces, when you are askyng.

3.Explore with explorer data/data/com.google.android.gsf/databases/gservices.db, and clic on this and chose for open SQlite editor.

4.After open the database with SQlite editor, click on ,,main'' and now You see a list off setings.

5.Right corner chose ,,new record''

6. Name ,,sms_outgoing_check_max_count'' Value ,,9999'' and ok

7.Restart the Phone and WORK
[Nexus 6P Q&A, Help & Troubleshooting] jbm76:
I tried your method - I am running a HTC 10 with Oreo.

It made google services framework stop working - and couldn't do anything on my phone.
[Nexus 6P Q&A, Help & Troubleshooting] iliehar:
Another metod worck on non rooted phone, I use on Android 8 and 7.

0.instal in your phone

https://play.google.com/sto...

and open

1-put drivers for ypur phone to see with compyuter your phone

2-Downlad and rename the folder with adb and put this in pertition C

https://drive.google.com/fi...

3-open comand promt like administrator and tape:

cd C:\adb

and see C:\adb>

tape C:\adb>adb devices

and see

List of devices attached

ZY223R3KT5 device

if you see unauthorized You need to accept in your phone, one popup apear and give compiuter acces.

tape adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS

and see

C:\adb>

Restart the phone

4.Open in our phone

Settings Database Editor.apk and add in bouth this

category (system,secure,global) new settings

on top is +Add new settings push them

and tape sms_outgoing_check_max_count and value 99999

and restart

And now you can send a lot off message.
[Nexus 6P Q&A, Help & Troubleshooting] jbm76:
Cheers thanks that worked - I have root anyway so just installed the app made the changes... just sent 11 messages no problems :)
[Nexus 6P Q&A, Help & Troubleshooting] 89mclarenstang:
any chance someone knows what program the last poster was talking about? the link is cut off and i really need to remove the sms limit. im also rooted so the program should be sufficient.
[8125, K-JAM, P4300, MDA Vario General] chrisredmayne:
You know the cover that goes over the battery - I was drunk last night... Very drunk... And now the cover of my phone has went missing and I have no idea how! It was between the time when I was sick and getting the taxi home I think lol Makes you wish yu never went out huh!

Anyway since its Christmas if anyone would like to send me their cover that they dont need...

Chris Redmayne

28 Finsbury Street

Monkwearmouth

Sunderland

SR5 1HL

Thank you sooooo much if you do x
[8125, K-JAM, P4300, MDA Vario General] stigmadt:
you can find them on ebay for less than 5 bucks, just search 8125 battery cover, i had to replace mine cause the rubber pad fell off

DAVE
[Nexus 6 Q&A, Help & Troubleshooting] H4X0R46:
Alright so, everyone at this point is aware of the super high number of Shamus out there that have this issue. When the battery gets to lower percentages, the speakers give an awful hissing feedback when system sounds are played. Mine has done this since day one and still does it.

Now onto what I found, I ran my phone encrypted for once (I always had it unencrypted) and the hissing is so low that it's unnoticeable! Unencrypting the device again, the problem returned. Is it something with encryption on this device since it was literally meant to be encrypted without an option? (Unmodified device of course)

Anybody else notice this?
[Xperia Z5 Compact General] Superrman:
saw dissembled clips

of Z5P and Z5C

and z5c do not have that (barely regular heat sink) while Z5P does

https://youtu.be/XHnMLc2RBb4?t=4m52s
[Xperia Z5 Compact General] Nyahaha1171:
You do realize there is a Z5P forum for this right?
[Xperia Z5 Compact General] Superrman:
of course ,also regular z5 got this :( , its just to update all Z5C users (who need\want to know) that the compact version doesn't have that maybe because of that Z5C heating faster &cool down slowly ( im disappointed )
[Xperia Z5 Compact General] ninestarkoko:
Infact Z5c thermal max values in thermal-engine are lower than those in Z5 or Z5P.

Overall I'm not disappointed with the reached temperatures, apart when playing heavy games in summer. But it's an old story now, SD 810 is a failure on this side and everyone knows it
[XDA Assist] Drgnshdw:
I rooted my g935v with the oem loc still enabled and now I cannot flash a stock firmware, I always get an error through Odin, and also I am constantly getting application failures have my phone is running. Please help I have tried different stock rooms to no avail.
[XDA Assist] xanthrax:
Hi !

I have found this thread , have a look , be sure you download the exact firmware for your device variant

Good luck !
[Samsung Galaxy Fame] hebermusik:
What is here for the Samsung galaxy fame Lite (6791l)...?
[Samsung Galaxy Fame] aju1:
Galaxy Fame Lite Is another Device It Is entirely Different From s6810/P/M/L
[Samsung Galaxy Fame] Android_Vzla_01:
Any ROM for 6790L ??? SamMobile have the download to premium user.... :(
[Android Q&A, Help & Troubleshooting] dimm0k:
I have little to no knowledge of modifying APKs and all attempts in doing so in the past have resulted me in giving up, except now I really need this to work! looks fairly simply according to this old post using apktool and java outlined here https://www.reddit.com/r/Android/comments/11852r/how_to_modify_an_apk/

only issue is I can't get it to rebuild the apk from the folder even if I make no changes. I'm getting a bunch of "Error parsing XML: not well-formed (invalid token)" messages before it spits out the following exception

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException:could not exec (exit code = 1): [/tmp/brut_util_Jar_2053807626495926747.tmp, p, --forcedpackage-id, 127, --min-sdk-version, 14, --version-code, 708, --version-name, 3.1.3, -F, /tmp/APKTOOL6891156991859364727.tmp, -0, arsc, -0, arsc, -I, /home/nmok/.local/share/apktool/framework/1.apk, -S, /tmp/com.braksoftware.HumanJapanese-ca95c7eff15a41e99c94d68e5fe46a67/res, -M, /tmp/com.braksoftware.HumanJapanese-ca95c7eff15a41e99c94d68e5fe46a67/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:478)
at brut.androlib.Androlib.buildResources(Androlib.java:412)
at brut.androlib.Androlib.build(Androlib.java:311)
at brut.androlib.Androlib.build(Androlib.java:264)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_2053807626495926747.tmp, p, --forced-package-id, 127, --min-sdk-version, 14, --version-code, 708, --version-name, 3.1.3, -F, /tmp/APKTOOL6891156991859364727.tmp, -0, arsc, -0, arsc, -I, /home/nmok/.local/share/apktool/framework/1.apk, -S, /tmp/com.braksoftware.HumanJapanese-ca95c7eff15a41e99c94d68e5fe46a67/res, -M, /tmp/com.braksoftware.HumanJapanese-ca95c7eff15a41e99c94d68e5fe46a67/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:439)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:464)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_2053807626495926747.tmp, p, --forced-package-id, 127, --min-sdk-version, 14, --version-code, 708, --version-name, 3.1.3, -F, /tmp/APKTOOL6891156991859364727.tmp, -0, arsc, -0, arsc, -I, /home/nmok/.local/share/apktool/framework/1.apk, -S, /tmp/com.braksoftware.HumanJapanese-ca95c7eff15a41e99c94d68e5fe46a67/res, -M, /tmp/com.braksoftware.HumanJapanese-ca95c7eff15a41e99c94d68e5fe46a67/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:433)
... 6 more

any sort of help would be appreciated!
[One (M9) Q&A, Help & Troubleshooting] boredherobrine13:
Hi, I was wondering if it is possible for me to use the stock RUU to update to nougat on my htc one m9 rather than waiting for t-mobile to release a verified rom later in the year?
[One (M9) Q&A, Help & Troubleshooting] Faisal0000:
Yes u can. Just make sure that u are s-off and bootloader unlocked and then flash the dev edition ruu and u will get nougat.
[One (M9) Q&A, Help & Troubleshooting] computerslayer:
Not quite. To flash the developer RUU on a T-Mobile branded M9, you'll need to change your MID & CID to match the SKU of the developer edition RUU. If you don't know about these acronyms, stop what you are doing and read up. The FAQ section of the M9 readme thread, question 9, walks you through converting GSM phones (like the T-Mobile version) to the developer edition.
[One (M9) Q&A, Help & Troubleshooting] EKB8789:
Hi, And me I have htc one m9 sprint i can flash ruu nougat???:confused:
[One (M9) Q&A, Help & Troubleshooting] computerslayer:
Not until Sprint releases the Android Nougat update.

The only update the is currently available is for the developer edition of the M9, a GSM model. Sprint is a CDMA carrier and incompatible with GSM.
[One (M9) Q&A, Help & Troubleshooting] Faisal0000:
Thanks for clarifying.

And you cannot flash on sprint or cdma phones. The ruu is only for gsm phones.
[One (M9) Q&A, Help & Troubleshooting] boredherobrine13:
Thanks for linking me that. It also solved my question about why I was experiencing a bootloop, and gave me the method I had been searching for to crossflash :)
[One (M9) Q&A, Help & Troubleshooting] computerslayer:
Wonderful! Always nice when we find a solution. Kudos go to Flippy498, who created that thread and updates it as things come out, and to the many XDA members who have contributed to it.
[One (M9) Q&A, Help & Troubleshooting] boredherobrine13:
Yup, now my next question is...how do i flash firmware v4...as I did CID/MID conversion to the Dev/Unlocked version, but now need the firmware, not just the RUU to flash
[One (M9) Q&A, Help & Troubleshooting] computerslayer:
RUUs have the firmware along with everything else. While I'm pretty sure there's a way to flash individual components (radio, firmware, et cetera), that is beyond me. I stick to using the RUUs, and recommend them heartily. The easiest method is the SD card method - outlined in that same post. You'll end up wiping your internal phone storage (so back up what you care about), but it'll get you to the latest and greatest for the M9.
[One (M9) Q&A, Help & Troubleshooting] boredherobrine13:
Really? I read that you couldn't use an RUU because verify key on firmware v1-3 is different from the one on v4, so you need v4 firmware to use a v4 RUU, which requires using a method. So I converted to dev/ATT/unlocked, flashed a v3 RUU I found online, and now I'm going to try to update to v4 which is apparently safer. If this fails, I'll try the RUU. After all, this is all vanilla to HTC so it should tell me if it won't work.
[One (M9) Q&A, Help & Troubleshooting] computerslayer:
I'm pretty sure the issues about keys has to do with trying to downgrade. But that's above my knowledge level.

I know for sure that you can apply the Nougat RUU after the Marshmallow RUU without issue because I have done this myself.
[One (M9) Q&A, Help & Troubleshooting] boredherobrine13:
Really? Well..I've already applied v3.0 and am going through all the updates. But Its certainly worth a try I suppose.
[One (M9) Q&A, Help & Troubleshooting] boredherobrine13:
Just tried. Got an err.
[One (M9) Q&A, Help & Troubleshooting] computerslayer:
Are you trying to take OTA updates or using an RUU?

Also, what's the error message?
[One (M9) Q&A, Help & Troubleshooting] boredherobrine13:
Tried to use an RUU. Got a signature error of some sort. Can't remember the number. RN it is taking OTA updates smoothly. Now, it will either get to v4 eventually through the OTA updates, or it will cut off at the top of v3 (in which case I have done something horribly wrong). I will try to flash RUU after I get v4 through OTA, just for fun and for the sake of the community

Edit 1: v4 finally showed up through OTA. 2GB Downloading currently. Will still RUU to double check compatibility. Will post back with success or not.

Edit 2: v4 was successful, device convered to HIMAULATT. Now flashing the Dev RUU, which works. It didn't work on v3. Therefor I was correct, and RUU v3 -> v4 isn't compatible.