yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Android Development] kilsmap:
Well, so far I only extracted the initramfs only.. Later tonight I will try to decompile the kernel.bin altogether.. Should be fine using mkbootimg scripts, rite?

Qzem, it should be run like this (I do this on Ubuntu terminal) :

chmod +x script.sh

./ script.sh kernel.bin.md5
[Galaxy S Advance I9070 Android Development] qzem:
One question, I hope someone who knows the answer reds this :). For SGS2 the command for making a boot.img looks like this:

mkbootimg-sg2x --kernel zImage --ramdisk ramdisk.gz --cmdline "androidboot.hardware=qcom msm_watchdog.appsbark=0 msm_watchdog.enable=1 loglevel=4" -o boot.img --base 0x40400000 --pagesize 2048

How does it look for our phone, or how can I find out what needs to be written for cmdline, base and page size?

Can it work if I just use it like this:

./mkbootimg --kernel zImage --ramdisk ramdisk.gz -o boot.img

It makes me an image, but I am affraid to flash it:D.
[Galaxy S Advance I9070 Android Development] kilsmap:
hahaha... just flash it... my 1st built kernel yesterday failed to flash in odin, so phone could not be restarted, but flashing the stock ROM solved the problem... I don't even lost my files... but wait, I think you have to know the base... I'm not sure where to find the base value, but I have read somewhere that it's not that difficult to find...later I'll check for you if I have time..
[Galaxy S Advance I9070 Android Development] qzem:
I did flash it and it failed :D. Please check about the --base and the page size, but I think te page size is 4096, and I don't know what is with cmdline. I can't find any useful instructions about this :S
[Galaxy S Advance I9070 Android Development] xanonus:
You mistake is that you use rbash (bash in restricted mode) instead of the normal bash. Either make the script executable as kilsmap showed (then bash is called automatically according to the first line (shebang) in the script) or call it manually

bash unpack-iniramfs.sh
[Galaxy S Advance I9070 Android Development] qzem:
Thanks it worked like the kilsmap has written :). Can you also help us about mkbootimg?
[Galaxy S Advance I9070 Android Development] xanonus:
As far as I can see, kernel.bin.md5 is exactly a bare kernel (zImage) + md5 with a built in ramdisk (config option CONFIG_INITRAMFS_SOURCE ) - but I could be wrong.

So there is no need to use tools like mkbootimg which puts the kernel image, ramdisk, command line options etc. in a special format such that the boot loader can load it.

The bootloader seems to be able to directly boot the zImage which includes the ramdisk by itself. And therefore needs no additional headers in front.

From where the bootloader gets the command line options for the kernel and the base address - I have no idea. Maybe defaults for them are used.

So, built a kernel with CONFIG_INITRAMFS_SOURCE pointing to the unpacked ramdisk you want, add to the resulting zImage file the md5sum and try to use it directly as kernel.bin.md5 without using mkbootimg.

EDIT: CONFIG_INITRAMFS_SOURCE needs to be set to a directory containing the files which should be included into the ramdisk.
[Galaxy S Advance I9070 Android Development] kilsmap:
I see... then where would the recovery be? Because there is a recovery folder in the initramfs, but not as extensive like the one posted in mb-14's github for Galaxy Ace Plus recovery...
[Galaxy S Advance I9070 Android Development] mb-14:
initramfs is fine.I need to check the contents
[Galaxy S Advance I9070 Android Development] qzem:
I will continue with compiling tomorrow, thanks all of you for help, together we can make it :)!

@mb-14

If you'll have time and will, to correct your cwm port, to get it working on our phone, you can get some additional data from GT-I9070.rar, in my first post of this thread. There is a partitions file, mounts, and some other files that might be useful.

Thank you very much for all the time you all have take to answer my and kilmaps questions!
[Galaxy S Advance I9070 Android Development] pplu18207332:
Now the twrp has been complete.Is it time to do something about the miui or the miuibrazil.....
[Galaxy S Advance I9070 Android Development] antonio8297:
new version:

http://d-h.st/GOq

who try it?
[Galaxy S Advance I9070 Android Development] zackwire:
gonna give it a try...:good:

a bit off the topic: there is any way to choose external sd as the main installation drive for apps?
[Galaxy S Advance I9070 Android Development] antonio8297:
in settings,but if you have a root use link2sd whitout a partition.
[Galaxy S Advance I9070 Android Development] Risuke:
Changelog?

and... can u quote your updater-script here and tell me what binary you used?
[Galaxy S Advance I9070 Android Development] antonio8297:
for first release only deodexed,zipaligned and root permissions included.

command from updater script of diego,update binary in the cache.img
[Galaxy S Advance I9070 Android Development] hamzani azni:
maybe can add overclock,superchge v6 and swap storage in next release..maybe..just opinion..btw good job evryone!!
[Galaxy S Advance I9070 Android Development] JackStow:
i cant install... it give me status 7, then i replaced scripts, and it start install, but got status 0.. im using the new build, i should be fixed?
[Galaxy S Advance I9070 Android Development] antonio8297:
with status 0 reinstall

@diego-ch give me a updater script,please
[Galaxy S Advance I9070 Android Development] JackStow:
if i get status 0 i need just reinstall? maybe when diego give you the scripts, you post ir here, and we just replace into zip...
[Galaxy S Advance I9070 Android Development] skorpioneMM:
Same here, Status 0 error, tried to reinstall but getting the same Status 0.

Enviado desde mi GT-I9300 usando Tapatalk 2
[Galaxy S Advance I9070 Android Development] felipebcanto:
Forgive my dumbness, but how do I install your rom?
[Galaxy S Advance I9070 Android Development] skorpioneMM:
Ok finally i found a update-binary that is working, i tried and this time the rom installed well, here it is:

http://db.tt/ZjbbZBm6

Enviado desde mi GT-I9100 usando Tapatalk 2
[Galaxy S Advance I9070 Android Development] antonio8297:
And updater-script?you have used my updater-script?or have modified?

Inviato dal mio GT-S5660 con Tapatalk 2
[Galaxy S Advance I9070 Android Development] skorpioneMM:
I used your updater-script.

Testing the rom and all seems working pretty fine.

Enviado desde mi GT-I9100 usando Tapatalk 2
[Galaxy S Advance I9070 Android Development] pplu18207332:
yeah，that is working，it works well now！
[Galaxy S Advance I9070 Android Development] antonio8297:
Thanks today reupload and open a thread.

Inviato dal mio GT-S5660 con Tapatalk 2
[Galaxy S Advance I9070 Android Development] diego-ch:
my script is here

https://github.com/downloads/diego-ch/android_device_samsung_janice/scripts.rar
[Galaxy S Advance I9070 Android Development] heikoell:
I'm a beginner and i understand nothing here:(
[Galaxy S Advance I9070 Android Development] antonio8297:
stay uploading a new version with deiego-ch scripts,
[Galaxy S Advance I9070 Android Development] Univer_Sam:
Nice Work
[Galaxy S Advance I9070 Android Development] Apop10:
my name is mariano, i luce un argentina, congratulations for the good work
[Galaxy S Advance I9070 Android Development] shut_down:
Great work!
[Galaxy S Advance I9070 Android Development] antonio8297:
10%
[Galaxy S Advance I9070 Android Development] S71ng:
Nice work!

I have an I-9070P (NFC Chip), can i use this ROM?

Thank You
[Galaxy S Advance I9070 Android Development] antonio8297:
i don't say,try but if not work,reflash stock fw with odin
[Galaxy S Advance I9070 Android Development] RSDamasceno:
How to install this kernel with odin?

(I'm trying to do this and do not know if I'm right. Extract the file and installed it (put in PDA).)

And then, how to install the ROM launched antonio?

