yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Android Development] xeviro:
[FINAL] Fix Home Button & Lock Screen

Ok i finally find the real solution for home and lockscreen. Introducing sqlite3.exe .. tools for manipulating android database.

First pull the db file first.

adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db​

Then add value to its contet

sqlite3 settings.db

sqlite> INSERT INTO "secure" VALUES(67,'device_provisioned','1');

sqlite> INSERT INTO "secure" VALUES(68,'backup_provisioned','1');

sqlite> .exit
​

Note that sqlite> is the sqlite prompt, you don't need to write that into sqlite.

Then push back the db

adb push settings.db /data/data/com.android.providers.settings/databases/settings.db​

Then reboot.

With this method, you got Home button and Lock screen and....

The quick search box will not throw FC.

Just restoring data from TB will whack your settings database and causing a lot of permission failure within.

Notes.

I don't know which one is actually the one that fix. Either device_provisioned or backup_provisioned.. but there's nothing wrong to add those two value.
[XPERIA X10 Android Development] gldrenthe89:
Just did that, but hanging on:

"inflating: data.img"

How long does it take to finish, cause i'm waiting now for almost 10 minutes.

Some information about what i've done.

Downloaded and installed Android terminal emulator from market.

those command i used:

# su

(Acces has been granted, by superuser)

# dd if=/sdcard/install of=/data/install && chmod 777 /data/install && /data/install

hope someone can help me out here.
[XPERIA X10 Android Development] superleeds27:
Could this be integrated ino the installer package before the ROM is installed?

Maybe worth telling Z about this, although im ure he already knows!
[XPERIA X10 Android Development] Ragespeed:
Hi All,

I'm loving this new ROM! :)

Any ideas/ways to mount the SD card? I don't want to remove and replace the card or to partition it.Reasons are I did an app2sd on 2.1 worried it might mess up everything.I want to do a restore from Titanium but can't access my sdcard:confused:

I got all these working :-

1.Market

2.3G

3.Wi fi

4.Apps opening fine

5.Outgoing calls

6.Startup in 2.2 ,press a key to boot 2.1

Not working

1.Sdcard mounting error

2.Can't charge while the phone is off (brought in straight to 2.2)

3.Incoming calls

4.No Lock screen

5.Camera (known)

6.Audio (known)

So, any help to mount the sdcard will be appreciated.Thanks :)
[XPERIA X10 Android Development] xeviro:
Just restoring "Wi-Fi Access Points" using TB will not give you WiFi fix. Because what is inside "Wi-Fi Access Points" is your saved AP settings..

What fix the WiFi is the restoration of "[Settings/Bluetooth] Settings Storage". But this will potentially whacks all your system settings, and permissions.

I get FC when i clicked Search Box, and i traced its permission problem.
[XPERIA X10 Android Development] rodiniz:
@superleeds27 How do I backup and restore this??
[XPERIA X10 Android Development] Crowds:
one thing that bothers me in this rom is that i always have great difficulties in connecting the USB storage:mad:

i want to copy some files from my pc to phone and never been able to do that:confused:
[XPERIA X10 Android Development] jokinawa:
Titanium Backup

Titanium Backup.

I would recommend purchasing the PRO version.
[XPERIA X10 Android Development] gldrenthe89:
UPDATE!

Stopped the progress and deleted the FreeX10 folder on SDCARD

Did the progress again.

now working and finished within 5 minutes.
[XPERIA X10 Android Development] Ipy219:
i backed up some system apps with tb in 2.1 then restored in 2.2 and now have working lockscreen and home buttons work.i can receive calls but no ringtone or audio.only a fc that is from google and i can't download from the market anymore and that's because of the adobe flash.
[XPERIA X10 Android Development] zephyrix:
was just about to post this. it's device_provisioned btw.
[XPERIA X10 Android Development] Ragespeed:
Same here.Did you take the card out and replace back? I thought of trying that and see the outcome.Will have to sacrifice reflashing if it didn't work:(
[XPERIA X10 Android Development] Crowds:
no i didn`t do that because i try to remove yesterday sdcard to see if 2.1 boot and end to flash my phone again :(

so...don`t do that!!!
[XPERIA X10 Android Development] xeviro:
Hehe.. anyway.. the 2.2 Custom ROM doesn't have sqlite3 in it.. :(
[XPERIA X10 Android Development] Ragespeed:
I see..thanks! if you can read my post earlier,my card was in app2sd 2.1.I thought that could be the cause for the sdcard not detected in 2.2...wonder what should I do now.:confused:

