ROM Building for the S7 - Sprint Samsung Galaxy S7 Questions & Answers

Hello,
I've been a part of this community for a few months now, (though I've rooted every single device I've ever owned since the S3) and I was just wondering whether anyone would be willing to teach me how to build a rom for the Galaxy S7. I'm currently enrolled in Computer Science courses, and most hardware related stuff I have down, but my coding could be much better. I've never built a custom rom myself and know tools like android kitchen won't work on the S7's, especially since we don't have the source code. I would like to reach out to the creators of the two roms that I've actually used with thid device, the creator of the Stang5Litre rom and the creator of echoe rom. I would like to build a rom which would be as close to stock Android as possible (free of bloatware of course) and also come with features such as further control over System UI, CPU tuning tweaks, etc.. If anyone is willing to teach me let me know. My eventual goal is to build a rom as close to cyanogenmod (or LineageOS) as possible.
Thanks.

Related

Flash Stock Android Kernel (or Emulator ROM)

Hey,
I've just recently started Android development and I'm keen to learn as much as I can about the whole system, not just about SDK app development. As such I'm interested in attempting to build my own ROM completely from scratch. I've downloaded the Android Source (and Galaxy S source) and would like to try my luck.
First I've been mucking around creating custom ROMs with the emulator, moving apps from the Galaxy S ROM I dumped from my device onto the stock emulator ROM and testing things out.
Anyway I'm at the point where I'm wondering if it's possible to flash the stock emulator ROM onto a Galaxy S phone? I know the Galaxy S source includes a lot of device specific stuff however I'm not interested in getting the camera, bluetooth or anything hardware specific working just yet.
If I flash a ROM with a stock kernel, drivers etc. onto my phone will it work? Has anyone done this? Will it just brick my phone?
Any help would be appreciated.
Cheers,
Ben
Anyone?
Also, I know people have flashed AOSP ROMs on other phones, does anyone know if they required modifications or whether they are in fact stock ROMs?
nje, can't work. why?
1) different bootloaders
2) different partition layout
3) different (kernel)drivers
4) different vendor setup
etc.
it is possible to flash the emulator image onto a dev device (dream/sapphire) but even then a lot will not work properly!
if you want to learn about the android architecture you should start with building a kernel (there is already a thread about that here) and playing around with stuff like the (file)system and utilities...
Thanks jodue.
Yeah my long term intentions were definitely to build the Galaxy S kernel and any necessary libraries and drivers specifically necessary for the apps I decide to include in a custom ROM.
I was hoping that I'd be able to start out by tweaking a minimalistic/generic ROM (the AOSP default ROM) on my Galaxy S. However, as you've pointed out I'll have to start out with the kernel and all the device specific stuff first.
I've got quite a bit of information on building an Android/linux kernel both from the thread you mentioned and also the official AOSP page. However information on putting together a complete working ROM seems a bit sparse. Does anyone know where I can find some information on the topic?
I'm also curious to learn about the list of things jodue mentioned i.e. Android bootloaders, partition layouts and drivers (generic and Galaxy S specific). I assume detailed information about particular devices and drivers probably isn't available but if anyone even knows where I can learn detailed information about default AOSP ROMs I'd be extremely interested know.

[Q] what is Kernel

Gents,
I need your help about "kernel", as I know when installing Android I need the folder named Android and the data.img.
But the kernel what is that?
Thanks for reading and more for helping.
The kernel is the core of the Android OS. Windows too runs on a kernel. Every build already includes one, and usually the most up-to-date or stable version, so you shouldn't have to worry about it, unless you want to update your kernel some time in the future.
I've been running Android for several months now and I've not updated the kernel once.
Still there is somthing to say
First I want to thank you for giving me some of your time.
The answer is clear, but why there is update always (now is 8.6)?
and what the kernel is including, is it the same of Android folder?
I hope I will find some more time.
Check out here for a bunch of explanations of terms that are commonly used around here
http://forum.xda-developers.com/showthread.php?t=852660&highlight=glossary
The reason that the kernels are updated alot is that the people who build the kernels find flaws in them through testing them, and through the feedback they recieve here on XDA.
Then they work to try and find ways to fix those flaws. Sometimes in fixing one flaw, a new one emerges. Generally it is a good idea to use the latest version of whatever kernel came with the build.

guaging public interest in my custom rom

Hello everyone
After a long hiatus away from all things rom/kernel development, i feel the time is right to get back on the scene. I purchased a S6 G920F and have been playing around with making my own rom, as I always do.
I am curious to see if there is interest out amongst you for it.
Based on:
G920F - UK BTU Firmware AOCW (latest unbranded UK)
All core samsung apps retained
All play-store available *bundled* apps removed (clean slate)
Some performance tweaks
All other aspects of the rom remain completely stock, to give you complete freedom and control over what you want to modify or not
I am just working through some bugs with it at the moment, but I will upload it if there is significant interest . And i need to think of a cool name for it D
GL
g.lewarne said:
Hello everyone
After a long hiatus away from all things rom/kernel development, i feel the time is right to get back on the scene. I purchased a S6 G920F and have been playing around with making my own rom, as I always do.
I am curious to see if there is interest out amongst you for it.
Based on:
G920F - UK BTU Firmware AOCW (latest unbranded UK)
All core samsung apps retained
All play-store available *bundled* apps removed (clean slate)
Some performance tweaks
All other aspects of the rom remain completely stock, to give you complete freedom and control over what you want to modify or not
I am just working through some bugs with it at the moment, but I will upload it if there is significant interest . And i need to think of a cool name for it D
GL
Click to expand...
Click to collapse
Hi, I got my S6 3 days ago and I have been lurking around the forum looking at a custom rom to install so i would be interested.

