yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] peptonib:
Of course, you are totally right. Anyway, I would be very happy with just the Android framework in a "black text over white background" style.

I'm willing to help: find icons, etc. whatever you need.

Maybe we should look at the Xtheme add-on for Xposed, which tries to deal with theme managing over stock roms...

Regards!
[Miscellaneous Android Development] Mr. Premise:
If you flashed GravityMod2 or/and GravityBox recovery is a selectable option when powering the phone off (which you can do after boot)
[Miscellaneous Android Development] peptonib:
Now that we have GravityBox and the xposed framework integrated in our rom... How do we proceed if we want to add more modules to the xposed framework? Do we have to install the xposed framework again? How can we manage to enable new modules in the framework? :confused:
[Miscellaneous Android Development] C3C076:
Simply install XposedInstaller apk
[Miscellaneous Android Development] skit75:
installed xposed & gravity app on stock rom 8p128

I installed the gravity app on stock rom 8p128 looking very good .

Already had root from installing gravity mod rom before, changed back to stock again becouse gm rom mad this version of 16 gb w8 slow.

(Antutu benchmark always under 8000 and slow boot).

Like to thank C3C076 for helping getting back to stock rom.

All mods working nice! Extra button for stopping tasks ad once etc.

Installation of gravity app shows no problems for me
[Miscellaneous Android Development] C3C076:
GravityBox latest version

Download: GravityBox v1.2.0

Flash via clockworkmod recovery. No wipes needed.

Updated translation files are welcome. You'll find the current string XMLs for different languages here:

https://github.com/C3C0/GravityBox/tree/master/res (in values-xx folders, where xx is your country code)

Changelog 1.2.0 - 16/06/2013

- option to set statusbar color and transparency

--- thanks to Sergey Margaritov for ColorPickerPreference

- option to unlock Voice search and TTS settings in Language&Input

- option to unlock advanced developer options (not needed in GM2 since it's already unlocked)

- revamped preference screen

- added About section with links to relevant threads

- fixed bug in QuickSettings that caused dynamic tiles to become invisible (thanks to boozezela for pointing out)

- added reboot confirmation dialogs

- added Hungarian translations (thanks to Indiant)
[Miscellaneous Android Development] yewchieh:
Anybody has problem making 3G call? Everytime i try to call but "Call Ended".
[Miscellaneous Android Development] Mr. Premise:
Yeah, I got Antutu score of 6926 on a 16 GB w8, GravityMod2 2.6, GravityBox 1.1.0 (Using Antutu with the default settings).

What score do you get with stock ROM? And after reverting to stock, do you then have to install the Xposed framework before installing GravityBox?
[Miscellaneous Android Development] skit75:
much higher

Got a responce of first 12900 2nd 12500 (running more apps)

You do have to install xposed framework before installing the gravity box app but just follow the tutorial it says it all.

The difference after reverting to stock is immediatly noticable at startup.

Thl circle logo animates at full speed instead of slowmotion.

dont forget you need root for xposed framework ! In my case My device remained rooted after reverting to stock but thats easely checked with root checker app.
[Miscellaneous Android Development] C3C076:
I forgot to mention that the ROM I've sent you via PM is rooted and comes with busybox, too.
[Miscellaneous Android Development] Mr. Premise:
Does this message imply there is a better alternative than reverting to the ROM which came with my W8 16GB (Thl_W8.JB2.HD.EN.COM.8P128_MT6589 V1.0.1_20130506)?

PS: Antutu went to 8800 (still on GM2) when I ran it just after power-on & with battery fully charged. Still low.
[Miscellaneous Android Development] skit75:
re

Its stock rom zipped for cwm and rooted with busybox.

About 300mb.

Rest of the rom is exacly the same as stock, as far as i can see
[Miscellaneous Android Development] C3C076:
Possibly. Now that we have GravityBox app it's maybe a better alternative for W8 16GB users. The only things you "loose" is

GravityBox being accessible from settings (not important since we have statusbar tile for it) and shortcut to Engineering mode (which can be e.g. launched from dialer. I will probably add the link to it in GravityBox app in the future, anyway).

I am not sure what's causing the lower Antutu scores.

The rom I provided to skit75 is Thl_W8.JB2.HD.EN.COM.8P128_MT6589 V1.0.1_20130506
[Miscellaneous Android Development] Mr. Premise:
OK, that is the very same ROM which came with my W8. Apart from restoring the backup of that, what do I need to do? Reset something? Back up apps?

That difference in benchmarks between the two ROMs is significant. Anything I could do to look for a reason for it?
[Miscellaneous Android Development] C3C076:
Backup your current ROM first.

Then you could perform advanced restore of boot and system from your 20130506 backup.

You can leave data partition intact - your apps will be preserved.

After restore, wipe cache and dalvik cache.

Then just follow instructions in GravityBox thread to install Xposed framework and app.

You should root the ROM first if the one you backed up is not rooted.

The performance issue may be related to some incompatibility between framework and system libs. Hard to pinpoint what exactly.
[Miscellaneous Android Development] progenx:
My Antutu score is 13145. THL W8 4GB running GravityMod2 v2.6

Is that a good score?
[Miscellaneous Android Development] C3C076:
This is a VERY good score :)
[Miscellaneous Android Development] peptonib:
Finally, I found and app to do some control over the cpu: SetCPU.BUT, one has to force the things a little bit. I mean: the app does not set the cpu speed on start, I had to set two profiles:

On screen on: max freq 1206, min freq 988, performance governor (edit: changed to ondemand governor, thanks to C3C076, see post below)

On screen off: max freq 754 min freq 497, hotplug governor

So, when I start the phone, I force a screen off - screen on (with the power button), so the profiles apply. The frequency limits work well. Only the "hotplug" governor throttles the cpu core. I mean, the cores go from sleep to awake when needed. All other governors keep the 4 cores awake (which is good for me).

Of course, there is an impact on battery with 4 cores on and high min and max freq, but it's not so high for me, so I enjoy a snappy UI when the screen is on. My battery use is about the same. Difficult to say for me if there is any change.

As you remember from another post, other cpu control apps I tried kept ONLY ONE core awake and the others asleep if I did any change on parameters.

So, when my phone has the screen on, i enjoy 4 cores awake, between 988 and 1209 MHz. When screen goes off, it throttles to 497 to 754 with the needed cores.

I don't know how to verify if the schedulers (noop, deadline, cfq) do change with the program.

On the other side, I'm testing several configurations in the Build.prop file, and found some very good articles on what does what and some myths. Also, I'm cleaning up some init.d scripts from other users, to take out all that does not work on the THL W8. Keep you informed.
[Miscellaneous Android Development] C3C076:
Just a little remark on performance governor: this one will keep your freq always at MAX no matter what is your MIN set.
[Miscellaneous Android Development] peptonib:
Ok, I attach MY build.prop file, adapted to GravityMod2 and THL W8. This is just for you to take a look and comment. You can use it at your own risk if you like, I am not responsible of anything that happens to you or to your phone by using this file.

Keep in mind that this files contains the WHOLE of my build.prop, not only the additions I made. I'm running GravityMod2 v 2.6 so it should work for anyone running the same version.

The location of build.prop is /system. You should rename the file from "buildprop.txt" to "build.prop".

Please take a look and comment whatever you like about this settings.

Thanks!
[Miscellaneous Android Development] peptonib:
:good: As usual, you are totally right. I've changed my main governor (the screen on) to "ondemand". 4 core on, cpu speed throttle from 988 to 1206.

THANKS! :highfive:
[Miscellaneous Android Development] C3C076:
No problem.

Regarding build.prop tweaks. I am quite sure these two will do nothing on our device (except for placebo):

debug.composition.type=gpu

