[Guide] Enable Whatsapp calls activity -- no root [New method] [APK ADDED] - Android General

The latest WhatsApp feature is generating a lot of duplicate threads on XDA, drowning other threads in the process. Many are also posted in the wrong section. We're closing down all invite threads to keep the clutter down to a minimum. Instead, please use The Consolidated WhatsApp Calling Thread as a consolidated thread for all discussions related to the WhatsApp calling feature and invites. Thank you!​
Hi folks,
As we saw last days , a fellow guy here discovered a hidden activity in whatsapp that has calling feature.
even if you didn't get an invitation for the feature you still can get this hidden activity and amaze your friends
or maybe you will be a lucky 5.0 lollipop user that gets an invitation
**This method is not like the old ones at all**
**This method makes the calls activity your home of whatsapp forever**
By editing AndroidManifest.xml of whatsapp
Requirements:
Latest Whatsapp apk
ApkTool (HERE)
Basic knowledge of decomipling
Basic knowlegde of editing xml files
notepad++
Steps :
Decompile whatsapp
open AndroidManifest.xml
search for :
Code:
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode" android:hardwareAccelerated="false" android:name="com.whatsapp.Main">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER"/>
</intent-filter>
</activity>
change it to :
Code:
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode" android:hardwareAccelerated="false" android:name="com.whatsapp.Main"/>
Then search for this line
Code:
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode" android:label="@string/app_name" android:launchMode="singleTask" android:name="com.whatsapp.HomeActivity" android:theme="@style/Theme.App.Home"/>
change to :
Code:
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode" android:label="@string/app_name" android:launchMode="singleTask" android:name="com.whatsapp.HomeActivity" android:theme="@style/Theme.App.Home">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER"/>
</intent-filter>
</activity>
Now compile and sign
Uninstall the old whatsapp
Install the modified one
Voila !
**If you are lazy a modified version is available HERE (Thanks @Uncertified Robot)**​
This guide was featured on XDA Portal on 6 Feb 2015
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
Credits goes to :
Me (of course)
[email protected]
[email protected]
Uncertified [email protected]

Can you upload the apk?

NaRiNe said:
Can you upload the apk?
Click to expand...
Click to collapse
Here : http://www.apkreleases.com/2015/02/02/whatsapp-211508-apk-android-download/

mohamedrashad said:
Here : http://www.apkreleases.com/2015/02/02/whatsapp-211508-apk-android-download/
Click to expand...
Click to collapse
Is this one a modded file ?

Can you make afile and upload it pls

tariq2kn said:
Is this one a modded file ?
Click to expand...
Click to collapse
no, the original one

muhammadsultan said:
Can you make a file and upload it pls
Click to expand...
Click to collapse
I have no time for now, maybe later I will

Screenshot please

Went through this method on my Moto X. What I have to say is:
1) Strangely, it didn't make "Calls" the home of my whatsapp. The home is still chats.
2) Nevertheless, now, there are three tabs that appear on top of the app. CALLS / CHATS / CONTACTS
3) When I click the calls tab, it shows a phone button on top, where it usually is the "New Chat" button, and clicking it would let me make a call, but it doesn't show any contacts, not even my friends with iPhones who got the call button already.
4) I've tried to force stop the app a few times already and the calling contact list is still empty.
5) I'm on Kit Kat, so I don't know if it's because it's not Lollipop.
tl;dr: I can confirm this method makes the Call menu accessible, but I don't know if it works, because the calling contact list is empty.

Awesome job

confused
If WhatsApp block bcus of modified version

i found somewhere that to enable whatsapp call just past this code
PHP:
su
am start -n
com.whatsapp/com.whatsapp.HomeActivity
to Terminal Emulator and it will enable it.
is this will work?

android.zealot.fervor said:
Awesome job
Click to expand...
Click to collapse
Can you pls uploade file

thanx for hardwork
can you put here modified apk pls .........because im still folk to do this . REGARDS

