yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Boozezela:
Calendar apps / Alarm

Two questions:

What is the difference between Google's Calendar app and the Stock "eng.zhangshuangshuang.13668707806" ?

About the alarm, would it be possible to have the days under the "repeat" section be listed as "Mon, Tue, Wed..."? They are currently listed as "Sun, Mon, Tue...". Maybe this has to do with the missing "Locale settings" ?
[Miscellaneous Android Development] Supracer:
So how come we have a 60fps ui when its working on one core?

Jiayu G2 1GBRAM Dual-Core JB 4.1.2
[Miscellaneous Android Development] C3C076:
I've never had problems with all cores running. This is how it looks like while running cpu test in antutu:

One should know, that normally, only 1 core is in action. Other cores come into play only when there's a demanding task running.

If all 4 cores where running all the time, it would drain your battery fast.
[Miscellaneous Android Development] Senapone:
Please read carefully peptonib post #659.

Is CPU Control that make the phone works on only 1 core out of 4.

It normally works with 4 core (when needed) as C3C076 screenshot demonstrates.
[Miscellaneous Android Development] peptonib:
YES. This is exactly what is happening. Maybe I did not explain well enough. [MENTION=2024625]Senapone[/MENTION] : Thanks for clarifying.

Apparently ALL the cpu frequency apps I tried do the same effect, until the phone is rebooted.

---------- Post added at 09:41 AM ---------- Previous post was at 09:11 AM ----------

I can now boot into CWM with vol+ and power buttons...!!!

I don't know if it's related to GM2 v2.0 or previous update, because I just tried now.

Anyone can confirm this, please?
[Miscellaneous Android Development] Senapone:
Your welcome!

I can't help you on this, when i tried the first time to enter recovery mode i was on v1.8 and it worked.
[Miscellaneous Android Development] Senapone:
Is it possible to insert in your next release a touch screen calibration?

I feel sometimes that touch isn't as responsive as it should be.

I was only able to find touchscreen verification into engineer mode but it's not a calibrate app.
[Miscellaneous Android Development] cruizgaray:
I can confirm that. It didn't work for me in the original firmware.

BR

Enviado desde mi ThL W8 usando Tapatalk 2
[Miscellaneous Android Development] peptonib:
Hi there. I also find my screen non responsive in some cases, specially after cleaning, so I think it can be related to moisture sensitivity. Now I only clean the screen with alcohol based cleaners, not water.

On the other side, you could include this lines in your /system/build.prop file. They work for me. Screen seems more responsive to my fingers.

windowsmgr.max_events_per_sec=90

ro.max.fling_velocity=12000

ro.min.fling_velocity=8000

touch.pressure.scale=0.001

Just do a search on how to modify your build.prop file. Hope this helps.
[Miscellaneous Android Development] Boozezela:
Careful because alcohol tends to make clear plastic opaque.
[Miscellaneous Android Development] arcadesdude:
This is something I was going to ask you about that dang low battery warning haha. I'm glad there will be an option to disable that since it was FREEKING LOUD!! Thank you for this option.
[Miscellaneous Android Development] C3C076:
Just to report that GravityBox project is going quite well and the first version for MTK6589 phones will see the light soon (as well as promised GM2 update).

Stay tuned.
[Miscellaneous Android Development] C3C076:
Since it will still take some time for new GM2 to be released I am providing a maintanance update for W8 16GB users that fixes front camera.

Incremental update (v2.0 -> v2.1) - applicable to W8 16GB models only!!!

