Affichage des articles dont le libellé est zImage. Afficher tous les articles
Affichage des articles dont le libellé est zImage. Afficher tous les articles

mercredi 12 août 2015

How to quickly update the zImage of my phone



Hi
I am building different versions of zImage, and I need to be able to flash the phone with it so I can test my software. My question is what is the best and fastest way to do this please? Currently I only have USB2 on my workstation, so as far as I know fastboot is not an option. What I do now is to pack the zImage into a boot.img and tar that with other files from the stockrom and flash the whole thing with Odin. My requirements are:
1- I need to have the phone rooted; so for now I have to root the phone after every flash
2- I want nothing else to change but the zImage
3- I like to keep everything else the same; i.e. my personal data, text messages, call logs, etc.
I am going to USB3 capability very soon.



vendredi 31 juillet 2015

[Q] Trouble With Nexus 5 Kernel zImage



Haii guys!

So, i'm young "kernel developer".. I am actually not a coder, i just try to learn by making kernels and if they are stable enough i test them. So, till now i was working with Mako source - i had phone lg optimus g which i really close to mako and i based everything on Mako source.

Now i bought a new phone, Nexus 5. I am really satisfied by this phone on stock, but even more on custom ROM & Kernel.. But hey, it's me, i'm curious and i have to try to make stuff myself, so i choose to make my own kernel for Nexus 5.. More to learn than anything.

So, i started.. I forked this to my github and do some basic changes for me.. Just to start. I added graphite support and option to build with Linaro 4.9.4.. And i started to build. And it had some errors, so i also fixed them - fs/namespace.c error with 4.9 toolchains, so, i fixed it and it built with no trouble.

So, i was coming from world of Mako and took zImage, made a flashable zip with AnyKernel and flashed it.. And i was stuck at google logo with unlock icon. I restored twrp backup of previous kernel and started over and it booted normally...

Then i did some research and found out that i should use zImage-dtb because Nexus 5 uses something named device tree blob.. So, i did everything from scratch.

I forked same source as before, and did my changes over it.. Renamed kernel, added kernel build script, made my slightly modified defconfig, this time i used toolchain LinaroMod 4.9 from here and some other stuff.. I built with no trouble, used zImage-dtb as zImage in flashable zip as i saw in other kernels and flashed.. I was sure it will boot this time, none of those modifications was supposed to break anything.. But again, I am stuck at Google logo.

Have any of you guys any idea where i missed? Maybe wrong source? Wrong toolchain?

Here are some maybe useful links:

My source: https://github.com/Matthew-333/BlueMoon
My Changes: https://github.com/Matthew-333/BlueMoon/commits/master
Toolchain: https://github.com/hyper-toolchains/...d-arm-eabi-4.9
AnyKernel Template: https://github.com/koush/AnyKernel

I am using xUbuntu 15.04 64 bit..

Thank you if anybody manage to help me with this...



[Q] Trouble With Nexus 5 Kernel zImage



Haii guys!

So, i'm young "kernel developer".. I am actually not a coder, i just try to learn by making kernels and if they are stable enough i test them. So, till now i was working with Mako source - i had phone lg optimus g which i really close to mako and i based everything on Mako source.

Now i bought a new phone, Nexus 5. I am really satisfied by this phone on stock, but even more on custom ROM & Kernel.. But hey, it's me, i'm curious and i have to try to make stuff myself, so i choose to make my own kernel for Nexus 5.. More to learn than anything.

So, i started.. I forked this to my github and do some basic changes for me.. Just to start. I added graphite support and option to build with Linaro 4.9.4.. And i started to build. And it had some errors, so i also fixed them - fs/namespace.c error with 4.9 toolchains, so, i fixed it and it built with no trouble.

So, i was coming from world of Mako and took zImage, made a flashable zip with AnyKernel and flashed it.. And i was stuck at google logo with unlock icon. I restored twrp backup of previous kernel and started over and it booted normally...

Then i did some research and found out that i should use zImage-dtb because Nexus 5 uses something named device tree blob.. So, i did everything from scratch.

I forked same source as before, and did my changes over it.. Renamed kernel, added kernel build script, made my slightly modified defconfig, this time i used toolchain LinaroMod 4.9 from here and some other stuff.. I built with no trouble, used zImage-dtb as zImage in flashable zip as i saw in other kernels and flashed.. I was sure it will boot this time, none of those modifications was supposed to break anything.. But again, I am stuck at Google logo.

Have any of you guys any idea where i missed? Maybe wrong source? Wrong toolchain?

Here are some maybe useful links:

My source: https://github.com/Matthew-333/BlueMoon
My Changes: https://github.com/Matthew-333/BlueMoon/commits/master
Toolchain: https://github.com/hyper-toolchains/...d-arm-eabi-4.9
AnyKernel Template: https://github.com/koush/AnyKernel

I am using xUbuntu 15.04 64 bit..

Thank you if anybody manage to help me with this...