trying to run android on top of windows mobile 6.1 on a o2 xda stellar. but the instructions on http://www.androidonhtc.com/ says put androidinstall.tar on the memory card, but none of the builds come with androidinstall.tar, they come with androidinstall.tgz
I re-named it but when installing on the phone using haret it says unable to open androidinstal.tar. so then when trying to boot it has no system files as it hasn't installed them. so i get error no:2 when trying to boot.
any help?
try opening the .tgz see if there is an androidinstall.tar inside of it. If not then place it in the install directory instead.
aceoyame said:
try opening the .tgz see if there is an androidinstall.tar inside of it. If not then place it in the install directory instead.
Click to expand...
Click to collapse
no there isnt an androidinstall.tar inside of it.
r.lepecha said:
no there isnt an androidinstall.tar inside of it.
Click to expand...
Click to collapse
then rename it androidinstall.tgz and install it like you would a .tar file
thoughtlesskyle said:
then rename it androidinstall.tgz and install it like you would a .tar file
Click to expand...
Click to collapse
tried it, it still says unreadable file because it makes it into a .tar file with the the .tgz as another file inside
Why not try just not renaming it and keeping the .tgz extension? If all else fails the build i have, my bare bones one inside the rar file sits an androidinstall.tar
i extracted it, and i have re-compressed to .tar, going to try that
failed to extract. can some one give me a printscreen of what is in each folder because im confused now.
I think it would be nice if all the releaser make the same compression for the rom rls, if it would be .tar inside zip or just .tgz
It would make you guys not have to answer this question too many times.
Edit : If you can't extract it, does that mean your file corrupted?
vellowax said:
I think it would be nice if all the releaser make the same compression for the rom rls, if it would be .tar inside zip or just .tgz
It would make you guys not have to answer this question too many times.
Click to expand...
Click to collapse
i have now got the .tgz to install but i get many IO errors. and then when it goes to boot all it does is go blank? any help on that?
Android Installed
Fixing Permissions on files
chown: /data/app_s: No such file or directory
chmod: /data/app_s: No such file or directory
chown: /system/bin/su: No such file or directory
chmod: /system/bin/su: No such file or directory
chown: /system/init: No such file or directory
chmod: /system/init: No such file or directory
sh: 2: unknown operand
e2fsck 1.38 (30-Jun-2005)
e2fsck: while determining whether /dev/block/loop1 is mounted
/dev/block/loop1: clean, 544/65536 files, 83557/262144 blocks
e2fsck 1.38 (30-Jun-2005)
e2fsck: while determining whether /dev/block/loop0 is mounted
/dev/block/loop0: clean, 272/65536 files, 25007/262144 blocks
mount: mounting /data/sysfiles/su on /system/bin/su failed: No such file or directory
my file setup is
\root\default.txt
\root\haret.exe
\root\intrd.gz
\root\KAISimg.nbh
\root\rootfs.img
\root\zimage
\root\andboot\androidinstall.tgz
\root\conf\with lots of .conf files inside
\root\media\audio\....etc etc
\root\media\resource\with images inside.
i now managed to get it to boot into android. but it didnt extract the androidinstall.tgz so the system files aren't there. can some one please send me a link to download the androidinstall.tar because no matter what I do with the .tgz it doesn't work.
http://www.mediafire.com/?5ioe4z80db9e7dm that is my barebones android. Basically you just use market and configure it the way you want. I linked you my De-odex'd release 3 which is more configurable.
thanks a lot.
going to try it now.
edit : still doesn't work.
i dont know what else to try
Related
I need to copy a single file using an update-script (update.zip's script)
I know that command to copy a dir is
Code:
copy_dir
But if i want to copy only a single file how can i do?
Exit93 said:
I need to copy a single file using an update-script (update.zip's script)
I know that command to copy a dir is
Code:
copy_dir
But if i want to copy only a single file how can i do?
Click to expand...
Click to collapse
put only a single file in the dir? not sure i get your problem, the script should copy everything from the update.zip to the flash memory, why would there be a need to copy a single file?
Kendon is right. Just
Code:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
is needed to copy a single file into the system directory. That script is from one to install WaveSecure to ROM. All it does is copy the contents of the system folder (which is a folder called app, to that location on the system partition of the phone. As there is only one file in the folder app, that file is added or overwritten. Nothing else is changed.
No, i need to copy only one file form SYSTEM to DATA
Then format SYSTEM and recopy that file from DATA to SYSTEM
How can i do?
Exit93 said:
No, i need to copy only one file form SYSTEM to DATA
Then format SYSTEM and recopy that file from DATA to SYSTEM
How can i do?
Click to expand...
Click to collapse
i don't think this is possible with update-script, as it wasn't made for this purpose. care to elaborate what your main goal is, maybe we can find other ways?
kendong2 said:
i don't think this is possible with update-script, as it wasn't made for this purpose. care to elaborate what your main goal is, maybe we can find other ways?
Click to expand...
Click to collapse
I have to format system partition but i have to preserve /system/init.rc file
Deleting all system's subdirs doesn't work
I've been trying to customize for myself an already customized ROM in ZIP container. I deleted some files from folders:
\data\app
\system\app
\system\media\audio\ringtones
and then the corresponding to them lines in META-INF\CERT.SF and META-INF\MANIFEST.MF files. I figured out that this could work, but the installation in Clockwork Recovery was aborted at some point with error:
E:Can't chown/mod /data/app
(No such file or directory)
set_perm 1000 1000 0771 DATA:app
Installation aborted
Could some1 advise me what can I do to make this work?
Maybe you should sign the edited file. (search for sign apk or sign update.zip there is a script that does it on the forum)
You don't need to edit those .SF & .MF files.
You need to edit the "update-script" OR "updater-script".
You mean signing the whole ZIP file which contains the customized ROM?
I found a way to sign apk files but I only deleted some apps and ringtones so what else besides ROM file have to be signed?
Darkyy said:
You don't need to edit those .SF & .MF files.
You need to edit the "update-script" OR "updater-script".
Click to expand...
Click to collapse
And do what in the update-script?
Ok guys,
So after having seen a million and one questions on how to extract RFS files and all the complex answers we keep getting on mounting rfs files in linux and blah blah blah (all a waste of time if all you need is to view/extract files from an RFS file from some firmware)... and now there is no excuse for those few requesting other members to extract stuff for them.. you can do it yourself!
Here is the easy/fast way to do it without having to go through all the trouble
NOTE: This, mind you is mainly for extracting/viewing. Not for editing RFS files.
Go to:
-http://www.magiciso.com/
-Download MagicISO (its free trial but that don't matter for viewing/extracting)
-Install
-Open MagicISO
-Hit File->Open
-In the section "Files of type:" - Click the drop down and select "All Files (*.*)"
-Select RFS file of your choosing (For example: factoryfs.rfs where all firmware apps are located)
and..
VIOLA!
Browse/Extract anything you need... No hassles.
To extract you can simply click and drag to another folder/desktop as needed
Cheers!
TY for this guide. Unlike htc hd2 forums I really have hard time getting answers to my questions in tab forums so this kind of guides helps me very much. Again TY.
You sir, are very welcome!
Glad it helped. Thats what we're here for!
Make it a sticky !
add it to the wiki rather than making this post sticky. http://modadroid.com/index.php/Main_Page
Just tried it with UltraISO. It seems to work, too.
Thanks
tovarish said:
add it to the wiki rather than making this post sticky. http://modadroid.com/index.php/Main_Page
Click to expand...
Click to collapse
Its locked for editting
MagicISO didn't work for me. I copied the .rfs file to a directory on Linux and mounted as read/write and was able to modify the file system. Then, I unmounted it and flashed the changes to my GT using Heimdall.
Sent from my SCH-I800 using XDA App
chuckbeasley said:
MagicISO didn't work for me. I copied the .rfs file to a directory on Linux and mounted as read/write and was able to modify the file system. Then, I unmounted it and flashed the changes to my GT using Heimdall.
Sent from my SCH-I800 using XDA App
Click to expand...
Click to collapse
This guide is only for browsing and extracting RFS files hence the name. It is not for modification.
I'm aware of what the original post was explaining. I tried that solution and it failed. That's why I suggested another method. MagicISO didn't work for me. If others try it and it doesn't work for them either, at least they have another solution that will always work and the option to modify the file system, if they so choose.
Sent from my SCH-I800 using XDA App
chuckbeasley said:
I copied the .rfs file to a directory on Linux and mounted as read/write and was able to modify the file system. Then, I unmounted it and flashed the changes to my GT using Heimdall.
Click to expand...
Click to collapse
That's the Linux command line, right ?
#mount -o loop factoryfs.rfs /mnt/rfs
Otherwise on Mac OS X, you can use this:
#sudo mkdir /Volumes/RFS
#sudo hdiutil attach -imagekey diskimage-class=CRawDiskImage -nomount ARCHIVE.rfs
#sudo mount_msdos /dev/disk{n} /Volumes/RFS
daniel.weck said:
That's the Linux command line, right ?
#mount -o loop factoryfs.rfs /mnt/rfs
Otherwise on Mac OS X, you can use this:
#sudo mkdir /Volumes/RFS
#sudo hdiutil attach -imagekey diskimage-class=CRawDiskImage -nomount ARCHIVE.rfs
#sudo mount_msdos /dev/disk{n} /Volumes/RFS
Click to expand...
Click to collapse
Please don't forget when you finished on OSX to run:
sudo umount /Volumes/RFS/
hdiutil detach /dev/disk{n}
i can't open the factoryfs.rfs of a samsung galaxy s. can anyone send me the /lib folder from galaxy s and the flash apk in the app folder...thanks
seven2099 said:
Ok guys,
-In the section "Files of type:" - Click the drop down and select "All Files (*.*)"
-Select RFS file of your choosing (For example: factoryfs.rfs where all firmware apps are located)
and.. VIOLA!
Browse/Extract anything you need... No hassles.
Click to expand...
Click to collapse
Didn't work for me either. MagicISO did extract four files only from factoryfs.rfs.
Two were exe files of significant size... Samsun_Mobile_USB_Driver.exe, and ToolLauncher-Bootstrap.exe.
All the files apk files are probably empedded in the first of those, but no further extraction was possible from the .exe file using MagicISO.
I'm trying to find the origianal VZW Vcast apk files that I stupidly deleted instead of just renaming. I need them so the EC02 update script will run. Any ideas, anyone?
Robin M said:
Didn't work for me either. MagicISO did extract four files only from factoryfs.rfs.
Two were exe files of significant size... Samsun_Mobile_USB_Driver.exe, and ToolLauncher-Bootstrap.exe.
All the files apk files are probably empedded in the first of those, but no further extraction was possible from the .exe file using MagicISO.
I'm trying to find the origianal VZW Vcast apk files that I stupidly deleted instead of just renaming. I need them so the EC02 update script will run. Any ideas, anyone?
Click to expand...
Click to collapse
you could look up the long way of mounting and extracting RFS.. Its a major pain though, why dont you make a post asking for those missing files in the forum.
Better bet.
Robin M said:
Didn't work for me either. MagicISO did extract four files only from factoryfs.rfs.
Two were exe files of significant size... Samsun_Mobile_USB_Driver.exe, and ToolLauncher-Bootstrap.exe.
All the files apk files are probably empedded in the first of those, but no further extraction was possible from the .exe file using MagicISO.
I'm trying to find the origianal VZW Vcast apk files that I stupidly deleted instead of just renaming. I need them so the EC02 update script will run. Any ideas, anyone?
Click to expand...
Click to collapse
I used Root Uninstaller and got rid of a vcastmusic.apk file. It's 4.46mb. Is this what you need?
Where is the thanks button!! It worked for me..!! I needed it!!
one question: I am unable to extract one particular factoryfs.rf of one rom, MagicISO says it is not an image file. Can you help me there?
Use linux disk reader to open ext4 files (even .rfs files can be ext4)
@neo yea magiciso says so on ext4 archives
cdesai said:
Use linux disk reader to open ext4 files (even .rfs files can be ext4)
@neo yea magiciso says so on ext4 archives
Click to expand...
Click to collapse
@cd if i select factoryfs.rfs from linux reader i only get the same single file as the output!! No use yaar
Works for Galaxy Ace's firmwares. Thanks. I'm trying to cook my first ROM for Galaxy Ace (cooper). Wish me luck!
I recently put together a battery icon and boot loader in UOT Kitchen, if I install the file I edited form zip will it format anything or just change what ever I edited?
I'm running RMK Gingerbreadsense
It should just change what you've edited, but make a backup just in case.
If you flash the .zip it won't modify any other files that are not inside the .zip
Sent from my ADR6350 using XDA App
speaking of this kitchen, i was trying to change my boot animation and found a 'bootanimation.zip' file on my phone....
although kitchen is asking me to upload a system.ui file or some com.htc.resources.apk file
the system file is on my phone but keeps saying it's "read only" and won't let me do anything with it.. and the other file doesn't seem to exist.
that and "kitchen's list" doesn't even show the rom i'm using anyway.
what gives?
[EDIT] actually any of the .apk files in the system/apps folder say "read only".
[EDIT 2] - i found the com.htc.resources.apk file, but i can't get around the 'ready only' on the systemui.apk file - is there a way to remove read only status?
[EDIT 3] - damn terminal won't even allow it: "Unable to chmod /system: Read-only file system"
I have a copy of all the roms I use so I just extracted RMK Gingersense and got the files, put on desktop, then uploaded them with out a problem. I haven't installled customized files though lol I don't want to brick or ruin anything. Might just end up doing it though.
To the person with the read-only problems: were you using root explorer when you were browsing those system folders? You have to mount R/W, there's a button on the upper right.
k_nivesout said:
To the person with the read-only problems: were you using root explorer when you were browsing those system folders? You have to mount R/W, there's a button on the upper right.
Click to expand...
Click to collapse
that worked. thank you!
Hi!
I let you here some tools to work on ROM.
First One is Brottli (files ROM format) to Ext4, like it say change from brottli format to ext4 format as example system.new.dat.br and system.transfer.list to system.ext4
Brottli_Dat_to_EXT4.zip
Second on ( the one i use more to extract files from ext4 format images) 7z_Ext4_Imgextractor, for this tool you need to extract, enter in work folder, right click on 7z.exe, compatibility and select execute as administrator or it will not work properly.
7z_Ext4_Imgextractor.zip
Third, is the same as 7z_Ext4_Imgextractor.zip but i only use if 7z_Ext4_Imgextractor.zip doesn´t work. Some times extract with a few errors...
Ext4_Imgextractor.zip
And the last one, is a Update.zip, inside you will find system and vendor folders, inside that folder you can paste a directory/file as you find inside the extract image, example if the file is in vendor/etc, you need to create/paste etc directory inside vendor...
Important Only works with directory with 755 permission and files with 644 permission!!!!! You need to know what you are doing...
update.zip
I hope this tools helps you.