Building a Rom - Samsung Galaxy S8+ Questions & Answers

Hi, i'm trying to build a Rom from sources for S8+. Could someone please point me to the sources and help me out in finding the correct Device Tree,Vendor, and kernel sources. Any help will be appreciated as i'm new to this, but it's a start!

Following this thread.

Unfortunately you won't be able to. Samsung doesn't post their full source code. I think most people who build for a Samsung device do a system dump and modify from there
Unless if course you just asked here and it's for another phone you own
Sent from my SM-G955U1 using Tapatalk

kintwofan said:
Unfortunately you won't be able to. Samsung doesn't post their full source code. I think most people who build for a Samsung device do a system dump and modify from there
Unless if course you just asked here and it's for another phone you own
Sent from my SM-G955U1 using Tapatalk
Click to expand...
Click to collapse
Thanks i'll look into that!

Related

Hacks for WIND Mobile Samsung Galaxy S 4G?

I picked up a WIND Samsung Galaxy S 4G today. I looked in the Android Dev thread here and I don't see anything specifically for this phone.
The model number is T-959W so I don't want to try anything with hacks/roms etc meant for the T-Mobile version.
I'd be happy to supply a dump of my phone for any devs who want to play around and help us here in the great white north!
Thanks
System dump would be nice if you can provide it. I'd advice against installing any mods you found here. Good thing you're cautious
Great, thanks! I have never done a dump before so I'll have to look into how to do it. I will let you know when I do.
I see it has 8 gig internal, we only got 2 there's a tutorial somewhere for system dumps, let me find you the link.
You need to be rooted I believe.
m.youtube.com/#/watch?desktop_uri=/watch?v=UWs6PKnDtFk&v=UWs6PKnDtFk&gl=US
Sent from my SPH-D710 using Tapatalk
Source files found
I found the following source files from opensource.samsung.com
SGH-T959W_NA_Opensource.zip
SGH-T959W_NA_GB_Opensource.zip
Will these help XDA with support for the Wind SGS4G?
Sure but idk if our devs are gonna build you guys stuff. Also, go to sampro.pl, it is a polish site so use Google chrome to translate it, then create an account for the site, go firmware downloads for your model if you see. If you do, then post a link to the latest version.
Sent from my SGH-T959V using xda premium
959w was not listed on the site (did not register).
Sent from my SGH-T959W using xda app-developers app
Imaging phone
I have heard that there may be an update in August. It may be prudent to wait for this update before capturing a ROM image, in case important fixes are made.
I guess a good question would be whether anyone has had any experience flashing T-Mobile SGH-959v ROMs on to this device.
Another avenue could be to ask someone inside Samsung whether they changed much between models.
bminuk said:
I found the following source files from opensource.samsung.com
SGH-T959W_NA_Opensource.zip
SGH-T959W_NA_GB_Opensource.zip
Will these help XDA with support for the Wind SGS4G?
Click to expand...
Click to collapse
Absolutely! I'm currently taking a little break (gotta find a job... like two weeks ago.), but when the dust settles, I'll take a little look at the source and see if we can help out.
What you could start with is a diff between the SGH-T959V-TMB_GB_Opensource.zip and the SGH-T959W_NA_GB_Opensource.zip drops.
I'd be willing to look into giving you guys something fun to work with.
I'll do a series of diffs tonight on the T959W stock kernel source and the T959V sources (stock and our CM kernel).
I have Telus S4G, which is T959P. However I've never had a problem using T959V roms,
Sent from my SGH-T959V using xda app-developers app
Another potential problem
I have been hearing on the web (in these forums and on the SuperOneClick page) that the 959W is not being successfully rooted in the usual ways. Has anyone had luck with this?
endee said:
I have Telus S4G, which is T959P. However I've never had a problem using T959V roms,
Sent from my SGH-T959V using xda app-developers app
Click to expand...
Click to collapse
You really shouldn't flash roms not made for your phone. If they contain bootloaders, you could brick your phone.
Hey T959W people. Looked at the source and things are looking pretty close. I'm not saying to run off and flash our stuff, but I need some info and someone with the big kahunas to try flashing some stuff.
Please be running linux. I can't help you with windows problems.
It would also be helpful if you have a usb download mode jig.
You can get one here:
http://mobiletechvideos.mybigcommerce.com/samsung-galaxy-s-download-mode-jig/
Ok Canadians! I've verified that the SGH-T959W should be exactly the same as the SGH-T959V.
There were some interesting differences between our T959V and T959W that may fix some bugs for us on T959V.
With that said, please... please... please, read all of the instructions for flashing ROMs and Kernels very carefully!
If the rom contains bootloaders, please DO NOT flash them until we can confirm there are no bootloader differences.
Like I said before, it is very common to soft brick your device. It is not the end, and do not worry if you do this. Make sure you get yourself a usb download mode jig here:
bhundven said:
You can get one here:
http://mobiletechvideos.mybigcommerce.com/samsung-galaxy-s-download-mode-jig/
Click to expand...
Click to collapse
This will help you use heimdall or odin to flash stuff to your phone to make everything happy again.
You will only hard brick this device by writing the wrong bootloaders to the phone, which is why I am warning you to not flash bootloaders, for now!
With that, enjoy cm7, cm9, aokp, et alii!
I will also announce this in the android general forum!
http://forum.xda-developers.com/showthread.php?t=1764298
I managed to get my Wind SGH-T959W rooted and up and running with a unofficial CM9 build, but it took a bit of work.
Firstly, I tried just about every one-click solution out there, to no avail. It's possible SOC 1.7 with rattlethecage works, but I didn't have the patience to find out whether I simply had to wait a bit longer.
I followed this guide(whilst clenching every clenchable muscle I could consciously control):
http://www.galaxyforums.net/forum/o...mission-t-mobile-galaxy-s-4g-gingerbread.html
The gist is, Odin 1.7, stock+voodoo for T959V, plus some update that I'm not qualified to describe. That should get you rooted and if that's all you're looking for, you'll have to suffer through a little T-Mobile branding on startup.
Once you got it all rooted, you'd think it'd be a good idea to toss sgs-ics on there, right? Well, no. After installing the 4G variant, it promptly set off into a boot loop which I'm again, unqualified to diagnose. The obvious solution was to try another team's version of ICS, which I indeed found here:
http://forum.xda-developers.com/showthread.php?t=1730954
Barring some missing features, it sounds like a good alternative to sgs-ics. Though I had to go through one additional step, which I really, honestly assure you I was under-qualified to execute. When I tried to load Team Acid's CM9 r3 it gave me an assert on the updater-script, since the hardware didn't match up. Easy. Unzip the package, open up META-INF/com/google/android/updater-script, remove the first check. You know it's the same hardware, you don't need some stinkin' script to tell you it won't work.
So all said and done, I now have a Wind Mobile SGH-T959W running ICS 4.0.4 courtesy of bhundven, the Odin folks, Team Acid, and likely a slew of other contributors.
Thanks folks, and enjoy!
PS, if you want that tarball bhundven, send me a PM with some brief instructions, and hopefully you can help my fellow Winders.
Derpopotamus said:
I managed to get my Wind SGH-T959W rooted and up and running with a unofficial CM9 build, but it took a bit of work.
Click to expand...
Click to collapse
Would have been easy, had you just followed my directions.
Derpopotamus said:
Firstly, I tried just about every one-click solution out there, to no avail. It's possible SOC 1.7 with rattlethecage works, but I didn't have the patience to find out whether I simply had to wait a bit longer.
I followed this guide(whilst clenching every clenchable muscle I could consciously control):
http://www.galaxyforums.net/forum/o...mission-t-mobile-galaxy-s-4g-gingerbread.html
The gist is, Odin 1.7, stock+voodoo for T959V, plus some update that I'm not qualified to describe. That should get you rooted and if that's all you're looking for, you'll have to suffer through a little T-Mobile branding on startup.
Once you got it all rooted, you'd think it'd be a good idea to toss sgs-ics on there, right? Well, no.
Click to expand...
Click to collapse
Duh, and rightfully so. You should not flash anything that was not made for your phone.
As I said before. The SGH-T959V and the SGH-T959W are the same phone, just packaged differently for t-mobile vs. wind.
Derpopotamus said:
After installing the 4G variant, it promptly set off into a boot loop which I'm again, unqualified to diagnose. The obvious solution was to try another team's version of ICS, which I indeed found here:
http://forum.xda-developers.com/showthread.php?t=1730954
Click to expand...
Click to collapse
So, obviously this worked.
Derpopotamus said:
Barring some missing features, it sounds like a good alternative to sgs-ics.
Click to expand...
Click to collapse
:facepalm:
Derpopotamus said:
Though I had to go through one additional step, which I really, honestly assure you I was under-qualified to execute. When I tried to load Team Acid's CM9 r3 it gave me an assert on the updater-script, since the hardware didn't match up. Easy. Unzip the package, open up META-INF/com/google/android/updater-script, remove the first check. You know it's the same hardware, you don't need some stinkin' script to tell you it won't work.
Click to expand...
Click to collapse
We can fix that by adding your OTA Assert to our build. Then this won't happen. Let me fix that.
Thanks for someone finally reporting something useful!
Derpopotamus said:
So all said and done, I now have a Wind Mobile SGH-T959W running ICS 4.0.4 courtesy of bhundven, the Odin folks, Team Acid, and likely a slew of other contributors.
Thanks folks, and enjoy!
PS, if you want that tarball bhundven, send me a PM with some brief instructions, and hopefully you can help my fellow Winders.
Click to expand...
Click to collapse
No pm needed.
Open an account on mediafire.com.
Upload the tarball
click share after the tarball is up
Post your own topic in the general forum so everyone knows where to get it.
Everyone Profits!
One more thing that would be very handy from somone with stock on T959W.
Please:
Code:
adb pull /system/build.prop
edit the file with notepad++(windows), textedit(macosx), or gedit(linux) and put the results on pastebin.com.
Then paste the link in this forum.
THANKS!
Build.prop for stock phone
bhundven said:
One more thing that would be very handy from somone with stock on T959W.
Please:
Code:
adb pull /system/build.prop
edit the file with notepad++(windows), textedit(macosx), or gedit(linux) and put the results on pastebin.com.
Then paste the link in this forum.
THANKS!
Click to expand...
Click to collapse
http://pastebin.com/aTHkkwDJ

