yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Q&A, Help & Troubleshooting] beau420:
http://en.wikipedia.org/wiki/Sony_Ericsson_Xperia_X10

http://en.wikipedia.org/wiki/HTC_Sensation

Just compare.

Answer.....Sensation is newer.
[XPERIA X10 Q&A, Help & Troubleshooting] CescVicious:
i would choose HTC Sensation without even thinking about it :cool:

and i love my X10 but Sensation it's obviously superb ;)
[XPERIA X10 Q&A, Help & Troubleshooting] benoitbroza:
htc sensation !! :)
[XPERIA X10 Q&A, Help & Troubleshooting] rtblittlebrown:
Well the sensation is amazing but i would keep the 200 dollars and the x10 in my opinion its not so so so much better that i would spend 200$ if i could just get a x10 for free
[XPERIA X10 Q&A, Help & Troubleshooting] leonle:
ok, just imagine you're a girl, would you choose a middle age man with limited options (x10) or a now young popular guy with all the best options up to date (sensation) ? no brainer question, dude..lol
[XPERIA X10 Q&A, Help & Troubleshooting] Bwyan Benton:
Neither....HTC are garbage...they release a new phone like every month...all there phones look the same....there just isnt a thought process anymore. Hey, lets put a little bit more ram in here....slap sense 3.0 on it and call it a sensation. Hey lets add s slideout keyboard and call it a mytouch 4g....sorry htc just suck.

X10....I love this phone....I can obviously diss it as well....but with the arc out....gsg2 out....id save a few bucks and get those.

Thats all im gonna say about it now. Its my opinion....

:)
[LG Optimus 3D] afuq:
hi all.

great phone had mine since 7july,luckily not had any problems like, heat or battery etc..

everyone seen does get impressed.

just to let know when i play in built video clips on 3d tv it only play audio not video, some sort of copyright.

"unauthorised video output" message comes up.

plays the games and ur own recordings on the big screen ok though.

have fun
[LG Optimus 3D] Paran0idAndr0id:
Well I'm glad you don't have the problems with battery and heat but unfortunately I got the mentioned issue and much more such as random boot ups crash of the android system eg but never the less I still love the phone and always a show stealer with this phone.great to watch 3d content. I get sometimes frustrated with the fon. We need a lot of optimisation for this fon
[LG Optimus 3D] wan0eve:
I got these too. :(
[LG Optimus 3D] Odinforce:
To be quite honest i've had the phone since july 5th, stock froyo i dont use that crap of performance pack.

And untill now no issues, fast as hell, around 35 app running with no lags, today i ran a test i opened 20 of my downloaded apps while i was listening music with Winamp, Browsing with the native browser, and downloading 2 songs one with the browser and the other with the Mediafire app, and opened a 3D game and the phone managed to open the game and execute it smoothly; got a little warm but not like the reports that i've been reading here of extremely high temps.

Having said that i cannot wait untill Gingerbread with full support for dualcores is out.

Overall is a superb phone, feels like a brick in your hand, very fast, excellent design, bright and responsive screen.

Im very pleased with this handset.
[LG Optimus 3D] Alex Atkin UK:
I'm not sure about this "full support for dual-cores" business as being sat on top of Linux a lot of the OS should already be utilising dual core. In fact it MUST be, as things like UAE4Android runs games full speed yet on my N900 overclocked to 1Ghz it could not, so clearly its utilising both cores.

You will notice despite running Android 2.2.2 the O3D is running the same kernel version as 2.3.4 (which doesn't necessarily mean it is IDENTICAL to the kernel 2.3.4 uses, I do not know). So the O3D is likely already benefiting from all the SMP kernel enhancements from Gingerbread.

Of course it might be Dalvik that required rewriting for dual-core, in which case some apps will certainly see a boost in performance. I have no idea how to tell what apps are using native code vs Java code.

This discussion also makes me wonder what on earth is going on: http://groups.google.com/group/android-platform/browse_thread/thread/b754408b9af17e55?pli=1
[LG Optimus 3D] Jabbypants:
The phone is fast enough as it is I just want it to have slightly better battery as its poor, so hoping the move to 2.3 will help out as its got better power management.
[LG Optimus 3D] Paran0idAndr0id:
So you think those problems are rooted in the performance pack? If so I should get rid of it as I have quite few random boot ups
[HTC Sensation] xwing_5:
USA T-Mobile customer here.

After a year of trying to make the Xperia X2 work for me, many many troubles, I got 2 phones and have a decision to make: which phone to stick with.

I got the Xperia X10i for free and paid $200 for the Sensation (which I can get refunded if I tried).

4g with the sensation is a plus.

Can anyone suggest other Pros/cons for each phone?

Thanks,

xwing
[HTC Sensation] reckoner_85:
I'd say the sensation of course, if it was the Arc I'd be thinking about, but since it's the X10, definitely the sensation for me.
[HTC Sensation] wombat131:
Have you checked the specs of both phones? Have you read reviews of both phones? Did you try both phones? Coming from a X10i, I can say the Sensation is like a quantumleap forward. Maybe with the new firmware the x10 could be a bit better than it is now.. Still, the x10 isn't a bad phone. If you have a choice, however, I would certainly go for the Sensation!
[HTC Sensation] Flashmore:
Pro: HTC

con: Sony Experia
[HTC Sensation] Utking:
Lol, the X10i is an old and sluggish phone, the sensation is fast! :)

My girlfriend has a X10i, and she is regretting she didn't buy a htc desire instead :)
[HTC Sensation] reckoner_85:
Exactly, even the Desire humiliates the X10.
[Galaxy S I9000 Android Development] stratosk:
I found a solution to temporarily replace the /cache partition with a virtual one having any arbitrary size.

I made a script that creates an empty file (64MB but it can be larger) on /data/local. Then it creates an ext4 filesystem on the file, unmounts the /cache and finally mounts the file as the cache partition through the loop device.

This virtual partition works until the next reboot and then the old /cache partition is mounted again.

To test this, copy the script to your phone give it executable permissions and run it through adb shell or a terminal. You have to be root and have busybox installed

I tested the script on stock JVQ, Semaphore kernel and works OK.

You may find a CWM edition (thanks to corgar) here. This version will create the cache partition (50 MB) in the /dbdata.

Use this script only if you know what you are doing and with your own risk!.
[Galaxy S I9000 Android Development] neswii:
What does this do exactly? Does it take part of the flash memory to use as cache instead of RAM? I dont know much about advanced hacking etc, but this sounds like it could fix my constantly restarting apps when there are too many apps opened at the same time, or too many processes running at the same time. or are those things unrelated with this?
[Galaxy S I9000 Android Development] stratosk:
No, it creates a file in the /data partition and mount it as cache. I don't think that this will solve you the problem.

I made it mostly for people who want to download applications more that 30 MB from market
[Galaxy S I9000 Android Development] Rebel2k:
Nice idea @stratosk! I must give this a try! :)
[Galaxy S I9000 Android Development] stratosk:
Anyone tried this?

