??? Script Help ??? - Galaxy Ace S5830i Q&A, Help & Troubleshooting

Hey guys im quite out of the loop when it comes to the Acei now... Could someone tell me where I can find a script that will mount / use my sd-ext on boot. Cronmod was what i tried but it never worked, i heard there was a new script that worked but dont know where it is.
help would be appreciated.
Sent from my GT-S5830i using xda app-developers app

is this what you are asking for ?
http://forum.xda-developers.com/showthread.php?t=1971689
Sent from my GT-S5830i using xda app-developers app

Scripts to be executed at mount must be placed in the directory:
/etc/init.d
Make a file in it with exe permission and something like:
#!/system/bin/sh
mount -t ext2 -o rw /dev/block/mmcblk0p2 /data/sdext2
Sent from my GT-S5830i using xda app-developers app

Related

Aosp messaging

Can someone please post zip for aosp messaging. Thanks.
Sent from my SGH-T959 using XDA App
Here you go.
Thanks a bunch
Sent from my SGH-T959 using XDA App
How would you install this? I found something similar but had no luck at installing it
trigger1974 said:
How would you install this? I found something similar but had no luck at installing it
Click to expand...
Click to collapse
With this you would use Root Explorer or similar app to just drop it in your system/app folder
jrharvey said:
With this you would use Root Explorer or similar app to just drop it in your system/app folder
Click to expand...
Click to collapse
Code:
adb push mms.apk /sdcard && adb shell
su
mount -o remount,rw /dev/block/stl9 /system
cp /sdcard/moms.apk /system/app
Sent from my SGH-T959 using XDA App
dasunsrule32 said:
Code:
adb push mms.apk /sdcard && adb shell
su
mount -o remount,rw /dev/block/stl9 /system
cp /sdcard/[B]mms.apk[/B] /system/app
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
I could be wrong, but I am sure you meant the above.
I'll push your mom into my system/app.... lol j/k
lol @ moms.apk

EFS read only

I spend all day today and can not find how can I made EFS RW. Am so hopless or it can not be done?
If you have Root Explorer, long press your copy of efs and select permissions.
Sent from my GT-I9100 using XDA Premium App
when i choose permissions it said that it can not be changed because the data system is read only
Tick the r/w tab on the top of Root Explorer when you open the program.
Sent from my GT-I9100 using XDA Premium App
i am trying to tick bit on efs folder it does nothing
the only think works id if from terminal i do
# busybox umount /efs
busybox umount /efs
# busybox mount -w /dev/block/mmcblk0p1 /e
busybox mount -w /dev/block/mmcblk0p1 /efs
after that i can delete the files from the efs and replace tham
but after couple of minutes they go back to the old versions and the efs became RO again
All this CL is too complicated. Just buy Root Explorer, much easier
mahatma said:
when i choose permissions it said that it can not be changed because the data system is read only
Click to expand...
Click to collapse
I have the same problem, Root Explorer can't change permissions.
Please help

Q How to run crosscompiled linux binarys in Terminal

My question:
How can i run a cross compiled Binary in Terminal?
My SGS 2 is rooted and i make ithe binary executable in terminal under root with chmod.
but when i try i become:
# app
app: not found
How about ./app just a thought?
Swyped from HTC Desire S using XDA Premium
Same Problem.
Sent from my GT-I9100 using XDA App
As long as its in $PATH and not in sdcard (no exec permissions) it should work.
What you trying to compile if you dont mind me asking?
Sent from my HTC Desire using XDA App
tried john the ripper
without how to.
but used same way as. http://www.openwall.com/lists/john-users/2011/07/17/1
have used his binary to but same problem.
Worked fine for me, i just followed instructions in the file INSTALL.
remount system rw
Copy john to /system/xbin
chmod 0755 /system/xbin/john
cd to user directory included in the download.
john...and it worked.
You doing anything different to the above? It *should* be working for you.
Sent from my HTC Desire using XDA App
Tried 2 Times. Exactly Same Result.
try again later.
Sent from my GT-I9100 using XDA App

How to know the mount points using terminal emulator

