yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] galaxymny:
Hello,

Here's a couple of doubts/suggestions for a forthcoming version of BM V3.1MOD which I'm so fond of :)

1.- Concerning the issue raised by MSprecher and your patch release, do you think that patch will be included in say V3.2MOD? Maybe using a different mail app such as KMail might have worked for MSprecher? I wonder.

2.- What about adding a feature that enables turning the screen on by touching the screen (sliding...) with no need for the device user

to push the power button every time

? The Autoscreen and TouchControl apps have come to my mind but it seems it is not supported by the V987 model. I'm sure many would appreciate such a feature in a forthcoming release of your already amazing custom rom.

Regards!
[Miscellaneous Android Development] gojo.pl:
Go for the version that fills your needs. Stay with 2.0/3.0. :)

F*ck the newest numbers if they create problems and give you no benefit. I'm staying with 3.0, use the best version - not the newest :)
[Miscellaneous Android Development] pirracas77:
Thanks!

(by the way, I'm using stock rom)
[Miscellaneous Android Development] bgcngm:
Blame ZTE for not having implemented those features on V987 the same way as it was done for N986. Don't blame me. :o

Yesterday I have installed OP02Plugin, which seems to override the behavior of the feature that had recently added to GravityBox. Have you also tried the plugin from ZTE N986 (OP09Plugin)? I'm going to try, maybe that one can do something more. ;)
[Miscellaneous Android Development] zperetz:
Yes, I tried, but 09 does not show any effect even on overriding GB features :)

Sent from ZTE V987 with Tapatalk app
[Miscellaneous Android Development] bgcngm:
Remember this? Google has started rollout of Gmail v4.7 and one of the new features is the ability to send and receive any file type! :cool:
[Miscellaneous Android Development] zperetz:
Come on, what a wonderful news. Can we download and use it right now?

Sent from ZTE V987 with Tapatalk app
[Miscellaneous Android Development] bgcngm:
Sure, the .apk is signed by Google, so it's fine to sideload it to the phone and start using it. ;)
[Miscellaneous Android Development] zperetz:
Ah, it's just Gmail. What about stock Exchange app? My corporate mail still needs lock picker :)

Sent from ZTE V987 with Tapatalk app
[Miscellaneous Android Development] bgcngm:
Don't know... latest information was this one.
[Miscellaneous Android Development] zperetz:
Have you seen the update of the article? You need to install new Exchange, and it's attached. Looks like the problem is solved.

So would be great if you can make a patch with odexed email and exchange services. ;)

Sent from ZTE V987 with Tapatalk app
[Miscellaneous Android Development] bgcngm:
Yeap, I have included E-mail (6.0-893803) and Exchange (6.0-893803) in the latest release. For some reason it did not work well for everyone, that's why I released the patch. If you have not applied the patch and have installed stock E-mail then both apps should be on your system.
[Miscellaneous Android Development] MSprecher:
As long as you do not need push-function to use exchange-servers or IMAP for E-Mail it may work. But community is still waiting for a release where these issues (beside others) have been taken care of.
[Miscellaneous Android Development] b3rok:
Hi Bruno, I've got strange problem - touch screen doesn't work.

