yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] mikeDCMDVA:
I appreciate your response, but I mentioned two areas. Would I be changing both areas?

How about the /mnt/sdcard/otg_disk? Change to /mnt/sd/external_sd/otg_disk ?
[Samsung Galaxy S (4G Model)] robbbbit:
I meant for both. And for the other one, idk... Id leave it alone. Tricky stuff... Hmmm
[Samsung Galaxy S (4G Model)] Longcat14:
Ooo, this looks fun!

My friend has a GS4G, so I think I'll mess around with a Bionix (he wants it), and port it over for him (thanks to this guide).

I love when the community actually works together. <3
[Samsung Galaxy S (4G Model)] nikmash232:
krylon drhonk and robbbbit did i mention i love you guys?

also anybody wanna post their ports? excuse my lazyness. also does this work for gingerbread roms?
[Samsung Galaxy S (4G Model)] Harhar321:
If someone posts a port... remember to thank and donate for their hard work! It is a huge effort even when its doable--as it is now.
[Samsung Galaxy S (4G Model)] krylon360:
really all you are doing is replacing 10 files with SGS4G files, and reverting about 12 lines of code. not a lot of work at all.
[Samsung Galaxy S (4G Model)] mikeDCMDVA:
Lol it would be excellent to know those particular lines of code and inside of which files....I am finished editing Environment.smali in the bionix framework.jar
[Samsung Galaxy S (4G Model)] Harhar321:
Well I'm lazy so for me this is alot of work. If I posted a port I would expect gratitude! lol :-P
[Samsung Galaxy S (4G Model)] Longcat14:
You still deserve it for helping noobs be able to port a ROM. ^^

Only wish I had a GS4G right now, so I could see if I ****ed up (I hope not).

TIME TO FIND ONE ON CRAIGSLIST SINCE IT CAN BASICALLY RUN VIBRANT ROMS NOW!

EDIT: Screw it, I'm just gonna call T-Mobile (3rd replacement Vibrant) and tell them I'm done with this phone, and to give me the GS4G (since you know, you can sweet talk them into giving you any phone).
[Samsung Galaxy S (4G Model)] rickyc19:
You should post a tutorial on how to get any phone for free ;)
[Samsung Galaxy S (4G Model)] krylon360:
I really hope that was a joke. I do this for fun and because I love doing it. Not because people choose to send me donations.

Thats one thing I dont like about this community. There are some devs that always expect something for their work.

</rant>
[Samsung Galaxy S (4G Model)] Harhar321:
Ehhh.... was a joke.

Thought it was pretty obviously a joke. See my donate button over there? Oh right, there isn't one. All I do around here is answer questions if I know the answer and try to help people..and the occasional bad joke ... all for free.

Sorry if I touched a nerve.
[Samsung Galaxy S (4G Model)] Eric-1987:
Anyone tried this yet? I am thinking of trying it but it looks like a lot of work.

EDIT: I have attempted this and I removed the classes.dex from each rom but I get an error when I try to decompile them. It says unrecognized option - could not create java virtual machine.
[Samsung Galaxy S (4G Model)] chadster214:
akaskriller is that you??? :D
[Samsung Galaxy S (4G Model)] robbbbit:
not to flame, but... LOL!!!
[Samsung Galaxy S (4G Model)] anti-up:
Without more info, I doubt to many people will have success with this. Myself, I got the classes.dex files decompiled, compared with Beyond Compare. Only found lines to swap in the 1 file mentioned: Android/OS/envirnment.smali And there were allot, I right clicked the file from the KD1 and clicked copy to left, for all of them. I did not see anything else mentioning storage or anything like that in any other files. So I doubt feel confident that I got it all done correctly, and now I cannot recompile the classes.dex files.....can anybody help? I'm really ready to just put this phone up on craigslist and get something else.
[Samsung Galaxy S (4G Model)] babyfacedkayos:
Please delete.
[Samsung Galaxy S (4G Model)] drhonk:
Wow, give up because the phone doesn't have any ROM? Create your own modification:

- Use stock deodexed ROM as base, KD1 for example

