Delete ....
Works just fine. I have not noticed any side effects since running this.
Epic Galaxy S II
I tried to post this in the main NoCIQ mod thread but didn't have enough posts for the dev section so I will paste it here.
k0nane said:
Any of you odexed folks running it successfully? If so, I'll add it to the OP.
Click to expand...
Click to collapse
hi k0nane, thanks for the mod.
I don't have a deodexed system at the moment so cant test myself, but on the odex + noCIQ mod, logcat still shows iqservice still /trying/ to start (although failing). Can you confirm if this is normal behavior? Or in the deodexed original mod, does the service not even try to initiate?
Not sure if it matters, but the troubling part to me is the last line
Code:
W/ActivityManager( 3194): Scheduling restart of crashed service android/com.carrieriq.iqagent.service.IQService in 5000ms
and sure enough, it tries to restart over and over again after presumably 5000ms
Here is the full log
Code:
2019: E/AndroidRuntime( 3468): FATAL EXCEPTION: main
2020: E/AndroidRuntime( 3468): java.lang.UnsatisfiedLinkError: Library iq_service not found; tried [/vendor/lib/libiq_service.so, /system/lib/libiq_service.so]
2021: E/AndroidRuntime( 3468): at java.lang.Runtime.loadLibrary(Runtime.java:457)
2022: E/AndroidRuntime( 3468): at java.lang.System.loadLibrary(System.java:554)
2023: E/AndroidRuntime( 3468): at com.carrieriq.iqagent.service.IQService.<init>(IQService.java:309)
2024: E/AndroidRuntime( 3468): at java.lang.Class.newInstanceImpl(Native Method)
2025: E/AndroidRuntime( 3468): at java.lang.Class.newInstance(Class.java:1409)
2026: E/AndroidRuntime( 3468): at android.app.ActivityThread.handleCreateService(ActivityThread.java:1930)
2027: E/AndroidRuntime( 3468): at android.app.ActivityThread.access$2500(ActivityThread.java:117)
2028: E/AndroidRuntime( 3468): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:989)
2029: E/AndroidRuntime( 3468): at android.os.Handler.dispatchMessage(Handler.java:99)
2030: E/AndroidRuntime( 3468): at android.os.Looper.loop(Looper.java:130)
2031: E/AndroidRuntime( 3468): at android.app.ActivityThread.main(ActivityThread.java:3691)
2032: E/AndroidRuntime( 3468): at java.lang.reflect.Method.invokeNative(Native Method)
2033: E/AndroidRuntime( 3468): at java.lang.reflect.Method.invoke(Method.java:507)
2034: E/AndroidRuntime( 3468): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
2035: E/AndroidRuntime( 3468): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
2036: E/AndroidRuntime( 3468): at dalvik.system.NativeStart.main(Native Method)
2037: E/ActivityManager( 3194): Activity Manager Crash
2038: E/ActivityManager( 3194): java.lang.NullPointerException
2039: E/ActivityManager( 3194): at android.os.DropBoxManager.isTagEnabled(DropBoxManager.java:288)
2040: E/ActivityManager( 3194): at com.android.server.am.ActivityManagerService.addErrorToDropBox(ActivityManagerService.java:7159)
2041: E/ActivityManager( 3194): at com.android.server.am.ActivityManagerService.handleApplicationCrash(ActivityManagerService.java:6876)
2042: E/ActivityManager( 3194): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:1029)
2043: E/ActivityManager( 3194): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1796)
2044: E/ActivityManager( 3194): at android.os.Binder.execTransact(Binder.java:320)
2045: E/ActivityManager( 3194): at dalvik.system.NativeStart.run(Native Method)
2046: I/Process ( 3468): Sending signal. PID: 3468 SIG: 9
2047: E/AndroidRuntime( 3468): Error reporting crash
2048: E/AndroidRuntime( 3468): java.lang.NullPointerException
2049: E/AndroidRuntime( 3468): at android.os.Parcel.readException(Parcel.java:1328)
2050: E/AndroidRuntime( 3468): at android.os.Parcel.readException(Parcel.java:1276)
2051: E/AndroidRuntime( 3468): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:2548)
2052: E/AndroidRuntime( 3468): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:136)
2053: E/AndroidRuntime( 3468): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
2054: E/AndroidRuntime( 3468): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)
2055: E/AndroidRuntime( 3468): at dalvik.system.NativeStart.main(Native Method)
2056: I/ActivityManager( 3194): Process android.iqd (pid 3468) has died.
2057: W/ActivityManager( 3194): Scheduling restart of crashed service android/com.carrieriq.iqagent.service.IQService in 5000ms
Any confirmation would be helpful.
Thanks,
ok.. I think I found the problem..
New steps..
odex using dex-opt wrapper includent bootpath
transferring signatures from original odex from system/framework
This works for me now..
I may be able to make a flashable but include all of the framework files??
Reworking things.. with some positive and negative results.. here is what I have been doing.. still seeing a few issues..
Feel free to check code for errors..
Code:
Use the following to go to the correct folder:
cd %ROOT%
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\Android\android-sdk\tools>adb shell
# mount -oremount,rw /dev/block/mtdblock3 /system
mount -oremount,rw /dev/block/mtdblock3 /system
# dexopt-wrapper /system/framework/framework.jar /system/framework/patched_frame
work.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/
framework/ext.jar:/system/framework/framework.jar:/system/framework/android.poli
cy.jar:/system/framework/services.jar:/system/framework/core-junit.jar
dexopt-wrapper /system/framework/framework.jar /system/framework/patched_framewo
rk.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/fr
amework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy
.jar:/system/framework/services.jar:/system/framework/core-junit.jar
Unable to create '/system/framework/patched_framework.odex': File exists
# dexopt-wrapper /system/framework/framework.jar /system/framework/patched_frame
work.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/
framework/ext.jar:/system/framework/framework.jar:/system/framework/android.poli
cy.jar:/system/framework/services.jar:/system/framework/core-junit.jar
dexopt-wrapper /system/framework/framework.jar /system/framework/patched_framewo
rk.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/fr
amework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy
.jar:/system/framework/services.jar:/system/framework/core-junit.jar
--- BEGIN '/system/framework/framework.jar' (bootstrap=0) ---
--- waiting for verify+opt, pid=4920
--- would reduce privs here
--- END '/system/framework/framework.jar' (success) ---
# dexopt-wrapper /system/framework/ext.jar /system/framework/patched_ext.odex /s
ystem/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ex
t.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/syst
em/framework/services.jar:/system/framework/core-junit.jar
dexopt-wrapper /system/framework/ext.jar /system/framework/patched_ext.odex /sys
tem/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.
jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system
/framework/services.jar:/system/framework/core-junit.jar
--- BEGIN '/system/framework/ext.jar' (bootstrap=0) ---
--- waiting for verify+opt, pid=4966
--- would reduce privs here
--- END '/system/framework/ext.jar' (success) ---
# dexopt-wrapper /system/framework/services.jar /system/framework/patched_servic
es.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/fr
amework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy
.jar:/system/framework/services.jar:/system/framework/core-junit.jar
dexopt-wrapper /system/framework/services.jar /system/framework/patched_services
.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/fram
ework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.j
ar:/system/framework/services.jar:/system/framework/core-junit.jar
--- BEGIN '/system/framework/services.jar' (bootstrap=0) ---
--- waiting for verify+opt, pid=5042
--- would reduce privs here
--- END '/system/framework/services.jar' (success) ---
# cp /sdcard/MOD/original.framework.odex /system/framework
cp /sdcard/MOD/original.framework.odex /system/framework
# cp /sdcard/MOD/original.ext.odex /system/framework
cp /sdcard/MOD/original.ext.odex /system/framework
# cp /sdcard/MOD/original.services.odex /system/framework
cp /sdcard/MOD/original.services.odex /system/framework
# cp -f /sdcard/MOD/framework.jar /system/framework
cp -f /sdcard/MOD/framework.jar /system/framework
# cp -f /sdcard/MOD/ext.jar /system/framework
cp -f /sdcard/MOD/ext.jar /system/framework
# cp -f /sdcard/MOD/services.jar /system/framework
cp -f /sdcard/MOD/services.jar /system/framework
# chmod 777 /system/framework/original.framework.odex
chmod 777 /system/framework/original.framework.odex
# chmod 777 /system/framework/original.etc.odex
chmod 777 /system/framework/original.etc.odex
Unable to chmod /system/framework/original.etc.odex: No such file or directory
# chmod 777 /system/framework/original.ext.odex
chmod 777 /system/framework/original.ext.odex
# chmod 777 /system/framework/original.services.odex
chmod 777 /system/framework/original.services.odex
# chmod 777 /system/framework/patched_framework.odex
chmod 777 /system/framework/patched_framework.odex
# chmod 777 /system/framework/patched_ext.odex
chmod 777 /system/framework/patched_ext.odex
# chmod 777 /system/framework/patched_services.odex
chmod 777 /system/framework/patched_services.odex
# busybox dd if=/system/framework/original.XXX.odex of=/system/framewor
k/patched_XXX.odex bs=1 count=20 skip=52 seek=52 conv=notruncbusybox dd if=/syst
em/framework/original.XXX.odex of=/system/framewor
dd: can't open '/system/framework/original.XXX.odex': No such file or directory
# busybox dd if=/system/framework/original.XXX.odex of=/system/framewor
k/patched_XXX.odex bs=1 count=20 skip=52 seek=52 conv=notrunck/patched_XXX.odex
bs=1 count=20 skip=52 seek=52 conv=notruncbusybox dd if=/system/framework/origin
al.XXX.odex of=/system/framewor
k/patched_XXX.odex: not found
# busybox dd if=/system/framework/original.XXX.odex of=/system/framewor
k/patched_XXX.odex bs=1 count=20 skip=52 seek=52 conv=notruncbusybox dd if=/syst
em/framework/originaldex of=/system/framework/patched_XXX.odex bs=1 count=20 ski
p=52 seek=52 conv=notrunc
k/patched_XXX.odex bs=1 count=20 skip=52 seek=52 conv=notruncbusybox dd if=/syst
em/framework/originaldex of=/system/framework/patched_XXX.odex bs=1 count=20 ski
p=52 seek=52 conv=notrunckip=52 seek=52 conv=notrunc
k/patched_XXX.odex: not found
# busybox dd if=/system/framework/original.framework.odex of=/system/framework/p
atched_framework.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
busybox dd if=/system/framework/original.framework.odex of=/system/framework/pat
ched_framework.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
20+0 records in
20+0 records out
20 bytes (20B) copied, 0.002916 seconds, 6.7KB/s
# busybox dd if=/system/framework/original.ext.odex of=/system/framework/patched
_ext.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
busybox dd if=/system/framework/original.ext.odex of=/system/framework/patched_e
xt.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
20+0 records in
20+0 records out
20 bytes (20B) copied, 0.001508 seconds, 13.0KB/s
# busybox dd if=/system/framework/original.services.odex of=/system/framework/pa
tched_services.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
busybox dd if=/system/framework/original.services.odex of=/system/framework/patc
hed_services.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
20+0 records in
20+0 records out
20 bytes (20B) copied, 0.003354 seconds, 5.8KB/s
#
C:\Program Files (x86)\Android\android-sdk\tools>
C:\Program Files (x86)\Android\android-sdk\tools>
Sent from my SPH-D710 using Tapatalk
is there a way to undo the old version without having to do a nandroid
Related
i currently have the old clockwork 2.5.1.0 and ready to move to ext4 and flash most likely viperrom or srf. the problem im encountering is when i extract the cwm3 zip and click run.sh like instructed it just opens up this with gedit:
#!/bin/bash
platform=`uname`;
adb="./adb";
if [ $(uname -p) == 'powerpc' ]; then
echo "Sorry, this won't work on PowerPC machines."
exit 1
fi
cd "$(dirname "$0")"
echo "Original one click made by joeykrim and one click installer made by noobnl and firon"
echo "busybox by skeeterslint"
read -n1 -s -p "Press any key to continue..."
which adb > /dev/null 2>&1
if [ $? -eq 0 ]; then
adb="./adb";
if [ "$platform" == 'Darwin' ]; then
mv adb.osx $adb > /dev/null 2>&1
fi
fi
chmod +x $adb
echo -e "Starting adb server"
$adb kill-server
which sudo > /dev/null 2>&1
if [ $? -eq 0 ]; then
$adb start-server
else
sudo $adb start-server
if [ $? -ne 0 ]; then
$adb start-server
fi
fi
state=$($adb get-state | tr -d '\r\n[:blank:]')
while [ "$state" != device ]; do
state=$($adb get-state | tr -d '\r\n[:blank:]')
read -n1 -s -p "Phone is not connected. Press any key to continue."
done
root=$($adb shell id | grep uid=0)
if [ -z "$root" ]; then
echo -e "Copy and run the exploit (may take up to two minutes)"
$adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin
$adb push root.sh /data/local/tmp/root.sh
$adb shell chmod 755 /data/local/tmp/rageagainstthecage-arm5.bin
$adb shell chmod 755 /data/local/tmp/root.sh
$adb shell /data/local/tmp/root.sh
echo Wait for phone to reconnect...
sleep 20;
i=0;
state=$($adb get-state | tr -d '\r\n[:blank:]')
while [[ "$state" != device && $i -lt 30 ]]; do
state=$($adb get-state | tr -d '\r\n[:blank:]')
let i=i+1;
sleep 1;
done
if [ "$state" != "device" ]; then
echo "Phone did not reconnect after 30 seconds."
read -n1 -s -p "Pausing script. Unplug and replug USB cable and check the connection (verify with adb shell)."
fi
state=$($adb get-state | tr -d '\r\n[:blank:]')
if [ "$state" != "device" ]; then
echo "Aborting script. Phone is still not connected. Reboot the phone and try again.";
exit 1;
fi
root=$($adb shell id | grep uid=0)
if [ -z "$root" ]; then
echo "Root was not obtained. Please re-run the script."
exit 1;
fi
fi
echo "Mount system as r/w, cleanup old files, do some basic configuration"
$adb shell mount -t rfs -o remount,rw /dev/block/stl9 /system
oldroot=$($adb shell "if [ -f /system/bin/joeykrim-root.sh ]; then echo -n 'exists'; fi");
if [ -z "$oldroot" ]; then
$adb shell rm /system/bin/playlogo
$adb shell mv /system/bin/playlogo-orig /system/bin/playlogo
$adb shell chmod 755 /system/bin/playlogo
fi
$adb push rootsetup /data/local/tmp/rootsetup
$adb shell chmod 755 /data/local/tmp/rootsetup
$adb shell /data/local/tmp/rootsetup
$adb shell rm /data/local/tmp/rootsetup
$adb shell rm /system/app/Asphalt5_DEMO_ANMP_Samsung_D700_Sprint_ML.apk
$adb shell rm /system/app/FreeHDGameDemos.apk
echo "Copying files onto phone..."
$adb push su /system/xbin/su
$adb push Superuser.apk /system/app/Superuser.apk
$adb push busybox /system/xbin/busybox
$adb push remount /system/xbin/remount
echo "Setting permissions..."
$adb shell chmod 755 /system/xbin/busybox
$adb shell chmod 755 /system/xbin/remount
$adb shell chown root.shell /system/xbin/su
$adb shell chmod 4755 /system/xbin/su
$adb shell ln -s /system/xbin/su /system/bin/su
echo "Installing busybox..."
$adb shell /system/xbin/busybox --install -s /system/xbin
osversion=$(./adb shell getprop ro.build.id | tr -d '\r\n[:blank:]')
if [ "$osversion" == "FROYO" ]; then
echo Installing clockworkmod redirector
$adb push recovery /system/bin/recovery
$adb push recoveryfiles /system/bin/recoveryfiles/
$adb push recoveryres /system/bin/recoveryres/
$adb shell busybox chmod -R 0755 /system/bin/recoveryfiles/*
$adb shell busybox chmod -R 0755 /system/bin/recoveryres/*
$adb shell chmod 0755 /system/bin/recovery
$adb shell sync
fi
echo "Installing clockworkmod recovery..."
$adb push redbend_ua /data/local
$adb shell chmod 755 /data/local/redbend_ua
$adb push zImage /data/local/tmp/zImage
$adb shell /data/local/redbend_ua restore /data/local/tmp/zImage /dev/block/bml8
echo "Waiting for phone to reboot..."
sleep 5;
i=0;
state=$($adb get-state | tr -d '\r\n[:blank:]')
while [[ "$state" != device && $i -lt 45 ]]; do
state=$($adb get-state | tr -d '\r\n[:blank:]')
let i=i+1;
sleep 1;
done
echo "Cleaning up files..."
sleep 5;
$adb shell rm /data/local/redbend_ua
$adb shell rm /data/local/tmp/zImage
$adb shell rm /data/local/tmp/rageagainstthecage-arm5.bin
$adb shell rm /data/local/tmp/root.sh
if [ -z $(which sudo 2>/dev/null) ]; then
$adb kill-server
else
sudo $adb kill-server
fi
read -n1 -s -p "Press any key to exit the script."
anyone know the command in terminal to possibly run this. thanks!
It's run.bat you are supposed to run in either a command box or just double click on it in Windows. Remember the 1st time you go into Clockwork it will immediately convert you to EXT4 file system. You need to have the EXT4 compatible ROM on your sd card and flash it before rebooting from the conversion or you will get stuck at the Samsung screen.
this is for linux os though. according to the instructions im suppose to click the shell file not the batch file.
mk4cam said:
this is for linux os though. according to the instructions im suppose to click the shell file not the batch file.
Click to expand...
Click to collapse
I'm not quite sure, but as an alternate suggestion, try out heimdall in linux and flash the image file here. Also listed in my signature
Which distro are you running? You need to make the script executable and then run the script from a terminal.
Open a terminal where you extracted the cwm3.zip and run the following commands;
Code:
chmod +x run.sh
Code:
./ run.sh
You may need to run this as root or sudo.
ironlineage said:
Which distro are you running? You need to make the script executable and then run the script from a terminal.
Open a terminal where you extracted the cwm3.zip and run the following commands;
Code:
chmod +x run.sh
Code:
./ run.sh
You may need to run this as root or sudo.
Click to expand...
Click to collapse
tried it and now this:
Original one click made by joeykrim and one click installer made by noobnl and firon
busybox by skeeterslint
Press any key to continue...Starting adb server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Phone is not connected. Press any key to continue.
im lost cause i had no issues rooting the older version via http://forum.xda-developers.com/showthread.php?t=808103. ive tried every usb port i have on this comp and every cable i have and it still cant see the phone. i think ill just have to try this when im around a windows comp next time.
If I remember correctly you need to have USB Debugging enabled on your phone and make sure it is not mounted on the computer but still charging.
ok ill try it cause i have had it mounted. ill let you know
Edit: ran it w/o mounting and same results
Hi all,
Can you help me checking the script? I'm testing in adb sheel not work.
a.sh
#!/system/bin/sh
for i in \
`busybox find /data -iname "*.db"`;
do \
/system/xbin/sqlite3 $i 'VACUUM;';
/system/xbin/sqlite3 $i 'REINDEX;';
done;
Click to expand...
Click to collapse
E:\adb>adb push a.sh /data/local/tmp
10 KB/s (156 bytes in 0.015s)
E:\adb>adb shell
[email protected]:/ $ su
su
[email protected]:/ # sh /data/local/tmp/a.sh
sh /data/local/tmp/a.sh
/data/local/tmp/a.sh[3]: syntax error: '$(busybox find /data -iname "*.db")' unexpected
1|[email protected]:/ #
E:\adb>
Click to expand...
Click to collapse
I've tried CM10.1 RC5 and yesterday's nightly, with a clean install (clear data and cache) and every app that depends on GoogleTTS gets force closed -- the tts preferences in system settings, duolingo, etc. I would see this in logcat:
Code:
E/AndroidRuntime( 7237): java.lang.UnsatisfiedLinkError: Couldn't load speexwrapper from loader dalvik.system.PathClassLoader[dexPath=/system/app/GoogleTTS.apk,libraryPath=/data/app-lib/GoogleTTS]: findLibrary returned null
E/AndroidRuntime( 7237): at java.lang.Runtime.loadLibrary(Runtime.java:365)
E/AndroidRuntime( 7237): at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime( 7237): at com.google.android.tts.network.BufferedSpeexDecoder.<clinit>(BufferedSpeexDecoder.java:17)
E/AndroidRuntime( 7237): at com.google.android.tts.network.NetworkSynthesizer.<init>(NetworkSynthesizer.java:68)
E/AndroidRuntime( 7237): at com.google.android.tts.GoogleTTSService.onCreate(GoogleTTSService.java:45)
E/AndroidRuntime( 7237): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2657)
E/AndroidRuntime( 7237): at android.app.ActivityThread.access$1600(ActivityThread.java:153)
E/AndroidRuntime( 7237): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329)
E/AndroidRuntime( 7237): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7237): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 7237): at android.app.ActivityThread.main(ActivityThread.java:5227)
E/AndroidRuntime( 7237): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 7237): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 7237): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 7237): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 7237): at dalvik.system.NativeStart.main(Native Method)
I installed gapps-jb-20130301-signed.zip along with CM10.1.
It looks like /system/lib/libspeexwrapper.so is set to be readable by root only. I set it to be readable by all users, and tts works!
$ adb shell
$ su
# mount -o rw,remount /system
# chmod 666 /system/lib/libspeexwrapper.so
# mount -o ro,remount /system
matth45 said:
I've tried CM10.1 RC5 and yesterday's nightly, with a clean install (clear data and cache) and every app that depends on GoogleTTS gets force closed -- the tts preferences in system settings, duolingo, etc. I would see this in logcat:
Code:
E/AndroidRuntime( 7237): java.lang.UnsatisfiedLinkError: Couldn't load speexwrapper from loader dalvik.system.PathClassLoader[dexPath=/system/app/GoogleTTS.apk,libraryPath=/data/app-lib/GoogleTTS]: findLibrary returned null
I installed gapps-jb-20130301-signed.zip along with CM10.1.
It looks like /system/lib/libspeexwrapper.so is set to be readable by root only. I set it to be readable by all users, and tts works!
$ adb shell
$ su
# mount -o rw,remount /system
# chmod 666 /system/lib/libspeexwrapper.so
# mount -o ro,remount /system
Click to expand...
Click to collapse
Nice one, thanks.
Solved
matth45 said:
It looks like /system/lib/libspeexwrapper.so is set to be readable by root only. I set it to be readable by all users, and tts works!
$ adb shell
$ su
# mount -o rw,remount /system
# chmod 666 /system/lib/libspeexwrapper.so
# mount -o ro,remount /system
Click to expand...
Click to collapse
You are the best man.Really thank you
ERROR: chroot: can't execute "/bin/bash" no such file or directory on Android
Hi guys,
I have a problem with "change root" command when I setup ubuntu to run on android. My tablet is Samsung galaxy tab 3 10.1, android 4.4.2 . I followed this tutorial step by step: galaxytabhacks.com/galaxy-tab-10-1-hacks/how-to-install-ubuntu-linux-on-galaxy-tab-10-1-tabuntu(excuse me, I can't post link, please copy and paste help me) but when I run "bootubuntu" script it threw error as title above.
This is bootubuntu script
Code:
#modprobe ext2
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
export kit=/sdcard/ubuntu
export bin=/system/bin
if [ ! -d /data/local/ubuntu ]
then
mkdir /data/local/ubuntu
fi
export mnt=/data/local/ubuntu
export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH
export TERM=linux
export HOME=/root
export bbox=/system/xbin/busybox
$bbox mknod /dev/block/loop255 b 7 255
$bbox losetup /dev/block/loop255 /sdcard/ubuntu/ubuntu.img
$bbox mount -t ext2 /dev/block/loop255 /data/local/ubuntu
$bbox mount -t devpts devpts $mnt/dev/pts
$bbox mount -t proc proc $mnt/proc
$bbox mount -t sysfs sysfs $mnt/sys
sysctl -w net.ipv4.ip_forward=1
echo "Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4"
echo "nameserver 8.8.8.8" > $mnt/etc/resolv.conf
echo "nameserver 8.8.4.4" >> $mnt/etc/resolv.conf
echo "Setting localhost on /etc/hosts "
echo "127.0.0.1 localhost" > $mnt/etc/hosts
echo "READY TO ROCK AND ROLL BABY! "
echo "Brought to you by NexusOneHacks.net and the open source community! "
echo " "
chroot $mnt /bin/bash #error here
#After exit command is executed clear it all up
echo " "
echo "Shutting down Ubuntu"
$bbox umount $mnt/dev/pts
$bbox umount $mnt/proc
$bbox umount $mnt/sys
$bbox umount $mnt
$bbox losetup -d /dev/block/loop255 &> /dev/null
And this is result
Code:
Ubuntu Chroot Bootloader v0.1
Ubuntu Bootloader is now installed!
This process does NOT damage Android OS!
Original Installer by Charan Singh
Modified for Ubuntu Chroot by Max Lee at AndroLinux.com ,G2Hacks.com and NexusOneHacks.net
To enter the Ubuntu Linux console just type 'bootubuntu'
[email protected]:/sdcard/ubuntu # bootubuntu
net.ipv4.ip_forward = 1
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4
Setting localhost on /etc/hosts
READY TO ROCK AND ROLL BABY!
Brought to you by NexusOneHacks.net and the open source community!
chroot: can't execute '/bin/bash': No such file or directory
Shutting down Ubuntu
1|[email protected]:/sdcard/ubuntu #
I read lot of thread about this error, but it on ubuntu only so I can't solve it.
Can anyone help me? Thanks so much!
this only my suggestion pal but do you have the bash binary
ballerd said:
this only my suggestion pal but do you have the bash binary
Click to expand...
Click to collapse
I don't have bash file and bin dir, I dont know how to find it too
hi had to restore everything and going through stages have installed busybox and unblocked bootloader but cant get rbox boot menu to install i follow all the stages but on last stage i get cannot open for read: No such file or directory any ideas? here is full commands and response:
is is possible to ubgrade without boot menu or install twrp instead or must i go through the stages
adb push c:\users\paul\desktop\bootmenu.img /sdcard
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
cannot stat 'c:userspauldesktopbootmenu.img': No such file or directory
1|[email protected]:/ # adb shell
adb shell
[email protected]:/ # su
su
[email protected]:/ # su
su
[email protected]:/ # /system/xbin/busybox md5sum /sdcard/bootmenu.img
/system/xbin/busybox md5sum /sdcard/bootmenu.img
a8a3c28baafe43f354d92e6cc8b392d3 /sdcard/bootmenu.img
[email protected]:/ # rm -f /sdcard/bootmenu.img
rm -f /sdcard/bootmenu.img
[email protected]:/ # exit
exit
[email protected]:/ # exit
exit
[email protected]:/ # mount -o remount,rw /system
mount -o remount,rw /system
[email protected]:/ # mkdir /system/boot
mkdir /system/boot
[email protected]:/ # dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/system/boot/boot.img
dcc.1/by-name/boot of=/system/boot/boot.img <
20480+0 records in
20480+0 records out
10485760 bytes transferred in 0.422 secs (24847772 bytes/sec)
[email protected]:/ # mount -o remount,ro /system
mount -o remount,ro /system
[email protected]:/ # dd if=/sdcard/bootmenu.img of=/dev/block/platform/msm_sdcc.1/by-name/boot
dev/block/platform/msm_sdcc.1/by-name/boot <
/sdcard/bootmenu.img: cannot open for read: No such file or directory
paulsavo said:
hi had to restore everything and going through stages have installed busybox and unblocked bootloader but cant get rbox boot menu to install i follow all the stages but on last stage i get cannot open for read: No such file or directory any ideas? here is full commands and response:
is is possible to ubgrade without boot menu or install twrp instead or must i go through the stages
adb push c:\users\paul\desktop\bootmenu.img /sdcard
* daemon not running. starting it now on port 5038 *
* daemon started successfully *
cannot stat 'c:userspauldesktopbootmenu.img': No such file or directory
1|[email protected]:/ # adb shell
adb shell
[email protected]:/ # su
su
[email protected]:/ # su
su
[email protected]:/ # /system/xbin/busybox md5sum /sdcard/bootmenu.img
/system/xbin/busybox md5sum /sdcard/bootmenu.img
a8a3c28baafe43f354d92e6cc8b392d3 /sdcard/bootmenu.img
[email protected]:/ # rm -f /sdcard/bootmenu.img
rm -f /sdcard/bootmenu.img
[email protected]:/ # exit
exit
[email protected]:/ # exit
exit
[email protected]:/ # mount -o remount,rw /system
mount -o remount,rw /system
[email protected]:/ # mkdir /system/boot
mkdir /system/boot
[email protected]:/ # dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/system/boot/boot.img
dcc.1/by-name/boot of=/system/boot/boot.img <
20480+0 records in
20480+0 records out
10485760 bytes transferred in 0.422 secs (24847772 bytes/sec)
[email protected]:/ # mount -o remount,ro /system
mount -o remount,ro /system
[email protected]:/ # dd if=/sdcard/bootmenu.img of=/dev/block/platform/msm_sdcc.1/by-name/boot
dev/block/platform/msm_sdcc.1/by-name/boot <
/sdcard/bootmenu.img: cannot open for read: No such file or directory
Click to expand...
Click to collapse
You deleted the file you're trying to dd. might want to double check the instructions.
Lol seen that cheers