yashsingh1/xdaforums huggingface dataset:
[Android Software Development] neonkat:
#googled for your device,i found that the codename for your device is S9320 and S9321(4g model),so search for something like "s9320_defconfig".

#or if your device is working,pull logcat with adb command(google to get the command).

EDIT:btw which os(operating system) friend?
[Android Software Development] Avinash kodidasu:
bro its kitkat aosp kernel and 3.4.67 obviously and u can see the ss that i attached before and even not found any config file with s9320 (my model is not 4g) so if u could then help me on this things
[Android Software Development] neonkat:
FIRST OF ALL,PLEASE TELL ME WHICH LINUX DISTRO IS THAT??

btw,i have played with samsung sources and they gave a txt fie in the sources,telling about the defconfig and hot to build one.

anyway follow this.
[Android Software Development] Avinash kodidasu:
i am using linux mint 17.2 rafeala

thanks for the video
[Android Software Development] Avinash kodidasu:
bro i am using canvas knight (A350)

and my device has no source code

i have source code of wiko highway(similar device and i have installed the wiko highway stock rom in my device with out any modifications)

Wiko highway device code is S9320 as u said and i also found in build.prop

so i cant found any config file starting with s9320 and as well as not similar to it

and the video that u linked that command gives me error..so need some help

sorry i am new to building if i am asking any stupid questions
[Android Software Development] neonkat:
don't worry friend,everyone is a noob one day(even me too),ask anytime,will try to help.

btw,i looked for your device and found something..

*try to look for "mt6592_wiko_highway_kk_defconfig",if you get it,try to build kernel,if dosen't work,try "mt6592_kk_defconfig", try to build again,if you don't have those files,download them from hereand retry again.
[Android Software Development] Avinash kodidasu:
Finally i found it..thanks for helping

Now i strucked at the "make menuconfig" command

It give me error
[Android Software Development] neonkat:
i never used menuconfig because that is quite confusing for me,also,i don't find a lot of options to use,seems like it is for professional users(mainly found different drivers to install),you can also skip the "make menuconfig" command and move forward.

i just added the toochain location to .bashrc and now i don't need to type all the "make (toochain location)" bla bla again,just

make ## deconfig

make

and it starts to build.:D
[Android Software Development] Hacker432:
Hi, your guide is fantastic :)

I have some questions for you

The created kernel is compatible with cyanogenmod too or I have to do some modifications?

Are there risks of brick the device?

If yes it's possible to recover it?

Inviato dal mio HUAWEI Y550-L03 utilizzando Tapatalk
[Android Software Development] neonkat:
#if you build it with the cm or aosp kernel sources,then it will be compactible with all roms based of cm or aosp sources.

#if you built a kernel with the company's sources(like samsung),then it will work with the company's rom(like touchwiz form samsung).

#make a backup of the stock boot.img(if you are rooted) and flash your new boot.img or zimage(anykernel script),if dosen't work,restore the stock boot.img or dirty flash(if custom rom).
[Android Software Development] Hacker432:
Thanks for the clarification

Inviato dal mio HUAWEI Y550-L03 utilizzando Tapatalk
[Android Software Development] abhishekr700:
Hello, I am new to kernel stuff and thus need help.

I dont have much of a good intetnet plan, I have windows 10 with git installed so is it possible to do all these things offline without mirroring all work to git server.

I also wanna ask that i got the link to lollipop sources and they are like 14 GB so are they really so big?

Please remember to press the THANKS button if I have HELPED you. ?
[Android Software Development] neonkat:
yes,you can work offline also,github is not necessary but it will become a headache for you.github helps to to keep record of every change you made,you can't remember or note every change you made,which line you edited,what you added/removed,git will help you in this.

you will need linux os for compiling,windows will not work.

you can also use cygwin,which is linux emulator for windows.

kernel sources are generally available in .zip format,~120mb which expands and becomes about 500-600mb.rom sources are very huge,marshmallow is about ~20gb in size.
[Android Software Development] abhishekr700:
Any particular guides for kernel compilimg with cygwin that you know of?

