yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] dipje:
but won't cause this (micro)-lags like any other kind of disk-buffering?

The 2000 insert statements will go in 2s because they are still in RAM.

After a while of doing nothing and / or suddenly needing more RAM, the changes will (finally) be written to disk, causing the system to be unresponsive for the duration of the write.

If I receive or send a new sms / text for example, there are a few records inserted. With sync on, it might take a fraction longer, but the changes are there and the user 'understands' it. There is some activity.

Without sync-ing, all those little changes add up until suddenly they need to be really written and the system lags for a full second or so because it needs to write them all at once.

And what are the moments when there are a lot of database writes during normal use anyway?

Another example: I'm restoring my sms messages with SMS Backup & Restore. I've got a lot of messages, so it takes a while. This is normal. Now, with syncing (default) it takes a while, but when the app says it's done... it's really done. Switching back to your homescreen and launching another app will go smoothly.

With syncing off, the restore operation will complete sooner, but the moment you start another app (or even go back to your homescreen) more RAM is needed and the changes will be written to disk, causing a simple tap to launch an app to feel laggy or sluggish because the latest changes from the restore operation are written to disk (which the user understands to be done already).

Buffering like this helps a lot if something needs to be written while concurrently something else is constantly reading. The write-changes are kept in memory so the disk I/O is completely free for the reading operations. When they are done, the write-changes can actually be commited to disk, and won't interfere with the read operations. On a multi-tasking desktop computer, this is normal.

But when will something like that be needed / happening on a smartphone?

Thinking about the user experience, when a special process is running (restoring backups, installing an app, etc..) the user expects / understands that it takes a moment. The user surely does not want that operation to complete quickly, only to have a lagging keyboard 5 secs afterwards, right?

Thinking about 2000+ inserts is nice, but I really don't see when a situation like that occurs on an Android phone, and I much rather have operations be really done than interfering later on.
[Desire Android Development] ownhere:
I think you are wrong. :)

With Android applications, the database operation is non-persistent, normal step in app is:

1.open db

2.do read/write

3.close db

with step3, the data in cache will be flush to disk. so user will not notice any sudden lag, always smooth.

With SYNC-ON, the db operation like this:

1.open db

2.1. write a record/do a transcation

2.2. fsync()

2.3. write a record/do a transcation

2.4. fsync()

.....

3.close db/fsync()

with SYNC-OFF, operation like this:

1.open db

2.1 write a record/do a transcation

2.2 write a record/do a transcation

....

3. close db/fsync()

So, no-sync can significantly save IO time.
[Desire Android Development] ownhere:
my sqlite3 mod is against loop. :)

The main purpose of loopfile/loopdevice is speedup fsync() in sqlite3, But the normal file operations have been affected. So I directly modify sqlite3. The benefit is MTD db access can be speedup, too.

Anyone can use my MOD. :)

I use 1.32.832.6(HK RUU), because I don't like WWERUU include too many language, this will lead apk too large. :)

Offical new version sqlite3 must be disabled nosync for stability. :)
[Desire Android Development] melethron:
I dont have a problem with large apks. I deodexed my rom and complete system will fit in mtd4+5 then. Apart from that: the 1.72 base is REALLY MUCH faster. As soon as HK RUU 1.72 is available i recommend you use that one. You'll love it.

About the fsync if db is closed. When will it be closed then? After the app is closed?
[Desire Android Development] ownhere:
Most apps close db after db operation. I try reboot 10+ times in 30 mins, no FC or data loss.
[Desire Android Development] melethron:
Ok. Still a bit risky but its really good to have this optional. Great work :) .
[Desire Android Development] _bryan_:
great work!

patch for miui, flash from recovery.

the binary is slightly different,so I made this patch.
[Desire Android Development] melethron:
Not sure if replacing it "on the fly" is a good idea. Might cause issues if sqlite is runnin while it is replaced.
[Desire Android Development] _bryan_:
yes，you are right.
[Desire Android Development] madman_cro:
so we need to put it in rom before flashing, right??

i will try on oxygen 1.4 and will post benchmark
[Desire Android Development] madman_cro:
tried it. dont see any lags, and to be honest dont see any improvments. will test some more
[Desire Android Development] melethron:
Do you even use data2sd. In most cases there aren't lags if /data/data is on nand but there is if it is on sd-ext.
[Desire Android Development] madman_cro:
no i dont use it . i only use a2sd
[Desire Android Development] melethron:
Don't think you'll notice the difference then.
[Desire Android Development] sibere:
I'd say you can inject it in recovery mode. No need for flashing :)
[Desire Android Development] melethron:
Answer to this here (the discussion there went off topic).

Loop is not intended to mount a "real" filesystem. It is made to mount stuff like *.iso or *.img. Loop is only a "workaround" to skip fsync. Loop is simply abused to achieve a fsync skip. Skipping it directly in sqlite has following improvements over loop:

1. Less RAM: needed because there is no "loop" cache needed then.

2. Less I/O: Only one flush because there is no need to "double flush"

3. Less cputime/battery: Also because no double flush.

4. Less time to set it up: No setup needed for a loopfile.

5. More safety: Faster flush and the partition can be journaled without speed decrease (ext3/4 instead of fat)

About 5: You may still loose data on a powerloss because it is not yet synced but you wont have corrupted data because half written data will be fixed on a ordered journal.
[Desire Android Development] Alex-V:
are these values the same in sqlite hd 1.72....

i can not find them...after c6 f7 66 it say can not find...if i open it in a hex editor

edit: or anyone can give me a patched version for 1.72..?

thx for answers...with kind regards...Alex
[Desire Q&A, Help & Troubleshooting] eesmm:
I can only assume this has been asked and answered, but I have searched and not been able to fine a suitable post yet...

I want to find a guide to format and partition my (16GB in my case) SD card in the best way for the current/future Desire ROMs
[Desire Q&A, Help & Troubleshooting] dlotters:
You can use Windows to format the sd card to Fat32, after which you can then use Rom Manager (download from market) to create a ext partition (it will shrink the Fat32 partition to make room for the ext partition)

Alternatively, you can do it all in linux and it's pretty straight forward.

For example, Ubuntu (you can download a live version of ubuntu which you can burn to cd or copy to a bootable usb stick) can read the sd card (I just connect the phone whilst in clockworkmod recovery, select mount usb, and voila) and then you can use 'Disk Utility' located in the administrative tools area of Ubuntu to delete the stock partition that comes with most pre-formatted memory cards, create a Fat32 partition (Eg: 15GB) and then create an ext4 partition with the remaining space.

Using Linux is handy for backing up the contents of your ext partition - particularly useful when upgrading from a smaller sd card to a larger one but wanting to keep all your data.

I'm not the greatest at writing instructions and I have no idea if any of the above helps you in any way, but I hope it does!
[Desire Q&A, Help & Troubleshooting] eesmm:
I would use ROM Manager, but the Max partition size seems to be 512 and i want to make a 2GB partition. I am also unsure of whether the EXT partition (is EXT 3 or EXT4 best) should be primary or secondary, and will the Desire automatically start putting APPs there?

...and and what point do I turn the card back into a Goldcard, if at all necessary?
[Desire Q&A, Help & Troubleshooting] iinga:
1) Gparted is the best partition tool ;-) It can be used as a live CD - which can be booted in virtual box.

2) You'll never need a goldcard, unless you want to go back to stock RUU (ie to send your phone back to get fixed).

3) EXT4 Primary partition

4) The desire will put apps there if the rom has Apps2sd enabled. Most roms these days do, but some require you to install the script yourself. 2gb seems a lot for just apps though.
[Desire Q&A, Help & Troubleshooting] friedkimchi:
Simple is better.

I myself have an 8gb sd card and used rom manager to partition it. I did not format my sd card beforehand, just took out the card from the package and put it into my phone.:)

Checking my appbrain list, i currently have 132 apps with a total size of 344MB.

Using the app Quick System Info:

A2SD storage-- Total: 458MB, Free: 110 MB

Internal storage-- Total: 148MB, Free:63.34 MB

I personally think 512 MB partition is more than enough.
[Desire Q&A, Help & Troubleshooting] dlotters:
Yeah, I'd agree with this. I had a 512MB partition - extended it using gparted to 1GB but it really was a pointless activity as I was nowhere near using the 512MB in the first place :D

Oh well - future proof I guess!

@ OP... What would you need 2GB for? Seems, well, excessive...

BTW, the latest clockworkmod supports partitioning directly in the recovery menu and I believe it will give you the size you want.
[Galaxy S I9000 Q&A, Help & Troubleshooting] lnu:
Hi everyone,

I'm runnig xxjpy on my galaxy s. The trouble is I can't edit exchange event anymore if it has been created with outlook. If i create an event with the device, the option to edit the event is there but not if it's created from outlook. I think it was working in the previous firmwares. Anyone has a clue?

