[TUTORIAL] How to add apps to multiview without needing root - Galaxy Note II General

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.

Related

【Mod 2】【GB】 Remove "Software Update" (ATT) from settings.apk

【Mod 2】【GB】 Remove "Software Update" (ATT) from settings.apk
here is how to remove "Software Update" from Settings.apk found in gingerbread, Att builds.
decompile settings.apk
edit xml settings.apk\res\xml\settings.xml
delete last 3 lines (not including very last line)
Code:
<com.android.settings.IconPreferenceScreen android:title="@string/software_update" android:key="software_update" settings:icon="@drawable/ic_settings_softupdate">
<intent android:action="android.intent.action.SOFTWARE_UPDATE_SETTING" />
</com.android.settings.IconPreferenceScreen>
recompile
I used apk manager
copy file to 'projects' folder
run bat script
option 10
find framework-res.apk from same build and drag to 'apk manager' cmd window
press enter
edit xml
recompile option 11
y for system app
y for add files
dont need to delete any
press enter
output file will be in 'project' folder 'unsigned######.apk'
here is KK4 already done.
also has Mobile hotspot warning message fixed.
copy to system/app
reboot to recovery
wipe cache and delvik
reboot
Who is the ass that rated this 1 star?
I rated 5 just to bump back up to 3.
see the other settings mod: [Mod][GB] Remove ATT tethering warning message
(aka bump... 1/4 the page veiws)
I rated 5 stars to help out. This isn't really helpful for me since I am running CM7 but it is one of the few threads I saw where someone explains in detail how to improve other builds so it can be used by other DEVs.
I just used titanium backup pro to remove it
Sent from my SGH-I897 using XDA Premium App
RichMD said:
I rated 5 stars to help out. This isn't really helpful for me since I am running CM7 but it is one of the few threads I saw where someone explains in detail how to improve other builds so it can be used by other DEVs.
Click to expand...
Click to collapse
Agreed. It would be really nice to see more of these type of posts in the dev section.
justin860 said:
I just used titanium backup pro to remove it
Sent from my SGH-I897 using XDA Premium App
Click to expand...
Click to collapse
use tibu to remove what? try to make sense
tibu cant remove words.
TRusselo said:
Who is the ass that rated this 1 star?
Click to expand...
Click to collapse
this is the usual welcome arent you use to it by now ?
Nice work on this. I, as I'm sure others, appreciate this stuff.
.......................

[GUIDE] Modify mms.apk

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

[Tutorial] Unpack and repack apk's using APKmanager for theming

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.

[MOD] Add top number row to Swype

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

[Guide] How to enable multi-user?

