yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Android Development] diego-ch:
Good. Send a pm to cocafe. He's the one working on that right now. He can keep you updated.

I'm busy until wednesday.
[Galaxy S Advance I9070 Android Development] Sami Kabir:
Dude thanks a lot!! So out of this which is the BEST.. Is it JetMod... Oh yeah BTW if I install it now.. Will I get the official Jelly Bean update from Google later on...??
[Galaxy S Advance I9070 Android Development] Adi_Pat:
Count me in too :)

I love working for low activity devices.

I will post my kernel in the coming few days .. feel lots can be improved in the present kernel source code! Need tah remove some nonsense samsung code too..

cheers :)
[Galaxy S Advance I9070 Android Development] xCode195:
Well JetMod has the most features :D ... And you shouldnt have any problems upgrading to JB when its released.
[Galaxy S Advance I9070 Android Development] mykimouse:
Can we really compare JetMod(gb) to CM9(ics)/CM10(jb). I thought JetMod is alternative to CM7(gb) !!

:confused:
[Galaxy S Advance I9070 Android Development] xCode195:
You obviously cant but until we get cm this one is the best...
[Galaxy S Advance I9070 Android Development] pixdev:
Guys, I've said this before but we're still up at RA-Mod.com and we have a dedicated forum for the I9070 that's not being used... We can have separate sections for Q&A and development :)

Also, now we have TWRP for recovery is anybody interested in Firefox OS?
[Galaxy S Advance I9070 Android Development] Adi_Pat:
I think thats not priority ATM.

Also, I have compiled from Sammy Sources,

my Kernel: http://www.datafilehost.com/download-3f59c613.html (Using TWRP Ramdisk)

*Only if you are experienced, proceed to test*

Report back to me.

If it boots, I will make my Titanium Kernel thread..

Cheers.
[Galaxy S Advance I9070 Android Development] zaid98:
Guys try this

http://xdaforums.com/showthread.php?t=1908269
[Galaxy S Advance I9070 Android Development] diego-ch:
I've just tested it.

No luck. Your kernel has the j4fs issue.

The partition doesnt mount. So either you get stuck booting only in recovery or only in system.

Could you help us fix the j4fs code? So far we use the stock module because the one built from source doesnt work.

Did you change any i/o scheduler? so far we're aware that bfq scheduler code breaks the stock j4fs driver.
[Galaxy S Advance I9070 Android Development] Adi_Pat:
I built j4fs from source. Gimme a while, I'll use the stock Driver and recompile.

Samsung has done pretty neat **** ups in the source.

Lots of stuff broken.

Will PM you my next kernel..

EDIT: I didn't change anything in the source yet. Only merged j4fs source code.
[Galaxy S Advance I9070 Android Development] cocafe:
I also get troubles with J4FS.

The stock J4FS works on the kernel which hasnt been modified.

But you have changed something in kernel source, stock J4FS will be broken.That means you cannot modify the kernel now.

I sent an email to samsung , but it jusk like i threw a stone into the Pacific Ocean.
[Galaxy S Advance I9070 Android Development] Adi_Pat:
Can we get any logs or such? Some more info about the stock j4fs module? If yes, you guys will have to give it to me.. I will try to fix it up in the source and recompile.

And you mean nobody has been able to boot a Kernel compiled from source?

On another note,

I recompiled and kept stock J4FS driver.

Please test it someone.|

DOWNLOAD
[Galaxy S Advance I9070 Android Development] diego-ch:
I'll try it now and I'll send you the logs.

--- update

this one has j4fs working...

$ mount | grep mmc
/dev/block/mmcblk0p3 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p2 /modemfs ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p4 /cache ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p7 /efs ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p5 /data ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p1 /mnt/.lfs j4fs rw,relatime 0 0

but all other modules aren't working, so wifi doesnt work:

lsmod output shows only the j4fs module

$ lsmod
j4fs 69850 1 - Live 0xbf000000 (P)

when it should have more modules loaded.

here's dmesg error on modules:

<4>[ 10.476715] param: no symbol version for module_layout
<4>[ 10.477264] bthid: no symbol version for module_layout
<4>[ 10.481781] cifs: no symbol version for module_layout
<4>[ 10.487365] dhd: no symbol version for module_layout
<4>[ 10.488464] bthid: no symbol version for module_layout
<4>[ 10.488922] scsi_wait_scan: no symbol version for module_layout

I managed to fix this by using my build script,

first you have to build the kernel using only 'make'

and then you have to use 'make zImage' for the modules to work properly.