Thanks
[Galaxy S I9000 Q&A, Help & Troubleshooting] pwhooftman:
My experience is that this feature has been lost coming from Eclair 2.1 to Froyo. The only workaround i have found is to use another calendar like Touchdown, loosing integration with the built-in calendar in the progress :(
[Droid 2 General] warriorstar:
Hi all

I am an andriod freshman, i bought a MS2 some days ago. when i got my phone i can use *#*#4636#*#* to enter the project mode. But today when i entered *#*#4636#*#* again, i found i cannot enter to project mode. I donot know what is the matter to my phone. Need you help, thank you in advance.

Regards

star
[Droid 2 Global General] ben7337:
Okay so I got a Droid 2 Global today and have been playing around with it, the first thing I noticed is a ton of bloatware. I have read a few guides, and though this is my 3rd android phone, I am still somewhat clueless at this stuff. After a bit of searching I managed to root with z4root, and got boostrap recovery and made a backup. Now I am seeing guides that say to freeze the apps with titanium backup, or move them somewhere else or this that or something else. However since I made a backup, does that mean I can just delete the files I don't like, and when an update comes out for my phone, use the backup to put them all back? This seems like the easiest solution to me, but I just want to make sure that would work as I don't know much about recovery things. Thanks for any help
[Droid 2 Global General] newk8600:
Yeah you can do that. The reason people were just freezing apps was due to the lack of an SBF for the D2G so if you delete and app and Verizon pushes an update you want you can't do it if you didn't back up your phone so now that there is an SBF you can delete them if you don't like them just don't delete until you know how to restore your phone with said SBF. That way if/when something goes south you are ahead of the learning curve instead of having to learn it all real quick so you can use your phone again.
[Droid 2 Global General] ben7337:
I don't think I'm following you. I made a backup with bootstrap, but bootstrap was out before the SBF was released, so are you saying that deleting the apps are fine, but my current boostrap backup will NOT restore the apps and I would need to restore with a old SBF that just came out? Also would it make a different that I am on the new 2.4.330 or something software version, but the SBF seems to be for the old 2.4.29 version?
[Droid 2 Global General] leobg:
If you mess up the phone bootstrap can't start. And you can't restore anything from it. It is not like the standard recovery which is independent from system image - it just hijacks normal boot to give you recovery where you can flash unsigned files. Or if you mess up and phone sits at M logo, custom recovery isn't going to help you. SBF is the only salvation.

It is fine to flash 2.4.29 over 2.4.330 updated phone. It has been confirmed multiple times to work fine. There is also word going about new SBF based on 2.4.330 that will be released in the following few days.
[General Topics] notluckysofar:
i have rooted my phone using unrevoked3 so i can upload the arabic fonts using some file i have found on this site (link). i think the rooting worked fine, however i booted to recovery and chose the zip file, my phone started acting stangly, no more browser, no more market. this the error message i receive everytime (for the market):"the application market (process com.android.vending) has stopped unexpectdley"-- please help
[XPERIA X2 General] wasim.kokab:
Edited....Problem solved by Resetting..Thnx
[G2 and Desire Z Q&A, Help & Troubleshooting] Christ1119:
Like the title says, my market application keeps force closing on me. I was on Cyanogenmod 6.1.1, tried a Desire Z sense ROM and decided to restore my CM 6.1.1 back up. Now my market keeps force closing and downloads wont start. Any help on how to fix this?
[G2 and Desire Z Q&A, Help & Troubleshooting] jojo_16:
What version of market r u using?? The latest??
[G2 and Desire Z Q&A, Help & Troubleshooting] steviewevie:
Did you wipe the ROM/cache before flashing ? You should always do so if you're switching between different ROM types.
[G2 and Desire Z Q&A, Help & Troubleshooting] Christ1119:
I was using the latest market with the Sense ROM. Went back to the old one on CM, should I just try flashing the latest one and see what happens?

I didn't wipe before flashing back to CM on my restore (for whatever dumb reason). Guess I'll give both of those a shot, thanks

EDIT: Everything seems to be working now, just had to wipe, wanted to avoid doing that but guess not. Thanks for the advice guys
[Android Software/Hacking General [Developers Only]] okaytran:
How do you guy's feel about rooting for other people? I've been on xda for a while and a lot of my friends look to me for advice for anything mobile. A lot of my friends could benefit from root, but its much to confusing for their layman minds. I've held off for rooting for anyone because I feel like each person should understand the process for themselves so that they can self update roms and kernels and etc. I just wanna know what kinds of situations you guys have been in like this.
[Android Software/Hacking General [Developers Only]] george1983c:
Bring them to the dark side man.

Since its really easy to unroot phones and restore them to origional state I've said to loads of friends "here's what your phone can do." Usually setting CPU. Removing ads and wifi tethering is enough to convince them not to unroot
[Android Software/Hacking General [Developers Only]] sitlet:
I would be careful with it. You dont want to root your friend's phone, then have them accept an OTA and screw everything up. Or take it into the carrier's store for a fix and have them void the warranty.
[Android Software/Hacking General [Developers Only]] Ed Zachary:
As George H. W. would say, "wouldn't be prudent."
[Android Software/Hacking General [Developers Only]] WebCobra:
I wouldn't suggest it. Mainly because it voids the warranty.
[Android Software/Hacking General [Developers Only]] siidheesh:
It will void the warranty, but I found a universal unrooting technique. Seaech my threads for: [UNROOT] Unroot all android devices to unvoid warranty

Sent from my Motorola Backflip using the XDA App
[XPERIA X10 Themes and Apps] crownsolution:
Hey all I thought I would share the latest and greatest port which is free of the Android 3.0 Music App this app is a beautiful new version of the music app that is 2.2 only

Works amazing with Z's custom Froyo 2.2 ROM

Turn the phone sideways and it fans out similar to the famous Gallery 3D
[XPERIA X10 Themes and Apps] mauk:
I can not install it on x10 2.1 rooted
[XPERIA X10 Themes and Apps] qwer23:
Are you sure it works on 2.1? AFAIK it's for 2.2+. I had it running on zdzihu's and TnR's 2.2 ports without problems, but it's not working on 2.1.
[XPERIA X10 Themes and Apps] crownsolution:
Thanks for the catch updated first post
[XPERIA X10 Themes and Apps] Hoodsey:
its only for 2.2 ;)
[XPERIA X10 Themes and Apps] lekhwani:
It's not installing on my lgp500
[XPERIA X10 Themes and Apps] Skrba:
can someone post some screenshots please? thanks
[XPERIA X10 Themes and Apps] aznracer62:
You got the es209ra update?
[XPERIA X10 Themes and Apps] PollPixx:
Thanks for sharing. Works on my phone and no problems with installing.

