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
Related
Tools you will need
-the original apk u want to modify +plus backup of it (framework apk & system ui.apk)
-system ui.apk located in system/app folder of any gb rom!!!!
-framework apk located in /system/framework folder any rom including cm7 -froyo miui ics so on lol...
-you will also need this zip which will be attached to the bottem of the post.
-also java sdk- properly setup will not go into this on this thread as it goes over -the scope of what im trying to show this is for people that already know and or -have some understanding of how to thme / modify a rom
-notepad++ for windows users
First off yor going to want to copy the contents of said zip into your framework apk
the location they need to be copied is /res/drawable-hdpi
all 3 files this will give u a transparent glass effect which will be what we are using
second off you will need apktool or equivalent but for this guide ill be going over how to use apktool to decompile and recompile it
copy your system ui to your apktool directory then open a command prompt in windows and navigate to that directory please refer to windows if you do not know how to change directories
apktool d systemui.apk ./systemui
you will see the progress
baslmaking.... copying resources xmls smali etc
you may get some ping 9 errors thats ok as we wont be using the modified apk just some of the files out of it once done
ok now you have your new shinny folder
navigate to res/layout
the file that needs modification is
status_bar.xml---OPEN THIS IN NOTEPAD++ OR YA MANY SPECIAL THINGS WILL HAPPEN
the second line should read or something similar
com.android.systemui.statusbar.StatusBarView androidrientation="vertical" android:background="#F0000000" android:focusable="true" android:descendantFocusability="afterDescendants"
you need to change it to this
com.android.systemui.statusbar.StatusBarView androidrientation="vertical" android:background="#77000000" android:focusable="true" android:descendantFocusability="afterDescendants"
most notably the #77000000
that will make your statusbar transparent
save your work!!!!!
take your systemui.apk and make a copy of it somewhere just in case
actually make 2
then rename the systemui.apk thats in the apkfolder to systemui.bak so it does not get overwritten!!!
then from your command prompt type this:
apktool b ./systemui systemui.apk
hit enter
it should now say smaling... rebuilding resources bla bla bla
and then after you have a shinny new apk
adb push that back to your device or flash via cwm
wala!!! if you loose your status bar after this happens lol it can happen
take the status_bar.xml out of the new systemui.apk and copy it into res/layout on one of the backups (hence why i said make a backup lol and flash that!!!
wala you should now have transparent status bar in your rom once its booted
(also note you may not see it if your launcher does NOT SUPPORT transparent status bars!!!!!) ADW IS NOTORIOUS FOR THIS....
win!!!
screenshots!!!
{
"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"
}
You just can't stop! BTW... nice screenies.
Your the man. Thanks for posting this.
Sent from my SGH-T959V using xda premium
Is this possible on FROYO? Yes, i said Froyo.
TheKucho said:
Is this possible on FROYO? Yes, i said Froyo.
Click to expand...
Click to collapse
you dont need to in froyo as the status bar is controled by status_background.png or status_background9.png in froyo just make that transparent
How would i do that? Thanks for simplifying it for me
Sent from my rockin' Galaxy S 4G using XDA Premium App
TheKucho said:
How would i do that? Thanks for simplifying it for me
Sent from my rockin' Galaxy S 4G using XDA Premium App
Click to expand...
Click to collapse
get photoshop extract the drawable hdmi folder from your froyo rom find those images get photoshop make em transparent move them back
someone likes zeam i see. looks good bro. maybe you can put it in with your updates?
droidmyst said:
someone likes zeam i see. looks good bro. maybe you can put it in with your updates?
Click to expand...
Click to collapse
the nice advange is i have a new method of doing it which will be added to the new update.... so long as yuor launcher supports
let launcher handle background images check box if you un check it the status bar is half transparent..
if you get tired of it check the box that says let the launcher handle it it goes back to being black so now u get the best of both worlds no need to re theme the rom
hey raver is there an easier way to do this or is this the only way i want to do this to my status bar but i dont know how to use apktool tried looking it up on the web still couldnt figure it out.
Just do it on UOT. it workd
Sent from my SGH-T959V using xda premium
Oh snap!!!! ok thank u
Sent from my SGH-T959V using XDA App
Hey airfluip how do i do it on uot
Sent from my SGH-T959V using XDA App
Ok hey raver i finally did it but i still dont see any transparencies what was i supposed to do with the framework after i replaced the status bars
Sent from my SGH-T959V using XDA App
chris31jct said:
You just can't stop! BTW... nice screenies.
Click to expand...
Click to collapse
is there an easier way to do this...i want and need this sooooo bad...id pay someone to do it...is there any other directions that might be easier explained...i dont know ...can anybody please try to help my out ill even paypal some $$...need to...please help this some-what-noob...thanks in advance... ;-}
oh for people that it dont work for if you ever used uot kitcen on ur system ui
You need to decompile your system ui
navigate to
systemui/smali/com/android/systemui/statusbar
ticker smali
status bar smali
Look for const v4 it will have 0x03
those need to be cahanged to -0x3
also uot has a nasty habbit of addng new values in so if you see Const v0 0x03
change those to -0x03
recompile enjoy
hey raver have u done this to the roms u added status bar transparencies too. if so could i just take the ticker smali and statusbar smali out of your systemui and just use it in my systemui. will that work
hey im trying uot but it keeps giving me security error can anyone help..
It has nothing to do with smali. I will send them to you when I have my home computer
I am currently theming the TouchWiz on ICS to look more like ICS. This is what I have so far:
{
"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"
}
The two things I'm currently having is that
1) I'm not sure how to safely theme the button that says "Clear" when you have notifications. The files look a bit weird and have shadows on them.
2) I want to make the status backgrounds black (Info, USB connected for example). I've looked around, but all the images mentioned don't exist in the SystemUI or framework-res apks.
You'll need to edit /system/framework/twframework-res.apk as well.
I'm more curious how you were able to get the framework files to recompile. I wasn't able to without APKTool spitting out tons of of errors. I've even updated to the most recent aapt.bat file and I still get nothing but errors.
wretchedlocket said:
You'll need to edit /system/framework/twframework-res.apk as well.
I'm more curious how you were able to get the framework files to recompile. I wasn't able to without APKTool spitting out tons of of errors. I've even updated to the most recent aapt.bat file and I still get nothing but errors.
Click to expand...
Click to collapse
I am using APK Manager... It's somewhere here on XDA.
I looked in twframework-res.apk but it didn't look like anything that was it was in there.
Jessical said:
I am using APK Manager... It's somewhere here on XDA.
I looked in twframework-res.apk but it didn't look like anything that was it was in there.
Click to expand...
Click to collapse
I've done a lil theming on GB with the skyrocket. twframework.apk has the images for the status bar. Its going to be a .9.png and remake it the way you want. Going to haves to use draw9patch its with sdk. I can help if needed. Pm me of you want.
Sent from my SAMSUNG-SGH-I727 using xda premium
APK Manager was throwing the same errors. All errors with the public.xml and strings.xml files. I just downloaded the deodexed ROM so I'm going to see if that makes a difference.
Sent from my cm_tenderloin using Tapatalk
By the way, I have themed SystemUI, framework-res.apk and twframework-res.apk for GB if you'd like the files. PM me and I can send them or setup a download for you guys.
Sent from my SAMSUNG-SGH-I727 using Tapatalk
Jessical said:
I am currently theming the TouchWiz on ICS to look more like ICS. This is what I have so far:
The two things I'm currently having is that
1) I'm not sure how to safely theme the button that says "Clear" when you have notifications. The files look a bit weird and have shadows on them.
2) I want to make the status backgrounds black (Info, USB connected for example). I've looked around, but all the images mentioned don't exist in the SystemUI or framework-res apks.
Click to expand...
Click to collapse
ICS has changed a lot of the theming layouts and changed the backgrounds from images to color codes. You can change the color codes by editing the XML in the drawable folders or you can redirect them back to using images. Look at the status bar expanded XML in the layout folder of the system UI and that will lead you to where you need to look
zelendel said:
ICS has changed a lot of the theming layouts and changed the backgrounds from images to color codes. You can change the color codes by editing the XML in the drawable folders or you can redirect them back to using images. Look at the status bar expanded XML in the layout folder of the system UI and that will lead you to where you need to look
Click to expand...
Click to collapse
Most of it is jumbled though...
Jessical said:
Most of it is jumbled though...
Click to expand...
Click to collapse
You need to decompile the apk to see the xmls. Just unzipping them will no longer work.
How are you guys getting the TW apks on ICS to decompile correctly? I have tried to decompile the Camera.apk and Contacts.apk from a deodexed rom and both apktools and APK Multi-Tool just throw me the error "Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00". It always works fine with the GB TW apps... Maybe I will give it a try on Ubuntu quick.
But any insight on this would be wonderful.
bigjp64 said:
How are you guys getting the TW apks on ICS to decompile correctly? I have tried to decompile the Camera.apk and Contacts.apk from a deodexed rom and both apktools and APK Multi-Tool just throw me the error "Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00". It always works fine with the GB TW apps... Maybe I will give it a try on Ubuntu quick.
But any insight on this would be wonderful.
Click to expand...
Click to collapse
Have you installed the proper frameworks with apktool? Also at the moment there is a special set up for working with ICS apks. A search for decompiling ICS will get you there
zelendel said:
Have you installed the proper frameworks with apktool? Also at the moment there is a special set up for working with ICS apks. A search for decompiling ICS will get you there
Click to expand...
Click to collapse
I did have the proper framework installed, I guess I was just using a version of apktool.jar that didnt work with ICS apks. Got it to work though. Thanks!
FAQ: I'm not the developer of this app. I am just sharing this to the community
Want to be a developer but don't have a computer to do the job?
Then Apktool which was previously built for computers can now be used on your android phone
Requirements:
- Rooted Android Device
- File Manager with root permissions (e.g Root Browser, ES File Explorer)
- Some Knowledge on modding APK files
(If you don't know how to, just search for guides for your favourite mod)
- A Fully Functional Brain
Downloads
You can find the files here
Setting up
1. Download the latest version of apktool.apk and apktool_armhf.zip
2. When finished, extract apktool4.1_armhf.zip and move the apktool folder the the root of your SD card (sdcard/ place here)
3. Install the apk file
How to use it
1. If you want to mod your Systemui or framework-res just grab those files using a root explorer and place them in a new folder either on your internal or external SD card.
2. Go back to apktool and hold on the apk till a pop up menu appears.
3. Install framework first then you can proceed to decompiling
4. If you have finished doing your business, compile it back, delete the original apk and rename the modded apk to the original one.
Notes
If you don't know anything about codes I suggest you to search for mods with guides around XDA.
Have fun being a developer and hit the thanks button if I've helped you
Credits
- iBotPeaches
- Brut.all
- Connor Tumbleson
- Dong Fang
Haha, that was quick!
Downloading now...
Im curious, when you wrote to download the latest versions there was only 1.4 but the apktool is 1.52 I believe....
Will that version work with this? Or do you have to use this version?
{
"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"
}
check out our rom website, http://updater.team-nocturnal.com/labrats/
Tested, works on GNex with Android 4.3
Decompiled, recompiled SystemUI.apk successfully.
Sent from GNex...
cbucz24 said:
Downloading now...
Im curious, when you wrote to download the latest versions there was only 1.4 but the apktool is 1.52 I believe....
Will that version work with this? Or do you have to use this version?
check out our rom website, http://updater.team-nocturnal.com/labrats/
Click to expand...
Click to collapse
Just download anything latest that is there. I wrote latest version and did not include version name cause I think there might be updates in the future and I might not have time to update this thread in the future
Juhan Jufri said:
Just download anything latest that is there. I wrote latest version and did not include version name cause I think there might be updates in the future and I might not have time to update this thread in the future
Click to expand...
Click to collapse
Ok very cool. Thanks!
This will definitely be put to use by a lot of people.
check out our rom website, http://updater.team-nocturnal.com/labrats/
This is hands down the most useful tool for devs (or occasional dabblers like myself) who have pretty much abandoned their computers in favor of their Android devices...call me lazy, but there have been several times where I've been playing on my phone while watching TV and I come across something I'd like to try - but then completely disregard it simply because I don't want to leave my perch and go into the other room to get on the computer.
This is XDA newsworthy - FANTASTIC work, OP!!
Too good to be true... Gonna try this later on my tablet...:thumbup::thumbup::thumbup:
Sent from my H100 using xda app-developers app
Works as its supposed to,, kudos to this, now if there was just someway to get dsisxda kitchen to work for android we could do away with our pc's
Sent from my H100 using xda app-developers app
http://forum.xda-developers.com/showthread.php?t=2388135
posted/shared weeks ago from evanlocked in above thread.
Wait... what? This really works??
Mind = blown
Sent from my Nexus 7
Been waiting for this for ages. thanks to the developers.
-CALIBAN666- said:
http://forum.xda-developers.com/showthread.php?t=2388135
posted/shared weeks ago from evanlocked in above thread.
Click to expand...
Click to collapse
Seems to me that one thread is not enough to tell xda users about this app. I know its like spamming cause I'm sharing the same apk but majority of apktool users stick to the developers only forums thats why i posted here.
Juhan Jufri said:
Seems to me that one thread is not enough to tell xda users about this app. I know its like spamming cause I'm sharing the same apk but majority of apktool users stick to the developers only forums thats why i posted here.
Click to expand...
Click to collapse
I haven't seen it before and I was really searching for it!
But one question..when I extract classes.dex of framework.jar, how can I get it back in there after editing? :/
Gesendet von meinem HTC One mit Tapatalk 4
KonstiDee said:
I haven't seen it before and I was really searching for it!
But one question..when I extract classes.dex of framework.jar, how can I get it back in there after editing? :/
Gesendet von meinem HTC One mit Tapatalk 4
Click to expand...
Click to collapse
Yeah, I'm also wondering about this...
Decompiled the Framework.jar quite easily, but after editing ang recompiling, it only shows:
Code:
I. Smaling...
Killed
If my memory serves right, here at XDA, There's a file (two files actually) which you'll put at system/bin or system/xbin, run an Terminal Emulator, and you can instantly (well, it always depends on the size) recompile Framework.jar.
But the problem is, I don't have the files anymore (forgot to make a back-up), and I forgot what did I typed , or what I searched to get there...
I decompiled apktool.apk to test (& to change the icon), I changed the icon and now I can't recompile.
This is the message I get:
Code:
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
Sent from my GT-I5500 [CM7.2]
Hi OP, While im Decompiling An Apk It Shows This error: "FATAL: Kernel Too Old!"
How I can Fix It?? please help...
Sent from my E10i using xda app-developers app
Sent from my E10i using xda app-developers app
Can Someone help me on my problem please...
My Works
RePower™ ROM For X10 Mini(Soon)
RePower™ V2(Tweaks) For All Low Ram Android Phones
Link: http://forum.xda-developers.com/showthread.php?p=45163187
All Of My Works Is Here:
http://www.mediafire.com/?oc99l9xsxasor
Renzki™ said:
Hi OP, While im Decompiling An Apk It Shows This error: "FATAL: Kernel Too Old!"
How I can Fix It?? please help...
Sent from my E10i using xda app-developers app
Sent from my E10i using xda app-developers app
Click to expand...
Click to collapse
Maybe the app depends on the version of the kernel, what is your kernel version?
Vagelis1608 said:
I decompiled apktool.apk to test (& to change the icon), I changed the icon and now I can't recompile.
This is the message I get:
Code:
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
Sent from my GT-I5500 [CM7.2]
Click to expand...
Click to collapse
Had you import the apk as framework of the apk first before decompiling it?
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
I've tried posting this in the Q and A section with no luck.. Maybe someone here can help.
I'm trying to make a battery mod for stock lollipop. Of course the ROM is odexed which makes life a lot more difficult when trying to decompile system apps. I'm attempting to deodex my systemUI.odex. However, using the backsmali command "java -jar baksmali.jar -a 21 -x systemUI.odex -d framework -o classout" is giving me an error stating that systemUI.odex is not an apk, jar or odex file
I have everything setup correctly...my whole framework directory is on my :C drive....I was wondering if you could explain why I'm getting this error? It worked for me on KitKat with no issues..
Sent from my Nexus 5 using xda premium
I'm looking to do the same too. but with DeskClockGoogle and WebViewGoogle pulled from the N5 factory image, to finish my Lollipop Gapps pack.
Unfortunately, even with baksmali and smali that I've built from source with the latest changes, I get the same errors. I'm guessing we'll have to wait until they're (hopefully) updated.
I've attached my compiled builds of baksmali and smali with up-to-date changes from source (latest being November 6, 2014) if you or anyone wants to mess with them or whatever.
I made it on my nexus 5 stock rom.
{
"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"
}
youland said:
I made it on my nexus 5 stock rom.
View attachment 3036525
Click to expand...
Click to collapse
how you deodexed stock SystemUI ? please give link on HOWTO
how edit smali (as he reached smali) ?
youland said:
I made it on my nexus 5 stock rom.
View attachment 3036525
Click to expand...
Click to collapse
I want this
youland said:
I made it on my nexus 5 stock rom.
View attachment 3036525
Click to expand...
Click to collapse
Youland, seriously....how'd you go about doing that?
Sent from my Nexus 5 using xda premium
Pain-N-Panic said:
Youland, seriously....how'd you go about doing that?
Sent from my Nexus 5 using xda premium
Click to expand...
Click to collapse
My state:
[email protected]:~/Downloads/smali-oat/baksmali/build/libs$ java -Xmx512m -jar baksmali-2.0.3-dev.jar -a 21 -x SystemUI.odex -d ./framework
Error occurred while loading boot class path files. Aborting.
org.jf.util.ExceptionWithContext: Cannot locate boot class path file /system/framework/conscrypt.jar
at org.jf.dexlib2.analysis.ClassPath.loadClassPathEntry(ClassPath.java:227)
at org.jf.dexlib2.analysis.ClassPath.fromClassPath(ClassPath.java:161)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:68)
at org.jf.baksmali.main.main(main.java:298)
Click to expand...
Click to collapse
Seem it know how to deodex but framework file conscrypt only 372 byte. It isn't contain classes.dex.
Link to file
https://mega.co.nz/#!NUoQxSLa!het4J3GXvtGVmI43m_Gl0jqBZ7X9BhHb7xErseEjnUc
hiepgia said:
...It isn't contain classes.dex...
Click to expand...
Click to collapse
Most files contain only META-INF file and folder and have no odex files..
That's art.
So simply decompile odex files, will no longer work.
We need new baksmali and smali tools or similar.
Your uploaded baksmali file works great with KK odex but not with LP odex.
cargobr151 said:
Most files contain only META-INF file and folder and have no odex files..
That's art.
So simply decompile odex files, will no longer work.
We need new baksmali and smali tools or similar.
Your uploaded baksmali file works great with KK odex but not with LP odex.
Click to expand...
Click to collapse
I solved framework miss classes.odex and deodex successful.
I will upload it when i return home. Now im in a trip
Sent from my iPhone using Tapatalk
hiepgia said:
I solved framework miss classes.odex and deodex successful.
I will upload it when i return home. Now im in a trip
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
It is not a true .odex. It requires the oat2dex script to strip the oat header. Then you have the classes.dex file. The problem is getting the apk and the dex to happily coexist in the same APK. AOSP can deodex but we are still breaking the same apks just decompiled and recompiled (Stock factory or modded). SystemUI is only one I have been able to lock down as an auto break due to time constraint and ability to visualize the break.
.
Well I'm happy to see discussion being stirred up in this thread finally!!!! I gave up on trying to deodex the system apps.....until Jesus freak can update the smali/baksmali tools I'm in no position to get that working.
On the other hand, I've been working on "work around" to get the battery percentage in the status bar. We can all see the battery percentage in the drop down menu and in the lock screen (key guard.) I'm attempting to modify the keygaurd text view for the battery percentage and add it to the status bar in the "system_icons" XML file. Right now I'm able to compile the mod but its not showing up. If someone would like to help with it feel fee to reply here or shoot me a PM. The theory is to get a working battery percentage in the status bar without deodexing.
Sent from my Nexus 5 using xda premium
Pain-N-Panic said:
I've tried posting this in the Q and A section with no luck.. Maybe someone here can help.
I'm trying to make a battery mod for stock lollipop. Of course the ROM is odexed which makes life a lot more difficult when trying to decompile system apps. I'm attempting to deodex my systemUI.odex. However, using the backsmali command "java -jar baksmali.jar -a 21 -x systemUI.odex -d framework -o classout" is giving me an error stating that systemUI.odex is not an apk, jar or odex file
I have everything setup correctly...my whole framework directory is on my :C drive....I was wondering if you could explain why I'm getting this error? It worked for me on KitKat with no issues..
Sent from my Nexus 5 using xda premium
Click to expand...
Click to collapse
You need to have python installed, but if you have it you can run the oat2dex.py script on your odex file and then you'll be able to baksmali/smali it with the latest versions of those. I just don't know how to turn the dex file back into the original format to pop back into the rom.
Me neither, and I've never messed around with python
Sent from my Nexus 5 using xda premium