(testers already having 2.1 don't need to update)

Update doesn't require wipes.
[Miscellaneous Android Development] kucyk84:
i just start download 2.0 to 2.1 upgrade. any changelog?

ok, i have not seen post below. thx
[Miscellaneous Android Development] Senapone:
How do you discover these value?

Very! :highfive:
[Miscellaneous Android Development] peptonib:
Glad it worked for you! :good:

I just read about tweaking on XDA (and re-installing after some bootloops...). There are several projects here at XDA (too many to mention).

Just trial and error. You could play over these values, little up, little down.

Also, I found that enabling "Force GPU rendering" option on "Developer options" menu has a big effect. Specially, you can see the effect in an app called Rom Toolbox draws on the screen. BIG Effect.

"Developers options" is not visible by default... I'll leave this little challenge to you.. :p:angel:

By the way, I have not abandoned my fight to set cpu frequencies, I was trying another app yesterday and, just once, until I rebooted I had the four cores working, without going to sleep (although they were most of the time at 0% usage). THAT WHERE THE BEST 15 MIN EVER with the W8!!! FAAAST!!! I know this would have SOME impact on battery life if it can finally be settled down, but I am willing to pay that price.

The thing is that the CPU quicks in faster than having to come back from sleep. Also, the cores where kept at max frequency.

I could not reproduce this in subsequent tries... :( So unistalled the app.

Are those cpu tweak apps dependand on the kernel...? I would like to use one of these apps to keep all cores awake and at max freq while the screen is on, and maybe two cores with floating frequency during screen off periods. And yes, I know i'll have to pay a price on battery life, but I don't think it will be that much. Screen brightness has far more impact on battery life than CPU speed.

---------- Post added at 09:46 AM ---------- Previous post was at 09:38 AM ----------

I have frozen the "BatteryWarning..." app, with Titanium Backup. No more warnings.
[Miscellaneous Android Development] Senapone:
Is it not enough to rename /system/media/audio/ui/LowBattery.ogg in LowBattery.ogg.bak ?

For camera sounds the tweak worked.

---------- Post added at 10:36 AM ---------- Previous post was at 10:30 AM ----------

How to set Developer Options in order to have better performance, this is something i would ask to developer!

Three main option are "force GPU rendering", "force MSAA 4x" and "Disable HW overlay"

peptonib, after your experience i will now enable GPU rendering, but what about the other two options?

Have you tried something yet?
[Miscellaneous Android Development] peptonib:
Yep, probably safer to rename the ogg file. ;)

Yes, I have tested "force MSAA 4x" and "Disable HW overlays" with no visible benefits on UI at all. But better try for yourself and see. They did no harm, no benefit for me.
[Miscellaneous Android Development] Senapone:
[MENTION=5266979]peptonib[/MENTION], last of 4 string to be added in build.prop is incorrect, it should be:

touch.preSsure.scale=0.001 (with double s)

could you please edit your post?

Thanks again, this tweak sure make scrolling a better experience!
[Miscellaneous Android Development] peptonib:
This is a long story... I checked: It was wrong in the "fluid project" where I got the info, so it's wrong also on my build.prop!!!!!

Thanks for pointing out, I have corrected the post, and now I will change my own build.prop!!! :D So funny.

We do have big power working together!!!
[Miscellaneous Android Development] NZ-Simplicity:
Hmmmm bug report :)

Tonight my phone (THL W8 (Memory: 1GB(RAM)+4GB(ROM))) told me I had an update..

Downloaded said update using my phone but then noticed the filename said THLw8-16GB-gravitymod2-2.0-to-2.1-20139693.zip

Hmmm, my phone doesn't have 16GB, so why did goo think it was for me?
[Miscellaneous Android Development] blobby25:
Just updated my Thl W8+ with this one. After reboot the screen stays black, sound is working. NOW WHAT?
[Miscellaneous Android Development] Senapone:
2.0 -> 2.1 update is intended for W8 16GB only, not W8+

Do you flash it via recovery or via Goo OTA?
[Miscellaneous Android Development] NZ-Simplicity:
I guess you will have to wait until C3C076 sees our posts and comments... until then I wouldn't do anything until he reads and replies...
[Miscellaneous Android Development] Senapone:
I tried now the "check for updates" option in Goomanager app via my W8+.

It actually says there's a rom update but wasn't able to download anything.

Maybe there's an error in rom-identification script.
[Miscellaneous Android Development] blobby25:
Via recovery, downloaded with Goo
[Miscellaneous Android Development] ch-vox:
+1

mine is ThL W8 8GB
[Miscellaneous Android Development] NZ-Simplicity:
That's what I am thinking, although it did allow me to download it, luckily for me I looked at the filename before trying to install it :) - but there is something definetly wrong here somewhere if it allowing other phones to get it
[Miscellaneous Android Development] Senapone:
Maybe it's not as noticeable as for W8 owners, but with new firmware (THL 1.0.5) battery life of my W8+ is WAY longer.

