[android-porting] Shrinked data partition

2014-03-28 Thread harsh panchal
I'm compiling AOSP jellybean (4.1.2_r2) build for my device (GT-i9070). I was able to boot it but i can notice that my data partition is only few MBs now (original size is 2GB). Rest of the partitions are ok. df command also shows 300 MB where as cat /proc/partitions shows size of mmcblk0p5

[android-porting] Porting AOSP to new device - Help needed

2014-03-28 Thread harsh panchal
Kernel is not that much important for bringing up newer android version. Some legacy devices still uses 2.x kernel for JB and higher. But still if you want to upgrade your kernel that apply incremental patches. For major difference in kernel version, grab kernel source from board manufacturer

[android-porting] What is implicit function declaration? Can i avoid it?

2013-03-11 Thread Harsh Panchal
I'm trying to port 3.0.x kernel for my device.I ported some board files and drivers then i tried to compile it then came 'error: implicit declaration of function 'pgprot_device''. i know that i can avoid this error by removing -Werror-implicit-function-declaration flag.But is it safe to do so?