[Q] to enable lockscreen & toggles - Samsung Galaxy SL i9003

As the title would need to know or any employee who wants to do it for me.
I asked this because I have UBKPD (ARO 2.3.6) and all the themes and lockscreen not work for this version of GB.
I compared the files:
android.policy.jar
framework.jar
with those of the themes / lockscreen to XXKPQ (2.3.6 as well) but differ in the weight / size relative to those of UBKPD.
Errors in flash a lockscreen theme with and without boot loop are, and if I replace the 2 jar files I get errors in the notification bar and others who are in the apk systemui.
Thank you very much.

Related

[Q] changing ics recents background

So I am inside the systemui.apk and I just need to know what file is the background image for stock ics recents. I wanted to change it to complete black and need quick guidance on which XML or png to edit

[Q] framework-res.apk / Swapping statusbar icons between ROMS

What I'm trying to do:
Extract the statusbar icons from the "Fluffy Blue Sensation" rom
http://forum.xda-developers.com/showthread.php?t=1598903
and use those icons to replace my current ones, my phone is running the ViperS 1.0.1 ROM.
I tried extracting the framework-res.apk from the Fluffy_Blue_Sensation ROM, & used that to overwrite the framework-res.apk on my phone. Which left me with a non-bootable phone, thankfully I backup often, & just restored my recent ViperS image.
My question is how can I extract the statusbar icons from Sense4.0 ROMs such as Fluffy_Blue_Sensation or Elegancia, and then import those icons into my phone to replace the ones currently being used?
After a little poking around, I found this tread.
So far, so good. I've replaced the WiFi and signal bar icons from Elegancia Sense 4.0 v2.0 with the stock HTC ones. I'm currently in the middle of doing the battery icons. Talk about tedious.
Since you back up often, you could always try UOT Kitchen. Chances are it'll fail because of how modified the framework is on these Tweaks ROMs, but hey it's worth a try.

[MODS]4.0.4 ICS AT&T 1% Battery & Drop Toggles [PORTING GUIDE INCLUDED]

**SEE POST #2 FOR A HOW-TO ON PORTING TO DIFFERENT SYSTEM VERSIONS**
***UPDATED NOV.7.2012 FOR STOCK ODEXED FINAL AT&T ICS***
{
"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"
}
These will only work on AT&T systems. They have not been themed (pretty much how they were from nitro's Eclipse ROM and cogeary's Lunar Eclipse ROM).
Download & Install:
-For ODEXED systems: DOWNLOAD
-For DEODEXED systems: DOWNLOAD
-Boot into custom recovery
-Wipe dalvik & cache partition
-Install zip & Reboot
Old OP:
***DO NOT INSTALL THESE ZIPS ON ANY VERSION OF ICS EXCEPT THE FIRST AT&T US LEAK!!! --- ICS LEAK#1 ONLY (with a system build date of Fri Jul 6 17:49:44 PDT 2012)***
Here we have the 1% battery increments, and quickpanel toggles for MB865 Moto AT&T 4.0.4 ICS (FOR ODEXED & DEODEXED SYSTEMS).
These were built off of the AT&T ICS leak, so these will probably not work on any other builds. Please use the BootMenu recovery app (found on Play Store), and make a backup first.
NOTE (for odexed only): If you want to remove the AT&T carrier labels from everywhere, install the carrier name removal zip first, then this mod (this mod only removes the carrier name from the status bar & pulldown shade) - if you don't want to remove the carrier name at all, you've got some decompiling to do...
Download & Install:
-Download the appropriate zip below to your sdcard
-Boot into recovery with BootMenu
-Wipe dalvik & cache partition
-Install zip & Reboot
ODEXED SYSTEMS ONLY
Full odexed mod: 1perBatt_DropTogs_ICS_ODEXED(ATT).zip
Full odexed with alternate battery (no numbers):
1perBatt_no_numbers_ODEXED.zip
For odexed 1% Battery (with numbers) mod only: 1perBatt_ICS_ODEXED.zip
To restore from these mods to stock odexed ICS, install this: RESTORE_to_STOCK_SysUI_servjar.zip
DEODEXED SYSTEMS ONLY
Full deodexed mod: 1perBatt_DropTogs_ICS_DEODEXED(ATT).zip
For deodexed 1% Battery mod only: 1perBatt_ICS_DEODEXED.zip
For deodexed Drop Toggles only (no services.jar - but still has batt icons): DropTogs_ICS_DEODEXED.zip
Credits & Thanks:
I ported these both over to ICS from GB for the A2... then moved them over to the RAZR (it involves a lot of edits, additions, deodexing and re-odexing)
-Major credit goes to nitroglycerine33 for the scrollable toggles
-Thanks also to cogeary for bringing nitro's work to the A2
-Thank you to rdavisct for testing the deodexed 1% and drop toggles (which can be found in the excellent SCV7 ROM)!
-Big thank you to Fall of Enosis for testing and helping me get the toggles odexed!! Hey, a few trials & errors.. but we got 'em Thanks a lot, mate!
-Thanks also to fran7382 for testing out the alternate batt icon and for the screenshot for that.
-Thanks to he_stheone64 for the %'ed battery icons (except the unknown (?) batt image, that was me)
-Thanks to jjdoctor for the alternate battery icons with no numbers.
!!NOW ACCEPTING CONTRIBUTIONS FOR DIFFERENT BATTERY ICON STYLES!! - Please apply within this thread.​NO DECOMPILING REQUIRED!
POSTING REQUIREMENTS:
-For AT&T ICS only (SystemUI.apk and/or services.jar are not proven working between international A2 builds)
-Please try to remember where you grabbed the icons and link to the site, and give credit where credit is due.
-Please show a screenshot, or a pic of the battery icons, or a link to a pic.
-Please provide valid links or attach your contribution.
-State clearly if it is for ODEXED or DEODEXED systems (and include that in the zip package name)
-State clearly if it is an recovery install.zip, or the SystemUI.apk only (also acceptable - people can push things around)
-Please do not provide any untested apks or zip packages (we don't want any bootloops here)
-"Long-haired freaky people need not apply" - - just joking - just tuck it up under your hat... <---reference to classic song, originally by Five Man Electrical Band (made a little more vulgar, but popular again 20 years later by Tesla)​
COMMUNITY CONTRIBUTIONS
AT&T ICS (official)
Honeycomb circle style - ODEXED/DEODEXED - ZIP install - #123 posted by PhoenixNghi
Old (for leak#1 only, I think):
Honeycomb circle style - ODEXED - ZIP install - #23 posted by PhoenixNghi
Stock 10% Battery & alternate toggle icons - ODEXED/DEODEXED - ZIP install - #61 posted by fran7382
1% circle battery & alternate toggle icons - DEODEXED - ZIP install - #65 posted by jlvanvleet
.
.
.
Guide to move these mods to your system
PORTING THE 1% BATTERY INCREMENTS & DROPDOWN (QUICK PANEL) TOGGLES TO YOUR SYSTEM VERSION
---ATTACHED BELOW IS A ZIP OF THE STOCK DEODEXED VERSIONS OF THE SystemUI.apk AND services.jar FOR YOU TO DIFF/COMPARE WITH THE MODDED ONES - DO NOT ATTEMPT TO FLASH THE ATTACHED ZIP, IT IS FOR REFERENCE ONLY (the framework-res.apk is included so you may set your framework for apktool)---
This guide is based on moving these mods for ICS to other similar ICS-running devices. The process varies a bit going from GB to ICS. Or ICS to JB..
You will need:
Your deodexed SystemUI.apk
Your deodexed services.jar
Copies of deodexed SystemUI.apk & services.jar with the mods
Apktool /Smali/Baksmali tools
Notepad++ or similar text editor
7-zip or similar archive manager
WinMerge or Meld or similar diff/compare tool (a very useful tool that allows you to compare two folders or files side-by-side, and points out the differences for you)
Click to expand...
Click to collapse
My “get started” thread may hold some tips for accomplishing the tasks below – check it out HERE
IMPORTANT: This guide is to help you get these mods to your system, for your personal use. If you take the toggles from above and decide to use them in a ROM, be certain to credit nitroglycerine33 for his work.
Click to expand...
Click to collapse
Don't forget to install your framework for apktool by putting your framework-res.apk next to apktool, cd to that folder (or hold-shift right-click), and do a:
Code:
apktool if framework-res.apk
SystemUI.apk:
-decompile your deodexed SystemUI.apk
-rename the one with the mods to something else like SystemUI2.apk, and decompile also
For the dropdown toggles:
-add quickpanel smali
Copy the “quickpanel” folder from the modded com\android\systemui\statusbar folder to the same location in your stock
-add quickpanel_quick_settings.xml to layout folder
Open the modded SystemUI.apk\res\layout folder and copy the quickpanel_quick_settings.xml to your stock layout folder
NOTE: Some older toggle mods may not have this xml, all of the code was included in the status_bar_expanded.xml (Big thanks to nitroglycerine33 for the new xml code that is so much easier to work with)
-edit status_bar_expanded.xml or status_bar_tracking.xml for new qp xml (see below for options - some don't have the _tracking.xml - it's all in expanded, I think)
Open the modded SystemUI.apk\res\layout\status_bar_expanded.xml and add this line:
Code:
<include layout="@layout/quickpanel_quick_settings" />
(this will put the toggles between the date and notifications)
OR
(this will put the toggles above the date, directly under the status bar)
OR
delete the "include layout" line entirely from status_bar_expanded and open status_bar_tracking.xml
(this will put the toggles at the very bottom, attached to the close bar)
-add 33 quickpanel images
Add or copy the 33 .png images associated with the quickpanel toggles from the modded SystemUI.apk\res\drawable-hdpi to your stock /drawable-hdpi folder
-add qp lines to ids.xml
Open the modded SystemUI.apk\res\values\ids.xml and copy all of the quickpanel ids to your stock ids.xml (there should be 41 lines at the bottom of the xml – selected in the screenshot below)
-add qp lines to strings.xml
Open the modded SystemUI.apk\res\values\strings.xml and copy all of the quickpanel strings to your stock strings.xml (there should be 15 lines at the bottom of the xml – selected in the screenshot below)
-add qp to public.xml
(NOTE: The resource ID’s in the public.xml need to be unique – meaning that no two alpha-numeric IDs can be the same. If you are lucky, you can just use the trick below and copy the resource IDs entirely from the modded xml. So, before you copy and paste, check a few of the modded resource ID’s against your stock. If you need to assign new ID’s, just stop here, compile your SystemUI.apk, then decompile it again and look for the new IDs created in the public.xml – you will then need to copy those resource IDs over to the quickpanel smali files - with a lot of cross-referenceing.)
Open the modded SystemUI.apk\res\values\public.xml and copy the quickpanel lines from the public type = “drawable” (33 lines), “string” (15 lines), and “id” (41 lines) to your stock public.xml (do not worry about the drawables for the battery images)
For the 1% Battery:
-add stat_sys battery xmls
Open the modded SystemUI.apk\res\drawable folder and copy stat_sys_battery.xml and stat_sys_battery_charge.xml to your stock drawable folder and overwrite the existing
-204 battery images
Add or copy the 204 .png images associated with the 1% battery increments from the modded SystemUI.apk\res\drawable-hdpi to your stock drawable-hdpi folder
-compile the SystemUI.apk (make sure that you saved your original signatures (META-INF folder), and do not compress the resources.arsc - meaning, take it out of the apk and re-add it to the apk in "store" mode with 7-zip)
-it is suggested to decompile the newly modded apk, and check that all of your new edits are still there
Click to expand...
Click to collapse
services.jar
For 1% battery mod only (toggles are done):
-baksmali the classes.dex from your services.jar, and rename the folder to my_classout, or something
-baksmali the classes.dex from the modded services.jar, and rename the folder to mod_classout, or whatever
-edit BatteryService.smali
Open the modded com\android\server\BatteryService.smali and your stock BatteryService.smali with WinMerge or Meld and compare the two files.
(What..? You didn't think I'd do it all for you, did you?)
-reassemble (smali) into a new classes.dex and copy to and overwrite the existing one in services.jar
Click to expand...
Click to collapse
If this is for an ODEXED system, you must then re-odex the SystemUI.apk and services.jar. See HERE for how to do that
These were originally ported using a similar process from GB to ICS for the Atrix 2 (except I ended up re-doing all of the resource ID's in the quickpanel smali). Since then, I have used the above method to move both mods over to the RAZR. --- UPDATE 9/13/12: I also used this method to move the 1% battery increments over to CM10/JB for the A2... watch the v3, v4, etc, notation in the BatteryService.smali... pay attention to detail.
Please post questions or PM with complaints.
Big thanks to nitroglycerine33, cogeary, and whoever else first did the smali/xml coding, and all the devs/modders who came before..
can you make a zip that just has the drop down toggles? or instruct me on how to do it? thanks so much!
fran7382 said:
can you make a zip that just has the drop down toggles? or instruct me on how to do it? thanks so much!
Click to expand...
Click to collapse
Yup. Got 'em separate already.. hold on.. I will update the OP..
The drop toggles zip has both the toggles and the battery mod.
fran7382 said:
The drop toggles zip has both the toggles and the battery mod.
Click to expand...
Click to collapse
Oops... hmmm. Sorry bout that. I will make a zip to get you back to stock, but gotta look at my other files.. check op again in a few...
Did you install the one with both first?
Sent from my phone's mind
No I flashed the one for just the drop down toggles. I almost didn't notice but for some reason the 1% battery mod makes it seem like the battery drains faster lol. I just prefer the stock one.
fran7382 said:
No I flashed the one for just the drop down toggles. I almost didn't notice but for some reason the 1% battery mod makes it seem like the battery drains faster lol. I just prefer the stock one.
Click to expand...
Click to collapse
Ok. Yup, sorry about that. I put the toggles edits on top of the 1% edits, so.. it would take me a little time to separate those. I will probably do that though at some point..
But, in reality, the 1% mod doesn't physically make the batt drain faster.. but, yea, you can watch it go down every 1%, and it feels faster..
Lol I know it just seems that way. But anyways thanks and take your time!
Updated OP with the deodexed versions... which, unless someone is rocking their own custom deodexed ICS, these are only good for those on scv7 (which rdavisct will be updating relatively shortly with this and more..)
fran7382 said:
Lol I know it just seems that way. But anyways thanks and take your time!
Click to expand...
Click to collapse
I got an idea for you.. maybe I'll post something else later today..
alteredlikeness said:
Updated OP with the deodexed versions... which, unless someone is rocking their own custom deodexed ICS, these are only good for those on scv7 (which rdavisct will be updating relatively shortly with this and more..)
I got an idea for you.. maybe I'll post something else later today..
Click to expand...
Click to collapse
The leak is odexed, am I right? That's what I'm on right now. I was on scv7 but restored to a backup I made beforehand.
And aahh now I'm excited!
fran7382 said:
The leak is odexed, am I right? That's what I'm on right now. I was on scv7 but restored to a backup I made beforehand.
And aahh now I'm excited!
Click to expand...
Click to collapse
Yup
Motorola lied and I'm still locked mb865
fran7382 said:
The leak is odexed, am I right? That's what I'm on right now. I was on scv7 but restored to a backup I made beforehand.
And aahh now I'm excited!
Click to expand...
Click to collapse
Yes, stock is odexed. You can always check in your /system/app or /framework folders, and if you see a bunch of .odex files... then your system is odexed.
And, I just PM'd you with something..
And I just noticed, in the zip that supposedly only had the drop down toggles, it had the numbered icons but in 10% increments...
fran7382 said:
And I just noticed, in the zip that supposedly only had the drop down toggles, it had the numbered icons but in 10% increments...
Click to expand...
Click to collapse
Yup. That's because it was only half of the actually battery mod... it didn't have the services.jar with the rest of the 1% increment stuff (the actual meat & bones of it). So, it was stock 10% increments, but showed you the percentage.. and had way more battery icons sitting in the res folder than needed.
worked
Thanks a lot man ..... u saved my notification bar space :highfive:
waiting for more :fingers-crossed:
Question...since this includes a service.jar file, if I flash this over SCv7 will I loose half of the SuperCharger since it is in the service.jar file or is this service.jar file modded for SuperCharger scripts?
lilhaiti said:
Question...since this includes a service.jar file, if I flash this over SCv7 will I loose half of the SuperCharger since it is in the service.jar file or is this service.jar file modded for SuperCharger scripts?
Click to expand...
Click to collapse
Great question! I honestly don't recall if I used rdavisct's services.jar for the deodexed version.. but, one could, in theory, copy the services.jar from scv7 and reinstall it after flashing this mod..
Or, you could just install the Drop Toggles only mod that I just put back up in the OP (it doesn't have the services.jar included)...
Thanks a million!!! I will try the toggles only mod and report back
Works fantastic!!!
Your welcome altered! Always willing to help you out!
Sadly, I don't have the mods anymore, cause I was one of the Guinea pigs for jims script to get back to 2.3.5 from 4.0.4.
So I am rocking bone stock 2.3.6 right now.
Will be doing so until my new phone comes from at&t. Just because I'd like to send it back stock.
Sent from my MB865 using xda premium

[Q] Is it possible to install/port CM10 themes on a Deodexed Pantech Flex Rom?

Hi guys
is it possible to install/port the CM10 themes available here
http://forum.xda-developers.com/showthread.php?t=1801752
to a fully deodexed ICS stock rom for Pantech Flex rom such as this?
IceFlexSandwich
http://forum.xda-developers.com/showthread.php?t=2188436
if yes, what do i need to know so that i can apply the themes?
MechaDroid said:
Hi guys
is it possible to install/port the CM10 themes available here
http://forum.xda-developers.com/showthread.php?t=1801752
to a fully deodexed ICS stock rom for Pantech Flex rom such as this?
IceFlexSandwich
http://forum.xda-developers.com/showthread.php?t=2188436
if yes, what do i need to know so that i can apply the themes?
Click to expand...
Click to collapse
Themes for other Roms will not work for this rom. The apks that the themes replace are different than ours. if you do attempt to flash a theme from another ROM youre phone will probably end up in a boot loop.
To theme
You will need to copy these apps from /system/app folder in phone or from downloaded rom:
Settings.apk
Phone.apk
Contacts.apk
SystemUI.apk
Framework-res.apk from /system/framework
Rename the app youre wanting to theme from .apk to .apk.zip
extract the res folder to a folder anywhere with 7zip(Leave this window open)
change the icons you want in each folder(Usually hdpi and xhdpi folders except for systemui)(make sure to keep same name and size of original icon)
select all icons in the folder you are working in and simply drag and drop icons to same folder in 7zip window replacing old icons
rename .apk.zip back to .apk
push to phone via adb or make update and flash with cwm
if you did the steps correctly you will have themed an app.
Be careful with the .9 images resizing or messing with them can cause them to not display correctly
I use gimp to mod icons.
Im working on a theme myself now. Only thing that gets me is Pantech and AT&T have added alot of icons that are masking the original icons for ICS that are in the apks as well. So there is alot of modding to do to make a full theme for this ROM.
Chadw1985 said:
Themes for other Roms will not work for this rom. The apks that the themes replace are different than ours. if you do attempt to flash a theme from another ROM youre phone will probably end up in a boot loop.
To theme
You will need to copy these apps from /system/app folder in phone or from downloaded rom:
Settings.apk
Phone.apk
Contacts.apk
SystemUI.apk
Framework-res.apk from /system/framework
Rename the app youre wanting to theme from .apk to .apk.zip
extract the res folder to a folder anywhere with 7zip(Leave this window open)
change the icons you want in each folder(Usually hdpi and xhdpi folders except for systemui)(make sure to keep same name and size of original icon)
select all icons in the folder you are working in and simply drag and drop icons to same folder in 7zip window replacing old icons
rename .apk.zip back to .apk
push to phone via adb or make update and flash with cwm
if you did the steps correctly you will have themed an app.
Be careful with the .9 images resizing or messing with them can cause them to not display correctly
I use gimp to mod icons.
Im working on a theme myself now. Only thing that gets me is Pantech and AT&T have added alot of icons that are masking the original icons for ICS that are in the apks as well. So there is alot of modding to do to make a full theme for this ROM.
Click to expand...
Click to collapse
Is it possible to integrate something like the Theme Chooser(available on CM10 and AOKP) on your rom?
so that there is a direct compatibility with other CM10 themes?
MechaDroid said:
Is it possible to integrate something like the Theme Chooser(available on CM10 and AOKP) on your rom?
so that there is a direct compatibility with other CM10 themes?
Click to expand...
Click to collapse
Im sure its possible. and yes it is possible to port the themes to our phone. Atleast some of them. You would have to rewrite some of the smali files in the .apk's and .jar files and make a few other changes that will make the apps run on our phone. Thats what Im trying to do now
Chadw1985 said:
Im sure its possible. and yes it is possible to port the themes to our phone. Atleast some of them. You would have to rewrite some of the smali files in the .apk's and .jar files and make a few other changes that will make the apps run on our phone. Thats what Im trying to do now
Click to expand...
Click to collapse
The only thing i miss about your awesome Ice Flex Rom is the theme-ing capability
theme-ing and customizations are my reasons to choose android over windows Phone
there are just so many awesome flashable Themes available for CM10, its a shame that great phone like Flex can't be themed yet
http://forum.xda-developers.com/showthread.php?t=1801752
i am currently trying to read up on android basics and see what i can do myself to help you :good:

[Q] Help me modding framework-res.apk please...

So, I tried modding the framework-res.apk and systemUI.apk on my ROM (GlassROM Iridiscent), and I used UOT Kitchen. I wanted:
1 - I wanted to get this Battery icon:
http://i.imgur.com/lCjdIJ4.png
This isn't a priority now, since I can easily add this later with UOT. However, I tried decompiling my framework apk, making my changes and recompiling, but then my Galaxy Gio wouldn't boot.
2 - I wanted the easter egg for JB to be green.
Here are the files I recoloured. They were at "framework-res\res\drawable-nodpi"
File: https://www.mediafire.com/?5uasn9slymzi9fa
3 - I wanted to change the USB connected android to the one in the file below.
https://www.mediafire.com/?j6xeqxh5f80wy40
I edited this file, which was under framework-res\res\drawable-mdpi
4 - I wanted to change the default_wallpaper to the one in KitKat:
http://cdn.androidpolice.com/wp-content/uploads/2013/11/nexusae0_default_wallpaper1.jpg
Help me please, and do the 2, 3 and 4, at least...
Here are my files:
- original working framework-res.apk --> https://www.mediafire.com/?k1p5ndgaa94crm7
- original working SystemUI.apk -->https://www.mediafire.com/?221abjo35bbt4ma
- My decompiled and modified framework-res.apk --> https://www.mediafire.com/?dm2ifr6cnreh95c
If you manage to do this, after you've sent me the working files, I can give you up to 1 USD via Paypal.
Thanks in advance!

Categories

Resources