Related
Hi guys i have a problem creating the bootmenu
I am following this post but when i'm going to 3rd line:
C:/> adb shell
$ su
# cp -R /sdcard/bootmenu /data/bootmenu
# cd /data/bootmenu
# chmod 755 *
# ./install.sh
# rm -R /data/bootmenu
i get the following message: cd: can't cd to /data/bootmenu
could you tell me please what i'm doing wrong???
Post the output of
# ls -l /data/bootmenu
Maybe it does not exist OR it is a file (it will be a file if /sdcard/bootmenu was one)
But in any case: It's much easier to install 2nd-init directly from the android market: The currently included version 0.45 works good enough to install the CM7 port (afterwards you'll have 0.51 anyway as the port includes it's own version)
pabx said:
Post the output of
# ls -l /data/bootmenu
Maybe it does not exist OR it is a file (it will be a file if /sdcard/bootmenu was one)
But in any case: It's much easier to install 2nd-init directly from the android market: The currently included version 0.45 works good enough to install the CM7 port (afterwards you'll have 0.51 anyway as the port includes it's own version)
Click to expand...
Click to collapse
Ok thanks! I saw today new version of this that include 0.5.1
The following scripts are made to ease the life of a flashaholic and LTE. I flash a ton of Cyanogen Nightlies and new Roms of others.
They have been working for me for a while now and I though I should share them.
Soon ill look into adding the APN for Tmobile LTE to the apns-conf.xml and possibly combine into one script.
You Must Have Root! I have run these using the free $cripter but you should be able to use Script Manager as well.
I have also added them as attachments below.
Please test these before blindly running. Just because they work flawless for me doesn't mean it will for everyone in every case. The Tmobile sound edits are the newest one so please watch this one a little more careful and I have not run it as much and mine uses tab and not spaces as the reference post.
If you find any of the scripts useful, feel free to hit the [Thanks] button below
Disclaimer: I am not responsible bricking your phone, voiding your warranty, or any other issue may have as result of using these scripts
Build.prop Editor
Last Updated: 04/13/2013
Version: b01 custom b02 prop edit to possible speed up internet
Description: This will change entries if already in build.prop or add the needed entries at the bottom to enable LTE and also perfered network options in Cyanogenmod. It will make a backup of the file prior to doing this.
Code:
#!/system/bin/sh
# Nexus 4 build.prop Editor to enabled LTE
# created by XDA user: justinaz
# created on 4/13/13
# version: b01
# mounting system as rw
busybox mount -o remount,rw /system
if [ $? != 0 ] ; then exit
fi
# Set the File to Edit
FILE=/system/build.prop
#Make Backup of build.prop
if [ -f $FILE.orig ];
then
cp $FILE $FILE.orig.1
else
cp $FILE $FILE.orig
fi
# Set the Build.prop items below
# line# is the Build Prop you want to change
# lineArg# is the value you want it to be
line1=telephony.lteOnGsmDevice
lineArg1=1
line2=ro.telephony.default_network
lineArg2=9
line3=ro.ril.def.preferred.network
lineArg3=9
# X should end with number of changes above 1 2 3
for X in 1 2 3
do
lineNum=
eval prop=\$line$X
eval arg=\$lineArg$X
echo $prop=$arg
if grep -Fq $prop $FILE ; then
lineNum=`sed -n "/${prop}/=" $FILE`
echo $lineNum
sed -i "${lineNum} c${prop}=${arg}" $FILE
else
echo "$prop does not exist in $FILE"
echo "Adding to end of $FILE"
echo $prop=$arg >> $FILE
fi
done;
# mounting system as ro
busybox mount -o remount,ro /system
Soundfile Editor (Tmobile Fixes)
Last Updated: 04/13/2013
Version: s01
Description: This will change the needed snd_soc_msm_2x_Fusion3 entries for T-Mobile. It will make a backup prior to doing this.
Reference: XDA post: simobile: Fix for no in-call audio/T-Mobile US/4.2.2/.33 radio or lower
Code:
#!/system/bin/sh
# Nexus 4 Sound File Editor to fix enabled LTE Sound Issues
# created by XDA user: justinaz
# created on 4/13/13
# version: s01
# Reference XDA post: simobile http://forum.xda-developers.com/showthread.php?t=2233319
# mounting system as rw
busybox mount -o remount,rw /system
if [ $? != 0 ] ; then exit
fi
# Set the File to Edit
FILE=/system/etc/snd_soc_msm/snd_soc_msm_2x_Fusion3
#Make Backup File we ar editing just in case
if [ -f $FILE.orig ];
then
cp $FILE $FILE.orig.1
else
cp $FILE $FILE.orig
fi
# line# is the Line Item you want to change
# lineArg# is the value you want it to be
line1=" ACDBID 81:1"
lineArg1=" ACDBID 7:1"
line2=" ACDBID 91:2"
lineArg2=" ACDBID 6:2"
# X should end with number of changes above 1 2
for X in 1 2
do
lineNum=
eval prop=\$line$X
eval arg=\$lineArg$X
if grep -Fq "$prop" $FILE ; then
lineNum=`sed -n "/${prop}/=" $FILE`
echo "Line number $lineNum found for: $prop"
sed -i "${lineNum} c${arg}" $FILE
echo "$lineNum from: $prop :TO: $arg"
else
echo "$prop does not exist in $FILE"
fi
done;
# mounting system as ro
busybox mount -o remount,ro /system
justinaz said:
The following scripts are made to ease the life of a flashaholic and LTE. I flash a ton of Cyanogen Nightlies and new Roms of others.
They have been working for me for a while now and I though I should share them.
Soon ill look into adding the APN for Tmobile LTE to the apns-conf.xml and possibly combine into one script.
You Must Have Root! I have run these using the free $cripter but you should be able to use Script Manager as well.
I have also added them as attachments below.
Please test these before blindly running. Just because they work flawless for me doesn't mean it will for everyone in every case. The Tmobile sound edits are the newest one so please watch this one a little more careful and I have not run it as much and mine uses tab and not spaces as the reference post.
If you find any of the scripts useful, feel free to hit the [Thanks] button below
Disclaimer: I am not responsible bricking your phone, voiding your warranty, or any other issue may have as result of using these scripts
Build.prop Editor
Last Updated: 04/13/2013
Version: b01
Description: This will change entries if already in build.prop or add the needed entries at the bottom to enable LTE and also perfered network options in Cyanogenmod. It will make a backup of the file prior to doing this.
Code:
#!/system/bin/sh
# Nexus 4 build.prop Editor to enabled LTE
# created by XDA user: justinaz
# created on 4/13/13
# version: b01
# mounting system as rw
busybox mount -o remount,rw /system
if [ $? != 0 ] ; then exit
fi
# Set the File to Edit
FILE=/system/build.prop
#Make Backup of build.prop
if [ -f $FILE.orig ];
then
cp $FILE $FILE.orig.1
else
cp $FILE $FILE.orig
fi
# Set the Build.prop items below
# line# is the Build Prop you want to change
# lineArg# is the value you want it to be
line1=telephony.lteOnGsmDevice
lineArg1=1
line2=ro.telephony.default_network
lineArg2=9
line3=ro.ril.def.preferred.network
lineArg3=9
# X should end with number of changes above 1 2 3
for X in 1 2 3
do
lineNum=
eval prop=\$line$X
eval arg=\$lineArg$X
echo $prop=$arg
if grep -Fq $prop $FILE ; then
lineNum=`sed -n "/${prop}/=" $FILE`
echo $lineNum
sed -i "${lineNum} c${prop}=${arg}" $FILE
else
echo "$prop does not exist in $FILE"
echo "Adding to end of $FILE"
echo $prop=$arg >> $FILE
fi
done;
# mounting system as ro
busybox mount -o remount,ro /system
Soundfile Editor (Tmobile Fixes)
Last Updated: 04/13/2013
Version: s01
Description: This will change the needed snd_soc_msm_2x_Fusion3 entries for T-Mobile. It will make a backup prior to doing this.
Reference: XDA post: simobile: Fix for no in-call audio/T-Mobile US/4.2.2/.33 radio or lower
Code:
#!/system/bin/sh
# Nexus 4 Sound File Editor to fix enabled LTE Sound Issues
# created by XDA user: justinaz
# created on 4/13/13
# version: s01
# Reference XDA post: simobile http://forum.xda-developers.com/showthread.php?t=2233319
# mounting system as rw
busybox mount -o remount,rw /system
if [ $? != 0 ] ; then exit
fi
# Set the File to Edit
FILE=/system/etc/snd_soc_msm/snd_soc_msm_2x_Fusion3
#Make Backup File we ar editing just in case
if [ -f $FILE.orig ];
then
cp $FILE $FILE.orig.1
else
cp $FILE $FILE.orig
fi
# line# is the Line Item you want to change
# lineArg# is the value you want it to be
line1=" ACDBID 81:1"
lineArg1=" ACDBID 7:1"
line2=" ACDBID 91:2"
lineArg2=" ACDBID 6:2"
# X should end with number of changes above 1 2
for X in 1 2
do
lineNum=
eval prop=\$line$X
eval arg=\$lineArg$X
if grep -Fq "$prop" $FILE ; then
lineNum=`sed -n "/${prop}/=" $FILE`
echo "Line number $lineNum found for: $prop"
sed -i "${lineNum} c${arg}" $FILE
echo "$lineNum from: $prop :TO: $arg"
else
echo "$prop does not exist in $FILE"
fi
done;
# mounting system as ro
busybox mount -o remount,ro /system
Click to expand...
Click to collapse
I LOVE YOU !!! lol
Will this work with the new radio?
Sent from my Nexus 4
Contivity said:
Will this work with the new radio?
Sent from my Nexus 4
Click to expand...
Click to collapse
No, newest radio can't use lte
I know this is off topic, but was wondering if you can help me with this. Can you please make a script that will add these 4 lines to the build.prop?
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.hsdpa.category=24
ro.ril.hsupa.category=7
I got these lines from Simms22 awhile back. It helps with data connection and speeds with T-Mobile. Please! =)
Goog1e Phone said:
I know this is off topic, but was wondering if you can help me with this. Can you please make a script that will add these 4 lines to the build.prop?
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.hsdpa.category=24
ro.ril.hsupa.category=7
I got these lines from Simms22 awhile back. It helps with data connection and speeds with T-Mobile. Please! =)
Click to expand...
Click to collapse
Its pretty easy to add additional build prop additions.
THis is the new one.... i tested and appears to work correctly
Code:
#!/system/bin/sh
# Nexus 4 build.prop Editor to enabled LTE
# created by XDA user: justinaz
# created on 4/13/13
# version: b02
# mounting system as rw
busybox mount -o remount,rw /system
if [ $? != 0 ] ; then exit
fi
# Set the File to Edit
FILE=/system/build.prop
#Make Backup of build.prop
if [ -f $FILE.orig ];
then
cp $FILE $FILE.orig.1
else
cp $FILE $FILE.orig
fi
# Set the Build.prop items below
# line# is the Build Prop you want to change
# lineArg# is the value you want it to be
line1=telephony.lteOnGsmDevice
lineArg1=1
line2=ro.telephony.default_network
lineArg2=9
line3=ro.ril.def.preferred.network
lineArg3=9
line4=ro.ril.hsxpa
lineArg4=2
line5=ro.ril.gprsclass
lineArg5=12
line6=ro.ril.hsdpa.category
lineArg6=24
line7=ro.ril.hsupa.category
lineArg7=7
# X should end with number of changes above 1 2 3
for X in 1 2 3 4 5 6 7
do
lineNum=
eval prop=\$line$X
eval arg=\$lineArg$X
echo $prop=$arg
if grep -Fq $prop $FILE ; then
lineNum=`sed -n "/${prop}/=" $FILE`
echo $lineNum
sed -i "${lineNum} c${prop}=${arg}" $FILE
else
echo "$prop does not exist in $FILE"
echo "Adding to end of $FILE"
echo $prop=$arg >> $FILE
fi
done;
# mounting system as ro
busybox mount -o remount,ro /system
justinaz said:
Its pretty easy to add additional build prop additions.
THis is the new one.... i tested and appears to work correctly
Code:
#!/system/bin/sh
# Nexus 4 build.prop Editor to enabled LTE
# created by XDA user:justinaz
# created on 4/13/13
# version:b02
# mounting system as rw
busybox mount -o remount,rw /system
if [ $? != 0 ] ; then exit
fi
# Set the File to Edit
FILE=/system/build.prop
#Make Backup of build.prop
if [ -f $FILE.orig ];
then
cp $FILE $FILE.orig.1
else
cp $FILE $FILE.orig
fi
# Set the Build.prop items below
# line# is the Build Prop you want to change
# lineArg# is the value you want it to be
line1=telephony.lteOnGsmDevice
lineArg1=1
line2=ro.telephony.default_network
lineArg2=9
line3=ro.ril.def.preferred.network
lineArg3=9
line4=ro.ril.hsxpa
lineArg4=2
line5=ro.ril.gprsclass
lineArg5=12
line6=ro.ril.hsdpa.category
lineArg6=24
line7=ro.ril.hsupa.category
lineArg7=7
# X should end with number of changes above 1 2 3
for X in 1 2 3 4 5 6 7
do
lineNum=
eval prop=\$line$X
eval arg=\$lineArg$X
echo $prop=$arg
if grep -Fq $prop $FILE ; then
lineNum=`sed -n "/${prop}/=" $FILE`
echo $lineNum
sed -i "${lineNum} c${prop}=${arg}" $FILE
else
echo "$prop does not exist in $FILE"
echo "Adding to end of $FILE"
echo $prop=$arg >> $FILE
fi
done;
# mounting system as ro
busybox mount -o remount,ro /system
Click to expand...
Click to collapse
You're the man. Thank you for this! I would give you 10 thanks if I could!
Sent from my Nexus 4
Will these need to run on boot or just run once?
Sent from my Nexus 4 using xda app-developers app
n2d551 said:
Will these need to run on boot or just run once?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Just once until you dirty flash a rom
It said I need to mount? How do I that?
Sent from my Nexus 4 using xda premium
Julianmgn said:
It said I need to mount? How do I that?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Can you give the actual error it says and detail about how you are running it? Your description is very vague.
Couple things it could be...... of the top of my head
are you running it as ROOT? (its required)
do you have busybox installed? (its required)
are you trying to run this in recovery/init.d script? (this is a shell script not one of those, you would have to modify it to run like that)
justinaz said:
Can you give the actual error it says and detail about how you are running it? Your description is very vague.
Couple things it could be...... of the top of my head
are you running it as ROOT? (its required)
do you have busybox installed? (its required)
are you trying to run this in recovery/init.d script? (this is a shell script not one of those, you would have to modify it to run like that)
Click to expand...
Click to collapse
I'm rooted and I have busy box installed, I downloaded scripter like the op said and when I try to run it, it give me the error "mount: permission denied are you root?"
Sent from my Nexus 4 using xda premium
Julianmgn said:
I'm rooted and I have busy box installed, I downloaded scripter like the op said and when I try to run it, it give me the error "mount: permission denied are you root?"
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Same thing happened to me, try script manager, it worked for me.
Sent from my Nexus 4 using Tapatalk 2
MidtownHD said:
Same thing happened to me, try script manager, it worked for me.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Tried that also its giving me the same error
Sent from my Nexus 4 using xda premium
Julianmgn said:
Tried that also its giving me the same error
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
well, I would delete app data from root access app and the script app, then uninstall the script app. Reboot phone, check root access with other apps, ex. a file manager, then install preferred script app and try the scripts again. Worst case, do it manually.
Sent from my Nexus 4 using Tapatalk 2
You are making it more complicated than you need to.
You have to run the script as root. If you are using scripter long press the script and edit it. On the top there is a check box for Run as root? Check that and hit save. Then run the script.
Sent from my Nexus 4 using Tapatalk 2
Or just run it in rom toolbox
Sent from my Nexus 4 using xda app-developers app
justinaz said:
You are making it more complicated than you need to.
You have to run the script as root. If you are using scripter long press the script and edit it. On the top there is a check box for Run as root? Check that and hit save. Then run the script.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Maybe the apps are not detecting the root access correctly.
Sent from my Nexus 4 using Tapatalk 2
justinaz said:
You are making it more complicated than you need to.
You have to run the script as root. If you are using scripter long press the script and edit it. On the top there is a check box for Run as root? Check that and hit save. Then run the script.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Yup that did it lol
Sent from my Nexus 4 using xda premium
Julianmgn said:
Yup that did it lol
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
so you never granted root access?
Sent from my Nexus 4 using Tapatalk 2
http://forum.xda-developers.com/showthread.php?t=2390162
Thx mate, was looking for this. Just wondering if there's a script for deodexing stock rooted roms?
jaidev.s said:
Thx mate, was looking for this. Just wondering if there's a script for deodexing stock rooted roms?
Click to expand...
Click to collapse
why not give dsixda kitchen a try:fingers-crossed:
Outstanding! The idea odexing user apps is really awesome. I applied -fr and -dat (not -all why is because of Nottach Xposed and Wanam Xposed) on my SGS4(Sammy 4.2.2, deodexed) and it works flawless
I think -ncpa and -ncsa(opposite of cpa and csa) will be useful for people who want to exclude odexing a few of them. Is this a good idea?
marbulas said:
Outstanding! The idea odexing user apps is really awesome. I applied -fr and -dat (not -all why is because of Nottach Xposed and Wanam Xposed) on my SGS4(Sammy 4.2.2, deodexed) and it works flawless
I think -ncpa and -ncsa(opposite of cpa and csa) will be useful for people who want to exclude odexing a few of them. Is this a good idea?
Click to expand...
Click to collapse
In the next release i add this feature Good Idea Sir
I've a question.
When I tried to update any apps already installed with installing from package installer directly(like through file manager and not via Play Store), system says the space to install this app is not enough.
It's a problem about odexs in /data/app.
My tiny knowledge about to solve this problem is to remove all of them and reinstall them which makes trouble.
Is there a solution to solve this problem without reflashing rom and doing factory reset?
marbulas said:
I've a question.
When I tried to update any apps already installed with installing from package installer directly(like through file manager and not via Play Store), system says the space to install this app is not enough.
It's a problem about odexs in /data/app.
My tiny knowledge about to solve this problem is to remove all of them and reinstall them which makes trouble.
Is there a solution to solve this problem without reflashing rom and doing factory reset?
Click to expand...
Click to collapse
Open terminal emulator and type this:
bb="busybox";
$bb clear;
root=`$bb id -u`;
if $bb [[ "$root" == "0" ]];
then
cd /data/app;
for app in *.odex;
do
apk=`echo $app | $bb sed -e 's:.odex:.apk:g'`;
if $bb [ ! -f $apk ];
then
echo "Removing $app...";
$bb rm -f $app;
fi;
done;
else
echo "Root Permission Not Acquired!";
echo "Type 'su' and try again";
exit;
fi;
MatrixDJ96 said:
Open terminal emulator and type this:
bb="busybox";
$bb clear;
root=`$bb id -u`;
if $bb [[ "$root" == "0" ]];
then
cd /data/app;
for app in *.odex;
do
apk=`echo $app | $bb sed -e 's:.odex:.apk:g'`;
if $bb [ ! -f $apk ];
then
echo "Removing $app...";
$bb rm -f $app;
fi;
done;
else
echo "Root Permission Not Acquired!";
echo "Type 'su' and try again";
exit;
fi;
Click to expand...
Click to collapse
I rewrote the code you gave me to use as an init.d script...
for i in /data/app/*.odex
do
apk=`echo $i | busybox sed -e 's:.odex:.apk:g'`
if [ ! -f $apk ];
then
rm -f $i
fi;
done
Is this correct? Is there anything I can reduce more or wrong something?
Sorry for my ignorance ;D
Edit : Just an wrong word
marbulas said:
I rewrote the code you gave me to use as an init.d script...
for i in /data/app/*.odex
do
apk=`echo $i | busybox sed -e 's:.odex:.apk:g'`
if [ ! -f $apk ];
then
rm -f $i
fi;
done
Is this correct? Is there anything I can reduce more or wrong something?
Sorry for my ignorance ;D
Edit : Just an wrong word
Click to expand...
Click to collapse
Error...
Write This:
#!/system/bin/sh
cd /data/app
for o in *.odex
do
a=`echo $o | busybox sed -e 's:.odex:.apk:g'`
if [ ! -f $a ];
then
busybox rm -f $o
fi;
done
Remember: Set perm 777 and own 0:0
By MatrixDJ96 For You
This script works on rooted Stock i9500 ROM?
leokak said:
This script works on rooted Stock i9500 ROM?
Click to expand...
Click to collapse
Sure
Sent from my GT-S5570 using xda app-developers app
MatrixDJ96 said:
Sure
Sent from my GT-S5570 using xda app-developers app
Click to expand...
Click to collapse
I've tried and get this... What can i do?
Sent from my GT-I9500 using xda app-developers app
leokak said:
I've tried and get this... What can i do?
Sent from my GT-I9500 using xda app-developers app
Click to expand...
Click to collapse
Install Busybox by Stericson (In Play Store)
Try Again
Sent from my GT-S5570 using xda app-developers app
MatrixDJ96 said:
Install Busybox by Stecson (In Play Store)
Try Again
Sent from my GT-S5570 using xda app-developers app
Click to expand...
Click to collapse
Worked!! Thank you!! xD
New Update!
Changelog:
Universal Odex Version 6.3
- A Lot Of Bugs Fixed
http://forum.xda-developers.com/showthread.php?t=2527268
Go here to follow my new script
When i type dexo -h it says not found..
Sent from my GT-I9500 using XDA Premium 4 mobile app
wan_6142 said:
When i type dexo -h it says not found..
Sent from my GT-I9500 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Have you installed Odexer Tool or Universal Odex Script?
Just got an ouya. I rooted itnand installed Google plat and busybox. I used foldermount to move application data from internal sdcard to an external USB hard drive. But am wondering if its possible to move the games installed from the ouya store to external drive?
Sent from my R800at using xda premium
Hi, use directorybind for mount Android folder... And all is install directly on your hdd...
Envoyé depuis mon Galaxy Nexus avec Tapatalk 4
billouetaudrey said:
Hi, use directorybind for mount Android folder... And all is install directly on your hdd...
Envoyé depuis mon Galaxy Nexus avec Tapatalk 4
Click to expand...
Click to collapse
Thank you. Ill look into that.
Edit - I don't see it in the Google play store. Is it on the market? Mind posting a link?
Sent from my R800at using xda premium
http://forum.xda-developers.com/showthread.php?p=20668905
Envoyé depuis mon Galaxy Nexus avec Tapatalk 4
i can use this with link2sd?
I don't know, but I think yes... Personnaly I bind all my Android folder...
Envoyé depuis mon Galaxy Nexus avec Tapatalk 4
billouetaudrey said:
I don't know, but I think yes... Personnaly I bind all my Android folder...
Envoyé depuis mon Galaxy Nexus avec Tapatalk 4
Click to expand...
Click to collapse
I have been messing with directorybind for a while now and I cannot get it to work. Would you mind typing in what you type in to move application data? Example would it be something like:
data/app (where the apks are installed to, at least I think they are)
I want to move as much as I can over to this drive as the 8gb is seriously too small. I installed order & chaos and Bards tale and all I have left is chump change...
Foldermount works for me. You need to be rooted.
This works for Play Store installed/sideloaded APKs
Still trying to find a way on how to link OUYA games
This works, follow the directions closely.
http://forum.xda-developers.com/showthread.php?t=2345680
Thank you for the link. I know how to use Link2SD, I use it on my phone, Xperia PLAY, and it works great. It was the first think I tried on the Ouya but it didnt work. After reading the link, now i know why. Anyways I will get cracking on this link. Thank you.
Edit - Ran the steps and all is working awesome. Thank you!
locke06037 said:
Foldermount works for me. You need to be rooted.
This works for Play Store installed/sideloaded APKs
Still trying to find a way on how to link OUYA games
Click to expand...
Click to collapse
The link tcollum gave me links ouya APks to the ext4 partition. I have all games installed and linked. Only using around 250-290mb of internal sd storage.
Sent from my R800at using xda premium
Okay, so I have rocking Google PLAY store for days now and as of this morning it keeps telling me connection timed out. Despite everything else working on wifi no issues, Ouya market, etc.
Any ideas? I did reinstall using the xposed mod and it did ask me to sign into Google which I did but then when it loads it..... timed out. Any ideas?
Hi,
I'm using CM 12.1 on Moto E(1st gen, condor). I've written following shell script to link user installed applications to external sdcard(EXT4). It is working without any problem.
#!/system/bin/sh
#script to link /data/app contents to extsdcard
sdext='/data/sdext2'
sdint='/data/data'
package=`pm list packages -3 -f | grep $1 | cut -d':' -f2 | cut -d'=' -f1`
package=`dirname $package`
numpk=`echo $package | wc -w`
if [ $numpk -ne 1 ]
then
echo "package not found"
exit
fi
if [[ -L "$package" ]]
then
echo "already linked"
exit
fi
sdext+="/app/"
sdext+=`basename $package`
cp -av $package /data/sdext2/app
rm -rf $package
ln -s $sdext /data/app/
echo $sdext
echo $package
#!/system/bin/sh
#script to link /data/dalvik-cache contents to extsdcard
sdext='/data/sdext2/dalvik-cache/arm/'
sdint='/data/dalvik-cache/arm/'
package=`pm list packages -3 -f | grep $1 | cut -d':' -f2 | cut -d'=' -f1`
numpk=`echo $package | wc -w`
if [ $numpk -ne 1 ]
then
echo "package not found"
exit
fi
a='/'
b='@'
package=${package:1}
sdint=$sdint${package//$a/$b}@classes.dex
if [[ -L "$sdint" ]]
then
echo "already linked"
exit
fi
sdext+=${package//$a/$b}@classes.dex
cp -av $sdint $sdext
rm -f $sdint
ln -s $sdext /data/dalvik-cache/arm/
echo $sdext
echo $sdint
#!/system/bin/sh
#script to link /data/data contents to extsdcard
sdext='/data/sdext2/data/'
sdint='/data/data/'
package=`pm list packages -3 -f | grep $1 | cut -d'=' -f2`
numpk=`echo $package | wc -w`
if [ $numpk -ne 1 ]
then
echo "package data not available"
exit
fi
sdint+=`basename $package`
if [[ -L "$sdint" ]]
then
echo "already linked"
exit
fi
cp -av $sdint $sdext
rm -rf $sdint
ln -s $sdext$package /data/data/
echo $sdext
echo $sdint
But it seems the script to link /data/data is not working as expected. Applications don't start after linking /data/data. It will be very helpful if someone can help on this.
Thanks.
Title says it all, any help :s?
ROM - Trinity Vengeance RaptorXL
Busybox also installed.
186 KB/s (574 bytes in 0.003s)
---------------------------------------------------------------------
An error has occurred in cwm-install.sh. Stop processing.
Press any key to continue . . .
---------------------------------------------------------------------
20131130 202153: busybox mount -o remount,rw /system
20131130 202153: RET=0
20131130 202153: busybox mkdir -p /system/btmgr/bin
20131130 202153: RET=0
20131130 202153: chown root.shell /system/btmgr
20131130 202153: RET=0
20131130 202153: chmod 755 /system/btmgr
20131130 202153: RET=0
20131130 202153: chown root.shell /system/btmgr/bin
20131130 202153: RET=0
20131130 202153: chmod 755 /system/btmgr/bin
20131130 202153: RET=0
20131130 202153: cp /data/local/tmp/busybox /system/btmgr/bin/busybox
/data/local/tmp/cwm-install.sh[57]: cp: not found
20131130 202153: RET=127
Press any key to continue . . .
You need to install busybox from the play store then it will work
Sent from my Nexus 7 using XDA Premium HD app
adam20115 said:
You need to install busybox from the play store then it will work
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
Already installed.
Try to update the busybox or there is a zip in doomlords thread including supersu and busybox
Sent from my LT26i using XDA Premium 4 mobile app