here's full dmesg log for you: http://pastebin.com/7BzAxd72
[Galaxy S Advance I9070 Android Development] cocafe:
Without J4FS, the phone still can boot. :)

My kernel is without J4FS now, it works well, instead of some reboot issues( caused by J4FS ). :)

J4FS is a driver of a filesystem which can communicate with bootloader.

BTW, i am so busy this week. I was planning to use hex editor to edit stock j4fs.ko to match my kernel.But it seems hopeless. :(

Hope you can help us work out this problem. :)
[Galaxy S Advance I9070 Android Development] Adi_Pat:
Will go through the logs carefully! Haven't set up a build script yet, which I will do, will upload my sources to github.

Possible reason for that could be because I stripped all the other modules for size except j4fs.

The Kernel boots now, thats progress. Next step should be getting j4fs compiled from source to work.
[Galaxy S Advance I9070 Android Development] qzem:
How do I read or unpack this image after saving it? I've tried with command:

sudo mount -o loop image1.img ~ /kernel

but I got this message:

mount: you must specify the filesystem type
[Galaxy S Advance I9070 Android Development] kilsmap:
I'm not quite sure.. But I don't think it can be unpacked with ext4-utils.. Maybe its the same with boot.img, need a different way to unpack 'em.. Me myself have yet to see what's inside..
[Galaxy S Advance I9070 Android Development] qzem:
I've tried to dump rom with this tool. But I always get Segmentation fault. Is there any other way to do this. Ohw one more thing what do I have to do to be able to use adb remount. I always get remount failed: operation not permitted
[Galaxy S Advance I9070 Android Development] kilsmap:
Hmm.. Maybe the tool is not compatible with Samsung ROMs.. Did you run remount as superuser?
[Galaxy S Advance I9070 Android Development] qzem:
About adb remount, I've learned now that kernel needs init.d support and apparently stock kernel doesn't have one. So we must implement it in the custom kernel.
[Galaxy S Advance I9070 Android Development] kilsmap:
Really? I didn't know that.. But I thought I saw some thread here, scripts to enable init.d support.. But maybe if we wait for mb-14, he could explain for us how to extract the img..
[Galaxy S Advance I9070 Android Development] xanonus:
BTW, init.d support is not a feature of the kernel itself, but of userland software. In our case it seems that the initramfs need to be patched (which is included in the kernel image) and busybox needs to be installed.

Usually, you can do "adb remount" by hand. In our case it should work with (not tested):

$ adb shell
$ su
# mount -t ext4 /dev/block/mmcblk0p3 /system -o rw,remount