Will reformat the card work ? Since it didn't detect in 2.2
[XPERIA X10 Android Development] Crowds:
i had app2sd too that makes impossible to work with sd card

yesterday after flash 2.1 again formated my sdcard and install 2.2 from scratch. now works like a charm.

but again, for now i won`t remove sdcard `cause i don`t want to flash again...at least today :) :) :)
[XPERIA X10 Android Development] xeviro:
Sdcard PC mount currently is not supported in 2.2 Custom ROM
[XPERIA X10 Android Development] Ragespeed:
Looks like that's the culprit lol! Anyway,thanks for replying.I think I'll try to format the card first in 2.2 and see if it works.
[XPERIA X10 Android Development] Crowds:
unfortunely

the only way i can copy files to sdcard is through Droid Explorer...at least :)
[XPERIA X10 Android Development] Ipy219:
i can't add phone contacts but when i receive a call from any of them it shows the contact picture and name.any ideeas of how to add contacts?
[XPERIA X10 Android Development] zjhjack123:
wifi problem

Wifi Can not be used? 2.2.1ROM...
[XPERIA X10 Android Development] Crowds:
before you post something like that read a little.

no you don`t have to read all the 238 pages but at least read 4/5 before this one

for instance THIS ONE
[XPERIA X10 Android Development] rodiniz:
Donation

Just posted a 10$ donation.

Games are so fast in this rom !!! (no audio in any games)

Asphault HD runs with no lags .!!
[XPERIA X10 Android Development] Crowds:
ohhh

i forgot another bug...video player run B/W:(
[XPERIA X10 Android Development] jokinawa:
May have a lead on native video playback. Still very choppy/no audio. may help.

Did this: http://xdaforums.com/showpost.php?p=6577776&postcount=1

got this:
[XPERIA X10 Android Development] HunteronX:
Thanks zephyrix and xeviro, your home screen and lock button fix works fine. :)

Also, the led lights at the fron of the phone switch on, when you turn auto brightness off, in settings. But they seem to stay on continuously - do you know why?
[XPERIA X10 Android Development] superleeds27:
I can't seem to exit the sqlite3 program :S

I put .exit, but nothing happens.

Goes down to the next line showing:

...>

Any ideas?
[XPERIA X10 Android Development] HunteronX:
It works! :D

But, could we add in audio codecs too?
[XPERIA X10 Android Development] th4r:
Try .quit

or Ctrl-D
[XPERIA X10 Android Development] HunteronX:
Try '.quit'

EDIT: th4r beat me to it
[XPERIA X10 Android Development] Crowds:
S#$T!!!

after restore Contacts Storage, Settings Storage and Wi-Fi Access Points allways get "the process android.process.acore has stopped unexpectedly. please try again" :(

anyone knows how to solve this?

thks;)
[XPERIA X10 Android Development] zephyrix:
There's nothing wrong with audio codecs though. It seems to be an issue with waking up the audiomanager for music. Try playing some music, receiving and picking up a call, and then playing music during the call...

Also:

