yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] xxbeanxx:
I mounted the factoryfs.rfs file and had a look in the app directory to see what .apks were the biggest. I then copied the ones I was going to delete out and modified my install script to include something like this:

/tmp/root-tools/busybox rm /system/app/aldiko-standard-1.2.6.1-samsung-s1.apk
/tmp/root-tools/busybox rm /system/app/thinkdroid.apk
/tmp/root-tools/busybox rm /system/app/Maps.apk

Then I put the aldiko and thinkdroid apks that I copied from factoryfs.rfs on the sd card and installed as user apps, and Maps can be downloaded from the market.

Doing this gave me enough space to put on su, busybox, and a hosts file and I still have about 6MB free for future use in /system. You can remove Layar too since it can be downloaded from the market, and probably gmail and a bunch of other ones.
[Galaxy S I9000 Android Development] Oletros:
Where I have to put the lines? After the install_su.sh part?
[Galaxy S I9000 Android Development] xxbeanxx:
Inside the install_su.sh script. Notice that I didn't exactly stick to the same paths as the OP so be careful and make sure your commands match what you have done. (ie: I put my files in /tmp/root-tools instead of just /tmp and /tmp/su).

I put the commands inside the if block, before the command that remounts /system as read-only.

I'd paste the entire script and modify it for you to match the OPs instructions but I am not booted to linux right now so I don't have the script handy.

Edit: I've read somewhere that you can open the factoryfs.rfs file in MagicISO in windows if you want to extract the apks from it. I haven't tried this but it may be good advice if you don't know how to mount the file.
[Galaxy S I9000 Android Development] Oletros:
Ok, let's sumarize:

1) I have at the end of init.rc this:

service install_su /sbin/install_su.sh
user root
oneshot

2) I have in repack/temp/tmp those files:

busybox

su-2.3.6.1-ef

All with execute permissions

3) I have on repack/temp/sbin/install_su.sh:

#!/tmp/busybox sh
source='/tmp/su-2.3.6.1-ef'
dest='/system/xbin/su'

if /tmp/busybox [ ! -f /system/xbin/su ];
then
/tmp/busybox mount -o remount,rw /system
/tmp/busybox rm /system/app/aldiko-standard-1.2.6.1-samsung-s1.apk
/tmp/busybox rm /system/app/Layar-samsung.apk
/tmp/busybox mkdir -p /system/xbin
/tmp/busybox cp $source $dest
# make sure it's owned by root
/tmp/busybox chown 0.0 $dest
# sets the suid permission
/tmp/busybox chmod 06755 $dest
/tmp/busybox mount -o remount,ro /system
fi;

repack command output is:

/home/user/desktop/kernel/repack$ ./repacker.sh -s zImage.org -d zImage -r temp -c gzip
##### My name is ./repacker.sh #####
##### The source kernel is /home/user/desktop/kernel/repack/zImage.org #####
##### The destination zImage file is /home/user/desktop/kernel/repack/zImage #####
##### The directory of the initramfs has been selected #####
##### The initramfs is /home/user/desktop/kernel/repack/temp (will be gzipped) #####
11945 bloques
##### 01. Extracting kernel from /home/user/desktop/kernel/repack/zImage.org (start = 16541) to ./out/Image
345+1 registros de entrada
345+1 registros de salida
5709667 bytes (5,7 MB) copiados, 0,196452 s, 29,1 MB/s

