Ok so on my adventure of overclocking the Eris i have ran into a bit of an issue.
I started with making a nandroid backup of my phone. this gives you system.img, boot.img, and data.img. I have successfully extracted everything from the image files except for one thing...the kernel.
I have taken the boot.img and split it up into the ramdisk and kernel and sorted through the garbage to get working directories and file structures.
I now have the ramdisk in a editable format but the /sys files are created from the kernel on boot and those are the ones i need to edit.
I have the kernel file on my computer, isolated, but i do not know where to begin on decrypting this jumbled mess. As far as i know it isnt compressed as i cant find magic numbers in the headers but this has baffled me.
Any devs out there wanna shed some light as i dont know much about android and i just started this yesterday.
Wait for HTC to give us the kernel source code
That would work if i had some patience. Any idea when we could get the source?
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 am using Android Image Kitchen from this thread, and I don't understand what I'm doing.
Basically, what I'm trying to accomplish, is editing this ROM so that it is compatible with my sm-G386W (ROM is for the sm-G386T). The recents fix doesn't work on my phone (security settings still crashes), so I got the keymaster files from my old ROM on my phone (kitkat), and pasted them after I flashed the new ROM, all using FX File Explorer. Fixed the recents issue perfectly.
So now I want to edit the CM 12.1 ROM to put the keymaster files right on there, and that is where I get lost.
I am able to successfully unpack the boot.img that I got from the flashable zip for the CM 12.1 ROM, but when I go to \ramdisk\system, the system folder is blank. Where in the world can I find system\vendor\firmware\keymaster and the keymaster files so I can replace them?
Like I said, I'm new, so I'm sure I'm missing something obvious. If someone can point me in the right direction on how to properly edit a custom ROM, that would be great!
Problem Solved. I use MTK THAI Development Tools unpacker/packer. Can be downloaded directly here.
I've been studying how to build my own LineageOS or AospExtended, but one thing always bothers me: every guide that explains the need of extracting blob files tell to extract them from an official nightly zip or from a repository called "TheMuppets" (https://github.com/TheMuppets/proprietary_vendor_motorola/tree/cm-14.1/athene).
The question is: where do these blobs came from in the first place? Where were they compiled (like libxml.so)? The Nougat stock rom doesn't have all the blobs presented in proprietary-files.txt, so I can't just export them from a stock image extracted using TWRP, since a bunch of .so are still missing. How can I compile all .so not available at the stock rom or where are the official channels for obtaining the blobs?
I see a few roms asking to update to the latest vendor and I have no idea where to find a file I can install through TWRP and no idea what to look for. Can someone help me out a bit? I've been looking on Google and fell on a few pages where I get a bunch of GitHub packages with no install instructions with a list of a bunch of sh, mk and other files.