Quote:
Originally Posted by hacktrix2006
Next might be on hold for a bit sorry people but i have been looking at the following links.
Code:
https://github.com/MiCode/patchrom_tools/tree/gingerbread
https://github.com/MiCode/patchrom_miui/tree/gingerbread
https://github.com/MiCode/patchrom_build/tree/gingerbread
https://github.com/MiCode/patchrom/tree/gingerbread
https://github.com/MiCode/legacy-patchrom
https://github.com/MiCode/SoundRecorder
https://github.com/MiCode/Notes
https://github.com/MiCode/Compass
https://github.com/MiCode/FileExplorer
But mainly this page https://github.com/MiCode now if we can find a device within the logic of the Wildfire maybe it might just be easier to port proper.
The idea is to download the CM7 Devices HTC Buzz from source then using the above source to port to MIUI that way. It seems using two rom and porting via Zip is not good enough.
We know Wildfire can run MIUI Gingerbread and there is open sources which can be built from after porting it might even make translating and resizing even easier. So the question is what do you all think????
|
Hi,
About the micode thing, it uses a precompiled rom, as stated here:
https://github.com/MiCode/patchrom (README)
It basicly extracts from the rom what needs to be modded (using bak/smali, applying .patch to .smali files, and recompiling it)
They've released this pdf aswell, which details a bit better the whole process of patching, from finding a correct "suitable" rom to patch to how you should configure the makefile for building miui on this rom (IIRC, you've been dealing with issues patching Phone.apk, the pdf makes a relevant note about that (ps: remember phone.apk is NOT contacts.apk)
here :
https://github.com/MiCode/patchrom/b...er%20Guide.pdf (click "RAW" to get the file)
About finding the correct rom, since they've built most of their gingerbread miui BASED on CM, at least for the huawei honor and as we don't have a gingerbread official rom for our device, then it make sense (pun intended) we should base this rom on a CM 7.0 release (better than using 7.2, as the changes are mostly applications-sided between both source code)
Since we also knows they've used a CM rom for the Honor, using honor's makefile should be considered as the best choice, minor changes are to expect tho.
For the (upcoming) errors, I've seen a post about "correctly" using the miui micode stuff, you might want to copy not only the makefile, but the entire honor folder, and start putting the right files inside (honor folder includes a lot of pre-decompiled apk, including framework-res iirc)
(I'll take a look at finding this topic and edit this post to put the link)
Hopes this help
Ps: one last thing about your actual way of porting things, a lot of problems related to framework-res.apk could be solved by using a HTC Legend framework-res.apk pre-patched for MIUI instead of the one from X10; buzz FR-res.apk is closer to the legend one than the X10mini, should fix (not sure tho) bugs related to light sensors, torch, and other small things.