we all know that we can use swapper and etc to set a swap file on sd. but if i push the file to the system/media(it was rom file path! i use df to check it out) , i cant load the swap anymore ,even change the path by editing user.conf and swap.conf ...
the question is , can we put the swap file to rom , and load it to use?
sorry for my english~
Related
Hi,
I really like all the Android builds that use the Desire ROM as I really like the HTC Sense. However, my language isn't really supported there (The fonts exist but the formatting is bad).
I have some files that should fix the formatting, but they are meant for the original HTC Desire and are installed by going to the ROM Manager/Recovery Mode and then choosing an option called: "Install Zip from SD Card".
Since I can't go to this ROM Manager nor get into Recovery mode with the HD2 Builds I am looking for an alternate way to change the system files on the Android build I am using.
The thing is that I am having difficulties doing so.
At first I tried using EStrongs File Explorer to get root access and copy over the new files I want to change but it gave me an error that it failed.
After I couldn't make it work I started looking for ways to open and edit the system.ext2 file in Windows.
I couldn't find any program or driver that would let me change the files, but only view them so I decided to install Linux and do it from there.
I used VMware workstation to install Ubuntu on my system.
On Ubuntu I mounted the system.ext2 following the mentioned instructions here: http://forum.xda-developers.com/showpost.php?p=8001443&postcount=8
It mounted okay but it said there was 0 bytes free when I tried to overwrite the files I wanted to change.
In addition it gave me permission errors, the error was that I did not have permission to copy the files.
I am not that familiar with Linux and I tired googling for answers but couldn't find anything useful.
I would appreciate if anyone can explain how to do it, or direct me to somewhere with more details as I'm kinda stuck at the moment.
The files I wanna change are:
/framework/framework.jar
/app/.DS_Store
/app/Gallery3D.apk
/app/Mms.apk
And a few font files to /fonts
Thanks a lot!
It is best to mount the ext2 file as you suggest but instead of trying to modify the file, copy the contents into a new folder and use the genext2fs command to recreate the system.ext2 file!
Hey man, it worked perfectly.
Thanks a lot!!
By the way, is there a recommended file size for the system.ext2? Or should I just keep the original size?
Is it worth setting it bigger? Will it benefit somehow?
How can i open a zimage edit the files a re pack it is there any way i can mount it in linux.
just to clarify u wanna edit the kernal?
yeah if possible without re complying it all just need to add some files thats all instead of doing it manually once booted up
What kind of files?
You meant system.ext2 instead of zImage?
No i think i need the zimage i need to add files to the proc directory i can so it within the build useing terminal but have to re do it every restart because zimage is a virtual machine and re installes every time
I have flash the AmeriCanAndroid, and I try to modify file "/etc/gps.conf", it is failed.
When I reboot my HD2, the file restore to the original one. Like I have not modify it.
I try to creat file in /etc or other path, it will be removed after reboot the device.
Please help.
Thank you!
sytzz said:
I have flash the AmeriCanAndroid, and I try to modify file "/etc/gps.conf", it is failed.
When I reboot my HD2, the file restore to the original one. Like I have not modify it.
I try to creat file in /etc or other path, it will be removed after reboot the device.
Please help.
Thank you!
Click to expand...
Click to collapse
Are you using a root file browser ? if not thats why . I would recommend using ADB . however if you are on a linux machine . you can insert your micro SD into an adapter and mount your *.img files .
hi guys ....
today. i flashing this rom
http://forum.xda-developers.com/showthread.php?t=1441620&page=188
the general launcher in this rom (ADWlauncher1.3.3.56).
ADWlauncher 100%
but... i need to remove ( recovery mod + download ) from
power bottom .
how i can do it ???
Install TouchWiz 4.0 http://icsforums.com/forum/showthread/207 then use Titanium backup to remove ADWlanucher.
help
^^^^^
not work
please heeeeelp me
You must replace 2 files (using root explorer) in system/framework. Framework-res.apk and android.policy.jar
Search forum to find those files.
heeelp
^^^^
i download GoLuncher
and delete ADWluncher
But did not work and the
heelp me
Read my post. Find these files from any open, clean ROM for Your device and replace them. Reebot and U be happy
help
i found the files ...
and i select delete
but ..Appeared writing ( can not delete this file because file system is red only)
What do I do ...
At the top of screen U can se a little button (Mount R/W) tap on it, change to mount R/O now U can paste files. Then tap on them again -> mount R/W. Wait a minute for soft reebot, Thats all...
help
the device was restarting boot animition only
U replace these files by files form open ROM or only delete these files?
U can read with understanding?
I wrote U that U must REPLACE these files by files from OPEN ROM not only delete...
Now U have to find a CWM install pack with these files...
???
i flashing the rom and the phone was work ...
can you Explain the Way in steps ..
First, U must find 2 files on forum, google or where U want, this file must be from OPEN ROM thats mean these are clean, non modification inside.
Put this 2 files to sdcard in your device.
Now U must replace these 2 files using root explorer, copy- from sd card, paste to system/framework, ofcourse before paste U have to tap on button mount r/w.
Thats all to do.
good
I understand all steps .
can you give me Download Link for the files i need it .
please ..
+
i make framework-rs.apk file from here
http://forum.xda-developers.com/showthread.php?t=1497622
A file that replaced it last time
I don't have these files cos i have other device. Sorry U must find these by Yourself
..
how i can found the files + thank you for help me
Hello I am new at this forum, and I thank you for your amazing work!!!!
I search for answer to my question, but couldn't found anything
I have NexusHD2-ICS-4.0.4-CM9-HWA V2.8 http://forum.xda-developers.com/showthread.php?t=1434860 and I installed it succesfully yesterday!
I choosed NAND with DataOnEXT , so I have now 4G internal memory and 26G external memory!
My problem is that instead of version v2.7, now, I cannot copy any file in folder /system
Why is that? Is any other path, I can do that?
(I want to copy file libgmx.so in order to change its permission so I can run Garmin StreetPilot application....)
By the way, is thre any "guide" to us, to see where is important files and what we can do or not?
Edit: Found the solution -->
I must mount the file system so it writable-->
ES File Explorer --> Settings --> Root Settings --> Select Root Explorer, Up to Root, Mount File System