yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] C3C076:
Since no other translations came to this date, I'll probably release 1.5.1 immediatelly. So French, Danish and Ukrainian people don't have to wait anymore. Thanks for reminding me.
[Miscellaneous Android Development] ch-vox:
you're welcome !
[Miscellaneous Android Development] C3C076:
GravityBox latest version

Download: GravityBox v1.5.1

Flash via clockworkmod recovery. No wipes needed.

Changelog 1.5.1 - 15/07/2013

- updated Danish translations (thx Mr.Premise)

- updated French translations (thx ch-vox)

- added Ukrainian translations (thx alex_glbr)
[Miscellaneous Android Development] lauchon03:
hello all, I have a few days using version 3.0 on my w8 +, sorry slower, you can change the effect of opening windows, transition etc?
[Miscellaneous Android Development] C3C076:
In developer options. You must unlock hidden developer settings in GravityBox app first.
[Miscellaneous Android Development] nolinuxnoparty:
Sorry for posting here but I think this is the only rom available for the THL W8 yet

I have made 2 roms

1 is MIUI v5

2nd is a Touchwiz Themed rom :D

Sorry OP
[Miscellaneous Android Development] Senapone:
For which terminal?
[Miscellaneous Android Development] d3xtr0:
Some tweaks from another rom

First thanks again for your great work. Is the best rom so far for our w8. :)

I've tried this rom http://www.androidiani.com/forum/thl-modding/301573-thl-w8-jellybean-4-2-2-rom-samsung-style.html

I would like to know if it's possible to import some tweaks like audio improvement, 4.2.2 keyboard and possibility to turn of leds lights.

Thanks
[Miscellaneous Android Development] SolidKiwi:
Will you release this ROM for W8 Beyond as well sometime in the future? I would love to have it
[Miscellaneous Android Development] Senapone:
If you look on page 111 you'll find that v3.0 for W8 Beyond has already been released. ;)
[Miscellaneous Android Development] sipart:
Can't help with anything else but google keyboard is in the play store for anyone on 4.0+ to install. May also be generic apps in play store that allow control over the led.
[Miscellaneous Android Development] kidmar:
v3 already lets you turn leds off during charge and makes volume steps smaller.

What do you need exactly?
[Miscellaneous Android Development] SolidKiwi:
Cheers!
[Miscellaneous Android Development] mroussev:
Volume steps are just volume steps. He means audio levels in Engineering Mode. Since i am with this ROM too, it really has all audio levels maxed out to 160/255 in Engineering Mode. Its not a big deal ,everybody can adjust them http://xdaforums.com/showpost.php?p=41145394&postcount=140 but it is good to be include in ROM too. One thing less to adjust when you install the rom for first time...
[Miscellaneous Android Development] peptonib:
Beyond arrived this afternoon.

flashed CWM without any problem (instructions followed)

flashed thl w8 beyond gravitymod2

Now configuring the system.

All OK and working.

Thanks!

:victory:
[Miscellaneous Android Development] sipart:
Which instructions did you use to get cwm on your beyond? Not got mine yet but getting prepared :)
[Miscellaneous Android Development] peptonib:
[MENTION=515917]sipart[/MENTION]: http://xdaforums.com/showthread.php?t=2237779 :good: Our hero is CECO, and the beautiful PDF is from [MENTION=2845536]birdyisme[/MENTION] !!!
[Miscellaneous Android Development] nolinuxnoparty:
Yo B|

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

Test and give reviews :D

@OP, I have something more :p
[Miscellaneous Android Development] C3C076:
Actually, if you used that how to PDF, you should thank [MENTION=2845536]birdyisme[/MENTION] instead :)
[Miscellaneous Android Development] C3C076:
Patchrom approach? Or some other way?

I'm not a fan of miui but will definitely try just for curiosity.
[Miscellaneous Android Development] nolinuxnoparty:
Well, as W8 is MTK Device I didn't even try to compile from source :v

I just ported it :v

I am going to post LeWa tomorrow :D
[Miscellaneous Android Development] C3C076:
There's already official lewa released by thl and available for download on their Chinese version of official site (for youth version of w8 which is basically 4gb one)

http://xdaforums.com/showpost.php?p=40967534&postcount=163
[Miscellaneous Android Development] d3xtr0:
Hey. I was talking about touch buttons, on regular use( menu and back key). Audio is really improved, those parameters on engineering mode.

Nothing really important but ok, just inocent question.
[Miscellaneous Android Development] peptonib:
How is that on my new, flaming, shiny, glossy white, W8 Beyond the "developer options" only include a subset of options?

I only get:

Engineering mode

Stay awake

