yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] BuPe:
GPS anomalies

I am still running GM2 3.0 on my THL W8 16GB. I still love it!

However yesterday we were driving home (about 200km) and I tried to use Waze for navigation and during the way home I noticed the following:

Waze kept constantly loosing the GPS fix. However as soon as I went into Mobile Uncle Tools/Engineering Mode/YGPS it got back the GPS in a couple of seconds. As long as I was in YGPS everything worked like a charm, Waze in the background was navigating properly (voice directions were working) however as soon as I switched back to Waze it lost the GPS signal again. I could repeat this at least a dozen times with the same results.

Do you have any idea what could be going on in the background? How can I troubleshoot this? Based on the little Android I know this seems to be a software issue, since if I had a hardware issue with the GPS then YGPS would not be able to provide accurate information either, right?

---------- Post added at 11:43 AM ---------- Previous post was at 11:03 AM ----------

Good question (16GB re-partitioning)! This is interesting for me as well because in my opinion it makes no sense to have a 2gb system partition, 6gb for apps and a separate 8gb as internal sd. I would rather have the 6gb + 8gb partitions merged. Is this possible, is there a script that can do this?
[Miscellaneous Android Development] d3xtr0:
x2 :P
[Miscellaneous Android Development] ch-vox:
when you're in YGPS, tap on Menu button > Enable Run in BG (Need Restart), it should allow YGPS to stay in background while using another GPS apk.

:)
[Miscellaneous Android Development] d3xtr0:
edit: Forget it
[Miscellaneous Android Development] C3C076:
Currently, I am not planning any further mods to GM2 itself. GravityBox takes all of my free time.

Anyway, camera quality - it's all about optics quality. I don't think adding bravia would help here. You'll probably get

another placebo effect. But I will make som experiments with it when I have some free time.

Hmm. Yesterday, I was driving 500km with Waze constantly on for 6 hours and I didn't notice any GPS dropouts. So hard to tell what's wrong if I can't reproduce it. You could maybe try that YGPS "run in background" trick.

Regarding repartitioning of 16GB. I can do flashable repartitioning package if you give me your original EBR1 and EBR2 files and info

how you would like to have your memory split (how much internal storage and how much phone storage). You cannot merge martitions.

But resizing is possible.

But note, that I won't be able to test it myself since I don't have 16GB version. This means you have to take a risk of flashing it.

You have to delete your contacts. This means - clear data of "Contacts provider" in Settings / Apps.

Reboot after clearing contacts. After your contacts are synchronized and after you delete existing conversations, it should be OK.
[Miscellaneous Android Development] vargasjj:
Hello C3C076. Thank you for this post. I have a ThL W8+ (plus). I flashed this GravityMod2 and is running smooth. It's really great. However, I was wondering, is there any way to get USB-OTG on this smartphone?

Thank you.
[Miscellaneous Android Development] sipart:
Anybody else having ram issues? Considering buying a w8s (2gb ram, gorilla glass screen) just because of this, sell the Beyond on eBay.
[Miscellaneous Android Development] Griffiniti:
W8S (32Gb Rom)

Will this ROM work on the 32Gb ROM version of the W8S?

If not, using normal flashing methods, what additional steps may be required to ensure the right partitioning?
[Miscellaneous Android Development] jasonbd:
This is the notification you should expect after plug-in USB cable.
[Miscellaneous Android Development] jasonbd:
After setting phone book to display contacts from one source, let say google contact, should I expect search activity limited to google contact only? My search result also shows contacts from SIM. Is that normal?
[Miscellaneous Android Development] satiros:
[MENTION=5008415]C3C076[/MENTION]

Thats my question two im going to buy W8s

And you are our only hope!
[Miscellaneous Android Development] d3xtr0:
I know what you taking about. But it doesn't appear. The only feedback I have is the charging red led. :(
[Miscellaneous Android Development] C3C076:
We have GravityBox.

There's no need for custom ROM unless you miss a specific language in stock ROM.
[Miscellaneous Android Development] ace1774:
I allready ordered w8s.From specs it seems identical to W8 Beyond except RAM from 1 to 2 and ROM 16 to 32 ...ohhhh and screen ir Gorilla Glass 3...

If someone can verify and test....

Mine will arrive in 15 to 20 days
[Miscellaneous Android Development] C3C076:
New generation of GravityBox released:

GravityBox latest version

Download: GravityBox v2.0.0

Flash via clockworkmod recovery. No wipes needed.

Changelog 2.0.0 - 08/08/2013