hello friends, I have a nice question for you!
I state that this is google translation so it will be the best.
anyway back to us ....
you own a nice tablet?
and maybe you are engaged or married and you have photos of your woman on the device in question, and maybe you do not want others to see,
or simply your friends are never their own business, and then maybe you want to make private your tablet, maybe with a secondary account, but do not know how to do it because the tablet does not support multi-user ...
well do not give up, this guide will do for you ...
I do not take any responsibility for what might happen to your device
these are the requirements:
-root
-this app : https://www.dropbox.com/s/wmc4vg8n1lyv1o1/4_2_multiple_user_enabler_root_1.2.apk
-a file manager with root permissions as root browser or other
-user app share (which allows you to decide the content to display to other accounts) is on play store or in this link https://www.dropbox.com/s/nh3vaqetj9fogzs/MultiUserAppShare.apk
well, now first download the app before "4.2 multi user enabler"
copy it to the sd of your dear and beloved tablet.
after this app copied to the folder system of your tablet, change permissions (I usually do I enable them all)
after that install the app . from the app enable the multi-user, reboot your tablet and you're done!
multi user share app you need to decide what to use the other account
Now you might ask: why not just install the app?
Try it! it will seem to work but when you restart the account will vanish,
Intead with this guide it will be ever
if you have been useful on press thanks
By friends!
Simix93 said:
hello friends, I have a nice question for you!
I state that this is google translation so it will be the best.
anyway back to us ....
you own a nice tablet?
and maybe you are engaged or married and you have photos of your woman on the device in question, and maybe you do not want others to see,
or simply your friends are never their own business, and then maybe you want to make private your tablet, maybe with a secondary account, but do not know how to do it because the tablet does not support multi-user ...
well do not give up, this guide will do for you ...
I do not take any responsibility for what might happen to your device
these are the requirements:
-root
-this app : https://www.dropbox.com/s/wmc4vg8n1lyv1o1/4_2_multiple_user_enabler_root_1.2.apk
-a file manager with root permissions as root browser or other
-user app share (which allows you to decide the content to display to other accounts) is on play store or in this link https://www.dropbox.com/s/nh3vaqetj9fogzs/MultiUserAppShare.apk
well, now first download the app before "4.2 multi user enabler"
copy it to the sd of your dear and beloved tablet.
after this app copied to the folder system of your tablet, change permissions (I usually do I enable them all)
after that install the app . from the app enable the multi-user, reboot your tablet and you're done!
multi user share app you need to decide what to use the other account
Now you might ask: why not just install the app?
Try it! it will seem to work but when you restart the account will vanish,
Intead with this guide it will be ever
if you have been useful on press thanks
By friends!
Click to expand...
Click to collapse
The easiest way to enable multiuser support especially for our Galaxy Tab 3.0 is to edit the framework-res.apk with apktool and change the max user in there. The best thing with this way, your account will not vanish when you restart the device.. :laugh::laugh:
faruqmunshif said:
The easiest way to enable multiuser support especially for our Galaxy Tab 3.0 is to edit the framework-res.apk with apktool and change the max user in there. The best thing with this way, your account will not vanish when you restart the device.. :laugh::laugh:
Click to expand...
Click to collapse
ah I did not know .. you tell me how to do? maybe put to me now if there is. Anyway .. this is useful for anyone who is not practical to make changes to the framework
@Simix93
Here is the alternative, modifying framework-res.apk.
What I've done on my Galaxy Tab 3 10.1 (GT-P5210) :
- Modifying framework-res\res\values\integers.xml (locate the entry, and put X, where X <= 8 instead of 1, X = the number of allowed max users) :
Code:
<integer name="config_multiuserMaximumUsers">8</integer>
- Modifying framework-res\res\layout-port\keyguard_host_view.xml (to show user selector on lockscreen) :
>> Adding this after the second </FrameLayout>
Code:
<FrameLayout androidprv:paddingTop="@dimen/status_bar_height" androidprv:layout_width="fill_parent" androidprv:layout_height="wrap_content">
<include androidprv:layout_gravity="top|center" androidprv:layout_width="fill_parent" androidprv:layout_height="fill_parent" layout="@layout/keyguard_multi_user_selector" />
</FrameLayout>
- Adding framework-res\res\layout-port\keyguard_multi_user_selector.xml file
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.internal.policy.impl.keyguard.KeyguardMultiUserSelectorView android:layout_gravity="bottom" android:orientation="horizontal" android:id="@id/keyguard_user_selector" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:contentDescription="@string/keyguard_accessibility_user_selector" android:layout_childType="userSwitcher"
xmlns:androidprv="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.internal.policy.impl.keyguard.KeyguardLinearLayout android:layout_gravity="bottom|center" android:orientation="horizontal" android:id="@id/keyguard_users_grid" android:layout_width="wrap_content" android:layout_height="@dimen/keyguard_avatar_size" android:layout_marginBottom="400.0dip" />
</com.android.internal.policy.impl.keyguard.KeyguardMultiUserSelectorView>
- After that, copied from the original framework-res.apk AndroidManifest.xml file and META-INF directory to your newly compiled one (using a zip file utility) so I can bypass the sign process (like you should do with auto sign tool - signapk.jar)
And voilà, after putting back my modified framework-res.apk to the device and rebooting, i'm able to add new users in settings
Regards
i have tried to modify my framework-res.apk, but it's not succesful.
I installed framework-res with this command:
java -jar apktool.jar if Framework-Res.apk
This installed a file named 1.apk in my users-directory.
After that i extract the framework-res.apk with this command:
java -jar apktool.jar d Framework-Res.apk
Everythings seems to be fine, a directory with the name Framework-Res is created.
I modified the 3 files "integers.xml", "keyguard_host_view.xml" and "keyguard_multi_user_selector.xml" as described.
Now i pack it together with this command:
java -jar apktool.jar b Framework-Res
Get 2 errors with PNG-Files "File is case-insensitive" and correct the filenames (uppercase .PNG to lowercase .png).
After that i found in the folder "dist" the framework-res.apk.
The filesize is less about 12mb then before, it's now round about 36mb.
I put this file in my /system/framework folder and reboot. But the system is still displaying the Samsung-Logo.
Replaceing the file with the original file and everything is ok.
What do i wrong?
with best regards,
Detlef
ok, now it works.
i have forgot to add the sign-process to the new .apk file.
now my tab 3 8.0 have the multi-user function, thank you!
Spatz said:
i have tried to modify my framework-res.apk, but it's not succesful.
I installed framework-res with this command:
java -jar apktool.jar if Framework-Res.apk
This installed a file named 1.apk in my users-directory.
After that i extract the framework-res.apk with this command:
java -jar apktool.jar d Framework-Res.apk
Everythings seems to be fine, a directory with the name Framework-Res is created.
I modified the 3 files "integers.xml", "keyguard_host_view.xml" and "keyguard_multi_user_selector.xml" as described.
Now i pack it together with this command:
java -jar apktool.jar b Framework-Res
Get 2 errors with PNG-Files "File is case-insensitive" and correct the filenames (uppercase .PNG to lowercase .png).
After that i found in the folder "dist" the framework-res.apk.
The filesize is less about 12mb then before, it's now round about 36mb.
I put this file in my /system/framework folder and reboot. But the system is still displaying the Samsung-Logo.
Replaceing the file with the original file and everything is ok.
What do i wrong?
with best regards,
Detlef
Click to expand...
Click to collapse
Before recompile your framework-res.apk, you should find the png files with uppercase (.PNG) from your decompiled framework-res.apk/res/ and rename them to lowercase (.png).
when finished, flash it using CWM or other recovery.
Does anyone have working framework-res.apk for T310 ? I've updated mine, but I do not see anything new. When I flash zip fro T311 from a different thread, I have this options, but some labels in the system are missing and messed up.
slobodan.bogdanovic said:
Does anyone have working framework-res.apk for T310 ? I've updated mine, but I do not see anything new. When I flash zip fro T311 from a different thread, I have this options, but some labels in the system are missing and messed up.
Click to expand...
Click to collapse
Just follow the guide in this thread to make your framework-res.apk working with multiuser. or if you have no time, just give me your framework-res.apk and i will try to decompile it for you,
Spatz said:
ok, now it works.
i have forgot to add the sign-process to the new .apk file.
now my tab 3 8.0 have the multi-user function, thank you!
Click to expand...
Click to collapse
You can also copy from your original framework-res.apk AndroidManifest.xml file and META-INF directory to your newly compiled one so you can bypass the sign process
I have an issue when having multiple users enabled.
When I am logged in as the owner (first user) I am able to connect device via usb and transfer files.
When I am logged in as the second user, and when I try to connect device vis usb, it is not recognized. MTP Driver installation fails in this case.
Anyone has the same issue?
Simix93 said:
hello friends, I have a nice question for you!
I state that this is google translation so it will be the best.
anyway back to us ....
you own a nice tablet?
and maybe you are engaged or married and you have photos of your woman on the device in question, and maybe you do not want others to see,
or simply your friends are never their own business, and then maybe you want to make private your tablet, maybe with a secondary account, but do not know how to do it because the tablet does not support multi-user ...
well do not give up, this guide will do for you ...
I do not take any responsibility for what might happen to your device
these are the requirements:
-root
-this app : https://www.dropbox.com/s/wmc4vg8n1lyv1o1/4_2_multiple_user_enabler_root_1.2.apk
-a file manager with root permissions as root browser or other
-user app share (which allows you to decide the content to display to other accounts) is on play store or in this link https://www.dropbox.com/s/nh3vaqetj9fogzs/MultiUserAppShare.apk
well, now first download the app before "4.2 multi user enabler"
copy it to the sd of your dear and beloved tablet.
after this app copied to the folder system of your tablet, change permissions (I usually do I enable them all)
after that install the app . from the app enable the multi-user, reboot your tablet and you're done!
multi user share app you need to decide what to use the other account
Now you might ask: why not just install the app?
Try it! it will seem to work but when you restart the account will vanish,
Intead with this guide it will be ever
if you have been useful on press thanks
By friends!
Click to expand...
Click to collapse
Working on Tab3 7" ?
Leehtaeyeon said:
Working on Tab3 7" ?
Click to expand...
Click to collapse
I do not know, I have not tried it, so you head to the end you just have to move an app
Leehtaeyeon said:
Working on Tab3 7" ?[/QUOT
Multiuser only supported by Android 4.2.2 or higher. As i know, the android version in Tab 3 7" is 4.1.2. If you want to use multiuser, wait until tab 3 7" recieved update for 4.2.2..
Click to expand...
Click to collapse
faruqmunshif said:
Leehtaeyeon said:
Working on Tab3 7" ?
Click to expand...
Click to collapse
Multiuser only supported by Android 4.2.2 or higher. As i know, the android version in Tab 3 7" is 4.1.2. If you want to use multiuser, wait until tab 3 7" recieved update for 4.2.2..
Click to expand...
Click to collapse
Don' work =/
I do not believe he will get more 4.2.2.
I think like other devices, it will jump to 4.4
Spatz said:
ok, now it works.
i have forgot to add the sign-process to the new .apk file.
now my tab 3 8.0 have the multi-user function, thank you!
Click to expand...
Click to collapse
Spatz-is there any chance you could post detailed instructions? Or can you post your framework res.apk file?
Sent from my SM-T310 using xda app-developers app
@chaz
I used your procedure to modify the framework-res.apk file and it doesn't work on my Galaxy Tab 3 10.1 (GT-P5210). It keeps boot-looping. I managed to put back the original framework-res.apk and it's working, so I didn't killed it completely!
I do it this way:
1. Use apktool to decompile the apk file (apktool.jar).
2. Modify the xml files with Notepad++.
3. Use apktool to recompile the apk file.
4. Sign the file with autosign tool found on XDA (signapk.jar).
5. Put the framework-res.apk file back using ADB in recovery mode and set the right permissions on the file.
What tools have you used? Did you do it differently than me?
Thank you.
i am curious about this, but i'd like to know how multi user works. How do I "log" in to the tab and use my gmail, etc? And then how would my wife log in and user her email and etc? Are there profiles or something similar?
thanks
EDIT
never mind
http://www.dummies.com/how-to/content/how-to-add-another-user-to-your-android-tablet.html
Hi. I see this method does not work very well. I recommend the app SwitchMe. It's much easier and just requires root permission which everyone should have. I can't post links because I'm a newbie, so just search for it on the Play Store. :good:
alfreddallaire said:
@chaz
I used your procedure to modify the framework-res.apk file and it doesn't work on my Galaxy Tab 3 10.1 (GT-P5210). It keeps boot-looping. I managed to put back the original framework-res.apk and it's working, so I didn't killed it completely!
I do it this way:
1. Use apktool to decompile the apk file (apktool.jar).
2. Modify the xml files with Notepad++.
3. Use apktool to recompile the apk file.
4. Sign the file with autosign tool found on XDA (signapk.jar).
5. Put the framework-res.apk file back using ADB in recovery mode and set the right permissions on the file.
What tools have you used? Did you do it differently than me?
Thank you.
Click to expand...
Click to collapse
As I mentionned some posts before, I did not use the signapk.jar but instead copied signed informations from my original framework-res.apk to the new one.
See my post http://forum.xda-developers.com/showpost.php?p=48429541&postcount=10 there.
I updated my tuto post to include this in the process (http://forum.xda-developers.com/showpost.php?p=48315919&postcount=4)
Regards,
Chaz

Categories

Resources