5,597,937 Members 38,506 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] Use whatsapp with ART [4.4] [NOV-19-2013]

Tip us?
 
luiseteyo
Old
(Last edited by luiseteyo; 22nd November 2013 at 07:58 AM.)
#1  
luiseteyo's Avatar
Recognized Contributor - OP
Thanks Meter 2047
Posts: 2,190
Join Date: Oct 2011
Location: Madrid
Default [GUIDE] Use whatsapp with ART [4.4] [NOV-19-2013]

INTRODUCTION
Hi everybody! After using the old method of installing whatsapp's old.42 and .50 version, cernekee found that flashing libart.so in system partition, we would be able to install whatsapp from playstore without depending on the version.

I just did a flasheable zip which:

- Installs neccessary lib
- Fixes permissions

The procedure is very simple...

HOW-TO
1. Download libart.so_flashable.zip from the bottom of the post and push it to your sdcard

2. Swich (if u hadn't already done it) to ART runtime mode under developer options

3. Flash the fix from recovery

4. Install whatsapp from playstore

5. Voilá, latest whatsapp version working with ART

LINK TO THE ORIGINAL GUIDE
http://forum.xda-developers.com/show....php?t=2527879

DOWNLOAD
Attached Files
File Type: zip libart.so_flashable.zip - [Click for QR Code] (1.16 MB, 3516 views)
.
.
.
.
.
.
The Following 37 Users Say Thank You to luiseteyo For This Useful Post: [ Click to Expand ]
 
luiseteyo
Old
(Last edited by luiseteyo; 22nd November 2013 at 07:58 AM.)
#2  
luiseteyo's Avatar
Recognized Contributor - OP
Thanks Meter 2047
Posts: 2,190
Join Date: Oct 2011
Location: Madrid
HOW TO GENERATE LIBART.SO FIX

1. thank cernekee for this. He has made an amazing job!
2. Apply the patch from cernekee's github to your AOSP tree
3. "make dex2oat" from the top level
4. The new file will show up in out/target/product/mako(or your device's name)/system/lib/libart.so
.
.
.
.
.
.
The Following 2 Users Say Thank You to luiseteyo For This Useful Post: [ Click to Expand ]
 
9Lukas5
Old
#3  
9Lukas5's Avatar
Senior Member
Thanks Meter 1066
Posts: 2,416
Join Date: Dec 2010
Location: near Stuttgart

 
DONATE TO ME
Is it bad to flash it while still using dalvik?

Sent from my KitKat powered Snapdragon Galaxy S4
Device: jfltexx (SGS4)
Recovery: TWRP 2.7.0.1 + z31s1g's Holo Theme
Baseband: I9505XXUDMH6
Android: 4.4
Rom: Broodplank1337's AOSP4.4 latest release
Kernel/MOD: KT-Kernel / CrossBreeder MOD

Device: grouper (Nexus7 2012)
Recovery: TWRP 2.6.x.x
Android 4.4
Rom: Factory Image KRT16O

Device: GT-I9300 (SGS3)
Recovery: TWRP 2.6.x.x
Baseband: I9300XXDLIB
Android 4.3
Rom: official cm10.2 nightly
 
Me Gusta
Old
#4  
Me Gusta's Avatar
Senior Member
Thanks Meter 197
Posts: 739
Join Date: Mar 2013
Not working.. Phone, NFC and systemui keep crashing


Me Gusta!

^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
--=::Press the banner to check out if OctOS is available for your device::=--
The Following User Says Thank You to Me Gusta For This Useful Post: [ Click to Expand ]
 
9Lukas5
Old
#5  
9Lukas5's Avatar
Senior Member
Thanks Meter 1066
Posts: 2,416
Join Date: Dec 2010
Location: near Stuttgart

 
DONATE TO ME
I have downloaded the flashable, extracted the libart.so, rebamed the one in system/lib to libart.so.bak, and copied the extracted one to system/lib & set correct permissions.
Then I set the runtime to art and let it reboot. Didn't even uninstall whatsapp and everythings working.

I have used the minimal gapps from pa which are compatible with art

L

Sent from my KitKat powered Snapdragon Galaxy S4
Device: jfltexx (SGS4)
Recovery: TWRP 2.7.0.1 + z31s1g's Holo Theme
Baseband: I9505XXUDMH6
Android: 4.4
Rom: Broodplank1337's AOSP4.4 latest release
Kernel/MOD: KT-Kernel / CrossBreeder MOD

Device: grouper (Nexus7 2012)
Recovery: TWRP 2.6.x.x
Android 4.4
Rom: Factory Image KRT16O

Device: GT-I9300 (SGS3)
Recovery: TWRP 2.6.x.x
Baseband: I9300XXDLIB
Android 4.3
Rom: official cm10.2 nightly
The Following 2 Users Say Thank You to 9Lukas5 For This Useful Post: [ Click to Expand ]
 
overflyer
Old
#6  
Senior Member
Thanks Meter 15
Posts: 104
Join Date: Sep 2011
Is it working with Whatsapp+ ?
 
Me Gusta
Old
#7  
Me Gusta's Avatar
Senior Member
Thanks Meter 197
Posts: 739
Join Date: Mar 2013
Quote:
Originally Posted by 9Lukas5 View Post
I have downloaded the flashable, extracted the libart.so, rebamed the one in system/lib to libart.so.bak, and copied the extracted one to system/lib & set correct permissions.
Then I set the runtime to art and let it reboot. Didn't even uninstall whatsapp and everythings working.

I have used the minimal gapps from pa which are compatible with art

L

Sent from my KitKat powered Snapdragon Galaxy S4
What permissions did you set? Rw-r--r--?


Me Gusta!

^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
--=::Press the banner to check out if OctOS is available for your device::=--
 
alistair3149
Old
#8  
alistair3149's Avatar
Senior Member
Thanks Meter 23
Posts: 206
Join Date: Jun 2010
Quote:
Originally Posted by 9Lukas5 View Post
I have downloaded the flashable, extracted the libart.so, rebamed the one in system/lib to libart.so.bak, and copied the extracted one to system/lib & set correct permissions.
Then I set the runtime to art and let it reboot. Didn't even uninstall whatsapp and everythings working.

I have used the minimal gapps from pa which are compatible with art

L

Sent from my KitKat powered Snapdragon Galaxy S4
Remove the com.WhatsApp folder in data/data

---------- Post added at 12:29 PM ---------- Previous post was at 12:29 PM ----------

Quote:
Originally Posted by overflyer View Post
Is it working with Whatsapp+ ?
Yes it's working

Current device: LGE Nexus 5 | Wind Galaxy S III SGH-T999 | Atrix 4G MB860
Current ROM: Stock Android 4.4 | AOSPA Android 4.3.2 | CM10 for Atrix
Current recovery: TWRP
Past device(s): HTC Magic
 
activexda
Old
(Last edited by activexda; 20th November 2013 at 05:26 AM.)
#9  
Member
Thanks Meter 1
Posts: 40
Join Date: Dec 2012
hi it worked with the latest whatsapp but whatsapp+ not working
 
9Lukas5
Old
#10  
9Lukas5's Avatar
Senior Member
Thanks Meter 1066
Posts: 2,416
Join Date: Dec 2010
Location: near Stuttgart

 
DONATE TO ME
Quote:
Originally Posted by alistair3149 View Post
Remove the com.WhatsApp folder in data/data
Why? Then I have to set up my whatsapp again. It worked without that.

L

Sent from my KitKat powered Snapdragon Galaxy S4

---------- Post added at 07:53 AM ---------- Previous post was at 07:52 AM ----------

Quote:
Originally Posted by Me Gusta View Post
What permissions did you set? Rw-r--r--?


Me Gusta!
Yes, rw-r-r like all libs

L

Sent from my KitKat powered Snapdragon Galaxy S4
Device: jfltexx (SGS4)
Recovery: TWRP 2.7.0.1 + z31s1g's Holo Theme
Baseband: I9505XXUDMH6
Android: 4.4
Rom: Broodplank1337's AOSP4.4 latest release
Kernel/MOD: KT-Kernel / CrossBreeder MOD

Device: grouper (Nexus7 2012)
Recovery: TWRP 2.6.x.x
Android 4.4
Rom: Factory Image KRT16O

Device: GT-I9300 (SGS3)
Recovery: TWRP 2.6.x.x
Baseband: I9300XXDLIB
Android 4.3
Rom: official cm10.2 nightly

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes