yashsingh1/xdaforums huggingface dataset:
[myTouch 4G Q&A, Help & Troubleshooting] nicholasb:
you need to fix your APN settings.

I'm running royalginger and boned up my settings the other day, here is how i fixed it..

Settings> Wireless & Networks > Mobile Networks > Access Point Names> (Menu->Reset to Default)

This should restore the stock settings, which hopefully this rom has.
[Galaxy Tab Accessories] prinzhernan:
I got an aftermarket charger in my area since original ones were not available. It says on the label though it's for Galaxy Tab but the max amp is 2100mA min 150mA and the usual 5volts. Is it safe to use even if the original one says 2000A?
[Galaxy Tab Accessories] prinzhernan:
Anyone?
[Galaxy Tab Accessories] nutpn:
charger

Yes,where did u get it,I need one
[Galaxy Tab Accessories] prinzhernan:
Just some cell phone shop in my area. My original question was I was asking if it's safe to use even if it has higher amps.
[Galaxy Tab Accessories] noxxious:
technically, its ok to charge at a higher amperage, it would just entail that you would be able to charge it faster.

but there might be a risk of overheating the battery during charging and that might lead to problems in the long run.

on the other hand, 100mA wouldn't be much of a difference.
[Galaxy Tab Accessories] baskarz:
It will be perfectly fine. The units charging circuitry will only use as much current it requires, heck you could charge it from a 10Amp 5volt supply with no troubles. I have used in the past an old pc power supply rigged up to some usb sockets to charge various usb devices without any trouble. They are capable of supplying upwards of 20amp @ 5volt. :-P

Btw, i am a qualified electronics technician of 12years experience, i have experimented a LOT. :-)
[Galaxy Tab Accessories] noxxious:
@baskarz thanks for clearing everything up baskarz. :)

@prinzhernan could you post a pic of what the charger looks like? thanks
[Galaxy Tab Accessories] prinzhernan:
Thanks a lot you two for taking time to explain. I understand it all now. :)

Will post a pic when I get home.
[Galaxy Tab Accessories] cx5:
Sharing link to aftermarket charger

Hi guys

Share my aftermarket charger with you all

http://www.wsdeal.com/ID321W/YXT023_US_2_in_1_Micro_Home_USB_Charger_with_Charge_Syne_Cable_for_Apple_iPadiPhone_4G3GS_White.ws

Takes 4 hours to charge from 10% to 100%.

Shows "CHARGING" word

Below 2A charger does NOT work on SGT, shows "NOT CHARGING"

http://www.mobilefun.co.uk/powerhub-4-port-usb-charger-p19416.htm

http://www.chinavold.com/dual-usb-p...e-ipod-eu-plug-with-charging-cable-p-196.html

Although both says 2000mA, but does NOT work on SGT, I was lucky the retailer let me trial-run at home.

Results = takes 10 hours to charge from 10% to 100% same like notebook or desktop USB with software upgraded (USB fast charging from ASRock) tested on ASRock mobo and Thinkpas T60.

Make sure to buy only when box PRINTS for GALAXY Tab !!!
[Galaxy Tab Accessories] Ricey:
2A chargers will work with the SGT, but you need an adapter like these that I bought.

http://cgi.ebay.com/USB-car-wall-ch...ccessories&hash=item2c5c07736b#ht_3085wt_1163

Reason is the ones that says "For Galaxy Tab" chargers have resistors soldered to the usb port allowing the SGT to know it's connected to an AC adapter and to pull the full amount of power it needs. The adapters have the resistors in them allowing u to use any cheap charger. It allows you to charge with a standard computer/laptop usb port as well. I think it's supposed to charge faster than the trickle charge you get without the adapter but I have yet to try it out. There's another thread that goes into way more detail about it and even how to solder your own resisters to make your own adapters. Think it was this one: http://xdaforums.com/showthread.php?t=845844&highlight=usb+charge
[Galaxy Tab Accessories] paulpax:
you can charge anywhere were there is a USB port. Just make this.

http://xdaforums.com/showthread.php?t=845844&page=3