USB Debugging

Allow mock locations

This happens with stock rom and with GM2. Am I missing something?

I cannot live without speeding up animations. I am now watching second or two long transitions getting on my nerves... :D

Help!

Note: Spare Parts does not change animations speed, Framework Tools does not change animations speed either...
[Miscellaneous Android Development] C3C076:
GravityBox / General fixes / Advanced developer options ;)
[Miscellaneous Android Development] peptonib:
:eek::eek::eek::eek:

You saved my life (again... ). I did not see that option at all..

thank you.
[Miscellaneous Android Development] Senapone:
Right governor settings could make a lot, especially on battery life. Underclock features is quite understimated.

What about undervolt?

By the day by day using i didn't feel like needing an external card.

This is mainly my case too.

I remember when setting right sysctl config values on my xperia X8 makes it usable. ;)

Do you mind sharing your last values? (i'm on W8+ and you on W8B but the sysctl values should be quite the same)

Au contraire! Your experiments rocks! :highfive:
[Miscellaneous Android Development] peptonib:
[MENTION=2024625]Senapone[/MENTION]

I think our kernel does not support any governor tweaking and/or undervolting. [MENTION=5008415]C3C076[/MENTION] is this right?

My main benefit on using Link2SD is not on space optimization, but on speed. I can feel how, either of this two: concurrent read from internal and external sd is quicker than only internal read AND/OR internal memory is slightly slower than my external SD (this could not apply to all SD...)

Anyone knows any program to test speed of: internal memory, internal sd, external sd...? I found several for external and internal SD, but not for internal mem.

I will let you know about how my testing goes on.
[Miscellaneous Android Development] C3C076:
If I remember correctly, there are like 4 governors to choose from (ondemand, hotplug, performance, ???)

You just need some app to choose.
[Miscellaneous Android Development] peptonib:
[MENTION=5008415]C3C076[/MENTION]: Can I flash 3.1 and 3.2 upgrades to 3.0 Beyond ROM? I guess no...

Thanks

---------- Post added at 12:03 PM ---------- Previous post was at 11:59 AM ----------

Yes. But we cannot add others, do we?

I've seen the option to change governors in some apps, but I did not realize they were implemented. Thanks. :good: I'll try them.

EDIT: Nice page about governors

2nd EDIT: At least with ROM Toolbox, I can change I/O Scheduler and Governor, but they don't survive a reboot. System goes back to "cfq" and "hotplug"...
[Miscellaneous Android Development] C3C076:
Makes no sense to flash 3.1 or 3.2 on beyond. These are just hotfixes for 4gb/8gb.
[Miscellaneous Android Development] chentz78:
Hi [MENTION=5008415]C3C076[/MENTION],

Any plans to a version of the GM2 based on JB 4.2.2 ? And is possible, in next version, include "Call settings" in "Settings" and show the option for config short vibrate on outgoing calls ?
[Miscellaneous Android Development] Senapone:
I used to set governor and min/max speed in performance menu under cyanogenmod.

How to set them with GM?
[Miscellaneous Android Development] peptonib:
SetCPU, Rom Toolbox, etc.
[Miscellaneous Android Development] Senapone:
Are you saying i can finally use SetCPU with all 4 cores running? :victory:
[Miscellaneous Android Development] peptonib:
Just now I'm checking set CPU, and it seems to survive reboots.

Edit: it does not survive a deep sleep...
[Miscellaneous Android Development] d3xtr0:
I'm using no-frills CPU and it survives to reboots. But, about 4 cores, just one governor supports them(hotplug). At least that was what I found out by analysing CPU-Z information after change the governor. Just two cores work I guess. Tested it with antutu, governor performance, get 8473 and with hotplug got 11261 aprox. Btw I'm using 988 max and the minimum possible with noop scheduler.

Would be great if we can have more freq available and smartassv2 governor. With my old android I used roms with smartassv2 and the power consumption were improved a lot. For mtk device I only found this: http://xdaforums.com/showthread.php?t=2186957&highlight=mtk6589 but that's dual core cpu. Probably If someone can get Acer Liquid E2 kernel we could get their governor, once it's mtk6589 based phone.
[Miscellaneous Android Development] C3C076:
On my previous device, I even made own governor that was based on smartassv2.

https://github.com/C3C0/zte_skate_35/commit/5d1f7e030995e2e70cea6ee7b3c2d40e1481901c

But... We can't do anything like that on w8 without kernel source code...
[Miscellaneous Android Development] Indiant:
C3C076,

I've found a cwm touch recovery for W8. It is working, but full chinese.

I hope the developer will respond and maybe an english version... or source..
[Miscellaneous Android Development] C3C076:
Touch cwm recovery is closed source.
[Miscellaneous Android Development] C3C076:
I finally managed to find some time to update the first post.

- added GM2 3.0 for W8+ and W8 Beyond

- added Camera fix patch for W8 4GB that have different camera sensor (camera crash fix)
[Miscellaneous Android Development] =Dynamic=:
I have one problem with my thl w8 4gb.

I have gravitymod2 v3.2

usually, when i edit display illumination, display turns black.

i must remove battery and start up it.

how i can solve?
[Miscellaneous Android Development] C3C076:
You should test with the official FW to see how it works there.
[Miscellaneous Android Development] =Dynamic=:
yes, i flashed another rom, works fine, haven't this problem.

i have two thl w8 4gb, with gravitymod v 3.2 and with this problem.

i think that is the rom :(
[Miscellaneous Android Development] C3C076:
Go to GravityBox / Display tweaks and try increasing minimum brightness level to 30 or 40 (reboot afterwards). Maybe it will help.

You are the first of w8 4gb owners to report such issue.
[Miscellaneous Android Development] C3C076:
GravityBox latest version

Download: GravityBox v1.6.0

Flash via clockworkmod recovery. No wipes needed.

Changelog 1.6.0 - 18/07/2013

- Hardware key actions

--- on Menu long-press

--- on Menu double-tap

--- on Back long-press

--- available actions: search, voice search, switch to previous app, kill foreground app

- Phone tweaks

--- flip action while ringing (do nothing, mute ringer, dismiss call)

--- disable vibrate on call connect

- fixed CRT screen off animation not working on some ROMs

- updated translations: Slovak, Czech, Danish, French, Russian
[Miscellaneous Android Development] Senapone:
Hi peptonib, what about the script you mentioned here?

it's your modified version of the FLY?
[Miscellaneous Android Development] peptonib:
PTSPEED1 script

Hi,

With my "W8 LCD sunday camping party", I was away from this.

Not much done, and probably not done right. Maybe you all can take a look on this:

#!/system/bin/sh

# Tune up/down cpu frequency change threshold. This gets written, but... can't check effect.

echo 50 > /sys/devices/system/cpu/cpufreq/hotplug/up_threshold
echo 5 > /sys/devices/system/cpu/cpufreq/hotplug/sampling_down_factor

# Change default 128 Kb read-ahead cache. This works.

echo 256 > /sys/devices/virtual/bdi/179:0/read_ahead_kb; # Internal SD
echo 1024 > /sys/devices/virtual/bdi/179:96/read_ahead_kb; # External SD. Test also 512 Kb

# enable writeback. this needs ext4 enabled tune2fs.

/sbin/tune2fs -o journal_data_writeback emmc@android;
/sbin/tune2fs -O ^has_journal emmc@android;
/sbin/tune2fs -o journal_data_writeback emmc@cache;
/sbin/tune2fs -O ^has_journal emmc@cache;
/sbin/tune2fs -o journal_data_writeback emmc@usrdata;
/sbin/tune2fs -O ^has_journal emmc@usrdata;

# Ideal mount options. This does not give errors, but... works?

busybox mount -o remount,noatime,noauto_da_alloc,nodiratime,barrier=0,nobh /system
busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,nobh,data=writeback /data
busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,nobh,data=writeback /cache

# This is not working, values don't get written... Help.

# echo 0,3,6,10,12,15 > /sys/module/lowmemorykiller/parameters/adj
# echo 8192,10240,12288,51712,55040,58624 > /sys/module/lowmemorykiller/parameters/minfree

# EDIT: It should work like this

chmod 666 /sys/module/lowmemorykiller/parameters/adj
echo 0,3,6,10,12,15 > /sys/module/lowmemorykiller/parameters/adj
chmod 666 /sys/module/lowmemorykiller/parameters/minfree
echo 8192,10240,12288,51712,55040,58624 > /sys/module/lowmemorykiller/parameters/minfree
[Miscellaneous Android Development] d3xtr0:
kernel?

Could this help? http://xdaforums.com/showthread.php?t=2338535&page=2
[Miscellaneous Android Development] peptonib:
[MENTION=5008415]C3C076[/MENTION]: Do you know where do the "Window animation scale", "Transition animation scale" and "Animator duration scale" values get written when changed from "Developer options"? I'd love to try lower than 0.5X values, even in a manual way. I got 0.25X with framework tools on the W8, but it's not working in Beyond (And yes, I could still saw the transitions at 0.25X... ;) )

Thanks
[Miscellaneous Android Development] arcadesdude:
I also have this problem. Ive only seen it when playing music over bluetooth with auto brightness enabled. I think it has something to do with the auto brightness code since I don't have the issue when on a set brightness like 100%
[Miscellaneous Android Development] peptonib:
[MENTION=5008415]C3C076[/MENTION] Ok. I found the problem: Framework Tool was not working because I did not have SQLite3 installed. I should have RTFL (read the f..... log) before.

As SQLite3 is used by a number of programs, maybe you could consider adding it to GM2.

EDIT: Does the tune2fs version included in GM2 support ext4...?
[Miscellaneous Android Development] kidmar:
On my W8+ display turns black every 30 mins if I enable auto brightness.

Setting it to a fixed value (whatever) solves the problem.

On my device it was introduced with GravityBox 1.5

---------- Post added at 10:58 AM ---------- Previous post was at 10:53 AM ----------

From GM 3.0 / GB 1.5 I've got problems displayng caller's name when receiving calls (only number is displayed).

I've tried using GB fix with no luck.

The only workaround I found was to copy all contacts from the phone to the SIM (2 SIMs).

It's somehow a mess to mantain all contacts triplicated :(

Am I the only one willing to keep all contacts on phone memory only?

Noone else with this issue?
[Miscellaneous Android Development] C3C076:
Regarding brightness. It's weird.

I would understand that it started to appear on 1.5.

But 3.0 is a completely different ROM than 1.5 and they have nothing in common. 1.5 was based on Eastcom rom while 3.0 is based on official THL rom. The one and only changes are added languages and GravityBox shortcut in the settings.

I am not sure about your contacts issue, though. I have my contacts synced with google account. No contacts on SIM card, nor in phone storage at all. And it seems to be working fine.
[Miscellaneous Android Development] kidmar:
I'm sorry, I didn't explain it well (or I don't get what you're saying).

Both problems started with Gravity Mod 3.0 (which includes Gravity Box 1.5)

I'll try moving contacts to google to see if it fixes :)
[Miscellaneous Android Development] C3C076:
Special security release of:

GravityBox latest version

Download: GravityBox v1.6.1

Flash via clockworkmod recovery. No wipes needed.

Changelog 1.6.1 - 19/07/2013

Security release, patching following vulnerabilities:

- Master Key (Bug 8219321) - http://bluebox.com/corporate-blog/bluebox-uncovers-android-master-key/

- Bug 9695860 - http://www.androidpolice.com/2013/0...er-key-goes-public-already-patched-by-google/

Thanks to [MENTION=4322181]Tungstwenty[/MENTION] for original xposed module

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

Before:

After:
[Miscellaneous Android Development] jasonbd:
my phone's speaker can goes very load when play games but when receiving calls, the speaker mode and normal speaker is very soft at max volume. Is it my phone only or there is a way to boost the volume?
[Miscellaneous Android Development] ch-vox:
take a look at this post : http://xdaforums.com/showthread.php?p=41145394#post41145394
[Miscellaneous Android Development] Boozezela:
Strange: with THL W8+ 1.0.7 BlueBox Security Scanner says that the phone is already patched.
[Miscellaneous Android Development] C3C076:
As I said, it is. But there's still the second vulnerability which is not (check my screenshots above). Since GB is multi-device app, it contains both patches. So even if w8 ROMs are patched, there might be other devices for which master key was not patched.

Bluebox scanner checks only for the first one. AppScanner does both.
[Miscellaneous Android Development] sipart:
Hi C3C076, thanks for this great ROM - I've shown my appreciation with a donation on it's way to you :)