But i prefer poweramp...
[XPERIA X10 Themes and Apps] alankstiyo:
you bastard we use 2.1
[XPERIA X10 Themes and Apps] Nagarebozhi:
Screenshots:

View attachment 493086View attachment 493087View attachment 493088View attachment 493089View attachment 493090

Sent from my ~FreeX10 2.2~DarkStyle~ Using SlideIT
[XPERIA X10 Themes and Apps] Nagarebozhi:
Not me, don't talk for everyone! if you still use 2.1 its your problem!

Sent from my ~FreeX10 2.2~DarkStyle~ Using SlideIT
[XPERIA X10 Themes and Apps] Nagarebozhi:
Its say that you can't add any songs to playlist, or delete. Cus it not implanted? Have you plans to implant that futures?

Sent from my ~FreeX10 2.2~DarkStyle~ Using SlideIT
[XPERIA X10 Themes and Apps] GhostOfShishko:
Here are some screenshots.

Running on Z froyo beta rom, but a bit laggy with the changing background.

Thanks for sharing ;)
[XPERIA X10 Themes and Apps] johnred3:
EPICA!!!!!!!! :D

Yeahhhhhhhhhhhh!!!!!!! \m/
[XPERIA X10 Themes and Apps] P4rtyboy:
this is pretty sweet. props! :)
[XPERIA X10 Themes and Apps] matiasguerra:
Works great, very good app, thanks!
[XPERIA X10 Themes and Apps] runasimi:
I think it conflicts with the picture chooser (cooliris). I couldn't select pictures while playing music, then I stopped and worked OK.

Also can't make it refresh sd card music. Still worth it, nice app.
[XPERIA X10 Themes and Apps] Ooinaru:
Is it possible to replace this player with the stock 2.2 player? :-D I think its pointless to have 2 or more when one can suffice ;-)

Edit: Replace the stock 2.2 player with this one, guess I'm more tired than i thought :-O
[XPERIA X10 Themes and Apps] DooMLoRD:
Why does it install an app called JumpTester along with the music player?
[XPERIA X10 Themes and Apps] ekyosan:
Good job. Awesome pleasure!
[XPERIA X10 Themes and Apps] urs74:
nevermind
[XPERIA X10 Themes and Apps] amtzone:
nice one....
[XPERIA X10 Themes and Apps] Vito Andolini Corleone:
Keep up the good work my friend! !!
[XPERIA X10 Themes and Apps] Buddha:
I prefer PowerAMP.

