[TOOL] Advanced Apktool v2.0.2 By Gorav Gupta [Windows] [GUI] - Android Software Development

1. android marshmallow support
2. Drag drop file folder
3. oat2dex and odex to dex Convert
4. Quick De-Recompile and Signing
5. dex2jar include
Requirements:
*.net framework v2.0.50727 and up
*.Java 7 (JRE 1.7)
Download :
Current Version v2.0.2 Link Remove
Sorry friends this time not available.
Next time I'm reback
Edit time : 17/03/2016 11:00 PM

Thnx...

Install framework-res.apk
I'm sorry, it looks like I didn't fully explore your program.
Well thanks for this apktool. It's awesome
I have a question regarding Java, will there be any effect on the process if I had Java 8 installed instead of Java 7?

XPS_93 said:
I'm sorry, it looks like I didn't fully explore your program.
Well thanks for this apktool. It's awesome
I have a question regarding Java, will there be any effect on the process if I had Java 8 installed instead of Java 7?
Click to expand...
Click to collapse
no any effect on the process with java 8
try new version http://forum.xda-developers.com/showthread.php?t=3314867

I found a new link https://userscloud.com/iwxqsdr1mgkv

How to edit xmls/swap existing in-call buttons
I'm on a Note 2 running Eclipse ROM, and I'd like to swap in-call buttons in InCallUI. Eventually I plan to have Camera instead of Bluetooth, but I'd like to start by learning how to switch Record back to Add Call. I decompiled InCallUi.apk, and there's too many files to know where to start.
The Add Call files are already in the apk, so how do I simply disable Record and reenable Add Call?
THANKS!

Related

[Linux][UTILITY][TOOL] APK Multi-Tool

