[Q] Pushing files to read only location - Desire HD General

Want to push a file to /system/customise/resource but i believe it is read only. What command do i use to make it read/write then push a file?
Thanks

i use root explore to push files, just mount root explorer as read/write by pressing the mount button in top right corner an if your having permission problems with the file ,you can long press on a file, go in permissions an tick the right box's

Related

How To: Ringtones in System

ROOT REQUIRED
This is useful for keeping your custom sounds when you have your SD Card mounted... Or missing!
Make sure you backup your phone first, because bricking your phone is super unhappy face. (This shouldn't brick your phone, but people can screw anything up...)
You can put files in the notifications folder for notifications, or ringtones folder for ringtones. The examples shown are for notifications.
The name that is listed in your menu on your phone is the Title attribute in your mp3.
ADB Method
Connect your phone and fire up ADB.
Issue the following commands:
adb devices - Verify connectivity
adb push C:/mynotification.mp3 /system/media/audio/notifications/mynotification.mp3
adb shell
stop
start - This is my reboot method. Much faster than using the reboot command.
Root Explorer Method
Place files on your SD Card using your desired method.
Navigate to your new sound, long press, and select copy.
Navigate to /system/media/audio/notifications and mount the system as r/w.
Long press and paste the file.
Remount the system as r/o.
Reboot phone using desired method.

System file is READ-ONLY

I'm on Root Explorer, and trying to install a app that needs to be on system/apps
but when i try to move that app and paste it in system/apps i get
"SYSTEM FILE IS READ-ONLY...
and then can't paste?
am i doing anything wrong?
is there a way to manually do it?
Look for and tap the "Mount R/W" button. Then it no longer read-only. Don't forget to click the button again (changes to Mount R/O) after you're done to make it read only again.
ooooooohhhhhhhh
k thanks so much man

Change LockScreen on NAND Android

Hi,
im using gauner1986's HD-FI 0.3.
And i want to change the lockscreen, but as i tryed i failed.
I cant really remount /system as rw (but it is shown as rw in mount)
As i read i just need to move or delete htclockscreen.apk from /system/app to enable to android default lockscreen.
So i tried to move the file to htclockscreen.bak with adb, Linda Manager and Es File Explorer.
But in every case rename/move failed.
On Es File Explorer i checked the option to mount system as rw without any effect!
For adb i try'd to expand permissions using 'su' command without any effects as far as i'm able to assess it.
As i read i may need to set phone into recovery mode to remount disk using adb, but i was unable to findout how i can get my htc hd2 into this mode.
May anyone can help me with my problem?
Great Thanks
olvidar
olvidar said:
Hi,
im using gauner1986's HD-FI 0.3.
And i want to change the lockscreen, but as i tryed i failed.
I cant really remount /system as rw (but it is shown as rw in mount)
As i read i just need to move or delete htclockscreen.apk from /system/app to enable to android default lockscreen.
So i tried to move the file to htclockscreen.bak with adb, Linda Manager and Es File Explorer.
But in every case rename/move failed.
On Es File Explorer i checked the option to mount system as rw without any effect!
For adb i try'd to expand permissions using 'su' command without any effects as far as i'm able to assess it.
As i read i may need to set phone into recovery mode to remount disk using adb, but i was unable to findout how i can get my htc hd2 into this mode.
May anyone can help me with my problem?
Great Thanks
olvidar
Click to expand...
Click to collapse
Method 1) To go to recovery mode with NAND builds, just reboot phone(or when phone is off) and hold the power button until MAGLDR boots and shows the menus. Don't let go till you see the options, otherwise it goes straight to Android. From there use the vol up/down hard keys to scroll and the green phone button to select.
Method 2) If you hold the vol down key and power key when phone is off it will go straight to recovery screen with the colorful bars.
Having said all that, I'm not sure if we can change those files with out a de-odexed rom. But imilkas does have a de-odexed NAND build.
http://forum.xda-developers.com/showthread.php?t=898708
Sorry for edit but I forgot to mention that Root Explorer works better for moving/renaming system files. Go!Go!Go!