Please for your feedback.:)
[Galaxy S I9000 Android Development] Rebel2k:
I'm ready to test during the day. Do you have any name of a free app bigger than 30 Mb we can download to validate it works? ;)
[Galaxy S I9000 Android Development] lucbl1:
I've runned the script with SGS Tools. It runs ok, and creates a bigger cache partition, but i still can't download bigger apps on market, although it now gives me a different error (before was something like: There isn't space on this device. And now it is something like: There was an error). Tried with "Battle Bears 1 Lite" and "Extreme Formula"

EDIT: is it ok to run with SGS tools? I don't know how to run them in Terminal! Someone could tell me how?

EDIT 2: Actually i've tried now, and i can't download any apps from market! :(
[Galaxy S I9000 Android Development] stratosk:
Are you sure you have enough space on /data ?
[Galaxy S I9000 Android Development] lucbl1:
Yeah, pretty sure.

I've rebooted my device now, and downloads work fine again, except of course of those bigger than 30mb (actually 26mb, since ext4 conversion uses 4mb on cache).

PS: thinking about it now, could it be that the 4mb of ext4 conversion is keeping me from downloading the apps properly?
[Galaxy S I9000 Android Development] corgar:
Just modified that script to move cache in dbdata ( onenand). A little request how to mount without specify fs? Instead of mount -t ext4. Thx

Inviato dal mio GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] stratosk:
I have to test this, because the script makes ext4 file system on the cache.img. So it should be mounted as ext4
[Galaxy S I9000 Android Development] stratosk:
I'm not sure about this.

If you don't use this remember to delete the cache.img file from /data/local because it's 64MB :)
[Galaxy S I9000 Android Development] corgar:
If i delete the conversion and want to make the script dynamic? Mount rfs if rfs or mount ext4 if ext4. Dbdata is converted by kernel and by user decision so making it dynamically check is a must have i think.

Inviato dal mio GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] stratosk:
Actually you may have dbdata in rfs and the file system of the cache.img could be ext4. You make and independent file system on this file
[Galaxy S I9000 Android Development] corgar:
ok after some testing and tuning up, and since market apps can go up to 50mb maximum, and dbdata is on fast onenand i've modified a bit your script.

