Related
Hi everybody,
I use the BCM CM9 2.2U2, and I want to mod the Mms.apk to override the SMS to MMS conversion after 4 texts.
Here is what I did:
- I used Apk-Multi Tool to decompile the Mms.apk.
- I modify /res/xml/mms_config.xml (to be precise, I replace the line "<int name="smsToMmsTextThreshold">4</int>" by "<int name="smsToMmsTextThreshold">100</int>")
- I recompile the apk, answering "y" to both questions and being careful with what Apk Multi Tool told me (basically, I deleted the files I needed to delete in the "keep" folder, ie. mms_config.xml and something.armsc-or-something-like that)
- I push the modded apk to my phone
But unfortunately, after I did that, I could not see the Mms.apk in the app drawer. I checked the permissions and the owner and they were correct (or at least, the same as the working Mms.apk).
I attached the original Mms.apk I'm trying to mod, and the actual modded Mms.apk (which does not work).?
Does somebody have an idea of what's gone wrong?
Thank you in advance!
FrancisFuku said:
Hi everybody,
I use the BCM CM9 2.2U2, and I want to mod the Mms.apk to override the SMS to MMS conversion after 4 texts.
Here is what I did:
- I used Apk-Multi Tool to decompile the Mms.apk.
- I modify /res/xml/mms_config.xml (to be precise, I replace the line "<int name="smsToMmsTextThreshold">4</int>" by "<int name="smsToMmsTextThreshold">100</int>")
- I recompile the apk, answering "y" to both questions and being careful with what Apk Multi Tool told me (basically, I deleted the files I needed to delete in the "keep" folder, ie. mms_config.xml and something.armsc-or-something-like that)
- I push the modded apk to my phone
But unfortunately, after I did that, I could not see the Mms.apk in the app drawer. I checked the permissions and the owner and they were correct (or at least, the same as the working Mms.apk).
I attached the original Mms.apk I'm trying to mod, and the actual modded Mms.apk (which does not work).?
Does somebody have an idea of what's gone wrong?
Thank you in advance!
Click to expand...
Click to collapse
I have the exact same problem! Did you find any solution?
I gave up but I've found a Mms.apk (from the latest CM9 source) which does include a option to not convert SMS into MMS (you have to change it in the settings of the app). But it is for the HTC One X, so I do not know if it works for other devices. I attach it so you can try.
Thank you
Sent from my HTC Desire CDMA using Tapatalk 2
The problem is that all apps must be signed to run on Android. Once you recompile your apk with apktool, you have to sign it with a release key (and optionally but recommended - run zipalign), before pushing it back to your phone.
The android developers guide has an excellent article on creating a set of release keys and using them to sign your apk (the apk just has to be signed with any key, it doesn't have to match the same key the original ROM authors used).
I tried RE-ODEX on Kyrillos 9.6, it does now work.Then I tried it with G3MOD OC kernel 2.5
Then reodexing started, probably done, BUT I get boot loop.Same problem I get When I am trying put CWM or 5 lockscreen to odexed stock JPU.
Any idea what exactly to do UNDER WINDOWS ONLY to have odexed JPU with 5/9 lockscreen mod + CWM with extended power menu ?
I have no problem do that upto JPS, but because of offline only GPS , I need JPU.
I do NOT wanna have deodexed /unstable/restarts during call/ slow/ data full etc ... Except CM7 I was faced one or all of those problems on ALL odexed ROMs
thanks for your tips
Radek
- Flash stock deodex JPU
- Flash any custom kernel (if G3mod or other that includes CWM, then skip the third step)
- Install Mumbozver's CWM through ADB (requires a kernel that has ADB root) (Fugumod kernel is highly recommended)
- Install 9 lockmod + EPM through update.zip (download one of my theme, it also includes all the .jars for icon bug fix)
- Save 30+ mb for the /system (remove all the samsung garbage)
- Reodex! It doesn't matter if you're using windows or not! Just download "reodex_win" (I'm using windows myself). Also skip the second step of that guide!
- Done!
If you're still getting error while re-odexing, then I think you can ask "TearsDontFall" for more detail.
Jason-EX said:
- Flash stock deodex JPU
- Flash any custom kernel (if G3mod or other that includes CWM, then skip the third step)
- Install Mumbozver's CWM through ADB (requires a kernel that has ADB root) (Fugumod kernel is highly recommended)
- Install 9 lockmod + EPM through update.zip (download one of my theme, it also includes all the .jars for icon bug fix)
- Save 30+ mb for the /system (remove all the samsung garbage)
- Reodex! It doesn't matter if you're using windows or not! Just download "reodex_win" (I'm using windows myself). Also skip the second step of that guide!
- Done!
If you're still getting error while re-odexing, then I think you can ask "TearsDontFall" for more detail.
Click to expand...
Click to collapse
I did it exactly on Kyrillos 9.6 and crashed on boot loop after phone restart.I had 30+ MB on system free.There were none error messages while reodexing.I got same result like I was applying mods directly to odexed JPU
I think I have to wait to be usable CM7, because no developers are using stock odexed JPU :cyclops:
radek.god said:
I did it exactly on Kyrillos 9.6 and crashed on boot loop after phone restart.I had 30+ MB on system free.There were none error messages while reodexing.I got same result like I was applying mods directly to odexed JPU
I think I have to wait to be usable CM7, because no developers are using stock odexed JPU :cyclops:
Click to expand...
Click to collapse
Wait, which one do you want? Kyrillos' rom 9.6 or stock XXJPU? 0.o and why don't u try it on JPS first? If you still have errors while reodexing, then it means that you did something wrong! oh and also, did you add the "META-INF" folder to the framework's .jars??
Jason-EX said:
Wait, which one do you want? Kyrillos' rom 9.6 or stock XXJPU? 0.o and why don't u try it on JPS first? If you still have errors while reodexing, then it means that you did something wrong! oh and also, did you add the "META-INF" folder to the framework's .jars??
Click to expand...
Click to collapse
I want stock odexed JPU primary because it is fast + stable.No necessary tweaks.
Kyrillos ROM is tweaked so much what makes this ROM useless and unstable because of so many contraproductive unwanted tweaks.I hate his A2SD crap script so I need LINK2SD what 100% works for me on every stock ROM or CM7 .I simply do not wanna use hybrid data2sd, because I dont beleieve it and I am affraid of repartition 32 GB sdcard.It will take many hours of backup ... Now I remeber I was not able run LINK2SD on kyrillos 9.6 ROM.But as I wanna have primary CWM+9 lockscreen mod+Extended power menu, I was thinking about reodex Kyrillos 9.6 as this ROM already included all I need and delete or revert his tweaks.So I just wanna have it easier.Main problem of kyrillos ROM 9.6 is low space for data because of deodex.I remember I installed angry birds and cant install anything else :laugh:
I do not wanna try it on JPS, I already did this succesfully on stock odexed JPF-JPS without any deodexing and reodexing.I do not wanna JPS because GPS still sucks at this ROM and I am already able install CWM+5lockscreen mod + Extended power menu, even ROM JPS is odexed.I have all files I need ( I have odexed 5 lockscreen mod version too), but for unknown reason it works upto JPS only.When applied to JPU, I get always boot loop or phone hangs at boot.Even same steps were applied, enough space on system or correct permission to app/framework folders.
Now I am not sure If I added "META-INF" folder to framework or not.If it was included at files provided by you, then I added.If it was included at original folder with frameworks dedicated upto JPS, then I added this directory ...
If folder with frameworks dedicated upto JPS does not had "META-INF"folder
then I did not applied it on JPU, but I dont think this is the case, because if it is needed for JPU, then it was included for JPS too
radek.god said:
I want stock odexed JPU primary because it is fast + stable.No necessary tweaks.
Kyrillos ROM is tweaked so much what makes this ROM useless and unstable because of so many contraproductive unwanted tweaks.I hate his A2SD crap script so I need LINK2SD what 100% works for me on every stock ROM or CM7 .I simply do not wanna use hybrid data2sd, because I dont beleieve it and I am affraid of repartition 32 GB sdcard.It will take many hours of backup ... Now I remeber I was not able run LINK2SD on kyrillos 9.6 ROM.But as I wanna have primary CWM+9 lockscreen mod+Extended power menu, I was thinking about reodex Kyrillos 9.6 as this ROM already included all I need and delete or revert his tweaks.So I just wanna have it easier.Main problem of kyrillos ROM 9.6 is low space for data because of deodex.I remember I installed angry birds and cant install anything else :laugh:
I do not wanna try it on JPS, I already did this succesfully on stock odexed JPF-JPS without any deodexing and reodexing.I do not wanna JPS because GPS still sucks at this ROM and I am already able install CWM+5lockscreen mod + Extended power menu, even ROM JPS is odexed.I have all files I need ( I have odexed 5 lockscreen mod version too), but for unknown reason it works upto JPS only.When applied to JPU, I get always boot loop or phone hangs at boot.Even same steps were applied, enough space on system or correct permission to app/framework folders.
Now I am not sure If I added "META-INF" folder to framework or not.If it was included at files provided by you, then I added.If it was included at original folder with frameworks dedicated upto JPS, then I added this directory ...
If folder with frameworks dedicated upto JPS does not had "META-INF"folder
then I did not applied it on JPU, but I dont think this is the case, because if it is needed for JPU, then it was included for JPS too
Click to expand...
Click to collapse
Then that's the problem. You can't reodex when the frameworks have no "META-INF" folder in it. And yea, I didn't include the "META-INF" folder in my theme, and even IF I did, you should always double-check
Retry everything all over again. This time, just reodex a STOCK DEODEXED JPU without any mods, and see whether it'll work or not! "TearsDontFall" already reodex Kyrillos' ROM (JPU) successfully (check his signature), so it's definitely not the problem with stock JPU. You might have just did something wrong!
@Mod: Please move this thread to Q/A section
Jason-EX said:
Then that's the problem. You can't reodex when the frameworks have no "META-INF" folder in it. And yea, I didn't include the "META-INF" folder in my theme, and even IF I did, you should always double-check
Retry everything all over again. This time, just reodex a STOCK DEODEXED JPU without any mods, and see whether it'll work or not! "TearsDontFall" already reodex Kyrillos' ROM (JPU) successfully (check his signature), so it's definitely not the problem with stock JPU. You might have just did something wrong!
@Mod: Please move this thread to Q/A section
Click to expand...
Click to collapse
Ok, now I am at home so I checked what I used :
Your files :
Settings.apk had cert.rsa + cert.sf + manifest.mf at META-INF folder
Android.policy.jar - only manifest.mf at META-INF folder
Framework.jar - only manifest.mf at META-INF folder
Framework-res.apk - had cert.rsa + cert.sf + manifest.mf at META-INF folder
but Settings.apk and Framework-res.jar has different content file and size at META-INF folder
"my" 5 lockscreen mod had META-INF at framework-res.APK folder included too, with same size like yours had
So problem is somewhere else , but where ?
I will backup my phone and try re-odex deodexed jpu like You reccomended
I will again free 30 MBs at system folder + root + change permission at data/system to write and try it again from g3mod 2.5 CWM
I am sure it was the only way how to make re-odex command file ran.
Jason-EX said:
- Flash stock deodex JPU
- Flash any custom kernel (if G3mod or other that includes CWM, then skip the third step)
- Install Mumbozver's CWM through ADB (requires a kernel that has ADB root) (Fugumod kernel is highly recommended)
- Install 9 lockmod + EPM through update.zip (download one of my theme, it also includes all the .jars for icon bug fix)
- Save 30+ mb for the /system (remove all the samsung garbage)
- Reodex! It doesn't matter if you're using windows or not! Just download "reodex_win" (I'm using windows myself). Also skip the second step of that guide!
- Done!
If you're still getting error while re-odexing, then I think you can ask "TearsDontFall" for more detail.
Click to expand...
Click to collapse
OK, on G3MOD 2.5 your update does not work anymore - it wrotes :
Amend scripting was deprecated by Google in Android 1.5.It was necessary to remove it when upgrading to CWM 3.0 gingerbread based recovery.Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.Installation aborted
so I will try skip 9 lock screen mod what was the main mod I need
radek.god said:
OK, on G3MOD 2.5 your update does not work anymore - it wrotes :
Amend scripting was deprecated by Google in Android 1.5.It was necessary to remove it when upgrading to CWM 3.0 gingerbread based recovery.Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.Installation aborted
so I will try skip 9 lock screen mod what was the main mod I need
Click to expand...
Click to collapse
replace updater script & update binary file with the same files from some newer update.zip...e.g. kyrillos rom v10.4 hotfix
EDIT: LOL... or better...find aaruns 9 lm ics theme for cwm3+...i made it for newer recovery...to be installable on g3mod 2.5...
You should try it on G3mod Rebirth or Astrum kernel. And yea, you can use ICS theme by Aarun, BUT you'll need to add those .jar frameworks, because in ICS theme update.zip, it doesn't include those framework files. After that, everything will be just fine :good:
rkoby13 said:
replace updater script & update binary file with the same files from some newer update.zip...e.g. kyrillos rom v10.4 hotfix
EDIT: LOL... or better...find aaruns 9 lm ics theme for cwm3+...i made it for newer recovery...to be installable on g3mod 2.5...
Click to expand...
Click to collapse
Now I followed manual http://forum.xda-developers.com/showthread.php?t=1402233 like JASON-X recommended to me
0) at manual there could be info specially for windows user to be run as first or add to cmd line as first :
adb shell "mount -o remount,rw /dev/block/stl9 /system"
1) Yes, main problem was missing Meta-Inf at Kyrillos 9.6 JPU :
a) android.policy.jar b) framework.jar c) services.jar
2) I dont know if it was needed or not, but after I deleted few apps to be min 30 MB free on system partition, I rather changed thru RootExplorer attributes system/app+framework+lib to be :
Owner+Group+Others marked READ+WRITE+EXECUTE
3) most important are at 1) I had to use WINRAR to put Meta-Inf and select no compression.When I used FAR MANAGER instead of it, it re-odexed, booted,but after pin code entered phone did not show laucher and hanged.I did this thru CWM from G3mod kernel 2.5
So I try rather G3MOD kernel what comes with Kyrillos 9.6 non OC and DID NOT RAN REODEX from CWM, but I did it when my phone was booted normally and connected via android USB as normally.So no CWM ...
4) I ran "env".cmd , then I ran "odex".cmd as admin.
all works, system free space changed from cca 30 to 7 MB.Now I have ODEXED Kyrillos 9.6 JPU and it all looks like it is working.I deleted crappy scripts from etc/init.d and I am finally testing LINK2SD
I have 126 MB free at data ...
I hope it all will works after I will flash G3MOD KERNEL 2.5 OC ...
radek.god said:
Now I followed manual http://forum.xda-developers.com/showthread.php?t=1402233 like JASON-X recommended to me
0) at manual there could be info specially for windows user to be run as first or add to cmd line as first :
adb shell "mount -o remount,rw /dev/block/stl9 /system"
1) Yes, main problem was missing Meta-Inf at Kyrillos 9.6 JPU :
a) android.policy.jar b) framework.jar c) services.jar
2) I dont know if it was needed or not, but after I deleted few apps to be min 30 MB free on system partition, I rather changed thru RootExplorer attributes system/app+framework+lib to be :
Owner+Group+Others marked READ+WRITE+EXECUTE
3) most important are at 1) I had to use WINRAR to put Meta-Inf and select no compression.When I used FAR MANAGER instead of it, it re-odexed, booted,but after pin code entered phone did not show laucher and hanged.I did this thru CWM from G3mod kernel 2.5
So I try rather G3MOD kernel what comes with Kyrillos 9.6 non OC and DID NOT RAN REODEX from CWM, but I did it when my phone was booted normally and connected via android USB as normally.So no CWM ...
4) I ran "env".cmd , then I ran "odex".cmd as admin.
all works, system free space changed from cca 30 to 7 MB.Now I have ODEXED Kyrillos 9.6 JPU and it all looks like it is working.I deleted crappy scripts from etc/init.d and I am finally testing LINK2SD
I have 126 MB free at data ...
I hope it all will works after I will flash G3MOD KERNEL 2.5 OC ...
Click to expand...
Click to collapse
126 mb free at data? you got to be kidding me.....I got 183 mb after reodex re-check if it's really reodexed or not and also, META-INF folder is also one of the requirements for reodex.
Jason-EX said:
126 mb free at data? you got to be kidding me.....I got 183 mb after reodex re-check if it's really reodexed or not and also, META-INF folder is also one of the requirements for reodex.
Click to expand...
Click to collapse
I dont know if it is odexed or deodexed.How can I test it ?
I checked system/app folder and ALL app got odex file now , what is bad, because at samsung stock odexed jpu, only some of them had odex file too.
Another problem is Kyrillos had some weird Swype version and he deleted email.apk+email.odex too, where there are no czech language available for swype, even all 3 "CS" files are located at system/T9B
So I tried overwrite Kyrillos swype by newer from Samsung and even I overwrite odex file too, there are no more Swype keyboard anymore.Even after full reset.
Same "problem" like at any other app what has odex.
I used Rootexplorer because I dont any other step for CWM 5.x
Is there any step how to update odexed apps to be usable (keyboard for example) and available at apps (like FM RADIO or E-mail app) ?
radek.god said:
I dont know if it is odexed or deodexed.How can I test it ?
I checked system/app folder and ALL app got odex file now , what is bad, because at samsung stock odexed jpu, only some of them had odex file too.
Another problem is Kyrillos had some weird Swype version and he deleted email.apk+email.odex too, where there are no czech language available for swype, even all 3 "CS" files are located at system/T9B
So I tried overwrite Kyrillos swype by newer from Samsung and even I overwrite odex file too, there are no more Swype keyboard anymore.Even after full reset.
Same "problem" like at any other app what has odex.
I used Rootexplorer because I dont any other step for CWM 5.x
Is there any step how to update odexed apps to be usable (keyboard for example) and available at apps (like FM RADIO or E-mail app) ?
Click to expand...
Click to collapse
for swype: did you extract libSwypeCore.so from Swype.apk/lib/*....and put it in system/lib/*...permissions are: rw-r-r....and full Swype.apk goes to system/app...same permisions...?
radek.god said:
I dont know if it is odexed or deodexed.How can I test it ?
I checked system/app folder and ALL app got odex file now , what is bad, because at samsung stock odexed jpu, only some of them had odex file too.
Another problem is Kyrillos had some weird Swype version and he deleted email.apk+email.odex too, where there are no czech language available for swype, even all 3 "CS" files are located at system/T9B
So I tried overwrite Kyrillos swype by newer from Samsung and even I overwrite odex file too, there are no more Swype keyboard anymore.Even after full reset.
Same "problem" like at any other app what has odex.
I used Rootexplorer because I dont any other step for CWM 5.x
Is there any step how to update odexed apps to be usable (keyboard for example) and available at apps (like FM RADIO or E-mail app) ?
Click to expand...
Click to collapse
how about the framework folder? And is there any errors while reodexing? And also, always remember to finish adding/modding/replacing/updating all apps/frameworks before reodexing, and also remember to make a backup of the rom in the "deodexed" mode otherwise you'll have to redo all those steps again.
For Swype, just follow what rkoby said
rkoby13 said:
for swype: did you extract libSwypeCore.so from Swype.apk/lib/*....and put it in system/lib/*...permissions are: rw-r-r....and full Swype.apk goes to system/app...same permisions...?
Click to expand...
Click to collapse
Thanks.
Of course I did not
I copied swype.apk and swype.odex only
Now I am trying to mod deodexed JPU with 9 lockscreenmod ,
but I stucked on update.zip , because of CWM5.x
I tried use Kyrillos 10.5 Update.zip, but I was not sure what can be deleted from zip and what files have to stay to be JPU updatable with G3MOD kernel 2.5 :-o
many thanks anyway for swype, maybe i will try at deodexed Kyrillos 9.0 JPU
Update :
oh not, there were some ****in "formating system" at 10.5 update.zip, so I had to reflash again
does anyone have some update.zip for JPU to be flashable thru CWM 5.0.28
I used g3mod kernel 1.7, but I get boot loop after applied 9lock screnn mod.
I see background from android desktop, but immediatelly reboot and over and over again ...
radek.god said:
Thanks.
Of course I did not
I copied swype.apk and swype.odex only
Now I am trying to mod deodexed JPU with 9 lockscreenmod ,
but I stucked on update.zip , because of CWM5.x
I will try use Kyrillos 10.5 Update.zip, but I am not sure what can be deleted from zip and what files have to stay to be JPU updatable with G3MOD kernel 2.5 :-o
many thanks anyway for swype, maybe i will try at deodexed Kyrillos 9.0 JPU
Click to expand...
Click to collapse
well....i have an idea u might not know:.....for update.zips u can use brilliant tool called RomCooker....with this tool even a total noob is able to create an update.zip for himself(including me)....try searching it with google and add xda along in search terms....it's actually a work of xda member....but i don't have direct link to thread now...i'm pretty much busy with cleaning action at my home....
rkoby13 said:
well....i have an idea u might not know:.....for update.zips u can use brilliant tool called RomCooker....with this tool even a total noob is able to create an update.zip for himself(including me)....try searching it with google and add xda along in search terms....it's actually a work of xda member....but i don't have direct link to thread now...i'm pretty much busy with cleaning action at my home....
Click to expand...
Click to collapse
OK,
thanks to Jason-x for a lot of help and provide with links to 9 locscreen mod. :good:
But Your help with ROM COOOKER ???
This was definitelly best help/tip I ever get on XDA !!!
many many thanks !
Finally, I have JPU (deodexed for now :cyclops with 9 lockscreen mod !!!
You rocks !
radek.god said:
OK,
thanks to Jason-x for a lot of help and provide with links to 9 locscreen mod. :good:
But Your help with ROM COOOKER ???
This was definitelly best help/tip I ever get on XDA !!!
many many thanks !
Finally, I have JPU (deodexed for now :cyclops with 9 lockscreen mod !!!
You rocks !
Click to expand...
Click to collapse
well.......i'm glad i've helped you.....that's what should all RCs..do
Solved!
[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.
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.
(THIS IS NOT MY OWN WORK I COPY IT FROM A DELETED THREAD THAT IS NOT RELATED WITH XT1033,, I ONLY CHANGE THE DESCRIPTION OF BROWSER DOWNLOAD FILE TO CM12 AOSP..)
I INSTALL IT AND USE EVERY FEATURE VERY SMOOTHLY AND IF U ALSO WANT BROWSER SYNC BOOKMARK MOVE THIS THREAD http://forum.xda-developers.com/showthread.php?t=2624412. It worked well.......)Root Required to install
The following instructions must be followed:
1 Must rename folder /system/app/BrowserProviderProxy/ to /system/app/BrowserProviderProxy-bak/
2 Must rename file /system/app/BrowserProviderProxy.apk to /system/app/BrowserProviderProxy.bak
3 Create folder /system/app/Browser
4 Change Permissions to 0755 (should look like rwxr-xr-x)
5 Copy Browser.apk located in this archive to /system/app/Browser
6 Change Permissions to 0644 (should look like rw-r-r)
7 Reboot
8 Enjoy 5.0 Lollipop AOSP browser
DOWNLOAD:
AOSP BROWSER EXTRACT FROM CM12 ROM (PLEASE ANY ONE MEMBER UPLOAD THIS FILE BECAUSE I AM NOT USING HIGH SPEED DATA CONNECTION)
NOTE:
Its AOSPs browser, if anything doesnt work, it will not help by telling me. All i am doing is showing people how to get it installed. If you dont like the AOSP browser stick with what you like
If you like please click thanks?