Kitchen for HOX - HTC One X

Hi!
i was checking dsixda's Android Kitchen
but he says in topic that doesnt support HOX Rom
HTC One X
- no ROM support, but de-odexing only! (Here is the guide to de-odex)
Click to expand...
Click to collapse
so what kitchen can i use

I use it and it works fine, at least for my needs

madsurfer1 said:
I use it and it works fine, at least for my needs
Click to expand...
Click to collapse
hi!
i can do everything on kitchen but then i have this problem reffered on FAQ
QUESTION: When flashing my ROM I get the error "mount expects 4 args got 3" or similar.
This refers to the fact your mount command takes 4 parameters (e.g. ext4, EMMC, /dev/block/.., /system) and your update-binary file only checks for 3 parameters. You'll have to change the update-binary file to a compatible one, found under the /tools/update_files folder. Just copy the appropriate file and rename to update-binary. e.g. If you're going to be using MTD partitions, copy 'mtd-update-binary' to /META-INF/com/google/android as "update-binary".
Click to expand...
Click to collapse
my english is not so good, so i think i cant understand correctly the solution.
i already copyed the update-binary from my rom.zip to /tools/update_files
i already copyed the update-binary from my rom.zip to /META-INF/com/google/android
but with no sucess.. i did some copy / pasts with that files just to see if ill find a solution, but i have always the same error...
can you or anyone give me a clue / hint to pass this problem ?
i even tryed to create a template in /tools/edify_defs/ just to give support to HOX device in kitchen, but like i said, my english is not so good, and the info i found on the net is not so clear for my understanding :|
any help?
thanks

Related

how to change files in windows directory

I connect universal to my pc w/ usb and want to rename/delete files in windows directory. It told me some pemmisson error. How can I do such things?
I can create new folds in the directory.
Seems a new bie question. thanks in advance.
Files in the windows folder are generally ROM files, so you can't really delete them, they'll just come back from ROM when you reset.
So - you can use the old technique, normally, of using something like gsfinder, rename the file you want to change, eg ctlpnl.exe to ctlpnl.orig, then copy a new file into the windows folder and rename it to ctlpnl.exe.
That works well with some files, but not all.
To do some heavy duty modding, you would have to make your own rom. Find RomTools by Mamaich.
V
But I can't rename any files belong to original rom. When I use GSfinder to rename the file, it also reported "Cannot rename file.". I checked the property of the file, it has "rom" property and the checkbox of "rom" property is gray.
How?
I attached a jpg file when I want to change the name of "smartdialing.dll".
My device info:
ROM: 1.30.111 WWE
Radio: 1.11.00
Protocal: 42.45.P8
ExtROM: 1.30.230 WWE
T-Mobile Germany version
As you say, if it's a proper ROM file that wants to be stubborn (it may already be in use. Try closing the app using a good task manager first) then your other option could just be burning a new rom.
Why do you need to rename it?
V
vijay555 said:
As you say, if it's a proper ROM file that wants to be stubborn (it may already be in use. Try closing the app using a good task manager first) then your other option could just be burning a new rom.
Why do you need to rename it?
V
Click to expand...
Click to collapse
It seems that's not the reason. I can't even rename a htm or gif file with ROM property.
I want to localize smartdialing.dll.
Thanks for your quick response!
I think there's already a tutorial/solution to a localized smartdialler.
Can't remember the poster, check Buzz's site.
V
yes, I want to create a Chinese version of smartdialing based on their tutorial.
However, I tried to replace the original dll with my modified one, and FAILED. That's really troublesome. Seems nobody else has the same issue as mine.
Got a simular problem.
I'm trying to install OZVGA and according to the instructions you need to copy some files (Backlight.exe Camera.exe etc.) into the windows directory, but i'm not allowed to do so. Files are read only or in use.
Some suggestions?
Use TotalCommander.
ady said:
Use TotalCommander.
Click to expand...
Click to collapse
useless.
Any one knows why?
I had the ozvga issue. I installed the extended ROM unlocker (from buzzdev.net I think) and then it let me replace them.
Hope this helps.
Coincidentally, I've just upgraded to the latest T-Mobile ROM and need to re-apply ozvga but I can't find the files/instructions anymore. Got a link handy?

