hi!
I wanted to decompile an apk with installed API 23 framework apk's. in the "create new project window" the "Finish" button is greyed out, why? Also in "Disassemble dex file" section i can't select newer than "4.4 Kitkat" or "Template for API 20".
The apk what i wanted to decompile is working on android 6.0.1 (it's the latest beta of AIMP).
Screenshot of new project window can be found here
Framework-res.apk and framework-ext-res.apk copied from my phone by VTS (it's a Redmi 3S Prime with latest MIUI 8 Global Developer)
What do i further need to decompile this apk?
MPeti1 said:
hi!
I wanted to decompile an apk with installed API 23 framework apk's. in the "create new project window" the "Finish" button is greyed out, why? Also in "Disassemble dex file" section i can't select newer than "4.4 Kitkat" or "Template for API 20".
The apk what i wanted to decompile is working on android 6.0.1 (it's the latest beta of AIMP).
Screenshot of new project window can be found here
Framework-res.apk and framework-ext-res.apk copied from my phone by VTS (it's a Redmi 3S Prime with latest MIUI 8 Global Developer)
What do i further need to decompile this apk?
Click to expand...
Click to collapse
just change or add latest apktool,baksmali,etc binaries in Virtuous Studio binary folder lie somewhere inside programx86/vir.../externel/.
Related
What you will need:
Basic tools
- Notepad++
- ZIP manager tool like 7zip
Advanced tools
- Cygwin
- smali (assembler/disassembler)
- APKTool/APK Multi-tool
Lets Begin:
Download a ROM (we use CM in this guide) of your choice (don’t forget to get the permissions for it modding from the developer) and extract it. When you extract it, you will see at least two folders and one file
Folders
- system
- META-INF
Files
- boot.img [this is not present in defy/defy+ ROMs so don't worry about it ]
NOTE THAT I AM ONLY GIVING DETAILS ABOUT THOSE FOLDER WHICH YOU CAN REMOVE/EDIT
THE \system\bootmenu\2nd-boot\ FOLDER
In this folder you'll find the kernel [zImage] file of the ROM here you can change it with the one you compiled or by others.
The Tts folder
The ‘TTS folder’ is all about Text-To-Speech. It contains all the files needed by the Android system to get Text-To-Speech working. If you are removing the TTS feature from your ROM, make sure you remove this entire folder and the TTS related apps from the ‘system folder’, as this will save a lot of space.
The WiFi and Usr folders
The WiFi folder contains the drivers required by the WiFi module to function. So i strongly recommend NOT to touch this folder. If you delete any file from this folder, you will mess up the WiFi functionality.
The usr folder contains some miscellaneous but very important stuff. It may contain anything and everything needed by the Android operating system. For instance, this folder contains all the key-mapping. If such files are messed with, your device will be non-functional although it will boot.
The Build.prop
The build.prop file is pretty self-explanatory. Here, you can change the most basic things, like the android version that setting shows. Wondered how people are making 2.3.4 look like 4.0.3 in settings? Its build.prop. Also,you can change what ‘About phone’ shows here.
Other things,you can change things like,how long your wifi scans,how much battery your phone saves while in sleep, Dalvik VM heapsize and default ringtones. If you are wondering what # stands for, it signifies that, the particular line is commented out, and the system does not read it. You can use it add comments to the build.prop. This helps others understand, what is the function of a particular tweak.
A guide for some basic build.prop tweaks can be found here.
Please be aware that, these build.prop modifications are not universal. So, you will have to experiment with the tweaks and their values.
The META-INF folder
This folder contains instructions for the Android Recovery about how to work with the files present in the zip. This folder contains many folders, but the only one we need to edit is the update-script file.
Making Flashable ZIP
In order to create a flashable zip, first zip the ‘system, META-INF’ folder and the ‘boot.img’. Let’s name this zip as ‘update.zip’. Next we need to sign the zip. Get a signer here. Put your update zip in the same folder as the signer. Then run the ‘signer.bat’ file. This will sign your zip file. After the signing process is complete, you can change the name of the zip to your liking.
confused
hi,,,i'm new here,,,,
after reading ur post, actually i can't do this,,,
and i installed miui v5 rom and always find crashing about "android process stopped."
and i can't edit the rom or make update of it because of no jnderstanding it, but i like miui so far.
so, can u give me the link of miui v5 rom that not crash, in order to me just to instal it without editting.
thx so much.
gwesal said:
hi,,,i'm new here,,,,
after reading ur post, actually i can't do this,,,
and i installed miui v5 rom and always find crashing about "android process stopped."
and i can't edit the rom or make update of it because of no jnderstanding it, but i like miui so far.
so, can u give me the link of miui v5 rom that not crash, in order to me just to instal it without editting.
thx so much.
Click to expand...
Click to collapse
Checkout my miui thread I have already posted the original link there
D5+/cm11/1.2GHz.
Sent from Tapatalk app
coolshahabaz said:
Checkout my miui thread I have already posted the original link there
D5+/cm11/1.2GHz.
Sent from Tapatalk app
Click to expand...
Click to collapse
which one???
is it the official rom from miui site or edited rom you created??
actually its take too long doenloading from official site. but rom i doawnloaded is always crashing android.process.stopped.
gwesal said:
which one???
is it the official rom from miui site or edited rom you created??
actually its take too long doenloading from official site. but rom i doawnloaded is always crashing android.process.stopped.
Click to expand...
Click to collapse
The one I edited had that prob of crashing, n the one on official site is about 240mb ty its taking time
D5+/cm11/1.2GHz.
Sent from Tapatalk app
For NST/NSTG with 1.2 firmware
Hi, new NTSG owener here
After reading this thread I've decided to make similar mod for 1.2 firmware.
NOTE: this was tested on rooted 1.2 firmware on NSTG but should work fine also on NST
Modifications in framework-res.apk:
-added languages: the same as in original mod
-replaced some images: by default not-localized ones had ugly "X" painted on top, now they look as for English locale
Modifications in Settings.apk:
-all languages are now visible in language picker ( <extra android:name="hideDevLanguages" android:value="false" /> in xml/settings_locale.xml) removed due to SetupWizard incompatibility (com.bn.oobe doesn't like this)
-added Development Options in main menu (changes in xml/settings_root.xml and xml/settings_root_gossamer.xml- first file is for NSTG, second for NST)
-locale picker is present in Development Options
-added Sync & Settings submenu
If you wish to play further with Settings.apk I can recommend this tutorial (it's for ICS but workflow is the same for Eclair).
Downloads:
All files are CWM flashable zips
NSTG-MULTI-1.2.x-flash.zip -modified framework-res.apk
NSTG-settings-accounts-1.2.x.zip -modified Settings.apk
RESTORE_FRAMEWORK.zip -restore stock framework-res.apk
stock-settings.zip -restore stock Settings.apk
Remember to make a full backup before flashing anything
Updated Settings.apk- now Accounts & Sync is available
NST owners- please post feedback, I can't test modifications on your hardware.
EDIT:
Removed modded settings.apk due to SetupWizard incompatibility, testing alternate solutions
EDIT EDIT:
Modded Settings.apk back online.
BIG FAT WARNING
Settings.apk is deeply tied to other B&N system apps, Setup Wizard will fail with a modded one.
So if you want to use it keep original one around in case of data wipe
PERFECT! just what I wanted.. hey this DOES have Japanese on it right?
as in.. the list that said..
languages with better support by android:
Click to expand...
Click to collapse
EDIT: nope no Japanese... lemme see if I can add it in myself
MadHatterRyu said:
nope no Japanese... lemme see if I can add it in myself
Click to expand...
Click to collapse
Languages were taken from 2.1 Samsung EU rom.
I've used Android Multitool
If you want to add language:
1.Grab a 2.1 rom which has your language onboard, decompile framework-res.apk,
-copy /res/values-[desired language code]/ folder which includes arrays.xml, plurals.xml and strings.xml
-copy /res/raw-[desired language code] folder
2. Decompile Nook's framework-res.apk
-put both previously extracted folders to /res
-copy any of existing /res/raw-XX to /res/raw-[desired language code] -this folder holds localized images
-compile apk
-there will be warning about missing strings in translation- dont' worry, system will use english ones
-copy AndroidManifest.xml file and /META-INF from original framework-res.apk to newly compiled one (apk is a zip)
3. Replace framework-res.apk in a flashable zip and flash it
I'd advise to wipe dalvik-cache after flashing (just in case)
And better don't use modded Settings.apk, language picker can be accessed in Nook Color Tools.
Sorry, I didn't find a way to make modded Settings work in SetupWizard (oobe.apk in reality)
EDIT:
And better check if fonts support japanese
ahead of that.. I just wanted it to recognize Japanese characters.. only had to add ttf files into the fonts folder.
(oddly the stock reader doesn't do that.. meh, I didn't like it to begin with.. I'm using AIreader) but thanks though : )
This looks great! Thanks, @gen_scheisskopf. Due to this mod's being created, I'm now working on my own modified Settings.apk.
ИΘΘK¡€ said:
Due to this mod's being created, I'm now working on my own modified Settings.apk.
Click to expand...
Click to collapse
I'd suggest to take a look at dependencies, AFAIR settings.apk depends on B&N apks (this is most likely why my modified apk only FC-ed when booting system after a wipe)
gen_scheisskopf said:
I'd suggest to take a look at dependencies, AFAIR settings.apk depends on B&N apks (this is most likely why my modified apk only FC-ed when booting system after a wipe)
Click to expand...
Click to collapse
Check. I've got the beta version of my Settings.apk working famously on my NTG - here's the project thread.
We will use this thread for discussion regarding Xposed
superstone said:
Steps to Install Xposed
1.) Install newest Java JDK on the computer and link the installation path with the Win system / user variables. (see http://forum.xda-developers.com/showthread.php?t=2374008 Post#9)
2.) Install Android SDK. Be sure that the correct repositories for your Android Versions are also installed. If not install (e.g. for my Android 4.2.2. Version i needed all API 17 resources...)
3.) Use a specially modified Tool Chain with adjusted smali/baksmali for the MTK MT6592 / Alyiun OS called "Ureal-Deodexer". See https://code.google.com/p/smali/issues/detail?id=199 (use DL-Link in Post#16)
4.) after deodexing apks and framework put it onto the phone via Android.SDK. (see e.g. http://forum.xda-developers.com/showthread.php?t=2374008 Post#1 how to do this)
5.) after that modify /system/build.prop by adding a line with
Code:
dalvik.vm.execution-mode=int:fast
.
6.) reboot the phone (now deodexed rom needs quite a while for the first startup....)
7.) be sure that all .jex files and .odex files are removed from /system/app and /system/framework. (i did it with a file explorer with root access for /system directly on the phone) Reebot again in case you have to delete.
8.) now u can install Xposed Framework and all your favorite Xposed modules.
Try on your own risk.....
Click to expand...
Click to collapse
not working
I had tried it along time ago, it can not run gravity xposed framework
Sorry, I did not see this thread before creating my own, http://forum.xda-developers.com/desire-616/development/tutorial-how-toinstall-xposed-framework-t2985937. If that one is not required, Some Mod for this forum can delete mine to avoid unnecessary clutter.
@ngoanrazor: Gravity Box works just fine after using this method. I am using it myself.
samrat_castle said:
Sorry, I did not see this thread before creating my own, http://forum.xda-developers.com/desire-616/development/tutorial-how-toinstall-xposed-framework-t2985937. If that one is not required, Some Mod for this forum can delete mine to avoid unnecessary clutter.
Click to expand...
Click to collapse
Since your thread is more noob-friendly , let this thread be closed
Edit: Reported
Thread closed at OP's request
Hello, this is a guaranteed working method to get any android Platlogo for any android 4.0+!
Let's go.
First of all, your phone must be rooted and have xposed framework activated.
Open xposed, search for eggster. Press on it,swipe to the last tab. And get experimental versions to be shown. Download the latest version, activate the module then reboot. Open Eggster from your launcher, activate your desired Platlogo.
And then it's there!
PSST: NO need to reboot after switching between Platlogos.
Hope you like. ;D
Credits to: @iamareebjamal & @Giupy 99
Here's the original thread:
https://forum.xda-developers.com/xp...1-2-replace-easter-eggs-t2758583/post52816238
Enjoy
If you have root and the same device!
(HTC 10 Android 7!)
I'm looking to Restore a system app.
However need the apps apk installer.
I need a file that is located at this directory:
%Root%/Data/com.htc.fingerprint
Ours was in that subfolder and titled Base.apk.
Please don't send this nor older version
Incompatible!=3.00.74145 Marshmello API 23)
I need a later update.? =? For Nougat API 24
I can only find the Api 23's apk file online! and it's been causing system crashes with restart.
Thank you in advance!
A SINGLE APK !*Saves our phone?
It's not that hard, I'll talk you through this if need be!
[Solved!*?]
After downloading firmware based on same release
I extracted the archive
Within archive I navigated to fonder:
system/priv-app/FingerPrint/
Containing one apk
FingerPrint.apk
Install was blocked stating it was corrupted
I then manually installed/moved FingerPrint.apk to the same default directory on our device. (not erasing anything)
Reboot.
Hoping now it fixed issue.