#!/system/bin/sh

#
# stratosk - 27/07/2011
# Corgar - 28/07/2011 ( changed location of cache in dbdata for onenand i/o, decreased cache dimension to 50mb )
# Remount /cache partition with a larger one (54.5 MB / 50mb cache)

# create a file 54.4 MB
dd if=/dev/zero of=/dbdata/cache.img bs=1024 count=55808

# create ext4 filesystem
mke2fs -F -T ext4 /dbdata/cache.img

# unmounting old cache partition
umount /dev/block/stl11

# mount
losetup /dev/block/loop7 /dbdata/cache.img
mount -t ext4 /dev/block/loop7 /cache

chown system.cache /cache
chmod 770 /cache

here are the script to push in /system/init.d folder. i'm not making a cwm flashable zip because is still in test version and i prefer at the moment to be used only by "veteran" user.

thx anyway to stratosk.

Download Here!
[Galaxy S I9000 Android Development] Brotuck:
Nice script !

But why not make it on the sdcard ?

It should not have any problem there regarding space issues.
[Galaxy S I9000 Android Development] corgar:
sdcard is mounted and checked after fs integrity check.

sdcard is slow compared to onenand memory. also sdcard is more fragmented than internal memory.
[Galaxy S I9000 Android Development] stratosk:
Any feedback?

Anyone tried this?
[Galaxy S I9000 Android Development] corgar:
Running flawlessy on my custom rom. Very nice job indeed. Thx man. If you need a link Just ask but It's only for italian customer.

Inviato dal mio GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] stratosk:
Glad to hear that:)

Did you test it on market applications > 30 mb?

Thanks for feedback.

P.S. with similar manner you can make portable (and maybe encrypted) filesystem. Create a file mount it as filesystem, write anything you want in it, then umount and mount somewhere else... Even in other phone or in your linux box

Edit: yes please send me the link
[Galaxy S I9000 Android Development] corgar:
Sure tested and working fine, what i've downloaded finally:

battleheart

Battle Bears Zombie

and other games. All downloaded fine. cache size seems ok so far.

now rom part:

thread here: ( all in italian for now sry! and first post isn't updated and thread title too i need always ask a mod to change it and now is on vacation :p )

host is here

and changelog ( italian too :( )
[Galaxy S I9000 Android Development] ock:
Would love to see this on CM7, is it difficult to adapt this for CM7?

Thanks.
[Galaxy S I9000 Android Development] corgar:
If your kernel support init.d script Just push my script in system/etc/init.d

Inviato dal mio GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] lucbl1:
Since it is working perfectly, could you make a CWM version? I couldn't get the script working by moving it to init.d directory. Sorry but i'm to noob for this! :D
[Galaxy S I9000 Android Development] corgar:
I'm not at home now. Will do it when i'm back.

Tapatalked, powered by Corgar Slim Rom GB Edition.
[Galaxy S I9000 Android Development] lippol94:
Dammit!

That's what I was looking for!

thanks a lot men! :)
[Galaxy S I9000 Android Development] lucbl1:
Thanks corgar! :D
[Galaxy S I9000 Android Development] the_ozyrys:
Well, why not just use:

umount /cache
mount -o rw,remount -t rootfs /
rmdir /cache
mkdir /data/cache
ln -s /data/cache /cache

It's much easier and should be faster (no extra abstraction layer),

and works perfectly for me - using this /cache size is only limited

by /data free space.
[Galaxy S I9000 Android Development] corgar:
here cwm flashable zip with permission fix.

cache partition size visible 50,03mb

space for image on dbdata is 54,5mb ( for journaling purpose )

kernel need to support init script.

here what you get:
[Galaxy S I9000 Android Development] stratosk:
It is also a solution but I think that there is a reason that /cache is partition in Android and not just a directory.

Handling /cache a partition have some advantages:

1) it can't be increasing arbitrary

2) If /data is full then /cache is still working (and I don't know if /cache is critical for Android operation)

3) You can have any filesystem you want and not the same as /data (or /dbdata)
[Galaxy S I9000 Android Development] corgar:
updated with screenshot, thx again stratosk
[Galaxy S I9000 Android Development] Francois88:
Well I'm pretty sure this is exactly what I need but I think I failed at installing it ;(

Using CM7 (insanity) + Glitch Kernel v11. I put the script in init.d and gave 777 permissions.

I get a ton of forcecloses ;) Any chance at recovering or shall I wipe and start fresh heh.
[Galaxy S I9000 Android Development] stratosk:
Can you remove the script from init.d ?