Changing Files in Windows Dir

Hi,
I flashed a new ROM and now I want to change sym.txt in \windows dir, but it's read-only and I can't change that.
How can I write in this directory?
Thanks!
use Total Commander
nope - totalcommander cannot access the ROM, as i am informed. So some files will stay. I don't know yet how to break into on HTC 4350 (Herald)...
If this file is part of ROM you can not change it without cooking a new ROM.
What you can do it overwrite it. The new file will actually be stored on the storage memory but because it has the same name and path as the ROM file the system will go to it instead of the original. At least until you hard reset your device.
levenum said:
If this file is part of ROM you can not change it without cooking a new ROM.
What you can do it overwrite it. The new file will actually be stored on the storage memory but because it has the same name and path as the ROM file the system will go to it instead of the original. At least until you hard reset your device.
Click to expand...
Click to collapse
I tried that, it works. Although now the function of this file doesn't work anymore (translation of certain characters by pressing "dot" and "space" on the hardware keyboard of the HTC TyTn).
After editing the file and overwriting the original, nothing happens when I press dot+space...
That is because you ruined the signature (by editing an original file) or used an unsigned file.
All system files in WM 5 and up must be signed.
levenum said:
That is because you ruined the signature (by editing an original file) or used an unsigned file.
All system files in WM 5 and up must be signed.
Click to expand...
Click to collapse
Oh I see. Thanks for the information. Can I somehow sign it myself?
Yes, the WM 5 / 6 SDKs contain the tools and sample signatures, but you need to "provision" your device (put the signature in so it will be recognized).
If you do a search on this forum you will find all the info you need.

[GUIDE] Noob Friendly RFS Browsing/Extracting Guide

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!

Please need help regarding meta-inf

