yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] FBis251:
I got it!

http://xdaforums.com/showpost.php?p=8755526&postcount=7

So apparently it's apps2sd causing this problem. I used the ubuntu guide but I'm sure fedora will work now, since it was just a mounting issue.

What I did to type this quickly was change the bootubuntu (or bootfedora in this case) script to just b so i could just do su, press enter, then b, press enter

EDIT

This means that it's possible to boot it as an init.d script to make sure it loads before the phone is done scanning the SD card. I think I'll wind up doing that... It's easier to kill the script when you don't need it than boot it when you want it.
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
Oh gosh, thank you so much I was just about to give up on public releases. Now that I know the problem I can fix my scripts to get arpund it. Thanks so much!
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
Just wanted to post again to express my gratitude I will definitely post a new script that will mount regardless of app2sd. Thank you! Thank you! Thank you!
[Samsung Galaxy S (4G Model)] FBis251:
Hey man I'm as happy as you are... Just spent the last few hours messing with ubuntu on the phone. Piece of work that is. You said fedora has sound support when booting on the phone?
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
Yeah I managed to get sound working.... sad part is my (granted I forgot to make a backup) version of the filesystem image became corrupt.... oops. Well, I'm buying a larger sd card in about 30 mins and I'm going to redo it so soon I'll upload the new img and scripts aswell as a kernel module for you and others using a different linux distro than fedora :P
[Samsung Galaxy S (4G Model)] FBis251:
Sounds great. Just a heads up, I was messing with the bootscript and I added the lines that mount the sdcard to the other OS's filesystem. Twice I got the phone freezing up so I did a hard reboot (battery pull) and when the phone rebooted it seems as if the /data partition got wiped (except for my background image which got saved, go figure). Weird, not even sure how that could've happened.
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
Very odd. If this forum has private messaging, PM me exactly what you added so I can make sure that or something more serious doesn't happen to others. Thanks
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
I just updated the script to mount whether or not you have App2SD installed on your phone.

It turns out App2SD uses a separate loop device for each app you have moved to your SD Card.

I've set the script "bootfedora" to create a "/dev/loop99"

So, unless you have 99 or more Apps moved to your SD Card it should work!

Re-download "bootfedora" from:

http://anonymouslyacquired.info/fedoraonsgs4g/

edit: currently working on new version of my Fedora 12 filesystem (should include a lot more (including working sound for a "nicer" feel) but it sucks if you have less than 2GB of freespace on your SD Card)
[Samsung Galaxy S (4G Model)] Jerry D:
I'm completely in the dark when it comes to Fedora but I find it very interesting. It is going to be a Big Development for our phone I'm sure.

Wish I could help you but this is way out of my league.

I'm definitely following your progresses closely. Keep up the Great Work fellas!

Thanks
[Samsung Galaxy S (4G Model)] FBis251:
Alright man, I got it to boot perfectly without doing this at boot startup! Aww yeah, it's on!

One thing though, the scripts you've been posting lately have windows line endings insteads of Unix, so I had to convert them before they worked.
[Samsung Galaxy S (4G Model)] glt0404:
I'm not sure what I'm doing wrong but I keep getting the error

chroot: notfound

: not found

Shutting down Fedora

: not found
[Samsung Galaxy S (4G Model)] FBis251:
What rom/kernel are you using?
[Samsung Galaxy S (4G Model)] glt0404:
Stock rom with Bali 3.3UV

I'm pretty sure that's not the problem cause I've successfully booted Ubuntu (without gui).
[Samsung Galaxy S (4G Model)] FBis251:
Post up the whole list of commands you ran, plus the errors. Just copy the whole command line text
[Samsung Galaxy S (4G Model)] glt0404:
This is what I got.

export PATH=/data/local/bin:$PATH
# #cd /sdcard/fedora/
# su
# sh fedora.sh
Usage: mount [-r] [-w] [-o options] [-t type] device directory
Usage: mount [-r] [-w] [-o options] [-t type] device directory
rm failed for -f, No such file or directory
: not found
: not found
: not found
: not found
: not found
: not found

Fedora Chroot Bootloader v0.1
Fedora Bootloader is now installed!
This process does NOT damage Android OS!

Original Installer by Charan Singh
Modified for Fedora Chroot by N4melessS0ldier

