Kindle Fire Network location - Kindle Fire General

Hi, I had beautiful widgets installed and it was not findeing the location automatically, I had to put the zipcode or the city. Now I copied the networklocation.apk from my phone to the kindle's in the system app folder and now it is finding it by geolocation.
Sent from my Kindle Fire using xda premium

I gave this a shot with nogo... CityID it pulls up with is jibberish and non-locational to where I am at.
Just so you know what I did...
o Copied com.google.androidlocation.apk to /system/app
o Rebooted the device
o Used BeautifyWidgets, selected Weather Widget Setting
o Selected Set Location
o Clicked Geolocation
Errors said Geolocation was not on
o told it to use it anyway
o Saved the settings.

krelvinaz said:
I gave this a shot with nogo... CityID it pulls up with is jibberish and non-locational to where I am at.
Just so you know what I did...
o Copied com.google.androidlocation.apk to /system/app
o Rebooted the device
o Used BeautifyWidgets, selected Weather Widget Setting
o Selected Set Location
o Clicked Geolocation
Errors said Geolocation was not on
o told it to use it anyway
o Saved the settings.
Click to expand...
Click to collapse
When you copy the app in the settings l, long press the app and choose permissiones and you must have it setup like the pic

Sent from my Kindle Fire using xda premium

Will this work with Google Maps as well?
EDIT: Yup, I am now finding my location in Google Maps as well. Saaweeet!

Used the same permissions as everything else in the /system/app directory
0644

Well my location is working I don't know why yours doesn't .

samomamo said:
Well my location is working I don't know why yours doesn't .
Click to expand...
Click to collapse
Samomamo, where did you get the NetworkLocation.apk package from, also did you have to adjust anything in Settings.db for any network settings?
I am completely stumped and have been scouring through myriads of posts for some shred of helpful info, so far this post and this one:
http://forum.xda-developers.com/showthread.php?t=1362472
but have had no luck with either one. I am wondering if the answer lies in from where you got your NetworkLocation.apk. Any help would great! Thanks!

I got the apk from my T-Mobile Galaxy s2
Sent from my SGH-T989 using xda premium

I downloaded the networklocation apk from the CM7 gapps. The followed the directions and it is now showing my location. I believe it will only show my location if connected to wifi though.
Gapps is found here : goo-inside.me/gapps/

Solved issue by adding files and editing framework-res.apk
If anyone searching is interested in how I was able to solve this I could not simply add the Google Network Location APK, I had to force the Amazon "framework-res.apk" file to recognize it by editing the '/res/values/strings.xml' with the following lines:
Same ol' disclaimers - I'm not responsible for whatever you do with this info, if you brick your device, its your decision to try and not my fault or issue to fix. This is nothing new I just put the various pieces together from research through other posts, forums, etc. so credit where credit is due.
irishmyles003 and samomamo thank you very much for your input. Though I wish your solutions would have worked I am glad I had this challenge as I think I taught myself a little more about how to mess around and tweak the system a bit.
I still added the NetworkLocation.APK as stated and explained by Samomamo, but I had the do the following steps in order to get the framework to actually react to network location requests, since it kept returning "null".
<<Original>>
Code:
<string name="config_networkLocationProvider">@null</string>
<string name="config_geocodeProvider">@null</string>
<<Modded>>
Code:
<string name="config_networkLocationProvider">com.google.android.location.NetworkLocationProvider</string>
<string name="config_geocodeProvider">com.google.android.location.GeocodeProvider</string>
Steps:
Use ApkTool to pull "framework-res.apk" and decompile
Replace the lines above to match the modded section
Recompile the APK to "unsignedframework-res.apk"
Copy and rename original "framework-res.apK" -> "originalframework-res.apk" (put this file aside in case you need to flash if you make a mistake)
Rename the original and newly compiled files to .zip (so you can extract, edit, etc)
- "framework-res.apk" -> "framework-res.zip"
- "unsignedframework-res.apk" -> "unsignedframework-res.zip"
Extract "resources.arsc" from unsigned and paste (and overwrite) to the "framework-res.zip" file
Rename "framework-res.zip" -> "framework-res.apk"
Push "framework-res.apk" to device (need to mount /system r/w)
chmod 644 (i.e. <rw, r, r> for root explorer)
Reboot and voila it worked (for me at least)!
Sources / Props to the authors of these links:
I could not give correct props because I got these from outside links, but [email protected] and the Enable CRT Animation guide at freeyourandroid.com and the APKtool tutorial at miui-au.com
Also if you google using the info above you will find you can also enable the AOSP GB CRT Animation by editing a line in the bools.xml, I tried this and it works! Enjoy!.
EDIT: After applying the framework-res.apk and rebooting I just realized that my accounts were lost. I just had to re-add them via SyncSettings (Market: com.francesandmarky.android.syncsettings) - Amazon, Gmail, and Facebook.

rpw128 said:
If anyone searching is interested in how I was able to solve this I could not simply add the Google Network Location APK, I had to force the Amazon "framework-res.apk" file to recognize it by editing the '/res/values/strings.xml' with the following lines:
Same ol' disclaimers - I'm not responsible for whatever you do with this info, if you brick your device, its your decision to try and not my fault or issue to fix. This is nothing new I just put the various pieces together from research through other posts, forums, etc. so credit where credit is due.
irishmyles003 and samomamo thank you very much for your input. Though I wish your solutions would have worked I am glad I had this challenge as I think I taught myself a little more about how to mess around and tweak the system a bit.
I still added the NetworkLocation.APK as stated and explained by Samomamo, but I had the do the following steps in order to get the framework to actually react to network location requests, since it kept returning "null".
<<Original>>
Code:
<string name="config_networkLocationProvider">@null</string>
<string name="config_geocodeProvider">@null</string>
<<Modded>>
Code:
<string name="config_networkLocationProvider">com.google.android.location.NetworkLocationProvider</string>
<string name="config_geocodeProvider">com.google.android.location.GeocodeProvider</string>
Steps:
Use ApkTool to pull "framework-res.apk" and decompile
Replace the lines above to match the modded section
Recompile the APK to "unsignedframework-res.apk"
Copy and rename original "framework-res.apK" -> "originalframework-res.apk" (put this file aside in case you need to flash if you make a mistake)
Rename the original and newly compiled files to .zip (so you can extract, edit, etc)
- "framework-res.apk" -> "framework-res.zip"
- "unsignedframework-res.apk" -> "unsignedframework-res.zip"
Extract "resources.arsc" from unsigned and paste (and overwrite) to the "framework-res.zip" file
Rename "framework-res.zip" -> "framework-res.apk"
Push "framework-res.apk" to device (need to mount /system r/w)
chmod 644 (i.e. <rw, r, r> for root explorer)
Reboot and voila it worked (for me at least)!
Sources / Props to the authors of these links:
I could not give correct props because I got these from outside links, but [email protected] and the Enable CRT Animation guide at freeyourandroid.com and the APKtool tutorial at miui-au.com
Also if you google using the info above you will find you can also enable the AOSP GB CRT Animation by editing a line in the bools.xml, I tried this and it works! Enjoy!.
EDIT: After applying the framework-res.apk and rebooting I just realized that my accounts were lost. I just had to re-add them via SyncSettings (Market: com.francesandmarky.android.syncsettings) - Amazon, Gmail, and Facebook.
Click to expand...
Click to collapse
Could someone post the modified framework-res.apk?
Why does it work for some but not others?

andTab, I tried but the max filesize is 8 mb for APK files, the framework-res.apk is 27-31 mb. I couldn't figure out why the original posters were able to do it by just adding the files. When I unpacked the APK it was intentionally set to null not allowing usage of the google location framework.
xxx.multiupload.com/5FJ4ZTH6TX (take out the x's, it wouldn't let me post the address b/c I am new)

Thanks for your work guys...
I downloaded and applied this frame work apk, the crt animation is now enabled, but google maps still not finding my location in the middle of Los Angeles.
Hmmmm

