yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab  Android Development] nguyenphucthanh:
Thanks @irkkso for this post and @android-rules for your mirror link. I using T-mobile Tab version with [ROM] Overcome 1.6.3.

Country: Vietnam.

Mobile Carrier: Viettel Mobile.

I was unable to use 3G with phone call but now I have both on my Tab. Thanks so much.

My result: (I don't have a screen shot to show you guys) "H" sign (HSDPA right?) on notification bar and, of course, phone function works!

Thanks again.
[Galaxy Tab  Android Development] triplex76:
it works just as I've said in other previous posts cause it's a galaxys tmobile modem but it got the max step volume bug on JMx firmwares.the max volume is two steps back than what it should be after it decreases...this is issue is not present on if you use it on jk5 firmwares.same things happen if you use jk5 modem on jmx firmwares-...but I'm trying to fix it asap:)
[Galaxy Tab  Android Development] triplex76:
could somebody write some adb stuff to replace phone.apk of JMx with the JMK one without locking the tab...I did it with no success it locks when replacing files.this way it should work correctly (no max volume bug during calling)

even as cwm zip update ... thanks with phone.apk and phone.odex taken from jk5 the ones attached

I will fix the bug faster this way than editing in hex the modem.bin file is someone is so great
[Galaxy Tab  Android Development] xpgroup:
the file is gone & cannot be downloaded.... can you please re-send the link? thanks!
[Galaxy Tab  Android Development] triplex76:
http://www.multiupload.com/GQFV8ZC6T1
[Galaxy Tab  Android Development] StarLog:
Has any TMOUS users tried this modem?

Can we get a reading, whether to push this or just keep using edge+voice
[Galaxy Tab  Android Development] smali26:
can someone please post a step by step guide to do this?
[Galaxy Tab  Android Development] triplex76:
IT WORKS as I said previously it is a galaxys tmobile modem and cause it uses the same tab radio chipset it WORKS good, voice and 3g are there.the only issue is that the galaxy uses 5 volume steps when calling,the tab after the jk firmware uses 7 steps, as a results if you flash this modem on a jm firmware, the last 2 volume steps during call become useless. the max volume become step 5. 6 and 7 steps are not supported from the t959 modem so as a results last steps lower volume instead of increasing it.jk5 firmware uses just 5 steps so it WORKS as it should with this modem. now if somebody is kind enough to suggest how to change the phone.apk (the one I extracted from jk5 and attached in my previous post), using some script or adb stuff I will say thank you cause I tried but it locks using adb even with stop command.Or maybe if somebody is kind enough to put it in cwm flashable update.zip form would be great. jk5 phone.apk is the perfect fix cause it uses 5 volume steps, just the right number this modem support, till I find the right hex to edit to add 2 more steps support.it's a tedious work cause you need to compare the modem files to find the right differences...hex to hex , back to back!

you can even increase the volume using the secret audio codes (the one for calling is the "SPEAKER" one) ... there you can see clearly the steps and the volume % of each one.

just type

*#*#197328640#*#*

5) audio > 3)speaker >1)volume> 1)src speech rx volume

there you can see the 5 volume steps and increase the volume for calling but after a reboot it will be resetted.

new jmf modem got 8 volume steps... 0 to 7 ... so the lack of the last 2 steps support in this modem gives you lower volume when used there.

jk5 phone.apk instead used 5 steps just as this modem does and works perfect.

please help US to copy jk5 phone.apk and phone.odex (for the ones that use orignal roms) over JMx firmware... thank a LOT!

sorry for repetitions and confusion I wrote that while driving (I know I know.... it should not be done!)
[Galaxy Tab  Android Development] triplex76:
just flash the modem using heimdall that is all. he confused people referring to roto switch that is NOT ANYMORE NEEDED
[Galaxy Tab  Android Development] ssserpentine:
I just tried to flash this modem on my us tab.

my baseband version is T959UVJL.

Kernel version 2.6.32.9 Overcome v2.6.6*OCUV #191

running HummberOS v1.2.3

It took away my data, and modem seems to not work. It is like it is not even installed.

Any suggestions?
[Galaxy Tab  Android Development] StarLog:
UH OH !!

Can u flash back to the modem u had before, and see if it works,

