Odexer Script [tested on echoe v2] - Galaxy Note 4 Q&A, Help & Troubleshooting

So i was curious to see if I could re-odex my favorite ROM echoe v2. It didn't seem right to have 1.5GB of wasted space on my system partition and all that extra space used by the dalvik cache.
To my pleasant surprise this script/mod works perfectly!!
http://forum.xda-developers.com/showthread.php?t=2527268

Flash the latest version (ARM zip) type dexo -h into terminal emulator to get instructions

Related

[GUIDE]Moving Dalvik-Cache to /Cache -Viewpad 7 Tested

Moving Dalvik-Cache to /cache
Notes:
If you want to move the Dalvik-Cache to /cache you will needed to the following:
1. A Viewpad7 or another branded device (such as: Cherry Mobile Superion, Commtiva Linx N700, Olivepad VT-100, Spice MI700, and Camangi FM600..........)
2. Already got the root permission (For running a set of command)
3. ADB or Terminal Emulator (For running the command)
4. Root Explorer(Optional - if you have a lot of patience for typing)
Steps
1. Build a file call "install-recovery.sh" into the /etc (Path: /etc/install-recovery.sh) With 711 Permission. (Or you can build it in your computer and put it in the sdcard then copy it using Root Explorer.
Code:
#!/system/bin/sh
chmod 771 /cache
2. Move your dalvik-cache and Create Symbolic Link
(You may experience some program FC (Force Close), but never mind)
Code:
mv /data/dalvik-cache /cache/dalvik-cache
ln -s /cache/dalvik-cache /data/dalvik-cache
You've done the action!
If you got a LOT of FC after move the dalvik-cache.
Please go to /(Root) to check the permission of the /cache it may be become 770.
Remarks:
I think it is able to do the same things to a SD Partition or A2SD.
However I have try it. (Because I still haven't install the Custom Recovery.)
If you have any problems. Please leave a message here.
If you want to forward this message. Please provide the source URL in your message.
DISCLAIMER: I cannot be held liable for anything you do to your Viewpad 7 (or equivalent device).
[DISCLAIMER Copy from lakehousetech thanks for your DISCLAIMER.]
Will this still works, after reboot ?
Yes It will be. The install-recovery.sh scripts will be automatically run everytime you boot up the viewpad 7
i found a more efficient method, moving dalvik chache to sd card partitions... using rom manager and link2sd..
wazzzuuuup2 said:
i found a more efficient method, moving dalvik chache to sd card partitions... using rom manager and link2sd..
Click to expand...
Click to collapse
Hah same here And it works great
Could either of you guys who are using ROM Manager/Link2SD provide instructions for how you set that up? Thanks!
Edit, a few days later. Disregard, figured it out on my own. For anyone else interested...
If you're one a Windows based machine, download this, and use it to create an ext2 partition on your SD card. Personally, I copied the contents of the SD over to my computer before I did so, then copied them back after I was done. With link2sd, you can just adjust all the "user" apps to link to the SD, and set it up so it does likewise on install of new apps. Very easy.

[Q] Insufficient Storage :-/ What to do

Hey Guys whenever i download any apps from market i get the error Install Unsuccessful .... Insufficient storage ...
What to do :-/
Rom Hell Fire v7.2
UOT Kitchen Flashed 1
Overclocked 729 Mhz
Wildfire
delete apps or move some to SD card? If your memory is full it's logical you can't add apps
Sounds to me that a2sd is not properly set up.
I been having some issues running out of storage internaly. and after some fiddeling around with a2sd it was ok. And how to do it is posted in this rom's explanation on how to install it.
ruymanca said:
The ROM takes about 10 minutes to start for the first time since the beginning makes for a facility, I recommend formatting the memory trageta do a clean install or possibly delete the folders: ANDROID, LOST DIR ANDROID as these folders SECURE conflicts created by data from the old roms
I recommend making partitions ie swap64mb ext512 and the rest as fat32 mind too expensive or necessarily recommend formatting the card will memory or possibly delete the folders in the same android, haer all the wipes, the Rom takes a few minutes to make first start since being installed all the extras on the first boot takes 3 to 5 minutes, once this echo this start and made ​​previous settings obligation is to do a reboot for full functionality telefeno
Installation of the rom:
1. reboot in recovery mode
2. we wipes all
3. selected to install update sip
4. restart the tlf
5. enter the terminal console and register the following:
his press enter
# a2sd cachesd or enter
the phone will reboot and have about 150 megs of free internal memory
Click to expand...
Click to collapse
nope dint workk :-/
Type "su" first (Without Quotes), then try the a2sd command.
Can u mention it Step by Step?
Hi all, i have same issue.
Yesterday i finally rootat my Wildfire and put Cyanogenmod 7.0.3.stable on it.
Its very nice!
BUT cant allways install apps from market. I have 87mb free on inside memory and 1,7gb in sdcard... So what is problem?
What i need to do? I can full wipe all my data from telefone if somone tell me how i can do this..
Can somone help?
Use dalvik wipe from xrecovery to clean ur phone data..
Sent from my U20i using XDA Premium App
try istalling darktremor a2sd script (need to be istalled from recovery if not already integrated into your rom) and download a2sdgui from market, it's a gui for the script mentioned earlier. into recovery you have to partition your sd card too (advanced) 1024mb ext and i suggest 64mb swap, then open the app I told you (a2sdgui) and move everything to ext, dalvik cache too.
I agree with the poster above.
if you have issues with a2sd, I recommend installing A2SDGUI from market. (I assume you already have darktremors a2sd script installed). I had darktremors script working fine, but after flashing a zip file, it was not working. So I installed the A2SDGUI from darktremor and fixed the script. Now it is working. Just search the market and install it. It is great. Now I have around 168 MB free after all the installed apps.
Hope this helps,
SOLUTION TO INSUFFICIENT STORAGE:
1. Use FROYO+ default apps2sd. It gives the option to force moving of 95% of the apps to sdcard. Even root is not necessary. You can move 95% of apps only after using the adb command "adb shell pm setInstallLocation 2". This command is not even needed in cm7. And this method uses the fat/fat32 partition of sdcard not the ext partition. Specifically apps will be installed to .android_secure folder in the root of sdcard.
2. This method includes creating ext partition on sdcard and using an app called "link2sd". This is a root only app. No scripts are needed. That app has option to even link individual apps to ext partition. Also links dalvik cache.
3. Creating ext + swap partition and using dtapps2sd script. Root is required. Also custom recovery is required for flashing the script. This might be the toughest one but it is pretty awesome. Moves apps , data, dalvik cache to ext partition. Everything can be done with commands from the terminal emulator. Or you can use the "a2sdgui" app for graphical user interface.
Sent from my HTC Wildfire using XDA App
The GUI for the script is much more user-friendly than emulator terminal. And you can undo everything you did if it's not as you tought faster than from terminal.
I am not aware of how Hell Fire works. But yes for Cyanogenmod 7 I know there is a issue downloading a large application from the market. It won't download. Problem is the space.
Fix for this is few steps:
1. In Terminal type the following commands.
2. su
3. mkdir /sdcard/download-cache
4. cd /cache
5. mv download download.bak
6. ln -s /sdcard/download-cache download
Done... Now Go to market and download anything you won't get such errors..
If It Helps Don't forget Press Thank Button.
Thanks a lot!
I just get my new sd-card( 16 Gb) and install darktremor a2sd script + a2sdgui.
Works just like it says!
No more thinking what program van install and what not....
Well I just installed the MOdd Again ... and I was done
Though i bought Samsung Galaxy ace as its my second time the Touch Panel doesn't work ... first in Tattoo and den in Wildfire
So ... Thanx a lot guys for Helping
DestinyAwaits said:
I am not aware of how Hell Fire works. But yes for Cyanogenmod 7 I know there is a issue downloading a large application from the market. It won't download. Problem is the space.
Fix for this is few steps:
1. In Terminal type the following commands.
2. su
3. mkdir /sdcard/download-cache
4. cd /cache
5. mv download download.bak
6. ln -s /sdcard/download-cache download
Done... Now Go to market and download anything you won't get such errors..
If It Helps Don't forget Press Thank Button.
Click to expand...
Click to collapse
Working perfectly fine for me Thanks!

[SCRIPT] Simple Dalvik Cache Cleaner

Dalvik cache cleaner is a shell script which clears the Dalvik cache that can be used with Android Terminal Emulator.
Root and busybox is required, if you don't know what root and/or busybox is then do NOT bother using the script.
Place the shell script in the main directory.
With Android Terminal Emulator type:
su
sh /sdcard/Dalvik_cache_cleaner.sh
The process should be close to instant depending on how much files you have in the directory.
Download: http://caftp.3owl.com/Shell_Scripts/Dalvik_cache_cleaner/Dalvik_cache_cleaner.sh
It worked
~~~~~~~~~~~~~~~~~~~~~
Samsung galaxy s2
Rom: Jedi knight 6
kernel: Jedi kernel 2
~~~~~~~~~~~~~~~~~~~~~
And you thought celebrities weren't smart! =P
Is this also intended to run on every boot, ie via init.d
thebrainkafka said:
Is this also intended to run on every boot, ie via init.d
Click to expand...
Click to collapse
No, that would also waste too much time on boot then on a normal boot due to rebuilding the cache everytime.
When you uninstall an application, usually a dalvik cache file is left over wasting space.
But if you want you can use ROM Toolbox from JRUMMY APPS INC. in the Play Store.
There is a Scripter in that application that you can use for such thing but the problem is that when I tryed using the su binary in the shell script, there is an issue where the su binary in the shell script will just cut off the other parts of the script and only the su binary so your answer would be fat chance unfortunately. :/
Sent from my Sony Tablet S using xda premium
Issue fixed.
Is this the same as wiping dv cache through recovery. Also what will be the script for wiping cache? Will it be rm /cache?
Thanx!
The-Droidster said:
Is this the same as wiping dv cache through recovery. Also what will be the script for wiping cache? Will it be rm /cache?
Thanx!
Click to expand...
Click to collapse
Yes and the code is:
#!/system/bin/sh
rm /data/dalvik-cache/*
reboot
Click to expand...
Click to collapse
I'm not sure if /cache/ is really dalvik cache, on devices with OTA update support the OTA zip's will be stored their with other stuff but if you want I can give you the code for that.
On linux (That also means android) use 'chmod 755' for the permissions for the shell script.
I have tried adding 'su' but that fails has the terminal only executes the su binary so the rest of the script does not get executed.
Using the 'echo' binary to say out what it is doing is a fail has the terminal does not go anywhere due to the echo binary getting executed but it will not display output in the terminal anyway making the script not being executable.
Sent from my Sony Tablet S using xda premium
Man I am full with ideas.
I can create a shell script to do:
[OTA]
Remove OTA Update zip in cache
Copy OTA Update zip from cache to SDCard
[Files and Folders]
Remove LOST.DIR (That is just a useless folder )
Wipe SD Card
Wipe Zip files (useful for custom roms on your SD which you don't want anymore)
Well soon I should get more ideas so the OTA shell scripts will not be possible unless I get a rootable device with OTA functionallity (I do have a Sony Tablet S but I forgot to root it but I went and installed the firmware update without noticing) so it would be the Nexus 4 I would test it on in March.
The thing is that more shell scripts I create more pages I have to add to my website to give information about it, how to use it and the download link which can take around 10 Minutes just by editing the code, make backup and then upload via FTP.
Sent from my Sony Tablet S using xda premium
New shell scripts available which should be available tomorrow and if not a few days.
They are:
Aptoide Cleaner - I found out that the xml files are adding numbers to their file extensions so I built a script which can remove that problem real fast.
Take Out Bin - Removes all or at least most useless directories like LOST.DIR and LazyList, they are just a few.
ExtSD and USB Cleaner - Same has 'Take Out Bin' but it does it on the external SD Card while on USB, LOST.DIR will be erased has that should not be there.
-OLDER PROJECTS-
Dalvik Cache Cleaner - Read the first post.
Andro.Shell.Crash - This is good for developers has this does crash/lag/freeze the OS which can help a root exploit get in, of course there is different effects depending on the hardware and software, if the device is fast and has good hardware then it is possible that it may just lag and/or freeze but for older devices with older hardware can just crash.
NOTICE: The older projects are already out and available to download on my website.
I will be creating a forum about these shell scripts but I am not sure about the Aptoide one for many reasons.
I know that I am not suppose to be talking about this on a thread which has a different purpose but yeah, just an update.
EDIT: I uploaded and programmed the webpages from my tablet using WM FTP Client and DroidEdit Pro so that was a bit too early but all well, new thread(s) should come in tomorrow depending what will happen tomorrow (It is 03:30AM so it would count has today anyway).
Anyone can please guide me how to remove this script???
Thank you in advance
romelcool said:
Anyone can please guide me how to remove this script???
Thank you in advance
Click to expand...
Click to collapse
You just delete the shell script, you only use it in the Terminal Emulator so once you run it, it will wipe the dalvik cache so it will not do such thing in every boot.
Sent from my Nexus 4
Man I think you should create a script which are:
Auto clean of cache || Optimize App || Kill Media Process
If it's possible to you to create script with the list below that will be awesome ! ..
what is the code for auto cleaning cache every 30 minutes ? ..
and also auto optimize application every 24 hours ? ..
kill media process ?
I hope you could help me with this .. Thanks !
CoolApps said:
Download: http://caftp.3owl.com/Shell_Scripts/Dalvik_cache_cleaner/Dalvik_cache_cleaner.sh
Click to expand...
Click to collapse
Gone!
jidanni said:
Gone!
Click to expand...
Click to collapse
That's because I switched sites between 2012 - 2015. This thread was very inactive so I missed it out and didn't update the link with the new one.
The current server I use for it has some files that I'm aware of that are more often downloaded by users which means I ended up removing the shell scripts along with others that don't need to be there. I made a backup of everything before, by the way.
I don't feel that there's a need restore the file and plus, this thread's old.
Because of the sudden bumps of a thread that currently serves no purpose, something should be done about it to avoid further confusions.
Sent from my Nexus 4 using Tapatalk
Can you please tell me what your script did.
I made my own script that does
su -c 'find /data/data/*/cache/* -delete'
This one line saved me from installing multi-megabyte apps that do the same thing.
Is there anything more I should add to my script?
Now I can finally have enough room so Google Play can update apps again!
Thread closed at OP's request.

unmount of /system failed no such volume with unable to mount '/usb-otg'

I am using Nexus 4 TWRP recovery v2.8.7.0 wiped everything (Dalvik Cache, System, Data, Internal Storage and Cache) while installing custom rom. Later I found nothing in SD card to install ROM. Then using adb push command (adb push chroma_mako-ota-2015-06-17.zip /sdcard/) places my rom to SD. After that when I flash ROM i get below errors:
unmount of /system failed; no such volume
updating partition details...
E:Unable to mount '/usb - otg'
What should I do now? I cant use my phone...pls help. :crying:
Woah, seems like your partition table is messed up. Can you try downloading the latest stock image and flashing that through fastboot? That should reset your table.
Sent from my Nexus 4 using XDA Free mobile app
The reason your zip file disappeared is that when you wiped your internal storage you wiped your sdcard.
If you don't know how to flash factory images this is a guide to do so: http://androidforums.com/threads/guide-how-to-flash-a-nexus-factory-image-manually.706533/
[SOLUTION] (for me atleast) I installed SU zip before installing rom. Steps i fllowed are
1. wipe everything (System,data dalvik etc etc etc )
2. Install SU zip
3. Install Rom (Now i dont get that error(unmount of /system failed no such volume.))
4. Install Gapps
5. restart to system
Enjoy
lsdhillon said:
[SOLUTION] (for me atleast) I installed SU zip before installing rom. Steps i fllowed are
1. wipe everything (System,data dalvik etc etc etc )
2. Install SU zip
3. Install Rom (Now i dont get that error(unmount of /system failed no such volume.))
4. Install Gapps
5. restart to system
Enjoy
Click to expand...
Click to collapse
This has fixed my problem, I really can't tell you how happy I am with a simple thank you, but thank you.
HopperPlaysMC said:
This has fixed my problem, I really can't tell you how happy I am with a simple thank you, but thank you.
Click to expand...
Click to collapse
Glad I could help you
lsdhillon said:
[SOLUTION] (for me atleast) I installed SU zip before installing rom. Steps i fllowed are
1. wipe everything (System,data dalvik etc etc etc )
2. Install SU zip
3. Install Rom (Now i dont get that error(unmount of /system failed no such volume.))
4. Install Gapps
5. restart to system
Enjoy
Click to expand...
Click to collapse
Thank you. After a year, it always help!:laugh:
Help
lsdhillon said:
[SOLUTION] (for me atleast) I installed SU zip before installing rom. Steps i fllowed are
1. wipe everything (System,data dalvik etc etc etc )
2. Install SU zip
3. Install Rom (Now i dont get that error(unmount of /system failed no such volume.))
4. Install Gapps
5. restart to system
Enjoy
Click to expand...
Click to collapse
Will it fix "mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at /system: No such file or directory
unmount of /system failed; no such volume"?
lsdhillon said:
[SOLUTION] (for me atleast) I installed SU zip before installing rom. Steps i fllowed are
1. wipe everything (System,data dalvik etc etc etc )
2. Install SU zip
3. Install Rom (Now i dont get that error(unmount of /system failed no such volume.))
4. Install Gapps
5. restart to system
Enjoy
Click to expand...
Click to collapse
Holy crap, THANK YOU! This worked for my Honor View 10 flashing Lineage OS 15.1! After a week without a phone! Thank you so much!
nop
lsdhillon said:
[SOLUTION] (for me atleast) I installed SU zip before installing rom. Steps i fllowed are
1. wipe everything (System,data dalvik etc etc etc )
2. Install SU zip
3. Install Rom (Now i dont get that error(unmount of /system failed no such volume.))
4. Install Gapps
5. restart to system
Enjoy
Click to expand...
Click to collapse
still not working

[Guide]Make your StockROM of S4 mini as flashable zip

This is for someone who want to share his modifications that made to /system to other s4 mini users (or) put the rom as backup instead of nandroid backup (or) want to tweak more by doing something new....
Requirements:-
1)StockROM running
2)Rooted and Busybox
3)Below attached zip
4)2.5GB internal storage
Procedure:-
-Extract the below given zip in Internal Storage i.e., /sdcard
-The folder should be like this /sdcard/apktool/
-Put your using boot.img in apktool folder i.e., as /sdcard/apktool/boot.img
-Install Apktool app that is in the extracted apktool folder
-Open Apktool app and choose create ROM in menu..
-After 10-25 mins, you will see a new folder is created in apktool folder i.e., /sdcard/apktool/rom/
-In that rom folder there will be a zip named Stock-flashable.zip
-That Stock-flashable.zip is recovery flashable zip
-Flash that in recovery
Requirements before flashing:-
-Make sure your internal storage free space should be ~1.5gb .....
-Dont flash the zip if you dont have ~1.5gb free in Internal Storage
-Wipe dalvik-cache, cache, data and system and Flash the rom and Enjoy!
Source:-
This method is taken from ApkTool for android v4.4
Many users for some reasons do not use custom ROMs and stick to STOCK ROM like me:fingers-crossed:
Here I am sharing some mods that I know......
0)Rooting your s4 mini
https://forum.xda-developers.com/galaxy-s4-mini/general/root-root-s4-mini-i9192-2018-t3780235
1)Boot Animation & Sound
https://forum.xda-developers.com/ga...pps/stock-boot-animation-zip-support-t3803125
2)SilviuMik's Transparent Accuweather
https://forum.xda-developers.com/ga...-transparent-accuweatherphone2013-jb-t2877271
3)SD write permission fix
https://www.thedroidway.com/fix-external-sd-card-write-permission-in-kitkat-lollipop/
4)Hosts to block ads
https://forum.xda-developers.com/showthread.php?t=2190753
5)Changing different sounds like touch and lockscreen
https://forum.xda-developers.com/ga...stock-i9192-serranodsdd-t3786610/post76735058
6)Wallpapers from different ROMs like MIUI
7)Xposed Modules
⇛Force 3 dots menu
⇛Gravity Box
⇛Enable Call Recording
⇛Installer Opt
⇛Phone Number Fix
⇛App Settings
⇛S5 settings ui
⇛XLockSecuritySlide
8)CSC tweaks
https://forum.xda-developers.com/ga...stock-i9192-serranodsdd-t3786610/post76437412
9)Custom Fonts
https://forum.xda-developers.com/galaxy-s4-mini/themes-apps/fonts-styles-4-mini-t3119509
10)Over and Under Clocking by using @alexax66 kernel
https://forum.xda-developers.com/ga...custom-touchwiz-kk4-4-2-kernel-i9190-t3179154
11)Some themed apps
-S Launcher for Galaxy Touchwiz
Similar thread like this:- https://forum.xda-developers.com/galaxy-s4-mini/general/s4-mini-duos-gt-i9192-t2930492
How to make flashable zip from system.img.ext4 file extracted from firmware zip.....?
Use the below simg2img binary to convert sparse image to raw image....
You can place the binary bin or xbin for direct usage..
Usage:-
Code:
simg2img <full path of system.img.ext4> <full path of target raw image>
Eg:-
Code:
simg2img /sdcard/Music/system.img.ext4 /sdcard/system.img
Converting will take 4 minutes....
Then flash it using updater-script without need of mounting..
Code:
package_extract_file("system.img", "/dev/block/platform/msm_sdcc.1/by-name/system");
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
Pack the system.img, boot.img and META-INF folder with above updater-script..
Wipe system, dalvik, cache, data, preload (if present)
Then flash the zip
I tested and works perfectly...
You can also flash the system.img with Fla**** by @osm0sis
ArchiKitchen in Android for S4 mini
3.5 gb of internal free storage is required
*Flash the zip.
*Place system.img.ext4 & boot.img (or) system.ext4.win & boot.emmc.win of TWRP backup of stockrom in /data/local/ArchiKitchen folder...
*Type the following in Terminal Emulator
Bash:
su
bash /data/local/ArchiKitchen/archi
*And follow the options
*After finish of Project then go to /data/local/ArchiKitchen/PROJECT_*/ and pack the contents into zip..
*Flash that zip with wipe of system, data, cache, dalvik, preload(if present)
*Enjoy
Features :-
*Convert samsung sparse imgs to raw
*Create flashable zips from TWRP stockrom backup & Samsung Firmware sparse imgs
*Add Busybox v1.29.2 Stericson
*Add SuperSU v2.82-SR5
*Add ArchiDroid Init.d
*Debloat with SilviuMik BigDebloat v4.5
*Unpack & Repack Kernel to add adb insecure

Categories

Resources