that tells your galaxy tab to DRAW POWER from the USB port thinking it is the supplied CHARGER. you can use ANY USB port or charger with this.
[Galaxy Tab Accessories] cx5:
Hi Ricey

Correcto, my post can help anyone who wants a 2nd charger to be permanent in office or etc

And most importantly not buy the regular 2A without the resistors inside.
[Galaxy Tab Accessories] gobiasinc:
Awesome. Sounds great.
[Desire HD Q&A, Help & Troubleshooting] andys93:
Which is the best radio for the HTC Desire HD using Cyanogenmod 7.0.2?
[Desire HD Q&A, Help & Troubleshooting] SERGI.3210:
READ THIS THREAD BEFORE AND IT JUDGES FOR YOU ITSELF:

http://xdaforums.com/showthread.php?t=917271&page=386

RECOMMENDED RADIOS FOR CM7.0.0 ARE WORKING PERFECTLY WITH 7.0.2...

But also is important your location for a well baseband performance... read "th desire hd radio thread"

http://xdaforums.com/showthread.php?t=877295

;););)
[Desire HD Q&A, Help & Troubleshooting] MikeMelbourne:
Several people (including myself) have found 26.09.04.11_M2 to be a very good radio (I'm also using CM 7.0.2). Unless you're having specific problems, stick with the one in your signature :-)
[XPERIA X10 Android Development] iridaki:
Hello!

For a while now, many users have faced the issue of Facebook Contact Pictures not appearing in some 3rd party applications. For example, ChompSMS, Handcent, GO SMS, 4rd party dialers, etc. :confused:

One way around this is to contact each application's developer and ask them to implement a solution, but, we all know, that doesn't always work... :cool:

So, I found a way to edit the contacts database, so that Facebook data will no more be restricted.

And it is a

permanent solution applying to all previous and all new and updated data

. :)

Thanks to Adolf1994, this can be done by simply flashing the attached zip via xRecovery. It should work for EVERY rom, ANY android version! :)

Now with the flashable zip, it's easier for ROM cookers to implement it on their ROMS.

For example, erickwill already implemented it in his super-fast optimised 2.1 X10x EWJet V009.5 ROM! :)

For reference, I am keeping the manual way posted here:

Remember to hit the Thanks button if you find this useful and/or appreciate the effort of building this tutorial!

Kind regards,

Iris

:)
[XPERIA X10 Android Development] a2441918:
it comes as " 'adb' is not recognised as internal or external command"

Pls help
[XPERIA X10 Android Development] iridaki:
You need to have the androidSDK installed on your PC for this to work.

Try doing it on your phone, via Terminal Emulator.

PS: Please don't quote the first post, it's huge and you posted right underneath it, we all know what you're talking about. :D
[XPERIA X10 Android Development] amus76:
As a noob, i hope somebody will do a .zip file ^^

Sent from my toilet using my X10i powered by Wolf's latest CM6 Rom
[XPERIA X10 Android Development] ImS0Raw:
Cool! :) I'm going to try it out! It works also with the Arc phonebook right?
[XPERIA X10 Android Development] iridaki:
No matter which phonebook app you are using it will work, as it changes the core contact database! ;)

It might come to you as a disappointment, but this is not going to happen!

You need to edit your own unique contact database!

It's easy to do though, doesn't hurt to try! Good luck! ;)
[XPERIA X10 Android Development] ImS0Raw:
Thanks! :) Never found those facebook_fix.zip things in WolfBreak his thread! And here it is! Finally a solution :)
[XPERIA X10 Android Development] soblecram:
sqlite3: permission denied

running wolf's 6.13v6
[XPERIA X10 Android Development] iridaki:
As I said in the OP, this fix solves problems like Facebook pictures not showing up in 3rd party apps. I don't know what the problem was on WB ROM, but since with this command Facebook data is being un-restricted, it could help you.

And, let me say, it can't cause any damage whatsoever, so feel free to try! :)
[XPERIA X10 Android Development] iridaki:
Did you tupe su first?
[XPERIA X10 Android Development] soblecram:
Did it from adb command prompt...

