HELP~HOW to add root permission in own .IMG file - Xperia Arc Q&A, Help & Troubleshooting

I have made a .IMG file for my arc...and there is a problem ,I can't obtain root permission in it...How can I do ???
Help~~~~
FORGIVE MY POOR ENGLISH...

Did you add su and Superuser.apk to the system/xbin and system/app folders?
Also, set rmember to permissions correctly on those files.
su, you can extract from superuser.apk file using fx. 7zip.
Good luck

NielDK said:
Did you add su and Superuser.apk to the system/xbin and system/app folders?
Also, set rmember to permissions correctly on those files.
su, you can extract from superuser.apk file using fx. 7zip.
Good luck
Click to expand...
Click to collapse
Thank you so much for reply...
but,sorry, I have another question... That is, Why not put su in /bin instead of /xbin?

seabelhsu said:
Thank you so much for reply...
but,sorry, I have another question... That is, Why not put su in /bin instead of /xbin?
Click to expand...
Click to collapse
I dont think it matters. Some put it in bin, and add a symlink in xbin.
Put su in /system/bin and do
ln -s /system/bin/su /system/xbin/su
Remember correct permissions in /system/bin/su
Sent from my GT-I9000 using XDA Premium App

Related

[Q] How do you delete bloatware via adb

Ive done this before and for the life of me i cannot remember how to do this, and ive been searching xda and google for a half hour now, can anybody help me out. How do you remove stock apps via adb?
Thanks guys
adb shell
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system/app
# rm xxx.apk
Replace xxx with app names. Case sensitive.
Edit: ignore $ and # when typing the commands
well this is weird, i know i have root but when i try those commands thru cmd on pc, i get error sh-3.2 it won't let me su but when i do it in terminal on phone it works fine
androidtoy09 said:
adb shell
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system/app
# rm xxx.apk
Replace xxx with app names. Case sensitive.
Edit: ignore $ and # when typing the commands
Click to expand...
Click to collapse
Do I need to remove the odex files as well?
Sent from DynamikD's R00t3d & OC G2
Advisable to, yes. Also, reboot and clear cache in recovery for best results.
What is the command to list "dir" to get the app names? I've done this on my mytouch3g as well but rusty
Edit: It's "ls" lol.
Ok, so I just attempted this and get this error:
rm failed for Twitter.apk, Read-Only file system
Click to expand...
Click to collapse
And I also would like to remove these:
amazonmp3.apk
Email.apk
com.google.android.apps.finance-1.apk
Web2GoShortcut.apk
Twitter.apk
Web2GoShortcut.odex
Email.odex
What is a .odex file?
Sent from my T-Mobile G2 using XDA App
Make sure is not a typo.
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
Anyone know the name of the photobucket APK?
So now that we have Perma-ROOT, is it safe to delete these bloatwares without worrying about future OTA's?
And what's a .odex file? How do we delete this? Can we just delete these apps thru Titanium Backup and then boot into Recovery to clear cache?
*EDIT* - n/m i see how to delete the .odex files now
What's the .apk name for Photobucket?
*EDIT* - Got it... it's PbAndroid.apk
Need help!
Well those are the commands to remove a app how do you push a apk file back onto the /system/app. I want to push a Bluetooth.apk file from the old ROM to the new OTA and see if that helps with the Bluetooth issue I'm having with the new OTA.
If your perma rooted why not just install titanium backup and uninstall the app. If your temp rooted then you can only disable the app cuz if you delete the apps it'll only reappear after a reboot.
Becuz titanium does not let u remove apps, if it was that easy I think everyone would do it
fryrice8850 said:
Becuz titanium does not let u remove apps, if it was that easy I think everyone would do it
Click to expand...
Click to collapse
It doesn't? Then what the heck does titainium do when I press uninstall? This is a serious question.. not sarcasm.
Sent from my T-Mobile G2 using XDA App
Nvm u need to select "problems" and it will download busybox on ur g2 and then u can uninstall stock apps...
fryrice8850 said:
Nvm u need to select "problems" and it will download busybox on ur g2 and then u can uninstall stock apps...
Click to expand...
Click to collapse
Then it really is that easy... and everyone should do it.
Sent from my T-Mobile G2 using XDA App
how would the remount command change for the MyTouch4G?
nemesys571 said:
how would the remount command change for the MyTouch4G?
Click to expand...
Click to collapse
Don't think it would.
BTW you can also try this remount command for either, I was advised that it's preferable to use and it's certainly easier:
mount -o remount, rw /system

