lundi 11 mai 2015

[Q] Samsung i9070 - Initramfs / bootloop topic


Hi, i'm currently trying to port CM-12.1 to the Samsung Galaxy S Advance i9070, aka janice, and have problems to make it boot, i think that the problem resides in the initramfs 2 stage system.

After syncing these repos, applied some patches (device/samsung/janice/patches) and maked bacon, i've got a flashable zip, but when i use it, device doesn't pass up from Samsung logo.

What i've analyzed and tried so far:
- From the flashable zip, i've extracted the boot.img, unpackaged it, and in there i found the initramfs + kernel, in the initramfs i see it's content is the same as in $OUT/root, is this the correct behavior?
- In "$OUT/obj/KERNEL_OBJ/usr" directory i found "initramfs_data.cpio". Inside this file i saw the "/stage1" folder, inside of it i found "recovery.cpio" and "boot.cpio", also the "init" script file (the one referenced in the "initramfs_list"). Now, "boot.cpio" have the same content as the initramfs inside flashable zip "initramfs.cpio", while recovery content is the same as "$OUT/recovery/root" dir.

I ve tried replacing this second "initramfs_data.cpio" from the other one in the zip, then repackage it and flash the zip, but the result is the same, have any tip of while can i do?

Also, where can i found some info of these Samsung image system?, i know it's not the same as others devices, but cannot found any good source of info.

For reference, these are de repos that i am using:

Code:


https://github.com/CPedrini/android_device_samsung_janice/tree/cm-12.1
https://github.com/CPedrini/android_device_samsung_u8500-common/tree/cm-12.1
https://github.com/CPedrini/android_hardware_u8500/tree/cm-12.1
https://github.com/CPedrini/android_vendor_samsung_u8500-common/tree/cm-12.1
https://github.com/CPedrini/Samsung_STE_Kernel


And these are the $OUT files on my private server (sorry but cannot post clickable links until ten post...):

Code:


$OUT/boot.img:
    https://www [dot] ciropedrini [dot] com [dot] ar/cm-12.1/boot.img 11,2 MB
    MD5 fc20ec598d707581735d233b5091c949

$OUT/kernel:
    https://www [dot] ciropedrini [dot] com [dot] ar/cm-12.1/kernel 11,2 MB
    MD5 fc20ec598d707581735d233b5091c949

$OUT/ramdisk.cpio:
    https://www [dot] ciropedrini [dot] com [dot] ar/cm-12.1/ramdisk.cpio 1,4 MB
    MD5 4575102b4614d0605802fb92e9ad78f3

$OUT/ramdisk.img:
    https://www [dot] ciropedrini [dot] com [dot] ar/cm-12.1/ramdisk.img 789,9 kB
    MD5 dc6ad5e763001b3bb6f3f4b4b940e70c

$OUT/ramdisk-recovery.cpio:
    https://www [dot] ciropedrini [dot] com [dot] ar/cm-12.1/ramdisk-recovery.cpio 5,0 MB
    MD5 26f24e535e985bee34382d71333ff76a

$OUT/ramdisk-recovery.img:
    https://www [dot] ciropedrini [dot] com [dot] ar/cm-12.1/ramdisk-recovery.img 3,3 MB
    MD5 fd7d965e9f55d926579a997ebfd2c736

$OUT/recovery.img:
    https://www [dot] ciropedrini [dot] com [dot] ar/cm-12.1/recovery.img 11,2 MB
    MD5 fc20ec598d707581735d233b5091c949

$OUT/cm-12.1-20150511-UNOFFICIAL-janice.zip:
    https://www [dot] ciropedrini [dot] com [dot] ar/cm-12.1/cm-12.1-20150511-UNOFFICIAL-janice.zip 244,7 MB
    MD5 75e57ae58d813658171d80cf278dfdc4

$OUT/obj/KERNEL_OBJ/usr/initramfs_data.cpio:
    https://www [dot] ciropedrini [dot] com [dot] ar/cm-12.1/initramfs_data.cpio 6,9 MB
    MD5 1c374a54af38651504a7929616e3023e


Greetings.-

xda-developers


  1. If some one wishes to be updated with most up-to-date technologies after that he must be visit this web
    page and be up to date all the time.

    RépondreSupprimer
  2. New and used forklift driving system Forklift training
    course will include the elements about what is internal mechanism.
    Grace's middle name is Windsor, but she was born Grace Windkloppel.
    Asking for references isn't something which an attorney can always do on account of attorney-client confidentiality but
    you might be able to ask for references as
    a result of other attorneys.

    RépondreSupprimer

Remarque : Seul un membre de ce blog est autorisé à enregistrer un commentaire.