I got my thl W8 Beyond this week and very, very impressed - especially as I bought it in a www.antelife.com group deal they had the other week and got it for £148 delivered to the UK (two batteries, flip case and screen protector in the box - great :D ).

Your ROM was the cherry on the cake as the shipped ROM (which was basically stock) didn't have UK English - and the gravity mod features and root just make everything so much better.

Anyway - I have a couple of points:

1.) I think this may be a Gravity bug? I set the widgets on the lock screen to be full screen, but then I didn't like this, so unchecked the option and rebooted - but they have stayed full screen? But to be perfectly honest now I have the option in Gravity to unlock using the Menu key I am now going to leave widgets full screen (without this and widgets full screen the process of unlocking was two steps rather than one? Tap the padlock then slide to unlock? Or is this normal in JB?).

2.) not sure if this is normal in Jelly Bean but the dark backgrounds look like it's fades from dark to light - giving the impression of some back-light bleed. I don't think it is back-light bleed as this effect moves with rotation from portrait to landscape. Also the background is showing some gradient banding (something like this mentioned here > http://stackoverflow.com/questions/2928101/android-using-linear-gradient-as-background-looks-banded)

Again thanks for a great ROM - be great if we could get a thl phone section on XDA. So we can have proper sections to discuss the phones, roms, etc

Don't want to go completely off topic but also wanted to ask other owners on any suggestions on car holders (I want one that plugs into cigarette lighter - like this: http://dx.com/p/adjustable-universa...holder-with-dual-usb-car-charger-black-161435 - but want to make sure the W8 fits well).

Cheers all
[Miscellaneous Android Development] C3C076:
Welcome and thanks. Appreciated :)