You need to be root (# prompt) to call the mount command.

PS: If someone can publish the recovery image, I could try to extract it, too...
[Galaxy S Advance I9070 Android Development] qzem:
Thanks for this, I've found a way how to add initd support into kernel (here). Kilmaps has pasted some image one page back, that might be a recovery image. But I am not sure, how to find out on which block the recovery is located...
[Galaxy S Advance I9070 Android Development] qzem:
I've try to add initd support, but when flashing such kernel my phone starts to bootloop.
[Galaxy S Advance I9070 Android Development] qzem:
I have discovered some file that might give us some more information for the recovery it is called recovey.fstab and it is located in folder /res. It is in the attachment below. F*** Samsung has really tried to hide the block where recovery is stored I still didn't figured out where it is, and how to edit it when I find it :/.
[Galaxy S Advance I9070 Android Development] montersgps:
:confused:
[Galaxy S Advance I9070 Android Development] sknight13602:
It was in your kernels res folder?
[Galaxy S Advance I9070 Android Development] qzem:
I found this on my phone in /res folder. But I still don't know on wich block is recovery located.
[Galaxy S Advance I9070 Android Development] qzem:
Bricked phone

I've been trying to reset Custom binary counter, and the thing didn't work out. Actually it went very bad, I have hard bricked my phone, can't turn it on any more, so there is no way to get into download mode. Now I can't experiment until I my phone is repaired. I hope others will try to make some progress, especially regarding custom recovery. I will be back as soon as possible.

Good luck!
[Galaxy S Advance I9070 Android Development] jhnjrdan:
Wow, so much development in a little space of time. You guys are doing great. I wish I could help, I'm thinking about buying this new Galaxy S Advance, and I'm so supporting you guys.
[Galaxy S Advance I9070 Android Development] xanonus:
Could you describe in few words what you did exactly/what went wrong to prevent other from doing the same? I hope that you will get your phone soon back!

A simple/cheap usb-jig puts other Samsung smartpones into download mode even if they are soft-bricked. I would be interested if this method works for the I9070, too.

In old days, the custom binary counter could be set to zero using the same usb-jig, but I expect that Samsung has disabled this "feature" on I9070.
[Galaxy S Advance I9070 Android Development] qzem:
Well I have this original firmware from Samsung, which includes a bunch of bin and img files, much more that the firmware from sammobile.com. I thought that this firmware also reset binary counter, when flashing it since they use this on new phones. So thought to myself there must have been some seperate image that includes bootloader, which rewrite the counter. So there is image called STE_boot.bin.md5. I've packed this image into seperate tar file, and flash it trough Odin, as PDA. Everything looked ok, flash was succesfull, no error or something like that, then the phone should reboot, but it didn't turn back on any more. And nothing helped. I took out battery I've pressed all possible button combination, nothing. I hope I will get it back soon. I must get this usb jig some day if it happens again :D.
[Galaxy S Advance I9070 Android Development] mikael92:
Hope you solve your problem, i'm brazilian user and I am already grateful for your work.
[Galaxy S Advance I9070 Android Development] kilsmap:
oh man..what happened? bad luck there, hope your phone will be resurrected soon.. regarding custom recovery, I think we are still waiting for response from mb-14...
[Galaxy S Advance I9070 Android Development] foxity:
qzem, any news on the brick you have reversed your device?

Folks, let's keep this topic active, anyway, who is a developer and want to help the port of CyanogenMod 9, feel free to leave your knowledge here.

Let's make this thread grow and perhaps become a official session.

Sorry for my english by google translator.
[Galaxy S Advance I9070 Android Development] diego-ch:
The kernel partition has 16mb size.

So far the biggest one I got to boot was 9mb
[Galaxy S Advance I9070 Android Development] Adi_Pat:
Anything above that boots? Smaller the zImage (excluding ramdisk) faster the Kernel.
[Galaxy S Advance I9070 Android Development] diego-ch:
I did not try anything above 9mb
[Galaxy S Advance I9070 Android Development] Adi_Pat:
Do you strip modules? I do them, they just strip off unneeded symbols and make them lighter, I wonder if that would work with J4FS.
[Galaxy S Advance I9070 Android Development] Adi_Pat:
Here, test this and tell me if all modules work.

Also, pushed my sources to github.

If all is well with this build I shall make my own thread and work on the Kernel.

http://d-h.st/ecW
[Galaxy S Advance I9070 Android Development] JanEkel:
Tutorial

There is already an aroma installer there. Check the feautures.

Also I have a question, is anyone going to make a good tutorial for the bigger public. Like step-by-step or with a video tutorial. The roms seems awesome, but I have no experience with this at all. I have a rooted xxld1, do I have to factory reset to remove this, or?

If anyone could write one or help me so I can write one please reply.
[Galaxy S Advance I9070 Android Development] Chry_Gigio:
Not really much to explain.. You have rooted so i guess you already have twrp as well. So just do this, make a backup first if you like :

Copy Jetmod.zip to sdcard

Enter twrp

Wipe Cache, Factory reset, Dalvik Cache, System

Install and select Jetmod.zip

Done, the aroma installer will do the rest for you.
[Galaxy S Advance I9070 Android Development] dede_lecochon:
Yes, the installation is quite easy and is described in every specific threads - for ROM and kernel.

Although i had to play a bit with installation of kernel, with the ROMs that was too easy..

Guys, thank you many times for all the efforts you have given to the development of the stuff for this phone! I have diego's kernel and achyut's ROM and all works just great! I found just what i needed from it.

Still i would have something to say about both kernel and ROM but unfortunately i dont have enough messages to post in dev thread :)
[Galaxy S Advance I9070 Android Development] diego-ch:
Testing in a few minutes...

--- update

ok this one boots. network, gps and bt are working

j4fs also works. but it still have issues with the other modules.

mount output:

$ mount | grep mmc
/dev/block/mmcblk0p3 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p2 /modemfs ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p4 /cache ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p7 /efs ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p5 /data ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p1 /mnt/.lfs j4fs rw,relatime 0 0

$ lsmod
j4fs 67164 1 - Live 0xbf000000 (P)

$ dmesg | grep modules
<4>[ 11.009338] param: no symbol version for module_layout
<4>[ 11.009857] bthid: no symbol version for module_layout
<4>[ 11.014831] cifs: no symbol version for module_layout
<4>[ 11.020263] dhd: no symbol version for module_layout
<4>[ 11.021362] bthid: no symbol version for module_layout
<4>[ 11.021911] scsi_wait_scan: no symbol version for module_layout

here's dmesg log: http://pastebin.com/7JMcrvzy

I still think this is build order issue.

here's the important part of my buildscript, it has to be done in this order.