need to find a terminal editor
[XPERIA X10 Android Development] bleached45:
Could always make a .sh... seems like something a script could do... just an idea.

Good job on finding this.
[XPERIA X10 Android Development] iridaki:
Here's one! ;)
[XPERIA X10 Android Development] iridaki:
Yes, you can make a script with GScript using the command in the OP. ;)
[XPERIA X10 Android Development] ballubas:
all worked perfect for me!

cheers
[XPERIA X10 Android Development] soblecram:
Actually, just changed permission on sqlite. worked fine.. just rebooting now.
[XPERIA X10 Android Development] lythanhlong:
Is there a way for me to copy the thing and place it on my phones sd card and then open then copy and paste into terminal emulator?
[XPERIA X10 Android Development] iridaki:
Yes, of course, make a txt with the command, place it on your SD and then open it in a text editor, copy, paste... ;)
[XPERIA X10 Android Development] lythanhlong:
Tried on X10 said permisson denied. :/
[XPERIA X10 Android Development] iridaki:
Did you type su first?

Meaning, on the Terminal Emulator:

su

(press enter and wait for the # to appear)

then paste the command?
[XPERIA X10 Android Development] lythanhlong:
Nope, will try now. I thought SU just mean super user. :/
[XPERIA X10 Android Development] iridaki:
Yes that's what it means, and you need superuser rights to execute this command.
[XPERIA X10 Android Development] astrall:
how to do this on 2.1 rom? tutorial please. :)
[XPERIA X10 Android Development] lythanhlong:
Okay. I copy and pasted in su with the things after it. Popped up SU and I allowed. Popped up access denied and so I went back and copied the parts after SU and not SU at beginning. Seemed like it worked. Rebooting now.
[XPERIA X10 Android Development] DooMLoRD:
@ALL

for those who dont have ADB...

here are the bare essential ADB files (check attachment)...

extract adb_files.7z to some folder on root of c:

then u will get 3 files:

adb.exe

AdbWinApi.dll

AdbWinUsbApi.dll

basically u will need all these files everytime...

also u need to enable the following (on phone):

Settings -> Applications -> Unknown Sources

Settings -> Applications -> Development -> USB debugging

most probably the drivers would already be installed... if not use windows update to search for driver... or install PC suite...

@My_Immortal

better to provide BAT/CMD files which the users can run..

(with pause statement at end so that user is able to check output/error if any)
[XPERIA X10 Android Development] DooMLoRD:
u can execute su commands using:

su -c <command>

give it a try...
[XPERIA X10 Android Development] iridaki:
You need to set up Sqlite3 on your PC.

To do this, you need to download the 3 zips under Precompiled Binaries For Windows, from here.

Then, extract them into the /WINDOWS/system32 folder.

Reboot your PC.

Then connect your phone via USB and open a cmd window (Start->Run->cmd)

Type:

adb pull /data/data/com.android.providers.contacts/databases/contacts2.db C:\Users\blahblah\Desktop...\contacts2.db

(the full path of where you want the file to be copied on your PC)

Wait a while, it will copy the file from the phone to your PC.

Then type:

sqlite3 C:\Users\blahblah\Desktop...\contacts2.db "CREATE TRIGGER unrestrict_new_data AFTER INSERT ON raw_contacts BEGIN UPDATE raw_contacts SET is_restricted=0 WHERE _id=NEW._id and NEW.is_restricted!=0 and NEW.account_type in ('com.facebook.auth.login'); END; CREATE TRIGGER unrestrict_updated_data AFTER UPDATE OF is_restricted ON raw_contacts BEGIN UPDATE raw_contacts SET is_restricted=0 WHERE _id=NEW._id and NEW.is_restricted!=0 and NEW.account_type in ('com.facebook.auth.login'); END; UPDATE raw_contacts SET is_restricted=0 WHERE is_restricted!=0 AND account_type in ('com.facebook.auth.login');"

Done!

Now to push it back to your phone:

cd C:\Users\blahblah\Desktop...\

adb push contacts2.db /sdcard/contacts2.db

adb shell dd if=/sdcard/contacts2.db of=/data/data/com.android.providers.contacts/databases/contacts2.db