This will revert back your original cache partition (after a reboot)
[Galaxy S I9000 Android Development] Francois88:
Thats what I ended up doing, guess I shoulda tried before posting. Anyhow, any idea why it failed for me ? I really want that fix ;(
[Galaxy S I9000 Android Development] stratosk:
Did you use the script in the first post? If yes, check if your data partition has enough space (64mb). Check in the data/local the file cache.img and if its size is 64mb. If it is there then something went wr ong with mounting - unmounting.

If you used corgars variation then check the same things in dbdata partition.
[Galaxy S I9000 Android Development] Francois88:
I have plenty of space. This is the usage for my partitions:

USED/TOTAL

Cache 48/80MB

Data 477/1917MB

System 93/197MB

EDIT:

Ran the script through ADB. I dont get force closes now, but it still wont let me install stuff from the market (Angry Birds, Air attack HD1, etc.)
[Galaxy S I9000 Android Development] stratosk:
What about dbdata? You didn't mention which script did you use?

You have 80 MB cache partition! Why don't you just clean it?
[Galaxy S I9000 Android Development] lucbl1:
Still having issues....even with the CWM version. I'm on S.U.R.F.A.C.E Rom with semaphore 1.3.3 kernel. The cwm flashable package doesn't do anything, just like moving the script to init.d folder. What could be happening?
[Galaxy S I9000 Android Development] stratosk:
I think the rom you are using has a version of busybox. Can you please try to uninstall it? Because semaphore kernel has an embedded version of busybox and I suspect that this is the reason...
[Galaxy S I9000 Android Development] lucbl1:
Thanks stratosk. But how can i uninstall the rom's busybox, without affecting your kernel's busybox?

If you could give me some instructions i would thank you, because i'm kind of a noob :rolleyes: and don't want to mess up with my phone, haha
[Galaxy S I9000 Android Development] Francois88:
I did ;( It has 50MBs of Dalvik Cache, when I delete it, apps force closes till I reboot and then it repopulates.
[Galaxy S I9000 Android Development] stratosk:
Kernel's busybox can't be affected because it's in the kernel initramfs.
[Galaxy S I9000 Android Development] lucbl1:
Sorry but i still don't have a clue how to uninstall it. Do i just remove it from /system/xbin? If not, could you tell me how? Thanks, really want to use this script!
[Galaxy S I9000 Android Development] stratosk:
I'm not sure how you can do this in your rom. Please ask this to your rom's thread.
[Galaxy S I9000 Android Development] lucbl1:
You were right stratosk, it was a conflict problem between the two versions of busybox. I just needed to delete busybox file from system/xbin and now the script runs just fine. I was able to download apps bigger than 30mb on market.

BUT, it resets after i reboot the phone, and the 2 versions start to conflict again. Is there a way to prevent busybox from installing itself everytime?

Also, this script works on any android phone? Let's say, Galaxy 5 (would like to try it on my gf phone).

Thanks!! :D
[Galaxy S I9000 Android Development] Hrithan2020:
Thanks , this method worked. The OP's method somehow didn't work. When trying to download cordy it was still throwing error.

A related issue: Do you know how to solve the incompatibility issue which comes up when trying to install applications like Lookout Mobile Security, Android System Info for Galaxy S?

Maybe edit something in build.prop, to fool the android market in thinking that it is compatible? [not sure why it would be incompatible though for SGS]

EDIT: Guess , I spoke too soon. It downloaded, but said package invalid. So, finally changing the OP's script by one line, it finally worked.

#!/system/bin/sh

#
# stratosk - 27/07/2011
#
# Remount /cache partition with a larger one (64MB)

# create a file 64 MB
dd if=/dev/zero of=/data/local/cache.img bs=1024 count=65536

# create ext4 filesystem
mke2fs -F -T ext4 /data/local/cache.img

umount /dev/block/stl11

# mount
losetup /dev/block/loop7 /data/local/cache.img
mount -t ext4 /dev/block/loop7 /cache

[B]chown 1000.2001 /cache[/B]
chmod 770 /cache
[Galaxy S I9000 Android Development] corgar:
if you got custom kernel that support init script, have you tried my cwm packge?

stratosk can you link it to op pls? thx again man
[Galaxy S I9000 Android Development] stratosk:
Please try to delete the busybox installation from your rom. Kernel will install busybox in system/xbin if not found.

You may try it for other android phone. If it's rooted, busybox installed and the kernel supports ext4 it should work. ;)
[Galaxy S I9000 Android Development] stratosk:
The link to your cwm package in OP ;)
[Galaxy S I9000 Android Development] mobidzid:
Can it be used with CM7?
[Galaxy S I9000 Android Development] stratosk:
It should work. You may try it :)
[Galaxy S I9000 Android Development] wasimraja_1982:
Thanks to you guys, I could finally play Samurai II : Vengeance (40MB). :):):)
[Galaxy S I9000 Android Development] Leonick:
I've been trying these scripts, both the OPs and Corgars on my Galaxy Tab (running gingerbread, rooted with cf-root so my kernel support init.d startup scripts) but after starting there just isn't any difference, cache is still the normal 30 mb.