debug.sf.hw=1

since these flags are for Qualcomm Adreno GPUs only. (not sure about egl.profiler and egl.hw, though)
[Miscellaneous Android Development] Mr. Premise:
Vol+/power boot to recovery 'fix'

The 'advanced restore' bit slipped my mind at first, I did a standard restore, the W8-specific(?) CWM 6.0.3.3 gave me the option to root and so I had a pristine (but rooted) stock 20130506 ROM and CWM 6.0.3.3. Tried booting to recovery with Vol+/Power buttons but that didn't work.

Turns out it worked with the SD card removed. Nice to know.

After re-reverting to my GM2 ROM, I followed the instructions above, including the advanced restore part. Got 12366 Antutu benchmark before installing Xposed and GravityBox, 12539 with those installed.

PS: Liked the look of GravityMod better than this stock one, though.Must see what I can do about that.
[Miscellaneous Android Development] amstel:
why can't I connect to a WIFI network while I'm in Airplane mode??
[Miscellaneous Android Development] ch-vox:
Airplane mode disables every connection mode (GSM, BT, Wi-Fi, etc...) so that your mobile doesn't produce any waves inside the plane.

---------- Post added at 03:13 PM ---------- Previous post was at 03:07 PM ----------

I've just made the test, I had 12930 before installing GravityBox, 12667 after... :D slightly the same results which are pretty good to me.
[Miscellaneous Android Development] Mr. Premise:
With stock ROM, the W8 no longer has the Danish language (and locale) option. GravityMod2 has nice support for Danish, most settings & icon names etc are translated. Is it possible to install the Danish support used in GM2 on stock ROM? If so, a link would be much appreciated.
[Miscellaneous Android Development] peptonib:
[MENTION=5008415]C3C076[/MENTION] & friends:

As you have seen, I am doing some research in specific scripts for init.d and changes to build.prop. :cool:

Should I continue to post to this thread, as this mods are exclusively being developed together with GravityMod2, or you prefer I start a new thread? :confused:

Regards. :angel:
[Miscellaneous Android Development] C3C076:
Not possible. Language files are inside apps and system framework. The only way is to decompile all of them and add support. You could try something like MoreLocale from play store but I don't have experience how it actually does.
[Miscellaneous Android Development] C3C076:
[MENTION=5266979]peptonib[/MENTION]

I have no problem with build.prop tweaks being posted here. So feel free to.
[Miscellaneous Android Development] Mr. Premise:
MoreLocale gives me Danish keyboard and locale settings, which is the most important bit. But most of the UI is still in English - not really a problem, I just like the way it is in GM2.
[Miscellaneous Android Development] friarouj:
Hi forum

I have no build number for my W8 4GB and no backup, none of the five recoverys published works me fine, I can do?

I have installed GravityMod2 but with errors (closing apps and reboots), even whit wipes complete