mosabajaj said:
i found somewhere that to enable whatsapp call just past this code
PHP:
su
am start -n com.whatsapp/com.whatsapp.HomeActivity
to Terminal Emulator and it will enable it.
is this will work?
Click to expand...
Click to collapse
Yeah that works but the call feature disappears after a while, so you keep needing to input that code, which is really annoying.

Ecchii said:
Yeah that works but the call feature disappears after a while, so you keep needing to input that code, which is really annoying.
Click to expand...
Click to collapse
Please uploaded the modded apk

mosabajaj said:
i found somewhere that to enable whatsapp call just past this code
PHP:
su
am start -n
com.whatsapp/com.whatsapp.HomeActivity
to Terminal Emulator and it will enable it.
is this will work?
Click to expand...
Click to collapse
It works to the extent of enabling the 3 tab interface including the 'Calls' tab, but none of the contacts are available for making a voice call. So, the entire act is kind of pointless at this moment.

modded apk would be nice

t3chg33k said:
It works to the extent of enabling the 3 tab interface including the 'Calls' tab, but none of the contacts are available for making a voice call. So, the entire act is kind of pointless at this moment.
Click to expand...
Click to collapse
even if you do it in 2 phones?
maybe no contact available because all of your contacts haven't this feature

I'll upload a modded apk tomorrow
Just wait. .​

Related

make WM6 voip working

First of all, I'm sorry for my poor english.
I have try a lot of time to make the WM6 voip working with my operator.
Now, it works fine for me so I will share my experience with you.
The tools :
WM6 PEE or Phil's ROM
For other Roms WM6voip
Download and install my patch to correct earing problems : View attachment registry_voip.cab
Configure Voip thanks to eluth's post here
To make your cab config you can also use View attachment cabpack.zip ( with mszip option
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
)
If your phone says "operator:Selected" you are OK
To make a voip call tape the phone number in international format like "00xxyyyyyy.." where xx is the country number and yyyyyy... the local phone number.
I'm working to redirect the sound to the internal speaker. I have seen that somebody makes it work on a pda.
It's my first post in this forum so tell me if something is wrong in my explanation.
Hope I can help you !
What does the patch "registry_voip.cab" do?
I have PEE Rom and have already set up VoIP with the built-in Voipiser tool - works nice, except the sound coming from the speaker. Also the main flaw is that my phonebook consists from numbers starting with "+", for example +74951234567. But for VoIP i have to manually dial the number without the "+", for example 74951234567. That means i can't use my phonebook and have to manually dial each number.
registry_voip.cab correct sound earing problems due to codec parameters used by lots voip operators.
If you store contact's phone number in international format like 003474951234567 then sip dialing is ok.
You can also search for local ipdialplan.xml.
Just wanted to know why when i am connected to wifi, i got VoipStunt: No Service and when connected to GPRS i got VoipStunt: Selected.
wifi issue
hizad said:
Just wanted to know why when i am connected to wifi, i got VoipStunt: No Service and when connected to GPRS i got VoipStunt: Selected.
Click to expand...
Click to collapse
See the firewall rules or the port redirections of your wifi access point. Have you try with more than one wifi connection ?
gandou63 said:
See the firewall rules or the port redirections of your wifi access point. Have you try with more than one wifi connection ?
Click to expand...
Click to collapse
May I know now you configure your VoIPStunt, do you use VoIPIser or manual editing of the xml files ?
gandou63 said:
See the firewall rules or the port redirections of your wifi access point. Have you try with more than one wifi connection ?
Click to expand...
Click to collapse
Thanks for advise. How can check on them?
Karhoe
Search previous threads under Solved Voip as for the settings go to www.voipstunt.com/en/sipp.html and configurations using setup.xml
xml file
karhoe said:
May I know now you configure your VoIPStunt, do you use VoIPIser or manual editing of the xml files ?
Click to expand...
Click to collapse
your xml file will be :
<wap-provisioningdoc>
<characteristic type="VoIP">
<parm name="SIPSettings"
value="<provision key='1232ab01' name='voipstunt'>
<provider name='voipstunt' />
<user account='user' password='pass***'
uri='sip:[email protected]'
allowedauth='digest'/>
<sipsrv addr='sip.voipstunt.com:5060' protocol='UDP' role='proxy'>
<session party='First' type='pc2pc' />
<session party='First' type='pc2ph' />
</sipsrv>
<sipsrv addr='sip.voipstunt.com:5060' protocol='UDP' role='registrar'/>
</provision>" />
</characteristic>
</wap-provisioningdoc>
Click to expand...
Click to collapse
xml file
karhoe said:
May I know now you configure your VoIPStunt, do you use VoIPIser or manual editing of the xml files ?
Click to expand...
Click to collapse
your xml file will be :
<wap-provisioningdoc>
<characteristic type="VoIP">
<parm name="SIPSettings"
value="<provision key='1232ab01' name='voipstunt'>
<provider name='voipstunt' />
<user account='user' password='pass***'
uri='sip:user@voipstunt.com'
allowedauth='digest'/>
<sipsrv addr='sip.voipstunt.com:5060' protocol='UDP' role='proxy'>
<session party='First' type='pc2pc' />
<session party='First' type='pc2ph' />
</sipsrv>
<sipsrv addr='sip.voipstunt.com:5060' protocol='UDP' role='registrar'/>
</provision>" />
</characteristic>
</wap-provisioningdoc>
Click to expand...
Click to collapse
thx for the info.
having 1 problem.
getting "operator:Selected"
but when I dail, I get 3 fast tut,tut,tut and then it disconnect.
i can see that iam connectet when i logon to my voip provider.
what have i done wrong?
I think the phone number format is wrong. try to manual dialing in international format. other way try short international format like +yyxxxxxxxx (+34123456789)
I'm working to redirect the sound to the internal speaker. I have seen that somebody makes it work on a pda
Click to expand...
Click to collapse
Any News??
i'm looking to this solution : here
Make your internal speaker work with AGEphone Mobile 2 Speakerphone Edition! For now we support only a limited range of phones, but support for more devices is in the pipe