Maybe try to reflash the new modem again, could have been a parity error. I dunno.
[Galaxy Tab  Android Development] ssserpentine:
yeah, i just flashed the original modem back, I might be having a little trouble because I am running the Brazilian Tabs Rom with a compatable kernel on my US Tmobile tab. I will try again. My android needs to be spanked alot.
[Galaxy Tab  Android Development] StarLog:
Using ODIN, Is it the PHONE file we are replacing?
[Galaxy Tab  Android Development] SteveSlimer:
IIRC, that's the one.
[Galaxy Tab  Android Development] StarLog:
Just used ODIN to replace the modem, now I have no data/phone at all.

baseband T959UVJL5

Kernal 2.6.32.9 Overcome #171

Overcome v1.4.4

My scanner is showing GPRS -111 dbm but no data goes thru.

Says Emergency calls only
[Galaxy Tab  Android Development] rangercaptain:
Did uou check the apn settings? Its usual to have to do that when you flash a modem from another device.
[Galaxy Tab  Android Development] StarLog:
yep, checked the APN settings first thing off. Did u try this yet?

I redid it several times, and still no diff. Will try again this week-end when I do not need the phone part for work.
[Galaxy Tab  Android Development] triplex76:
up

please help me to change the phone.apk and phone.odex from jk5 to jmf without lock the phone.

using common adb stuff it locks... :

adb device

adb remount

adb push ....

reboot

help me I need the 5 steps volume to work good with this modem...

thanks

i did also

adb shell

# su

# stop

# mount -o rw,remount -t ext4 /dev/block/mmcblk1p21 /system

# cp /sdcard/Phone.apk /system/app/

# cp /sdcard/Phone.odex /system/app/

# mount -o ro,remount -t ext4 /dev/block/mmcblk1p21 /system

and it copy without locking or looping but on next reboot it loses provider net even if it appears to be there correctly
[Galaxy Tab  Android Development] triplex76:
yes it is ...but you need to "tar" the file in order to flash it using odin ...

just use heimdall it's simple and works better!

bye
[Galaxy Tab  Android Development] StarLog:
Really ? tar!

When I used ODIN to install the working modem, it was not tar.

ok, then tonight I will use heimdall and give it a try.
[Galaxy Tab  Android Development] triplex76:
you can extract the modem you like from one of the several t959 firmware.

they all works with GTAB tmobile ...you get voice and 3g .

the last generally is always better :

http://www.samfirmware.com/WEBPROTECT-t959.htm
[Galaxy Tab  Android Development] StarLog:
OK I uninstalled ODIN and drivers, now installed Heimdal.

Loaded the modem, sam problem, no service.

Guess I will wait to see what happens here.
[Galaxy Tab  Android Development] kable:
This doesn't work for TMOUS tablets afaik, so if you are trying to use this on one regardless of the ROM installed it probably still won't work.

Someone correct me if I am wrong.
[Galaxy Tab  Android Development] triplex76:
this works PERFECT on tmobile tab with euro firmware ...

it enables 850/900/1800/1900 and 2100 gsm and umts. so you get voice and 3g

the only bug you get is on the calling volume if you use this modem over JMx firmware cause they use 7 steps volume for calling when this t959 modem (galaxys tmobile) only supports 5 steps just as the old JKx Tab firmware family does.so it's perfect combination on a JK5.. on JMx you get the last 2 volume steps useless!
[Galaxy Tab  Android Development] triplex76:
just type *#1234# on the dialer and give a look at the phone... if it reports unknown you flashed it the wrong way...if it reports T959UVJL5 ... your issue is related to your provider that is using 1700mhz frequency!

I'm using a US T-mobile with the last galaxys tmobile (t959) modem (but it works just the same as the one posted here JL5) and I get everything , I'm in italy right now .... voice,3g,hsdpa, even hsupa where supported.... and I can say without doubts that the t-mobile US tab with this modem works WAY BETTER than the standard euro tab in hooking the net...probably it uses more power cause the battery life is just a little down compared to the euro standard tab using the same provider

it gets the signal even when I'm underground or in a gallery....where the euro tab just loses the net.

the only bug is the one I reported the post before... nothing major ...
[Galaxy Tab  Android Development] zulhaky:
thanks... working in malaysia..

now have a 3g + voice...