How did it happen? After full wipe the recovery in my V987 stopped to work (holding VOL+ and power button - didn't work). So I've reinstalled Recovery (CWM Recovery V6.0.3.7) using SP Flash Tool v3.1328.0.183 and then installed V3.1. mod. In aroma installer touch screen didn't work - i've installed your mod using VOL+, VOL-, Power buttons. After rebooting touch screen - still not resoponding. Any ideas?
[Miscellaneous Android Development] bgcngm:
No idea, really. Factory reset only wipes userdata and cache, doesn't touch anything else. Try installing the stock ROM and then provide feedback.
[Miscellaneous Android Development] ch-vox:
oops sorry for posting in the wrong thread... :angel:

my mistake
[Miscellaneous Android Development] bgcngm:
I'm trying to implement a better fix but needed to know if there are more apps that I should try other than Endomondo. Can someone confirm if that was the only app with issues? Apparently c:geo also showed wrong distances, but I'm testing it and everything seems correct.

EDIT: calling out also for [MENTION=2689045]awaaas[/MENTION] and [MENTION=741556]ch-vox[/MENTION].
[Miscellaneous Android Development] josemanuelo:
The apps that do not work are endomondo, mytracks, runtastic.

I only have tried this apss.

Thanks for your work bruno.
[Miscellaneous Android Development] bgcngm:
Would you be able to test my fix (commenting the line you added to build.prop)? I never used any of those sports tracking apps.
[Miscellaneous Android Development] ch-vox:
in my memories, people using Runtastic, Sports Tracker (and maybe My Tracks) experience the same issue. in facts, very few tracking apps report good values (the only one for me RunKeeper, all others were faulty).
[Miscellaneous Android Development] KopiJahe:
I don't particularly use any apps that need davlik mode changed to fast

I only test it with AnTuTu over and over again, and for daily performance, I recommend to use JIT (default mode)

I will attach some AnTuTu screenshots later
[Miscellaneous Android Development] bgcngm:
It is clear that with JIT enabled performance if higher. The goal was to disable JIT for the particular apps, if possible, or just while distance computing is being done.
[Miscellaneous Android Development] KopiJahe:
How about adding android:vmSafeMode in app's AndroidManifest.xml?

in this thread, it's mentioned that the app behave well after adding it

this site also provide the same conclusion

you'll lose app's update though, unless somehow this can be done with xposed
[Miscellaneous Android Development] bgcngm:
I've just implemented the fix in GravityBox (fix for wrong distance calculation). :D

Important:

everyone using the latest release should comment (or completely delete) build.prop line containing the tweak that disabled JIT compilation:

#dalvik.vm.execution-mode=int:fast

I'll release a patch anyway for those that don't feel confident doing it manually.
[Miscellaneous Android Development] DaKyy:
B03 vs. B02, are the modem drivers updated in B03 kernel? The phone seems to handle 1800MHz to 900MHz network transitions much better than before.
[Miscellaneous Android Development] bgcngm:
The latest two releases are based on ZTE-CN-9B18D-P188F04V1.1.1 / Custom build: B03. Only kernel from B02 was used, as described on the changelog. Baseband modem was not changed in between.

But it got updated on the newest ZTE release: ZTE-CN-9B18D-P188F04V1.1.3 / Custom build: B01.
[Miscellaneous Android Development] zperetz:
Bruno, do you plan to make an update to this release?

Sent from ZTE V987 with Tapatalk app
[Miscellaneous Android Development] bgcngm:
Yes, I have been planning that since I got good feedback from those who've tried the kernel from that release. The only thing is that doing lockscreen modification (replacing press to unlock by slide to unlock) all over again will be painful. I'll try to do it via Xposed, which is to say, implement the feature in GravityBox.
[Miscellaneous Android Development] zperetz:
Huge, but great plans. You know you can count on us in testing :)

Sent from ZTE V987 with Tapatalk app
[Miscellaneous Android Development] pirracas77:
Take care.

The location services via Network Provider is disappeared in this version. I double checked with other users.

Enviado desde mi ZTE V987 mediante Tapatalk
[Miscellaneous Android Development] KopiJahe:
I never able to change that lockscreen, always got boot loop, looking forward to this :D
[Miscellaneous Android Development] bgcngm:
I did it for V987, but was hard because it involved changing lots of smali code.
[Miscellaneous Android Development] bgcngm:
GravityBox latest version

Download: GravityBox v2.8.2

Flash via clockworkmod recovery. No wipes needed.

Changelog 2.8.2 - 17/12/2013

- Fix for wrong distance calculation (Android 4.2.1 and MTK only) (thanks to bgcngm)