ro.media.enc.hprof.file.format=mp4
ro.media.enc.hprof.codec.vid=h264
ro.media.enc.hprof.codec.aud=aac
ro.media.enc.hprof.vid.width=720
ro.media.enc.hprof.vid.height=576
ro.media.enc.hprof.vid.fps=30
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.hprof.aud.bps=128000
ro.media.enc.hprof.aud.hz=32000
ro.media.enc.hprof.aud.ch=1
ro.media.enc.hprof.duration=60
ro.media.enc.lprof.file.format=mp4
ro.media.enc.lprof.codec.vid=m4v
ro.media.enc.lprof.codec.aud=amrnb
ro.media.enc.lprof.vid.width=320
ro.media.enc.lprof.vid.height=240
ro.media.enc.lprof.vid.fps=15
ro.media.enc.lprof.vid.bps=200000
ro.media.enc.lprof.aud.bps=12200
ro.media.enc.lprof.aud.hz=8000
ro.media.enc.lprof.aud.ch=1
ro.media.enc.lprof.duration=30
ro.media.enc.file.format=3gp,mp4
ro.media.enc.vid.codec=h264,m4v,h263
ro.media.enc.aud.codec=aac,amrnb
ro.media.enc.vid.h264.width=176,720
ro.media.enc.vid.h264.height=144,576
ro.media.enc.vid.h264.bps=64000,8000000
ro.media.enc.vid.h264.fps=1,30
ro.media.enc.vid.h263.width=176,720
ro.media.enc.vid.h263.height=144,480
ro.media.enc.vid.h263.bps=64000,8000000
ro.media.enc.vid.h263.fps=1,30
ro.media.enc.vid.m4v.width=176,720
ro.media.enc.vid.m4v.height=144,480
ro.media.enc.vid.m4v.bps=64000,8000000
ro.media.enc.vid.m4v.fps=1,30
ro.media.enc.aud.amrnb.bps=5525,12200
ro.media.enc.aud.amrnb.hz=8000,8000
ro.media.enc.aud.amrnb.ch=1,1
ro.media.enc.aud.aac.bps=8192,96000
ro.media.enc.aud.aac.hz=16000,16000
ro.media.enc.aud.aac.ch=1,1
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.cam.preview.fps=0
[XPERIA X10 Android Development] superleeds27:
Still no luck!
[XPERIA X10 Android Development] zephyrix:
It looks you're not using sqlite3 properly.

Also, you should be doing:

INSERT INTO secure (name,value) VALUES ('device_provisioned','1');
.quit
[XPERIA X10 Android Development] jokinawa:
Trying a few other build.prop tweaks...

Lets hope I don't kill it.
[XPERIA X10 Android Development] Desarth:
Did anyone actually notice that 2.2 has 16m colors? I compared images on both 2.1 and 2.2 ROMs on different places (web browser, gallery, backgrounds) and the ones on 2.2 are all smooth with gradients displaying perfectly and I cant actually tell the difference between my LCD and x10 pictures. Anyone else?
[XPERIA X10 Android Development] superleeds27:
I just tried .load settings.db and it gave me the following!#

Is either not designed to run on windows or it contains an error. Try installing the program again etc etc
[XPERIA X10 Android Development] Wolfbreak:
Notice it too but it is still on 65k Colors becouse to enable 16m Colors you must change Kernel and Kernal can only be changed when Bootloader is cracked and it is not cracked yet. Froyo is working on 2.1 SE Kernel
[XPERIA X10 Android Development] HunteronX:
That's what I thought, but I've not been able to prove it.

But this was in the build.prop file:

# zdzihu: MT support

ro.product.multi_touch_enabled=true

ro.product.max_num_touch=2

:D

(Going to test it now, to see if multitouch drivers are included.)

And also it seems that zdzihu tried to enable 'device_provisioned' already as a test:

# zdzihu: test

DEVICE_PROVISIONED=1

EDIT: It doesn't look like multitouch is working yet, as I cannot use it in Google Maps or the browser.
[XPERIA X10 Android Development] superleeds27:
Could someone send me their edited settings.db?
[XPERIA X10 Android Development] zephyrix:
Whoops. You should be running sqlite3 like this:

sqlite3 settings.db

(or simply drag the settings.db onto the sqlite3 application icon instead of double clicking it)
[XPERIA X10 Android Development] tiggerbcn:
Edit, post
[XPERIA X10 Android Development] superleeds27:
Yeah ive done that, entered what i need to, but then it wont exit.

Ive tried .exit etc and it keeps showing what i put in the screensot!
[XPERIA X10 Android Development] xeviro:
just press the x button on right side. :D
[XPERIA X10 Android Development] th4r:
Sweet :cool:
[XPERIA X10 Android Development] superleeds27:
Have done this, but lockscreen and home utton still not working :S

Can someone send me their file?

