Install gapps on fake nexus 4 - Android Q&A, Help & Troubleshooting

Hey y'all,
I have a customer with a google nexus 4, at least he thought so when he bought it from someone. After opening the package all the descriptions belonging to the phone where in chinese, which is weird but it still could bw a chinese produced phone. When googling the kernel number and discovering there was no play market nor support for google accounts I decided the device was a fake chinese piece of crap.
But forget all of the above, I found a way to install gapps anyway on this fake device, by just pushing all the folders of the flashable zip to the device, see the script I mirrored with DropBox. Unpack the script to some folder on your desktop and make sure usb debugging is turned on on your device. Then click install_gapps.bat and reboot your phone after the script is finished if it doesn't do this by itself.
I implemented the gapps for ICS-4.0.x, but if you want to install another gapps just place the "system" folder of the zip in de folder you just unpacked. In the script you can change wat you want to be pushed to your phone, the part which enables google accounts on your phone is located in system/lib I believe but I'm not sure so mod the script the way you want. The way it is now, it will enable google accounts
After this the phone has become a practically genuine nexus 4, with the exception is has different hardware and can't receive updates .
Please come back here for troubleshooting, I will try to help.
Hit the thanks button if this helped. If you even want to donate, you can go here: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=URRJAZ77AD4MG
Mirror 1:
https://dl.dropbox.com/u/49462631/install_gapps_fake_nexus_4.zip

We need a sub forum for the Fake N4 I guess

Ehhrrm, whaat? This probably belongs somewhere else mate..

Why would people even bother using a fake n4?
1: send it back for a refund
2: if refund is not an option then throw it in the bin
3: buy a genuine N4!
Problem solve

Why is this in the forums? This isn't development.

Related

Bought a Mini Pro (and this is my rant/question)

So, went out and picked up a Mini Pro for the misses.
Well, off the bat I went crazy cause I couldn't find "Market" and well...after searching online, guess this damn region doesn't support the Market. How wonderful is that, so downloaded stuff online through slideme. Which really still sucks.
Then when I downloaded things to my laptop and wanted to bluetooth them over, I couldn't. Then when I wanted to send ringtones from my phone to the mini pro, I couldn't. So I searched, and wouldn't you know it. I gotta download a program, so I downloaded bluetooth explorer and then it prompted me that I gotta root this SOB to be able to send files through bluetooth? Did I just buy an iPhone or what?!
So I plugged in the phone through USB. And we copied over the APK. and I downloaded a file explorer, so I could get to the damn APK (really no file explorer included, or clearly apparent?). And when we launched the file (MSN), we found we couldn't send files, images, or anything other than text. Are you kidding me?
With all these limitations, how is Android so popular?
Are there any possible solutions without having to root this bastard? (aside from MSN). I just bought this thing and don't wanna void warranty so damn early so I could make it something PRACTICAL like every other phone.
I'm guessing you're used to nokia's and the like. I must say i've found bluetooth file transfer a little hit and miss on android, but you need an app called bluetooth file transfer but it's on the market i'm afraid. Where are you then? You can get the market app from these forums and an enabler for regions not supported so you may need to do some digging.
Sent from my E10i using XDA App
Not used to Nokia's. Used to WinMo and running Android Froyo on my Topaz.
Could not find the market standalone app for the life of me. And the phone is from Saudi Arabia, and I can't justify rooting it just yet.
@bmzloum
Hi! I feel your pain. Android Marketplace is not supported in my part of the world too. I am looking for alternate ways to get apps into my phone.
You mentioned that you had to download a separate File Manager to get to the .apk files. Can you tell me which app you are using?
Also how did you manage to install the File Manager in the first place if you could not get to the .apk files?
Do you copy the .apk files to your MicroSD card? Do you any other advice to make installation easier if we download the Apps to our computer then then try to install them to our phone?
Thanks in advance for any help.
Cheers and good luck with your new phone.
Appbrain App Market and Apktor are viable alternatives for getting apps on your phone, the latter you'll need to find public repositories for. Sorry can't post links cause of restrictions on a new account, but google knows all.
drussthelegend said:
You mentioned that you had to download a separate File Manager to get to the .apk files. Can you tell me which app you are using?
Click to expand...
Click to collapse
Hey, found
Code:
http://slideme.org/
which let me download with the barcode, and then I installed the sites app manager directly on there. There are a ton of file managers, I downloaded two, I forget which. But the two most popular ones. Both worked, but only one handled ZIP files. I don't have the phone beside me, so can't recall...
I found the Market standalone apk, but it crashed everytime I clicked on "Download" so I gave up on it.
I'm gonna try those suggestions posted up and see if they have a few new nice apps on there.
I had the exact same issue as others above. My solution was to use the debranded UK Firmware, root the phone and then use the Bluetooth File Manager.
bmazloum: My phone also came from the UAE side and didn't have the Market. I used Omnius to flash the firmware. A friend of mine on the otherhand paid the local Sony Service Centre to flash and debrand the ROM. Maybe this might help
Guys you don't have to move the apk file over to the phone in order to install it btw... get Adb from the Android SDK and then place the apk file in the same folder as adb.
And then from command prompt, navigate to the folder with adb and your apk and type "adb install example.apk".
Make sure you have USB Debugging (Applications -> Development) enabled and that's it.
Works nicely on a Mini. Not sure about the Pro to be honest.