Now with a full charge it's during 30-40% more than with firmware 1.0.3.
[Miscellaneous Android Development] icyeye:
hi there!i am curious about this phone so,can someone make a video of this custom rom and put it a link here?i will appreciated it a lot so thank u
[Miscellaneous Android Development] C3C076:
False Update notification is goo.im service fault. When it's down it tends to send false ROM update notifications. Those who flashed the wrong file, I suppose you have a backup. Flash boot,uboot,recovery for the correct model from http://gravity.ceco.SK.EU.org and restore backup. If there's no backup, simply flash basic 1.5 system package together with boot, uboot, recovery. Don't wipe data. Your apps should be OK.
[Miscellaneous Android Development] Smyl3:
Hello,

Is there a way to flash gravitymod2 without cwm? Unfortunately I haven't had any sd card yet.

I successfully made backup from some blocks with sp flash tool tho, although it wasn't accepted my own scatter file due some problem in its ending blocks. Droid tools showed the usrdata and fat have the same starting address (34F80000), but usrdata has 0 size, fat size is 1972895744. The next bmtpool block starting address is FFFF00A8.

Phone W8 16GB.
[Miscellaneous Android Development] peptonib:
I would really be very grateful if you could include in GravityBox the possibility to change the holo_dark to holo (white) in system colors.

I presume they should be both already present and defined.

I find much easier to read black over white, both in interiors and at full sun. And there is no battery penalty in our screens (there is in Amoled, though),
[Miscellaneous Android Development] C3C076:
My plan with the first version is to provide all of the mods (+ making them configurable) and the fixes currently present in GM2. (just managed to include caller Id fixes).

After the first release we can then focus on additional tasks like theming, etc.

Good night :)
[Miscellaneous Android Development] Boozezela:
Hi,

I am experiencing the common "viber only from the loudspeaker" bug. On the other hand a friend with a W8 4GB and stock 1.0.3(?) kernel is not.

I have also noticed that if I delete Viber's data and re-authenticate the audio for incoming and outgoing calls gets routed correctly.

Also when I plug in hearphones, when I press the mute button the speaker button/icon lights up for no reason.

Could it be because of different libs / their virtual devices configuration?
[Miscellaneous Android Development] arcadesdude:
Nope. Not on gm2 rom anyway. I tried and that didn't work. It is in systemui.apk smali I believe. I managed to disassemble the odex file and see the smali code where it is called to give the prompt and play the sound but I couldn't change it and recompile it properly.
[Miscellaneous Android Development] Boozezela:
EDIT: If I close Viber ("more options/exit" or "Force close") and I start it again, everything works fine, without the need of clearing data/re-authenticating or the need to use an extra FM radio app, as mentioned on XDA

Would it be possible that Viber starts too soon, maybe before proper audio routing is configured?

EDIT2: this must be the most idiotic fix EVER: If I turn Viber's status icon off the audio is routed properly, with the possibility of switching between earpiece and loudspeaker or between headphones and loudspeaker.
[Miscellaneous Android Development] here.david:
W8 or W8+

I just found this item and was wondering which (16GB) one is the wisest one to get. Mostly from an easy to "customize the rom" as they both seem very similar overall. Other than voice/internet calls I do watch movies otherwise that is the main focus. I still have my Vibrant, running 4.2.2, and a front facing camera, larger screen and increased cores (4) in enticing me to upgrade. I was waiting until the new S4/HTC "stock goggle" ones came out and ran across these. At over 1/2 the costs I am now ready to get the W8 or W8+ (16GB) just not sure which is the wiser way to go as they both cost about the same.
[Miscellaneous Android Development] Supracer:
Well just one week ago I got the 4gb one for $198 and all I can say is wow! I put a 32gb sdcard 10 class and its perfect, it has a great android experience in my pov but if you're asking about the 16gb w8/+ I reckon the plus is much wiser to buy since its newer than the normal

Jiayu G2 1GBRAM Dual-Core JB 4.1.2
[Miscellaneous Android Development] here.david:
30 vs 60

Tx's...which one W8 (I did not see that listed only W7 at $199)

The only two differences I can see, 60FPS for W8 models only while W8+ runs at max of 38 FPS and IPS vs FHD screen.

On different websites some have either as both IPS yet other sites say one has IPS only and the other has FHD (TN) only, also some say 12 MP other say 13MP (not that big a deal).

Not sure how to find the "correct" specs as THL's site is very limited.
[Miscellaneous Android Development] Supracer:
Actually I bought it from aliexpress via dhl

