yashsingh1/xdaforums huggingface dataset:
[Galaxy 3 Q&A, Help & Troubleshooting] Warmo161:
Hi there, my friend is coming round soon and I was planning to give it a custom rom

Now, I've done this type of stuff before (on my nexus) I just want to see how you would do it for this samsung phone

Now, what recoveries can you get? I use 4EXT on mine

And, can anybody send me to a stable and up-to-date rom that can be used everyday and has nearly no issues? I need one without all the samsung stuff, just a normal default android one

And, how would I go by rooting the phone?

On mine, I used the zergrush exploit, does it work for this phone??
[Galaxy 3 Q&A, Help & Troubleshooting] ak700:
If you want one with everything working, then use the Froyo roms. CM7 is under development. The major bugs are bluetooth and youtube hq. Leaving that, even thats useable. It's even better than Froyo.

I suggest you to try either Kyorarom or Kyrillos v9.6. Both of them are froyo based, pre-rooted, and have other mods to make it even more faster than a stock one.

Happy flashing!
[Galaxy 3 Q&A, Help & Troubleshooting] Warmo161:
Thanks, and how do I go about flashing the rom, would I have to root it first?
[Galaxy 3 Q&A, Help & Troubleshooting] ak700:
No need.

This is something to good to read http://xdaforums.com/showthread.php?t=1372414

BTW to root the phone use super one click root (or sth like that :p)
[Galaxy 3 Q&A, Help & Troubleshooting] Warmo161:
Ah, I get it now, thanks

Just one more question, does ODIN delete the phones data before installing the rom?
[Galaxy 3 Q&A, Help & Troubleshooting] DoR2:
You have to wipe all your data after flashing(or not if from Froyo to Froyo)

I mean from recovery. ODIN don't delete user data
[Galaxy 3 Q&A, Help & Troubleshooting] ak700:
I exactly I don't know the working of odin, but after flashing you are directly taken to the recovery and advised to wipe data and factory reset.
[Desire Q&A, Help & Troubleshooting] Possible:
Hello,

I was wondering if anyone can help me with the following problem.

I have a HTC Desire from a friend of mine. He has a HBOOT 0.80 version. But the phone is S-ON

Now i want to S-OFF the phone and to install 4EXT custom recovery. The problem is that Alpharev needs a higher version of the HBOOT in order to do that.

What is the best way to upgrade the HBOOT from the desire to a newer 0.92.x. version?

The phone is rooted already and has a clockwork custom recovery installed.

Possible
[Desire Q&A, Help & Troubleshooting] biohaufen:
You can use the official Gingerbread RUU. After the Update had done, you can S-Off with Revolutionary --> http://revolutionary.io/

But please move it to "Desire Q&A"
[Desire Q&A, Help & Troubleshooting] nino2603:
http://revolutionary.io/ :D
[Desire Q&A, Help & Troubleshooting] bortak:
nooooooo that doesn't work with 0.80 either, think before you post, especially when you're wrong.

You'd be safer off to use a 2.2 RUU instead of the 2.3 one.
[Desire Q&A, Help & Troubleshooting] rikatt:
I have the same problem of "Possible", same same.

I tried to update the HBOOT via the official HTCdev page with file:

PB9920000_Bravo_Froyo_hboot_1.03.0003_R.exe

without success becouse the update utility give me the maessage:

Please upgrade to 2.29.405.14 to apply this RUU to be able to unlock your bootloader.

So I tried to install an original RUU with file:

RUU_Bravo_Froyo_HTC_WWE_2.09.405.8_Radio_32.43.00.32U_5.09.00.20_release_140022_signed.exe (Android 2.2)

withou any success, an error displayed at the end of process.

I tried another RUU with file:

RUU_HTC Desire Android 2.3 Upgrade (Gingerbread).exe (Android 2.3)

withou any success, an error displayed at the end of process.

Now I am stak!

I'd want update HBOOT from 0.80 to higher in order to run revolutionary procedure (to have S-OFF), in order to install 4EXT recovery but it seems impossible.

Any idea?

Thanks
[Desire Q&A, Help & Troubleshooting] bortak:
Look at my guide..
[Galaxy Y GT-S5360 Android Development] irfanbagus:
good job. i know droidwall depend on other kernel features beside CONFIG_NETFILTER_XT_MATCH_OWNER. since i don't have plan to use droidwall, i don't bother to find it.
[Galaxy Y GT-S5360 Android Development] bumslayer:
Profit indeed! It works! Good job, mikstev! I was able to block dolphin HD on my phone just to test if it works and it did, much to my delight!

