[CM 10.1] My CWMR flashable zip to remove some apps - Galaxy Note GT-N7000 General

This is only for the official CM 10.1​
CM Roms are already light weight Roms compared to stock Crapsung firmwares but still I find some of the apps unnecessary for me.
So I made this CWMR flashable zip to remove unnecessary apps.
I could have made a custom GAPPS zip but there are some apps that come from CM Nightly that I don't need. So instead of downloading the nightly and deleting the apps, I flash the Nightly as it is then flash my zip to remove these apps.
Apps Removed
Apollo
Browser
Calendar
Email
Exchange
CMWallpapers
Galaxy4
Gmail
GmsCore
HoloSpiralWallpapers
LiveWallpapers
MagicSmokeWallpapers
NoiseField
PhaseBeam
PhoneSky
QuickSearchBox
Stk
Talkback
TVOut
VisualizationWallpapers
VideoEditor
VoiceDialer
Why did I remove Google Play (PhoneSky.apk) and Google Play Services (GmsCore.apk) ?
Because my zip will install the latest version of both.
Instructions (make sure you are on a safe kernel) :
For Full Wife
Boot into recovery
Factory reset
Flash Official CM 10.1
Flash GAPPS 12/12/12
Factory Reset
Flash SuperSU (to avoid root issues)
Mount System
Flash my Test.zip
Reboob
To Upgrade
Flash CM 10 zip
Mount System
Flash my Test.zip
Wipe cache and dalvic cache
Reboob
If you do not want to remove some of the apps listed above, edit updater-script yourself!
Feedbacks are welcome.

Why do you remove browser??
Is there a way I could edit script to manag apps I'd like to remove or add??
Sent from my GT-N7000 using Xparent ICS Tapatalk 2

vasiaeva said:
Why do you remove browser??
Is there a way I could edit script to manag apps I'd like to remove or add??
Sent from my GT-N7000 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
Use notepad++ to edit updater-script
Sent from my GT-N7000 using Tapatalk 2

Gets to there point you may as well have a dumb phone if you are going to lobotomize it!!
From box 13......

howard bamber said:
Gets to there point you may as well have a dumb phone if you are going to lobotomize it!!
From box 13......
Click to expand...
Click to collapse
Funny. :laugh:
I don't use stock browser and calendar.

And you can download Gmail, Google Search and Talkback from the play store, thats what I did.

Need to mount system
Thanks for the idea. This is useful.
However, for this to work (at least on my devices), I think you will need to mount /system in your updater-script. Without it, the script won't work.

mahler47 said:
Thanks for the idea. This is useful.
However, for this to work (at least on my devices), I think you will need to mount /system in your updater-script. Without it, the script won't work.
Click to expand...
Click to collapse
You can manually mount system.
I'll update the zip this weekend with new updater script that uses busybox.

Related

[THEME] ☢ BigDX Xoom ported for Iconia A500_1.141.07_COM_GEN1

Well after some attemps and a couple of hours killing and reviving my Iconia I just finally make a port of one of the Xoom themes.
This is a beta test, so please test and tell me if you find any bug or image missing.
Original XOOM theme, all images taken from his theme: http://forum.xda-developers.com/showthread.php?t=1015434
NOTE: This is made and tested on A500_1.141.07_COM_GEN1 and dunno if it work on any other version
How to Install:
1. Download Zip attached. Since there is no way to flash custom update.zip I mod a sh script in order to auto-install this theme just with a few commands.
2. Unzip framework-res.apk, SystemUI.apk and installtheme.sh on /sdcard (internal sdcard, not microsd)
3. (You need root)
adb shell
su
cd /sdcard
sh installtheme.sh
4. enjoy and say thanks if you like my little work
reserved for updates and faq
just installed your theme using root explorer,just copied and paste.love the green instead of blue.thanks
just wanna say.thanks !
will this work for other firmware, can anyone confirm ? maybe those outside US ?
AND, i think now u can make .zip version of this theme as cwm is already working
works great on. german firmwre (Cus7)
Thanks for the theme. Seem to have trouble getting the wallpaper installed. Everthing else is perfect.
How can we change back to original theme?
Sent from my A500
Just replace the files with the same from your stock Rom.
Will this work on (Stock) Rooted_Acer_A500_7.006.01_COM_GEN2.
Where do i place or do i flash it via cwm
Sent from my PG86100 using XDA App
leo72793 said:
Where do i place or do i flash it via cwm
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
If you took the time to actually read the OP, you'd see full instructions
Very nice but not stable , I tried it and checked the framework , it needs work .
After changing and adding some stuff I got it running now on my system, I also made a CWM flash .zip file so it installes very easy. Also added updated "launcher2.apk" fitting wallpapers.
So the cwm flash will update "systemui", "launcher2" and "framework" , it is close to the xoomblue mod but some things are not possible on the acer framework to run stable.
It should run fine on any rooted and busybox HC3.2 A500.
I will upload later if I got time
DO AT YOUR OWN RISK and clear you'r cache dalvik and battery stats before flash.
Here is the final result , It works supurb on my rom but I think it will work on any HC3.2 A500 and Packard Bell LIBERTYTAB rooted and busybox installed.
FLASH WITH CWM , CLEAR CACHE, DALVIK and BATTERYSTATS
And believe me it is more then framework and systemUI modding.
BLUE MOD:http://www64.zippyshare.com/v/45892322/file.html
Here is what it looks like:
Back to stock: http://www30.zippyshare.com/v/86674856/file.html
this works perfectly thx
Update on the blue mod
Added some more stuff for better effects in menu's.
I changed the link in 2post above !!!!
And please hit thanks if you like it , it's not that hard !
music2 player with blue effects
Full blue mod + the google music2 player and widget with blue effects .
http://www58.zippyshare.com/v/57315168/file.html
flash with cwm , wipe cache , dalvik and batterystats
Ya this bricked, temporarily, my Iconia A500 running HoneyVillian 1.2... I may have done the process wrong but I had the files on my sdcard and ran the sh script from a terminal emulator... so... damn. Currently restoring...
jleet24 said:
Ya this bricked, temporarily, my Iconia A500 running HoneyVillian 1.2... I may have done the process wrong but I had the files on my sdcard and ran the sh script from a terminal emulator... so... damn. Currently restoring...
Click to expand...
Click to collapse
You just need to download the .zip from a few post above and flash with cwm.
The first post is a nice start but not stable. So don't use the script but use the cwm flash.
I know it is not the green mod but I'm working on it.
I'm starting new thread about this sorry to the OP , You gave me a good start.

