how edit lidroidparts.apk with apk manager but don't decompile
Code:
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 17
at java.lang.String.charAt(Unknown Source)
at brut.androlib.res.xml.ResXmlEncoders.findNonPositionalSubstitutions(ResXmlEncoders.java:165)
at brut.androlib.res.xml.ResXmlEncoders.enumerateNonPositionalSubstitutions(ResXmlEncoders.java:142)
at brut.androlib.res.data.value.ResStringValue.encodeAsResXmlValue(ResStringValue.java:45)
at brut.androlib.res.data.value.ResArrayValue.serializeToResValuesXml(ResArrayValue.java:55)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:264)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:137)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
please , help me
levanhau03 said:
how edit lidroidparts.apk with apk manager but don't decompile
Code:
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 17
at java.lang.String.charAt(Unknown Source)
at brut.androlib.res.xml.ResXmlEncoders.findNonPositionalSubstitutions(ResXmlEncoders.java:165)
at brut.androlib.res.xml.ResXmlEncoders.enumerateNonPositionalSubstitutions(ResXmlEncoders.java:142)
at brut.androlib.res.data.value.ResStringValue.encodeAsResXmlValue(ResStringValue.java:45)
at brut.androlib.res.data.value.ResArrayValue.serializeToResValuesXml(ResArrayValue.java:55)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:264)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:137)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
please , help me
Click to expand...
Click to collapse
Y U want edit lidroidparts.apk? This is sign app, as same as lidroid-res.apk, we can't. I think so. Btw, u can pm sir Li to solve this problem:laugh:
U've gotta be a Java expert on this one!!
Sent from heaven!
What do you want to edit??? Some smali inside it??
Its easy to decompile and compile it again
Sent from my GT-S5360 using xda premium
evanlocked said:
What do you want to edit??? Some smali inside it??
Its easy to decompile and compile it again
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
i'm edit language , delete some value...
levanhau03 said:
i'm edit language , delete some value...
Click to expand...
Click to collapse
Wait a sec did u mean lidroid res.apk or lidroidparts.apk???
Lidroidsparts are linked to android.policy.jar u cant edit the values directly
Sent from my GT-S5360 using xda premium
levanhau03 said:
i'm edit language , delete some value...
Click to expand...
Click to collapse
Lidroidparts ko edit duoc dau ku.
shocklads said:
Lidroidparts ko edit duoc dau ku.
Click to expand...
Click to collapse
tao nói chuyện với mày ah, cút ra chỗ khác
english plz people
don't edit it directly you'll get an error
evanlocked said:
Wait a sec did u mean lidroid res.apk or lidroidparts.apk???
Lidroidsparts are linked to android.policy.jar u cant edit the values directly
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
lidroidparts.apk
Related
Hi all,
I know some of us are not comfortable with the black font color on the buttons in Rio's Hybrid2 ROM and also for XXLM6/8 ROM.
With the guidance of doles, I managed to modified the framework-res.apk making the font color white and also adding ICS sense to the progress bar.
This mod is similar to the mod theme provided by doles but mine is mainly for Hybrid2.
Simply download the framework-res.apk and put it into ur sdcard. Replace the one under /system/framework by using root explorer. Then Reboot. DONE~
I have added a flashable zip Hybrid2_ICS_button+progressbar+extended_menu.zip for convenience. It is together with extended menu.
Remember to do a nandroid backup just in case.
Thx
Sent from my GT-I8150 using XDA
Thank you very much i think they should implent this next version !
thanks very much man!!!
Man, i'm trying to make a theme for me with that tiny bars too
But I'm using the GingerIce rom, and the framework-res dont match
Can u help me ?
If you could do that theme for the GingerIce Rom I'll thank you so much
guigadourado said:
Man, i'm trying to make a theme for me with that tiny bars too
But I'm using the GingerIce rom, and the framework-res dont match
Can u help me ?
If you could do that theme for the GingerIce Rom I'll thank you so much
Click to expand...
Click to collapse
Yes, of course. This framework-res.apk is based on DXLC1.
U need to pull and decompile ur framework-res.apk by using apktool.
To change the font color on buttons
Go to res\values\ and open styles.xml by using notepad then search for
style name="Widget.Button"
change <item name="android:textColor"> to white
Code:
<item name="android:textColor">#ffffffff</item>
To change the progress bar
u can follow this thread http://forum.xda-developers.com/showthread.php?t=1374394
yewsiong said:
Yes, of course. This framework-res.apk is based on DXLC1.
U need to pull and decompile ur framework-res.apk by using apktool.
To change the font color on buttons
Go to res\values\ and open styles.xml by using notepad then search for
style name="Widget.Button"
change <item name="android:textColor"> to white
Code:
<item name="android:textColor">#ffffffff</item>
To change the progress bar
u can follow this thread http://forum.xda-developers.com/show....php?t=1374394
Click to expand...
Click to collapse
Page not found bro =\
If u can make this for meView attachment framework-res.apk
guigadourado said:
Page not found bro =\
If u can make this for meView attachment 1030126
Click to expand...
Click to collapse
Edited the link.
yewsiong said:
Edited the link.
Click to expand...
Click to collapse
Thanks man, I just need to use apktool to decompile the framework-res and find that string but i'm so noob in this thing, i dont know how to use this :|
guigadourado said:
Thanks man, I just need to use apktool to decompile the framework-res and find that string but i'm so noob in this thing, i dont know how to use this :|
Click to expand...
Click to collapse
I have edited the framework u gave but I do not have the same ROM version for testing. U backup ur original framework-res.apk 1st and the replace it with the one I give.
Please see the attachment.
yewsiong said:
I have edited the framework u gave but I do not have the same ROM version for testing. U backup ur original framework-res.apk 1st and the replace it with the one I give.
Please see the attachment.
Click to expand...
Click to collapse
Thank u so much bro.=DDDDDD
tnks tnks tnks tnks tnks tnks tnks tnks tnks \o/
It work on my stock rom, thanks dude..
Sent from my GT-I8150 using xda premium
i i put the file with es file explorer, but when i overwrite the old file, the phone become blocked, what can i do?
thanks in advice
Sorry for the bad english
Phoenix Fire said:
i i put the file with es file explorer, but when i overwrite the old file, the phone become blocked, what can i do?
thanks in advice
Sorry for the bad english
Click to expand...
Click to collapse
What do u mean "blocked"?
sorry i wanted to say stuck
when i touch on "overwrite" the phone remains stucked on the confirmation screen
Try this Root Browser
http://db.tt/qmXVPpOB
o O From My Ancora o O
andynroid said:
Try this Root Browser
http://db.tt/qmXVPpOB
o O From My Ancora o O
Click to expand...
Click to collapse
thanks, with it i correctly overwrited the old apk
Phoenix Fire said:
thanks, with it i correctly overwrited the old apk
Click to expand...
Click to collapse
Yes best to backup ori by renaming to .apk1 before pasting
o O From My Ancora o O
andynroid said:
Yes best to backup ori by renaming to .apk1 before pasting
o O From My Ancora o O
Click to expand...
Click to collapse
Yup. Always make a backup of original files. This is the way to save ur phone.
yewsiong said:
Yup. Always make a backup of original files. This is the way to save ur phone.
Click to expand...
Click to collapse
the problem was that after the overwriting, phone stuck on confirm panel, pulling out the battery and powering on, the phone remains stuck on blank screen after the boot animation, so i didn't know how to put the old file, so i wipe all and reflash the rom
I used apk took, apk manager edit systemUI.apk but when i build and cook rom then (process.com.androind.systemui) has stopped unexpectedly
i want edit images and XML
sorry . my bad english
check your xml files in the systemui, or maybe you did not sign the apk or you did not set perpissions to rw-r-r
also post in the right forum we have a Q&A thread in the general section
deathnotice01 said:
check your xml files in the systemui, or maybe you did not sign the apk or you did not set perpissions to rw-r-r
also post in the right forum we have a Q&A thread in the general section
Click to expand...
Click to collapse
i'm copy this in custom rom and flash,you can guilde 1 video or text ?
levanhau03 said:
I used apk took, apk manager edit systemUI.apk but when i build and cook rom then (process.com.androind.systemui) has stopped unexpectedly
i want edit images and XML
sorry . my bad english
Click to expand...
Click to collapse
What were the modifications you made?
Sent from my GT-S5360 using XDA
hell_lock said:
What were the modifications you made?
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
edit 14 toogle , mod flash light in xml , and build .Help me
levanhau03 said:
edit 14 toogle , mod flash light in xml , and build .Help me
Click to expand...
Click to collapse
well... try it without editing the xml.. even i got bootloops when i tried to edit the xml files
hell_lock said:
well... try it without editing the xml.. even i got bootloops when i tried to edit the xml files
Click to expand...
Click to collapse
can you guilde video or text ?
levanhau03 said:
can you guilde video or text ?
Click to expand...
Click to collapse
I will help you after I complete my rom, I am busy these days..
Sent from my GT-S5360 using XDA App
hell_lock said:
I will help you after I complete my rom, I am busy these days..
Sent from my GT-S5360 using XDA App
Click to expand...
Click to collapse
please , very need..
levanhau03 said:
please , very need..
Click to expand...
Click to collapse
Pm me ur systemui.apk
Sent from my GT-S5360 using XDA
when i tried to recompile apk after modified systemui.apk, i had god this error. anyone can tell me what is it and how to fix this problem. THanks
What you edited?
Sent from my CM9'd Arc
XperienceD said:
What you edited?
Sent from my CM9'd Arc
Click to expand...
Click to collapse
drawables.xml in res/values folder and put an .PNG image to drawable-hdpi
Oohhlala said:
drawables.xml in res/values folder and put an .PNG image to drawable-hdpi
Click to expand...
Click to collapse
have you done a clean recompile to see if it will work without the changes? also have you got the newest version of APKtool?
Pvy.
pvyParts said:
have you done a clean recompile to see if it will work without the changes? also have you got the newest version of APKtool?
Pvy.
Click to expand...
Click to collapse
no, i used ver 1.4.3 and this is result when i used 1.4.9
Oohhlala said:
no, i used ver 1.4.3 and this is result when i used 1.4.9
Click to expand...
Click to collapse
Have you installed all the frameworks?
Apktool if framework-Res.apk
Apktool if semc.............
Sect
Pvy
Sent from my Galaxy Nexus using xda premium
http://forum.xda-developers.com/showthread.php?t=1374394
Sent from my CM9'd Arc
XperienceD said:
http://forum.xda-developers.com/showthread.php?t=1374394
Sent from my CM9'd Arc
Click to expand...
Click to collapse
@pvy and Experience : two way, same result. aapt warning : string : statusbar_setting_autobrightness_laber has no default translation in ....
Hai,
This is easy guide to get back ripple effect in galaxy s III mini...
REQUIREMENTS:
1. Rotted only
2. Deodex and not deodex
INSTRUCTION:
1. DECOMPILE framework-res.apk
2. Go to
Framework-res/res/values-hdpi/
3. Open bools.xml
4. Find
Code:
<bool name="config_isWaterRippleEnabled">false</bool>
5. Change to
Code:
<bool name="config_isWaterRippleEnabled">true</bool>
save bools.xml
6. Recompile framework-res.apk
7. Push new framework-res.apk to system/framework, set permision to rw-r-r
8. Reboot
Done, and now you get back ripple effect in your S III mini.
And if you like my work, don't forget to click on "Thanks" button
Sent from my GT-I8190 using xda premium
what tool u use? link please..
can u provide some SS guide?
thanks
Apkmanager, or apktool
Sent from my GT-I8190 using xda premium
CahBagoes354 said:
Apkmanager, or apktool
Sent from my GT-I8190 using xda premium
Click to expand...
Click to collapse
help me enable ripple effect please ,
heres my framework http://www.mediafire.com/?gdr089y8t6xl1y2
Thanks first for you Mod/Guides !!!!!:good::good::good:
Houston we have a Problem :
Please can you help me ???
What doing wrong ??:crying:
cheech01 said:
Thanks first for you Mod/Guides !!!!!:good::good::good:
Houston we have a Problem :
Please can you help me ???
What doing wrong ??:crying:
Click to expand...
Click to collapse
you change the image .9. png
AW: [MOD][GUIDE] 4.1.2 Enable Ripple Effect
No...i have only change ripple Effekt to true..... but i have a Theme Installed before. Is this the problem?
This theme : http://forum.xda-developers.com/showthread.php?t=2156286
Sent from my GT-I8190 using xda premium
cheech01 said:
No...i have only change ripple Effekt to true..... but i have a Theme Installed before. Is this the problem?
This theme : http://forum.xda-developers.com/showthread.php?t=2156286
Sent from my GT-I8190 using xda premium
Click to expand...
Click to collapse
you have to patch it back in the picture, use draw9patch.
Sent from my GT-I8190 using xda premium
cheech01 said:
Thanks first for you Mod/Guides !!!!!:good::good::good:
Houston we have a Problem :
Please can you help me ???
What doing wrong ??:crying:
Click to expand...
Click to collapse
Which version of apktool do you have? It needs to be 1.5.2. Update your aapt as well.
finally managed to make the changes to my framework-res.apk
apktool version needed to be updated and then it worked
thanks to CahBagoes354
This don't work for me! I use apk-multi-tool to decompile and recompile framework-res.apk but when i push it i get bootloop.
Decompile and compile without any error. Do i need to do something more?
same here :/
Sent from my GT-I8190 using xda app-developers app
same here too...
same with xxamj3. phone boots well, when i lock the screen it goes bootloops and never opens
edit: my bad. compiled with new apktool and it works
burak185 said:
same with xxamj3. phone boots well, when i lock the screen it goes bootloops and never opens
edit: my bad. compiled with new apktool and it works
Click to expand...
Click to collapse
how do you manage to compile i always get error apktool didnt find sorces
hello , no find this file in framework-res values-hdpi ... how to search this ? i have xxamg4 stock rom
halfnakedprince said:
how do you manage to compile i always get error apktool didnt find sorces
Click to expand...
Click to collapse
This guide worked for me
CahBagoes354 said:
Hai,
This is easy guide to get back ripple effect in galaxy s III mini...
REQUIREMENTS:
1. Rotted only
2. Deodex and not deodex
INSTRUCTION:
1. DECOMPILE framework-res.apk
2. Go to
Framework-res/res/values-hdpi/
3. Open bools.xml
4. Find
Code:
<bool name="config_isWaterRippleEnabled">false</bool>
5. Change to
Code:
<bool name="config_isWaterRippleEnabled">true</bool>
save bools.xml
6. Recompile framework-res.apk
7. Push new framework-res.apk to system/framework, set permision to rw-r-r
8. Reboot
Done, and now you get back ripple effect in your S III mini.
And if you like my work, don't forget to click on "Thanks" button
Sent from my GT-I8190 using xda premium
Click to expand...
Click to collapse
Mod Edit Quote shortened
thanks...its work for me..
khaisttj92 said:
thanks...its work for me..
Click to expand...
Click to collapse
help me please ! thanx i have xxamj2
is there any1 here have deodexed framework-res.apk s3 mini xxAMG4.....i need it pls....tq
when theme changed custom header image will following the theme
hey guys
this the theme for change custom header image
please try
include:
- Restar system ui in Setting -> Developers Setting
How to:
(maybe need superuser mod if not work and must root)
- Download (theme_change_notification.zip)https://drive.google.com/file/d/0B9SX39bV6vM6eE9vbDlTeVhxV2M/view?usp=sharing
- Flash the zip into CWM/TWRP
- reboot
edit setting.apk with apktool and follow me
first
decompile setting.apk
go to folder decompile setting.apk res-> xml
find xml development_prefs.xml
open development_prefs.xml with Notepad++
copy script below
Code:
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
paste and save
Code:
<PreferenceCategory android:title="@string/Tools_category" android:key="Tools_category">
<com.sonymobile.settings.preference.IntentPreference android:title="@string/serasystem_title" android:summary="@string/serasystem_desc_txt" settings:dependOnIsValidIntent="true" settings:hasMetaData="true">
<intent android:targetPackage="com.serajr.restartsystemui" android:action="android.intent.action.MAIN" android:targetClass="com.serajr.restartsystemui.MainActivity" />
</com.sonymobile.settings.preference.IntentPreference>
<com.sonymobile.settings.preference.IntentPreference android:icon="@drawable/ic_settings_supersu" android:title="SuperSU" android:key="supersu" settings:dependOnIsValidIntent="true" settings:hasMetaData="true">
<intent android:targetPackage="eu.chainfire.supersu" android:action="android.intent.action.MAIN" android:targetClass="eu.chainfire.supersu.MainActivity" />
</com.sonymobile.settings.preference.IntentPreference>
</PreferenceCategory>
recompile,sign and zipalign setting.apk
Finish,push manual setting.apk into system, reboot and enjoy
choose theme, go to setting -> developers find restar systemUI, and Restart systemUI service, choose your theme before restar systemUI service, taraaaa your header image change following the theme
Thanks to and Credit :
@niaboc79
@serajr
@gamzekal For Updater Script
- If you like my work, Hit thanks button :good:
Nda dapat download bro.
Sonik Garcia said:
Nda dapat download bro.
Click to expand...
Click to collapse
download again bro
teguhsangra said:
download again bro
Click to expand...
Click to collapse
Still need permission bro
Sonik Garcia said:
Still need permission bro
Click to expand...
Click to collapse
I 've change its permissions check link bro sorry bro forget
teguhsangra said:
I 've change its permissions check link bro sorry bro forget
Click to expand...
Click to collapse
Bro, makasih ya! Mantap mod nya. Cuma ada sedikit cadangan, kalau boleh tambah theme daripada Ambor macam iblue, ipurple, ishadow dan lain2 lagi. :thumbup:
English use. See forum rules ?
Btw, nice work, one thumb for you dude
Crantoka manio lu sipad?
Gửi từ Redmi Note 2 của tôi bằng cách sử dụng Tapatalk
Is it working too for z ultra?
Sent from my C6833 using Tapatalk
justk3ys said:
Is it working too for z ultra?
Sent from my C6833 using Tapatalk
Click to expand...
Click to collapse
just follow instruction bro
maybe work good luck
@teguhsangra
why you toke the updater script of my RXS bro @gamzekal ?
Pandemic said:
@teguhsangra
why you toke the updater script of my RXS bro @gamzekal ?
Click to expand...
Click to collapse
hahah sory forget :laugh: maybe I will change their updater his scripts , because I 'm lazy to make his script updater thnks info bro :good:
ERROR
Marília de Oliveira said:
ERROR
Click to expand...
Click to collapse
Add these missing resources to your Settings.apk-
Add in values/strings.xml-
@string/Tools_category
@string/serasystem_title
@string/serasystem_desc_txt
Click to expand...
Click to collapse
And in drawable add icon ic_settings_supersu (@drawable/ic_settings_supersu)
Its required to use settings guide to use this?
I already have restart_systemui_v2.apk
RaKesh said:
Its required to use settings guide to use this?
I already have restart_systemui_v2.apk
Click to expand...
Click to collapse
No need to use settings guide.
jitz975 said:
No need to use settings guide.
Click to expand...
Click to collapse
I had tried this mod
But sorry to say this mod is useless for me
Only the system themes that comes with zip package changes the systemui header
Otherwise no changes on Custom Installed Themes
RaKesh said:
I had tried this mod
But sorry to say this mod is useless for me
Only the system themes that comes with zip package changes the systemui header
Otherwise no changes on Custom Installed Themes
Click to expand...
Click to collapse
You can include systemui overlay with your desired statusbar header images inside which ever themes you use. This idea is good even the themes are bad
recomplie error Settings.apk