How to know the mount points using terminal emulator ???
I guess i dont have mtd partition. How to check that too ?
I really wanna know my mount points
I have karbonn a21 running ics 4.0.4
Sent from my A21 using xda app-developers app
Nishchay1 said:
How to know the mount points using terminal emulator ???
I guess i dont have mtd partition. How to check that too ?
I really wanna know my mount points
I have karbonn a21 running ics 4.0.4
Sent from my A21 using xda app-developers app
Click to expand...
Click to collapse
There are a couple commands you can run:
cat /proc/mtd
That will give you the mount points if you have a mtd device. If it says not found then you know your device isn't using mtd.
Another command to find the mount points is:
mount
You can also do:
dev/block/platform
Then:
ls
Then cd into the folder for the processor kind. For example on the US version of the Galaxy S3 it's msm_sdcc.1. Then cd into the "by-name" directory and then type ls -l to list the partitions and there mount points. Let me know if you still have questions .
Sent from my SCH-I535 using xda premium
shimp208 said:
There are a couple commands you can run:
cat /proc/mtd
That will give you the mount points if you have a mtd device. If it says not found then you know your device isn't using mtd.
Another command to find the mount points is:
mount
You can also do:
dev/block/platform
Then:
ls
Then cd into the folder for the processor kind. For example on the US version of the Galaxy S3 it's msm_sdcc.1. Then cd into the "by-name" directory and then type ls -l to list the partitions and there mount points. Let me know if you still have questions .
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
Thank you!
I've been trying to find the mountings for my Padfone 2 for many hours untill I finally found this, and at last! something finally worked!
brother @shimp208 can u say me the mount points of boot and others from the below screenshot ............. and thanks in advance...
princemouli said:
brother shimp208 can u say me the mount points of boot and others from the below screenshot ............. and thanks in advance...
Click to expand...
Click to collapse
Please cd into the by-name directory rather then by-num then run ls -la from that directory.
Sent from my SCH-I535 using XDA Premium 4 mobile app
Looks like he only has a by-num
Try
cat /proc/mounts
Or maybe
busybox df -hm
Sent from my Nexus 4 using XDA Premium 4 mobile app
In addition to what demkantor said you can also boot your device into recovery mode, wipe your devices cache, then reboot the phone which should create a last_log file that should contain the partition names, this file can be read by running the following command:
Code:
cat /cache/recovery/last_log
brother @shimp208 i did every thing as u said but i didnt found the mount points of boot and recovery i even saw in recovery.fstab but i didnt found mnts of boot and recovery....... is there any other ideas to find them......
princemouli said:
brother @shimp208 i did every thing as u said but i didnt found the mount points of boot and recovery i even saw in recovery.fstab but i didnt found mnts of boot and recovery....... is there any other ideas to find them......
Click to expand...
Click to collapse
Can you post the full output of the cat /cache/recovery/last_log command (You can also use adb shell and copy and paste it's output)? Also did you try the commands demkantor suggested?
brother @shimp208 here is my recovery log and others............ i need mount point of boot and recovery......
princemouli said:
brother @shimp208 here is my recovery log and others............ i need mount point of boot and recovery......
Click to expand...
Click to collapse
The path to your boot partition is:
Code:
/dev/bootimg
The path to your recovery partition is:
Code:
/dev/recovery
If you wanted to dump these partitions you could run the commands from terminal emulator or adb shell as root:
Code:
cat /dev/bootimg > /mnt/sdcard/boot.img
cat /dev/recovery > /mnt/sdcard/recovery.img
Let me know if this is the information your looking for or not.

How to install large games with small internal storage

Hello I recently rooted because of my small internal storage that will not allow me to install apps. Like modern combat 4 and Nfs most wanted because I cannot move them to extsdcard I tried link2sd but had the same result dose anyone know if I can get apps to install to the extsdcard instead of the internal without flashing? Any help would be appreciated
Sent from my LG-P769 using xda app-developers app
realbro657 said:
Hello I recently rooted because of my small internal storage that will not allow me to install apps. Like modern combat 4 and Nfs most wanted because I cannot move them to extsdcard I tried link2sd but had the same result dose anyone know if I can get apps to install to the extsdcard instead of the internal without flashing? Any help would be appreciated
Sent from my LG-P769 using xda app-developers app
Click to expand...
Click to collapse
If you have root & busybox installed you can run this script.
Code:
#!/system/bin/sh
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
busybox sleep 3
if busybox mount | grep vold/179:61; then
mount -o bind /data/media /storage/external_SD
rm /storage/external_SD/external_sd
chmod -R 777 /sdcard
chmod -R 777 /data/media
fi
Sent from my LGMS769 using XDA Premium 4 mobile app
kuma82 said:
If you have root & busybox installed you can run this script.
Code:
#!/system/bin/sh
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:61 /mnt/sdcard
busybox sleep 3
if busybox mount | grep vold/179:61; then
mount -o bind /data/media /storage/external_SD
rm /storage/external_SD/external_sd
chmod -R 777 /sdcard
chmod -R 777 /data/media
fi
Sent from my LGMS769 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
where do you run this command from? i tried to run it from adb and it didn't work it said "#! wasn't found"
pitbullmommy45245 said:
where do you run this command from? i tried to run it from adb and it didn't work it said "#! wasn't found"
Click to expand...
Click to collapse
Try running with terminal app... It's there in play store...and you don't input #... You open terminal... Type su... Then try running script...
Sent from my Xperia Neo V using xda app-developers app
pitbullmommy45245 said:
where do you run this command from? i tried to run it from adb and it didn't work it said "#! wasn't found"
Click to expand...
Click to collapse
place this file "swapint2ext.txt" on your sdcard and type the following
with a terminal emulator
Code:
su
./sdcard/swapint2ext.txt [B](if on your internal sdcard)[/B]
./sdcard/external_sd/swapint2ext.txt [B](if placed in your external sd)[/B]
with adb
Code:
adb shell
su
./sdcard/swapint2ext.txt [B](if on your internal sdcard)[/B]
./sdcard/external_sd/swapint2ext.txt [B](if placed in your external sd)[/B]
There is a lot more info on the subject in the general section. Look for the titles starting with swap internal or something similar. There are like 3 different threads on the subject. I'll send you a link later with some more info, but that will be later later
kuma82 said:
place this file "swapint2ext.txt" on your sdcard and type the following
with a terminal emulator
Code:
su
./sdcard/external_sd/swapint2ext.txt [B](if placed in your external sd)[/QUOTE]
Hi,
i have "don´t permission", when i type this one in terminal emulator.
Any idea? My phone is rooted. I rename the "swapint2ext.txt in .sh", is this correct? And the path is "sdcard0", is this also correct?
And also i try to execute the "swapint2ext.sh" with the Root Explorer. Works fine, but i can´t install Fifa 14 for example. Not enough place...
Thanks Thomas
Click to expand...
Click to collapse
+1 from the above post. i tried to run it in smanager and it said permission denied. i tried to do adb and terminal on the phone and it said it couldn't find the file.
pitbullmommy45245 said:
+1 from the above post. i tried to run it in smanager and it said permission denied. i tried to do adb and terminal on the phone and it said it couldn't find the file.
Click to expand...
Click to collapse
You are getting permission denied because it needs root access. Read this
http://forum.xda-developers.com/showpost.php?p=45268460&postcount=1
More info coming Hold up.
Sent from my LGMS769 using XDA Premium 4 mobile app
kuma82 said:
You are getting permission denied because it needs root access. Hold up.
Sent from my LGMS769 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
We have root access!
thomasoeli said:
Hi,
i have "don´t permission", when i type this one in terminal emulator.
Any idea? My phone is rooted. I rename the "swapint2ext.txt in .sh", is this correct? And the path is "sdcard0", is this also correct?
And also i try to execute the "swapint2ext.sh" with the Root Explorer. Works fine, but i can´t install Fifa 14 for example. Not enough place...
Thanks Thomas
Click to expand...
Click to collapse
Read this post
http://forum.xda-developers.com/showpost.php?p=45268460&postcount=1
Sent from my LGMS769 using XDA Premium 4 mobile app
---------- Post added at 03:12 PM ---------- Previous post was at 03:05 PM ----------
More info
http://forum.xda-developers.com/showthread.php?p=36627662
http://forum.xda-developers.com/showthread.php?p=36948542
Sent from my LGMS769 using XDA Premium 4 mobile app
realbro657 said:
Hello I recently rooted because of my small internal storage that will not allow me to install apps. Like modern combat 4 and Nfs most wanted because I cannot move them to extsdcard I tried link2sd but had the same result dose anyone know if I can get apps to install to the extsdcard instead of the internal without flashing? Any help would be appreciated
Sent from my LG-P769 using xda app-developers app
Click to expand...
Click to collapse
You can also try this guide if you are still searching for solution

Categories

Resources