Thanks
[XPERIA X10 Android Development] OmegaRED^:
Downloading 2.1 now.. gona do a full on media and gaming test.

will post my review and results soon.
[XPERIA X10 Android Development] xeviro:
Found some bug with sdcard filesystem.. it doesn't read unicode character properly. My GF photo folder which in chinese character shown as ???? instead.
[XPERIA X10 Android Development] superleeds27:
ok in sql3lite i now get;

SQL error; near C: syntax error?

Any ideas?
[XPERIA X10 Android Development] HunteronX:
Nice, thanks! :D
[XPERIA X10 Android Development] Minoza:
I guess it's ran on top of 2.1
[XPERIA X10 Android Development] drew.slacker:
Fantastic!

Looking forward to a stable custom Froyo based ROM for the X10.. Its great hardware, its a shame to see Sony limit its potential so much! Keep it up, will be following closely!
[XPERIA X10 Android Development] pabling19:
I think it is called Frozen Eclair or something (am I correct?)... I can only commit to $10 for a fully working custom ROM for the u20i. that's worth my 1 week food allowance in the Philippines. :(
[XPERIA X10 Android Development] rassam:
if the multi touch problem was resolved then using custom Rom and developing would be.much easier. keep up the good work guys.

would be nice to have Google desktoptoandroid app.

and most of all multi touch. I have faith.
[XPERIA X10 Android Development] craes:
oh...times to come...

3G is alive I guess!
[XPERIA X10 Android Development] karendar:
If I'm not mistaken, it looks like it is running off 2.1, because he holds the home button to boot in "safe mode" and access the old 2.1... But I could be mistaken! Either way, I'm really impressed! It took a while, but Sony finally lost their baby!
[XPERIA X10 Android Development] kishen80:
Cool bro...cant wait for it
[XPERIA X10 Android Development] vatis24:
Greetings all,

Weekend is coming ! I hope that we will get the custom rom in the weekend so we will have some time to play with it !

I am so exided !

PS : Have a nice weekend ( you know what i mean ) :D

Regards

Vatis
[XPERIA X10 Android Development] chiefy009:
I would love to be in the meeting at SE HQ when they announce that 2.2 has been loaded on to the x10 :D
[XPERIA X10 Android Development] Hypercore:
LOL same, this must be really pissing SE off. I can just imagine what that meeting would be like.

It's also smart to wait until it's all ready before you release it because SE could patch it faster then it's available in working form.
[XPERIA X10 Android Development] pabling19:
Maybe SE intentionally allowed us to have custom ROMs because they have no more plans for a 2.2 upgrade. They'd rather develop a new android phone with froyo than develop an update for the x10.
[XPERIA X10 Android Development] chiefy009:
I think this is what has happened, I think the X10 has been a huge learning curve for SE. For their next phone I dont think, or you would imagine, they wont make the same mistakes.

What a kick in the teeth though if the x10 gets developed by these magicians at XDA to run a Gingerbread or Froyo before their new phone comes out
[XPERIA X10 Android Development] wiedz:
Let's hope maxfron and Co's project also success.
[XPERIA X10 Android Development] vatis24:
Could someone help me understand the difference please?

What benefits we will have if the bootloader will be cracked than the 2.2 Froyo custom rom ( Ofc gsm/wifi/gps will work).

Thanks in advance.

Vatis
[XPERIA X10 Android Development] bongd:
This is what I've been desperately waiting for!
[XPERIA X10 Android Development] laill:
hey guys,

how about we make a guess

which will be the first

our custom froyo rom or the release or gingerbread?
[XPERIA X10 Android Development] pabling19:
I predict that a working beta for a froyo ROM will be released this coming week (11/14 - 11/21). I hope a ROM for the minis will follow shortly
[XPERIA X10 Android Development] nidalius:
and how you predict that , Nostradamus is your ... ? i joke man we are happy to see all this progress thank you Dev for all your works
[XPERIA X10 Android Development] Christrumentalist:
i'll be donating as soon as i get my cheque in the bank tonight! XDA for the win!!
[XPERIA X10 Android Development] maxx1973:
Great work guys....just subcribed and made a little donation...