Just a little help

I own the lg viper 4g lte and i was wondering if someone could take a look at the ics build that is being worked on the devs are really close but they are having some issues with the kernel ill leave a link to the. Img files that were built if you dont have this device but would like to help let me know i am willing to test anything. Any help is appreciated!
http://forums.androidcentral.com/lg-viper-4g-lte/211072-download-my-viper-ics-kernel-builds.html
And also here is an update.zip that the same dev created but upon flashing it takes you straight back to recovery.
https://m.box.com/view_shared/avondvyzc3l3iket3baa
Please find kernel of your phone in development forum...
You can get good kernels in development forum. Try CNA if possible as I'm using it and satisfied with it. So give a try...
On your viper? Kernels are device specific.
thelogman said:
On your viper? Kernels are device specific.
Click to expand...
Click to collapse
Development forums are device specific so you can find updated list there... If you could post your device is could refer you one...
Sent from my GT-I9100G using xda premium

Tested and working Android L ROM Needed for Galaxy core 2 SM-G355H

Flashable zip preferred:fingers-crossed:
ayu321 said:
Flashable zip preferred:fingers-crossed:
Click to expand...
Click to collapse
You don't just come here and request a ROM, that isn't how it works. That's rude and lazy, this isn't a support forum.
You have to search for it yourself. If none exist for your device then you can wait until when/if someone decides to build one for that model or you can learn to build it yourself.
Sent from my SM-S903VL using Tapatalk
Droidriven said:
You don't just come here and request a ROM, that isn't how it works. That's rude and lazy, this isn't a support forum.
You have to search for it yourself. If none exist for your device then you can wait until when/if someone decides to build one for that model or you can learn to build it yourself.
Sent from my SM-S903VL using Tapatalk
Click to expand...
Click to collapse
Well then you can teach me how to build one cant you?
ayu321 said:
Well then you can teach me how to build one cant you?
Click to expand...
Click to collapse
Lol, nice try. The purpose of this forum is to make information freely available, it's up to the user to find what they need though. We don't spoon-feed and hold people's hands around here.
We generally inform and point you in the right direction, we give specific answers when specific answers can be given. There are no specific answers or specific 100% guaranteed to work guides out there for building ROMs so a specific answer can't be given.
If you want to learn how to build a ROM then start researching, there is plenty of information available about it.
The purpose of this forum/website in not to be a support forum, it's a forum to discuss custom development. It has just evolved into a bunch of everyday users coming here wanting to update or fix their phones.
Sent from my SM-S903VL using Tapatalk
sandroid-team.blogspot.com/2016/09/custom-rom-lollipop-cyanogenmod-121.html