- Install ADW or Launcher Pro if you don't like TouchWiz. You can probably remove TouchWiz without any problem (works fine in vibrant).

- Use UOT to modify your notification bar and add accurate battery icon.

- Add tweaks from other galaxy S phones such as fugu tweak.

And continue on to other things from where. Make sure you create backup before adding any new modification or tweak so you can always go back if it doesn't work.
[Samsung Galaxy S (4G Model)] rickyy00:
would porting a rom that was ported to the vibrant work?
[Samsung Galaxy S (4G Model)] Eric-1987:
UOT? I am still on KB5 would it be worth it to upgrade to KD1? I am super smooth as it is.

EDIT: I Figured out what UOT is but which framework apk do I use? And I just want a black status bar with battery % and a diff boot animation if I cant have a custom rom like bionix or cm7.
[Samsung Galaxy S (4G Model)] GDofWR420:
I'm glad to see devs are not greedy and do the work on projects like this for the experience and the love of coding. Thank you so much.
[Samsung Galaxy S (4G Model)] mikeDCMDVA:
Guys I tried this without any success

Vibrant ROM = Bionix

Galaxy S 4G ROM = KD1 Deodexed (CWM Ready)

1. I decompiled, swapped many lines in Environment.smali (only file where I saw differences)

2. Re-compiled them into new classes.dex files

3. Removed old classes.dex file from each of the four files (services.jar, framework.jar, settings.apk and android_policy.jar)

Note on step 3 - I don't know why I had to do this for the other 3 files if the Environment.smali in framework.jar was the only file that apparently needed modification...but I moved on

4. Moved over (copy and paste) all the wifi files, modem & kernel

5. Finally, compiled the updated Vibrant ROM into a new ZIP file

6. Used Amend2Edify to sign the zip

Now, when I tried to flash this, it hangs at "Mounting mount point" for a minute or two, then it goes through a flash process...it eventually finishes with no errors, I clear cache and reboot the phone....the phone loops at the "Samsung Galaxy S 4G" screen (initial screen when powering on device).........and it sits there forever, never boots into anything.

Now when I was making edits in the Environment.smali, there were some entries for the sd card with subdirectory attached (otg_disk)...I changed from /mnt/sdcard/otg_disk to /mnt/sd/external_sd/otg_disk

I followed through each step carefully, I even downloaded an app that scans files within a provided directory for certain text, I scanned all the other files besides framework.jar for "INTERNAL" and it did not find anything pertaining to INTERNAL_STORAGE.....

HELP!!!!!!!!!!!!!!!!!!!!! PLEASE
[Samsung Galaxy S (4G Model)] robbbbit:
Really? Thanks.
[Samsung Galaxy S (4G Model)] fatherof4:
@rickyy00

do u start at the OP and read or what? I'm not trying to be a jerk but damn dude read! all u do is constantly ask questions that where asked or answered in previous post. If everyone asked questions like u the whole forum would be clogged with bs and we all have to sift through tons of post to get anytthing accomplished! All u have to due is start at the op and read on! there is constant progression if u just read! U ask if we can port vibrant roms and thats what this whole thread is about!!!!!!!!!!!! Again not tryin to flame on u but dude every question u ask is already answered and right in front of your face.
[Samsung Galaxy S (4G Model)] Eric-1987:
I'd like to know how to get around my dilemma. I want CM7 damnit.
[Samsung Galaxy S (4G Model)] robbbbit:
Thats up to team douche. ;-)
[Samsung Galaxy S (4G Model)] Eric-1987:
I thought the directions said to pick a vibrant rom? Thats the rom I picked.
[Samsung Galaxy S (4G Model)] mikeDCMDVA:
Really dude? Did you try to flash a Vibrant ROM???
[Samsung Galaxy S (4G Model)] Eric-1987:
No I was going on what the directions said dummy. We are porting vibrant roms to our SGS4G and my pick of rom to port was CM7.
[Samsung Galaxy S (4G Model)] drhonk:
You can forget CM, that's a different kind of beast. Start with something simple ... froyo
[Samsung Galaxy S (4G Model)] Eric-1987:
Ah damn well okay. I was super excited at the thought of CM7 on here.
[Samsung Galaxy S (4G Model)] robbbbit:
In time... Baby steps. :)
[Samsung Galaxy S (4G Model)] Eric-1987:
Well I'm willing to do whatever I can to help progress of any rom.
[Samsung Galaxy S (4G Model)] mikeDCMDVA:
Yeah same here, I was up until 5am trying to get Bionix to work, phone soft bricked and I was so tired I couldn't stay awake any longer...just let it sit there and went to sleep...waited until I woke up to Odin it back to KD1... le sigh
[Samsung Galaxy S (4G Model)] robbbbit:
Haha... Same here. Im at least booting up. Getting a lot of fc's. We're getting closer! dont give up! :-)
[Samsung Galaxy S (4G Model)] Eric-1987:
If anyone could assist me in my problem I'll give it another attempt. It was a page back I believe.
[Samsung Galaxy S (4G Model)] robbbbit:
Are you running ur commands through the \tools directory?
[Samsung Galaxy S (4G Model)] Eric-1987:
C:\Program Files (x86)\Android\android-sdk\platform-tools

