Barebone Stock Galaxy Note 10.1 - Galaxy Note 10.1 General

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.

Related

[APP] Mms.apk Contact Box Fix for CodeROM

I patched a copy of the Mms.apk to remove the green bars behind the contact photo.
Tested with CodeROM NexusAce and CodeROMv2, should work CodeROMv1.
Note:
Skins feature is disabled.
Instructions:
1. Download the modified Mms.apk (Attached file)
2. Make a backup of your old Mms.apk in /system/app (Use Root Explorer).
3. Mount /system/app as R/W
3. Copy the modified Mms.apk to /system/app
4. Set the permissions to ---rwxr-x
5. Chane the file owner and group to 0 - root
6. Reboot
7. Hit the Thanks button if it worked
Update:
- Smaller file size.
Maybe i can help or give you an idea:
1. The Skin Option in menu is activated via the preferences.xml included in the MMS.apk file (you can copy from XXKPE, and try to install the MMS.apk, however whatever skin you select it does not change) which i think you need to do the next part.
2. The actual implementation of the skin is under the coding of classes.dex, which i dont know how to decompile.
thanks, it works
i will be waiting for the update for the skins
worked for me!
Thanks a lot!
vertcam9 said:
2. The actual implementation of the skin is under the coding of classes.dex, which i dont know how to decompile.
Click to expand...
Click to collapse
thanks for this, can't get past this one though...
I found out that there must have been a miss declaration of an image res file in the class.dex or in the Mms.apk's before compiling. Its calling progressbar_indeterminate4.png instead of quickcontact_badge_small_unpressed.9.png or quickcontact_badge_unpressed.9.png from the /system/framework/framework-res.apk file.
Updated the first post.
- Smaller file size.
- Still no support for skins [May not be updated to support this feature. Sorry]
help!!
after reboot message icon in now inside menu and gone in the launcher, however the green thing is gone.
now there are only 3 icons in launcher ( keypad, contacts, menu )
update:
thanks i got fixed it myself, btw it is working but no skins.
mikko3024 said:
Updated the first post.
- Smaller file size.
- Still no support for skins [May not be updated to support this feature. Sorry]
Click to expand...
Click to collapse
Mikko3024, how did you get by the problem? was it via the XML files?
vertcam9 said:
Mikko3024, how did you get by the problem? was it via the XML files?
Click to expand...
Click to collapse
The problem is in the classes.dex of the apk.
I copied a properly working classes.dex from another version of the Mms.apk and patched the res files to match the appearance of CodeROM's Mms.apk. But the new classes.dex either does not support the skin features or there is something in conflict.
As mentioned by vertcam9, preferences.xml activates the skin selection in the settings part of the app, but does not apply any changes whatever skin is selected. Proper classes.dex is necessary.

Kindle Fire Network location

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.

Help on default applications removal

I have at last a working 2.3.5 Android on my U8800 Pro. But, I want to clean up the bundled applications that I do not need. In order to do so, I want to find out which apks as well as what other changes I need to do in order to clean up those apps. I know that this is in the http://forum.xda-developers.com/showthread.php?t=1420728 thread, but I want more details for more applications.
What I want to know is:
I suppose that it is not just enough to remove the apk file from the /system/apps/<appname>.apk , is it? If not, what other actions must I perform?
Should I remove the relevant lines from the /system/filelist.lst file?
Where are the application's temporary/user data stored? In /data/data? Should I remove them too?
If I move the /system/app/<file>.apk to /data/app/<file>.apk, how can I stop the application from starting during boot-up in the first place?
Important note: I will not root the phone. Everything will be performed from the pink screen and the mounting of /dev/sd?{12,13} on my Linux box.
In my B521 setup the APKs that I need your help in order to understand what applications or services/widgets are represent, are:
OMACP.apk
ApkBatchInstall.apk
GenieWidget.apk
DeskClock.apk
DownloadProvider.apk
DownloadProviderUI.apk
HwOUC.apk
MagicSmokeWallpapers.apk
MyCalendar.apk
MyRichpad.apk
RichPad.apk
Service-MultiSNS.apk
SocialExt.apk
SmartcardService.apk
RichPad.apk
UpdaterSolutionEx.apk
What information I am looking for is something like this:
Gallery3D.apk: The image gallery application.
PicoTts.apk: Pico Text-to-Speech
Please for your help. After that list is completed, I will write a list of all applications (apks) that are bundled and how to remove them, I promise