Sorry my poor english.
[Galaxy S Advance I9070 Android Development] antonio8297:
the rom stay uploading,when i uplad this i open a thread with guide
[Galaxy S Advance I9070 Android Development] jhonnatancosta:
how to install this rom using Odin? you could put a tutorial here to install this ROM
[Galaxy S Advance I9070 Android Development] pplu18207332:
first,you should flash the twrp recovery .then you get the rom in your tf card.then enter the twrp recovery,using install and chose the rom ..then what you should dois only waiting..haha
[Galaxy S Advance I9070 Android Development] antonio8297:
i should reupload,blackout on my city,this evening will be on xda
[Galaxy S Advance I9070 Android Development] jhonnatancosta:
which is twrp?

Enviado de meu GT-I9070 usando o Tapatalk 2
[Galaxy S Advance I9070 Android Development] GFOGordin:
TWRP is one tool used to backup and restore the phone, among other features.

To enable it, you can use the file available at http://xdaforums.com/showpost.php?p=31028723&postcount=323 and use ODIN.

To use ODIN, you can follow the instructions at http://xdaforums.com/showthread.php?t=1660419 .

The only thing is that, instead of using both files indicated at the second link, you will use the only one indicated at the first.

After that is just this:

( recovery ) power + home + vol up

( download ) power + home + vol down

diego-ch and antonio8297 helped me out in those procedures.
[Galaxy S Advance I9070 Android Development] varun.chitre15:
New ROM coming in next 2 days ;)

I will be needing testers in 2 days :)

---------- Post added at 12:10 AM ---------- Previous post was at 12:03 AM ----------

@diego-ch

I suggest you to make another thread for TWRP Recovery :)

Most of the people dont know about your recovery.
[Galaxy S Advance I9070 Android Development] JackStow:
what kind of rom? cm7 or something like it? i can test :)
[Galaxy S Advance I9070 Android Development] petraru1:
i will test your rom, slowly but surley the development for our phone keeps rising
[Galaxy S Advance I9070 Android Development] zip88:
great news!!
[Galaxy S Advance I9070 Android Development] Univer_Sam:
Ain't it time for a new Galaxy S Advance I9070 thread ... were we can go to if something new pops up without the need to reread the last pages ..more like a officiaal Development thread...

Keep up the very nice work ....DEV is on the role..:good::highfive:
[Galaxy S Advance I9070 Android Development] diego-ch:
Sure, I was thinking about that. this thread is getting overloaded.

My time is a bit short this week, but I'm just finishing a few things

then I'll make a new thread.
[Galaxy S Advance I9070 Android Development] antonio8297:
i create a thread with all material for s advance in miscellaneous?

for other:

this is the rom fixed:

http://d-h.st/XIA

try and give me a feedback
[Galaxy S Advance I9070 Android Development] skorpioneMM:
Hi diego, i found a little bug in TWRP with fix permissions option, tried but doesnt do nothing, the process never finish.

Not a problem for me, i only would to advice about this little bug that maybe its a knowm bug of this TWRP build.

Enviado desde mi GT-I9100 usando Tapatalk 2
[Galaxy S Advance I9070 Android Development] diego-ch:
are you sure?

I've tried it here before, it takes a while but it finishes.
[Galaxy S Advance I9070 Android Development] hackbob:
Hi all,

Tried to compile CM7 again after some changes to the makefiles but after the latest java update the build fail miserably.

I'll try again tomorrow after

---------- Post added at 11:13 PM ---------- Previous post was at 11:11 PM ----------

P.S. If some other dev is woking on cm7 porting from sources can he share the git repo link? or PM about his/her progress?
[Galaxy S Advance I9070 Android Development] antonio8297:
small update of my version:

http://www.mediafire.com/download.php?pi5kz4ui4vuotsq

changelog:

add otaupdater(for ota updates)

%mod battery

4.0 windows animations