- added support for non-MTK devices running vanilla Android

- compatibility adjustments to support non-MTK devices and Android 4.3

- smaller font for day of week and AM/PM in statusbar clock

- added AM/PM indicator for ROMs where missing while 12h format is set

- option to set Notification drawer style

--- default background

--- color fill with 2 modes: overlay/underlay

--- independent custom images for portrait and landscape

--- background transparency level

- NetworkModeTile: added support for LTE network type to switch between LTE and GSM_ONLY (non-MTK only)

- option to show circle battery without percentage

- option to disable Roaming indicators (MTK6589 only)

- other compatibility fixes
[Miscellaneous Android Development] Boozezela:
Hi,

I have noticed the following on my W8+

2.0.0

- smaller font for day of week and AM/PM in statusbar clock

This is half the size of the font used for the clock. Is this the size you had in mind?

- option to disable Roaming indicators (MTK6589 only)

Does nothing on the fly on SIM2. Is reboot required?

1.8.5

- option to set statusbar icon color and data activity indicators color

Enabling this option the icons for WIFI and SIM1 change shape and looks blurrier, SIM2 stays the same..

See attached screenshots (zipped to avoid jpg compression artifacts).
[Miscellaneous Android Development] C3C076:
Yes.

It shoud work on the fly. I couldn't test this myself since I don't have a roaming operator nearby.

I might have missed something

EDIT: I think I've found a bug. Will be fixed in the next minor release

This is known. As I explained previously. To be able to apply PorterDuff color filters on signal icons I had to

take them from ParanoidAndroid since original ones are not suitable for color filtering.

Those from PA have slightly different shape.

SIM2 is the same as stock only if you have set different color for it in SIM management (the same applies to SIM1)
[Miscellaneous Android Development] Boozezela:
I must have missed the message. If you tell me what resources are you using from PA and where to find the icons within the stock ROM, I can try to see how they differ and edit them in Photoshop (which should be a conversion to SVG if I understand correctly).
[Miscellaneous Android Development] C3C076:
Hdpi:

https://github.com/C3C0/GravityBox/tree/master/res/drawable-hdpi

Xhdpi:

https://github.com/C3C0/GravityBox/tree/master/res/drawable-xhdpi
[Miscellaneous Android Development] C3C076:
BTW, I forgot to write that that would be great. I don't have graphics skills at all.
[Miscellaneous Android Development] Boozezela:
I have checked the resources directly from GB APK and it seems that the icons have mostly a single color (R:56 G:147 B:181), apart from some pixels on the wifi-icon edge that have different transparency. They also have some strange white/dark gray framing whose utility I don't understand (EDIT: probably a problem with my ancient photoshop version).

The blurriness is probably caused by scaling due to the lack of an icon size suitable for 1080p displays.

Do you remember where the icons are stored in the stock/GM2 ROM?

What issues were you having when you tried to use stock icons and PorterDuff.mode ?

Thank you.
[Miscellaneous Android Development] C3C076:
Applying any color filter to stock icon made icons with full signal level. So it didn't reflect signal levels at all but they were at max signal without divider between bars (don't know how to explain better). This is because stock icons lack necessary transparency areas.

The stock icons are in SystemUI.apk.
[Miscellaneous Android Development] Boozezela:
OK, I understand what the problem is:

- The color filter gets applied to the whole icon

- The icon gets flattened to 1 color, regardless of how many colors it had originally.

- Areas that are transparent will still show as transparent (slightly colorised)

- Areas that were opaque will show as opaque (and fully colorised)

The stock icons for WiFi have black lines between bars and a dark grey color to indicate lack of bar/signal (the separator for the stat_sys_gemini*.png cellular icons is 100% transparent), so when you try to color filter them, you always have icons with full signal.

This approach has the following potential problems:

- Even with transparency set properly on icons will always be monochromatic

- Radio off (stat_sys_gemini_radio_off) would be garbled unless we change the icon

- You cannot represent properly (unless you code exceptions) special cases the following:

- Data connectivity withouth cellular data (stat_sys_signal_1 to stat_sys_signal_4 would render the same)

- Wifi connecitivy without Google data (stat_sys_wifi_signal_1 to stat_sys_wifi_signal_4 would render the same)

I know how to fix the icons, but I am not sure about the following:

- For a 1080p screen do I have to use icons from drawable-sw720dp-xhdpi (up to 52x48 but with different names) ?

- Do I need to sign GravityBox APK if I replace icons in the APK?

