good day fellow members
I have started using Android Devlopment for a few days
I am pretty new with everything
i have some understanding of java and python am still very learning
now I have made a custom rom for my j5 pro
I have compiled the kernel of source code and created a custom system
everything seems to work well on my phone
only I want to install root
now my question is how can I integrate magisk into the firmware so that I do not have to install it later using the zip file
Related
i own samsung galaxy pocket gt-s5300, its like galaxy Y little brother. And i'm trying to build from source.
i'm new in this stuff, so i can't elaborate enough to find solution myself.
i've downloaded the samsung source for this device from samsung website, when extracted it has 2 sources, platform and kernel.
im trying to build the platform and hopefully can build the stock rom successfully so i can proceed to modification.
already followed the instructions to get the gingerbread 2.3.6 from aosp, merge the folders from samsung to aosp, and execute build script (generic-user). seems fine, i got system.img,userdata.img,etc but no boot.img, still tried to flash anyway and figured that this device doesn't support fastboot but adb works. then i tried to make otapackage but got no rule error. perhaps caused by this generic-user lunch, but i dont know how to add this device to build, because there's only generic,emulator,crespo-4g, and crespo choices.
trying to find alternatives, and thinking about modify the stock rom with my build, so i also tried to open the odin flashable stock rom with winrar (xxx.tar.md5) which i cant, i dont know why since the other galaxy rom has no problem.
so many thing i'm not sure of doing it right, so i need help building for this samsung device from source.
bLusiLv said:
i own samsung galaxy pocket gt-s5300, its like galaxy Y little brother. And i'm trying to build from source.
i'm new in this stuff, so i can't elaborate enough to find solution myself.
i've downloaded the samsung source for this device from samsung website, when extracted it has 2 sources, platform and kernel.
im trying to build the platform and hopefully can build the stock rom successfully so i can proceed to modification.
already followed the instructions to get the gingerbread 2.3.6 from aosp, merge the folders from samsung to aosp, and execute build script (generic-user). seems fine, i got system.img,userdata.img,etc but no boot.img, still tried to flash anyway and figured that this device doesn't support fastboot but adb works. then i tried to make otapackage but got no rule error. perhaps caused by this generic-user lunch, but i dont know how to add this device to build, because there's only generic,emulator,crespo-4g, and crespo choices.
trying to find alternatives, and thinking about modify the stock rom with my build, so i also tried to open the odin flashable stock rom with winrar (xxx.tar.md5) which i cant, i dont know why since the other galaxy rom has no problem.
so many thing i'm not sure of doing it right, so i need help building for this samsung device from source.
Click to expand...
Click to collapse
I try to do it but i still make a lot of tweaks on my Rom I need to make good performance to my phone
i'm trying to build an aosp rom for my samsung galaxy s duos(gt-s7562). what modifications do i do so that the rom can work on my phone.
i've downloaded one file from samsung open source website this files contain two things called platform.tar.gz and kernel.tar.gz
how do i go about this.
i'm running the latest firmware update and the phone is rooted and has clockworkrecovery mod on it
As a fan of Stock Android, I thought I would create a Pixel style custom ROM using SuperR's kitchen - adding in all the Google services and apps and removing any unwanted or duplicate CM functionality - and document the process as I go on my Blog.
The tutorial provides a step by step guide to creating the ROM, on a base of Ubuntu 16.04. In my case I was producing a ROM for the Xiaomi Redmi Note 3 Pro, but the process will be the same for any phone with a CM14.1 build. Indeed, with only minor alternations is is suitable for any modern version of Cyanogenmod.
Feel free to look over it and perhaps give it a try. All feedback welcomed!
Building a Google Pixel style ROM for Kenzo using SuperR's Kitchen
I was looking for a guide on how to build a custom ROM for my Pixel and found this.
Sad that it's just a guide to build a non-Pixel ROM to look like a Pixel.
But wanted to give you a bump and say thanks for sharing your work with the community. :good:
CZ Eddie said:
I was looking for a guide on how to build a custom ROM for my Pixel and found this.
Sad that it's just a guide to build a non-Pixel ROM to look like a Pixel.
But wanted to give you a bump and say thanks for sharing your work with the community. :good:
Click to expand...
Click to collapse
Well !! instead of extracting whole system using this kitchen, u can flash Gapps aroma on the current ROM and remove un necessary apps directly during the installation .
I was saying this because I used the tool to build pixel based ROM but what we did is the exact replica as above . it was like decompile system.ext4.dat file .. Adding Gapps to system and a little debloat .later repack everything to zip and flash .
But , this tool is really wonderful , great work . u can extract any ROM . even u can make flashable zip of stock ROM using this tool if u have some knowledge in decompiling .img files .cheers .and thanks to the dev
Sent from my KIW-L22 using Tapatalk
Hi, this is my first post on xda, but i was reading it about 4 years and now i have unusuall question:
I have phone - samsung callisto (GT-I5510) with cyanogenmod 10.2 rom (android 4.3.1), and kernel sources are available for it, but only below 2.6.35.7 since phone is ancient. This is "latest" and probably "fastest" android phone with qwerty keyboard (not including this unrootable new blackberrys), so i think that it would be nice idea to deploy lightweight kali linux nethunter installation for hacking purpouses. I had some problems with oficial installer, and i had to modify it to allow install on device with such small /system partition, but the problem is that chrooting to Kali Roling is not working, becouse minimal kernel version needed is 3.2.*.*
Question is: Can i somehow "update" kernel sources of this device, so i can build 3.2.*.* kernel? I have much free time and even more determination to do this.
I am completely new to Android Engineering and want to learn it. Till now, I have tried building aosp oreo from repo. It is built successfully but I don't know about the use of all the folders that are downloaded by the repo. What is the use or importance of each folder in repo? Where can I learn more about this?
I have also modified my stock firmware (only removed some bloatware apps) and rebuilt the firmware. I haven't installed it yet. I used android kitchen which helped me with signing the zip but I am afraid the signature might be for testing and not the official vendor signature. I have phone with unlcoked bootloader but it's still on stock recovery. According to my knowledge, unlocking bootloader helps us to flash unofficial files but people at XDA say that we should also have custom recovery to flash custom ROMs. Should I flash the modified ROM built by me in device with stock ROM and unlocked bootloader?
My device doesn't have official TWRP support. How can I port recovery or build it from scratch for my phone?
Also, I have only modified stock ROM and need to learn porting ROMs like porting MIUI for my device. How can we port ROMs?
Sorry for asking all these at once but I tried getting answer one after another which confused me a lot. I am a noob in this field.
I read XDA thread of TWRP developer which included a guide on how to build TWRP for any device. But as the author said, that post wasn't for noobs. Maybe I need to learn a lot before I reach that level of understanding. But I don't know what to learn and from where. Please help..
And one last thing - What is a device tree? Or vendor tree? I saw these words many times when I was trying to understand the above things. But I still don't know what these are and Google doesn't help. Thank you everyone..
Hi
there is this section here https://forum.xda-developers.com/android/software
you`ll find some sticky threads of the top with plenty of info , have a look !
you may also use search and type XDA University , it will reveal also some useful links
Good luck !