Root explorer

Hey guys.
What root file managers do you use?
I've tried both ecs and yaffs and both fail to do what I want them to, I've been trying to chmod system/app to 777 so that I can copy stuff into that folder.
Sent from my HTC Wildfire using XDA App
You need to remount the system with read-write access, then you'll be able to put apps in it.
And to answer the question, I swear by ES File Explorer. You can set hem to automaticly mount /system as read/write, so no problems with editing system files.
Erwin

Deleted my BIN folder on accident

Title. Nothing will update, nothing will install. I'm afraid to reboot. What can I do?
Device -- Xperia Play R800X
Adb push or root explorer the folder to /system from the unzipped rom
what device?
Whole folder at once would be easier but doesn't matter just make sure permission are rwxr-xr-x
Easiest way to change perms is with a root file explorer, I use es explorer in settings enable root then mount system as write, long hold the file, goto properties then change permission. Or adb remount chmod not sure of the actual perm set you'll have to search.
Sent from my Desire HD using XDA App
sammael1069 said:
Adb push or root explorer the folder to /system from the unzipped rom
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
----nvm
Do I just make an empty BIN folder? or....
Added device
sammael1069 said:
Adb push or root explorer the folder to /system from the unzipped rom
what device?
Whole folder at once would be easier but doesn't matter just make sure permission are rwxr-xr-x
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Never figured out how to change perms. Should I download source and do it like that?
Okay, now where can I get the bin folder? Should I factory reset? Would that work?
Unzip the ROM drill to system/
Sent from my Desire HD using XDA App
Fixed it! Thanks sammael.

Alternate keyboard for KF 6.3.1?