i installed "4.0.3 Leak On Screen Buttons" which was in zip having two folders
1 - meta- inf [which has a com folder (with files in it update-binary and updater-script) and with three files CERT.RSA, MANIFEST.MF and CERT.SF]
2 - system (in it framework-res.apk)
so i installed this zip via cwm, but i didn't liked the concept as it wasn't looking good,etc
so as i had already backed up my original framework-res.apk , so using root explorer i moved it back in sys/framework folder
restarted my phone and all got fine....
Though my question is as those files : update-binary and updater-script ---- CERT.RSA, MANIFEST.MF and CERT.SF are not searchable and i guess should not be deleted as they were just updated .. so still would they be impacting my phone or its all kool as i havn't been able to search them or delete them ?!
is it important to find and delete them or its no need for that and its ok ?!
Hope someone understands what i am trying to ask and reply appropriately please i would highly appreciate the same!
Think them like busybox (so you can mount delete etc)
And script file, that includes commands to do.
Every cwm zip files includes them. when you install zip file, these commands executed.
Sent from my LT18i using xda premium
eryen said:
Think them like busybox (so you can mount delete etc)
And script file, that includes commands to do.
Every cwm zip files includes them. when you install zip file, these commands executed.
Sent from my LT18i using xda premium
Click to expand...
Click to collapse
Awesome!
Just ease me by telling that so its nothing but just used for commands, so i need not to be worried for them could be hampering my phone's performance ?!
a yes answer will do
eryen said:
Think them like busybox (so you can mount delete etc)
And script file, that includes commands to do.
Every cwm zip files includes them. when you install zip file, these commands executed.
Sent from my LT18i using xda premium
Click to expand...
Click to collapse
shantusingh said:
Awesome!
Just ease me by telling that so its nothing but just used for commands, so i need not to be worried for them could be hampering my phone's performance ?!
a yes answer will do
Click to expand...
Click to collapse
Just to clarify,
That folder contains the Zip signatures and file manifests. as well as the CWM controll scripts. ect. these should never be coppied to the phone on a flash. likewise if you edit them the zip will prob not work without resigning the zip.
Pvy.
pvyParts said:
Just to clarify,
these should never be coppied to the phone on a flash. likewise if you edit them the zip will prob not work without resigning the zip.
Pvy.
Click to expand...
Click to collapse
thank you for your reply but now this got way over my head, m not that deep into this stuff so would appreciate if i get a simple answer to my question only please?
like asked in first post that i installed this zip via cwm, but i didn't liked the concept as it wasn't looking good,etc
so as i had already backed up my original framework-res.apk , so using root explorer i moved it back in sys/framework folder
restarted my phone and all got fine....
Though my question is as those files : update-binary and updater-script ---- CERT.RSA, MANIFEST.MF and CERT.SF are not searchable and i guess should not be deleted as they were just updated .. So still would they be impacting my phone or its all kool evn if as i havn't been able to search them and delete them ?!
is it important to find and delete them or its no need for that and its all ok now as i just moved the original framework back ?!
shantusingh said:
thank you for your reply but now this got way over my head, m not that deep into this stuff so would appreciate if i get a simple answer to my question only please?
like asked in first post that i installed this zip via cwm, but i didn't liked the concept as it wasn't looking good,etc
so as i had already backed up my original framework-res.apk , so using root explorer i moved it back in sys/framework folder
restarted my phone and all got fine....
Though my question is as those files : update-binary and updater-script ---- CERT.RSA, MANIFEST.MF and CERT.SF are not searchable and i guess should not be deleted as they were just updated .. So still would they be impacting my phone or its all kool evn if as i havn't been able to search them and delete them ?!
is it important to find and delete them or its no need for that and its all ok now as i just moved the original framework back ?!
Click to expand...
Click to collapse
Sorry if I didn't make it clear.
They are not flashed. Hence you can't find them. So no need to worry.
Pvy.
Sent from my TEAM Powered Arc S
pvyParts said:
Sorry if I didn't make it clear.
They are not flashed. Hence you can't find them. So no need to worry.
Pvy.
Sent from my TEAM Powered Arc S
Click to expand...
Click to collapse
Awesome thank you! I understood they just help in probably installing that particular app giving its own correct signatures and file manifests w.e so it gets installed via cwm and nothing more . And as i just backed up my original framework-res.apk to framework folder so its ofcourse all back to normal, though my phone is fine always as it was, I just had this doubt in my mind and m glad it got cleared thanks again!!
Cheers!!
Where did you place the Meta-INF files? I know system files goto system/framework but I cant find where Meta-INF files go. I'm using a root file manager.
chipdawg said:
Where did you place the Meta-INF files? I know system files goto system/framework but I cant find where Meta-INF files go. I'm using a root file manager.
Click to expand...
Click to collapse
You are not correct about the system files. And I recommend you do some more reading on how these zips work.
Metainf is FOR THE ZIP. And has been prety well explained above.
Pvy
Sent from my GT-P5110 using Tapatalk 2

[Q] Mounting Stock ROM system.img on W7/8/Linux to view and copy files