Which One Is Better, Stock ROM or Custom ROM?.

Android is a superb mobile operating system from the search giant Google. No one can question about its features and performance, and that was the only reason that the sales of Android phones accounted for 68% of globally sold smartphones in 2nd Quarter of 2012. But do you know Android come in two forms: Stock ROM and Custom ROM. Stock ROM is the Android version which mobile company officially provide you along with the phone or tablet. Custom ROM is the Android version which is not officially provided but customized and distributed by other developers. Both of the versions of Android have their own pros and cons. Let’s see what’s your choice must be:
Although ROM in computers mean Read Only Memory (memory storage which once written, can’t be edited or deleted) but surely this is not what we mean when we talk about ROMs for Android. Here, it means firmwares for Android phones and tablets. Changing/Installing a ROM in your phone is quite same as installing a new operating system on your desktop or laptop system. Android is open source and people (interested developers) usually modify this code to add features, change home screen, bring tweaks, improve stability or customize it – this is what known as Custom ROM.
Why to choose Stock ROMs?
Stock ROMs are the ones which come by default in Android phones or tablets. These are customized versions of Android done by mobile companies to make their devices unique in looks and features.
01-0Warranty.
Stock ROMs doesn’t void your warranty. One of the biggest reasons that people don’t go for Custom ROMs is warranty. Most of the companies prohibit rooting your Android phone or installing a custom Android version – and if you do so, then you can void/lose your warranty.
02-Premium Apps
Stock ROMs usually come with loaded premium apps which are built by mobile companies to attract customers. These apps can be anything like music players, widgets, live wallpapers, etc. Premium apps are provided to enrich the user’s experience of the customer. These apps differ from one mobile vendor to another and sometimes, even from model to model – more or better apps as the price of the device goes high. For example, Sony Xperia phones have TrackID which can be used to get information about an unknown playing music; Samsung Galaxy S3 has S Voice, a virtual assistant app just like Siri (available in iPhone 4S); etc.
03-Premium Features
Android in original form is cool, but mobile vendors hardly think so – they try to improve it in terms of features and looks. Stock ROMs comes with lots of premium features which are not available in Custom ROMs (at least not for free). These features include custom home screen or launcher or app drawer, e.g., Sony Xperia phones have TimeScape UI whereas Motorola phones have Blur UI. For example, most Android phones come with keyboard with Swype feature using which you can type a word with a single tap on the touch screen by just swiping your finger across each letter of the word and keyboard automatically guess the correct word.
04Trust for Security
May be it feel strange but one can easily trust Android operating system sold by a reputed company. You can be sure that it does not contain any backdoor, malwares, spywares or other malicious tools. I’m not saying you can’t trust Custom ROMs but it’s just that many people take their privacy on top of all other things – you can easily trust a reputed company you know but how can you trust a software or source code of unidentified origin or developer.
Why to choose Custom ROMs?
Custom ROMs are the ones which are customized or developed from the original source code of Android and differ from it in features and/or looks. Custom ROMs are not provided by Google or other mobile vendors but are developed and maintained by community and its contributors.
01-Root Access
Custom ROMs provide you root access in your Android system. Root access in Android/Linux is like the administration permissions in Windows – you get permission to do almost anything in your phone/tablet. Isn’t it wonderful? Many of the people (including me) get rid of the Stock ROM to enjoy root access – you become the master of your Android – you decide what apps will be installed, which services will run in the background and many other similar permissions.
02Regular Updates
Updates or new releases are more regularly released for Custom ROMs than Stock ROMs. Many of the times, a new Android release come in the market but your phone company don’t provide the update for your phone. Then where you stand? Your mobile vendor forget about your phone and start focusing on its new models. But the community supports you – people releases custom ROMs of new Android releases even if your mobile company don’t release the update for your phone. Using Custom ROMs, you always have the option to try new Android versions. For example, Android 4.1 (JellyBean) is the latest release at present but Sony has denied releasing it for Xperia phones announced/released before mid 2011, but CyanogenMod (the most popular Custom ROM of Android) is working on beta versions of 4.1 version and will soon be releasing the final tested version of JellyBean.
03-Easy to Change
Once you’ve rooted your phone and installed a Custom ROM, it’s very easy to change and install different Custom ROMs of your choice without any hassle. If you’ve installed a custom recovery (like ClockWorkMod) then you can easily install Custom ROMs by just downloading the zip package of the ROM, putting it on your phone’s SD card’s root directory, rebooting your phone and opening the recovery, and installing that zip file after cleaning your system and data partitions.
04-Better Performance
Custom ROMs allow you to install/remove apps, change background services and set many other performance tweaks. This make Custom ROMs perform better than Stock ROMs in most cases. Custom ROMs are not bulkier as Stock ROMs and are not bundled with lots of pre-installed apps and services – this make it even faster and perform better.
Android is a great system to use and to modify too! Unlike other mobile operating systems, Android provide options to easily customize the look and user experience of your system. Mobile vendors don’t give you root access and prohibit you to install advance apps or change system permissions or settings, but you can achieve it using a Custom ROM. Though it is the choice of the people – many people enjoy Stock ROM but Custom ROM suits for others.
What’s your favorite?
Custom ROM users – which ROM you use?

