Related
this is a step-by-step guid to modify your mms.apk in order to modify the MMStoSMS limit and max receiver per message, it works with custom roms
1 download Apk Manager from here (thanks to Daneshm90)
Apk Manager 4.9
(windows only)
extract apk manager
copy your mms.apk file from /system/app
and twframework-res.apk from /system/framework to your computer
copy mms.apk into place-apk-here-for-modding folder
start script.bat
select option 22 (Set current project)
select mms.apk from the list that appear
select option 10 (decompile apk with dependencies)
when asks for dependencies drag and drop twframework-res.apk into the window
then select enter, let it work, don't close apk manager at the end of his work!!!
open apk_manager/projects/Mms.apk folder
go in /res/xml and open mms_config.xml, you can use notepad or every text editor you like
go to
Code:
<int name=”recipientLimit”>10</int>
and change it to
Code:
<int name=”recipientLimit”>100</int>
with this option you can max the number of receiver person in a message up to 100
now go to
Code:
<int name=”smsToMmsTextThreshold”>4</int>
and change it to
Code:
<int name=”smsToMmsTextThreshold”>100</int>
this way you can make up to 100 SMS before it automatically converts it into an MMS
save and close
now we will make a modify so the sms we receive doesn't show the time we RECEIVE the message, but the real time the SENDER wrote the message
go to /smali/com/android/mms/transaction/SmsReceiverService.smali
open it with any text editor
search this line
Code:
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
substitute all the line with this
Code:
invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getTimestampMillis()J
now search the line
Code:
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
(it's the same line but it's correct don't worry, there are 2 of them )
substitute all the line with this
Code:
invoke-virtual {v0}, Landroid/telephony/gsm/CbMessage;->getTimestampMillis()J
save and close
now return to apk manager
select option 11 (compile apk)
select yes to both the question
let it finish, now don't close apk manager yet, open apk manager folder, you will find a new folder named keep, open it and go for the file mms_config.xml (/res/xml) delete it, also delete resources.arsc e classes.dex in main keep folder
now return to apk manager and press enter on the script
when the work is done close the program (option 24)
go to place-apk-here-for-modding folder and you'll find 2 files, delete the mms.apk file and rename the Unsignedmms.apk file to "Mms.apk"
(REMEMBER TO MAKE BACKUP OF ORIGINAL Mms.apk file in order to quickly backup in case of error )
copy this file back to /system/app in your phone, overwrite the original file
enjoy
thanks dude. is it works all gb roms?
erdemsaid said:
thanks dude. is it works all gb roms?
Click to expand...
Click to collapse
hi the first part, concerning the changing of max message size and max receiver works with all phones, personally i tested it with samsung i9001, i9000,i9003 and s5570, the second part, concerning the time the sms was SENT instead of RECEIVED works only with phones that have CB options inside, for example on s5570, the 2° part doesn't work, because the phone doesn't have CB messages options in sms app, understand?
wow thank you dude, maybe I'll develop a nice ROM....
Send with Tapatalk on my Samsung Galaxy S i9000 @Android 4.0.3 AOKP
tweax said:
wow thank you dude, maybe I'll develop a nice ROM....
Send with Tapatalk on my Samsung Galaxy S i9000 @Android 4.0.3 AOKP
Click to expand...
Click to collapse
i'm glad you find my guide useful
Sent from my GT-I9001 using xda premium
could you update the guide with the possibility to change received time in sent time?
thanks
MMS.apk
can anyone send me a stock mms.apk plss. accidentally un installed it
musashihatred said:
can anyone send me a stock mms.apk plss. accidentally un installed it
Click to expand...
Click to collapse
for i9001? which telephone?
iscio said:
could you update the guide with the possibility to change received time in sent time?
thanks
Click to expand...
Click to collapse
with this guide the time you see in received message is the tiem the message was sent, not received
Good guide ^^
deltaquarty said:
for i9001? which telephone?
Click to expand...
Click to collapse
Any galaxy s variant mms apk. i9001 will be ok
Cool guide mab. Im starting on it. XD
Sent from facebook
sending you as soon as i arrive to university you want i9001 stock right?!
Sent from my GT-I9001 using xda premium
arrived uploaded the stock mms.apk for i9001 enjoy
Thanks thanks thanks ill do your guide
Sent from my 3310; i7-windows7 ultima
musashihatred said:
Thanks thanks thanks ill do your guide
Sent from my 3310; i7-windows7 ultima
Click to expand...
Click to collapse
good if you find problems in my guide i can make the work done for you if you prefer
is it possible to use this guide with gs2?
iscio said:
is it possible to use this guide with gs2?
Click to expand...
Click to collapse
you mean sg2? however yes, it works for all android phones
deltaquarty said:
you mean sg2? however yes, it works for all android phones
Click to expand...
Click to collapse
yes sorry but I have no dipendencies from twframeworks...I try to modify the mms.apk without dipendencies but when I put it on the phone I see again the received time
iscio said:
yes sorry but I have no dipendencies from twframeworks...I try to modify the mms.apk without dipendencies but when I put it on the phone I see again the received time
Click to expand...
Click to collapse
it's difficult because i developed this guide using a sg2 files, look at files' position i indicated, and you can't miss it
deltaquarty said:
it's difficult because i developed this guide using a sg2 files, look at files' position i indicated, and you can't miss it
Click to expand...
Click to collapse
sorry see my attached image. I found twframeworks but with the script it says that I have no dipendecies
IMPORTANT - APK extraction is needed only when you are going to edit or replace png's for theming. If you want edit xml's, you need to decompile the apk instead of extracting it.
If you want to decompile an apk, read this tutorial - http://forum.xda-developers.com/showthread.php?t=1664292
1) Download apkmanager ( http://apkmultitool.com/downloads/Apk_Manager_5.0.2.zip ) and install it
2) Put the apk you want to decompile in 'place-apk-here-for-modding' folder.
3) Double click on 'script'
4) Ignore the 'adb not found' command and press enter
5) Type 22 i.e. 'set current project' and press enter.
6) Type 1 and press enter
7) Type 1 again and press enter to extract
8) Wait until the extraction finishes.
9) Minimize command line and go to projects -> filename.apk -> change/edit the required png's
Warning - Do not edit 9.pngs or replace them just like that. They are not normal png's. For mor info on how to edit 9.png's, follow music.soul's tutorial - http://forum.xda-developers.com/showthread.php?t=1559154
10) Switch back to command-line, type 3 and press enter.
11) If it is a system app's apk, type 1 and press enter. If it is a normal apk, type 2 and press enter.
12) Wait until the command-line comes back to its initial look.
13) Go to 'place-apk-here-for-modding' folder, your new file will be unsignedfilename.apk
14) Copy the file to SD card, rename it and remove 'unsigned' from file's name.
15) Push the file to original folder using root explorer and set proper permissions.
EG - If you modded framework-res.apk, push your new file to /system folder. Set permissions to rw-r--r-- and then move the file to /system/framework folder.
PS - Make a nandroid backup before doing this if you modded framework. Backup the original app's apk in case something goes wrong
Sent from my GT-S5830 using Tapatalk 2
Excellent guide
evil_penguin said:
Excellent guide
Click to expand...
Click to collapse
Thanks
Sent from my GT-S5830 using Tapatalk 2
APK manager is the only thing I need? Or do I also need Java SDK and Android SDK. For theming only.
Thanks dude! now I will start to mod my stock LUBKPL rom to my personal preferences and if it goes fine I will share my mods. Now in Mexico there are president elections and I work for one of the 4 countenders so I will star my mods before July 5 here are a LOOOOOTTTT of work rite now!
kevin03 said:
APK manager is the only thing I need? Or do I also need Java SDK and Android SDK. For theming only.
Click to expand...
Click to collapse
You only need apkmanager and a good image editing software like photoshop.
Sent from my GT-S5830 using Tapatalk 2
How about unpacking and repacking roms? How do I do that?
Woho. One more awesome guide. Thanks dev
Sent from my GT-S5830 using xda premium
Both the guides are very clear and detailed, I think they are eligible enough to be featured on XDA news. What say guys? How can I submit his threads for XDA news?
Sent from my GT-S5830 using xda premium
kevin03
7zip.It's easly
Rishris said:
Both the guides are very clear and detailed, I think they are eligible enough to be featured on XDA news. What say guys? How can I submit his threads for XDA news?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Lol, that's too much. I did not write the guides to get featured on XDA news. I just wrote them to help newbies. And I dont think they consider such normal stuff for XDA news. Thanks for the appreciation anyway
Sent from my GT-S5830 using Tapatalk 2
So I got the apk manger from the link you posted and followed all directions, but when I get to the step where I decompile the apk, i get an error.
I've attached a picture maybe this will help.
what im trying to decompile is a MMS.apk from my nexus.
thanks in advance and sorry for reviving an old thread.
You can use this tutorial to add more apps to multiview without needing root.
Credit goes to the folks over in the Galaxy Note 10.1 forums.
ianbbaa
JustFlesh
Leppin
hairdevx
http://forum.xda-developers.com/showthread.php?t=2024399
While it was designed to work for the tablet, it also works very nicely with our Note 2.
I`M POSTING THE EXACT WAY THAT WORKED FOR ME !
YOU NEED:
1. JAVA: make sure you have java runtime enviorenment and download and install java development kit (http://www.oracle.com/technetwork/java/javase/downloads/index.html)
2. APK MultiTool : http://apkmultitool.com/
3. WinRAR (or other zip extractor)
4. A file explorer on your phone
How to:
1. Extract APK-Multi-Tool to a folder.
2. Connect phone to PC in "Development mode". Wait for drivers to install. Make sure everything is ok.
3. Enter the folder , right-clik "Setup" and select Run as administrator. (you have to do this ONLY the first time you run the tool)
4. Press 3 and then Enter
5. Press any key.
6. Press 2 then 5 then follow on screen. After finish go back to main menu.
7. Press 1 (install framework-res.apk). After finish go back
8. Press 2 (install twframework-res.apk). After finish go back
9. Press 4 (install SystemUI.apk). After finish go back
10. Press 00 to Quit.
11. Use Apk Share & Backup (search for it on play) and create backups of the apps you want to use in multiview.
12. Transfer 1 apk from the Apk Share & Backup folder on your phone to the "place-apk-here-for-modding" in the APK-MUlti-Tool folder
13. Go to APK-Multi-Tool folder and Right-click "Script" and select Run as administrator.
14. Press any key.
15. Select 9 (decomplie the apk). After it finisher (make a decision appears again) close the window.
16. Go to APK-Multi-Tool folder and then projects folder. Inside this folder you will find a new folder with your apk`s name. Double-click it.
17. Inside your apk`s folder you will see a file: "AndroidManifest". Right-click it and select Open With and then WordPad
18 Find this line : <category android:name="android.intent.category.LAUNCHER" />"" and , right after it, press enter and add this:
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
19. Find this line : </application> and at the end of the row BEFORE it press enter and ther add this:
<uses-library required="false" name="com.sec.android.app.multiwindow" />
<meta-data android:name="com.sec.android.support.multiwindow" android:value="true" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_W" android:value="632.0dip" />
<meta-data android:name="com.sec.android.multiwindow.DEFAULT_SIZE_H" android:value="598.0dip" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_W" android:value="632.0dip" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H" android:value="598.0dip" />
20. Save and close the file.
21. Start the Script again and choose option 15
22. When it says : *daemon started succesfully* press Ctrl+C and then y and Enter. Open task manager and end the "adb.exe" process.
23. Go to "place-apk-here-for-modding" and copy the signed apk to your phone.
24. Uninstall the app from your phone and install it using the signed apk you created.
Everything should work.
To keep things simple, when your done delete the content from your "place-apk-here-for-modding" and your projects folder and mod only one app at a time.
You have to do this again after each update of the apps you modded
THIS THREAD IS NOT A COPY-PASTE FROM SOURCES. I ADDED A COUPLE OF STEPS TO MAKE IT WORK FOR MY NOTE II.
SOME APPS MAY NOT WORK. IT`S NOT MY FAULT.
If requested I will make a video tutorial too.
Click the Thanks button if this helped you.
Screenshots (as requested)
First time setup
Apk modding
Screenshots have been posted backwards. Go from last image to the first one. And surf each category (First time setup / Apk Modding) independently.
Sorry for the mixup.
Thanks for sharing
Sent from my GT-N7100 using xda premium
You're welcome!
Compared to the thread in the 10.1 and Verizon Note II sections , I made a couple of modifications. And now it works for me.
Sent from my GT-N7100 using Tapatalk 2
For Yahoo Mail make sure the name of the apk you put in the modding folder does not contain "!" or else the tool will not be able to decomplie it.
(standard name for this apk is Y!mail)
steve9127 said:
There where some missing lines. I completed them.
Sorry for that.
Screenshot
Click to expand...
Click to collapse
Thanks for this tutorial. It would be nice if you posted screen shot of the steps on the PC.
Cheers
Tom
My Note II to you
Szczepanik said:
Thanks for this tutorial. It would be nice if you posted screen shot of the steps on the PC.
Cheers
Tom
My Note II to you
Click to expand...
Click to collapse
Screenshots have been posted
Great! I'll look into it to mod some commonly used apps...
Would be great if developers start including this though.
it works great. :good:
Thanks.
Glad to hear that.
Sent from my GT-N7100 using Tapatalk 2
Hi steve, thanks for sharing this hard work.
But i have been trying this the whole day but it doesnt work.
I did exactly as you post and i had the signed apk, it appears at the multiwindow strip but when i try to open it with other programme it took the whole screen.
Would is the problem you think?
Good tutorial and instructions is easy .. thanks for share :good:.
Have you tried more than one apk? Do they all act the same?
Sent from my GT-N7100 using Tapatalk 2
I'm glad you find it usefull :d
Sent from my GT-N7100 using Tapatalk 2
Excellent tutorial, thanks!
Successfully modded two apps which work great, they don't show in the multiview bar though? Does this require root and a modded multiview?
been tsidelnf
steve9127 said:
Have you tried more than one apk? Do they all act the same?
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
Yes, i have tried 4 apps. 1 is crashed when open, the others act as i said.
I re tried the process more than one time for each apk but the results is same
medo_mm1990 said:
Yes, i have tried 4 apps. 1 is crashed when open, the others act as i said.
I re tried the process more than one time for each apk but the results is same
Click to expand...
Click to collapse
I think some apps just don't play nice with the multiwindow framework (which may be why Samsung only enabled it for specific apps). I have one that just refuses to compile and throws up loads of aapt errors.
RoboticBandit said:
I think some apps just don't play nice with the multiwindow framework (which may be why Samsung only enabled it for specific apps). I have one that just refuses to compile and throws up loads of aapt errors.
Click to expand...
Click to collapse
Oh yes, its right.
Can you share us with apks that worked with you?
It would be very nice
No, the mod does not require root. The screenshot withbskype and tapatalk is from my phone which is completly stock.
Try this, see if it works: https://www.box.com/shared/p0w10b78m3enpzywdw37 . It is the modded apk for the latest version of Whatsapp.
Sent from my GT-N7100 using Tapatalk 2
medo_mm1990 said:
Oh yes, its right.
Can you share us with apks that worked with you?
It would be very nice
Click to expand...
Click to collapse
Here you go... if you check out the thread linked in the OP, there's some APKs in there too.
hello forum
can any1 provide me with the official android gallery apk version 4.2.2 it suddenly stopped working and i deleted it by mistake now when i try to open it it says this application is not installed
my s4 GT-I9505 is rooted...
thanks
can some1 plz help?...its not hard u can use titanium backup.....i think
xweel said:
can some1 plz help?...its not hard u can use titanium backup.....i think
Click to expand...
Click to collapse
Hi,
Look HERE
malybru said:
Hi,
Look HERE
Click to expand...
Click to collapse
this doesnt work....it requires the app to be installed
first it asks me if i want to update the existing built in app, no other option but to choose install then i get the message " app not installed "
thanks
xweel said:
this doesnt work....it requires the app to be installed
first it asks me if i want to update the existing built in app, no other option but to choose install then i get the message " app not installed "
thanks
Click to expand...
Click to collapse
with root explorer move this app to system/app, then fix permission to 744, reboot
xweel said:
this doesnt work....it requires the app to be installed
first it asks me if i want to update the existing built in app, no other option but to choose install then i get the message " app not installed "
thanks
Click to expand...
Click to collapse
Hi,
Go to the market and get "FX File Explorer" + root
Navigate to system/app
Unlock the padlock at the top of the page.
Paste the Gallery app into the folder.
Save.
Reboot
malybru said:
Hi,
Go to the market and get "FX File Explorer" + root
Navigate to system/app
Unlock the padlock at the top of the page.
Paste the Gallery app into the folder.
Save.
Reboot
Click to expand...
Click to collapse
samersh72 said:
with root explorer move this app to system/app, then fix permission to 744, reboot
Click to expand...
Click to collapse
weird, the app was already in that folder.....i still moved the downloaded one though its the same, and i changed permission to 744, nothing changed....btw reboot as in restart?...
edit: now i cant see the gallery icon in the app drawer...
xweel said:
weird, the app was already in that folder.....i still moved the downloaded one though its the same, and i changed permission to 744, nothing changed....btw reboot as in restart?...
Click to expand...
Click to collapse
you ment that it is not deleted!
reboot=restart
samersh72 said:
you ment that it is not deleted!
reboot=restart
Click to expand...
Click to collapse
i thought it was deleted...the icon was in the app drawer...when i tried opening i get the message application is not installed, this happened after i cleared date from the application manager which i forgot to mention or thought it wasnt important..was it important ^^?
thanks
edit: maybe i should delete the .odex file? ..
i think a titanium back file will work...no1 can provide ??....or it wont work.....?
xweel said:
i thought it was deleted...the icon was in the app drawer...when i tried opening i get the message application is not installed, this happened after i cleared date from the application manager which i forgot to mention or thought it wasnt important..was it important ^^?
thanks
edit: maybe i should delete the .odex file? ..
i think a titanium back file will work...no1 can provide ??....or it wont work.....?
Click to expand...
Click to collapse
hey just root your phone with cf root download rootbrowser and replace the downloaded version with the one in system/app
then reboot
Hi guys!
I'm bumping an ancient thread here, hope that's okay with you.
I have this old S4+ lying around. I love it's Gallery app due to the built-in possibility to losslessly trim MPEG-4 AVC (H.264) videos by cutting to nearest keyframe, and also lossless rotation by changing the rotation metadata flag of the MP4 file in question. This simple feature is not implemented in "modern" Gallery apps, or well at least not in the OnePlus 5T I'm using today. So, I was thinking I could extract the .APK from my S4+ (running Android 5.x) and put it in my OP5T (running Android 8.x) without too much headache. Guess if I was wrong.
I get the error about that app was not installed. After browsing around on e.g. ApkMirror, I ultimately found a Samsung Galaxy derived Gallery .APK that I could install, it was a very early version (v1.x.something) which has the cutting feature, but not the rotation (flag changing) feature. So, this ancient Gallery3D .apk installed well, but not the one on my own Galaxy S4+.
So, what could be my issue? Is the .APK flagged to be installed as a system app, and due to my OP5T not being rooted I don't have access too /system/app/, therefor the error? Could it be that simple? If so, is it possible the modify the .APK to install as in /data/app/ instead? Of course I'd resign the APK with some dummy/androiddebug signature afterwards to make installation possible.
Could it be some silly (not really needed) demand listed in the AndroidManifest.xml of the APK in question? If so, is it possible to replace the AndroidManifest.xml with a very "basic" one listing more or less no demands, and re-wrap everything with new signature?
I'm really investigating all my options __except__ for having to root my OnePlus!
I figured that I could get a more specific error message from ADB than by just trying to install the .APK through the phone interface.
So, here goes..
Code:
C:\>adb.exe install F:\Galleri_com.sec.android.gallery3d.apk
adb: failed to install F:\Galleri_com.sec.android.gallery3d.apk: Failure [INSTALL_FAILED_INVALID_APK: Package couldn't be installed in /data/app/com.sec.android.gallery3d-RAEW5FZ4VBWqTWXx48LPmQ==: Package /data/app/com.sec.android.gallery3d-RAEW5FZ4VBWqTWXx48LPmQ==/base.apk code is missing]
What does this tell me?
gewone said:
What does this tell me?
Click to expand...
Click to collapse
The Galaxy S4 and most Samsung devices has a second framework app, twframework-res.apk, that only works with their apps. Here's the fun part: the existing Android framework-res.apk is modified by Samsung so both framework apps are required by a given Samsung app to function. Even better is that you cannot simply port the app and twframework-res.apk to a totally different device and expect it to function. You'd have to port the framework-res.apk as well, and with that apk being a system file, you'd soft brick your device after copying it and rebooting.
The tl;dr here? What you're attempting won't work due to Samsung modifications to Android.
Hello guys,
Since I use a Samsung device, I'm used to the extra number row on top of the keyboard so I modded Swype to have that extra row. However since Swype is to be purchased and not distributed, I'll only tell here how to do it for your legally purchased copy. And this is a bit complicated and for advanced users and you need to be rooted. You also need Root Explorer. Here we go:
1- First buy/download Swype from Google Play.
2- Go to /mnt/asec/com.nuance.swype.dtc-1 folder, copy pkg.apk to your sdcard, rename it to com.nuance.swype.dtc-1.apk.(keep a backup of this file at all times)
3- Go to /mnt/asec/com.nuance.swype.dtc-1/lib folder copy the files (libnmsp_speex.so and libswypecore.so) to your sdcard.
4- Using apktool (I used version 1.52) decompile com.nuance.swype.dtc-1.apk.,
5- Go to decompiled folder\res\xml folder. kbd file pertaining to your language is to be edited, I edit kbd_qwerty.xml for English using Notepad++.
6- Check the attached kbd_qwerty.xml in portrait folder and notice the extra row section I added to the top. You can in fact add secondary characters to numbers or customize the keyboard completely, rearrange letters, add symbols etc.
7- Once done, save the file and go to decompiled folder\res\xml-land folder and edit the landscape for the layout, kbd_qwerty.xml file, notice the attached file in landscape folder.
8- Once done, save the file and go to decompiled folder\res\values folder and edit the dimens.xml file. Here I raise the height of the keyboard and height of the key to 270dip and 54dip respectively, check the top rows of the attached dimens.xml. Also increase the keyboard height for landscape (if you want) by changing the dimens.xml under res\values-land folder.
9- Once done, recompile the folder with apktool, go to decompiled folder\dist folder and copy the apk here to a different folder and rename it to temp.apk.zip
10- Open temp.apk.zip with 7z/winrar and copy the resources.arsc and kbd_qwerty.xml files from res\xml and res\xml-land folders to your PC(obviously keep the 2 files in seperate folders not to overwrite)
11- Then, rename the original apk from step 2 to com.nuance.swype.dtc-1.apk.zip , open with winrar and first delete resources.arsc file, then drag the resources.arsc file from step 10 to the archive, it will be added. Staying in winrar, go to res\xml folder and replace the file with kbd_qwerty.xml from step 10 (the portrait version). Do the same with res\xml-land folder and the landcape file.
12- Once finished rename the file back to com.nuance.swype.dtc-1.apk, don't sign it, don't delete META-INF folder, leave it as it is.
13- Now, on your phone, uninstall Swype. Reinstall it from the apk file on Step 2. Go to /data/app-lib/com.nuance.swype.dtc-1 folder and move the 2 files (libnmsp_speex.so and libswypecore.so) to system/lib folder. You have to mount the System R/W from Root Explorer on this step. Fix the permissions so these 2 files have the same permissions with other files there. If you can't find these files just use the ones from Step 3.
14- Once done, copy com.nuance.swype.dtc-1.apk from Step 12 to /system/app and fix the permissions so that it has the same permissions as other files there.
15- Then delete the com.nuance.swype.dtc-1.apk from /data/app/ folder. Restart your phone.
This should be it if you followed it exactly, tracing and Dragon voice dictation also works. While you're doing all this work (takes 10 minutes by the way), you might also consider changing how Swype looks (theming) and changing many other things like swype thickness, colors etc. Please note that this is for advanced and rooted users and please don't ask me to give you the modded apk, you have to do it on your legally bought version. You might consider doing backups just in case anything goes wrong. Have fun.
And a quick tip: if you swype from swype icon to symbol key(123), arrow keyboard opens up.
You can also add arrow keys by copying arrow keys from kbd_edit.xml, check the 2nd screenshot.
Please hit the thanks button if you think this is useful.
Nice how to. But may u should tell that the latest Android versions store purchased apps in data/app-asec as asec version, this need special procedure to get a apk from the asec format.
Can you please update this tutorial to 4.3 ? I couldn't find the files in the mentioned paths. . I'm on stock rooted 4.3 on gt9500
Sent from my GT-I9500 using XDA Premium 4 mobile app
lesalloum said:
Can you please update this tutorial to 4.3 ? I couldn't find the files in the mentioned paths. . I'm on stock rooted 4.3 on gt9500
Sent from my GT-I9500 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It works same for me on 4.3 stock rooted i9500, maybe you could do a file search to find the necessary folder. Here is another screenshot with the updated Swype(1.6.2.22328), where I made number buttons smaller like original Samsung Keyboard and hide the suggestions bar to save space.
ozkaya said:
Hello guys...
9- Once done, recompile the folder with apktool, go to decompiled folder\dist folder and copy the apk here to a different folder and rename it to temp.apk.zip
....
Click to expand...
Click to collapse
using the current play store version (1.6.3.22544), i decompiled com.nuance.swype.dtc-1.apk (/mnt/asec/com.nuance.swype.dtc-1/pkg.apk) using APKTool 1.52. i made no changes and attempted to recompile without success.
the first error displayed by apktool is:
"C:\Users\Phil\apktool\com.nuance.swype.dtc-1\res\values\arrays.xml:545: error: Found tag dimen-array where item is expected"
i do use APKTool successfully to mod other apps so i am familiar with the process.
QUESTION: what frameworks file are you using when making your mods? are you using a TW ROM frameworks? that's the only other variable i can think of...
EDIT: well, i just tried using TW framework too without success
PhilDX said:
using the current play store version (1.6.3.22544), i decompiled com.nuance.swype.dtc-1.apk (/mnt/asec/com.nuance.swype.dtc-1/pkg.apk) using APKTool 1.52. i made no changes and attempted to recompile without success.
the first error displayed by apktool is:
"C:\Users\Phil\apktool\com.nuance.swype.dtc-1\res\values\arrays.xml:545: error: Found tag dimen-array where item is expected"
i do use APKTool successfully to mod other apps so i am familiar with the process.
QUESTION: what frameworks file are you using when making your mods? are you using a TW ROM frameworks? that's the only other variable i can think of...
EXIT: well, i just tried using TW framework too without success
Click to expand...
Click to collapse
Latest version of Swype has incompatible tags with Apktool. What you do is go to all the lines that give error and change them to <string-array>. Then it compiles.
ozkaya said:
Latest version of Skype has incompatible tags with Apktool. What you do is go to all the lines that give error and change them to <string-array>. Then it compiles.
Click to expand...
Click to collapse
i'll give this a shot tomorrow, thanks a lot!
ozkaya said:
Latest version of Swype has incompatible tags with Apktool. What you do is go to all the lines that give error and change them to <string-array>. Then it compiles.
Click to expand...
Click to collapse
it works!!!
thanks man, appreciate the help and info!
I've been going nuts trying to edit swype for a week now and still can't seem to get it to work. All I want to do is change the suggested word color and maybe a few other minor color related things. I assumed just changing the color codes in /res/values/styles.xml that seemed to pertain to the holo theme would work but I can't ever get the app to install. Not even sure where to begin to ask for help on this one but if anyone has any advice I'd greatly appreciate it.
Ok I've tried this a hundred times following all the steps completely and it just wont work.
Once I go to install the final apk it always tries to install then sais App Not Installed.
TeknoGodz said:
Ok I've tried this a hundred times following all the steps completely and it just wont work.
Once I go to install the final apk it always tries to install then sais App Not Installed.
Click to expand...
Click to collapse
You don't install the final apk, in fact you can't since the certificate is no longer valid. You copy the final apk in place as in Step 14.
I would love this! I have used Swype for years but I would love a number row. To be honest I have no idea how to follow those instructions! I have a rooted phone - what can I do?
Am I right in concluding that you can't use TB to backup and restore the finished product and this will have to be done manually? I did this on my rooted Note 3 and I keep going back to my stock image because I don't want to have to keep doing the steps when I flash a new ROM or ROM update.
Would I maybe just have to do steps 12 onward every time?
mr.BeBoT said:
Am I right in concluding that you can't use TB to backup and restore the finished product and this will have to be done manually? I did this on my rooted Note 3 and I keep going back to my stock image because I don't want to have to keep doing the steps when I flash a new ROM or ROM update.
Would I maybe just have to do steps 12 onward every time?
Click to expand...
Click to collapse
When you install a new ROM, you install original Swype from apk file then you move the lib files to /system/lib, copy the modded apk to /system/app and delete original apk from /data/app folder. So it is 4 steps once you have the modded apk ready, should take no more than 5 minutes.
thumm138 said:
I've been going nuts trying to edit swype for a week now and still can't seem to get it to work. All I want to do is change the suggested word color and maybe a few other minor color related things. I assumed just changing the color codes in /res/values/styles.xml that seemed to pertain to the holo theme would work but I can't ever get the app to install. Not even sure where to begin to ask for help on this one but if anyone has any advice I'd greatly appreciate it.
Click to expand...
Click to collapse
This is similar. Please go through the steps, you don't (can't) install the modded apk, you move it in place.
ozkaya said:
This is similar. Please go through the steps, you don't (can't) install the modded apk, you move it in place.
Click to expand...
Click to collapse
Yeah I realized that after I posted and still nothing. I'm no programmer but I've never NOT been able to change a few things and recompile. Not sure how just changing a few color codes is causing such a problem. Shame such a nice keyboard has such little customization and few themes. Don't get me wrong I like orange but it really doesn't mesh at all with the rest of the UI. Thanks for the reply though.
ozkaya said:
This is similar. Please go through the steps, you don't (can't) install the modded apk, you move it in place.
Click to expand...
Click to collapse
I did all that and it changed the height of the keyboard, but didn't add any additional number row.
kdb_qwerty or whatever it's called is the default that comes up when you install it, right? Becuase I tried again and specifically made sure to use this one and it just wont give me the extra row, just the height.
TeknoGodz said:
I did all that and it changed the height of the keyboard, but didn't add any additional number row.
kdb_qwerty or whatever it's called is the default that comes up when you install it, right? Becuase I tried again and specifically made sure to use this one and it just wont give me the extra row, just the height.
Click to expand...
Click to collapse
It depends on your system language. Try kbd_qwerty_panlatin.xml.
ozkaya said:
Latest version of Swype has incompatible tags with Apktool. What you do is go to all the lines that give error and change them to <string-array>. Then it compiles.
Click to expand...
Click to collapse
Thank you for this change, this is exactly what I was looking for to compile.
Once again my Swype is blue!!! :victory:
here's my creation, what do you guys think?
the theme is "Lucid" from the pay store: https://play.google.com/store/apps/...lucid&pcampaignid=APPU_8szYUoedK9PNsAThnoDQDQ