--- implements a workaround for Android 4.2.1 JIT bug, which mainly affects sports tracking apps

--- no need for disabling Dalvik JIT anymore

- Added support for shortcuts to all App Picker preferences

--- allows launching shortcuts from App Launcher, HW key actions, QuickApp tile, etc.

- Improved 'disable data network type icons' feature (thanks to bgcngm)

--- now supports and overrides behaviour of any operator plugin (OPxxPlugin.apk) installed

- QuickSettings management:

--- Added master switch for turning QS management on/off

--- Option to choose modes of Ringer Mode tile (silent/vibrate/sound/sound&vibrate)

--- Disabled tile spanning in landscape mode

--- Fixed launching apps from QS panel while keyguard is showing

- Added "gravitybox.intent.action.TOGGLE_EXPANDED_DESKTOP" to be utilized by taskers

- Navigation Bar: option to swap Back and Recents keys

- Further compatibility improvements for Lenovo devices running stock ROMs (thanks to bgcngm)

--- another (eventual) fix for notification panel layout

- Lockscreen: Option to toggle torch on unlock ring handle long-press

- Option to set dialog timeout of Volume Panel

- Fixed Battery Arc level indication issues

- Updated Japanese translations (thanks to WedyDQ10)

- Updated Portuguese (PT) translation (thanks to bgcngm)

- Updated Polish translations (thanks to xtrem007)

- Updated Russian translations (thanks to smb.roman AKA romashko)

- Updated French translation (thanks to ch-vox)

- Updated Chinese (Simplified) translations (thanks to liveasx)

- Updated Chinese (Traditional) translations (thanks to Eric850130)

- Updated German translations (thanks to Cthulhux & Napzter)

- Updated Spanish translations (thanks to jvbferrer)

Important:

as I mentioned before, those who applied the tweak that disables JIT compilation should comment (or completely delete) that build.prop line:

#dalvik.vm.execution-mode=int:fast
[Miscellaneous Android Development] ndouchin:
Good news, i will make a plugin for mui/wsmtools,as I did for national roaming.Thank you very much!
[Miscellaneous Android Development] zperetz:
After GB update clock app setting stopped working (Gentle Alarm). Starts fine from applications, but no action with tap on clock in status bar.

Sent from ZTE V987 with Tapatalk app
[Miscellaneous Android Development] bgcngm:
Try setting the default app again. Maybe that is due to the new shortcuts feature.
[Miscellaneous Android Development] zperetz:
Yes, looks like this. Tried 2 different apps (worked), then moved back to Gentle Alarm and everything is fine.

Very nice work! :thumbup:

Sent from ZTE V987 with Tapatalk app
[Miscellaneous Android Development] sergiob8:
Hi Bruno, do you know if capacitive buttons can be remaped? I usually do it in a galaxy s3 editing sec_touchkey.kl, but I can't find any similar file in this rom.

I wanna do this as a temporary solution for the back button problem, I can live if it opens menu itself, but not if it exits from apps.
[Miscellaneous Android Development] tsiglas:
Please if you find any solution temporary or not let us know because we are so many......
[Miscellaneous Android Development] bgcngm:
MediaTek phones also have a keymap file. I don't remember exactly the file name and don't know if remapping soft-keys is possible.
[Miscellaneous Android Development] sergiob8:
Yo should edit system/usr/keylayout/mtk-kpd.kl and system\usr\keylayout\generic.kl, and change number 158 by 139 and 139 by 158

key 158 BACK key 139 BACK

key 139 MENU key 158 MENU

The phone is not mine and I can't try it right now, but it may work. Just make a copy of the file before editing it.
[Miscellaneous Android Development] reglaspv:
I changed the values on my phone and there is no difference. And there are 3 values for MENU function.
[Miscellaneous Android Development] panospc:
Edit the following two files and reboot:

system\usr\keylayout\generic.kl