im so glad......
[Galaxy Tab  Android Development] StarLog:
Your correct, it will not work for TMOUS users.
[Galaxy Tab  Android Development] magnum_touchpro:
doesnt work for TMOBILE US USERS.. network doesnt show up or anything, just wanted to check in and confirm
[Galaxy Tab  Android Development] seawind77:
thanks. it works like a charm in Turkey.
[Galaxy Tab  Android Development] vasiaeva:
SOOoo its dosnt work For US users??? mAke it clear please.:confused:
[Galaxy Tab  Android Development] osyris379:
Lol dead thread. You are correct, this does not work. Thus far, there is no way to enable calls and access the 3g side of the network for those using a T-Mobile Galaxy Tab On T-Mobile's network.
[Galaxy Tab  Android Development] thatdudebutch:
So I saw people go back and forth with this thing. Does this work on Euro ROMs with TMOUS Tabs or not?!?
[Galaxy Tab  Android Development] atechusa:
This might help...

I bought a rooted USA T-Mobile Samsung Galaxy Tab. The pevious owner had installed a modem switch.

I inserted my t-Mobile sim card (USA) and was able to make phone calls and send and receive plain text messages. I was not able to send or receive mms or date of any kind, not logging into gmail or internet.

When I opened an internet browser I was always directed to the t-mobile website and could go nowhere else.

I purchased a Simple Mobile $40 sim card, put the sim card and added a new APN account per below:

Android Internet and MMS Settings – Simple Mobile

SIMPLE MOBILE DATA SETTINGS

Universal Android Cellular Data Network Settings -MMS INCLUDED-

1. Go to Settings -Wireless & Networks - Mobile Networks - Access Point Names.

2. If you see Simple or Simple Mobile listed make sure its selected and skip step three. Verify the information posted in step four.

3. Add new Apn by pressing many, then add new Apn (or edit current Apn by clicking it)

4. Add these values into their respective spots.

Name – Simple

APN - Simple

Proxy - 216.155.165.050 (if this doesn’t work first try, change the 050 at the end to 50)

Port - 8080

Username – leave blank

Password – leave blank

Server – leave blank

MMSC – h t t p : / /smpl.mms.msg.eng.t-mobile.com/mms/wapenc (without spaces)

MMS Proxy – 216.155.165.50

MMS port – 8080

MCC – 310

MNC – 260

Authentication type – leave blank

APN type – leave blank

5. Press menu, then save.

Try your data connection now, if it still doesn’t work, reboot the phone and repeat the process.

With these settings I was able to EDGE and make phone calls, send plain mms text messages and sync with my google account and surf the internet.

When I wanted to surf the internet in 3g I ran the modem switch, then the tablet would reboot in 3g. With the 3g settings I was still able to send and receive text messages (didn’t test mms) and surf the web in 3g.

Here is the neat part…

I left the phone on the Simple Mobile settings and inserted my T-Mobile sim card. With this card and the modem set back to EDGE I was NOW able to send and receive text, mms, sync with google but the internet was really slow. I am not sure why but this seems to be really close to getting the problem fixed that so many are having with the rooted tab, euro firmware and having a T-Mobile sim card.

I hope this is worthy of sharing.

Thanks
[Galaxy Tab  Android Development] Adapt0r:
Thank you, it is good to know. I was going to do the same.
[Galaxy Tab  Android Development] ursubpar:
Moar modems from the vibrant:

http://xdaforums.com/showthread.php?t=868774
[Hero, G2 Touch Android Development] petsasj:
Thank you for this.

Just a few questions. The EXT partitions, are they EXT 2, 3 or 4?

Are you using exactly the same script as ownhere? As in, you use exactly his method, aka the following one:

"I would like to share my Data2EXT script, a collection of data2sd(Thanks to sibere) and the advantages of ext4, you can let the phone run at peak efficiency.

I use EXT4 for whole SD 2nd partition, and create a ext2 loopback device with 1/5 size of 2nd partition.

The files in /data/app,/data/.systemapp it not updated frequently. so store them in EXT4.

In /data/data and /data/app-private, a lot of small files and sqlite database, is updated frequently. so store thenm in EXT2 loopback device.

/data/dalvik-cache is stored in phone memory /mnt/asec/mtddata for distributed IO pressure.

/data/misc, /data/system, /data/property is stored in phone memory /mnt/asec/mtddata for system settings restore(or you will lost your timezone/language settings after reboot).

use this script, I can get quandrant score:2000+, IO:4000+, my phone is smooth and quickly."

Are you running this stable? Reboots? All apps show after reboots?
[Hero, G2 Touch Android Development] byr2:
Hi!