Thats the one right?
[Samsung Galaxy S (4G Model)] robbbbit:
Nope. Just \tools. \Platform-tools is incorrect. Your baksmai.jar and smali.jar need to be there too.
[Samsung Galaxy S (4G Model)] Eric-1987:
When I was using adb to root my friends thunderbolt everything worked fine from there. It has all the files too like the adb.exe I dont have a \tools
[Samsung Galaxy S (4G Model)] robbbbit:
Well u need to install tools through the sdk manager and then put the smali's there and go from that point.
[Samsung Galaxy S (4G Model)] Eric-1987:
I've tried installing everything I can via the sdk manager but it says access denied nothing was installed.
[Samsung Galaxy S (4G Model)] anti-up:
Am I correct that the only files to edit are in, framework, android/os/environment.smali? Or are there more to edit in the other files? I didnt see anything else to change.
[Samsung Galaxy S (4G Model)] robbbbit:
No flame. Read OP.

The example given should complete framework.jar. :-)

*Rule of thumb: if u dont see anything...and you've searched... line by line... you're good.*
[Samsung Galaxy S (4G Model)] anti-up:
I did read op. I did extract 4 files from each rom. I did compare them and like I said I only found files to swap were I stated...i would ready like to help, but I need help also. Like where to look in the other files not just framework.
[Samsung Galaxy S (4G Model)] robbbbit:
if you go line by line and everything is good... theres only about 12 lines of code maximum that need to be changed... backup and test flash! :-D

remember: there will be alot of differences. just look for storage. sorry i cant help more. learning process for us all.
[Samsung Galaxy S (4G Model)] mikeDCMDVA:
Following up on what robbbbit said, below is a link to an application that will scan an entire directories file contents..

For example, you have Hello.txt, and inside of it there is "World" only, you point the application that the particular directory Hello.txt resides in, and set the search string to be "World", match case and scan. The application will give you any and all filenames that contain that string.

I used this for all four files, but only found the apparent changes in Environment.smali within framework.jar, but again, this is for bionix 1.3.1 touchwiz edition, other ROM's might be different.

http://www.sadmansoftware.com/search/
[Samsung Galaxy S (4G Model)] robbbbit:
+1 werd.
[Samsung Galaxy S (4G Model)] :
Just thought I'd offer my phones once again. I own three of these SGS4G devices. All have insurance. If you get to a point where you think you have a finished port... feel free to dropbox it to me and I'll test it. PM me if you want to take me up on that.

Also... if anyone feels froggy.... I'd like to request a port of Bionix NextGen with the gingerbread launcher found here. hehehe

http://sourceforge.net/projects/bionix-v/files/Bionix-NextGen-GB.zip/download

