This is an Easy Tutorial, How to Decompile .apk and Recompile .apk FilesIf u like this Tutorial, Hit THANKS ButtonCREDITS
Memnoc - For Gud Ideas.
Xavierjohn22 - the amazing author of AutoApktool go Here, Hit thanks to Him Too.
Sandy7-For Motivation.
Requirements
Java (last version)
JDK (last version)
JDR (last version, usually included in JDK or Java)
Auto_Apktool 2.0.0 (DOWNLOAD THIS ONE NOT OTHERS)
HOW TO DO
NOTE: before start, select Apktool version with option 21, YOU MUST CHOOSE 1.4.1 version
1) Download and simply unpack Auto_ApkTool
2)Click on "autoapktoolmain.bat", prompt will open
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3)put the apk you want to EDIT, in "_INPUT_APK"
4) Nw u Should Choose "option 6" for 'decompiling .apk
5) when option 6 is being selected, drag the apk from _INPUT_APK folder into the windows prompt and click enter
6) A Note window will appear, and will show IF the decompiling process has been done properly. Once you close that window, you will see the decompiled folder in _INPUT_APK folder
7) do your edits (xml, smali, or png, WHATEVER)
8) recompile with option 7 (NOTE: this time you MUST drag all the FOLDER, NOT the apk)
9) Once recompiling finished, u will Get a Dcompiled NOTE window that Shows your apk is sucessfully Compiled, Close that Window, Once open the decompiled folder, go to "dist" folder, and here you got your edited apk
10) NOW this is the Last step, since u cannot Sign System app, u will have to Copy the META-INF foldrer frm the Orginal apk to the edited apk, for more Info See the "Screen"
11) Rename the apk if Needed, and push it.
How to edit, .jar file and how to decompile/recompile it too, sooon!
Reserved, for video tutorial!
FAQ'sWhy can't we use Apktool???
Well, you can, but it's more difficult, that's it.
Why do you say "must use 1.4.1 apktool version"??
The reason why is that since 1.4.2 version, apktool generate java code while recompiling process is going on, and this lead to errors that 9/10 makes decompile process fail
That's great. Thanks for your work!
Warren87 said:
That's great. Thanks for your work!
Click to expand...
Click to collapse
Welcome, brother!
Sent from my WT19i using xda premium
its for jelly bean? i tried to decompile systemui but recive brut errors..
Its for ICS nt for JB let me see if I could provide a tutorial for JB !
Bro, try not to choose option 21 to change the APK tool version, it may work without changing the 'apktool version!
Sent from my WT19i using xda premium
Ok. There is a way to return to default settings or i have to unzip from beginning
Inviato dal mio GT-N7100 con Tapatalk 2
Denebola79 said:
Ok. There is a way to return to default settings or i have to unzip from beginning
Inviato dal mio GT-N7100 con Tapatalk 2
Click to expand...
Click to collapse
I dont get u, can u explain a bit more clearly!
Sent from my WT19i using xda premium
sry for my bad english. When i exctracted the apktools files and run it i selected the option 21 like in your tutorial, now how can i came back to the default setting like before select that option?
Inviato dal mio GT-N7100 con Tapatalk 2
Denebola79 said:
sry for my bad english. When i exctracted the apktools files and run it i selected the option 21 like in your tutorial, now how can i came back to the default setting like before select that option?
Inviato dal mio GT-N7100 con Tapatalk 2
Click to expand...
Click to collapse
Jst restart the Apktool and dnt select the option 21 tats it!
Sent from my WT19i using xda premium
Just tried but didn't work
Inviato dal mio GT-N7100 con Tapatalk 2
I tink tis apk tool wont work on JB, anyway u can go to the main thread of tis 'autoapktool thread' by xavierjohn and u can try the latest apk tool, may be updated version of tis apktool may support JB, u can ask abt the quries in tis thread, u can get more clear explations here http://forum.xda-developers.com/showthread.php?t=1053227
Sent from my WT19i using xda premium
Realy thx bro
Anyway its strange... i just tried to decompile the framework and all go well.. with system ui not
Inviato dal mio GT-N7100 con Tapatalk 2
Denebola79 said:
Realy thx bro
Anyway its strange... i just tried to decompile the framework and all go well.. with system ui not
Inviato dal mio GT-N7100 con Tapatalk 2
Click to expand...
Click to collapse
Ya, think, u said that ur got brut error, it may be that ur systemUI is corrupted, try any other systemUI, and it tink said u decompiled JB's framework-res.apk, so it means its supports any android versions .apk file, anyway can u plz post the log, so that I could have a look!
Sent from my WT19i using xda premium
the systemui i try to decompile is the actual i have in rom, i tried to decompile it like i did before i use this method http://forum.xda-developers.com/showthread.php?t=1814441 and it work....
Denebola79 said:
the systemui i try to decompile is the actual i have in rom, i tried to decompile it like i did before i use this method http://forum.xda-developers.com/showthread.php?t=1814441 and it work....
Click to expand...
Click to collapse
May be , it dnt work fr systemUI's
Sent from my WT19i using xda premium
i coudlnt recompile... errors
[*] C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res
recompiling C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res...
W: Could not find sources
I: Building resources...
aapt: warning: string 'gps_assisted_data_download' has no default translation in C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res; found: ko
aapt: warning: string 'lockscreen_too_many_failed_attempts_countdown' has no default translation in C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res; found: az bg ca cs da de el en_GB en_US es es_ES es_US et eu fi fr ga gl hr hu hy is is_IS it ka kk ko lt lv mk nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv tr uk uz
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no default translation in C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no default translation in C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res; found: en_GB es pt
C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res\values\plurals.xml:83: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res\values\plurals.xml:83: error: Found tag </item> where </plurals> is expected
C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res\values-en-rGB\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res\values-en-rGB\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res\values-en-rUS\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res\values-en-rUS\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res\values-es\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res\values-es\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res\values-pt\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res\values-pt\plurals.xml:79: error: Found tag </item> where </plurals> is expected
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\TUSHAR~1\AppData\Local\Temp\APKTOOL601409745954428767.tmp, -x, -S, C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res, -M, C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\TUSHAR~1\AppData\Local\Temp\APKTOOL601409745954428767.tmp, -x, -S, C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res, -M, C:\AutoAPKTool2.0.4a\AutoAPKTool2.0.4\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
The system cannot find the drive specified.
Related
Does anybody have a way to change the lockscreen clock and date text color from the original white to the ICS blue. Cant find any easy way to change it. I have tried apktool and tried to decompile and change the .xml file in notepad++ but wont re compile I get errors.
razorhog said:
Does anybody have a way to change the lockscreen clock and date text color from the original white to the ICS blue. Cant find any easy way to change it. I have tried apktool and tried to decompile and change the .xml file in notepad++ but wont re compile I get errors.
Click to expand...
Click to collapse
+1
Aosp locksceen I managed to change the clock color but have not found where the date color is
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
StolenVW said:
Aosp locksceen I managed to change the clock color but have not found where the date color is
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
Did you edit a .xml file in your framework-res.apk? If so, how did you recompile it? I am receiving errors every time I use apkmanager or apktool.
edfrommathclass said:
Did you edit a .xml file in your framework-res.apk? If so, how did you recompile it? I am receiving errors every time I use apkmanager or apktool.
Click to expand...
Click to collapse
Yeah it was a framework edit for both the aosp and the color change. Think I used apktool something 4.2 to decomplie and something 4.3 to compile it....I'm not home right now to see what exactly what I used
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
StolenVW said:
Yeah it was a framework edit for both the aosp and the color change. Think I used apktool something 4.2 to decomplie and something 4.3 to compile it....I'm not home right now to see what exactly what I used
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
I'll try that. I also tried this tool but to no success. My framework-res.apk will not recompile.
If you haven't found the date yet. I'm pretty sure its an xml in framework-res.apk/res/layout and the name of the xml has something to do with lockscreen
gmillz said:
If you haven't found the date yet. I'm pretty sure its an xml in framework-res.apk/res/layout and the name of the xml has something to do with lockscreen
Click to expand...
Click to collapse
Maybe the clock was in the color.XML I looked at the keygard and lockscreen XMLs in values and haven't found it
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
I tried decompiling with apktool 1.4.2 and recompiling with 1.4.3 but it also did not work. Any other ideas?
The framework-res.apk is from the 7/20 CM9 nightly and it will not compile (even when no changes are made) with any version of apktool that I have tried. I read in other threads that using the aapt file from my android-sdk folder would resolve the problem but this did not help either.
Any help would be greatly appreciated. Below is my log from a modified ICS apktool that I found online (Every apktool version that I have used produces the same error):
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: D:\Users\Eddie_Espino\Desktop\ICS Apktool\frame
work-res\res/drawable-sw600dp-hdpi
invalid resource directory name: D:\Users\Eddie_Espino\Desktop\ICS Apktool\frame
work-res\res/layout-sw600dp
invalid resource directory name: D:\Users\Eddie_Espino\Desktop\ICS Apktool\frame
work-res\res/layout-w600dp
invalid resource directory name: D:\Users\Eddie_Espino\Desktop\ICS Apktool\frame
work-res\res/values-h720dp
invalid resource directory name: D:\Users\Eddie_Espino\Desktop\ICS Apktool\frame
work-res\res/values-sw600dp
invalid resource directory name: D:\Users\Eddie_Espino\Desktop\ICS Apktool\frame
work-res\res/values-sw600dp-land
invalid resource directory name: D:\Users\Eddie_Espino\Desktop\ICS Apktool\frame
work-res\res/values-sw600dp-w1024dp
invalid resource directory name: D:\Users\Eddie_Espino\Desktop\ICS Apktool\frame
work-res\res/values-sw600dp-w1280dp
invalid resource directory name: D:\Users\Eddie_Espino\Desktop\ICS Apktool\frame
work-res\res/values-w360dp
invalid resource directory name: D:\Users\Eddie_Espino\Desktop\ICS Apktool\frame
work-res\res/values-w480dp
invalid resource directory name: D:\Users\Eddie_Espino\Desktop\ICS Apktool\frame
work-res\res/values-w500dp
invalid resource directory name: D:\Users\Eddie_Espino\Desktop\ICS Apktool\frame
work-res\res/values-w600dp
invalid resource directory name: D:\Users\Eddie_Espino\Desktop\ICS Apktool\frame
work-res\res/values-w720dp
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\EDDIEL~1\AppData\Local\Tem
p\APKTOOL7796559423211759181.tmp, -x, -S, D:\Users\Eddie_Espino\Desktop\ICS Apkt
ool\framework-res\res, -M, D:\Users\Eddie_Espino\Desktop\ICS Apktool\framework-r
es\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\EDDIEL~1\AppData\Local\Temp\APKTOOL7796559423211759181.tmp, -x, -S, D:\User
s\Eddie_Espino\Desktop\ICS Apktool\framework-res\res, -M, D:\Users\Eddie_Espino\
Desktop\ICS Apktool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Click to expand...
Click to collapse
StolenVW said:
Yeah it was a framework edit for both the aosp and the color change. Think I used apktool something 4.2 to decomplie and something 4.3 to compile it....I'm not home right now to see what exactly what I used
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
How'd you get the AOSP lock screen?
Sent from my captivated jelly beans. waiting on my skyrocket to get back from its space journey.
gmillz said:
How'd you get the AOSP lock screen?
Sent from my captivated jelly beans. waiting on my skyrocket to get back from its space journey.
Click to expand...
Click to collapse
On the stock att ics edit the bools.XML think its last line.....one that says is a tablet change it from false to true
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Got the date color changed finally also centered to clock/date and removed carrier label from bottom
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
StolenVW said:
Got the date color changed finally also centered to clock/date and removed carrier label from bottom
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
Got a zip file u wanna share I have been trying like hell to get it and just no luck. Now if u can just get the lock and unlock at the bottom to be the same color it would be sweet.
Great job man!!!!!!!!!!!!
razorhog said:
Got a zip file u wanna share I have been trying like hell to get it and just no luck. Now if u can just get the lock and unlock at the bottom to be the same color it would be sweet.
Great job man!!!!!!!!!!!!
Click to expand...
Click to collapse
Only problem is I'm on the stock odexed att ics so if your on a deodexed rom it won't work
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
What rom you on razorhog....maybe tonight I will make the edits to a deodexed framwork-res
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
StolenVW said:
What rom you on razorhog....maybe tonight I will make the edits to a deodexed framwork-res
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
Im on the latest SkyICS Speed Dragon, its the latest official ATT ICS that just come out. Thanks man u r the only I have seen so far to be able to get this to work.
razorhog said:
Im on the latest SkyICS Speed Dragon, its the latest official ATT ICS that just come out. Thanks man u r the only I have seen so far to be able to get this to work.
Click to expand...
Click to collapse
Can you post the framwork-res.apk from your rom....for that rom there is a few different version depending on what mods you installed from the rom developer
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Here is a Deodexed framwork-res.apk It has clock and date Blue and carrier label removed. Its a CWM flashable.
This is for stock AT&T ICS Deodexed
Back up your current framwork-res.apk before flashing
If installing this on a custom rom it may FC and you will lose any and all edits the rom curator had made.
If you installed any other custom framwork-res.apk all the changes it did will be gone also
Not responsible for anything that might happen to your phone from flashing this, flash at your own will.
This has not been tested as i am on the stock AT&T odexed ICS
Blue clock date aosp lockscreen deodexed
Edit: thanks to mohan_kr for the stock deodexed rom
Framework-res upload
StolenVW said:
Can you post the framwork-res.apk from your rom....for that rom there is a few different version depending on what mods you installed from the rom developer
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
Here is the framework-res that I am on sorry it took me so long I had to work late today.
razorhog said:
Here is the framework-res that I am on sorry it took me so long I had to work late today.
Click to expand...
Click to collapse
OK I will make the edits for you tomorrow after work and send you a link to it
Sent from my A500 using Tapatalk 2
This is an Easy Tutorial, How to Decompile .apk and Recompile .apk FilesIf u like this Tutorial, Hit THANKS ButtonCREDITS
Memnoc - For Gud Ideas.
Xavierjohn22 - the amazing author of AutoApktool go Here, Hit thanks to Him Too.
Sandy7-For Motivation.
Requirements
Java (last version)
JDK (last version)
JDR (last version, usually included in JDK or Java)
Auto_Apktool 2.0.0 (DOWNLOAD THIS ONE NOT OTHERS)
HOW TO DO
NOTE: before start, select Apktool version with option 21, YOU MUST CHOOSE 1.4.1 version
1) Download and simply unpack Auto_ApkTool
2)Click on "autoapktoolmain.bat", prompt will open
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3)put the apk you want to EDIT, in "_INPUT_APK"
4) Nw u Should Choose "option 6" for 'decompiling .apk
5) when option 6 is being selected, drag the apk from _INPUT_APK folder into the windows prompt and click enter
6) A Note window will appear, and will show IF the decompiling process has been done properly. Once you close that window, you will see the decompiled folder in _INPUT_APK folder
7) do your edits (xml, smali, or png, WHATEVER)
8) recompile with option 7 (NOTE: this time you MUST drag all the FOLDER, NOT the apk)
9) Once recompiling finished, u will Get a Dcompiled NOTE window that Shows your apk is sucessfully Compiled, Close that Window, Once open the decompiled folder, go to "dist" folder, and here you got your edited apk
10) NOW this is the Last step, since u cannot Sign System app, u will have to Copy the META-INF foldrer frm the Orginal apk to the edited apk, for more Info See the "Screen"
11) Rename the apk if Needed, and push it.
Reserved, for making how to decompile and recompile .jar files,soon
Reserved 2, if I get time I wil add a video tutorial too!
FAQ'sWhy can't we use Apktool???
Well, you can, but it's more difficult, that's it.
Why do you say "must use 1.4.1 apktool version"??
The reason why is that since 1.4.2 version, apktool generate java code while recompiling process is going on, and this lead to errors that 9/10 makes decompile process fail
Nice learning, but Does it only work for editing or changing the user interface (lke smile, png) of apk file?
x.r3y said:
Nice learning, but Does it only work for editing or changing the user interface (lke smile, png) of apk file?
Click to expand...
Click to collapse
That's the decompiling ment for !
StAnLiN
stanlin salu said:
That's the decompiling ment for !
StAnLiN
Click to expand...
Click to collapse
During recompile framework.apk an error. w: could not find sources how fix this error....plz help bro thanks.
Aeron sagar said:
During recompile framework.apk an error. w: could not find sources how fix this error....plz help bro thanks.
Click to expand...
Click to collapse
Just check whether u have got any apk in "dist' folder?????
Sent from my Xperia Live with Walkman using Tapatalk 2
stanlin salu said:
Just check whether u have got any apk in "dist' folder?????
Sent from my Xperia Live with Walkman using Tapatalk 2
Click to expand...
Click to collapse
yes bro apk in dist but it gives bootloop ...
Aeron sagar said:
yes bro apk in dist but it gives bootloop ...
Click to expand...
Click to collapse
Now u have to add META-INF folder from the original .apk !
Sent from my Xperia Live with Walkman using Tapatalk 2
stanlin salu said:
Now u have to add META-INF folder from the original .apk !
Sent from my Xperia Live with Walkman using Tapatalk 2
Click to expand...
Click to collapse
Bro I have added the meta inf folder that's not matter but recompiling W: could not find sources and the system cannot find the drive specificied . Two errors how to fix...
If I want to install android SDK?
Aeron sagar said:
Bro I have added the meta inf folder that's not matter but recompiling W: could not find sources and the system cannot find the drive specificied . Two errors how to fix...
If I want to install android SDK?
Click to expand...
Click to collapse
Haha, don't worry that's not an error, the path of dist was manually set so u get that message, actual 'errors' u will get under these note (if u have committed any error in editing), if get only these messages then ur apk is successfully recompiled :thumbup:
Sent from my Xperia Live with Walkman using Tapatalk 2
Teach me
guys i dont even get a stightest idea to decompile and recompile......... is there any application which can look into .apk files and also allow it to edit???????
Can decompile but can't recompile.
[*] C:\AutoAPKTool2.0.4\_INPUT_APK\BlueTheme
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\BlueTheme...
I: Smaling...
I: Building resources...
I: Building apk file...
The system cannot find the drive specified.
Have the dist file but the file less 1 MB than the original file.
Ben Ling said:
Can decompile but can't recompile.
[*] C:\AutoAPKTool2.0.4\_INPUT_APK\BlueTheme
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\BlueTheme...
I: Smaling...
I: Building resources...
I: Building apk file...
The system cannot find the drive specified.
Have the dist file but the file less 1 MB than the original file.
Click to expand...
Click to collapse
i dont see any error in it...its done recompiling ...
ya the size will be reduced based on ur apk tool compression level
while recompiling it shows error,.... "destination could not be found "
Thank you very much for the tutorial.. very helpful... :laugh:
I don't think so it works for JB
Can't decompile SystemUI of JB.
[*] "E:\Android stuff\AutoAPKTool2.0.4\_INPUT_APK\SystemUI.apk"
decompiling "E:\Android stuff\AutoAPKTool2.0.4\_INPUT_APK\SystemUI.apk"...
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
Click to expand...
Click to collapse
androidnerd2 said:
I don't think so it works for JB
Can't decompile SystemUI of JB.
Click to expand...
Click to collapse
try this both update ur aapt or install the proper framework's first
thank her tutorial ata friend
Sent from my Xperia Tipo using XDA Premium 4 mobile app
Hi all
This is the guide to port LG weather widget found in optimus black to all roms like cm7
Requirements-
*A nice working rooted mobile phone
*A working PC with java installed
*apktool-[Simple guide by PulseDroid]
Note :This Guide is only for android 2.3 because many people having errors on android 4.0+. Sorry I have no workthrough . Try this widget . It's the widget from LG UI 3.0.
Procedure-
*Extract framework.jar from /system/framework/ through any root file manager.
*Decompile it through apktool, a newly created framework.jar.out will be there.
Code:
apktool d framework.jar
*Download LG smali.zip from attachment and extract it
*Copy "lge" from com folder of LG smali and paste it in framework.jar.out/smali/com ( in apktool folder )
It must be like this "framework.jar.out/smali/com/lge"
*Compile framework.jar.out
Code:
apktool b framework.jar.out
*Push the newly compiled framework.jar from apktool/framework.jar.out/dist into your phone's /system/framework directory
*Reboot your phone.Don't worry it will take time to reboot.
*Lastly Download the widget from here and install as regular app
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi devilex94. Thank you for post on the other thread about the solution to my problem, but after read your guide I got really confused .
I don't know how to use apktool (already looked on XDA and Google but nothing is easy to understand). Went to cmd but it says that the path isn't right (grrr)...
I believe this really helps who understands programming but I don't know how to change frameworks :-/ already root my device, already extracted framework.jar from system... but after that I got stuck
Tsukidi said:
Hi devilex94. Thank you for post on the other thread about the solution to my problem, but after read your guide I got really confused .
I don't know how to use apktool (already looked on XDA and Google but nothing is easy to understand). Went to cmd but it says that the path isn't right (grrr)...
I believe this really helps who understands programming but I don't know how to change frameworks :-/ already root my device, already extracted framework.jar from system... but after that I got stuck
Click to expand...
Click to collapse
in the first command he forgot an "r" : framewok instead of framework.
your problem is that you need to cd to the directory of apktools. If the apktools is in C drive , the command is cd C:\apktools or any folder that is it in. if you have it in a series of folders it should be cd C:\your path to apktools and then do this tut.
Al3x_M1ni_B0ss said:
in the first command he forgot an "r" : framewok instead of framework.
your problem is that you need to cd to the directory of apktools. If the apktools is in C drive , the command is cd C:\apktools or any folder that is it in. if you have it in a series of folders it should be cd C:\your path to apktools and then do this tut.
Click to expand...
Click to collapse
Thanks for telling me my mistake.
I have corrected my mistake
Great for this
Thx
Getting following error.
RM57380 said:
Great for this
Thx
Click to expand...
Click to collapse
C:\Android\apktool>apktool b framework.jar.out
I: Checking whether sources has changed...
I: Smaling...
Exception in thread "main" org.jf.dexlib.Util.ExceptionWithContext: method index
is too large.
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithCont
ext.java:54)
at org.jf.dexlib.Item.addExceptionContext(Item.java:176)
at org.jf.dexlib.Item.writeTo(Item.java:119)
at org.jf.dexlib.Section.writeTo(Section.java:119)
at org.jf.dexlib.DexFile.writeTo(DexFile.java:716)
at brut.androlib.src.DexFileBuilder.getAsByteArray(DexFileBuilder.java:7
5)
at brut.androlib.src.DexFileBuilder.writeTo(DexFileBuilder.java:58)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)
at brut.androlib.Androlib.buildSources(Androlib.java:179)
at brut.androlib.Androlib.build(Androlib.java:170)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: java.lang.RuntimeException: method index is too large.
at org.jf.dexlib.Code.Format.Instruction35c.writeInstruction(Instruction
35c.java:102)
at org.jf.dexlib.Code.Instruction.write(Instruction.java:57)
at org.jf.dexlib.CodeItem.writeItem(CodeItem.java:258)
at org.jf.dexlib.Item.writeTo(Item.java:116)
... 12 more
code_item @0x1b3274 (Landroid/Manifest$permission;-><init>()V)
C:\Android\apktool>
Working great in Galaxy S2 with Biftor Rom
framework.jar.out
When I decompile framework.jar, I only get apktool.yml in the out folder. There are no directories like smali. Do I need to create those and then copy the LGsmali?
Great ! this is really nice !
Do you have the same solution to port the Samsung Weather/Clock widget from GS3 to any roms ?
Thanks
I tried the tutorial, installed the apk after but widget doesn't seem to fully load???
Sent from my GT-I9300 using xda premium
"Dist" is not created in my case
*Push the newly compiled framework.jar from apktool/framework.jar.out/dist
************************************************************************************************************************
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\user>cd..
C:\Users>cd..
C:\>cd 'apktool'l/'directory'
The system cannot find the path specified.
C:\>cd android/apktool
C:\android\apktool>apktool d framework.jar
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78
0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
C:\android\apktool>apktool b framework.jar.out
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
********************************************************************************************************************************************
Is sumthng went wrong in above process?
Congratulation...!
Wow !... This Post is Featured in Xda Portal Nice Work .........
I wrote about this long time ago, more manual method if you want or if you are having problem with this...
http://forum.xda-developers.com/showthread.php?t=1626497
Enviado desde mi One S usando Tapatalk 2
Originally posted by y2quila
I tried the tutorial, installed the apk after but widget doesn't seem to fully load???
Click to expand...
Click to collapse
It will load if you have followed the guide properly
Black_Lion said:
"Dist" is not created in my case
*Push the newly compiled framework.jar from apktool/framework.jar.out/dist
************************************************************************************************************************
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\user>cd..
C:\Users>cd..
C:\>cd 'apktool'l/'directory'
The system cannot find the path specified.
C:\>cd android/apktool
C:\android\apktool>apktool d framework.jar
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78
0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
C:\android\apktool>apktool b framework.jar.out
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
********************************************************************************************************************************************
Is sumthng went wrong in above process?
Click to expand...
Click to collapse
Did you followed the apktool guide properly?
It seems that you didn't followed the apktool guide properly
EDIT: Check if you have installed the proper framework files
and I think that you are using a already themed rom
hence you getting the errors.
works perfectly on my gt-i5510
thanks dude
Hiya mate, good work. Tried to make the mod for my sense 4 mod, got this error while recompiling:
C:\Users\nb>java -Xmx512M -jar smali.jar classout/ -o new-classes.dex
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: method index is too large.
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
at org.jf.dexlib.Item.addExceptionContext(Item.java:177)
at org.jf.dexlib.Item.writeTo(Item.java:120)
at org.jf.dexlib.Section.writeTo(Section.java:119)
at org.jf.dexlib.DexFile.writeTo(DexFile.java:716)
at org.jf.smali.main.main(main.java:231)
Caused by: java.lang.RuntimeException: method index is too large.
at org.jf.dexlib.Code.Format.Instruction35c.writeInstruction(Instruction35c.java:102)
at org.jf.dexlib.Code.Instruction.write(Instruction.java:57)
at org.jf.dexlib.CodeItem.writeItem(CodeItem.java:258)
at org.jf.dexlib.Item.writeTo(Item.java:117)
... 3 more
code_item @0x1e5a74 (Landroid/accessibilityservice/AccessibilityService$IEventListenerWrapper;->executeMessage(Landroid/os/MessageV)
Any clue?
fshami said:
Hiya mate, good work. Tried to make the mod for my sense 4 mod, got this error while recompiling:
C:\Users\nb>java -Xmx512M -jar smali.jar classout/ -o new-classes.dex
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: method index is too large.
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
at org.jf.dexlib.Item.addExceptionContext(Item.java:177)
at org.jf.dexlib.Item.writeTo(Item.java:120)
at org.jf.dexlib.Section.writeTo(Section.java:119)
at org.jf.dexlib.DexFile.writeTo(DexFile.java:716)
at org.jf.smali.main.main(main.java:231)
Caused by: java.lang.RuntimeException: method index is too large.
at org.jf.dexlib.Code.Format.Instruction35c.writeInstruction(Instruction35c.java:102)
at org.jf.dexlib.Code.Instruction.write(Instruction.java:57)
at org.jf.dexlib.CodeItem.writeItem(CodeItem.java:258)
at org.jf.dexlib.Item.writeTo(Item.java:117)
... 3 more
code_item @0x1e5a74 (Landroid/accessibilityservice/AccessibilityService$IEventListenerWrapper;->executeMessage(Landroid/os/MessageV)
Any clue?
Click to expand...
Click to collapse
did you installed the framework files in apktool. It may help.
Give the results soon.
Ciolouse said:
Great ! this is really nice !
Do you have the same solution to port the Samsung Weather/Clock widget from GS3 to any roms ?
Thanks
Click to expand...
Click to collapse
+1
Sent from my GT-S5570 using xda app-developers app
Nice job! I always loved widgets even though they drain the battery just a bit more.
Thanks for the post
Hi guys,
I see there is no noob-friendly tut for APK tool in our forum..So people like me get bored to read the commands...Here is one to make you familiar with a new tool AUTO APK TOOL (Its old but I don't see anyone using it)....
Its automated version of APK tool which makes your work very easy and No knowlege of Codes to decompile and cmd Commands are necessary.......
Well So here We start....
Code:
Pre-Requirements:
A PC :p
Auto ApkTool
Java JDK/JRE 32 bit
So here we get started...Get Auto apk tool from the link posted above by me...
Extract the package and copy it to Root of C drive like THIS:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Then copy your APK files to Auto apk tool>>Input_APK....
Now in the Auto apk tool folder open the Autoapktoolmain batch file...You don't need to open cmd and give commands:victory:...
There just take a look that all the options are automated for you right from ADB/Decompile-Recompile to FW dependencies....
Now press 6 i.e. option to Decompile...
You don't need to give commands Just drag the apk from Input_apk folder to cmd...No commands here too ...
Now you can see The decompiled apk in input_apk folder...MOD it as you want:good:....
After Done Just open cmd again...Press 7 to recompile...The recompiled APK is generated in decompiled folder inside a new folder called dist...
Now you can see your app...If its system app don't sign it otherwise let the RE-compiled app remain as it is and Select "Sign APK or ZIP' in cmd...The signed apk is generated in the same dist folder...:good:
I hope its really easy for anyone ....Any problems let me know...
CREDITS:
XDA
Maker of Auto APK tool
Me
Really nice work sir.. glad to see you sharing your expirence..
Great guide Sir,but i've got a problem re-compiling the APK's,i already installed java and i"m running on windows 7 32bit..
Here's My Log:
[*] C:\AutoAPKTool2.0.4\_INPUT_APK\SoundEnhancement
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\SoundEnhancement...
Exception in thread "main" brut.androlib.AndrolibException:
brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput
(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
The system cannot find the drive specified.
i wonder what might be the problem..waiting for your reply sir..Thanks in advance!
vampent0026 said:
Great guide Sir,but i've got a problem re-compiling the APK's,i already installed java and i"m running on windows 7 32bit..
Here's My Log:
[*] C:\AutoAPKTool2.0.4\_INPUT_APK\SoundEnhancement
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\SoundEnhancement...
Exception in thread "main" brut.androlib.AndrolibException:
brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput
(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
The system cannot find the drive specified.
i wonder what might be the problem..waiting for your reply sir..Thanks in advance!
Click to expand...
Click to collapse
afaik apktool.yml file in decompiled folder is missing...Cause its written reason in log as u can see in this line :
Code:
Caused by: brut.directory.PathNotExist: apktool.yml
Crytech007 said:
afaik apktool.yml file in decompiled folder is missing...Cause its written reason in log as u can see in this line :
Code:
Caused by: brut.directory.PathNotExist: apktool.yml
Click to expand...
Click to collapse
So,what can you suggest to do?
vampent0026 said:
So,what can you suggest to do?
Click to expand...
Click to collapse
it seems you are trying to decompile system app file!
For that you will have to install framework-res.apk from your phone
Sent from my C2104 using Tapatalk
Crytech said:
]http://img600.imageshack.us/img600/7369/79244769.png[/IMG]
Click to expand...
Click to collapse
links nt working .. ;(
anu.cool said:
links nt working .. ;(
Click to expand...
Click to collapse
Ya images are broken will fix
Sent from my C2104 using Tapatalk
hi when i enter the AUTOApkToolMain i get message saying jave not found i wil not be able to sign apks, but i installed java. on my computer i have in program files folder called java with "jdk-7u51-windows-i586" inside along with 2 folders "jdk1.7.0_51" and "jre7" does anyone know whats wrong,
i have-
win xp
service pack 3 build 2600
x86based pc
32bit
@Crytech - Im using Ubuntu 12.04.. Can you suggest a similar tool for linux??
markb323 said:
hi when i enter the AUTOApkToolMain i get message saying jave not found i wil not be able to sign apks, but i installed java. on my computer i have in program files folder called java with "jdk-7u51-windows-i586" inside along with 2 folders "jdk1.7.0_51" and "jre7" does anyone know whats wrong,
i have-
win xp
service pack 3 build 2600
x86based pc
32bit
Click to expand...
Click to collapse
http://www.robertsindall.co.uk/blog/setting-java-home-variable-in-windows/
Dhanesh95 said:
@Crytech - Im using Ubuntu 12.04.. Can you suggest a similar tool for linux??
Click to expand...
Click to collapse
Tried running on wine?
It should work with no problems imo
Harpratap said:
http://www.robertsindall.co.uk/blog/setting-java-home-variable-in-windows/
Tried running on wine?
It should work with no problems imo
Click to expand...
Click to collapse
I tried running it using wine... It wont work..
Hi all,
i've decided to put this tutorial together to show you
how to make a transparent drop down since it
seems that the method that worked in 4.3 doesn't work in 4.4. So, let's start.
SCREENSHOT:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
REQUIREMENTS:
knowledge in using apktool
SystemUI.apk pulled out from your system and decompiled
INSTRUCTIONS:
1.decompile your SystemUI.apk
2.navigate to res>values>drawables.xml
3.find
<item type="drawable" name="somc_notification_panel_bg">#99000000</item>
Click to expand...
Click to collapse
---note that the current value #99000000 is the one that you see on the screenshot, the stock one you find in SystemUI.apk will be different
4.now choose the amount of transparency you'd like to have in your notification panel, followed by the color youd like to have, e.g. transparent black, transparent white, etc. I'll use #99000000 value as an example: the first two digits (99 in my case) represent the amount of transparency in HEX format, looking at the table it is between 60 and 70%. The digits that follow (000000) represent the color in HEX format as well. 000000 is black color and FFFFFF is white color. Follow the link to choose your color.
4.1.choose the transparency, e.g. for 50% enter 80, for 70% transparency choose 112 etc.
0% = #00
10% = #16
20% = #32
30% = #48
40% = #64
50% = #80
60% = #96
70% = #112
80% = #128
90% = #144
4.2.now choose the color from this link
http://html-color-codes.info/
5.after you have choosen your values, just replace them
<item type="drawable" name="somc_notification_panel_bg">#your value here</item>
Click to expand...
Click to collapse
6.compile your SystemUI.apk and put it in system>priv-app
7.give the correct permissions xxx x-- ---
8.reboot and enjoy!
Hi man, i'm using 4.4.4 stock rom and did exactly how you told to do, but when i change the value, the navbar and notification panel has gone,
so, what probably i'm doing wrong?
thath is the original one
"#FF000000"
i and up with this code
"#40000000"
darthxa said:
Hi man, i'm using 4.4.4 stock rom and did exactly how you told to do, but when i change the value, the navbar and notification panel has gone,
so, what probably i'm doing wrong?
thath is the original one
"<item type="drawable" name="somc_notification_panel_bg">#FF000000</item>"
i and up with this code
"<item type="drawable" name="somc_notification_panel_bg">#40000000</item>"
Click to expand...
Click to collapse
First. Please Don't Quote Whole OP. Please Edit Ur Comment and Remove The OP Contents..
Second. U Lost Ur SystemUI. R U Sure U Using A Deodexed ROM. ?
darthxa said:
Hi man, i'm using 4.4.4 stock rom and did exactly how you told to do, but when i change the value, the navbar and notification panel has gone,
so, what probably i'm doing wrong?
thath is the original one
"<item type="drawable" name="somc_notification_panel_bg">#FF000000</item>"
i and up with this code
"<item type="drawable" name="somc_notification_panel_bg">#40000000</item>"
Click to expand...
Click to collapse
I'm not sure if the same method will work with 4.4.4 as the tutorial was pointed to 4.4.2. Apart from dissappearing nav and stat bars are there any other FCs or bugs, also did you use the method described to push back the file to the phone? Does the phone boots normally?
Thanks!
Denie46 said:
I'm not sure if the same method will work with 4.4.4 as the tutorial was pointed to 4.4.2. Apart from dissappearing nav and stat bars are there any other FCs or bugs, also did you use the method described to push back the file to the phone? Does the phone boots normally?
Thanks!
Click to expand...
Click to collapse
I themed a lot when I had a galaxy s4 and did exactly how you've said but just missed the navigation bar and the home and back button otherwise there is no Fc In nothing else
Sent from my C6943 using XDA Premium 4 mobile app
---------- Post added at 09:08 AM ---------- Previous post was at 09:04 AM ----------
Rajeev said:
First. Please Don't Quote Whole OP. Please Edit Ur Comment and Remove The OP Contents..
Second. U Lost Ur SystemUI. R U Sure U Using A Deodexed ROM. ?
Click to expand...
Click to collapse
I didn't lost my SystemUi, and thanks for the explanation on the quote politics, my room is odexed but in Samsung that's not interfere on that
Sent from my C6943 using XDA Premium 4 mobile app
The best thing to do is to flash the original file and start over. I'm almost certain that there is a bug with the way this apk have compiled. Check once again what have you modified and look if there are any messages/errors in cmd window when compiling.
UPDATE:
Just made my notification panel transparent following my tutorial in 4.4.4 and everything worked fine. At first my not and stat bars dissappeared but, then i rebooted and fixed permissions in recovery and everything looks good now.
Denie46 said:
The best thing to do is to flash the original file and start over. I'm almost certain that there is a bug with the way this apk have compiled. Check once again what have you modified and look if there are any messages/errors in cmd window when compiling.
UPDATE:
Just made my notification panel transparent following my tutorial in 4.4.4 and everything worked fine. At first my not and stat bars dissappeared but, then i rebooted and fixed permissions in recovery and everything looks good now.
Click to expand...
Click to collapse
there is no errors on the cmd, but...
i'll try to set permissions on the recovery
perhaps it's that
---------- Post added at 10:04 AM ---------- Previous post was at 09:43 AM ----------
Denie46 said:
The best thing to do is to flash the original file and start over. I'm almost certain that there is a bug with the way this apk have compiled. Check once again what have you modified and look if there are any messages/errors in cmd window when compiling.
UPDATE:
Just made my notification panel transparent following my tutorial in 4.4.4 and everything worked fine. At first my not and stat bars dissappeared but, then i rebooted and fixed permissions in recovery and everything looks good now.
Click to expand...
Click to collapse
look man what i had in the cmd
C:\apkTOOL>apktool b SystemUI
I: Using Apktool 2.0.0-Beta7 on SystemUI
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'compat_mode_help_body' has no default translation in C:\a
pkTOOL\SystemUI\res; found: et hy ms
aapt: warning: string 'compat_mode_help_header' has no default translation in C:
\apkTOOL\SystemUI\res; found: et hy ms
aapt: warning: string 'jelly_bean_dream_name' has no default translation in C:\a
pkTOOL\SystemUI\res; found: et hy ms
aapt: warning: string 'quick_settings_wifi_display_label' has no default transla
tion in C:\apkTOOL\SystemUI\res; found: et hy ms
aapt: warning: string 'quick_settings_wifi_display_no_connection_label' has no d
efault translation in C:\apkTOOL\SystemUI\res; found: et hy ms
aapt: warning: string 'status_bar_help_text' has no default translation in C:\ap
kTOOL\SystemUI\res; found: et hy ms
aapt: warning: string 'status_bar_help_title' has no default translation in C:\a
pkTOOL\SystemUI\res; found: et hy ms
I: Building apk file...
please show me where is the error?
I see no errors, have you flashed the stock systemui.apk and are there any bugs with it?
Decompile it and start again. Another thing that may cause the dissappearing is the way you put the file back to the phone. Do you flash it using recovery or just put it into system>priv-apps?
Denie46 said:
I see no errors, have you flashed the stock systemui.apk and are there any bugs with it?
Decompile it and start again. Another thing that may cause the dissappearing is the way you put the file back to the phone. Do you flash it using recovery or just put it into system>priv-apps?
Click to expand...
Click to collapse
i just put back in priv-app, but my original file is there with other name, every time that i changed back and reboot, works fine with the original
Well then try again, pull out the stock systemui.apk, decompile, edit the value, decompile and flash it via recovery
Denie46 said:
I see no errors, have you flashed the stock systemui.apk and are there any bugs with it?
Decompile it and start again. Another thing that may cause the dissappearing is the way you put the file back to the phone. Do you flash it using recovery or just put it into system>priv-apps?
Click to expand...
Click to collapse
i really don't know what is going wrong, i'll try to create a flashble zip and put over there
darthxa said:
i really don't know what is going wrong, if i send you the apk should you take a look at for me? i can send you the both, the original one and the mod
Click to expand...
Click to collapse
I sent you PM
Great tut, but i think easier way to make transparent panel is to use xposed framework with serajr xperia xposed...
Dadovvv said:
Great tut, but i think easier way to make transparent panel is to use xposed framework with serajr xperia xposed...
Click to expand...
Click to collapse
U R Right But Some One Likes Old School Methods.
Rajeev said:
U R Right But Some One Likes Old School Methods.
Click to expand...
Click to collapse
Nothing like the old school dude
Rajeev said:
U R Right But Some One Likes Old School Methods.
Click to expand...
Click to collapse
Yes, i like old metod to, but some ppl like odex rom to, like me, and this tutorial is only for deodexed rom and there is one step more if u want to decompile systemUI with odex. Using xposed framework u can get transparent on odexed rom.
Sent from my C6903 using XDA Premium 4 mobile app
Dadovvv said:
Yes, i like old metod to, but some ppl like odex rom to, like me, and this tutorial is only for deodexed rom and there is one step more if u want to decompile systemUI with odex. Using xposed framework u can get transparent on odexed rom.
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Agree That :thumbup:
Personally im not into Xposed, it got too easy to just install a module, doesn't seem too interesting for me, that's why i like the good'ol tutorials where you need more knowedge in order to achieve a modification.
Denie46 said:
Personally im not into Xposed, it got too easy to just install a module, doesn't seem too interesting for me, that's why i like the good'ol tutorials where you need more knowedge in order to achieve a modification.
Click to expand...
Click to collapse
Man great job, work like a charm thanks and keep doing your thing
Sent from my C6943 using XDA Premium 4 mobile app
Thanks, i forgot that in this systemui there are another mods added, if you don't like them or want to change them i can help