I have just cooked my rom( update.zip) and successful installation. But when I restart my mobile, I can't find my settings in bootanimation.zip, Build.prop...
I open Root Explorer and find folder ADB. This Folder has: adb.sh, bootanimation.zip, Build.prop… I can delete this folder but when I restart my mobile, I see it again.
I open file: adb.sh. It has content:
mount -o rw,remount -t ext4 /dev/block/mmcblk0p6 /system
mount -o rw,remount -t ext4 /dev/block/mmcblk0p3 /data
mkdir /data/app
cat /adb/gotiengviet3.apk>/data/app/gotiengviet3.apk
chmod 0644 /data/app/gotiengviet3.apk
mkdir /system
cat /adb/build.prop>/system/build.prop
chmod 0644 /system/build.prop
mkdir /system/media
cat /adb/bootanimation.zip>/system/media/bootanimation.zip
chmod 0644 /system/media/bootanimation.zip
mkdir /system/etc/permissions
cat /adb/com.google.android.features.vendor.xml>/system/etc/permissions/com.google.android.features.vendor.xml
chmod 0644 /system/etc/permissions/com.google.android.features.vendor.xml
rm /adb/gotiengviet3.apk
rm /adb/build.prop
rm /adb/bootanimation.zip
rm /adb/com.google.android.features.vendor.xml
how to cook room or delete folder ADB?
Related
Hi.
Im added FLAC support for Motorola Charm T-Mobile.
This is modified framework.jar via smali\backsmali
Flac *.so files here
put framework jar and *.so in /sdcard/flac/
than copy script
Code:
#!/system/bin/sh
mount -o remount,rw /dev/mtd/mtdblock7 /system
echo "remounting done"
cp -f /sdcard/flac/framework.jar /system/framework
cp -f /sdcard/flac/libFLAC.so /system/lib
cp -f /sdcard/flac/libmediaplayerservice.so /system/lib
cp -f /sdcard/flac/libopencore_player.so /system/lib
echo "files was copied"
chmod 644 /system/framework/framework.jar
chmod 644 /system/lib/libFLAC.so
chmod 644 /system/lib/libmediaplayerservice.so
chmod 644 /system/lib/libopencore_player.so
echo "remounting RO"
mount -o remount,ro /dev/mtd/mtdblock7 /system
in /sdcard/
execute it
chmod 777 script.sh
sh script.sh
reboot your phone
play flac
Dont forget backup own framework.jar and other files.
Admin, plz, add forum for MOTOROLA CHARM
Links are dead.
Can you please upload these files again?
Perform a system dump and share the ICS love.
1 root your phone [guide in dev section]
2 install busybox [app on market to do it for you]
3 enter these commands from terminal
Code:
su
cd /sdcard
mount -o rw,remount -t ext4 /dev/block/mmcblk1p21 /system
chmod 777 /system/xbin/busybox
/system/xbin/busybox tar czvf dump.tar /system
I will donate 9 dollars to first person posting a working dump
Can't wait, come on some kind skyrocket soul share the wealth to our beloved t989.
Sent from my SGH-T989 using Tapatalk
Yes please! This would be very helpful!
About to start the dump, hold on guys.
Unable to chmod /system/xbin/busybox: No such file or directory
10|[email protected]:/sdcard # chmod 777 /system/xbin/busybox
thats what im getting with the commands
cdshepherd said:
Unable to chmod /system/xbin/busybox: No such file or directory
10|[email protected]:/sdcard # chmod 777 /system/xbin/busybox
thats what im getting with the commands
Click to expand...
Click to collapse
is busybox installed?
try
chmod 777 /system/bin/busybox
starskyrob said:
is busybox installed?
try
chmod 777 /system/bin/busybox
Click to expand...
Click to collapse
[email protected]:/sdcard # chmod 777 /system/xbin/busybox
Unable to chmod /system/xbin/busybox: Read-only file system
thats with busy box installed
cdshepherd said:
[email protected]:/sdcard # chmod 777 /system/xbin/busybox
Unable to chmod /system/xbin/busybox: Read-only file system
thats with busy box installed
Click to expand...
Click to collapse
ok so before you chmod,
type this
mount -o rw,remount -t ext4 /dev/block/mmcblk1p21 /system
and btw, thank you. so so much
starskyrob said:
ok so before you chmod,
type this
mount -o rw,remount -t ext4 /dev/block/mmcblk1p21 /system
and btw, thank you. so so much
Click to expand...
Click to collapse
I'm doing the same thing, so whoever dumps first dumps first.
starskyrob said:
is busybox installed?
try
chmod 777 /system/bin/busybox
Click to expand...
Click to collapse
wouldnt he need su to be able to chmod a system file?
starskyrob said:
ok so before you chmod,
type this
mount -o rw,remount -t ext4 /dev/block/mmcblk1p21 /system
and btw, thank you. so so much
Click to expand...
Click to collapse
your welcome.
1|[email protected]:/mnt/sdcard # /system/bin/busybox tar czvf dump.tar /system
sh: /system/bin/busybox: not found
127|[email protected]:/mnt/sdcard #
strange
I can get past everything, but when I type the command to start the dump, this happens.
/system/xbin/busybox tar czvf dump.tar /system
tar: invalid option -- z
Longcat14 said:
I can get past everything, but when I type the command to start the dump, this happens.
/system/xbin/busybox tar czvf dump.tar /system
tar: invalid option -- z
Click to expand...
Click to collapse
same here
127|[email protected]:/sdcard # /system/xbin/busybox tar czvf dump.tar /system
tar: invalid option -- z
BusyBox v1.19.4-Stericson (2012-02-20 19:30:32 CST) multi-call binary.
Usage: tar -[cxtZhmvO] [-X FILE] [-T FILE] [-f TARFILE] [-C DIR] [FILE]...
I used the xUltimate-v2.3.3 to make deodex.
Then it comes to two folders "done_app" & "done_frame"
I copy the two folders into my sdcard, and I want to use adb shell to push & replace
files to system/app /frams
down are my situation.
===========================
C:\android-sdk-windows\tools>adb shell
[email protected]:/$ su
su
[email protected]:/# stop
.................................then it stop...I can't do anything
===========================
down are the sample code from internet
============================
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
=====================================
Can you help me ?
I did wrong on what step....
My OS system is windows7 x64 in command line.
dickluo said:
i used the xultimate-v2.3.3 to make deodex.
Then it comes to two folders "done_app" & "done_frame"
i copy the two folders into my sdcard, and i want to use adb shell to push & replace
files to system/app /frams
down are my situation.
===========================
c:\android-sdk-windows\tools>adb shell
[email protected]:/$ su
su
[email protected]:/# stop
.................................then it stop...i can't do anything
===========================
down are the sample code from internet
============================
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
=====================================
can you help me ?
I did wrong on what step....
My os system is windows7 x64 in command line.
Click to expand...
Click to collapse
記得右鍵點擊cmd圖標,選擇 以管理員身份運行。 看看你是不是忘記了這一步~
No use about that.
Maybe I'll try it on winxp system.
Sent from my ME865 using xda premium
Requesting for a ONE CLICK AUTO APK INSTALLER, i just want to make it short like selecting in my SD CARD the apps and games that i want to install after that i will automatically install those files that i choose after i confirm those to install.
i already used apps like this in my HTC last time. thanks in advance
ES File Explorer
wierzbik said:
ES File Explorer
Click to expand...
Click to collapse
i dont want to always press INSTALL.
its like this i will select the apks to install and then i will confirm to install them all after that it will install all the APKS with no more press "YES TO INSTALL"
adb install name.apk
#!/system/bin/sh
mount -o remount, -rw /sbin
mount -o remount, -rw /system
mount -o remount, -rw /system/xbin
mount -o remount, -rw /system/bin
# enable the adbd daemon and busybox
mount -o remount, -rw -t rootfs rootfs /
chmod 777 /sbin/adbd
chmod 777 /system/xbin/busybox
chmod 777 /system/bin/pm
cd /storage/sdcard1/apps;
for app in *.apk; do pm install -r $app; done
chmod 750 /sbin/adbd
chmod 750 /system/xbin/busybox
chmod 750 /system/bin/pm
mount -o remount, -ro /sbin
mount -o remount, -ro /system
mount -o remount, -ro /system/xbin
mount -o remount, -ro /system/bin
put apps in folder apps on external.
should you have different location then you can change line accordingly
I got this in tasker, source is xda, not me...
I can export as app, just reply with locations adbd, busybox pm, and route of external sd card.
but using this code in terminal should do it
You need root busybox and such. and permissions, set as you like
Sent from my GT-N7000 using Tapatalk 2
Lidroid Toolbox.
Choose your apks and it installs them all by ome click. Google it.
Sent from my GT-N7000 using Tapatalk 2
Below is the script to randomise bootanimations on every boot with a shell script...
Bash:
#!/system/bin/sh
mount -o remount,rw /system
min=1
max=5
number=0
while [ "$number" -lt $min ]
do
number=$RANDOM
let "number %= $max"
done
cd /system/media
mv bootanimation.zip bootanimation.temp
mv bootanimation${number}.zip bootanimation.zip
mv bootanimation.temp bootanimation${number}.zip
chmod 644 bootanimation.zip
mount -o remount,ro /system
for this you need to place 4 bootanimations with names
bootanimation1.zip
bootanimation2.zip
bootanimation3.zip
bootanimation4.zip
in /system/media
You can also do this by using ROM Toolbox...
For now you have 5 bootanimation...
If you want more then place extra bootanimation.zip's then change max according to your preference and those file names in the format bootanimation{max-1}.zip as last bootanimation...
HemanthJabalpuri said:
Below is the script to randomise bootanimations on every boot with a shell script...
Code:
#!/system/bin/sh
mount -o remount,rw /system
min=1
max=5
number=0
while [ "$number" -lt $min ]
do
number=$RANDOM
let "number %= $max"
done
cd /system/media
mv bootanimation.zip bootanimation.temp
mv bootanimation${number}.zip bootanimation.zip
mv bootanimation.temp bootanimation${number}.zip
chmod 644 bootanimation.zip
mount -o remount,ro /system
for this you need to place 4 bootanimations with names
bootanimation1.zip
bootanimation2.zip
bootanimation3.zip
bootanimation4.zip
in /system/media
You can also do this by using ROM Toolbox...
For now you have 5 bootanimation...
If you want more then place extra bootanimation.zip's then change max according to your preference and those file names in the format bootanimation{max-1}.zip as last bootanimation...
Click to expand...
Click to collapse
This don't work, neither for rom toolbox. At least for LG V20