[Q] Error during gmail.apk compilation - Desire HD Q&A, Help & Troubleshooting

Hey,
Can anyone help me with the following issue:
[*] C:\AutoAPKTool2.0.1\_INPUT_APK\Gmail
recompiling C:\AutoAPKTool2.0.1\_INPUT_APK\Gmail...
I: Smaling...
I: Building resources...
aapt: warning: string 'read_attachment_preview_desc' has no default translation in C:\AutoAPKTool2.0.1\_INPUT_APK\Gmail\res; found: de de_DE
aapt: warning: string 'read_attachment_preview_label' has no default translation in C:\AutoAPKTool2.0.1\_INPUT_APK\Gmail\res; found: de de_DE
I: Building apk file...
Genuine gmail apk, I modified nothing (I want to), but when I recompile its own genuine resources, it gives this error. Anyone knows what the problem is?
Thanks.

Related

[MOD] How to disable Autorotation on Phone.apk

Hi guys, that's me again!
Since i have received lots of requests on how to disable the annoying auto-rotation in Phone, i decided to share with you what i did in order to fix this issue!
Decompile Phone.apk
-Open up in your TextEditor smali\com\android\phone\AccelerometerListener.smali
-Search for this method signature: .method private onSensorEvent(DDD)V
-Find this portion of code:
Code:
.line 130
.local v2, orientation:I
:goto_1
invoke-direct {p0, v2}, Lcom/android/phone/AccelerometerListener;->setOrientation(I)V
goto :goto_0
-Change as the following:
Code:
.line 130
.local v2, orientation:I
:goto_1
goto :goto_0
-Recompile the apk & that's it!!!
Note:
I have just realized that autorotation is enabled only in the modded Phone.apk with callrec feature!
On the stock Phone.apk it is always in Portrait mode while Phone Call!
Therefore this mod is for those people who want to disable autorotation in a simple way!
Thanks a lot for the fix. I'll be sure to try it as soon as I get home from work.
Will this be available in ur kitchen app? Love ur work btw ;-)
Sent from my GT-I9100 using XDA App
Thank you Leo, i have installed the Phone Mod from your App, and now autorotation is disable in the phone app.
Hi Leo,
I'm a user and fan of Revolution ROM. I do have the modified phone.apk with callrec so this autorotation "bug" has always annoyed me.
But i'm kind of a noob on decompiling/compiling things, i did a search and found the tool APKTool (http://code.google.com/p/android-apktool/)
Do you recommend it to do this job?
I'm trying to get it to work but i don't know how to install the framework to proper decompile my phone.apk. Where do i get a functional framework.apk for your ROM?
Thank you
EDIT: Can't you put a file on the Kitchen to install this Phone.apk including this auto-rotation disabler tweak?
fabioascoelho said:
Hi Leo,
I'm a user and fan of Revolution ROM. I do have the modified phone.apk with callrec so this autorotation "bug" has always annoyed me.
But i'm kind of a noob on decompiling/compiling things, i did a search and found the tool APKTool (http://code.google.com/p/android-apktool/)
Do you recommend it to do this job?
I'm trying to get it to work but i don't know how to install the framework to proper decompile my phone.apk. Where do i get a functional framework.apk for your ROM?
Thank you
EDIT: Can't you put a file on the Kitchen to install this Phone.apk including this auto-rotation disabler tweak?
Click to expand...
Click to collapse
I will, however you can use both apktool or apk-manager. Also you can use smali/baksmali tools directly.
LeoMar75 said:
I will, however you can use both apktool or apk-manager. Also you can use smali/baksmali tools directly.
Click to expand...
Click to collapse
Thanks for the info. I tried to use apktool but I get I lot of errors when decompiling. I installed the system/framework/framework-res.apk from your ROM to apktools but I still get this errors. There is another framework I should use?
Thanks!
Sent from my GT-I9100 using Tapatalk
fabioascoelho said:
Thanks for the info. I tried to use apktool but I get I lot of errors when decompiling. I installed the system/framework/framework-res.apk from your ROM to apktools but I still get this errors. There is another framework I should use?
Thanks!
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
twframework-res.apk as well.
Sent from my GT-I9100 using XDA App
Mekrel said:
twframework-res.apk as well.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Thanks!
But i still got one error. This could cause me trouble when recompiling?
"C:\apktool>apktool d Phone.apk phone
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Fabio\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi-v4/red_selected.9.png". Renaming it to *.png.
I: Loading resource table from file: C:\Users\Fabio\apktool\framework\2.apk
I: Loaded.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
C:\apktool>"
I think i will lose "red_selected.9.png" when i compile it again, probably some button image will be broken on my new Phone.apk
Can you guys tell me what to do?
Hi I've used apktool
with no problems
then I've signed the apk
but when I replace phone.apk from /system/app I get FC
Also I've seen the size has changed
Can you modiy my phone.apk (see atached) It's from litening 6.1
Also how I have to install it?
can I use root explorer to replace it?
rodries said:
Hi I've used apktool
with no problems
then I've signed the apk
but when I replace phone.apk from /system/app I get FC
Also I've seen the size has changed
Can you modiy my phone.apk (see atached) It's from litening 6.1
Also how I have to install it?
can I use root explorer to replace it?
Click to expand...
Click to collapse
You shouldn't sign a system apk, just compile with apktool then open the new Phone.apk and place inside it the META-INF folder and AndroidManifest.xml from the original Phone.apk.
fabioascoelho said:
Thanks!
But i still got one error. This could cause me trouble when recompiling?
W: Cant find 9patch chunk in file: "drawable-hdpi-v4/red_selected.9.png". Renaming it to *.png.[/B]
Click to expand...
Click to collapse
I have the same warning @ decompiling.
When recompiling:
ERROR: Failure processing PNG image D:\apkm\Phone.apk\res\drawable-hdpi\red_selected.9.png
and lots of messages like:
D:\apkm\Phone.apk\res\values\public.xml:382: error: Public symbol drawable/btn_dial_selected declared here is not defined.
...
I don't have this problems when i tried with the original phone.apk, only the one with recording possibility give this problems.
Can it be that for the apk with call rec function i must use another twframework-res.apk and framework-res.apk file?
cannaertsb said:
I have the same warning @ decompiling.
When recompiling:
ERROR: Failure processing PNG image D:\apkm\Phone.apk\res\drawable-hdpi\red_selected.9.png
and lots of messages like:
D:\apkm\Phone.apk\res\values\public.xml:382: error: Public symbol drawable/btn_dial_selected declared here is not defined.
...
I don't have this problems when i tried with the original phone.apk, only the one with recording possibility give this problems.
Can it be that for the apk with call rec function i must use another twframework-res.apk and framework-res.apk file?
Click to expand...
Click to collapse
Guys most of themers here, i have to admit, don't even know the ABC..... They don't know how to handle .9.png image format and that's really bad!
They need to use Draw9Patch tool from Android SDK, instead they just photoshop .9.png images and by doing this, they will remove information about padding and streatching horizontal/vertical used by android.
It is very sad, but trust me 90% of themes contain bad .9.png patches....
Phone with call rec is completly wrong..... bad resources ID, bad .9.png and so on!
I will rebuild the entire mod over the original phone.apk because all the phone rec mod available on this forum are just ****... text overlapping problem and so on....
Mekrel said:
You shouldn't sign a system apk, just compile with apktool then open the new Phone.apk and place inside it the META-INF folder and AndroidManifest.xml from the original Phone.apk.
Click to expand...
Click to collapse
I've done 2 tests
1 - open the new Phone.apk and place inside it the META-INF folder and AndroidManifest.xml from the original Phone.apk. I've replaced file from in recovery mode (adb push), clear dalvik & cache then I get bootloop.
Then I've tested zipalign 4 the Phone.apk, bootloop again
2 - open original Phone.apk and place inside classes.dex from the new Phone.apk.
I've replaced file from in recovery mode (adb push), clear dalvik & cache then Autorotation is not disabled, but the phone boots fine and all is working with no problems
Any clue ?
I've seen more setOrientation code but I'm not sure if I have to clear that lines too.
Edit:
I've commentted all invokes to setOrientation methods but I have the same results
LeoMar75 said:
Guys most of themers here, i have to admit, don't even know the ABC..... They don't know how to handle .9.png image format and that's really bad!
They need to use Draw9Patch tool from Android SDK, instead they just photoshop .9.png images and by doing this, they will remove information about padding and streatching horizontal/vertical used by android.
It is very sad, but trust me 90% of themes contain bad .9.png patches....
Phone with call rec is completly wrong..... bad resources ID, bad .9.png and so on!
I will rebuild the entire mod over the original phone.apk because all the phone rec mod available on this forum are just ****... text overlapping problem and so on....
Click to expand...
Click to collapse
Thank you so much Leo! You are the best.
That will be much appreciated.
Sent from my GT-I9100 using Tapatalk
I decompiled it, and all worked well,
removed the line,
but when trying to build it:
apktool b Phone Phone.apk
it's starting to do the job, but after awhile it adds few lines saying:
aapt: warning: string 'NetworkMessage_Cannot_Receive_VideoCalls' has no default
translation in C:\iAndroid\decomps\Phone\res; found: bg cs da de el es es_US et
fi fr ga hr hu is it ko lt lv nl no pl pt ro ru sk sl sr sv tr uk
aapt: warning: string 'NetworkMessage_PhoneOff_OutOf3gCoverage' has no default t
ranslation in C:\iAndroid\decomps\Phone\res; found: bg cs da de el es es_US et f
i fr ga hr hu is it ko lt lv nl no pl pt ro ru sk sl sr sv tr uk
aapt: warning: string 'SdcardNotMounted' has no default translation in C:\iAndro
id\decomps\Phone\res; found: ko zh_HK zh_TW
aapt: warning: string 'barred_tryvoice' has no default translation in C:\iAndroi
d\decomps\Phone\res; found: bg cs da de el es_US et fi fr ga hr hu is it kk ko l
t lv nl no pl pt ro ru sk sl sr sv tr uk
aapt: warning: string 'callfailed' has no default translation in C:\iAndroid\dec
omps\Phone\res; found: zh_TW
aapt: warning: string 'callsettings_allcalls_activation' has no default translat
ion in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_activation_off' has no default tran
slation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_activation_on' has no default trans
lation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_detail_version' has no default tran
slation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_download_error' has no default tran
slation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_file_error' has no default translat
ion in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_help' has no default translation in
C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_help_info' has no default translati
on in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_last_update' has no default transla
tion in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_last_version_q' has no default tran
slation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_name_region_help_info' has no defau
lt translation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_number_region' has no default trans
lation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_number_region_sub_text' has no defa
ult translation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_reset_to_default' has no default tr
anslation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_reset_to_default_q' has no default
translation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_resetted' has no default translatio
n in C:\iAndroid\decomps\Phone\res; found: ko
and few more like these..
and then :
I: Building apk file...
and the size of the apk I get is 2.5mb as to 5mb of the original one.
what am I missing?
this is also the first time im trying to recompile something after reading this thread.
yuvalbar84 said:
I decompiled it, and all worked well,
removed the line,
but when trying to build it:
apktool b Phone Phone.apk
it's starting to do the job, but after awhile it adds few lines saying:
aapt: warning: string 'NetworkMessage_Cannot_Receive_VideoCalls' has no default
translation in C:\iAndroid\decomps\Phone\res; found: bg cs da de el es es_US et
fi fr ga hr hu is it ko lt lv nl no pl pt ro ru sk sl sr sv tr uk
aapt: warning: string 'NetworkMessage_PhoneOff_OutOf3gCoverage' has no default t
ranslation in C:\iAndroid\decomps\Phone\res; found: bg cs da de el es es_US et f
i fr ga hr hu is it ko lt lv nl no pl pt ro ru sk sl sr sv tr uk
aapt: warning: string 'SdcardNotMounted' has no default translation in C:\iAndro
id\decomps\Phone\res; found: ko zh_HK zh_TW
aapt: warning: string 'barred_tryvoice' has no default translation in C:\iAndroi
d\decomps\Phone\res; found: bg cs da de el es_US et fi fr ga hr hu is it kk ko l
t lv nl no pl pt ro ru sk sl sr sv tr uk
aapt: warning: string 'callfailed' has no default translation in C:\iAndroid\dec
omps\Phone\res; found: zh_TW
aapt: warning: string 'callsettings_allcalls_activation' has no default translat
ion in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_activation_off' has no default tran
slation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_activation_on' has no default trans
lation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_detail_version' has no default tran
slation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_download_error' has no default tran
slation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_file_error' has no default translat
ion in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_help' has no default translation in
C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_help_info' has no default translati
on in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_last_update' has no default transla
tion in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_last_version_q' has no default tran
slation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_name_region_help_info' has no defau
lt translation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_number_region' has no default trans
lation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_number_region_sub_text' has no defa
ult translation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_reset_to_default' has no default tr
anslation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_reset_to_default_q' has no default
translation in C:\iAndroid\decomps\Phone\res; found: ko
aapt: warning: string 'callsettings_allcalls_resetted' has no default translatio
n in C:\iAndroid\decomps\Phone\res; found: ko
and few more like these..
and then :
I: Building apk file...
and the size of the apk I get is 2.5mb as to 5mb of the original one.
what am I missing?
this is also the first time im trying to recompile something after reading this thread.
Click to expand...
Click to collapse
You need to set compression level to "0" in apk-manager (option 19)
but i just used apktool for this.
i didn't download apkmanager.
does it a 'must have' tool for this mission?
update: tried to use the apkmanager 4.9, set the level compression to '0'
but the log still has the same errors when compiling. even if I just decompiled and compiled the Phone.apk as is.
yuvalbar84 said:
but i just used apktool for this.
i didn't download apkmanager.
does it a 'must have' tool for this mission?
update: tried to use the apkmanager 4.9, set the level compression to '0'
but the log still has the same errors when compiling. even if I just decompiled and compiled the Phone.apk as is.
Click to expand...
Click to collapse
They are warnings, no errors
The new phone.apk is small because is compressed
the apk file is a zip so you can create a zip file and insert all content from original Phone.apk and replace clases.dex from new phone.apk
I've tested this patch but it's not working for me Autorotation is enabled
rodries said:
They are warnings, no errors
The new phone.apk is small because is compressed
the apk file is a zip so you can create a zip file and insert all content from original Phone.apk and replace clases.dex from new phone.apk
I've tested this patch but it's not working for me Autorotation is enabled
Click to expand...
Click to collapse
ahA!
thanks alot, i did it the way you said...
didn't work for me either.
too bad :\
edit: btw, i've been working at Elche for something like month, and visited Alicante and Mursa few times...
beautiful places. I miss spain

