I wanted to install custom Settings.apk and so I deleted my original Settings.apk.
But now I cannot re -install my Original or Custom Settings.apk on my phone..
Any help guys?
Edit: Tried these steps, but no luck
1) Pushed APK to SD card.
$ adb push SecureSetting.apk /sdcard/
2) Entered the console and got the shell
$ adb shell
3) Switched to superuser.
$ su
4) Remounted the system partition with WRITE permission.
$ mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
5) Copying my APK from /sdcard/ to /system/ using cat
$ cat /sdcard/Settings.apk > /system/app/Settings.apk
Error: sh: cat: <stdout>: No space left on device
Which ROM
Sent from my Micromax A250 using XDA Premium 4 mobile app
superxdbash said:
Which ROM
Sent from my Micromax A250 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
LegoIce Turbo.
And problem is Solved.
Thanks for the concern.
Related
Without doing much talking I am just pasting the shell session:
Error is in red font
Code:
C:\Users\Downloads\one click root exploit>adb shell
# su
su
[COLOR="red"]# remount rw
remount rw
[: not found
[: not found
for mounting /system as read/write or read-only
usage: remount rw -or- remount ro[/COLOR]
# exit
exit
# exit
exit
C:\Users\Downloads\one click root exploit>
sunrocket said:
Without doing much talking I am just pasting the shell session:
Error is in red font
Code:
C:\Users\Downloads\one click root exploit>adb shell
# su
su
[COLOR="red"]# remount rw
remount rw
[: not found
[: not found
for mounting /system as read/write or read-only
usage: remount rw -or- remount ro[/COLOR]
# exit
exit
# exit
exit
C:\Users\Downloads\one click root exploit>
Click to expand...
Click to collapse
I'm not sure why that is happening, I didn't use a one click to root but you can always use the command: mount -t rfs -o remount,rw /dev/block/stl9 /system
to mount /system as read,write.
sunrocket said:
Without doing much talking I am just pasting the shell session:
Error is in red font
Code:
C:\Users\Downloads\one click root exploit>adb shell
# su
su
[COLOR="red"]# remount rw
remount rw
[: not found
[: not found
for mounting /system as read/write or read-only
usage: remount rw -or- remount ro[/COLOR]
# exit
exit
# exit
exit
C:\Users\Downloads\one click root exploit>
Click to expand...
Click to collapse
By the looks of that error I think busybox either isn't installed or not installed correctly.i am not positive but I think that its a busybox problem.
Yeah skeeter is right about busy box, whatever set up busy box didn't do it right
Sent from my SPH-D700 using Tapatalk
What do you guys think I should do?
I tried one click root again. The rooting is successful but still get the above error.
Most of the stuff that requires root (wifi tether, setcpu etc.) is working fine.
How to install busybox manually?
sunrocket said:
What do you guys think I should do?
I tried one click root again. The rooting is successful but still get the above error.
Most of the stuff that requires root (wifi tether, setcpu etc.) is working fine.
Click to expand...
Click to collapse
Sounds like you should just make sure busy box is installed properly. I would download the busybox installer from the market and install 1.17.1
You can't mount the filesystem tha way on the phone, you must use the other script (pita, I know). The remount command only works like that through adb (adb remount) and not from shell.
Sent from my SPH-D700 using XDA App
rufflez2010 said:
You can't mount the filesystem tha way on the phone, you must use the other script (pita, I know). The remount command only works like that through adb (adb remount) and not from shell.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Remount will work from a shell in connectbot if busybox is install correctly. My suggestion would be to flash a kernel with root and busy box in it. Just be sure to remove the joeykrim root exploit before you flash thr kernel.
Sent from my SPH-D700 using Tapatalk
Hi,
I developed a custom Settings.apk with some changes.I installed it on emulator it woks fine.But when i install on device,after reboot the Settings application is not visible.I checke using ADB whether it is system/app or not,it is in system/app
but not visible.
I tested on LGP350 device
My steps are
1)Rooted the phone using GingerBreak
2)Take backup of Setting.apk,Settings.odex
3)Remove Setting.apk,Settings.odex from system/app
4)Copied my custom Settings.apk to System/app(i have no Settings.odex )
5)Reboot the device
My command sequence is :-
C:\Users\ramkumar\.android\avd\android_simulator.avd>adb shell
$ su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
# chmod 777 system/app
# exit
$ exit
C:\Users\ramkumar\.android\avd\android_simulator.avd>adb push Settings.apk system/app
C:\Users\ramkumar\.android\avd\android_simulator.avd>adb reboot
After reboot there is no Settings app on my device
Hj, how do you install settings.apk on emulator?
Ramkumar Pinninti said:
Hi,
I developed a custom Settings.apk with some changes.I installed it on emulator it woks fine.But when i install on device,after reboot the Settings application is not visible.I checke using ADB whether it is system/app or not,it is in system/app
but not visible.
I tested on LGP350 device
My steps are
1)Rooted the phone using GingerBreak
2)Take backup of Setting.apk,Settings.odex
3)Remove Setting.apk,Settings.odex from system/app
4)Copied my custom Settings.apk to System/app(i have no Settings.odex )
5)Reboot the device
My command sequence is :-
C:\Users\ramkumar\.android\avd\android_simulator.avd>adb shell
$ su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
# chmod 777 system/app
# exit
$ exit
C:\Users\ramkumar\.android\avd\android_simulator.avd>adb push Settings.apk system/app
C:\Users\ramkumar\.android\avd\android_simulator.avd>adb reboot
After reboot there is no Settings app on my device
Click to expand...
Click to collapse
sorry for my english!
Hj, how do you install settings.apk on emulator?
I try to install settings.apk, but It error.
Please tell me how to install it on emulator.
What emulator do you use?
thanks!
Hi, I'm enter on my transformer by :
adb shell
and I want do that :
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock4 /system
cd /data/app
rm com.mhuang.overclock*
cd /data/data
rm com.mhuang.overclock*
cd /data/dalvik-cache
rm *mhuang.overclock*
exit
But when I execute su, it don't work :
/data/app # su
Segmentation fault
Can you help me ?
Thanks
Just reflash your rom without wiping data unless your trying to flash a rom that is overclocked by default
If it's in your data partition, then it's not a system file. Try this:
adb uninstall com.mhuang.overclocking (use the full package name)
EDIT: saw your other thread about borking your TF. follow badfrog's trick and flash a rom with a non-overclocking kernel, which will limit setcpu.
If adb uninstall don't work, which rom with overclock by default propose me ? Révolution HD ?
Sorry for my english, i'm french ?
Prime has a stock kernel as default
http://forum.xda-developers.com/showthread.php?t=1251044
i want to use INT2EXT in cm9 i followed this tutorial
xpmode said:
INT2EXT+ INSTALLATION TUTORIAL
IF YOU ALREADY HAVE S2E, LINK2SD OR SIMILAR, YOU MUST REPARTITION SD CARD AND FACTORY WIPE
int2ext+ is a relatively new script that instead of making symbolic links(Link2SD) or moving certain partitions(S2E) to sd, extends your internal storage into your ext partition in sd, which means S2E's potential space saving and Link2SD's stability combined together and gives you something to brag about.
PREPARATIONS
Download the latest build of CyanogenMod 9.
Download the latest version of CronMod INT2EXT+ here.
Open CyanogenMod 9 zip.
Navigate to /system/etc/init.d
Open INT2EXT+ zip.
Navigate to /system/etc/init.d
Add the file called 40int2ext in the /system/etc/init.d directory in CM9 zip.
INSTALLATION
Go to recovery, do factory reset and advanced > partition sd card.
Select 1024M for ext(for some reason, I selected 4096 and it only read the first 1GB-ish) and 0M for swap.
Wait until it says Done and goes to menu.
Go to Mounts and Storage.
Select USB storage and connect your phone to your computer.
Copy your modified CM9 zip file to the root of your sd.
Select unmount.
Reflash ROM.
Reboot.
After reboot, go to settings > developer settings > root access and select Apps and ADB.
Go to your adb directory and do adb shell.
Type su.
Then do:
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/etc/init.d
chmod 644 00banner
chmod 644 90userinit
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
Reboot.
After reboot, reboot into recovery and flash gapps.zip normally.
Then go to Applications and enjoy your new, extended internal storage.
Click to expand...
Click to collapse
can someone help me how to do adb shell and go to adb directory
Use the directory that you used to root your device.
Hpsgill said:
can someone help me how to do adb shell and go to adb directory
Click to expand...
Click to collapse
Err, now that's funny. To do adb shell, all you have to do is put in the command adb shell
Isn't that funny? xD
What the guide meant for adb directory is the place where the adb.exe file is kept.
So all you have to do is put in cmd:
adb shell
and while you're in shell you just put in those commands:
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/etc/init.d
chmod 644 00banner
chmod 644 90userinit
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
After that to close the terminal, type in:
exit
then adb reboot
Hope that helps =)
Chaosgod27 said:
Err, now that's funny. To do adb shell, all you have to do is put in the command adb shell
Isn't that funny? xD
What the guide meant for adb directory is the place where the adb.exe file is kept.
So all you have to do is put in cmd:
adb shell
and while you're in shell you just put in those commands:
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/etc/init.d
chmod 644 00banner
chmod 644 90userinit
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
After that to close the terminal, type in:
exit
then adb reboot
Hope that helps =)
Click to expand...
Click to collapse
Thanks
No worries =)
Chaosgod27 said:
No worries =)
Click to expand...
Click to collapse
can u tell me how to use other scripts eg apps2sd,link2sd and their works
Hmm, if you want. Right now I'm a bit busy with work...
Chaosgod27 said:
Hmm, if you want. Right now I'm a bit busy with work...
Click to expand...
Click to collapse
Anytime ,when u r free or pm me
Sent from my HTC Explorer A310 using xda premium
What did you want to know about them? You want to know how to install them or?
Chaosgod27 said:
What did you want to know about them? You want to know how to install them or?
Click to expand...
Click to collapse
Every thing about there scripts I never partation my memory card
Sent from my HTC Explorer A310 using xda premium
Chaosgod27 said:
Err, now that's funny. To do adb shell, all you have to do is put in the command adb shell
Isn't that funny? xD
What the guide meant for adb directory is the place where the adb.exe file is kept.
So all you have to do is put in cmd:
adb shell
and while you're in shell you just put in those commands:
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/etc/init.d
chmod 644 00banner
chmod 644 90userinit
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
After that to close the terminal, type in:
exit
then adb reboot
Hope that helps =)
Click to expand...
Click to collapse
Hmmm, you don't need adb for this. Just use terminal emulator on your phone. It comes installed by default on CM9 roms. Or you can search play store for android terminal emulator. The app is by Jack Palevich
Code:
su
mount -rwo remount /system
cd /system/etc/init.d
chmod 644 00banner
chmod 644 90userinit
mount -ro remount /system
Then again, I don't really see why it is necessary to deny execute permissions to these scripts in first place. They are just empty shells - unless they have been modified.
I'm using int2ext4 right now and never really had to...
EDIT: If you want to reverse these changes then
Code:
su
mount -rwo remount /system
chmod -R 755 /system/etc/init.d
mount -ro remount /system
Hpsgill said:
can u tell me how to use other scripts eg apps2sd,link2sd and their works
Click to expand...
Click to collapse
Script details:
a2sd,a2sd+,a2sd++,d2ext,d2ext+,int2ext,int2ext+,int2ext4,int2ext4+ --- forum.xda-developers.com/showthread.php?t=1716124
mount2sd --- forum.xda-developers.com/showthread.php?t=1342387
As of link2sd it uses installrecovery.sh file in /system/etc to mount sd-ext partition. It then moves apps/data/dalvik-cache to sd-ext and places symlinks at the original locations.
Take a look here where i've explained why symlink based apps/scripts should not be used on HTC explorer.
Hit thanks if i helped!:good::good:
sabaatworld said:
Script details:
a2sd,a2sd+,a2sd++,d2ext,d2ext+,int2ext,int2ext+,int2ext4,int2ext4+ --- forum.xda-developers.com/showthread.php?t=1716124
mount2sd --- forum.xda-developers.com/showthread.php?t=1342387
As of link2sd it uses installrecovery.sh file in /system/etc to mount sd-ext partition. It then moves apps/data/dalvik-cache to sd-ext and places symlinks at the original locations.
Take a look here where i've explained why symlink based apps/scripts should not be used on HTC explorer.
Hit thanks if i helped!:good::good:
Click to expand...
Click to collapse
thanks maaaaaan!!!
where is the adb directory?? do we have to install it in our pc or its there in our explorer?
Sent from my HTC Explorer A310e using xda premium
everything i did went well and i checked the internal memory its shows 850mb ... now the problem is when i type adb shell in terminal its say error:device not found ... so what should i do ???
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