Security related question

Just a small question. Im fairly new to the custom rom scene. Im wondering, if any, what are the odds of having a rom on here with spyware related software hidden inside it? Now im not ssying theres is but im just curious.
I remember reading somewhere that security related to your personnal data cant be garanteed on custom/third party roms. Im just wondering to what extent.
Thanks
Sent from my SM-G960W using Tapatalk
Ridingmac said:
Just a small question. Im fairly new to the custom rom scene. Im wondering, if any, what are the odds of having a rom on here with spyware related software hidden inside it? Now im not ssying theres is but im just curious.
I remember reading somewhere that security related to your personnal data cant be garanteed on custom/third party roms. Im just wondering to what extent.
Thanks
Sent from my SM-G960W using Tapatalk
Click to expand...
Click to collapse
Security can't be guaranteed on any device that has an unlocked bootloader, whether it is still on stock or a custom ROM.
But, yes, there is the "possibility" that there may be spyware/malware built into a custom ROM. But, it isn't likely that such a ROM will be found at XDA because part of the process of posting a ROM is that the poster must provide access to the source code used to build the ROM so that it can be inspected by the Moderator team for anything suspicious or anything that violates the XDA rules or licensing and the ROM files themselves are usually thoroughly inspected by members here to make sure they don't contain anything illegal/suspicious.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Security can't be guaranteed on any device that has an unlocked bootloader, whether it is still on stock or a custom ROM.
But, yes, there is the "possibility" that there may be spyware/malware built into a custom ROM. But, it isn't likely that such a ROM will be found at XDA because part of the process of posting a ROM is that the poster must provide access to the source code used to build the ROM so that it can be inspected by the Moderator team for anything suspicious or anything that violates the XDA rules or licensing and the ROM files themselves are usually thoroughly inspected by members here to make sure they don't contain anything illegal/suspicious.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Gotcha, thanks for a great answer. Im usually not worried about open sourced stuff but i figuered id ask.
I just flashed my older sm-805 with an unofficial LineageOS. And with the number of replys on that thread and from xda approved Developpers i wasnt to worried but i figuered id have nothing to loseto just ask
Sent from my SM-G960W using Tapatalk

