is there anyone can help me to make statusbar like Flyme OS
it look like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i try from this
http://forum.xda-developers.com/xperia-u/themes-apps/guide-mod-uiics-fxp-jbsystemui-look-t2275715
but always get error when recompile
Log For : SystemUI.apk
Log Type : Recompiling
Log Recorded At : Fri 02-05-2014 16:35:34.11
Log Recorded By : Advanced ApkTool v2.0.0 By BDFreak
------------------------------------------------------
..\3-Out\SystemUI.apk\smali\com\android\systemui\statusbar\policy\Traffic$1.smali[24,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\android\systemui\statusbar\policy\Traffic$1.smali[39,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\android\systemui\statusbar\policy\Traffic$1.smali[40,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\android\systemui\statusbar\policy\Traffic$1.smali[39,15] mismatched input '"context"' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/systemui/statusbar/policy/Traffic$1.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)
at brut.androlib.Androlib.buildSources(Androlib.java:299)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
------------------------------------------------------
Click to expand...
Click to collapse
here is my original systemui.apk http://www.4shared.com/mobile/VLrXLXssba/SystemUI.html
anyone know where`s i miss
This happen when u r using Apktool Android did u? I guess u should try with APKTOOL Desktop version, apktool android version could not identify "parameter", and only identify "param"....
Sent from my C1905 using XDA Premium 4 mobile app
Using apktool 1.5.2 instead of 2.0 should resolve the compile error
Sent from my C1905 using XDA Premium 4 mobile app
bluq said:
is there anyone can help me to make statusbar like Flyme OS
here is my original systemui.apk http://www.4shared.com/mobile/VLrXLXssba/SystemUI.html
anyone know where`s i miss
Click to expand...
Click to collapse
use this advanced apktool,...
http://forum.xda-developers.com/showthread.php?t=2639400
and u should use 2 files as framework...like below install both using advanced apktool
These smali files dont work for me also (i get the same errors). So i suggest to use smali files from Znxt Rom for Xperia M. These files work good for me on stock 4.3 XMS.
ansebovi said:
use this advanced apktool,...
http://forum.xda-developers.com/showthread.php?t=2639400
and u should use 2 files as framework...like below install both using advanced apktool
Click to expand...
Click to collapse
already use advance apktool and install those 2 framework,
i think its wrong with the smali because its from diferent type device
kosmita1993 said:
These smali files dont work for me also (i get the same errors). So i suggest to use smali files from Znxt Rom for Xperia M. These files work good for me on stock 4.3 XMS.
Click to expand...
Click to collapse
can u share ur systemui and framework with that znxt,
im using stock 4.3 to
bluq said:
can u share ur systemui and framework with that znxt,
im using stock 4.3 to
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2733039
Just decompile SystemUI.apk from this ROM and you will get working smali files.
Related
Guys, I ask this because i have tried 1000 ways and I could not recompile the frameworks after making changes to bools and arrays.
Please, someone would do for me?
Its for the latest build of Quarx.
I followed this tutorial but the problem is that i can't never rebuild. Damn!!
http://forum.xda-developers.com/showthread.php?t=1364757
{
"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 in advance!:highfive:
_______________________________
Edit.
Framework here.
framework-res.apk
posst the framework...
Sent from my MB525 using xda premium
looking forward to it , it means we can disable our capacitive buttons and use this on screen buttons ....... at the moment it seems to be awesome ......
lets see if it can be integrated and works flawless......
yes, please post your framework-res.apk here. I dont have quarx build downloaded yet. It shud be done without a problem and will upload u a update.zip for it.
I'd be interested to see this in action too.. can you please modify this file? It's the framework from http://quarx2k.ru/cm9-nightly-defy+/CM9-NIGHTLY-120710-Defy+.zip ... thank you
https://dl.dropbox.com/u/18827417/framework-res.apk
Type in command line "java -jar apktool.jar -if framework.res", then decompile it. Edit the files and before compile it, extract the archive "resources.arsc" that is inside the original "framework-res.apk" and copy it to "framework-res" folder. Then try to compile it. This should help. I´ve not tested the new "framework-res.apk" file, but at least I can compile it.
jassi32 said:
looking forward to it , it means we can disable our capacitive buttons and use this on screen buttons ....... at the moment it seems to be awesome ......
lets see if it can be integrated and works flawless......
Click to expand...
Click to collapse
It works perfect!, There was a guy who changes the frame for this, but stopped ..
Favaron said:
Type in command line "java -jar apktool.jar -if framework.res", then decompile it. Edit the files and before compile it, extract the archive "resources.arsc" that is inside the original "framework-res.apk" and copy it to "framework-res" folder. Then try to compile it. This should help. I´ve not tested the new "framework-res.apk" file, but at least I can compile it.
Click to expand...
Click to collapse
I tried that way too and it works, but apparently not successfully recompiled .. all are in folders without compiling. for example values and the files .xml either.
@pabloltg : I left for office today, will reach home @ 4 pm and will upload you the framework. (Obviously if somebody has not done it already )
brajesh.sharma87 said:
@pabloltg : I left for office today, will reach home @ 4 pm and will upload you the framework. (Obviously if somebody has not done it already )
Click to expand...
Click to collapse
Many thanks mate!
I trying today too, but not lucky.
May be i should wipe my laptop.xD
Navigation Bar: http://forum.xda-developers.com/showthread.php?t=1495002
Hello there, I am here again with some guide.
This will add extra option at your settings.apk.
First and foremost, I adapted the code from COD DJ Tabbed Settings.
Download:
Code:
https://www.dropbox.com/s/1051uyxpbtpqwm9/Extra%20Option.zip
Screenies:
{
"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"
}
1. Pull Settings.apk
2. Decompile it.
3. Download the file and extract.
4. Now, go to AndroidManifest, and find this line,
Code:
<application android:label="@string/settings_label" android:icon="@drawable/ic_launcher_settings" android:taskAffinity="">
<uses-library android:name="touchwiz" />
below it, add this
Code:
<activity android:name="ExtraSettings" />
5. We're almost done, recompile the Settings.apk
6. Decompile it again
7. Now go to /res/values/public.xml and find this code,
Code:
<public type="xml" name="extra_settings"
Copy the public id.
8. Go to smali/com/android/settings/ExtraSettings.smali and replace
Code:
0x7f04003b
with the public ID of extra_settings
9. Save, and recompile again, sign apk.
CREDITS: COD DJ
Thanx
willl try this
sure man.
Sent from my GT-S5360 using Tapatalk 2
3r41nl33n said:
sure man.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Please update file link, I really excited with this simple guide.
zhalx said:
Please update file link, I really excited with this simple guide.
Click to expand...
Click to collapse
Gonna fix the thread later sir. Btw, it is here, http://db.tt/HpvBuohp sorry for inconvinience.
Sent from my GT-S5360 using Tapatalk 2
3r41nl33n said:
Gonna fix the thread later sir. Btw, it is here, http://db.tt/HpvBuohp sorry for inconvinience.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Thanx! :highfive:
Simple MOD, but,This is awesome guide Thanks
Link is dead, can you reupload the file?
Sir link is dead pls reupload the file!
Sent from my GT-S5360 using XDA Free mobile app
It's not dead.
AND1 Master said:
Sir link is dead pls reupload the file!
Sent from my GT-S5360 using XDA Free mobile app
Click to expand...
Click to collapse
Here is the link from Sir Pineappleowl https://www.dropbox.com/s/8rycm6rjxcvz1qd/Extra Option.zip
Just backread LOL
I willl try this..
Awesome sir..
Hello folks .... I’ve backed to xda after a looong time because exams
My new TUT for adding logo in "About Phone" .
Inspired by this THREAD
Credits :
@gravtec for inspiring big thanks for you bro .
What you need ? :
Latest APKTOOL package .
A brain .
PC .
Knowledge in decompiling and recompiling .
Lets start the GUIDE !
Resources
APKTOOL here .
Image Resolution : 700*215 .
Guide
First Part
Decompile Settings
Go to res/Layout folder
Download this file
paste it in Layout folder
Second Part
Copy the image to res/drawable folder
Rename it to logo and it must be "PNG" !
EX: logo.png
Click to expand...
Click to collapse
Third Part
Go to res/xml
open device_info_settings.xml
Add this
<PreferenceScreen android:layout="@layout/logo" android:key="od_logo" />
Click to expand...
Click to collapse
after this line
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
Click to expand...
Click to collapse
EX :
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceScreen android:layout="@layout/logo" android:key="od_logo" />
Click to expand...
Click to collapse
SAMPLE
{
"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"
}
Reserved for future
More things will add for this feature
awesome
Good bro
Sent from my LT26ii using XDA Premium 4 mobile app
Nice guide thanks
sent from my lt26i running android 4.4 by RaymanFX
great tutorial mate! hoping to finish ur rom soon
guidance mod Setting White Balance + Staminamode is better.
trinhvanan12 said:
guidance mod Setting White Balance + Staminamode is better.
Click to expand...
Click to collapse
Those things are not as simple as adding a few lines in Settings.
They have to be ported, I.e. Some files have to be modified too.
Sent from my brain using my Xperia S1
Hello People Today iam guiding you for a Quick Begining To Theming Android
That Thread Includes
-Decompiling And compiling / signing apk via quick mod
-Changing apk name
-Theming .png
-Theming .9.png
-Rsizing Batch Pngs easier than ever
Requirements
Good PC
Quick Mod Tool - Here
A fresh mind
photo editing software like dotnetpaint or photo shop
npp+ -Here
Resizer_1.3.1.jar -Here
JRE -Here
JDK -Here
Leson 1 " Compiling And Decompiling / signing Via Quick Mod"
1- You need frist to install framework Just Get Framework-res.apk & twframework-res.apk [for theming stock ]& Systemui.apk from a deodex base and input them in Quickmod/framework
example i want to theme CM7 Rom so i put framework-res.apk & systemui.apk in quickmod/framework then open Quickmod/Tool.bat and type 12 then enter
like that
{
"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"
}
2- Decompiling
Put the app in Quickmod\add_apk_here and then go to tool.batch and pres 1
like that " decompiling framework-res.apk for modding whole system "
So you will find your decompiled apk in Quickmod/Working Edit it as you like then
Open TOOL.BAT and press 2 to recompile
then pres 3 to sing
leson 2 Changing apk name
After decompiling navigate to \res\values\strings.xml
Change the value between >Android System < or what ever is it
To what u want
Leson 3 Theming normal .png Image
Only open it via DotNetPaint/ Photo Shop and color it as you want
like that
Leson 4 Theming .9.png file
Open the .9.png image you want to Edit
You can edit it as you can but dont touch the Black Dots or Lines (The Red Highlited)
Apply for any .9.png and be aware
Resizing Batch images including .9.png
Just open Resier attached up
Select input dpi
And output
Drag your imgs to resizer you will find output in proper folder "Drawble-xxxx"
Yeah!
Thanks For A Good Guide for beginners
Welcome
myaservip said:
Welcome
Click to expand...
Click to collapse
@op can i add your guide here ?
AbhiLP said:
@op can i add your guide here ?
Click to expand...
Click to collapse
Yup u can
Hi,
This is a small (maybe) guide for changing rom logo in about phone (Settings).
Ok lets get started.
Requirements: x-plore file manager http://www.mediafire.com/download/zeckscfoy6c7zox/X-plore.apk
Any photo editor which can conver images into . Png format. ( i use pixler express)
Instructions:
1.First using photo editor convert the photo which u want to use. Make sure the resulution of that image is as low as possible.
2. copy the Settings.apk from system/priv-app to root folder of sdcard.
3. Open x-plore and browse for Settings you copied earlier in second tab (reffer screen shots in 2nd post)and long press on It and select open apk as zip.
4. Goto res/ and browse for the original rom logo and rename your image exactly as original logo.
5. Copy your image into the folder where original logo is.
6. Now you have to sign the moded Settings.apk for that open original Settings.apk as zip from system /priv-app, and copy the meta-inf and android mainfest.xml to moded Settings.apk.
7. Now push your Settings.apk into system /priv-app /Settings.
8 reboot.done
Please reffer to screen shots below for better understanding
{
"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"
}
It's really simple :good:
qoejohn said:
It's really simple :good:
Click to expand...
Click to collapse
Did you tried this
Does it work in carbon ROM kitkat version
Sent from my Redmi 1S using XDA Free mobile app
Snapdragon815 said:
Did you tried this
Click to expand...
Click to collapse
yet bro
but I think this will work well, as long as the image being replaced is still invoked by xml or smali
Rahulraj943472 said:
Does it work in carbon ROM kitkat version
Sent from my Redmi 1S using XDA Free mobile app
Click to expand...
Click to collapse
If the rom has image in Settings already in about phone It will work. As far as i know there is no image in carbon rom
Nice way to fool someone and show off that you made the rom
unkown rockstar said:
Nice way to fool someone and show off that you made the rom
Click to expand...
Click to collapse
Lol..! That is what i do in front of my nob friends