Alright... SO. I've encountered a problem with apktool... The apk decompiles fine without errors... but it does not recompile well...
Here's the log when recompiling framework-res.apk
Code:
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'Roaming_Auto_Dialing' has no default translation in C:\ApkManagerV6.1\other\..\projects\framework-res.apk\res; found: ar az bg ca cs da de el en_PH es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'stms_version' has no default translation in C:\ApkManagerV6.1\other\..\projects\framework-res.apk\res; found: ar az bg ca cs da de el en_PH es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
I: Building apk file...
Here's the log when recompiling SecSettings.apk
Code:
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'air_scroll_setting_guide_content' has no default translation in C:\ApkManagerV6.1\other\..\projects\SecSettings.apk\res; found: mk
aapt: warning: string 'bluetooth_tethering_cannot_connect_while_connected_to_wifi' has no default translation in C:\ApkManagerV6.1\other\..\projects\SecSettings.apk\res; found: ar az bg ca cs da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'glance_view_battery_power' has no default translation in C:\ApkManagerV6.1\other\..\projects\SecSettings.apk\res; found: mk
aapt: warning: string 'glance_view_current_music_info' has no default translation in C:\ApkManagerV6.1\other\..\projects\SecSettings.apk\res; found: mk
aapt: warning: string 'glance_view_missed_calls' has no default translation in C:\ApkManagerV6.1\other\..\projects\SecSettings.apk\res; found: mk
aapt: warning: string 'glance_view_unread_messages' has no default translation in C:\ApkManagerV6.1\other\..\projects\SecSettings.apk\res; found: mk
aapt: warning: string 'lgt_service_global_auto_roaming_call_customcenter_summary_nocall' has no default translation in C:\ApkManagerV6.1\other\..\projects\SecSettings.apk\res; found: de es_ES fr it pl ru
aapt: warning: string 'motion_advanced_settings' has no default translation in C:\ApkManagerV6.1\other\..\projects\SecSettings.apk\res; found: mk
aapt: warning: string 'onscreen_keypad' has no default translation in C:\ApkManagerV6.1\other\..\projects\SecSettings.apk\res; found: ar az bg ca cs da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
I: Building apk file...
P.S. I have installed all framework files ( framework-res.apk, twframework-res.apk, and SystemUI.apk ).
P.P.S. Also keep in mind that I even tried not changing a single thing and simple decompiling then recompiling directly, still got an error.
P.P.P.S. I only used apkmanager because it gave me a nice clear log... but the same error happened with apktool
Would appreciate any form of help. Thank you
Bump.
Bump again.
I have been having some issues trying to mod Hangouts, I always start by decoding, then rebuilding, to test. Now I've tried several different versions of apktool and aapt, I've tried the Hangouts.apk from my phone as well as the one linked here: http://www.androidpolice.com/2014/0...updated-to-v2-0-303-not-much-seems-to-change/ and I always get the same errors, this is what happens when I try to build:
Code:
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
/home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res/values-tr/plurals.xml:119: error: Apostrophe not preceded by \ (in %1$d Hangout'ta %2$d ileti)
aapt: warning: string 'accounts_title' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'add_account' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'browser_signup_message' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'download_plus_app_button' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'friend_and_other_plus_ones' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'install_plus_app_message' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'more_plus_ones' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'no_plus_ones' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'one_plus_one' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'plus_one_button_error' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'plus_one_button_needs_permission' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'plus_one_offline_error' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'self_plus_one' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'self_plus_one_removed' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'self_plus_one_with_name' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'sign_up_for_plus_button' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'sign_up_for_plus_message' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'sign_up_prompt_title' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'web_signup_progress' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'webview_signup_error_message' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
aapt: warning: string 'webview_signup_message' has no default translation in /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res; found: af am ar bg ca cs da de el en_GB es es_US et fa fi fr hi hr hu in it iw ja ko lt lv ms nb nl pl pt pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_TW zu
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 18, -F, /tmp/APKTOOL4538723641925179512.tmp, -0, arsc, -I, apktool/framework/1.apk, -S, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res, -M, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353)
at brut.androlib.Androlib.buildResources(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:209)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 18, -F, /tmp/APKTOOL4538723641925179512.tmp, -0, arsc, -I, apktool/framework/1.apk, -S, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res, -M, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:406)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 18, -F, /tmp/APKTOOL4538723641925179512.tmp, -0, arsc, -I, apktool/framework/1.apk, -S, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res, -M, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:404)
... 6 more
Now the "Apostrophe not preceded by \ (in %1$d Hangout'ta %2$d ileti)" error is easy to fix, but it still fails with the rest of the errors.
Has anyone been able to get the latest Hangouts to decode and rebuild with apktool? And if so what version of apktool and aapt did you use?
And remember, I didn't edit anything, this was just a "decode and rebuild" test before I actually start modding.
To clarify, this is the part of the error that I get, no matter what I try:
Code:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 18, -F, /tmp/APKTOOL4538723641925179512.tmp, -0, arsc, -I, apktool/framework/1.apk, -S, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res, -M, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353)
at brut.androlib.Androlib.buildResources(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:209)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 18, -F, /tmp/APKTOOL4538723641925179512.tmp, -0, arsc, -I, apktool/framework/1.apk, -S, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res, -M, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:406)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 18, -F, /tmp/APKTOOL4538723641925179512.tmp, -0, arsc, -I, apktool/framework/1.apk, -S, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/res, -M, /home/username/Projects/Android Mod/Moto X - Republic Wireless/Ambiance Dark/edit/Hangouts/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:404)
... 6 more
Just tested with the newest version of Hangouts, 2.1.075, and it still has the exact same issue.
Ksulitan membuka akun mi6A yang terkunci
----------
MOD EDIT: English Translation Below
Trouble opening a locked mi6A account
@Anggicolorida Hi! I see that you're new here. Welcome to XDA! Please note that XDA is an international forum, and hence only English is permitted to be used across the website.
The above is as per the Forum Rules:
4. Use the English language.
We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature). You could try :- https://translate.google.com/ or https://www.babelfish.com/ or use one of your choice.
Click to expand...
Click to collapse
As a courtesy, I've added the English translation to your post. Going forward, kindly use English to post/reply on the forum.
Regards,
shadowstep
Forum Moderator
----------
Hai! Saya melihat bahwa Anda baru di sini. Selamat datang di XDA! Harap diperhatikan bahwa XDA adalah forum internasional, dan oleh karena itu hanya bahasa Inggris yang diizinkan untuk digunakan di seluruh situs web.
Di atas sesuai dengan Aturan Forum:
4. Gunakan bahasa Inggris.
Kami memahami bahwa dengan semua kebangsaan yang berbeda, tidak semua orang berbicara bahasa Inggris dengan baik, tapi tolong coba. Jika Anda benar-benar tidak dapat memposting dalam bahasa Inggris, gunakan penerjemah online. Anda bebas memasukkan pesan asli Anda dalam bahasa Anda sendiri, di bawah terjemahan bahasa Inggris. (Aturan ini mencakup posting, entri profil, dan tanda tangan Anda). Anda dapat mencoba: - https://translate.google.com/ atau https://www.babelfish.com/ atau gunakan salah satu pilihan Anda.
Click to expand...
Click to collapse
Sebagai rasa hormat, saya telah menambahkan terjemahan bahasa Inggris ke postingan Anda. Ke depannya, silakan gunakan bahasa Inggris untuk memposting / membalas di forum.
Salam,
shadowstep
Moderator Forum
Salut,am un xiaomi mi 11 lite, mi-a disparut functia de setare pentru amprentă ce trebuie sa fac?
Mod Edit: English Translation Below
Hi, I have an xiaomi mi 11 lite, my fingerprint setting function is gone, what should I do?
@Son1q
Spoiler: English / Engleză
Hi! I see that you're new here. Welcome to XDA! Please note that XDA is an international forum, and hence only English is permitted to be used across the website.
The above is as per the Forum Rules:
4. Use the English language.
We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature). You could try :- https://translate.google.com/ or https://www.babelfish.com/ or use one of your choice.
Click to expand...
Click to collapse
As a courtesy, I've added the English translation to your post. Going forward, kindly use English to post/reply on the forum.
Regards,
shadowstep
Forum Moderator
Spoiler: Romanian / Română
Bună! Văd că ești nou aici. Bun venit la XDA! Vă rugăm să rețineți că XDA este un forum internațional și, prin urmare, numai limba engleză este permisă să fie folosită pe site.
Cele de mai sus sunt conform Regulile forumului:
4. Utilizați limba engleză.
Înțelegem că, cu toate naționalitățile diferite, nu toată lumea vorbește bine engleza, dar vă rugăm să încercați. Dacă într-adevăr nu poți posta în engleză, folosește un traducător online. Sunteți liber să includeți mesajul original în propria limbă, sub traducerea în engleză. (Această regulă vizează postările, intrările de profil și semnătura). Puteți încerca:- https://translate.google.com/ sau https://www.babelfish.com/ sau utilizați unul la alegere.
Click to expand...
Click to collapse
Din curtoazie, am adăugat traducerea în engleză la postarea dvs. În continuare, vă rugăm să folosiți engleza pentru a posta/răspunde pe forum.
Salutari,
pas de umbră
Moderator de forum