Jiayu G2 1GBRAM Dual-Core JB 4.1.2
[Miscellaneous Android Development] T511:
Hi. Yesterday I got one THL W8+ 16gb FHD version. Build quality is pretty good. But I feel its a bit laggy. For example I tried to play Real Racing 3 on it and the game runs slow. I read on this topic that THL W8+ versions fps is low than 60. Its said that its fps 38. Can it be because of this? What can I do to run that game smooth like on my Note2 ? What woul you reccomend? I think to update its firmware or install custom rom like gravity mod2 but unfortunately there is no quite good tutorial . It would be super if someone could make a video tutorial and place it on youtube. Anyway .... what will you suggest? To update its stock firmware or flash gravity mod2? Which one is better?

PS: I googled for thl flash tutorials and confused a bit. As I understood all they say never tick Preloader ( always untick it ) but in some tutorials they say Press Download Firmware but in some they say not to press it. I do not know which tutorial to use. Can someone link me a tutorial by which thl w8+ successfully flashed?

Thanks in advance for all for help !
[Miscellaneous Android Development] Supracer:
I'm a proud owner of this phone I bought it from here but they stopped with dhl only ups

http://m.aliexpress.com/product/shi...Id=614636527&country=IL&quantity=1&isSku=true

Jiayu G2 1GBRAM Dual-Core JB 4.1.2

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

Gravitymod don't think twice

Jiayu G2 1GBRAM Dual-Core JB 4.1.2
[Miscellaneous Android Development] Senapone:
After flashing GravityMod2 you could try to enable Settings \ Developer options \ Force GPU rendering
[Miscellaneous Android Development] T511:
At the moment my THL W8+ FHD on stock firmware. I am going to follow tutorial in 1 st post in this topic to flash gravitymod2. Hope there will not be any problems or errors and phone will not brick . I have read tutorial many many many times in order not to make a mistake. Hope everything will go smooth !

II am going to follow this steps :

1)Download this file : THL W8+: http://tinyw.in/zZAW and then all incremental updates (except Incremental update (v2.0 -> v2.1) as its only for W8 16GB only not for W8+ 16gb)

2)Download and install USB VCOM Driver

3)Download and extract SP Flash Tool

4)Run SPFlash tool click on Scatter file and browse to scatter file extracted from previously downloaded Basic system packages (system.img) - version 1.5

5)Completely turning off my phone

6)Click Download button in SP Flash tool, confirm warning complaining about not all files being selected

7)Connect completely turned off phone via usb and wait complete flash process

8)Then enter to CWM and install all incremental updates from SD Card one by one.

9)Restart phone

Are all this steps right? Or I missed something?
[Miscellaneous Android Development] Senapone:
That's is the standard flashing method.

It was tested hundreds time, you can go fearless with it
[Miscellaneous Android Development] vuralemre:
hello.

i have THL W8

this rom looks beautiful

i know cwm, installing rom and another android hacking

i've installed the CWM

and flashed SuperUser. it has root, i used titanium backup backup vs.

i've downloaded the 1.5 system image, and all updates from 1.5 to 2.0

i try to flash the v1.5 system image.zip but takes error message: Installation Aborted

go back, toggle sign verification

and go back to try flashin, but again installation aborted.

i think this download was not successfuly, i download again, but again installation aborted.

what can i do? i wanna install this rom?
[Miscellaneous Android Development] T511:
Flash process failed.Received : 8038: PMT is ready and layout has been changed ERROR and tried to make my own scatter file via MTKDroid Tool but DroidTool Do not detect my phone. Al drivers installed but still no result. PC detects phone but droid tool not. What can I do?

While using DroitTools to make own scatter file phone must be ON or OFF? Tried both and still nothing !

Thanks!
[Miscellaneous Android Development] gerryg73:
try with flashtools-edition...

you have a pm
[Miscellaneous Android Development] peptonib:
Please forgive me if I go off-topic here, but I MUST share this.

A while ago, I flashed the "Fly-On" engine... You can find it in this thread

Man... The W8 just flies. Hard to believe.

If you dare install this, remember to wipe cache and Dalvik-cache before flashing.

I'm sure it works so well because of the good ROM GravityMod2 is. You know: good add-ons over good systems.

Regards. I go back to enjoy the speed... :victory:
[Miscellaneous Android Development] Senapone:
hi peptonib, do you use it with superchargerv6 how slaid480 says?
[Miscellaneous Android Development] peptonib:
nope. I have not gone that far yet... I am not confident enough. Next step. :cool:
[Miscellaneous Android Development] C3C076:
Rolling out big incremenal update 2.0 -> 3.0 for W8 4GB and 8GB models