Thanks to everyone who is working on a port for this device!
[Samsung Galaxy S (4G Model)] Beefvvl:
Is NexGen one after Frost? I'm soo behind on TeamWhiskey stuff. I'm also wondering what happened with Sombionix. He seems to be MIA.
[Samsung Galaxy S (4G Model)] drhonk:
Frost is based on sgs4g rom and nextgen is 2.2 ... but yeah, nextgen is newer
[Samsung Galaxy S (4G Model)] drhonk:
Hey buddy you're up for some fun but with potential bricking your phone kinda testing? :-)
[Samsung Galaxy S (4G Model)] Eric-1987:
I just got fired so I am down for testing. I got all the time in the world now.
[Samsung Galaxy S (4G Model)] rickyy00:
Man you should probably start reading. I asked if porting a rom that had been originally from anothet device and been ported for the vibrant mess with anything. Jesus christ
[Samsung Galaxy S (4G Model)] GDofWR420:
Sucks you got fired. Sorry to hear that. Jobs r kinda hard to find. Well good luck on you endeavours.
[Samsung Galaxy S (4G Model)] Eric-1987:
**** happens but now I can help this community out more.
[Samsung Galaxy S (4G Model)] :
Thats why I have insurance & a good paying job. Lol
[Samsung Galaxy S (4G Model)] badboy68:
jus read and be patient. u can always pm the pro's instead typing too much of this..
[Samsung Galaxy S (4G Model)] SMASHERSONLY:
Is it possible to port the Cm7 nightly rom?? quick noob question if someone has time im about to try it
[Samsung Galaxy S (4G Model)] robbbbit:
No, cm7 is something else. This was mentioned earlier in the thread. Please read before posting.
[Samsung Galaxy S (4G Model)] rickyy00:
No man I read and asked if I porting a vibrant rom that had been ported from the evo.or something would interfere with the build up. Thats not been asked.on this thread and this guy just comes and.starts saying that of coursr I could.port a.vibrant rom. Thats not what I asked
[Samsung Galaxy S (4G Model)] robbbbit:
Porting a port should work... In theory. :-)
[Samsung Galaxy S (4G Model)] rickyy00:
Gonn	give it a go on darkys rom tonight. Let you knos
[Samsung Galaxy S (4G Model)] mikeDCMDVA:
At home on my primary PC, going to give it another go from scratch...
[Samsung Galaxy S (4G Model)] dsexton702:
This is really getting to me lol

the op makes it sound so easy which it might be

but i cant find any usb mounting in settings.apk

and the only STORAGE and sd info i see in in framework not in any of the other jars... hmmm
[Samsung Galaxy S (4G Model)] mikeDCMDVA:
Yep, I know.....this is certainly not as easy as it seems to be...thats for sure
[Samsung Galaxy S (4G Model)] robbbbit:
Lol remember krylon and dr. Honk have both read the op and they're good with it. it deff is harder than it seems... But im told it gets easier once done the first time.
[Samsung Galaxy S (4G Model)] dsexton702:
did either of you find out whats up with settings.apk

i still cant find the usb mount
[Samsung Galaxy S (4G Model)] rickyc19:
Have you figured it out?
[Samsung Galaxy S (4G Model)] Eric-1987:
Is that possible with the phone yet? And is the only difference the quadrant scores? My phone is super fast stock.
[Samsung Galaxy S (4G Model)] de1packers:
What's your scores since you say its fast
[Samsung Galaxy S (4G Model)] Eric-1987:
65 fps in neocore. I'm still on samsungs crappy file system so I score low in quadrant but I get high fps in the tests.
[Samsung Galaxy S (4G Model)] Eric-1987:
That's only on a 1.4ghz overclock.
[Samsung Galaxy S (4G Model)] GDofWR420:
Dude you rock for sending KRYLON360 the loaner sgs4g. BIG THANKS TO YOU LUCKYDUCK69.
[Samsung Galaxy S (4G Model)] de1packers:
Holy crap that's huge...
[Samsung Galaxy S (4G Model)] dsexton702:
sooo do we have any new information on porting these roms, it seems that the information we were given was not enough (no offense to you robbit, you give great detailed info) it just seems that we are all doing what it says but cant figure this out....

just thought i would ask :D
[Samsung Galaxy S (4G Model)] mikeDCMDVA:
Yep, the directions say to change the storage, and I've personally scanned each and every file for storage information, and changed everything it found. But, no go :[