[GAPPS][GUIDE][TOOL] PROJECT SLIM-8mb GApps & AUTO SLIM-FACTORY (free 134mb /system)

[GAPPS][GUIDE][TOOL] PROJECT SLIM-8mb GApps & AUTO SLIM-FACTORY (free 134mb /system)
Project Slim is closed, thanks.
Post #1 = slim gapps (8mb)
Post #2 = slim rom guide
What is Project Slim?
Many older devices (eg. HTC Desire) have limited NAND storage. This leaves very little space for user apps. This project is intended for such phones and aims to overcome that limitation by freeing as much space from the /system partition as possible - allowing for hboot partitions to be flashed with less space allocated to /system and more to /data. This allows for more apps to be installed with app-to-sd scripts - or even negates the need for such scripts in some cases.
How does it work?
Simply flash the 8mb gapps provided below instead of your normal gapps after a ROM install
If more space is required, see post #2. This guide will walk you though how to easily reduce the size of your ROM on your Windows PC manually before moving to sdcard for flashing. An automated script that does all the work for you can also be found in post #2.
Will it work for my ROM?
The Gapps have been tested on HTC Desire, Galaxy S2, Nexus One - They should work for all devices.
Regarding ROM slimming, the principles the guide is based on remain the same no matter the device, but i can't guarantee the automated script will work on all roms.
I Need more Google apps!
This is the slimmest gapps you'll find. Download Calendar, Hangouts, Maps, etc. from play store.
Requirements?
All files necessary are provided.
Windows PC - if ROM slimming
SLIM GAPPS:
APKs: Basically just the play store, and the necessities. Note, i've removed 'Google Now' coz u can download that from play store, and "Google Ears" coz that's useless. Also, useless libs for face unlock, google ears, etc removed... Play store also updated to latest version.
Full List:
ChromeBookmarksSyncAdapter
GoogleBackupTransport
GoogleCalendarSyncAdapter
GoogleContactsSyncAdapter
GoogleLoginService
GoogleServicesFramework
NetworkLocation
Phonesky
SetupWizard
Zip size is 8.3mb. Takes up approx. 10mb in system. Normal (trimmed) gapps is 63mb. So that's an extra 53mb free!
LINKS:
_____________________________________________________________________________
GAPPS FOLDER:
http://d-h.st/users/Nbsss/?fld_id=27638#files
______________________________________________________________________________
TOGETHER WITH SLIM-GUIDE BELOW AND SLIM-FACTORY UPTO 134MB CAN BE FREED!!
GET HTC DESIRE (BRAVO) HBOOTS HERE - thanks jmcclue !
(Old 4.2.X Versions)
Version2 - Normal Gapps 26mb
Version 3 - Black Play Store 26mb
Version 4 - Transparent Play Store 26mb
Version 5 - Normal Gapps 11.6mb version, play store (v4.0.27)
Version 7 - Black Gapps 12mb version, play store (v4.0.27)
Version 8 - Normal Gapps 11mb version & updated play store (v4.1.10),
Old Flashable Android 4.1.x Gapps
Version 1 - Normal Gapps 8mb version,
Old Flashable Android 4.2.x Gapps
Version 9 - Normal Gapps 8mb version & updated play store (v4.1.10),
Old Flashable Android 4.3.x Gapps
Version 1 - Normal Gapps 13mb & play store (v4.3.11),
[GUIDE] Nbsss SLIMMING ROMS GUIDE
Best viewed on web browser.
FOR AUTOMATED SCRIPT SEE BOTTOM OF POST
A) Download and extract ROM zip
B) Removing audio files (about 5.2mb freed)
Navigate on extracted ROM to /system/media/audio
Delete all audio from "alarms" folder (except one that you wish to keep)
Delete all audio from "notifications" folder (except one that you wish to keep)
Delete all audio from "ringtones" folder (except one that you wish to keep)
Delete from "ui" folder: "camera_click", "camera_focus", "VideoRecord", "VideoStop"
(You can set default tones by editing last couple of lines in the build prop or set manually once booted - Thanks "FordNate")
C) Removing boot animation (optional) (about 6mb freed)
Navigate to /system/media
Delete bootanimation.zip
D) System apps cleaning (about 45 mb freed)
Navigate to /system/app
Delete "Calendar.apk" (1.3mb freed)
Delete "LatinIME.apk"
Paste "LatinIME.apk" file attached below
Navigate to /system/lib
Paste "libjni_latinimegoogle.so" (17.5mb freed)
Navigate again to /system/app
Delete "Launcher2.apk" or "Trebuchet.apk" (depending on what you have)
Paste "NovaLauncher.apk" (free version) (10mb freed)
E) Remove unneeded text-to-speech engine (6.1mb freed)
Navigate to /system/tts/lang_pico
Delete all
F) Remove unneeded fonts (10mb freed)
Navigate to /system/fonts
Delete unneeded fonts "MTLmr3m.tff" (Japanese) & "NanumGothic.tff" (Korean) & "DroidSansFallback.tff" (backup)
G) Delete offline google now: (1.83mb freed)
Navigate to "/system/usr/srec/"
Delete "config"
H) FREE ANOTHER 35mb (fits CM7r2 Hboot):
Under /system/app
Delete VideoEditor.apk (4.7mb)
Delete "Exchange2.apk" & "Email2.apk" (4.1mb) - use GMail instead
Delete "LiveWallpapers.apk" & "LiveWallpapersPicker.apk" (2mb)
Delete all livewallpapers under "/system/app/": (1.52mb)
galaxy4.apk
MagicSmokeWallpapers.apk
VisualizationWallpapers.apk
HoloSpiralWallpaper.apk
phasebeam.apk
NoiseField.apk
PhotoTable.apk
EVstuff under "/system/app/" 1.3mb) - for evervolv roms
EVToolbox.apk
evwidgets.apk
EVTips.apk
Junk under "/system/app/" (.3mb):
vociedialer.apk
speechrecorder.apk
stk.apk
soundrecorder.apk
Other under "/system/app/"
browser.apk (2.85mb)
QuickSearchBox.apk (1mb)
Move(12mb)
"Gallery2.apk" (Camera & Gallery) & "LatinIME.apk" (keyboard) from /system/app and place in /data/app (you could use adb for this eg. = "adb install Galley2.apk"
NOTE: IN KITKAT 4.4, SOME APPS THAT ARE LISTED ABOVE WILL BE UNDER THE DIRECTORY /system/priv-app/ , OTHERWISE THE PROCESS IS THE SAME
Total Freed: 82mb
Last Step: Repacking before flashing
1) Check file size before zipping
2) Re-zip with 7zip, view the zip to make sure its all ok (ie you don't have something like /CM10.1.zip/CM10.1/)
3) Sign your updated re-zipped ROM with sign-em application. Place ROM in "input", run exe, signed ROM found in "output"
[TIPS]
If you get stuck, always good to have a saved PC copy of the apks saved on your phone beforehand.
Use: "adb pull /data/app C:\Users\<wherever-you-want>" (without quotes)
That way if you have no file explorer, you can use like "adb install <filemanagername>.apk" (must place in adb folder of course)
Its also faster to restore your phone, just use: "adb push C:\Users\<wherever-you-want> /data/app"
Then restore app-data ONLY from TitaniumBackup -much faster and less issues
[MODS - FOR HTC DESIRE (BRAVO)]:
-Wifi tethering with password fix - Extract files "hostapd" and "hostapd_cli", copy extracted files, mount system R/W, paste in /system/bin replacing the original files, set permissions (rwxr-xr-x), reboot
-Keyboard BL disable: Extract 65DisableKeyBacklight file, place into system/etc/init.d folder, set permissions same as other files in this folder (---rwxr-x), reboot
--a2sd: open terminal, type "su", type "a2sd install", respond with yny and it'll reboot automatically
Credits/thanks:
-SlimRom for the lightweight keyboard
-ryuinferno for his zip signer
-Nova launcher
-jmcclue for DisableKeyBacklight script
-thanks tom0769 for part E!
-HUGE thanks to Androidmarketuser for the script!
(Remeber to hit thanks here and thank Androidmarketuser )
FOR AUTOMATING THE PROCESS - DOWNLOAD SLIM-FACTORY SCRIPT!!
ENJOY !
Could come in handy..
Greetz
TimHermans said:
Could come in handy..
Greetz
Click to expand...
Click to collapse
have u tried latest nightly? unbelievable smooth...
So latest nightly + slim gapps fit in 210 /system hboot?
Nbsss said:
have u tried latest nightly? unbelievable smooth...
Click to expand...
Click to collapse
Nope but after your comment, I will do so tonight..
Greetz
paolo-red1 said:
So latest nightly + slim gapps fit in 210 /system hboot?
Click to expand...
Click to collapse
You'd need to slim the rom first. I've currenty 14mb free space, so it could probably even fit in a 200mb system hboot. See post 2 soon.
Just been using latest nightly and must say you are right.. Buttery.. Except for camera, that's slower with other/fewer glitches.. Overall nice..
Greetz
TimHermans said:
Just been using latest nightly and must say you are right.. Buttery.. Except for camera, that's slower with other/fewer glitches.. Overall nice..
Greetz
Click to expand...
Click to collapse
Play some games, it has glitches.
Sent from my HTC Desire using xda premium
vijendrahs said:
Play some games, it has glitches.
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
True..!! didn't notice it cause I haven't got time to play games..
Greetz
TimHermans said:
True..!! didn't notice it cause I haven't got time to play games..
Greetz
Click to expand...
Click to collapse
Lol same, and games are for nexus 7 so well worth it
Nice! 16 mb. And to think that the original gapps are 95mb in size. What a waste.
So what's up with the latest Nightly...? Does it support DSP Manager being used for better sound quality??? Ya know, CM ROMs run DSP like a boss. Evervolv ROMs don't....... They are smooth and all, but no DSP Manager means that I'm not installing them.........
Just bought a galaxy s2 for my mum.
she'll have a better phone than me but I'm more excited to see where devs take this classic phone
So.. i assume 14 downloads and no complaints means v2 works fine ?
Anyone tried it?
Nbsss said:
Just bought a galaxy nexus for my mum.
she'll have a better phone than me but I'm more excited to see where devs take this classic phone
So.. i assume 14 downloads and no complaints means v2 works fine ?
Anyone tried it?
Click to expand...
Click to collapse
Post 2 updated. I'm tired, will finish last part tomorrow :yawn:
So.. i assume 14 downloads and no complaints means v2 works fine ?
Anyone tried it?
Click to expand...
Click to collapse
vijendras and TimHermans say that there are glitches when playing games...
Androidmarketuser said:
vijendras and TimHermans say that there are glitches when playing games...
Click to expand...
Click to collapse
That had got nothing to do with this slim gapps.
Sent from my HTC Desire
Androidmarketuser said:
vijendras and TimHermans say that there are glitches when playing games...
Click to expand...
Click to collapse
dvsk69 said:
That had got nothing to do with this slim gapps.
Sent from my HTC Desire
Click to expand...
Click to collapse
Gapps caused the glitches? I can't stop laughing
Nbsss said:
Gapps caused the glitches? I can't stop laughing
Click to expand...
Click to collapse
We all know better then that..
V2 gapps work like a charm with latest evervolv nightly, just tried it.

[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

Categories

Resources