if work trasparency on statusbar
[Galaxy S Advance I9070 Android Development] JackStow:
look good.. iv installed it and % battery is very usefull... i dont know about other things, but transparency statusbar does not work
[Galaxy S Advance I9070 Android Development] RodrigoOgasawara:
Just onr question, does the kernel and ROM flash doesn't affect the binary counter ???
[Galaxy S Advance I9070 Android Development] RSDamasceno:
@diego-ch

I installed the kernel and can not make a backup. Also I can not install the ROM. I get "failed to mount /sdcard".

What might be happening?
[Galaxy S Advance I9070 Android Development] pplu18207332:
you must have a tf card！doyou？
[Galaxy S Advance I9070 Android Development] RSDamasceno:
Of course!

I have one installed.
[Galaxy S Advance I9070 Android Development] diego-ch:
I'm pretty sure the answer is yes, mine is still 0 but I did not use qzem rooting method.

I flash my kernels using dd, because it doesn't increase the counter,

but using dd is risky and your phone need to be rooted first.

that's odd. get me the recovery log.

do you have an external sdcard? twrp wont work with internal memory.

also...

were you using another custom kernel before using mine?

try flashing the stock kernel then mine.
[Galaxy S Advance I9070 Android Development] varun.chitre15:
@diego

Can you pls post the kernel in form of boot.img?

I need it.
[Galaxy S Advance I9070 Android Development] rhavock:
I9070

People, how you doing.

So, I tried to install that custom rom, but my I9070 just reboot after logo of samsung...

Someone can help me???
[Galaxy S Advance I9070 Android Development] jhonnatancosta:
make a tutorial on how to install this rom so that it is easy to test the galley

Enviado de meu GT-I9070 usando o Tapatalk 2
[Galaxy S Advance I9070 Android Development] dotamaple:
Development for S Advance :laugh:

what's the latest beta rom for it?

Looking forward for ICS for Sadvance~~ :D
[Galaxy S Advance I9070 Android Development] pixdev:
There is still the S Advance section on http://www.ra-mod.com forums!

Great work everybody! I will help where I can, but device profiles are more my thing.
[Galaxy S Advance I9070 Android Development] yooouuri:
How

How to install. Im not completely noob but i get signature failed.
[Galaxy S Advance I9070 Android Development] antonio8297:
the s advance have bin format,he should dump of kernel for boot.img

wipe data

i will create a thread for this

thanks,but i don't have an s advance

have you installeg a twrp recovery?
[Galaxy S Advance I9070 Android Development] yooouuri:
No i didn't. How to install the 'twrp' recovery?
[Galaxy S Advance I9070 Android Development] Bonez1802:
Great work everybody, you are kings.. it will be good if someone made a tutorial how to instal twrp recovery and rom, and put in it all the needed links.. thank you.. respekt
[Galaxy S Advance I9070 Android Development] antonio8297:
i create a thread after 2 hours
[Galaxy S Advance I9070 Android Development] jhonnatancosta:
Thank you, post the link when creating Antonio
[Galaxy S Advance I9070 Android Development] antonio8297:
diego-ch in my thread implement a guide to install your twrp recovey?
[Galaxy S Advance I9070 Android Development] jhonnatancosta:
Quote:

Originally Posted by jhonnatancosta

make a tutorial on how to install this rom so that it is easy to test the galley

Enviado de meu GT-I9070 usando o Tapatalk 2

i will create a thread for this

Thank you, post the link when creating Antonio
[Galaxy S Advance I9070 Android Development] antonio8297:
i have seed.
[Galaxy S Advance I9070 Android Development] jhonnatancosta:
then you just need to create the tutorial for installing this rom
[Galaxy S Advance I9070 Android Development] Univer_Sam:
Is the thread already in place or are we still waiting for diego-ch 's guide before opening the thread ...if you did make it could you please post the link here ;) Thanks
[Galaxy S Advance I9070 Android Development] antonio8297:
ok i create and if he does not agree delete the guide and files.
[Galaxy S Advance I9070 Android Development] diego-ch:
I've created a thread for my kernel to make things easy

so you only need to create one for your rom :cool:

http://xdaforums.com/showthread.php?t=1873119
[Galaxy S Advance I9070 Android Development] antonio8297:
This is thread for rom:

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

for problem of rom write in rom thread
[Galaxy S Advance I9070 Android Development] ayrtinho:
Could someone who has installed this rom put some screenshots here?

Sorry for my english.
[Galaxy S Advance I9070 Android Development] JackStow:
Its here
[Galaxy S Advance I9070 Android Development] heikoell:
that's a good idea. so we all can see how it looks like before installing it.
[Galaxy S Advance I9070 Android Development] ayrtinho:
Is this the default laucher?
[Galaxy S Advance I9070 Android Development] JackStow:
no, its Holo Launcher
[Galaxy S Advance I9070 Android Development] hackbob:
Better talk about the rom on the Rom thread
[Galaxy S Advance I9070 Android Development] varun.chitre15:
ROM Name: JetMOD™ 3.0

Codename: The Blue Phoenix

ETA: Sep.10.2012

Note: ETA, if required, is subject to change under certain circumstances.
[Galaxy S Advance I9070 Android Development] JackStow:
it will be gingerbread 2.3.6 based?
[Galaxy S Advance I9070 Android Development] varun.chitre15:
Hopefully :P

You wont be able to know if it is Gingerbread or ICS :P
[Galaxy S Advance I9070 Android Development] jhonnatancosta:
I did mine and it was not that way, but you can not do the final installation process with binary that also do not know
[Galaxy S Advance I9070 Android Development] JackStow:
I have made a theme for our device

Its here:

http://xdaforums.com/showthread.php?t=1874062
[Galaxy S Advance I9070 Android Development] varun.chitre15:
Can anyone give me a screenshot of Power menu?

The one when you long press power button.
[Galaxy S Advance I9070 Android Development] varun.chitre15:
Prior to release of new Upcoming ROM, I want someone to test few individual elements within the ROM. The one who is interested to test must have installed the TWRP Recovery and must have backed up the current ROM he is using.

Edit: And the one who comes forward will be a tester of all developments by me forever :)
[Galaxy S Advance I9070 Android Development] pplu18207332:
i can be one,and i have install twrp as soon as it came out!i also back up my current rom and rescore it for some time to flash the rom by antonio8297 ！ i only want to attempt to new rom,if your rom is release,i want to be one, :laugh:
[Galaxy S Advance I9070 Android Development] varun.chitre15:
Great!

I have sent you the files to test.
[Galaxy S Advance I9070 Android Development] diego-ch:
this menu?
[Galaxy S Advance I9070 Android Development] varun.chitre15:
Yes. Thanks!
[Galaxy S Advance I9070 Android Development] zip88:
In your relase can u expand this power menu with reboot?thankz
[Galaxy S Advance I9070 Android Development] heikoell:
does this Rom has Germany language?
[Galaxy S Advance I9070 Android Development] jhonnatancosta:
diego-ch need your help you have msn? is urgent crashed my phone and not opening this help me please
[Galaxy S Advance I9070 Android Development] diego-ch:
pm me.

---------- Post added at 12:16 PM ---------- Previous post was at 12:15 PM ----------

the Advanced Stock ROM?

I'm pretty sure that yes. because it is based on the european firmware.
[Galaxy S Advance I9070 Android Development] cocafe:
is anyone working on stock overclocking kernel?
[Galaxy S Advance I9070 Android Development] jhonnatancosta:
DO NOT WANT MORE ON THE PAGE IS SO WHERE IS THE NAME OF THE DEVICE MY MSN add jhonnatangilsemberg21@hotmail.com

---------- Post added at 12:29 PM ---------- Previous post was at 12:25 PM ----------

just goes to twrp diego
[Galaxy S Advance I9070 Android Development] diego-ch:
"reboot system" button doesn't work ? are you using stock or antonio's rom?

try wiping cache and data. that should fix the problem.