You still need NetworkLocation.Apk from Gapps put into /System/App (also run it from your SD Card), then reboot. The adjusted lines in the Framework-Res points to this framework.

So my evo 3d is running ICS, can I still use the file? Or could someone post a working one?

atomiclama said:
So my evo 3d is running ICS, can I still use the file? Or could someone post a working one?
Click to expand...
Click to collapse
irishmyles003 said:
I downloaded the networklocation apk from the CM7 gapps. The followed the directions and it is now showing my location. I believe it will only show my location if connected to wifi though.
Gapps is found here : goo-inside.me/gapps/
Click to expand...
Click to collapse
I'm not too sure, if you're working off stock the Kindle Fire uses 2.3.4 so I would use the 8/28 version from the website irishmyles003 provided.

Hmm still not having a whole lot of luck.
I downloaded the networklocations apk from gaps of the correct date. Also installed the updated framework. Like I said Im seeing CRT change.
I've set up the geo location through beautiful widgets.. but still not finding location.
What am I missing?
thanks
also when I placed the network locations apk I set correct permission and tried to install it, it said application not installed. Could to be part of the problem?

atomiclama said:
also when I placed the network locations apk I set correct permission and tried to install it, it said application not installed. Could to be part of the problem?
Click to expand...
Click to collapse
Placing it in the /system/app area is installing it.
Make sure you reboot for the system to see it though.
Note: I've not tried this patch...

I'm not exactly sure why it isn't working for you. I spent a few days looking at logcat's and forums. Don't forget to change the permissions (mentioned earlier in this thread) to 644.

Related

[DEV][20.11.2011] Android Gingerbread SIP over 3g for (probably) every GB based rom

Here is a bit of why I wrote this manual:
Back at December 2010 Paul from modaco found how to enable sip over 3g for the gingerbread native client, his original thread is here:
http://android.modaco.com/topic/327770-using-gingerbread-internet-calling-sip-without-wifi/
For chefs it is probably straight forward how to use this tip, but for me I always begged for cookers to include this in their roms usually they didn't even replay to my request, so I investigated this, and here is very easy way to enable this feature.
This guide assumes you are a little familiar with changing files on your ROM.
*I take no responsibility for this guide, use it at your own risk
So, what we are doing is modifying the framework-res.apk from from our framework directory.
We need:
apktools from here: http://code.google.com/p/android-apktool/
Two files are needed, this: http://code.google.com/p/android-apktool/downloads/detail?name=apktool1.4.1.tar.bz2&can=2&q=
And this: http://code.google.com/p/android-apktool/downloads/detail?name=apktool-install-windows-r04-brut1.tar.bz2&can=2&q=
(You can also do this for Linux and Mac, this guide will use windows)
Take the framework-res.apk from your ROMS zip file inside /system/framework directory.
How its done:
Extract both files that you downloaded to c:\apktools (can be any dir...)
You should have 3 files.
Copy the framework-res.apk to the same directory: c:\apktools
start --> run --> cmd
c:
cd \apktools
apktools d framework-res.apk temp
Now a folder named temp will appear named temp
inside temp, edit the file: C:\apktools\temp\res\values\bools.xml
I use notepad++, search for a line:
<bool name="config_sip_wifi_only">true</bool>th
change in the line the "true" into "false"
save the file.
go back to cmd
c:
cd \apktools
apktools b temp temp.apk
Now rename your original framework-res.apk to framework-res.apk.zip
open it with winrar/winzip/7zip it will open like regular archive.
take the file that was created by the build process:
C:\apktools\temp\build\apk\resources.arsc
Use this file to replace the file inside the archive of framerwork-res.apk.zip (overwriting the original, inside the zip)
rename the file back to framework-res.apk
And now you have a sip over 3g enabled framework-res.apk.
There are few options to push this file, easiest is just replace it in your ROM zip and flush the ROM, you need to wipe cache and dalvik cache.
There are other ways to push this to your rom but I won't discuss them here.
I used this on stock roms, AOSP roms, MIUI roms and Sense roms, worked for me on all, if you find a roms it doesn't work on please report.
Thats it, its actually quite easy.
You are Awesome! Thank you for posting this. I just setup my phone with this and it works great.
Great Process, a few little remarks
Shalom,
This is a great process tutorial and within 15 minutes I flashed my HTC Sensation to support Internet calls on 3G/4G, while before it was WiFi ONLY.
So now, no need to have any cellular minutes purchased, have DATA have LIFE.
Remarks:
1. Have only 2 files. You mentioned 1 download and then 2 more. The 1st is duplicated withing the 2.
2. The BAT file is apktool.bat and not apktools.bat.
Other then that, SWEEET.
Toda Raba.
Easy
---------- Post added at 04:29 AM ---------- Previous post was at 04:11 AM ----------
HTC Sensation T-Mobile.
Forgot to mention earlier.
Thanks.
HI
tryed not working stoped at temp file cretion is showing an eror cant go further plz help
Does this change your phone to use 3g to make calls? If so that is excellent.
Sent from my Sabotaged Droid Incredible 2.
Thanks, but why don't we use SIP third-party such as Sipdroid, 3CXPhone...? I think they are easy to use.
Nice work , What about Xperia Lines, will there appear 3G video calling button ?
I tried on Wet Dreams 1.3.0 for Atrig 4G and didn't works (Didn't show SIP Calling option)... maybe my mistake or isn't working with Moto's 2.3.6 build. But I asked to be added by the chef! Thanks for this tip!
If SIP options are not present in your Settings.APK it may have been disabled by the carrier.
The solution is to place the proper permissions file into /system/etc/permissions/ which will enable SIP overall on your device, then of course to this fix as well.
Solution found in various other places, just thought I'd add it to this thread since the thread is linked from the homepage.
Nice, surprisingly easy, almost to much so lol
lotherius said:
If SIP options are not present in your Settings.APK it may have been disabled by the carrier.
The solution is to place the proper permissions file into /system/etc/permissions/ which will enable SIP overall on your device, then of course to this fix as well.
Solution found in various other places, just thought I'd add it to this thread since the thread is linked from the homepage.
Click to expand...
Click to collapse
Thanx.
But it didnt work for me, and still not seeing sip settings.
I plased the attached file in system/etc/permissions, rebooted.
Also tried to fix permissions, and still didnt work.
Please Help
Verizon Motorola Droid 3
Stock deodexed Rom, Android 2.3.4
BTLINU said:
Thanx.
But it didnt work for me, and still not seeing sip settings.
I plased the attached file in system/etc/permissions, rebooted.
Also tried to fix permissions, and still didnt work.
Please Help
Verizon Motorola Droid 3
Stock deodexed Rom, Android 2.3.4
Click to expand...
Click to collapse
Then the options probably just aren't there in your carrier's Rom. They were present in my LG Rom, after I pushed the permissions file. However, when I tried to use SIP, it would force close as soon as the call connected... something else missing.
In my case and yours, the answer is to use SipDroid from the market.
Pls any guide on how to do this in ICC ROMs

[Linux][UTILITY][TOOL] APK Multi-Tool