And to irfanbagus as well for that wonderful guide on how to compile a kernel.

Great job, guys!
[Galaxy Y GT-S5360 Android Development] mikstev:
Now let's hope that all the other kernel developers include this small bit of configuration in their builts :)
[Galaxy Y GT-S5360 Android Development] Adam_Blade:
finally! ive been waiting for this for ages. thank you very muchhhh!
[Galaxy Y GT-S5360 Android Development] mikstev:
Logging doesn't work yet. I'll try the solution from highlandsun: http://xdaforums.com/showpost.php?p=11110889&postcount=357 tonight and upload new kernel if successful.
[Galaxy Y GT-S5360 Android Development] devilrulz4ever:
No need for so much hassel

Just use "lbe privacy guard" (free in store) it has much more features than droidwall and it doesnt require any special kind of kernel.

Y u no press "thanks"!?
[Galaxy Y GT-S5360 Android Development] mikstev:
Ok, logging works now, I'll upload the new kernel. See first post.
[Galaxy Y GT-S5360 Android Development] mikstev:
It seems that there're at least some people who see this differently. Here're some of my reasons, why I prefer droidwall over LBE Privacy Guard:

- it's a good and easy to use firewall. Not more, nor less. That's what I want.

- no "hassel" (to use your words) with resticting internet access of "trusted" apps

- I did not find a way in LBE to block LBE from using internet. In the iptables rules created by Droidwall I can clearly see that droidwall is not allowed = blocked
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@mikstev: I'm just curious...is it based on sgy's newest kernel?
[Galaxy Y GT-S5360 Android Development] mikstev:
I think so, the source code is the one mentioned in irfanbagus' post (update2) which I linked above.
[Galaxy Y GT-S5360 Android Development] kurotsugi:
nice...I can integrate dualboot and data-2sd mod into this kernel easily. thx
[Galaxy Y GT-S5360 Android Development] gear12:
i got other option to make droidwall work.

on init.rc i added this line:

service netfilter /system/bin/iptables

disabled

oneshot

this also work with avast firewall..
[Galaxy Y GT-S5360 Android Development] mikstev:
Can anyone confirm this? I can't see how this could replace the missing kernel modules.
[Galaxy Y GT-S5360 Android Development] irfanbagus:
nope. iptables only a user space application that depend on kernel features. and you can't call iptables without command/params.
[Galaxy Y GT-S5360 Android Development] Adam_Blade:
the firewall works great, also, I can see the logs but after disconnecting from the internet and a few minutes the log is empty again, is this normal or a bug?

off topic:

and can I make a request? can you make the your boot.img support init.d as well? please...
[Galaxy Y GT-S5360 Android Development] mikstev:
Yep, I noticed this too. The droidwall source seems ok at first glance and I don't think it's related to the netfilter modules etc. My guess would be that it's dmesg's fault, maybe the log is truncated or something but this is just speculation. I'll investigate in this in a few days. Maybe someone else knows why this happens?

Sorry, I currently don't have the necessary skills, so if you're looking for a quick solution you might better ask someone else for help. (Especially since there're already kernels with this feature and including the modifications for netfilter/droidwall should be trivial). However as I wanted to build up my knowledge regarding android/kernel development anyway, I'll try to add this feature one time, but that surely would take >1 week.
[Galaxy Y GT-S5360 Android Development] mikstev:
Regarding dmesg: the buffer size is set by CONFIG_LOG_BUF_SHIFT=19 which means 2^19 Bytes = 512KiB. I'll check later if this relatively huge size is really used up.
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@mikstev: make init.d support kernel is easy. we only have to add a few script inside init.rc file. we can do it easily by using dsixda's kitchen or put the script manually. you can see my modified init.rc here http://www.mediafire.com/?cc1kg8s7cx27onb

I believe the script that have to be added is

service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d

disabled

oneshot
[Galaxy Y GT-S5360 Android Development] mikstev:
Just to get sure: the init.rc which needs to be modified is the one in the initial ramdisk and not in the kernel (zImage), right?
[Galaxy Y GT-S5360 Android Development] Adam_Blade:
@mikstev

Thats ok, Im not in a hurry ;-) . I can wait a week or two :D

yes there are some kernels here but most of them here are heavily tweaked, and all I want are these two features enabled(init.d and netfilter/Droidwall) for my everyday use. TIA!
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@mikstev: yup...the one in ramdisk. you can compare my init.rc with yours to find the differences between them. this init rc is used in irfan's dualboot. you may ignore the script with bootsdcard.sh.

EDIT: btw, I've found this in other forum. it could be usefull for anyone who want to develop a kernel.