Will try to take a look at the files more in depth when I get to work tomo
[Samsung Galaxy S (4G Model)] robbbbit:
I agree theres alot to be figured out. After talking with dr. Honk, i realized the info needed to be shared with the community. I got honk's permission and posted. Krylon and honk both looked over the OP and i think we are in the, "teach a man how to fish" phase... Remember, we couldnt even restore a week and a half ago. I know it sucks when you see the samsung charge on rom manager already... Believe me, i do... But f&%k. [/rant]
[Samsung Galaxy S (4G Model)] dsexton702:
yea thats what also throws me off, they did both look over the OP and didnt offer anything else which would tell you that it should work following the directions....

but the truth of the matter is that we really arent following the op EXACT because it tells us to edit all jar files and FOR SURE SETTINGS.APK yet we only know how to edit framework.jar lmao

geeze its sooo close i can smell the rom!!!!!

:P
[Samsung Galaxy S (4G Model)] corradokng:
Believe me even with krylon360 and drhonk looking over the post there could still be other things we need to change. It is very difficult to explain, let alone port without having the phone to test with. Patience..I am positive we will have a working port/rom in the near future. :)
[Samsung Galaxy S (4G Model)] soundwave123:
Maybe dr honk and krylon could add how they diagnose issues like we are having. IE noobs guide to logcat or read logs to give us the pointers in the right direction. I've never used nor attempted this btw. I think having a guide on debugging or maybe a link to an existing guide would help.

Galaxy S 4G
[Samsung Galaxy S (4G Model)] de1packers:
Not at all to..he said with a phone he would work on a port .that its all I meant
[Samsung Galaxy S (4G Model)] dsexton702:
Maybe we should stop trying to port a rom and start trying to create them! :P
[Samsung Galaxy S (4G Model)] GDofWR420:
Just trying to give credit were it's due. It Sounded like you were being sarcastic towards my comment. So don't think I'm a complete ass. Just defending myself
[Samsung Galaxy S (4G Model)] mikeDCMDVA:
I have a question please regarding this step.

I see this step calls for the modding of the language "/mnt/sdcard", to be changed to "/mnt/sd/external_sd".

What about this is incorrect exactly?

Using root explorer I can verify the path "/mnt/sdcard" leads to my external SD, I see all of my external SD file contents by navigating to that path.

So, obviously my question is why would it be changed in the vibrant ROM?
[Samsung Galaxy S (4G Model)] overkillthemighty:
CGM

Anybody know if this will work with cyanogen mod 7? A stable release for vibrant has been released, but I don't know if cyanogen is "genetically" similar enough to work with this process. If nobody has any idea if this will work or not, I will eventually try it, I just hate re-installing my phone as I rely on it a lot and don't have a lot of time to try to recover. Thanks!
[Samsung Galaxy S (4G Model)] GDofWR420:
I've heard its a no go for us on cyanogen. But feel free to verify elsewhere. Maybe one of the devs knows.
[Samsung Galaxy S (4G Model)] dsexton702:
another thing to point out mike,

is the fact that when you first compare the two framework jars,

BOTH are nearly identical in comparison

the only difference is one line of coding in the begin which is something about loading the data_directory and 3/4 down the coding you have to change Internal to External THOSE ARE THE ONLY DIFFERENCE IN BETWEEN THE COMPARISON

so why would we change any of the INTERNAL EXTERNAL storage if IT ALREADY LOOKS LIKE THE KD1!!!!!!!!
[Samsung Galaxy S (4G Model)] dsexton702:
another thing to point out mike,

is the fact that when you first compare the two framework jars,

BOTH are nearly identical in comparison

the only difference is one line of coding in the begin which is something about loading the data_directory and 3/4 down the coding you have to change ONE Internal to External THOSE ARE THE ONLY DIFFERENCE IN BETWEEN THE COMPARISON

so why would we change any of the INTERNAL EXTERNAL storage if IT ALREADY LOOKS LIKE THE KD1!!!!!!!!
[Samsung Galaxy S (4G Model)] badb4lyfe:
something not rite here.... i've done all this and keep getting a libmedia_jni.so dlopen error..... and \syste\csc\feature.xml cant stat ..... any one have any ideas
[Samsung Galaxy S (4G Model)] dsexton702:
a libmedia_nji.so????/