Hey There I need someone who can Port MIUi to Redmi Go ( Tiare)

Can someone port MIUI to tiare?
An ASP said:
Can someone port MIUI to tiare?
Click to expand...
Click to collapse
Yes, you can port it for your device like everyone else here. The ROMs here that have been ported for a device have been ported by someone that owns that device so they could flash it on their device. Notice that I didn't say that someone else did it for them, they did it for themselves. I suggest you follow their example and take the time to study and learn how to do it for yourself. If you are not willing to do that, then it isn't important enough to you to put forth the effort.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Yes, you can port it for your device like everyone else here. The ROMs here that have been ported for a device have been ported by someone that owns that device so they could flash it on their device. Notice that I didn't say that someone else did it for them, they did it for themselves. I suggest you follow their example and take the time to study and learn how to do it for yourself. If you are not willing to do that, then it isn't important enough to you to put forth the effort.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
I'm myself a developer, and have made many ROMs like RR8.5, ZenX-OS for tiare, But Since Our OEM Vendor is Oreo, we cant boot latest MIUI, say MIUI 12 in it. I need help in making a Vendor Sir.
Droidriven said:
Yes, you can port it for your device like everyone else here. The ROMs here that have been ported for a device have been ported by someone that owns that device so they could flash it on their device. Notice that I didn't say that someone else did it for them, they did it for themselves. I suggest you follow their example and take the time to study and learn how to do it for yourself. If you are not willing to do that, then it isn't important enough to you to put forth the effort.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Thanks in advance

Categories

Resources