I can return to a any stable ROM or fix this? : (

(Yes, my english is very bad...) Welcome any help please :crying:
[Miscellaneous Android Development] skit75:
try needrom

Try the site needrom.

It has the several total stock rom backup on it for W8.

They can be installed through cwm (boot phone with vol up and power pressed to get in cwm).

Backups of complete roms are about 300 mb.

The recovery files are only to install clockwork mod so you can boot into revovery mode v+ power and make a backup of your own.
[Miscellaneous Android Development] friarouj:
Yesterday I played with some great risk support among the 5 of this web that has not worked, I have downloaded both the official website and neither

I had to change the kernel or something that escapes me, I keep getting errors
[Miscellaneous Android Development] skit75:
cwm

Can you get in recovery mode with clockwork mod?
[Miscellaneous Android Development] friarouj:
yes I can

not that I've tried a few times, do I have wrong something ...

>> i.imgur.com/319ltcl.jpg
[Miscellaneous Android Development] skit75:
backup files?

those backup files you have ?

backupthlw8.zip , at what point did you make them?

if you made them with cwm in recovery mode before flashing gravety mod , all you have to do is put them on sd or external sd and select backup/recovery in recovery mode (at boot with V+ and power)

annyway the 8p64 files are for 8 GB versions ,

4GB versions only use 8p32 roms
[Miscellaneous Android Development] friarouj:
Hoped it would work the first, and I did not backup, I am heavy ...or very newbie

I have a 4GB W8 THL = 8p32, I would like absulutamente clean everything and start from scratch if possible, and if I can put this ROM, I like GravityMod2 but as I say, I close the apps, not open, reboots ...
[Miscellaneous Android Development] skit75:
re

did you try to flash the thlwo421v4.zip file using recovery mode ?

by the way in recovery mode you cannot brick your phone.

otherwise you would need a stock rom backup from someone so you can put it back using cwm, unfortunatly i only have 8p128 so cannot send one.
[Miscellaneous Android Development] friarouj:
I have to apologize for my bad English google/translate. :( I have not that file, not backup, I did not.

I not have thlwo421v4.zip
[Miscellaneous Android Development] skit75:
re

I beleave it is zip version of gravity mod flashable through recovery boot cwm.

It can be downloaded on needrom site.

just google needrom.

but maybe if you follow the tutorial on this site for gravity mod, you can get this one running good.
[Miscellaneous Android Development] friarouj:
Thanks and no problem, I promise to read well the tutorial again, and backup previously, for when you leave something I can mount error-free.

Here I'm reading :) :good:

---------- Post added at 10:33 PM ---------- Previous post was at 10:18 PM ----------

Downloading, but ... not the same as:

THL W8 (4GB/8GB/16GB): http://tinyw.in/S9g0 (MD5: 18ba1bbc0d9b2b16cdd8c7995d0aa9ab) + gm2-1.5-images-w8-4GB.zip >>> all unzip + SP_Flash_Tool_v3.1304.0.119 ?

Or thlw8-gravitymod2-1.5-recovery-20130510.zip ?
[Miscellaneous Android Development] C3C076:
Look here

http://xdaforums.com/showthread.php?p=42566494
[Miscellaneous Android Development] enricogiovamazing:
Hi, I've got the gravity ROM on my thl w8 4gb.. I've a problem of random reboot if the localization is active... I know its a bug of android 4.2.1 ,but with my last firmware (stock 20/04/2013 1.0.3) I've not this issue... Ther are someone that have my same problem and the fix for it?
[Miscellaneous Android Development] friarouj:
"Here's the latest official THL rom for W8 4GB (international, Android 4.2.1). Just in case you need one and don't have a backup of one that came with your phone":

Thank you very much to you both for the help, the forum and this great ROM
[Miscellaneous Android Development] chentz78:
Hi,

Where I find "Developer" and "Call settings" system config in GM2 ?

I want disable "vibrate on call answer" and disable "usb debugging".

thx.
[Miscellaneous Android Development] arcadesdude:
Settings -> About Phone -> Build number tap 7 times for developer options.

Then you'll find the option to disable usb debugging in the newly opened up developer options.

Vibrate on call answer would be in

Settings -> Audio Profiles -> then tap the button to the right of General and uncheck vibrate devices for incoming calls.

---------- Post added at 10:52 AM ---------- Previous post was at 10:42 AM ----------

Try this (your values may vary on a different phone)

http://xdaforums.com/showpost.php?p=41145394&postcount=140
[Miscellaneous Android Development] chentz78:
Great, developer options work like a charm. But vibrate on call there an option only for incoming calls and I want an option for answer outcoming calls.
[Miscellaneous Android Development] arcadesdude:
Ah I see what you mean now. Like when the call connects it does a short vibrate on outgoing calls too and you want to disable that. Usually this option would be in Settings -> Call settings. But we have no such option on this ROM. :(

It would be good to have. Maybe [MENTION=5008415]C3C076[/MENTION] could implement this in a GravityBox update?
[Miscellaneous Android Development] peptonib:
Hello,

This is v1 of my build.prop file.

As usual: I AM NOT RESPONSIBLE OF ANYTHING THAT MIGHT HAPPEN TO YOU OR YOUR PHONE BY USING THIS INFORMATION.

THIS IS *NOT* A CWM UPDATE FILE, IS JUST A ZIPPED FILE.

Unzip this file and you will have a "build.prop" file. There are two parts in this file:

First one is the default build prop included in default GravityMod2 v2.6.

Second part (marked by "# START OF PEPTONIB CHANGES...") are my proposals.

This "build.prop" file is working now on my phone. It SHOULD work on any other THL W8 running GravityMod2 v2.6

I share this with you so we can all contribute and test improvements over this configuration file.

Not all entries are documented yet. I tried to give links and credits in the comments sections, so everyone has access to the pages I reviewed.

The "build.prop" file is located in /system/

IF YOU USE THIS FILE, BE SURE DO TO A CWM BACKUP BEFORE!!!!!!!!!!!!!!!!!!!!!

IF YOU USE THIS FILE, BE SURE DO TO A CWM BACKUP BEFORE!!!!!!!!!!!!!!!!!!!!!

IF YOU USE THIS FILE, BE SURE DO TO A CWM BACKUP BEFORE!!!!!!!!!!!!!!!!!!!!!

BE SURE TO SET THE RIGHT PERMISSIONS TO THIS FILE TOO!!!!!!!!!!!!!!

I HAD BOOTLOOPS BY NOT FOLLOWING THIS INSTRUCTIONS. YOU HAVE BEEN WARNED.

Please, take a look and comment whatever you like about the contents. They work for me and, in general, I have a perception of increased performance.

Later, I will post a script, which will be located in the /system/etc/init.d folder.

This would have not been possible without GravityMod2 excellent ROM.

Thank you.
[Miscellaneous Android Development] gerstavros:
Is this rom multilanguage? Greek(Ελληνικά) language?
[Miscellaneous Android Development] C3C076:
Yes
[Miscellaneous Android Development] jnorbi:
gps issue

There's an issue in 4.2.1 with GPS, the distance and the speed is invalid, so for example my ~25 km trip in Endomondo was 386 km, with 186 km/h avg. speed on bicycle :)

Google and CM has fixed that issue, C3C0, can you fix it?

Related topics:

https://android.googlesource.com/platform/dalvik/+/c83353bc0d7ddfedd3bc06fdb12f25710191e1e6

https://groups.google.com/forum/#!topic/osmand/1RlEPzEU2Co

https://android.googlesource.com/platform/dalvik/+/4888a4b95e2f1b2cdeb6a0ca8dd75c784eb80256

https://github.com/cyanogenmod/android_dalvik/commit/6799723387fe725e5418a83d2762539530a8835c

jnorbi
[Miscellaneous Android Development] C3C076:
If there's anybody willing to test a package with alternative libdvm.so (it is safe to flash and system works but I can't test tracking issue myself),

just let me know via PM.
[Miscellaneous Android Development] kucyk84:
since box 1.2.0 my screen is crazy;/ all the time is light, dark, light, dark, and i have black screen issue on automatic brightness ;/
[Miscellaneous Android Development] C3C076:
Hmm.

GravityBox app has nothing to do with screen brightness.

So your issue is definitely not caused by GB 1.2.0.

Must be something else.
[Miscellaneous Android Development] C3C076:
Well... Just compared the binary files. The new one with the one we have in GM2 ad guess what...

They are identical. So testers that already asked me via PM - you don't need to bother with it. Thanks anyway.
[Miscellaneous Android Development] ch-vox:
:silly:

hope in a few days you'll be able to implement it !
[Miscellaneous Android Development] C3C076:
No without a MTK source code they used.

Not even xposed can do, since it's not a famework thing, but system lib thing.

The one and only way is to try building dalvik from android-4.2.1_r1.2 branch with additional fix that came later in 4.2.2 applied.
[Miscellaneous Android Development] Mad_MAX:
Hello All :)

I`m happy Dell Streak 5 user but i started to thinking about change and i consider THL W8+ , can you tell me , is there will be any difference beetwen this two smartphones??

I know the specs of w8+ are amazing but is it for real ?? :)

And second question , is there any chance of Polish language in this ROM ??

Thanks for answering :)
[Miscellaneous Android Development] muratzilla:
I have Chinese version of ThL W8 4Gb youth version (8Mp back camera). Camera doesn't work in GravityMod2. I tried copying libcamera and libcam*** files from stock rom to GravityMod2 rom in /system/lib folder. However, camera still doesnt work.

Is there a solution for this?

Camera works fine in stock en/chinese lang only chinese rom.
[Miscellaneous Android Development] sidsalmon:
Camera doesn't work, black screen, GravityMod2 2.6 - Chinese version of ThL W8 4Gb
[Miscellaneous Android Development] muratzilla:
Here is what I did to get Multilang in Chinese version of ThL W8 4Gb (8Mpx camera)

I used boot.img from ThL_W8.JB2.HD.CN.COM.8P32_MT6589V1.0.7_20130605 rom

and flashed ThL_W8.JB2.HD.EN.COM.8P32_MT6589V1.0.4_20130510 rom using scatter file provided by this international rom.

I also added recovery.img that is compatible with chinese version (thanks to C3C0) and it works.
[Miscellaneous Android Development] progenx:
Isn't all that in the instructions already? Doesn't matter chinese version or youth whatever versions...
[Miscellaneous Android Development] muratzilla:
No, its not. There isn't an option to download files that contains boot.img and some others to flash on http://gravity.ceco.sk.eu.org for ThL W8 4Gb Chinese model (Only Chinese / English languages in stock rom). If you use international rom boot.img file, camera simply doesn't work.

I tried many other custom roms and methods, copying libcam*** files etc, no result.

In my first attempt, I used uboot and bootimg files which disabled functionality of HOME button and removed screen slide lock. Then I used only boot.img file and re-flashed, problem solved.

However, I still can't use gravityMod2 as it overwrites boot.img somehow. I also flashed gravitymod2 1.5 SP flash version by using chinese boot.img but camera still doesn't work.
[Miscellaneous Android Development] C3C076:
Then simply use stock ROM in combination with standalone GravityBox app.

As I've already said before. It seems like there are hw differences even between the same models. Depending on when they were manufactured. They probably update hw over time.
[Miscellaneous Android Development] cruizgaray:
I got a second phone, upgrade to 4.2.1 stock rom, install CWM and root. Then I installed GravityBox 1.2 but when I access any of the options, any of them work. Is there an additional step I'm bypassing?

Thank you for your excellent work!!!

PD: my wife's phone had GravityMod2 v3.0 rom and GravityBox 1.2 installed. I just noticed that the home button doesn't work.

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Miscellaneous Android Development] C3C076:
Please, follow the instructions more carefully.

http://xdaforums.com/showthread.php?t=2316070
[Miscellaneous Android Development] NZ-Simplicity:
I only have the normal THL W8 but I can tell you that it is by far the best smartphone I have ever had :) - Judging by what people are saying about the W8 and W8+ around the forums a lot of others agree..

There are translations being done all the time, I dunno if yours has been done yet or not, but I am sure someone else will be able to help :)
[Miscellaneous Android Development] Mr. Premise:
My stock W8 ROM does not have an option for Polish. Use MoreLocale 2 or similar to get Polish keyboard & localisation (thanks to C3C076 for this tip, which got me Danish keyboard etc).
[Miscellaneous Android Development] tarari:
Hi, do you think this Rom will work on a Chang Jiang n9500?

Thanks