how to open(unpack) android update.app - Huawei Ideos X5 U8800

????????????

That should be under general...
Sent from my Huawei Ideos X5 1.12.9(ret4rt)

boss_y said:
That should be under general...
Sent from my Huawei Ideos X5 1.12.9(ret4rt)
Click to expand...
Click to collapse
It should indeed.
Moved to General

I believe flibblesan used a tool to unpack it, cant remember what it was called. Ask him
edit. or dzo.. cant remember

i'd like to know the name of the tool....

Google is your friend
http://android.modaco.com/topic/298436-perl-script-for-unpacking-the-updataapp-files/

demolition23 said:
Google is your friend
http://android.modaco.com/topic/298436-perl-script-for-unpacking-the-updataapp-files/
Click to expand...
Click to collapse
that script is already included in dsixda kitchen....the problem is that the kitchen extracts the updata.app and a "out" folder (where there are some files, among them system.img).
the most important problem is that i can't extract system.img with dsixda.

matteof93 said:
the most important problem is that i can't extract system.img with dsixda.
Click to expand...
Click to collapse
It should be (I haven't checked it myself) an ext3 image, which you can just mount under Linux anyway.

qwerty12 said:
It should (I haven't checked it myself) an ext3 image, which you can just mount under Linux anyway.
Click to expand...
Click to collapse
ok, i will try later....now i am on windows
EDIT: mounting the system.img on ubuntu the file seems to be empty.....is there any tool to extract it?

http://forum.xda-developers.com/showthread.php?t=1036147
This should work
Sent from my U8800 using Tapatalk

No, doesn't work either. The link is for unyaffs, which is the same app dsxda kitchen uses for extraction

dancer_69 said:
No, doesn't work either. The link is for unyaffs, which is the same app dsxda kitchen uses for extraction
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=18905974&postcount=6

dont working.

andreasha said:
http://forum.xda-developers.com/showpost.php?p=18905974&postcount=6
Click to expand...
Click to collapse
just tested on ubuntu. i have obtained the system.img but i had some issues extracting updata.app and i don't have the boot.img

I not open please video or photo
ı'm using ubuntu latest version

I am trying to sort this out now, but not getting so far. Looks to me that the hash locations found in the script are wrong so it is not finding boot.img and other files and is breaking the script.
http://www.zebadger.com/android/scripts/split_updata.txt
Code:
my %fileHash=( "\x00\x00\x00\x10","appsboot.mbn",
"\x00\x00\x00\x20","file25.mbn",
"\x00\x00\x00\x30","boot.img",
"\x00\x00\x00\x40","system.img",
"\x00\x00\x00\x50","userdata.img",
"\x00\x00\x00\x60","recovery.img",
"\x00\x00\x00\xC0","file11.mbn",
"\x00\x00\x00\xD0","file08.mbn",
"\x00\x00\x00\xE0","file05.mbn",
"\x00\x00\x00\xF0","file04.mbn",
"\x00\x00\x00\xF1","file07.mbn",
"\x00\x00\x00\xF2","splash.raw565",
"\x00\x00\x00\xF3","file01.mbn",
"\x00\x00\x00\xF4","file02.mbn",
"\x00\x00\x00\xF5","file14.mbn",
"\x00\x00\x00\xF6","boot_versions.txt",
"\x00\x00\x00\xF7","upgradable_versions.txt",
"\x00\x00\x00\xF8","file09.mbn",
"\x00\x00\x00\xF9","version.txt",
"\x00\x00\x00\xFA","file20.mbn",
"\x00\x00\x00\xFB","appsboothd.mbn",
"\x00\x00\x00\xFC","file23.mbn",
"\x00\x00\x00\xFD","file16.mbn",
"\x00\x00\x00\xFE","file18.mbn",
"\x00\x00\x00\xFF","file21.mbn",
);
Have looked through the update.app with a hex editor, but not seeing anything that correlates to those lines. Can find boot.img etc, but they are referenced differently. Will look at if hex dump is a different thing and see if it references boot.img properly. If we could get this working, we could make a lot more custom roms as it would be easier to make them in the kitchen using official huawei files with mods.

Ok so system.img can be mounted using furius iso in linux on a loop setting, not a fuse one. Now to try and find the boot.img

http://android.modaco.com/topic/311...s-new-version-of-split-updatapl/page__st__180
See last post, unless he is only joking/being sarcastic, looks like we may get some support for our update.app files for the u8800 in zebadgers script. would be great if we could get full support in the android kitchen for our phone

Ok, last one for now, spent whole afternoon combing through scripts and hex editor readouts. Still not much closer. I can find a couple of files in zebadgers script that if you rename them to boot.img (F0, F3 and F4) will let the script do its job, but they are clearly not the boot.img, too small and not right.
There are still four mystery files named unknown_file 0-3 and 2 look to be the correct size for a kernel/boot.img but I dont know where they come from. They are not from the filehashes in my above post.

hi paul....so did you managed to obtain the system.img from update.app?
which script have you used?
about the boot.img: i don't think that it is absolutely necessary....i can copy my boot.img through the pink screen and use it in the dsixda kitchen. is that right?
ps: i think that the boot.img of the B512 is the same of the B540...isn't it?

Related

[???] How to extract files from Nandroid img??

I really like to split my nandroid files apart, how do I do that?
Not the boot.img but the data.img and system.img
Any help?
Try unyaffs: http://code.google.com/p/unyaffs/
Ostebaron.. rofl.. den var go..
No, had no luck with that on..
MOD EDIT
Moved out of android development as not relevent to forum
Cheesebaron said:
Try unyaffs: http://code.google.com/p/unyaffs/
Click to expand...
Click to collapse
I've used this many times. it works...at least on Ubuntu
There a way to unpack it in Windows?
anonymous66 said:
There a way to unpack it in Windows?
Click to expand...
Click to collapse
if you still want to extract those files just upload them to rapid or somewhere else and give the address i am using ubuntu GNU/linux i may help you by extracting and repacking to tar.gz or zip whichever you want and send it back?
Who can share Magic NADROID 32B dump?

[Q] How to load system.img?

I've compiled and installed a modded kernel. I'm trying to figure out how to load AOSP compiled binaries. I've tried using adb flash_image system /sdcard/system.img, but I get "failed with error: 6." Does anyone know what this means or how to load system.img on a Galaxy Tab from VZW? I'm working on reactivating the phone dialer...
the galaxy tab has nothing like fastboot, so its pretty hard to flash it! but u can try to overwrite a stock factory.rfs with the files from ur system.img and flash via odin!
That sounds like a great idea. However, I'm trying to figure out how to put the vendor specific drivers in the system.img, which is mountable and editable. If I could get my hands on an original stock system.img, that'd be awesome.
Sent from my SCH-I800 using XDA App
As far as I know, the Tab doesn't use mtd file system, so I don't think it uses .img extensions.
Not positive though. Somebody correct me if I'm wrong.
I know for a fact that img files are created as the output of an Android system build. This img can be broken apart with standard Linux tools. I've already done this. I've also mounted factoryfs.rfs to a local directory, which allows me to move apps to and from the file system.
Sent from my SCH-I800 using XDA App
If you have a md5 of it too, you should be able to flash it via an advanced restore in CWM recovery. That is if it is only the data that is flashed to /system. otherwise I would suggest converting it to a .fs or .tar and flash via heimdall or Odin (respectively).
What PC tools can I use to open .img files in a nandroid/CWM backup set?
Must I set up an Android ROM cooking kitchen using Virtual Box + Ubuntu, or is there another way?
zyborg said:
What PC tools can I use to open .img files in a nandroid/CWM backup set?
Must I set up an Android ROM cooking kitchen using Virtual Box + Ubuntu, or is there another way?
Click to expand...
Click to collapse
use the attached unyaffs.exe to extract a system.img! simply drag the created system.img onto unyaffs.exe and it will extract alle the files in the same directory!
to rebuild, i think it might be able to create a image file in magic disk maker but im not sure
zyborg said:
What PC tools can I use to open .img files in a nandroid/CWM backup set?
Must I set up an Android ROM cooking kitchen using Virtual Box + Ubuntu, or is there another way?
Click to expand...
Click to collapse
http://android-dls.com/wiki/index.p...cking.2C_Editing.2C_and_Re-Packing_the_images
Landroid said:
use the attached unyaffs.exe to extract a system.img! simply drag the created system.img onto unyaffs.exe and it will extract alle the files in the same directory!
to rebuild, i think it might be able to create a image file in magic disk maker but im not sure
Click to expand...
Click to collapse
thanks! this was very easy to use

Looking for a tutorial: how to cook a ROM?

I'm looking for a guide which tells how to make a own custom ROM from another one
I mean:
1. How to add/replace/remove apps in /system/app/?
1. a) Do they need to have special permission?
2. How to replace boot screen?
3. How to add custom kernel?
4. How to add Desire lockscreen/flip clock?
5. How to add transparent notofication area?
6. How to add Power menu?
I've been serching forum, but didn't find such tutorial. Would be very thanful to get this knowledge.
I think that will be very useful for maaaany android maniacs
1. Simple delete/copy apks in .zip file using 7-Zip or any other.
2. I belive you need to put bootanimation.zip in /data/local/ folder.
3. Idk
4. For Desire lockscreen you need edited HtcLockScreen.apk; for flip clock - HtcClockWidget.apk
5. Edited /system/framework-res.apk or /system/framework/com.htc.resources.apk. I'm not sure
6. You need edited /system/framework/android.policy.jar
69. Resign your zip file using Auto Sign
Attachment doesn't load, but I know about resigning ROM after everything is done
Ad. 1. As I thought, but do the need special permissions? And I also wonder one thing. Are they installed while flashing? Cuz they need to be in system registry, I think...
I have found this: http://wiki.android.com.pl/wiki/Kon...iana_instalowanych_aplikacji_razem_z_systemem
No any permissions etc.
Found this, too. Thanks.
to add a custom kernel you have to unpack the boot image and edit the ramdisk manually, although i think there is an option in dsixda's kitchen to unpack and repack the boot.img
I've got two more questions:
1. When signing, three files are created in folder META-INF: CERT.RSA, CERT.SF, MANIFEST.SF. But in other packages I see also com/google/android/update-script in META-INF. How to make it? Is it necessary?
2. If I want to make only flashable update file which changes one app or another file, eg. framework-res.apk, I have to create folder structure: system/framework/framework-res.apk, add it to zip archive (no compression?) and sing using Auto-sing. Am I right?
Edit:
Found nice guide there: update-script syntax
tomekk_nt said:
I've got two more questions:
1. When signing, three files are created in folder META-INF: CERT.RSA, CERT.SF, MANIFEST.SF. But in other packages I see also com/google/android/update-script in META-INF. How to make it? Is it necessary?
2. If I want to make only flashable update file which changes one app or another file, eg. framework-res.apk, I have to create folder structure: system/framework/framework-res.apk, add it to zip archive (no compression?) and sing using Auto-sing. Am I right?
Click to expand...
Click to collapse
The most important part of a recovery update zip is the update script. It will tell the recovery what to do. If you want an example of a basic update package, which replaces one file in the /system/framework (although a different one) can found here. Open this and read the META-INF/com/google/android/updater-script (or whatever its called). The syntax is pretty straight forward and I think its easiest to learn from the examples of updater scripts found here on XDA. For the simple case, of only replacing/adding files to the /system partition you can leave the updater script from the above example as is and only change the files under the /system directory in the zip.
Note, that the above example uses the newer upader-script (I hope I am writing this correctly, I am writing from memory) which also has a binary file in the same directory. Some update zips use the older "update-script" lone text script. For these kind of scripts, you can find a guide here.
Personally, I use RA recovery, and for this recovery you need to sign the update zips (last thing you do of course). At least for RA recovery, both the older "update-script" and the newer "updater-script" work fine, so its up to your personal preference which do you prefer.
Thanks. Found a guide you mentioned a couple of minutes ago and read it.
The more I know, the more questions it brings So one more thing. If I'd like to use the newer version of syntax: "updater-script", I need also to put this binary file in this folder. But I create/edit only "updater-script", binary file is the same for all packages, or do I need to edit it, too?
I built a kernel tool long time ago, very easy to use (only for linux)
1: unzip the file, place it where you want it eg your desktop
2: place boot.img in the working directory
3: double-click the menu icon or launch from terminal
4: it creates a new directory named BOOT-EXTRACT,edit what you want in there or change the kernel etc.. and repack it again via the kernel tool
see screenshot. here for those how want the tool >>> http://www.elelinux.se/tools/kernel_tool.zip
Edit: Only for Hero
tomekk_nt said:
Thanks. Found a guide you mentioned a couple of minutes ago and read it.
The more I know, the more questions it brings So one more thing. If I'd like to use the newer version of syntax: "updater-script", I need also to put this binary file in this folder. But I create/edit only "updater-script", binary file is the same for all packages, or do I need to edit it, too?
Click to expand...
Click to collapse
Only the updater-script. The binary is a replacement of the script-interpreter I think, but thats just an assumption.
elelinux said:
I built a kernel tool long time ago, very easy to use (only for linux)
Click to expand...
Click to collapse
And that's a good reason to install newest Ubuntu Thanks!
riemervdzee said:
Only the updater-script. The binary is a replacement of the script-interpreter I think, but thats just an assumption.
Click to expand...
Click to collapse
That's mine assuption, too, but would like to know it for 100%
Edit: I see you use it in your kernel update package. So you write only updater-script and place also update-binary next to it?
LOL, you've got help from every well known hero dev on xda, I'm sure you'll have all the info you need now to start building rom's. Good Luck!
Found an app called Easy Flashable zip Builder on this thread. Will test it soon.
tomekk_nt said:
Found an app called Easy Flashable zip Builder on this thread. Will test it soon.
Click to expand...
Click to collapse
But it is for MS Windows, or saw I wrong ? I have also built a tool to javasign files,but should probably write a manual first,it is easy to use but some dependencies maybe not so easy for a beginner with Linux.
tomekk_nt said:
That's mine assuption, too, but would like to know it for 100%
Edit: I see you use it in your kernel update package. So you write only updater-script and place also update-binary next to it?
Click to expand...
Click to collapse
Correcto

[q] extract a rom

Hello
can any one tell me how i can extract a rom so i can gate some apk that my original rom use to have.
thank you
unzip with winrar
system>app> apk files here
Questions to general section please. Written in forum rules.
Sent from my u8800 using XDA App
Thank you oguzhan mobile
How to extract the update.app (stock rom file)?
andreasha said:
How to extract the update.app (stock rom file)?
Click to expand...
Click to collapse
The attached should be all you need. split_updata.pl will extract the system image which you can then mount directly. splitfile.c will extract the mbn files and boot.img. Use abootimg to extract the kernel and initrd and then cpio to get the root fs from the initrd. Obviously you will want to use a linux box for this.
dzo said:
The attached should be all you need. split_updata.pl will extract the system image which you can then mount directly. splitfile.c will extract the mbn files and boot.img. Use abootimg to extract the kernel and initrd and then cpio to get the root fs from the initrd. Obviously you will want to use a linux box for this.
Click to expand...
Click to collapse
Thanks mate, really nice instructions!

[FIRMWARE][SM-T700] Galaxy Tab 8.4 (Wifi) T700XXU1ANF7 No-Wipe Factory Image

This is the latest firmware (T700XXU1ANF7) as of June 29, 2014 for the Galaxy Tab S 8.4 (Wifi) model (SM-T700).
"No-Wipe" means your app data and storage will all stay 100% in tact. Only system mods, custom kernels, and root will be removed as you are flashing stock firmware.
Please feel free to use as you see fit.
Download: http://www.androidfilehost.com/?fid=23501681358556680
open1your1eyes0 said:
This is the latest firmware (T700XXU1ANF7) as of June 29, 2014 for the Galaxy Tab S 8.4 (Wifi) model.
"No-Wipe" means your app data and storage will all stay 100% in tact. Only system mods, custom kernels, and root will be removed as you are flashing stock firmware.
Please feel free to use as you see fit.
Download: http://www.androidfilehost.com/?fid=23501681358554636
Click to expand...
Click to collapse
No 10.5 love?
mitchellvii said:
No 10.5 love?
Click to expand...
Click to collapse
+1, can't forget us 10.5 owners
mitchellvii said:
No 10.5 love?
Click to expand...
Click to collapse
Stock Firmware SM-T800 (Wi-FI)
Stock Firmware SM-T805 (LTE)
Now all I need is a rom to screw my rig up with so I'll need this
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
u did it on Windows or Linux? cause I want the system file extracted. can u send it to me please?
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
Maybe you could repack it with root files to get root. There is a how to video on you tube. I would do it, but my linux machine is down.
suzook said:
Maybe you could repack it with root files to get root. There is a how to video on you tube. I would do it, but my linux machine is down.
Click to expand...
Click to collapse
Please don't coming from the one that said root is okay from the note 10.1 2014 edition. Root and profit. Sound familiar. You mean root and brick.
mitchellvii said:
No 10.5 love?
Click to expand...
Click to collapse
ewells38 said:
+1, can't forget us 10.5 owners
Click to expand...
Click to collapse
Apologies for the delay folks. It's now uploaded.
http://forum.xda-developers.com/showthread.php?t=2800372
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
well, we need some step by step instruction here
anyone able to extract system files??
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
Chainfire needs recovery.img to make cf autoroot for us. Are u able to extract the recovery.img for the q0.5 as well as 8.4 so I can post it in the cf auto root thread so we can get root?
FYI for those of you who have PMed me I have fixed the corrupt download and updated the OP link.
Zip
Dabolx said:
Is there any tool to extract system.img?
UPDATE:
I found a way how to do it.
I used sgs4ext4fs by Chainfire to modify system.img and after that Ext2explore to extract files from modified system.img .
Also if anyone is interested how to extract hidden.img, first you need to modify it with sgs4ext4fs and after that use sgs2toext4. Then you can open modified hidden.img with ext4_unpacker and extract files from it.
Click to expand...
Click to collapse
Can you please zip extracted and provide a link!!
Thanks
No
jazzespresso said:
well, we need some step by step instruction here
anyone able to extract system files??
Click to expand...
Click to collapse
No I am unable to extract and have done many in the past. It appears no one here has been successful either!!!
EMSpilot said:
No I am unable to extract and have done many in the past. It appears no one here has been successful either!!!
Click to expand...
Click to collapse
bare with me on that one since I tried too many different options, following worked for me - required files attached here (I ziped, so hopefully XDA did not blocked it)
This is for Windows PC:
1. Download sgs4ext4fs.exe, and download firmware, unzip firmware up until you see system.img.
2. Open command prompt (on windows, click start, type cmd) where system.img, and type
sgs4ext4fs --trim system.img systemt.img
........ > you will see bunch of ............., but wait until it finishes.
3. Once it finishes it creates systemt.img, get sgs2toext4.jar (save it to the same folder), and open sgs2toext4.jar, and drag and drop newly created systemt.img to the window (sgs2toext4.jar's window), wait until it finishes, when it finishes it will create systemt.ext4.img
4. Now last step, download ext2explore.exe, and open it, and go to file --> open image and pick systemt.ext4.img, it will show the img file there (on both side of window), on the left side, select the systemt.ext4.img (should be showing full path), right click your mouse, and select save to your desktop or any other folder location you pick.
Obviously, next step will be odexing everything:laugh:
Yorgo1982 said:
u did it on Windows or Linux? cause I want the system file extracted. can u send it to me please?
Click to expand...
Click to collapse
Here you go:
System img from Galaxy Tab 10.5
How about a custom recovery .the build your own recovery with stock recovery.IMG leads to a http// 404 error online after it builds it.any of you smarter than me individuals know how to build a custom CWM/TWRP img ?
Nexus 5 via Tapatalk
open1your1eyes0 said:
This is the latest firmware (T700XXU1ANF7) as of June 29, 2014 for the Galaxy Tab S 8.4 (Wifi) model (SM-T700).
"No-Wipe" means your app data and storage will all stay 100% in tact. Only system mods, custom kernels, and root will be removed as you are flashing stock firmware.
Please feel free to use as you see fit.
Download: http://www.androidfilehost.com/?fid=23501681358556680
Click to expand...
Click to collapse
I actually needed this this morning and feel indebted to you cause the online so called Stock Firmwares lead to mad amount of bloat to my computer.
Thank you
restore
jball said:
I actually needed this this morning and feel indebted to you cause the online so called Stock Firmwares lead to mad amount of bloat to my computer.
Thank you
Click to expand...
Click to collapse
Thanks this worked like a charm!!! Great work!!!

Categories

Resources