Basic Setup with Stock and Market for GTAB

I did this basic setup for my woot acquired GTAB. The primary reason was to keep the stock ROM but get the fully functional Android Market. I wanted to give these instructions out to real newbies who may want to do the bare minimum to keep their TAB up and running with all apps and without doing a flash with custom ROM. I wanted to include a more step by step for people who are less tech savvy so please bear with the details if you are a tech guy.
1. Get the Over The Air update to update to 3588. The OTA push happens automatically if you have connectivity (wifi is setup). You can also check it via the updates app that should have come with the stock ROM.
2. Download the enhancement pack - TnT Enhancement Pack v3.1.4b file from http://www.megaupload.com/?d=74HGJNEL to your desktop or laptop. The file name should be TnT_Enhancement_3389_v3_1_4b.rar
3. Try opening the file using winzip or any zip program. If it doesn't install winrar version available at http://www.win-rar.com/download.html.
4. Extract contents to a local folder on your computer using the zip/ winrar program. It has files update.zip, a recover folder that contains a command file
5. Connect your TAB to the computer with the min-usb cable and activate the usb transfer (I think it comes up with that option)
6. GTAB should show up as another drive in your system. With windows explorer browse this drive to locate the "sdcard" folder.
7. Copy the update.zip and recover (containing command file) folder from the location you extracted on your computer (step 4) into the sdcard folder identified on step 6.
8. Power off
9. Power on by pressing and holding the volume + button and the power button simultaneously.
10. The TAB should show a open box screen in a few seconds and after some time should turn back on to the main screen with new apps installed. You should see the market apps icon as well
11. Do the market fix remedy to see all applications in the market by steps below. I added an alternate market fix (if you don't see all apps)
a) Run market
b) Open settings->applications->system applications
c) Force close Google Services Framework, then Force Close Market
d Go back to Google Services Framework, then clear data
e) Run market and confirm you get an error
f) Reboot
g) Wait 2 minutes and try Market to get all applications
h) If this doesn't work, look at the directions again and make sure you follow them exactly
Alternate market fix Steps - I haven't tested this but looks like a few extra steps (You need Titanium Backup installed and have opened Market and surfed around a bit. Thanks to blackjaguar who pointed to this)
1. Settings->Applications->System applications->Market then Clear Cache (if any) then Force Stop
2. Go back one and then Google Services Framework then clear data then Force Stop
3. Go to home and open Titanium Backup
4. Select Backup/Restore tab
5. Select Google Services Framework
6. Select Wipe Data
7. Go to home and open market (it will error and close)
8. Reboot your tablet
9. Open Market and you will have full market
The above steps are detailed in another thread
The below steps are the bare action items from this detailed link
http://forum.xda-developers.com/showthread.php?t=885940 _ However I found it misses some things for the newbie. So this thread.
CAVEAT - I am still new to all this and this is my first HOWTO. Use at your own risk .
Thanks to all the hard working Devs at XDA especially Roebeet and rothnic. A lot of work has gone in creating these files.
Almost
I just got my gtab from woot and basically wanted the same thing you did: the stock gtab plus the market. I followed your directions after spending the last week reading the massive amounts of posts on this forum. The only thing I did differently was installing CWM between steps 1 and 2, and repartitioning to the recommended 2048/0. It seemed like most people end up having to do that at some point. Your market fix however, didn't work at all for me. There's another fix posted by tsm26 that worked great for me. Its slightly different:
http://forum.xda-developers.com/showpost.php?p=12563333&postcount=4400
The only app I still can't find in the market is Firefox, but luckily its available from ftp.mozilla.org.
EDIT: Just got the acore process problem, and had no contacts or /data/data folder at all. Used this fix and the problem is gone. Looks like it works for TnT Enhanced as well:
hipBob said:
from other parts of the forum i went with the fix of using titanium backup to wipe data related to contacts (believe there were three separate items, contacts, contact synch, and something else). btw, I am running VEGAn 5.1.1.
Click to expand...
Click to collapse
blackjaguar said:
I just got my gtab from woot and basically wanted the same thing you did: the stock gtab plus the market. I followed your directions after spending the last week reading the massive amounts of posts on this forum. The only thing I did differently was installing CWM between steps 1 and 2, and repartitioning to the recommended 2048/0. It seemed like most people end up having to do that at some point. Your market fix however, didn't work at all for me. There's another fix posted by tsm26 that worked great for me. Its slightly different:
http://forum.xda-developers.com/showpost.php?p=12563333&postcount=4400
The only app I still can't find in the market is Firefox, but luckily its available from ftp.mozilla.org.
EDIT: Just got the acore process problem, and had no contacts or /data/data folder at all. Used this fix and the problem is gone. Looks like it works for TnT Enhanced as well:
Click to expand...
Click to collapse
I am going to update this with alternate market fix for anyone who is interested. Thanks.
Step 6 confused?
Just received my gtab and following your steps to install this upgrade, however after connecting gtab to laptop I see 4 folders at the root of "E:" when browsing through windows. I assume that "E:" is the sdcard directory and these folders are located in it. The folders I can see in this directory under the windows "E:" drive are - .android_secure, Android, DCIM & LOST.DIR. However if I browse to the "sdcard" folder using the file explorer on my gtab I don't see the .android_secure folder, but do see a folder called "update.zip", that I don't see when browsing the "E:" drive in windows. Now I am really confused? Do I delete or rename the "update.zip" directory currently residing in the "sdcard" directory on the gtab and then copy over the recover and update.zip folders that I just downloaded?
My tap ui version is 1.1-3389.
Are there any suggestions?
I think you need to disable the USB sharing and you will see the files.
This worked like a charm. I decided not to root and mod, at least for now, so getting the market is great. I didn't show the sdcard directory, but I had update and an empty recovery directory, so I just replaced them (after copying the old update.zip). It wiped out the photos and videos apps on my main screen, but I found some interesting replacements. And the market fix worked great too.
But I still can't find Words With Friends... Just checked the market from my laptop and it thinks it's not compatible with my device. Oh well.
I followed the instructions to the T and the market wont work... someone please help!!!!!
The first set of instructions did not work for me, but the alternate set did work. I now appear to have a full market. Awesome!
Just for the record, I am running the stock ROM updated to the latest VS release.
EDIT: Whoops, spoke too soon. No apps will download from the Market. When I try to download a free app, I get a "Starting download..." message but that's it. I'm also doing this at work... I think port 5228 might be blocked. Is this the reason? I will attempt from home tonight...
Help!
gunajay said:
10. The TAB should show a open box screen in a few seconds and after some time should turn back on to the main screen with new apps installed. You should see the market apps icon as well
Click to expand...
Click to collapse
I've gotten to this point, but how long is some time, it has never turned back on to the main screen and now really won't boot at all, just goes to a blank screen and sit there.
Any ideas? Any help would be appreciated! Hope I haven't done something terribly wrong!
Spoke too soon?
Maybe I spoke too soon. Doing the market fix got me a lot more on the market, but there's still a lot of apps that I can't get. So many devs put their apps in market and nowhere else. Don't they realize that this is not itunes? (BTW, I've hit web sites that send me to itunes to download their apps...) How many other devices has google not approved for the market and are stuck like this? Even Firefox is undownloadable on my Android. Is that really the market fix or should I be able to access more?
So frustrating, but finally something seems to work
OK, new theory. Apparently I had to do the market fix twice. I also followed the video on this post:
http://forum.xda-developers.com/showpost.php?p=9817939&postcount=17
That's not the gtab, so it looks a little different in the menus, but the steps still worked. I guess it threw in an extra step of clearing cache on market and force stopping it before stopping google services framework. Well, Firefox doesn't show up in market, but so far everything else does. Now I have to try to remember everything I've been trying to download.
I had to do the Market fix twice, but that was no sweat.
Perfect, gunajay; thank you very much for your concise directions.
gunajay said:
I did this basic setup for my woot acquired GTAB. The primary reason was to keep the stock ROM but get the fully functional Android Market. I wanted to give these instructions out to real newbies who may want to do the bare minimum to keep their TAB up and running with all apps and without doing a flash with custom ROM. I wanted to include a more step by step for people who are less tech savvy so please bear with the details if you are a tech guy.
1. Get the Over The Air update to update to 3588. The OTA push happens automatically if you have connectivity (wifi is setup). You can also check it via the updates app that should have come with the stock ROM.
2. Download the enhancement pack - TnT Enhancement Pack v3.1.4b file from http://www.megaupload.com/?d=74HGJNEL to your desktop or laptop. The file name should be TnT_Enhancement_3389_v3_1_4b.rar
3. Try opening the file using winzip or any zip program. If it doesn't install winrar version available at http://www.win-rar.com/download.html.
4. Extract contents to a local folder on your computer using the zip/ winrar program. It has files update.zip, a recover folder that contains a command file
5. Connect your TAB to the computer with the min-usb cable and activate the usb transfer (I think it comes up with that option)
6. GTAB should show up as another drive in your system. With windows explorer browse this drive to locate the "sdcard" folder.
7. Copy the update.zip and recover (containing command file) folder from the location you extracted on your computer (step 4) into the sdcard folder identified on step 6.
8. Power off
9. Power on by pressing and holding the volume + button and the power button simultaneously.
10. The TAB should show a open box screen in a few seconds and after some time should turn back on to the main screen with new apps installed. You should see the market apps icon as well
11. Do the market fix remedy to see all applications in the market by steps below. I added an alternate market fix (if you don't see all apps)
a) Run market
b) Open settings->applications->system applications
c) Force close Google Services Framework, then Force Close Market
d Go back to Google Services Framework, then clear data
e) Run market and confirm you get an error
f) Reboot
g) Wait 2 minutes and try Market to get all applications
h) If this doesn't work, look at the directions again and make sure you follow them exactly
Alternate market fix Steps - I haven't tested this but looks like a few extra steps (You need Titanium Backup installed and have opened Market and surfed around a bit. Thanks to blackjaguar who pointed to this)
1. Settings->Applications->System applications->Market then Clear Cache (if any) then Force Stop
2. Go back one and then Google Services Framework then clear data then Force Stop
3. Go to home and open Titanium Backup
4. Select Backup/Restore tab
5. Select Google Services Framework
6. Select Wipe Data
7. Go to home and open market (it will error and close)
8. Reboot your tablet
9. Open Market and you will have full market
The above steps are detailed in another thread
The below steps are the bare action items from this detailed link
http://forum.xda-developers.com/showthread.php?t=885940 _ However I found it misses some things for the newbie. So this thread.
CAVEAT - I am still new to all this and this is my first HOWTO. Use at your own risk .
Thanks to all the hard working Devs at XDA especially Roebeet and rothnic. A lot of work has gone in creating these files.
Click to expand...
Click to collapse
Everything is working great using this Enhancement Pack and Market Fix. My question is whether my gTab is still considered stock with these changes? The forum messages about the new firmware update all caution against applying it if you are running an alternate firmware from 3588. I don't know if I am under the Enhancement Pack and Market Fix scenario or not.
no sdcard - help please
Hello all, found this post and as a complete newbie I was excited to see what the GTAB could be transformed into. Not quite ready for custom ROMS so I figured I'd start with Clockworkmod and trying to install the standard android market.
Problem is when I hook up my gtab I don't see an "sdcard" folder... Anybody have any ideas why that would be? How do I work around it?
I have the following folders:
.android_secure
Android
clockworkmod
DCIM
download
kindle
LOST.DIR
Master
Music
Photos
recovery
Videos
update.rar
Thanks in advance for your help!
Will this work with 4349?
Does anyone know if gunajay's instructions will work with with Stock 4349 and Market?
andasolo33 said:
Hello all, found this post and as a complete newbie I was excited to see what the GTAB could be transformed into. Not quite ready for custom ROMS so I figured I'd start with Clockworkmod and trying to install the standard android market.
Problem is when I hook up my gtab I don't see an "sdcard" folder... Anybody have any ideas why that would be? How do I work around it?
I have the following folders:
.android_secure
Android
clockworkmod
DCIM
download
kindle
LOST.DIR
Master
Music
Photos
recovery
Videos
update.rar
Thanks in advance for your help!
Click to expand...
Click to collapse
SDCARD is the folder that is mounted on your computer when you connect via USB. The list above are the contents of your SDCARD.
Doh. ;-) That worked. Thank you very much for the explanation K J Rad!

