[Q] [NOOB] Samsung open source download... - Android Q&A, Help & Troubleshooting

So in looking around for information on rooting and ROMing for my Stratosphere 2, I ran across opensource.samsung.com where I was able to download a zip file called SCH-I415_VZW_ICS_Opensource; contained within this file are 2 tar.gz files named Kernel and Platform.
My question is this: What exactly can I do with these kernel and platform files given proper instruction?
Thanks in advance!

compile rom

Judging by various guides, I can't create a ROM without certain files from the phone, and I can't get those files without root access -- for which there is no solution currently for my phone.
Is there anything else that can be done with it, or is that what it's for?

WetLlama said:
Judging by various guides, I can't create a ROM without certain files from the phone, and I can't get those files without root access -- for which there is no solution currently for my phone.
Is there anything else that can be done with it, or is that what it's for?
Click to expand...
Click to collapse
Anyone know if this unlock codes that are offered around internet will work with Stratosphere 2?
Thanks!

Related

[Q] Learning to Create ROMs: How Do I Port a ROM from One Device to Another?

So I'm trying my luck at ROM creation and am learning as much as I can. One thing I haven't been able to find through Googling etc is how to port a ROM from one device to another, or more specifically what folders/files need to be replaced in a ROM to make it work on another device?
Appreciate any guidance, thanks guys!
PS I'm using DsiXDa's Kitchen, but it "doesn't support any devices besides HTC devices" and I want to port a ROM to a Dell Streak from an HTC Nexus One. Is it even possible and what files can I manually replace to get it to run?
dcogen said:
So I'm trying my luck at ROM creation and am learning as much as I can. One thing I haven't been able to find through Googling etc is how to port a ROM from one device to another, or more specifically what folders/files need to be replaced in a ROM to make it work on another device?
Appreciate any guidance, thanks guys!
PS I'm using DsiXDa's Kitchen, but it "doesn't support any devices besides HTC devices" and I want to port a ROM to a Dell Streak from an HTC Nexus One. Is it even possible and what files can I manually replace to get it to run?
Click to expand...
Click to collapse
I'm looking at a Streak ROM right now, and it looks fairly standard for Android. I would search for 'vendor tree' and/or 'extract-files.sh' to get an idea about what files and settings you might need. That will get you started. You have to swap kernels, that's a given. You'll probably need a few additional things from a stock Streak ROM, like:
files in:
/system/usr/keychars
/system/usr/keylayout
/system/lib/hw
/system/lib/modules
/system/etc
some libs in /system/lib
Probably a few things from /system/bin and /system/xbin
Look at the *.rc files in both the N1 ROM and the stock Streak ROM. They will call binaries and make changes. It's all tied together and is quite complex for such a 'small' thing... Get ready to do some research and testing and don't expect it to just work right away. If it does, your lucky.
I use WinMerge to compare ROMs all of the time. It will give you clues as to what is needed for the ROM to work on your device. And logcat will also point you in the right direction on occasion
Thanks a bunch gnarlyc!
Least I have a starting point now, going to get to Googling and see what I can figure out. And WinMerge is an awesome tool, thanks for that. I'll post back here if anything. Thanks again!
Anyone else have some information to share as well that could help?
EDIT: How do I get WinMerge to work? I installed it and tried to compare the two .zip files and it just shows jibberish in each window?
dcogen said:
EDIT: How do I get WinMerge to work? I installed it and tried to compare the two .zip files and it just shows jibberish in each window?
Click to expand...
Click to collapse
Well, it shouldn't show gibberish. I have it up right now with two init.desirec.rc files from two different ROMs. It's not going to be able to compare .zips though. Only text files and folders. You'll have to unzip those.
There are other programs that do the same thing, like 'N-way folder compare' and 'Beyond Compare' and plain old 'diff' in Linux or cygwin. Find what works best for you.
gnarlyc said:
It's not going to be able to compare .zips though. Only text files and folders. You'll have to unzip those.
Click to expand...
Click to collapse
I actually found that they have a .zip plugin to allow you to compare .zips and I tried to install it but it just isn't working. When I try to unzip them and just select the unzipped folder it opens it in the selector window instead of just using the folder.
I'll keep messing with it, thanks again for the starting point at least

Anyone here on stock rooted on a SGSII?

I have a US AT&T GSII and unfortunately they don't allow the access to the Network Operator Selection menu, so I'm told if I replace a file and restore it'll get the menu access back for me.
Can anyone who is on the STOCK Galaxy S II International version send me a copy of the file apns-conf.xml from the /system/etc directory via PM or post on here?
I think there's a way to extract it from the Stock ROM, but I can't find that on here, and don't know how to extract just that file.
Thanks
bella92108 said:
I have a US AT&T GSII and unfortunately they don't allow the access to the Network Operator Selection menu, so I'm told if I replace a file and restore it'll get the menu access back for me.
Can anyone who is on the STOCK Galaxy S II International version send me a copy of the file apns-conf.xml from the /system/etc directory via PM or post on here?
I think there's a way to extract it from the Stock ROM, but I can't find that on here, and don't know how to extract just that file.
Click to expand...
Click to collapse
Use a file manager like Root Explorer to navigate to it.
knightnz said:
Use a file manager like Root Explorer to navigate to it.
Click to expand...
Click to collapse
I have the ATT version, that's why I want the file from someone who has a SGSII International to send the file, because it's not on my version, hence why I asked here, hehe. Did you read my post entirely? It explains it.
Thanks!
apns-conf.xml
bella92108 said:
I have a US AT&T GSII and unfortunately they don't allow the access to the Network Operator Selection menu, so I'm told if I replace a file and restore it'll get the menu access back for me.
Can anyone who is on the STOCK Galaxy S II International version send me a copy of the file apns-conf.xml from the /system/etc directory via PM or post on here?
I think there's a way to extract it from the Stock ROM, but I can't find that on here, and don't know how to extract just that file.
Thanks
Click to expand...
Click to collapse
I am on stock KI8 and found a copy of the apns-conf.xml file in /etc (not /system/etc). For what it's worth, here is the file.
Hope it works for you - I'd love to know.
Jacko
njackson said:
I am on stock KI8 and found a copy of the apns-conf.xml file in /etc (not /system/etc). For what it's worth, here is the file.
Hope it works for you - I'd love to know.
Jacko
Click to expand...
Click to collapse
Thanks. How would I implement this into my stock ROM so I don't have to start over? And will this unlock the search screen?
bella92108 said:
Thanks. How would I implement this into my stock ROM so I don't have to start over? And will this unlock the search screen?
Click to expand...
Click to collapse
You said in your first post that you just needed to copy this file in. To do this you will need a file manager that will let you have write access to the root directory. Root Explorer will do this, but your phone will need to be rooted if it is not already. There are plenty of guides in this forum on how to do this, but my preference is just to flash the appropriate Chainfire cfroot kernel.
Please also note that once you root your phone your warranty will be void, although there are also guides on the forum about how you can go about bringing it back to stock. Many of the carrier specific stock ROMs are also posted in the forum.
Before you do any of this though, you should note your current ROM details as listed in Settings/About Phone, and after you have rooted, but before doing anything else, you should perform a CWM backup.
Once you have done the copy, I would think you would need to re-boot your phone for anything to take effect, but I can't give you any guarantee that it will work (or not).
Jacko
njackson said:
You said in your first post that you just needed to copy this file in. To do this you will need a file manager that will let you have write access to the root directory. Root Explorer will do this, but your phone will need to be rooted if it is not already. There are plenty of guides in this forum on how to do this, but my preference is just to flash the appropriate Chainfire cfroot kernel.
Please also note that once you root your phone your warranty will be void, although there are also guides on the forum about how you can go about bringing it back to stock. Many of the carrier specific stock ROMs are also posted in the forum.
Before you do any of this though, you should note your current ROM details as listed in Settings/About Phone, and after you have rooted, but before doing anything else, you should perform a CWM backup.
Once you have done the copy, I would think you would need to re-boot your phone for anything to take effect, but I can't give you any guarantee that it will work (or not).
Jacko
Click to expand...
Click to collapse
I was already rooted and unlocked. Simply doing these two things in themselves don't unlock ATT's locked manual network selection screen. I even tried deleting the CSC directory and files per GTG, and I replaced the APNs Config File, and rebooted, the manual network selection menu is still locked. :-( I'm beginning to wonder if this is hopeless. :-(

[Q] Megaupload/root after unlock

With Megaupload being seized by the governement and public access is restricted I am unable to locate the files i need to put into my sdk tools folder so i can root my freshly unlocked photon. I was wondering if someone could point me in the right direction to obtain these files so i can root and install clockworkmod as well. I havent checked to see if the clockworkmod install files are on megaupload as well on the off chance that they are lockated there as well i would so love the person who can hook me up with the tools root files and the clockworkmod install files.
Thanks a million to those that read this and to those that are able to help this guy out!
Rigum said:
With Megaupload being seized by the governement and public access is restricted I am unable to locate the files i need to put into my sdk tools folder so i can root my freshly unlocked photon. I was wondering if someone could point me in the right direction to obtain these files so i can root and install clockworkmod as well. I havent checked to see if the clockworkmod install files are on megaupload as well on the off chance that they are lockated there as well i would so love the person who can hook me up with the tools root files and the clockworkmod install files.
Thanks a million to those that read this and to those that are able to help this guy out!
Click to expand...
Click to collapse
Its hit or miss on the mirror sites because people started to take stuff down, but this link will be your best bet. I already tried the root link and the download works, just make sure to thank Lokifish Marz
http://forum.xda-developers.com/showthread.php?t=1393519
Thanks for trying to help me out. the stuf i was looking for even rom what you provided is still locked up in the megaupload to which the government still has seized. >.< anyways thanks again for tring to help me out. but im moving on back to samsung i had the original Epic before the photn now i managed to finangle an epic 2 because i work for a 3rd party retailer so going to root and rom the hell out of that thing moving to those forums ^.^

[Q] APK Creation

Well as many of you know we're over most of the hurdles we needed to jump with the CM7 build for Nook tablet.
Updates for the internal version are simple via CWM, the SD version is not so simple of course.
I'm assuming that it should be possible to built an APK that gains superuser permissions then copies the new files to the system. Can anybody confirm this is possible please?
We need to know that we can tell our SD user that they can update their version just as easy as the internal user
Thanks in advance for your help again everyone!
Well presumably this is how ROM Manager and Metamorph both do their thing, just in a slightly more round about way (as they don't come with the files they need to copy). I'm almost 100% sure this is possible, but I've never tried it personally.
EDIT: Looks like this is how you'd do it: http://developer.android.com/reference/java/io/File.html. Specifically the renameTo() method.
CelticWebSolutions said:
Well as many of you know we're over most of the hurdles we needed to jump with the CM7 build for Nook tablet.
Updates for the internal version are simple via CWM, the SD version is not so simple of course.
I'm assuming that it should be possible to built an APK that gains superuser permissions then copies the new files to the system. Can anybody confirm this is possible please?
We need to know that we can tell our SD user that they can update their version just as easy as the internal user
Thanks in advance for your help again everyone!
Click to expand...
Click to collapse
Well there are about a dozen ways to do this. First of one of the hardest things is comming up with the commands/script. I can defiantly do this. If you want an apk, there are a few guys whom could port my script to an apk. I'm going to make a script here that will format, and create partitions and extract directly from the nook, no need to go through the fancy formatting and such, just go into terminal and run the script. Ill post a prototype for you to have the testers test!
Do you think something like BacksideUpdater inside custom ROM for LG Optimus V?
made by JerryScript
JerryScript i very nice guy, I bet if you ask him, he will let you play with his code
if is it what you looking for
Yes, this is possible. I wrote an app that flashes the recovery partition for my older Froyo phone in the very rudimentary Basic4Android. Copying files under root privileges was part of this process. Fairly easy if you find the right coding examples in whatever your development platform of choice.
xdajunkman said:
Yes, this is possible. I wrote an app that flashes the recovery partition for my older Froyo phone in the very rudimentary Basic4Android. Copying files under root privileges was part of this process. Fairly easy if you find the right coding examples in whatever your development platform of choice.
Click to expand...
Click to collapse
So one of the problems is its not really copying. Its more of an extraction from one place to another. We are required to use dd, and fdisk(for formatting).
GREAT! I was worried updates would be to complicated for people
Sent from my Nook Tablet using xda premium
... and I was worried that I might have to wipe my NT clean again to get the updates. After a week with this wonderful upgrade, I've got a LOT of customization I don't want to lose...
Whoops, wrong button with the thanks. Anyway, it occurs to me you could just have people run a script from a terminal emulator. That would probably be the simplest way to do it. Make an Update folder on the SD card, add it to the PATH by default, and users could just copy over the update files and run the script. Just a thought.
Sycobob said:
Whoops, wrong button with the thanks. Anyway, it occurs to me you could just have people run a script from a terminal emulator. That would probably be the simplest way to do it. Make an Update folder on the SD card, add it to the PATH by default, and users could just copy over the update files and run the script. Just a thought.
Click to expand...
Click to collapse
Has to be simple, something like copy an update.zip onto the SD card then run the apk which will automatically run the update in the zip But my knowledge of such things is limited so I need help there
Same process. With the above method, the user would only have to copy over the file, open a terminal, and type 'update'. With the apk idea you just have to add a little more time for someone to actually write the app (not that it would take too long).
Sycobob said:
Same process. With the above method, the user would only have to copy over the file, open a terminal, and type 'update'. With the apk idea you just have to add a little more time for someone to actually write the app (not that it would take too long).
Click to expand...
Click to collapse
Hmm.... that sounds good.
Anybody know how to actually implement it ?
Dammit, idk why I keep hitting the thanks button thinking it's reply >.>
Anyway, it's just a matter of setting the PATH variable to include /sdcard/Update/ or something similar. To make an actual update, make a folder called Update, fill it with all the files that need to be copied over (probably in a directory structure), and write a script that actually copies everything over. You'll need to make sure sh is in /system/bin (I think it is by default).
You could zip the the files as well, using gunzip (busybox?) to extract them before copying them, then deleting them when you're done, just to keep it cleaner for the user.
The only downside to all this is that I don't know how you would flash a kernel.
Sycobob said:
Dammit, idk why I keep hitting the thanks button thinking it's reply >.>
Click to expand...
Click to collapse
That makes two of us!
Sycobob said:
Anyway, it's just a matter of setting the PATH variable to include /sdcard/Update/ or something similar. To make an actual update, make a folder called Update, fill it with all the files that need to be copied over (probably in a directory structure), and write a script that actually copies everything over. You'll need to make sure sh is in /system/bin (I think it is by default).
You could zip the the files as well, using gunzip (busybox?) to extract them before copying them, then deleting them when you're done, just to keep it cleaner for the user.The only downside to all this is that I don't know how you would flash a kernel.
Click to expand...
Click to collapse
I'm guessing you'd just flash it as usual, surely that one is the easiest? Copying stuff to boot partition would hopefully be just as simple, I was mainly worried about updating system files. I could do with building one for the current update to test the theory!

[Q] Android Kitchen - by dsixda, HTC Amaze 4G

I want to use the android kitchen to turn our recently leaked ICS update into a rom. On Dsixda's thread, he states that we need to create a file in the kitchen's /tools/edify_defs folder with the properties of our phone, in the templates file, it is kind of unclear for me how to do this.
Can anyone help me create a file for the HTC Amaze 4G? Thanks
HuskyHamburger said:
I want to use the android kitchen to turn our recently leaked ICS update into a rom. On Dsixda's thread, he states that we need to create a file in the kitchen's /tools/edify_defs folder with the properties of our phone, in the templates file, it is kind of unclear for me how to do this.
Can anyone help me create a file for the HTC Amaze 4G? Thanks
Click to expand...
Click to collapse
Sorry if I am reviving a not quite old thread, but it came up when I was searching for the kitchen to download on my new windows install..
If you want to create a rom you don't really need the kitchen, it can do certain things to a rom- deodex, zipalign, install superuser and busybox, etc.. but within a few days of the leak all of that is available. You can pm a developer as I did and get permission to use their files rather than recreate the wheel.
First, just run the zip file thru the kitchen, don't do anything special with it- we have a superuser zip file you can/should just unpack into the final setup.
Find the updater-script and the binaries(in the same folder), this is what tells it what to install and where, fix permissions, install the files needed for SU(look in the superuser zip files updater script for details) etc..
If you want a deodexed rom you can ask to borrow the system/app directory from a rom that already has deodexed theirs. Literally, this is the best way to do it.
What the kitchen IS better for is pulling apart the kernel, putting it back together, unpacking apks.. it has built in scripts which can be a real time saver than typing in backsmali this, smali that-- simply put a file in a folder, type a number, and magically it all happens for you.. but you won't need ANY of that until you get into the advanced stuff.
I don't know if you were still trying to figure it out or not, but at the very least this may give someone who happened across this thread SOME sort of answer-- I get sick of finding more unanswered posts or posts where people reply with "you should search".. I've searched so much I my fingers should be bleeding.

Categories

Resources