[GUIDE]Slide Show in SystemUI - Android Themes

Nothing's new, i just wanted to share this mod to you guys
This was tested to GB+ devices so better to try this one to yours
Requirements
- Apktool
- Systemui
- your best Text Editor
- SlideShow.zip Attached
- Patience
step 1
- decompile your SystemUI.apk
step 2
- extract and merge SlideShow.zip to your decompiled SystemUI
step 3
- open statusbar_expanded.xml
- then add this lines under xmlns:android="http://schemas.android.com/apk/res/android" or to any place you want to make the Slide Show appears
Code:
[COLOR="Blue"]<include layout="@layout/denden_slideshow" />[/COLOR]
- save
step 4
- recompile your work . . .
- a new apk(SystemUI_src.apk) will appear , decompile it
- you will now have a 2 decompiled folder SystemUI_src and SystemUI_src_src
- open SystemUI_src_src/res/values/public.xml
- then find the id of 'denden_ss'
step 5
- open SystemUI_src/smali/denden/Slide/SlideShow.smali
- find 0x7f09002c replace this with the id of your "denden_ss" you get from public.xml
- save
step 6
- recompile your work
- push it to system/app
- reboot
- done
Note :
You can change the animation of the Slide Show by replacing the dxd_fade_in.xml and dxd_fade_out.xml found at /res/anim folder with another animation.
I only put 6 images in this guide but you can also add more Images for your Slides.
Credits
- to the owner of the photos i used ^_^
- dendenXD

Invalid Attachment specified

cherlis said:
Invalid Attachment specified
Click to expand...
Click to collapse
i already fixed it . Thanks Buddy

dendenXD said:
i already fixed it . Thanks Buddy
Click to expand...
Click to collapse
How does it look? Screenshots or video?
(Sorry for my bad English)
Thanks,

cherlis said:
How does it look? Screenshots or video?
(Sorry for my bad English)
Thanks,
Click to expand...
Click to collapse
video Attached !

dendenXD said:
video Attached !
Click to expand...
Click to collapse
Thank you very much! How to make a blur in the notification?

2014-11-29 10:17:20
PD1402L_A_1.15.1
versionName = 4.3-eng.compiler.20140731.204737 versionCode = 18
java.lang.NullPointerExceptionError receiving broadcast Intent { act=view1 flg=0x10 } in [email protected]
SlideShow.java20
java.lang.RuntimeException: Error receiving broadcast Intent { act=view1 flg=0x10 } in [email protected]
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:773)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5162)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at denden.Slide.SlideShow$1.onReceive(SlideShow.java:20)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:763)
... 9 more

Myth2014 said:
2014-11-29 10:17:20
PD1402L_A_1.15.1
versionName = 4.3-eng.compiler.20140731.204737 versionCode = 18
java.lang.NullPointerExceptionError receiving broadcast Intent { act=view1 flg=0x10 } in [email protected]
SlideShow.java20
java.lang.RuntimeException: Error receiving broadcast Intent { act=view1 flg=0x10 } in [email protected]
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:773)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5162)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at denden.Slide.SlideShow$1.onReceive(SlideShow.java:20)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:763)
... 9 more
Click to expand...
Click to collapse
step 4
- recompile your work . . .
- a new apk(SystemUI_src.apk) will appear , decompile it
- you will now have a 2 decompiled folder SystemUI_src and SystemUI_src_src
- open SystemUI_src_src/res/values/public.xml
- then find the id of 'denden_ss'
step 5
- open SystemUI_src/smali/denden/Slide/SlideShow.smali
- find 0x7f09002c replace this with the id of your "denden_ss" you get from public.xml
- save
hey buddy , did you skip this part ?

cherlis said:
Thank you very much! How to make a blur in the notification?
Click to expand...
Click to collapse
i used this guide from sir AuliaYF
http://forum.xda-developers.com/galaxy-y/general/mod-blurred-statusbarexpanded-t2836823

dendenXD said:
step 4
- recompile your work . . .
- a new apk(SystemUI_src.apk) will appear , decompile it
- you will now have a 2 decompiled folder SystemUI_src and SystemUI_src_src
- open SystemUI_src_src/res/values/public.xml
- then find the id of 'denden_ss'
step 5
- open SystemUI_src/smali/denden/Slide/SlideShow.smali
- find 0x7f09002c replace this with the id of your "denden_ss" you get from public.xml
- save
hey buddy , did you skip this part ?
Click to expand...
Click to collapse
yeah....it's ok ...thanks sir

Thank sir...I will try

dendenXD said:
i already fixed it . Thanks Buddy
Click to expand...
Click to collapse
Everytime we want to change the images, we have to modify systemui, could u make plugin,apk or somethings like that to do this on the fly?

Related

[HOWTO] Integrating/Adding applications to the settings menu