[Q] Help! - Accidentally deleted system UI on root, android 4.1

Ok, so I rooted the Huawei Ascend Y300, and with my new-found power i for some reason decided it was a good idea to delete the system UI...
So now the screen is just black, I can't access anything and it keeps coming up with "systemUI has stopped responding".
I tried downloading Huawei's official firmware from their website, and flashed the device, but whilst installing it said "update error" and wouldn't install it.
Any ideas on what I can do? Or have I broken it for good?
You have activated USB Debugging? If so, you need Android SDK, and the missing file (unpack the official firmware to find it), so you can copy it using adb (included in the Android SDK, tell me if you need more detailed info).
RoberGalarga said:
You have activated USB Debugging? If so, you need Android SDK, and the missing file (unpack the official firmware to find it), so you can copy it using adb (included in the Android SDK, tell me if you need more detailed info).
Click to expand...
Click to collapse
I had the USB Debugged, and just now i have sent nova launcher to the phone to get into it, but it's now telling me settings isn't installed and i cant access the task bar.
Also when i downloaded the pack from huawei, it just came with the file "UPDATE.APP"
Check if you can open the Update package using some program (winrar, 7zip), otherwise you'll need to search for the file.
RoberGalarga said:
Check if you can open the Update package using some program (winrar, 7zip), otherwise you'll need to search for the file.
Click to expand...
Click to collapse
Ok, so it won't let me open the file as a zip, and I'm not entirely sure what file I'm meant to be looking for. Am i looking for system UI because thats the one with the error? and if so how would i go around getting it on the device?
Do you know if theres a way to completely reinstall android onto the phone?
System UI file
Hey
Sorry to confuse you lol oxymoronic happens to be talking about my phone anyways we think we have the problem nearly sorted but we now need a system UI APK file for the OS and we can find one any chance you know where to get one?
I hope this helps someone with a similar issue as the post is old.. I had deleted my xperia ui sometime back so each time the phone booted , it went to black with "Ui has stopped'. I could swipe down and go to settings.. Since i had formatted the phone before that there was no account linked to it.. I added my gmail account and sent myself a mail with nova launcher prime as an attachment.. As soon as the phone notified me of my mail, i downloaded the nova launcher apk and installed it.. Works fine now..
Hope this helps..
I rooted my asus zenfone 5 and by mistake I uninstalled my system ui it came like that the system ui is not responding so I switched it of and factory reseted the phone and when I switched it on I can see a black screen and I cannot change my phone'sv wallpaper I cannot see the task bar or the status bar or the notification bar and I also cannot see my recent apps. WHAT TO DO NOW ???
My phone doesnt show and home button recent button and the notification shade
RoberGalarga said:
You have activated USB Debugging? If so, you need Android SDK, and the missing file (unpack the official firmware to find it), so you can copy it using adb (included in the Android SDK, tell me if you need more detailed info).
Click to expand...
Click to collapse
PLEASE HELP ME IM FREAKING OUT I accidently deleted SYSTEM UI and my wallpaper is black and the buttons on my lg leon wont show. PLEASE HELP ! HOW DO I SOLVE THIS?
Here's the solution. $$$ appreciated.
oXym0r0nic said:
Ok, so I rooted the Huawei Ascend Y300, and with my new-found power i for some reason decided it was a good idea to delete the system UI...
So now the screen is just black, I can't access anything and it keeps coming up with "systemUI has stopped responding".
I tried downloading Huawei's official firmware from their website, and flashed the device, but whilst installing it said "update error" and wouldn't install it.
Any ideas on what I can do? Or have I broken it for good?
Click to expand...
Click to collapse
I SOLVED IT *****! HERE'S HOW I DID [email protected]@@
I accidentally deleted com.android.systemui on my phone. Version KitKat 4.4.2.
STEP 1. HAVE AN EXACT DUPLICATE OF THE PHONE READY. HAVE THE SAME PHONE READY. LUCKILY I HAD ANOTHER PHONE OF THE SAME MODEL. GO TO A PHONE SHOP OR SOMETHING.
IT WILL HAVE THE SAME com.android.systemui .
STEP 2. INSTALL NOVA LAUNCHER OR SOME SORT OF LAUNCHER ON THE PHONE MISSING THE FILE, SO YOU CAN LOAD THE PHONE AND BE ABLE TO SEE IT!
STEP 3. INSTALL TITANIUM BACKUP ON BOTH PHONES. ROOT IT AND USB DEBUG IT BEFOREHAND.
STEP 4. ON THE BACK UP PHONE, OPEN UP TITANIUM BACKUP AND CLICK ON BACKUP/RESTORE ON THE UPPER TABS AND GO TO com.android.systemui. BACK THE **** UP THE FILE.
STEP 5. CONNECT IT TO THE COMPUTER, AND GO TO YOUR PHONE AND COPY WHAT'S INSIDE THE "TitaniumBackup" FOLDER.
STEP 6. CONNECT THE ****ED UP PHONE TO YOUR COMPUTER AND PASTE THE CONTENTS OF "TitaniumBackup" FOLDER (WHICH ARE com.android.systemui FILES) IN THE ****ED UP PHONE'S "TitanumBackup" FOLDER.
STEP 7. DISCONNECT EVERYTHING, EXIT OUT OF EVERYTHING, AND RESTART THE PHONES. GO TO YOUR ****ED UP PHONE, CLICK ON AND OPEN UP THE TITANIUM BACKUP, FIND com.android.systemui AND RESTORE IT!
STEP 8. ENJOY YOUR PHONE.
NOW YOU DON'T HAVE TO FORMAT IT , RESET IT, REINSTALL A FOREIGN ROM, OR DEBUG IT USING ADB OR SDK, AND ALL OTHER COMPLICATED **** FLOATING AROUND, RISKING LOSING ALL OF YOUR DATA. JUST GO A LITTLE CREATIVE.
IF IT WAS OF ANY HELP TO YOU OR YOU ACTUALLY RECOUPED YOUR DATA BECAUSE OF ME, AND YOUR PHONE DATA WAS OF ANY WORTH TO YOU, PROBABLY WORTH MORE THAN $100, PLEASE SEND ME SOME APPRECIATION PREFERRABLY OVER $100, TO MY PAYPAL. THE EMAIL ADDRESS IS [email protected]
Want the help
Thanks for the saw er
but can u plc attach the apk of Samsung galaxy core 2 here.so I could be able to install. Please