http://xdaforums.com/showthread.php?t=1467149
[Galaxy Y GT-S5360 Android Development] mikstev:
I tried adding init.d support but without luck. Scripts and permissions are correct, running the command from init.rc which stands behind 'service' executes the scripts correctly, but it doesn't work when init.rc is executed. No useful info found in dmesg. Is there anything else I forgot to do? I just inserted those three lines mentioned earlier into init.rc
[Galaxy Y GT-S5360 Android Development] irfanbagus:
try to add "start sysinit" before "class_start default"

start sysinit
class_start default

and of course

service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d
disabled
oneshot
[Galaxy Y GT-S5360 Android Development] mikstev:
Thanks :)

I just tried running 'start sysinit' in terminal and my init.d scripts were executed. Thus I'm confident that adding this line in init.rc like irfanbagus said will work. Expect new boot.img soon.
[Galaxy Y GT-S5360 Android Development] mikstev:
Ok, init.d works now, see first post.

And say thanks to irfanbagus :)
[Galaxy Y GT-S5360 Android Development] Adam_Blade:
wow! that was fast, thank you very much sir and to sir Irfanbagus.

thanks already hitted :D
[Galaxy Y GT-S5360 Android Development] mikstev:
:) Please report if it works or when you have any issues.
[Galaxy Y GT-S5360 Android Development] _aeon:
working great. thx mikstev.

---------- Post added at 02:45 PM ---------- Previous post was at 02:37 PM ----------

hm, i wouldn't trust an app that is made by an unknown author that controls all my mobile system and it isn't open source.
[Galaxy Y GT-S5360 Android Development] mikstev:
/sign
[Galaxy Y GT-S5360 Android Development] leodasal2:
is this compatible (works) with DXKL2 baseband??

update: stuck on samsung logo
[Galaxy Y GT-S5360 Android Development] Adam_Blade:
Working! 100% supercharged without using script manager to run at boot :D

I create a folder name "init.d" in /system/etc/ and v6 supercharger detects it and given an option to integrate, selected yes then blah blah blah, superclean and restart... after reboot I ran v6 again to see if it working... 100% supercharged :D

reboot several times... still supercharged :)

thanks misktev and irfan!
[Galaxy Y GT-S5360 Android Development] mikstev:
Are you running a custom ROM?

I only tested it on latest stock ROM.
[Galaxy Y GT-S5360 Android Development] Adam_Blade:
logs still empty after few minutes, but its not that important :D
[Galaxy Y GT-S5360 Android Development] bumslayer:
Adam, my battery seems to drain faster with wifi on using this kernel configuration. Did you notice that as well?
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@bumslayer: not only wifi. my overall battery performamce is worse than dxlc stock kernel. mikstev said that he got the source from samsung. i think that one was uploaded from old kernel, not the new one.
[Galaxy Y GT-S5360 Android Development] bumslayer:
I compiled mine from source as well. You may be right. I'll check the site again later.
[Galaxy Y GT-S5360 Android Development] mikstev:
I also think that samsung's source isn't uptodate. It'd probably better if some kernel dev with a good (battery friendly) kernel just applied the few config lines I mentioned in the first post.
[Galaxy Y GT-S5360 Android Development] mikstev:
Seems to me like dmesg's log/output buffer is full, can anyone confirm this?
[Galaxy Y GT-S5360 Android Development] kurotsugi:
i think he has stamatis's scripts in his init.d folder. one of the script is used to delete all log files created by system on boot.
[Galaxy Y GT-S5360 Android Development] mikstev:
I've the same symptoms without any custom script.
[Galaxy Y GT-S5360 Android Development] simonrussell77:
Yay! Success LOL. I flashed the second one down, as I only need droidwall for now. And it's working great now!

I'll hold off with the one with init.d, just for now, but will experiment in my own time. That method, mai77 method works a treat - I'd never been brave enough till now, but thought to myself, what could go wrong lolz. Odin, and a stock kernel to hand is our best friend LOL.

Edit: XXLA2 btw and as you can see, your modified kernel is there. I tried it with opera mini and plume twitter app - blocked them both in my lil test, no problem!

Thanks again.

Like I said, i'll hold off for the init.d modified version till you've updated again, if that's where the battery drain is, if that's what the only issue is? I take it the one with just droidwall should be battery friendly enough, if I'm guessing right?
[Galaxy Y GT-S5360 Android Development] irfanbagus:
guys, do you have battery issue with first version (no log,no init.d) ?