Just my opinion.
[XPERIA X10 Themes and Apps] Reeonimus:
Pretty cool, thanks for that!

EDIT: Has anyone his the speaker icon in the top corner? When I do it Force closes. I wonder what it's supposed to do...
[XPERIA X10 Themes and Apps] mrljlamon:
what is jumper test ? kinda fishyyyy
[XPERIA X10 Themes and Apps] bitye:
vodafone 845 - 2.2 not installing, cop to system/apps crash after start.
[XPERIA X10 Themes and Apps] mr.chow:
Doesn't force close for me, it's supposed to bring you back to the app's homescreen
[XPERIA X10 Themes and Apps] mr.chow:
Jumper test is a new music streaming feature. Your supposed to be able to stream your music from your desktop at home. If your interested search 'jumper test' I think someone in xda found out how to set it up
[XPERIA X10 Themes and Apps] Jason_V:
Not working on LG Optimus T...

When I attempt to install it my phone reboots and if I replace the system app then I just don't have any music player. *Sad Panda* :(
[XPERIA X10 Themes and Apps] trankilnet:
This work with MIUI Froyo 2.2.1 ROM?
[XPERIA X10 Themes and Apps] Lofwyr:
Very nice... too bad it don't come with widgets. :(
[XPERIA X10 Themes and Apps] ruifung:
not working on 2.2, x10 mini pro, when attempting to install with ADB, gets error invalid apk...
[Android Apps and Games] ctakah27:
So yeah my friend has an iphone 3g and I have a mytouch 4g. Just wondering if there are games we can play... thanks
[Android Apps and Games] flight3:
There is Cestos. Which is free for both platforms. And I think that sketch online works for both platforms too. But I could be wrong about that one.
[Android Apps and Games] Bobaboo:
Pocket Legends is a cross platform MMO
[Sony Ericsson XPERIA X10 Mini] ldjh1985:
Hello All,

Does anyone know where I can get an updated battery for my E10i?

900mAh is pretty pants, struggling to find anything better on the web though? Perhaps im not looking hard enough?

Thanks

Lee
[Sony Ericsson XPERIA X10 Mini] loger8:
Ok, SE ****ed us up here. more battery means bigger batteries, and our minis have it built in inside the phone, with just right space for the stock one...

So a bigger battery does not fit!
[Sony Ericsson XPERIA X10 Mini] Cyborgz:
The X10 Mini/Pro has a stock 900mAh battery. I've seen a few on eBay that are slightly entended in capcity to 1000mAh any greater then that an the battery would be thicker so like loger8 said, it most probably wouldn't fit into the phone.
[Sony Ericsson XPERIA X10 Mini] quanta08:
X10 E10i battery is available on Ebay.
[Sony Ericsson XPERIA X10 Mini] quanta08:
It is still available on ebay

check this,

http://www.ebay.com/itm/Sonyericsso...032?pt=LH_DefaultDomain_0&hash=item3a6fd37078
[Sony Ericsson XPERIA X10 Mini] Ballesss:
Search on ebay, there are lots of batteries.
[Sony Ericsson XPERIA X10 Mini] OmegaRED^:
Each member i thanked.. is because they made me laugh.

Obvious SE Troll Is Obvious. :D

Real enough for you?

I find it funny that posters with such a low post count would be so adamant about something. :rolleyes:
[Sony Ericsson XPERIA X10 Mini] Acetel:
Apart from that, still available at ebay.co.uk.

Found it after 4 days trying to get someone that sells the correct battery as you posted before. ;)
[Sony Ericsson XPERIA X10 Mini] quanta08:
Good hear that, you find it :good:
[XPERIA X2 General] milepan:
I set my Backlight setings "Turn off backlight if phone is not used for 1 min " or 2,3,4,5 min

The problem is:

after few minutes ( or when my battery go down a little bit) the settings "1min" is going change to "30sec".... every time

"Turn off backlight if phone is not used for 30 seconds"
[XPERIA X2 General] pom979:
Have the same problem, i even sent the phone to servis because of this and a lot of other stuf. After 14 days they manadge to hard reset the phone and send it back.

To solve the problem ju must disable the avtomatic bright adjustment, it works for me and if jou are a new user of x2 you will heve to read a lot more posts to get the phone working as it should.:eek:
[XPERIA X2 General] milepan:
thank you for your answer

thank you for your answer, even i spend a lot of time (may be 40-50 hour) to personalize it, it was hard, but

i make it so pleasent for work.

To me when turn off "automatic bright adjustment" does't work.

The problem appear 1 time on day, when my batteri indicator decrease with one line down.