[REQUEST] de-/compile SystemUI.apk from[XXBLL3]

...i 've tried to decompile / mod / compile the SystemUI.apk
i've downloaded:
apktool1.5.1.tar.bz2
apktool-install-linux-r05-ibot.tar.bz2
from http://code.google.com/p/android-apktool/downloads/list
extract everything in ~/user/apktools/
download from I9305
SystemUI.apk
framework-res.apk
twframework-res.apk
Java:
java version "1.7.0_09"
OpenJDK Runtime Environment (IcedTea7 2.3.3) (7u9-2.3.3-0ubuntu1~12.10.1)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
[email protected]:~/apktool$ ./apktool if framework-res.apk
I: Framework installed to: /home/lamahgra/apktool/framework/1.apk
[email protected]:~/apktool$ ./apktool if twframework-res.apk
I: Framework installed to: /home/lamahgra/apktool/framework/2.apk
[email protected]:~/apktool$ ./apktool d SystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/lamahgra/apktool/framework/1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
WITHOUT ANY CHANGES
[email protected]:~/apktool$ ./apktool b SystemUI
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 /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'abbrev_wday_month_day_no_year' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'am' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_april' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_august' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_december' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_february' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_january' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_july' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_june' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_march' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_may' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_november' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_october' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_september' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_long_standalone_september' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'pm' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'today' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'tomorrow' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
aapt: warning: string 'yesterday' has no default translation in /home/lamahgra/apktool/SystemUI/res; found: mk
I: Building apk file...
the resulting apk is only 1,7mb - (orginal 2,4mb)
after replacing the SystemUI on the phone ...no Statusbar
anybody has an idea...
You have to also copy system signatures from the orignal apk,
Everything what u did is correct , now extract Metainf folder and android menefest .xml from the orignal apk and then
Go to the SystemUi/ build/apk folder and delete the androidmenefest.xml and copy/paste the metainf folder and the androidmenefest.xml here that you
Extracted earlier from the orignal apk
Now again apktool b SystemUI
Now in the dist folder you will get the final ready to use apk
you can also read here i had posted step by step process to successfully decompile , edit and compile
http://forum.xda-developers.com/showpost.php?p=35294425&postcount=172
Oh! I hade thesame problem as TS, thanks, will try it !
But I wonder one thing. With other apk's, like modding SecMms.apk for no sms conversion, then the method as TS use works just fine. Is it only SystemUI that need that special signing? Why is that?
Thanks! Be able to actually complile systemui wlll change my life
devabhishek said:
You have to also copy system signatures from the orignal apk,
Everything what u did is correct , now extract Metainf folder and android menefest .xml from the orignal apk and then
Go to the SystemUi/ build/apk folder and delete the androidmenefest.xml and copy/paste the metainf folder and the androidmenefest.xml here that you
Extracted earlier from the orignal apk
Now again apktool b SystemUI
Now in the dist folder you will get the final ready to use apk
you can also read here i had posted step by step process to successfully decompile , edit and compile
http://forum.xda-developers.com/showpost.php?p=35294425&postcount=172
Click to expand...
Click to collapse
:laugh::laugh::laugh:
Thx a lot...
tried the whole day....
worx !!!