gzip: stdin: decompression OK, trailing garbage ignored
##### 02. The size of the new initramfs is = 3546187 / original = 4094212
##### 03. The size of the Image is 14394176
##### 04. Making a head.img ( from 0 ~ 143360 )
1+0 registros de entrada
1+0 registros de salida
143360 bytes (143 kB) copiados, 0,000280133 s, 512 MB/s
##### 05. Making a tail.img ( from 4237572 ~ 14394176 )
2+1 registros de entrada
2+1 registros de salida
10156604 bytes (10 MB) copiados, 0,0176529 s, 575 MB/s
##### 06. Merging head + initramfs
##### 07. Checking the size of [head+initramfs]
##### 08. Merging [head+initramfs] + padding + tail
1+0 registros de entrada
1+0 registros de salida
548025 bytes (548 kB) copiados, 0,00095054 s, 577 MB/s
#==========================================
##### Now we are rebuilding the zImage #####
#==========================================
##### 09. Image ---> piggy.gz
##### 10. piggy.gz ---> piggy.o
##### 13. head.o + misc.o + piggy.o ---> vmlinux
##### 14. vmlinux ---> zImage
##### 15. Getting finished!!
#==========================================
##### DONE!! #####
#==========================================
/home/user/desktop/kernel/repack$ tar -H ustar -c zImage >code.tar

Why on earth aldiko and layar doesn't get erased and su doesn't get copied? :(
[Galaxy S I9000 Android Development] Oletros:
Finally I have rooted my phone

I have deleted from factoryfs.rfs some apps, I have flashed it using Heimdall and then I have used 1.3 version from first post

Thanks to all
[Galaxy S I9000 Android Development] xxbeanxx:
I have no idea why this wouldn't work for you, everything looks good to me.
[Galaxy S I9000 Android Development] lownoise:
Post your kernel and i'll take a look at it!
[Galaxy S I9000 Android Development] lownoise:
I dont have much spare time on this moment but you never know:rolleyes:
[Galaxy S I9000 Android Development] ioddrine:
so is it safe to use the JVR kernel in the first post?

just to be safe: i flash it in ODIN in PDA box nothing cheked?
[Galaxy S I9000 Android Development] manager77:
Can you upload your factoryfs.rfs file with deleted apps? Thanks
[Galaxy S I9000 Android Development] xxbeanxx:
My hunch is that the installer simply won't run on a 64-bit archetecture.
[Galaxy S I9000 Android Development] windraker:
Time to redo the VM :P
[Galaxy S I9000 Android Development] windraker:
Works~! awesome sauce
[Galaxy S I9000 Android Development] xxbeanxx:
Glad to hear; did you manage to gain root?
[Galaxy S I9000 Android Development] windraker:
yup. working on combining speedmod into stock so it works better. speedmod alone bootloops. :). this is new to me lol. i program actionscript and .net for a living. dam roms hurt my head sometimes
[Galaxy S I9000 Android Development] An Droid:
Just wanted to say 'Thanks' to lownoise for this root guide...
[Galaxy S I9000 Android Development] ugothakd:
This. is. amazing. Been looking forever for something like this. It should for another galaxy s device, right? Stock kernel
[Galaxy S I9000 Android Development] burakgon:
Thank you much.
[Galaxy S I9000 Android Development] burakgon:
Just install rom manager from market. It will do this.
[Galaxy S I9000 Android Development] xxbeanxx:
Not necessarily. That only works if you're current kernel has 2e recovery.
[Galaxy S I9000 Android Development] lownoise:
Updated with XXJVS Kernel

OP updated with XXJVS kernel:cool:

Note:

To make some space i've edited the install_su.sh to remove the startup sound:)

#!/tmp/busybox sh
source='/tmp/su/su-2.3.6.1-ef'
dest='/system/xbin/su'

if /tmp/busybox [ ! -f /system/xbin/su ];
then

/tmp/busybox mount -o remount,rw /system

# Remove startup and shutdown sounds, to make some space
toolbox rm /system/etc/PowerOn.snd
toolbox rm /system/etc/PowerOn.wav
toolbox rm /system/media/audio/ui/PowerOff.wav

# Copy SU
/tmp/busybox mkdir -p /system/xbin
/tmp/busybox cp $source $dest
# make sure it's owned by root
/tmp/busybox chown 0.0 $dest
# sets the suid permission
/tmp/busybox chmod 06755 $dest
/tmp/busybox mount -o remount,ro /system
fi;
[Galaxy S I9000 Android Development] lownoise:
Updated OP with XXJVT Kernel

OP updated with XXJVT kernel;)

