[Galaxy Note GT-N7000 Android Development] chipwizz:
Important: You may post in this thread only if you understand and agree to following rules...

1. Be polite while posting.. you may be "Recognized" big shot but that doesn't entitle you to post your creepy opinion anywhere and everywhere.

2. ChippyNote was started for personal use hence will have features which i desired. I decided to share my work so that like minded people can benefit from it.

3. Screenshots are shared to give a glimpse of look and feel of ROM, If looks are not as per your liking, please move on. There are 1000 other roms out there from where you can choose what you like.

4. Developers are not here for money. Please consider their tremendous efforts and numerous hours spent before asking something new.

5. I will greatly appreciate polite suggestions and will try to include them if i find them in line with ChippyNote purpose statement.

6. I don not know anything and everything about android. I collected just few droplets from this forum. So do not expect every issue to have quick resolution and every question a perfect answer. And one more thing, No.. i do not work for google or samsung.

7. For credits, If i missed any one, send me a PM. I like to give credit where it is due.

8. Thanks buttons are there to be used. Do not quote long posts, No spamming with offtopic discussions. No criticism to other developers in this thread, take it somewhere else.

9. Last but not the least, You should ask if you have questions, but before that you must search, search and search.

Purpose: Share ChippyNote ROM which is custom ROM for my personal use and explain process to transform a stock TW rom to one which can be characterized as slim, light, stripped, barebone, naked or whatever you may like to call after removing all those useless programs and features which are commonly called as bloats.

Hi, Few members approached me to understand the stripping/slimming process of a stock TW rom. For the benefit others I am sharing here what i was able to understand. For experts there is nothing much but you can always suggest improvements.

Due to other priorities, I am not able to check thread during weekdays but only on weekends.

Credits:

* majdinj

* Phil3759

* xperiacle

* DF1E for Simple Explorer

* XDA-developers

* CM community

* SGN N7000 community

* and of course you, if not covered above :)

Current Version

Download: ChippyNote.V4: (143mb)

Features:

>> Dark theme... it's my choice

>> Themed and tripped down dialer, secmms.apk, Seccontacts.apk, Secsettings.apk, Framework-res.apk

>> simple root file explorer

>> Apollo, calculator,deskclock from cyanogen

>> Superbackup and naked browser as user app

>> Rom do not install modem, instead it uses existing one.

>> SecLauncher2 is modded for 5Cx6R and other regular mods

>> SecMMS is modded for save msgs, delayed msgs, group messages, dark bubbles and overall inverted looks etc etc...

>>

>> I dont recall much.. i need to start noting it down while working :D

Installation Process:

Coming from Touchwiz 4.1.2

1. Flash latest philz-cwm6 kernel+recovery

2. Reboot to recovery

3. wipe data/factory reset => Clean to install new rom

4. Install ChippyNote.v4

4. Following are the apps you may install if needed. Simple search on XDA will provide you a link.

-KK email/exchange

-KK Calendar/calendar provider

ScreenShots : 21st Dec2013

Dialer and Contacts Screenshots

Themed Secmms.apk Screenshots

APPLICATIONS SCREENIES

Bootanimation

Previous Versions

Download: Chippynote.XXLTA.v2.zip - 166.71 MB

Download:ChippyNote.XXLTA.v1.zip - 153.24 MB

ChippyNote_XXLT9_v.1.zip - 190.60 MB

Step by Step Process

1. Following applications/files were used during this exercise.

a. Stock ROM (N7000XXLT9_N7000XXLT3_N7000OXXLT3_HOME.tar)