To enter the Fedora Linux console just type 'bootfedora'
: not found
: not found
# sh bootfedora
Usage: mount [-r] [-w] [-o options] [-t type] device directory
Usage: mount [-r] [-w] [-o options] [-t type] device directory
: No such file or directoryxtcard2
': Read-only file systemctory '/mnt/extcard2
'knod: invalid number '0
losetup: not found
failed: No such file or directory/extcard2
': No such file or directoryy '/mnt/extcard2/rootfs-f12
failed: No such file or directoryp1 on /mnt/extcard2/rootfs-f12
': No such file or directoryy '/mnt/extcard2/rootfs-f12
failed: No such file or directoryard2/rootfs-f12
': No such file or directoryrd2/rootfs-f12
': No such file or directoryrd2/rootfs-f12
failed: No such file or directoryrd2/rootfs-f12
failed: No such file or directoryxtcard2/rootfs-f12
failed: No such file or directoryrd2/rootfs-f12
failed: No such file or directoryrd2/rootfs-f12
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4
: directory nonexistentte /mnt/extcard2/rootfs-f12
: directory nonexistentte /mnt/extcard2/rootfs-f12
Setting localhost on /etc/hosts
: directory nonexistentte /mnt/extcard2/rootfs-f12
Operation complete!
Courtesy N4melessS0ldier!

chroot: not found
: not found
Shutting down Fedora
: not found
#
[Samsung Galaxy S (4G Model)] FBis251:
You're not using the latest version of the scripts.

Go to the first post of the thread

go to the website

download bootfedora and fedora.sh again

put both files on your phone

run su

run sh fedora.sh

run bootfedora

That should get you up and running.
[Samsung Galaxy S (4G Model)] glt0404:
I'm still getting the same errors.
[Samsung Galaxy S (4G Model)] FBis251:
Actually I think I know what went wrong. Try copying these scripts (delete the ones you have on your sdcard) and run fedora.sh

The scripts that are on the website don't have the correct line endings and your phone won't like them. These should get you going.
[Samsung Galaxy S (4G Model)] Somairotevoli:
thanks for this. got it running.
[Samsung Galaxy S (4G Model)] FBis251:
Awesome. Have fun!
[Samsung Galaxy S (4G Model)] glt0404:
Sweet! Boots up now. Thanks dude.

Also I can't get the internet to work. Are you having the same problem or is that just me?
[Samsung Galaxy S (4G Model)] FBis251:
Hmm, when it boots up, (you get the root@fedora prompt) try running

ping google.com
[Samsung Galaxy S (4G Model)] Somairotevoli:
my internet was working just fine. might just be dns settings.
[Samsung Galaxy S (4G Model)] glt0404:
It'll ping google.com. When I get into the GUI it doesn't work.

Edit:

Not sure what I did but I just booted up and the internet works now.
[Samsung Galaxy S (4G Model)] portis:
Great its working now, but when i try to install firefox its says no more space .I wanted to install many linux software but i guess not now :)) Is there a graphical installator like synaptic in ubuntu?
[Samsung Galaxy S (4G Model)] glt0404:
I don't think there's enough room on the .img file for firefox.

But I successfully booted Ubuntu with the lxde interface. You might want to give it a try.

www.androlinux.com
[Samsung Galaxy S (4G Model)] Spider_Pig27:
what is this and how do you use it??... sorry i really dont know what this is..
[Samsung Galaxy S (4G Model)] FBis251:
http://lmgtfy.com/?q=fedora

Sent from my awesome SGS4G
[Samsung Galaxy S (4G Model)] sconsylman:
Can't seem to get this to work for some reason, I've been messing with the sh file too, trying different loops. Anyone who's smarter than me on this have any idea?

Obviously the extcard2 seems to be the problem. Sorry for the recycle here, this ones been dead for a while.

I've tried a couple of the ubuntu builds too, and have had one boot 1 time only. I'm currently running a 2.6.35.7 kernel, 2.3.5 GB k13 firmware from Team Octaine (a very good build).

To enter the Fedora Linux console just type 'bootfedora'

# bootfedora

Usage: mount [-r] [-w] [-o options] [-t type] device directory

Usage: mount [-r] [-w] [-o options] [-t type] device directory

failed.

mkdir failed for /mnt/extcard2, File exists

mknod: /dev/loop99: File exists

losetup: /dev/loop99: No such file or directory

mount: Invalid argument

mkdir failed for /mnt/extcard2/rootfs-f12/mnt/sdcard, No such file or directory

mount: No such file or directory

mkdir failed for /mnt/extcard2/rootfs-f12/phonedata, No such file or directory

mount: No such file or directory