echo -e "\n\n Compiling I9070 Kernel and Modules... \n\n"
make -j4 ARCH=arm CROSS_COMPILE=$TOOLCHAIN CONFIG_INITRAMFS_SOURCE=$INITRAMFSDIR

...

echo -e "\n\n Creating zImage...\n\n"
make ARCH=arm CROSS_COMPILE=$TOOLCHAIN CONFIG_INITRAMFS_SOURCE=$INITRAMFSDIR zImage

mkdir -p ${OUTDIR}
cp arch/arm/boot/zImage ${OUTDIR}/kernel.bin

...

build script is here: https://github.com/diego-ch/android_kernel_samsung_janice/blob/master/build.sh
[Galaxy S Advance I9070 Android Development] diego-ch:
guys... did anyone notice this?

>> http://samsung-updates.com/latest-firmware/

quite a lot GT-I9070 firmwares released today..

@ brazilians.. it seems that we have now a brazilian firmware without carrier customization.

ZTM is tim, but now there's a TTT csc for brazil.
[Galaxy S Advance I9070 Android Development] Shaaan:
Okay guys. I am getting this device within a few days. I know there is practically no development for this device. But i guess we already have root and a working recovery. So lets start prepping for CM ?
[Galaxy S Advance I9070 Android Development] diego-ch:
take a look at mine and hackbob's boardconfigs =D

github repos on our signatures.
[Galaxy S Advance I9070 Android Development] rahul9988:
HI

Need help.i have i9070,i have rooted the phone..DDLD4 firmwire..but i am not able to install varuns custom rom..i did a factory reset..tried to install zip from sd card..its started installation..but stopped after a few sec..any one can help?
[Galaxy S Advance I9070 Android Development] dede_lecochon:
I had the same story. Just rebooted again, factory reset from recovery, wipe cache and system, then installed well.
[Galaxy S Advance I9070 Android Development] ypkonline:
Rahul

Dont panic please check the file size of jet mod you have downloaded it could just be the full zip was not downladed.

did u do full wipe of phone before installing if no do that and it should fix your issue..

Foremost thing to remember never be tense and panic it creates unneccessary stress which makes us forget basics :D
[Galaxy S Advance I9070 Android Development] JanEkel:
They have tweeted about a lot of versions, but according to the release date they are all a few months old.
[Galaxy S Advance I9070 Android Development] shut_down:
You need ti do system wipe in TWRP. As it written in first post of JetMod. Not just Factory reset. And then install it.

Послато са GT-I9070 користећи Тапаток 2
[Galaxy S Advance I9070 Android Development] qzem:
First you need to flash diegos kernel with build in custom recovery TWRP, than you go in this custom recovery.and follow the varuns steps for flashing rom.
[Galaxy S Advance I9070 Android Development] Shaaan:
Couldn't find it on your github. All what i saw was a few partition dumps. Anyone here has a build system ready ?

Coz i have one.
[Galaxy S Advance I9070 Android Development] lthy31:
Anyone have white texture problem? When I any games like splinter cell conviction & hawx I get white textures only, and in arcane empire I get black textures. Anyone have the same problem?

Edit : I know chainfire 3D can solve the problem, but not all, can this be fixed?
[Galaxy S Advance I9070 Android Development] diego-ch:
You want the system partition? Download the xeo xxld1 firmware on samsung-updates.com
[Galaxy S Advance I9070 Android Development] Shaaan:
No i mean the build environment. Needed to compile CM
[Galaxy S Advance I9070 Android Development] diego-ch:
The repo with those files is the one called "android device samsung janice" look for gb, ics and jb branches not the master branch
[Galaxy S Advance I9070 Android Development] hackbob:
one thing diego forgot to mention is that the android_kernel_samsung_u8500 is needed too.