[APP][4.0+] Secret Codes 1.1

Secret Codes is an Open Source application that allows you to browse through hidden codes of your Android phone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This application will scan through all available secret codes on your device.
Then you will be able to executes these secret codes a discover hidden functionalities.
What is a secret code?
In Android a secret code is defined by this pattern: *#*#<code>#*#*.
If such a secret code is executed, the system will trigger this method: (taken form the AOSP Android Open Source Project)
Code:
static private boolean handleSecretCode(Context context, String input) {
int len = input.length();
if (len > 8 && input.startsWith("*#*#") && input.endsWith("#*#*")) {
Intent intent = new Intent(TelephonyIntents.SECRET_CODE_ACTION,
Uri.parse("android_secret_code://" + input.substring(4, len - 4)));
context.sendBroadcast(intent);
return true;
}
return false;
}
How to execute a secret code?
There are three ways to execute a secret code:
Directly through the dialer application of your Android device.
Simply write the secret code like: *#*#123456789#*#*.
Click to expand...
Click to collapse
String secretCode = "123456789";
Intent intent = new Intent(Intent.ACTION_DIAL);
intent.setData(Uri.parse("tel:*#*#" + secretCode + "#*#*"));
startActivity(intent);
Click to expand...
Click to collapse
String secretCode = "123456789";
String action = "android.provider.Telephony.SECRET_CODE";
Uri uri = Uri.parse("android_secret_code://" + secretCode);
Intent intent = new Intent(action, uri);
sendBroadcast(intent);
Click to expand...
Click to collapse
How to create your own secret code?
Add these lines in your AndroidManifest.xml
And whenever *#*#123456789#*#* is submitted, your receiver will be notified.
Code:
<receiver android:name=".MySecretCodeReceiver">
<intent-filter>
<action android:name="android.provider.Telephony.SECRET_CODE" />
<data android:scheme="android_secret_code" android:host="123456789" />
</intent-filter>
</receiver>
Pictures in Op aren't showing up, and is there a link to download? Or the Play Store link?
Sent from my SGH-I337 using Tapatalk 4
Sc4ryB3ar said:
Pictures in Op aren't showing up
Click to expand...
Click to collapse
What pictures ?
For the download link, click on this button :
FireFly said:
What pictures ?
For the download link, click on this button :
Click to expand...
Click to collapse
It doesn't appear like any of the links are working on the tapatalk4 app. No worries I'll just go online
Sent from my SGH-I337 using Tapatalk 4
I tried using your app.however when searching for secret codes it reaches 86 % and force closes.I am using Samsung galaxy grand 4.2.2 any solutions?
I've got your report on my dashbord and will investigate immediatelly.
Hi,
After updating it works so...merci beaucoup
rishabh56 said:
i tried using your app.however when searching for secret codes it reaches 86 % and force closes.i am using samsung galaxy grand 4.2.2 any solutions?
Click to expand...
Click to collapse
edit-updated the app and eveeything seems fine now
cool app. works great. gave you a great review
Yes, the new update fixes this edge case bug where there is no label for a given secret code.
Thanks for the quick report
v1.3:
- Export secret codes and icons
- View online database
The current database is located here
LINK?
Sent from my SPH-L710 using xda app-developers app
v1.3.2:
New video (see below)
Remove unnecessary permissions
UI refinements
Hi,
Someone knows how to execute Secret Codes using android.intent.action.CALL instead android.intent.action.DIAL ?
I like to "call" a secret code using the Phonebook Contacts... but it always uses the CALL function instead DIAL function.
Please, help me!
how about ***,144*** . Is it possibly an unlock code?
FOUND it on an M9 that was unlocked without my knowledge. Wasted $$ on 2 unlock codes only to find that they were already unlocked. But the 3rd M9, on the same plan, did need the code. I didn't enter it. There were also dozens of outgoing calls in the log with no number listed. All various times and call durations. Even my carrier, R in Canada didn't have any record of the outgoing number for ANY of the calls.

