[Folio 100 Android Development] Jon2555:
SPECIAL THANKS GOES TO DEXTER AND DERARTEM BECAUSE MAIN ROM BASE IS DEXTER'S HONEYCOMB ROM AS WELL AS SOME FILES FROM FOLIOMOD AND CYANOGEMOD

Other communities have their ICS thread and our should have it:p

I've been trying to port ICS SDK to Folio 100 but logcat just turn off without any message and when I try to execute some commands from adb shell I get 'segmetation fault' and tablet reboots itself. It's something with boot.img. I'll upload ramdisk from kernel that I am using in port.

Can't upload on Github because on last step it wants password that I don't know. It should be letters and numbers from id_rsa file, right? Anyway, here is recovery flashable package:

Recovery package ==> Tried several times to upload but every uploading is followed by some error:o

Ramdisk ==> ICS_boot.img(just added lines from Siulmagic ICS porting guide)

First mission:D: Gettin' to adb to be able to use logcat :::: cleared ::::

Possible fix: Try to get any log like this from fastboot with this:

fastboot -c "root=/dev/mmcblk3p1 rootdelay=15 rw mem=448M@0M nvmem=64M@448M vmalloc=192M video=tegrafb console=tty0,115200n8 fbcon=rotate:1 fbcon=font:VGA8x8 usbcore.old_scheme_first=1 debug" boot ICS_boot.img

Consequences: Debug log says that partition table can't be find and that it will reboot for 10sec but after that it show |r4:ffffff| and nothing.

Problem might be that data/cache/system partition is ext4 but it shouldn't be problem.

EDIT: I got a log thanks to Kervala:D

Now I have to change some lib files due to installd error.

Log file from logcat ==> logcat.txt

Second mission: Find solution for:

:::: cleared ::::

Might permission have to be changed? Libcutils.so is already included.

EDIT: Changed with one from Honeycomb

Mission three: AKMD service is started and nothing...

EDIT: If I kill it or delete it from init.rc I get same for debbugerd:

EDIT2: I'll try to change all *utils.so files because they're probably linked with kernel.

EDIT3: With some commands I get error:

as well as this:

EDIT4: Only for linker I get 'segmetation fault' and logcat log:

Tried from CM7, HC and FM with no luck and also deleted linker from /sbin.

EDIT5:I found list of prelinked library files here. I'll change all core library files but I have logcat that says what library files are wrong:

and it says that it is libc.so(red). Also says that problem is in kernel(green) too :

EDIT6: Try with CM7 as a base but I get:

Included sh in bin directory(had that error in with HC too but I forgot what I did:o)

EDIT7: Problem might be that partitions are ext4 as well as images. I didin't set that in init.rc :::: cleared ::::

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I'm beginner that have been trying to port some roms to Folio and I learned something from that. Bin and lib files were the biggest problem for me till 2 days ago. I realized that ALL have some connections. Kernel is booting system with some files from bin folder that can be checked in init.rc inside ramdisk from system partition that are controlling system via lib files that exchange information with kernel that have hardware drivers. I looked into SDK dump and Nexus Galaxy dump and found that have to be changed with files from ICS(checked in other ICS ports just in case). Tegra board have some special files that have to be included too. There are other files that I don't know what is their main function and also some executable files that are same on every rom.

In xbin folder I added all files from SDK dump and all exutable files from CyanogenMod dump.

Just copied all apps from Galaxy Nexus although I know that some of them might not work because GN is hdpi and Folio is mdpi device and SDK apps aren't odexed. I only changed SystemUI.apk by adding mdpi folders from SDK dump SystemUI.apk.

I changed whole media folder as well as fonts and just changed resolution in bootanimation.

In framework folder I deleted apache-xml.jar file because I don't know what that do and added mdpi files to framework-res.apk just like in SystemUI.apk because I used NG files that are odexed and it's hdmi.

In etc I didn't do anything special-just added some files.

I used FolioMod files for usr folder and added some new files from NG dump-keymapping for external devices like game pads and bluetooth keybord but don't have drivers in kernel:(

In vendor I leave only some files from face detection.

I finished lib directory quickly because I was tired, just changed graphics, sensors, bluetooth and tegra files.

Leave tts folder, added all executable files CM7 xbin folder and added other files from SDK dump.

That's it! If you have some suggests or solution for some problem from OP post it here please!!!