little bit OOT, how long your battery typically last ?
[Galaxy Y GT-S5360 Android Development] Andromeduh:
Newbie question, what does this do? I mean is it a kernel? Any light please?
[Galaxy Y GT-S5360 Android Development] mikstev:
Yes, it's a kernel with some modules added. These modules are missing in stock kernel but required by droidwall to work. Logging in droidwall is optional and enabled with the second kernel. However the source of the kernel is probably outofdate and thus causing bad battery performance (I can't tell because my phone ran too short on stock kernel) as far as I believe. If it's caused by one of the unnecessary logging modules I'll remove them in next built.
[Galaxy Y GT-S5360 Android Development] mikstev:
Now I had the following idea and need some advice on the possibiliry of it:

Take kernel from latest stock and unpack.

Compile the modules for droidwall as seperate .ko files.

Copy them into initrd.

Modify init.rc to load them at boot or somehow (insmod?) add them permanently.

What would support this idea, where is/might be a problem?
[Galaxy Y GT-S5360 Android Development] Andromeduh:
Whoa cool! Thanks! Wait, working on custom ROMs, and I presume on stock ROMs right?
[Galaxy Y GT-S5360 Android Development] mikstev:
I only test it on stock ROM, XXLC1. If it doesn't work with custom ROM, ask the dev of your custom ROM to include the configs I mentioned in the first post.
[Galaxy Y GT-S5360 Android Development] irfanbagus:
no problem at all. in fact i already did it :D

but you don't need to put in boot.img. put in /system/lib/modules is enough and then call it through init.d. that way, user can enable and disable modules at anytime without edit init.rc
[Galaxy Y GT-S5360 Android Development] Adam_Blade:
hmmm, my Battery seems to be fine, flashed this boot.img last night with half charged batt. and up until now i still have some juice left with WiFi on.

and about the logs i dont have any script in my init.d folder other than the v6 created.

Im using stock ddla1....
[Galaxy Y GT-S5360 Android Development] mikstev:
Because I believe the battery issues are kernel related I plan the following:

- find out which modules droidwall needs for logging and omit the others

- create a script which needs

--- boot.img from latest kernel (the one which is only available in binary)

--- mkbootimg

--- split_bootimg.pl

--- compiled kernel modules

- and creates a new boot.img with

--- same, latest kernel, so hopefully no battery problems

--- init.rc with init.d support

--- the kernel modules in /lib

Then only a init.d script is needed to include the kernels. I guess it isn't possible to preinstall it such that it's not restored on every reboot (like init.rc) so it'd have to be added manually.

I won't provide a boot.img because the sources of latest kernel aren't open, also not the mkbootimg/split_bootimg.pl because I'm not the developer of them.

If it works well, you'll make a directory, put the listed files and my script into it and after running the script you'll get a new boot.img you can install. Then you'd only have to add a script in init.d which I can also provide.

Alternatively: Is it possible to use insmod to install the modules permanently? Else I'd simply modprobe them.

Now, what do you think about this? It's mostly the same as irfanbagus' idea, just with added init.d support but keeping latest stock kernel. Say thanks to him :)
[Galaxy Y GT-S5360 Android Development] mikstev:
Ok, this one is a bit more work, see readme in new file attached to first post.
[Galaxy Y GT-S5360 Android Development] leodasal2:
more power to your work sir!! :)
[Galaxy Y GT-S5360 Android Development] bumslayer:
So with your latest work, I have to reconfigure the kernel and compile the required netfilter mods as modules?
[Galaxy Y GT-S5360 Android Development] nothinkinc:
i must decompile and compile boot.img using cygwin?
[Galaxy Y GT-S5360 Android Development] kurotsugi:
i'm afraid we don't have 'cd' command. The script used to load the modules in init.d won't work.
[Galaxy Y GT-S5360 Android Development] mikstev:
Works here. Why do you think we don't have cd cmd?
[Galaxy Y GT-S5360 Android Development] kurotsugi:
my mistake...in my first test I've changed the sequence of your init.d files. when I change the sequence into 01 and 02 it works. thanks.
[Galaxy Y GT-S5360 Android Development] mikstev:
@all: please read the readme in the zip file. You don't need to compile anything. You need a program (mkbootimg) and a script (split_bootimg.pl). These need to be downloaded, links are in the readme. Then you need a boot.img e.g. from your latest stock rom. With a small script from me you get a new boot.img with init.d support. Now say thanks to irfanbagus. Install this boot.img, copy the kernel modules from my zip and the init.d scripts, check permissions, reboot.
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@mikstev: can I add a little addition for your explanation using dsixda's kitchen and cygwin here?
[Galaxy Y GT-S5360 Android Development] mikstev:
sure :)