system\usr\keylayout\mtk-kpd.kl
[Miscellaneous Android Development] sergiob8:
There are 3, but in S3 the good one is 139, so I made a guess

---------- Post added at 05:41 PM ---------- Previous post was at 05:41 PM ----------

It works?
[Miscellaneous Android Development] reglaspv:
Nope.
[Miscellaneous Android Development] panospc:
Yes, I just tried it. Just swap 139 with 158
[Miscellaneous Android Development] sergiob8:
Just edit both files, as panospc said
[Miscellaneous Android Development] reglaspv:
I just saw his post. Yes, with the second file changed, keys are remapped.
[Miscellaneous Android Development] DaKyy:
What is wrong with using GB to remap the keys?
[Miscellaneous Android Development] bgcngm:
GB doesn't allow you to remap keys the way it is being discussed. It only allows you do define specific tasks for double tap and long-press action.
[Miscellaneous Android Development] bgcngm:
So, here's a pre-release for anyone that wants to get a taste of the latest official ROM (ZTE China release ZTE-CN-9B18D-P188F04V1.1.3 / Custom build: B01). The update includes the new kernel, a new baseband modem, updated libraries and kernel modules. Only difference when compared to the latest official ROM is framework and system apps. :cool: I don't have time for a full release right now, hope you understand.

EDIT: Ohhh, forgot to mention that I have also removed the previously added tweak that disabled JIT compilation, which was highly advised as referred over here. No need to do it manually. ;)
[Miscellaneous Android Development] MSprecher:
Thank you, Bruno! Your work is very much appreciated! Donation is on the way ;)
[Miscellaneous Android Development] zperetz:
Great news!

Lockscreen is stock ZTE or our lovely AOSP? :)

Upd: forget my question. Update is really great. Maybe it's just feeling, but phone is very smooth and responsive now.

Sent from ZTE V987 with Tapatalk app
[Miscellaneous Android Development] pirracas77:
Thanks bruno for your great work.

Is Location access via network provider shown in your release?

Enviado desde mi ZTE V987 mediante Tapatalk
[Miscellaneous Android Development] bgcngm:
That pre-release is an incremental update, that is to say it should be installed over the previous custom ROM. Taking into consideration that system apps were not changed, as I mentioned, and location via network provider was available before, it remains available after the update. :)
[Miscellaneous Android Development] pirracas77:
Looking forward to hearing from your new complete released. ;)

Enviado desde mi ZTE V987 mediante Tapatalk
[Miscellaneous Android Development] zperetz:
Bruno,

finally I've found the time to check Exchange service and Email. In 3.0 stock Email and Exchange was odexed, but in 3.1 the latest apps are not. Is it due to some reasons? Should I do something to get odexed apps?

