Samsung open source --- - Sprint Samsung Galaxy S8 Questions & Answers

Team,
I'd like to flash my Sprint Galaxy S8 with a Vanilla, open source version of android to play with.
Here's what I've done so far -
1. Got my hands on an i7, 32GB Ubuntu Build Box.
2. Got Heimdall FrontEnd.
3. Downloaded SM-G950U* zips from --> opensource.samsung.com/
Questions -
1. What's the difference between the NA_OO & NA_NN packages?
2. Once I get the Samsung files downloaded - do I need to bring all of the Android Open Source Code down?
3. Do I need anything else after I download the SamsungOpenSource.zips?
4. How do I ultimately flash my phone with the SamsungOpenSource.zips?
5. What are the steps to build and flash SamsungOpenSource that I can build a clean, nice rom from.
Sorry - SUPER new - looking to get my foot in the door here and get Android Coding!

Related

[Q][ROM] My custom rom fails Samsung GTi9100

Hi,
I am a new beginner of android. I am trying to rebuild the kernel with profiling support for Samsung galaxy s2 (GT-i9100). After flashing my custom rom to my phone, my phone does not work.
This is how I do it:
1.Downloaded the image I9100XXLP6_I9100OXXLP3_OXX and flashed my galaxy s2 mobile using odin software. now my Galaxy s2 works fine with ICS build (kernel version - [email protected] #3, Ardroid version - 4.0.3).
2. Downloaded the samsung galaxy s2 source code GT-I9100_ICS_Opensource_Update8.zip from opensoure.samsung.com and cross compiler arm-eabi-4.4.3.
3. Use the initramfs from github (Since I am a new user of this forum, I can not post outside link here; I google with "arighi/initramfs-gt-i9100.git" and use the first link)
4. Through "make menuconfig" to enable the profiling support and configure the initramfs source path as specified at step 3.
5. After compiling, I can get the custom zImage of size about 8 MB
6. Then I use "tar -cvf mykernel.tar zImage" to generate my custom rom; and then flash it to my phone through odin.
7. Now my phone boots with a kernel panic upload mode screen and my phone doesn't work.
My question:
1. Does the initramfs cause the problem? If it is, where can I get the matched initramfs for the kernel source code?
2. Is there anything wrong in my above steps?
I would be very appreciated if someone could help me.
Thanks.

A question about recoveries, bootloader, and ROM Brewing

Please dont take this post seriously (I really appreciate people who like to help out a lot, but I just need elementary with what an I supposed to start with )
(In this case LG Optimus L4II (E440) )
So, lets say, I want to:
1. unlock bootloader (because if i try to flash anything, and succeed, I will get security errors);
2. port/create a recovery (CWM or TWRP);
3. create a ROM from source (I have LGE440 source code, but i want to ex. create a PAC-man, or Cyanogenmod from source )
What I think i know what I need:
1. Android SDK
2. ADB (I used it before, but never to unlock a bootloader or stuff like that (Only to delete the unlock pattern on ZTE V790 :\ (With cyanogenmod 11))
3. Approx. 100GB of space for source code (thats what I Heard at least)
What I know about the device:
1. it is MTK device (Mediatek MT6575)
2. Currently, no custom ROMs, recoveries, and unlocks of BL so far
3. There is LBLCWM, and one mod for it (its based of the stock ROM 4.1.2)
So I am asking for, what else will I need, and do I need to port to one version by one (4.1.2 > 4.2.2 > 4.3.2 > 4.4.2) , or can I just jump over few versions (4.1.2 >> 4.4.2)

[HOW-TO/GUIDE] How can you still download CyanogenMod

You should do this only if you wish to do so, if you want updates and new features, I'd recommend using Lineage instead, but it's your choice as always!
1. Go to: https://web.archive.org/web/20161224221751/https://download.cyanogenmod.org/?device=
2. After the = sign put your device codename, so for an example, if you want builds for the Galaxy Tab 2 10.1" Wi-Fi model, you'll put espressowifi
3. Press ENTER and your builds should be there
It's as simple as that!
Cheers, guys!

[SOLVED] Thinking of upgrading my Galaxy Tab S T800 - double check help please

Hello all,
I am thinking of upgrading my T800 to android 7 or 8 and need to start somewhere.
The main reason so many apps are either v7 or 8 min recently and I still use this tablet surprisingly lol
I have read a few threads to help me but I keep seeing that old ones I need to be careful and some say ok and some say no - so I need help.
I checked this thread to start rooting my device:
[Root][Port] Cf-Autoroot T800 [Tab S 10.5 ]
CF-AUTO Root By Chainfire Ported To the Tab S 10.5 By:@BeansTown106 First off, Huge Thanks to Chainfire for coming up with AutoRoot & for his SuperSU App Warning: I cannot be held responsible...
forum.xda-developers.com
Now - with my research I need:
Odin 3.13.1 the latest
Download Cf-Autoroot T800 from the link above
load the file to AP Odin and install to tablet
Then do the same again with TWRP with the latest file I found called: twrp-3.5.0_9-0-chagallwifi.img.tar
Reboot and should be rooted with TWRP as far as I have read
Now - do these files still work and is it ok for me to use the above to start? Am I missing anything? I guess SuperUser gets install with the rooting?
I am on Android 6.0.1 currently.
Then I need to choose an Android 7 or 8 or 9 or 10 - but seems only 7 OFFICIAL I can see - would want as close to stock as possible and the most stable I guess - can anyone recommend which ROM to flash, please?
Thank you in advance
Ben
bumping an old question - I guess may be difficult to get an answer for such an old device.
if anyone can help pls reply or PM me.
you are planning to install custom rom right? most custom rom have built in root included just follow the custom rom installation and your pretty much good to go
LineageOS seems the most popular and active custom rom for your device
No you shouldnt use cf auto root as it might brick your device reportedly.
Use magisk v21 instead (again v22 is bricking devices).
ineedroot69 said:
you are planning to install custom rom right? most custom rom have built in root included just follow the custom rom installation and your pretty much good to go
LineageOS seems the most popular and active custom rom for your device
Click to expand...
Click to collapse
Thank you - will follow them instead.
jjgvv said:
No you shouldnt use cf auto root as it might brick your device reportedly.
Use magisk v21 instead (again v22 is bricking devices).
Click to expand...
Click to collapse
Wow - thank you - glad I asked and was patient lol
SUCCESS Went through set up and seems working fine first impressions.
How I did it in 2021:
I have a Samsung Tab S - SM-T800 - on android 6.0.1 not rooted
1: These are the files that I have used
Odin3_v3.14.1
lineage-14.1-20210122-UNOFFICIAL-chagallwifi.zip
addonsu-14.1-arm-signed.zip
open_gapps-arm-7.1-nano-20210224.zip
twrp-3.5.0_9-0-chagallwifi.img.tar
2: I installed the Samsung USB drivers - and checked that I could transfer files to and from the PC - in this step I added the files into my external SD Card:
lineage-14.1-20210122-UNOFFICIAL-chagallwifi
addonsu-14.1-arm-signed
open_gapps-arm-7.1-nano-20210224
3: Once they were copied over - I unplugged the tablet and powered it off.
4: I opened ODIN on my win10 machine
5: I booted the tablet into download mode - by pressing the HOME-VOL:downOWER at the same time
6: I added the twrp-3.5.0_9-0-chagallwifi.img.tar file into the AP of Odin. Go to options, and deselect "auto-reboot"
7: Pressed START in Odin and waited for the Green PASS! to show.
8: Unplugged cable from the tablet
9: This is important -
You need to power off and power on back to the recovery you just flashed - if you miss this you may have to start again from the top here.
When done press HOME-VOL:downOWER for about 5 to 8 seconds - the screen will change and as soon as it changes let go and repress HOME-VOL:upOWER at the same time - the only change is the volume to UP. This will then boot to TWRP.
10: when TWRP first comes on - just swipe right
11: On the home screen of TWRP - I decided to make a backup - so I went to back up - and backed up to my SD Card. This takes a long time
12: when this was done - I went WIPE - and selected Format Data
13: when done go back and select INSTALL - here choose:
lineage-14.1-20210122-UNOFFICIAL-chagallwifi - then add zip and choose
addonsu-14.1-arm-signed - then add zip and choose
open_gapps-arm-7.1-nano-20210224
14: Start flashing. this is quite quick except for the Gapps.
15: When done - you will be asked to format cache and davlik partitions click it and when done - REBOOT
16: Wait a while, you should see the Samsung Logo - then the blue arc of LineageOS and go through the set up. The first boot can take 4 to 6 minutes - in my case, it was about 6 minutes.
17: Optional ROOT
Go to Settings > About Tablet > tap the build number seven times to enable developer options
Then go back and go to > Developer Options > Root Access. and choose what you want - I selected Apps Only.
I hope this helps anyone looking to do the same and wanted to say THANK YOU TO ALL WHO HAS HELPED ME.
Done.
Hi, I'm thinking of doing the same (for security reasons since updates are no longer provided for Android v6).
What version of Android did you end up with?
And have you had any issues since your upgrade?
Thanks
tuvinor said:
Hi, I'm thinking of doing the same (for security reasons since updates are no longer provided for Android v6).
What version of Android did you end up with?
And have you had any issues since your upgrade?
Thanks
Click to expand...
Click to collapse
Ended with Android 7 - and works nice ever since double-check the links though as its been a while now
also check this forum and many replied
[ROM][7.1.2][UNOFFICIAL] LineageOS 14.1 - SM-T800
LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1.2 (Nougat), which is designed to increase performance and reliability over stock Android for your device. #include /* * Your...
forum.xda-developers.com
_XSnPX_ said:
Ended with Android 7 - and works nice ever since double-check the links though as its been a while now
Click to expand...
Click to collapse
And do you get ongoing automatic updates for android 7 or does that need you to go through the manual upgrade process again?
(sorry, newb questions)
Thanks
tuvinor said:
And do you get ongoing automatic updates for android 7 or does that need you to go through the manual upgrade process again?
(sorry, newb questions)
Thanks
Click to expand...
Click to collapse
That is ok,
Once you are in Lineage - you will get updates as they release them - and just upgrade from the app - you will have to go to TWRP to upgrade after you download the update but it is an easy and quick process
ill try get some screen prints now for you
The last updates
_XSnPX_ said:
The last updates
Click to expand...
Click to collapse
Perfect, thank you

[Noob Guide][Blind-copy-guide][Android 11]Build Custom ROM in windows 10 (WSL2)

1. Requirement
Code:
1. Windows 10 version 20H2 update.
2. Internet.
3. Google search ability.
3. Patient.!!
2. Credit
Send me a coffe:
0x10Bcc550e1Ac7E7c68D867ef7379C51847300eE3
3. Main step
1. Setup Ubuntu
2. Configure Environment
3. Install ccache (optional)
4. Clone ROM COMPILER source
5. Clone your device source
6.Configure before build
7.Compile rom
8.Fix error occur (optional)
4. Many thank to:
Please read it
Updating picture guide​
Popular error:
How_to_build_ROM/Error at 11.0 · LeCmnGend/How_to_build_ROM
These steps for noob to build a ROM. Contribute to LeCmnGend/How_to_build_ROM development by creating an account on GitHub.
github.com
22.01.26:
Update Some error occur:
3 SOURCE: device + kernel + vendor is a must, believe me, noob cannot created i, we should to make first rom.zip
How_to_build_ROM/Error at 11.0 · LeCmnGend/How_to_build_ROM
These steps for noob to build a ROM. Contribute to LeCmnGend/How_to_build_ROM development by creating an account on GitHub.
github.com
Some error can occur during build.
Please share your error here to another
Requirement for guide:
4. Patience
also OP
swears in first line of guide
LOL
AsadP2013 said:
Requirement for guide:
4. Patience
also OP
swears in first line of guide
LOL
Click to expand...
Click to collapse
Sometimes patience doesnt work
Thank you for this. I am seeing all these cool ROMs coming out for OnePlus 9 Pro and want to try them on OnePlus 9. Wasn't sure how to go about it. I only ever built using kitchen tools many years ago and one time I built an Ubuntu Touch port for Samsung Captivate but I haven't done any of this stuff in quite some time.
EDIT: Nevermind

Categories

Resources