The two EXT partition is EXT4 partition. The script I provided is based on ownhere's script, wich is modified only in a few places.

For example on hero I do not have a /system/xbin/mkfs.ext4 like he had, but only a mkfs.ext2, so I have to create the EXT4 partition on a different way. Also the loopback device is set up in a different way than in the original script.

But what you quoted remains so, which means I did not modified any location of storage files, nor did modified filesystem parameters. First EXT4 ha no journaling ,second EXT4 has journaling, ext4 loop device has no journaling.

You can diff the two scripts to see the difference, but an example here:

Original part:

/system/xbin/mkfs.ext4 -b 4096 -m 0 -F -L userdata /dev/block/mmcblk0p2

/system/bin/tune2fs -o journal_data_writeback /dev/block/mmcblk0p2

/system/bin/e2fsck /dev/block/mmcblk0p2

/system/bin/tune2fs -O ^has_journal /dev/block/mmcblk0p2

Modified part:

/system/xbin/mkfs.ext2 -b 4096 -m 0 -F -L extdata /dev/block/mmcblk0p2

/system/bin/e2fsck -y -v -f /dev/block/mmcblk0p2

/system/bin/tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2

/system/bin/e2fsck -fpDC0 /dev/block/mmcblk0p2

/system/bin/tune2fs -o journal_data_writeback /dev/block/mmcblk0p2

/system/bin/e2fsck /dev/block/mmcblk0p2

/system/bin/tune2fs -O ^has_journal /dev/block/mmcblk0p2

As you can see I create an ext2 partition, check it, and with tune2fs I convert it to EXT4, check it again, and set the same parameters ownhere has set.

for loopback device I use:

$BUSYBOX losetup /dev/block/loop1 /mnt/asec/extdata/ext4

$BUSYBOX mount -t ext4 -o loop,sync,commit=3,barrier=1,nouser_xattr,errors=continue,noatime,nodiratime,nosuid,nodev /dev/block/loop1 /mnt/asec/tmpdata

the losetup is needed, because for some reason it won't mount as loop. But this way it is working.

Other parts of the script are untouched.

Regards,

byr2
[Hero, G2 Touch Android Development] byr2:
"Are you running this stable? Reboots? All apps show after reboots?"

Till now everything runs OK, no reboot, all widgets, apps, settings were preserved. After reboot also everything OK. Made some phone calls, no problems so far.

Just with Class4 SD card the speed gain is not as huge as expected. The IO performance is slightly better, but not too much. I've read posts on CDMA Hero forum, where they managed to get quadrant score over 700, but I'm sure not with a Class4 SD card :)

But the funniest thing in settings is: Available internal phone storage: 1,17Gb :D
[Hero, G2 Touch Android Development] treesurf:
Excuse me for the noob question, but what this process basically does is make the entire phone run off of an ext4 partition on the SD card?
[Hero, G2 Touch Android Development] byr2:
No, not the entry phone, just the /data directory is moved to ext4 partition (wich is accessed frequently by the OS, and where applications and application related data are stored). The kernel, firmware, etc. remains on the NAND.
[Hero, G2 Touch Android Development] petsasj:
I wonder what one does when flashing a new ROM =/ You have to go through this procedure every single time? What does AmonRA do when you Wipe Data/Factory Reset?

So essentially the differentiations are due to the fact that we lack a /system/xbin/mkfs.ext4 (since we only have an ext2) and you turn the first EXT4 partition into a non journaling one to fill the lack of that, if i understand correctly.
[Hero, G2 Touch Android Development] byr2:
If you flash a new rom, then all this is gone, since if will overwrite the /system/etc/init.d where our data2ext script is located. So you're right, you have to do this every time you flash a new ROM. A solution would be to pack this script into the ROMs, so it would work out of the box without this hack mentioned in the first post.

The data/factory reset wont work I think, because it deletes from the nand, but since our data/settings are not on the nand but the SD, it will have no effect.

the first ext4 partition is non journaling because ownhere write the script so. You can read in his post why he choosed to do so.

The first EXT pratition where /data is stored is a EXT4 part without journaling

The second EXT partition where the loop file is stored is an EXT4 part with journaling

and the LOOP file which contains an EXT4 partition without journaling

from ownhere's post:

"EDIT:2010/12/12 update V4 script:

/data/:ext4, disable journaling

/data/data:ext4 loopfile on ext4 device, enable journaling on ext4 device, disable journaling on ext4 loopfile, for fast and stable sqlite3 access.