Thanks to xxbeanxx:)
[Galaxy S I9000 Android Development] kalki:
there is a need - reflash back to original stock kernel? or not?
[Galaxy S I9000 Android Development] lownoise:
No there isn't! But if you prefer a rooted kernel as close to stock than this is your choice ;)
[Galaxy S I9000 Android Development] kalki:
Hi I have XWJVQ rom, which way you suggest to root this rom?
[Galaxy S I9000 Android Development] Perka:
Awsome thread, now I just need to learn how to add CWM in my Kernel.

If you can and have time can you pls post a how to?
[Galaxy S I9000 Android Development] lownoise:
Sorry Perka I don't have the time now:mad: But basically what i should try is, Getting the sources from cwm7 and supercurio's modifications from android_bootable_recovery from github. Compile and take chainfire initramfs as source to extend my own initramfs. Hopes this will help you;)
[Galaxy S I9000 Android Development] SunnyOK:
It is a goof tutorial. Unfortunately, it works for stock kernel only. I would like to modify any kernels. Who can give me helpful suggestions and advices? Thank you.
[Galaxy S I9000 Android Development] Mr.Oug:
Does this same method apply for any stock samsung kernal
[Galaxy S I9000 Android Development] lownoise:
Great Submission Milawe

Thanks Mialwe for the great post you did :)

I'll update the OP with a link to you Post!

I wish that more Dev's share there great knowledge as you just did;)
[Galaxy S I9000 Android Development] Daved+:
I tried with 3 different STOCK kernels (JVS, JV3 and JVQ) and I always get this error:

##### 01. Extracting kernel from /home/ubuntu/kernel/repack/zImage.org (start = 16541) to /home/ubuntu/kernel/repack/out/Image

345+1 records in

345+1 records out

5711199 bytes (5.7 MB) copied, 0.208375 s, 27.4 MB/s

gzip: stdin: decompression OK, trailing garbage ignored

##### reading initramfs from the uncompressed Image file #####

99+1 records in

27833+1 records out

14250816 bytes (14 MB) copied, 1.26248 s, 11.3 MB/s

1+0 records in

1+0 records out

4094396 bytes (4.1 MB) copied, 0.0134445 s, 305 MB/s

##### extracting the initramfs in /home/ubuntu/kernel/repack/temp #####

