I'm trying to make a script which would correct SW Configuration file after the system is installed. Due to samsung's sertificates this file can't be corrected in the rom before flashing.
I created a script, which runs with root permissions and executes this code:
Code:
cp /system/csc_update/SW_Configuration.xml /system/SW_Configuration.xml
Generally it should replace the file, but for some reasones it creates a copy. So I can see 2 files with exactly the same name.
If I run:
Code:
rm /system/SW_Configuration.xml
The original file is never deleted, but, If I have my own, than it is.
My application can only see the original one.
I've tried to analyze the difference. Root Explorer shows that everything is equal (Permissions, owner, SE context). Only the icon of my version is blank (without lines, which should show that it's a text file).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How can I replace the original file?
Related
i've put together a very simple boot animation, which doesn't light up the room on boot
now ... do i put it in /data/local or /system/customize/resource using adb? or can i create an update.zip for ease of use?
desc.txt - 600 1024 1p 1 1 android
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i flashed the exact same image to my desire last year & despite having since flashed numerous roms to it - the boot has always remained. i'd like to achieve the same on my flyer since simplicity is the aim & i do get tired of busy animations very quickly.
thanks
Try using adb on
/data/local
-And replace the bootanimation.zip
-Dont forget to change the file permission (it should be rw-r--r--)
Or you can use the root explorer.
Dont forget to change the android_audio.mp3 file also.
Hope this help.
Trying to configure HAVS voltages on my kernel (HTC Evo). Voltage apps function just fine, but I'm trying to push custom voltages using an init.d script (the way viperMOD does -- which also works). Only, my solution isn't.
At first I ran the script from the terminal and it claimed the file vdd_levels_havs doesn't exist (when it clearly does -- I can browse to and view the file). I tried just slipping the file into init.d, rebooting and having it run from there. No voltage change whatsoever. I'm sure it's in the right place -- I'm not Linux noob.
After rebooting, I tried running the file directly again, and strangely it claims the script itself doesn't even exist, when ls clearly says it's right there.
Here's a screen of the weirdness:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What the hell is going on?
What are these files in root / folder? Can I saftly delete them?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
A more proffessional anwser will be accepted
Absolutely not!
But don't ask me what they do. You can browse the .rc files as they are text.
Sent from my Nexus 7
Those files are you system. You mustn't do anything to them because if you do you can break your phone.
NO
These are all initialization files necessary for your phone to startup. They are a part of the boot image and the phone's startup process (init) parses these files to know what to start and how to start. They also are responsible for the initial files system setup and some hardware configuration as well.
Better not touch them.
I just wanted to know if they have something with init.d
Sent from my Xperia Live with Walkman (WT19i) using xda-developers app
Android's Rule of Thumb : DO NOT touch any files in "/" root
Hi,
sometime you want to see your system 1rst rom folder mounted while you're running your 2nd rom, but you only see data folder for 1rst rom mounted
so in attachment, here is a script provided to me by @dorimanx himself .
(remove .pdf at the end of downloaded attachment to read it normaly in txt viewer)
i choose to put script in /system/bin/ with the good execution right, 0755 but you can choose an another path...dont know.
expect one future release of dorimanx v8.xx wich auto mount it at 2nd rom boot ....
see what i mean in image, what script is doing, i always use it when i want to tweak 1rst rom without any flash in CWM mode.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
thanks.
Hello everyone!
I need help with my uni project. I am supposed to localise a mobile app and I've found a simple looking ''choose your own adventure'' game which is perfect for this purpose. However, I cannot get it to work after editing the language files. Here's what I've done:
1. Unpacked the .apk file with WinRAR.
2. Edited the .xml files containing the language with Notepad++. Changed only the displayed text into another language, left the code unedited.
3. Tried to build the app back using Android Studios.
Whenever I try to convert the edited game back into an .apk file I get an error (see screenshot below). Is my Android Studios setup wrong (I used the basic settings)? Am I doing something wrong? Is there an easier way to do?
Cheers,
YamaKasin
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}