Comments on: My adventures with Android (I) https://blog.ciberterminal.net/2012/10/26/my-adventures-with-android-i/ Welcome, connect your terminal Mon, 15 Jul 2019 09:25:15 +0000 hourly 1 https://wordpress.org/?v=6.8.1 By: Pradeep https://blog.ciberterminal.net/2012/10/26/my-adventures-with-android-i/comment-page-1/#comment-5496 Mon, 03 Aug 2015 18:04:20 +0000 http://blog.ciberterminal.net/?p=757#comment-5496 I successfully compiled kernel 3.10.33 and got the uImage.But when i try to make ota package in android 5.0 , i end up with below error.

make: *** No rule to make target `out/target/product/f06ref848L/kernel’, needed by `out/target/product/f06ref848L/boot.img’. Stop.

If i build normally , it is creating system.img .But not able to create otapackage. :(
Any help will be really appreciated .

]]>
By: dodger https://blog.ciberterminal.net/2012/10/26/my-adventures-with-android-i/comment-page-1/#comment-446 Wed, 07 Nov 2012 20:47:38 +0000 http://blog.ciberterminal.net/?p=757#comment-446 I’m not sure you’re building the correct driver, reading a bit, axp seems to be the chipset of the fire/aurora which controls the “power” (i suppose the electrical power cause there are settings inside the headers talking about mW).
btw, I see the rest of the kernel driver is there, on the ainol huge tar, so maybe you must create by your own the config for the driver, normally that is not a good idea xD but I can’t locate that file over internet… there’s a reference on a pastebin (again) talking about that file and a git, but anything else…
did you sink the hole android opensource source??? (or CM9)

If you have successfully built the rom, can you try to use it on the emulator?? Just to see if it works, cause I also want to modify some startup scripts but I couldn’t re-pack the ramdisk file so it works either on real hard & qemu…

]]>
By: DudeOfX https://blog.ciberterminal.net/2012/10/26/my-adventures-with-android-i/comment-page-1/#comment-443 Wed, 07 Nov 2012 15:25:51 +0000 http://blog.ciberterminal.net/?p=757#comment-443 that helped but now it gives me the following error

arch/arm/mach-meson3/board-m3-reff08.c:58:62: fatal error: ../../../drivers/amlogic/power/axp_power/axp-cfg.h: No such file or directory
compilation terminated.
make[1]: *** [arch/arm/mach-meson3/board-m3-reff08.o] Error 1
make: *** [arch/arm/mach-meson3] Error 2

— just to note I am currently trying to compile the whole ROM again, cause I managed to compile the Open WebOS for desktop using machine with only a single core with 1GB of RAM — It took it 5 long hours but it did it.

]]>
By: dodger https://blog.ciberterminal.net/2012/10/26/my-adventures-with-android-i/comment-page-1/#comment-441 Wed, 07 Nov 2012 09:10:57 +0000 http://blog.ciberterminal.net/?p=757#comment-441 You must define the kernel “version” you’re building,
Check if the file: include/config/kernel.release
Exists, it shouldn’t exists, what I did was simply:

echo "3.0.8-dudeofx" > include/config/kernel.release

I append my own version (release) of the kernel instead of yours.
I don’t know if later failures comes from that…

Talking about the make version, don’t know… I just took the config from tornados and modify as my own needings… that SHOULD work but it doesn’t (my kernel does not boot either on emulator or tornados…)

]]>
By: DudeOfX https://blog.ciberterminal.net/2012/10/26/my-adventures-with-android-i/comment-page-1/#comment-437 Wed, 07 Nov 2012 01:21:07 +0000 http://blog.ciberterminal.net/?p=757#comment-437 I played with the sources a bitmore, tried to compile the kernel, to add to your guide I found out that when you type

make help

it lists out the available target configurations, so you don’t have to copy and apply config.gz, I believe “meson_reff08_defconfig” is the default config for the tornado, so if you type

make meson_reff08_defconfig

it applies the configuration. Anyways, I ran into a speed bump, I got a 2GB laptop with 2 cores. maybe its my limited hardware but maybe you can help. when I try to compile just the kernel I get:

make: *** No rule to make target `include/config/kernel.release’, needed by `prepare3′. Stop.

whatup with that?

]]>
By: dodger https://blog.ciberterminal.net/2012/10/26/my-adventures-with-android-i/comment-page-1/#comment-425 Sun, 04 Nov 2012 10:33:11 +0000 http://blog.ciberterminal.net/?p=757#comment-425 Sure,
The problem is that for any reason the Makefile script calls subversion expecting a supposed version of the mali code, that return an undeclared variable, that’s the reason of seeing that ‘directory “:’ or ‘directory :’ values that are empty.
What I did was manually apply the patch of the irc people and it works.
If you see, what they simply do is simply is modify the variable:
DEFINES += -DSVN_REV=$(SVN_REV)
And transform it into a constant:
DEFINES += -DSVN_REV_STRING=0000
that in every variable which make use of the command “$(SVN_REV)”.
You have the files patches here:
http://blog.ciberterminal.net/others/mali_patched.tar.bz2
You only need to download and replace the original “kernel/drivers/amlogic/mali” folder with the one inside that tarball.

]]>
By: Chris https://blog.ciberterminal.net/2012/10/26/my-adventures-with-android-i/comment-page-1/#comment-423 Sun, 04 Nov 2012 03:34:33 +0000 http://blog.ciberterminal.net/?p=757#comment-423 Could you go into detail about what exactly you patched in mali_kernel_core.c? I’m having this exact same problem and could not figure out how the diff mentioned in the IRC conversation has any changes to any files that resolves this issue.

http://pastebin.com/baNLHQJX

]]>
By: dodger https://blog.ciberterminal.net/2012/10/26/my-adventures-with-android-i/comment-page-1/#comment-418 Fri, 02 Nov 2012 10:08:40 +0000 http://blog.ciberterminal.net/?p=757#comment-418 I’m not using the google sources, I’m using the Ainol one’s, the big package they provide in their forums, so I don’t sync anything, just patch their bugs.
Which error do you get?

You’ve the correct distro, as source.android.com says they use ubuntu 10.04 for building…
The 1st you must look for is the python & make versions: you must have Python 2.6.x as the primary python version (any actual distro will have python 3.x) and make 3.81 (actually 3.82).

]]>
By: DudeOfX https://blog.ciberterminal.net/2012/10/26/my-adventures-with-android-i/comment-page-1/#comment-414 Fri, 02 Nov 2012 00:01:08 +0000 http://blog.ciberterminal.net/?p=757#comment-414 hey, which distro are you using? after the repo sync I got other errors. Do I have to install Ubuntu 10.04?

]]>
By: DudeOfX https://blog.ciberterminal.net/2012/10/26/my-adventures-with-android-i/comment-page-1/#comment-412 Thu, 01 Nov 2012 22:28:14 +0000 http://blog.ciberterminal.net/?p=757#comment-412 I am trying to complie the r06ref-user — I get errors — when I looked them up on google, they said its all fixed on the master copy and to do a repo sync, and so thats what I am doing, freaking thing also takes a long time also, syncing 5 million lines of code as claimed, its also eating diskspace like crazy, it already ate 4GB on top of the original 5GB — I am running out of diskspace actually…

]]>