....our X10 is near to freedom :D

maxx1973
[XPERIA X10 Android Development] superleeds27:
Still can't get it to work :@:@
[XPERIA X10 Android Development] Ballfuzz:
All I did was restore wifi and bluetooth system files and so far so good. No errors. One reboot only.

incomming calls, wifi, lock screen, home button, all of it works perfect.

Does anyone know a good temperature program so I can keep an eye on that?

Or do you guys think incompatibilities are to blame for reboots?
[XPERIA X10 Android Development] xeviro:
[SOLUTION] Installing APK problems

I just found a way to install certain APK which cannot be installed like AngryBird.

Currently the 2.2 Custom ROM kernel does not support app2sd, but APK may configure it self to be installed in sdcard.

So we force it to install on internal with code below

adb shell pm setInstallLocation 1
adb install -l com.rovio.angrybirds.apk

Then you will see SUCCESS.
[XPERIA X10 Android Development] zephyrix:
Good catch, except there is no 2.2 custom kernel. It's still using SE 2.1.
[XPERIA X10 Android Development] Ballfuzz:
Look at you eh!

Astronaut! haha
[XPERIA X10 Android Development] OmegaRED^:
I rooted the shell.

i get this error.

-------------------------------------------------------------------

type dd if=/sdcard/installer.sh of=/data/installer.sh

'chmod' is not recognized as an internal or external command,

operable program or batch file.

Press any key to continue . . .

-------------------------------------------------------------------

What am i missing?
[XPERIA X10 Android Development] xeviro:
That what i was trying to said actually.. hehe.. 2.2 Custom ROM kernel.. whatever kernel inside.. i'm no linux expert :(

Just found some more problem.

Facebook Sync doesn't work.. After you install and login, you will not see the Sync Contact configuration. I read on internet, this is also happening in cyanogen and ppl blames FB. Well this one its getting out of my current capability.. T_T
[XPERIA X10 Android Development] Buster99:
looks to me more like a syntax error on your input- paste all what u have done cause for me it worked like a charm - you only need to connect through adb with su permissions enabled

adb shell

$su

# isnert ur command here on su shell
[XPERIA X10 Android Development] OmegaRED^:
I rooted using z4root.. but tha does not root the shell so i used superoneclick to temporarily root the shell.

Then i ran the install.bat file.
[XPERIA X10 Android Development] Crowds:
i`ve allready told that yesterday right after 2.2 version was released but i guess i`m the only one with taht problem since anybody refers that problem.

yet in the afternoon don`t know what i did but after restore through TB it works. don`t know exactly what:confused:
[XPERIA X10 Android Development] carinoxx:
It would be useful to recopile all bugs and fixes to help freex10 team fix their ROMs...

:)
[XPERIA X10 Android Development] zephyrix:
Have you tried restoring contacts and sync from 2.1 in titanium? I think I noticed Facebook in my sync settings.
[XPERIA X10 Android Development] superleeds27:
Yeah it would e good if we could incorporate these fxes into the main file. So that when we flash, there already fixed :)
[XPERIA X10 Android Development] Tasteslikeawesome:
Guys, off course you cant mount sd card, your os is running off it, isnt that just common sense?
[XPERIA X10 Android Development] OmegaRED^:
Anyone have a idea?
[XPERIA X10 Android Development] kishen80:
cant install 2.1 rom... 2.2 can.....can anyone help?is it the same way as 2.2?
[XPERIA X10 Android Development] tready:
you need androidsdk installed then you type adb shell then su then the comand
[XPERIA X10 Android Development] xeviro:
Will do this later on. I think devs still busy solving the sound, camera and video problem. These bug fixes can always be added later.

I'm trying to solve problem without using TB restore.. lol.. last time it creates more problem.. but thanks for the hints, i'll look to it.
[XPERIA X10 Android Development] tready:
iv just used tb to restore my data only then ran rom manager to fix permissions it stoped the fc issue
[XPERIA X10 Android Development] Buster99:
you need 3 things:

c:\adb ->

08/06/2010 08:26 PM 578,611 adb.exe

08/06/2010 08:26 PM 96,256 AdbWinApi.dll