BTW the indicator for the default SIM to use for SMS/Call at the moment stays unchanged.
[Miscellaneous Android Development] C3C076:
No. It should work when you open apk with WinZip (or whatever zip program) and drag in new images.
[Miscellaneous Android Development] Boozezela:
I'll do some editing on the stock icons in the next 24 hours, it should not take long since the 28 icons are quite similar.

I will pretend the icons for the battery are the same (they are not :) ).
[Miscellaneous Android Development] C3C076:
Note, that I am coloring only icons contained in maps here:

https://github.com/C3C0/GravityBox/blob/master/src/com/ceco/gm2/gravitybox/StatusBarIconManager.java

For mtk, there are only 4 for mobile signal I am taking care of. Mtk ROMs don't use fully/not fully icons to indicate connection to Google services.

Also I am not coloring special state icons like no signal and "searching for network"
[Miscellaneous Android Development] Boozezela:
Duly noted. :)
[Miscellaneous Android Development] Boozezela:
EDIT:

I have edited the following files:

Celular:

stat_sys_signal_1_fully.png

stat_sys_signal_2_fully.png

stat_sys_signal_3_fully.png

stat_sys_signal_4_fully.png

Wifi:

stat_sys_wifi_signal_1_fully.png

stat_sys_wifi_signal_2_fully.png

stat_sys_wifi_signal_3_fully.png

stat_sys_wifi_signal_4_fully.png

There are the following defects I may have to address:

Opacity of WiFi and mobile signal is different from the opacity of the partially depleted battery

Because of the way I have prepared the WiFi icons, there is always a small transparent gap between signal bars, instead of having an opaque contiguous "slice" for the lack of signal when we have only 2 or 1 bars available.

The gap between the bars for the mobile icon is 2 pixel and not 1. Is it possible that the W8+ uses a different icons set by default?

I have also noticed that the WiFi icon shifts by 1 pixel down and 1 pixel left, while the mobile icon shifts by 1 pixel up and 1 pixel right. I am not sure why since I have edited the files without changing position, but I can see the icons to the LEFT of the WiFi icon moving when I toggle "Icon colors" as if the icons are actually rendered at a different position.

The archive contains also the stock untouched icons stat_sys_wifi_signal_1.png to stat_sys_wifi_signal_4.png, since the CRC were different.

EDIT2:

Icon shifting could be related to different size:

BG hdpi Cellular 29x27, WiFi 30x26. Stock hdpi: cellular and WiFi 30x27.

BG xhdpi Cellular 39x36, WiFi 42x36. Stock xhdpi: cellular and WiFi 39x36.
[Miscellaneous Android Development] C3C076:
Thanks. I'll check and include these in the next minor release. Great job.

EDIT: OK. I tried the new icons. The shape seems to be OK now.

Now only if you could make them the same size it will be perfect.
[Miscellaneous Android Development] Boozezela:
At the next iteration I will use the same size as the icons from PA.

I have already fixed the gap for the cellular icons bars, and I will also fix the other defects, hoping to have a seamless transition between stock and "custom colored".

BTW I have noticed 2 small bugs when

- You switch "custom icon colors" on AND

- The phone is charging AND

- You are using the "stock battery icon"

What happens is that

1) When you switch ""custom icon colors" on, the colored icon switches to the charging one, but it does not animate

2) When you switch "icon colors" off, you lose the "charging" state and the battery icon reverts to the non charging one

Circle and circle with percentage work fine as they retain their charging/non charging state when you toggle "custom icon colors" on and off.
[Miscellaneous Android Development] C3C076:
You have to do it other way.

PA icons need to be adjusted to match the size of stock icons.

I am not replacing stock icons. They remain the same.

I only switch to PA icons when coloring is enabled. Otherwise stock ones are used.

About stock battery glitch. Yes, this is a known issue. There's currently no way how to make stock icon battery animate when coloring is enabled.

It was mentioned in the changelog. Also when you disable coloring while charging, stock icon should show correct state after some while e.g. when

battery level change event occurs.
[Miscellaneous Android Development] C3C076:
GB version 2.0.1. Mainly bug fixes.

GravityBox latest version

Download: GravityBox v2.0.1

Flash via clockworkmod recovery. No wipes needed.

Changelog 2.0.1 - 09/08/2013

- fixed option for disabling roaming indicators (MTK devices)

- fixed AM/PM showing only when Day of week enabled on some devices

- improved scaling of "clear all recents" button

- allow overlay/underlay modes also for notification drawer custom images

- yet another attempt to fix 2G/3G tile for LTE network