1) All fixes and mods have been packed into GravityBox app

For GM2, this is accessible directly from the Settings. The biggest advantage of GravityBox is that

I don't need to decompile and hack and mod apps to bring in new features/fixes. That allowed me to pull all the original apps and framework files

from the latest original Eastcom W1 FW maintaining as highest compatibility between system components as possible. (previously, I was using old moded framework and apps, together with newer libs coming from newer version - the approach which was not kind of bullet-proof).

In GravityBox, features are split in 2 groups - Mods and Fixes. I've made Fixes (like clller ID, etc) explicit as for a preparation for GravityBox to be released

as a standalone app (utilizing Xposed framework) so it can be installed and used on stock ROMs and even other MTK6589 devices running

Android 4.2.1. This means, particular fix can be left deactivated if hosting ROM doesn't require it (e.g. it is already fixed).

After you install update to 3.0, all your current mods that were previously directly hacked into system files will be reset to defaults. Use Settings / GravityBox to set mods and activate fixes as desired.

Dedicated thread for standalone GravityBox will be created later when I am finished with the first release. (just needs a little polishing).

2) Full 3.0 package for W8 4GB and 8GB, flashable via SP Flash Tool, will follow soon.

3) For W8 16GB and W8+, I can't give ETA for update since I can't test stuff myself.

I recommend waiting for a standalone GravityBox which can be installed on top of your current versions of GM2 (or any other stock ROM) you are currently running

4) All new recent updates for google apps are integrated + SuperSU, too

I will let you know when the package is ready for download.

No GooManager notification will be triggered since I had to change the Goo identifier so users having different models won't flash it accidentaly.

Edit: Here it is:

Incremental update (v2.0 -> v3.0) - applicable to W8 4GB and 8GB only!!! (MD5: d0c04abcde24e85f14aa33cf6669679a)

DON'T FORGET TO WIPE CACHE AND DALVIK CACHE AFTER INSTALLING UPDATE
[Miscellaneous Android Development] Boozezela:
Hi,

I have noticed that when you set a "Data usage" limit higher than 1023MB, the counter switches automatically from MB to GB showing values that are correct but not that easy to read:

With a usage of 9.20MB, setting a limit of 1024 MB will show the following:

Counter on lock screen: 0.009/1GB

Setting a limit of 1023MB the counter will be easier to read:

Counter on lock screen: 9/1023MB

Is it possible to configure the data counter on the lock screen so that it is always expressed in MB?

I ave also noticed that the counter does not get positioned ppoperly on the "ruler".
[Miscellaneous Android Development] NZ-Simplicity:
BUG report

After installing this every time I restart my phone I get the android is upgrading message about optimising apps.

Then after it has started/rebooted, I suddenly start getting these popups which say "Unfortunately, xxxxxxxxxxxxxxx has stopped working (where xxxxxxxxx is the app name) - a lot of my apps no longer work including titanium backup, go contacts etc..

I cannot even start them by clicking on the app icon itself.

I use link2sd if that is conflicting with it, also I have apps that are set to not run on startup..

Is there a way to roll back this upgrade??? - I cannot use my phone the way it is :(

FIXED: wiping cache and dalvik-cache made things all better again :)
[Miscellaneous Android Development] peptonib:
have you tried to wipe cache and dalvik-cache?
[Miscellaneous Android Development] C3C076:
Yes. Wiping caches should help. If not, then try full wipe.

If it doesn't help then restore backup and wait for full sp flash tool package.
[Miscellaneous Android Development] NZ-Simplicity:
THANK YOU :) - yes, doing that worked, silly me should have thought of that... - I usually follow instructions exactly and in the release post it did not say to do that so I didn't LOL
[Miscellaneous Android Development] C3C076:
Well, I should've mentioned that. Anyway, I've just added a big red info in my 3.0 announce post saying to do cache wipes
[Miscellaneous Android Development] gogozx:
Can i port this rom to my N9389 Android 4.2.1. 5.3 inch phone?
[Miscellaneous Android Development] C3C076:
You could wait for GravityBox standalone app to be released (in case you're running android 4.2.1 on it).
[Miscellaneous Android Development] amstel:
should I wipe cache & dalvik cache after installing the update or before installing the update?

or both?!?

Thanks.
[Miscellaneous Android Development] C3C076:
Doesn't matter. Makes no difference whether after or before.