really smooth this time. please trying..."

This is the setup here also.

byr2
[Hero, G2 Touch Android Development] petsasj:
I see, the script is essentially the same, with your own critical changes to fit the Hero.

Now what i am trying to understand is what happens when you want to flash a new ROM.

Say you place the 04data2extV4 script in the new ROM's /system/etc/init.d and remove the other two scripts if they exit (05mountsd and 10apps2sd). Does this mean the partitions and this whole process won't have to be repeated?

Also when installing a new rom it is recommended you wipe data and system, if AmonRA doesn't wipe, what do we do?
[Hero, G2 Touch Android Development] byr2:
Well, I've not tested to install a new rom, but let think:

- the partitions are preserved on your SD, so repartitioning is not needed.

- but as you mention all data/settings are currently on your SD, so a wipe does nothing with it, and if you simply put the 04data2extV4 script back to init.d I think it will mess things just up... but if you just delete everything off the two EXT partitions I think it will be fine
[Hero, G2 Touch Android Development] petsasj:
That's the only limitation i have so far as to not attempting this.

I wonder if i can mod the AmonRA Recovery to delete the content of those 2 partitions instead =/

I'm going to have a look.
[Hero, G2 Touch Android Development] Proz0r:
Nice work! :D

By the way, I was thinking. Why not just make an ext partition, add a line for it in fstab and set the mountpoint for it to be /data. What would happen if I tried this?
[Hero, G2 Touch Android Development] dkelley:
Byr2.... just wanted to say this is first thing i read today and without coffee all I heard was

Blah blah blah dangerous blah blah blah faster blah blah risk blah blah even faster

Lmao

Once I get my head working it should prove interesting though

Thanks for this experiment
[Hero, G2 Touch Android Development] dkelley:
ok, sitting down at pc now, drinking espresso...

this is starting to sink in :-)

Instant benefit is huge storage space which, coupled with the method used, ought to have a general performance improvement over previous ext-based apps2sd, right? if so then removing ext-based apps2sd and using this script concept instead seems like a good plan if, for example, every rom builder switched to this concept and removed old apps2sd stuff simultaneously. Does that sound right or wrong?

if you have a fast sd card then the speed benefit should be very good, better than using ext-based "apps2sd" since it's the actual data partition on the ext card.

and I too would like to know the answer to the brief question someone already asked - what about just setting a mount point to data on the sd card and doing it that way in simple linux fashion? I'm not bothering to think this through - coffee's still kicking in - I'll leave the intelligence to you folks who are already awake.

IMHO this idea of yours is quite brilliant as a goal (well ok, it's not your idea, but you did it first on the gsm hero :-). The thing that slows my phone the most is reads and writes to phone memory and to my stock sd card. I can upgrade the sd card but the phone memory writes are still slow. This would improve the speed of the largest file writes when managing my apps and installing from the market which we all know brings our phones to a standstill briefly during installs and so on.

How's the performance when installing apps? does your phone still crawl for a bit at those crucial moments or is it all somewhat less of a dramatic slowdown now?
[Hero, G2 Touch Android Development] byr2:
Hi All!

Well, If you do not change the ROMs frequently, it should not be a problem that ROM developers do not include this script. However till now only one ROM developers have taken care about this opportunity, I think it was Cronos. They have a modified ROM wich supports this kind of functionality.

The speed gain over app2sd comes from storing the whole data partition on a faster SD card than the internal NAND. As my tests show a class4 SD card is slightly faster than the internal NAND (not much, say about 5-10%). A class6 SD card could be much more faster. All application access the data partition to read and write settings/data. Even the Frimware stores things there, so if you have a fast SD card, overall system performance could be great.

Not to mention about stored data space. With app2sd you only store the downloaded apk-s on the EXT. With data2ext you have extra space for the application data/settings/cache wich size is determined by you and your SD card size ! (See screenshot!)

A simple fstab modification could work, however the script does do a lot of things beside copying everything to EXT. It also sets up some symlinks during every boot, so a part of the script is needed always. Also there is 2 EXT partitions, and the /data/data is stored on a 2nd EXT partition in an EXT4 loop file image :) So it's not that easy to simply mount it via fstab.

byr2
[Hero, G2 Touch Android Development] treesurf:
Hahaha. I've read this several times now and still all I get is what you wrote above. :D