In this tutorial we will cover how to add an item in the settings menu for integration when cooking your own rom, or for personal use. Using windows XP, but should apply to any windows version, Linux users: you most likely are smart enough to use this guide with whatever flavor of linux you're using, so i wont cover linux specific guidelines.
The original reason i began doing this was because i hate clutter in my app drawer, and i like accessing settings for things from the.... you guessed it: Settings menu.
For this tutorial we will use the Spare Parts app, but this applies to almost all applications that you would desire adding.
Materials :
PSPad or Notepad++ (i'll use PSPad in this tutorial, it's just my preference)
APKMultiTool (or any other, like elesbb's GUI APK Tool v1.2.4.5, etc...)
SpareParts APK (or what you want !)
Settings APK from the rom you wish to modify
Archive manager (7z or Winrar, i use Winrar)
A general understanding of using APKMultiTool or APKManager is a great start, i'll try to make this guide friendly to those who arent familiar.
Process :
01) Install APKMultiTool
02) Place both APK files in APKMultiTool's place-apk-here-for-modding folder
{
"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"
}
03) Start APKMultiTool by double clicking script.bat in the main APKMultiTool folder
04) Select the settings app by typing 25 then enter, then the number next to the settings app then enter
05) Decompile both APKS by selecting option number 9 after selecting the APK from the menu from before
06) Get Back to the APKMultiTool main folder, then enter projects folder, then Settings.apk folder
07) Navigate to res/xml from this folder and open the settings.xml file with pspad (right click and select PSPad or open from pspad directly) to add a new action and icon
08) We'll add it right after the display settings entry, find it and copy the entire selection, then after IconPreferenceScreen> hit enter to make a new line.
09) Paste the entire action, this is what we will edit, you can type it all out word for word, but this is easier, and there is less room for a mistake
10) after pasting, we'll change the values for the new settings action, string name (title), and drawable name (icon) see below pictures
11) change all the references from display to sp or spareparts, or anything you want to call it, just make sure it's consistent as in the next steps we will use the titles and strings you created. the @drawable will be the name of the icon you create, the @string will be the title used to display the menu item. you will need to change the target package to spare part's internal app name (this can be found in the SpareParts project folder inside AndroidManifest.xml)
and the target class (the action within the target package to open or perform). to obtain the target class, the easiest way i've found is installing the app you want to add and using adw and finding a blank area on your homescreen(s), long press, then select custom shortcut>pick your activity>activities>browse down until you find the SpareParts app, and expand with the arrow on the left SpareParts only has one action, but other apps will have several. the first on the list is usually it's opening class it's in the ( )'s in this example it's .SpareParts. the target class is the internal app name.class so here we will add com.android.spare_parts.SpareParts
14) open strings.xml
15) navigate to the bottom of the strings xml and copy the final string and as before at the end press enter and paste to modify a new string. the first part is the string name that you made above, the second is the actually title that will appear in the settings menu (Spare Parts in ths example)
16) save the file and close
17) create a graphic icon (32 pixels by 32 pixels or 32x32) for the selection from the settings menu, we will call it ic_settings_sp.png
18) place this icon in the res/drawable-mdpi folder
19) open the public.xml in the res/values folder where you found the strings.xml file
EDIT : Seems that you don't need to do this, it may cause some troubles when recompiling. So, just jump from step 18 to 24 Thanks RomWiz
20) this takes a little work and a little understanding of how hex numbers work. hex numbers go from 0 to 9 then a-f, this gives sixteen values, so hex numbers conform to this order - 0123456789abcdef the reason this is important is that you need to find the last hex number in the drawable range. the public.xml file is usually not in order so it takes some work and some time to find the number you need to assign a new "id" to the icon, and string we are adding. if you are using a fresh Settings.apk basically you'll take the highest number you've found and add 1 to it using the above hex order until you find a number that doesnt exist. in this example the we find it here:
so copy that line, create a new line under it and add the name of the icon you created and add 1 to the number at the end
21) repeat the above process to add the string we created earlier in the strings section of public.xml
22) save the file and close
24) you are now ready to compile the APK, in the APKMultiTool screen select teh settings.apk using option 25 again and then use option 11 to compile the APK
25) if you get errors, run the log, at the end of the log it will usually list the problem you encountered if you did. if it mentions something being out of range you need to chek to make sure your numbers are correct, if it mentions missing resources you havent properly added the strings or icons
26) if all goes well you will be asked if this is a system apk, either option is fine, the second option is if you want to keep old files to avoid errors. answering no is the easiest way. just answering no to both works fine
27) you should now have a newly compiled APK, in the place-apk-here-for-modding folder with the prefix "unsigned"
28) open both the Settings.apk and unsignedSettings.apk file with winrar or winzip
29) transfer find the icon in the unsignedSettings.apk /res/drawable-mdpi folder and transfer it accordingly to the Settings.apk /res/drawable folder, do the same with the /res/xml/settings.xml and the /resources.arsc file.
30) your new settings apk is now ready to be pushed to /system/app on your device.
31) Optional - if not already installed, place SpareParts.apk into the /system/app folder to make it a system app
32) Optional - if you want to remove SpareParts from the app drawer you'll need to decompile the spare parts apk using the steps above and edit one line from the AndroidManifest.xml file, just delete the entire launcher line it looks like this:
33) Optional - Recompile the SpareParts.xml file and sign it if you wish (SpareParts can be signed, DO NOT perform this step on the Settings.apk file, it will not work due to mismatched signatures in the uid)
Don't forget permissions...
That should be it.
Nice.
repulse said:
33) Optional - Recompile the SpareParts.xml file and sign it if you wish (SpareParts can be signed, DO NOT perform this step on the Settings.apk file, it will not work due to mismatched signatures in the uid)
Click to expand...
Click to collapse
If you have access to the key that was used originally then you can resign Settings.apk with that key.
good guide we need more than like this guides thanks you.
I'm using your guide trying to add holo launcher settings into the android setting menu. I have sucessfully added it to the menu, but it crashes when selected. logcat gives the following error
Code:
I/ActivityManager( 640): START u0 {act=android.intent.action.MAIN cmp=com.mobint.hololauncher/.SettingsActivity} from pid 3312
E/AndroidRuntime( 3312): FATAL EXCEPTION: main
E/AndroidRuntime( 3312): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.mobint.hololauncher/com.mobint.hololauncher.SettingsActivity}; have you declared this activity in your AndroidManifest.xml?
As per your guide i have the following in my settingsheader.xml file (don't have a settings.xml)
Code:
<header android:id="@+id/launcher_settings"
android:title="@string/launcher_settings_title"
android:icon="@drawable/ic_settings_launcher" >
<intent
android:action="android.intent.action.MAIN"
android:targetPackage="com.mobint.hololauncher"
android:targetClass="com.mobint.hololauncher.SettingsActivity" />
</header>
and this added to the end of my strings.xml
Code:
<string name="launcher_settings_title">Launcher Settings</string>
Any help would be great.
Haze028 said:
I'm using your guide trying to add holo launcher settings into the android setting menu. I have sucessfully added it to the menu, but it crashes when selected. logcat gives the following error
Code:
I/ActivityManager( 640): START u0 {act=android.intent.action.MAIN cmp=com.mobint.hololauncher/.SettingsActivity} from pid 3312
E/AndroidRuntime( 3312): FATAL EXCEPTION: main
E/AndroidRuntime( 3312): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.mobint.hololauncher/com.mobint.hololauncher.SettingsActivity}; have you declared this activity in your AndroidManifest.xml?
As per your guide i have the following in my settingsheader.xml file (don't have a settings.xml)
Code:
<header android:id="@+id/launcher_settings"
android:title="@string/launcher_settings_title"
android:icon="@drawable/ic_settings_launcher" >
<intent
android:action="android.intent.action.MAIN"
android:targetPackage="com.mobint.hololauncher"
android:targetClass="com.mobint.hololauncher.SettingsActivity" />
</header>
and this added to the end of my strings.xml
Code:
<string name="launcher_settings_title">Launcher Settings</string>
Any help would be great.
Click to expand...
Click to collapse
What rom ?
repulse said:
What rom ?
Click to expand...
Click to collapse
Aokp 4.2.1
I have the optimus g, just hoping you might be able to point me in the right direction
Haze028 said:
Aokp 4.2.1
I have the optimus g, just hoping you might be able to point me in the right direction
Click to expand...
Click to collapse
Will try it ASAP and tell you :thumbup:
EDIT: can you please send me your settings.apk ?
Sent from my LG-P970 using xda premium
repulse said:
Will try it ASAP and tell you :thumbup:
EDIT: can you please send me your settings.apk ?
Sent from my LG-P970 using xda premium
Click to expand...
Click to collapse
Thanks in andvance for taking a look, sorry for delayed reply. Here is my settings apk,.
I'm a noob here, just learning as I go. As it does display in the setting list properly I'm wondering if it has to do with the action.MAIN as the settings is not the main action for holo launcher.... or am i not understanding the action.MAIN properly...
either way, if you are able to help me get this going That would be great!
I will take a look at this tomorrow 'cause i'm not at home now
Sent from my LG-P970 using xda premium
@Haze028 can you also provide me your original settings.apk please ?
repulse said:
@Haze028 can you also provide me your original settings.apk please ?
Click to expand...
Click to collapse
As requested Thanks again.
What about the same tutorial but for ICS? I tried it yesterday with ICS, but things are different, and I don't know how to keep going... :silly:
I was trying to add it's task manager's to it, just before power saver option (LGSettings3.apk), and I did it but it gave me FC trying to launch
Well I figured out my issue. Your guide is great and worked fine. My problem was
android:targetPackage="com.mobint.hololauncher" needed to be com.mobint.hololauncher.hd
Everything works great now. Thanks for your quick reply and egarness to help. And for your excellent guide.
Haze028 said:
Well I figured out my issue. Your guide is great and worked fine. My problem was
android:targetPackage="com.mobint.hololauncher" needed to be com.mobint.hololauncher.hd
Everything works great now. Thanks for your quick reply and egarness to help. And for your excellent guide.
Click to expand...
Click to collapse
Sorry for the delay to reply
Was busy with IRL stuff
repulse said:
Sorry for the delay to reply
Was busy with IRL stuff
Click to expand...
Click to collapse
All good sir. Appreciate the effort you put forth trying to help me out.
I don't have settings.xml
settings_header.xml it is
RomWiz said:
I don't have settings.xml
settings_header.xml it is
Click to expand...
Click to collapse
Yep, settings_header.xml do the job too
Sent from my LG-P970 using xda premium
repulse said:
Yep, settings_header.xml do the job too
Sent from my LG-P970 using xda premium
Click to expand...
Click to collapse
Problem when compiling
Code:
C:\Users\Daniel\apktool\WizardRom>apktool b settings c:/users/daniel/desktop/set
tings.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Daniel\apktool\WizardRom\settings\res\values\public.xml:3080: error: Pu
blic entry identifier 0x7f0b0964 entry index is larger than available symbols (i
ndex 2404, total symbols 1931).
C:\Users\Daniel\apktool\WizardRom\settings\res\values\public.xml:3080: error: Pu
blic symbol string/xposed_dpi_settings declared here is not defined.
C:\Users\Daniel\apktool\WizardRom\settings\res\values\public.xml:3079: error: Pu
blic entry identifier 0x7f0b0963 entry index is larger than available symbols (i
ndex 2403, total symbols 1931).
C:\Users\Daniel\apktool\WizardRom\settings\res\values\public.xml:3079: error: Pu
blic symbol string/xposed_frameworks_settings declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\Daniel\AppData\Local\Tem
p\APKTOOL5268858854168196489.tmp, -I, C:\Users\Daniel\apktool\framework\1.apk, -
S, C:\Users\Daniel\apktool\WizardRom\settings\res, -M, C:\Users\Daniel\apktool\W
izardRom\settings\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
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.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\Users\Daniel\AppData\Local\Temp\APKTOOL5268858854168196489.tmp, -I, C:\Users\Da
niel\apktool\framework\1.apk, -S, C:\Users\Daniel\apktool\WizardRom\settings\res
, -M, C:\Users\Daniel\apktool\WizardRom\settings\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\Users\Daniel\AppData\Local\Temp\
APKTOOL5268858854168196489.tmp, -I, C:\Users\Daniel\apktool\framework\1.apk, -S,
C:\Users\Daniel\apktool\WizardRom\settings\res, -M, C:\Users\Daniel\apktool\Wiz
ardRom\settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
RomWiz said:
C:\Users\Daniel\apktool\WizardRom\settings\res\values\public.xml:3080: error: Pu
blic entry identifier 0x7f0b0964 entry index is larger than available symbols (i
ndex 2404, total symbols 1931).
C:\Users\Daniel\apktool\WizardRom\settings\res\values\public.xml:3080: error: Pu
blic symbol string/xposed_dpi_settings declared here is not defined.
C:\Users\Daniel\apktool\WizardRom\settings\res\values\public.xml:3079: error: Pu
blic entry identifier 0x7f0b0963 entry index is larger than available symbols (i
ndex 2403, total symbols 1931).
C:\Users\Daniel\apktool\WizardRom\settings\res\values\public.xml:3079: error: Pu
blic symbol string/xposed_frameworks_settings declared here is not defined.
Click to expand...
Click to collapse
Wrong identifier entries (0x7f______)
diazao said:
Wrong identifier entries (0x7f______)
Click to expand...
Click to collapse
I changed it to match the above one but now there is another error
Code:
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Daniel\apktool\WizardRom\settings\res\values\public.xml:3079: error: Pu
blic resource string/xposed_frameworks_settings has conflicting type codes for i
ts public identifiers (0xb vs 0x10).
C:\Users\Daniel\apktool\WizardRom\settings\res\values\public.xml:3080: error: Pu
blic resource string/xposed_dpi_settings has conflicting type codes for its publ
ic identifiers (0xb vs 0x10).
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\Daniel\AppData\Local\Tem
p\APKTOOL3325692844454988854.tmp, -I, C:\Users\Daniel\apktool\framework\1.apk, -
S, C:\Users\Daniel\apktool\WizardRom\settings\res, -M, C:\Users\Daniel\apktool\W
izardRom\settings\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
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.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\Users\Daniel\AppData\Local\Temp\APKTOOL3325692844454988854.tmp, -I, C:\Users\Da
niel\apktool\framework\1.apk, -S, C:\Users\Daniel\apktool\WizardRom\settings\res
, -M, C:\Users\Daniel\apktool\WizardRom\settings\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\Users\Daniel\AppData\Local\Temp\
APKTOOL3325692844454988854.tmp, -I, C:\Users\Daniel\apktool\framework\1.apk, -S,
C:\Users\Daniel\apktool\WizardRom\settings\res, -M, C:\Users\Daniel\apktool\Wiz
ardRom\settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more

apktool

Code:
D:\My Documents\Downloads\apktool\apktool\apktool>apktool if framework-res.apk
Exception in thread "main" java.lang.UnsupportedClassVersionError: brut/apktool/
Main : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
1)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: brut.apktool.Main. Program will exit.
it works on JB4.1 all right...but when I compiled JB4.2 apps and enter "apktool if framework-res.apk",it error...
Im used apktool last Version...
I didn't had any problem in installing it!
Try using the previous version
a546109781 said:
Code:
D:\My Documents\Downloads\apktool\apktool\apktool>apktool if framework-res.apk
Exception in thread "main" java.lang.UnsupportedClassVersionError: brut/apktool/
Main : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
1)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: brut.apktool.Main. Program will exit.
it works on JB4.1 all right...but when I compiled JB4.2 apps and enter "apktool if framework-res.apk",it error...
Im used apktool last Version...
Click to expand...
Click to collapse
A problem with your java, have the latest one