[TUT] How to use apktool for mobile

[TUT] How to use apktool for mobile
1.)Install Apktool4.1.1.apk
2.)Download Apktool Arm.zip
3.)Extract apktool armel.zip and you will see apktool folder inside..
4.)Move apktool folder in your sdcard (not in any folder) it should be look like this sdcard/apktool
{
"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"
}
5.)Make a new folder inside the apktool folder and put your framework-res.apk and twframework-res.apk inside the new folder. it should be look like this sdcard/apktool/newfolder/framework-res.apk
6.)Open Apktool4.1.1 App and go to apktool/newfolder and click framework-res.apk and click import as framework.. (do the same with twframework-res.apk)
7.)Now you can decompile and recompile any apk you want.. just put it in apktool folder and click decompile all..
NOTE: This is for rooted phones only..
Original Thread
CREDITS
@evanlocked
and the maker of this app i dont know who he is
@op - Check PM.
del
test
okay let me test you
Good work. Sir!
Nice share....trying
nice share bro!!!!
Does not work
Shadman0 If I help U Pls Give Thanks
My Work http://forum.xda-developers.com/showthread.php?t=2521867
shadman0 said:
Does not work
Shadman0 If I help U Pls Give Thanks
My Work http://forum.xda-developers.com/showthread.php?t=2521867
Click to expand...
Click to collapse
maybe you just did something wrong everything we share here in xda is tried and tested by us before we post it in here.
Sent from my GT-S5360 using xda premium
Thanks. i'll try.
Decompiling Is Working Fine..Bt Whats Wrong With Its Recompiling...Every tym shows W:Couldnt Load File resources...etc etc
Just read the error to fix it.
Sent from my GT-S5360 using xda premium
sir can this apps edit xml files ?? thanks
yes .download any text editor to edit xml after decompile.
Sent from my GT-S5360 using xda premium
can't decompile properly
i got this error
/data/data/per.pqy.apktool/lix/jvm/java-7-
openjdk-armel/jre/bin/java: error while
loading shared libraries: libpthread.so.0:
cannot open shared object file: No such file or
directory
worked like a charm for me!!!!!
@markmellarpes
I'm having an error while recompiling
It says me that doesn't found resources file but i don't find it
Inviato dal mio GT-S5570I con Tapatalk 2
devilyuri said:
@markmellarpes
I'm having an error while recompiling
It says me that doesn't found resources file but i don't find it
Inviato dal mio GT-S5570I con Tapatalk 2
Click to expand...
Click to collapse
maybe you put something or remove somthing can you take a ss
Here is the error
W: Could not find sources
I: Building resources...
aapt: warning: string 'Keypad_cancel' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'keyguard_pin_accepted' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'lockscreen_pin_locked_message' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'lockscreen_ruim_pin_blocked' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'lockscreen_sim_pin_blocked' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'permdesc_accessUsb' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: en_GB nb
aapt: warning: string 'permdesc_readOwnerData' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'permdesc_writeOwnerData' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'permlab_accessUsb' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: en_GB nb
aapt: warning: string 'permlab_readOwnerData' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'permlab_writeOwnerData' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'status_bar_clear_all_button' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'status_bar_latest_events_title' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'status_bar_no_notifications_title' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'status_bar_ongoing_events_title' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'stopSelectingText' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'zzz_dual_clock_city_local' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'zzz_dual_clock_city_seoul' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'zzz_fake_call_activated' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'zzz_glass_lock_help_text_1' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'zzz_glass_lock_help_text_2' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'zzz_puzzle_lock_help_text_1' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'zzz_puzzle_lock_help_text_2' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'zzz_skt_missing_sim_message1' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'zzz_skt_missing_sim_message2' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'zzz_skt_usim_not_used' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'zzz_smart_unlock_help_text_1' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'zzz_smart_unlock_help_text_2' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
aapt: warning: string 'zzz_smart_unlock_sorry_text' has no default translation in /sdcard/apktool/framework/framework-res_src/res; found: is_IS
I: Building apk file...
Inviato dal mio GT-S5570I con Tapatalk 2
it is normal when you decompile framework-res.apk as long as there is a "building apk" at the end.
Sent from my GT-S5360 using xda premium