rm failed for /mnt/extcard2/rootfs-f12/tmp/*, No such file or directory

rm failed for /mnt/extcard2/rootfs-f12/tmp/.*, No such file or directory

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4

/system/bin/bootfedora: line 27: can't create /mnt/extcard2/rootfs-f12/etc/resolv.conf: nonexistent directory

/system/bin/bootfedora: line 28: can't create /mnt/extcard2/rootfs-f12/etc/resolv.conf: nonexistent directory

Setting localhost on /etc/hosts

/system/bin/bootfedora: line 30: can't create /mnt/extcard2/rootfs-f12/etc/hosts: nonexistent directory

Operation complete!

Courtesy N4melessS0ldier!

chroot: can't change root directory to /mnt/extcard2/rootfs-f12: No such file or directory

Shutting down Fedora

Thanks you!

S
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
Sorry, was having troubles with the hosting. That's why the files aren't accessible via anonymouslyacquired.info

Also, @sconsylman, you may have your system set to read only (?)
[Samsung Galaxy S (4G Model)] sconsylman:
Hey, thanks for the reply. Not dead after all. Where would the setting be located? Are you talking about a root explorer style rw, or a linux lettered permission. Sorry, i use linux as one of my operating systems but i am certainly no expert.
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
It would be easier to use a root explorer app and mount the system and rw - or - you can search the market for "mount rw" or "root mount rw" and I'm sure you can find a free app in the results that will mount the system with read and write privileges. In all honesty, the apps that do this run a command that you can run yourself via terminal, however it's much easier and more feasible to use an app that will do it for you with no knowledge of linux and file i/o. I thought I had included the command in the scripts but in case I didn't try mounting the system as rw using your root privileges and an appropriate app :)
[Samsung Galaxy S (4G Model)] sconsylman:
Alright, thanks. Done.

Maybe the problem is the build I made from the fedora arm project online. I have your bootfedora and fedora.sh scripts. Any idea on an alternative location for the fedora.img file to download?

Thanks man.
[Samsung Galaxy S (4G Model)] Logix:
so is the host still down or what i can host a mirror?
[Samsung Galaxy S (4G Model)] FBis251:
You might wanna host it yourself.
[Samsung Galaxy S (4G Model)] Logix:
dont have the original file but i can
[Samsung Galaxy S (4G Model)] 52435:
you server is down (http://anonymouslyacquired.info/)

can you re-up fedora??
[Samsung Galaxy S (4G Model)] sconsylman:
Is there any reason why there is not 1 of these files available anywhere online? It almost seems like this Fedora build is a hoax, as this is referenced everywhere on youtube etc, but there are NO FILES! I'm not trying to be critical, but if this Fedora sgs build is dead (as is anonymouslyaquired) then perhaps this thread and the youtube links should be closed.
[Samsung Galaxy S (4G Model)] FBis251:
Nah not a hoax. I got it working, and also got ubuntu working. I was helping the OP test out different configs until we found a working one, then I used that to build an ubuntu image I found. It worked alright with VNC
[Samsung Galaxy S (4G Model)] sconsylman:
Aaarrgghh!

I keep trying., but all I get are issues. When using an installer like linux installer, it doesn't work because of no /proc/config.gz file being found (I verified there is not one at that location). When installing other builds with open & close scripts, it loads and then closes immediately. So what am I doing wrong here?
[Samsung Galaxy S (4G Model)] sconsylman:
Ok, so it appears that ubuntu is trying to start up in Terminal, but then exits out immediately (I <ls> after trying to run but only get the ubuntu files listed on the sd card).

I get:

"Please wait while booting ubuntu.img.. This can take some time...

Exiting chroot environment and sync'ing memory to storage...

DO NOT EXIT until finished - doing so may corrupt the ubuntu.img!"

Any ideas anyone? I am running as su root, system appears to be mounted as r/w. There are no solutions i've found online to this.

Thanks
[Samsung Galaxy S (4G Model)] Logix:
do you got the files you can send me?
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
Sorry for not working on this project for awhile. I will be uploading the scripts and files necessary to http://zornco.net/androfedora site will be up by 12:00AM EST

Also there will be more features like being able to resize the virtual disk for fedora.
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
@FBis251, if you have the original scripts still, that would be amazing. I'm currently remaking everything from scratch.
[Samsung Galaxy S (4G Model)] Logix:
does any one know if if air crack /snort works with the wifi chipset on linux? on our devices?
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
As I remember, aircrack works with the SGS4G wifi chipset but the driver has to be compiled with a patch from aircrack's website. Driver is available on Samsung's open sourced website or whatever. Basically, someone should write a ROM with the aircrack drivers in it. Or you can have fun compiling them yourself.
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
Just so everyone's aware. I am in the process of uploading fedora.img and fedora_scripts.zip to zornco.net will be done in approx 20 mins.

The fedora.img file I'm uploading has a really basic Fedora 12 root filesystem. It doesn't have a desktop environment but I've run a couple fixes and installed openssh-server on the rootfs. I've tested these scripts and the hard disk image on my Samsung Infuse 4G and should work fine for people using SGS4G although I don't have a Galaxy S 4G to test it on.
[Samsung Galaxy S (4G Model)] bhundven:
Link me up, Scotty!

again... link...

Wouldn't go in the rom, as the rom doesn't ship with drivers... But, we could get it into the kernel... ;)
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
*********

All necessary files uploaded! Have fun and post errors if you can't get it workiing :D

http://zornco.net/androfedora/
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
Links for SGS4G and aircrack:

SGS4G Kernel ->https://opensource.samsung.com/index.jsp

search SGH-T959V for SGS4G kernel source

BCM4329 wifi chipset -> http://www.aircrack-ng.org/doku.php?id=broadcom

SGS4G PCB http://mobilephonerepairguides.blogspot.com/2011/03/samsung-galaxy-s-4g-pcb-board.html

to compile a compatible driver in the SGS4G kernel you would need to compile the SGS4G kernel source and include the correct wifi driver. Try using http://wireless.kernel.org/en/users/Download
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
Yeah sorry about that. I was the only one hosting the files. And I don't have a server running at anonymouslyacquired.info any more. Check out the new links on the first page.
[Samsung Galaxy S (4G Model)] FBis251:
I found them. Luckily I had a backup of my SD card from a while back. File date says July. :D
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
Haha awesome! Thank you so much, but I already managed to recreate them and all the files should be in working order at: http://zornco.net/androfedora/
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
If anyone is familiar with Linux. I'm running into a problem.

I have the XFCE desktop environment installed and everything works

EXCEPT when I try to play music (even though the mixer shows that it recognizes the sound card) the phone crashes.

Does anyone know what device the linux kernel talks to for sending audio to the soundcard?
[Samsung Galaxy S (4G Model)] bhundven:
Try checking permissions of the device nodes in /dev/sound/ to make sure the audio services hav read&write access.
[Samsung Galaxy S (4G Model)] Logix:
:):):):) :) thank you!!!!!!!!!!! finally :)

<3 key cracking from a phone hell ya
[Samsung Galaxy S (4G Model)] filmaker:
Hey, how do you get vnc working?
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
I will get back to you in a few hours. I'm busy now. I have not been working on this project in quite awhile. It's possible older 'backups' are in the downloads now, not the up-to-date versions.
[Samsung Galaxy S (4G Model)] filmaker:
Lol okay take your time. Thanks man
[Samsung Galaxy S (4G Model)] N4melessS0ldier:
I had not been working on this project for quite some time. I don't have an SGS4G anymore; I now have a Samsung Infuse 4G for ATT.

I may be able to get aircrack-ng working for both Samsung Infuse 4G users and SGS4G users but that is probably the extent of it.

As for how to start VNC server, I am redoing the .img file and I will be uploading the new versions to https://zornco.net/androfedora/

I'll let you know when they're accessible.
[Samsung Galaxy S (4G Model)] filmaker:
How did you get the vnc working?
[Desire General] Dj Telo:
Hello!

This evening I wanted to clean my SD card, as I have used it in 3 different phones and it had lots of unnecessary files. Prior to do so, I made a back up of all my apps with Titanium Backup. Then I erased all the content of my card (except the folder where the backup was stored) and then I restored the backup.

The problem comes here. It happens that before doing anything I had more than 25MB of internal storage available. After restoring the backup I have less than 4MB. What is my problem?

During the restoration process Titanium Backup crashed twice and I had to restart the process again. Is it possible that some data has been copied to my phone more than once and it is occupying more than it should?

What can I do?

Thank you all in advance.
[Desire General] shankly1985:
Mybe befor you did the backup, you had some apps installed on the SDcard. Try moving some apps back to the SD card, you can download app2SD tools from the market witch will tell you what apps can be moved.

Titanium backup might have moved all apps onto your internal.

Or you could just try a data2SD rom and never worry about getting low space I have 2GB internal memory :)

Also clear cache for some apps that takes up some space, you can download and app for clearing the cache.
[Desire General] Dj Telo:
That was the first thing I checked, that the apps where installed where they had to. There's nothing installed in my internal. The cache is less than 1MB and it used to be about 4MB. That way I still had those 25MB of free internal memory. It must be something else...

And if I tried that second option, wouldn't the phone be slower if the rom was installed in the SD?

Thank you.
[Desire General] shankly1985:
The ROM don't go onto the SD, it fits on the nand, they just have a way into tricking the ROM into you having a bigger internal memory. All app's install into a partition on SD card. It's recommend you have a class 4 or better SD card this is just for speed of opening app's etc.

Look up my ROM development page and have a read, if you have the SD card you won't regret it.
[Desire General] shankly1985:
My ROM is gingerburst sense 2.1 by Droidzone.
[Desire General] Dj Telo:
I will give it a try. ;)
[Nexus S Q&A, Help & Troubleshooting] mikeyinid:
http://www.androidcentral.com/sprints-motorola-photon-4g-available-july-31-199-contract

Just thought Id share this with you guys...
[Nexus S Q&A, Help & Troubleshooting] hellcatt:
sounds pretty badass but its kinda ugly
[Nexus S Q&A, Help & Troubleshooting] chewbz:
My brother wants to go on my line, and imma either tell him the evo 3d or this.
[Nexus S Q&A, Help & Troubleshooting] ervman1:
The specs seem pretty good but its kinda ugly and looks bulky...after this nexus I don't think I want to go to a heavier phone..oh and I love cm7 and miui :-)
[Nexus S Q&A, Help & Troubleshooting] Novakon:
Locked bootloader
[Nexus S Q&A, Help & Troubleshooting] mikeyinid:
Itll get rooted, but bootloader is locked. With the recent breakthroughs on the Droid X with second init and getting CM7 working, count on aosp working at some point on the Photon also. Motorola may even unlock a few months down the road since they promised no more locked bootloaders.
[Nexus S Q&A, Help & Troubleshooting] gunstar3035:
Like the look and nice specs but I only buy Nexus devices. To buy any other android phone other than a Nexus would be stupid.
[Nexus S Q&A, Help & Troubleshooting] HareyCarey:
I think it is nice, but, I genuinely love my NS4G and I haven't even rooted and started flashing yet.
[Nexus S Q&A, Help & Troubleshooting] mikeyinid:
Yea dont blame you. I personally like Motorola and think itll be the best all around option sprint will see this year. Best battery and radio, guaranteed.
[Nexus S Q&A, Help & Troubleshooting] mikeyinid:
Oh. And the Atrix bootloader has been hacked and unlocked so im sure the photon will be figured out shortly.
[Nexus S Q&A, Help & Troubleshooting] Novakon:
Wow. That's pretty closed minded.
[Nexus S Q&A, Help & Troubleshooting] mikeyinid:
Battery life will be awesome. It has a 10 hour talk time.
[Nexus S Q&A, Help & Troubleshooting] Quis89:
How would that be stupid? Other manufactures add functionality that should be included in stock android already but isn't. Unless you're stuck on the "ill get updates first wagon".
[Nexus S Q&A, Help & Troubleshooting] dreamsforgotten:
That's a matter of opinion and on the development device you have the source to add to if you wish : D not hating on you but most run to the nexus line to escape what the carrier added.

The proton is ugly imo lol, can't imagine comfort holding that thing also why are all these dual cores only pushing one gig?
[Nexus S Q&A, Help & Troubleshooting] ricocollege:
Hell yeah I am getting this phone. It is what the EVO 2 should have been. And it will be rooted, not worried about that.
[Nexus S Q&A, Help & Troubleshooting] dreamsforgotten:
I had a flashback when I seen it I couldn't place it but I got it, the motorola i1 presumably one of the worst phones produced with android. It featured iden push to talk and that was the only selling point, shipped with 1.5 android when froyo was out, the list goes on. the design is a perfect match as far as the shape. Visit this link

www.motorola.com/Consumers/US-EN/Consumer-Product-and-Services/Mobile-Phones/MOTOROLA-i1-US-EN

load the flash video and check picture 2 and the last one out. Very bulky
[Nexus S Q&A, Help & Troubleshooting] chewbz:
Off topic but which do you prefer more, sense or motoblur. I used sense 3.0 and I totally hated it, it felt like the UI was bogging down the hardware. I never tired blur, i know some people have a thing against it but don't know why...
[Nexus S Q&A, Help & Troubleshooting] DirtyShroomz:
Because it's the ugliest, slowest, buggiest UI
[Nexus S Q&A, Help & Troubleshooting] mikeyinid:
Lol. The new blur isnt bad. The icons are what kill me.
[Nexus S Q&A, Help & Troubleshooting] dowmace:
I hated blur when it came out on the cliq and havent touched it since then
[Nexus S Q&A, Help & Troubleshooting] tommyz2kool:
that photon is one ugly ass mofo lol :p