yashsingh1/xdaforums huggingface dataset:
[Milestone XT720 Android Development] Mioze7Ae:
In the A853 ROM there were two timeout settings: the first one is the display timeout setting that you're describing, the second one that seems to be missing is a setting for the lock screen timeout. Previously what I did was I had the display timeout set to 1min and the lock screen timeout set to 30min. Then after 1min the screen would turn off, but if I turned the phone screen on again, say 10min later, I wouldn't have to enter the unlock. But if I came back say an hour later I would have to unlock. I think the ROM has the support for the two locks, (it doesn't go to lock screen immediately when the screen goes off), but it seems to be missing from the settings menu.
[Milestone XT720 Android Development] Mioze7Ae:
The other big thing seems to be that SMS's may be going out twice as large. In the steelblue wanhu thread JiroPrinz8 explained that he's usually allowed to send 160char/message but the wanhu ROM only sends 80chars/message. He says SMS's that are longer than 80chars go out as two messages (which can be a billing issue). We need to figure out if this is a problem with the framework or baseband or the messaging app.
[Milestone XT720 Android Development] R-D:
Exchange Issue

(Post removed - I am going to do more research to confirm this is a ROM, device, or server issue first.)
[Milestone XT720 Android Development] hellmonger:
Ok i am adding that to the TODO list.

good find!
[Milestone XT720 Android Development] 3rdstring:
I've replaced the Mms with the same version I used on Dexters ROM & verified the locale is US en in build.prop & the 80 character limit is still there. (I think you are right about this being a Unicode issue too.)
[Milestone XT720 Android Development] djkron:
issue with facebook

Hey everyone I want to first thank all of you for making the effort to improve all these rom's, this one has to be a favorite of mine and I will continue to use it.

The only issue I have found is that the facebook app that comes with it works, but wont allow me to upload photos from my gallery to facebook. Also I tried to do the manual update on the market for facebook and it always fails.

Has anyone else had this issues? also does anyone know how to fix it?

I know this isnt a top priority thing by any means but it is kinda annoying at the same time lol

Thanks Again
[Milestone XT720 Android Development] hellmonger:
Euh, there is no facebook app that comes with it....

Try uninstall and reinstall.

And this is not a support thread thsi is a dev thread!
[Milestone XT720 Android Development] Woody:
If your Facebook app is "signed" with a theme, you can't update it in the market. I had this problem before and just went into /system/app and deleted the facebook.apk the rebooted for kicks and then went to market and was able to download it from there. It wasn't themed as all the other apps were but it works.
[Milestone XT720 Android Development] djkron:
hey thanks for the info but do you know how I would go about deleting that file? I have tried astro and es file manager and both fail when I try to delete them. HELP!!!!
[Milestone XT720 Android Development] hellmonger:
Dude this is a dev thread not support please post in the Support thread.
[Milestone XT720 Android Development] djkron:
just bringing up a problem and asking for help.

where is the support thread for this rom? i thought this was a place to share issues and if people can help with a quick answer then great.
[Milestone XT720 Android Development] Woody:
Go to system/app and find the Facebook.apk. Long press it and you'll get a delete function. I use Root Explorer and not Astro or the other one so.not sire how those work, but with RE you can toggle Rw/Ro.

There are two threads for questions for this rom. Kahls Optimized Wanhu OR Wanhu's beta 3 with Mioze7ae patch. They are the same Rom but just a bit different. Post your questions to whichever one you are running.
[Milestone XT720 Android Development] LibertyMonger:
Your question isn't even about this ROM looks to me it's a question about how to use a file managing app. Didn't you read the front page of this thread? Or didn't you read the name of this thread? Your question is way off topic dude. Now look at all these unnecessary posts in a ROM/Dev to do list. You have to mount the file you are deleting first and you can't mount them with those free apps.
[Milestone XT720 Android Development] cancrippler:
Yeah, I am. We're getting so close to perfection...
[Milestone XT720 Android Development] peshovec:
Yes that is correct. I personally did not care about this timeouts, but i missed the enable/disable data roaming options. and the double tap home action.

Anyway, i was digging about enable/disable data roaming. So in

/data/data/com.android.providers.settings/databases/settings.db

the option exists:) (in wanhu and in stock eclair).

stock:

INSERT INTO "secure" VALUES(20,'data_roaming','0');

wanhu:

INSERT INTO "secure" VALUES(2,'data_roaming','0');

but it was enabled (i think i was used replace into statement to change it)

About the timeouts there are in:

/data/data/com.android.providers.settings/databases/settings.db

stock eclair:

INSERT INTO "system" VALUES(4679,'screen_off_timeout','90000');

INSERT INTO "secure" VALUES(7362,'screen_lock_timeout_maximum','900000');

wanhu:

INSERT INTO "system" VALUES(81,'screen_off_timeout','120000');

So may be a simple insert statement will do the trick? (sqleditor as adition of root explorer do incredible job, but sqlite cmd utility can do it also)

lets finish with the setting for double tap home:

/data/data/com.motorola.android.providers.settings/databases/settings.db

stock eclair

INSERT INTO "settings" VALUES(57,'double_tap','com.android.contacts/com.android.contacts.DialtactsActivity');
[Milestone XT720 Android Development] Mioze7Ae:
Thanks for that sleuthing! It looks like the screen_lock_timeout is missing in the Motoroi framework, though. I did find entries for it in Dexter's 1.3 framework, however. I also found this and it made me want to rage yesterday: http://code.google.com/p/android/issues/detail?id=1089
[Milestone XT720 Android Development] gn01222116:
I have a bug question here..

I used to enter the MMI code to enable call forwarding and deactivating the forwarding by dialing **21* (phone NO.) #, and ##002# respectively. But in the steelblue and WanHU's rom, i can't enable the above functions by this code. I swear i can do it in Miui and ESB previously... Anybody could point out the causes?

:D:D
[Milestone XT720 Android Development] hellmonger:
Added to the TODO list!
[Milestone XT720 Android Development] peshovec:
I have implemented some of the above settings (data_roaming','0 and 'double_tap','com.android.contacts/com.android.contacts.DialtactsActivity');

But still did not tested them.

for the data_roaming thing will test next time abroad (will be soon)

for the double_tap thing, will have to reboot (i suspect that if some fancy ui make the changes, it also apply that change and save it in the settings. and as i just modified ("on the fly") the corresponding settings.db i hope that the actual apply-ing of the change will take at next boot). Anyway i have tried without rebooting and it dosen't work. So after reboot will report back (may be will be soon, because again i have very short uptimes :) )
[Milestone XT720 Android Development] hellmonger:
SMS limit fix.

EDIT

I got sqlite3 working (may not be secure or even good idea though) this worked for me:

First lets mount /system/ to allow read/write (rw)

$ adb shell

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

in another terminal change directory (cd) to where sqlite3 is and lets push it

$ adb push sqlite3 /system/xbin

Now back to the other shell lets change the permission of the binary

# chmod 4755 /system/xbin/sqlite3

Now lets mount back /system/ as read only (ro)

# mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system

And now we can use sqlite3 from shell:

but the name of the tables is wrong...

# sqlite3 /data/data/com.android.providers.settings/databases/settings.db
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
SQLite version 3.6.22
Enter ".help" for instructions
sqlite>

This is better
Gservices is on 2.1 only in 2.2 it's secure, but still not working
missing something....
Code:

INSERT INTO secure (name, value) VALUES (‘sms_outgoing_check_max_count’, 180);
INSERT INTO secure (name, value) VALUES (‘sms_outgoing_check_interval_ms’, 0);

Before
INSERT INTO "secure" VALUES(55,'wifi_num_allowed_channels','11');
INSERT INTO "secure" VALUES(56,'wifi_on','1');
INSERT INTO "secure" VALUES(59,'wifi_networks_available_notification_
INSERT INTO "secure" VALUES(61,'background_data','1');
INSERT INTO "secure" VALUES(64,'sms_outgoing_check_interval_ms','0');
INSERT INTO "secure" VALUES(65,'sms_outgoing_check_max_count','0');
After
INSERT INTO "secure" VALUES(55,'wifi_num_allowed_channels','11');
INSERT INTO "secure" VALUES(56,'wifi_on','1');
INSERT INTO "secure" VALUES(59,'wifi_networks_available_notification_
INSERT INTO "secure" VALUES(61,'background_data','1');
INSERT INTO "secure" VALUES(64,'sms_outgoing_check_interval_ms','180');
INSERT INTO "secure" VALUES(65,'sms_outgoing_check_max_count','0');

So i know i am making the changes...

Ok maybe it's related to the UNIcode?
EDIT
No it's the Apk... It's hard set in the SMS apk...

I changed to handcent SMS and i am back to 160.

The changes below should remove the 101/hour limit and technically reduce load on CPU cause it's not checking anymore...
INSERT INTO secure (name, value) VALUES (‘sms_outgoing_check_interval_ms’, 0);
[Milestone XT720 Android Development] djkron:
thank u very much, very helpful answer. I was just trying to bring up the issue with the facebook update to the dev, if someone got upset it wasnt intended. I thought that bringing any issues forward would help the dev team to improve the rom. Not cause issues
[Milestone XT720 Android Development] tharan.a:
This ROM will probably be the best our XT720's will get. Please theme it as close as possible to GINGERBREAD, nothing beats stock beauty! Anyways, keep trucking guys and good work so far:)
[Milestone XT720 Android Development] peshovec:
may be You picked wrong settings.db

usualy i issue:

ls -al /data/data | grep sett

and then from the printed paths find the right one...

anyway, after:

./sqlite3 settings.db
SQLite version 3.6.22
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite>

issue command:

.dump

and look for CREATE TABLE statements

...

sqlite> .dump
PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE android_metadata (locale TEXT);
..........

CREATE TABLE gservices (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT UNIQUE ON CONFLICT REPLACE,value TEXT);
INSERT INTO "gservices" VALUES(102,'gtalk_active_heartbeat_ping_interval_ms','1680000');

..........
INSERT INTO "gservices" VALUES(203,'wifi_idle_ms','25000');
CREATE TABLE bluetooth_devices (_id INTEGER PRIMARY KEY,name TEXT,addr TEXT,channel INTEGER,type INTEGER);

usualy it is very safe to increment the last insert id (e.g. the _id INTEGER PRIMARY)

sqlite> insert into gservices VALUES(204,'some text ','some text value in this case');
sqlite>
sqlite>.dump
.....
INSERT INTO "gservices" VALUES(204,'some text ','some text value in this case');
......
sqlite> REPLACE INTO "gservices" VALUES(204,'some text ','some text value new one');
sqlite> .dump
..........
INSERT INTO "gservices" VALUES(204,'some text ','some text value new one');

just make a copy of the right table and experiment.

when you figure it out it will be more easy

From the CREATE TABLE it is cleat what type of values where to put, and if there are some restriction (example unique one).

If you want to insert really new record, use INSERT INTO and use the next free "primary key id".

If you want to modify existing, usualy REPLACE INTO (as in the example above) will do the job. As it is seen above, even REPLACE INTO is used for modify, the next .dump show correct INSERT statement

hope that helps

p.s. the above "code" are not suitable for copy & paste (the binary and database file are localy at my laptop, and the paths are different)
[Milestone XT720 Android Development] hellmonger:
Ok so we still need to fix the Stock messenger apk...
[Milestone XT720 Android Development] pavithren:
Last weekend, I went overseas and tested out the Data roaming feature. A menu actually pops out and asks whether I still want to use data while roaming. I could reject or accept to turn off or turn on data roaming. So even though we don't have the switch for enabling/disabling the data roaming, it still prompts us.

Hope this might be useful.
[Milestone XT720 Android Development] R-D:
I have the same thing, it actually prompted me when I first installed the original WanHu ROM. During intial setup, it asked about being prompted when roaming and some other options.

YOu can bring up this menu manually by going to:

Settings > Wireless & networks > Data network setting

Also under Settings > Wireless & networks, if you go down to the very bottom to "Mobile networks" there is an option to enable Data roaming. There are additional settings for data roaming under this menu under the "T Roaming" menu.

I have used this menu to set my phone to WCDMA only, so that when I am roaming on a GSM network I don't accidentally use data.

Another nice alert is when switching from Wifi to 3G it provides a little warning about data charges.
[Milestone XT720 Android Development] R-D:
I tried mms.apk from froyooptimized and it just FC.
[Milestone XT720 Android Development] androidlover123:
I not sure if u guys know or not but i'll say it anyway; you can actually turn off 3g completely and turn it back on just by typing this no. in the dialler: *#*#4636#*#*

Just go to phone information, then press the menu button on the phone and then press more. there you will see: Disable/enable data connection and disable/enable data connection on boot. very useful for me if I travel overseas and dont want extra data charges. Hope that helps!
[Milestone XT720 Android Development] hktmt:
I've got a problem in call forwarding. When I press function key like **67*12345678#, it becomes **-67*1-2345678#. When press dialing button, it dials instead of sending a request. Anyone can advise how to fix it?

I tried to download other dialer but it doesn't work.
[Milestone XT720 Android Development] fjfalcon:
That ussd functionality.. so it not works for now...
[Milestone XT720 Android Development] hellmonger:
No luck FJ?

I got the 160 char working in sms and no restriction per hour working + stock keyb ready for full release.

Is it due to the formating?

or carrier issues?
[Milestone XT720 Android Development] peshovec:
Badly it doesn't work, seems that double_tap thing is missing from the framework.

Anyway as i have played with the phone i have modified a little bit the things regarding ext partition.

first about checking it (it is implemented out of the box), but sometimes the journal needs to be replayed, before checking... so in /system/etc/init.c/10_sdext, i put following lines, before checking the partition

#make some tmp directory and mount ext partition so journal can be recovered etc...
mkdir /tmp/sdet
mount -o ro /dev/block/mmcblock0p2 /tmp/sdet
umount /tmp/sdet

and have added in init.maphone_umts.rc

on property:sys.reboot=1
stop ssmgrd
exec /system/bin/sleep 10
exec /system/xbin/busybox umount /system/sdext
exec /system/bin/reboot

on property:sys.shutdown=1
stop ssmgrd
exec /system/bin/sleep 10
exec /system/xbin/busybox umount /system/sdext
exec /system/bin/reboot -p

the exec /system/xbin/busybox umount /system/sdext

(i use system/sdext as mountpoint, so it have to be changed)

p.s. btw, i have plan to move the openrecovery from the sdcard to the /cdrom partition:)
[Milestone XT720 Android Development] Mioze7Ae:
e2fsck doesn't play back the journal?!? Are you sure?

Why move OR on /cdrom? :confused: nandroid etc already require the sdcard, and OR lite already does the non-sdcard stuff?
[Milestone XT720 Android Development] hellmonger:
@ peshovec

What about using that partition as extra RAM instead is that possible?
[Milestone XT720 Android Development] gommers1978:
Update, my XT720 is on his way back from repair. In the time between ive bought a Defy and i think i'm hooked on Gingerbread, i'm running 2.3.4 on this device and it is so fast and running so smooth, even got 23 to 24 fps 720p video recording. On the XT i only have 21 fps. Only the pictures on the XT720 are much better in low light (because of the xenon). When i have my XT back will try to do some translating if nobody has done it yet. Hope my XT will not be feeling like a downgrade now when returning to it from the Defy. Will keep you update which device i will use daily and which i will use more for modding purposes. By the way the guys with an Atrix have managed to unlock the bootloader of the Atrix and think their trick may work on other devices soon. Lets hope our XT will belong to one of them! See you back here when i have my XT back!
[Milestone XT720 Android Development] hellmonger:
DEfy? you got another MotoCrapola? Son, i am disapoint 6_6.... I will not buy another MOTO untill the support policies and upgrade policy changes.

The current Atrix unlock is actually just a leak of an official moto unlock...

@Mz, IL help with the formatting thing, just tell which files you modified please
[Milestone XT720 Android Development] gommers1978:
I've bought this very cheap and first looked trough the forum on this device, and saw that it run Gingerbread without a problem. If I could not buy it that cheap i would not have bought another phone at all, allso Motorola is the last one on my list 2. I do not have the money to buy a Samsung Galaxy II (I allso have bad experiences with Samsung and Nokia b2way) or a LG optimus 2x speed, or another Android phone. I still hope that phone manufactures support their devices more with upgrades like Google it self does with their phones.
[Milestone XT720 Android Development] hellmonger:
Still disapoint...

I guess il give translating a shot never did that b4, any pointers Gm>?
[Milestone XT720 Android Development] fjfalcon:
You may use diff to get changes.

btw, i also wish to try edit phone formatter, cause in russia we have such format:

+79161234567 =)