Miui v6 port on LG G Pad

How difficult (or easy) is it to make a port of miui v6 Nexus 7 ROM? Now miui for Nexus 7 is out! Would like to have it on lg gpad.
I didn't want miui on my tablet. it looks fine on a phone, but the icon looks so small on a tablet.
Sent from my LG-V500 using XDA Premium 4 mobile app
I was wondering the same thing. Miui V6 is made for tablets and would look awesome on here!!!
Sent from my LG-V500 using XDA Premium 4 mobile app
Oh yeah ME want too!
I'd like to see that☺
Sent from my LG-V500 using xda app-developers app
help each other
mattblack85 said:
How difficult (or easy) is it to make a port of miui v6 Nexus 7 ROM? Now miui for Nexus 7 is out! Would like to have it on lg gpad.
Click to expand...
Click to collapse
I think it easy, because They have the same Screen Resolution.
The Specs from the Device are similar.I'm only 15 and can only German but I'd help as much as I can.
The LG G Pad has a bad Support, but if we stick together, it may change.
Sorry for my bad english, was die hälfte ist von Google Translate.:angel:
TheDev said:
I think it easy, because They have the same Screen Resolution.
The Specs from the Device are similar.I'm only 15 and can only German but I'd help as much as I can.
The LG G Pad has a bad Support, but if we stick together, it may change.
Sorry for my bad english, was die hälfte ist von Google Translate.:angel:
Click to expand...
Click to collapse
So schlecht ist der Support nun auch nicht
Pack of DEVS
Motawa88 said:
So schlecht ist der Support nun auch nicht
Click to expand...
Click to collapse
Yes, but it can have a better support. All Samsungs Phone oder Nexus they are have 1A Support. Lots of Roms,Kernels, Mods ...
We can make a Pack of DEVS for the MIUI Port.
My English ist getting better.
TheDev said:
Yes, but it can have a better support. All Samsungs Phone oder Nexus they are have 1A Support. Lots of Roms,Kernels, Mods ...
We can make a Pack of DEVS for the MIUI Port.
My English ist getting better.
Click to expand...
Click to collapse
Yeah, because they got a bigger number of users, which sureley transfers to more mods, roms etc...
I tried to make the MIUI port for the Gpad.
I can install it through twrp recovery, but it stay's stuck in the MIUI boot screen... If anyone want to try:
https://www.dropbox.com/s/5ci0fe5z3juz9di/Miui_lg_gpad_alpha_v1.zip
mattblack85 said:
I tried to make the MIUI port for the Gpad.
I can install it through twrp recovery, but it stay's stuck in the MIUI boot screen... If anyone want to try:
https://www.dropbox.com/s/5ci0fe5z3juz9di/Miui_lg_gpad_alpha_v1.zip
Click to expand...
Click to collapse
Respect for trying, maybe ask in XDA dev chan or on MIUI forum on one of the many miui sites for help?
Qefx said:
Respect for trying, maybe ask in XDA dev chan or on MIUI forum on one of the many miui sites for help?
Click to expand...
Click to collapse
Can you help me to a site with help for porting miui v6 4.4.4? I only can find miui porting for android 4.2.2. Maybe it's really different because I can't get it to boot..
Verstuurd vanaf mijn Nexus 5 met Tapatalk
mattblack85 said:
Can you help me to a site with help for porting miui v6 4.4.4? I only can find miui porting for android 4.2.2. Maybe it's really different because I can't get it to boot..
Verstuurd vanaf mijn Nexus 5 met Tapatalk
Click to expand...
Click to collapse
Aks here: http://miui-germany.de/wp/
Or: http://en.miui.com/
I am sure they can help you better than I can!
I cant find
mattblack85 said:
Can you help me to a site with help for porting miui v6 4.4.4? I only can find miui porting for android 4.2.2. Maybe it's really different because I can't get it to boot..
Verstuurd vanaf mijn Nexus 5 met Tapatalk
Click to expand...
Click to collapse
Respect for their work, but we need a different Dev or the Miui support forum write to the need to look at it that would make it. I have no instructions for the port of miui
Is it possible to do a logcat from startup so i can see what's wrong? Still stuck in bootloop
Verstuurd vanaf mijn Nexus 5 met Tapatalk
mattblack85 said:
Is it possible to do a logcat from startup so i can see what's wrong? Still stuck in bootloop
Verstuurd vanaf mijn Nexus 5 met Tapatalk
Click to expand...
Click to collapse
Maybe you send a PM TO DEV Demetris, he has a G Pad too, but he know more about logcat I think its the Qdisplay Problem (look die Carbon rom, slimkat...)
Code:
aapt: warning: string 'user_dict_multiple_settings_title' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'user_dict_settings_titlebar' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'user_dict_single_settings_title' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'user_discard_user_menu' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'user_information_heading' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'user_market_apps_heading' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'user_market_requires_pin' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'user_max_content_rating' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'user_name_title' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'user_restrictions_heading' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'user_system_apps_heading' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'valuation' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_activity_title' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_button_clear' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_app_solve' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_app_stop' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_can_use_wifi' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_clear' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_dangerous' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_description' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_file_type_risk_apk' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_file_type_risk_installed' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_file_type_virus_apk' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_file_type_virus_installed' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_find' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_finish' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_finish_text' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_guard_provider_missed' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_installed_package' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_is_cloud_scanning' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_is_scanning' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_judge_is_virus' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_last_risk' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_last_scan_date' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_last_scan_today' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_last_scan_yesterday' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_last_time' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_last_virus' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_lib_unknow' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_lib_update_success' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_lib_update_time' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_link_wifi_to_update_lib' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_list_empty_content' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_list_item_risk' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_list_item_virus' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_list_loading_hits' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_monitoring' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_never_scaned' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_not_found_risk' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_not_found_virus' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_others_title' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_package_label_unknown' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_parpare' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_risk_button_name' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_risk_list_empty' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_risk_title' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_safe' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_settings' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_settings_title' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_start' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_stop' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_support' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_uninstalled_package' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_unknown_virus_name' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_update_lib' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_update_now' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_use_cloud' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_virus_list_empty' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_virus_title' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scan_viruslib_version' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scanner_lib_update_success' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en pl
aapt: warning: string 'virus_scanner_module' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_scanner_stop_title' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en pl
aapt: warning: string 'virus_single_app_file_date' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_single_app_install_date' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_single_riskapk_title' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_single_virus_description' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_single_virus_name' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_single_virusapk_button_clear' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'virus_single_virusapk_title' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'voice_summary' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'voice_title' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'whitelist_tab_title' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en pl
aapt: warning: string 'wifi_p2p_menu_advanced' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'wifi_p2p_menu_create_group' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'wifi_p2p_menu_remove_group' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'wimax_settings_summary' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en
aapt: warning: string 'work_done' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/Settings.apk/res; found: en pl
I: Building apk file...
I: Using Apktool 2.0.0-Beta9 on DownloadProviderUi.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
/home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/DownloadProviderUi.apk/res/values/public.xml:84: error: Error declaring public resource string/deselect_all for included package miui
/home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/DownloadProviderUi.apk/res/values/public.xml:85: error: Error declaring public resource string/select_all for included package miui
/home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/DownloadProviderUi.apk/res/values/public.xml:133: error: Public entry identifier 0x7f0a004f entry index is larger than available symbols (index 79, total symbols 79).
/home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/DownloadProviderUi.apk/res/values/public.xml:133: error: Public symbol string/xunlei_brand_url declared here is not defined.
/home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/DownloadProviderUi.apk/res/values/public.xml:134: error: Public entry identifier 0x7f0a0050 entry index is larger than available symbols (index 80, total symbols 79).
/home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/DownloadProviderUi.apk/res/values/public.xml:134: error: Public symbol string/xunlei_switch declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_1881332389238644275.tmp, p, --forced-package-id, 8, --min-sdk-version, 19, --target-sdk-version, 19, --rename-manifest-package, com.android.providers.downloads.ui, --version-code, 19, --version-name, 4.4.2-4.4.11, -F, /tmp/APKTOOL4551046962956524774.tmp, -0, arsc, -I, /home/martijn/apktool/framework/1.apk, -I, /home/martijn/apktool/framework/8.apk, -S, /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/DownloadProviderUi.apk/res, -M, /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/DownloadProviderUi.apk/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)
at brut.androlib.Androlib.buildResources(Androlib.java:363)
at brut.androlib.Androlib.build(Androlib.java:286)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_1881332389238644275.tmp, p, --forced-package-id, 8, --min-sdk-version, 19, --target-sdk-version, 19, --rename-manifest-package, com.android.providers.downloads.ui, --version-code, 19, --version-name, 4.4.2-4.4.11, -F, /tmp/APKTOOL4551046962956524774.tmp, -0, arsc, -I, /home/martijn/apktool/framework/1.apk, -I, /home/martijn/apktool/framework/8.apk, -S, /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/DownloadProviderUi.apk/res, -M, /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/DownloadProviderUi.apk/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_1881332389238644275.tmp, p, --forced-package-id, 8, --min-sdk-version, 19, --target-sdk-version, 19, --rename-manifest-package, com.android.providers.downloads.ui, --version-code, 19, --version-name, 4.4.2-4.4.11, -F, /tmp/APKTOOL4551046962956524774.tmp, -0, arsc, -I, /home/martijn/apktool/framework/1.apk, -I, /home/martijn/apktool/framework/8.apk, -S, /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/DownloadProviderUi.apk/res, -M, /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/DownloadProviderUi.apk/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)
... 6 more
I: Using Apktool 2.0.0-Beta9 on MiuiHome.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.io.FileNotFoundException: /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/MiuiHome.apk (No such file or directory)
at brut.androlib.Androlib.readMetaFile(Androlib.java:244)
at brut.androlib.Androlib.build(Androlib.java:268)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.directory.DirectoryException: java.io.FileNotFoundException: /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/MiuiHome.apk (No such file or directory)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:54)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:37)
at brut.androlib.res.util.ExtFile.getDirectory(ExtFile.java:55)
at brut.androlib.Androlib.readMetaFile(Androlib.java:240)
... 4 more
Caused by: java.io.FileNotFoundException: /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/MiuiHome.apk (No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)
at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:203)
at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:182)
at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:143)
at brut.directory.ZipExtFile.<init>(ZipExtFile.java:28)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:52)
... 7 more
I: Using Apktool 2.0.0-Beta9 on framework-res.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'media_route_chooser_grouping_done' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/framework-res.apk/res; found: pl
aapt: warning: string 'wifi_display_notification_message' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/framework-res.apk/res; found: pl
aapt: warning: string 'wifi_display_notification_title' has no default translation in /home/martijn/Downloads/Android-MIUI-Porting-kitkat/hammerhead/wip/apks/framework-res.apk/res; found: pl
I: Building apk file...
I: Using Apktool 2.0.0-Beta9 on services.jar.out
I: Checking whether sources has changed...
I: Smaling...
../jars/miui/services.jar.out/smali/com/android/server/power/PowerManagerService.smali[666,4] Invalid register: v16. Must be between v0 and v15, inclusive.
../jars/miui/services.jar.out/smali/com/android/server/power/PowerManagerService.smali[684,4] Invalid register: v16. Must be between v0 and v15, inclusive.
../jars/miui/services.jar.out/smali/com/android/server/power/PowerManagerService.smali[723,4] Invalid register: v16. Must be between v0 and v15, inclusive.
../jars/miui/services.jar.out/smali/com/android/server/power/PowerManagerService.smali[3781,4] There is already a label with that name.
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/server/power/PowerManagerService.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)
at brut.androlib.Androlib.buildSources(Androlib.java:299)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
I: Using Apktool 2.0.0-Beta9 on framework.jar.out
I: Checking whether sources has changed...
I: Smaling...
Exception in thread "main" java.lang.IllegalStateException: Cannot get the location of a label that hasn't been placed yet.
at org.jf.dexlib2.builder.Label.getLocation(Label.java:54)
at org.jf.dexlib2.builder.Label.getCodeAddress(Label.java:48)
at org.jf.dexlib2.builder.instruction.BuilderSwitchElement.getOffset(BuilderSwitchElement.java:27)
at org.jf.dexlib2.writer.InstructionWriter.write(InstructionWriter.java:405)
at org.jf.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:992)
at org.jf.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:759)
at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:214)
at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:192)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:58)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)
at brut.androlib.Androlib.buildSources(Androlib.java:299)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
I: Using Apktool 2.0.0-Beta9 on android.policy.jar.out
I: Checking whether sources has changed...
I: Smaling...
W: Could not find resources
I: Building apk file...
I: Using Apktool 2.0.0-Beta9 on telephony-common.jar.out
I: Checking whether sources has changed...
I: Smaling...
W: Could not find resources
I: Building apk file...
Zipaligned AirkanPhoneService.apk;
Zipaligned ApplicationsProvider.apk;
Zipaligned BasicDreams.apk;
Zipaligned Bluetooth.apk;
Zipaligned Browser.apk;
Zipaligned Calculator.apk;
Zipaligned Calendar.apk;
Zipaligned Camera2.apk;
Zipaligned CertInstaller.apk;
Zipaligned CloudService.apk;
Zipaligned DeskClock.apk;
Zipaligned DocumentsUI.apk;
Zipaligned DownloadProviderUi.apk;
Zipaligned Email.apk;
Zipaligned Exchange2.apk;
Zipaligned FileExplorer.apk;
Zipaligned Galaxy4.apk;
Zipaligned HoloSpiralWallpaper.apk;
Zipaligned HTMLViewer.apk;
Zipaligned KeyChain.apk;
Zipaligned LatinIME.apk;
Zipaligned LiveWallpapers.apk;
Zipaligned LiveWallpapersPicker.apk;
Zipaligned MagicSmokeWallpapers.apk;
Zipaligned MiLinkService.apk;
Zipaligned miui.apk;
Zipaligned MiuiHome.apk;
Zipaligned MiuiVideo.apk;
Zipaligned Music.apk;
Zipaligned NfcNci.apk;
Zipaligned NoiseField.apk;
Zipaligned Notes.apk;
Zipaligned PackageInstaller.apk;
Zipaligned PacProcessor.apk;
Zipaligned PaymentService.apk;
Zipaligned PhaseBeam.apk;
Zipaligned PhotoTable.apk;
Zipaligned PicoTts.apk;
Zipaligned PrintSpooler.apk;
Zipaligned Provision.apk;
Zipaligned QuickSearchBox.apk;
Zipaligned TelephonyProvider.apk;
Zipaligned ThemeManager.apk;
Zipaligned Updater.apk;
Zipaligned UserDictionaryProvider.apk;
Zipaligned VisualizationWallpapers.apk;
Zipaligned WAPPushManager.apk;
Zipaligned XiaomiAccount.apk;
Zipaligned XiaomiServiceFramework.apk;
Zipaligned BackupRestoreConfirmation.apk;
Zipaligned CalendarProvider.apk;
Zipaligned Contacts.apk;
Zipaligned ContactsProvider.apk;
Zipaligned DefaultContainerService.apk;
Zipaligned DownloadProvider.apk;
Zipaligned ExternalStorageProvider.apk;
Zipaligned FusedLocation.apk;
Zipaligned GmsCore.apk;
Zipaligned InputDevices.apk;
Zipaligned MediaProvider.apk;
Zipaligned MiuiGallery.apk;
Zipaligned MiuiHome.apk;
Zipaligned MiuiKeyguard.apk;
Zipaligned MiuiSystemUI.apk;
Zipaligned MusicFX.apk;
Zipaligned OneTimeInitializer.apk;
Zipaligned ProxyHandler.apk;
Zipaligned Settings.apk;
Zipaligned SettingsProvider.apk;
Zipaligned SharedStorageBackup.apk;
Zipaligned Shell.apk;
Zipaligned Tag.apk;
Zipaligned TeleService.apk;
Zipaligned VpnDialogs.apk;
Zipaligned WallpaperCropper.apk;
Signing with correct keys
ZIP Complete. Signing now...
I used a script of datagutt for porting to the Gpad. Stll stuck in bootloop..
https://dl.dropboxusercontent.com/u/56920995/miuiandroid_v500-4.4.11v4.zip
Can somebody see what is wrong?
Maybe there is a fault in the buildscript:
https://dl.dropboxusercontent.com/u/56920995/prep_rom
If i'm not wrong you're copying smalis to diff it later.. For sure you screw up on smali steps, do this, remove on CM apps, fonts, framework, media and priv-app, then copy/paste the MIUI ones, copy from MIUI lib folder all lib_miui* files, zip it and test.. Then you will see what on logs what smalis needs to be patched.. You can copy the lib and binary files named on that script.. Remember that that script was made for N5, not for your device will not follow the same rules as your device, even if both of them are LG.. Mannually will better be the best choice here except pirting to a really really closer device from same brand..
In example on your script, you copy PowerManagerService.smali:
Code:
#auto merge framework cp -arf $wip_cm/framework.jar.out/smali/android/os/PowerManager*.smali
and later you merge 'nativeCpuBoost' method:
Code:
echo "Merge nativeCpuBoost" sleep 4; meld $wip_cm/services.jar.out/smali/com/android/server/power/PowerManagerService.smali $wip_miui/services.jar.out/smali/com/android/server/power/PowerManagerService.smali;
So you are adding that method to the CM smali and that smali already have that method.. Beside that, you are copying smalis that maybe just needs to be patched some methods insteas of replace the file 'cus some differences doesn't need to be changed.. Remember, not every port will be the same, even in same device brand, maybe, just maybe, the most difficult step will be find the correct lib and bin files to be added or replaced 'cus sometimes the logs can't tell you what lib are having issues or are wrong but the smalis will always be on logs so the best way will be do it step by step so you will know if the latest step ****ed up something or not but with those scripts made for other devices will be more harder to find what ****ed up everything.. That's what I think and how I work, step by step.. Yes, is a more larger process than a script but I can track really fast what are breaking the rom instead of making a rom and find what broke the rom in the middle of nada..
Enviado desde mi C6603 mediante Tapatalk
I suggest you to do the first port manually. When you have made a fully working build by porting manually, you can modify the script so that it does the same automatically.
datagutt said:
I suggest you to do the first port manually. When you have made a fully working build by porting manually, you can modify the script so that it does the same automatically.
Click to expand...
Click to collapse
And how can i do it manually?
Sent from my Nexus 5 using Tapatalk