[ROM][PORT][CM7] imini v.1

Hi XDA, This is my first port, and I hope you like it.
Welcome to imini ROM​
Features:
Based on the latest cm7.2
Modded systemUI and framework-res
Modded settings
iOS type weather app
iOS type calculator
iOS type compass
iOS type memo app
iOS music player
iOS contacts and dialer
iOS icons
iOS type launcher
iOS bootanimation
iOS alarms, notification, rigntones sounds!
iOS lockscreen
iOS keyboard
iOS gallery
iOS messages
iOS camera
iOS FM and clock
iOS Email and etc.
MyriadPro fonts
Very stable and fast
What's not working:
You tell me
Downloads:
imini by biso46
bieltv.3 specific Basic Kernel
Original Thread
Flash instructions:
1- (RECOMMENDED) Be on a stock ROM, installation will be cleaner
2- Download THIS EXT4 tool, the Kernel and the Rom on your device.
3- Flash on Samsung recovery (or your recovery if you are not on stock), my temp. CWM.
4- When you are on the Temp. CWM, flash the EXT4 Formatter tool, so whole system will be converted to EXT4. (Stock filesystem is RFS)
5- After the installation, flash bieltv3's kernel you have downloaded before.
6- When the Kernel is installed, go, on the CWM, to advanced --> reboot recovery (this will reboot the device, and turn it on on the new CWM of kernel)
7- Wipe data, cache and dalvik
8- (IMPORTANT) Go to mounts and storage, and make sure system is mounted (will show unmounted) mount it 2 times!
9- Go to install zip from SD Card, choose zip from SD card and install imini_tassve_biso46. (MAKE SURE installation last more than 5 seconds, if is less than 5 secodns, your system is unmounted! repeate step 8).
10- After installation, go back and reboot system, if you made it good, ROM boots, so no problem on it.
Change Log:
v.1:Changed status bar that always crash from JoyOS but isn't tested yet.
Credits:
@BohdozCZ for the ROM
@bieltv.3 for the base
@biso46 for the port
@myaservip for testing and reporting
Screen Shots:
That rom is buggy and has lots of fcs
Ok boots= ported but itsn't good
myaservip said:
That rom is buggy and has lots of fcs
Ok boots= ported but itsn't good
Click to expand...
Click to collapse
did you try it? you've just saw my log and I had a problem while flashing, but I works, and the original poster stopped developing on it so we are waiting for his develop
I can solve all force closes if you want
Inviato dal mio GT-S5570i con Tapatalk 2
Logicat is full off spam
Some errors in framework.jar
Others in contacts - contacts provider
Do You mean android.process.acore?
Inviato dal mio GT-S5570i con Tapatalk 2
No proces .provider contacts/contacts stotage
Also some jar errors
But really full of spam
Code:
E/AndroidRuntime(6645): FATAL EXCEPTION: main
05-06 08:29:01.015 E/AndroidRuntime(6645): java.lang.RuntimeException: Unable to get provider com.android.providers.contacts.CallLogProvider: android.database.sqlite.SQLiteException: no such collation sequence: LOCALIZED_2: CREATE TABLE 'dialer_query' ( _id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT COLLATE LOCALIZED_2, pinyin TEXT, highlight_token TEXT, number TEXT, phone_type INTEGER, label TEXT, raw_contact_id INTEGER, contact_id INTEGER, data_id INTEGER)
05-06 08:29:01.015 E/AndroidRuntime(6645): at android.app.ActivityThread.installProvider(ActivityThread.java:3709)
05-06 08:29:01.015 E/AndroidRuntime(6645): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3461)
05-06 08:29:01.015 E/AndroidRuntime(6645): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3417)
05-06 08:29:01.015 E/AndroidRuntime(6645): at android.app.ActivityThread.access$2200(ActivityThread.java:123)
05-06 08:29:01.015 E/AndroidRuntime(6645): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:977)
05-06 08:29:01.015 E/AndroidRuntime(6645): at android.os.Handler.dispatchMessage(Handler.java:99)
05-06 08:29:01.015 E/AndroidRuntime(6645): at android.os.Looper.loop(Looper.java:130)
05-06 08:29:01.015 E/AndroidRuntime(6645): at android.app.ActivityThread.main(ActivityThread.java:3835)
05-06 08:29:01.015 E/AndroidRuntime(6645): at java.lang.reflect.Method.invokeNative(Native Method)
05-06 08:29:01.015 E/AndroidRuntime(6645): at java.lang.reflect.Method.invoke(Method.java:507)
05-06 08:29:01.015 E/AndroidRuntime(6645): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
05-06 08:29:01.015 E/AndroidRuntime(6645): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
05-06 08:29:01.015 E/AndroidRuntime(6645): at dalvik.system.NativeStart.main(Native Method)
05-06 08:29:01.015 E/AndroidRuntime(6645): Caused by: android.database.sqlite.SQLiteException: no such collation sequence: LOCALIZED_2: CREATE TABLE 'dialer_query' ( _id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT COLLATE LOCALIZED_2, pinyin TEXT, highlight_token TEXT, number TEXT, phone_type INTEGER, label TEXT, raw_contact_id INTEGER, contact_id INTEGER, data_id INTEGER)
According to that also some tweeks not compatible
---------- Post added at 11:11 AM ---------- Previous post was at 11:09 AM ----------
And remember whole log is full of E/(spam) so not recomended rom :sly:
But u done good in porting:thumbup:
---------- Post added at 11:14 AM ---------- Previous post was at 11:11 AM ----------
Try changing contacts + con providr
Ok you 2 go ahead and credits are available
And i saw E/ errors in recovery when I went to change the ROM
Cant open revovery log
And its ok
myaservip said:
Cant open revovery log
And its ok
Click to expand...
Click to collapse
Yes
I've changed SystemUI.apk with JoyOS SystemUI.apk of devilyuri and upload is in process but I didn't test it yet, so I need a tester because I have exams
If you have problem with force closes i can help you
Inviato dal mio GT-S5570i con Tapatalk 2
Link updated but not tested yet , please anyone test it and report how is status bar works.
how to fix status bar and android.process.acore always fc