aruangra said:
This approach works with non-smart keyboards.
1. Install your preferred keyboards from Market
2. Use ES file explore (with Root feature and RW mount enabled in the advanced setting) or use Root Explorer to copy the keyboard .apk file from /data/app to /system/app
3. Reboot and select the keyboard by pressing and holding at any text input box.
4. (optional) Sideload and install "Nookcolor Tools" from http://forum.xda-developers.com/showthread.php?t=868366. You will have an option to set keyboards.
So far this method does not work with
- SlideIt
- Thumb keyboard (thanks fr4nk1yn)
Click to expand...
Click to collapse
I have neither a /data/app folder nor a /system/app folder... My KF is rooted (I'm successfully using the Google Play store, permanent Live Wallpapers and Avast Mobile Security Anti-Theft with root access) so I don't really understand why I am missing those folders. I can even create them without any complaints by Windows, there are no hidden objects. Did the 6.3.1 update change the folder structure?
Can anyone help me?
Okay, while I have still no possibility to access the root level via Windows, I managed to access it with the ES File Explorer (I had to change a setting to make the root level visible).
Now I have a /system/app folder and a /data folder - but unfortunately no /data/app folder; the /data folder is empty!
Furthermore I cannot copy APK-files in the /system/app folder. I get informed that the copy process failed, if I try to. Shouldn't normally a popup of the Superuser app show up with the option to grant root access?
I'm looking forward to any help! Thanks in advance.
I don't like to push threads, but... is there really no one able to help me?
When all else fails, reinstall the ROM.
Uhm, I did not install a custom ROM. Or do you mean, that I should reinstall the stock ROM?
Oh, in that case, I'm sure its your ES File Explorer that is messed up. If you have Terminal Emulator, you can check to see what directories you actually have. Enter:
ls /system
...and...
ls /data
I'll be willing to bet you they are still there.
$ export PATH=/data/local/bin:$PATH
$ ls /system
lost+found
app
bin
build.prop
etc
fonts
framework
lib
media
tts
usr
vendor
xbin
$ ls /data
opendir failed, Permission denied
$
That's what Terminal Emulator says...
How is it possible that I can open /system without having permission for /data?
Type :
$ su
$ ls /data
Envoyé depuis mon GT-I9000 avec Tapatalk
Thanks a lot! I now can see the contents of /data via Terminal Emulator.
But how can I grant superuser permission to ES File Explorer?

[Q&A] [MOD][KERNEL MODULE] wp_mod: disable system write protection

Q&A for [MOD][KERNEL MODULE] wp_mod: disable system write protection
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
Thanks
Thanks For This MOD
I cannot use this trick to my phone.
The phone will restart when copying complete.
Besides, I tried to delete some application system so the phone restart too.
Kindly explain to me with thanks.
danahue said:
I cannot use this trick to my phone.
The phone will restart when copying complete.
Besides, I tried to delete some application system so the phone restart too.
Kindly explain to me with thanks.
Click to expand...
Click to collapse
Dude... Move with TWRP file manager
i can run app when move data on sdcard2 witn this mod?
The file has been copies to exactly folder, perfect permission also.
However on terminal, it can not executive for this.
Need your favor..
danahue said:
The file has been copies to exactly folder, perfect permission also.
However on terminal, it can not executive for this.
Need your favor..
Click to expand...
Click to collapse
Same to me
Sent from my HTC D816w using XDA Premium 4 mobile app
Can't mount wp_mod.ko HTC 816
Hi,
I have the problem:
I have a file wp_mod.ko, ES File Manager, chmod and Terminal.
I have 644 in chmod, ES FM with root access and when i wanna place wp_mod.ko in /system/lib/modules my phone is rebooting and in this folder I haven't this file so when I'm going to Terminal and writting:
su
insmod /system/lib/modules/wp_mod.ko
it can't find this file... Any solutions?
App not able to write
i followed the instruction here http://forum.xda-developers.com/showpost.php?p=53823856&postcount=42
and successfully got the result and can write on sd card or delete using es file explorer (or other file manager)
but still most of the other app cant write to sd card like titanium backup or nandroid backup
i also tired the /system/etc/permission/platform.xml and tried edditing it but it causes my phone to go in boot loop
plz tell me if there is any other way to solve this and get other to to work with external sd card
---------- Post added at 04:14 PM ---------- Previous post was at 03:45 PM ----------
Damn_PL said:
Hi,
I have the problem:
I have a file wp_mod.ko, ES File Manager, chmod and Terminal.
I have 644 in chmod, ES FM with root access and when i wanna place wp_mod.ko in /system/lib/modules my phone is rebooting and in this folder I haven't this file so when I'm going to Terminal and writting:
su
insmod /system/lib/modules/wp_mod.ko
it can't find this file... Any solutions?
Click to expand...
Click to collapse
just follow the instruction here http://forum.xda-developers.com/showpost.php?p=53823856&postcount=42
Damn_PL said:
Hi,
I have the problem:
I have a file wp_mod.ko, ES File Manager, chmod and Terminal.
I have 644 in chmod, ES FM with root access and when i wanna place wp_mod.ko in /system/lib/modules my phone is rebooting and in this folder I haven't this file so when I'm going to Terminal and writting:
su
insmod /system/lib/modules/wp_mod.ko
it can't find this file... Any solutions?
Click to expand...
Click to collapse
most probably, this will solve your problem. sorry if it's not the right place to mention it
try this super user its works it has wp-mod
http://forum.xda-developers.com/desire-816/development/mod-enable-init-d-stock-kernel-vm-t2987126
Firewater does not work.
Delete
use recovery
Damn_PL said:
Hi,
I have the problem:
I have a file wp_mod.ko, ES File Manager, chmod and Terminal.
I have 644 in chmod, ES FM with root access and when i wanna place wp_mod.ko in /system/lib/modules my phone is rebooting and in this folder I haven't this file so when I'm going to Terminal and writting:
su
insmod /system/lib/modules/wp_mod.ko
it can't find this file... Any solutions?
Click to expand...
Click to collapse
Copy file using recovery in /system/lib/modules
fix permission chmod644
Unfortunately, it doesn't solve the problem. Now I haven't this phone, I've bought G4 last month. Thanks for all replies and no hating me for my little knowledge in this thread.
BTW 816 is very nice phone, it was two years with me.

Categories

Resources