At the moment whit my device config (only a commit different from diego's) the CM7 zip is created but I had not the time to flash and test it on the device.

There is a high probability that it will NOT work but we'll have some info from the logcat

Going to work on it tomorrow if I feel a little bit better
[Galaxy S Advance I9070 Android Development] Deadline-007:
Best kernel, but will be any anothers?
[Galaxy S Advance I9070 Android Development] Shaaan:
Okay. Also post the dmesg. It also helps a lot.
[Galaxy S Advance I9070 Android Development] rahul9988:
i did a big mistake..i did a system wipe..i hav downloaded jejmode to my sd card..but the installation not succeed...i select update from zip in recovery mode..but it gt stopped after sometime..now thr is no OS in my phone..i am able to go to download mode and recovery mode..pls help

Rahul
[Galaxy S Advance I9070 Android Development] pplu18207332:
do you install the twrp recovery？you cannot install zip in your stock recovery！
[Galaxy S Advance I9070 Android Development] rahul9988:
Yes,i hav installed twrp..but now after the system wipe its nt showing...
[Galaxy S Advance I9070 Android Development] shut_down:
You can download your firmware from http://www.sammobile.com/firmware/ and then flash it with Odin. After that repeat proces of rooting and installing kernel with TWRP. This is your last option, if you can't get in TWRP. Try again to open it - volume up, menu and power.
[Galaxy S Advance I9070 Android Development] rahul9988:
yes,i have downloaded the firmwire from sammobile i9070DDLD4INU..Its a zip file size 756 MB.after extracting i got a tar.md5 file and one ss_dl.dll file..could u pls explain how i can flash this file with odin..which file should i add under PDA and PIT..and which are the option i have tocheck

Regards

Rahul
[Galaxy S Advance I9070 Android Development] shut_down:
Try second post from this thread: http://xdaforums.com/showthread.php?t=1660419
[Galaxy S Advance I9070 Android Development] ayrtinho:
I installed a stock firmware yesterday, and i just put .md5 in PDA. PIT has to be empty. Re-partition must not be selected.

Sorry for my english.
[Galaxy S Advance I9070 Android Development] rahul9988:
Thanks for your help friends..i manage to start my phone after flashing with stk firmwire..i have a querry..prevoiusly i have flashed my phone with TWRP..but whenever i tried to install zip via twrp, i couldnt find the zip in the sdcard..is thr any particular folder that i have to copy jetmod zip

Thanks

Rahul
[Galaxy S Advance I9070 Android Development] shut_down:
Did you transfer zip file into external SD? I think that TWRP cant instal from internal SD.
[Galaxy S Advance I9070 Android Development] dede_lecochon:
Hi

Did you go to "sdcard/external_sd" with TWRP?
[Galaxy S Advance I9070 Android Development] thesdony:
I use jetmod rom it is great rom..

Download it and move it to the root of your external sdcard

Flash it with twrp

First install the v3.0

Then dl the update via ota and move the downloaded file to exernal sd

And then install it with twrp
[Galaxy S Advance I9070 Android Development] rahul9988:
sorry for my question..by external sd means is that the micro sd(i hav a 2gb microsd in my phone)..

rahul

---------- Post added at 07:35 PM ---------- Previous post was at 07:21 PM ----------

After copying jetmode to phone via data cable i moved the zip to sd card../sdcard/external_sd..i found jetmode..but one i open twrp by pressing vol up power and home button i gt twrp,but couldnt able to locate jetmode..i hav selected sd card but it not showing any zip file...any help

Rahul
[Galaxy S Advance I9070 Android Development] hackbob:
Probaly it's because the SD card is not partitioned.

I'm not 100% sure, but if I recall correctly, the kernel + TWRP in the other thread was build with a config that allowed only partitioned SDCard to be found.

Search a bit in this thread and in the kernel specific one for more info.
[Galaxy S Advance I9070 Android Development] dede_lecochon:
Mine is not partitioned (i think) although it works.

I read that formatting the SD card might help (to FAT?)
[Galaxy S Advance I9070 Android Development] fedevd:
Mine isn't partitioned.. Flashed TWRP, boot recovery, install, selected JetMod without error or problems..
[Galaxy S Advance I9070 Android Development] shut_down:
Copy data from your external SD card to pc, and format it with https://www.sdcard.org/downloads/formatter_3/

This helped for me. And remember where do you put file there.
[Galaxy S Advance I9070 Android Development] titeuf007:
very interessing thread
[Galaxy S Advance I9070 Android Development] cocafe:
Hey guys, finally, my kernel released!

http://xdaforums.com/showthread.php?p=32860591

Sorry for the late kernel, i was so busy these days. :p
[Galaxy S Advance I9070 Android Development] rahul9988:
Hello bro,the link is not working..download is not happening...
[Galaxy S Advance I9070 Android Development] shut_down:
Just downloaded, and reuploaded here.

Format your SD to FAT32. To do that you will have to put your phone in USB MASS, in settings>wireless and network>USB utilities>connect storage to PC.
[Galaxy S Advance I9070 Android Development] jhonnatancosta:
to install the ODIN?
[Galaxy S Advance I9070 Android Development] shut_down:
No, for formating external sd if TWRP can't see it.

Послато са GT-I9070 користећи Тапаток 2
[Galaxy S Advance I9070 Android Development] diego-ch:
You could use the "format usb storage" option on the phone. No need to install anything on your computer.