[SOLUTION] Error decompile/recompile framework-res.apk and SystemUI.apk Android 5.1

Many guys getting error while trying to decompile/recompile apks( e.g framework-res.apk and SystemUI.apk)
So here is the solution download the apktool.jar( its a Snapshot build provided by iBotPeaches) from
here
Download apktool app but how to load it in Windows java is installed but apktool is not opening there
Again I have used all methods to decompile and recompile lollipop apks like advanced apktool
Apktool cmd version's
Android maltitool
All are working fine decompiled apk easily but no one able to recompile any apks showings errors in log
Even I have tried to recompile non modified apks but that again got failed
Plz help me if it got possible I will able to theme our lollipop ROM as we want 50% work is done just recompilation is pending
walpanmad said:
Download apktool app but how to load it in Windows java is installed but apktool is not opening there
Again I have used all methods to decompile and recompile lollipop apks like advanced apktool
Apktool cmd version's
Android maltitool
All are working fine decompiled apk easily but no one able to recompile any apks showings errors in log
Even I have tried to recompile non modified apks but that again got failed
Plz help me if it got possible I will able to theme our lollipop ROM as we want 50% work is done just recompilation is pending
Click to expand...
Click to collapse
Can you please provide me what error log you are getting?
I have this problem
********************************************************************************
*
*
*
* framework-res.apk Found Installing
*
*
*
********************************************************************************
*
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:562)
at brut.androlib.Androlib.installFramework(Androlib.java:473)
at brut.apktool.Main.cmdInstallFramework(Main.java:250)
at brut.apktool.Main.main(Main.java:81)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
2)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 5 more
press any key to continue....
help please
yes work for me ... thanks :good:
antonino530 said:
I have this problem
********************************************************************************
*
*
*
* framework-res.apk Found Installing
*
*
*
********************************************************************************
*
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:562)
at brut.androlib.Androlib.installFramework(Androlib.java:473)
at brut.apktool.Main.cmdInstallFramework(Main.java:250)
at brut.apktool.Main.main(Main.java:81)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
2)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 5 more
press any key to continue....
help please
Click to expand...
Click to collapse
not getting it
better you run apktool on cmd directly rather then using batch applications
antonino530 said:
I have this problem
********************************************************************************
*
*
*
* framework-res.apk Found Installing
*
*
*
********************************************************************************
*
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:562)
at brut.androlib.Androlib.installFramework(Androlib.java:473)
at brut.apktool.Main.cmdInstallFramework(Main.java:250)
at brut.apktool.Main.main(Main.java:81)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
2)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 5 more
press any key to continue....
help please
Click to expand...
Click to collapse
Did you ever get this solved? I am having the same issue
It had solved bro
Just use latest release of apktool and
Follow correct instruction for decompiling system apks
Sent from my Spice Mi-498 using XDA Free mobile app
decompile errors
I am getting these errors in attached screenshot, any help please?
SLCMotor said:
I am getting these errors in attached screenshot, any help please?
Click to expand...
Click to collapse
maybe it will be hort but if you copy resorces.arsc from to framwork-res.apk to out folder before build you can solve problem