Edit: maybe we can integrate it in the readme if you like.
[Galaxy Y GT-S5360 Android Development] irfanbagus:
How about create update.zip for install module and init.d script ? That would be 'balance' between noob and dev. I make one for cifs module in general sec. You can edit to match your modules.
[Galaxy Y GT-S5360 Android Development] mikstev:
Great idea! I'll learn a bit about it and then try to adapt your update.zip.
[Galaxy Y GT-S5360 Android Development] kurotsugi:
thanks for the permission. it is up to you if you want to put it on readme file.

for anyone who is working with windows and already have cygwin and dsixda's kitchen there are two method to make your kernel support init.d

first method: (make sure that you already have boot.img in your WORKING_xxx folder)

1. open kitchen menu (in cygwin type 'cd kitchen' then './menu'

2. enter 0 for advance mode

3. enter 20 for boot.img menu

4. enter w for extract boot.img (don't close the window)

5. rename init.rc.initd from mikstev to init.rc

6. go to 'EXTRACTED_BOOT' in /cygwin/home/kitchen/

7. copy init.rc to 'boot.img-ramdisk'

8. open your kitchen window, enter b for build boot.img

9. open WORKING_xxxx. you'll get a boot.img file with init.d support

second method:

1. put your boot.img in WORKING_xxx folder inside kitchen.

2. open kitchen menu (in cygwin type 'cd kitchen' then './menu'

3. enter 0 for advance mode

4. enter 17 for add /etc/init.d busybox run-parts

5. go to WORKING_xxx folder. you'll find a boot.img with init.d support.
[Galaxy Y GT-S5360 Android Development] mikstev:
Thanks, when I'm ready with the update.zip for the kernel modulea etc. I'll upload a new zip with your tutorial added to the readme.
[Galaxy Y GT-S5360 Android Development] mikstev:
Ok, I've added another file, see first post. Thanks to irfanbagus and kurotsugi. Didn't test the update.zip though but it should be fine.
[Galaxy Y GT-S5360 Android Development] Adam_Blade:
This is nice! I can modify my own boot.img :)

just one question, does this fix the battery issue?
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@adam: as long as you use stock kernel as your base, everything will be fine.
[Galaxy Y GT-S5360 Android Development] mikstev:
Dunno for sure but if the following assumptions I made are true then yes:

1. The issues are kernel related and don't occur in latest stock kernel but in the released/opensourced kernel.

2. The issues are not related to any of the added kernel modules.
[Galaxy Y GT-S5360 Android Development] mikstev:
And please everyone report after testing if it worked or if there were any problems.
[Galaxy Y GT-S5360 Android Development] bumslayer:
Thanks for the modules bro. All the while there I kept thinking if I am to use it with my droidwall-infused kernel when your idea was to use it with an original kernel. Good call. I hope it addresses the battery issues.

I am getting too old for this kind of stuff. No offense meant.
[Galaxy Y GT-S5360 Android Development] leodasal2:
just confirming..

i just need the droidwall support

so i just have to copy the lib and etc/init.d scripts right?? and set the proper permissions

what version would you prefer?? v1 or v2

ps: i'm using merruk kernel 2.0 pre-final release

update: modules working great!! tnx (pressed)
[Galaxy Y GT-S5360 Android Development] MitchAifa:
This sucks! My dog is better than this.
[Galaxy Y GT-S5360 Android Development] leodasal2:
instead of using that kind of language, why don't you make your complaint constructive :mad:
[Galaxy Y GT-S5360 Android Development] mikstev:
Yep, if you have a specific problem or question then ask and we'll try to help you. Btw how did you train your dog to perform a firewall? I tried to teach my dog to do this but didn't succeed. That's why I compiled the kernel modules etc. instead.
[Galaxy Y GT-S5360 Android Development] -CALIBAN666-:
awesome mods,today i have installed the update zipV2 on my Sgy with TermaRom+TermaKernel and i must say thats realy great.The Guide is great to understand,the installing from da module are very easy and it works like a charm,but i dont using Droidwall,i use it with Avast and it runs very well,thanks to all who has work on it,thanx addet on da first post.:Dp.s.,im waiting for next development.
[Galaxy Y GT-S5360 Android Development] mikstev:
Nice to hear :)

At the moment I don't plan any further development because I have no idea what could be changed or added. But if you have concrete ideas or wishes I'll have a look.
[Galaxy Y GT-S5360 Android Development] savie:
Working Under and Over Clock is nice idea :p
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
AWESOME modules man! Best way to prevent creepy stuff from connectivity!