(Told you it wasn't so easy!! :D Good luck! :))
[XPERIA X10 Android Development] iridaki:
Thank you very much for simplifying this!

I am very much familiar with ADB, so it's easier for me to do it this way,

rather than make a .bat file.

I shared what I found, and I am glad users are making this easier to apply.

If anyone want to make a cmd out of it, please, feel free. I will add it to the OP. :)

PS: I added a link to your post in the OP! Cheers!
[XPERIA X10 Android Development] DooMLoRD:
yup i too prefer ADB... but i learnt it the hard way that some users have totally no idea on how to use it.. ;)

Great find!!! hope this is integrated into ROMs...
[XPERIA X10 Android Development] iridaki:
You're right! Corrected! :)
[XPERIA X10 Android Development] Yperion:
Great work iris!!

ps: mporeis na kaneis ena update.zip pou 8a vazei to script sto /system/etc/init.d, 8a doulepsei toulaxiston stis perissoteres rom...
[XPERIA X10 Android Development] iridaki:
Hmmm... Giati na to kanw auto filtate? De xreiazetai na trexei i entoli se kathe boot, einai mia kai eksw! Na ftiaskw ena scriptaki gia to Gscript, nai.

Translate:

Hmmm... Why would I do this? The command doesn't need to be executed after reboot, it needs to run once, it modifies the database and that's it.
[XPERIA X10 Android Development] :
Will it work on 2.3.3 roms?
[XPERIA X10 Android Development] astrall:
I dont know how to set up up ADB, i got an error the adb is not recognized.....so on., on cmd.. any help?
[XPERIA X10 Android Development] iridaki:
@astrall: Download Terminal Emulator from the Market and do it from your phone. ;)

@dd.deme: Yes, but I haven't tried it myself. You can try it though, it will not cause any problems. Worst case scenario, it won't work! :D
[XPERIA X10 Android Development] astrall:
My_immortal

even i'm on 2.1 rom?
[XPERIA X10 Android Development] iridaki:
Please read a few posts back I posted a tutorial for making it work with 2.1 ROMS.

And there's even a link on the OP.
[XPERIA X10 Android Development] astrall:
yeah, I already read that. But now i got permission denied on adb when pulling the file. any help?
[XPERIA X10 Android Development] DooMLoRD:
may be u can try:

adb remount

before

adb pull <command>
[XPERIA X10 Android Development] iridaki:
Maybe you don't have shell root.

Try typing these commands:

adb shell

su

(at this point, perhaps a SuperUser popup will appear on your phone. Select Allow.)

mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system

chmod 4755 /system/bin/sh

exit

exit

And then repeat.
[XPERIA X10 Android Development] astrall:
i got force close. >.<

I just follow the tutorial, now I cant open contacts and sms apps.
[XPERIA X10 Android Development] gregbradley:
Apologies but I am an adb n00b!

I to am having difficulties.

I have not used terminal emulator before or adb.

I have done the ablove code on my phone and just get

adb: not found

I have rooted, but not shell rooted (Can you point me in the direction to do that please)

I entered the above code after getting SU rights and it seemed to hang for 10-15 seconds and then did nothing.

After putting the original code in from OP i still got

sqlite3: permission denied

Any help will be greatly appreciated!
[XPERIA X10 Android Development] AyDee:
In the 2nd part of the tut for 2.1 where the db is being edited do we include the quotation marks? Just making sure...

And thanks for adding yet again to your many contributions that make our phones better :)
[XPERIA X10 Android Development] iridaki:
If you are doing it from your phone remove adb or adb shell from any command! ;)

Shell root instructions are in the post you quoted! :D
[XPERIA X10 Android Development] frankiefkit:
i used terminal emulator

typed su, press enter and i get #, then i paste the code (the one without adb shell) and press enter and i get "sqlite 3: permission denied"

did i do something wrong or what??
[XPERIA X10 Android Development] iridaki:
The command as written in the OP is exactly what I used.

But I got a report saying that it works without the quotations and not with.

You can try it both ways, if you get no error, it means it worked! ;)