GgI am currently working on a major update to the apk manager application as well and changing the name to APK Multi-Tool with some new added features and also to fix some issues with some code errors.
I am also changing a lot of the features as well since a lot of the code has been outdated for a while.
I have updated all the files and modified Apk manager's Scripts to fix many user reported bugs from Daneshm90 apk manager which he had written a simple script to ease the process of editing apks. Got a lot of downloads so thought its in demand
Whether you're doing basic image editing or editing the smali or xml files, on average u have to use (Brut.all or JF's smali/baksmali) awesome tool to extract the apk, edit it, then sign the apk and then adb push/install it. This process is quite tiresome if you are testing a method that needs fine tweaking.
This script should make the process a LOT smoother.
Theres an option of compiling/signing/installing all in one step
Thanks:
Goes to Daneshm90 the Original Writer of APK Manager
Goes to Brut.all for his awesome tool.
Goes to JF for ofcourse, smali/baksmali
Features:
- Added framework dependent decompiling (For non propietary rom apks). (Option 10). Checks whether the dependee apk u selected is correct.
- Allows multiple projects to be modified, switch to and from.
- Allows to modify system apk's using apktool but ensures maximum compatibility in terms of signature / manifest.xml
- Batch optimize apk (Zipalign,optipng,or both)
- Batch Ogg optimization
- Batch install apk from script (option 19)
- Batch Theme Image Transfer TOOL
- Batch Theme optipng TOOL
- Batch Theme Zipalign APK TOOL
- Compression level selector (monitor status above menu)
- Error detection. Checks if error occurred anytime u perform a task, and reports it
- Extract, Zip apk's.
- Incorporates brut.all's apktool
- Improved syntax of questions/answers
- Logging on/off has been removed. Instead a log.txt is created which logs the activities of the script organized using time/date headers
- Optimize pngs (ignores .9.pngs)
- Pull apk from phone into modding environment.
- Push to specific location on phone
- Quick sign an apk (Batch mode supported)
- Read log (Option 24)
- Sign apks
- Supports batch installation, so if u drag multiple apks into the script (not while its running) it will install them all for u. U can ofcourse drag a single apk as well
- User can change the max java heap size (only use if certain large apks get stuck when decompiling/compiling apks) (Option 19)
- U can now set this script as ur default application for apks. When u do, if u double click any apk it will install it for u.
- Zipalign apks
- Much Much More
Instructions:
- Place apk in appropriate folder (Any filename will work, if running for first time folders will not be there, you must run and then the folders will be created)
- Run script
- Minimize the script
- Edit files inside the project folder
- Maximize the script
Requirements:
Java 1.7
Android SDK
FAQ
Resulting apk file is much smaller than original! Is there something missing?
First: compression of resources.arsc file. Sometimes this file is compressed in original apk, sometimes not and apktool always compress it. Second: lack of META-INF dir. Apktool builds unsigned apks, so they lack signatures stored in this dir. Third: apktool uses newest Android SDK, so it could optimize files better, especially if original app is old. So: unpack both original and resulting apk, remove META-INF from original and then compare sizes. If they're still much different, then you could report on XDA or somewhere.
There is no META-INF dir in resulting apk. Is this ok?
Yes. META-INF contains apk signatures mostly and after modifying apk in no longer signed, so there are no signatures in it. You have to sign resulting apk and then META-INF dir will be created.
What do you call "magic apks"?
Sometimes there are some apks which (for my current knowledge) are invalid, broken, theoretically they shouldn't exist. There may be many reasons of their existence: my lack of understanding of Android resources; some non-public, maybe future SDK tools or custom modifications of these; manual hacking of binaries, etc. Usually I can't do anything about it, but you could at least try to replace broken parts by something valid. Actually it's quite likely that they aren't even used, because if they would, then application would crash.
Got problems ?
1. Make sure your path has no spaces
2. Your filename has no wierd characters
3. Java/adb are in your path
4. It's not a proprietary rom's apk (aka Sense,Motorola,Samsung) (If u are, then use option 11 and drag the required framework, eg com.htc.resources, twframework-res...etc)
5. It's not a themed apk (if it is, expect .9 png errors, use as close to stock as possible)
6. Look at the log to know whats happening
7. If all else fails, post as much info as possible and we will try to assist you.
TO DO LIST
Add new feature to Randomly Generate a new Key File for signing the apk files after modifying and recompiling of the apk files this will also allow of uploading to the android market as this added feature will allow you to sign apk files that you may of compiled without signing beforehand.
Modify the Signapk script to be compatible with the Randomly Generation feature in the works
and a few other added features are in the works as I am redesigning the application and rewriting a lot of the code to fix issues as well as some of the new features have broken parts as some features have been moved and broken some command line prompts.
Installing APK Multi-Tool Itself
Instructions (Linux):
1-Download, create a folder in your sdk called "APK-Multi-Tool" and extract into it.
2-Goto the the "sdk/APK-Multi-Tool" folder and rename "Script.sh" to "script.sh".
3-Go into the "other" folder, right click on one file at a time, goto "permissions" in the new window and check the execute box.(do this with all the files)
4-To add the path to your folder open up a terminal and type in -
sudo su
PATH=$PATH:/THE PATH TO YOUR "SCRIPT.SH"
(for me this looks like the following)
PATH=$PATH:/sdk/APK-Multi-Tool/other/
5-export PATH
6-install "sox"
7-Type into the terminal "cd PATH TO YOUR SCRIPT.SH"
7.5 export PATH={PATH}:/PATH TO Your SDK/sdk/platform-tools/adb
8-Type "./script.sh"
9-You should have a running APK-Multi-Tool.
how to install sox:
Open the software center of the linux service and searched for sox. Installed it and it there you will have SOX working.
- Place apk in appropriate folder (Any filename will work, if running for first time folders will not be there, you must run and then the folders will be created)
- Open terminal and change-directory to APK-Multi-Tool(Easiest way is to type "cd ")
- Chmod 755 Script.sh
- Chmod 755 all files apps inside other folder
- Run script by typing ./Script.sh
- Minimize the script
- Edit files inside the out folder
- Maximize the script
Downloads:
https://github.com/APK-Multi-Tool/APK-Multi-Tool-Linux/archive/master.zip
Please check back daily or weekly as this project is under active Development and I am releasing Alpha releases on the website for Testing and bug reports.
Lol, why has nobody commented on this?
You're a savior. This is awesome. Can't wait for the rewrite.
AW: [Linux][UTILITY][TOOL] APK Multi-Tool
+1
Haven't seen this also available for Linux, so this is great.
Sent from my Galaxy Nexus using xda premium
Binary updates
UPDATED to apktool-cli-1.5.3-SNAPSHOT
-Updated to smali/baksmali to v1.4.2
-Fixed (issue #396) - Correctly handle android:debuggable while in debug
mode.
-Fixed (issue #340) - Fixed superclass errors on debug mode.
-Updated to Gradle 1.4
-Updated known bytes for configurations to 38 (from addition of layout
direction)
-Fixed NPE when handling odex apks even with --no-src specified. (Thanks
Rodrigo Chiossi)
-Fixed (issue #427) - Correctly handles `--frame-path` on uild
Error 404 on GitHub download page
xcly said:
Error 404 on GitHub download page
Click to expand...
Click to collapse
Fixed
Sent from my DROID RAZR CDMA XT912 using Tapatalk 2
I merged a few projects together instead of having multiple Android developer projects. I did some spring cleaning and deleted a few projects that was not useful and served no purposes. Also renamed the project organization which broke the link forgot to update lol.
Sent from my DROID RAZR CDMA XT912 using Tapatalk 2
I ran the script but I can't see any folders being created.. Trying to sign an apk. Looked up on google and all I can find is your instructions to put apk in appropriate folder (which I can't see..)
Thanks in advance
I will look into this ABCs see what's up
Sent from my DROID RAZR CDMA XT912 using Tapatalk 2
I ran the apksign tool separately using terminal for now
I got
The program sox is missing or is not in your PATH,
please install it or fix your PATH variable
If I go to the other folder there is no sox like in the windows version.
I will look into this asap once I get some free time
Sent from my DROID RAZR CDMA XT912 using Tapatalk 2
civato said:
I got
The program sox is missing or is not in your PATH,
please install it or fix your PATH variable
If I go to the other folder there is no sox like in the windows version.
Click to expand...
Click to collapse
I had the same problem but it was fixed once I installed sox. There was a tutorial on google search for setting up apk manager you might wanna have a look at.
Sent from my GT-I9300 using xda premium
raziel23x said:
I will look into this asap once I get some free time
Sent from my DROID RAZR CDMA XT912 using Tapatalk 2
Click to expand...
Click to collapse
xcly said:
I had the same problem but it was fixed once I installed sox. There was a tutorial on google search for setting up apk manager you might wanna have a look at.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
I got it solved , I just entered the Ubuntu software center and searched for sox. Installed it and it works.
Maybe good to add this in OP when using linux. It is stupid of me thinking it was something harder so thank you for your help and fast response.
A other methode I found here
PS:
You don't need to type in ./Script.sh in teminal in linux , just clicking on it (Script.sh) and select "run in terminal" does the trick without typing anything.
updated the original post with detailed instructions
raziel23x said:
updated the original post with detailed instructions
Click to expand...
Click to collapse
Put updated info into the README file. Made a few corrections (hope you like).
AndyOpie150 said:
Put updated info into the README file. Made a few corrections (hope you like).
Click to expand...
Click to collapse
pushed your changed to github all code changes are welcome even forking the repo on github and making changes and doing pull request are welcome
raziel23x said:
pushed your changed to github all code changes are welcome even forking the repo on github and making changes and doing pull request are welcome
Click to expand...
Click to collapse
Just uploaded changed attachment. Fixed minor typos in Installation Instructions. Sorry I didn't get it straight before you pushed to github.
I deleted the info for Windows in previous attachments as well due to this being for the Linux version. Didn't know if you caught that.
PS: Thought I would let you decide if you liked my hair brained ideas first.
Is there any way to have a .jar file work without having to rename to .apk, or is that a mind bogling code rewrite. I'm all for learning.
Hey, I made some changes to the script to act more like the windows version of this tool. I added a setup.sh which will create all the folders and set permissions to everything. i also the ability to have multiple projects going at the same time, and also added a separate jar/dex folder so there is no need to rename the jar files to .apk to edit it. and other updates as well. its not 100% up to par with the windows one, but these few changes make a huge difference. Would you be interested in this?
---------- Post added at 11:38 AM ---------- Previous post was at 11:36 AM ----------
AndyOpie150 said:
Just uploaded changed attachment. Fixed minor typos in Installation Instructions. Sorry I didn't get it straight before you pushed to github.
I deleted the info for Windows in previous attachments as well due to this being for the Linux version. Didn't know if you caught that.
PS: Thought I would let you decide if you liked my hair brained ideas first.
Is there any way to have a .jar file work without having to rename to .apk, or is that a mind bogling code rewrite. I'm all for learning.
Click to expand...
Click to collapse
actually yes there is..i made an updated version of the script which has those features
clmowers said:
Hey, I made some changes to the script to act more like the windows version of this tool. I added a setup.sh which will create all the folders and set permissions to everything. i also the ability to have multiple projects going at the same time, and also added a separate jar/dex folder so there is no need to rename the jar files to .apk to edit it. and other updates as well. its not 100% up to par with the windows one, but these few changes make a huge difference. Would you be interested in this?
---------- Post added at 11:38 AM ---------- Previous post was at 11:36 AM ----------
actually yes there is..i made an updated version of the script which has those features
Click to expand...
Click to collapse
Make a pull request on github and in will merge it
Sent from my Xoom using Tapatalk HD

[MOD] Add top number row to Swype

Hello guys,
Since I use a Samsung device, I'm used to the extra number row on top of the keyboard so I modded Swype to have that extra row. However since Swype is to be purchased and not distributed, I'll only tell here how to do it for your legally purchased copy. And this is a bit complicated and for advanced users and you need to be rooted. You also need Root Explorer. Here we go:
1- First buy/download Swype from Google Play.
2- Go to /mnt/asec/com.nuance.swype.dtc-1 folder, copy pkg.apk to your sdcard, rename it to com.nuance.swype.dtc-1.apk.(keep a backup of this file at all times)
3- Go to /mnt/asec/com.nuance.swype.dtc-1/lib folder copy the files (libnmsp_speex.so and libswypecore.so) to your sdcard.
4- Using apktool (I used version 1.52) decompile com.nuance.swype.dtc-1.apk.,
5- Go to decompiled folder\res\xml folder. kbd file pertaining to your language is to be edited, I edit kbd_qwerty.xml for English using Notepad++.
6- Check the attached kbd_qwerty.xml in portrait folder and notice the extra row section I added to the top. You can in fact add secondary characters to numbers or customize the keyboard completely, rearrange letters, add symbols etc.
7- Once done, save the file and go to decompiled folder\res\xml-land folder and edit the landscape for the layout, kbd_qwerty.xml file, notice the attached file in landscape folder.
8- Once done, save the file and go to decompiled folder\res\values folder and edit the dimens.xml file. Here I raise the height of the keyboard and height of the key to 270dip and 54dip respectively, check the top rows of the attached dimens.xml. Also increase the keyboard height for landscape (if you want) by changing the dimens.xml under res\values-land folder.
9- Once done, recompile the folder with apktool, go to decompiled folder\dist folder and copy the apk here to a different folder and rename it to temp.apk.zip
10- Open temp.apk.zip with 7z/winrar and copy the resources.arsc and kbd_qwerty.xml files from res\xml and res\xml-land folders to your PC(obviously keep the 2 files in seperate folders not to overwrite)
11- Then, rename the original apk from step 2 to com.nuance.swype.dtc-1.apk.zip , open with winrar and first delete resources.arsc file, then drag the resources.arsc file from step 10 to the archive, it will be added. Staying in winrar, go to res\xml folder and replace the file with kbd_qwerty.xml from step 10 (the portrait version). Do the same with res\xml-land folder and the landcape file.
12- Once finished rename the file back to com.nuance.swype.dtc-1.apk, don't sign it, don't delete META-INF folder, leave it as it is.
13- Now, on your phone, uninstall Swype. Reinstall it from the apk file on Step 2. Go to /data/app-lib/com.nuance.swype.dtc-1 folder and move the 2 files (libnmsp_speex.so and libswypecore.so) to system/lib folder. You have to mount the System R/W from Root Explorer on this step. Fix the permissions so these 2 files have the same permissions with other files there. If you can't find these files just use the ones from Step 3.
14- Once done, copy com.nuance.swype.dtc-1.apk from Step 12 to /system/app and fix the permissions so that it has the same permissions as other files there.
15- Then delete the com.nuance.swype.dtc-1.apk from /data/app/ folder. Restart your phone.
This should be it if you followed it exactly, tracing and Dragon voice dictation also works. While you're doing all this work (takes 10 minutes by the way), you might also consider changing how Swype looks (theming) and changing many other things like swype thickness, colors etc. Please note that this is for advanced and rooted users and please don't ask me to give you the modded apk, you have to do it on your legally bought version. You might consider doing backups just in case anything goes wrong. Have fun.
And a quick tip: if you swype from swype icon to symbol key(123), arrow keyboard opens up.
You can also add arrow keys by copying arrow keys from kbd_edit.xml, check the 2nd screenshot.
Please hit the thanks button if you think this is useful.
Nice how to. But may u should tell that the latest Android versions store purchased apps in data/app-asec as asec version, this need special procedure to get a apk from the asec format.
Can you please update this tutorial to 4.3 ? I couldn't find the files in the mentioned paths. . I'm on stock rooted 4.3 on gt9500
Sent from my GT-I9500 using XDA Premium 4 mobile app
lesalloum said:
Can you please update this tutorial to 4.3 ? I couldn't find the files in the mentioned paths. . I'm on stock rooted 4.3 on gt9500
Sent from my GT-I9500 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It works same for me on 4.3 stock rooted i9500, maybe you could do a file search to find the necessary folder. Here is another screenshot with the updated Swype(1.6.2.22328), where I made number buttons smaller like original Samsung Keyboard and hide the suggestions bar to save space.
ozkaya said:
Hello guys...
9- Once done, recompile the folder with apktool, go to decompiled folder\dist folder and copy the apk here to a different folder and rename it to temp.apk.zip
....
Click to expand...
Click to collapse
using the current play store version (1.6.3.22544), i decompiled com.nuance.swype.dtc-1.apk (/mnt/asec/com.nuance.swype.dtc-1/pkg.apk) using APKTool 1.52. i made no changes and attempted to recompile without success.
the first error displayed by apktool is:
"C:\Users\Phil\apktool\com.nuance.swype.dtc-1\res\values\arrays.xml:545: error: Found tag dimen-array where item is expected"
i do use APKTool successfully to mod other apps so i am familiar with the process.
QUESTION: what frameworks file are you using when making your mods? are you using a TW ROM frameworks? that's the only other variable i can think of...
EDIT: well, i just tried using TW framework too without success
PhilDX said:
using the current play store version (1.6.3.22544), i decompiled com.nuance.swype.dtc-1.apk (/mnt/asec/com.nuance.swype.dtc-1/pkg.apk) using APKTool 1.52. i made no changes and attempted to recompile without success.
the first error displayed by apktool is:
"C:\Users\Phil\apktool\com.nuance.swype.dtc-1\res\values\arrays.xml:545: error: Found tag dimen-array where item is expected"
i do use APKTool successfully to mod other apps so i am familiar with the process.
QUESTION: what frameworks file are you using when making your mods? are you using a TW ROM frameworks? that's the only other variable i can think of...
EXIT: well, i just tried using TW framework too without success
Click to expand...
Click to collapse
Latest version of Swype has incompatible tags with Apktool. What you do is go to all the lines that give error and change them to <string-array>. Then it compiles.
ozkaya said:
Latest version of Skype has incompatible tags with Apktool. What you do is go to all the lines that give error and change them to <string-array>. Then it compiles.
Click to expand...
Click to collapse
i'll give this a shot tomorrow, thanks a lot!
ozkaya said:
Latest version of Swype has incompatible tags with Apktool. What you do is go to all the lines that give error and change them to <string-array>. Then it compiles.
Click to expand...
Click to collapse
it works!!!
thanks man, appreciate the help and info!
I've been going nuts trying to edit swype for a week now and still can't seem to get it to work. All I want to do is change the suggested word color and maybe a few other minor color related things. I assumed just changing the color codes in /res/values/styles.xml that seemed to pertain to the holo theme would work but I can't ever get the app to install. Not even sure where to begin to ask for help on this one but if anyone has any advice I'd greatly appreciate it.
Ok I've tried this a hundred times following all the steps completely and it just wont work.
Once I go to install the final apk it always tries to install then sais App Not Installed.
TeknoGodz said:
Ok I've tried this a hundred times following all the steps completely and it just wont work.
Once I go to install the final apk it always tries to install then sais App Not Installed.
Click to expand...
Click to collapse
You don't install the final apk, in fact you can't since the certificate is no longer valid. You copy the final apk in place as in Step 14.
I would love this! I have used Swype for years but I would love a number row. To be honest I have no idea how to follow those instructions! I have a rooted phone - what can I do?
Am I right in concluding that you can't use TB to backup and restore the finished product and this will have to be done manually? I did this on my rooted Note 3 and I keep going back to my stock image because I don't want to have to keep doing the steps when I flash a new ROM or ROM update.
Would I maybe just have to do steps 12 onward every time?
mr.BeBoT said:
Am I right in concluding that you can't use TB to backup and restore the finished product and this will have to be done manually? I did this on my rooted Note 3 and I keep going back to my stock image because I don't want to have to keep doing the steps when I flash a new ROM or ROM update.
Would I maybe just have to do steps 12 onward every time?
Click to expand...
Click to collapse
When you install a new ROM, you install original Swype from apk file then you move the lib files to /system/lib, copy the modded apk to /system/app and delete original apk from /data/app folder. So it is 4 steps once you have the modded apk ready, should take no more than 5 minutes.
thumm138 said:
I've been going nuts trying to edit swype for a week now and still can't seem to get it to work. All I want to do is change the suggested word color and maybe a few other minor color related things. I assumed just changing the color codes in /res/values/styles.xml that seemed to pertain to the holo theme would work but I can't ever get the app to install. Not even sure where to begin to ask for help on this one but if anyone has any advice I'd greatly appreciate it.
Click to expand...
Click to collapse
This is similar. Please go through the steps, you don't (can't) install the modded apk, you move it in place.
ozkaya said:
This is similar. Please go through the steps, you don't (can't) install the modded apk, you move it in place.
Click to expand...
Click to collapse
Yeah I realized that after I posted and still nothing. I'm no programmer but I've never NOT been able to change a few things and recompile. Not sure how just changing a few color codes is causing such a problem. Shame such a nice keyboard has such little customization and few themes. Don't get me wrong I like orange but it really doesn't mesh at all with the rest of the UI. Thanks for the reply though.
ozkaya said:
This is similar. Please go through the steps, you don't (can't) install the modded apk, you move it in place.
Click to expand...
Click to collapse
I did all that and it changed the height of the keyboard, but didn't add any additional number row.
kdb_qwerty or whatever it's called is the default that comes up when you install it, right? Becuase I tried again and specifically made sure to use this one and it just wont give me the extra row, just the height.
TeknoGodz said:
I did all that and it changed the height of the keyboard, but didn't add any additional number row.
kdb_qwerty or whatever it's called is the default that comes up when you install it, right? Becuase I tried again and specifically made sure to use this one and it just wont give me the extra row, just the height.
Click to expand...
Click to collapse
It depends on your system language. Try kbd_qwerty_panlatin.xml.
ozkaya said:
Latest version of Swype has incompatible tags with Apktool. What you do is go to all the lines that give error and change them to <string-array>. Then it compiles.
Click to expand...
Click to collapse
Thank you for this change, this is exactly what I was looking for to compile.
Once again my Swype is blue!!! :victory:
here's my creation, what do you guys think?
the theme is "Lucid" from the pay store: https://play.google.com/store/apps/...lucid&pcampaignid=APPU_8szYUoedK9PNsAThnoDQDQ

