[Q] custom ROM still has removed app in /system/app ?! - Legend General

Hi,
I baked a CM-7.0.3 based ROM with the kitchen, from which (among others) I removed GTalk and QuickOffice. I flashed the ROM with recovery and it works perfectly, but strangely I find
Code:
/system/apps/Quickoffice.apk
/system/apps/Talk.apk
on the phone.
I verified that in the WORKING dir (of kitchen) and in the zip I baked these files are not present (also not other apks like com.google.android.talk) and I whiped the cache and dalvik cache after flashing the ROM.
So where do these come from?!
When I logcat the very first boot with the new ROM, I see 2 lines containing Quickoffice, which read:
Code:
D/installd( 117): DexInv: --- BEGIN '/system/app/Quickoffice.apk' ---
D/dalvikvm( 211): DexOpt: load 435ms, verify+opt 5939ms
D/installd( 117): DexInv: --- END '/system/app/Quickoffice.apk' (success) ---
and the same for Talk.apk.
Does anyone have an idea how to get rid of these?
BTW I'm S-ON, so I always do my modifications to /system in my kitchen WORKING dir and bake updated ROMs as needed.
TIA!

Boot to recovery, go to advanced, then select "format /system" then reflash your modified ROM
Sent from my GT-P1000 using XDA App

Thanks! I'll try that. meanwhile I removed the apks from a shell in recovery after mounting /system, but of course that would be an extra step after the next ROM update. still funny though that it happens, since I thought the updater script already formats /system?
cheers
Sent from my Legend using XDA App

powerpenguin said:
Thanks! I'll try that. meanwhile I removed the apks from a shell in recovery after mounting /system, but of course that would be an extra step after the next ROM update. still funny though that it happens, since I thought the updater script already formats /system?
cheers
Sent from my Legend using XDA App
Click to expand...
Click to collapse
It kinda does, but it backs up certain files and puts them back after flashing. It definitely does this to gapps (including talk) and it may do it to others too.
Sent from my GT-P1000 using XDA App

Related