If I manually try executing the script it gives me ./cache : error 22.

When I try by writing it in line by line myself it fails on "mount -t ext4 /dev/block/loop7 /cache" saying there is no such drive.

Any ideas?

This method actually works for me, just like for Hrithan on last page. Hmm...
[Galaxy S I9000 Android Development] stratosk:
Maybe the stock kernel in galaxy tab does not support the loopback device. I don't know, just a thought.
[Galaxy S I9000 Android Development] Leonick:
Any way I could check that?

Worth mentioning, as I said I am rooted with CF-root, only working root for gingerbread on Galaxy Tab, it's a custom kernel, it's pretty much the stock one though so don't know how much it matters.

In /dev/block/ there are loop1-7.

The "losetup /dev/block/loop7 /data/local/cache.img" line executes fine, if loopback devices wasn't supported, wouldn't that line have given an error?
[Galaxy S I9000 Android Development] lucbl1:
I'm having the same issue and i am using corgar cwm version. Corgar, could you look at that?
[Galaxy S I9000 Android Development] stratosk:
Then it's OK. It is supported by the kernel.

Are you running the script as root? Can you try to run it line by line from a terminal emulator or from an adb shell?
[Galaxy S I9000 Android Development] Leonick:
OK, I just tried both executing the script and writing running it all line by line again.

I am using Terminal Emulator and I am running as su.

When trying to run the script it got "./change_cache: permission denied", I did make it executable with chmod 777 change_cache first, if my memory serves me right that should be the correct command.

Seems like no part of the script executed.

I proceeded to run it line by line.

dd if=/dev/zero of=/data/local/cache.img bs=1024 count=65536

Executes without errors, file created, took 18 seconds.

mke2fs -F -T ext4 /data/local/cache.img

Executes without erros.

umount /dev/block/stl11

Executes without errors. I ran mount to be sure /cache had been unmounted, it had.

losetup /dev/block/loop7 /data/local/cache.img

Executes without errors.

mount -t ext4 /dev/block/loop7 /cache

Gave an error. "mount: mounting /dev/block/loop7 on /cache failed: No such device"
[Galaxy S I9000 Android Development] Rebel2k:
Silly question maybe, but: have you created the /cache directory before trying to mount?
[Galaxy S I9000 Android Development] stratosk:
Did you install a version of busybox except from this it came with cf-root? If yes, uninstall it and try again. Something is wrong with the mount command.
[Galaxy S I9000 Android Development] corgar:
have you flash the cwm package or just pulled the file in init.d folder? as stated is a permission problem but i got it fixed by adding the right permission in my cwm package. if problem is still there have you tried to check if cache partition is 50mb? i'm running android system info and all work just fine there.

which phone model you got? kernel? rom?

@stratosk: just a quick question, if kernel doesn't support ext4 how to mount the new cache properly? as already asked i think is a better choice to just create the cache.img the same way is formatted data or dbdata.
[Galaxy S I9000 Android Development] corgar:
latest busybox 1.19 got some problem. try to revert back to 1.18.4 or even better 1.18.2
[Galaxy S I9000 Android Development] Leonick:
No, but I never removed it either, it's still there.

No, I did not install any version other version of busybox for two reasons.

1. I am rather new to the Android world, specially rooting, I actually rooted to change what was mounted as /cache and get rid Samsungs stupid limitation (and I happened to find that you guys had made scripts for this already just weeks ago) and I didn't really think I needed some other version of busybox for anything.

2. In the CF-Root thred it says this "It is possible to install a custom busybox over CF-Root v3.0 and newer. However, this is not without risk.

So yea, no busybox except what came with CF-Root (Busybox v1.16.2androidminimal (from CWM))

I can mount some other directory like one I created on /sdcard (the internal memory that you have access to by default, not the external sd card as one might thing) without problems but someone said earlier there probably was a reason for cache being it's own file system so I wanted to get your script working.
[Galaxy S I9000 Android Development] stratosk:
Can you try with this command?

/sbin/ext/busybox mount ......