[Guide] How to enable multi-user?

hello friends, I have a nice question for you!
I state that this is google translation so it will be the best.
anyway back to us ....
you own a nice tablet?
and maybe you are engaged or married and you have photos of your woman on the device in question, and maybe you do not want others to see,
or simply your friends are never their own business, and then maybe you want to make private your tablet, maybe with a secondary account, but do not know how to do it because the tablet does not support multi-user ...
well do not give up, this guide will do for you ...
I do not take any responsibility for what might happen to your device
these are the requirements:
-root
-this app : https://www.dropbox.com/s/wmc4vg8n1lyv1o1/4_2_multiple_user_enabler_root_1.2.apk
-a file manager with root permissions as root browser or other
-user app share (which allows you to decide the content to display to other accounts) is on play store or in this link https://www.dropbox.com/s/nh3vaqetj9fogzs/MultiUserAppShare.apk
well, now first download the app before "4.2 multi user enabler"
copy it to the sd of your dear and beloved tablet.
after this app copied to the folder system of your tablet, change permissions (I usually do I enable them all)
after that install the app . from the app enable the multi-user, reboot your tablet and you're done!
multi user share app you need to decide what to use the other account
Now you might ask: why not just install the app?
Try it! it will seem to work but when you restart the account will vanish,
Intead with this guide it will be ever
if you have been useful on press thanks
By friends!
Simix93 said:
hello friends, I have a nice question for you!
I state that this is google translation so it will be the best.
anyway back to us ....
you own a nice tablet?
and maybe you are engaged or married and you have photos of your woman on the device in question, and maybe you do not want others to see,
or simply your friends are never their own business, and then maybe you want to make private your tablet, maybe with a secondary account, but do not know how to do it because the tablet does not support multi-user ...
well do not give up, this guide will do for you ...
I do not take any responsibility for what might happen to your device
these are the requirements:
-root
-this app : https://www.dropbox.com/s/wmc4vg8n1lyv1o1/4_2_multiple_user_enabler_root_1.2.apk
-a file manager with root permissions as root browser or other
-user app share (which allows you to decide the content to display to other accounts) is on play store or in this link https://www.dropbox.com/s/nh3vaqetj9fogzs/MultiUserAppShare.apk
well, now first download the app before "4.2 multi user enabler"
copy it to the sd of your dear and beloved tablet.
after this app copied to the folder system of your tablet, change permissions (I usually do I enable them all)
after that install the app . from the app enable the multi-user, reboot your tablet and you're done!
multi user share app you need to decide what to use the other account
Now you might ask: why not just install the app?
Try it! it will seem to work but when you restart the account will vanish,
Intead with this guide it will be ever
if you have been useful on press thanks
By friends!
Click to expand...
Click to collapse
The easiest way to enable multiuser support especially for our Galaxy Tab 3.0 is to edit the framework-res.apk with apktool and change the max user in there. The best thing with this way, your account will not vanish when you restart the device.. :laugh::laugh:
faruqmunshif said:
The easiest way to enable multiuser support especially for our Galaxy Tab 3.0 is to edit the framework-res.apk with apktool and change the max user in there. The best thing with this way, your account will not vanish when you restart the device.. :laugh::laugh:
Click to expand...
Click to collapse
ah I did not know .. you tell me how to do? maybe put to me now if there is. Anyway .. this is useful for anyone who is not practical to make changes to the framework
@Simix93
Here is the alternative, modifying framework-res.apk.
What I've done on my Galaxy Tab 3 10.1 (GT-P5210) :
- Modifying framework-res\res\values\integers.xml (locate the entry, and put X, where X <= 8 instead of 1, X = the number of allowed max users) :
Code:
<integer name="config_multiuserMaximumUsers">8</integer>
- Modifying framework-res\res\layout-port\keyguard_host_view.xml (to show user selector on lockscreen) :
>> Adding this after the second </FrameLayout>
Code:
<FrameLayout androidprv:paddingTop="@dimen/status_bar_height" androidprv:layout_width="fill_parent" androidprv:layout_height="wrap_content">
<include androidprv:layout_gravity="top|center" androidprv:layout_width="fill_parent" androidprv:layout_height="fill_parent" layout="@layout/keyguard_multi_user_selector" />
</FrameLayout>
- Adding framework-res\res\layout-port\keyguard_multi_user_selector.xml file
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.internal.policy.impl.keyguard.KeyguardMultiUserSelectorView android:layout_gravity="bottom" android:orientation="horizontal" android:id="@id/keyguard_user_selector" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:contentDescription="@string/keyguard_accessibility_user_selector" android:layout_childType="userSwitcher"
xmlns:androidprv="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.internal.policy.impl.keyguard.KeyguardLinearLayout android:layout_gravity="bottom|center" android:orientation="horizontal" android:id="@id/keyguard_users_grid" android:layout_width="wrap_content" android:layout_height="@dimen/keyguard_avatar_size" android:layout_marginBottom="400.0dip" />
</com.android.internal.policy.impl.keyguard.KeyguardMultiUserSelectorView>
- After that, copied from the original framework-res.apk AndroidManifest.xml file and META-INF directory to your newly compiled one (using a zip file utility) so I can bypass the sign process (like you should do with auto sign tool - signapk.jar)
And voilà, after putting back my modified framework-res.apk to the device and rebooting, i'm able to add new users in settings
Regards
i have tried to modify my framework-res.apk, but it's not succesful.
I installed framework-res with this command:
java -jar apktool.jar if Framework-Res.apk
This installed a file named 1.apk in my users-directory.
After that i extract the framework-res.apk with this command:
java -jar apktool.jar d Framework-Res.apk
Everythings seems to be fine, a directory with the name Framework-Res is created.
I modified the 3 files "integers.xml", "keyguard_host_view.xml" and "keyguard_multi_user_selector.xml" as described.
Now i pack it together with this command:
java -jar apktool.jar b Framework-Res
Get 2 errors with PNG-Files "File is case-insensitive" and correct the filenames (uppercase .PNG to lowercase .png).
After that i found in the folder "dist" the framework-res.apk.
The filesize is less about 12mb then before, it's now round about 36mb.
I put this file in my /system/framework folder and reboot. But the system is still displaying the Samsung-Logo.
Replaceing the file with the original file and everything is ok.
What do i wrong?
with best regards,
Detlef
ok, now it works.
i have forgot to add the sign-process to the new .apk file.
now my tab 3 8.0 have the multi-user function, thank you!
Spatz said:
i have tried to modify my framework-res.apk, but it's not succesful.
I installed framework-res with this command:
java -jar apktool.jar if Framework-Res.apk
This installed a file named 1.apk in my users-directory.
After that i extract the framework-res.apk with this command:
java -jar apktool.jar d Framework-Res.apk
Everythings seems to be fine, a directory with the name Framework-Res is created.
I modified the 3 files "integers.xml", "keyguard_host_view.xml" and "keyguard_multi_user_selector.xml" as described.
Now i pack it together with this command:
java -jar apktool.jar b Framework-Res
Get 2 errors with PNG-Files "File is case-insensitive" and correct the filenames (uppercase .PNG to lowercase .png).
After that i found in the folder "dist" the framework-res.apk.
The filesize is less about 12mb then before, it's now round about 36mb.
I put this file in my /system/framework folder and reboot. But the system is still displaying the Samsung-Logo.
Replaceing the file with the original file and everything is ok.
What do i wrong?
with best regards,
Detlef
Click to expand...
Click to collapse
Before recompile your framework-res.apk, you should find the png files with uppercase (.PNG) from your decompiled framework-res.apk/res/ and rename them to lowercase (.png).
when finished, flash it using CWM or other recovery.
Does anyone have working framework-res.apk for T310 ? I've updated mine, but I do not see anything new. When I flash zip fro T311 from a different thread, I have this options, but some labels in the system are missing and messed up.
slobodan.bogdanovic said:
Does anyone have working framework-res.apk for T310 ? I've updated mine, but I do not see anything new. When I flash zip fro T311 from a different thread, I have this options, but some labels in the system are missing and messed up.
Click to expand...
Click to collapse
Just follow the guide in this thread to make your framework-res.apk working with multiuser. or if you have no time, just give me your framework-res.apk and i will try to decompile it for you,
Spatz said:
ok, now it works.
i have forgot to add the sign-process to the new .apk file.
now my tab 3 8.0 have the multi-user function, thank you!
Click to expand...
Click to collapse
You can also copy from your original framework-res.apk AndroidManifest.xml file and META-INF directory to your newly compiled one so you can bypass the sign process
I have an issue when having multiple users enabled.
When I am logged in as the owner (first user) I am able to connect device via usb and transfer files.
When I am logged in as the second user, and when I try to connect device vis usb, it is not recognized. MTP Driver installation fails in this case.
Anyone has the same issue?
Simix93 said:
hello friends, I have a nice question for you!
I state that this is google translation so it will be the best.
anyway back to us ....
you own a nice tablet?
and maybe you are engaged or married and you have photos of your woman on the device in question, and maybe you do not want others to see,
or simply your friends are never their own business, and then maybe you want to make private your tablet, maybe with a secondary account, but do not know how to do it because the tablet does not support multi-user ...
well do not give up, this guide will do for you ...
I do not take any responsibility for what might happen to your device
these are the requirements:
-root
-this app : https://www.dropbox.com/s/wmc4vg8n1lyv1o1/4_2_multiple_user_enabler_root_1.2.apk
-a file manager with root permissions as root browser or other
-user app share (which allows you to decide the content to display to other accounts) is on play store or in this link https://www.dropbox.com/s/nh3vaqetj9fogzs/MultiUserAppShare.apk
well, now first download the app before "4.2 multi user enabler"
copy it to the sd of your dear and beloved tablet.
after this app copied to the folder system of your tablet, change permissions (I usually do I enable them all)
after that install the app . from the app enable the multi-user, reboot your tablet and you're done!
multi user share app you need to decide what to use the other account
Now you might ask: why not just install the app?
Try it! it will seem to work but when you restart the account will vanish,
Intead with this guide it will be ever
if you have been useful on press thanks
By friends!
Click to expand...
Click to collapse
Working on Tab3 7" ?
Leehtaeyeon said:
Working on Tab3 7" ?
Click to expand...
Click to collapse
I do not know, I have not tried it, so you head to the end you just have to move an app
Leehtaeyeon said:
Working on Tab3 7" ?[/QUOT
Multiuser only supported by Android 4.2.2 or higher. As i know, the android version in Tab 3 7" is 4.1.2. If you want to use multiuser, wait until tab 3 7" recieved update for 4.2.2..
Click to expand...
Click to collapse
faruqmunshif said:
Leehtaeyeon said:
Working on Tab3 7" ?
Click to expand...
Click to collapse
Multiuser only supported by Android 4.2.2 or higher. As i know, the android version in Tab 3 7" is 4.1.2. If you want to use multiuser, wait until tab 3 7" recieved update for 4.2.2..
Click to expand...
Click to collapse
Don' work =/
I do not believe he will get more 4.2.2.
I think like other devices, it will jump to 4.4
Spatz said:
ok, now it works.
i have forgot to add the sign-process to the new .apk file.
now my tab 3 8.0 have the multi-user function, thank you!
Click to expand...
Click to collapse
Spatz-is there any chance you could post detailed instructions? Or can you post your framework res.apk file?
Sent from my SM-T310 using xda app-developers app
@chaz
I used your procedure to modify the framework-res.apk file and it doesn't work on my Galaxy Tab 3 10.1 (GT-P5210). It keeps boot-looping. I managed to put back the original framework-res.apk and it's working, so I didn't killed it completely!
I do it this way:
1. Use apktool to decompile the apk file (apktool.jar).
2. Modify the xml files with Notepad++.
3. Use apktool to recompile the apk file.
4. Sign the file with autosign tool found on XDA (signapk.jar).
5. Put the framework-res.apk file back using ADB in recovery mode and set the right permissions on the file.
What tools have you used? Did you do it differently than me?
Thank you.
i am curious about this, but i'd like to know how multi user works. How do I "log" in to the tab and use my gmail, etc? And then how would my wife log in and user her email and etc? Are there profiles or something similar?
thanks
EDIT
never mind
http://www.dummies.com/how-to/content/how-to-add-another-user-to-your-android-tablet.html
Hi. I see this method does not work very well. I recommend the app SwitchMe. It's much easier and just requires root permission which everyone should have. I can't post links because I'm a newbie, so just search for it on the Play Store. :good:
alfreddallaire said:
@chaz
I used your procedure to modify the framework-res.apk file and it doesn't work on my Galaxy Tab 3 10.1 (GT-P5210). It keeps boot-looping. I managed to put back the original framework-res.apk and it's working, so I didn't killed it completely!
I do it this way:
1. Use apktool to decompile the apk file (apktool.jar).
2. Modify the xml files with Notepad++.
3. Use apktool to recompile the apk file.
4. Sign the file with autosign tool found on XDA (signapk.jar).
5. Put the framework-res.apk file back using ADB in recovery mode and set the right permissions on the file.
What tools have you used? Did you do it differently than me?
Thank you.
Click to expand...
Click to collapse
As I mentionned some posts before, I did not use the signapk.jar but instead copied signed informations from my original framework-res.apk to the new one.
See my post http://forum.xda-developers.com/showpost.php?p=48429541&postcount=10 there.
I updated my tuto post to include this in the process (http://forum.xda-developers.com/showpost.php?p=48315919&postcount=4)
Regards,
Chaz

Barebone Stock Galaxy Note 10.1

Hi guys, I'm giving up on CyanogenMod. It is slimmer but it has more problems on Galaxy Note 10.1. If you have answer concerning the SDCard problem, please reply to my topic there.
Anyway, still I want to trim all those bloatwares from my device, so I did couple of researches, combining articles and tutorials on trimming roms on other devices (Note 1, 2, 3 and some other devices like sony)
The result? So far it's pretty stable and functional. Phone, bluetooth, wifi, sms, video call, stylus pressure sensitivity etc, all working just fine.
I also had several games, emulators and some graphic apps installed and running without any problem. No crashes so far.
I'll report more if there's anything came up. But I'm pretty happy with it now.
Might work on other tab/note variants too. So here it is :
1. Root your stock, using any method you want (I'm using Odin + ClockworkMod + CF-Auto-Root)
2. Use root file explorer of your choice and delete everything (or you can add .old extension if you had doubts, or maybe everyone's favorite, using freeze in Titanium Backup) in system/app EXCEPT THESE :
Code:
mcRegistry
ApplicationsProvider.apk
ApplicationsProvider.odex
BackupRestoreConfirmation.apk
BackupRestoreConfirmation.odex
CertInstaller.apk
CertInstaller.odex
ClipboardSaveService.apk
ClipboardSaveService.odex
DefaultContainerService.apk
DefaultContainerService.odex
DrmProvider.apk
DrmProvider.odex
FFFFFFFF000000000000000000000001.drbin
GoogleLoginService.apk
GoogleServicesFramework.apk
LogsProvider.apk
LogsProvider.odex
MtpApplication.apk
MtpApplication.odex
OmaCP.apk
OmaCP.odex
PackageInstaller.apk
PackageInstaller.odex
PhoneErrService.apk
PhoneErrService.odex
Phonesky.apk
ResourceManager.apk
SecBluetooth.apk
SecBluetooth.odex
SecContacts.apk
SecContacts.odex
SecContactsProvider.apk
SecContactsProvider.odex
SecDownloadProvider.apk
SecDownloadProvider.odex
SecLauncher2.apk
SecLauncher2.odex
SecMediaProvider.apk
SecMediaProvider.odex
SecMms_Tablet.apk
SecMms_Tablet.odex
SecOmaDownloadProvider.apk
SecOmaDownloadProvider.odex
SecPhone.apk
SecPhone.odex
SecSettings.apk
SecSettings.odex
SecSettingsProvider.apk
SecSettingsProvider.odex
SecTelephonyProvider.apk
SecTelephonyProvider.odex
SecurityProvider.apk
SecurityProvider.odex
SecWallpaperChooser.apk
SecWallpaperChooser.odex
SignatureLock.apk
SignatureLock.odex
SPenGesturePad.apk
SPenGesturePad.odex
SurfSetProp.apk
SurfSetProp.odex
SystemUI.apk
SystemUI.odex
TabletJobManager.apk
TabletJobManager.odex
WAPPushManager.apk
WAPPushManager.odex
You can find editable Google Doc spreadsheet here
https://docs.google.com/spreadsheet...NTT0pSaThYWkdYc0pWRF92bkE&usp=drive_web#gid=6
updated with more infos and compared with SGS2 spreadsheet from this thread :
http://www.geekzone.co.nz/forums.asp?forumid=39&topicid=114574&page_no=6
Also, for SGS 3 from this thread
http://forum.xda-developers.com/galaxy-s3/themes-apps/applications-safe-to-remove-t1634624/page28
If you find any similar spreadsheet for other devices (Sony, HTC, or Motorola and probably even chinese handsets), or minimalist custom ROMs, please let me know, so I can do further comparison, and fetching more infos on the apks. Might just as well create a universal list for it. If I get my hands on new handsets, I'll probably do this too.
Note, from my list above, I deleted SamsungIME.apk (the default keyboard) so if you're doing factory reset you won't be able to type anything. I have myself a hardware keyboard to do the intial setups and such. But after that I used SwiftKey for my daily needs.
If you don't have any hardware keyboard at your disposal, leave it. You can delete it after you installed 3rd party keyboard.
I removed camera (SamsungCamera.apk) as well since I didn't use it much on my tablet. You can leave it if you want to, or use third party apps for it.
For the browser, I installed Chrome afterwards, since it have much more features compared to the stock/built in browser.
As for the multimedia player I use MXPlayerPro, fetched from Google Play as well
With this setup, from 345 apks/odexes I'm left with only about 78 apks/odexes. And it feels blazing fast.
that's 267 bloatwares/junks within your device, even if it's not coming from some service provider (OEM)
From 1 gb space used in factory settings to about 200 mb.
Click to expand...
Click to collapse
Couple more extra debloatings
Deleting Extra Junks (credit to : mimmolm (http://forum.xda-developers.com/showpost.php?p=44921616, modified for GT N80XX)
system\etc\kies\
Remove all
system\lib\
libChatOnAMSImageFilterLibs-1.0.2.so
libcrayonphysics.so
libfacelock_jni.so
libfacerecognition.so
libFaceRecognition_JNI.so
libgcomm_jni.so
libgoogle_recognizer_jni_l.so
libINDIAgent.so
libINDIServer.so
liblifevibes_mediashare_hw_jni.so
libmagnet.so
libNodeJS_Android.so
libpaperartist.so
libpatts_engine_jni_api.so
libpolarisofficedump.so
libpolarisoffice_tablet.so
libsnote_P4C.so
libvideochat_jni.so
libVideoHub.so
libWnnJpnDic.so
system\tts\lang_pico\ (remove all files except those where it appears the language that you use)
Example Italian language: Remove everything except it-IT_cm0_sg.bin , it-IT_ta.bin
system\tts\lang_SMT\ (remove all files except those where it appears the language that you use)
Example Italian language: Remove everything except:
smt_it_IT.lng ,
smt_it_IT_f01.am,
smt_it_IT_f01.cfg,
smt_it_IT_f01.dt,
smt_it_IT_f01.qs
system\usr\srec\en-US\
Remove all
system\wakeupdata\sensory\ (remove all files except those where it appears the language that you use)
Example Italian language: Remove everything except it_galaxy_tuned_endsil_cg.raw , nn_it_mfcc_16k_15_big_250_v3_2.raw
Click to expand...
Click to collapse
Bisabling mini app tray (which I never use and often accidentally hit the arrow icon) :
Deleting Mini Apps (credit to : miketoasty http://forum.xda-developers.com/showthread.php?t=1692173)
Basically it just involves deleting these :
Any apps in System/app that has "Mini" in its name (Including minimode-res.apk).
Next remove :
System/framework/minimode.jar
System/framework/minimode.odex
Click to expand...
Click to collapse
Multi Window Icon Removal :
That annoying little button that often covered up other important button below.
Basically it's from this thread
And using heavylildude 1x1 png to remove the included icon here :
http://forum.xda-developers.com/showthread.php?p=43684011
Step by step :
1. Download the JamMasterClay's custom MultiWindow Cascade Icon
2. Find tw_icon_cascade_no_ab_default.png and tw_icon_cascade_no_ab_pressed.png (it's in vrtheme\system\framework\framework-res.apk\res\drawable-mdpi folder within the zip)
3. Update the zip using; replace both files with heavylildude's 1x1 pngs, (tw_icon_cascade_no_ab_default.png and tw_icon_cascade_no_ab_pressed.png) using any zip editor you use (winrar or winzip, any will do).
4. Flash it using ClockWorkMod recovery.
5. ????
6. Profit!
OR
Just use the zip I made for this. It's built using the steps above.
Click to expand...
Click to collapse
PDF/Scribd links :
http://www.scribd.com/doc/208285135/Android-Barebone
http://www.scribd.com/doc/208153382/Debloating-Android
I'm not responsible if you bricked your device. Proceed carefully.
Cheers, enjoy and hope this help.
Thanks for the bloatware list, it's gonna be useful ^^
You're welcome. Be aware the list of the APK above is NOT listing the bloatwares.
Those are the ones you should LEAVE ALONE.
Additional guide :
Adding third party apps as default system app
As noted above, I've removed SamsungIME.apk, which is the default samsung keyboard (which I hated much, with passion) and replaced it with SwiftKey.
What you'll need :
ES File Explorer
Zip tool; could be Winzip or Winrar on PC, or I use ZArchiver for Android
Purchased apps are stored as .asec in /data/app-private. Using ES File Explorer app backup feature, you can save it as .apk and install it like common apps.
Step-by-step instruction :
After you backed up the purchased apps, uninstall the old (google play installed) one.
Open the newly created apk using zip or zarchiver, you'll find "lib" folder.
Copy the content of "lib" folder (usually with .so extension) to system/lib folder in your device.
Set the copied .so file permission to rw-r--r-- (chmod 644 if you use terminal)
Install the apk like usual using apk installer
find the new installed apk in data/app folder and copy it to system/app folder
set the copied .apk file within system/app folder permission to rw-r--r-- (chmod 644)
The app should become system app and will stay within your device even if a factory reset was done.
Tested on SwiftKey, Delver, ES File Explorer, etc. Doesn't work with MXPlayerPro (let me know if you had success with MXPlayerPro)
Click to expand...
Click to collapse
Compiled from this thread :
http://forum.xda-developers.com/showthread.php?t=2115947&page=3
And found from this page :
http://www.addictivetips.com/mobile/how-to-install-any-app-as-system-app-on-android/
Complete and Editable Google Doc file :
https://docs.google.com/spreadsheet...dEszRWNTT0pSaThYWkdYc0pWRF92bkE&usp=drive_web
Aftermath, background processes and battery consume list. Also attached RemoveMultiWindowIcon.zip (flash it using ClockWorkMod if you hate the multiwindow icon).
I installed dropbox and swiftkey, so if you did a factory reset, you'll only left with 2 active background processes at most (excluding SystemUI and Android core, of course)
Also, list of apk/odex updated, with SecTabletAlarmClock_P4NOTE.apk, ContextAwareService.apk, SecDownloadProviderUi.apk removed, along with their odexes. No problem so far.
SecDownloadProviderUi.apk didn't do anything significant. I rebooted after I removed it, downloading google play still working fine and still give me some progress bar on the download.
However, I've lost the "downloads" icon, which means I cannot clean up the logs, and may be cluttered over time.
Edit :
A full day running the super slim tablet :
Running CSR Racing, Delver, Autodesk Sketchbook Pro, TrueSculpt and Google Drive/QuickOffice and tons of other apps without any problem.
MTP detected flawlessly and can send files from my computer through USB without problem.
Wifi internet run without problem, browsing from tablet work marvelously and also mobile data working properly.
Battery obviously last MUCH longer.
Found out that CSC.apk (after first boot/factory reset) and Personalisation.apk (not sure what it does, maybe had something to do with ringtones and wallpapers) are safe to remove. Can anyone confirm this? I've did a full unroot on my device. Well those two are minor, now that you're left with about 40 apks from 170 default apks (78 and 340 if you count the odex files). I think deleting them won't do much now. But just curious, whether they are safe to delete or not.
Also google docs updated
Tested removing these :
BadgeProvider.apk - those badges on the app icon which displayed numbers of received messages/notifications. No crashes removing this.
CSC.apk - Can be removed after first boot. Not sure what it do.
Personalization.apk - said to be safe to remove, and so far it is. Not sure what it do.
NetworkLocation.apk - provide GPS location through Wifi, didn't use GPS on my tablet anyway
Keystring_DFT.apk - contains sets of USSD codes
Keystring_factory.apk - contains sets of USSD codes
Keystring_misc.apk - contains sets of USSD codes
No errors/crashes or anything. Updated first post.
Updated OP, now that I can post links, also added original threads.
Enjoy guys.
stubbe said:
Updated OP, now that I can post links, also added original threads.
Enjoy guys.
Click to expand...
Click to collapse
hi in your scribd document u gave the list of things that can be removed. so as u have explained the functions for those which shouldnt be removed.can u do the same for those to be removed. then it will help us to more customise(for example- i may need bluetooth,camera,gallery,music player,s note app) so can u specify which are those for the app i mentioned.:good::good::good::good:
eragon143 said:
hi in your scribd document u gave the list of things that can be removed. so as u have explained the functions for those which shouldnt be removed.can u do the same for those to be removed. then it will help us to more customise(for example- i may need bluetooth,camera,gallery,music player,s note app) so can u specify which are those for the app i mentioned.:good::good::good::good:
Click to expand...
Click to collapse
Will update the doc. Thanks for the suggestion. Probably I'll compile something like blackviper's sheet.

Categories

Resources