Skip to main content

Posts

Showing posts with the label android

My Android file sharing site

I applied this account long time ago, and many of my ROM and kernel builds were uploaded here. For a developer like me, this site is simple and allow the developer to receive donation from the users. However I feel demotivated since nobody.. yes NOBODY donates a single cent.. say for the kernel build. For the ROM. I don't really bother since I didn't code them from scratch.. just compile it. But for kernel, most of them were tested rigorously to ensure it's stable before being uploaded. Anyway.. just refer my works here

Building Android Cross Compiler with Crosstool-ng

In order for you to rebuilt a kernel (or even a ROM) for Android from your laptop, you need a cross compiler to do that. For Android ecosystem there are several popular cross compilers that being used: Android NDK Android Toolchain (which I believe a subset of the NDK) Linaro customized cross compiler  Self-made cross compiled built by using crosstool-ng You do it yourself (but I never succeed this one) I currently use crosstool-ng cross compiler "cooking tool" as it has several features; You can save a stage for the built process. For example, I just got my laptop shutdown automatically (perhaps due to CPU overheating.. never shut it down for approx due days).. and since I chose the option for saving the compile state, the process just can be restarted at the previous stage: Just use the build.log and parse the related info najmi@vostro:~/toolchain/build-cng$ cat build.log |grep "Saving state" [EXTRA]  Saving state to restart at step ...