[Q] borked acer

hi I borked my acer. root went smoothly, but then I made mistake of trying to enable adhoc supplicant. I downloaded es explorer and used remount to enable rewrite to system/bin. Now everything disappeared. It will still load, but wifi shows error.
How do I return to stock?
Before trying to go back to stock (which should involve just renaming the original wpa_supplicant file .. you DID keep a backup of that file, right? ), download Root Explorer, go into the /system/bin folder and make sure the Permissions on wpa_supplicant are set to:
Owner: Read + Write + Execute
Group: Read + Execute
Others: Read + Execute
(i.e. what the original file permissions are).
You'll need to hit the Mount R/W button before checking/setting the permissions, and then be sure to Mount R/O when done.
You can do similar with ES File Explorer I think, but I've not had any luck with the (experimental) Root options in that app.

[Q] Remapping the external keyboard file

The Lenovo Thinkpad Tablet's keyboard folio is a neat little accessory but there is one issue that drives me nuts. (Beside the loss of the USB port). and that is that the Ctrl key also activates the menu (any menu).
So whenever one tries to do a copy and paste using the usual Ctrl + C and Ctrl + V keys, the menu (of the app you are working in) pops up.
Someone suggested to edit the Generic.kl file in /System/usr/keylayout directory and I did, but that didn't work. (Unless i did it wrong).
I'm at a loss. Would anyone have a suggestion on how to remap that key to only be a standard Ctrl and not menu key?
TS
Having the same issue.
But I'm using an external bluetooth keyboard: the logitech one, which was actually designed for the ipad.
I love it, its slim and very good quality keyboard.
Maybe some helpful links:
http://www.kandroid.org/online-pdk/guide/keymaps_keyboard_input.html
And this one has an explanation how this could be solved on a rooted thinkpad:
http://androidforums.com/ally-all-things-root/250271-re-map-key-keyboard.html
Ok, so I was able to remap some keys. Here is what I did.
The key layout files are stored in /system/usr/keylayout
The most important one seems to be Generic.kl which can be edited with a text editor, just use root explorer or the adb commands below. When I first tried my permissions were screwed up and I wrote the directions below but left them here in case they are helpful.
----------
(I edited gpio-keys.kl thinking it controlled the hard keys but it had no effect). While running the Thinkpad it seems as though I was unable to edit these files but I did get things to work using adb while booted into recovery. Here are the steps I took:
First reboot into ClockworkMod Recovery and plug in your thinkpad to your PC via USB
In CWR select Mounts and Storage then Select Mount /system (otherwise it seems adb can't access your system files)
On your computer run cmd and type adb devices (you should see a device listed, if not go check out the ADB setup guide). Now enter the following commands:
adb remount
adb pull /system/usr/keylayout/Generic.kl
This will copy the Generic.kl file to your current directory (you can see it in the command prompt, typically it is C:\Users\[Your Username]\
Browse to the file make a copy of the unedited version and save your backup somewhere and then edit Generic.kl in a txt editor (I like Notepad++)
I changed key 150 EXPLORER to say key 150 MENU, which makes the browser key open the menu instead of your web browser.
After you made your changes save it and then use the following ADB commands to push it back and set the permissions:
adb push Generic.kl /system/usr/keylayout/
adb shell
chmod 644 /system/usr/keylayout/Generic.kl
chown system.system /system/usr/keylayout/Generic.kl
exit
adb reboot
Now your keys should be remapped!
Just thought I'd add this to skip all the ADB and do it right on the tablet:
ES File Explorer (with root permission and /system writeable checked in settings)
Navigate to file, click, choose text, choose ES Note Editor, edit the file as needed, choose save when prompted.
You can change permissions with ES as well.
I like that it automatically makes a *.bak file of whatever you edit and save.
Those are the same steps I did, but it didn't work for me even after a reboot.
And although I did a backup of the existing generic.kl file, I think I may have overwritten it. So I'm going to have to go in search of a fresh one.
TS

Categories

Resources