Hello,
I'm working on adding Hebrew UI for android.
I have the strings.xml(s) of all the translated files and now i'm tring to add them back to the APK files.
this is what i've done so far (and it worked):
using APKTool I decompiled the APKs.
take the strings.xml (and other if needed) form "values" and translate it.
added new folder in "res" called values-iw (iw stand for hebrew).
put the translated strings.xml (and other files if needed).
compiled back with APKTool.
It work very well on every file i've worked on (Browser, Contects etc..).
Now for the problem
When I put the Settings.apk back in - i can't get to the "settings" (pressing it does nothing) and if I try to add a widget or a shortcut to the screen - I get Force Close on android.prosses.acore.
Any ideas?
Thanks!
Hi to everyone,
I would like to modify some files in melelauncher2.apk, I tried to :
• decompiled it with APK Manager (I tried also apktool)
• modify png and xml
• compile and sign
All without error, after that :
• I installed the new apk in my minipc dongle
• start the launcher
After few second I receive this error "the application has stopped unexpectedly".
I tried a lot of alternative (ex. compile as system apk, not sign, etc) but the launcher never start again.
Please help me, what I wrong?
cool..................
I wanted to disable the Flash to black/screen update function on my yotaphone 2 e-ink's screen as it really disturbes me. I worked out there was a setting to do this in the phones SDK app.
I decompiled the YD_YotaphoneSDK.apk app and changed some of the settings in the classes.dex files so as to disable the full screen refresh (i.e change the backscreenmanager waveform mode to A2). I then recompiled the YD_YotaphoneSDK.apk app however when I attempt to install it on my YotaPhone it states 'Parse Error- There was a problem while parsing the package'.
Im pretty sure it needs to be resigned but cannot workout how, when i attempt to do so in android studio i get the following error: Error:Android Source Generator: [YD_YotaphoneSDK] Package is not specified in AndroidManifest.xml
Can anybody with some relevant experience give my some suggestions of how I can resign or enable this recompiled version of the APK to be installed on my yotaphone.
I have attached the edited apk file
Regards
Hello all! I have downloaded and successfully build the AOSP for marshmallow (android-6.0.1_r79). Than I made some changes to the stockkeyboard (regarding to my other topic, but not relevant here). The file which I modified was this here:
packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
I compiled the code and it was successfull too. But than I realize I face some problems.
I mounted the system.img and get into the path: /system/app/LatinIME/
I decompiled the app (jadx, apktool) to check if the modification there is available and here is the problem
This APK does not contain any Java sources?! Its just xml regarding to the layout. When I replace my old Stockkeyboard with this one, it is still perfectly working? So I got not clue whats going on.
Question regarding to this topic are:
How can I make a modification to the stock keyboard LatinIME
Building this new AOSP image with the new keyboard
And extracting the new keyboardj(APK) out of this image to install it on my device (Root permissions are of course available)
What I have tryed:
Modyfing the following Java file: packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java
Compiling the complete project (make -j4 and just the keyboard: make -j LatinIME)
Replacing my own keyboard with the modified stock keyboard
My steps are as described not working. The keyboard appears and its working but the modification seems to be missing. Also by decompiling it, there are no Java sources within it.
I am relly glad for any help to this topic! Thank you!
Welcome to SuperR's Kitchen Donate version!
This thread is intended to organize release posts. All discussion regarding this kitchen can be found in the thread linked below.
[ Windows / Linux / Mac ][DONATE] SuperR's Kitchen (v3.2.2.2 - 10-13-2021)
Disclaimer: I am not responsible for anything bad that may occur from the use of this kitchen, but I will take all the credit you can give me if it works for you :D Please read the troubleshooting in post #4 of the standard kitchen thread...
forum.xda-developers.com
v3.0.0.1
Changes:
Download and extract Android Image Kitchen (Linux) directly from the XDA thread.
Fixed extracting tar.gz files.
Fixed crash if the main tools download/extract fails.
Fixed crash in Linux when updating the kitchen launcher.
Fixed crash when running the updater if there is no update available.
Added logging to img extract operations.
Fixed crash if Java 8 is not installed on Linux.
Added check for proper java installation on Windows.
Fixed language files other than English.
v3.0.0.2
Changes:
Fixed extracting Pixel firmware.
v3.0.0.3 (Donate version)
Changes:
Fixed custom zips on Pixel devices.
Removed attempts to pip install packages from within the kitchen.
Added logging to adb operations.
v3.0.0.4
Changes:
Require kitchen restart after updating.
Fixed duplicate unmount commands in updater-script when extracting extra img files.
Fixed some language file checks from crashing.
Added official Windows launcher (superr.exe).
The kitchen should install psutil (win/linux) and colorama (win) packages now if they are not already installed.
Thanks to @Xennet for the launcher idea. It makes running the kitchen in Windows a lot easier
NOTE: You should restart the kitchen manually after the update. This will be the last time you will have to remember on your own
v3.0.0.5
Changes:
Fixed Windows kitchen trying to update the Linux launcher.
Fixed cyfile errors.
Fixed system.img.ext4 not being renamed automatically if not in an archive.
Added dialog informing we are getting the plugin list when installing a plugin.
Check for and show error message when trying to run Bash plugins in Windows.
Remove all set_metadata lines with a context of "?".
Add all files in /system/bin to the updater-script.
edit: I forgot to reset the language file in this update, so if you update you will get an error when you try to install a plugin.
Easy fix after update (fresh installs do not need this):
Misc tools >> Reset language - After restart no more error
v3.0.0.6
Changes:
Hopefully fixed crash after signing zips when checking for update-binary script.
Updated Imgextract.exe to 1.3.7.
v3.0.0.7
Changes:
Ignore commented lines in build.prop.
Do not create set_metadata lines for files/directories that do not exist.
Do not use fstab with nodata in the name.
Removed duplicate /system/vendor/firmware set_metadata line.
Fixed tar creation for future use.
v3.0.0.8
Changes:
Minor improvement to set_metadata generation in Windows.
Fixed Android O rom not building due to lack of xbin.
v3.0.0.9
Changes:
zipalign - check to make sure files exist before renaming and record in main.log.
Fixed assert getting broken when building rom.
Fixed line endings in updater-script when running in Windows (thanks to @chevycam94 for pointing it out).
NOTE: You may need to change perm types to something else and back to whatever you want to get the line endings sorted out. Fresh extract will all be good now
NOTE2: If you go to ROM Tools >> Asserts Menu >> Reset asserts to default you will get your assert back to normal if it was broken.
v3.0.1.0
Changes:
Fixed crash when choosing main menu from root zip options menu.
Fixed crash when getting by-name through adb.
v3.0.1.1
Changes:
Fixed crash in Windows when checking for app_chimera at the start of deodexing N and O.
Fixed crash when finishing deodex on M and L.
Fixed crash and show error message when entering the wrong syntax for custom asserts.
Fixed boot/AIK still being part of the repo and causing Windows tools install failure after resetting tools and boot extraction failure on Linux.
Fixed crash removing knox in Windows.
Fixed crash deleting plugins if example does not exist.
Heapsize errors now return you to heapsize options instead of Misc Tools.
Added confirmation when deleting projects.
Tried to fix META-INF1 remaining after builing rom.
Thanks to @chevycam94 for testing like a mad man
v3.0.1.2
Changes:
Fixed logs crash when check for updates on start is enabled.
v3.0.1.3
Changes:
Change root status to rooted when adding Magisk using the plugin.
v3.0.1.4
Changes:
Display root type instead of Rooted.
Fix error during deodex cleanup on L and M.
Fix crash when removing knox.
v3.0.1.5
Changes:
Disable sepolicy-inject root method for Windows.
Fixed sepolicy-inject root method for Linux.
Fixed some debloat/knox checks.
Updated smali/baksmali to v2.2.1.
v3.0.1.6
Changes:
Fix crash when signing zips that use an update-binary script in Windows.
Log zip signing in sign.log.
Fixed update-binary conversion on roms that do not use by-name.
Make a copy of *_statfile.txt after extracting img files in Windows.
Add *_statfile.txt to support zip.
Add META-INF directory to support.zip.
Fixed Downloading/installing screen that disappeared.
v3.0.1.7
Changes:
Fixed manually signing zip when there are more than one to choose from.
Added ability to convert all flashable zips to update-binary script when building.
Added per-project option in Misc Tools for update-binary script - Always convert, Never convert, Ask every time.
Added check for delete_recursive when converting to update-binary script.
Fixed mount command not getting converted to update-binary script if rom does not use by-name.
NOTE: The default of the new update-binary conversion switch is "Ask every time". Remember, this is per project so you will need to change it for all projects if you want it changed globally.
v3.0.1.8
Changes:
Windows: Use 7-zip (included) to extract img files instead of Imgextractor.
Windows: Fixed missing symlinks in updater-script.
Windows: Fixed many file contexts not being set correctly.
Windows/Linux: Fixed system/SYSTEM on devices that use SYSTEM.
Linux: Do not create metadata lines for symlinks.
I think this will fix most of the flashing problems. Let me know how it goes
WINDOWS NOTE: It is important that the tools get updated. The updater should take care of it, but if you get errors that 7z is not found, go to Misc tools > Reset tools.
IMPORTANT: Start your rom fresh and extract from system.img again. Make sure you delete 00_project_files directory if you are reusing an existing project.
v3.0.1.9
Changes:
Windows: Fixed b key press not being recognized.
Added a Back option to the root method options.
Only allow key presses that correspond to menu options.
Fixed project name adding an extra superr_ when creating new project from the project selection menu.
Set permissions of configure.sh to 777 instead of /tmp to 755.