GgI am currently working on a major update to the apk manager application as well and changing the name to APK Multi-Tool with some new added features and also to fix some issues with some code errors.
I am also changing a lot of the features as well since a lot of the code has been outdated for a while.
I have updated all the files and modified Apk manager's Scripts to fix many user reported bugs from Daneshm90 apk manager which he had written a simple script to ease the process of editing apks. Got a lot of downloads so thought its in demand
Whether you're doing basic image editing or editing the smali or xml files, on average u have to use (Brut.all or JF's smali/baksmali) awesome tool to extract the apk, edit it, then sign the apk and then adb push/install it. This process is quite tiresome if you are testing a method that needs fine tweaking.
This script should make the process a LOT smoother.
Theres an option of compiling/signing/installing all in one step
Thanks:
Goes to Daneshm90 the Original Writer of APK Manager
Goes to Brut.all for his awesome tool.
Goes to JF for ofcourse, smali/baksmali
Features:
- Added framework dependent decompiling (For non propietary rom apks). (Option 10). Checks whether the dependee apk u selected is correct.
- Allows multiple projects to be modified, switch to and from.
- Allows to modify system apk's using apktool but ensures maximum compatibility in terms of signature / manifest.xml
- Batch optimize apk (Zipalign,optipng,or both)
- Batch Ogg optimization
- Batch install apk from script (option 19)
- Batch Theme Image Transfer TOOL
- Batch Theme optipng TOOL
- Batch Theme Zipalign APK TOOL
- Compression level selector (monitor status above menu)
- Error detection. Checks if error occurred anytime u perform a task, and reports it
- Extract, Zip apk's.
- Incorporates brut.all's apktool
- Improved syntax of questions/answers
- Logging on/off has been removed. Instead a log.txt is created which logs the activities of the script organized using time/date headers
- Optimize pngs (ignores .9.pngs)
- Pull apk from phone into modding environment.
- Push to specific location on phone
- Quick sign an apk (Batch mode supported)
- Read log (Option 24)
- Sign apks
- Supports batch installation, so if u drag multiple apks into the script (not while its running) it will install them all for u. U can ofcourse drag a single apk as well
- User can change the max java heap size (only use if certain large apks get stuck when decompiling/compiling apks) (Option 19)
- U can now set this script as ur default application for apks. When u do, if u double click any apk it will install it for u.
- Zipalign apks
- Much Much More
Instructions:
- Place apk in appropriate folder (Any filename will work, if running for first time folders will not be there, you must run and then the folders will be created)
- Run script
- Minimize the script
- Edit files inside the project folder
- Maximize the script
Requirements:
Java 1.7
Android SDK
FAQ
Resulting apk file is much smaller than original! Is there something missing?
First: compression of resources.arsc file. Sometimes this file is compressed in original apk, sometimes not and apktool always compress it. Second: lack of META-INF dir. Apktool builds unsigned apks, so they lack signatures stored in this dir. Third: apktool uses newest Android SDK, so it could optimize files better, especially if original app is old. So: unpack both original and resulting apk, remove META-INF from original and then compare sizes. If they're still much different, then you could report on XDA or somewhere.
There is no META-INF dir in resulting apk. Is this ok?
Yes. META-INF contains apk signatures mostly and after modifying apk in no longer signed, so there are no signatures in it. You have to sign resulting apk and then META-INF dir will be created.
What do you call "magic apks"?
Sometimes there are some apks which (for my current knowledge) are invalid, broken, theoretically they shouldn't exist. There may be many reasons of their existence: my lack of understanding of Android resources; some non-public, maybe future SDK tools or custom modifications of these; manual hacking of binaries, etc. Usually I can't do anything about it, but you could at least try to replace broken parts by something valid. Actually it's quite likely that they aren't even used, because if they would, then application would crash.
Got problems ?
1. Make sure your path has no spaces
2. Your filename has no wierd characters
3. Java/adb are in your path
4. It's not a proprietary rom's apk (aka Sense,Motorola,Samsung) (If u are, then use option 11 and drag the required framework, eg com.htc.resources, twframework-res...etc)
5. It's not a themed apk (if it is, expect .9 png errors, use as close to stock as possible)
6. Look at the log to know whats happening
7. If all else fails, post as much info as possible and we will try to assist you.
TO DO LIST
Add new feature to Randomly Generate a new Key File for signing the apk files after modifying and recompiling of the apk files this will also allow of uploading to the android market as this added feature will allow you to sign apk files that you may of compiled without signing beforehand.
Modify the Signapk script to be compatible with the Randomly Generation feature in the works
and a few other added features are in the works as I am redesigning the application and rewriting a lot of the code to fix issues as well as some of the new features have broken parts as some features have been moved and broken some command line prompts.
Installing APK Multi-Tool Itself
Instructions (Linux):
1-Download, create a folder in your sdk called "APK-Multi-Tool" and extract into it.
2-Goto the the "sdk/APK-Multi-Tool" folder and rename "Script.sh" to "script.sh".
3-Go into the "other" folder, right click on one file at a time, goto "permissions" in the new window and check the execute box.(do this with all the files)
4-To add the path to your folder open up a terminal and type in -
sudo su
PATH=$PATH:/THE PATH TO YOUR "SCRIPT.SH"
(for me this looks like the following)
PATH=$PATH:/sdk/APK-Multi-Tool/other/
5-export PATH
6-install "sox"
7-Type into the terminal "cd PATH TO YOUR SCRIPT.SH"
7.5 export PATH={PATH}:/PATH TO Your SDK/sdk/platform-tools/adb
8-Type "./script.sh"
9-You should have a running APK-Multi-Tool.
how to install sox:
Open the software center of the linux service and searched for sox. Installed it and it there you will have SOX working.
- Place apk in appropriate folder (Any filename will work, if running for first time folders will not be there, you must run and then the folders will be created)
- Open terminal and change-directory to APK-Multi-Tool(Easiest way is to type "cd ")
- Chmod 755 Script.sh
- Chmod 755 all files apps inside other folder
- Run script by typing ./Script.sh
- Minimize the script
- Edit files inside the out folder
- Maximize the script
Downloads:
https://github.com/APK-Multi-Tool/APK-Multi-Tool-Linux/archive/master.zip
Please check back daily or weekly as this project is under active Development and I am releasing Alpha releases on the website for Testing and bug reports.
Lol, why has nobody commented on this?
You're a savior. This is awesome. Can't wait for the rewrite.
AW: [Linux][UTILITY][TOOL] APK Multi-Tool
+1
Haven't seen this also available for Linux, so this is great.
Sent from my Galaxy Nexus using xda premium
Binary updates
UPDATED to apktool-cli-1.5.3-SNAPSHOT
-Updated to smali/baksmali to v1.4.2
-Fixed (issue #396) - Correctly handle android:debuggable while in debug
mode.
-Fixed (issue #340) - Fixed superclass errors on debug mode.
-Updated to Gradle 1.4
-Updated known bytes for configurations to 38 (from addition of layout
direction)
-Fixed NPE when handling odex apks even with --no-src specified. (Thanks
Rodrigo Chiossi)
-Fixed (issue #427) - Correctly handles `--frame-path` on uild
Error 404 on GitHub download page
xcly said:
Error 404 on GitHub download page
Click to expand...
Click to collapse
Fixed
Sent from my DROID RAZR CDMA XT912 using Tapatalk 2
I merged a few projects together instead of having multiple Android developer projects. I did some spring cleaning and deleted a few projects that was not useful and served no purposes. Also renamed the project organization which broke the link forgot to update lol.
Sent from my DROID RAZR CDMA XT912 using Tapatalk 2
I ran the script but I can't see any folders being created.. Trying to sign an apk. Looked up on google and all I can find is your instructions to put apk in appropriate folder (which I can't see..)
Thanks in advance
I will look into this ABCs see what's up
Sent from my DROID RAZR CDMA XT912 using Tapatalk 2
I ran the apksign tool separately using terminal for now
I got
The program sox is missing or is not in your PATH,
please install it or fix your PATH variable
If I go to the other folder there is no sox like in the windows version.
I will look into this asap once I get some free time
Sent from my DROID RAZR CDMA XT912 using Tapatalk 2
civato said:
I got
The program sox is missing or is not in your PATH,
please install it or fix your PATH variable
If I go to the other folder there is no sox like in the windows version.
Click to expand...
Click to collapse
I had the same problem but it was fixed once I installed sox. There was a tutorial on google search for setting up apk manager you might wanna have a look at.
Sent from my GT-I9300 using xda premium
raziel23x said:
I will look into this asap once I get some free time
Sent from my DROID RAZR CDMA XT912 using Tapatalk 2
Click to expand...
Click to collapse
xcly said:
I had the same problem but it was fixed once I installed sox. There was a tutorial on google search for setting up apk manager you might wanna have a look at.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
I got it solved , I just entered the Ubuntu software center and searched for sox. Installed it and it works.
Maybe good to add this in OP when using linux. It is stupid of me thinking it was something harder so thank you for your help and fast response.
A other methode I found here
PS:
You don't need to type in ./Script.sh in teminal in linux , just clicking on it (Script.sh) and select "run in terminal" does the trick without typing anything.
updated the original post with detailed instructions
raziel23x said:
updated the original post with detailed instructions
Click to expand...
Click to collapse
Put updated info into the README file. Made a few corrections (hope you like).
AndyOpie150 said:
Put updated info into the README file. Made a few corrections (hope you like).
Click to expand...
Click to collapse
pushed your changed to github all code changes are welcome even forking the repo on github and making changes and doing pull request are welcome
raziel23x said:
pushed your changed to github all code changes are welcome even forking the repo on github and making changes and doing pull request are welcome
Click to expand...
Click to collapse
Just uploaded changed attachment. Fixed minor typos in Installation Instructions. Sorry I didn't get it straight before you pushed to github.
I deleted the info for Windows in previous attachments as well due to this being for the Linux version. Didn't know if you caught that.
PS: Thought I would let you decide if you liked my hair brained ideas first.
Is there any way to have a .jar file work without having to rename to .apk, or is that a mind bogling code rewrite. I'm all for learning.
Hey, I made some changes to the script to act more like the windows version of this tool. I added a setup.sh which will create all the folders and set permissions to everything. i also the ability to have multiple projects going at the same time, and also added a separate jar/dex folder so there is no need to rename the jar files to .apk to edit it. and other updates as well. its not 100% up to par with the windows one, but these few changes make a huge difference. Would you be interested in this?
---------- Post added at 11:38 AM ---------- Previous post was at 11:36 AM ----------
AndyOpie150 said:
Just uploaded changed attachment. Fixed minor typos in Installation Instructions. Sorry I didn't get it straight before you pushed to github.
I deleted the info for Windows in previous attachments as well due to this being for the Linux version. Didn't know if you caught that.
PS: Thought I would let you decide if you liked my hair brained ideas first.
Is there any way to have a .jar file work without having to rename to .apk, or is that a mind bogling code rewrite. I'm all for learning.
Click to expand...
Click to collapse
actually yes there is..i made an updated version of the script which has those features
clmowers said:
Hey, I made some changes to the script to act more like the windows version of this tool. I added a setup.sh which will create all the folders and set permissions to everything. i also the ability to have multiple projects going at the same time, and also added a separate jar/dex folder so there is no need to rename the jar files to .apk to edit it. and other updates as well. its not 100% up to par with the windows one, but these few changes make a huge difference. Would you be interested in this?
---------- Post added at 11:38 AM ---------- Previous post was at 11:36 AM ----------
actually yes there is..i made an updated version of the script which has those features
Click to expand...
Click to collapse
Make a pull request on github and in will merge it
Sent from my Xoom using Tapatalk HD

[EASY][Cookers][Guide][Mod] Adjust back-to-kill timeout!

[Easy..?]
Adjust back-to-kill timeout!
I created thread in Miscellaneous android development section, but I decided to upload here too
For various mods, [email protected] my signature!
#You need to know how-to use apktool and Your ROM should include back-to-kill app function.
#I dunno this is right place...:/
----------
I found it was very annoying because I had to wait a long time to execute back to kill app function.
Anyway, here is guide...
1. You need to decompile framework-res.apk
2. Open /res/values/integers.xml
3. Search "kill"
4. There is value in that line,
E.g. 2000 means 2000ms.
5. Compile and copy resources.arsc
6. Put it in to your Device, and enjoy!
Just in case
Looks nice, but MIUI already have this function^^
Thank you.
Bump!

[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

[TOOL] [29 Dec.] FULL DEODEXER for Android LL | Tested on GPE 501 stock ROM *HTC M7

Greetings!
After a sleepless week in search of the right solution with the help of my colleagues from xda.com and 4pda.ru has been fully deodexed rom GPE 501 Lollipop. The phone boot stably without fc and work fine.
Full automatic complete deodexed tool and deodexed stock ROM GPE 501 (link in post #4).
System requirements:
Tested on Windows 7 32-bit with JRE java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) Client VM (build 25.25-b02, mixed mode, sharing)
Thanks to everyone who helped me.
Credits/Thanks:
HTC
Google
@ _riddle (for his convert oat to legacy dex and deodex ART for Android L)
@ svadev (deodex ART for Android L)
@ sorg (deodex ART for Android L)
@ Tech N You (deodex ART for Android L)
My colleagues from 4pda and xda
All devs that have contributed to the m7 and all other
DONATE TO ME for a coffe if I helped you!!!​
DOWNLOAD:
DeodexForART(Lollipop)_v2.2.2.rar
Please see small instruction in post #2
Changelog:
v.2.2.- v.2.2.2 - Changed interface, some minor code changes.
v.2.1 - Stable version
v.1.0 - v.2.0 - beta-test vesion
Some screenshots:
GUIDE:
GUIDE:​
Extract the contents of RAR- archive into a folder on your computer.
1. Run the executable file with deodex script.
2. Select you folder /system (where you have 3 folders: app, priv-app and framework).
Inside the /system/framework directory must be present ALWAYS /arm/*.odex and /arm/boot.oat
Without this file script will not work correctly.
3. Choose a folder, then - application (but not vice versa).
4. After that, you can choose one or all applications in the selected folder for DEDEX.
5. **** CAUTION ****.... Please see results on the screen. Perhaps may be errors for some reason...
6. After successful completion of the script work, you can see results in /OUTPUT, into /system folder.
Tested on Windows 7 32-bit with JRE java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) Client VM (build 25.25-b02, mixed mode, sharing)
Thank you for using my script.
Reserved
I deodexed full rom now without errors!
★☆★ [ROM][FULL DEODEX!!!][5.0.1] GP Edition | Lollipop | v2.1 [12-23-14] ★☆★
Added Guide (post #2) and the download link in OP.
Updated to DeodexForART v2.2.1
Link in OP.
Thanks for the script.
Would you be able to post a doedexer script for non-ART ROMs as well (to be used for both Lollipop and Kitkat where there is no ART)?
For Kitkat were other tools to deodex.
Tool updated to v.2.2.2 Download link in OP.
Changed interface, some minor code changes.
In the next update I'll add a record of the proceedings of deodex to a log file.
thank you for Your work !
lollipop 5.0.1 ( nexus 5) fine deodexing
no errors,but not all applications work(like Press Play and other),but there is now the ability to make modifications in smali
thank you and happy new year bro !!!
garynych said:
thank you for Your work !
lollipop 5.0.1 ( nexus 5) fine deodexing
no errors,but not all applications work(like Press Play and other),but there is now the ability to make modifications in smali
thank you and happy new year bro !!!
Click to expand...
Click to collapse
THX!
Could you upload your boot.oat and some apps and odex with error? I can try to decompile it with my latest version tool...
Golv said:
THX!
Could you upload your boot.oat and some apps and odex with error? I can try to decompile it with my latest version tool...
Click to expand...
Click to collapse
sorry, I don't quite understand your question
here stock system folder from nexus 5 https://yadi.sk/d/2vB08WnBdRMQS its 5.0.1 (LRX22C)
im deodexed all ( no error messege) and then flash, phone boot and work but as already mentioned, not all applications want to work
for decompile im use ApkTools200RC3m all decompile and compile back fine
garynych said:
sorry, I don't quite understand your question
here stock system folder from nexus 5 https://yadi.sk/d/2vB08WnBdRMQS its 5.0.1 (LRX22C)
im deodexed all ( no error messege) and then flash, phone boot and work but as already mentioned, not all applications want to work
for decompile im use ApkTools200RC3m all decompile and compile back fine
Click to expand...
Click to collapse
@garynych
What the application does not work correctly?
Your boot.aot - parsed without errors. Then the problem is in the application.
Give me a direct link to one of these applications or the exact name and path in you uploaded ROM.
Golv said:
@garynych
What the application does not work correctly?
Your boot.aot - parsed without errors. Then the problem is in the application.
Give me a direct link to one of these applications or the exact name and path in you uploaded ROM.
Click to expand...
Click to collapse
@Golv nice work but I think you forgot some more people in credits. Hope you got my point
Tech N You said:
@Golv nice work but I think you forgot some more people in credits. Hope you got my point
Click to expand...
Click to collapse
I do not want to offend anyone! And I will correct my mistake!
Golv said:
@garynych
What the application does not work correctly?
Your boot.aot - parsed without errors. Then the problem is in the application.
Give me a direct link to one of these applications or the exact name and path in you uploaded ROM.
Click to expand...
Click to collapse
after deodex folders : app,priv-app,framework
im make flashable update zip for my device and flash
phone boot and after optemized start
try run play пресса
result FC google play Пресса
try run PCRadio
FC
google keep
FC
hangouts
FC
ParomTV
FC
abobe reader
FC
IPTV
FC
logcat.zip in not arhive, just delete .zip (rename logcat)
garynych said:
after deodex folders : app,priv-app,framework
im make flashable update zip for my device and flash
phone boot and after optemized start
try run play пресса
result FC google play Пресса
try run PCRadio
FC
google keep
FC
hangouts
FC
ParomTV
FC
abobe reader
FC
IPTV
FC
logcat.zip in not arhive, just delete .zip (rename logcat)
Click to expand...
Click to collapse
Please, look, here - http://forum.xda-developers.com/showpost.php?p=57954429&postcount=67
I'm to write about the algorithm of deodex. See if you're doing it right...
Golv said:
Please, look, here - http://forum.xda-developers.com/showpost.php?p=57954429&postcount=67
I'm to write about the algorithm of deodex. See if you're doing it right...
Click to expand...
Click to collapse
im answer you PM all good now
just some app in /system/app and /system/priv-app have not true .so, just symlinks
example:
original
/system/app/Bluetooth/Bluetooth.apk
/system/app/Bluetooth/arm/Bluetooth.odex
/system/app/Bluetooth/lib/arm/libbluetooth_jni.so ( symlink )
after deodex
/system/app/Bluetooth/Bluetooth.apk
/system/app/Bluetooth/lib/arm/ no files
im just copy not altausee libbluetooth_jni.so in /system/app/Bluetooth/lib/arm/ and now all work... thanks for you job
In my tool if libs are exists then they copy to folder with deodex app.
THX for reply.
garynych said:
after deodex folders : app,priv-app,framework
im make flashable update zip for my device and flash
phone boot and after optemized start
try run play пресса
result FC google play Пресса
try run PCRadio
FC
google keep
FC
hangouts
FC
ParomTV
FC
abobe reader
FC
IPTV
FC
logcat.zip in not arhive, just delete .zip (rename logcat)
Click to expand...
Click to collapse
Hi
can you upload your flashable updater script ?
thanks

Pure Nexus + Dynamic Navbar?

Hello
I've tested quite a few roms and found a feature I live very much, it's called dynamic navbar - however I've found a Rom that I absolutely love and it's pure nexus, as much as I love it there is a huge downside for me and that's the lack of dynamic navbar.
I have seen a app on play store called "navbar apps" but u don't like it, and I've seen that you can extract the framework and edit via a pc. But is there a way to enable dynamic navbar on PN without those two options? Preferably via the phone.
Thanks
MrCreel said:
Hello
I've tested quite a few roms and found a feature I live very much, it's called dynamic navbar - however I've found a Rom that I absolutely love and it's pure nexus, as much as I love it there is a huge downside for me and that's the lack of dynamic navbar.
I have seen a app on play store called "navbar apps" but u don't like it, and I've seen that you can extract the framework and edit via a pc. But is there a way to enable dynamic navbar on PN without those two options? Preferably via the phone.
Thanks
Click to expand...
Click to collapse
Hello... Either use the mentioned app or do the changes in your framework. But you'll likely have to do it for every updates as the developer often makes change in the framework. Maybe you could maybe kindly make a request to the developer?!
Good luck...
MrCreel said:
Hello
I've tested quite a few roms and found a feature I live very much, it's called dynamic navbar - however I've found a Rom that I absolutely love and it's pure nexus, as much as I love it there is a huge downside for me and that's the lack of dynamic navbar.
I have seen a app on play store called "navbar apps" but u don't like it, and I've seen that you can extract the framework and edit via a pc. But is there a way to enable dynamic navbar on PN without those two options? Preferably via the phone.
Thanks
Click to expand...
Click to collapse
Just follow this 2 guides...
https://forum.xda-developers.com/nexus-6/general/guide-dynamic-nav-bar-android-l-m-n-t3515080
https://forum.xda-developers.com/android/apps-games/guide-enable-pixel-launcher-round-icon-t3536267
Basically you have to edit the framework-res.apk, obviously you have to be rooted, install the requirements on the second link, here I'll summarize the steps I follow, but if you have any doubt read and follow the 2 guides, the second one to decompile and compile the apk and the first one indicates the lines you have to change and the files in which you find them.
List of tools that we need
1. JDK, download it here http://www.oracle.com/technetwork/ja...sp-138363.html
2. Apktool, download it here https://ibotpeaches.github.io/Apktool/
3. Root Explorer
4. Text Editor
STEP 1 - Get the firmware-res.apk
First you need your own device firmware-res.apk, it is located here \Root\System\framework\
STEP 2 - Copy firmware-res.apk to the same folder with Apktool.jar
I recommend locate it on folder easy to located like desktop folder
STEP 3 - Decompile firmware-res.apk
Open CMD on your folder (on windows use [shift + right click -> open command window here]) that firmware-res.apk and Apktool.jar located and run this command
java -jar apktool.jar d framework-res.apk
STEP 4 - Open styles.xml and change values
Navigate to res, values, and open styles.xml with your text editor of choice (located at \framework-res\res\values\styles.xml)
Search for "navigationBar". There will be three instances of it. You only have to change the last two. Change "@colorBlack" to "?colorPrimaryDark" and save your changes
STEP 6 - Open colors.xml and change values
Navigate to res, values, and open colors.xml with your text editor of choice (located at \framework-res\res\values\colors.xml)
Open colors.xml and search for "input_method_navigation_guard". Change "ff000000" to "00000000" and save the file. If you don't change this, the navigation bar will turn black when you open the keyboard
STEP 7 - Compile your framework-res.apk
Code:
java -jar apktool.jar b framework-res -c
STEP 8 - Replace old firmware-res.apk with the new one
Copy your new compiled firmware-res.apk in framework-res\dist to your Android Device \Root\System\framework\. It is recommended to backup the default framework.res-apk first
Note: It is recommended to copy it from recovery, but you can also copy it directy via root explorer but your device will restart instantly
I do not take credit for this guide, do thank the op's if you find it useful.
Also is not perfect as a custom integration but it's something.

Categories

Resources