Debloated & rooted stock ROM ?

Hi everyone,
I'm currently using the S7 edge under superman v2.4.1 (ROm from early 2017) and never uptated it since.
As the battery drain is important now (whereas the battery life is still good) i'd like to install a stockbased ROM under 8.0 version. Are there some ?
By the way, i'd like to know (especially in terms of battery life) it's better to get android 8.0 or ported NFE 9.0 ROM ?
Thanks in advance for the answer :good:
I am an experienced person. those who see me can call me a cow. Or you could say what you're doing here.
Do not use custom rom. It could be information theft or data sale. Not safe. It also damages and exhausts the device. Also the battery runs out faster.
Dont login any bank account in any custom rom.
I know this is the developer platform. But people are bad. The good thing about this place is that you can make your own rom by learning something. Just do it to yourself.
Or;
Always use stock rom.
If you need it, root it, debloat it.
Be conscious. Know what you're doing.
Be aware.
riro56 said:
Hi everyone,
I'm currently using the S7 edge under superman v2.4.1 (ROm from early 2017) and never uptated it since.
As the battery drain is important now (whereas the battery life is still good) i'd like to install a stockbased ROM under 8.0 version. Are there some ?
By the way, i'd like to know (especially in terms of battery life) it's better to get android 8.0 or ported NFE 9.0 ROM ?
Thanks in advance for the answer :good:
Click to expand...
Click to collapse
first... you need to update your bootloader and módem.... so flash thru odin a stock firmware then use the latest twrp to hack the recovery and flash any rom avalaible on the development thread...
do that way and it will be fine
luckstar53 said:
I am an experienced person. those who see me can call me a cow. Or you could say what you're doing here.
Do not use custom rom. It could be information theft or data sale. Not safe. It also damages and exhausts the device. Also the battery runs out faster.
Dont login any bank account in any custom rom.
I know this is the developer platform. But people are bad. The good thing about this place is that you can make your own rom by learning something. Just do it to yourself.
Or;
Always use stock rom.
If you need it, root it, debloat it.
Be conscious. Know what you're doing.
Be aware.
Click to expand...
Click to collapse
I agree that rooting and debloating is the best option due to stability reasons .. but your accusation to the developer community here is totally out of sense ..
Rooting a stock rom or even debloating it requires a custom recovery .. a flashable zip for gaining root access like magix/super su and others WHICH are also coded by the great developers here on xda..
So going with your theory.. EVEN flashing a custom recovery or rooting with a zip will hijack the phone because its also a custom coded program not made by samsung .. and so we should not use them too and use full stock so only samsung and google can spy on us.. lol.. Its hillarious man .. you just contradicted your own statement..
And the amount of spying google and OEMs did and are doing.. outpaces any spying a developer here would put in his rom just to see how your face looks like xD like seriously dude this is xda not pi***e b*y.. devs here are the best people and not some low life hijackers .. if they were .. our phones/data and bank accounts would have been hacked a long time ago because of using their roms/programs ..
Again, this is xda.. no one is allowed to do data stealing here unlike oems and google.. if anyone did they would have got banned already.
And you think only a developer can hack the phone by using/flashing his rom/program ?
Whatsapp hacked phones of millions of users which were on STOCK oem roms due to a critical android OS glitch.. android OS itself needs fixing and devs try to implement more security in this unsecure OS if not much.. if they do anything it is extending the life of a device ditched by the oem a long time ago, providing it with latest android OSes, bugs and security fixes/updates and giving it a new life basically..
BUT yes if you or anyone has the skill to modify a rom or make custom one on their own using the sources, I totally agree with that but accusing the ones who did that much hassle and providing an already cooked rom to general people who don't know a bit about coding is the worst type of offence imo, they need to be appreciated highly for their contributions instead of these old pathetic accusations..
Don't misguide other users here on xda ! If you feel still like your data could be hacked .. stop using internet, phones and computers, don't use android, stop using gps too and build an underground bunker to be most 'secure' in life.. but don't misguide others or accuse developers !
I wouldn't have bothered to write such a long reply if your post wasn't that much misguiding and based on false theories.
Also being 'secure' in 21st century is a hillarious joke really and an eternal illusion to people ; )
Sent from my S7 Edge using XDA Labs

Categories

Resources