08/06/2010 08:26 PM 60,928 AdbWinUsbApi.dll

on sd card you need in the rootfolder of the SD card (the folder u see when u open it)

FreeX10.zip

install

then see 2nd post on how to install it and follow those instructions

btw i somehow managed to unroot my 2.1 and kick the dualboot of my device lol....
[XPERIA X10 Android Development] OmegaRED^:
I have revision 6 of the android sdk installed.

Dude.. i would need to download a **** load of files!!

Anyone else have a idea?
[XPERIA X10 Android Development] apetit:
Yes, get the 2.1 file (AOSP_2.1_built_a003). Then just go to that (unzipped) folder with cmd and you are able to use adb.
[XPERIA X10 Android Development] jokinawa:
Somehow adb doesnt work anymore for me.

"error: device not found"

Any ideas how to fix it?

1. Debugging is enabled.

2. ?

Fixed: Unplugged device. Rebooted, turned debugging off. Rebooted, turned debugging on. Rebooted. Plugged in device. Worked.
[XPERIA X10 Android Development] Buster99:
you dont need the whole sdk

adb works with the 3 files i mentioned which can be loaded a zillion times here in the threat alone :)
[XPERIA X10 Android Development] OmegaRED^:
Install seus or the pc companion software sounds like you need the drivers.

Seems like my phone is not rooting properly.

Z4root reboots my phone but after that when run anything that requires root it says "the device is not root.. kinda strange since it worked and then i had to re-flash with seus but now z4root does not work.
[XPERIA X10 Android Development] apetit:
I'm having problems with the system (2.2) not being able to access the sdcard. I noticed that there is a "sdcard" folder in the file system where I would normally find my files (pics, music) which is empty and there is a "sd" folder that contains all of my files. Could this be the problem with the system not being able to detect the sdcard correctly or has anyone an idea how to remap these folders so the gallery can access my pics again?
[XPERIA X10 Android Development] colossus:
Right guys can somebody help me please, i have been trying to install the custom rom to get started and i keep getting to this error message and when i press any key it just closes down on me

type dd if=/sdcard/installer.sh of=/data/installer

chmod is not recognised as internal or external command.

operable program or batch file

press any key to continue....

Been trying for 3 hours now what am i doing wrong?
[XPERIA X10 Android Development] zdzihu:
/sdcard is not default mountpoint for SD Card. In Froyo it's /mnt/sdcard.

/sd is only a folder that gives the system access to data and system partitions, you should not use it.

I'm uploading FreeX10_alpha-release_0.0.2-UPDATE, it's only for people who already installed 0.0.1

Fixed:

- incoming call works everytime now

- wifi

- lockscreen

- SMS vibrate

- wifi location

Cheers!
[XPERIA X10 Android Development] Crowds:
you have to be rooted on 2.1

then

1. open cmd

2.type "adb shell"

3.type "su" - click allow on your phone

4.unzip FreeX10_alpha-release_0.0.1.tar.bz (or something :p )

5.copy those files to the root of sdcard

6.on cmd type "dd if=/sdcard/install of=/data/install && chmod 777 /data/install && /data/install"

7.wait till it said to reboot
[XPERIA X10 Android Development] tracer2009:
You guys are amazing! Donation sent this morning.
[XPERIA X10 Android Development] tiggerbcn:
I installed Froyo 2.2.1, I made every fix that you have mentioned.

- Works Menu key and lookscreen

- Works wifi, it connects fine, have synchronized contacts, gmail and calendar, but the market does not connect, or in web browser. "Web Page Unavailable"

What could have happened?

Is there a fix to fix Internet?

Thanks
[XPERIA X10 Android Development] Crowds:
what about outgoing calls? that gives error too sometimes

EDIT: is it better to make a clean install of 001 or it`s the same?

thks
[XPERIA X10 Android Development] chadamcmillan:
High five

Sent from my Htc Vision (CyanogenMod-6.1.0-RC2-vision)
[XPERIA X10 Android Development] sysin2008:
Oh cheers . god man,you are welcome...
[XPERIA X10 Android Development] rabetionline:
acknowledgment

Thanks a lot

GOD bless you