Related
Hello,
I managed to completely delete the Vending.apk so now I wonder if anyone have the original file? Ive tried the "Vending-Tattoo-patched.apk" but it dosent seem to run
Could please someone upload the original file for X10 mini pro.
Thanks!
http://forum.xda-developers.com/showpost.php?p=7465197&postcount=13
It seems that marketplace (vending.apk) have some dependencies such as
"GoogleApps.apk, GoogleCheckin.apk, SetupWizard.apk, TalkProvider.apk, gtalkservice.apk" and
/system/etc/permissions/com.google.android.datamessaging.xml
/system/etc/permissions/com.google.android.gtalkservice.xml
/system/framework/com.google.android.datamessaging.jar (often absent, seems works without it)
/system/framework/com.google.android.gtalkservice.jar
/system/lib/libgtalk_jni.so
I have deleted a lot of these so i suppose i have to track them down to get it work again.
Source: forum.xda-developers.com/showthread.php?t=593417&page=2
Why don't you just restore the phone to factory settings with PC suite and start over again?
Im using Ubuntu (linux) so, there is no applications for that as far as I know?
Last night I was checking out Cyanogen's web site and I came across this:
Bluetooth Voice Commands Missing in CM6?
Hello,
One of the newer features that I liked so far in CM-6 was the ability to long press my bluetooth headset action button which resulted in a voice telling me to say a command. This was much better than the original phone voice dialer, which requires manual intervention to pick a number from its list of guesses after you speak, and which offers no voice prompt to let you know when it's ready.
Well, as of upgrading to CM-6.0 from the 8-25 nightly, the bluetooth/headset dialer is gone and when I long press my bluetooth headset button It's back to the old phone voice dialer which requires manual intervention to place a call and offers no voice prompt. How do I get the bluetooth dialer back?
I have attached the 09SEP-VoiceDialer.apk from CM-6 release for easy downloading.
***Instructions- Download the file into your root of your SD card, using Root Explorer remove the old VoiceDialer.apk and install the new 09SEP-VoiceDialer.apk
The OLD VoiceDialer.apk can be found under /system/app
Mine is working great!
Any questions, PM me....
Enjoy!
my bluetooth headset can now operate the voice commands, however, after a command is given, Voice Dialer FCs.
KF34
gohamstergo said:
my bluetooth headset can now operate the voice commands, however, after a command is given, Voice Dialer FCs.
KF34
Click to expand...
Click to collapse
Did you remove the old VoiceDialer.apk?
Also, don't forget to change the permissions on the 09SEP-VoiceDialer.apk after yoo move it to /system/app.
This is working great for me, back to the way it was before the update!
Sent from my FroyoEris using XDA App
so as far as the instructions:
***Instructions- Download the file into your root of your SD card, using Root Explorer remove the old VoiceDialer.apk and install the new 09SEP-VoiceDialer.apk
is install the new file is just copying it then pasting it into the system/app folder using root explorer, longpress on app and change permissions to allow all. then reboot.
EDIT: apparently yes, my bt headset works perfectly with voice dialer now. thank you.
This is great -- restores the BT voice dialing functionality that should have been stock in the Eris from the start
Is the source for this APK available? I wonder if it would be possible to modify to add an optional "confirmation" step:
User: "Call Jim Somename"
Phone: "Calling Jeff Someothername, is that correct?"
User: "No"
Could certainly be fancier, like presenting several options, but the above would be sufficient to prevent misdialing people you don't mean to call in other area codes, etc. That's my main hesitation to use it right now; my wife's name, in particular, seems to mismatch to other names often.
I haven't done much Android development yet, but I'd be interested in poking at this code.
jmastron said:
This is great -- restores the BT voice dialing functionality that should have been stock in the Eris from the start
Is the source for this APK available? I wonder if it would be possible to modify to add an optional "confirmation" step:
User: "Call Jim Somename"
Phone: "Calling Jeff Someothername, is that correct?"
User: "No"
Could certainly be fancier, like presenting several options, but the above would be sufficient to prevent misdialing people you don't mean to call in other area codes, etc. That's my main hesitation to use it right now; my wife's name, in particular, seems to mismatch to other names often.
I haven't done much Android development yet, but I'd be interested in poking at this code.
Click to expand...
Click to collapse
I do not know but I can give you a link to Cyanogen's post if you would like....
http://forum.cyanogenmod.com/topic/6497-bt-voice-dialing/page__p__57811__hl__bluetooth__fromsearch__1#entry57811
I remove the old voicedialer. I copied over to system/app change the perms and reboot. when long pressing the bluetooth the dialer comes up but never prompts. I tried renaming the file. I tried just an install. that worked once but FC verytime after.
What am i doing wrong
Thanks for this
I can't believe that Google has worse technology than MS on this! MS Voice Command is far superior.
I tried vlingo with mixed results.
Will try this.
Just installed on my Aria running Liberated 2.2 and it works great!
BTW, I couldn't for the life of me delete the old VoiceDialer.apk using a file explorer, so I just took a shot and installed this Voice Dialer, so no real need as far as I can tell to go through the hassles of the instructions above.
Many thanks.
I tried.this but I keep getting a parsing error ???? I'm a noob have no clue what that means..lol
Sent from my Eris using XDA App
I realize that this is a bit of a dead post, but do you think this apk would work on a Samsung Captivate? I'm currently running with Perception 10.3 and Speedmod kernel, but for some reason the BT Voice Dialer has decided to stop working and is continually stuck at Starting Up.
I'm trying to get this to work on my Aria running FR0008 but no dice. Even using Root Explorer I simply cannot get either the original Dialer.apk deleted or the replacement 09SEPDialer.apk installed.
What am I doing wrong? I REALLY want the proper Bluetooth dialer in this ROM as I use a headset often and at the moment I prefer it to the Cyanogen ROMS.
woodbane said:
I'm trying to get this to work on my Aria running FR0008 but no dice. Even using Root Explorer I simply cannot get either the original Dialer.apk deleted or the replacement 09SEPDialer.apk installed.
What am I doing wrong? I REALLY want the proper Bluetooth dialer in this ROM as I use a headset often and at the moment I prefer it to the Cyanogen ROMS.
Click to expand...
Click to collapse
Have you tried this? Download the 09Sep-VoiceDialer.apk to your computer. Rename it VoiceDialer.apk and place it in your tools directory of SDK. Connect your phone to PC. Open a command prompt window and navigate it to your tools directory of SDK. Type adb remount. Then type adb push VoiceDialer.apk /system/app. Then adb reboot. Be certain to take not to the caps in the file name as well so it will overwrite the one that's already in place on your phone. Hope this helps
CondemnedSoul said:
Have you tried this? Download the 09Sep-VoiceDialer.apk to your computer. Rename it VoiceDialer.apk and place it in your tools directory of SDK. Connect your phone to PC. Open a command prompt window and navigate it to your tools directory of SDK. Type adb remount. Then type adb push VoiceDialer.apk /system/app. Then adb reboot. Be certain to take not to the caps in the file name as well so it will overwrite the one that's already in place on your phone. Hope this helps
Click to expand...
Click to collapse
That sounds very helpful, only problem is I have no idea about SDK and ADB. Is there a really abbreviated way of getting me up and running with this?
woodbane said:
That sounds very helpful, only problem is I have no idea about SDK and ADB. Is there a really abbreviated way of getting me up and running with this?
Click to expand...
Click to collapse
Try here http://developer.android.com/sdk/index.html
There's instructions for installation and the downloads. Everything you should need
CondemnedSoul said:
Try here http://developer.android.com/sdk/index.html
There's instructions for installation and the downloads. Everything you should need
Click to expand...
Click to collapse
Awesome, I'll try giving that a whirl later this evening. Thanks for the pointer.
So, I gotta be honest, I just simply do not have the technical know how to get this working. I've downloaded and installed all relevant files but can't even seem to get the phone connected.
Here's what I'd love to be able to do, simply replace the VoiceDialer.apk in the Aria FR008 ROM - which does not support Bluetooth voice dialing with this one that apparently does.
I have tried unzipping the FR008 ROM and replacing the file and rezipping. When I go to install it from card in recovery mode it immediatly crashes. I'm seeing that the FR008 zip is "signed" and guess that I'm missing doing something important here, resigning either the whole ROM or just the file?
Can anyone please help me out here as I'm really struggling with this.
woodbane said:
So, I gotta be honest, I just simply do not have the technical know how to get this working. I've downloaded and installed all relevant files but can't even seem to get the phone connected.
Here's what I'd love to be able to do, simply replace the VoiceDialer.apk in the Aria FR008 ROM - which does not support Bluetooth voice dialing with this one that apparently does.
I have tried unzipping the FR008 ROM and replacing the file and rezipping. When I go to install it from card in recovery mode it immediatly crashes. I'm seeing that the FR008 zip is "signed" and guess that I'm missing doing something important here, resigning either the whole ROM or just the file?
Can anyone please help me out here as I'm really struggling with this.
Click to expand...
Click to collapse
Yeah... if you unzip it you will need to sign it when you zip it in order to flash it. Try opening to rom with 7zip or winrar and just drag and drop the new one into the zip to replace the old one. Don't unzip it.
Sent from my Blackened Ginger using XDA App
Hi,
I own a toshiba ac100-10d which is the model with only wifi (no 3g) and android 2.1, which unfortunately comes with no android market preinstalled. I tried to install one using one of the many packages which you can found online. The problem comes, when I try to login in my gmail account. It says "can't extablish a reliable data connection" and it doesn't login into the account. If I try to login via youtube it creates the account but it doesn't sync it. I have moderate experience with android so you can easily tell me what I have to do. Do you think it would be possible to install the market on this ac100?
Thanks to anyone who will help me!
pipposanta said:
Hi,
I own a toshiba ac100-10d which is the model with only wifi (no 3g) and android 2.1, which unfortunately comes with no android market preinstalled. I tried to install one using one of the many packages which you can found online. The problem comes, when I try to login in my gmail account. It says "can't extablish a reliable data connection" and it doesn't login into the account. If I try to login via youtube it creates the account but it doesn't sync it. I have moderate experience with android so you can easily tell me what I have to do. Do you think it would be possible to install the market on this ac100?
Thanks to anyone who will help me!
Click to expand...
Click to collapse
It would be possible if I can get him into recovery menu. Just working on it as if it could still do that I have uploaded some files to the inside. Root can be done by z4Root 1.3.0.apk. Can be downloaded here http://forum.xda-developers.com/showthread.php?t=834428
I've made some headway
I have installed some files from cyanogenmods tegra compiled gapps + a newer vending.apk(Market) and a diffrent Google Talk app.
I had the same problem you have, but this suddently resolved itself for reasons unknown
Gmail Works and syncs
Google Maps works
Market starts and is stable without forced close, but I can't download apps, and I get Google Talk Authentication errors wich I belive are related to the market issue (the error also appears without the talk.apk installed)
I've got a new talk.apk from a samsung galaxy s, but it will not complete the sign in process
I feel I am really close to cracking this one, but I'm really stuck.
If anyone is interested, I can post which apk files I've installed in the /system/app folder.
Oh, I forgot to say:
I've got the same 10d version without 3g, but mine runs the updated Android 2.2
So it appears that sometimes market init it works, sometimes not ... Strange
I played and did many factory resets to find the right way and now it works (triple checked!)
I have a ac100-114 (French, no 3g), with android 2.2 and rooted with z4root.
(For anyone playing with adb : before doing anything, make backups with the tegra tools, and be careful with this powerful tool!)
I also used a package from cyanogenmod : the gApps from tegra. (http://wiki.cyanogenmod.com/index.php?title=Gapps#Google_Apps)
I looked into gAppsInstaller (here:
http://code.google.com/p/archos-apps-installer/downloads/list and here : http://forum.xda-developers.com/showthread.php?t=867303) to find what are the mandatory apps to install from the gApps cm package:
Into /system/app/
GenieWidget
GoogleBackupTransport
GoogleCalendarSyncAdapter
GoogleContactsSyncAdapter
GoogleFeedback
GoogleServicesFramework
MarketUpdater
MediaUploader
NetworkLocation
Talk
Vending
Youtube *
Into /system/framework/
com.google.android.maps.jar
Into /system/lib/
libspeech.so
libvoicesearch.so
Into /system/etc/permissions/
features.xml
com.google.android.maps.xml
* I had to replace Youtube.apk (in attachment) : I don't know why, but the one from cm is not working and prevent, even without launching it, the login into the market. I retrieved it from my hd2 running android ;-)
Installing maps in /system/app prevents Market initialization.
Then I did a factory reset, followed by the Toshiba first init and wifi configuration.
Now start the Market : nothing else or you might have to factory reset to start over!
Enter a random username (very important!), a random password and click next.
The market should start checking and then tell you the login is wrong : good, it connected !
Now click back, then enter your google account and click next : the Market should accept it and show the license page.
Accept it, the market should appear a few seconds before foreclosing. Launch it again, it will forceclose again.
The third launch should be the right one !
You will get forcecloses right after each app installation, but nothing to worry about : the app stays and appears in the download section of the market
Gmail can be installed from the market.
Your contacts should be synchronized, Talk and Youtube should work.
Problems:
For maps you will have to get the apk somewhere else.
The calendar is missing.
@tharf
Your method works perfectly .. Thx for that. Only problem is that the service framework starts some kind of messaging service and that wakes the ac100 from standby every couple minutes.... I tried fixing that but couldn´t do it... ;0(
So this fix is kind auseless for me...
But keep up the good work... ;0)
FC reason is a
Code:
E/DatabaseUtils( 1547): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=10019, uid=10069 requires com.google.android.providers.settings.permission.WRITE_GSETTINGS
for com.android.vending.
Does anyone has an idea how to fix android permissions, as it recreates /data/system/packages.xml if i change it?
Thanks for pointing out where is the FC cause !
I did some more tests, and it seems that if the packages.xml gets modified, followed by sync (just in case, I don't know anything about caching on the ac100), and then a kill -9 -1 is executed, the added permission stays, even if the packages.xml gets scrambled after reboot
For me it works : no more FCs
I found another thing : in order to see apps in the market that asks for the gps (maps, catch notes ...), just had this line to /system/etc/permissions/android.hardware.location.xml, in the <permissions> tag :
<feature name="android.hardware.location.gps" />
(Make a backup of the file first )
So the bottom part of the file should look like :
<permissions>
<feature name="android.hardware.location" />
<feature name="android.hardware.location.network" />
<feature name="android.hardware.location.gps" />
</permissions>
But in order to get it working, you will need to login to the market for the first time, so a factory reset is required
hey, sorry for the dumb question..
i´ve downloade z4root and clicked on temporarly root...after a few
secs the progress ran through and the ac100 rebooted.
now i tried to install the gAppsInstaller v5 for arcors but got the error message, that no files were copied.
how did you do this?
can you please poste a howto for dummies q.q?
you wrote"
Then I did a factory reset, followed by the Toshiba first init and wifi configuration.
Now start the Market : nothing else or you might have to factory reset to start over!"
didnt you install the googlemarket after the reset, did it remain :O?
thanks
Hi,
Good job at first for trying this amazing way to install gapps into Ac100.
In my experience, that method worked well, but it seems, after pushing the mandatory apk files to the system partition, and factory resetting, in the Toshiba device initiation settings, turning on wifi will keep the Google account settings connection from working.
I've been trying many times, only turning on wifi when google login process begins will work.
No idea why that happens.
Regards.
hey gus,
i´ve come this far
ehhm..the files you mentionend.. i have copied them into the right folders, but the won´t get installed, i get parsing errors..
can someone please upload the working files?
working apps:
maps.apk
youtube.apk
..
market on toshiba AC100
Hi Guys
I can confirm that google market is possible on AC100. Also Gmail, Talk and Maps is working fine :
Can anyone please post a guide to get gApps working? (Gmail / Vending) Maps works standalone, but as far as i can see, the others need something!
Like a user above, i can't root my ac-100, it freezes and restart. If it's not rooted, i can't access the folders tharf was talking about in a previous post.
Thanks
Ok, i've managed to solve somethings (hopefully everything)
Unfortunately to root my AC100, i used ADB (I installed SuperOneClick in a previous try, don't know if it helped or not).
ADB is a tool developed inside Android project, that allows developers to test their apps directly on their phones, rather than an emulator. There are plenty of tutorial to get it started, just google it! It's not easy at first, but was the only thing allowed me to copy the files.
For those familiar with this development tool, just plug the device (ac100) in and execute
"adb remount"
in a "cmd" shell (i worked under windows). it magically remounts your system partition in RW, instead of default RO. This way you can "adb push" the files tharf listed in his first post!
Next, follow his indications:
-factory reset (HOME button+POWER button), follow the system reset, press 1 to continue, wait a few minutes and it will reboot on his own, give it time.
-configure ac100, like the first time
-connect it to wifi
-open Market App (you'll find it on the Toshiba Home menu, in the end)
-connect with random user, let it fail the authentication, the use a real one, and you're good to go!
I installed a few apps, so far so good. Only thing to keep in mind: Market launches an error after installing an app. No worries, it's fine: just press OK and go on.
I was interested in Gmail app, so i "adb push"ed it from the beginning, and it worked at first try. Same for Talk, Contacts, Youtube and Maps (find the apk, it's not hard )
Thanks to all, hope this could help.
Toshiba AC100
I've afforded this laptop two days and so far where i updated and hadded
the portuguese language, but when i when in settings->language it simples does not exist.
I dont have anything against english, but i need at least the ortography.
I could use spannish but i rather have english
Every time I run market/gtalk,I get this Message:
"Can't establish a reliable data connection to the server. If it continues, call Customer Care."
Thnx a lot - got Market, Gmail, Maps, ... working too. Have only tested it for some minutes - but hope it will work forever
Very good especially as the Toshiba AC100 10V with UMTS is now really cheap here.
Still have the Market problem with crash after install/deinstall of an app.
Anyone tried the newer GoogleApps for Tegra from here? http://forum.xda-developers.com/showthread.php?t=912633
I tried to get rid of the market crash. So I did the following:
adb shell connect to /data/system after root
chmod 777 packages.xml
sync
kill -9 -1
But that didn't work I still get the crashes. Can you help me with more details what you mean with 'the added permission stays'?
Thanx in advance.
Firmware from the Russian community users of the AC100 Toshiba (android 2.2) All Google applications work fine(Market+Gmail+Tack)!
Different from the standard:
1. Root
2. Busybox 1.19
3. Google Apps, including the latest market (by 116(Toshiba AC 100-116- russian 3G+Wi-Fi+32Gb model) runs without any problems), SetupWizard works too
4. Jorte - perfect replacement calendar from Google, beautiful, seeing all the calendars
5. Ad Blocking
6. Titanium Backup
7. Terminal Emulator
8. New splash screen
9. Spare Parts
10. Easy selection of widgets
Installation in Windows:
1. Download the firmware
2. Unpack
3. Translating the device in boot mode (turn off, esc + control + power)
4. Install the driver from the archive
5. Run bat file from the archive (ac100flash.cmd)
6. We are waiting for the end of the loading and turning off the device while holding the button 10 seconds
7. Turn device, answer all the questions for 116 checking in via 3G.
8. Enjoy.
Torrent: ****://rutracker.org/forum/viewtopic.php?t=3498125
Firmware+drivers ****://narod.ru/disk/8503508001/ac100_flash.rar.html
Firmware(update) ****://narod.ru/disk/8819504001/ac100flash_v2.rar.html
Спасибо форуму ****://4pda.ru/forum/index.php?showtopic=226289&st=40#entry7000473
I am trying to get Privoxy running on my Samsung Galaxy S II. I tried installing Privoxy (BETA 1) from the market, but could not get it to run.
First, I noticed that when starting the app, it copies the binaries and config files to the /data/data/com.galoula.Privoxy directory. But apparently it didn't set the directory permissions correctly, because all the files ended up being 0 bytes. I re-created all the directories with full permissions, and then the binaries and configs seemed to copy correctly.
However, when I try to start the app, I still get the message "Unable to start Privoxy. Please try again!"
I also tried installing Orbot / Tor from the market, which uses a Privoxy/Tor combo. Privoxy seems to run just fine there. But I don't want to run Tor, just Privoxy. I thought maybe I could just edit the files so only Privoxy would load and not Tor, but I can't figure it out.
Anybody have Privoxy running successfully and can share some tips? Thanks in advance.
claimui said:
I am trying to get Privoxy running on my Samsung Galaxy S II. I tried installing Privoxy (BETA 1) from the market, but could not get it to run.
First, I noticed that when starting the app, it copies the binaries and config files to the /data/data/com.galoula.Privoxy directory. But apparently it didn't set the directory permissions correctly, because all the files ended up being 0 bytes. I re-created all the directories with full permissions, and then the binaries and configs seemed to copy correctly.
However, when I try to start the app, I still get the message "Unable to start Privoxy. Please try again!"
I also tried installing Orbot / Tor from the market, which uses a Privoxy/Tor combo. Privoxy seems to run just fine there. But I don't want to run Tor, just Privoxy. I thought maybe I could just edit the files so only Privoxy would load and not Tor, but I can't figure it out.
Anybody have Privoxy running successfully and can share some tips? Thanks in advance.
Click to expand...
Click to collapse
I have updated the application, now it's supported.
If you have one error, please send mail at support(a)galoula(.)com.
Regards.
not work without tor
FukTheRegister said:
I have updated the application, now it's supported.
If you have one error, please send mail at support(a)galoula(.)com.
Regards.
Click to expand...
Click to collapse
Plz help me
Privoxy not work in my phone galaxy s2
" unable to start "
Download Privoxy
Where can I download a copy from Privoxy Beta 3.
I have found some obsure internet corner that first wants me to install Aptoide client.
No thanks!
Anyone having a copy of Privoxy?
Please also help privoxy not working on my Sony Z5
Since there's now an Xposed Framework Module available to do this same thing, that is the much better way to go than modifying your framework-res.apk directly.
Check that out here http://repo.xposed.info/module/de.makuser.nexussms
-Original post follows-
I got tired of seeing several threads about this topic so I figured I would post a "How to", which should work on all ROMs and versions around.
This procedure is actually fairly simple, and if you have basic Android and computer knowledge you can do this.
What Does This Do?
On mobile-enabled tablets like the N7 3G and the N7 LTE, the device itself is capable of sending & receiving MMS and SMS messages. Maybe you've read about how Google Hangouts got the ability to do this not too long ago. However, if you excitedly downloaded and installed the new version, you may be like "What the hell is this?!?" because by default you cannot see any SMS-related options. In Jellybean and KitKat, a device has to be "a phone" before the system thinks the device is able to send SMS and MMS messages. However, its fairly easy to change this particular property on your device so that it self-identifies as a "phone" and you get access to SMS.
Important: You actually have to have SMS service to use SMS service. Even though it boggles my mind, people have actually sometimes been confused by this particular mod, and have asked me if it somehow gives you SMS service. It does not, it only gives you access to the software functionality to send and receive SMS messages.
Even More Bolded Text!: there is one exception to this. If you are using CyanogenMod 10.2 (or 11 if they have ported Voice+ to it, not sure at this time), you can use this mod in conjunction with Google Voice and the Voice Plus app. Voice+ allows you to send & receive messgaes via the Google Voice service behind the scenes, but on the front end you can use the stock MMS.apk, or the Google Hangouts app to do this. This does not involve modifying Google Hangouts, its just sort of "bridging" Google Voice and the native SMS handling so that your Google Voice texts act like regular SMS messages. Voice+ is part of the CyanogenMod project and you can read more about it here. It's honestly pretty nice if you're a Google Voice user, since the regular Google Voice app kindof sucks.
This procedure involves modifying a boolean setting in your device's framework-res.apk file. That may sound like gibberish to you, but its still not hard to get this done.
What You'll Need
This guide is written for people who use Windows. All the utilities I'll talk about in this guide are for Windows. I'm sure its possible to do this on Mac & Linux, but the main utility I use to make this easy (FrameWork Flasher) is for Windows.
-An archive manager. I recommend 7-Zip, since it is free, open source, and can handle basically every archive format known to man.
-FrameWork Flasher. I updated this application to work with KitKat, but am not the original creator. You can download the updated version from MediaFire. FrameWork Flasher was created by XDA's own Wes Foster, and you can see his original post here.
-Some kind of text editor. I use NotePad++
-An Android device with a custom recovery installed on it. "Custom Recovery" means like ClockWork Mod, or TWRP. You need this to flash your modded file back onto your device.
Got all your stuff together? OK, on with the How Tos.
How To Do This
The first thing you'll need to do is get a copy of your current ROM's framework-res.apk file. There are a variety of ways to do this. If you're running a custom flashable ROM, like CyanogenMod, the simplest way to go is to just download your ROM's flashable ZIP file onto your computer and then open it up in 7-Zip. The file should be located inside the ZIP in the system\framework folder. Just extract that to your Desktop, or wherever you're going to keep the files you're working on.
If you're running a "stock" firmware, probably the easiest way to get your current framework-res.apk is to copy it from your current tablet. Note: this method should always work regardless what ROM you are running, I just find it easier to pull the files out of the downloaded ZIPs on a computer. You'll need an Android file manager that allows you access to the entire file system, not just the "sdcard" type area. I use SolidExplorer, but Root Explorer would work just as well. Your goal is to get the file /system/framework/framework-res.apk on your Android device onto your computer. There are probably a dozen ways to accomplish this. Super noob method: just copy this file from its original location to your "Downloads" folder, then plug your device into your computer via USB and copy the file out of the Downloads folder and onto your computer using MTP. Another method would be to send it to yourself as an attachment on an email. Hell, Solid Explorer has a SMB/SAMBA client built into it, so if you know how to use that you can just push the file directly from its original location to a shared folder on your computer. If you need a step-by-step on how to accomplish this particular step, IMO you're not tech savvy enough to be doing this stuff.
Anyways, so you should now have the framework-res.apk file from your current ROM on your computer.
Download and unzip my FrameworkFlasher-MOD file. Inside the folder, you'll see several folders and files. You need to put the original framework-res.apk file in the "place-framework-res-here" folder (how inscrutible!). Then you can run RunMe.bat.
You should get a pop-up window with a simple text-based menu. You'll want to run Option 1. The program will process for a while, and then should end up at a "The APK has been decompiled successfully" message. You can press any key to continue. At this point its not a bad idea to just leave FrameWork Flasher running.
FrameWork Flasher should have unpacked all the resources from the APK into the folder "files-to-edit". You'll need to go into files-to-edit\framework-res.apk\res\values. Inside of their, you'll find a bunch of XML files. You need to open bools.xml in the text editor of your choice. You're looking for the line that says
<bool name="config_voice_capable">false</bool>
All you need to do is change false to true, so you should end up with
<bool name="config_voice_capable">true</bool>
Then, save the file and close your text editor and go back to FrameWork Flasher.
You'll now want to run through options 2, 3 and 4. After doing this, you'll have a file called "update.zip" in the "final-zip-file" folder. You'll need to put this onto your device and flash it.
If you've flashed ROMs before, I'd hope you know how to do this. As with the "get your framework file" step, there are many different possible ways to get the update.zip file onto your device. You could transfer via USB, over the network, via email, whatever.
Once you've got the file on your device, you flash it like you do any other flashable ZIP using CWM or TWRP. This ZIP should work with either recovery, and you do NOT need to clear cache or anything like that. Simply flash and then reboot your device.
NOTE FOR T-MOBILE USERS: Some T-Mobile customers, including me, get a "New Voicemail" notification on their device(s) with voice capable turned on. This is specifically a problem with the way your T-Mobile account was initially set up and/or provisioned. The device is correctly reporting the voicemail status it gets from your account. The problem is that T-Mobile sometimes puts the "Welcome to your new voice mailbox!" message into your inbox even if your voicemail is not turned on. As far as I know there's no way to fix this issue short of working with a T-Mobile tech to get them to fix it, which I haven't bothered trying to do given the weird nature of what I'm doing. In CM10.2 you can just swipe this message away. It occurs once and only once each time the device is rebooted. On the current builds of CM11, the voicemail notfication cannot be swiped away. This is a known bug in AOSP and was fixed in 4.4.2, so the fix should come to CM11 soon enough.
Forgot to mention, since this makes your device think its a "phone", if you install Dialer.apk, you can have access to the normal "Phone" app in your Apps drawer, and mess with SIP goodness
Also, for CyanogenMod users, your ROM probably did not come with some APKs that will make this more useful.
You CAN just use Google Hangouts as your SMS/MMS app, but some people may prefer to use the native CM app instead (it has those nice pop-up messages!). For that you need MMS.apk.
If you want to mess with the "Phone" functionality, you'll need Dialer.apk.
And finally, if you want to receive emergency notifications from the government (for like natural disasters and Independence Day-style alien invasions and stuff ) you'll need CellBroadcastReceiver.apk. Please note that none of these are needed for SMS functionality and all these APKs are from CyanogenMod and will not work on stock or other ROMs.
For CM10 Stable, I grabbed these APKs out of the Nexus 4 (mako) ROM, stuck them in a zip and uploaded them here.
On CM11-M1. same deal but I used the Nexus 5 (hammerhead) ROM as my source. Those are here.
These files just need to be placed into the appropriate folder(s) on your device and then you'll need to set the file ownership & permissions the same as the rest of the the stuff in there (owned by root:root, -rw-r--r-).
They all go in /system/app, except for MMS and Dialer on CM11. On KitKat they have introduce the new /system/priv-app folder. My ZIPs contain those directories to remind you where to put the stuff.
I'm not a Windows user and I'd love to modify my own (stock) framework-res.apk to re-enable SMS support. Do you know what tools FrameWork Flasher uses "behind the scenes" to decompile and recompile the apk?
I don't like the idea of tampering with framework-res.apk using apktool unless somebody can confirm that this is the right direction.
sbiriguda said:
I'm not a Windows user and I'd love to modify my own (stock) framework-res.apk to re-enable SMS support. Do you know what tools FrameWork Flasher uses "behind the scenes" to decompile and recompile the apk?
I don't like the idea of tampering with framework-res.apk using apktool unless somebody can confirm that this is the right direction.
Click to expand...
Click to collapse
APK Tool is indeed the right direction to take.
I actually had to update the binary of APK tool that Framework Flasher uses, since the one included in the original isn't new enough to know what JellyBean and KitKat are Since FrameWork Flasher is a Windows Batch Script, I'm certain its just automatically doing stuff in the command line you could be doing by hand.
Looking at the source, I think the deompilation is done with this command:
java -Xmx%heapn%m -jar apktool.jar d "../place-framework-res-here/framework-res.apk" "../files-to-edit/framework-res.apk"
"%heapn%" is a variable, which appears to default to the value of 64.
So the command
"java -Xmx64m -jar apktool.jar d "/path/toframework-res.apk" "/path/to/extract/to"
should work on Linux or Mac, provided you've got Java installed and the jar in the current working directory. Obviously change the paths to match your local stuff. Post how it works if you'd like, I'love to update the guide to include Mac / Linux instructions, and Framework Flasher is the only "Windows" part about it.
DivinityCycle said:
Post how it works if you'd like, I'love to update the guide to include Mac / Linux instructions, and Framework Flasher is the only "Windows" part about it.
Click to expand...
Click to collapse
Obviously I messed up the resulting framework-res.apk because it got stuck in a Zygote startup loop. It's worth noting that I built apktool from the latest git sources, so there might be some bugs lurking in the shadows.
Oh well, I'll just wait for somebody else to do the dirty work
sbiriguda said:
Obviously I messed up the resulting framework-res.apk because it got stuck in a Zygote startup loop. It's worth noting that I built apktool from the latest git sources, so there might be some bugs lurking in the shadows.
Oh well, I'll just wait for somebody else to do the dirty work
Click to expand...
Click to collapse
Well, if you send me your framework-res.apk I can mod it for you. Takes like 2 seconds
The Framework Flasher source code shows the following for the actual "do the work" steps:
To decompile the original APK-
java -Xmx%heapn%m -jar apktool.jar d "../place-framework-res-here/framework-res.apk" "../files-to-edit/framework-res.apk"
To compile the new APK-
java -Xmx%heapn%m -jar apktool.jar b %~dp0files-to-edit\framework-res.apk %~dp0place-framework-res-here\unsignedframework-res.apk
To sign the APK-
java -Xmx%heapn%m -jar signapk.jar -w testkey.x509.pem testkey.pk8 ../place-framework-res-here/unsignedframework-res.apk ../place-framework-res-here/signedframework-res.apk
To build the unsigned ZIP-
7za a -tzip %~dp0place-framework-res-here\unsignedframework-res.apk %~dp0temp-files\* -mx%usrc% -r
And finally, to sign the ZIP-
java -Xmx%heapn%m -jar signapk.jar -w testkey.x509.pem testkey.pk8 ../final-zip-file/update_unsigned.zip ../final-zip-file/update.zip
note: you do not actually need to sign the ZIP. You CAN flash a zip without a signature on it, its just that with signature you get verification that the file is intact, which isn't a bad idea.
In Batch's screwy syntax, %heapn% is the variable that contains the heap size, and it looks like the default heap size the script uses is 64 unless otherwise specified by the end-user.
Also, %~dp0 is just a path expansion expression used to give the full path to the target files where its used.
I'm pretty sure you can make use of the jar and key files inside the FrameWork Flasher zip file I attached to this thread. You can find them in the resources folder. Both apktool.ar and signapk.jar are necessary, and I'm pretty sure the testkey files are needed to do the digital signatures and make this stuff work. Hope that stuff helps
Your mediafire link is just another link to download 7zip, could you update it. Thanks.
deyanimay said:
Your mediafire link is just another link to download 7zip, could you update it. Thanks.
Click to expand...
Click to collapse
Damn you multi-tasking!!! sorry about that. Fixing it nao.
The link should be http://www.mediafire.com/download/jozlg1xy4vxiegb/FrameworkFlasher-MOD.zip
when I tried to use framework flasher option 1 it said
Framework Flasher 1.1.4 - by Wes Foster (wesf90)
Please read the "Help" section before using this script
--------------------------------------------------------------------------------
----
Compression: 9 Heap Size: 64mb
````````````````````````````````````````````````````````````````````````````````
````
Main Options (in order)
-----------------------------------
(1) Decompile APK
(2) Compile APK
(3) Sign APK
(4) Create and Sign update.zip
(5) Great News! (when your finished creating the zip)
Other Options
-----------
(10) Set Compression Level for APK's
(11) Set Max Memory Size (if you get stuck when decompiling/compiling)
(12) Read Logs
(13) About / How-to / Help
(99) Exit
--------------------------------------------------------------------------------
Choose the number corresponding to the option:1
(removing old files...)
(removing old files-to-edit...)
===============++ Decompiling the APK. Please, please be patient ++==========
=====
ECHO is off.
An error has occurred. Check the log for more info.
ECHO is off.
Press any key to continue . . .
Click to expand...
Click to collapse
I attached the log. I'm trying to do this with CM 11 M1 on my deb, windows 8. Any ideas?
edit: framework-res.apk i'm trying to decompile: https://www.dropbox.com/s/iqc3eniv0u51ytg/framework-res.apk
seems like this is a common problem (googled it echo off) but I havent found a solution that works
edit 2: just tried it on my windows 7 laptop with the same result
edit 3: tried doing this with the cm 10.2 framework-res.apk with the same result.
About the voice mail message. Have you tried to install T-mobile Visual Voicemail to see if it could download then delete the message? I don't know how this app works, it's just the first thing I thought of when I read your post.
Thanks for creating this quide. I tried the single steps of the guide two weeks ago (I described it here: http://forum.xda-developers.com/showpost.php?p=47928887&postcount=167), but always got a bootloop. (De-)compiling the framework succeeded without errors and I tried it with and without changing the build.prop. By now I have no clue what went wrong. Mabye you need a special version of apktool fitting the rom you want to patch ?
Paten said:
About the voice mail message. Have you tried to install T-mobile Visual Voicemail to see if it could download then delete the message? I don't know how this app works, it's just the first thing I thought of when I read your post.
Click to expand...
Click to collapse
I've tried this and it doesn't work. I guess the app can't properly add the visual voicemail service to that line. I've also asked T-mobile about it and they said that I don't even have a voicemail box to store messages so there is nothing they can do about it.
nsmart said:
Thanks for creating this quide. I tried the single steps of the guide two weeks ago (I described it here: http://forum.xda-developers.com/showpost.php?p=47928887&postcount=167), but always got a bootloop. (De-)compiling the framework succeeded without errors and I tried it with and without changing the build.prop. By now I have no clue what went wrong. Mabye you need a special version of apktool fitting the rom you want to patch ?
Click to expand...
Click to collapse
Same here, it appears that setting config_voice_capable to true triggers an NPE inside the Keyguard class (i.e. the system PIN entry dialog) which then in turn causes SystemUI to restart over and over.
Perhaps the answer lies somewhere in the changes between 4.4 and 4.4.2 inside the AOSP device tree for deb, but I don't have the time to do an extensive diff of everything that has changed between those two releases.
Has anybody succeded in modding the stock KOT49H build without side effects?
---EDIT---
Apparently @GuyAdams managed to do it. Question is, how
cheers mate, nice post etc, been trying to get this going the last few days (and trying the other posts I've seen you talking on) but so far no luck. I'm getting the same log error as the previous poster too.
cheers
running nexus 7 with cm11 latest nightly.
burpitt said:
cheers mate, nice post etc, been trying to get this going the last few days (and trying the other posts I've seen you talking on) but so far no luck. I'm getting the same log error as the previous poster too.
cheers
running nexus 7 with cm11 latest nightly.
Click to expand...
Click to collapse
Well that sucks! It looks like APKtool doesn't work on anything newer than 4.4. I was able to reproduce the errors by trying to decompile / recompile the framework-res.apk from stock 4.4.2. The current release of APKtool from Slimbean I found here on XDA Devs appears to not be new enough. The main attraction of FrameWork Flasher over other solutions was the extremely easy & rapid download & use (as opposed to the end user having to like go download and install the entire Android dev kit), and Virtuous Ten Studio can definitely do this job, but again it looks to be an order of magnitude more complex for the average user to use. I'm going to be a little busy today doing actual work, but I should be able to find the time to work on this other stuff as well. Frustrating!
Is this working for the rom here: http://forum.xda-developers.com/showthread.php?t=2545628
And what about the carrier dont they see you now making calls and texts on a line that is set to be a tablet?
curtdragon said:
Is this working for the rom here: http://forum.xda-developers.com/showthread.php?t=2545628
And what about the carrier dont they see you now making calls and texts on a line that is set to be a tablet?
Click to expand...
Click to collapse
Did you even read my post? At no point did I say anything about "making calls", and as stated in the OP, this simply turns on the software on the tablet that allows you to send & receive SMS/MMS messages. You have to have to actually have SMS service to send / received SMS messages.
Also as carefully stated in OP, using CM10 or CM11 means you can use Voice+ to make Google Voice messages act like regular SMS.
Last but not least, the most recent builds of Bruce's CM11 ROM (the one you linked to) already have this modification applied (as he explained in the most recent few posts).
DivinityCycle said:
Did you even read my post? At no point did I say anything about "making calls", and as stated in the OP, this simply turns on the software on the tablet that allows you to send & receive SMS/MMS messages. You have to have to actually have SMS service to send / received SMS messages.
Also as carefully stated in OP, using CM10 or CM11 means you can use Voice+ to make Google Voice messages act like regular SMS.
Last but not least, the most recent builds of Bruce's CM11 ROM (the one you linked to) already have this modification applied (as he explained in the most recent few posts).
Click to expand...
Click to collapse
Hey thanks for coming off as a douchbag. Do I even read? No, perhaps you've edited your post several times since i did. Not to mention the fact that your title reads "Enable SMS on any ROM" then you go on to say that it will also enable the voice portion of the phone. Finally I asked a legitimate question it he texts why? because with ATT i have a share plan. While the plan says it's unlimited talk and text then the data is shared each device is different on the account and priced differently as well.
Also if I wanted to use Google Voice to send text messages i would just do that. Voice+ sends
But as you said this is enabled in the ROm i am using so I will exit this thread now.
You really need work on your people skills.
I do not run framework flasher is not possible to have a zip ready to be flash? I have a nexus 7 2013 LTE with cm 11 kot49h.... Thanks
Inviato dal mio Nexus 7 utilizzando Tapatalk