Hi ! I'm translating drZMIUIv4-2.2.24 Beta10 ROM in french, but I'm facing problem.
I began by framework-res.apk
Added values-fr-rFR in /res directory of apk
Added modified strings.xml, and arrays.xml, plural.xml, integer.xml from Nexus S rom ( Only some lines different for strings.xml, Didn't edit other files )
Recompiled Apk
Ho yeah, when I want to recompile apk, without changing anything (When I edit it too), I've these errors :
E:\apktool\projects\framework-res.apk\res\values\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
E:\apktool\projects\framework-res.apk\res\values\plurals.xml:79: error: Found tag </item> where </plurals> is expected
E:\apktool\projects\framework-res.apk\res\values-zh-rCN\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
E:\apktool\projects\framework-res.apk\res\values-zh-rCN\plurals.xml:79: error: Found tag </item> where </plurals> is expected
Click to expand...
Click to collapse
This line is :
Code:
<item quantity="other">%d of %d</item>
And I didn't edit these files, so I tried to replace with nexus S line :
Code:
[B]%1$d of %2$d[/B]
no error during compilation but same FCs problem after.
On google, I found that sometimes % in file give this error and just replace it by %% So I did it and same result as with Nexus S line
So, after, I signed it, and replace original file in my phone but when I want to boot, All major apps like Home, Keyboard, Google apps ... give FC
INFO
Trying to decompile/recompile without changing anything except the 79th line in plurals file ( to avoid compilation error ), give FC when replace....
I'm using Apk Multitool
So if anyone has allready seen these error and or translated ROM or just can help me, I'm waiting for your answers !
My fr strings.xml in attachment.
My modified framework-res.apk too
And extracted modified framework-res.apk folder
/!\ DONT USE IT /!\
Thanks in advance !
( Hope I posted in right section ? )
(Link to French forum : http://forum.miui-france.org/index.php?/topic/2002-traduction-miui-ics-drzmiuiv4-2224-beta10/ )
Related
I'm trying to edit framework-res.apk in APKManager. I'm decompiling the 9 pngs, editing, then resaving and then trying to compile the apk. It always gives me all these errors on my images. Am i missing a step before I compile? I'd appreciate if anyone could help!
desperate bump, if anyone could please help, either on here or on AIM, my screen name is "Grego" or even via messages, any help would be appreciated.
If u only want to change some png files, u can open the framework-res.apk with WinRAR oder Zip and replace the files u want. Compression set to "normal". U should notice, that the files have the same size.
bandit79 said:
If u only want to change some png files, u can open the framework-res.apk with WinRAR oder Zip and replace the files u want. Compression set to "normal". U should notice, that the files have the same size.
Click to expand...
Click to collapse
I pretty much replaced all of the png's in the framework-res along with the .9.pngs
C:\Users\greg\APK Manager\other\..\projects\framework-res.apk\res\values\public.
xml:3581: error: Public symbol drawable/textfield_disabled declared here is not
defined.
C:\Users\greg\APK Manager\other\..\projects\framework-res.apk\res\values\public.
xml:3582: error: Public symbol drawable/textfield_disabled_selected declared her
e is not defined.
C:\Users\greg\APK Manager\other\..\projects\framework-res.apk\res\values\public.
xml:3583: error: Public symbol drawable/textfield_pressed declared here is not d
efined.
C:\Users\greg\APK Manager\other\..\projects\framework-res.apk\res\values\public.
xml:2807: error: Public symbol drawable/textfield_search declared here is not de
fined.
C:\Users\greg\APK Manager\other\..\projects\framework-res.apk\res\values\public.
xml:3584: error: Public symbol drawable/textfield_search_default declared here i
s not defined.
C:\Users\greg\APK Manager\other\..\projects\framework-res.apk\res\values\public.
xml:2808: error: Public symbol drawable/textfield_search_empty declared here is
not defined.
there's a few examples of what i'm getting in the log.
yeah same here. i've got the same problem. using apk manager 4.8.
there might be a "solution" for it. didnt try it yet. but maybe it will help u.
http://forum.xda-developers.com/archive/index.php/t-933547.html
I've had no issues building cm7 in the past but now I keep getting the same error. I've spent the last two day googling and haven't had any luck I've checked java points the the right place, set ANDROID_JAVA_HOME=$JAVA_HOME and even deleted the entire repo and re-synced still nothing. Any ideas
Code:
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
target Java: CMParts (out/target/common/obj/APPS/CMParts_intermediates/classes)
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/SoundActivity.java:99: cannot find symbol
symbol : variable VIBRATE_IN_CALL
location: class android.provider.Settings.System
Settings.System.VIBRATE_IN_CALL, 1) != 0);
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/SoundActivity.java:150: cannot find symbol
symbol : variable VIBRATE_IN_CALL
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(), Settings.System.VIBRATE_IN_CALL,
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIPowerWidgetActivity.java:80: cannot find symbol
symbol : variable EXPANDED_HIDE_SCROLLBAR
location: class android.provider.Settings.System
Settings.System.EXPANDED_HIDE_SCROLLBAR, 0) == 1));
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIPowerWidgetActivity.java:109: cannot find symbol
symbol : variable EXPANDED_HIDE_SCROLLBAR
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(), Settings.System.EXPANDED_HIDE_SCROLLBAR,
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:62: cannot find symbol
symbol : variable STATUS_BAR_COMPACT_CARRIER
location: class android.provider.Settings.System
Settings.System.STATUS_BAR_COMPACT_CARRIER, 0) == 1));
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:82: cannot find symbol
symbol : variable STATUS_BAR_COMPACT_CARRIER
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(), Settings.System.STATUS_BAR_COMPACT_CARRIER,
^
packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/WidgetActivity.java:120: cannot find symbol
symbol : variable widget_max_buttons
location: class com.cyanogenmod.cmparts.R.string
Toast.makeText(this, R.string.widget_max_buttons, Toast.LENGTH_LONG).show();
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
7 errors
make: *** [out/target/common/obj/APPS/CMParts_intermediates/classes-full-debug.jar] Error 41
Try "make clean" before building. I had different errors while building CM7 earlier and i read this somewhere. It worked for me.
Thank you but that did not solve still got the same errors
Sent from my Droid using Tapatalk
jbirdvegas said:
Thank you but that did not solve still got the same errors
Sent from my Droid using Tapatalk
Click to expand...
Click to collapse
Hey Bro, try sending a PM to Kadalban... he'll sort it very fast.
SOLUTION
wisefreakz said:
Hey Bro, try sending a PM to Kadalban... he'll sort it very fast.
Click to expand...
Click to collapse
First thanks, but I tried and was returned invalid username?
Anyway I found the problem. The recent bump to 2.3.4 caused lots of symbol not found errors during the build. You can hack those out by slowly removing .java files but that causes instability. I noticed a comment cyanogen had posted on one of the frameworks_base_core commits. Long story short had to merge, up to date, frameworks and my vendor tree. New features = New code. I'm smacking myself now for not realizing this sooner.
Cool... hope to see your rom out soon.
Good luck
Sent from my Milestone using XDA Premium App
I keep getting the following error
When trying to build the ROM.
The sync went smoothly and now I am trying to build and get this error:
"
...
SecuritySettings.java:421: cannot find symbol
symbol : variable AuthentecHelper
location: class com.android.settings.SecuritySettings
case AuthentecHelper.eAM_STATUS_USER_CANCELED:
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
42 errors
make: *** [out/target/common/obj/APPS/Settings_intermediates/classes-full-debug.jar] Error 41
"
Been searching for a couple of hours for the solution but no luck.
Any1 has an idea?
Hello everyone
I am trying to convert SemcClock.apk (the one from Honami) from white to black.
I edited the styles.xml and so far everything is ok.
When i try to recompile the apk i get this error:
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\alarm_alert.xml:5: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\alarm_alert.xml:5: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\alarm_alert.xml:6: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\alarm_alert_tablet_horizontal.xml:6: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\alarm_alert_tablet_vertical.xml:8: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\alarm_alert_tablet_vertical.xml:18: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\alarm_digital_clock.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\alarm_time.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\alarm_time_delete.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\alarm_week.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\context_menu_header.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\current_time_tablet.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\current_time_tablet.xml:5: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\desk_clock_ics.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\desk_clock_ics.xml:8: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\desk_clock_tablet.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
C:\AndroidMultitool\Decompiled_apk\SemcClock\res\layout\desk_clock_tablet.xml:5: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
and many other lines (errors only in res/layout)!
Tried with apktool also but same problem!
I get this error even if i just decompile and recompile the apk without making any changes.
Anyone can help me please?
Thanks in advance!
You must use 4.2 framework-res for decompiling and compiling.
Number 3 (locale based direction) was added in 4.2.
Or change all lines to "ltr" (left to right).
peetr_ said:
You must use 4.2 framework-res for decompiling and compiling.
Number 3 (locale based direction) was added in 4.2.
Or change all lines to "ltr" (left to right).
Click to expand...
Click to collapse
To many lines bro to change from "3" to "ltr".
Do you have the 4.2 framework?
Thanks!
I am on phone. Take 4.2 framework-res from Z.
peetr_ said:
I am on phone. Take 4.2 framework-res from Z.
Click to expand...
Click to collapse
I was just doing that! Thanks!
DaRk-L0rD said:
I was just doing that! Thanks!
Click to expand...
Click to collapse
@peetr_ worked! Thanks mate!
peetr_ said:
You must use 4.2 framework-res for decompiling and compiling.
Number 3 (locale based direction) was added in 4.2.
Or change all lines to "ltr" (left to right).
Click to expand...
Click to collapse
DaRk-L0rD said:
To many lines bro to change from "3" to "ltr".
Do you have the 4.2 framework?
Thanks!
Click to expand...
Click to collapse
hi , i write this because i just want let you know , because you are in wrong way
i am from XPERIA Arc and i want to fully port Honami SemcClock.apk for my phone
i have below 37 errors
C:\Users\DELL\Desktop\SemcClock\res\layout\lap_item_tablet.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
and one more error here
C:\Users\DELL\Desktop\SemcClock\res\layout\main.xml:4: error: Error: Integer types not allowed (at 'layoutDirection' with value '0').
i replaced all the "3" to "locale"
and replaced the "0" to "ltr"
and i compile it without any errors
it is because we can't use numbers , i noticed this from here : http://developer.android.com/reference/android/view/View.html
you can search for "android:layoutDirection" so you will find this:
Code:
android:layoutDirection
Defines the direction of layout drawing. This typically is associated with writing direction of the language script used. The possible values are "ltr" for Left-to-Right, "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction used in "en-US". The default for this attribute is "inherit".
Must be one of the following constant values.
Constant Value Description
ltr 0 Left-to-Right
rtl 1 Right-to-Left
inherit 2 Inherit from parent
locale 3 Locale
This corresponds to the global attribute resource symbol layoutDirection.
Related Methods
setLayoutDirection(int)
now i have this errors , can you help?
C:\Users\DELL\Desktop\clock\cib+SemcClock\res\layout\desk_clock_ics.xml:14: error: No resource identifier found for attribute 'fontFamily' in package 'android'
C:\Users\DELL\Desktop\clock\cib+SemcClock\res\layout\desk_clock_ics_night_mode.xml:14: error: No resource identifier found for attribute 'fontFamily' in package 'android'
C:\Users\DELL\Desktop\clock\cib+SemcClock\res\layout\timer_time_picker.xml:5: error: No resource identifier found for attribute 'textAlignment' in package 'android'
C:\Users\DELL\Desktop\clock\cib+SemcClock\res\layout\timer_time_picker.xml:7: error: No resource identifier found for attribute 'textAlignment' in package 'android'
EAGLEBOOY said:
hi , i write this because i just want let you know , because you are in wrong way
i am from XPERIA Arc and i want to fully port Honami SemcClock.apk for my phone
i have below 37 errors
C:\Users\DELL\Desktop\SemcClock\res\layout\lap_item_tablet.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '3').
and one more error here
C:\Users\DELL\Desktop\SemcClock\res\layout\main.xml:4: error: Error: Integer types not allowed (at 'layoutDirection' with value '0').
i replaced all the "3" to "locale"
and replaced the "0" to "ltr"
and i compile it without any errors
it is because we can't use numbers , i noticed this from here : http://developer.android.com/reference/android/view/View.html
you can search for "android:layoutDirection" so you will find this:
Code:
android:layoutDirection
Defines the direction of layout drawing. This typically is associated with writing direction of the language script used. The possible values are "ltr" for Left-to-Right, "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction used in "en-US". The default for this attribute is "inherit".
Must be one of the following constant values.
Constant Value Description
ltr 0 Left-to-Right
rtl 1 Right-to-Left
inherit 2 Inherit from parent
locale 3 Locale
This corresponds to the global attribute resource symbol layoutDirection.
Related Methods
setLayoutDirection(int)
Click to expand...
Click to collapse
Thanks mate. I alredy solved the problem using framework-res.apk from honami. I was able to theme it also without any problems
Arc has jb or ics mate?
DaRk-L0rD said:
Thanks mate. I alredy solved the problem using framework-res.apk from honami. I was able to theme it also without any problems
Arc has jb or ics mate?
Click to expand...
Click to collapse
ics
can you help me about the above 4 errors?
i don't want to change my framework because i want to use it for my arc and also don't want to change my arc framework
i hope you can help me
Hi.
I'm new at developing Xposed module, so i've a lot to learn.
I would use Xposed to replace some xml files. I've write some code but that doesn't work (it doesn't even compile): for example
Code:
resparam.res.setReplacement("com.name.application", "xml", "file", modRes.fwd(R.xml.file));
But that doesn't ever recognize R.xml.file. I've add some lines to R.java:
Code:
public static final class xml {
public static final int file=0x7f040000;
}
Just to make it recognize the name, but then i've a lot of error:
PHP:
file.xml:2: error: No resource identifier found for attribute 'attribute' in package 'com.example.xtest'
And so on.
It's very likely that this code has no sense, so i'm asking you: how can i replace some xml files?
Thanks!
I tried the following:
Download toolchain from https://android.googlesource.com/pl....9/+/e54105c9f893a376232e0fc539c0e7c01c829b1e
Download clang-4639204
sudo apt-get install -y build-essential kernel-package libncurses5-dev bzip2
sudo apt-get install flex bison
sudo apt-get install libelf-dev
export CROSS_COMPILE=/home/gilius/Desktop/tool/bin/aarch64-linux-android-
export ARCH=arm64
enter the 9820 directory
sudo -i
make xynos9820-beyond2lte_defconfig
make -j10
Am getting the following errors:
Code:
arch/arm64/Makefile:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum
arch/arm64/Makefile:57: Detected assembler with broken .inst; disassembly will be unreliable
../PLATFORM/prebuilts/clang/host/linux-x86/clang-4639204/bin/clang.real: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
../PLATFORM/prebuilts/clang/host/linux-x86/clang-4639204/bin/clang.real: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
../PLATFORM/prebuilts/clang/host/linux-x86/clang-4639204/bin/clang.real: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
../PLATFORM/prebuilts/clang/host/linux-x86/clang-4639204/bin/clang.real: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
CHK include/config/kernel.release
../PLATFORM/prebuilts/clang/host/linux-x86/clang-4639204/bin/clang.real: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
make: *** [Makefile:1244: prepare-compiler-check] Error 1
make: *** Waiting for unfinished jobs....
Hi,
for me : sudo ln -s /usr/lib/libtinfo.so /usr/lib/libtinfo.so.5 did the trick but I am now stuck with some assembly instructions "not existing" errors when compiling arch/arm64/kernel/vdso/gettimeofday.S
did you made any progress?
Update : linking libtinfo.so.6 to libtinfo.so.5 solved it but also failed with :
scripts/selinux/genheaders/genheaders.c:19:
./security/selinux/include/classmap.h:251:2: erreur: #error New address family defined, please update secclass_map.
251 | #error New address family defined, please update secclass_map.
| ^~~~~
make[3]: *** [scripts/Makefile.host:102: scripts/selinux/genheaders/genheaders] Error 1
make[2]: *** [scripts/Makefile.build:673: scripts/selinux/genheaders] Error 2
make[1]: *** [scripts/Makefile.build:673: scripts/selinux] Error 2
make: *** [Makefile:607: scripts] Error 2
I am currently trying it on archlinux and the ncurses5-compat-libs package didn't put a new library in my path I will try later on another distro see if it's just a library error.
Update 2 :
Compiled fine using rhel 8, I had to install ncurses compat libs and create a symbolic link from python2 to python in my $PATH.
Does it boot?
Does your kernel boot?
Mine, keep stuck at Samsung logo
Akugila said:
Does your kernel boot?
Mine, keep stuck at Samsung logo
Click to expand...
Click to collapse
Non, I can't even go further the unlocked warning screen, but my repacking of the image is wrong, my new image is always lighter than the original, I am using magiskboot to do it. How are you doing it ?
try AIK
shmsh9 said:
Non, I can't even go further the unlocked warning screen, but my repacking of the image is wrong, my new image is always lighter than the original, I am using magiskboot to do it. How are you doing it ?
Click to expand...
Click to collapse
Ahh, fool me. it's stuck at warning screen too (forgot there are another samsung logo during boot)
I use AIK [https://forum.xda-developers.com/showthread.php?t=2073775] for packing, the size is the same with original (I use "Image" file)
kernel build error: expected parameter declarator
Did you get these compilation errors?
In file included from kernel/bounds.c:10:
In file included from ./include/linux/page-flags.h:10:
In file included from ./include/linux/bug.h:5:
In file included from ./arch/arm64/include/asm/bug.h:37:
In file included from ./include/asm-generic/bug.h:16:
In file included from ./include/linux/kernel.h:14:
./include/linux/printk.h:149:24: error: expected parameter declarator
static inline __printf(1, 2) __cold
^
./include/linux/printk.h:149:24: error: expected ')'
./include/linux/printk.h:149:23: note: to match this '('
static inline __printf(1, 2) __cold
^
./include/linux/printk.h:149:23: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
static inline __printf(1, 2) __cold
^
void
./include/linux/printk.h:149:29: error: expected ';' after top level declarator
static inline __printf(1, 2) __cold
^
Linaro 4.9.4 aarch64-linux-gnu compiler tools for S10 5G kernel build
floor51 said:
Did you get these compilation errors?
In file included from kernel/bounds.c:10:
In file included from ./include/linux/page-flags.h:10:
In file included from ./include/linux/bug.h:5:
In file included from ./arch/arm64/include/asm/bug.h:37:
In file included from ./include/asm-generic/bug.h:16:
In file included from ./include/linux/kernel.h:14:
./include/linux/printk.h:149:24: error: expected parameter declarator
static inline __printf(1, 2) __cold
^
./include/linux/printk.h:149:24: error: expected ')'
./include/linux/printk.h:149:23: note: to match this '('
static inline __printf(1, 2) __cold
^
./include/linux/printk.h:149:23: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
static inline __printf(1, 2) __cold
^
void
./include/linux/printk.h:149:29: error: expected ';' after top level declarator
static inline __printf(1, 2) __cold
^
Click to expand...
Click to collapse
I found that using the Linaro 4.9.4 aarch64-linux-gnu compiler tools solved this:
https://releases.linaro.org/compone...4.9.4-2017.01-x86_64_aarch64-linux-gnu.tar.xz
I was previously using the toolchain that is in ianmacd's github repo here:
https://github.com/ianmacd/beyond2l...p/gcc-cfp-jopp-only/aarch64-linux-android-4.9
I changed this:
#CROSS_COMPILE ?= $(srctree)/toolchain/gcc-cfp/gcc-cfp-jopp-only/aarch64-linux-android-4.9/bin/aarch64-linux-android-
...to:
CROSS_COMPILE ?= ~/dev/projects/android/kernel/gcc-linaro-4.9.4-2017.01-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
I also used Linaro for CLANG_TRIPLE.
And I used clang for CC:
CC = ~/dev/projects/android/kernel/clang-4639204/bin/clang
...from here:
https://android.googlesource.com/pl...archive/android-9.0.0_r1/clang-4639204.tar.gz
All that info would have helped me a lot anyway. Hope it helps someone. Not that I've tried the image on device yet.
Hey,
I have managed to build the kernel by following the instructions in the samsung readme.
Code:
$ export ANDROID_MAJOR_VERSION=p
$ make ARCH=arm64 exynos9820-d2s_defconfig
$ make ARCH=arm64
I end up with an Image file and Image.gz with the same Image file inside. I'm not sure if this has built correctly as people talk about being able to use Android kitchen or similar unpacker to unpack and repack the img file. With the Image file I receive it is incompatible with Android Kitchen and another Perl unpacker I have tried.
When you compile your kernel do you get an Image.img file? Or the same as me, just Image, and if so, how do you make it usable?
JPNZ4 said:
Hey,
I have managed to build the kernel by following the instructions in the samsung readme.
Code:
$ export ANDROID_MAJOR_VERSION=p
$ make ARCH=arm64 exynos9820-d2s_defconfig
$ make ARCH=arm64
I end up with an Image file and Image.gz with the same Image file inside. I'm not sure if this has built correctly as people talk about being able to use Android kitchen or similar unpacker to unpack and repack the img file. With the Image file I receive it is incompatible with Android Kitchen and another Perl unpacker I have tried.
When you compile your kernel do you get an Image.img file? Or the same as me, just Image, and if so, how do you make it usable?
Click to expand...
Click to collapse
glad to hear that you could build the kernel.
could you please elaborate which build env you used and which version?
make clean destroys my build env and i needed some patches to make it even compile in the first place.
could you run the kernel successfully on the device?