[WIP][GUIDE] PatchROM - MIUI Porting - LG Optimus Black

Hello guys!
actually i dont own this phone so replace "shakira" with your phone name
MIUI recently opensourced a set of tools made for porting it's ROM to other devices. here's a little guide on how it (kinda) works, maybe it helps someone.
Any contribution is welcome
Here's what I've found of PatchROM:
Get PatchROM from here (384MB)
And make sure you have apktool installed.
The overall proccess looks like this:
Extract the tools
Get an Gingerbread ROM to install MIUI stuff;
Create the required file structure
Change the Makefile
Apply MIUI changes to the selected ROM
Flash it!
STEP 1: Extracting the tools
I've extracted the tools to ~/patchrom, but you can use another directory if you want. I'll call that folder the PatchROM root folder.
STEP 2: Choosing the ROM
The PatchROM docs recommend that we use a stock Gingerbread ROM from the device manufacturer, but there's no official Gingerbread for our device, so I used a MiniCM7 zip instead.
EDIT: make sure you use an deodexed rom or deodex your rom.
STEP 3: Creating the file structure
To port, we need to create a folder inside the PatchROM root directory for our device. There's an example device for the Samsung Galaxy S on the i9000 folder, we'll use that as a base. I created a folder called 'shakira' and copied the makefile file from the i9000 folder and the MiniCM7(thats a gb rom for my device you can take any gb rom ) zip to it.
You also need to decompile the following APK files and put the resulting folder on the 'shakira' folder:
/system/framework/android.policy.jar
/system/framework/framework.jar
/system/framework/framework-res.apk
/system/app/SystemUI.apk
/system/framework/services.jar
and the apps defined on the 'local-modified-apps' below
STEP 4: Editing the Makefile
The makefile has the following structure:
Code:
#
# Makefile for i9100
#
# The original zip file, MUST be specified by each product
local-zip-file := I9100ZCKJ1.zip
# The output zip file of MIUI rom, the default is porting_miui.zip if not specified
local-out-zip-file := MIUI_9100.zip
# All apps from original ZIP, but has smali files chanded
local-modified-apps := LogsProvider Phone MediaProvider Settings
# All apks from MIUI execept MIUISystemUI and framework-miui-res.apk
local-miui-apps := Contacts ContactsProvider Mms TelephonyProvider ThemeManager Launcher2 \
DownloadProvider TelocationProvider Notes Music Torch DownloadProviderUi Updater
# All apps need to be removed from original ZIP file
local-remove-apps := AlipayGphone AmsComposer AndroidQQ_Samsung_Seine BuddiesNow cooldict glyder2 \
ImgoTV iReader kaixin001 Memo MiniDiary MinimalHome mreader PressReader ReadersHub Renren \
Sinamicroblog SinaNews SinaStock SinaWeather SocialHub Tencentmicroblog \
TomEbook Tonghuashun TouchWiz30Launcher Youku_Samsung_seine MusicPlayer \
MediaHub PhotoRetouching VideoEditor thinkdroid QYVideoClient \
Days DigitalClock Dlna DualClock Email EmailWidget FTC FTM FTS Kobo \
Microbesgl Navigator PostIt Protips QuickSearchBox SamsungApps SamsungAppsUNA3 \
SamsungIM SamsungWidget_ProgramMonitor SecretWallpaper1 SecretWallpaper2 \
SevenEngine SnsAccountKx SnsAccountRr SnsDisclaimer SnsImageCache SnsProvider \
Tasks TasksProvider Term TrimApp TwCalendarAppWidget Zinio \
samsungappswidget syncmldm viva_tts
# To include the local targets before and after zip the final ZIP file,
# and the local-targets should:
# (1) be defined after including porting.mk if using any global variable(see porting.mk)
# (2) the name should be leaded with local- to prevent any conflict with global targets
local-pre-zip := local-zip-misc
local-after-zip:= local-test
# The local targets after the zip file is generated, could include 'zip2sd' to
# deliver the zip file to phone, or to customize other actions
include $(PORT_BUILD)/porting.mk
# To define any local-target
local-zip-misc:
cp misc/com.google.android.maps.jar $(ZIP_DIR)/system/framework/
@echo Add google apks
cp misc/apk/* $(ZIP_DIR)/system/app/
@echo Replace build.prop
cp misc/build.prop $(ZIP_DIR)/system/build.prop
local-test:
echo "an example action"
STEP 5: Apply MIUI Changes
To apply the MIUI changes on the choosen ROM, type those commands in the root of PatchROM:
Code:
source build/envsetup.sh
cd shakira # CHANGE THIS LINE TO MATCH THE FOLDER YOU CREATED IN STEP 3
make
Now it should decompile the ROM and merge the ROM's smali files with the MIUI files, and create an ZIP file with the MIUI rom

We already have a guide of ' Porting Official MIUI ' here is the link :
http://forum.xda-developers.com/showthread.php?t=1452041&highlight=miui
but yea for sure understanding your guide seems to be way easier......thanks for the efforts

Oops I didn't see that

farazfaraz said:
The PatchROM docs recommend that we use a stock Gingerbread ROM from the device manufacturer, but there's no official Gingerbread for our device, so I used a MiniCM7 zip instead.
Click to expand...
Click to collapse
Maybe I misunderstand, but why you say there isn't gingerbread for OB? We have different version of Ginger, as the 20N and the 20B. And also we have source code from LG of 20N.

skapez said:
Maybe I misunderstand, but why you say there isn't gingerbread for OB? We have different version of Ginger, as the 20N and the 20B. And also we have source code from LG of 20N.
Click to expand...
Click to collapse
This is from another device. Thats why this is stated. I dont remember which exactly, but I think it wasnt even lg. So just grab a stock ROM and try to port ;-)
Sent from my LG-P970 using Tapatalk

I tryed that, but have error in V step, in compiling decompiled apks,
Can anyone help me? What I can do with that?
Code:
build .build/Phone.apk...
--------------------------------------------
cp -r Phone .build
/home/amper/PatchROM/tools/apktool b .build/Phone .build/Phone.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
/home/amper/PatchROM/p970fiesta/.build/Phone/res/values-kk/strings.xml:267: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/amper/PatchROM/p970fiesta/.build/Phone/res/values-kk/strings.xml:267: error: Unexpected end tag string
/home/amper/PatchROM/p970fiesta/.build/Phone/res/values-uk/strings.xml:268: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/amper/PatchROM/p970fiesta/.build/Phone/res/values-uk/strings.xml:269: error: Unexpected end tag string
aapt: warning: string 'badPin' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'badPuk2' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'card_title_dialing' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'card_title_on_hold' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'invalidPin' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'invalidPin2' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'menu_add' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'menu_delete' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'menu_edit' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'menu_ignore' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'mismatchPin' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'name' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'puk_requested' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'puk_unlocked' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'roaming_reenable_message' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'roaming_warning' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'save' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'simContacts_emptyLoading' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'simContacts_title' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
aapt: warning: string 'sum_carrier_select' has no default translation in /home/amper/PatchROM/p970fiesta/.build/Phone/res; found: pt_PT
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL7887371696031411068.tmp, -I, /root/apktool/framework/1.apk, -S, /home/amper/PatchROM/p970fiesta/.build/Phone/res, -M, /home/amper/PatchROM/p970fiesta/.build/Phone/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL7887371696031411068.tmp, -I, /root/apktool/framework/1.apk, -S, /home/amper/PatchROM/p970fiesta/.build/Phone/res, -M, /home/amper/PatchROM/p970fiesta/.build/Phone/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
make: *** [.build/Phone.apk] Error 1
[email protected]:/home/amper/PatchROM/p970fiesta#
UPD: go to general thread http://forum.xda-developers.com/showthread.php?t=1483332

Good News for you, the beta porting miui rom for p970 will be published at the end of Feb.

lhysun said:
Good News for you, the beta porting miui rom for p970 will be published at the end of Feb.
Click to expand...
Click to collapse
Link?
Trolling in the deep

re4lsk said:
Link?
Trolling in the deep
Click to expand...
Click to collapse
Do you understand Chinese?

lhysun said:
Do you understand Chinese?
Click to expand...
Click to collapse
Google translate does
Trolling in the deep

Related

[Q] APKTOOL error compile settings.apk

Hi,
I'm new to Android app developing.
I got an error from apktool.
All I just did is decompile JOYSettings.apk(came from CM7.2 iPhone-style ROM) with apktool(NOT apkmultitool) and edit the "strings.xml" in /res/ , just to correct the broken English made by the ROM cooker but got this error when compiling:
C:\Users\pan_2\Desktop\apk>apktool b JOYSettings.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\layout-port\device_admin_add.xml:
4: error: Error: No resource type specified (at 'background' with value '@173025
04').
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\layout-port\device_admin_settings
.xml:4: error: Error: No resource type specified (at 'background' with value '@1
7302504').
Exception in thread "main" aapt: warning: string 'add_device_admin' has no defau
lt translation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_ask_enablement_and_lasting_discovery' has no de
fault translation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_C
N
aapt: warning: string 'bluetooth_ask_lasting_discovery' has no default translati
on in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_connection_dialog_text' has no default translat
ion in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_connection_notif_message' has no default transl
ation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_connection_permission_request' has no default t
ranslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_discoverable_duration_summary' has no default t
ranslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_discoverable_duration_title' has no default tra
nslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_hid_profile_summary_connected' has no default t
ranslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_hid_profile_summary_use_for' has no default tra
nslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_is_discoverable_always' has no default translat
ion in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_profile_hid' has no default translation in C:\U
sers\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_summary_connected_to_hid' has no default transl
ation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_visibility_timeout' has no default translation
in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_visibility_timeout_summary' has no default tran
slation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'datetime_date_set_text' has no default translation in C:\
Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'datetime_time_set_text' has no default translation in C:\
Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'lock_settings_picker_title' has no default translation in
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'system_updata_info' has no default translation in C:\User
s\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
nd: [aapt, p, -F, C:\Users\pan_2\AppData\Local\Temp\APKTOOL6241782532963690871.t
mp, -I, C:\Users\pan_2\apktool\framework\1.apk, -S, C:\Users\pan_2\Desktop\apk\J
OYSettings.apk\res, -M, C:\Users\pan_2\Desktop\apk\JOYSettings.apk\AndroidManife
st.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\pan_2\AppData\Local\Temp\APKTOOL6241782532963690871.tmp, -I, C:\Users\pan_2
\apktool\framework\1.apk, -S, C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res, -M
, C:\Users\pan_2\Desktop\apk\JOYSettings.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Can someone help me please
Sorry for being a noob
U need o put framework installed in apktool
unwritten sentance
Did u include resoures.arsc in compile?
spacecaker said:
U need o put framework installed in apktool
unwritten sentance
Click to expand...
Click to collapse
Sry, not spamming, but pls tell me how please.....
Btw, I think I can use apkmultitool and decompile the apk with dependencies
Btw2, I'm not even in high school yet, so.....
Thx anyway
AashayS said:
Did u include resoures.arsc in compile?
Click to expand...
Click to collapse
No...., not in the file.
panpjp said:
Sry, not spamming, but pls tell me how please.....
Btw, I think I can use apkmultitool and decompile the apk with dependencies
Btw2, I'm not even in high school yet, so.....
Thx anyway
Click to expand...
Click to collapse
Some apk files need to read framework's structure so if it requires, u need to install framework-res. and about ur errors, maybe it's caused by missing framework-res. Try to install original framework-res by following command:
Code:
apktool if framework-res.apk
You have only two errors hope u can figure out :
Code:
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\lay out-port\device_admin_add.xml:
4: error: Error: No resource type specified (at 'background' with value '@173025
04').
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\lay out-port\device_admin_settings
.xml:4: error: Error: No resource type specified (at 'background' with value '@1
7302504').
Solution : open apk file in 7zip and copy resources.arsc to the decompiled dir . Now compile
| Google+ |
As devilsking stated above,there are just 2 errors and could solved by installing the right framework maybe.
Code:
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\lay out-port\device_admin_add.xml:
4: error: Error: No resource type specified (at 'background' with value '@173025
04').
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\lay out-port\device_admin_settings
.xml:4: error: Error: No resource type specified (at 'background' with value '@1
7302504').
Caused by ids/values as stated (cant say much because the apk is not provided by you).
The rest of the errors are caused because of not having the exact translations throughout all the languages that the roms supports.
---------- Post added at 08:58 PM ---------- Previous post was at 08:57 PM ----------
AashayS said:
Solution : open apk file in 7zip and copy resources.arsc to the decompiled dir . Now compile
| Google+ |
Click to expand...
Click to collapse
-_- maybe you could point out where resources.arsc is located when an apk is decompiled?
Classes.dex gets decompiled into smali files and resources.arsc gets decompiled into xml files when an apk is decompiled.
devilsking said:
Some apk files need to read framework's structure so if it requires, u need to install framework-res. and about ur errors, maybe it's caused by missing framework-res. Try to install original framework-res by following command:
Code:
apktool if framework-res.apk
You have only two errors hope u can figure out :
Code:
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\lay out-port\device_admin_add.xml:
4: error: Error: No resource type specified (at 'background' with value '@173025
04').
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\lay out-port\device_admin_settings
.xml:4: error: Error: No resource type specified (at 'background' with value '@1
7302504').
Click to expand...
Click to collapse
Figured it out before you posted Thanks anyway.
P.S. I hitted Thx already.
Thanks!
Modulüs said:
Solution : open apk file in 7zip and copy resources.arsc to the decompiled dir . Now compile
| Google+ |
Click to expand...
Click to collapse
Thanks so much, but if I am editing XML files, especially in the values folder, will this still be OK. (Isn't the values folder the decompiled .arsc file?)
Hi, i have a big problem. I'm trying to edit settings.apk, i copied the original Resources-arsc in the folder because without that file was not working, then recompiled... everything seems to work, but files inside APK are not encoded!!!!! in fact the apk doens't work anymore...
I've tried to google it but didn't find any help...
panpjp said:
Hi,
I'm new to Android app developing.
I got an error from apktool.
All I just did is decompile JOYSettings.apk(came from CM7.2 iPhone-style ROM) with apktool(NOT apkmultitool) and edit the "strings.xml" in /res/ , just to correct the broken English made by the ROM cooker but got this error when compiling:
C:\Users\pan_2\Desktop\apk>apktool b JOYSettings.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\layout-port\device_admin_add.xml:
4: error: Error: No resource type specified (at 'background' with value '@173025
04').
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\layout-port\device_admin_settings
.xml:4: error: Error: No resource type specified (at 'background' with value '@1
7302504').
Exception in thread "main" aapt: warning: string 'add_device_admin' has no defau
lt translation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_ask_enablement_and_lasting_discovery' has no de
fault translation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_C
N
aapt: warning: string 'bluetooth_ask_lasting_discovery' has no default translati
on in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_connection_dialog_text' has no default translat
ion in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_connection_notif_message' has no default transl
ation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_connection_permission_request' has no default t
ranslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_discoverable_duration_summary' has no default t
ranslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_discoverable_duration_title' has no default tra
nslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_hid_profile_summary_connected' has no default t
ranslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_hid_profile_summary_use_for' has no default tra
nslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_is_discoverable_always' has no default translat
ion in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_profile_hid' has no default translation in C:\U
sers\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_summary_connected_to_hid' has no default transl
ation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_visibility_timeout' has no default translation
in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_visibility_timeout_summary' has no default tran
slation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'datetime_date_set_text' has no default translation in C:\
Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'datetime_time_set_text' has no default translation in C:\
Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'lock_settings_picker_title' has no default translation in
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'system_updata_info' has no default translation in C:\User
s\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
nd: [aapt, p, -F, C:\Users\pan_2\AppData\Local\Temp\APKTOOL6241782532963690871.t
mp, -I, C:\Users\pan_2\apktool\framework\1.apk, -S, C:\Users\pan_2\Desktop\apk\J
OYSettings.apk\res, -M, C:\Users\pan_2\Desktop\apk\JOYSettings.apk\AndroidManife
st.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\pan_2\AppData\Local\Temp\APKTOOL6241782532963690871.tmp, -I, C:\Users\pan_2
\apktool\framework\1.apk, -S, C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res, -M
, C:\Users\pan_2\Desktop\apk\JOYSettings.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Can someone help me please
Sorry for being a noob
Click to expand...
Click to collapse
Try this process:
1. Open apk file in 7zip
2.Copy RESSOURCES.arsc and META-Inf to the decompiled dir
3. Recompile your Settings apk.
I use apktool but that's true for apkmultitool, VTS, anroidMultitool ....

I Need Help, Will Give Thanks, Please Help Me Change Popup Menu Text Color To White

{
"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"
}
PLEASE HELP ME, I WILL GIVE THANKS, IT WOULD MEAN ALOT, AND PLEASE DONT
SEND ME LINKS TO POST, I HAVE SEARCHED AND TRIED EVERYTHING
THE ROM IS XWLPG FOR I9100 (SGS2) AND THE FRAMEWORK INCLUDES JKAY (IF IT MATTERS),, and when editing the styles.xml and you recompile, to i use old resources.arsc from the old untouched framework-res.apk, or should i just use the new one, or does it not matter?​
Well styles is in values folder which is in resources. So.....if you change styles xml how do you think your changes will take effect if you use the original one?
Depending how jkay implemented the text color though you may find changing that in styles also gives you white text on white backgrounds elsewhere in the rom.
Oh and theres no need FOR THE CAPS!
Sent from my GT-I9100 using Tapatalk 2
that didnt help me well, i will try and not use original resources.arsc file,
and some guides say to delete it before recompile (Wanam_Apk_Manager_ICS),
will the apk still work if i remove that file?
You need to think about what your doing rather than just doing it.
You decompile...change some files.
Then when you compile it says "do you want me to be helpful boss and keep the files you didnt mod?".
So you say "yes please that would be very kind my good sir" and it creates the keep folder. From this folder you delete any files you modded. So if you modded styles you need to delete resources (as its in the values folder that creates resources).
Now it compiles the files named in keep folder and says "hang on boss, I dont have a resources file! I best make one from the modded values files!"
So it uses your values folder to create the new resources and keeps everything else from the original apk.
Make sense?
Alternatively just use apktool on its own instead of apkmanager. No questions about keeping files
Sent from my GT-I9100 using Tapatalk 2
what tool are you using, mine doesn't make a resources.arsc out of my values, maybe because i get an error, but for some reason it lets me finsish up work in the keep folder, than at the end the new apk, has no resources.arsc inside, i knew this could never be, please upload the tool your using for me
You messed up styles then by the sounds of it. Read your log file. It will tell you what the error is
Sent from my GT-I9100 using Tapatalk 2
Try textappearance.holo.large (add an item for text color to that style to stop it inheriting from parent...)
If that's the right one create a new style/textappearance, locate the style for the dialog/popup and direct it towards your textappearance instead of the one its using. That would *I think* work and also prevent any color issues.
Resources.arsc contains styles so you can't delete that if you're making changes...
Sent from my GT-I9100 using xda premium
these error's happend without me even editing a thing, stock framework-res.apk deodexed only, and i get these error's i think there i the tool?
how do i fix
You have a broken .9 file....
Tw_ab_transparent_dark_holo.9.png
And your plurals file is wrong at line 79. You need to replace "$d of $d" with "%1$d of %2$d" in all the plurals mentioned at the top of the log.
Sent from my GT-I9100 using Tapatalk 2
what wrong with the plurals.xml ? i tried editing line 79. something
ok i get this now when i compile after deleting that png image
--------------------------------------------------------------------------
|Thu 06/28/2012 -- 15:53:11.32|
--------------------------------------------------------------------------
'mode' is not recognized as an internal or external command,
operable program or batch file.
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b22)
Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode, sharing)
'xcopy' is not recognized as an internal or external command,
operable program or batch file.
'xcopy' is not recognized as an internal or external command,
operable program or batch file.
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rGB\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rGB\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rUS\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rUS\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-es\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-es\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-pt\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-pt\plurals.xml:79: error: Found tag </item> where </plurals> is expected
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: sr
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: sr
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB es pt
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\ALIAL-~1\AppData\Local\Temp\APKTOOL6229869327544781716.tmp, -x, -S, C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res, -M, C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\ALIAL-~1\AppData\Local\Temp\APKTOOL6229869327544781716.tmp, -x, -S, C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res, -M, C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
ok i have fixed the plurals problem
and im still getting the same mistake
--------------------------------------------------------------------------
|Thu 06/28/2012 -- 16:09:39.63|
--------------------------------------------------------------------------
'mode' is not recognized as an internal or external command,
operable program or batch file.
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b22)
Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode, sharing)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: sr
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: sr
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB es pt
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rGB\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rGB\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rUS\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rUS\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-es\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-es\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-pt\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-pt\plurals.xml:79: error: Found tag </item> where </plurals> is expected
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\ALIAL-~1\AppData\Local\Temp\APKTOOL3759429166766336930.tmp, -x, -S, C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res, -M, C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\ALIAL-~1\AppData\Local\Temp\APKTOOL3759429166766336930.tmp, -x, -S, C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res, -M, C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
You meed to fix it in not just Values but in Values-en-rGB etc etc. Just look at the log. It tells you which folder translations are wrong also
Sent from my GT-I9100 using Tapatalk 2
please include more detail, be more specific
There is more than one values folder. The item i said need changing needs changing in ALL plurals files not just one. I cant give more detail than that as there isnt any.
You need a new apktool to stop it happening in future. Googling "line 79 plurals error" found one immediately.
Sent from my GT-I9100 using Tapatalk 2
Hello,
i don't know if this could be helpful but Vertumus had the same problem with his theme ICS DOMINATION. Maybe if you asked him he could give his opinion.
thanks man, this is great, i am now compiling and decompile apks, liked it used to be
on gb, great now that that's covered, let talk about changing that font color
anyone know how to change popup menu txt colors?
any skilled theme rs out there, please
android_isda_**** said:
any skilled theme rs out there, please
Click to expand...
Click to collapse
This guy already told you how....
m1keyb said:
Try textappearance.holo.large (add an item for text color to that style to stop it inheriting from parent...)
If that's the right one create a new style/textappearance, locate the style for the dialog/popup and direct it towards your textappearance instead of the one its using. That would *I think* work and also prevent any color issues.
Resources.arsc contains styles so you can't delete that if you're making changes...
Click to expand...
Click to collapse
By the way, before you said you fixed compiling with the broken .9 by deleting it. If you push a framework-res with a missing image and something tries to use it you will get a reboot.
Sent from my GT-I9100 using Tapatalk 2
i just copied it using winrar from original ,
street smarts
yes but i still need to know the file that contains it, and if i know that
what stopping me from just adding a normal color in hex code, all i need to
know is its location, witch file, what line???

[Q]Can't Compile Settings.apk

Someone Please Help me, I Can't Compile my SecSettings.apk
Here the Log :
[*] "E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings"
recompiling "E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings"...
I: Smaling...
I: Building resources...
aapt: warning: string 'bluetooth_tethering_cannot_connect_while_connected_to_wifi' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: bg cs da de el en_US es_ES es_US et fi fr ga hr hu is it kk ko lt lv mk nb nl pl pt_PT ro ru sk sl sr sv tr uk
aapt: warning: string 'lgt_service_global_auto_roaming_call_customcenter_summary_nocall' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: de es_ES fr it pl ru
aapt: warning: string 'onscreen_keypad' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: bg cs da de el en_US es_ES es_US et fi fr ga hr hu is it kk ko lt lv mk nb nl pl pt_PT ro ru sk sl sr sv tr uk
aapt: warning: string 'sdcard_code_size_label' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: ru
aapt: warning: string 'sdcard_data_size_label' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: ru
aapt: warning: string 'torchlight_dialog_message' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: ru
aapt: warning: string 'torchlight_dialog_title' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: ru
I: Building apk file...
The system cannot find the drive specified.
Click to expand...
Click to collapse
I use Auto Apk Tool to compile my SecSettings.apk and
I m using JB SUPRESSED ROM
Please Help me!
cyberdaitya said:
Someone Please Help me, I Can't Compile my SecSettings.apk
Here the Log :
I use Auto Apk Tool to compile my SecSettings.apk and
I m using JB SUPRESSED ROM
Please Help me!
Click to expand...
Click to collapse
All is good. Just that Auto Apk Tool can't find path where it suppose to copy compiled apk.
"The system cannot find the drive specified."
Click to expand...
Click to collapse
Do you have C:/?
P.S. Read this: http://www.miui-au.com/add-ons/apktool/
As I read this quickly I think it is explained pretty good. Just like I installed for me.
shut_down said:
All is good. Just that Auto Apk Tool can't find path where it suppose to copy compiled apk.
Do you have C:/?
P.S. Read this: http://www.miui-au.com/add-ons/apktool/
As I read this quickly I think it is explained pretty good. Just like I installed for me.
Click to expand...
Click to collapse
Still getting error aftr using this tutorial
See the Attachment...
cyberdaitya said:
Still getting error aftr using this tutorial
See the Attachment...
Click to expand...
Click to collapse
Unpack this in attachent in C:/apktool
Install Java JDK and JRE.
Install framewroks in cmd this way:
C:/apktool if framework-res.apk
C:/apktool if twframework-res.apk
Then try.
shut_down said:
Unpack this in attachent in C:/apktool
Install Java JDK and JRE.
Install framewroks in cmd this way:
C:/apktool if framework-res.apk
C:/apktool if twframework-res.apk
Then try.
Click to expand...
Click to collapse
thnxxx :good:
It's Compiling now
bt with Some error
cyberdaitya said:
thnxxx :good:
It's Compiling now
bt with Some error
Click to expand...
Click to collapse
If you get those errors do not warry:
Code:
aapt: warning: string 'bluetooth_tethering_cannot_connect_while_connecte d_to_wifi' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: bg cs da de el en_US es_ES es_US et fi fr ga hr hu is it kk ko lt lv mk nb nl pl pt_PT ro ru sk sl sr sv tr uk
aapt: warning: string 'lgt_service_global_auto_roaming_call_customcenter _summary_nocall' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: de es_ES fr it pl ru
aapt: warning: string 'onscreen_keypad' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: bg cs da de el en_US es_ES es_US et fi fr ga hr hu is it kk ko lt lv mk nb nl pl pt_PT ro ru sk sl sr sv tr uk
aapt: warning: string 'sdcard_code_size_label' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: ru
aapt: warning: string 'sdcard_data_size_label' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: ru
aapt: warning: string 'torchlight_dialog_message' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: ru
aapt: warning: string 'torchlight_dialog_title' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: ru
After you are done do not use compiled file do this. Open apk with WINRAR, and copy resources.arsc file from compiled to original apk file. With storage compression (otherwise you could get bootloop on reboot). That way you get your file signed, no need to resign too. :angel:
shut_down said:
If you get those errors do not warry:
Code:
aapt: warning: string 'bluetooth_tethering_cannot_connect_while_connecte d_to_wifi' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: bg cs da de el en_US es_ES es_US et fi fr ga hr hu is it kk ko lt lv mk nb nl pl pt_PT ro ru sk sl sr sv tr uk
aapt: warning: string 'lgt_service_global_auto_roaming_call_customcenter _summary_nocall' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: de es_ES fr it pl ru
aapt: warning: string 'onscreen_keypad' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: bg cs da de el en_US es_ES es_US et fi fr ga hr hu is it kk ko lt lv mk nb nl pl pt_PT ro ru sk sl sr sv tr uk
aapt: warning: string 'sdcard_code_size_label' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: ru
aapt: warning: string 'sdcard_data_size_label' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: ru
aapt: warning: string 'torchlight_dialog_message' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: ru
aapt: warning: string 'torchlight_dialog_title' has no default translation in E:\S Advance\Auto Apk tool\_INPUT_APK\SecSettings\res; found: ru
After you are done do not use compiled file do this. Open apk with WINRAR, and copy resources.arsc file from compiled to original apk file. With storage compression (otherwise you could get bootloop on reboot). That way you get your file signed, no need to resign too. :angel:
Click to expand...
Click to collapse
Working nOw..............
:laugh:
Thnx.....:good:
I'm having some errors when recompile. If i change the .png sizes, i have to do something else or just replace it?
The error is mainly in public.xml
...
C:\apktool\framework-res\res\values\public.xml:8017: error: Public symbol drawab
le/zzzzzzzzz_pcw_btn_icon_unlock_normal declared here is not defined.
C:\apktool\framework-res\res\values\public.xml:8018: error: Public symbol drawab
le/zzzzzzzzz_pcw_btn_icon_unlock_press declared here is not defined.
...
Click to expand...
Click to collapse
yudroid said:
I'm having some errors when recompile. If i change the .png sizes, i have to do something else or just replace it?
The error is mainly in public.xml
Click to expand...
Click to collapse
If you changed Png9 you need to follow rules of changing it.
http://developer.android.com/tools/help/draw9patch.html
shut_down said:
If you changed Png9 you need to follow rules of changing it.
http://developer.android.com/tools/help/draw9patch.html
Click to expand...
Click to collapse
All the png's i replaced was from a working theme. I think all 9.png are ok but i'll check this.
Thank you.
yudroid said:
All the png's i replaced was from a working theme. I think all 9.png are ok but i'll check this.
Thank you.
Click to expand...
Click to collapse
And it need to be same resolution. HDPI for HDPI XHDPI for XHDPI etc...
shut_down said:
And it need to be same resolution. HDPI for HDPI XHDPI for XHDPI etc...
Click to expand...
Click to collapse
Now i tried the same png image. I opened in Photoshop, changed the color and saved it in png. It doesn't compile.
HTML:
C:\Users\Yuri\Downloads\APK-Multi-Tool\other\..\projects\SystemUI.apk\res\values\public.xml:652: error: Public entry identifier 0x7f02026c entry index is larger than available symbols (index 620, total symbols 133).
C:\Users\Yuri\Downloads\APK-Multi-Tool\other\..\projects\SystemUI.apk\res\values\public.xml:652: error: Public symbol drawable/APKTOOL_DUMMY_026c declared here is not defined.
C:\Users\Yuri\Downloads\APK-Multi-Tool\other\..\projects\SystemUI.apk\res\values\public.xml:18: error: Public symbol drawable/alert_bar_background declared here is not defined.
The errors when i use APK-Multi-Tool
Think i found the problem. The .9.png. I'll fix them and try again.
@shut_down hey man, the problem was the .9.png... sorry for everything. And thanks a lot.
yudroid said:
@shut_down hey man, the problem was the .9.png... sorry for everything. And thanks a lot.
Click to expand...
Click to collapse

UOT kitchen SHTF problem pls help me

Hello guys.i had a SHTF problem with the uot kitchen,i used a galaxy ace s5830i with a mindcr rom.
Can anyone help me
Thanks
ERROR
Code:
Error log: UOT-02-05-18-02-1-SHTF.txt
Decompiling framework-res.apk UOT-02-05-18-02-1
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
Decompiling SystemUI.apk UOT-02-05-18-02-1
I: Framework installed to: /root/apktool/framework/1.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /root/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds!
at sun.awt.image.ByteInterleavedRaster.setDataElements(ByteInterleavedRaster.java:546)
at java.awt.image.BufferedImage.setRGB(BufferedImage.java:988)
at brut.androlib.res.decoder.Res9patchStreamDecoder.drawVLine(Res9patchStreamDecoder.java:99)
at brut.androlib.res.decoder.Res9patchStreamDecoder.decode(Res9patchStreamDecoder.java:58)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:102)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:68)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:169)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:113)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)
Compiling framework-res.apk UOT-02-05-18-02-1
W: Could not find sources
I: Building resources...
aapt: warning: string 'Keypad_cancel' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'keyguard_pin_accepted' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'lockscreen_pin_locked_message' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'lockscreen_ruim_pin_blocked' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'lockscreen_sim_pin_blocked' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'permdesc_accessUsb' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: en_GB nb
aapt: warning: string 'permdesc_readOwnerData' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'permdesc_writeOwnerData' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'permlab_accessUsb' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: en_GB nb
aapt: warning: string 'permlab_readOwnerData' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'permlab_writeOwnerData' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'status_bar_clear_all_button' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'status_bar_latest_events_title' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'status_bar_no_notifications_title' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'status_bar_ongoing_events_title' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'stopSelectingText' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'zzz_dual_clock_city_local' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'zzz_dual_clock_city_seoul' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'zzz_fake_call_activated' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'zzz_glass_lock_help_text_1' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'zzz_glass_lock_help_text_2' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'zzz_puzzle_lock_help_text_1' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'zzz_puzzle_lock_help_text_2' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'zzz_skt_missing_sim_message1' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'zzz_skt_missing_sim_message2' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'zzz_smart_unlock_help_text_1' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'zzz_smart_unlock_help_text_2' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: warning: string 'zzz_smart_unlock_sorry_text' has no default translation in /home/uotftp/port5/data/working_dir/UOT-02-05-18-02-1/fw_dec/res; found: is_IS
aapt: /lib/libz.so.1: no version information available (required by aapt)
I: Building apk file...
aapt: /lib/libz.so.1: no version information available (required by aapt)
Compiling SystemUI.apk UOT-02-05-18-02-1
I: Framework installed to: /home/uotftp/apktool/framework/1.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:162)
at brut.androlib.Androlib.build(Androlib.java:179)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:158)
... 4 more

[GUIDE] [JB] GRID LIDROID [wanam source]

Hello uncle2 kece' . .
i'll share guide how tu add lidroid toggles to grid :cyclops:
{
"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"
}
first u'r systemUI.apk suport Lidroid Toggles port by wanam
http://forum.xda-developers.com/showthread.php?t=1876384
http://forum.xda-developers.com/showthread.php?t=2032614
or my GUIDE here :
http://forum.xda-developers.com/showthread.php?t=2551787
REQUIREMENT:
- Brain
- Apktool/Apkmanager,etc
- Know how to decompile/recompiling Apk file
step:
Decompile SystemUI.apk
Downlod file Grid_file2.rar - 1.91 MB
extrack smali to SystemUI/smali/com/wanam/systemui/quickpanel/HERE
Recompile,
Push SystemUI.apk TO System/app
push LidroidSettings.apk TO System/app
push Lidroid-res.apk TO System/framework
reboot
Tested Samsung galaxy young 2 GT-S6310
thnk's :
Allah SWT
credit :
Wanam
iLLegaLDevS hit indonesian Awesome Development Team :highfive:
:cyclops:Sorry, bad English :cyclops:
up
this doesn't add those tabs, does it? (doesn't look like it, there's no xml editing etc)
doesn't work, is there anything else to be done besides replacing smali files? (maybe id's or something)
i found the following error in the logcat:
Code:
E/AndroidRuntime( 575): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.content.res.Resources$NotFoundException: Resource ID #0x503001b
how can i find out what this id has to be?
mjz2cool said:
this doesn't add those tabs, does it? (doesn't look like it, there's no xml editing etc)
doesn't work, is there anything else to be done besides replacing smali files? (maybe id's or something)
i found the following error in the logcat:
Code:
E/AndroidRuntime( 575): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.content.res.Resources$NotFoundException: Resource ID #0x503001b
how can i find out what this id has to be?
Click to expand...
Click to collapse
0x503001b hex public lidroid <public type="layout" name="lidroid_grid_scrollview" id="0x0503001b" />
use my lidroid-res.apk sir, if not. decompile my lidroid-res.apk find,n push "lidroid_grid_scrollview.xml" in SystemUI.apk,
find hex public "lidroid_grid_scrollview" and replace to 0x503001b
good Luck!!
#sorry bad english
dugeriss said:
0x503001b hex public lidroid <public type="layout" name="lidroid_grid_scrollview" id="0x0503001b" />
use my lidroid-res.apk sir, if not. decompile my lidroid-res.apk find,n push "lidroid_grid_scrollview.xml" in SystemUI.apk,
find hex public "lidroid_grid_scrollview" and replace to 0x503001b
good Luck!!
#sorry bad english
Click to expand...
Click to collapse
so i just have to add the 2 smali folders in the smali folder in my systemui (com and wanam into systemui.apk/smali) and use your lidroid-res.apk?
and where is this id? should it be in lidroid-res?
ah, now i see, i have to use the lidroid-res in the grid_file2.rar, thanks anyway!
---------- Post added at 02:29 PM ---------- Previous post was at 02:07 PM ----------
got it working now, but i want to get 3 toggles on a row, how can i do that?
after decompiling lidroid-res.apk and modifying it, i can recompile it, but i get the problem it can't find the resource with id 0x5030004, do you know what i should put in the akptool.yml file?
mjz2cool said:
after decompiling lidroid-res.apk and modifying it, i can recompile it, but i get the problem it can't find the resource with id 0x5030004, do you know what i should put in the akptool.yml file?
Click to expand...
Click to collapse
here sir
http://forum.xda-developers.com/showthread.php?p=31991217
dugeriss said:
here sir
http://forum.xda-developers.com/showthread.php?p=31991217
Click to expand...
Click to collapse
thanks! now i can translate the whole thing, and btw, do you know how i can get 3 toggles instead of 4 a row?
mjz2cool said:
thanks! now i can translate the whole thing, and btw, do you know how i can get 3 toggles instead of 4 a row?
Click to expand...
Click to collapse
Sorry sir i can't ,.
Last time im try, n lost some toggles,
I cant fix it
dugeriss said:
Sorry sir i can't ,.
Last time im try, n lost some toggles,
I cant fix it
Click to expand...
Click to collapse
can you tell me how you tried to do it?
mjz2cool said:
can you tell me how you tried to do it?
Click to expand...
Click to collapse
Powerwidget.smali
Dowoload attachmend from i get source (read in bottom my firs post )
Open powerwidget.smali
Find 0x5 change 0x3
dugeriss said:
Powerwidget.smali
Download attachmend from i get source (read in bottom my firs post )
Open powerwidget.smali
Find 0x5 change 0x3
Click to expand...
Click to collapse
Or Here
http://forum.xda-developers.com/showpost.php?p=44182527&postcount=38&nocache=1&z=1694951676763594
dugeriss said:
Powerwidget.smali
Dowoload attachmend from i get source (read in bottom my firs post )
Open powerwidget.smali
Find 0x5 change 0x3
Click to expand...
Click to collapse
doesn't seem to change anything for me.
mjz2cool said:
doesn't seem to change anything for me.
Click to expand...
Click to collapse
read ,or use powerwidget.smali from here ,.
http://forum.xda-developers.com/showthread.php?t=2406596
Hehe.. Worked bro..
bamzzz said:
Hehe.. Worked bro..
Click to expand...
Click to collapse
Thanks om for feedback :highfive: toss
Help Please
Dear developers....
I'm continuously getting these error for compiling SystemUI.apk. I just decompiled my stock SystemUI.apk in several ways like apktool, AndroidMultitool and few other methods. all of them successfully decompile. But when i want to recompile it shows the following errror every time. even i dont modify my SystemUI.apk it showsthe same errror. Please help me.
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_no_year' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'am' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_april' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_august' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_december' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_february' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_january' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_july' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_june' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_march' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_may' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_november' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_october' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_september' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_september' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'pm' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'quickpanel_data_roaming_disable_toast' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: ar az bg ca cs da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'quickpanel_data_roaming_enable_toast' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: ar az bg ca cs da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'today' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'tomorrow' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'yesterday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarNotificationText').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_notification_panel_title.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarNotificationText').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_notification_panel_title.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarNotificationText').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsContents').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:10: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsContents').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:16: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsContents').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:22: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:26: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:28: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:29: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsContents').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:32: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:33: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:34: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:35: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsContents').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:37: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Shampod\AppData\Local\Temp\APKTOOL7479172 192445785852.tmp, -0, arsc, -I, C:\Users\Shampod\apktool\framework\1.apk, -S, C:\AndroidMultitool\Decompiled_apk\SystemUI\res, -M, C:\AndroidMultitool\Decompiled_apk\SystemUI\Androi dManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:353)
at brut.androlib.Androlib.buildResources(Androlib.jav a:281)
at brut.androlib.Androlib.build(Androlib.java:209)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
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, 16, --target-sdk-version, 16, -F, C:\Users\Shampod\AppData\Local\Temp\APKTOOL7479172 192445785852.tmp, -0, arsc, -I, C:\Users\Shampod\apktool\framework\1.apk, -S, C:\AndroidMultitool\Decompiled_apk\SystemUI\res, -M, C:\AndroidMultitool\Decompiled_apk\SystemUI\Androi dManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:406)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:334)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Shampod\AppData\Local\Temp\APKTOOL7479172 192445785852.tmp, -0, arsc, -I, C:\Users\Shampod\apktool\framework\1.apk, -S, C:\AndroidMultitool\Decompiled_apk\SystemUI\res, -M, C:\AndroidMultitool\Decompiled_apk\SystemUI\Androi dManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:404)
... 6 more
The system cannot find the file specified.
The system cannot find the file specified.
shampod said:
.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=49272211&postcount=4
dugeriss said:
Hello uncle2 kece' . .
i'll share guide how tu add lidroid toggles to grid :cyclops:
first u'r systemUI.apk suport Lidroid Toggles port by wanam
http://forum.xda-developers.com/showthread.php?t=1876384
http://forum.xda-developers.com/showthread.php?t=2032614
or my GUIDE here :
http://forum.xda-developers.com/showthread.php?t=2551787
REQUIREMENT:
- Brain
- Apktool/Apkmanager,etc
- Know how to decompile/recompiling Apk file
step:
Decompile SystemUI.apk
Downlod file Grid_file2.rar - 1.91 MB
extrack smali to SystemUI/smali/com/wanam/systemui/quickpanel/HERE
Recompile,
Push SystemUI.apk TO System/app
push LidroidSettings.apk TO System/app
push Lidroid-res.apk TO System/framework
reboot
Tested Samsung galaxy young 2 GT-S6310
thnk's :
Allah SWT
credit :
Wanam
iLLegaLDevS hit indonesian Awesome Development Team :highfive:
:cyclops:Sorry, bad English :cyclops:
Click to expand...
Click to collapse
How to make it transparent ?
Ikhsan_novindri said:
How to make it transparent ?
Click to expand...
Click to collapse
decompile lidroid-res.apk/res/power_widget_button.xml
find background, n whatever u want

Categories

Resources