- updated French translations (thanks to ch-vox)
[Miscellaneous Android Development] lictenau:
Great ROM, is there anyway to activate the recent app function instead of using task switcher?
[Miscellaneous Android Development] C3C076:
On what rom?
[Miscellaneous Android Development] arcadesdude:
Hardware key actions, switch to previous app. Is that what you mean? I have mine set to double tap menu button.
[Miscellaneous Android Development] Boozezela:
Then there is nothing to do size wise because I have done the editing directly on the stock icons, not on the ones included in GB.apk. This means that when you colorise and switch on the fly the stock icons with the ones I gave you, you are switching to icons that already have the same size.

Unless the stock icons from the W8 are slightly different in size or the XML for the layout and positioning are different between W8 and W8+ (or the W8+ is using other icons altogether like xdpi 720p).

Do you see the icons shifting when you toogle colorising on and off on your W8?
[Miscellaneous Android Development] lictenau:
had it in my htc hd2 nexus and evo hd roms where you can call up a list of previously opened apps not just the last one.
[Miscellaneous Android Development] arcadesdude:
Holding home in ASOP android gives you this option.
[Miscellaneous Android Development] drn508:
i have also the same your phone but i have problem with 3G not working

i tried many times to turn on 3G but 3G not work at all

can you help me to turn on 3G on my cubot g99?
[Miscellaneous Android Development] drn508:
i have also cubot gt99

do you have rom 4.3
[Miscellaneous Android Development] C3C076:
Guys, you are off topic.

I suppose, that there's a dedicated thread for cubot port of GM2. Please, direct your posts there. Thanks.
[Miscellaneous Android Development] d3xtr0:
isn't this an android function? Press and hold home button?
[Miscellaneous Android Development] lictenau:
Got it, thanks, was a soft key in my other phones.:good:
[Miscellaneous Android Development] C3C076:
GravityBox v2.1.0 available for flashing.

GravityBox latest version

Download: GravityBox v2.1.0

Flash via clockworkmod recovery. No wipes needed.

Changelog 2.1.0 - 13/08/2013

- CyanogenMod Pie Controls featuring:

--- pie can be dragged and snapped to any screen border

--- allows up to 4 independent pies, for each screen border

--- option to show/hide search button

--- option to set pie size (navigation key size)

--- option to hide navigation bar while pie is on (for devices having navigation bar)

--- option to disable HW keys (menu,back,home) while pie is on. HW key long-press and double-tap actions

will still work (for devices having HW keys)

--- additional MENU pie key is available while HW keys are disabled

- Button backlight modes (in Display tweaks)

--- standard mode (default)

--- disable button backlight

--- keep button backlight on while screen is on

- Button backlight notifications (experimental)

--- lights up button backlight when there's a notification and screen is turned off (for devices that lack notification LED)

- Dithered Holo background is now optional

- Improved existing reboot menu detection algorithm

- Option to use dark theme for GravityBox UI (in About menu)

- Clear all recents revamped

--- option to set position of clear all recents button (any screen corner)

--- option to adjust top margin of clear all recents button (e.g. when covered by statusbar)

- updated Slovak, Czech, French (thanks to ch-vox & Matx13) translations
[Miscellaneous Android Development] muratzilla:
Does anybody have a solution for slow charging on ThL W8 Beyond (and most likely other W8 models).

I'm using nexus 7 charge (2 amps) which is better quality than stock charger but it takes forever to fully charge phone. I have to put it overnight for full charge.

I'm using GM2 3.0 rom.
[Miscellaneous Android Development] clio94:
Hello.Is there any way to make a mtk6589 device to support adhoc wifi mode?

Thank you
[Miscellaneous Android Development] gerstavros:
Use a slower charger, 2A is too much for the phone and it stops down the current. Don't use more than 1.5A. With the given 1A charger, phone charges in less than 2 hours
[Miscellaneous Android Development] mroussev:
THL W8 charger is 500mA, and battery is 2000mAh, so charging is 4 hours. Pretty much normal for me, slower charging is better for battery. How you have 2A charger and still charge phone so longer ?(i assume that by "forever" you mean at least 4 hours?).
[Miscellaneous Android Development] ch-vox:
I'm trying for a couple of days MIUI v5 ROM from paolothlw8, everything works really fine, and I've noticed that with this ROM, I was able to wake up phone from deep sleep by pressing Home physical button. I thought it was impossible with my ThL W8 8GB, no one has succeeded in it so far, but MIUI ROM has this fonctionality... It adds also wake up from deep sleep fonction through Volume +/-.
[MENTION=3959698]c3c0[/MENTION] : how could I help for implementing this fonction in GravityMod or GravityBox ?
[Miscellaneous Android Development] mroussev:
Other rom from [MENTION=1271587]PaoloT[/MENTION]hlw8 http://www.androidiani.com/forum/thl-modding/328949-rom-thl-w8-beta-miui-v5-italiano.html also has this feature.
[Miscellaneous Android Development] ch-vox:
I've just gone back to GravityMod ROM and have tried Home Button mod :