I am a newbie (not noob) to kernel development, so my first build will be like a stock kernel compiled from source...

Can we talk on Facebook?

Please remember to press the THANKS button if I have HELPED you. ?
[Android Software Development] Avinash kodidasu:
Bro i have small doubt

i have kitkat kernel source of my device

and lollipop kernel source of another device which has same source of mt6592

can i use that source code to built lollipop kernel to my device

if yes then what changes i have to do in it
[Android Software Development] neonkat:
same command,cygwin will work as terminal.

but i will recommend linux because you can get some error using toolchain or while installing necessary packages.

---------- Post added at 01:49 PM ---------- Previous post was at 01:43 PM ----------

the device(the one with lollipop source)must have same specs like your device like camera,clock speed,camera resolution,ram,etc,in short,they both should be identical.

also,you need lollipop rom if you want lollipop kernel.
[Android Software Development] Avinash kodidasu:
Ok..thanks a lot..i want to add s2s and s2w and dtw features in my kernel..how can i add them..i searched everywhere but still unable to find them
[Android Software Development] neonkat:
i don't know about mtk processors,look for some dev if they already build s2w or dt2w for your processor(and display panel too should match),or look for some custom kernel for the same mtk soc as your's and check if they have implemented them or not,you can take help of that else you need to make it by yourself.(coding knowledge)
[Android Software Development] Avinash kodidasu:
i mean is there any guides are availble for this or if u know then u can explain what i have to do..
[Android Software Development] Hacker432:
Someone knows how to add f2fs support to a prebuilt kernel?

Inviato dal mio HUAWEI Y550-L03 utilizzando Tapatalk
[Android Software Development] neonkat:
you need kernel sources for adding that.

after you get kernel sources,follow this.

---------- Post added at 01:16 PM ---------- Previous post was at 01:15 PM ----------

no guide,you need to look if someone made d2tw for similar device and then port to your device(not an easy task).
[Android Software Development] Avinash kodidasu:
while making zimage i am facing this error and make menuconfig was working

