I hated the annoying increasing ring so set out to fix it
For those that just want a quick flashable zip please scroll to the bottom
Thanks to the amazing gharrington and his thread: http://forum.xda-developers.com/galaxy-s3/general/how-to-jb-disable-increasing-ringtone-t1976241
It turned out to be quite simple
Basically its exactly the same as what he said but the files have slightly changed for the S5, so head over to his thread to grab the SecPhone Diss.zip
You need zip as above
Java jdk Installed and Environment Variables set correctly (if you don’t know how Google it)
SecTeleService.apk for you rom (Deodexed, in system/priv-app)
Notepad ++
And WinRAR/7zip.
Heres how its done:
1. Place SecTeleService.apk into SecPhone Diss folder downloaded previously.
2. Hold shift and right click mouse in folder to bring up menu and click: open command prompt here.
3. Type: java -Xmx512m -jar baksmali.jar SecTeleService.apk and hit Enter. When this is finished you should have a new folder called out.
4. Go to: SecPhone Diss\out\com\android\phone and open Ringer$2.smali with Notepad ++.
5. Search for: Landroid/media/AudioManager;->setStreamVolume(III)V .There will be 2 entries. You want the first one, it should match the code below. It should be line 482. The v1 v6 etc may be different!
6. Delete the line marked with -- .Increasing ringtone gone!
---------------------------------------------------------------------------------------------------------
iget-object v2, v2, Lcom/android/phone/Ringer;->mAudioManager:Landroid/media/AudioManager;
-- invoke-virtual {v2, v7, v3, v4}, Landroid/media/AudioManager;->setStreamVolume(III)V
.line 1039
const-wide/16 v2, 0x7d0
----------------------------------------------------------------------------------------------------------
7. Now hold shift and right click mouse in folder to bring up menu and click: open command prompt here again and this time type: java -Xmx512m -jar smali.jar out -o classes.dex when complete you will have a new file called classes.dex
8. Right click SecTeleService.apk and open archive with WinRAR/7zip. Inside will be a file named classes.dex replace this one with the one just made by drag drop method.
Job done!
Thanks goes out to gharrington for the original method, I merely just updated it for the S5
For those that want ease and speed here's a flashable zip: http://www.androidfilehost.com/?fid=23329332407589562 Please note this was made for echoe rom so I can only confirm working with echoe rom
liamstears said:
I hated the annoying increasing ring so set out to fix it
For those that just want a quick flashable zip please scroll to the bottom
For those that want ease and speed here's a flashable zip: http://www.androidfilehost.com/?fid=23329332407589562
Click to expand...
Click to collapse
Used this on the [ROM][G900F][26/04] XtreStoLite v.1 [Extremely Debloated][The Lightest TW Rom][AROMA Add-on Package][ART Compatible][547 MB]ROM and it killed systemui. Caused almost impossible FC's to deal with. Ended up having to Nandroid. This ROM is Odexed instead of deodexed. Not sure if that would have an issue, Just an FYI to others. (the flashable zip)
Thanks for letting us know, I will edit the op
Thanks worked great by following your instructions. but I also deleted the SecTeleService.odex file and wiped cache and dalvic, before rebooting into the OS.. works great thanks
Odexed ROM
https://play.google.com/store/apps/details?id=com.shumoapp.disableincreasingring
Works great.
djluisbento said:
https://play.google.com/store/apps/details?id=com.shumoapp.disableincreasingring
Works great.
Click to expand...
Click to collapse
Yes it does but then you get an annoying notification and an app running in the background
Why notification, why an app... Someone
Sent from my SM-G900P using XDA Premium 4 mobile app
liamstears said:
Yes it does but then you get an annoying notification and an app running in the background
Click to expand...
Click to collapse
u can go to App Info and uncheck the notification box.
Can someone post the already edited file for those who are not that familiar with Android and S5?
EDIT: Nevermind, stalli0nUK's post did the real job. Without deleting the corresponding odex file it didn't work.
Thanks again
liamstears said:
For those that want ease and speed here's a flashable zip: http://www.androidfilehost.com/?fid=23329332407589562 Please note this was made for echoe rom so I can only confirm working with echoe rom
Click to expand...
Click to collapse
Flashed the zip. Get force closes on InCall UI but the ringer doesn't increase.
Hello,
I checked my own phone, but you said no files. Note 3 and Lollipop 5.0 installed on my phone.
What do I need to look into the file?
Thank you.
Related
Hello everybody
Could someone please give me a stepwise breakdown on if/how I could get trasparent notification bar on CM7 nightly ?
that's good idea!
You would have to pull the theme manager theme of choice out and change the statusbar_background.9.png to a transparent color.
So for SystemUI(using winRAR):
double click on the .zip to open it
double click on system ->app -> SystemUI.apk to open it
click on res
pull drawable-hdpi to your desktop
find statusbar_background.9.png and open it with your editor of choice that has transparency ability i.e paint.net, photoshop
make the bar transparent, save it
drop the file back in the drawable-hdpi folder of the SystemUI apk
when the little window pops up to say would you like to blah blah blah click yes
flash the rom and enjoy your transparent status bar
j0hnZ said:
You would have to pull the theme manager theme of choice out and change the statusbar_background.9.png to a transparent color.
So for SystemUI(using winRAR):
double click on the .zip to open it
double click on system ->app -> SystemUI.apk to open it
click on res
pull drawable-hdpi to your desktop
find statusbar_background.9.png and open it with your editor of choice that has transparency ability i.e paint.net, photoshop
make the bar transparent, save it
drop the file back in the drawable-hdpi folder of the SystemUI apk
when the little window pops up to say would you like to blah blah blah click yes
flash the rom and enjoy your transparent status bar
Click to expand...
Click to collapse
For some reason, after multiple tries, i keep messing up my status bar. Im not sure if there are minute settings that i have to tinker with in paint.net but for some reason its just not coming out well. If you have any paint.net specific transparency settings to toggle id greatly appreciate it. Thanks for the above tutorial though, it may just be me not getting it haha.
kvlt said:
For some reason, after multiple tries, i keep messing up my status bar. Im not sure if there are minute settings that i have to tinker with in paint.net but for some reason its just not coming out well. If you have any paint.net specific transparency settings to toggle id greatly appreciate it. Thanks for the above tutorial though, it may just be me not getting it haha.
Click to expand...
Click to collapse
You have to do it for an individual theme. EX: Cyanbread.apk you have to edit file. Sometimes you have to do some coding.
zenzip said:
Hello everybody
Could someone please give me a stepwise breakdown on if/how I could get trasparent notification bar on CM7 nightly ?
Click to expand...
Click to collapse
sonny told me this some time ago but apktool doesn't work
you need to modify the classes.dex first!
this is pretty advanced but not that hard to learn....
the only way I have been able to do this is by way of baksmali-smali..
-find smali/com/android/systemui/statusbar
-open StatusBarService.smali
-search for the line
Code:
invoke-direct/range {v0 .. v5}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
-above that line you will see
Code:
const/4 v5, 0x2
-change it to
Code:
const/4 v5, -0x3
-then change to statusbar_background.9.png to the level transparency you want in gimp or photoshop
-
I thought vanilla android was supposed to be easier to modify...
j0hnZ said:
I thought vanilla android was supposed to be easier to modify...
Click to expand...
Click to collapse
It is this might look like greek but it is really simple once you get into it (learn baksmali-smali). changing the code line from const/4 v5, 0x2 to (-0x3) is necessary for anything to be transparent i.e. pulldown shade
ogdobber said:
It is this might look like greek but it is really simple once you get into it (learn baksmali-smali). changing the code line from const/4 v5, 0x2 to (-0x3) is necessary for anything to be transparent i.e. pulldown shade
Click to expand...
Click to collapse
I had to do that for the shade_bg, but I haven't found anything that's been easier so far.
Finally someone has done by following the advice above?
clearbar only for cm7 rc4
this will make your statusbar clear. this is the only mod. you must run a live wallpaper or if you are using a gallery picture make sure in adw settings/system preferences that wall paper hack is disabled
http://www.mediafire.com/?hx155d77k3ee9v7
edit* the pulldown is also transparent
ogdobber said:
this will make your statusbar clear. this is the only mod. you must run a live wallpaper or if you are using a gallery picture make sure in adw settings/system preferences that wall paper hack is disabled
http://www.mediafire.com/?hx155d77k3ee9v7
edit* the pulldown is also transparent
Click to expand...
Click to collapse
good ty so much, but i'would only pulldown bar transparent and not also notification bar, in wich way i can do this?
I agree and this is a great idea!
zenzip said:
good ty so much, but i'would only pulldown bar transparent and not also notification bar, in wich way i can do this?
Click to expand...
Click to collapse
just un zip it and look at the names you dont want and change in gimp what you dont like...then (you still have a zipped version) use winrar to open (not unzip) and drag the newly modified .pngs in and delete the ones you don't want
then to flash turn off signature verification in recovery...(or re-sign)
ogdobber said:
just un zip it and look at the names you dont want and change in gimp what you dont like...then (you still have a zipped version) use winrar to open (not unzip) and drag the newly modified .pngs in and delete the ones you don't want
then to flash turn off signature verification in recovery...(or re-sign)
Click to expand...
Click to collapse
man in .rar file not included any png or jpeg file but only modified version of framework-res.apk and SystemUI.apk ....
hey og, i flashed this and it didnt work for me .. on rc4 and i use launcher pro but tried it with wallpaper hack disabled on adw with no luck, any ideas?
thanks
mattdub1 said:
hey og, i flashed this and it didnt work for me .. on rc4 and i use launcher pro but tried it with wallpaper hack disabled on adw with no luck, any ideas?
thanks
Click to expand...
Click to collapse
try with a live wallpaper...also the "theme chooser" needs to be (system) or the theme will override
up ............
zenzip said:
up ............
Click to expand...
Click to collapse
are you still on RC4 or you upgraded to stable?
please provide me your SystemUI.apk from \system\app and i'll edit it for you
etoy said:
are you still on RC4 or you upgraded to stable?
please provide me your SystemUI.apk from \system\app and i'll edit it for you
Click to expand...
Click to collapse
now i've stable, but when i write the post had RC4.
This is my SystemUI.apk
http://dl.dropbox.com/u/548546/SystemUI.apk
Just though I'd take the time to update apk_manager_4.9 and call it apk_manager_4.9_Honeycomb_Edition. I've modified a few tools inside apk manager to now work with honeycomb apk's. Hopefully this will come in handy for you all.
Credits:
All credits go to the prior developers of APK MANAGER 4.9 HERE. I just took the time to update it for Honeycomb. Please refer to this link for instructions as well.
Thanks to Daneshm90 for giving me the okay to release this version so hopefully all you themers/developers out there will take this and run with it.
Changelog:
aapt - (From updated SDK)
apktool - (From updated SDK & MAD Industries)
zipalign - (From updated SDK)
Here is the download
APK_Manager_4.9_Honeycomb_Edition
Mirror_1
Mirror_2
MAC USERS:
Please click HERE for everything you need for APK Manager for a MAC courtesy of MAD Industries
Updated 08/18/11
Changelog:
Cleaned up script to and compile settings and systemui apks
Code:
echo Building Apk
IF EXIST "%~dp0place-apk-here-for-modding\%capp%" (del /Q "%~dp0place-apk-here-for-modding\%capp%")
java -Xmx%heapy%m -jar apktool.jar b -f "../projects/%capp%" "%~dp0place-apk-here-for-modding\%capp%"
if errorlevel 1 (
echo "An Error Occured, Please Check The Log (option 21)"
PAUSE
)
(Lines 489-495 if you're using Notepad++)
You can either re-download the APK-Manager_4.9_Honeycomb_Edition.zip from above or you can download the new Script.bat HERE
Just extract the Script.bat and replace the old one.
Some Extra Instructions:
To do this U MUST make a new folder in C:/users/<yourname>/ and call it apktool and a sub folder within it called framework. If you have this there already YOU ROCK!!
Mine reads:
Code:
C:/Users/Thomas/apktool/framework
Now within that framework folder you need a copy of a complete stock framework-res.apk and you need to rename it to 1.apk
You also need a copy of a complete stock twframework-res.apk and rename it 2.apk
So it should read:
Code:
C:/Users/<yourname>/apktool/framework/1.apk
and
Code:
C:/Users/<yourname>/apktool/framework/2.apk
Remember any apk you are attempting to decompile MUST BE COMPLETE STOCK to do so.
I have done all of this and tested over and over again and I am getting no errors whatsoever. If you do get some errors please make sure all your paths for SDK are setup correctly including setting a path for Java JDK as well.
PM me with any questions or concerns regarding all this. I will do my best to respond within a timely manner.
reserved for future
this one too hehe
Nice tool, will be useful.
PhantomHacker said:
Nice tool, will be useful.
Click to expand...
Click to collapse
Just hope more people will use it to it's fullest potential. And this tool does a lot of different things. Thanks PhantomHacker.
Very nice, thanks
Makes work easier
Thanks Doc I found this tool to become very handy when I did some things for the Samsung Epic 4G. I had to be able to use it for the Tab lol. Thanks again. Keep up the fantastic work yourself.
works like a charm Asus eee pad
depulle87 said:
works like a charm Asus eee pad
Click to expand...
Click to collapse
Awesome depulle87 glad to hear
Sent from my Nexus S 4G using XDA Premium App
I was to early with that, it seems to ''shrink'' my framework-res.apk so I can't use it.
It was 6.506kb and after a decompile and than compile it is 4.082kb, no changes made.
I didn't see it yesterday and I ended reflashing my TF
depulle87 said:
I was to early with that, it seems to ''shrink'' my framework-res.apk so I can't use it.
It was 6.506kb and after a decompile and than compile it is 4.082kb, no changes made.
I didn't see it yesterday and I ended reflashing my TF
Click to expand...
Click to collapse
Try after you select your project (Option 22) select (Option 19) Set your compression level and change it to 0.
That shouldn't shrink it at all.
Sorry about that let me know if that works as well so I can update OP
sorry man, it still shrinks my apk
Okay let me look into it. Sorry man.
Thanks man, should I upload my apk file so you can test it ?
yeah pm me with the link
Updated 8/18/2011
I've updated the OP a ton so please read away.
Well, that was easy
One small nitpick: What is the rationale behind overwriting the original files when compiling? Just curious.
And, for us antiquated old geezers building on something like a Windows Server 2003, framework-res.apk and twframework-res.apk should be present as
C:\Docume~1\<username>\apktool\framework\1.apk and 2.apk respectively.
Edit: Which sort of happens automagically, if you ...
java -jar other/apktool.jar if place-apk-here-for-modding/twframework-res.apk
... on that sort of platform.
what's the function of this app?
denis_sianto said:
what's the function of this app?
Click to expand...
Click to collapse
It's not an app
Sent from my MB855 using xda premium
denis_sianto said:
what's the function of this app?
Click to expand...
Click to collapse
It makes creating a theme fairly easy. It allows access to xml's, smali files(****ed up java files lawl!(i know what they are, i just like that version better)), and all the images in whatever apk you put in it. SO you can put in your new images, edit old images, edit xml files, edit smali files.
hello guys,
i m here to give u some information on how to add more wallpapers to the existing twwallpaper chooser.apk.............
it is very easy task & not require very high knowledge...........
tools required:-
1.) apktool/apkmultitool
2.) java runtime
3.) jpeg wallpaper images [u can get from google ]
4.) notepad++ [i prefered it for editing xml ]
5.) some knowledge about apktool /apkmultitool refer to my thread
guide:-
1.) decompile the twwallpaper.apk using apktool/apkmultitool........
2.)goto decompiled folder >res>drwable-mdpi
3.) add ur images to drawable-mdpi folder
u ve to add 2 images for each wallpaper
example --- abhi922.jpeg is the wallpaper & other is abhi922_small.jpeg
abhi922.jpeg should be a proper 640x480 image
abhi922_small.jpeg should be a proper 107x80 image
4.) goto values-mdpi folder
5.) open arrays.xml
it should look like this ----
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="wallpapers">
<item>wallpaper_default</item>
<item>wallpaper_17</item>
<item>wallpaper_18</item>
<item>wallpaper_desert</item>
</string-array>
</resources>
now we have to add a new item to this for a new wallpaper......
add " <item>abhi922</item> "
now it will look like this :-
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="wallpapers">
<item>abhi922</item>
<item>wallpaper_default</item>
<item>wallpaper_17</item>
<item>wallpaper_18</item>
<item>wallpaper_desert</item>
</string-array>
</resources>
tips:-
a) we have given it that name which we have assign to jpeg image......[ abhi922.jpeg]
b.) u can also add this line " <item>abhi922</item> " to any place as it will change order the of wallpapers in app......
6.) save this file.....
7.) compile again refer to my thread
8.) test & apply new wallpapers..
if u use this thread & make a new modded apk then give me credits
hit thanxxxx button for me .......nothing else.........
So simple so neat so comprehensive
Simply simple as always
Sent from my GT-I9100 using xda app-developers app
Nice user friendly guide..
Thank You
Sent from my GT-S5830i using xda app-developers app
AW: [guide][how to] TwWallpaperChooser.apk to add more wallpapers...[easy]
Nice :thumbup:
Could you add it to your "How to make a custom rom" thread (if you didn't add it already)?
Tapatalked by S5830i
nice sir... i will save this page :good: thanks
raixie said:
nice sir... i will save this page :good: thanks
Click to expand...
Click to collapse
lol
Completing 10 posts?
Nice
Sent from my GT-S5830i using xda app-developers app
haytham.kenway said:
Nice
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
You too
ROFL
Can we use custom characters in xml like "öç"?
S5830i Stock + Root + init.d + Ligtning script + Link2SD
Hi, do you have any tips on doing this with the Galaxy S5 SecWallpaperPicker.apk?
What should the wallpaper dimensions be?
thanks!
LolVersatile said:
Hi, do you have any tips on doing this with the Galaxy S5 SecWallpaperPicker.apk?
What should the wallpaper dimensions be?
thanks!
Click to expand...
Click to collapse
best way to know that is extarct a wallpaper from your S5 SecWallpaperPicker.apk
then check its dimensions using any app from market or on windows photo viewer details..
then use that dimension to trim ur custom wallpapers...
also ---> u need to check that which folder contains ur wallpapers ... It will be like this --> drawable-sw***dp-**dpi
sw***dp can be any number like sw360dp or sw720dp or any other etc....
**dpi can be like xhdpi or xxhdpi or any other etc...
also ---> ur value folder will be different ... like --> value-xhdpi , value-xxhdpi or any other acc. to ur phone's display.
regards,
abhi922.
abhi922 said:
best way to know that is extarct a wallpaper from your S5 SecWallpaperPicker.apk
then check its dimensions using any app from market or on windows photo viewer details..
then use that dimension to trim ur custom wallpapers...
also ---> u need to check that which folder contains ur wallpapers ... It will be like this --> drawable-sw***dp-**dpi
sw***dp can be any number like sw360dp or sw720dp or any other etc....
**dpi can be like xhdpi or xxhdpi or any other etc...
also ---> ur value folder will be different ... like --> value-xhdpi , value-xxhdpi or any other acc. to ur phone's display.
regards,
abhi922.
Click to expand...
Click to collapse
Hi guys,
I have done this for the S5.
Deleting the stock images and adding my own images. De compiled, added the new images, made the changes in the relevant .xml files, compiled and signed secwallpaperpicker.apk.
No errors when de compiling or compiling.
Added it to my rom zip, installed, but when I go to check from the wallpaper picker, I get "Unfortunately settings has stopped". When I go to install the secwallpaperpicker.apk file, it get message "App not installed" Permissions are correct.
Any devices please?
jaco-hendriks said:
Hi guys,
I have done this for the S5.
Deleting the stock images and adding my own images. De compiled, added the new images, made the changes in the relevant .xml files, compiled and signed secwallpaperpicker.apk.
No errors when de compiling or compiling.
Added it to my rom zip, installed, but when I go to check from the wallpaper picker, I get "Unfortunately settings has stopped". When I go to install the secwallpaperpicker.apk file, it get message "App not installed" Permissions are correct.
Any devices please?
Click to expand...
Click to collapse
just a silly mistake:silly:
you have signed ur apk which u cannot do for system app.....
so use my thread for refrence --->http://forum.xda-developers.com/showpost.php?p=36388180&postcount=3
regards,
abhi922.
abhi922 said:
just a silly mistake:silly:
you have signed ur apk which u cannot do for system app.....
so use my thread for refrence --->http://forum.xda-developers.com/showpost.php?p=36388180&postcount=3
regards,
abhi922.
Click to expand...
Click to collapse
Hi abhi922,
Thanks for your reply - much appreciated.
I have actually done the same with signed and unsigned and still getting the same result.
I have extracted both framework-res and secwallpaperpicker.apk from the ROM zip, created framework files, decompiled the secwallpaperpicker.apk file, added a new image (wallpaper_12.png and wallpaper_12_small.jpg) to the image folder, updated the public.xml and strings.xml file, compiled the apk again without any errors. Did the following:
1. Signed and zipaligned
2. Unsigned and zipaligned
3. Signed
4 Unsigned
Copied the apk file back to the ROM zip using winrar (store), installed the ROM via Aroma installer. Everything fine till I go to settings --> Wallpaper --> home and lock screens. Getting error "Unfortunately, settings has stopped working. Getting error "app not installed" when trying to install the app manually from the external SD card (signed & unsigned). Trying to copy the apk file to \system\priv-apps using ES file manager, getting an error something about I don't have access and or folder is read only. Downloaded secwallpaperchooser.apk, added that to the ROM zip, then also getting the same errors/results.
Modified the alarm clock apk and it works fine.
Thanks and regards
Guys i Found something that you will like !!
Yes you are correct it is Smart Rotation !! [Tested on fast dream 4.1 stock rom]
I was missing with some smali codes and adding feauters and by mistake deleted a code made my changes and found that there is a smart rotation option ??
what you need
1. smalli and backsmailli (attached in post )
2. time
3. mind
4. smalli code famillarity
HOW TO ENABLE THIS
1. OPEN SECSETTINGS.APK WITH 7ZIP
2. DRAG OUT THE CLASSES.DEX FILE TO THE FOLDER THAT CONTAINS SMALLI / BACKSMALLI
3. DRAG AND DROP CLASSES.DEX TO BACKSMALLI.BAT
4. A NEW FOLDER CALLED CLASSOUT WILL BE MADE
5. go to smali/com/android/settings/DisplaySettings.smali
6. Open this smali file with a NotePad++ and look for these lines and delete them
Code:
invoke-virtual {p0}, Lcom/android/settings/DisplaySettings;->getPreferenceScreen()Landroid/preference/PreferenceScreen;
move-result-object v12
iget-object v13, p0, Lcom/android/settings/DisplaySettings;->mSmartRotation:Landroid/preference/CheckBoxPreference;
invoke-virtual {v12, v13}, Landroid/preference/PreferenceScreen;->removePreference(Landroid/preference/Preference;)Z
7. GO TO THE FOLDER THAT CONTAINS SMALLI/ BACK SMALLI
8. DRAG AND DROP CLASS OUT FOLDER TO QUICKSMALLI.BAT
9. A NEW FILE CALLED NEW-CLASSES.DEX FILE WILL BE MADE
10. RENAME NEW-CLASSES.DEX TO CLASSES.DEX
11. OPEN SECSETTINGS.APK WITH 7ZIP AND DRAG AND DROP CLASSES.DEX TO THE 7ZIP WINDOW
12. PUSH TO SYSTEM/APP
13. OPEN SETTINGS AND GO TO DISPLAY HIT THE SMART ROTATION BOX AND REBOOT
14. VOLIA !!
15. HIT THANKS BUTTON
Find This Thread here At Sshd Fourms too
Great. I will try. :laugh:
dragon459 said:
Great. I will try. :laugh:
Click to expand...
Click to collapse
thanks waiting your feed back
Wow, Thanks man, I very very want it last day,, this is a not easy step, but I will try it..
and what is possible to porting feature smart pause to stock rom 4.2.2?
Im sorry my english is bad, I hope youre understand my mean..
thanks..
prabowoadhy said:
Wow, Thanks man, I very very want it last day,, this is a not easy step, but I will try it..
and what is possible to porting feature smart pause to stock rom 4.2.2?
Im sorry my english is bad, I hope youre understand my mean..
thanks..
Click to expand...
Click to collapse
Smart Pause requires an Proximity Sensor, wifi only models doens't have one and I think that GSM (3G models) doesn't have either
Narciso Neto said:
Smart Pause requires an Proximity Sensor, wifi only models doens't have one and I think that GSM (3G models) doesn't have either
Click to expand...
Click to collapse
3g models have proximity sensor, near the front speaker.
Sent from my GT-P3110 using Tapatalk 4
Yo guys! Here I come up with a brief tutorial for using Apktool Mobile! Let's begin!
Requirements:
1.A rooted device
2.Apktool 4.4 : https://storage.googleapis.com/goog.../code.google.com/apktool/apktool4.4_armhf.zip
3.A deodexed app of your phone.
How to deodex? Watch my video tutorial here: https://www.youtube.com/watch?v=n0sfERSqLgA
4.Root explorer and Busybox
5.Brain.apk
6.Patience.jar
How to setup apktool?
1.) Unzip apktool4.4_armhf.zip using root explorer.
2.) Navigate to sdcard0/speedsoftware/extracted/apktool4.4_armhf/apktool folder and install apktool 4.4
3.) Open apktool app,grant root access. Now goto settings and select apktool version 1.5.2. Come back.
4.) Navigate to storage/sdcard0/speedsoftware/apktool4.4armhf folder.
5.) Long press on apktool folder and select Set as apktool data folder.
6.) Navigate to system/framework
7.) Click on framework-res.apk and select import as framework.
8.) In the same folder find twframework-res.apk(for samsung devices) or mediatek-res.apk, click on it->import as framework
9.) Now navigate to system/app, find systemui.apk->click on it and select
10.) Import as framework.
11.) Done.
How to theme SystemUI?
1.) Using root explorer, create a folder named 'A' in apktool folder.
2.) Copy SystemUI.apk to that folder.
3.) Open apktool app, navigate to that A folder, click on SystemUI.apk and select decompile all. Wait till it gets decompiled.
4.) After it gets decompiled, you will get a folder named SystemUI_src
5.) Now minimize apktool, go to root explorer, navigate to SystemUI_src folder, and do any type of modifications you want.
For example, colour the battery icons using Picsay Pro and save with the original name.
6.) After you are done, open apktool app, click on SystemUI_src folder, recompile. Wait till it gets recompiled. Now you will get an app named SystemUI_src.apk. That's your modded apk.
How to Sign SystemUI/Any System app?
1.) Using root explorer, goto A folder, and extract SystemUI.apk and SystemUI_src.apk one by one.
2.) Now navigate to sdcard0/speedsoftware/extracted/SystemUI folder.
3.) Copy Androimanifest.xml and Meta-inf folder from there. Press back and open SystemUI_src folder. Paste those two files there. Click replace when you see the popup.
4.) Come back. Long press on SystemUI_src folder and select zip this folder. Then select goto zip once its finished. Rename the SystemUI_src.zip to SystemUI.apk.
5.) Done. Now you can your push own modified UI to system/app!
Good luck!
Regards,
Aniruddha B.Pathak.
HIT THANKS IF I HELPED YOU!! :laugh:
Thanks to @Ibuprophen for providing me the updated link to apktool.
Nice guide
KeeP it up ..
Thanks for the guide ...... I have apk tool 4.6 can i use it in same way???
arun.negi004 said:
KeeP it up ..
Thanks for the guide ...... I have apk tool 4.6 can i use it in same way???
Click to expand...
Click to collapse
Thanks for the compliment
Of course you can but I personally recommend 4.4 as it has more options is quite faster
Still go ahead with 4.6 :angel:
Ok thanks BRO
Aniruddha_Pathak said:
Thanks for the compliment
Of course you can but I personally recommend 4.4 as it has more options is quite faster
Still go ahead with 4.6 :angel:
Click to expand...
Click to collapse
Ok i also have 4.4 version :3
But why this step secting apk tool version 1.5.2
Ahh...thats for smali
Apktool when set to 2.0 gives errors sometimes while recompiling if you edit smali files hence, set it to 1.5.2 so that you won't face any problem
Thanks...
Aniruddha_Pathak said:
Apktool when set to 2.0 gives errors sometimes while recompiling if you edit smali files hence, set it to 1.5.2 so that you won't face any problem
Click to expand...
Click to collapse
Ok thanks BRO for help..
I m getting this error while recompiling system ui..
[Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
Click to expand...
Click to collapse
---------- Post added at 08:27 AM ---------- Previous post was at 08:17 AM ----------
Does it needs system deodexed?
Follow the guide again
Setup apktool again, then follow the guide carefully
Hi! I'm on a rooted kk tablet running ApkTool mobile v5.
Is this version stable and bugfree? or should I install an older one (e.g. v4.4)
An other question,what should I do to have a signed and/or working app after:
Decompiling>>Adding files>> ??
Because when I add files to the apk and try to compile, errors, errors,...errors!!
Older version would work faster
Wolf Tatoo said:
Hi! I'm on a rooted kk tablet running ApkTool mobile v5.
Is this version stable and bugfree? or should I install an older one (e.g. v4.4)
An other question,what should I do to have a signed and/or working app after:
Decompiling>>Adding files>> ??
Because when I add files to the apk and try to compile, errors, errors,...errors!!
Click to expand...
Click to collapse
1. I would recommend older version of apktool as it would work faster on your tab.
2. Install busybox if its not already installed.
3. If you are replacing a png, then keep in mind that you must replace those pngs with "SAME NAME" as they were before in the SystemUI.
4. Donot touch .9.pngs if you don't know how to play with them.
Aniruddha_Pathak said:
1. I would recommend older version of apktool as it would work faster on your tab.
2. Install busybox if its not already installed.
3. If you are replacing a png, then keep in mind that you must replace those pngs with "SAME NAME" as they were before in the SystemUI.
4. Donot touch .9.pngs if you don't know how to play with them.
Click to expand...
Click to collapse
Thanks for replying.
I already know how to replace pngs inside an apk,and I know that .9.PNG are not. png. But what I can't do is to successfully compile and sign the app after adding-not just replacing-new files to the existing ones inside_let's say package/res/drawable_apk.
Umm...if you want to ADD pngs, then you need to make some changes in xmls, otherwise it won't recompile
Aniruddha_Pathak said:
Umm...if you want to ADD pngs, then you need to make some changes in xmls, otherwise it won't recompile
Click to expand...
Click to collapse
Yes I know, but which ones should I modify?
How about editing xml's using phone, what tool to use?
ApkTool v4.8 Mod (Professional)
by Stewe, full creds to him
Mod Info:
♣ Added ApkTool v2.0.0 RC4.
♣ Added Smali/Baksmali v2.0.5.
♣ Added New Icons.
♣ Apk + Data.
http://www34.zippyshare.com/v/mVx5n21p/file.html
Wolf Tatoo said:
Yes I know, but which ones should I modify?
Click to expand...
Click to collapse
Search around XDA for the guides, you may find one
Notepad++
datsoy said:
How about editing xml's using phone, what tool to use?
Click to expand...
Click to collapse
I use Notepad++, which is a great tool
Link: https://code.google.com/p/openintents/downloads/detail?name=Notepad-1.4.0.7.apk
Thanks for sharing
berryman13 said:
ApkTool v4.8 Mod (Professional)
by Stewe, full creds to him
Mod Info:
Added ApkTool v2.0.0 RC4.
Added Smali/Baksmali v2.0.5.
Added New Icons.
Apk + Data.
http://www34.zippyshare.com/v/mVx5n21p/file.html
Click to expand...
Click to collapse
Thanks for sharing it sir but I personally has used all versions of apktool, from 4.1 to 5.0 and I find 4.4 more useful
Still, thanks for sharing the link, again
Are there any tutorials on how to change the status bar icons (sounds, vibrate, wifi,signal)?
Thanks in advance!
Should I make one?
kushpancake said:
Are there any tutorials on how to change the status bar icons (sounds, vibrate, wifi,signal)?
Thanks in advance!
Click to expand...
Click to collapse
Should I make a guide on it? Or should I tell you here?