- found mtk-kpd.kl file in system/usr/keylayout folder

- edited it :

key 102 HOME [COLOR="Red"][B]WAKE[/B][/COLOR]

as I've already done in the past unsucessfuly, but today it WORKS !

I can wake up my W8 8GB from deep sleep by pressing Home button... weird ! :eek::victory:

EDIT :

after reboot, it still works but I need sometimes to click twice or more on Home button to wake from deep sleep, while in paolothlw8 MIUI ROM hitting it once was sufficient... in facts, the result is the same as few months ago. I'm going to ask paolo how this fonction is coded.
[Miscellaneous Android Development] C3C076:
GravityBox latest version

Download: GravityBox v2.1.1

Flash via clockworkmod recovery. No wipes needed.

Mainly bug fixes...

Changelog 2.1.1 - 15/08/2013

- fixed Pie compatibility issues for Android 4.3

- added support for MTK8389 (thanks to bgcngm)

- option to disable warnings when sending messages or making phone calls while roaming (MTK only) (thanks to ludoo for testing)

- allow minimum brightness as low as 10 (use with caution)

- clear all recents: preserve existing clear all button if it exists (e.g. if implemented by custom rom)

- updated French translations (thanks to ch-vox)
[Miscellaneous Android Development] djgu:
hi there,

thx 4 the mod, but some questions:

is it possible to activate glonass support for the w8/w8+/beyond?

The Chip should be aware to use.

any possibilities??
[Miscellaneous Android Development] C3C076:
Mtk6589 doesn't support glonass.
[Miscellaneous Android Development] clio94:
Ηello.What about wifi adhoc mode? Do you know if we somehow enable it or it is hw limitation?

Thank you
[Miscellaneous Android Development] ch-vox:
I'm still investigating, and I've gone back to MIUI. In facts, wake from deep sleep doesn't work every time as people noticed few months ago (in May if I remember well). tapping on Home button sometimes wakes the phone, sometimes not. It seems that double tapping (very fast) wakes more frequently from deep sleep. I think [MENTION=5008415]C3C076[/MENTION] was right : it's barely impossible to obtain such a fonction with Home button. sad but true... :crying:

I'm stopping my empirical research for now. :D
[Miscellaneous Android Development] akkhyd:
Internal system space and "3G","G","E" icons

Dear friends, I got THL W8S 2gb-32gb, but the internal system space is around 600mb and data space is 3.3GB. Any help on how to increase internal system space to 1GB and reduce data space to around 2.3GB.

Also request you to provide any fix to show "3G","G","E" icon next to network signals like in Lenovo phones.
[Miscellaneous Android Development] THUNDERASS:
it ll be support overclock(cpu+gpu) future?or how can we overclock ?
[Miscellaneous Android Development] akkhyd:
It is proper 2gb-32gb W8S model. Not cheated :), tested on antutu, everthing is fine. No doubt about it. Only issue is no 3G G, E icons. Any idea how to fix.
[Miscellaneous Android Development] chenrp:
i have W8S and i see that there is no FPS cap! maybe the new ROM has no cap in it.

does anyone uses GPS with W8? ( i have a problem getting fix after a long time) maybe this ROM fixed the GPS problems?
[Miscellaneous Android Development] kenturky:
I tried your method, and it works.... thanks a ton.... im overjoyed i found a way to wake up the phone via home button.... :victory:
[Miscellaneous Android Development] Ant007:
Have just got myself a parrot mini neo Bluetooth unit and am having a few problems. Whenever I make a call, the call is successful using Bluetooth but when the call is ended I lose my mobile connection and the phone then has to search for the cell signal. That by itself is not so much of a problem but when I receive a call and try to use Bluetooth to answer it the signal is lost straight away and the call is lost. The unit works ok with both a Nokia and an HTC phone so that isn't the problem. The same things happen with two separate W8 16g phones, both running version 3 of this ROM from new, one with gravity box 2.1 the other is running 1.8 . Anyone else having similar problems or have Bluetooth working ok?