1) you don't need to reboot when changing "maximized widgets" option. It should work on the fly. It works fine here. Maybe you could send be /data/xposed/debug.log so I can take a look at it.

Yes, 2-way unlock while widgets are maxed is a standard jb behaviour.

2) Gradient background is a standard jb feature, too. Yes, banding is visible. I can take a look if it's a normal image resource that could be smoothed. If it is, I'll try to take care of it via gravitybox.
[Miscellaneous Android Development] C3C076:
Additional info on 2)

The banding is visible thanks to default holo background (oh, Google...)

It can be fixed easily. Here's the fix in cyangenmod: http://review.cyanogenmod.org/#/c/14945/
[Miscellaneous Android Development] Boozezela:
Right, I saw your post on the other thread after posting this.

I am testing GM2 3.0 on the W8+ and I have a silly question: why did you change the product/device to "W8 Beyond" in build.prop?
[Miscellaneous Android Development] sipart:
Nice :) can't say I could fix, but I'm sure you can.
[Miscellaneous Android Development] C3C076:
It's not in the build.prop. it's in the framework resources. I forgot to change it when I was porting beyond ROM to w8+...
[Miscellaneous Android Development] C3C076:
[MENTION=515917]sipart[/MENTION]

Can't really say what the problem with max widgets is. Especially if you're the one and only to report so far. It would be useful to see logcat captured during screen turning off. Do you know how to use adb?

