Hey guys recently i was trying my hand at porting roms. I have read a lot of guides and i know mostly all about flashing or modifying custom roms or kernel etc. But i am stuck because every time i try to flash my ported rom it gives this error :-
could not find meta-inf/com/google/android/update-binary
Flashing fails after this error. I have already checked that update-binary file is present at the correct location and I am 100% sure i am following all the porting guides completely but still i am getting this error. I have tried 2-3 different guides but every single time i get this error. Can anyone tell me where am i going wrong?
AndroiDTechi said:
Hey guys recently i was trying my hand at porting roms. I have read a lot of guides and i know mostly all about flashing or modifying custom roms or kernel etc. But i am stuck because every time i try to flash my ported rom it gives this error :-
could not find meta-inf/com/google/android/update-binary
Flashing fails after this error. I have already checked that update-binary file is present at the correct location and I am 100% sure i am following all the porting guides completely but still i am getting this error. I have tried 2-3 different guides but every single time i get this error. Can anyone tell me where am i going wrong?
Click to expand...
Click to collapse
i had similar issue, didn't flash the system & boot.img. Creating Zip on different platform fixed it.
Wizardlysense said:
i had similar issue, didn't flash the system & boot.img. Creating Zip on different platform fixed it.
Click to expand...
Click to collapse
On which platform did you create the Zip??
I am using Windows 10.
AndroiDTechi said:
On which platform did you create the Zip??
I am using Windows 10.
Click to expand...
Click to collapse
windows 10 pro
Wizardlysense said:
windows 10 pro
Click to expand...
Click to collapse
I am also using Windows 10 Pro. Can you tell me how did you create the zip? I just put all the files like Meta-inf , system , boot.img and others if something more is present into a folder and convert it into a Zip using 7zip. Do i need to do something else??
AndroiDTechi said:
Hey guys recently i was trying my hand at porting roms. I have read a lot of guides and i know mostly all about flashing or modifying custom roms or kernel etc. But i am stuck because every time i try to flash my ported rom it gives this error :-
could not find meta-inf/com/google/android/update-binary
Flashing fails after this error. I have already checked that update-binary file is present at the correct location and I am 100% sure i am following all the porting guides completely but still i am getting this error. I have tried 2-3 different guides but every single time i get this error. Can anyone tell me where am i going wrong?
Click to expand...
Click to collapse
just get the 'update-binary' file from any previous flashable custom roms from meta-inf folder and copy it to yours
tawidhiphoper said:
just get the 'update-binary' file from any previous flashable custom roms from meta-inf folder and copy it to yours
Click to expand...
Click to collapse
I am using CM 12.1 as base for porting and i am using update-binary form CM 12.1 only but still its not flashing
CM 12.1 flashes and works perfectly.
AndroiDTechi said:
I am using CM 12.1 as base for porting and i am using update-binary form CM 12.1 only but still its not flashing
CM 12.1 flashes and works perfectly.
Click to expand...
Click to collapse
can u upload the updater-script?
AndroiDTechi said:
I am also using Windows 10 Pro. Can you tell me how did you create the zip? I just put all the files like Meta-inf , system , boot.img and others if something more is present into a folder and convert it into a Zip using 7zip. Do i need to do something else??
Click to expand...
Click to collapse
i used WinRAR to zip files, no more problems since reinstalled windows
AndroiDTechi said:
Hey guys recently i was trying my hand at porting roms. I have read a lot of guides and i know mostly all about flashing or modifying custom roms or kernel etc. But i am stuck because every time i try to flash my ported rom it gives this error :-
could not find meta-inf/com/google/android/update-binary
Flashing fails after this error. I have already checked that update-binary file is present at the correct location and I am 100% sure i am following all the porting guides completely but still i am getting this error. I have tried 2-3 different guides but every single time i get this error. Can anyone tell me where am i going wrong?
Click to expand...
Click to collapse
u have to create zip by selecting meta inf,system data and many more files
Wizardlysense said:
i used WinRAR to zip files, no more problems since reinstalled windows
Click to expand...
Click to collapse
I prefer android kitchen to zip the rom.. just place the ported files in the "working" folder and zip via android kitchen..it generates the updater script n update binary by default
tawidhiphoper said:
I prefer android kitchen to zip the rom.. just place the ported files in the "working" folder and zip via android kitchen..it generates the updater script n update binary by default
Click to expand...
Click to collapse
I guess it didnt generate it successfully
Use assaydes kitchen bro have u got update script
Related
HI I have downloaded the I5800XXJPM.zip firmware but it has only 3 files in it. Now i am confused how to flash it in Odin. I have flashed earlier using both the method like different files and one package but this file is different. I think i need to make a tar file before.
files that is under the zip file is: factoryfs.rfs, modem.bin and zImage.
Please suggest me the right way.
probably you open the tar file, those three files are inside the tar.
brjshshrma said:
HI I have downloaded the I5800XXJPM.zip firmware but it has only 3 files in it. Now i am confused how to flash it in Odin. I have flashed earlier using both the method like different files and one package but this file is different. I think i need to make a tar file before.
files that is under the zip file is: factoryfs.rfs, modem.bin and zImage.
Please suggest me the right way.
Click to expand...
Click to collapse
hey for me there are 6 files. U may have downloaded the wrong one!!...
and its not a .zip its a .tar file after extracting
neo1691 said:
hey for me there are 6 files. U may have downloaded the wrong one!!...
and its not a .zip its a .tar file after extracting
Click to expand...
Click to collapse
not its a zip file which has a size of 125 Mb. Previously I flashed my odin with both ways (one package and also with 4 different files) but both of those files were different. Can u give me a link so that I download the right file. Make sure its XXJPM coz i will then flash to Indroid 4.1, currently i m in XXJPF.
brjshshrma said:
not its a zip file which has a size of 125 Mb. Previously I flashed my odin with both ways (one package and also with 4 different files) but both of those files were different. Can u give me a link so that I download the right file. Make sure its XXJPM coz i will then flash to Indroid 4.1, currently i m in XXJPF.
Click to expand...
Click to collapse
Try this..
Hope it works
Leave it guys, the file was incomplete. I have downloaded a new file and now flashed it successfully. The matter stands closed, thanks for taking interest.
I had given you a link to a new file
seems you overlooked!!
anyways good to see your problem is solved
neo1691 said:
I had given you a link to a new file
seems you overlooked!!
anyways good to see your problem is solved
Click to expand...
Click to collapse
yes, I downloaded a new file before seeing ur link. anyways can u help me with themes and 1% battery mode?
brjshshrma said:
yes, I downloaded a new file before seeing ur link. anyways can u help me with themes and 1% battery mode?
Click to expand...
Click to collapse
1% battery mod is working only with fugumod 2.4 kernals!!
what you want to know about themes../??
Just go to themes section download any theme you like..
read all the instructions..
generally there are two to three files which you have to replace with old files in system/framework folder.
some have themed apks also.
you have to replace them with old apks in system/app
that should be helpful!!
PS A thanks buttob do exist there if u dont know !!
The missing files were logo.png and cache.rfs.
I think that missing logo.png is not big deal, but I don't know what cahe.rfs is supposed to do.
LarryMetal said:
Forget it... False reading...
The missing files were logo.png and cache.rfs.
I think that missing logo.png is not big deal, but I don't know what cahe.rfs is supposed to do.
Click to expand...
Click to collapse
false reading means???
Good!! i was confused earlier! Thanks for editing
neo1691 said:
false reading means???
Click to expand...
Click to collapse
My bad! I had edited my initial post(because I didn't understand right), and then I just added my opinion. With my t"h"urd edit is no more confusing!
LarryMetal said:
My bad! I had edited my initial post(because I didn't understand right), and then I just added my opinion. With my t"h"urd edit is no more confusing!
Click to expand...
Click to collapse
its just fine..!!
happens with everyone!
hi guys!
First of all : I'm new to the custom rom scene development. I do know how to flash and so..
So i've installed cygwin and the android kitchen. I took the stock rom provided to me by the manufacturer, i was able to set up the working folder. Then I did : "Build ROM from working folder", without making any changes to apk's or something like that.
When i got the update.zip file i tried flashing it with a recovery and using the update.zip in /sdcard method. The first method just stopped after verifying, the second method said it was an invalid package.
I believe there is something wrong with the signing of the rom. Could you guys help me out?
Thx!
Check type of script used in update.zip
tcornelis said:
hi guys!
First of all : I'm new to the custom rom scene development. I do know how to flash and so..
So i've installed cygwin and the android kitchen. I took the stock rom provided to me by the manufacturer, i was able to set up the working folder. Then I did : "Build ROM from working folder", without making any changes to apk's or something like that.
When i got the update.zip file i tried flashing it with a recovery and using the update.zip in /sdcard method. The first method just stopped after verifying, the second method said it was an invalid package.
I believe there is something wrong with the signing of the rom. Could you guys help me out?
Thx!
Click to expand...
Click to collapse
Did u signed the update.zip while exporting rom using cygwin menu. ?
If you didnt sign it will notify that is invalid
But there might be some other kind of issue like
1. Cygwin provides updater_script and update_script in update.zip package it contain all information reguarding flashing
check that your device require which type of script .
let me know your responce.
Press thanks button. if this helped
Hi guys!
Ok. so I'm (really) not a developer, I'm just trying to make a flashable ZIP (+ custom recovery and root) from the latest D80230f_00.kdz (told you, not a dev', but, yeah, everyone should starts with something right?). and I got some difficulties at the end of the process: when trying to flash the zip file, I got a big red error (ok, just red) in TWRP: "E: failed to sysMapFIle /sdcard/rom_name.zip".
Have you ever met this error?
Furthermore, I got a question about the update-binary file (maybe it's link to the error?): I've downloaded @somboons KK_template_new.zip, but their was already an update-binary file in it. I've unziped the archive, write everything I need in the updater-script, and re-zip all (see attachments), I don't do anything except ziped all: should I do something else such as sign the archive or thing like this? 'cause I don't find anything accurate about update-binary file: I don't know if we have to take it from other archive, or if it's create during signing the archive.
Oh, yeah, the recovery.img is TWRP 2.8.7.1.
Anyway, all kind of help will be very appreciate.
Thanks in advance guys !
@casual_kikoo
I would ask a mod to move your post to the Q&A where it belongs
I'm not sure if they move them or delete threads when they're not in the right sub forums.
Lawlrus said:
@casual_kikoo
I would ask a mod to move your post to the Q&A where it belongs
I'm not sure if they move them or delete threads when they're not in the right sub forums.
Click to expand...
Click to collapse
Oh ok so I post in wrong place... I was..sure :crying: ...
Thanks!
casual_kikoo said:
Hi guys!
Ok. so I'm (really) not a developer, I'm just trying to make a flashable ZIP (+ custom recovery and root) from the latest D80230f_00.kdz (told you, not a dev', but, yeah, everyone should starts with something right?). and I got some difficulties at the end of the process: when trying to flash the zip file, I got a big red error (ok, just red) in TWRP: "E: failed to sysMapFIle /sdcard/rom_name.zip".
Have you ever met this error?
Furthermore, I got a question about the update-binary file (maybe it's link to the error?): I've downloaded @somboons KK_template_new.zip, but their was already an update-binary file in it. I've unziped the archive, write everything I need in the updater-script, and re-zip all (see attachments), I don't do anything except ziped all: should I do something else such as sign the archive or thing like this? 'cause I don't find anything accurate about update-binary file: I don't know if we have to take it from other archive, or if it's create during signing the archive.
Oh, yeah, the recovery.img is TWRP 2.8.7.1.
Anyway, all kind of help will be very appreciate.
Thanks in advance guys !
Click to expand...
Click to collapse
Whenever u flash a zip for it needs to be signed, I would check or Ayysir's Android Kitchen, that's where I started my development from, I started just like u, only modifying touchwiz roms and repackaging them in flushable zoos format with android kitchen, if u need help let me know
P.S., Windows is NOT the platform to start development on lol, if I were u I'd start dual booting whatever machine ur using with a Linux OS of ur choice, for someone new like urself, I'd go with Ubuntu
Sent from my Nexus 6 using Tapatalk
soupysoup said:
Whenever u flash a zip for it needs to be signed, I would check or Ayysir's Android Kitchen, that's where I started my development from, I started just like u, only modifying touchwiz roms and repackaging them in flushable zoos format with android kitchen, if u need help let me know
P.S., Windows is NOT the platform to start development on lol, if I were u I'd start dual booting whatever machine ur using with a Linux OS of ur choice, for someone new like urself, I'd go with Ubuntu
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
First of all, thanks you so much for your fast answer. Yeah, I know Windows isn't the easiest platform to start development. Well, I've already have Ubuntu installed on VMWare, I just took screenshots on Windows .
Ok, so if I understood well, update-binary file is created during the signing step? That's why it doesn't work right now, 'cause I don't signed my ZIP.... Yeah ok I start to understand !
I'm gonna download Android Kitchen (this one right?) and start cooking !
Again, thanks you so much dude you make me more and more enthusiast about creating ROMs on Android.
I'm trying to install Wear 2.0 Developer Preview 3 on Huawei Watch. I'm currently using Developer Preview 2, so I thought I'd be familiar with the flashing process.
Anyhow, all the tutorials I managed to find include a part with running a flash-all.bat, which for some reason isn't included in the preview image package I downloaded from https://developer.android.com/wear/...ampaign=android_discussion_wearpreview_092916 .
Where can I get the flash-all.bat?
Edit: Umm, I decided not to go with DP3 at least for now. I thought I'd return to the official stock firmware, but how do I perform the flashing? Do I manually have to edit the file names in flash-all.bat to match the file name of the stock rom's name? Does it matter that the stock rom came as a .tgz even though the files mentioned in the flash-all.bat are .img and .zip? Damn this is confusing, and googling isn't helping at all...
This page is what I'm using as a guide. Worked fine though did take a bit to get the flash-all.bat to run. All files are included in the downloads. Top download is preview image. Bottom is to go back to stock.
https://developer.android.com/wear/preview/downloads.html
Sent from my SM-G935F using XDA-Developers mobile app
The stock download from that page does not contain a flash-all.bat.
I used stock download for flashing and ewerything goes just fine. Just extract all packages in same folder. But if you are interested use this link http://rootjunkysdl.com/files/?dir=Huawei Watch/Firmware. There is all revisions.
highaltitude said:
This page is what I'm using as a guide. Worked fine though did take a bit to get the flash-all.bat to run. All files are included in the downloads. Top download is preview image. Bottom is to go back to stock.
https://developer.android.com/wear/preview/downloads.html
Click to expand...
Click to collapse
The downloadable files there are .tgz and do not include any .bats or .zips (I tried opening with 7-Zip).
cerisu said:
I used stock download for flashing and ewerything goes just fine. Just extract all packages in same folder. But if you are interested use this link http://rootjunkysdl.com/files/?dir=Huawei Watch/Firmware. There is all revisions.
Click to expand...
Click to collapse
Thanks, I'll try that page :good:
Edit: Thanks @cerisu, the downloads on rootjunkysdl.com included the files I needed I wonder why they're not on the official Android development page...?
submin_ said:
The downloadable files there are .tgz and do not include any .bats or .zips (I tried opening with 7-Zip).
Click to expand...
Click to collapse
You have to extract .tgz file too. And all files has to be in same folder beore flashing.
Android Wear 2 Developer Preview 3- LGUrbane Watch 2
cerisu said:
You have to extract .tgz file too. And all files has to be in same folder beore flashing.
Click to expand...
Click to collapse
Personally, I would be grateful if someone can provide me with the set of documents already downloaded and extracted; and, if I am not asking too much, to please give me a dumbman's procedure to get the Wear 2 software to work on my watch.
Having to now wait until early 2017 will surely drive me crazy!
I had 50pc japan version of s5(sc-04f), installed rom 'G900F.STOCK.FOR.SCL23.FULL.MINHQUAN'. The downside of this rom is that its pre-rooted. I managed to unroot it by goin in supersu & click 'full-unroot'. But i had multiple devices to flash, so is there a way for me to re-pack this firmware again after i unroot it? So that i could flash it to my other devices without root.
wee2000 said:
I had 50pc japan version of s5(sc-04f), installed rom 'G900F.STOCK.FOR.SCL23.FULL.MINHQUAN'. The downside of this rom is that its pre-rooted. I managed to unroot it by goin in supersu & click 'full-unroot'. But i had multiple devices to flash, so is there a way for me to re-pack this firmware again after i unroot it? So that i could flash it to my other devices without root.
Click to expand...
Click to collapse
Your best bet is to post this question within the following Q&A thread that's specific to your device.
https://forum.xda-developers.com/showthread.php?t=2700073
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
ok done, thx 4 the info
just in case if i missed the reply there, hope someone could reply me here?
when i extract the ZIP file, i got
METE-INF folder
boot.img
system.img
just in case if i missed the reply there, hope someone could reply me here?
when i extract the ZIP file, i got
METE-INF folder
boot.img
system.img
wee2000 said:
just in case if i missed the reply there, hope someone could reply me here?
when i extract the ZIP file, i got
METE-INF folder
boot.img
system.img
Click to expand...
Click to collapse
Should we search for this firmware or you can provide a link to its thread?
the link is here : https://choimobile.vn/threads/6-0-1-scl23-stock-rom-g900f-full-port-v3-by-huaminhquan93.37412/
wee2000 said:
the link is here : https://choimobile.vn/threads/6-0-1-scl23-stock-rom-g900f-full-port-v3-by-huaminhquan93.37412/
Click to expand...
Click to collapse
Generally, if it's 6.0.1 and rooted systemlessly, you need to replace boot.img with a stock one and remove SuperSU app from system.img.
This ROM intended to be flashed from TWRP, so it's an ext4 image.
You can mount it to a linux system on your PC and remove anything you want.
I havent done anything like this before. Could u give me some links or guides? My PC is running Windows 10.
wee2000 said:
I havent done anything like this before. Could u give me some links or guides? My PC is running Windows 10.
Click to expand...
Click to collapse
Ok, here' a simpler way:
1. Make changes on one phone.
2. Make a TWRP backup of boot and system partitions.
3. Restore this backup on other phones. They must have TWRP installed, a 6.0.1 bootloader and modem.
You'll have to rename backup's folder path and to wipe cache/data/system before restore.
can i use winrar to extract & compile the rom, without linux? So that i will have a much faster flashing process for all other units..
wee2000 said:
can i use winrar to extract & compile the rom, without linux? So that i will have a much faster flashing process for all other units..
Click to expand...
Click to collapse
Ok, I've managed to download that ROM at last.
The things look even simpler.
To prepare an "unrooted" ROM:
1. Download the zip form this post and unpack updater-script somewhere.
2. Make a copy of V3.G900F.STOCK.FOR.SCL23.FULL.MINHQUAN.zip, open it with Windows Explorer and replace V3.G900F.STOCK.FOR.SCL23.FULL.MINHQUAN.zip\META-INF\com\google\android\updater-script with the file you've unpacked from the attachment.
3. Try to flash ans see if it's what you need.
thx so much, already passed all units to the buyer. ill try that on next batch restock, may iknow if there's a way to get the service menu shortcode *#0*# to work again? This rom doesn't has the service menu.
bbsc said:
Ok, I've managed to download that ROM at last.
The things look even simpler.
To prepare an "unrooted" ROM:
1. Download the zip form this post and unpack updater-script somewhere.
2. Make a copy of V3.G900F.STOCK.FOR.SCL23.FULL.MINHQUAN.zip, open it with Windows Explorer and replace V3.G900F.STOCK.FOR.SCL23.FULL.MINHQUAN.zip\META-INF\com\google\android\updater-script with the file you've unpacked from the attachment.
3. Try to flash ans see if it's what you need.
Click to expand...
Click to collapse
I've replaced the updater-script in the zip file, but supersu is still there