[Q] [COMPİLİNG ROM] for beginners - Samsung Galaxy W I8150

hi guys
i want to compile rom for ancora but i dont know anything about this job
im begiiner and i want to help from you
my only request is editing commits(simply changing,wiritng and deleting) in roms(github repos)
example i want to change some commits on arco's kernel and rom (samsung msm7x30 and android device ancora) and then make a flashable zip for rom
i dont have account of github i know i must get account
and then what must i do?
probably for compiling ron i must install ubuntu into my pc
i dont want to rebuild rom or build new rom i just want editing commits in some roms
can someone make instruction list for me?

Related

[Q] [REQ] How to cook a PA rom

I like the PA rom but i would want to have the Rom Control / Similar tweaks into PA.
Can someone help me with this.
Thanks
husytcs said:
I like the PA rom but i would want to have the Rom Control / Similar tweaks into PA.
Can someone help me with this.
Thanks
Click to expand...
Click to collapse
build from source. there's a thread about aosp building stickied in general. learn git and its various functions. you'll need linux or mac osx (only builds on master branch, afaik).
explore rom's source you wish to kang @github (or any other git repository). enjoy the beauty of open source. learn how to (at least) read, cherry-pick and merge code.
naturally, after you get your build running, you can't (or shouldn't) ask for help, you need to know how to debug, and how to get yourself out of trouble.
sent from my i9250

Cm10-Android 4.1.2 2ndboot + Linaro

Android 4.1.2 Compiled from Source of Quarx repo
+ Linaro as mentioned on quarx github
1.If you new with custom roms look here :
http://forum.xda-developers.com/showthread.php?t=1216982
In German :
http://www.android-hilfe.de/custom-...-wechselt-bzw-updatet-man-ein-custom-rom.html
info for quarx JB 2ndboot build for defy here
http://forum.xda-developers.com/wiki/Motorola_Defy/JB_status
Spezial thanks to Quarx2k,Walter79,Kayant,Skeevey433,Moqua......
Who made many things possible on Defy
Requirements :
Rooted Defy , all models, installed
ClockworkMod Recovery
Install :
Flash zip through recovery like every nightly
Reboot
Notes:
Rom reboot maybe once after installation
Enable usb-debugging for a short time if akku is allways 100%
Google apps can be found here :
http://goo.im/gapps/
For better battery and prevent ringtone bug replace zram.img and ramdisc.img in system/bootmenue/2nd-boot
with files contained in download Folder , using root explorer or flash the kernel-b773d4b651-without-666db01d50+ ramdisk_from18_11_2012 .zip in custom recovery after installing the rom.
(Should work on all newer CM10 2nd-boot roms)
Remember , all you do is on your risk
Files can be found here:
http://db.tt/zliqMTdy
MB525 red lense
Why waste your time having to update this when anyone can compile it through my guide or just use quarx's builds
There is no point posting this expect if you are adding some things or features like linaro which wskelly has done.... Or maybe you like doing extra work for no reason .
ok , i need a guide for linaro
companions
i appreciate the tips
happy new year
grateful

[Q] How to make a ROM ?

How can I build my own ROM, or even just mod other ROMs and edit them ?
Download the rom and edit files.
TheAreS said:
Download the rom and edit files.
Click to expand...
Click to collapse
... Download a rom and edit files?! If that were the case then even my pet dog could build a rom like arco.
The method is complex... way more complex. I've tried it and failed due to time management and unfulfilled requirements.
Here's a link to a tutorial... Why can't people learn to use Google these days...
http://forum.xda-developers.com/showthread.php?t=1801690
To build one from source, http://xda-university.com/as-a-developer/introduction-how-an-android-rom-is-built
Enjoy! You probably won't be able to last for more than 20 mins (unless you are really, and i mean really, intent on it)
If you were to download ROM files and edit, that will be cooking up some ROMs based on a "base" like CM. That you will need the ROM kitchen. The other one would be to build ROM from source like what iDelta mentioned, or you can develop one by yourself, developing a new source by yourself.

Question HOW TO MOD MIUI 13 /12 BASED ROMS ?

HOW TO MOD MIUI 13 /12 BASED ROMS ? I want to learn how to mod miui rom ,do some changes like other developers who changed miui logo from setting and putted their own logo ,changed boot animation,,putted magisk module so we dont need to flash it via magisk or recovery ,i was set by default ,,,how do they also changed the kernel ,,,,,,after all these they builded one new flashable zip file for us ,,,,,,,,,,,,,,,,anyone here who can help me to learn all these stuff, I'm highly interested........Which unpacker ,repacker or other tools they use ???????? HELPP HELP HELLP :3
Thanks in Future
TG: @SELinuxEnforcing
Evolution (author of pulse) use BatchAPKTool to compile/recompile apk. Than he find some files (smali) and following the manual changes it. I explained very superficially, everything is quite difficult for a beginner there, and if it is the same f a mentor as evolution who will constantly help, it will be a little easier. Moreover, two people helped me.

Question Nethunter Build help [Kernel / System]