Also will try to fix ussd for now.

BTW, have someone understand how to dist sqlite fixes? I mean in nandroid.

Scripts that will do it on launch?

Or maybe we should edit Settings.apk(cause it creates settings.db)?

upd:

i just have noticed, that ussd functions are in framework.jar.

So maybe there so function that changes *[0-9]# to *-[0-9]# and that makes ussd don't work?
[Milestone XT720 Android Development] fjfalcon:
You can make french lang by yourself with Dexter's language files.
[Milestone XT720 Android Development] Mioze7Ae:
So, the way the code worked out for the dialer is that Motorola filled functions with specialized versions that do korean-targeted things. I ended up just replacing korean functions with the same function from Dexter's ROM.

When moving functions between files be sure to name-mangle the :labels. There's a good chance the same labels were used in each smali, and having the same label more than once doesn't seem to cause warnings or errors, but it won't work. The before/after source is in the post with the patch. I added A to the A852 labels and X to the XT720 labels.

The first part is figuring out where to look. It was very helpful to find the java versions off the AOSP functions to get a feel for what was going on. I also used the Linux "meld" a lot to compare and merge files. (I think the windows equivalent is called winmerge or windiff)
[Milestone XT720 Android Development] peshovec:
I have seen issues, when filesystem is so bad, that the usual check dosen't help and some manual intervention is required (e.g. mount ro to flush journal/log, mount forcing not to flush journal/log and other bad thing, leading to data loss).

