install busybox and universal init.d support from google play
The universal init.d apk didn't work for me on lollipop, I had to use the terminal init.d script by the same author. universal init.d support installer thread
thanks.
thanks.
I isntaled init d from playstore.
now can I flas this binari ?
Yes if after you install the app, as well as busybox and after the app confirms you have init.d reboot 2 times and check /data/ for test.log.thanks.
I isntaled init d from playstore.
now can I flas this binari ?
REINDEX=SUCCESS
Database /data/data/com.sec.android.mimage.photoretouching/databases/common_button_table.db: VACUUM=SUCCESS REINDEX=SUCCESS
Database /data/media/0/Android/data/pl.solidexplorer/index.db: VACUUM=SUCCESS REINDEX=SUCCESS
Database /data/media/0/baidu/tempdata/ls.db: VACUUM=SUCCESS REINDEX=SUCCESS
Database /data/validity/template.db: VACUUM=SUCCESS REINDEX=SUCCESS
SQLite database VACUUM and REINDEX finished at 01-09-2015 00:04:47
Here is my part of log
Is it ok know?
SMG900H
Android 5(root)
I guess its mean doneIs there anything to explain in word "SUCCESS"? :angel:
Sorry in init.d folder files MUST have permissions: - 0755 (rwx r-x r-x)
OK what did step by stepYes if after you install the app, as well as busybox and after the app confirms you have init.d reboot 2 times and check /data/ for test.log.
The app should right a test.log if it's working correctly. You can flash the zip but I recommend you update your sqlite3 binary with the one linked earlier 3.8.8
I did something similar to the post directly above this one. I used a different sql script to this one, but I use this zipalign script
Is there anything to explain in word "SUCCESS"? :angel:
Sorry in init.d folder files MUST have permissions: - 0755 (rwx r-x r-x)
Have you done everything as was said in this thread?
I and other users have this working. You had to do something wrong.
sqlite3 v3.8.8 in xbin and 91sqlite in init.d with right permissions for both folder.
I don't think I did something wrong because what I had to do was a simple copy&past in the right folders.
Anyway the sqlite script generates a log so it should works...
Yes if after you install the app, as well as busybox and after the app confirms you have init.d reboot 2 times and check /data/ for test.log.
The app should right a test.log if it's working correctly. You can flash the zip but I recommend you update your sqlite3 binary with the one linked earlier 3.8.8
I did something similar to the post directly above this one. I used a different sql script to this one, but I use this zipalign script
sqlite3 v3.8.8 in xbin and 91sqlite in init.d with right permissions for both folder.
I don't think I did something wrong because what I had to do was a simple copy&past in the right folders.
Anyway the sqlite script generates a log so it should works...
Vaccum gives me the same errcode14 - seems to unable with access db...
working on it. But I used script from xstrestolite rom. Script from zip dont generate sqlite.log
what script did you used?
what script sqlite are you using?
Script from this zip will not generate sqlite.log. How do yo know about errcode14?
Sqlite script
#!/system/bin/sh
LOG_FILE=/data/sqlite.log
#Interval between SQLite3 runs, in seconds, 604800=1 week
RUN_EVERY=86400
# Get the last modify date of the Log file, if the file does not exist, set value to 0
if [ -e $LOG_FILE ]; then
LASTRUN=`stat -t $LOG_FILE | awk '{print $14}'`
else
LASTRUN=0
fi;
# Get current date in epoch format
CURRDATE=`date +%s`
# Check the interval
INTERVAL=$(expr $CURRDATE - $LASTRUN)
# If interval is more than the set one, then run the main script
if [ $INTERVAL -gt $RUN_EVERY ];
then
if [ -e $LOG_FILE ]; then
rm $LOG_FILE;
fi;
echo "SQLite database VACUUM and REINDEX started at $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;
for i in `busybox find /d* -iname "*.db"`; do
/system/xbin/sqlite3 $i 'VACUUM;';
resVac=$?
if [ $resVac == 0 ]; then
resVac="SUCCESS";
else
resVac="ERRCODE-$resVac";
fi;
/system/xbin/sqlite3 $i 'REINDEX;';
resIndex=$?
if [ $resIndex == 0 ]; then
resIndex="SUCCESS";
else
resIndex="ERRCODE-$resIndex";
fi;
echo "Database $i: VACUUM=$resVac REINDEX=$resIndex" | tee -a $LOG_FILE;
done
echo "SQLite database VACUUM and REINDEX finished at $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;
fi;
It will give you VACUUM and REINDEX results
After double checking and trying two different scripts I get same, vacuum error only. I must of just noticed the success and not the errors. I'm thinking it could be lollipop doing it to me? Zip align script fails as well all together since I went to touch wiz lollipop. I confirmed that the binary at least for me isn't causing it. I get same error with the supplied binary. Could someone also confirm that binary version isn't causing this?THX, found another one.
Have no clue why this is not working well, errcode14 is reffered to no access to DB. When Vacuum command is started, there must me created templorary DB, it seems that there is no rights to do it.
Script is the key of sqlite door [emoji20]If I just replace SQLite 3.8.8 without this script, will it work? Is this script really necessary to make everything work?
Yes if after you install the app, as well as busybox and after the app confirms you have init.d reboot 2 times and check /data/ for test.log.thanks.
I isntaled init d from playstore.
now can I flas this binari ?
Buddy,
Thanks for the effort but my device started to reset itself up after the boot process giving an error "Authorization failed." I could hardly delete the files in init.d folder and installed busybox again but it did not fix the problem. I still get the same error and resets. I am on Omega Rom v7 with ktoons kernel.
Please attach here asap a resep .zip file so that users like me can go back when they face the same problem. I am waiting for it.
Regards.