cpio: Removing leading `/' from member names

cpio: premature end of file

I read this happens with modded kernels but I'm using stock ones so I don't know what to do.

Would anyone help me?

Thanks in advance
[Galaxy S I9000 Android Development] area51developers:
help

I really hate to bring up a dead Thread but I am having an Issue trying to repack a zImage

./repacker.sh -s zImage.md5.org -d zImage.md5 -r temp -c gzip
##### My name is ./repacker.sh #####
##### The source kernel is /home/droidhost/zImageRepack/zImage.md5.org #####
##### The destination zImage file is /home/droidhost/zImageRepack/zImage.md5 #####
##### The directory of the initramfs has been selected #####
##### The initramfs is /home/droidhost/zImageRepack/temp (will be gzipped) #####
10769 blocks
##### 01. Extracting kernel from /home/droidhost/zImageRepack/zImage.md5.org (start = 16541) to ./out/Image

gzip: stdin: decompression OK, trailing garbage ignored
##### 02. The size of the new initramfs is = 3242507 / original = 2657564
****** Your initramfs needs to be smaller than the present!! ******
droidhost@AreaRom-DevBox:~/zImageRepack$

how can i bypass this since i am adding cwm recovery to the kernel its for the Samsung Galaxy Illuison/Proclaim
[General Questions and Answers] appealingrelic:
What is it and what does it do?
[General Questions and Answers] appealingrelic:
Does anyone know? I'm curious.

Sent from my evo 2d
[Galaxy S II Accessories] moooxooom:
The crazy koreans are doing an "impact test" on their SGS2 in the case that they're selling.

http://www.youtube.com/watch?v=H7wE9DK6Eqw

Looking at their site, I must say, their cases look to be pretty well designed, quote stylish, but pretty expensive.
[Galaxy S II Accessories] Wajdos:
Fake in my opinion.
[Galaxy S II Accessories] Flowlance:
Still a good looking case imo
[Galaxy S II Accessories] phantasia:
Where can you buy those? I like the look of it a lot!
[Galaxy S II Accessories] california6006:
Im from germany and i cant watch this video cause it says that it is not available here
[Galaxy S II Accessories] Sleepycat3:
I wonder if the case uses D30 in it. If it does, it explains how it is able to withstand the fall.
[Galaxy S II Accessories] peachpuff:
Nice purse...
[Galaxy S II Accessories] ziggazee:
Its still got a screen protector on.. Otherwise when it fell it opened up n would have scratched the screen to bits..
[Galaxy S II Accessories] moooxooom:
Anyway the cases are pretty expensive, I've not found any user reviews of these cases, but then again i'm not very fluent in Korean..

try search for a "galaxy s2 Impact test".
[Galaxy S II Accessories] flute:
Amazing! But a fake... I guess.
[Galaxy S II Accessories] Archer:
Yeah. My Mum had one just like that.

I want more of a wallet style case, and one that says Bad Mutha F***er
[Galaxy S II Accessories] R3Y:
How about this - http://cgi.ebay.in/ws/eBayISAPI.dll?ViewItem&item=270761858999&ssPageName=STRK:MESINDXX:IT

Looks good to me.
[Galaxy S II Accessories] Archer:
Looks like someone's been going faster than 88mph and coming back with a file-o-fax!
[Galaxy S II Accessories] gsic:
Does this have D30 technology in it? If so, looks like a purchase will be soon!
[Galaxy S II Accessories] darkodin14:
My soon to be released Otterbox Commuter will.
[Galaxy S II Accessories] moooxooom:
I remembered reading that Blackberry's senior management held a meeting after the iPhone was released. Looking at the specs, they concluded that no such phone could exist, and Apple was just marketing fluff.

:D
[Galaxy S II Accessories] NatTheCat:
Haha "Zed's Dead Baby".

If anyone knows how to get a wallet style case with personal signature etching, let me know.
[Galaxy S II Accessories] Freyhk:
nice case...haha
[Galaxy S II Accessories] giokou:
xaxaaxaxaxaxaxaxax

They are crazy those Korean guys!!! :D

Cases like that and of better quality are all over the net though... ;)
[Galaxy S II Accessories] Bawezy:
Doesn't look fake to me. SGS2 isn't poorly built you know.
[HTC EVO 3D] dodgeboy:
I decided to do a "best case scenario" test, and see if some of my battery issues were from apps gone awry, or some other drain. I pulled my phone off the charger right after it went green, and let it sit on the table. Wifi is off, BT is on, and I'm using my airave, so the signal is a full 6 bars all the time. I have 3 email accounts configured. Two of them are direct push, and one is an IMAP poll once every 15 minutes. Few, if any, emails were received during this test. The breakdown is like this:

4hrs, 32mins on battery. Battery currently at 92%

Cell Standby: 33%

Phone Idle: 32%

Display: 23% (the display was only on for about 30 seconds of the entire test)

Bluetooth: 4%

Maps: 4%

Android OS: 4%

So at least i know there isn't a process running that is making my battery next to useless. My battery seems to be getting slightly better with each day of use, but I still can't wait for the extended battery/cover to be released. I really got used to that on my Evo.

Dave
[HTC EVO 3D] sailow:
that sounds a lot better than my setup.

I went from a full charge to 50% with very light usage in 8hrs . I've been asleep for over 7 hours.

Display: 29%

Cell Standby: 27%

Phone Idle: 26%

Android OS: 7%

Voice calls: 5%

Maps: 5%

However, I have horrible reception in my house, even next to the windows. All's fine as soon as i step out the door.
[HTC EVO 3D] dodgeboy:
I've found that a weak signal has a dramatic affect on battery life with these phones. They do so much syncing in the background, and it takes so much longer with a weak signal (not to mention it has to transmit at a higher power). The signal makes all the difference.

Call sprint and get yourself an airave! They gave me mine for free.

Dave
[HTC EVO 3D] nkd:
do you guys have the display setting on auto or low brightness. My display usage is always through the roog. I am getting decent battery life. I turn 4g off usually and just use 3g unless I am gonna watch youtube videos or sometihng.

I unplugged the phone at 7:15 this morning and I have email, facebook all syncing. wifi off and I am at 92%. So far this phone is being very good at battery life, specially after the first few cycles.
[HTC EVO 3D] dodgeboy:
My display is set to auto brightness.
[HTC EVO 3D] sailow:
I have mine set at a number. I use a program to change my brightness at night.
[HTC EVO 3D] jtriplett005:
7.5hrs & 70% battery left!!
[HTC EVO 3D] LostRib:
Is it better to have the brightness automatic or a number like 30 percent?
[HTC EVO 3D] nhutpham:
I just use auto brightness, I had about 11 hours use and 80% remaining taking a bunch of pictures, a little navigation and texting. This is with wifi on about half the time.

My battery was crap for the first three days with the phone, after calibrating the battery and giving it a few cycles its been really good for me. I do top off the battery usually before I pull it off the charger for the day.
[HTC EVO 3D] buck1623:
I have mine set to auto and I see it changes even as I'm typing this message. Truth be told, the battery does drain when we don't have good signal...
[HTC EVO 3D] LostRib:
What do you mean by calibrate?
[HTC EVO 3D] Greenfieldan:
Auto brightness us worse for your battery. This is because it has to use sensors every set time interval to check the lighting. It's not a TERRIBLE drain, but over the course of 4-5 hours it would probably save you 5-6% if you set it something lower :).

And to the other person who asked, your battery life is SIGNIFICANTLY lowered when you have poor signal. What happens is your phone's radio draws extra power when it has poor reception in order to boost its range/signal. For those of you who work in places with poor signal, I bet you can attest to this :)

Also, I have a few battery tips in my signature if you're interested in more. It's slightly outdated (as in there are more methods now), but everything in the article is still true :)
[HTC EVO 3D] Greenfieldan:
Fully charge your phone, then use it until the battery complete drops...Then charge it again :)
[HTC EVO 3D] daviderickson:
How many cycles have people run on their batteries? IE full to dead?
[HTC EVO 3D] guitardoc64:
I have auto brightness, GPS on Bluetooth on, email sync every 3 hours, weather sync evey 3 live wallpapers, and I forget the rest. Battery lasts me 12-24 hours, which is about what I got with my Hero modded out with setcpu and etc. I like the battery life of this phone.
[HTC EVO 3D] LostRib:
How much screen time?
[HTC EVO 3D] nhutpham:
My phone died in about 6-7 hours of steady drain, then I calibrated by doing the same thing they told us to do with the OG evo.

Charge over 8 hours, turn off the phone charge another hour, turn the phone on charge another hour.

I top off by using the phone for a couple minutes, then putting it back on the charger until full. The phone clearly goes down to 95% from full while charging and back up, I like how on this phone you can see that it does it on the battery graph so you know.
[HTC EVO 3D] WeatherTech:
I've had my phone off the charger for like 34 hours and I'm at around 48 percent battery remaining. Not heavy usage but not super light either.
[HTC EVO 3D] guitardoc64:
69% as of now. I had to reboot today so I can't say this is average. I know there are issues that can't be fixed until root, but as a stock ROM, it seems the power management isn't half bad.
[HTC EVO 3D] Greenfieldan:
Sense has always been pretty good about power management (especially when you consider the puny batteries they put in their phones), and an asymmetric dual core processor definitely doesn't hurt :) haha
[Galaxy S II Q&A, Help & Troubleshooting] FreshFreddie53:
Does anyone know if whilst travelling, the product below can be used to power an external HDD using a USB power pack to power the HDD whilst connected to the phone?

1 FT USB Y CABLE FOR EXTERNAL - HARD DRIVE USB A TO MICRO B UK

http://www.ebuyer.com/product/267434?utm_source=google&utm_medium=products

Just wondering if it's possible to maximise the potential of USB on the go without being limited to USB sticks or relying on an external power source to power the HDD...

Thanks for any ideas!
[Samsung Galaxy S (4G Model)] cyrixke:
So I've been flashing several roms back and forth, including GB through CWM. Then I reflashed to KD1 using Odin, and now I would like to restore my system to the way it was before all the flashes. I did make a restore, I can select it through CWM, it says it restores OK but upon rebooting, it's stuck on the boot screen (galaxy s 4g exclusively...).

What could be wrong?
[Samsung Galaxy S (4G Model)] wellingtonarmelin:
Im having to same problem im wondering if it has something to do with the license. If you go to device settings mine is telling me no valid license
[Samsung Galaxy S (4G Model)] jdubb1106:
Try clearing your cache and factory reset after restoring, then reboot.
[Samsung Galaxy S (4G Model)] cyrixke:
Well what I did is flash back to KD1, then did an advance restore of only the data, and that fixed it. Didn't try any of the other options in advance restore, as I have all my data back now.
[Samsung Galaxy S (4G Model)] chadster214:
check your mounts before restoring.
[Thunderbolt Q&A, Help & Troubleshooting] devindpotts:
I have an issue where I cannot sync my exhange account with any Froyo rom. I have tried both Team Eaton & BAMF 1.8.6 and neither will work, but everything syncs just fine on BAMF RC3 and Synergy. I'm guessing it's something different with the mail.apk that came with sense 3.0 that allows it to work. When syncing with a froyo rom I get all the way to the end and everything is fine. It asks me to put in an account name which I do and hit finish setup. It will act like it's syncing up then it will pop up and say: Failed to create the account. Please try again later. Does anyone know how to fix this issue on a froyo rom? Thanks in advance.
[Eee Pad Transformer General] starplaya93:
Rather than continuously spamming our forums with all of your complaints I created this thread for you guys. Should you feel the need to *****, cry, moan, nag, nitpick or anything else similar please post here.

It's better to have one unproductive thread with a bunch of unproductive posts rather than a flood of "I'm returning my tf and feel the need to tell you guys because I have no friends in real life" threads.

While we're at it, we might as well make this a sticky.
[Eee Pad Transformer General] Tubular:
Just as long as you make a similar thread for the people who smooch their TF every night.

Ya feel me playa?

Oh and better subscribe to this thread if you're not already, once you start having issues you'll be back. I guarantee it.
[Eee Pad Transformer General] starplaya93:
Haha. The smooching never would have started if it wasn't for all the complaining...

I've had my tf for about a month now and whether it's luck or just the norm, I haven't had any issues thus far.

Some may arise in the future but as of right now I am happy. But that's besides the point.

The issue here is that people are abusing xda. If you have issues with your deivce that aren't related to "hacking" then this is not the place to cry about. Either contact Asus support or deal with it. Xda has the greatest devs in the world, unfortunately not even they can help people who are incompetent.
[Eee Pad Transformer General] DilloDroid:
I think he meant this is the official I'm returning my TF it's such a piece of..... whether you want to hear me vent about it or not thread.

Don't like it take it back.

Asus might monitor the forums but not much they can do about you returning a retail product.

Wanna call them instead or send it to them? Go for it.

If you have a bad problem call them. File a class action suit ...I don't know...but I do know they are about the only ones that can really do anything about it....or not.
[Eee Pad Transformer General] Tubular:
Is this a bad joke? Those threads have been around way before any smooching started, I guarantee it. To think that smooching threads started as a counter to disapproval threads is laughable. The two are a constant on any forum for a device and nothing you say can argue otherwise.

Wrong, this is so patently absurd I can't even accept it at face value. Maybe you took a wrong turn, for the rest of us we went to the section that is clearly labeled:

Disapproval threads as well as smooching threads fall within this category. It's general discussion, not hacking. I can understand your argument if these threads were in the Development forum that's not the case though. If someone can't keep their rabid fanboy retaliation instincts out of it that's their problem. There are those who want to make threads and talk about how much they love their TF and there are those who want to make threads and talk about the problems they have with it.