PS: Please let me know which way it worked for you, so I can correct it in the OP, if necessary.
[XPERIA X10 Android Development] darkoctavius:
same here :S, using terminal emulator
[XPERIA X10 Android Development] elady58:
+1

:confused::confused:

EDIT: forgot to mention I'm on wolfbreak's CM 6.1.3
[XPERIA X10 Android Development] dejo6:
Me to. I'm on Wolfbreak CM 6.1.3.
[XPERIA X10 Android Development] frankiefkit:
sami stranci a svi balkanci :D:D:D
[XPERIA X10 Android Development] darkoctavius:
how can i change permission on sqlite3??
[XPERIA X10 Android Development] gregbradley:
Apologies again but I am really unsure what I am doing wrong.

I entered the shell root code and nothing happens. (Should something happen to tell me I have shell root?)

Next I copy and paste the code (without the adb) and I get a response of

Sqlite3: permission denied.

When I get home I will upload screen shots if that helps
[XPERIA X10 Android Development] iridaki:
I am very sorry but I don't know what could be causing the issue.

It worked for me, on MIUI ROM and on stock 2.1.

A member mentioned that changed permissions to sqlite3 and got it to work.

Maybe he can help further. :)
[XPERIA X10 Android Development] frankiefkit:
figured out :D thanks anyway ;)

go to root explorer and search for file named sqlite3, when it's found long press on it and select premissions and put mark under user/exicute

then do the thing from the first post in terminal emulator
[XPERIA X10 Android Development] darkoctavius:
ok ill try in another rom, maybe the WB rom's has any bugs or something, maybe is that because in WB rom i have no Push Notifications from FB, in MiUI u got Push Notifications???
[XPERIA X10 Android Development] gregbradley:
Thanks for the help.

It seems that people who are having trouble are on wolfbreaks ROM.

I too am on that ROM, can anyone who is on WOlfbreaks ROM confirm they have had success with this?

Or is anyone else having trouble not on his ROM.

This will help confirm if it just his ROM or not
[XPERIA X10 Android Development] frankiefkit:
i am on wolfs rom and it worked for me by changing permissions
[XPERIA X10 Android Development] darkoctavius:
ok i confirm, this works on Wolfbreaks ROM, just change permission on sqlite3, because the permission in the file dont allow the user to execute.

how change permission?

just open Root Explorer, Seach file sqlite3, when it's found long press on it and select premission, and mark Owner/execute and push ok

after this u can enter in terminal and paste the command
[XPERIA X10 Android Development] gregbradley:
How to for Wolfbreaks ROM

OK. I have done the same thing...

this is how it is done....in one post...

Use root explorer.

Goto

/system/xbin

and long press on the file sqlite3

Click permissions.

Ensure the the user has the excecute column ticked.

Click OK

(I had to put my phone in landscape to see the check box for user exceute and back to potrait to see the OK button.)

Goto terminal emulator and paste in this command

su (click enter, wait for #. you may get a popup to request SU, click allow)

sqlite3 /data/data/com.android.providers.contacts/databases/contacts2.db "CREATE TRIGGER unrestrict_new_data AFTER INSERT ON raw_contacts BEGIN UPDATE raw_contacts SET is_restricted=0 WHERE _id=NEW._id and NEW.is_restricted!=0 and NEW.account_type in ('com.facebook.auth.login'); END; CREATE TRIGGER unrestrict_updated_data AFTER UPDATE OF is_restricted ON raw_contacts BEGIN UPDATE raw_contacts SET is_restricted=0 WHERE _id=NEW._id and NEW.is_restricted!=0 and NEW.account_type in ('com.facebook.auth.login'); END; UPDATE raw_contacts SET is_restricted=0 WHERE is_restricted!=0 AND account_type in ('com.facebook.auth.login');"

That should be it.....

PS

Is there any way to see the success of this immeditely
[XPERIA X10 Android Development] iridaki:
Thank you for this guide, I will add it in the OP! :)
[XPERIA X10 Android Development] zabihjan:
trying now, cant wait, thx
[XPERIA X10 Android Development] zabihjan:
when i past it in terminal emulator, it says too many characters, error
[XPERIA X10 Android Development] Asa2303:
When I pasted it it had some capital B in square brackets at beginning and end, delete these in txt editor first.