[GUIDE][THEMING]How to theme any Android App

I make (another) guide on how to theme, but it’s based on my experience. If moderators think this thread redundant , they are free to delete or close it.
This tutorial is for « every » operating system. In this tutorial I will change the color of some object of the XDA Labs app . There will be 2 part for this guide, the first is the general method and the second one is the description of what I’ve done on the XDA Labs app to theme it. Please , before asking , read the entire OP , maybe your answer is into it.
I’m running Ubuntu 16.04 LTS but the softwares are also compatible with windows and mac.
Which software I use :
• Inkscape (to make icons)
• Alpha Colour for Android (to see which aplha code correspond to which level of opacity)
• Pipette for Android (to identify colors on the app’s screenshot) No longer available , use this app, it's even more accurate
• ZipSigner for Android(to sign apk)
No longer available, for signing please refer to this tool
I-General Method :
1-First you need to set-up your PC’s environment:
• A 64-bit PC Processor ( 32-bit has too many bugs linked to aapt compatibility)
• Apktool or other reverse engineering tools properly installed
• Java 7 or above
• Notepad++ or any text editor
2-What you should know before theming:
A)Colors:
Modifying colors is quite simple a process, but you should first understand it.Then you can change the app as your mind tells you to.
1-A regular line in this file is built like this :
-<color name="[object’s id]">#[alpha channel][hex code]</color>
2-Meaning :
- Alpha channel : This is the 2 characters that change the opacity of the color
- Hex Code : This is the 6 characters that define the color itself
3-For example :
<color name="design_fab_stroke_end_outer_color">#0f000000</color>
- «design_fab_stroke_end_outer_color» is the id of the object I want to change the color from
- «0f» is the alpha channel of the initial color
- «000000» is the hex code of the initial color
4-To modify them :
Replace the hex code of the initial colors by the hex code of the color you want to add , be careful not to delete a piece of the line with the old hex code because it will cause errors on apktool. I use alpha colour app for Android to see levels of opacity and to find color’s hex code.
B)Pictures :
You want to change pictures inside the app , that’s simple :
• Search for the picture you want to change in the drawable folder or mipmap folder
• Folders you want to browse to find the pictures :drawable-xhdpi-v4 / xxhdpi-v4 / xxxhdpi-v4 for the « in-app » pictures , every mipmap folders for icons (sometimes icons are in drawable folders and there aren’t any mipmap folders).
• When you prepare the pictures , make sure they have the SAME SIZE as the original pictures.
• Rename the picture you have prepared to replace old ones with the SAME NAME AS THE OLDER PICTURES.
• Once you have renamed those pictures, put them into the folder where you found them.
C) App name :
• go to /res/values and open string.xml
• Modify this string : <string name="app_name">[The name you want]</string>
Example :<string name="app_name">XDA Evolved</string>
3-Now , we can start theming :
• Go to the apktool’s directory , and open a command prompt there (keep it open till the end)
• Enter this command :
Code:
java -jar apktool.jar d [the apk name.apk]
• There should be a new folder which has the name of your apk file. Open this folder.
• Then go to /res/values and open the colors.xml file
• Modify the colors
• Search for the pictures you want to change and change them as I have written above
• Open the terminal you kept open
• Enter this command :
Code:
java -jar apktool.jar b [the apk name.apk]
4-Before installing , signing :
I use an Android app called zip signer , with which I can sign apks from my phone.
• Open the app , click on input and browse for the apk you’ve put on your phone
• Click on the file when you’ve found it
• Click on Output and select the same apk file as in the first step
• Rename the path adding a « -signed » just before « .apk » at the end of the path.
• Select on the « key/mode » menu « platform »
• Finally , click on « sign the file » and wait till the end of the progress bar.
II-What I’ve done
1-Identifying :
Here is the list of the infos I’ve written down :
• Image Size
• The Hex code of the color I want to change :
- Take a screenshot of the color(s) you want to modify
- Open the screenshot on Pipette
- Tap on the lock button and click on the color , the hex code will be displayed at the bottom
• The Hex code of the color I want to add : Same process with Pipette
• The colors I want to add :
-Blue :3174f1
-Yellow :fbb002
-Background :47595c
-Background of the posts :2d2d2d
-the secondary color :c0c0c0
Click to expand...
Click to collapse
• The colors I want to change:
-Background color :212121
-Accent color :edb02d
-Primary color :353535
-The secondary color :#aaffffff
Click to expand...
Click to collapse
2-Editing and making new icon, etc.:
• I used Inkscape (free alternative to illustrator) because there were vector-designed icons.
• I used gimp to resize the picture after making them.
3-Decompiling the apk file :
• I typed in the terminal :
Code:
java -jar apktool.jar d XDALabs.apk
4-Replacing icons and other images :
• I put the pictures in the 3 drawable folders because it’s where I found them
5-Editing colors and the name :
• I went to /res/values and I opened colors.xml file and I replaced colors and some alpha channel :
Code:
<color name="accent">#ffedb02d</color>
<color name="accent_translucent">#ddedb02d</color>
<color name="background_dark">#ff212121</color>
<color name="dialog_bg_dark">#ff212121</color>
<color name="primary">#ff353535</color>
<color name="primary_bg">#ff353535</color>
<color name="primary_dark">#ff2b2b2b</color>
<color name="search_divider_dark">#ff212121</color>
<color name="search_list_results_bg_dark">#ff212121</color>
<color name="secondary_text">#ff727272</color>
to
Code:
<color name="accent">#fffbb002</color>
<color name="accent_translucent">#ddfbb002</color>
<color name="background_dark">#ff47595c</color>
<color name="dialog_bg_dark">#ff2d2d2d</color>
<color name="primary">#ff3174f1</color>
<color name="primary_bg">#ff2d2d2d</color>
<color name="primary_dark">#ff3174f1</color>
<color name="search_divider_dark">#ff2d2d2d</color>
<color name="search_list_results_bg_dark">#ff2d2d2d</color>
<color name="secondary_text">#ffc0c0c0</color>
• I opened strings.xml file and I replaced the app name line :
Code:
<string name="app_name">XDA Labs</string>
to
Code:
<string name="app_name">XDA Evolved</string>
6-Recompiling the new apk file :
• I opened the same command prompt and I typed this command :
Code:
java -jar apktool.jar b XDALabs
7-Signing the apk after install it :
• The same process as in the step 4 in the part one of my guide (I - 4).
8-Install the Apk :
• Uninstall the original app
• Install the signed version of the apk.
You can ask me on this thread about everything about the theming and I'll do my best to solve your problems, but do it in the respect and following the Forum Rules
You can go to themed XDA Labs version's thread clicking here.
And please , if you found this guide useful , press the thank button.
When I learn
Thank you for posting this. I always wanted to customize an android app, but have never had much success.
coluvatz12 said:
Thank you for posting this. I always wanted to customize an android app, but have never had much success.
Click to expand...
Click to collapse
Glad to hear that , thanks!
If you think this thread helped you , please press the thank button , I'm happy to see that my work is appreciated , Happy Theming !
nandakumar12 via PM said:
dude one doubt, how can i change the background color of an app, i cant find a code to change..??
Click to expand...
Click to collapse
First you should have installed the app and identified the hex code of the background color (E.G :#36ge87)
You can do it via Pipette , an app which identify hex code in a picture. Just take a screenshot and identify the colors via Pipette .
Then you will have to search for the hex code of the background color you identified with Pipette previously.
This step is on your PC , you opened the color.xml file in notepad++ or whatever it is , and you wrote the hex code of the background color in the search bar. Make the search and find all the lines that have the hex code in it.
If you found multiple line , try to modify one of the lines , compile the APK , sign it and install it on your phone to see if something changed. Do that until you find the line holding the background color.
Theming , at the beginning is pretty long on require patience and many test before finding which line is the good one .
I hope my answer will help you .
Happy theming !!???
DUVIDA
Hello friends of the forum xda developers Instead, this forum is a newbie Needed to take a doubts:
I have a mobile model with windows 10 installed that is stopped in the drawer without use
He has put windows phone 10
I would like to change it on an Iphone with COMPATIVEL System OR ate pie android EVEN Instalar 9,0
I wonder if this is possible and what procedures to take I assume of all the risks ok
Other question:
I have a moto g5 plus and the Manufacturer Promised me an Update for the oreo 8.1.0 but until the moment nothing arrived and the artist said that it has already been released but up to the moment without conditions of receipt
There is a rumor that will be released only in September
Someone confirms this information
I await any response
Marcelo - DJ KUKA
djkukapr said:
Hello friends of the forum xda developers Instead, this forum is a newbie Needed to take a doubts:
I have a mobile model with windows 10 installed that is stopped in the drawer without use
He has put windows phone 10
I would like to change it on an Iphone with COMPATIVEL System OR ate pie android EVEN Instalar 9,0
I wonder if this is possible and what procedures to take I assume of all the risks ok
Other question:
I have a moto g5 plus and the Manufacturer Promised me an Update for the oreo 8.1.0 but until the moment nothing arrived and the artist said that it has already been released but up to the moment without conditions of receipt
There is a rumor that will be released only in September
Someone confirms this information
I await any response
Marcelo - DJ KUKA
Click to expand...
Click to collapse
Don't know what you want to ask
Please be clear
All I can infer is that this doubt doesn't belong here look over the ROMs sections
Thanks!
GAURAV THAKKAR said:
Don't know what you want to ask
Please be clear
All I can infer is that this doubt doesn't belong here look over the ROMs sections
Thanks!
Click to expand...
Click to collapse
Don't worry , that's a random spam , that's why I ignored it.
And I don't think he'll respond .
RaiZProduction said:
Don't worry , that's a random spam , that's why I ignored it.
And I don't think he'll respond .
Click to expand...
Click to collapse
Since you've replied please check the Signing Apk Guide..
You've mentioned a thread dated 4 sep
Can you please link me to it?
GAURAV THAKKAR said:
Since you've replied please check the Signing Apk Guide..
You've mentioned a thread dated 4 sep
Can you please link me to it?
Click to expand...
Click to collapse
Fixed !
That was just a typo , what I really meant is the step four in the first part of the Guide , the I - 4 .
RaiZProduction said:
Fixed !
That was just a typo , what I really meant is the step four in the first part of the Guide , the I - 4 .
Click to expand...
Click to collapse
Trying to theme Instagram
Will ping you if any issue occurs
Thanks for the simplest and to the point guide I've seen ever
GAURAV THAKKAR said:
Trying to theme Instagram
Will ping you if any issue occurs
Thanks for the simplest and to the point guide I've seen ever
Click to expand...
Click to collapse
You're welcome , all the pleasure is for me :highfive:
Does this work similar for changing a boot logo?
hello. i got this after compiling. is this normal ?
{
"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"
}
thanks !
Tarwada said:
hello. i got this after compiling. is this normal ?
thanks !
Click to expand...
Click to collapse
You can try to get your framework-res.apk from your ROM and set it to apktool with this command :
Code:
java -jar apktool.jar if framework-res.apk
RaiZProduction said:
You can try to get your framework-res.apk from your ROM and set it to apktool with this command :
Code:
java -jar apktool.jar if framework-res.apk
Click to expand...
Click to collapse
sorry i don't get it. im not connecting my phone to the computer
im trying to theme an app called mewe :\
Tarwada said:
You can try to get your framework-res.apk from your ROM and set it to apktool with this command :
sorry i don't get it. im not connecting my phone to the computer
im trying to theme an app called mewe :\
Click to expand...
Click to collapse
Hey buddy to theme some apps you need the framework apk also because it's some how dependent on framework as far as I know
GAURAV THAKKAR said:
Hey buddy to theme some apps you need the framework apk also because it's some how dependent on framework as far as I know
Click to expand...
Click to collapse
what about the message i got above
Tarwada said:
what about the message i got above
Click to expand...
Click to collapse
The message above means that the file I asked you to gather from your system isn't in the Apktool folder.
Sometimes, some apps require a framework to theme them correctly , that's why I asked you to do that.
So if you have root you can copy it from the /system/framework folder and paste it into your download folder to transfer it to your PC.
If not I'll search for you some others solution ?.
i managed to do it using apk editor on my phone but there's one thing i can't theme it in the app
can you help me so i provide some pictures ?
no pressure at all
---------- Post added at 01:23 PM ---------- Previous post was at 12:53 PM ----------
RaiZProduction said:
The message above means that the file I asked you to gather from your system isn't in the Apktool folder.
Sometimes, some apps require a framework to theme them correctly , that's why I asked you to do that.
So if you have root you can copy it from the /system/framework folder and paste it into your download folder to transfer it to your PC.
If not I'll search for you some others solution .
Click to expand...
Click to collapse
i extracted the framework-res.apk from my phone (im rooted)
but when i compile i get the same error even if i didn't modify the app :\
help ?
Tarwada said:
i managed to do it using apk editor on my phone but there's one thing i can't theme it in the app
can you help me so i provide some pictures ?
no pressure at all
---------- Post added at 01:23 PM ---------- Previous post was at 12:53 PM ----------
i extracted the framework-res.apk from my phone (im rooted)
but when i compile i get the same error even if i didn't modify the app :\
help ?
Click to expand...
Click to collapse
Can you tell me precisely what you modified in your APK ?

Categories

Resources