{Updated}[GUIDE][ROOT] Enable calling feature on whatsapp!

The latest WhatsApp feature is generating a lot of duplicate threads on XDA, drowning other threads in the process. Many are also posted in the wrong section. We're closing down all invite threads to keep the clutter down to a minimum. Instead, please use The Consolidated WhatsApp Calling Thread as a consolidated thread for all discussions related to the WhatsApp calling feature and invites. Thank you!​
There had been rumors about whatsapp having a calling feature, well it looks like they've finally implimented it but it might be still in it's beta version, so it's not out for the public yet. a user in reddit had enabled this feature and posted a screenshot, so I decided to try.
let's get started.
Requirements:
1)Root access
2) whatsapp (version 2.11.508 or up. you can use the whatsapp.apk in the attachments.)
3) terminal emulator
Click to expand...
Click to collapse
Instructions:
1) make sure you have the right version of whatsapp
2) open terminal emulator in your android phone
3) type in the following:
HTML:
su
am start -n com.whatsapp/com.whatsapp.HomeActivity
4) whatsapp should now open with the calling feature enabled.
Click to expand...
Click to collapse
Drawbacks::crying:
1) if you want to call someone, the other person must have done the same thing (enabled this feature) in order for that person to receive your call
Click to expand...
Click to collapse
proof:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
UPDATE:
there is another method which seems to work without invite, follow this guide here.
Press thanks if I've helped!
XDA:DevDB Information
[GUIDE][ROOT] Enable calling feature on whatsapp!, App for the Android General
Contributors
shashanksetty
Version Information
Status: Testing
Created 2015-02-01
Last Updated 2015-02-01
I enabled it but no contacts are showing up to call...how to call anyone ?
dtalwar14 said:
I enabled it but no contacts are showing up to call...how to call anyone ?
Click to expand...
Click to collapse
You need someone with the calling feature to call you for you to get the feature enabled, sorry I forgot to mention that, it's like an invite.
still waiting for invations
If u have enabled the call feature can u send invite ?? +918427999949
I want this feature…
Sorry guys, I don't have this calling feature myself! :crying:
I have followed the steps please can someone call me
Please pm me for number
Any Indian guys here can help?
Followed the steps, but it didn't work. Anyone got the feature?
can anyone who enabled this feature give me a call to enable it on my account please on +201001241400 please
I got only new ui but calling feature is not enabled..
Need invite..
shashanksetty said:
Instructions:
Click to expand...
Click to collapse
Easier way is to make a shortcut to an activity, for example on Lollipop's Lockscreen.
Replace the call shortcut with Activity> WhatsApp> HomeActivity
Great_Geek said:
Easier way is to make a shortcut to an activity, for example on Lollipop's Lockscreen.
Replace the call shortcut with Activity> WhatsApp> HomeActivity
Click to expand...
Click to collapse
how?
I have rooted and enabled this feature. Who can call me or want me to call you?
I have updated the version of whatsapp 2.11.508 i wouldn't see call features can any body call me ......those hvnt see any contacts plzz call me +918802324421
---------- Post added at 03:37 AM ---------- Previous post was at 03:31 AM ----------
digesh9870 said:
I have rooted and enabled this feature. Who can call me or want me to call you?
Click to expand...
Click to collapse
Can u call me on +918802324421
Yes its working Any one call can me
THANKS
ツ
Calls is showing, but no contact. It's happened also in my other number. Impossible to make call. Maybe WhatsApp disabled it for uninvited users
Sent from my HM 1S using XDA Free mobile app
GUYS! For God's sake stop sharing your mobile nos. on an International forum. Use PM if you want. These forums are accessible to everyone on the planet. Use your brains. Don't take such stupid risks for features that will make way to the app in coming weeks.
Will it work on Whatsapp plus...?