I need only error messages (adb.exe logcat *:E)

Also one thing you could try: go to Settings / Apps, locate GravityBox and clear its data.

Then reboot and set your prefs once again.
[Miscellaneous Android Development] sipart:
OK I'll clear gravity data. I thought it was making changes to android system files to tweak, but not in this case? I'll report back, as mentioned I'm sticking with full screen after anyway- don't want to waste any of your time.

Will you be able to fold in that gradient fix/make a patch? Again hardly important but nice to see the ROM top and tailed :)

Cheers
[Miscellaneous Android Development] C3C076:
OK. So I tried to flash only uboot and boot over GravityMod2 and I am now 100% convinced that the FPS is definitely kernel related. (ended up with 49FPS).
[Miscellaneous Android Development] ankadnikov:
Why do they lock FPS? Maybe W8 has some troubles with screen?
[Miscellaneous Android Development] C3C076:
Guys, I flashed just the system image to be able to make an extractable backup of it.

There's a newer baseband so I extracted it and made a zip flashable through recovery.

Those still having troubles with WCDMA 850 MHz could try to flash it over GravityMod2 and report back.

And here's the about screen showing baseband version. Note one funny thing and it's that devs hard-coded the total memory size of 4GB.

(4.9 free of 4.0 total) :D

Later I'll try to extract Sensor calibration and inject it into GM2.
[Miscellaneous Android Development] amstel:
that is probably because this rom is for 4GB version
[Miscellaneous Android Development] ch-vox:
thank you ;)

I think you're right !
[Miscellaneous Android Development] C3C076:
I know that. But that's not a reason to hardcode values instead of reading actual values out of the system :)

This is just something programmer's head can't take :)
[Miscellaneous Android Development] amstel:
that is right.

but this rom made specially for the 4GB version.

they probably did not think that someone with another version of phone will try to install it.

reading from constant value is much faster than calculating the value in real time (although it can be done in one time),

they just wanted to release new rom and that is it.

Maybe they should pay someone to prepare their system and meanwhile they will continue to assemble devices :)
[Miscellaneous Android Development] C3C076:
Incremental update to v1.3 available. No wipes needed.

Changelog 1.3 - 28/04/2013

- Updated baseband (from the latest official 4.2 rom)

- Added G-sensor calibration

- Added Proximity sensor calibration

- Fullscreen caller photo (thanks to kadan)

- Multiline contact names (thanks to kadan)
[Miscellaneous Android Development] amstel:
Thanks!

does this update will decrease the fps?
[Miscellaneous Android Development] amstel:
great.

still having trouble installing zip files from recovery.. can't load internal memory and can't load external card...

I'm using adb sideload for this action, and installing directly from the computer, and it works good.