Editing systemUI but compile error. I delete in res/layout system_bar_settings_view.xml and system_bar_notification_panel_title.xml but still error. please help me. I want to add battery icon. (I make apktool if framework-res.apk and apktool if twframework-res.apk and apktool if systemUI.apk)
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b16)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:10: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:16: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:22: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:26: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:28: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:29: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:32: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:33: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:34: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:35: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:37: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'am' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_april' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_august' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_december' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_february' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_january' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_july' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_june' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_march' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_may' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_november' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_october' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_september' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translation Exception in thread "main" in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_september' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'pm' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'quickpanel_day_month_year' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: zh_HK
aapt: warning: string 'quickpanel_month_day_year' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: zh_HK
aapt: warning: string 'quickpanel_year_month_day' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: zh_HK
aapt: warning: string 'today' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'tomorrow' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'yesterday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\TEMP\APKTOOL8317365219674947038.tmp, -0, arsc, -I, C:\Users\Userr\apktool\framework\1.apk, -S, C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res, -M, C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\TEMP\APKTOOL8317365219674947038.tmp, -0, arsc, -I, C:\Users\Userr\apktool\framework\1.apk, -S, C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res, -M, C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\TEMP\APKTOOL8317365219674947038.tmp, -0, arsc, -I, C:\Users\Userr\apktool\framework\1.apk, -S, C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res, -M, C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Please post your log elsewhere and link it here next time
Whosat said:
Please post your log elsewhere and link it here next time
Click to expand...
Click to collapse
O.K. here is log file
Same problem and I can't get no help...Have you had any luck
Here is solutions. all works fine. http://forum.xda-developers.com/showthread.php?p=46671698#post46671698
Related
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
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.
...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
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
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