[APP][4.3+] WhatsApp Auto Responder / WA Chat Bot [ROOT]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Custom Auto Responder for WhatsApp
Mod edit: Link removed
!!!ROOTED device NEEDED!!!
Simple steps:
Select message which has to be answered (or * for all incoming messages which can also be specified by contact)
Select an answer for this message
Select contacts which will get responses
Start WA Chat Bot
Automatically sends custom responses to incoming messages.
You can define custom answers for custom received messages!
WhatsApp™ is a registerd Trademark of WhatsApp Inc.
Also I am not responsible for any damage on your device and your whatsapp account.
Updated
Any ideas how to improve?
Yes, send a message in x time or week days
Enviado desde mi SM-N910F mediante Tapatalk
Maybe an trial version for 24/48 hours would be nice before I purchase an app...
Does this work with GBWhatsApp or only with stock WhatsApp?
spevil07 said:
Does this work with GBWhatsApp or only with stock WhatsApp?
Click to expand...
Click to collapse
It should work with every whatsapp which uses the package com.whatsapp
spevil07 said:
Does this work with GBWhatsApp or only with stock WhatsApp?
Click to expand...
Click to collapse
I searched a bit and found that GBWhatsapp uses the package com.gbwhatsapp.. So it doesn't work, sry :/
GBWhatsApp have 2 different packages. com.gbwhatsapp and com.whatsapp
Gesendet von meinem Nexus 6
spevil07 said:
GBWhatsApp have 2 different packages. com.gbwhatsapp and com.whatsapp
Gesendet von meinem Nexus 6
Click to expand...
Click to collapse
Oh okay the database has to be in com.whatsapp and notifications have to come from this package, too. Just try it out.. you will get your money back, if it doesnt work.. I just need your order number..
Don't want to butt in but according to xda rules you have to provide a free version for the community if you want to publicize your app on xda..
kunal1540 said:
Don't want to butt in but according to xda rules you have to provide a free version for the community if you want to publicize your app on xda..
Click to expand...
Click to collapse
Oh well I read the rules, but I missed that I may provide one in the future
Nice app.
But I only get the time feature to work.
Have u a example or a Screenshot for other options?
Like if someone write..
"What are u doing"
My bot answer would be.
"Bot: My master is not here"
secXces_debaki said:
Nice app.
But I only get the time feature to work.
Have u a example or a Screenshot for other options?
Like if someone write..
"What are u doing"
My bot answer would be.
"Bot: My master is not here"
Click to expand...
Click to collapse
What do you mean with time feature?
You can add a rule with "received Message: What are you doing" and "answer message: My Master is not here". Thats all you have to do, that the bot will answer
A video demo for the App would be nice!
jagan2 said:
A video demo for the App would be nice!
Click to expand...
Click to collapse
I'm already in contact with someone who is interested in making a Video about it, I put a link in here when he finished it
I try it on that way. But the bot is silence.
Then I write inside the bot received message "Time"
And answer message "%time%"
That's working. So I think I do something wrong.
secXces_debaki said:
I try it on that way. But the bot is silence.
Then I write inside the bot received message "Time"
And answer message "%time%"
That's working. So I think I do something wrong.
Click to expand...
Click to collapse
Maybe grammatical mistakes at the received message? Received message has to be exact as long as you didn't check the "answer if received message contains.." Option. Why shouldn't it work with other words than "Time"?
Hey @TK Studio. I haven't used your app but after coming across this thread, an idea struck me.....maybe you could add a feature like per contact response....so that one can set a response based on from whome the message has been received....I'll try the app shortly. Thanks
Karamvir Singh said:
Hey @TK Studio. I haven't used your app but after coming across this thread, an idea struck me.....maybe you could add a feature like per contact response....so that one can set a response based on from whome the message has been received....I'll try the app shortly. Thanks
Click to expand...
Click to collapse
There is already a feature to specify contacts who will receive the answer.. Or do you mean something else?
Please read the article posted in the link below regarding paid apps.
http://www.xda-developers.com/a-guide-to-paid-work-on-xda-developers/
Thread closed.