By the way, just want to share the way how to connect your phone as storage to Windows PC without any drivers (I don't remember if it was here or not). You should do exactly the following:

1. Connect the phone (it will mount CD with drivers, no SD)

2. Deny installation of drivers, if any

3. Go to "My Computer" and on mounted CD right button -> Eject. This is important point, you should not do it through Task Bar, but only from My Computer

4. Cancel error message on computer

5. Agree on phone to connect as USB storage

Voila, you can download and upload whatever you need from SD without drivers. Enjoy!

In my case USB Debug mode is off.
[Miscellaneous Android Development] kratos69:
Thanks Bruno! One thing more.. Can I install it with 3.0? Or just with 3.1? Thanks :good:
[Miscellaneous Android Development] bgcngm:
The reason is that stock apps were already deodexed. The new ones are not because are meant to be used in any ROM. Deodexed apps are device specific. I don't think you should worry with that. ;)

Sure, go ahead.
[Miscellaneous Android Development] kratos69:
:good::good:

Installed! V4!
[Miscellaneous Android Development] chlewior:
Hi Guys!

I have a strange issue with multitouch in my V987, I’m running V3.0MOD by JB. The issue occurs when I try to play FPS games, such as Modern Combat 4. To give a bit of a mental image of what I'm dealing with here, I go to play a game on my phone (one of the above) and so on one side I have the movement button's (Up, Down, Left, Right etc. and on the right I shoot/aim around the screen, well the thing is, if my finger is on a button on the left for the movement and I go to aim while at the same time continuing to move, movement stops and it treats my aiming side as if it were the only finger on the screen at the time. Though Multi-Touch tester (an app on play store) recognizes all the inputs.

I’ve done my research and it seems that users of Xperia L had the same problem:

http://talk.sonymobile.com/t5/Xperia-L/Xperia-L-Multi-touch-not-working/td-p/333701

This basically sums up what I’m dealing with. Am I the only one? Anyone has any idea how to fix it?
[Miscellaneous Android Development] panospc:
This is a kernel issue and has been fixed since B03 kernel. Just install V4 pre-relase to fix the problem.
[Miscellaneous Android Development] chlewior:
thanks - worked very well!
[Miscellaneous Android Development] KopiJahe:
It's seems that ZTE is fixing touchscreen issue with B03 kernel release in their MT6589 phones, including V987 and N986 (I got this update for about a month now :D )
[Miscellaneous Android Development] galaxymny:
Hello,

I am a V3.1 user and have just realised that storage size bat is not orrectly displayed. My internal partitions are Factory default:

System ROM 670Mb

Internal 0.98Gb (free 79.40Mb)

Phone storage 1.77Gb

SD card 15.05Gb (free 1.50Gb)

The grey area in the size bars should should be much smaller according to abovementioned free space.

The grey area in the Phone storage bar looks OK, though.

Maybe this is an android issue and not a custom Tom issue?

Thanks for your attention!
[Miscellaneous Android Development] galaxymny:
Hello,

It seems I have bricked my ZTE V987 when trying to expand internal memory from factory-default 0.98GB to 2.77GB. In order to expand internal memory to 2.77GB I have used Meteo's software (great little tool).

Previously, I had read at least one post reporting about a successful 2.50GB expansion, so I wanted to try the maximum available, 2.77GB but, obviously, it does not work with a V987. Now, I know. I was running Bruno's V3.1MOD rom without any single error (congratulations, Bruno!).

In order to get my V987 back to default I have used Bruno´s

V987_extended_userdata_mod bruno.zip

file. With SP Flash Tool v3.1304.0 I have successfully flashed the stock partition (inside V987_extended_userdata_mod bruno.zip; MT6589_Android_scatter_emmc.txt file, MBR, EBR1, EBR2 are ticked) and can get into CWM, which is a nice step forward.

However, the following steps will allow for the mobile to boot but get stuck in the logo screen:

(I have followed advice from here and here

1.- insert battery, get into cwm

2.- wipe data/factory reset, and get...

formatting /data

formatting /cache

formatting /sd-ext

formatting /sd-ext

formatting /sdcard/.android_secure

error mounting /sdcard/.android-secure!

Skipping format...

Data wipe complete

3.- install zip > choose zip from sdcard, and get...

E: Can't mount /sdcard/

Any ideas are welcome as I would despair to have a bricked mobile... :(

Thank you for your attention. I do appreciate your time and cooperation.

Regards,
[Miscellaneous Android Development] bgcngm:
GravityBox latest version

Download: GravityBox v2.8.3

Flash via clockworkmod recovery. No wipes needed.

Changelog 2.8.3 - 21/12/2013

- QuickSettings:

--- Swipe notification panel handle to switch between notifications/tiles

--- QuickRecord tile will create new file for each new recording. Recordings are stored under "AudioRecordings" dir

- Screen-off effect:

--- Now uses system default by default

--- Allows choosing between CRT or Fade effects

- Launcher tweaks:

--- Option to choose desktop grid size

--- Applies to Google Experience Launcher only

--- Menu available only when GEL is installed (thanks to bgcngm)

- Option to set battery percent text size (thanks to bgcngm)

- Option to set battery percent text style (with or without % sign) (thanks to bgcngm)

- Battery indicator related tweaks moved under dedicated preference screen (thanks to bgcngm)

- Fixed Lockscreen Torch being dependent on Battery Arc option

- Improved App Launcher initialization (potential fix for paid apps not being visible after reboot)

- Further improvements regarding support of Lenovo devices (thanks to bgcngm)

--- Don't load QS submodule on smartphones due to different implementation

--- Fix data network type icons hiding

- Updated French translation (thanks to ch-vox)

- Updated Chinese (Traditional) translations (thanks to Eric850130)

- Updated Chinese (Simplified) translations (thanks to liveasx)

- Updated Polish translations (thanks to xtrem007)

- Updated Spanish translations (thanks to jvbferrer)

- Updated Portuguese (PT) translation (thanks to bgcngm)

- Updated Japanese translations (thanks to WedyDQ10)

- Updated Hungarian translation (thanks to benjoe1)

- Updated Italian translation (thanks to pesa1234)

- Updated Slovak and Czech translations
[Miscellaneous Android Development] reglaspv:
I use v.4 pre-release.

I don't record too much video but tonight, to my surprise, recorded video was a 3gp file, with 640/480 resolution.

Shouldn't be 1080p@30fps? I'm missing something? because I can't find any setting in camera app about resolution.
[Miscellaneous Android Development] bgcngm:
Don't despair. If you can get into CWM you can recover the phone. Which CWM version have you flashed? Are you trying to install a zip from external sdcard?

Which app are you using? Stock camera?
[Miscellaneous Android Development] reglaspv:
Yes, stock camera.
[Miscellaneous Android Development] galaxymny:
Hello,

Thanks for writing back. I'm using CWM 6.0.3.7 and yes, i'm trying to install a zip from external sdcard. Actually, I have been able to install your V3.1 MOD zip file(update_JB_V987_V3.1MOD.zip) from external sdcard. A brand new rom install. Settings > Storage shows:

Internal storage 2.46GB

SD card 15.04GB

Phone storage 273MB

So it is obvious Meteos program has done it task (now internal storage is 2.46GB instead of factory-default 0.98GB). However, after that brand new install I get into CWM in order to restore a previous CWM backup (not a brand new install) and it's then when I get the external sdcard mount error:

3.- install zip > choose zip from sdcard, and get...

E: Can't mount /sdcard/

But that's just so strange since before getting into CWM I have used the default file explorer and entered into the external sdcard and seen the contents. It's just as if, for some reason, CWM just won't be able to get into the external sdcard.

Thank you once more!

Regards,

edit: I have even tried mounts and storage > format /sdcard to get "error mounting /sdcard! skipping format" and when I choose "mount /sdcard" i get "error mounting /sdcard". And the external sdcard can actually be read and perused from within the previous v3.1MOD brand new install... So strange.
[Miscellaneous Android Development] zperetz:
Tried a few times, cannot confirm low res for camera. 1280x720 with standard quality all the time.

Sent from ZTE V987 with Tapatalk app
[Miscellaneous Android Development] vagosofron:
Also installed V4.0 pre-release. Shouldn't i get the newest version of GB?

I used the version that was in the V3.1 mod, but after the pre-release installation, i still have the same GB version ( 2.7.6).
[Miscellaneous Android Development] bgcngm:
Nop, pre-release update purpose is to update kernel, libraries, kernel modules and baseband modem. Nothing more. ;)
[Miscellaneous Android Development] reglaspv:
I believe you, however, this is how is recorded by my phone:

https://www.dropbox.com/s/68ap3m2x91ecodd/VID_20131222_130423.3gp
[Miscellaneous Android Development] zperetz:
I can do the same with video quality set to low. In camera left low corner settings - select video - high quality. Have you checked this?

Sent from ZTE V987 with Tapatalk app