So i prefer to be on the safe side and just mount ro, then umount and then check.

About openrecovery. The usual way i use openrecovery is to issue adb shell from my laptop. Then i can do whatever i need. Obviously in the lite version there is no adbd running on the phone.

And as it seems that my phone have issues with the cards, i want to be able to use adbd even without sdcard in my phone.

And as i don't use the /cdrom partition except for some binaries (for example openvpn), some configurations (again for openvpn), some scripts, there is some free space on it:)

p.s. the cdrom partition is about 7MB, so i don't see benefit to use it as swap. But if someone (like me), prefer to manage the space on the phone manualy (so the fast phone storage is utilized, before the slow sdcard) it can be used for libraries, apks and similar "link" usage
[Milestone XT720 Android Development] tubekeeper:
Is there any process to improve the swap boot.img for the TV out?
[Milestone XT720 Android Development] fjfalcon:
I already added to config everything that looks like tvout...

It's all in boot4.img.

btw have normal motoroi kernel tvout support?
[Milestone XT720 Android Development] hellmonger:
Can't help you bro i never got that to work period....

Adding languages is a damn long tidious fog ducking task....
[Milestone XT720 Android Development] fjfalcon:
If you send me translation files like i show in xt720.ru/Files/Translations

i will make patch with it.
[Milestone XT720 Android Development] hellmonger:
So, i should nandroid back to D3x 1.3 for the fr files?
[Milestone XT720 Android Development] fjfalcon:
no, i will do it by myself tomorrow morning(+3 gmt).

Will share result about 10 am(gmt+3) .
[Milestone XT720 Android Development] hellmonger:
lol wait i got 1/2 through

http://www.megaupload.com/?d=GB61CDAV

that's what i got so far... Fr and Es
[Milestone XT720 Android Development] gommers1978:
Started translating following languages i can add:

English, German, French (France and Canada), Dutch, Russian.

Will upload when i am finished, translations are based on Khals Steelblue WhanHu ROM.

Trying to add more languages will be back later with a first language pack.

Update:

I was able to put in following languages (now have 2 translate the rest of the files):

German, English, Espanol, French, Italiano, Russian and Dutch. Other languages make the phone not boot srry.
[Milestone XT720 Android Development] hellmonger:
So i guess i did all that for notthing... ah well

Ok the multi lang options work but man is the phone ugly.... data and task bar are the same colour... but just a test right?

Send me the lang for framework il intergrate to stock Wanhu if you want.
[Milestone XT720 Android Development] gommers1978:
Yes i am still testing, when i have made all the translation files i will create different ones. This one which i am testing with is from Khals Steelblue theme.
[Milestone XT720 Android Development] hellmonger:
fjfalcon aand gommers1978 combined beta lang pack

I put it toguether. in one update.

http://www.megaupload.com/?d=8N1498B4
[Milestone XT720 Android Development] fjfalcon:
Please add that to main post(like mirror or something, cause file hosts are really slow):

http://www.xt720.ru/WanHu/SC_2.2_XT720_Beta3a_by WanHu.zip

http://www.xt720.ru/WanHu/update-SC_2.2_XT720_Beta3a-Mz05.zip

http://www.xt720.ru/WanHu/trans_patch.zip
[Milestone XT720 Android Development] hellmonger:
Done and done!
[Milestone XT720 Android Development] hellmonger:
Little thing i put together....

http://xdaforums.com/showthread.php?t=1177020
[Milestone XT720 Android Development] fjfalcon:
More update about USSD functionality.

Looks like with grep ussd on smali with korean and mil framework they are same.

So, probably there is just no "send ussd query" in our framework..

So, we only need to find that place and add ussd support.
[Milestone XT720 Android Development] fjfalcon:
http://xt720.ru/Kernel/boot5.img

Please check tvout progress.

BTW: sqlite db creates on first launch.

I get some time about study settigsprovider.apk - it looks like default params get from there.

From databasehelper.smali i can see default values... i think.
[Milestone XT720 Android Development] hellmonger:
never works for me.....

so im not good test....