[MOD] Lenovo Healthy 1.4.1 - The Lenovo/Desay Hardware App Mod

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Lenovo Healthy Mod​
Hello everyone!
For us Lenovo smart hardware users, or at least personally in my case, I've found a bit unuseful that Lenovo (or Desay, whateveryoumaycallthem) included apps like QQ, WeChat and such inside Lenovo Healthy as possible reminders. For that reason, I decided to mod it a bit so that we could have Telegram notifications in our Lenovo smartbands in place of WeChat, and Snapchat Notifications in place of QQ.
Also, I noticed that I wasn't receiving any SMS or Mail notifications because the package name of Google Messaging and Inbox by Gmail apps weren't similar to any of the included in the app, so I changed it a bit so they worked too.
Features:
Changed WeChat -> Telegram
Changed QQ -> Snapchat
Modified Email -> Inbox by Gmail
Modified SMS -> Google Messaging
Compatible with:
Lenovo HW01
Lenovo HW01 Plus (with Pai)
Lenovo HW02
Download
Version: 1.4.1(171212)-mod
Date: 18/12/2017
Mod date: 21/12/2017
Enjoy!
Reserved -- If any Moderator knows of a better placement in the forum for this app/mod, please kindly move it if needed!
Thank you for mod
Thank you, this app has some problems (like no interface with Google Fit or only 2 alarms clock). I wrote tto developers for help them with italian translation but they never reply me.
Great work
Thanks for mods
Do You plan any app update? Now there is Lenovo Healthy 1.5.0(180208) app.
My Personal Mod
Hello!!
Sorry by my english... it's not so good.
I mod a little bit my application (Lenovo Healthy)... I have not the same mods that linuxct because I don't have the same needs.
1) Changed Whatsapp notification -> the icon is the same but I add a short instant text to see who send the message... It is showed by a realy short time
2) Changed QQ -> Telegram
3) Changed SMS -> Same that Whatsapp but with SMS icon
It works on my HW01
I'm going to check the short times messages and I'll share it tomorrow
update
This is my mod, I hope It can help you...
Version Mod 1.5.0, tested in my smartband lenovo hw01 firmware 1.0.7.
drive.google.com/file/d/1bzuagY5A7NVYNlt4QplbJkN0ME9p7g2t/view?usp=sharing
I use the call message as the text and after 3 seconds show the icon message.. because I cant find the option to replace the telephone icon.. by default the app send the information text to the smart bracelet but it is not showed, only if it is showed as a call notification (I think it is by the smart band firmware).
I'm not a programmer.. but I know a little about java... and with this mod i learn about smali, but i think is easy to create an notification app (for a programmer) using the lenovo bluetooth service.
Totally unsatisfied with HW01, and i'm willing to help improving the Lenovo Healthy app by modding it, but I need some guidelines on how to program in smali... I'm totally lost, but at least got to the NotificationReceiverService.smali and BtCommandExecutor.smali
Any tips or guides on Smali so I can understand and modify those files?
Hi Janthor
Hi Janthor.
I have good progress on my develop... I found the commands the app sends to the band, I could ejecute several functions that the original app sends to the band.
At this moment for example I uses my band to unlock my android device for example.
I was trying mod the app but with smali is very dificult... smali is a precompiled code and its ok to do just little changes.
Pd. The smartband is Ok, the problem is the app.
DataScientist said:
Hi Janthor.
I have good progress on my develop... I found the commands the app sends to the band, I could ejecute several functions that the original app sends to the band.
At this moment for example I uses my band to unlock my android device for example.
I was trying mod the app but with smali is very dificult... smali is a precompiled code and its ok to do just little changes.
Pd. The smartband is Ok, the problem is the app.
Click to expand...
Click to collapse
Can you document what you found about the protocol it uses to communicate with the smartband? I'm also thinking of developing a new app to substitute Lenovo Healthy and maybe integrate to Google Fit.
Hi Janthor
Sure.. just let me clean a little bit the code I use to conect the smartband to lenovo and I share it...
I just have a problem... I cannot get the data of the band that was saved while the band was not connected to the smartphone... but maybe someone can do that if I share my code.
Getting code from Lenovo Healty
Hello.
I get a part of code from the original app because there is nothing of documentation about de smartband api
I adapted the code to get some funtionalities of the HW01, but I thing it works with other desay bands...
COMMENTS:
1) In DsBluetoothConnector.java are the funcions that desay uses to write and read data from the band.
2) I call the services in DsBluetoothConnector.java since BTService.java.
3) I think the method DsBluetoothConnector.synDataSafe() get the information saved in the band when it was offline, but I can't do this works yet (if you can please share the solution).
4) I get the partial code using a JADX decompiler online.
5) If you get something ... please share.
This is my Android Studio Project:
drive.google.com/file/d/1HGHtImBb8FuRBcuLGtto_M8GB92WK7DG/view?usp=sharing
I hope it can help you!!
Thank you, I'm going to study it and start developing tonight(I live in brazil, so about 6 hours from now). If I get any progress i'll post it here.
Janthor said:
Thank you, I'm going to study it and start developing tonight(I live in brazil, so about 6 hours from now). If I get any progress i'll post it here.
Click to expand...
Click to collapse
Sorry, I would help you, but I don't know Java i
If you need and want to translate in italian, send me the message file
Download not working
steveianson said:
Download not working
Click to expand...
Click to collapse
Ah, yeah. Oops.
Finally... I can connect My HW01 with google fit....
Let me put the configurations in activities because I have my band configurations in code.. and I will share it!! ah and I need translate it because I have it in spanish.
Firts Activity --> https://drive.google.com/open?id=1S_-U-Tp-7HjboY7lUWwfcgj1C-3Gz563
Google Fit Syncronized --> https://drive.google.com/open?id=1B8iX0z2VL2d0KaGO2-NviDlG035aV2MX
Widget GoogleFit --> https://drive.google.com/open?id=1a7JEfY1H_JeNnVbaI28xFwJx-vteJavp
Smart Lock --> https://drive.google.com/open?id=1-uBuy9j88RAIsAGXW7Q8-0-hH-HCyCqe
linuxct said:
Ah, yeah. Oops.
Click to expand...
Click to collapse
download link broken again :/
DataScientist said:
ah and I need translate it because I have it in spanish.
Click to expand...
Click to collapse
I never studied spanish... But looking your screen shots It seems italian
Hello is development live as the link is broken ?
Somebody send the proper link ..
Urgent.
& Also can it work in hw02 plus band.??
Hello!
Please, does anyone has the proper link to download the modded APP? THe legacy Lenovo app sucks a lot

Categories

Resources