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
Related
This was featured on the XDA Homepage a few days ago, but the developer just confirmed that it should work for any flashable zip, and *should* work on any phone.
Thought I would give the heads up here.
Could fix random Force Closes/Bootloops that people get even when they had wiped multiple times before flashing a new ROM.
Original Thread: http://forum.xda-developers.com/showthread.php?t=765989
Edit: See post 3 in this thread for my results.
This should save a few headaches, but I think most issues are caused with people not wiping....this wont be able to fix that.
Well, I finally put this utility to the test and here are my results.
Wiped Data/Cache/Dalvik, flashed BakedSnack 1.6 and immediately ran FixFlash. Here's my output:
Code:
E:\aEVO\android-sdk-windows\tools>adb shell sh /sdcard/FixFlash.sh
* daemon not running. starting it now *
* daemon started successfully *
FixFlash - Flash Verify and Repair Tool by SavvyX4
Gathering verification data...
Mounting phone file systems...
Extracting file information from flash log...
Verifying file integrity...
Hash mismatches detected: 13
Bad files...
/system/app/EPST.apk
/system/app/HTC_IME.apk
/system/app/IQRD.apk
/system/app/PCSCII.apk
/system/app/RSS.apk
/system/customize/CID/cidProfile1.xml
/system/customize/CID/cidProfile2.xml
/system/customize/CID/default.xml
/system/customize/COMMON.xml
/system/customize/MNS/default.xml
/system/etc/TPA2018.csv
/system/etc/WPDB.zip
/system/usr/keylayout/AVRCP.kl
Replacing bad files...
Verifying replacement file integrity...
All hash mismatches repaired!
So, it definitely does work for the Evo.
nice find... i'm sure my phone could use this!!
Are you a Cyclops?
Philosuffer said:
In my eye, it is a must use tool now.
Click to expand...
Click to collapse
Awesome tool btw, thanx for posting this!
ok I dont understand this
3. Copy both the original .zip file and the extracted folder of the .zip to the root of your sdcard
???? what is the extracted folder? theres multiple folders inside a rom zip?
rjmjr69 said:
ok I dont understand this
3. Copy both the original .zip file and the extracted folder of the .zip to the root of your sdcard
???? what is the extracted folder? theres multiple folders inside a rom zip?
Click to expand...
Click to collapse
Say your rom is BakedSnack1.6.zip, extract the contents to a folder called BakedSnack1.6 and place that folder on the root of your sdcard.
Make sense? Not sure how else to explain it.
To avoid filling the forum with question i'm just going to create this thread and ask all my questions here.
I finally rooted my nexus 7 on my mac and now am hoping to install a USB ROM, i couldnt post a link but it seems to be most popular for in car installs.
I downloaded the file and compressed it to a .zip file then tossed it onto the android. Next i booted into clockwork recovery the selected install zip from sd card>Choose zip from sd card> 0/>cm-10.zip>yes - install cm-10.zip
After this the tablet says
Finding update package...
opening update package...
installing update...
installation aborted...
Can anyone help me and/or tell me what i'm doing wrong? all help is appreciated. Thankyou
Mperkins92 said:
To avoid filling the forum with question i'm just going to create this thread and ask all my questions here.
Click to expand...
Click to collapse
A more acceptable procedure is to find - via SEARCHING - closely related threads first, and post your questions in those threads. That demonstrates to people that you've actually tried to help yourself by searching. If you actually have something unique to say, in that circumstance you start a new thread.
"Help me install a ROM" is not a new idea here on XDA, whether you have a problem with it or not.
Mperkins92 said:
I downloaded the file and compressed it to a .zip file
Click to expand...
Click to collapse
It's already a .zip file to begin with when you download it. Is your Mac uncompressing it automatically when you download it?
If so, use something other means (not Safari?) to download it. FTP. Wget. Firefox for Mac.
Then, if the ROM developer publishes rom file MD5 signatures, validate that you can compute the same checksum on the file downloaded to your computer.
If you then subsequently copy it to something else (such as the tablet), check the file length and/or the MD5 signature of the copied file as well.
Was there not some additional message on the screen besides "installation aborted"? Details are important.
The most probable guess at the moment (from your narrative) is that you borked the download and/or did something else that made the custom recovery unhappy.
BTW, when you install a new ROM for the first time, you generally:
(a) make a full Nandroid backup first (using the custom recovery)
(b) perform a "factory reset" in the custom recovery,
(c) flash of the ROM file.
Attempting the last step without the first two is just begging for trouble.
good luck
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.
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
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