recompile SecContacts.apk

hi all..
I am trying to decomiple and then recompile SecContacts.apk from Lollipop 5.0 Rom..
It decompiles and recompiles fine but when I Push it to phone set Permissions and reboot it doesn't work..
I tried different versions of apktool but all have same result..
the error is "Parse error, There was a problem while parsing the package"
can anyone guide on how to recompile secContacts.apk
PS : i) Compiling decompiling works well for other apks including SystemUi, TWHome etc
ii) I tried 3 different SecContacts.apk from different 5.0 TW Roms and even 3,4 different aptools.. all have same result
Hi LAzY_kRAzY
1st) You MUST use SecContacts from your own ROM only. Do not try others.
2sd) When do you get this "Parser Error"? This error should be issued while compiling, not executing. Please be more detailed.
3rd) How did you do things? Decompiling/Recompiling with some tool set?
-=-=-=-=-=
How it should work:
a) Download last ApkTool 2.1.1
b) Be sure to have Java 1.7 installed
{
"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"
}
c) Extract from your ROM or Device the following files:
Code:
system/priv-app/SecContacts.apk
system/framework/framework-res.apk
system/framework/twframework-res.apk
Note: ALL files should be at the same folder
d) Install framework files at the command prompt:
Code:
c:>java -jar apktool_2.1.1.jar if framework-res.apk
...
c:>java -jar apktool_2.1.1.jar if twframework-res.apk
e) Decompile Contacts at the command prompt
Code:
c:>java -jar apktool_2.1.1.jar d SecContacts.apk -f
-f = if last decompile failed, it will overwrite
DO NO CHANGES AT ALL
f) Build Contacts at the command prompt
Code:
c:>java -jar apktool_2.1.1.jar b SecContacts -c
-c = Copies original AndroidManifest.xml and META-INF.
If you perform exactly these steps, does it work?
Any message different from success should be presented. The more details the better support you get.
Let us know.
Nice regards.
.
LAzY_kRAzY said:
hi all..
I am trying to decomiple and then recompile SecContacts.apk from Lollipop 5.0 Rom..
It decompiles and recompiles fine but when I Push it to phone set Permissions and reboot it doesn't work..
I tried different versions of apktool but all have same result..
the error is "Parse error, There was a problem while parsing the package"
can anyone guide on how to recompile secContacts.apk
PS : i) Compiling decompiling works well for other apks including SystemUi, TWHome etc
ii) I tried 3 different SecContacts.apk from different 5.0 TW Roms and even 3,4 different aptools.. all have same result
Click to expand...
Click to collapse
Kdio said:
Hi LAzY_kRAzY
1st) You MUST use SecContacts from your own ROM only. Do not try others.
2sd) When do you get this "Parser Error"? This error should be issued while compiling, not executing. Please be more detailed.
3rd) How did you do things? Decompiling/Recompiling with some tool set?
-=-=-=-=-=
How it should work:
a) Download last ApkTool 2.1.1
b) Be sure to have Java 1.7 installed
c) Extract from your ROM or Device the following files:
Code:
system/priv-app/SecContacts.apk
system/framework/framework-res.apk
system/framework/twframework-res.apk
Note: ALL files should be at the same folder
d) Install framework files at the command prompt:
Code:
c:>java -jar apktool_2.1.1.jar if framework-res.apk
...
c:>java -jar apktool_2.1.1.jar if twframework-res.apk
e) Decompile Contacts at the command prompt
Code:
c:>java -jar apktool_2.1.1.jar d SecContacts.apk -f
-f = if last decompile failed, it will overwrite
DO NO CHANGES AT ALL
f) Build Contacts at the command prompt
Code:
c:>java -jar apktool_2.1.1.jar b SecContacts -c
-c = Copies original AndroidManifest.xml and META-INF.
If you perform exactly these steps, does it work?
Any message different from success should be presented. The more details the better support you get.
Let us know.
Nice regards.
.
Click to expand...
Click to collapse
1st) I tried other secContacts.apk to test if they work fine.. If I am will use anything other than stock I will obviously ask for permission and give proper credits
2nd) I tried this using latest apktool and java versions.. I also tried TickelMyAndroid tool..
I am only getting this error with secContacts.apk
I themed stock SystemUI and TouchWiz for G900H.. decompiled and recompiled them using same tools.. they all work fine..
I get no error while compiling the apk but when I push it to phone and replace it in Priv-app/SecContacts set permissions and reboot it doesnt install like others.. If I click it and try to install like an apk it says Parsse Error..
P.S: I googled about this issue and I found out few other users also have this problem with 5.0 TW SecContats.apk but no solution was available
Hi LAzY_kRAzY
Please perform the experiment exactly as I've gave you making no modifications to SecContacts before building it and report back.
This is computer science and HAS to work.
Nice regards.
.
LAzY_kRAzY said:
1st) I tried other secContacts.apk to test if they work fine.. If I am will use anything other than stock I will obviously ask for permission and give proper credits
2nd) I tried this using latest apktool and java versions.. I also tried TickelMyAndroid tool..
I am only getting this error with secContacts.apk
I themed stock SystemUI and TouchWiz for G900H.. decompiled and recompiled them using same tools.. they all work fine..
I get no error while compiling the apk but when I push it to phone and replace it in Priv-app/SecContacts set permissions and reboot it doesnt install like others.. If I click it and try to install like an apk it says Parsse Error..
P.S: I googled about this issue and I found out few other users also have this problem with 5.0 TW SecContats.apk but no solution was available
Click to expand...
Click to collapse
ok sure..
I tried earlier by recompiling without any modification but result was same..
I had java 1.8 installed.. will try with v 1.7..
will report soon
Kdio said:
Hi LAzY_kRAzY
Please perform the experiment exactly as I've gave you making no modifications to SecContacts before building it and report back.
This is computer science and HAS to work.
Nice regards.
.
Click to expand...
Click to collapse
tried exactly as u mentioned but similar results
Code:
C:\Apktool 2.1.1>java -jar apktool_2.1.1.jar if framework-res.apk
I: Framework installed to: C:\Users\Shoaib Nawaz\apktool\framework\1.apk
C:\Apktool 2.1.1>java -jar apktool_2.1.1.jar if twframework-res.apk
I: Framework installed to: C:\Users\Shoaib Nawaz\apktool\framework\2.apk
C:\Apktool 2.1.1>java -jar apktool_2.1.1.jar d SecContacts.apk
I: Using Apktool 2.1.1 on SecContacts.apk
I: Loading resource table...
I: Decoding Shared Library (touchwiz), pkgId: 2
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Shoaib Nawaz\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
C:\Apktool 2.1.1>java -jar apktool_2.1.1.jar b SecContacts -c
I: Using Apktool 2.1.1
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
W: warning: string 'action_menu_add_new_contact_button' has no default translation.
W: warning: string 'callmessage_kor_lgt' has no default translation.
W: warning: string 'contact_tips_button_to_manage_our_groups' has no default translation.
W: warning: string 'emergency_service' has no default translation.
W: warning: string 'fail_to_find_address_dialog_message' has no default translation.
W: warning: string 'guide_dialer_make_call_with_this_number' has no default translation.
W: warning: string 'guide_dialer_tap_to_write_your_number' has no default translation.
W: warning: string 'menu_add' has no default translation.
W: warning: string 'pick_smemo' has no default translation.
W: warning: string 'selected_cocktail_count' has no default translation.
W: warning: string 'tab_logs_verizon_lra' has no default translation.
W: warning: string 'tab_logs_verizon_uscc' has no default translation.
W: warning: string 'too_many_find_address_dialog_message' has no default translation.
W: warning: string 'volte_can_not_add_call' has no default translation.
I: Copy original files...
I: Copy AndroidManifest.xml...
I: Copy META-INF...
I: Building apk file...
I: Copying unknown files/dir...
C:\Apktool 2.1.1>
I have also attached the original SecContacts.apk
try recompiling it and see if it works
LAzY_kRAzY said:
tried exactly as u mentioned but similar results
I have also attached the original SecContacts.apk
try recompiling it and see if it works
Click to expand...
Click to collapse
Ok ... the decompile/build procedures seem ok but the android icon instead of the default Contacts one is not good sign.
I can't test by myself as I'm running 5.1.1 and can not even try to decompile/build as you didn't provided framework files
Now lasts what exactly are you doing to re-install it.
You should, with your File Manager:
1st) Make a copy of your /system/priv-app/SecContacts.apk
2sd) Delete your /system/priv-app/SecContacts.apk
3rd) Copy /extSdCard/SecContacts.apk to /system/priv-app/
4th) Set permission of /system/priv-app/SecContacts.apk to rw-r--r-- (644)
5th) Restart your system ... a Hot Boot should suffice.
-=-=- At this moment you get the error ... right ? -=-=-=
Let me know
Nice regards.
.
@Kdio
As I told above everything works well for other themed apks like system UI nd TW..
I know pushing apks manually via root browsers, backing up old apks, setting permissions then rebooting etc.. there is no problem in it..
when I manually push the apk set permission and reboot Contacts and Phone apps dont appear in my app drawer as they do not install (because apk is corrupt or signature verification fails or soomething else) no error appears in this case but the app also doesn't install..
so if I go again in my root browser an browse to the secContacts.apk location and click it it shows an option to install.. I click it and then it shows Parse Error..
I am using G900H stock framework-res.apk, twframework-res.apk
and I using 64 bit windows 10
LAzY_kRAzY said:
I am using G900H stock framework-res.apk, twframework-res.apk
and I using 64 bit windows 10
Click to expand...
Click to collapse
If you were kind to share your framework files, I may try building it here.
Nice regards.
.
Kdio said:
If you were kind to share your framework files, I may try building it here.
Nice regards.
.
Click to expand...
Click to collapse
ok sure..
here is my framework-res.apk
and twframework-res.apk
@Kdio
have you tried it ??
LAzY_kRAzY said:
@Kdio
have you tried it ??
Click to expand...
Click to collapse
Hi LAzY_kRAzY
Sorry the delay
Just did it with no success
The decompilation/build was exactly as yours:
Code:
C:\Users\Kdio\Desktop\s5\framework>java -jar apktool_2.1.1.jar if framework-res.apk
I: Framework installed to: C:\Users\Kdio\apktool\framework\1.apk
C:\Users\Kdio\Desktop\s5\framework>java -jar apktool_2.1.1.jar if twframework-res.apk
I: Framework installed to: C:\Users\Kdio\apktool\framework\2.apk
C:\Users\Kdio\Desktop\s5\framework>cd..
C:\Users\Kdio\Desktop\s5>java -jar apktool_2.1.1.jar d SecContacts.apk
I: Using Apktool 2.1.1 on SecContacts.apk
I: Loading resource table...
I: Decoding Shared Library (touchwiz), pkgId: 2
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Kdio\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
C:\Users\Kdio\Desktop\s5>java -jar apktool_2.1.1.jar b SecContacts -c
I: Using Apktool 2.1.1
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
W: warning: string 'action_menu_add_new_contact_button' has no default translation.
W: warning: string 'callmessage_kor_lgt' has no default translation.
W: warning: string 'contact_tips_button_to_manage_our_groups' has no default translation.
W: warning: string 'emergency_service' has no default translation.
W: warning: string 'fail_to_find_address_dialog_message' has no default translation.
W: warning: string 'guide_dialer_make_call_with_this_number' has no default translation.
W: warning: string 'guide_dialer_tap_to_write_your_number' has no default translation.
W: warning: string 'menu_add' has no default translation.
W: warning: string 'pick_smemo' has no default translation.
W: warning: string 'selected_cocktail_count' has no default translation.
W: warning: string 'tab_logs_verizon_lra' has no default translation.
W: warning: string 'tab_logs_verizon_uscc' has no default translation.
W: warning: string 'too_many_find_address_dialog_message' has no default translation.
W: warning: string 'volte_can_not_add_call' has no default translation.
I: Copy original files...
I: Copy AndroidManifest.xml...
I: Copy META-INF...
I: Building apk file...
I: Copying unknown files/dir...
C:\Users\Kdio\Desktop\s5>
And the SecContacts.apk outputed got no positive identification as yours:
Everything is accordingly to the book, so lasts the suggestion that is your specific ROM that contains the weirdness.
Please let me know if you come to any conclusion.
Nice regards.
.
Kdio said:
Hi LAzY_kRAzY
Sorry the delay
Just did it with no success
The decompilation/build was exactly as yours:
Code:
C:\Users\Kdio\Desktop\s5\framework>java -jar apktool_2.1.1.jar if framework-res.apk
I: Framework installed to: C:\Users\Kdio\apktool\framework\1.apk
C:\Users\Kdio\Desktop\s5\framework>java -jar apktool_2.1.1.jar if twframework-res.apk
I: Framework installed to: C:\Users\Kdio\apktool\framework\2.apk
C:\Users\Kdio\Desktop\s5\framework>cd..
C:\Users\Kdio\Desktop\s5>java -jar apktool_2.1.1.jar d SecContacts.apk
I: Using Apktool 2.1.1 on SecContacts.apk
I: Loading resource table...
I: Decoding Shared Library (touchwiz), pkgId: 2
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Kdio\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
C:\Users\Kdio\Desktop\s5>java -jar apktool_2.1.1.jar b SecContacts -c
I: Using Apktool 2.1.1
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
W: warning: string 'action_menu_add_new_contact_button' has no default translation.
W: warning: string 'callmessage_kor_lgt' has no default translation.
W: warning: string 'contact_tips_button_to_manage_our_groups' has no default translation.
W: warning: string 'emergency_service' has no default translation.
W: warning: string 'fail_to_find_address_dialog_message' has no default translation.
W: warning: string 'guide_dialer_make_call_with_this_number' has no default translation.
W: warning: string 'guide_dialer_tap_to_write_your_number' has no default translation.
W: warning: string 'menu_add' has no default translation.
W: warning: string 'pick_smemo' has no default translation.
W: warning: string 'selected_cocktail_count' has no default translation.
W: warning: string 'tab_logs_verizon_lra' has no default translation.
W: warning: string 'tab_logs_verizon_uscc' has no default translation.
W: warning: string 'too_many_find_address_dialog_message' has no default translation.
W: warning: string 'volte_can_not_add_call' has no default translation.
I: Copy original files...
I: Copy AndroidManifest.xml...
I: Copy META-INF...
I: Building apk file...
I: Copying unknown files/dir...
C:\Users\Kdio\Desktop\s5>
And the SecContacts.apk outputed got no positive identification as yours:
Everything is accordingly to the book, so lasts the suggestion that is your specific ROM that contains the weirdness.
Please let me know if you come to any conclusion.
Nice regards.
.
Click to expand...
Click to collapse
I am using the stock samsung rom and firmware..
I dont think its the problem of Rom or framework because all other stock apps decompile and recompile fine..
secondly as I mentioned earlier, I tried with other 5.0 TW roms with their respective frameworks but all had the same response..
so maybe its secContacts.apk issue..
anyways thanks for your effort and time :highfive:
LAzY_kRAzY said:
so maybe its secContacts.apk issue..
Click to expand...
Click to collapse
Hi LAzY_kRAzY
As you didn't report solving the problem ...
I've been seeing several others getting the same issue you described and, for them, the solution was:
- Do not push original signature while building (without -c parameter)
- Sign the apk with whatever signature you want (different from original anyway)
- Follow [GUIDE]Disable signature verification
Please let us know.
Nice regards.
.
@Kdio thanks but I havent managed to get it working yet..
tried this too but same result :-/
LAzY_kRAzY said:
@Kdio thanks but I havent managed to get it working yet..
tried this too but same result :-/
Click to expand...
Click to collapse
There is still a follow up from that services.jar method ... but not sure if it applies to our devices.
As you already have services.jar decompiled, check this out:
http://forum.xda-developers.com/showthread.php?t=2342262
Nice regards.
.
Kdio said:
There is still a follow up from that services.jar method ... but not sure if it applies to our devices.
As you already have services.jar decompiled, check this out:
http://forum.xda-developers.com/showthread.php?t=2342262
Nice regards.
.
Click to expand...
Click to collapse
this method is actually from older versions of android..
there is no .method checkSignaturesLP in PPackageManagerService.smali in lollipop :-/
Same problem from Galaxy J2.
LAzY_kRAzY said:
this method is actually from older versions of android..
there is no .method checkSignaturesLP in PPackageManagerService.smali in lollipop :-/
Click to expand...
Click to collapse
Azhero said:
Same problem from Galaxy J2.
Click to expand...
Click to collapse
I don't know if yall have figured it out yet but decompile, make your changes, recompile. Open the newly compiled apk with 7zip/archive manager, open res, delete the raw folder (if there is one) , then open the original apk and drag and drop the res folder from the apk you compiled into the original then push the original. If you make smali changes just do the same thing. Open the new apk drag and drop the classes into the original push the original.
You have to delete the raw folder if swapping the res folder or else the sound file gets compressed and screws everything up

Categories

Resources