Enable SMS on Any ROM

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

[4.2.2][Fake GALAXY S5 mini][SM-G800][Translation] Useful notes on Translating

Hello
[INTRO](a little background)
This is a guide for those who want to have their phone in their language but the operating system does not have it built in. You can flash a new ROM that has it or install an app right? Not so much. There are reasons for these methods to fail or simply not work for your situation. My problem was that the bootlegged hardware was not supported by the official ROMs or the Android community. This forum is also riddled with threds that started by people who need to mod something about their phone but have no technical knowhow. There wouldn't be annything wrong with that exept that the awnsers in these threds are something along the lines "Oh you just need to do this thingnemabob" that's it one sentence pointing to a technical slang word that means nothing to anyone but a seasoned developer despite first post DIRECTLY STATES IT WAS MADE BY A PERSON ASKING FOR A STEP BY STEP SOLUTION OR A LINK TO A TUTORIAL!
[pre-procedure]
List of necessary software:
Zipsigner (this goes on your phone)
ADB
text editor of choice( notepad++ recommended)
AIO-Flasher
smali/backsmali (depeding on wether your system files are odexed more on that later)
APKstudio
[installing above software]
Zipsigner
Why you need it?
As you modify your apk files their signature changes. Basically if you change anything about them the phone will no longer recognise these as "its" therfor you need to convince your phone that these are in fact okay with zipsigner.
how to install?
This is an app. If you ever installed anything from Google playstore before than you know how to install it. Go to your Google play store app on your phone. Search for Zipsigner and pick the top app. Agree to all the demands and tap on install
ADB
why you need it?
this is a command line piece of software. these might be very scary to use but don't worry follow the tutorial and you'll be okay. That aside what is it used for. ADB is a powerful tool but we will use it only to copy and paste files to and from Phone
how to install it?
ADB comes packed up with Android Development Kit so the easiest way to install it is to get the ADK
[STEP 1]
Okay so you want to translate your phone for one reason or another. Make backup! Backups are important. You want to have something when you fail to fall back on. Yes "When" you fail. Not "if" you fail. You will screw up but as long as you have a proper backup everything is okay.
You can back up your phone in few different ways.
Hello
[INTRO] (skip if you are not interrested in fluff)
For the past week I lived in Android Hell looking for what I thought would be a simple procedure and I wanted to share my expieriences somewhere so that no one else has to go through this flustrating expierience.
I got two phones (Galaxy S5 and Galaxy S5 mini)and I was taked with translating them. Well It should not be a problem I thought because it should be as easy as going into [settings]>>[region and langages] and choosing Polish. There is no Polish. So that was my first step towards the translating thiese.
[STEP 1]
First thing first backup. I am by no means a talented programmer or modder so I went with Samsung Kies but software didn't recognise neither phone. After fiddling with drivers and a back-and-forth with samsung costumer support we came to conclusion that phones are fake. IMEI of one identifies it as a Blackberry and other as Nokia >_< well okay they still have some sort of Android so there should be a way to translate them anyway. First thing on the agenda is still backup. So I went through a triall and error to get both roms dumped. I was successful with ANDROID AIO FLASHER which was a godsend after I failed time and again to push romdump's INSTALL into the phone. I managed to get one ROM off by now but other Phone still insists on denying me ability to dump the rom because of Segmentation error. but at least I have one rom backed up.
[STEP 2]
Okay I got myself ROM now what? I decided to make a transfusion. Why bother with getting down and dirty when you can just use the work of others. So I downloaded a ROM with same version of the Android OS and begun looking for language pack or something similar. No luck this is not how Android works. After some research I came to the conclusion that in order to make things work I need to basically decompile each and every APK file that refers to system functionality and translate Strings.xml by hand in order to ensure compatibility.
[PRESENT DAY]
this is where I am now. all I wonder if there is a way to add a new file in the APKs with polish in it or should I just translate English "strings.xml" file and set langage to english?
Feel free to point out faults in my logic as well as provide tips and tricks for those of us who bought our phones on the cheap and just want to usethem with language they are comfortable with. I will build up this topic with factual information that I come across and try to make this into a universal guide to Android translation with resources to download. I do this because no one should be subjected to this and there is no decent step by step guide on this forum just disjointed and incompleate information in posths here and there. Belive me I looked both here and Google and after two weeks of finding nothing more than a hints I want to just give back to the community all I found.

Categories

Resources