are you talking about when in CMD trying to type code, or

when your compiling up your new classes.dex....

when are you getting this error?
[Samsung Galaxy S (4G Model)] badb4lyfe:
thats from the logcat... the fone goes into a boot loop at initial splash screen
[Samsung Galaxy S (4G Model)] dsexton702:
yea we are all getting boot loops

starting to think the thread doesnt have enough info

luckyduck has sent drhonk his phone

so once again we wait for the MASTERS to take care of things :D

unless you wanna do more dev research(im going to)

so that one day you can do this yourself hahahaha
[Samsung Galaxy S (4G Model)] badb4lyfe:
agreed.... been searching and can't find anything
[Samsung Galaxy S (4G Model)] Juls317:
I'm just doing a test port for the experience but which file is the modem? Is it the one labled "modem.bin" or "zImage"? I've heard that it's zImage but it.would.make more sense for it to be modem.bin

Edit: also, where is the settings.apk file? I think I saw this addressed in another thread but I can't seem to find it
[Samsung Galaxy S (4G Model)] krylon360:
Stop trying to port for now guys, just build off KD1.
[Samsung Galaxy S (4G Model)] Juls317:
Oh. Alright. I was just trying to get a little dev experience instead of building from the ground up
[Samsung Galaxy S (4G Model)] krylon360:
building from the ground up is the best way to learn. building off someone elses work is harder, because not only do you have to learn Samsungs code, you also have to learn the original devs code.
[Samsung Galaxy S (4G Model)] dsexton702:
Can we turn kd1 into a custom rom?
[Samsung Galaxy S (4G Model)] Juls317:
Any tips for me to get my feet wet in deving?
[Samsung Galaxy S (4G Model)] wizardslovak:
Same here .. Any good guide for how to build rom??? maybe one of our devs would like to write one for us noobs to learn ;-);-)
[Samsung Galaxy S (4G Model)] funeralthirst:
zImage is the kernel, modem.bin is the modem.

yes, use what you have as a base and start modding from there. that's how a lot of the roms are (or started out as) for the vibrant, not building from aosp.
[Samsung Galaxy S (4G Model)] dsexton702:
Thanks for the info, time to become a super ameteur Dev aka android enthusiast :) MUAHAHAHAHAHAHAHA
[Samsung Galaxy S (4G Model)] Spider_Pig27:
i give up on this.. is too damn confusing and hard!... ima just wait for a rom to be relased. lol.. thanks for the post though..
[Samsung Galaxy S (4G Model)] jazzmanmonty:
ya i agree with the frustrating and hard part. maybe some of you that have successfully modded these roms and got them to work should post your works for us to try? i'm surprised because this porting method has been around for a while, and nobody has posted their custom roms yet?!
[Samsung Galaxy S (4G Model)] dsexton702:
everyone gave up a week ago guys, READ!! drhonk said to stop trying this method

also luckyduck lent his phone to drhonk

so you can expect some sgs4g goodies in the near future
[Samsung Galaxy S (4G Model)] chris....:
Check the themes forum, there are plenty of mods for you.

Sent from my Galaxy Tab running CM7
[Samsung Galaxy S (4G Model)] helloEdwen:
miui?

hey can this method work with porting miui?
[Samsung Galaxy S (4G Model)] Spider_Pig27:
NO! this doesnt work!
[Samsung Galaxy S (4G Model)] Jerry D:
Long story short. Unless you have can access robbbbit. His thread is Dead.

Forgive me if I'm wrong but he isn't here anymore.. robbbbit helped me GREATLY.

He worked me through my FIRST brick and showed/helped me Odin..
[Samsung Galaxy S (4G Model)] dsexton702:
He moved on to the sensation months ago lol
[Samsung Galaxy S (4G Model)] Juls317:
probably a dumb question, how difficult would it be to port MIUI? doesn't it involve a special kernel just as CM7 or am I wrong (on one or both accounts)?