You are one clever lady, thanks for this, was really bugging me not having pics on my messages. Am now truly happy with wolfs rom :)
[XPERIA X10 Android Development] zabihjan:
All done, working coool, you must be pretty lady to have figured this out,...... love to see your real photo
[XPERIA X10 Android Development] Asa2303:
I have push notifications on wolfs rom, you just have to set your settings in Facebook correctly and pick a notification sound. Oh and make sure apk is on phone not SD. Easy peasy lol. Confused me at first! Sorry for going off thread
[XPERIA X10 Android Development] SkyStars:
Works on T's IRIS MIUI release with .49 baseband
[XPERIA X10 Android Development] ratmkicksass:
---DELETE---
[XPERIA X10 Android Development] darkoctavius:
can u tell me how u set ur facebook settings?? i tried to many ways, i have picked a notifications sound and just i have notifications from friends request, events and messages
[XPERIA X10 Android Development] cobrato:
Thanks My_Immortal. This is very useful :)
[XPERIA X10 Android Development] iridaki:
Nice to see you here Cob! :)

Maybe there is a way to implement this feature on a ROM, perhaps an empty database with unrestricted Facebook data... Who knows? :D
[XPERIA X10 Android Development] aR_ChRiS:
Thanks for this, now I can use my Froyo X10 just like my 2.1 =D
[XPERIA X10 Android Development] Plujer:
Is it possible to Gscript this?
[XPERIA X10 Android Development] DooMLoRD:
yes just paste the:

sqlite3 .....

part into gscript large box and enable (tick) Need SU
[XPERIA X10 Android Development] iridaki:
Yes and I have added that to the OP! :)
[XPERIA X10 Android Development] Asa2303:
Forgive me if stupid question, only got into this stuff in March, but what's the difference between gscript and terminal emulator? I know with gscript you can save the command and use it anytime or create a shortcut on homescreen (done it with reboot command) but don't see the point with this Facebook command cos you can only run it once.
[XPERIA X10 Android Development] iridaki:
True, but some people just prefer using Gscript rather than a terminal emulator. ;)
[XPERIA X10 Android Development] Asa2303:
Ok, thanks for reply :)
[XPERIA X10 Android Development] iridaki:
Can someone with stock ROM try something for me?

I want to see if by placing the sqlite3 file in /system/xbin and setting the correct permissions, will allow for the database to be edited directly, like in 2.2+ ROMS.

Download sqlite3,

use Root Explorer and copy it to /system/xbin.

Long press on it, click Permissions.

Ensure that the user has the execute column ticked.

Click OK.

Reboot and try applying the fix in any way mentioned in the OP.

Thanks! :)
[XPERIA X10 Android Development] baz@gmx.co.uk:
hi iris, I am getting "sqlite3 not found" running just a 2.1optimized :-\ ?!
[XPERIA X10 Android Development] iridaki:
As I said in the OP, 2.1 ROMs do not iclude sqlite3.

Can you take a look at the post above yours to test a workaround? :)
[XPERIA X10 Android Development] baz@gmx.co.uk:
sorry, was reading on the run and overlooked the end of the op! will try the work-around once I can pay full attention. (sorry for the clutter!)
[XPERIA X10 Android Development] iridaki:
Never mind! :)

When you get the chance, look at this! If it works, it will install sqlite3 and then you can do it like it's done on 2.2 ROMs.
[XPERIA X10 Android Development] DooMLoRD:
i am using FreeX10-beta4-hotfix1 and there is no /system/xbin folder

also no sqlite3 binary in /system/bin

will try using the binary u posted... are there any accessory/additional files required for sqlite3 to run?
[XPERIA X10 Android Development] iridaki:
I don't know, but I think not.

I guess will know for sure if it works! ;)
[XPERIA X10 Android Development] baz@gmx.co.uk:
.no joy and I believe I followed the steps correctly !:confused:
[XPERIA X10 Android Development] baz@gmx.co.uk:
terminal emu says cannot find sqlite_config