Hey xdas,
i just received my new Samsung Galaxy z Fold 4
SAOMC_SM-F936B_OXM_EUX_12_0045 EUX /-/EUX/EUX
Kernel : 5.10.81-afaneh92-gd8d6af751972 (flashed for twrp)
I would like to install nethunter on the device with a working kernel
I tired my best to understand the docu on kali but its not the best
i am also new to compiling kernels at that level so maybe someone can help here
I attached as much as i could
So the steps i took so far is
Unlocked Bootloader
installed the twrp ( like descriped here : https://forum.xda-developers.com/t/recovery-unofficial-twrp-for-galaxy-z-fold4-snapdragon.4498743/ )
installed magisk
Then for nethunter
(https://www.kali.org/docs/nethunter/)
i downloaded the kernel source :
https://opensource.samsung.com/uploadSearch?searchValue=SM-F936 (my device is EUX see infos for device above)
downloaded the proper=? toolchain , there is an readme_kernel inside the kernel_source with a link to the toolchain , i am unsure about this
https://opensource.samsung.com/uploadSearch?searchValue=toolchain
there are two options i took the S22(Exynos) file ( hope thats right ?)
now we come to the difficult part :-(
first i tried to compile via the instructions on kali docs
unpack the kernel file i did and there a subfolders so i decided to use the subfolder common as the root mentioned in the docs:
you can begin by cloning our kernel builder to the root of your kernel’s folder, and prepare the environment:
from common folder i did git clone https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-kernel
cd kali-nethunter-kernel
I did not change the configs as i am new to that so i know there are some exports inside the build config inside the kernel file but i dont know how get them together
./build.sh
S. Setup Environment and download toolchains.
2. Configure & compile kernel from scratch
It found the devconfig so i took it as mentioned in the docs (Select your device’s defconfig, then save and exit to start the building process.)
did not edit the kernel config till jet
and ran into the error attached in the error txt
I would like to understand how i can build the kernel the normal way , without the nethunter tool
and maybe someone could help to make this working with nethunter that would be great !
i want to understand the process and i am willing to help , so i am not asking for a final kernel , more for the way to go in general to also give the community a benefit for the next new kernel we want to port
as mentioned the docs are not the best !
thanks for your time
@yesimxev / @V3rB0se / @afaneh92 need some help here
Which toolchain to you use in nethunter kernel builder? I'd recommend clang-12.
https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+archive/refs/tags/android-12.0.0_r12/clang-r416183b1.tar.gz
Download, extract somewhere and add it's path to kali-nethunter-kernel/config (clang-10 is the default). no need for setup environment again.
Any luck with this? i am in the same situation trying to build a nethunter kernel for my zfold4
Wanttoknowthings said:
Hey xdas,
i just received my new Samsung Galaxy z Fold 4
SAOMC_SM-F936B_OXM_EUX_12_0045 EUX /-/EUX/EUX
Kernel : 5.10.81-afaneh92-gd8d6af751972 (flashed for twrp)
I would like to install nethunter on the device with a working kernel
I tired my best to understand the docu on kali but its not the best
i am also new to compiling kernels at that level so maybe someone can help here
I attached as much as i could
So the steps i took so far is
Unlocked Bootloader
installed the twrp ( like descriped here : https://forum.xda-developers.com/t/recovery-unofficial-twrp-for-galaxy-z-fold4-snapdragon.4498743/ )
installed magisk
Then for nethunter
(https://www.kali.org/docs/nethunter/)
i downloaded the kernel source :
https://opensource.samsung.com/uploadSearch?searchValue=SM-F936 (my device is EUX see infos for device above)
downloaded the proper=? toolchain , there is an readme_kernel inside the kernel_source with a link to the toolchain , i am unsure about this
https://opensource.samsung.com/uploadSearch?searchValue=toolchain
there are two options i took the S22(Exynos) file ( hope thats right ?)
now we come to the difficult part :-(
first i tried to compile via the instructions on kali docs
unpack the kernel file i did and there a subfolders so i decided to use the subfolder common as the root mentioned in the docs:
you can begin by cloning our kernel builder to the root of your kernel’s folder, and prepare the environment:
from common folder i did git clone https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-kernel
cd kali-nethunter-kernel
I did not change the configs as i am new to that so i know there are some exports inside the build config inside the kernel file but i dont know how get them together
./build.sh
S. Setup Environment and download toolchains.
2. Configure & compile kernel from scratch
It found the devconfig so i took it as mentioned in the docs (Select your device’s defconfig, then save and exit to start the building process.)
did not edit the kernel config till jet
and ran into the error attached in the error txt
I would like to understand how i can build the kernel the normal way , without the nethunter tool
and maybe someone could help to make this working with nethunter that would be great !
i want to understand the process and i am willing to help , so i am not asking for a final kernel , more for the way to go in general to also give the community a benefit for the next new kernel we want to port
as mentioned the docs are not the best !
thanks for your time
Click to expand...
Click to collapse
Great research bro , same as here.
Difference is I am doing it for M21 .
And to flash the kernel I need to do port twrp for vA12 M21 too.
Great respect bro.
Anyone can help with kernel? u need AR9271 and rtl8188EUS drivers on ysl Android 9
https://forum.xda-developers.com/t/arm64-rom-unofficial-9-0-0-ysl-lineageos-16-0-18-08-2019.3958696/ <----- this rom
Phone: codename-[ysl]
Redmi s2
i have been trying to make it myself but always gets fails
im having the same issue at this step... anyone willing to show the part on how to setup the toolchain properly>?
heres a screenshot of my issue
this is local.config file
kluongo said:
heres a screenshot of my issue
Click to expand...
Click to collapse
It shows the error, do apt install flex
yesimxev said:
It shows the error, do apt install flex
Click to expand...
Click to collapse
Will do, thanks... You know I was looking through the process and missed that line... I suppose next time I should take more time and look more carefully
kluongo said:
Will do, thanks... You know I was looking through the process and missed that line... I suppose next time I should take more time and look more carefully
Click to expand...
Click to collapse
Great, I'll add to the setup env script so it won't be missed. It shouldn't happen in the first place though

Categories

Resources