build - Android source framework modify rebuild but become effective in emulator -
i modify /framework/base/services/core/java/com/android/server/am/activitymanagerservice.java logcat output string.
and try use different ways rebuild it:
make -jn top folder or
mmm /framework/base -jn or
mmm /framework/base/services -jn
and new output file in /out/target/product/generic_x86/system/framework/x86/services.odex
and update system.img make snod
then try restart emulator, or adb remount adb sync, or kill system_server process
but sadly, no matter kinds of methods use, emulator output original string.(so angry)
i extract new output system.img new services.odex file, , use oat2dex.jar decompile java code, , indeed see string has changed in it.
so why when run emulator, won't become effective...
Comments
Post a Comment