This CWM script will reodex any custom ROM.
With BOOTCLASSPATH edit in dexo.sh it can work on any ROM and phone.
Reodexing gives some people perceivable speed up. And it frees data partition from system dalvik cache. So dalvik-cache rebuild is also accelerated.
I ran it with stock kernel (root injected). And had problems with running it on any custom kernel.
http://galaxytree.net/bravomail/universalOdex.zip
Also a good example of output from shell script into CWM console.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Great to see new tweaks. For me, flashing this mod went well, but it put me in an endless boot loop. I'm using a Cappy with a Jelly Bean custom rom. I know it's supposed to be "universal", but maybe some ROMs are not compatible. Any suggestions? Hope I can get it to work.
Using the android sdk you will want to try DDMS.bat and see what spew you get while the phone boot loops.
Sounds similar to what I used for all my roms.
Here are some tips I've picked up along my dev experience:
1. Make sure you have at least 50+ mb space free in /system. Else it may not complete and your /system/app and /system/framework folders may not work properly, thus causing many android core processes to force close and rendering your device unusable. If this happens, wipe, reinstall the rom, and delete more things using Root Explorer from /system. Such as unnecessary ringtones/notification sounds in /system/media and unnecessary system apps like *WallpaperChoosers.apk, stock launchers if you aren't using them, and other stuff you don't need. If you aren't sure what it is, don't delete it because it might be important for the use of your phone.
2. Also, it doesn't work on some roms, I'm not exactly sure why. But make sure you read the script's logs to ensure there are no errors. If you are getting mounting errors, make sure your phones /system partition is mounted as r/w (root explorer can do this). If it still doesn't work, try rebooting into recovery and mounting /system in mounts and storage and then try running the script.
3. Just because your phone is now odexed doesn't mean its gonna be a ton faster. In my experience, I found it to be a slight improvement from the original. In most cases it was unnoticable, so don't expect too much.
Cheers!
Sent from my SGH-I897 using xda app-developers app
Holy cow amigo. You started a bunch of threads. A little credit to original author would have been nice if you took the work and revamped it. All credit cause you didn't.
Sharing is caring. But I suggest you put where you got the script, etc, as well as the original author.
edit. upon further review, i see that you did change some things, mainly removing the original header (which is absolutely lame) and made it work with CWM. Also, you set a static BOOTCLASSPATH - which defeats the purpose of this script!!
Let me check my pms and emails. Someone contacted me a long time ago asking me review to their changes. Maybe it was you lol.
Sent from my EVO using Tapatalk 2
Related
that is, until now! I'm currently running Fresh rom, latest version with Swype built in, so I was having trouble installing my beta swype (didn't care, stock swype works fine anyway, didn't look into it). I wanted to share what I did in the event that it helps someone at some point.
Anyway, I was having TONS of trouble getting the Metamorph themes of swype to work, as it tells you to look for the swype app here:
data/app/com.swype.android.inputmethod.apk
But I simply did NOT have my swype installed there! I tried several things, took a while but here's the method that worked for me, if anyone else is having similar trouble but is too scared to ask about it (being that the given directions make it seem so simple, but you feel dumb when you can't freakin' figure it out!):
1. Go into root explorer, make sure you're in "RW" mode (click "mount RW" at the top if you aren't), and find system/app/ and find "swype.apk," this is where my swype was originally stored
2. Select "swype.apk" and choose "MOVE," and move it to anywhere that you'll remember, somewhere arbitrary that isn't a folder called "app" (this step is in case you screw something up). This is truly a redundant/paranoid step that I chose to do to make SURE that I have the pure, uncopied, original app somewhere safe.
3. Choose COPY and copy the app. Paste this app BACK into system/app.
4. RENAME this app exactly: com.swype.android.inputmethod.apk
5. REBOOT. Make sure swype is still working, it should be. If not, you named something improperly or put something in the wrong place.
NOW you can follow the pre-existing metamorph directions (already available elsewhere, several threads on here). I don't know who has that com.swype.android.inputmethod.apk in their data/app folder, but I never did. Confused the hell out of me. Now my swype looks DOPE, I'm using some naked version, I believe it's the version from Myn's warm, now in my Flipz Fresh rom! Loving it!
Hope this helps someone Photo attached, hopefully img codes work on this site (forgive newbieness plz)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
good tips, I would also like to note that people that installed swype via apks downloaded elsewhere and sideloaded will have the apk named as your morph listed in the proper position. The reason why it was named swype.apk in system/apps is because since it was included in the Fresh build, he decided to make it a system app. Placing it in system/app iirc prevents it from being subject to market checks. I had to go the other way around cuz i modified a morph and swype would break after i applied it, so i had to apply it to the com.android version then rename and move it in to system/app
....oh the many versions of swype floating out there.
Hi, I'm not sure if this is specifically a Nexus question or a general Android question but I have both a Nexus 4 and Nexus 7 and have observed the same behaviour on both
I have posted in the General section with nor response so now I'm posting on specific forums
Basically what's happening is when I delete stuff from the SDcard the free space seems to be allocated to the system partition WTF?!
Take a look at the screenshots I'm going to try a couple of things - one of the suggested things was clearing the data in the Google Services Framework data >> Settings - Apps - All - Google Services Framework - Clear Data - which freed up some of it but not all, the next thing from here for me would be to flash the factory images again and see what I start out with
Both devices are on CM10.1 if that helps, is anyone else is having the same issue??
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The discussion on Google+ http://goo.gl/lNyLW
Ok so this is my partition sizes now after flashing the factory images back onto my nexus 7. No where near 5GB anyone have any idea what's causing this?
I am guessing you have a couple of CWM back up? Maybe 3-4 of them? Maybe you tried to delete some of them?
Buggy CWM Recovery. Especially if you still hang on to the older versions. Mostly because the way CWM save the backup files.
KyraOfFire said:
I am guessing you have a couple of CWM back up? Maybe 3-4 of them? Maybe you tried to delete some of them?
Buggy CWM Recovery. Especially if you still hang on to the older versions. Mostly because the way CWM save the backup files.
Click to expand...
Click to collapse
I just use TiBU and DataSync now, stopped doing nandroids a while back now
Sent from my Nexus 7 using Tapatalk 2
It's not "system data" for sure. It's some apps with root permission saving its file to locations it shouldn't be doing.
Some how l still think it is CWM, even as you stopped using it in a distance past (which is like 1-2 months ago). I recommend flashing newest CWM and see if there're still old back up files.
If you still can't find anything, try this
bassmadrigal said:
If you are rooted and have adb set up on your computer, you can find out what folders are using the most space by using the commands below, then change into that directory and run the command again.
Code:
adb
su
cd /
du -hd 1
--find the largest folder and change directory (cd) into it - if you find you no longer want to continue in the folder you are in, you can cd .. to get to the previous folder or cd / to get back to the root of the filesystem--
Code:
cd large_folder
du -hd 1
rinse
repeat
????
profit
This will allow you to find what folders are using the most space and can eventually lead you to any large files and can then let you find out if you can delete them or if you need to keep them.
Click to expand...
Click to collapse
isnt this what they were saying was the reason for no SD card and use of MTP ?; basically if i recall correctly the nexus devices do not truly assign partitions instead there is a storage 'pool' that anything can use dynamically.
We got tired of seeing OEMs include many GB of internal storage for music, while users were still running out of space for apps and data. This approach lets us merge everything on one volume, which is way better.
-- Dan Morrill, Android engineer at Google
Click to expand...
Click to collapse
so i guess there is no partitions its just all 1 volume.
source: http://www.androidcentral.com/why-nexus-devices-have-no-sd-card
noobdeagle said:
isnt this what they were saying was the reason for no SD card and use of MTP ?; basically if i recall correctly the nexus devices do not truly assign partitions instead there is a storage 'pool' that anything can use dynamically.
so i guess there is no partitions its just all 1 volume.
source: http://www.androidcentral.com/why-nexus-devices-have-no-sd-card
Click to expand...
Click to collapse
I wish that was the case but it not, the space goes to the system partition and I cant access it on the sdcard
I spent the last 3 years on an iphone so I'm a bit rusty as far as Android. The last time I rooted an Android, it had a regular sd card. Since this phone mounts its files as basically a virtual sdcard, I'm wondering if flashing a rom will wipe all that data as well. In other words, should I back everything up first. Maybe that's a dumb question, I should back up no matter what....but I'm still curious.
Thanks!
Hi jedthehumanoid,
Your thread was moved from the development section to Q&A. Please do not post questions in the development section in future. I have also edited your post removing the first paragraph which asks for a "best" ROM. There is no best ROM/Kernel, head over to the development section and try them out to see which "best" suits you.
jedthehumanoid said:
I spent the last 3 years on an iphone so I'm a bit rusty as far as Android. The last time I rooted an Android, it had a regular sd card. Since this phone mounts its files as basically a virtual sdcard, I'm wondering if flashing a rom will wipe all that data as well. In other words, should I back everything up first. Maybe that's a dumb question, I should back up no matter what....but I'm still curious.
Thanks!
Click to expand...
Click to collapse
Wiping data/factory reset (which is what is required when flashing roms) will not erase your sd card contents. In other words, pictures, downloads, and stuff like that will remain. But you should always do a nandroid backup of your system so you can return to a working state should something get borked. Your apps will get erased. Consider using the Titanium Backup app to backup those.
Do not push this button because that WILL delete your SD card contents. Simply swipe the slider to wipe data/factory reset.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my VS980 4G using xda app-developers app
Nexus 4, rooted, CM, gravity box.
I want to update to CM11 M6 but I can't get my phone to make a nandroid (using ClockworkMod) because I keep getting an error basically saying I have insufficient storage. These are the steps I take:
Backup using titanium
Go into recovery
Backup using ClockworkMod
It's at this point where it lists backing up the system, but then it gets hung up backing up the data card. I have tried to go back in and delete everything I could possibly think of (w/out wiping the whole thing) but to no avail. I have cleared my cashe and even deleted the titanium backup which was around 1gb and still no dice.
Attached are some screenshots that may be helpful. There has to be something hidden but I just don't know where to look for it. I tried to install DiskUsage but I can't since I don't have enough room. How do I clear up this phone?! Any help would be much appreciated!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
brahmaboba said:
Nexus 4, rooted, CM, gravity box.
I want to update to CM11 M6 but I can't get my phone to make a nandroid (using ClockworkMod) because I keep getting an error basically saying I have insufficient storage. These are the steps I take:
Backup using titanium
Go into recovery
Backup using ClockworkMod
It's at this point where it lists backing up the system, but then it gets hung up backing up the data card. I have tried to go back in and delete everything I could possibly think of (w/out wiping the whole thing) but to no avail. I have cleared my cashe and even deleted the titanium backup which was around 1gb and still no dice.
Attached are some screenshots that may be helpful. There has to be something hidden but I just don't know where to look for it. I tried to install DiskUsage but I can't since I don't have enough room. How do I clear up this phone?! Any help would be much appreciated!!
View attachment 2743357
View attachment 2743358
View attachment 2743359
Click to expand...
Click to collapse
You need at least 3GB of free space to make CWM able to create backup... but you won't find that backup in /sdcard/cloclworkmod folder it's in /storage/emulated/blablabla or something like that and you won't be able to get access there from your computer
parkourz said:
You need at least 3GB of free space to make CWM able to create backup... but you won't find that backup in /sdcard/cloclworkmod folder it's in /storage/emulated/blablabla or something like that and you won't be able to get access there from your computer
Click to expand...
Click to collapse
Ok, I'm not sure I understand. I'm in the emulated folder and went into the clockworkmod folder and keep descending and come to just 1 file that is just 7.63mb called "recovery-clockwork-....img". This can't be the solution, can it?
try in /storage/emulated/legacy/clockworkmod... or flash TWRP instead of CWM... if both won't help then you can try to make a backup with toolkit for PC, for example Wug's toolkit
Twrp is showing the backup size and a poseibility to compress it. You probably have much apps or there is some .something fokder what is using much or much cache just like on an desktop. Many things can cause it.
You may want to checkout what is using so much by deleting old folders from old apps or old things yiu dint use anymore.
Verstuurd vanaf mijn Nexus 4 met Tapatalk
My first smartphone was the Samsung Galaxy S2. And I was shocked how Samsung "destroys" their own device by adding - sorry for the harsh words - idiotic and useless apps.
Samsung is the main reason why many people (most apple users) are mocking Android.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Samsung is the worst manufacturer in adding useless apps. Who needs 23 hubs for social, fitness, books, games, blablabla and 3 app stores? And 2 music players?
Nobody, I guess... That's why I deleted the useless apps from /app and /priv-app after every update and that was awful.
Some weeks ago I made this flashable zip which allows me to delete all unnecessary (at least for me!!!) apps with one flash. I made it for personal use with my OPO and BlissPop. I don't need NFC or CellBroadcastReceiver. Never.
Every ROM is different. Every ROM has same apps in /system but also different ones. That's why I'm sharing a template for the flashable zip, not a ready-2-flash-zip.
Adaptive Junk Remover
1. download the provided zip file for KK / L
2. open it with WinRAR (the best program)
3. browse to \META-INF\com\google\android
4. open the file called updater-script with Notepad++ (also the best program)
5. a) you will see this (for a ROM based on Android 5.0.x // CM12), the delete_recursive tag is necessary because L stores apps in subfolders
b) you will see this (for a ROM based on Android 4.4.x // CM11)
6. you have to add the apps you want to remove, have a look inside your /app and /priv-app folder
7. a) enter the folder name (CM12): delete_recursive("/system/app/FOLDER-NAME"); or delete_recursive("/system/priv-app/FOLDER-NAME");
b) enter the app name (CM11): delete("/system/app/APP-NAME.apk"); or delete("/system/priv-app/APP-NAME.apk");
maybe you have also .odex files, delete them with delete("/system/app/APP-NAME.odex");
8. if you've finished save the file, WinRAR asks to update the zip-file, affirm that (!!!IMPORTANT!!!)
9. flash the zip in your custom recovery
!!!WITHOUT GUARANTEE!!!
delete only apps you know they're safe to remove (link, link, link, etc.)
be aware that some apps share their libs, etc.
if anything goes wrong, for example FCs, simply reflash (dirty) your ROM and delete the FC'ed app from the updater-script of the Junk Remover
if you have questions, feel free to ask
my updater-script for my OPO running BlissPop looks like this, using it after every update, no FC, no other issue
Code:
delete_recursive("/system/app/AntHalService");
delete_recursive("/system/app/BasicDreams");
delete_recursive("/system/app/CMWallpapers");
delete_recursive("/system/app/Eleven");
delete_recursive("/system/app/Email");
delete_recursive("/system/app/FaceLock");
delete_recursive("/system/app/Galaxy4");
delete_recursive("/system/app/HoloSpiralWallpaper");
delete_recursive("/system/app/HTMLViewer");
delete_recursive("/system/app/LiveWallpapers");
delete_recursive("/system/app/LiveWallpapersPicker");
delete_recursive("/system/app/MonthCalendarWidget");
delete_recursive("/system/app/NfcNci");
delete_recursive("/system/app/NoiseField");
delete_recursive("/system/app/OpenCamera");
delete_recursive("/system/app/PhaseBeam");
delete_recursive("/system/app/PhotoPhase");
delete_recursive("/system/app/PhotoTable");
delete_recursive("/system/app/PicoTts");
delete_recursive("/system/tts");
delete_recursive("/system/app/PrintSpooler");
delete_recursive("/system/app/Stk");
delete_recursive("/system/app/Terminal");
delete_recursive("/system/app/VisualizationWallpapers");
delete_recursive("/system/app/WhisperPush");
delete_recursive("/system/priv-app/CellBroadcastReceiver");
delete_recursive("/system/priv-app/CMAccount");
delete_recursive("/system/priv-app/DeviceControl");
delete_recursive("/system/priv-app/Mms");
delete_recursive("/system/priv-app/MmsService");
delete_recursive("/system/priv-app/ScreenRecorder");
delete_recursive("/system/priv-app/Tag");
delete_recursive("/system/priv-app/Velvet");
delete_recursive("/system/priv-app/VoiceDialer");
Nice. Thanks for sharing. You did a great job explaining how to go about this and the script/zip works great. Thanks for taking the time.
oak said:
Nice. Thanks for sharing. You did a great job explaining how to go about this and the script/zip works great. Thanks for taking the time.
Click to expand...
Click to collapse
Thanks for the feedback!
Will need to make one for myself.
Sent from my Nexus 6 using Tapatalk
This worked like a charm. Thanks.