make zimage
make: arm-eabi-gcc: Command not found
make: *** No rule to make target `zimage'. Stop.
[Android Software Development] neonkat:
make zimage?

from where you got this command?

just tell terminal about your toolchain location,use menuconfig if you want then "make xyz_defconfig"

it will start compiling,after compiling is successfull ,you will get zimage and afterwards you can create boot.img.
[Android Software Development] Avinash kodidasu:
http://xdaforums.com/showthread.php?t=2754513 this is the thread i am using because mine is mtk source and completely different

and while using this guide ultimate noob *****make ARCH=arm CROSS_COMPILE=~/arm-eabi-4.6/bin/arm-eabi- menuconfig

scripts/kconfig/mconf Kconfig

.config:2512:warning: override: reassigning to symbol MTK_SCHED_RQAVG_US

.config:2513:warning: override: reassigning to symbol MTK_SCHED_RQAVG_KS

Your display is too small to run Menuconfig!

It must be at least 19 lines by 80 columns.

make[1]: *** [menuconfig] Error 1

make: *** [menuconfig] Error 2

i am getting this error
[Android Software Development] neonkat:
follow post #4 in this thread,part a and b,skip the "make menuconfig" and tell me error,if you get lots of error,just type -j1 in part b last step.
[Android Software Development] Avinash kodidasu:
make: arm-eabi-gcc: Command not found
scripts/kconfig/conf --silentoldconfig Kconfig
.config:2512:warning: override: reassigning to symbol MTK_SCHED_RQAVG_US
.config:2513:warning: override: reassigning to symbol MTK_SCHED_RQAVG_KS
*
* Restart config...
*
*
* I2C Hardware Bus support
*
*
* I2C system bus drivers (mostly embedded / system-on-chip)
*
GPIO-based bitbanging I2C (I2C_GPIO) [N/m/y/?] (NEW) n
OpenCores I2C Controller (I2C_OCORES) [N/m/y/?] n
PCA9564/PCA9665 as platform device (I2C_PCA_PLATFORM) [N/m/y/?] n
Simtec Generic I2C interface (I2C_SIMTEC) [N/m/y/?] n
Xilinx I2C Controller (I2C_XILINX) [N/m/y/?] n
*
* External I2C/SMBus adapter drivers
*
Diolan U2C-12 USB adapter (I2C_DIOLAN_U2C) [N/m/y/?] n
Parallel port adapter (light) (I2C_PARPORT_LIGHT) [N/m/y/?] n
TAOS evaluation module (I2C_TAOS_EVM) [N/m/y/?] n
Tiny-USB adapter (I2C_TINY_USB) [N/m/y/?] n
*
* Other I2C/SMBus bus drivers
*
I2C/SMBus Test Stub (I2C_STUB) [N/m/?] n
#
# configuration written to .config
#
make: arm-eabi-gcc: Command not found
WRAP arch/arm/include/generated/asm/bitsperlong.h
WRAP arch/arm/include/generated/asm/auxvec.h
WRAP arch/arm/include/generated/asm/cputime.h
WRAP arch/arm/include/generated/asm/emergency-restart.h
CHK include/linux/version.h
WRAP arch/arm/include/generated/asm/ioctl.h
WRAP arch/arm/include/generated/asm/errno.h
UPD include/linux/version.h
WRAP arch/arm/include/generated/asm/irq_regs.h
WRAP arch/arm/include/generated/asm/kdebug.h
WRAP arch/arm/include/generated/asm/local.h
WRAP arch/arm/include/generated/asm/percpu.h
WRAP arch/arm/include/generated/asm/local64.h
WRAP arch/arm/include/generated/asm/poll.h
WRAP arch/arm/include/generated/asm/resource.h
WRAP arch/arm/include/generated/asm/sections.h
WRAP arch/arm/include/generated/asm/siginfo.h
WRAP arch/arm/include/generated/asm/sizes.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
scripts/Makefile.modbuiltin:25: /home/avinash/android/kernel/mediatek/platform//kernel/core/Makefile: No such file or directory
make[1]: *** No rule to make target `/home/avinash/android/kernel/mediatek/platform//kernel/core/Makefile'. Stop.
make: *** [mediatek/platform//kernel/core/modules.builtin] Error 2
make: *** Waiting for unfinished jobs....

can u explain this error why i am facing this
[Android Software Development] neonkat:
"make arm-eabi gcc",looks like you typed a wrong command.
[Android Software Development] Avinash kodidasu:
make -j4
make: arm-eabi-gcc: Command not found
scripts/kconfig/conf --silentoldconfig Kconfig
.config:2512:warning: override: reassigning to symbol MTK_SCHED_RQAVG_US
.config:2513:warning: override: reassigning to symbol MTK_SCHED_RQAVG_KS
*
* Restart config...
*
*
* I2C Hardware Bus support
*
*
* I2C system bus drivers (mostly embedded / system-on-chip)
*
GPIO-based bitbanging I2C (I2C_GPIO) [N/m/y/?] (NEW) n
OpenCores I2C Controller (I2C_OCORES) [N/m/y/?] n
PCA9564/PCA9665 as platform device (I2C_PCA_PLATFORM) [N/m/y/?] n
Simtec Generic I2C interface (I2C_SIMTEC) [N/m/y/?] n
Xilinx I2C Controller (I2C_XILINX) [N/m/y/?] n
*
* External I2C/SMBus adapter drivers
*
Diolan U2C-12 USB adapter (I2C_DIOLAN_U2C) [N/m/y/?] n
Parallel port adapter (light) (I2C_PARPORT_LIGHT) [N/m/y/?] n
TAOS evaluation module (I2C_TAOS_EVM) [N/m/y/?] n
Tiny-USB adapter (I2C_TINY_USB) [N/m/y/?] n
*
* Other I2C/SMBus bus drivers
*
I2C/SMBus Test Stub (I2C_STUB) [N/m/?] n
#
# configuration written to .config
#
make: arm-eabi-gcc: Command not found
WRAP arch/arm/include/generated/asm/bitsperlong.h
WRAP arch/arm/include/generated/asm/auxvec.h
WRAP arch/arm/include/generated/asm/cputime.h
WRAP arch/arm/include/generated/asm/emergency-restart.h
CHK include/linux/version.h
WRAP arch/arm/include/generated/asm/ioctl.h
WRAP arch/arm/include/generated/asm/errno.h
UPD include/linux/version.h
WRAP arch/arm/include/generated/asm/irq_regs.h
WRAP arch/arm/include/generated/asm/kdebug.h
WRAP arch/arm/include/generated/asm/local.h
WRAP arch/arm/include/generated/asm/percpu.h
WRAP arch/arm/include/generated/asm/local64.h
WRAP arch/arm/include/generated/asm/poll.h
WRAP arch/arm/include/generated/asm/resource.h
WRAP arch/arm/include/generated/asm/sections.h
WRAP arch/arm/include/generated/asm/siginfo.h
WRAP arch/arm/include/generated/asm/sizes.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
scripts/Makefile.modbuiltin:25: /home/avinash/android/kernel/mediatek/platform//kernel/core/Makefile: No such file or directory
make[1]: *** No rule to make target `/home/avinash/android/kernel/mediatek/platform//kernel/core/Makefile'. Stop.
make: *** [mediatek/platform//kernel/core/modules.builtin] Error 2
make: *** Waiting for unfinished jobs....

this is what i typed
[Android Software Development] neonkat:
check my post #104,follow that.
[Android Software Development] Avinash kodidasu:
see this

QUOTE=neonkat;64851512]check my post #104,follow that.[/QUOTE]

make -j1
make: arm-eabi-gcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
Generating include/generated/mach-types.h
CC kernel/bounds.s
/bin/sh: 1: arm-eabi-gcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
[Android Software Development] neonkat:
make -j1
make: arm-eabi-gcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
Generating include/generated/mach-types.h
CC kernel/bounds.s
/bin/sh: 1: arm-eabi-gcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2

[/QUOTE]

while exporting the toolchain,just type till "arm-eabi-" and not "arm-eabi-gcc".
[Android Software Development] Avinash kodidasu:
while exporting the toolchain,just type till "arm-eabi-" and not "arm-eabi-gcc".[/QUOTE]

i am not typing arm-eabi-gcc

it was coming automatically after i am typing make -j1
[Android Software Development] neonkat:
i am not typing arm-eabi-gcc

it was coming automatically after i am typing make -j1[/QUOTE]

seems like toochain path error..try to correct your toochain path.
[Android Software Development] Avinash kodidasu:
see ss that i attached i am using 4.6 tool chain

and i used the path command follows

export PATH=~/home/avinash/arm-eabi-4.6/bin:$PATH&&export CROSS_COMPILE=arm-eabi- &&export ARCH=arm
[Android Software Development] neonkat:
follow post #4.
[Android Software Development] Avinash kodidasu:
Thanks now facing this

avinash@avinash-HP-15-Notebook-PC ~/android/kernel $ make -j4 CHK include/linux/version.h

scripts/Makefile.modbuiltin:25: /home/avinash/android/kernel/mediatek/platform//kernel/core/Makefile: No such file or directory

make[1]: *** No rule to make target `/home/avinash/android/kernel/mediatek/platform//kernel/core/Makefile'. Stop.

make: *** [mediatek/platform//kernel/core/modules.builtin] Error 2

make: *** Waiting for unfinished jobs....

make: *** wait: No child processes. Stop.
[Android Software Development] neonkat:
"makefile" is missing from

/android/kernel/mediatek/platform/kernel/core/*here*

look in the source.zip folder or search for any kernel tree on github or others with same processor and get the *makefile*,from same folder location where error occured.
[Android Software Development] Avinash kodidasu:
after platform there is no kernel folder here see ss
[Android Software Development] Avinash kodidasu:
make platform .config
make[1]: *** No rule to make target `/home/avinash/android/kernel/_mtk_cust.mak'. Stop.
make[1]: *** No rule to make target `platform'. Stop.
make: *** [platform] Error 2

can u find the error..why i am facing this
[Android Software Development] neonkat:
"make platform .config"

from where you got this command?
[Android Software Development] Avinash kodidasu:
its my default config..i renamed it like this
[Android Software Development] neonkat:
type "platform.config" and not "platform .config".
[Android Software Development] Hacker432:
Hi, I have a kernel that doesn't boot, how I can debug it?

Inviato dal mio HUAWEI Y550-L03 utilizzando Tapatalk
[Android Software Development] limjh16:
Hey guys, need some help here for quite a stupid qn.: http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=i9305 Which one do I use, update1, update2 or the one without update? My i9305 is the JB by the way. Thanks a lot in advance!
[Android Software Development] neonkat:
go with "update2". newer is better with more fixes.:D
[Android Software Development] yarpiin:
Hi i have problem with kernel compile using aarch64 toolchain maybe someone can help i have made everything as in tutorial but after compiling finish in arch/arm64/boot i have 2files image and image.gz tutorial says that should have zImage so what now how to make boot.img ?
[Android Software Development] neonkat:
you need to use the "image" (the one which is higher in size).

i read that 64 bit soc use "image" and not "zimage" (correct me if i am wrong).
[Android Software Development] Arvind7352:
At the end of the Directory to toolchain

Put "arm-eabi-" instead of "arm-eabi-Id"

It will work

Sent from my Q1010i
[Android Software Development] limjh16:
I just realised, whatever open source package I downloaded is .zip not .tar, do I just convert it to .tar?
[Android Software Development] neonkat:
you can extract that manually to the location.
[Android Software Development] alial04:
Or u just rename it from tar to zip

If I helped you please thank me

Great regards
[Android Software Development] yarpiin:
Well if they do how to make it ino image.boot?
[Android Software Development] neonkat:
i never built a 64 bit kernel,i think you should try packing the "image" with the modules and ramdisk to get a boot.img.. you can try unpacking the stock boot.img of your rom to get some idea of the structure.
[Android Software Development] yarpiin:
Well that is a problem i have unpacked boot.image from working rom and working kernel both have zImage.image not image :/
[Android Software Development] mgonline:
HI Guys .....

I have big problem to build kernel for HTC Desire 626. I had found the kernel source on HTC DEV and I used this guide for compile the kernel.

When i start the process with make -j2 (i'm on virtual machine with two core reserved) I get this result:

scripts/kconfig/conf --silentoldconfig Kconfig
drivers/i2c/chips/Kconfig:101:warning: leading whitespace ignored
drivers/i2c/chips/Kconfig:106:warning: leading whitespace ignored
drivers/leds/Kconfig:237:warning: leading whitespace ignored
warning: (LEDS_LP5521 && LEDS_LP5521_HTC && LEDS_LP5523 && LEDS_LP5562) selects LEDS_LP55XX_COMMON which has unmet direct dependencies (NEW_LEDS && (LEDS_LP5521 || LEDS_LP5523 || LEDS_LP5562))
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (ARCH_MSM_KRAIT && ARCH_MSM8916) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
warning: (LEDS_LP5521 && LEDS_LP5521_HTC && LEDS_LP5523 && LEDS_LP5562) selects LEDS_LP55XX_COMMON which has unmet direct dependencies (NEW_LEDS && (LEDS_LP5521 || LEDS_LP5523 || LEDS_LP5562))
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (ARCH_MSM_KRAIT && ARCH_MSM8916) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
/home/marco/android/kernel/scripts/gcc-version.sh: riga 25: arm-eabi-gcc: comando non trovato
/home/marco/android/kernel/scripts/gcc-version.sh: riga 26: arm-eabi-gcc: comando non trovato
CC scripts/mod/empty.o
arm-eabi-gcc: No such file or directory
Is your PATH set correctly?
scripts/Makefile.build:308: set di istruzioni per l'obiettivo "scripts/mod/empty.o" non riuscito
make[2]: *** [scripts/mod/empty.o] Errore 2
scripts/Makefile.build:455: set di istruzioni per l'obiettivo "scripts/mod" non riuscito
make[1]: *** [scripts/mod] Errore 2
Makefile:524: set di istruzioni per l'obiettivo "scripts" non riuscito
make: *** [scripts] Errore 2
make: *** Attesa per i processi non terminati....
marco@marco-VirtualBox:~/android/kernel$

The error is very strange because the path to the toolchain is correct.

Anyone can Help me?

O.T.

I made the same process with NDK but in that case i use this command

make -jx ARCH=arm CROSS_COMPILE=/home/marco/ndk/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi- zImage

All work fine but i can't find my zImage file in any place...
[Android Software Development] Arvind7352:
make -jX, where X=1, 2, 3 according to no of cores. It should not be X itself[emoji14]

I guess you may have used a number.... Then, my bad.
[Android Software Development] yarpiin:
I have solved 64bit kernel build it was the config file but now after succesfull builld i cant add govs anytime when add gov i have compiling error as soon as compilation reach that gov and whats funniest i have used all files from kernel for the same device and that use same source :( and second i seem not able to build wlan.ko any thoughts ?
[Android Software Development] neonkat:
about the governer,you must be missing some things.for reference,you can look into some custom kernel's github page to see what changes you need to make.

which android version?umm i remember i read that now no wlan module is created,its there in zimage itself,just a guess,need someone to confirm.
[Android Software Development] yarpiin:
I have did exactly same thing as in all tutorials exactly same fing as per xda university tu and i have exactly copied and pasted lines that need to be added into my kconfig cpufreq.h and others :( will fight against it will se

It is CM13 kernel and i need to compile wlan.ko matching my kernel only i dont know how
[Android Software Development] neonkat:
did you edit files like this?

btw what error do you get?
[Android Software Development] yarpiin:
Yes i did i cant remember from top of my head as soon as i get into pc i will post it
[Android Software Development] setiawanjimmy:
Try this commands one by one

export ARCH=arm

export CROSS_COMPILE=~/android//kernel/arm-eabi-4.4.3/bin/arm-eabi-

make <your_config_name>_defconfig

make -j<cpucore>
[Android Software Development] tenifugo:
Hi my friend. Thank you for help me. I already tryed to use these comands one by one, but doesn't work. I use these commands:

#make ARCH=arm CROSS_COMPILE=arm-linux-androideabi- jf_defconfig

#make VARIANT_DEFCONFIG=jf_eur_defconfig jf_defconfig SELINUX_DEFCONFIG=selinux_defconfig

#make ARCH=arm CROSS_COMPILE=arm-linux-androideabi- menuconfig

#make -j4 ARCH=arm CROSS_COMPILE=arm-linux-androideabi-

Whit this commands i can change the configs that i want, but when i go compile, this error appears:

drivers/mfd/pm8921-core.c:218: error: resources_pwrkey causes a section type conflict

drivers/mfd/pm8921-core.c:218: error: resources_pwrkey causes a section type conflict

drivers/mfd/pm8921-core.c:172: error: adc_cell_resources causes a section type conflict

drivers/mfd/pm8921-core.c:172: error: adc_cell_resources causes a section type conflict

make[2]: *** [drivers/mfd/pm8921-core.o] Error 1

make[1]: *** [drivers/mfd] Error 2

make: *** [drivers] Error 2

I already research a lot about them, and i cannot find anything. If you have any idea of what is this, tell me.
[Android Software Development] neonkat:
you aren't exporting your toolchain,specify its locatiom.check the guide for step by step method.

export arch=arm

export cross_compile=~/(toolchain's location)/armandroideabi-

make variant_defc...(the first command you write *with selinux* also,i think that's a samsung device,right?)

make -j#

#->depends on your processor,use 4(commonly used),if poor processor(like mine :/)use 2.

*commands are case specific,use the one given in guide,i just gave a rough idea of the method(using my phone :v).