if that doesnt work. flash stock rom with odin.
[Galaxy S Advance I9070 Android Development] heikoell:
I can't find that Rom in sammobile
[Galaxy S Advance I9070 Android Development] yooouuri:
Go to sammobile . com / firmware /

(sorry cant post links, jet)

Search for '9070'

And chose you're country.
[Galaxy S Advance I9070 Android Development] jhonnatancosta:
but have to register before
[Galaxy S Advance I9070 Android Development] yooouuri:
Is that a big deal?
[Galaxy S Advance I9070 Android Development] bernardowilson:
I wouldn't mind helping out.

Hey, I think I could help you out on that. If you want to include me, I'd be happy to look for bugs and send logs, aside from helping out with the code, if you're comfortable with that.
[Galaxy S Advance I9070 Android Development] varun.chitre15:
Good news:

JetMOD will contain a custom kernel :D

Yes you heard right, first ever custom kernel for Samsung Galaxy S Advance :D

Bad News:

As I have decided to include a custom kernel therefore I need some more time

And ROM will be delayed for 4 days.
[Galaxy S Advance I9070 Android Development] hackbob:
@varun.chitre15

Good news about the custom kernel.

Will you publish the source of the kernel and rom somewhere or only the build package?

On my end I've finally being able to flash properly antonio's Rom and make a working backup, so I was able to try some of my CM7 builds but none working properly.

Made some other changes now and buildng a new zip :fingers-crossed:
[Galaxy S Advance I9070 Android Development] RSDamasceno:
This kernel supports two-way recording calls?
[Galaxy S Advance I9070 Android Development] varun.chitre15:
Yes I will release source code but after sometime

I am using diego-ch's repo becuase it has TWRP recovery and I don't want people lost it due to my kernel

Initially it will have some basic features, later on it will be having advanced one i.e Gestures etc ;)

@all

Do you want me to release the kernel in a separate way also so that you can use it with your favorite ROM(If any more come out)?
[Galaxy S Advance I9070 Android Development] Univer_Sam:
IMO...Yes that would be a great idea varun.chitre15 it'll make it user friendly that way and creates more freedom to the user :good: Nice stuff man keep it up....:cool:
[Galaxy S Advance I9070 Android Development] andjoef:
Fix hard bricks with old USB cord.

Hi guys:

I don't know if someone had that information. When your phone enter in a hard brick and won't go to download mode, the only way is sending your device for assistance. My friend had this problem and in the assistance, a technician told the proccess to fix this trouble.

One old USB cord with the correctly resistors will restore your phone. And after this good info, I found a tutorial for make a cable that fix this problem. In my case, it worked perfectly, He tried to reset the counter and stay in this error.

smartphones.wonderhowto.com/how-to/bricked-your-samsung-phone-heres-fix-with-pencil-lead-0139025

Now, I had a question? If we put the alternative recovery and after this proccess and reflash the stock rom, the counter will be reseted?

Bests.

And Joe.
[Galaxy S Advance I9070 Android Development] diego-ch:
nice! thanks for sharing this.

if you do this, you'll loose recovery and your counter wont be reseted.

we'll have to wait the ICS release and then use Triangle Away.
[Galaxy S Advance I9070 Android Development] hackbob:
For F**k sake....

My new Hdd broke and now I've lost the VM partition with the CM7 source.

Luckily I had committed and pushed yesterday changes so I'll be able to restore everything, but my test will considerably slow down.
[Galaxy S Advance I9070 Android Development] diego-ch:
yep things are getting harder

my remote vm was shutdown on thursday, dont know why :S

and we're on holliday here, so I wont be able to turn that thing on again until monday.

meanwhile I was compiling the kernel on my laptop,

which is going up to 84 ºC and shutting itself down automaticaly (probably due to overheat) --'

but I've managed to trace the twrp "failed to mount /sdcard" issue.

that was happening because some sdcards dont have partitions

so instead of trying to mount mmcblk1p1 it should mount mmcblk1.

a small change on the recovery.fstab should fix the issue.

I've also added custom boot animation support

but that needs more work.