b. philz latest XXLT9 kernel from here (http://d-h.st/mOm)

c. dsixda kitchen

d. 7zip

e. Notepad++

f. paint.net with optipng plugin​

2. open rom tar file with 7zip and pull .img files(cache.img,factoryfs.img, hidden.img) in original_update folder of kitchen.

3. open philz signed zip with 7zip and pull zimage to original_update folder of kitchen.

4. start dsixda's Android Kitchen (guides available on XDA to setup dsixda kitchen)

5. while setting up working folder provide set of .img files as original rom

6. carefully follow the process as guided by kitchen to get all folders extracted

7. once you complete rom extraction, move all apks from preload app directory to system app directory for deodexing

8. move to advanced options for deodexing. just make sure to use right api level (16) while deodexing app and framework folders.

9. Here you may also find option 13,14 and 17 useful to include root, init.d, data app, updaterscript

10 if you have used option 17 for updaterscript then it will be good idea to visit your updater script under "Kitchen\original_update\WORKING_xxxxxxx\META-INF\com\google\android" and check if everything is alright

11. if you are seasoned rom maker then you may check out build.prop under system folder in working directory of kitchen.

12. you can add tweaks if you wish. Here are assorted one that i use.

#

# Chippy Tweaks

#

#Localization

persist.sys.timezone=Asia/Kolkata

persist.sys.country=US

persist.sys.language=en

#

# Dalvik VM Tweaks

dalvik.vm.checkjni=false

dalvik.vm.dexopt-data-only=1

dalvik.vm.verify-bytecode=false

dalvik.vm.lockprof.threshold=250

dalvik.vm.jmiopts=forcecopy

dalvik.vm.execution-mode=int:jit

# Enable GPU Acceleration

#debug.sf.hw=1

#video.accelerate.hw=1

debug.performance.tuning=1

persist.sys.composition.type=gpu

windowsmgr.max_events_per_sec=150

persist.sys.ui.hw=1

persist.sys.use_dithering=0

# Media Tweaks

ro.media.dec.vid.wmv.enabled=1

ro.media.dec.aud.wma.enabled=1

ro.media.dec.aud.flac.enabled=1

ro.media.dec.vid.avi.enabled=1

ro.media.enc.jpeg.quality=100

ro.media.dec.jpeg.memcap=8000000

ro.media.enc.hprof.vid.bps=8000000

media.stagefright.enable-player=true

media.stagefright.enable-meta=true

media.stagefright.enable-scan=true

media.stagefright.enable-http=true

media.stagefright.enable-record=false

# Delays

ro.telephony.call_ring.delay=10

ro.lge.proximity.delay=25

mot.proximity.delay=25

# 3G Tweak

ro.ril.set.mtu1472=1

ro.ril.hsxpa=2

ro.ril.gprsclass=10

ro.ril.hep=1

ro.ril.enable.dtm=1

ro.ril.hsdpa.category=28

ro.ril.enable.a53=1

ro.ril.enable.3g.prefix=1

ro.ril.htcmaskw1.bitmask=4294967295

ro.ril.htcmaskw1=14449

ro.ril.hsupa.category=9

# Camera Tweaks

ro.media.capture.maxres=8m

ro.media.capture.fast.fps=4

ro.media.capture.slow.fps=120

ro.media.capture.flashMinV=3300000

ro.media.capture.torchIntensity=40

ro.media.capture.flashIntensity=70

ro.media.panorama.defres=3264x1840

ro.media.panorama.frameres=1280x720

ro.camcorder.videoModes=true

# Save Battery Tweaks

pm.sleep_mode=1

power.saving.mode=1

ro.ril.disable.power.collapse=0

wifi.supplicant_scan_interval=300

# Network Tweaks

net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960

net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960

net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960

net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960

net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960

net.tcp.buffersize.hspda=4096,87380,256960,4096,16 384,256960

net.tcp.buffersize.hspa=4096,87380,256960,4096,163 84,256960

# DNS Google

net.rmnet0.dns1=8.8.8.8

net.rmnet0.dns2=8.8.4.4

net.ppp0.dns1=8.8.8.8

net.ppp0.dns2=8.8.4.4

net.dns1=8.8.8.8

net.dns2=8.8.4.4

# SleepMode

ro.ril.sensor.sleep.control=1

ro.wifi.hotspotUI=1

ro.tether.denied=false

# Disable Sending Usage Data and Error Checking

ro.config.nocheckin=1

ro.kernel.android.checkjni=0

ro.kernel.checkjni=0

# Better Signal Tweaks

persist.cust.tel.eons=1

ro.config.hw_fast_dormancy=1

ro.ril.enable.amr.wideband=1

# More Tweaks

profiler.force_disable_err_rpt=1

profiler.force_disable_ulog=1

ro.max.fling_velocity=12000

ro.min.fling_velocity=8000

ro.min_pointer_dur=8

persist.sys.usb.config=mtp,adb

persist.adb.notify=1

persist.sys.purgeable_assets=1

# Support IP v4 and v6

persist.telephony.support.ipv6=1

persist.telephony.support.ipv4=1

# Faster Boot

ro.config.hw_quickpoweron=true

# Improve battery under no signal

ro.mot.eri.losalert.delay=1000​

13. So now we have pure deodexed stock rom structure available. You can zip it flash it to your note. But i may like to strip it before passing it on to my device so that it is real slim and fast. So here we go

14. First round of stripping will be to eliminate all those files and apps which user dont use atleast once in a week and can be deleted straight from working folder. As a user one can always decide to keep the apps that you need. I prefer to delete any app that i dont use atleast once in a week. For me here is the list of files which i delete

1 AccuweatherDaemon.apk >> I prefer padfone2 weatherclock

2 AccuweatherWidget.apk >> I prefer padfone2 weatherclock

3 AccuweatherWidget_Main.apk >> I prefer padfone2 weatherclock

4 AllshareMediaServer.apk >> app for sharing, I never needed it

5 AllSharePlay.apk >> app for sharing, I never needed it

6 AllshareService.apk >> app for sharing, I never needed it

7 AnalogClockSimple.apk >> I prefer padfone2 weatherclock

8 Aurora.apk >> Live wallpaper-I use nice jpgs

9 AutomationTest_JBUP.apk >> test app, not essential

10 BackupRestoreConfirmation.apk >> I don’t want anyone to keep my data including password

11 BasicLiveWallpapers.apk >> Live wallpaper-I use nice jpgs

12 Bluesea.apk >> Live wallpaper-I use nice jpgs

13 BluetoothMap.apk >> app related to Bluetooth

14 BluetoothTest.apk >> app related to Bluetooth

15 ChatON_MARKET.apk >> samsung chat

16 ChocoEUKor.apk >> I don’t use this font

17 ChromeBookmarksSyncAdapter.apk >> in case you don’t believe on google for checking your browsing habbits

18 ClockPackage.apk >> really bulky clock app from sammy (14.6 mb for simple clock that I hardly open…no way, CM deskclock is for me)

19 CloudAgent.apk >> in case you don’t believe on samsung for snooping on your data

20 CoolEUKor.apk >> I don’t use this font

21 crayon_physics.apk >> game but not upto my liking

22 DataCreate_Q1_EUR_OPEN.apk >> app used by Snote

23 DigitalClock.apk >> Clock widget

24 Dropbox.apk >> dropbox app

25 DropboxOOBE.apk >> dropbox app

26 DSMForwarding.apk >> Notification of change of SIM

27 DSMLawmo.apk >> Remote locking device

28 DualClockAnalog.apk >> clock widget

29 DualClockDigital.apk >> clock widget

30 FaceLock.apk >> never worked perfectly.. May be my face is not so friendly.

31 FactoryTest_Q1_EUR_OPEN.apk >> as name suggests

32 FlashAnnotate.apk >> required for spen annotation and screenshots function

33 FlashAnnotateSvc.apk >> required for spen annotation and screenshots function

34 FlashBarService.apk >> required for stock multiwindow, I prefer from xperiacle

35 FmmDM.apk >> samsung app to trace stolen phones

36 FmmDS.apk >> samsung app to trace stolen phones

37 FotaClient.apk >> required for Over the air updates

38 Gmail.apk >> available on market

39 GMS_Maps.apk >> available on market

40 GoogleBackupTransport.apk >> I don’t want to backup with google

41 GoogleCalendarSyncAdapter.apk >> I don’t want to backup with google

42 GoogleContactsSyncAdapter.apk >> I don’t want to backup with google

43 GoogleFeedback.apk >> hmmm

44 GoogleTTS.apk >> googles implementation of tts

45 GroupCast.apk >> I don’t use it

46 HelpHub.apk >> no thank you

47 HelvNeueLT.apk >> one more font

48 INDI_Server.apk >> indi server implementation

49 Kies.apk >> samsung desktop sync app

50 kieswifi.apk >> samsung desktop sync over wifi app

51 Kobo.apk >> book reader

52 lcdtest_Q1_EUR_OPEN.apk >> testing program

53 LearningHub_HD.apk >> I don’t need this

54 Magazines.apk >> magazine reader

55 MediaUploader.apk >> as name suggests but removal never stopped me uploading files

56 Microbes.apk >> Live wallpaper-I use nice jpgs

57 MobilePrint.apk >> mobile printing.. Anyway who does it ?

58 MobileTrackerEngineTwo.apk >> samsungs mobile tracking program

59 Music2.apk >> music player

60 MusicFX.apk >> samsungs music player component

61 MusicHub_31.apk >> as name suggests

62 MusicPlayer.apk >> music player

63 OceanWeather.apk >> live wallpaper

64 PageBuddyNotiSvc.apk >> samsumg crap

65 PanningTryActually.apk >> samsumg crap

66 PaperArtist.apk >> good one but I don’t fancy it

67 PhotoWall.apk >> samsumg crap

68 PickUpTutorial.apk >> samsumg crap

69 PlusOne.apk >> available on market

70 PolarisViewer.apk >> I prefer polaris office with editor feature

71 PopupBrowser.apk >> samsumg crap

72 PreloadInstaller.apk >> samsumg crap

73 PressReader.apk >> samsumg crap

74 PRUI.apk >> samsumg crap

75 QuickSnote_Q1.apk >> samsumg crap

76 ReadersHub.apk >> samsumg crap

77 RoseEUKor.apk >> one more font

78 SamsungApps.apk >> samsumg crap

79 SamsungAppsUNA3.apk >> samsumg crap

80 SamsungIME.apk >> sammy keyboard

81 Samsungservice.apk >> samsumg crap

82 SamsungTTS.apk >> samsumg crap

83 SamsungWidget_FavoriteApp.apk >> samsumg crap

84 SamsungWidget_ProgramMonitor.apk >> samsumg crap

85 SChoice.apk >> samsumg crap

86 sCloudBackupApp.apk >> samsumg crap

87 sCloudBackupProvider.apk >> samsumg crap

88 sCloudDataRelay.apk >> samsumg crap

89 sCloudDataSync.apk >> samsumg crap

90 sCloudSyncBrowser.apk >> samsumg crap

91 sCloudSyncCalendar.apk >> samsumg crap

92 sCloudSyncContacts.apk >> samsumg crap

93 sCloudSyncSNote.apk >> samsumg crap

94 SecBrowser.apk >> stock browser

95 SecCalculator2.apk >> stock calculator

96 SecFactoryPhoneTest.apk >> test app

97 SecMiniDiary.apk >> diary

98 SecNoteMyFiles.apk >> file manager

99 SecWallpaperChooser.apk >> stock wallpapers

100 SelfTestMode_Q1_EUR_OPEN.apk >> test APP

101 serviceModeApp_Q1_EUR_OPEN.apk >> service mode app

102 SetupWizard.apk >> sammy crap

103 ShareShotService.apk >> sammy crap

104 shutdown_JBUP.apk >> what is this

105 SignatureLock.apk >> I am not fan of it

106 SimpleAlarmClock.apk >> samsumg crap

107 SimpleFavoritesWidget.apk >> samsumg crap

108 SlideShow.apk >> slide show

109 SmartcardService.apk >> what is this

110 SMemoProvider_Q1.apk >> smemo

111 SMemo_Q1.apk >> smemo

112 Snote_Q1.apk >> Snote related

113 Snote_Q1_Provider.apk >> Snote related

114 SNS.apk >> samsumg crap

115 SPlannerAppWidget.apk >> samsumg crap

116 SPPPushClient_Prod.apk >> samsumg crap

117 Street.apk >> Google street view, can be downloaded from market

118 SuggestionService.apk >> what the heck, I don’t want to comment

119 SyncmlDM.apk >> samsung software updates: never worked in my land

120 SyncmlDS.apk >> samsung software updates: never worked in my land

121 SystemInfo_Q1_EUR_OPEN.apk >> what is this ?

122 Talk.apk >> Gtalk: available on market

123 talkback.apk >> Voice feedback (accessibility option)

124 TrimApp_phone.apk >> Part of video editor

125 TwDVFSApp.apk >> Ubergizmo: app responsible for changing the CPU frequency when subjected to benchmark test but will do not make any difference in working

126 VideoHub.apk >> sammy video hub

127 VideoPlayer.apk >> very limited stock video player from sammy, I prefer mxplayer

128 VoiceRecorder.apk >> as name suggests

129 VoiceSearchStub.apk >> as name suggests

130 voice_talk_Q1.apk >> as name suggests

131 VpnDialogs.apk >> if you are not connecting via vpn

132 WeatherWall.apk >> weather wallpaper

133 WebManual.apk >> help manual

134 WlanTest.apk >> as name suggests

135 wssyncmlnps.apk >> Related KIES syncing

136 YahoonewsDaemon.apk >> yahoo service demon

137 YahoonewsWidget.apk >> yahoo news widget

138 YahoostockDaemon.apk >> yahoo service demon

139 YahoostockWidget.apk >> Yahoo finance widget

140 YouTube.apk >> Youtube app, can be installed from market

141 Zinio.apk >> Magazine reader

142 gmscore.apk >> google framework, automatically added when connected to market

143 SecEmail.apk >> Replaced with AOSP email.apk

144 SecExchange.apk >> Replaced with AOSP exchange.apk
​

15. Remove com.dropboxpartner.jar from framework since dropbox apk already deleted

16. remove language files which are not required from following folders

a. system\CSC:

b. system\hdic: contains dictionaries for various languages. remove all exept your language.

c. system\T9DB : various keyboard layout configurations. remove all exept your language.

d. system\tts : text to Speech files. remove all exept your language.

e. system\usr\srec : google defined dictionary, hotwords and hotter (foul/offensive) words. remove completely.

f. system\wakeupdata\sensory : sammys sensor specific langs. remove all exept your language.

g. system\etc\kies : you know it..remove it completely.

h. system\vendor\pittpatt: facerecognition files, i prefer to remove it.​

17. Remove non-required fonts. I removed following...

1 AnjaliNewLipi-light.ttf

2 DroidSansArmenian.ttf

3 DroidSansEthiopic-Regular.ttf

4 DroidSansGeorgian.ttf

5 DroidSansHebrew-Bold.ttf

6 DroidSansHebrew-Regular.ttf

7 GS45_Arab_AndroidOS.ttf

8 GS_Thai_111220.ttf

9 Lohit-Bengali.ttf

10 Lohit-Kannada.ttf

11 Lohit-Telugu.ttf

12 SamsungBengali.ttf

13 SamsungDevanagari.ttf

14 SamsungGujarathi.ttf

15 SamsungKannada.ttf

16 SamsungMalayalam.ttf

17 SamsungOriya.ttf

18 SamsungPunjabi.ttf

19 SamsungSinhala.ttf

20 SamsungTamil.ttf

21 SamsungTelugu.ttf
​

18. Lets clean up the media folder. I delete following files. You can delete as per your liking.

Dir> Media

1 bootsamsung.qmg

2 bootsamsungloop.qmg

Dir> Audio>alarms

1 A_toy_watch.ogg

2 Beep_Beep_Beep.ogg

3 Chirp_Chrip.ogg.ogg

4 Good_Morning.ogg

5 Piezo.ogg

6 Rooster.ogg

7 Ticktac.ogg

Dir> Audio>notifications

1 01_Sherbet.ogg

2 Cheeper.ogg

3 Merope.ogg

4 Moonbeam.ogg

5 Pizzicato.ogg

6 S_Buubles.ogg

7 S_Charming_bell.ogg

8 S_Chopsticks.ogg

9 S_Cloud.ogg

10 S_Flowers.ogg

11 S_Glittering_Light.ogg

12 S_Good_News.ogg

13 S_Harmonics.ogg

14 S_Haze.ogg

15 S_Knock.ogg

16 S_On_time.ogg

17 S_Opener.ogg

18 S_Postman.ogg

19 S_Pure_Bell.ogg

20 S_Starry_night.ogg

21 TaDa.ogg

Dir> Audio>ringtones

1 ANDROMEDA.ogg

2 CASSIOPEIA.ogg

3 Eridani.ogg

4 Lyra.ogg

5 Pegasus.ogg

6 PERSEUS.ogg

7 Rigel.ogg

8 Road_Trip.ogg

9 S_A_cricket_chirps.ogg

10 S_Basic_bell.ogg

11 S_Chime.ogg

12 S_Crossingwalk.ogg

13 S_Cuisine.ogg

14 S_Down_Hill.ogg

15 S_Emotive_Sensation.ogg

16 S_Faint.ogg

17 S_Happy_synth.ogg

18 S_Illuminator.ogg

19 S_Mirage_of_you.ogg

20 S_More_polite.ogg

21 S_Over_the_horizon.ogg

22 S_Polaris.ogg

23 S_School.ogg

24 S_Single_tone.ogg

25 S_Sniper.ogg

26 S_Spinning_around.ogg

27 S_Wine_Bottle.ogg

28 URSAMINOR.ogg

Dir> Audio>ui

1 Birdsong_by_the_lake.ogg

2 Fairy_fountain.ogg

3 Gentle_spring_rain.ogg

4 Serenity.ogg

5 Sparkling_mist.ogg

6 The_secret_forest.ogg

Dir> video>Shutdown

1 shutdown.qmg
​

19. Lets identify the unused libs from lib folder for safe deletion.

1. libAndrJFPDFEMB.so >> somewhere I read that it is needed only for Zinio.apk

2. libChatOnAMSImageFilterLibs-1.0.2.so >> used by Sammy's chaton

3. libcom_mspot_android_clientapi3_1.so >> used by music hub

4. libcrayonphysics.so >> Required for Cryonphysics

5. libCrumpledPaper.so >> required for Snote

6. libdhwr.so >> handwriting recognition, used by keyboard, snote

7. libdwp.so >> used by samsung keyboard

8. libfacelock_jni.so >> used by Faceunlock feature

9. libfacerecognition.so >> used by Facerecognition feature

10. libFaceRecognition_JNI.so >> used by Facerecognition feature

11. libfrsdk.so >> used by Facerecognition feature

12. libgcomm_jni.so >> AFAIK Obsolete. This was required for the Google+ application

13. libgoggles_clientvision.so >> used by google goggles

14. libgoogle_recognizer_jni_l.so >> afaik this used for Google voice services only

15. libINDIAgent.so >> used by indi server

16. libINDIServer.so >> used by indi server

17. libKiesDataRouter.so >> required for kies

18. liblifevibes_mediashare_hw_jni.so >> lifevibes :D IDK!

19. liblifevibes_mediashare_sw_jni.so >> lifevibes :D IDK!

20. libmagnet.so >> I think its for AllSharePlay.apk ?

21. libmicrobes.so >> LWP

22. libMusicSquareLib.so >> used by Music Hub

23. libMyScriptEngine.so >> MyScript engine files used by Snote/keyboard

24. libMyScriptEquation.so >> MyScript engine files used by Snote/keyboard

25. libMyScriptHWR.so >> MyScript engine files used by Snote/keyboard

26. libMyScriptShape.so >> MyScript engine files used by Snote/keyboard

27. libMyScriptSolver.so >> MyScript engine files used by Snote/keyboard

28. libNodeJS_Android.so >> required for AllSharePlay.apk

29. libNode_Interface.so >> required for AllSharePlay.apk

30. libpaperartist.so >> used by paper artist

31. libpatts_engine_jni_api.so >> used for text to speech engine

32. libpolarisofficedump.so >> used for polaris office

33. libpolarisviewer4.so >> used for polaris office

34. libsamsungtts.so >> used for text to speech engine

35. libSmallAgentServer.so >> used for samsungs allshare

36. libSmartEduDrmCoreLH.so >> I think this for sammy's learning hub

37. libsnote_Q1.so >> for snote

38. libttspico.so >> used for text to speech engine

39. libvideochat_jni.so >> used in video chat

40. libvideochat_stabilize.so >> used in video chat

41. libvideoeditorplayer.so >> used for video editor

42. libvideoeditor_core.so >> used for video editor

43. libvideoeditor_jni.so >> used for video editor

44. libvideoeditor_osal.so >> used for video editor

45. libvideoeditor_videofilters.so >> used for video editor

46. libVideoHub.so >> used for video editor

47. libWnnJpnDic.so >> japanese dictionary

48. libWVphoneAPI.so >> I think this is required for video chat

49. libAMSWiFiLibsR2.so >> came from ChatON_MARKET.apk

50. libdprw.so >> came from SyncmlDM.apk
​

20. After deletions its time to check on bulky apps and replace it with lighter one. Following are the ones used in this rom.

1. Samsung SecEmail.apk and SecExchange.apk were replaced with AOSP email.apk and exchange.apk

2. Samsung ClockPackage.apk and various clocl widgets were replaced with MiUI deskclock ported by HootanParsa

3. bulky soundrecorder from samsung is replaced with MIUI sound recorder port by HootanParsa (Layout needs to be fixed)

4. Accuwether stuff was replaced by Asus Padfone2 humble but useful weatherclock. i modded it to work with Miuideskclock

5. SecCalculator replaced by simple CM calculator

6. all samsung music stuff is replaced by powerful Apollo mod by 7ORO

7. file manager replaced with OIfilemanager

8. Stock browser replaced with lightweight and fast nakedbrowser​

21. After deletion and replacement i optimised stock apps for size. basically lang files which were not needed , were deleted and pngs were optimsed/edited. This is where i theme apks. This need apktool setup.

22. move apk to be optimised to apktool folder and decompile it.

23. Now one can delete language (not used) specific folders inside apk such as raw-de or values-de if german language is not used. I retained de,es,fr,it and ru which can cover quite a lot of users.

24. Now check out larger png/jpg files. generally i look for files which are bigger than 10kb. To optimise i use paint.net with optipng plugin

25. In case you want to theme or mod any apk you can do it here.

26. once you are done compile apk. Instead of signing i prefer to drop META-INF and AndroidMenifest.xml from original apk to modded apk

27. this way you can strip down the larger apks such as secsettings or framework-res. Now move all the stripped apks to respective folders in ROM working folder.

28. zip all now to get your rom.

In case you are trying these steps but think these steps are taking you nowhere, then its better you stay away. it can result into anything from world war 3 to your phone getting fried. If you are ok and understand what you are doing but need some clarification, i will try my best efforts and available knowledge.