- I unzipped e.g. T705XXU1ANF from samdownloads.de.rar.
- Then I opened the T705XXU1ANF7.tar.md5 and extracted the *.img files with winrar.
- Then I tried to mount system.img / recovery.img with OSFMount.
Mounting worked but non of the ext2 tools (Ext2Fsd, ext2explore, explore2fs-1.08beta9, Paragon ExtFS for Windows, LinuReader ) would recognice the mounted image or could mount the image itself to view the files.
For ICS/JB I read about ext4_unpacker. Do we have something like that for Kitkat ? Or is it possible under Linux (I am a noob there)
Basically on Linux, it's really easy.
mount -o loop disk1.iso /mnt/disk
Or wherever that you want it to be.
did one of you mount an system.img from Kitkat Stock Rom already ?? Because I dont think ist about W7/8 .... some of the tools listed should be able to read ext4 ... (ext4_unpacker wont work either !!)
pegasus21 said:
Basically on Linux, it's really easy.
mount -o loop disk1.iso /mnt/disk
Or wherever that you want it to be.
Click to expand...
Click to collapse
no it cant be mounted that way... I tried under unbuntu LiveDVD. the System.img can be mounted, but there is no readable filesystem. So it must be processed in some form like ext4unpacker did for ICS/JB ...
gggg said:
no it cant be mounted that way... I tried under unbuntu LiveDVD. the System.img can be mounted, but there is no readable filesystem. So it must be processed in some form like ext4unpacker did for ICS/JB ...
Click to expand...
Click to collapse
You're right... I thought it worked out of the box.
Anyway, I used RKwinTools to extract the system.img contents on Windows.
Place system.img in RKwinTools_v133\unpack\firmware\image\
Run the batch file and select option 6 and you'll find the contents under RKwinTools_v133\unpack\System
pegasus21 said:
You're right... I thought it worked out of the box.
Anyway, I used RKwinTools to extract the system.img contents on Windows. Place system.img in RKwinTools_v133\unpack\firmware\image\
Run the batch file and select option 6 and you'll find the contents under RKwinTools_v133\unpack\System
Click to expand...
Click to collapse
THX unpacking worked like a charm, but is there also a way of just converting the img to one that is a mountable.ext4. This one I could use under Win and Linux as it would keep permissions ... (Simg2img didnt work)
This is the error:
Code:
*** Please wait... ***
Ext4Extractor version 1.5.2 Created by And_PDA Based on sources ext4_unpacker
Extractor for images in EXT2\EXT3\EXT4\SPARSE formats
Open image file Unpack/Firmware/Image/system.img successfull...
Found SPARSE FORMAT
Convert to EXT4 format started...
Convert to EXT4 format finish success
*********************************
*** Error! ***
*********************************
gggg said:
THX unpacking worked like a charm, but is there also a way of just converting the img to one that is a mountable.ext4. This one I could use under Win and Linux as it would keep permissions ... (Simg2img didnt work)
This is the error:
Code:
*** Please wait... ***
Ext4Extractor version 1.5.2 Created by And_PDA Based on sources ext4_unpacker
Extractor for images in EXT2\EXT3\EXT4\SPARSE formats
Open image file Unpack/Firmware/Image/system.img successfull...
Found SPARSE FORMAT
Convert to EXT4 format started...
Convert to EXT4 format finish success
*********************************
*** Error! ***
*********************************
Click to expand...
Click to collapse
Well option 7 will convert the sparse ext4 image to a normal ext4 image. The message shows error but it would seem that it's converted. Find the image in the same location that you placed system.img.
Mount system_ext4.img on linux using
Code:
mount -t ext4 -o loop system_ext4.img /mnt
pegasus21 said:
Well option 7 will convert the sparse ext4 image to a normal ext4 image. The message shows error but it would seem that it's converted. Find the image in the same location that you placed system.img.
Click to expand...
Click to collapse
THX so far, I can mount it on my Linux PC not under Win8
- Linux Rader still cant open it
- I can Mount it with OSFMount, but neither paragon ExtFS nor ext2Mgr recognice the mounted Drive ????
ideas very welcome
gggg said:
ideas very welcome
Click to expand...
Click to collapse
try this windows system to ext4 double click bat file then drag your system.ing,cache.img or data.img to the open window
pegasus21 said:
You're right... I thought it worked out of the box.
Anyway, I used RKwinTools to extract the system.img contents on Windows.
Place system.img in RKwinTools_v133\unpack\firmware\image\
Run the batch file and select option 6 and you'll find the contents under RKwinTools_v133\unpack\System
Click to expand...
Click to collapse
How to decompile the boot and the kernel?
hello... how to repack the unpacked files?
pegasus21 said:
You're right... I thought it worked out of the box.
Anyway, I used RKwinTools to extract the system.img contents on Windows.
Place system.img in RKwinTools_v133\unpack\firmware\image\
Run the batch file and select option 6 and you'll find the contents under RKwinTools_v133\unpack\System
Click to expand...
Click to collapse
bro can you little explain how its work, i have win , after extract i have just this 3 folders
_in
app
cywim
so where i put system.img.ext4 files?
i really don,t care about extracted i need to repack to ext4

Categories

Resources