[ROM]HC3.2-civato-FLEXTHUNDER-AdHoc-3GHuawei-Hulu

FLEXTHUNDER rom is discontinued
Last update was on 29/Dec/2011.
I added the red mod , I think this is a great rom and it does what it should.
I will not put anymore time in this rom , I'm not taking it down , so you users still can enjoy it but don't expect active support from me.
My next and final rom is named flexstriker and will recieve a whole new thread.
civ.2011​Always take a "NANdroid" backup with cwm before you flash anything and take a "Titanium Backup" from your APPS.after flexspeed =FLEXTHUNDER=even faster
CIVATO-FLEXTHUNDER-BASE-V3.7Kernel.zip(with V3.7 kernel)​​ (Base on Acer A500_7.006.03_COM_GEN1 with updates to match 3.2.1)
Hulu support with included modded Flashplayer.
Rooted
Bootloader.blob removed
deodexed
pngoptimized
zipaligned
Tweaked for speed
BusyBox
Superuser 3.07 , bin 3.03
Specials:
Crypted gps patch V3.1[FONT="][URL="http://forum.xda-developers.com/showthread.php?t=1267899"]AGPS patch[/URL][/FONT]
Integrated Ad-Hoc-Wifi
Integrated DHCP wifi lease patch (Thanks to ezterry)
Optional 3Gusb Huawei support​​
Change/Update log:
7/DEC/2011 : Release WIFI optima patch
8/DEC/2011 : Release New ICS inspired Blue mod theme
11/DEC/2011: Release New ICS inspired White mod theme
12/DEC 2011: Release Alternative ICS inspired Blue mod
14/Dec/2011 : update on the ICS alternative Bleu mod and ICS white mod
29/DEC/2011: RED mod added
31-jan-2012: reuploaded with other kernel
Click to expand...
Click to collapse
APK'S and widget included in the base rom:
Agenda/Browser/Camcorder/camera/contacts/Clock/Downloads/E-Mail/Galery/GMAIL4.0/GoogleSearch/Settings/Streets/Market3.3.11/Mediaserver/Navigate/VoiceRecorder/VoiceSearch/Superuser3.07/Talk/YouTube
APK'S in data (can be removed in Apps)
Adobe Flash PlayerV10.3.186.7 (fixed for Hulu) Thanks to WilliamFold
ESFileExplorer1.6.0.8
Drivemount
HideBar
PhotoEditor
Skype
Terminal
HULU-Plus
Polaris Office
TouchscreenBooster
QuickPic-1.4.0
DefaultAppMananger-1.0
Click to expand...
Click to collapse
Flexspeed addON's
How it works:
Method 1:
-First download the .rar File "System APPs for use with addON-Flasher"
-Open the file "System APPs for use with addON-Flasher" , all the system apps and widgets are in there.
-Drag the APK's that you want in the system/app folder of the ROM (DON'T unzip) with winrar or something simular .
-Now flash the rom with all the apps that you want in one time , no need to use the addON-FLASHER.
Method 2:
-First download the .rar File "System APPs for use with addON-Flasher" , now download the "addON-FLASHER".Download addON FLASHER zip
-Open the file "System APPs for use with addON-Flasher" , all the system apps and widgets are in there.
-Now you open the "addON-FLASHER" (don't unzip), go to the folder "system/app" , you drag the apps that you want to that "app" folder.
-Put the addON-FLASHER on your externalSD and flash with CWM - reboot and enjoy.
Apps that are in the "system APPS for use with addON-FLASHER" [FONT=&quot]System apps for use with addON-Flasher[/FONT]
3DPhotoBrowser/AgendaWidget/AsusWeatherWidget/ClearFI/DTG(documents to go full)/Dualclock/ICSClock/LinkToFacebook/Lumiread/MagicSmokeWallpaper
Music2(google music player)/MyWater(livewallpaper)/nemoplayer(acermediaplayer)/SocialJogger/Supernote/VideoEditorGoogle/VisualizationWallpaper
WeatherWidget.
Game-addON Download Game addON zip
NFS and LetsGolf
Put the .zip on your externalSD and flash with CWM
APK's for installation with file manager Download APK for installation with File manager rar
LenovoCalendarWidget
LenovoMailCalendarProvider
SimpleCalendarWidget
SocialTouch
USBFileCopyUtility
(Download the .rar file , unrar it and install apps with a file manager)
Click to expand...
Click to collapse
3Gusb-Huawei-Patch FLEXTHUNDER 3Gusb Huawei patch
3Gusb Huawei support on A500 and Packard Bell LibertyTab G100W if you install the 3Gusb-addON. Install with CWM.
Click to expand...
Click to collapse
[FONT=&quot]WIFI Optima patch [/FONT][FONT=&quot]WIFI-FLEXTHUNDER-OPTIMA[/FONT]
-Installs the official Acer wifi fix .
-Reinstalls the DHCP lease patch, wifi disconnection problem. (By Ezterry and Civato)
-Installs a wifi TWEAK for the A500 by "roach" for better connection in some country's.
-Repeats the needed permissions.
Click to expand...
Click to collapse
TIPS:
- 3Gusb:
If the connection won't start use the ril-deamon-restarter.apk or when you put the 3Gusb in after boot ALWAYS use the ril-deamon-restarter.(3g icon in notification bar and mobile settings will be available in settings then)
It is possible you need to change APN settings in the mobile settings.
(I got a Huawei E1552 and it is working supurb)
Had to follow this tutorial to make my 3G dongle ready : http://vache-android.com/v1/index.ph...tutorialsID=12
-You don't want HULU , or want the flashplayer from the market ?
You need to remove "com.adobe.flashplayer-1.apk" in data/app and reboot.
Now you can download the flashplayer from the market.
- Problems with GPS, try the v2.2 patch from crypted,the rom contains patch 3.0 but it seems that some people have problems with it AGPS Patch Iconia 3.1 & 2.2 | GET BACK TO RAPID GPS LOCK, CAN LOCK ONTO MORE SATS - xda-developers
First time you install this ROM
Wipe Data/factory reset , Cache and dalvik BEFORE you flash this ROM with CWM.
Updating from MIX3 or FLEXSPEED version
Download zip and flash with cwm , if problems clear cache and dalvik , you need to reinstall the batteryMod if you are using it and the custom kernel if you use a different one that is installed.
Click to expand...
Click to collapse
FLEXSPEED+FLEXTHUNDER MODS:
Custom home , menu , back button and custom WIFI icon-PACKAGE
Multiupload.com - upload your files to multiple file hosting sites!(optimized mods for FLEXSPEED)
Thanks to "kjy2010 "
How to use:
Download the .rar file "MODS FOR FLEXSPEED" , unrar it and place the zip file on your externalSD and flash with CWM
What's in the package?
- FLEXSPEED-BATTERY-MOD ( circular battery icon + custom status bar icones)
- FLEXSPEED-BUTTON-MOD (Custom home , menu , back button)
- FLEXSPEED-BUTTON-MOD-WIFI (custom home , menu , back button and custom WIFI icon)
- FLEXSPEED-STOCK-BUTTON-WIFI ( back to stock wifi and buttons)
Battery-MODS (that you can do)flash with cwm.
Based on these threads : http://forum.xda-developers.com/show....php?t=1234328 and http://forum.xda-developers.com/show....php?t=1316846
Thanks to "krid.of-k" and "kjy2010 "
Stock: Multiupload.com - upload your files to multiple file hosting sites!
Droid: Multiupload.com - upload your files to multiple file hosting sites!
Meter: Multiupload.com - upload your files to multiple file hosting sites!
Tiny: Multiupload.com - upload your files to multiple file hosting sites!
Circul: Multiupload.com - upload your files to multiple file hosting sites!
Modded fonts
-For Fonts and digits type that you want and how to change http://forum.xda-developers.com/show...ighlight=Fonts Thanks to "pimpmaneaton"
Click to expand...
Click to collapse
​NEW:XOOM MOD for Flexspeed /FLEXTHUNDER .(Battery in steps of 1%)
Based on this :[THEME] ☢ BigDX Xoom|Zoom Theme ☢ Tiamat 2.2 & Stock 3.2.2 ☢ Red, White, Blue & Green - xda-developers
FLASH WITH CWM.(ONLY for A500/501 and Packard bell LibertyTab)
TIP:IF you flash battery MOD , clear Batterystats in CWM !!!!!
ICS (inspired) BLUE MOD: [FONT=&quot]ICS inspired BLEU MOD[/FONT]
New google search theme , ICS deskClock (widget) , New system buttons , ICS wallpaper and bootanimation , ICS fonts and more little details. Grey 1% battery, new ICS wifi statusbar icon.........
See attachment on bottom.
ICS (inspired) BLUE MOD -alternative: [FONT=&quot]ICS inspired BLEU-MOD Alternative release2[/FONT]
Same as ICS bleu mod but new ICS icones , ICS System buttons and app icon
ICS (inspired) WHITE MOD [FONT=&quot]ICS-White-MOD release2[/FONT]
Same as ICS bleu mod but other color , there are some blue icons and blue stuff in there because that is ICS , don't worry it is a nice touch and doesn't look strange.
BLUE MOD:http://www58.zippyshare.com/v/57315168/file.html
GREEN MOD:http://www29.zippyshare.com/v/59529652/file.html
WHITE MOD : Download WHITEMOD FULL MUSIC2 included zip
RED MOD : [FONT=&quot]RED mod FULL music2 included[/FONT]
Back to stock A500 HC3.2Download A500 STOCK THEME zip
Some pictures: look at the attachments
Click to expand...
Click to collapse
Remark:
Tested on a Packard Bell LibertyTab and Acer A500 WIFI only , NO 3G if you don't use the patch.
BIG thanks to Williamfold , Vache , ezterry ,Crypted , richardtrip , GamezR2eZ ,THOR , smaury , dexter and ......for giving use these roms , CWM ,kernels and apk.s so I can mess with them.
Again I'm a noob at these linux things , and I'm planning on staying a noob , it's just I like to mess around for my own rom and I wan't to share it with anyone that likes it.
I got this rom running on my tab now and it works good (with THOR3.9 kernel) ,I almost bricked my tab testing this rom but he that is the price you have to pay , lucky for me I always got a backup so people always take a nandroid backup !!!
Civato 2011 the mixer. Family and friends come first !!!!!
==================================
OLD ROM + patches and 3Gusb
ROM Civato-FLEXSPEED
[FONT=&quot]Download CIVATO FLEXSPEED2 BaseROM zip[/FONT]
[FONT=&quot]Download FLEXSPEED updateR3 zip
[/FONT][FONT=&quot]wifi-patch-3 :[/FONT][FONT=&quot](update 3 same as patch-2 + [/FONT][FONT=&quot]DHCP fix inlcluded[/FONT][FONT=&quot] , this is for the lease problem that some have)[/FONT][FONT=&quot]
[/FONT][FONT=&quot]Download WIFI PATCH3 DHCP FIX zip
[/FONT][FONT=&quot]
3G usb Huawei support patch[/FONT]
[FONT=&quot]Download Civato FLEXSPEED PATCH3 zip[/FONT]
Ad-Hoc-wifi
[FONT=&quot][FONT=&quot]Download Hoc WifiPATCH zip[/FONT][/FONT]
which kernel do you prefer? I probably won't uc or PC. Just running "stock"
blcklab said:
which kernel do you prefer? I probably won't uc or PC. Just running "stock"
Click to expand...
Click to collapse
This rom comes with custom kernel , if you'r not going to oc leave the one that is on there.
But I like the Thor Kernels, more clock settings.
might wanna check your download. Same issue as last time. Only getting 23.4 k download. eager to check this rom out.
Ohh!
A new rom...
Is it tasty?
u r the man
Sent from my A500 using Tapatalk
Just flashed this one (I had your previous ROM on my tab), after wiping Data , Cache and dalvik. Netflix works, and camcorder does not crash. Tried Hulu using the default browser, at the site I got an error that said I had to upgrade my flash.
I am having a gps problem, no sats locking. It finds up to 6 sats.
Everything else is great! Thanks, just wanted to give some feedback
edit: uninstalled the flash apk and reinstalled it from your ROM and Hulu is now working!! Not sure what happened the first time.
Everything working as advertised and new boot animation is sick but i still have the su denied for setcpu at boot......
Flashed rom
Wiped data
Wiped cache
Wiped dalvik
Booted up
Rebooted and Flashed thors 3.7 kernel
Rebooted
Oooooooooooooooo nm just occured that i also flashed circular battery mod for taboonay......this mods framework-res.apk
Could this be my problem??
Sent from my A500 using Tapatalk
I think megaupload does not download well direct to devices.
hatefuel19 said:
Everything working as advertised and new boot animation is sick but i still have the su denied for setcpu at boot......
Flashed rom
Wiped data
Wiped cache
Wiped dalvik
Booted up
Rebooted and Flashed thors 3.7 kernel
Rebooted
Oooooooooooooooo nm just occured that i also flashed circular battery mod for taboonay......this mods framework-res.apk
Could this be my problem??
Sent from my A500 using Tapatalk
Click to expand...
Click to collapse
Do you have root explorer or any other app that can give you root access to /system/app?
Sent from my Sensation Rockin CoreDroid!
EDIT: If you do have an app that can access /system with root then do me a favor and try this. Go into /system/root and copy the superuser.apk that is located there. Paste it somewhere in either your sdcard or external sdcard. Then take the attached superuser.apk and move to /system/ and set the correct permissions(Verify old permissions of old superuser.apk before you paste.) Now do a reboot, and once booted back up go into settings/applications/manage applications/all applications and scroll down to superuser and clear out the data for superuser. Now go back into your root apps and setcpu and regrant everything superuser permissions and I'm willing to bet that your issues will be solved. Hope this helped.
pimpmaneaton said:
Do you have root explorer or any other app that can give you root access to /system/app?
Sent from my Sensation Rockin CoreDroid!
Click to expand...
Click to collapse
Yup.....setcpu sets oc if i do it manually........im only denied su at boot
Sent from my A500 using Tapatalk
hatefuel19 said:
Yup.....setcpu sets oc if i do it manually........im only denied su at boot
Sent from my A500 using Tapatalk
Click to expand...
Click to collapse
Sorry just redid my post with a fix that works great for me in both taboonay and the roms made by william so should work here.
Is there a flash to have stock font? Really liking this ROM but just not a fan of the font.
---------- Post added at 12:10 AM ---------- Previous post was at 12:04 AM ----------
where's the GPS patch 2.0 beta?
+1 on No GPS lock.
blcklab said:
Is there a flash to have stock font? Really liking this ROM but just not a fan of the font.
---------- Post added at 12:10 AM ---------- Previous post was at 12:04 AM ----------
where's the GPS patch 2.0 beta?
+1 on No GPS lock.
Click to expand...
Click to collapse
Crypted has just updated his thread with 2.0 included with other goodies.
Sent from my Sensation Rockin CoreDroid!
pimpmaneaton said:
Then take the attached superuser.apk and move to /system/ and set the correct permissions(Verify old permissions of old superuser.apk before you paste.)
Click to expand...
Click to collapse
Did u mean to say put it back in /system/ or /system/root
EDIT: didnt have su.apk in system and dont have a system/root lol so i went to system/app and replaced su there and it worked like a charm!!!!!! Thanks
Sent from my A500 using Tapatalk
hatefuel19 said:
Did u mean to say put it back in /system/ or /system/root
Sent from my A500 using Tapatalk
Click to expand...
Click to collapse
Put the one I posted back in /system/app
Sent from my Sensation Rockin CoreDroid!
pimpmaneaton said:
Crypted has just updated his thread with 2.0 included with other goodies.
Sent from my Sensation Rockin CoreDroid!
Click to expand...
Click to collapse
Works great
GPS patch is excellent, everything working now.
hatefuel19 said:
Everything working as advertised and new boot animation is sick but i still have the su denied for setcpu at boot......
Flashed rom
Wiped data
Wiped cache
Wiped dalvik
Booted up
Rebooted and Flashed thors 3.7 kernel
Rebooted
Oooooooooooooooo nm just occured that i also flashed circular battery mod for taboonay......this mods framework-res.apk
Could this be my problem??
Sent from my A500 using Tapatalk
Click to expand...
Click to collapse
It is not the battery mod , I got it running on mine .I got no SU problems.
This is how I install rom:
-Reboot in recovery
-Wipe DATA/reset to factory
-Wipe cache
-Wipe Dalvik
-Flash new ROM
-Reboot.
Better to wipe everything before you flash rom.
Sometimes I got SU denied after I restore my system with a Nandroid backup , then I only wipe cache and dalvik and flash the rom again that I'm using in that backup so I don't lose my data/setup.
I did a update of the SU bin and apk in the one I upload later , for the GPS I got really fast lock on , but I live in europe , I will update the gps config file in the updated rom for you guys in the states , if you cannot wait just use the link to the crypted gps in first post and update yourself.
Will be uploading MIX_3B = updated the SU bin and apk. and updated gps config to V2.0 , over her I have even faster gps lock , so thanks for the tip guys.
twice now my tablet ha shut down while in sleep.is there a setting I need to change.
And please let me know if there's a flash for stock font.
This is really good

[How-To] Re-Odex a Rom

Why this tutorial?
I made this tutorial for the galaxy 3, but then some user reported me that it worked on another phone, so I post this thread here again.
I wanted a good odexed rom, but there isn't any here. So I tried to make my own odexed rom, but it wasn't so good. So I read something about re-odexing and tried it out. I modified it a little bit and I don't know all about re-odexing, so if someone know something better, pls post it here in the thread for everyone. English is also not my mother language, but I hope you'll understand me
What is a odexed and a deodexed rom?
When you look at a stock rom in the folder /system/app, you will see files with the ending .odex and the apks doesn't contains classes.dex files. When you look at a deodexed rom, you'll see that there are no .odex files and the apks contains classes.dex files. Basically every apk contains a classes.dex files. Then the dalvik virtual machine generates a dalvik cache based of the classes.dex file. When you load a app, it will be loaded from the the dalvik cache, not from the apk. Samsung built the odexed rom using a tool called dexopt-wrapper. This tool generates .odex files based from the classes.dex, that means it does the same job like the dalvik vm. The .odex files were pushed in the /system. The files are the replacement for the dalvik cache. Like I wrote above, apps are loading from the dalvik cache, not from apk or classes.dex file, so classes.dex are not needed anymore, so they are deleted in odexed roms. Deodexing using xUltimate means regenerating a classes.dex based from the .odex file, merging it into the apk and deleting .odex.
What are the advantages and disadvantages from a deodexed rom?
Advantages:
-All needed things are in one apk, so modding/theming is (better) possible
-Needs less space on /system
Disavantages:
-Needs more space on /data
-Is not so stable than a odexed rom
-Slower on first boot(because a odexed rom has already execute ready .odex files, a deodexed rom needs to generate dalvik cache)
What do I need to re-odex?
-A rooted phone
-A full NANDroid Backup
-More than 30 mb free space on /system
-ADB drivers for Option 1
-Titanium Backup Pro for Option 2
How can I re-odex a Rom?
There are 2 Options to do it, but only the first does a full re-odex.
Before doing anything make sure that you have a full NANDroid Backup because you'll propably get into a bootloop and I cant guarantee that it works on your device/rom.
Option 1 using dexopt-wrapper:
I used first the script from puppet13th, but I got into a bootloop. So Ive done some changes and tried it until it worked
Some users told me that you can re-odex the rom without being in CWM, so you can may skip Step 2, but you could get into a bootloop without Step 2, but you can try it out, there is no risk with a NANDroid backup
Step 1: Configure the script for your device:
The attached script is made for the galaxy 3, so you have to configure the script for your device. If you done it, pls upload it and post it here for other users.
Download the zip(link below) for your system and unzip it. Then go to the folder "odex" and then open there the file/script "odex" with your favourite text editor(I suggest Notepad++).
You only have to replace the $BOOTCLASSPATH. You can find the valid $BOOTCLASSPATH in /init.rc. Enter your $BOOTCLASSPATH after "BOOTCLASSPATH=" for example so(beginning from Line 8):
Code:
BOOTCLASSPATH=replace_this_with_your_bootclasspath
cd /system/framework
for filename replace_this_with_your_bootclasspath
In the line
Code:
for filename replace_this_with_your_bootclasspath
you must replace the ":" character between framework files with a space.
Step 2(optional): Reboot your phone into cwm recovery and get adb access there
For best results you should re-odex in the recovery menu. Some users told me that it also works in a running system, so you can also try it in a running system, but you must mount /system rw before.
So if you want to re-odex in the recovery menu, reboot into recovery and make sure you have adb access.
Step 3: Ensure /system & /data is mounted, Connect your phone and run reodex script
Make sure that /system and /data is mounted in rw mode(in recovery: go to mount & storages, in a running system:use root explorer) and connect your phone with your computer.
You already downloaded the re-odex script in step 1. Your computer will push it over adb with the needed binaries to your phone. The script will create odex files, will delete classe.dex from the apk/jar, will rezipalign your apks and will delete the dalvik cache.
For windows users: double click on odex.cmd
For linux users: open a terminal and navigate to the folder which contains the unzipped attachment and run
Code:
chmod +x reodex.sh
./reodex.sh
After its finished, simply reboot and enjoy your fully re-odexed rom.
Step 4 (optional) convert /data:
I dont know if there is a better option, but after a re-odex with Option 1, my phone didnt showed the right free space on /data. So I converted /data to a other filesystem and back and then it showed the right free space.
So check your free space and if its wrong, convert your filesystem if you kernel support that.
Option 2 using Titanium Backup Pro:
You need to have Titanium Backup pro for re-odexing.
Step 1:
Select Menu -> More -> integrate sys dalvik into rom and wait until its finished. Then you should have more space on /data. I had when I tried it before 105 and after 135 mb free space on /data and 0kb free space after it on /system, so its not all.
You can also undo it. Its good when you want to try out a new theme, so you can undo and redo it using TB Pro.
Simply select Menu -> More -> Undo sys dalvik integration
and you're done.
Option 1 vs. Option 2
-Option 1 does a full re-odex, you have full free space on /data(Option 2 does only re-odex the apps in /system/app, not the framework(/system/framework)
-Option 1 deletes classes.dex from apks and jars(against Option 2), so you have more space free on /system
-You can undo Option 2 fast, so theming/modding is also possible by undo, theme and redo it, you can also undo Option 1, its called deodexing, but its not so fast
Download Links
XDA gaves me only 500 Errors when uploading was done, so I uploaded it to min.us
Re-Odex Script for Windows
Re-Odex Script for Linux(probably doesnt work, I cant reupload because I dont have the file anymore)
Working on...
There are only phones in the list, which were reported as working by users. It can aso work on a phone which isnt in the list.
Samsung Galaxy 3(working with default script)
HTC Amaze 4G(no script attached)
HTC Evo 4G(script here)
Samsung Galaxy S2(script here)
Motorola Atrix(script here)
Nexus S (4G)(script here)
XPeria Ray(script here)
SGS 1 maybe(working script for ICS aokp here and a working script for 2.3.6 (XWJW5) here)
Wildfire S(script here)
Nexus 7(script here)
TF700T & TF300T(script here)
Xperia Ray GB REPACK4PDA_V7(script here)
Acer A510 and Asus Transformer Prime TF201(script here)
Credits
puppet13th for making orginal script
If I helped you, you can press the thanks button under the post.
Thanks very much! I can confirm this works on the HTC EVO 4G. I have attached my odex file. I had to upload it as a ".txt" file, be sure to remove the ".txt" from the "odex.txt" before using
Thanks, I will have a look and try this on my xperia play
Sent from my R800i using xda premium
Thanks a lot. This works on the Atrix.
Odex file attached.
working on Galaxy S II
edited odex file in attachments
Yup mines work on the evo 4G too thanks. Now I have a odex rom. would post the file but swagstr beat me to it. same path as mine.
Nice to see that it's worked without problems on all devices, which tried by users. If I forgot to mention: a g3 rom developer asked me, if he is allowed to publish a rom which was reodexed with my script.
And yes all secs are allowed to publish rom's which are reodexed with my script. You must not add me to the credits, but it would be great if you do it.
Anyway to individually re-odex .apks with this mod?
swagstr said:
Anyway to individually re-odex .apks with this mod?
Click to expand...
Click to collapse
Yes, in my reodex package is a folder odex, theres a binary "dexopt-wrapper": copy this to your phone and give it executeable rights and then run over adb or term-emulator:
Code:
dexopt-wrapper <input.apk> <output.odex> <$BOOTCLASSPATH>
Working on Sony neo v so should work on Xperia 2011 range
Reserved
Sent from my SGH-T989 using xda premium
Works great!
I'll upload my odex file for the Nexus S 4G
Edit: Here's my odex file for the Nexus S 4G (probably the same for Nexus S)
jr_718 said:
Reserved
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
For what reserved?
Hey, is there any way to do this on a PC? Like, place /system/app and /system/framework/ in specified folders then run the odex script and it can odex the apk's and jar's on the desktop?
fergie716 said:
Hey, is there any way to do this on a PC? Like, place /system/app and /system/framework/ in specified folders then run the odex script and it can odex the apk's and jar's on the desktop?
Click to expand...
Click to collapse
You need the android phone to execute dexopt-wrapper binary. But you can do that over adb. You can reodex all over adb and then pull the reodexed files, but you can also do a nandroid backup, reodex your rom and make then
Adb pull /system/app/
Adb pull /system/framework/
After that you have the files on the pc and you can restore your nandroid backup.
TearsDontFalls said:
You need the android phone to execute dexopt-wrapper binary. But you can do that over adb. You can reodex all over adb and then pull the reodexed files, but you can also do a nandroid backup, reodex your rom and make then
Adb pull /system/app/
Adb pull /system/framework/
After that you have the files on the pc and you can restore your nandroid backup.
Click to expand...
Click to collapse
I see.. Yea that makes sense.
Thank you!
Hmm....but its not a good to go option for ROM developers with no device.
Can anyone make bat script to do this without andro phone?(I m not good windows dev )
I mean the same way dsixdas kitchen de-odexes
Sent from my Micromax_A70 using Tapatalk 2 Beta-4
varun.chitre15 said:
Hmm....but its not a good to go option for ROM developers with no device.
Can anyone make bat script to do this without andro phone?(I m not good windows dev )
I mean the same way dsixdas kitchen de-odexes
Sent from my Micromax_A70 using Tapatalk 2 Beta-4
Click to expand...
Click to collapse
Rom developers without device? Okay, it might be possible to do that under linux and im pretty sure that the binarys should work under linux, but windows isnt possible.
TearsDontFalls said:
Rom developers without device? Okay, it might be possible to do that under linux and im pretty sure that the binarys should work under linux, but windows isnt possible.
Click to expand...
Click to collapse
TommyTomatoes had something going on maybe you could borrow his script and improve on it or work together.
Sent from my powered Shooter E3D with Infection of AnthraX Jamz by wolf.
.Elite_The_King. said:
TommyTomatoes had something going on maybe you could borrow his script and improve on it or work together.
Sent from my powered Shooter E3D with Infection of AnthraX Jamz by wolf.
Click to expand...
Click to collapse
Sorry, i dont understood anything. Whats tommytomatoes script about?

[Script]New "Low Storage" Notification fix

Here we go !
Starting point is from CyanogenMod Captivate forum and some improvement were added here and there. Credits are recalled and came from this thread : [SCRIPT][CM7/9] /datadata/ low storage notification lagless fix - init.d script.
Background :
CyanogenMod (CM) based roms on our I9000 (and brothers) uses a small and fast flash chip to store application datas. This make the rom smooth and sweet ... This chip is mounted as /datadata and is about 170Mo.
With a lot of apps (or apps storing lots of stuff there) we faced a "Low storage" notification and our phone becomes laggy.
The first idea was to move this /datadata to /data (about 2Go) whose have a lot of free space. This works but the phone became laggy.
Then some others devs think about moving back to /datadata frequently accessed files (sqlite database and xml preferences files). First as scripts part then as flashed zip file. The phone becames smoother but not like a "vanilla" CM rom. This is the 1103 datafix in thread linked previously.
An xda user suggested to let on /data only library files and move back all other stuff to /datadata. These lib files are only accessed (when used by users) in read mode so the ext4 /data partition is efficient in this way and phone becomes smoother as "vanilla" CM roms. This is the 2903 datafix I made and post in previously linked xda thread.
But with this latest datafix, applications cache are stored in /datadata and recent Google apps (like Chrome) fulfilled it quickly : the "Low storage" notification is back !
Next solution :
Like 2903 datafix, only libraries ("lib" and "libs" subdirectories) stay on /data by default.
BUT unlike it you could choose which apps will also store their cache in /data. And this is REVERSIBLE : if one of selected app becomes laggy you could move back its cache onto /datadata
How to use it :
Make a nandroid backup
Just grab the zip file and flash it in recovery
At reboot, it will revert previous datafix (if there is one) and apply this one. So first boot could take more time (5 minutes max) than "normal" boot.
It also creates a "datafix" directory in /data/local with two files : "move_cache.txt" and "skip_apps.txt".
Just edit the first file (root needed) to add apps whose cache will go back to /data at next boot :
Code:
com.android.chrome
org.mozilla.firefox_beta
will put Google Chrome and Firefox Beta cache on /data. All others apps cache will go to /datadata.
If you want Firefox cache to go back on /datadata, just remove its line in the file and reboot.
In the "skip_apps.txt" file, just put apps you want to fully stay on /data/data. If apps was previously moved to /datadata by the datafix it won't apply; you have to add its name in "skip_apps.txt" file after installing it and before rebooting the phone. On the other hand, if you remove the apps name from "skip_apps.txt" file all but libraries will be moved to /datadata at next reboot.
Requirements :
Samsung Galaxy S based phone (GT-I9000, Vibrant, Fascinate, Captivate, etc.)
CM based rom (including CM7/9, MIUI and maybe ao(k)sp etc.)
Kernel that supports init.d scripts (latest CM9 nightly support it)
Busybox installed
A fresh nandroid backup
FAQ :
Q : There is 2 zip files, who's the good one ?
A : It depends of your kernel. With stock CM9 kernel use the Datafix20120521. With others like Devil etc., use the SDatafi20120521. The only difference is between the script name : 30datafix or S30datafix. Some recent kernels add a "S" before the init.d script name. Why ? No idea !!!
Q : Will this wipe my phone ?
A : No, it should not delete any data on your phone. But as it's not tested with every phone xda user have it's a good idea to have a fresh nandroid backup
Q : Do I need to reflash the zip file ? When ?
A : The datafix will be erased each time you upgrade/change your rom (including Nightly Builds) or your kernel (many of them "clean" the init.d directory). But if you don't install lots of apps after upgrading you don't really need to install the datafix again : without full wipe, a nandroid restore or an Odin full installation te datafix will stay on.
Q : Is there something to do when backuping my apps ?
A : Nandroid should work without specific option; Titanium Backup users should tick the Preferences > Troubleshooting settings > Follow all symbolic links option. I don't use other backup apps ...
Q : Can I use this on Samsung based rom ?
A : No ! And it's irrelevant cause Samsung roms don't have the "Low storage" issue !
Q : I'm using Slim ICS rom, do I need some busybox fixer etc. ?
A : I don't use SlimICS but all commands in my script call busybox directly so it should work. Let me know if there is still a problem with this !
Q : Why do you change naming of the zip file ?
A : Cause I want ! And it's listed directly in chronological order in terminal (or recovery) in this way.
Q : How can I know which apps use most space on /datadata :
A : Just run as root (in adb or terminal) :
Code:
du -s /datadata/*|sort -n
Downloads :
Box : https://www.box.com/s/6783d86f3840c02db911
Dropbox : https://www.dropbox.com/sh/rwibb0r0fhhyvh6/KaoBoC1BtB
Please don't mirror this.
I put the shell script in attachement here. Just grab it on your sdcard, remove the ".txt" extension and you could run it using Scripter or equivalent (root needed). Please post here if something gone wrong when using it.
Donations :
As I spent some time (and coffee) for this (and april datafix for those following previous xda thread) I think about a donation button. Give me your advise on that please ...
Link for donations
But just a little "Thanks, it works great !" would be great !
Reserved.
(ten chars)
Thanks for this. I kept wondering why I would run out of storage all the time. Well, now I know and you fixed it!
Sent from my GT-P7510 using XDA Premium HD app
awesome using chrome was causing me FC every once in a while
Hi,
Nice work.
Something I don't understand - how should I choose which apps I have their cache go to the /data partition? Apps that I frequently access? Apps that take a lot of space?
Wendigogo I've previously had an old datafix posted that moved all the files to /data/data and I've only had issues when Chrome filled the cache so Ive ran your script but now /datadata is filled and everything is FC Chrome's cache seems to be in /data/data though
any ideas?
Er.. is my datadata folder meant to be empty after applying this patch ? Phone is definitely slower.. forgot to do a nandroid too argh.
As per the other fixes.. doubt this is reversible ?
Sent from my GT-I9000 using Tapatalk 2
Wendigogo said:
Q : Can I use this on Samsung based rom ?
A : No ! And it's irrelevant cause Samsung roms don't have the "Low storage" issue !
Click to expand...
Click to collapse
Just a stupid question.
Why Samsung Roms dont need it ?
How works the solution of Samsung?
Thanks!
Very good script. Whats your future plans for this?
It would be really good if this was made into an app that let u select the apps cache you want on /data or /datadata rather than having to edit a text document.
Sent from my GT-I9000 using XDA
I've flashed this and now my /datadata partition is empty...
Enviado desde mi GT-I9000 usando Tapatalk 2
Something went wrong for me too
I wasn't previously using datafix,flashed it and checked my /datadata a very little time after reboot that was 128Mb free.Seemed a lot of free space comparing to the only-libs 2903 version.For the same initial configuration/apps installed i usually get about 88Mb of free space after flashing 2903.
Just a little while later i noticed a datadata folder in /datadata and free space was now 66Mb...I reboot and /datadata ended full.
Note:Users of Devil or MnIcs get after each boot a user.log (+ a .bak of the previous boot) that describe among others things init.d process,it could help to paste it here
Seems to work for me... but can someone tell me what the following folders are for and if I need them or if they're remnants of some past datafix?
/data/data.new
/data/data2
Thanks.
TheeWolf said:
Hi,
Nice work.
Something I don't understand - how should I choose which apps I have their cache go to the /data partition? Apps that I frequently access? Apps that take a lot of space?
Click to expand...
Click to collapse
None would be the best choice.
Moving their cache out of /datadata can potentially make them laggy. However, some apps have massive caches (Flipboard, Chrome, Google Music, etc.); as such, these apps are unusable unless you do move their cache (or unless you have very few apps installed).
I wonder why so many people are having troubles. I'll give the script a try soon. It looks good! Thanks for your monumental contribution, Wendigogo.
Wendigogo said:
Donations :
As I spent some time (and coffee) for this (and april datafix for those following previous xda thread) I think about a donation button. Give me your advise on that please ...
But just a little "Thanks, it works great !" would be great !
Click to expand...
Click to collapse
My vote is that you SHOULD put up a donation button, I am happy to contribute to your coffee fund (so long as you don't drink Starbuck's ;-) But since you're French, you surely have better taste than that!)
After upgrade to ver.0521 from 0329, I have the following problems:
1. There is a data.new folder, I wonder if it can be removed.
2. new installed apps haven't been moved to datadata
3. removed apps haven't been removed from datadata
I'm on cm9 0520 with devil 0.56 kernel, busybox updated to 1.20.
By the way, the scripts run well under scripts manager.
curl66 said:
Just a stupid question.
Why Samsung Roms dont need it ?
How works the solution of Samsung?
Thanks!
Click to expand...
Click to collapse
I GUESS it is easy to manage across all devices for the cm team without having to write specific code for different devices.
basily said:
Seems to work for me... but can someone tell me what the following folders are for and if I need them or if they're remnants of some past datafix?
/data/data.new
/data/data2
Thanks.
Click to expand...
Click to collapse
+1. Why do we need those folders to be kept in data? But when I tried to delete data.new I got FC's for all of my apps. Seems that data.new has replaced data/data folder.
And one more. I wanted to move com.android.email to data/data completely and edited skip_apps.txt. But when I check datadata folder with Disk Usage app - com.android.email still remains there.
What have I done wrong?
Sent from my SGH-I897 using xda premium
I find that 0521 version uses busybox for copy /move /mkdir operation, which is different from old versions.
After 3 reboots /datadata is still empty...
Enviado desde mi GT-I9000 usando Tapatalk 2

[Q] Android is upgrading every startup

Everytime I turned on my phone or if it rebooted, I always get:
Android is upgrading
-----------------------------
Starting Apps.
I am on stock ROM, TWRP recovery, Faux kernel. I think this happens after I wiped dalvik/cache in the recovery. Any idea how to stop it? It's nothing very major though as it only takes a few seconds.
are you using any sound/volume mods? or any other flashable mods? i think awesomebeats dies this, at least others have complained about it wiping the dalvik after every reboot.
cdon2109 said:
Everytime I turned on my phone or if it rebooted, I always get:
Android is upgrading
-----------------------------
Starting Apps.
I am on stock ROM, TWRP recovery, Faux kernel. I think this happens after I wiped dalvik/cache in the recovery. Any idea how to stop it? It's nothing very major though as it only takes a few seconds.
Click to expand...
Click to collapse
That's normal if you've wiped the Dalvik cache, and no you can't stop it.
Edit: so wait, this is happening even when you reboot normally after not wiping any caches or flashing a kernel?
CMNein said:
That's normal if you've wiped the Dalvik cache, and no you can't stop it.
Edit: so wait, this is happening even when you reboot normally after not wiping any caches or flashing a kernel?
Click to expand...
Click to collapse
yes.. and it updates apps after delvic wipe.. but in my case whenever i restart I see the "Android is upgrading" box for about 3-5 sec.. no update app progress bar.. and when I wipe delvic this upgrading apps takes like a min or so with my 150+ apps.. but this "Android is upgrading" dialogue box appears only for 3-5 sec..
I am using PA 3.99 with franco kernel.. once booted every thing inside is running smoothly and no fc's...
Same here. No odex files in app folder. No wipe, no cache clearing. Plain reboot. And Android is upgrading message on every boot. (Starting apps)
No optimizing apps message though.
Sent from my Nexus 4
Wouldn't it be related to "zipalign apk on each boot" parameter ? or an other init script put in place by a dirty flash (no /system or /data format) or a kernel... ?
Seems likely. Could you explain in detail kindly?
Sent from my Nexus 4
anandbibek said:
Seems likely. Could you explain in detail kindly?
Sent from my Nexus 4
Click to expand...
Click to collapse
Have a look in the files located in this folder for example (maybe there's another location for init scripts) :
- /system/etc/init.d/
- /system/addon.d/
and open each one, to see what are the tasks contained
benbugohit said:
Have a look in the files located in this folder for example (maybe there's another location for init scripts) :
- /system/etc/init.d/
- /system/addon.d/
and open each one, to see what are the tasks contained
Click to expand...
Click to collapse
Removed the scripts present in init.d folder and then booted with empty folder, but message still present.
Checked the addon.d folder, but those scripts are only for backing up gapps etc.
Not sure where else to try. Please advise.
Thanks.
anandbibek said:
Removed the scripts present in init.d folder and then booted with empty folder, but message still present.
Checked the addon.d folder, but those scripts are only for backing up gapps etc.
Not sure where else to try. Please advise.
Thanks.
Click to expand...
Click to collapse
Did you try to re-flash your (stock) ROM (and the kernel after 2 reboots) with wiping only /cache and dalvik-cache ? with latest 2.6.2.0 TWRP ?
happens to me too
Sent from my Nexus 4
I've seen people get this with stuff like V6 Supercharger by Zepplinrox and similar scripts.
Edit : @Dungeon47: thanks for this information that users can't provide...
HeyyMyNameIs said:
happens to me too
Sent from my Nexus 4
Click to expand...
Click to collapse
A pity that so much details are missing : what did you do before it happened ?
What's your set up ? rom, kernel ? after having update your rom ? kernel ? apps ? which versions ?
Did you try to revert to a clean install after having backup up your apps+datas ?
benbugohit said:
Edit : @Dungeon47: thanks for this information that users can't provide...
A pity that so much details are missing : what did you do before it happened ?
What's your set up ? rom, kernel ? after having update your rom ? kernel ? apps ? which versions ?
Did you try to revert to a clean install after having backup up your apps+datas ?
Click to expand...
Click to collapse
im sorry, just wanted the OP to know that he is not the only one with this "problem" by the way im rooted stock rom and kernel, some apps start up when i boot like nova launcher, lucky patcher sidebar and udn. But i am not looking for a fix for this as this does not take that long and i just said that to let the OP know that he is not alone with this "problem"
Sent from my Nexus 4
Ok guys,
Here's the solution. Don't flame me for talking about unholy stuffs. I'm posting this only because it is the cause of the problem.
If you are using LP or such tools to create .odex files of some app in /app folder. It won't cause any boot msg.
But after you dirty flash a ROM, that .odex files somehow gets backdated and causes the UPGRADING msg.
Fix is, delete the odex files, and re create them if needed. Once after every dirty flash.
Sent from my Nexus 4
I have found fix for this error, it is mainly due to odex files which are created by lucky patcher so deleting these files using lucky patcher itself will surely remove this error with 50 percent success rate. Here's the fix; open lucky patcher, there in lower left section you can see Toolbox, click that Toolbox then select 4th last option i.e Remove all odex files.Thats it android will reboot on itself and vola no android is upgrading. .
Check out attachment for help.
:good:Hits Thanks If I helped u:good:

Categories

Resources