[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

[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.

[ROM] JB-SlateROM, a custom ROM for the HP Slate 7

Disclaimer: I am NOT responsible for any damage you do to your device.
Slate 7 Plus 4200 owners, I have a version of this ROM for you guys as well. You can find it here.
This is JB-SlateROM, a customized and debloated ROM for the HP Slate 7! This was designed for the 2800 but might work on the 4600 as I haven't tested since I don't have a Slate 7.
EDIT: Confirmed working on the 2800!
EDIT: NOT working of the 4600/4601. I'll recook the ROM for you guys when time permits.
Before you can install this ROM you need CWM on your device. Go here to get a build of ClockWorkMod v6.0.3.3.
FEATURES
Bloatware removed! :victory:
If the bloatware is still there, go to Settings, then Apps. Find the app and hit Disable Updates. That will delete the bloatware permanently. If it's still there after that I did not remove it. Tell me what you want removed in that case.
Original launcher has been hidden (saved as an .apk-hide file) in favor of Apex Launcher.
ES File Explorer added.
GravityBox Xposed module added.
App Settings Xposed module added.
Quick Boot added.
Xposed Installer added. (Not activated by default! Go into the installer, hit Framework, then hit Install/Update, then hit Soft Reboot or Reboot!)
Download
Changelog
v2.0 - Coming Soon Complete redo. More bloatware removed and tweaked a few more things... (AKA the "If an android crashes and nobody is around to logcat, can it still be fixed?" Update)
v1.1 - Removed references to ePrint.kpa (UNRELEASED)
v1.0 - Initial release.
Sent from my Sero 7 Pro using Tapatalk
Hi, I just tried to install this ROM (on Slate 7 4601), but in CWM, I get the 'Status 7' error.
before this, I see the line 'set_perm: some changes failed'. If that helps, I don't know?
Thanks.
callidus_ex_de_latebros said:
Hi, I just tried to install this ROM (on Slate 7 4601), but in CWM, I get the 'Status 7' error.
before this, I see the line 'set_perm: some changes failed'. If that helps, I don't know?
Thanks.
Click to expand...
Click to collapse
The ROM must not be compatible with the 460x as I know it works fine with the 280x. I'll do a port of this with the 460x ROM and add it to the OP by next weekend at worst.
Hi. Same Error 7 here on my Slate 7 2800. Formatting all partitions before install doesn't change anything ..
dderek said:
Hi. Same Error 7 here on my Slate 7 2800. Formatting all partitions before install doesn't change anything ..
Click to expand...
Click to collapse
Which country is your Slate from? Status 7 means incompatible with device.
If you're really adventurous do a Nandroid then toggle signature verification then flash the ROM. Theoretically everything will work, but Nandroid just in case
Sent from my Sero 7 Pro using Tapatalk
Thank you for your reply.
My Slate is from Polish distribution channel. It's P/N is E0H92AA.
Signature verification is by default switched off in CWM. Looking at the detailed installation log I can see these lines before the Error 7 is reported:
minizip: Extracted file "/system/xbin/iwpriv"
minizip: Extracted file "/system/xbin/iwspy"
minizip: Extracted file "/system/xbin/su"
set_perm: chown of /system/vendor/app/ePrint.kpa to 0 0 failed: No such file or directory
set_perm: chown of /system/vendor/app/ePrint.kpa to 644 failed: No such file or directory
script aborted: set_perm: some changes failed
E:Error in /external_sd/_/JB-SlateROM.zip
(Status 7)
Installation aborted.
EDIT: adding original file /system/vendor/app/ePrint.kpa to your ROM allowed to install it within CWM 6.0.3.3.
But after reboot the device is now stuck at the HP logo
EDIT2: Suspecting the device incompatibility I have tested that the original firmware (taken from http://forum.xda-developers.com/showthread.php?t=2608181 ) runs without problems
dderek said:
Thank you for your reply.
My Slate is from Polish distribution channel. It's P/N is E0H92AA.
Signature verification is by default switched off in CWM. Looking at the detailed installation log I can see these lines before the Error 7 is reported:
minizip: Extracted file "/system/xbin/iwpriv"
minizip: Extracted file "/system/xbin/iwspy"
minizip: Extracted file "/system/xbin/su"
set_perm: chown of /system/vendor/app/ePrint.kpa to 0 0 failed: No such file or directory
set_perm: chown of /system/vendor/app/ePrint.kpa to 644 failed: No such file or directory
script aborted: set_perm: some changes failed
E:Error in /external_sd/_/JB-SlateROM.zip
(Status 7)
Installation aborted.
EDIT: adding original file /system/vendor/app/ePrint.kpa to your ROM allowed to install it within CWM 6.0.3.3.
But after reboot the device is now stuck at the HP logo
EDIT2: Suspecting the device incompatibility I have tested that the original firmware (taken from http://forum.xda-developers.com/showthread.php?t=2608181 ) runs without problems
Click to expand...
Click to collapse
It's because I removed bloatware and forgot to remove the references in the updater-script. Sorry about that, I'm VERY new to developing.
You should expect a updated ROM very soon. Probably tomorrow worst-case scenario.
Sent from my Sero 7 Pro using Tapatalk
Mmmh I tried to install your ROM but I got the same Error 7.
Then I proceeded to remove any reference into META-INF subfolders about ePrint.apk package and finally CWM installed it without hassle.
Nonetheless I got a stuck boot logo. I left it 5 minutes, but had no success, now I'm going back to my rooted 1.05.14 stock firmware.
I noticed a pair of things that may be useful to report:
- In /recovery folder there's a patch for the recovery. It may be useful to inhibit such patch, I added an exit 0 in /recovery/etc/install-recovery.sh just to be safe
- When you use CWM to do a factory reset (wipe data/factory reset), it doesn't wipe /system partition. You have to manually go in backup/restore -> format /system. Then you should wipe cache, maybe dalvik cache, and finally install the zip package.
blackshard83 said:
Mmmh I tried to install your ROM but I got the same Error 7.
Then I proceeded to remove any reference into META-INF subfolders about ePrint.apk package and finally CWM installed it without hassle.
Nonetheless I got a stuck boot logo. I left it 5 minutes, but had no success, now I'm going back to my rooted 1.05.14 stock firmware.
I noticed a pair of things that may be useful to report:
- In /recovery folder there's a patch for the recovery. It may be useful to inhibit such patch, I added an exit 0 in /recovery/etc/install-recovery.sh just to be safe
- When you use CWM to do a factory reset (wipe data/factory reset), it doesn't wipe /system partition. You have to manually go in backup/restore -> format /system. Then you should wipe cache, maybe dalvik cache, and finally install the zip package.
Click to expand...
Click to collapse
Is this a bootloop or stuck at bootloader?
Sent from my Sero 7 Pro using Tapatalk
how does this rom work on the 2801. Has it been updated?
Thx, vIgGeN!
jerbear294 said:
Is this a bootloop or stuck at bootloader?
Sent from my Sero 7 Pro using Tapatalk
Click to expand...
Click to collapse
jerbear294 said:
Is this a bootloop or stuck at bootloader?
Click to expand...
Click to collapse
Just stuck at bootloader. I see the HP logo (still image, not the boot animation) and then nothing happens. I have to push the power button for a long time to power off the device.
I'm redoing the ROM completely and hoping it works. Perhaps my Mediafire upload corrupted?
Sent from my Sero 7 Pro using Tapatalk
jerbear294 said:
I'm redoing the ROM completely and hoping it works. Perhaps my Mediafire upload corrupted?
Sent from my Sero 7 Pro using Tapatalk
Click to expand...
Click to collapse
Don't think so, the .zip file unpacked correctly.
Sorry for the hiatus- other devices were taking my attention.
I just need to add some things into the redone ROM then I'll upload it. It could take a couple days though, I'm busy porting PAC-ROM to my tablet. Once that's done I'll continue work on this.
Sent from my Sero 7 Pro using Tapatalk
jerbear294 said:
Sorry for the hiatus- other devices were taking my attention.
I just need to add some things into the redone ROM then I'll upload it. It could take a couple days though, I'm busy porting PAC-ROM to my tablet. Once that's done I'll continue work on this.
Sent from my Sero 7 Pro using Tapatalk
Click to expand...
Click to collapse
any idea on an update for this Rom?
keepaf1 said:
any idea on an update for this Rom?
Click to expand...
Click to collapse
Yep. I found the source of the error, and I am fixing it now.
Sent from my Sero 7 Pro using Tapatalk
Hellow, i want to request you to enable usb otg. There are many members on hp forums who are trying to enable it. Otg troubleshooter does not work on stock rom
jerbear294 said:
Yep. I found the source of the error, and I am fixing it now.
Sent from my Sero 7 Pro using Tapatalk
Click to expand...
Click to collapse
Looking forward to the new release. just got a slate 7 i repaired and cant wait to flash. thanks for your work on this!!!:good:
If you have the time please
Sorry to be a pain, but any idea when you will have the time to fix this. Its my grandsons tab and I would like to fix it for him. Thanks. I know I could probably learn how to do it myself but the old brain cells are a bit thick these days.

Custom rom for t530nu errors

@moonbutt74 i tried using your updater.script it flashed fine. I am no longer stuck at the samsung galaxy tab 4 logo but i am now stuck at the sparkling samsung logo.
Sent from my SAMSUNG-SGH-I337 using XDA Free mobile app
trazfer said:
@moonbutt74 i tried using your updater.script it flashed fine. I am no longer stuck at the samsung galaxy tab 4 logo but i am now stuck at the sparkling samsung logo.
Sent from my SAMSUNG-SGH-I337 using XDA Free mobile app
Click to expand...
Click to collapse
Ahh, okay your boot.img/kernel is skunky, or very likely skunky, see if you can access via adb shell
and if so run mount to see what there/correct/missing/wrong.
m
@trazfer
just a thought, if you removed or altered fusedlocation apk that will cause a hang/loop
also if you modified the system directory structure with additional directories, you need to
account for those additions in the permission settings portion lf the updater-script.
generally the permissions for system directories= 755 libraries,configs,xml's and such= 644 binaries= 755
also try after rom flash to custom restore your stock boot.img from your full stock backup
and see if you boot through. If you still hang then the problem is in system, and likely in any /system/addon.d
scripts [init.d] you may have added/modified.
moonbutt74 said:
Ahh, okay your boot.img/kernel is skunky, or very likely skunky, see if you can access via adb shell
and if so run mount to see what there/correct/missing/wrong.
m
@trazfer
just a thought, if you removed or altered fusedlocation apk that will cause a hang/loop
also if you modified the system directory structure with additional directories, you need to
account for those additions in the permission settings portion lf the updater-script.
generally the permissions for system directories= 755 libraries,configs,xml's and such= 644 binaries= 755
also try after rom flash to custom restore your stock boot.img from your full stock backup
and see if you boot through. If you still hang then the problem is in system, and likely in any /system/addon.d
scripts [init.d] you may have added/modified.
Click to expand...
Click to collapse
Thanks for the reply. I will look in to ot this weekend.
Sent from my SAMSUNG-SGH-I337 using XDA Free mobile app
@moonbutt74 , @trazfer
hi ,
promeo123 present Custom ROM T530NU based on T530NUUEU1ANK1-XAR stock .
Look here http://forum.xda-developers.com/showpost.php?p=58279898&postcount=3

Categories

Resources