yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Q&A, Help & Troubleshooting] siky_dude:
hmm

can`t tell if troll or just really lazy...
[Galaxy S I9000 Q&A, Help & Troubleshooting] danielcallme:
it is not Kernel issues

it is framework-res issues

it must be revised and recompile the framework-res because it is the bug from the original ROM
[Galaxy S I9000 Q&A, Help & Troubleshooting] hatori:
Try this, auto brigthness/sensor fixed for JVQ. Just unzip and copy to \system\lib\hw\.

Source from somewhere in General Forum, I cannot remember, sorry.
[Galaxy S I9000 Q&A, Help & Troubleshooting] demonstone:
As Cristobal Colon discovered America
[Galaxy S I9000 Q&A, Help & Troubleshooting] brfsa:
this should go to General Forum. :)
[Galaxy S I9000 Q&A, Help & Troubleshooting] KMino:
This belongs on 4Chan
[Galaxy S I9000 Q&A, Help & Troubleshooting] gomek111222:
Sorry about trolling the net but i was very annoyed when i wrote them:( I was tried all day but couldnt fix that problem. I will try that fix and thanks for your answers.
[Wildfire Android Development] jonas2295:
Hey guys,

I just started to port the wildfire s Rom which is gingerbread with 2. 1 sense to wildfire, but it doesn't boot :-(

I can't do logcat etc because I don't own a device so maybe someone can look into it and say what to fix and how and I will do this :-)

I know its stupid to port for a device you don't own but for my hd2 there is nearly every Rom ported ^^

If nobody can help I will have to stop this..

I removed not needed apps and enabled a2sd and dalvik2sd and deodexed and zipaligned everything, task killer script and used dsixda kitchen to port it...

link:

http://www.multiupload.com/8DA9Q5VJ9E

If u have some tips etc for me just send me a pm..
[Wildfire Android Development] Formiak:
Well , it has been already ported to WF and working quite smooth and good , but some of feautures doesn't work like bluetooth and so on...

What's more the resolution doesnt fit , so almost all smallest show pop's and apps must be resized .

Look more into this thread , there are some logcats , maybe they will help you a bit.

Here

and here is the project which has ruined down , but some dev took control under this.
[Wildfire Android Development] jonas2295:
The last one is based on salsa which is an other device but the first link I already saw but didn't notice its from wildfire s :-)

Okay maybe there is a way but I think its easier to do sth for my hd2e
[Wildfire Android Development] LinxAndroid:
well the resize is in the framework isnt it?

correct me if im wrong.
[Wildfire Android Development] jonas2295:
Which resize do u mean ?
[Wildfire Android Development] LinxAndroid:
Of the resolution for the ui , apps etc
[Wildfire Android Development] jonas2295:
i think u are right :D
[Wildfire Android Development] LinxAndroid:
Awesome! Im finally maybe right for once lol. And im only a theoretic developer atm. As my laptop is dead so im gettin a new one soon so i can put the theory into practice
[Wildfire Android Development] evilisto:
i think salsa is better choice as base because it has newer lockscreen and message app(similar to sense 3.0 :)).
[Wildfire Android Development] lol8888:
Yes maybe but the salsarom dont have weather animations in the htcflipclock.apk i think you can use the flipclock without weather animations on froyo ROMs too but im too lazy atm to copy the wildfire s based flipclock to the salsa based rom

But ethisch combination would be handsome
[Wildfire Android Development] gbesso:
I'll give this a shot during the weekend :)
[Wildfire Android Development] ford focus:
Any progres with this rom?
[Wildfire Android Development] jonas2295:
nope i can´t do anything because of missing device --> no logcat etc. :/
[Wildfire Android Development] rolks:
this is porting wildfire s to wildfire? if so, you say what to do, i will test it
[Wildfire Android Development] ucf4004:
I ported roms before and know how to do it, but it was not sense based rom. I think I can help you complete and test it.
[Wildfire Android Development] jonas2295:
That would be awesome mate :)
[Galaxy S I9000 Q&A, Help & Troubleshooting] eriktoft:
Hi,

How do I change my hotspot IP address? It can be done on htc legend, but I just do not see it on the sgs.

I need it for my AR drone.
[Galaxy S I9000 Q&A, Help & Troubleshooting] Canarygsr:
im looking to do the same thing. i have cyanogenmod installed
[Galaxy S I9000 Q&A, Help & Troubleshooting] jimbo77:
Use Openvpn services....
[Galaxy S I9000 Android Development] lownoise:
Well what do you do when you're bored and need some distraction .....Modify the stock kernel and include SU!

If you just search on the internet and especially on XDA than you find out that this is not so difficult.

The only purpose of this modified kernel is install SU and thus get ROOT

Why superuser and busybox are not installed by default is simple: it takes only 1 minute to download it from the market...

So here I give you the stock kernel + su/Root for XXJVQ/ XXJVR

installation:

1. Flash the tar file with Odin

2. Download superuser from the market and install it

3. Download Busybox installer from the market and install it

Credits to Supercurio, Hardcore, Liliniser for the tools and sources

Tutorial is Linux based!!!

So if i can do it than you can do it also!! All you have to do is read and follow post 2

Update 01/08/11 Added XXJVT

Update 01/08/11 Added Working XXJVR

Update 06/07/11 Howto add init.d support to the kernel (post 3)
[Galaxy S I9000 Android Development] lownoise:
Tutorial

1. Download and install the needed tools

2. extract de stock kernel to a temporary directory

3. modify the init.rc script to include your su install script.

4. add in the tmp folder busybox and su

5. add in the sbin directory your install script.

6. Recompile the kernel

7. Tar de kernel

8. Flash the kernel with heimdall or Odin

1. Download and install the needed tools

* Cross compiler: http://www.codesourcery.com/sgpp/li...eabi/arm-2009q3-67-arm-none-linux-gnueabi.bin and install it to /opt/toolchains/arm-2009q3/

* Kernel repacker made by Liliniser / dkcldark : Download from supercurio's github. with (if installed) git clone git://github.com/project-voodoo/kernel_repack_utils or goto the website https://github.com/project-voodoo/kernel_repack_utils and click on download.

* Download busybox,su and the install script from this post, and extract the files.

2. extract de stock kernel to a temporary directory

Copy the original zImage to de directory where you extracted the kernel repacker

Rename it to zImage.org

create a temp directory in the kernel repacker directory

Open a linux shell and go to kernel repacker directory

./extracter.sh -s zImage.org -d temp (hit enter)

3. modify the init.rc script to include your su install script.

Go to the temp directory and edit init.rc with your favourite editor and put this on a new line at the end off the file.

service install_su /sbin/install_su.sh

user root

oneshot

Save the file and exit

4. add in the tmp folder busybox and su

copy busybox and su to the tmp folder in your extracted kernel folder

make sure they are markt als executable.

5. add in the sbin directory your install script.

copy install_su.sh to the sbin folder in your extracted kernel folder

6. Recompile the kernel

Open a linux shell and go to kernel repacker directory

./repacker.sh -s zImage.org -d zImage -r temp -c gzip

congratulations you must cooked your first modified kernel

7. Tar de kernel

tar -H ustar -c zImage >code.tar

8. Flash the kernel with heimdall or Odin
[Galaxy S I9000 Android Development] lownoise:
Howto add init.d support to the stock kernel

Whell this is easy to implement;)

1. Open a linux shell and goto to the extracted kernel directory. (read post 2 howto do that)

add the following lines to the init.rc file

service initd_support /sbin/initd_support.sh
user root
oneshot

Save the file and exit

2. Create a new file in the sbin directory called initd_support.sh and add the following code

#!/tmp/busybox sh

if cd /system/etc/init.d >/dev/null 2>&1 ; then
for file in S* ; do
if ! ls "$file" >/dev/null 2>&1 ; then continue ; fi
/system/bin/sh "$file"
done
fi

Save the file and make it executable

3. repack the kernel (see post 2 for the howto)

4. on your device mount system Read/Writable and create the directory /system/etc/init.d

5. Copy your init scripts to /system/etc/init.d/

Make sure the name starts with a S, and set the permissions to 777

Example step 5/6

adb push Stweakscript /sdcard/
adb shell
su
/tmp/busybox mount -o remount,rw /system
/tmp/busybox mkdir /system/etc/init.d
/tmp/busybox cp /sdcard/Stweakscript /system/etc/init.d/Stweakscript
/tmp/busybox/chmod 777 /system/etc/init.d/Stweakscripts

7. flash the kernel
[Galaxy S I9000 Android Development] vladoots:
I'm sorry in advance.

But WTF?
[Galaxy S I9000 Android Development] lownoise:
If you only want to root your rom don't wait for devs to do it but do it your self:D
[Galaxy S I9000 Android Development] aorth:
Yes, and for learning purposes. :) Thanks for the tips, I was sitting down to do this on another phone the other day actually... it's good to see your ideas, I was getting pretty frustrated with the limited Android init environment (the toolbox commands are so limited!).
[Galaxy S I9000 Android Development] gpnda:
Thanks for this nice tutorial.Worked great!
[Galaxy S I9000 Android Development] Whistler_QD:
Great! Now we have good rooting kernel.

If I want root - I want root, not tweaks and other "shiny" things.

Cfroot breaks BT in some cases, Fuguroot breaks Kies connection.

Kernel which don't add Superuser.apk as a system application is the best choice - we don't have to delete other system files and there are updates of this app, so why should we have older version on /system and new on /data as an update?
[Galaxy S I9000 Android Development] specialex:
Can I do "adb root" on this kernel ?
[Galaxy S I9000 Android Development] lownoise:
Sure:D Just install superuser and busybox from the market
[Galaxy S I9000 Android Development] sebarkh:
Wooow! These are the sort of tutorials I miss here sooo much. It's a developer forum, but what we are getting here mainly are ready-products (roms, modded kernels). And why not to do it yourself. But sometimes googling for the information is not so easy, because applies to different conditions(devices, phone models, soft versions). There are many people who would spend their time learning how to compile a kernel or edit framework files. But there are so few tuts on this here... I miss tuts that tell how to do things step-by-step, without any specific linux/java knowledge.
[Galaxy S I9000 Android Development] lownoise:
And therefore I did it. Share the knowlegde and safe this forum;)
[Galaxy S I9000 Android Development] asicman:
Why doesn't XDA have more stuff like this?

Thanks OP!
[Galaxy S I9000 Android Development] vladoots:
Yes, I must thank you too.

Now I understand... Sorry for my initial confusion! :)
[Galaxy S I9000 Android Development] dago:
I've problem:

after applying script:

line 47: ./out/project/original.cpio -> no such files or directory

Any idea ?

Where is original.cpio files ?

Screen of error:
[Galaxy S I9000 Android Development] tuksedra:
tq man...!!
[Galaxy S I9000 Android Development] andifds:
man this is amazing, I was looking for something simple like this for months. It's right, should be more posts like these in xda
[Galaxy S I9000 Android Development] Vaira:
+1

Thank you very much for this, lownoise:)

We need more topics like that, since I am interested to learn myself...

Members posting tutorials like that are always appreciated, I cannot thank you enough.

Do you know how to replace the recovery 3e with 2e additionally?

It would be great to know since I want to have it CWM compatible (flash unsigned update.zip)

AFAIK recovery is a part of the kernel....

It would be great if you could point me to the right direction. :)

Others probably would like to know that as well.

Thanks again.
[Galaxy S I9000 Android Development] lownoise:
Which kernel did you try to modify:confused:
[Galaxy S I9000 Android Development] Stile35:
Two noob questions:

1. from where to copy zImage file? Where can I find zImage file?

2. How to open linux shell? Should I install linux shell application on my PC and run it or?

Sorry for such questions but I want to try.

Thanks.
[Galaxy S I9000 Android Development] lownoise:
You can almost follow the procedure in this thread to get 2e recovery.

http://xdaforums.com/showthread.php?t=813475&highlight=2e+recovery

Su and Busybox already Exist in the tmp folder, modify the shell script to the correct path's , and copy it to the destiniation.

Go for it:D
[Galaxy S I9000 Android Development] dago:
I use your kernel root JVQ ...

I tried with stock and works ! :)

But why ?

Script is "init" ? I d'ont find "init.rc"..
[Galaxy S I9000 Android Development] [Ramad]:
You are trying to extract initramfs of a non stock Kernel, that will not work. By the way, you should mention that in your post because the topic of this thread is about modifying a

stock

Kernel, not all Kernels.
[Galaxy S I9000 Android Development] titooo7:
Thanks for the howto lownoise.

It's understanble to wait till someone else do it, but it's better to build your own things :)
[Galaxy S I9000 Android Development] stepping:
Great Tutorial, thank you!

I tried to root the JVI-Kernel with a virtual Ubuntu on a USB-Stick. The only step i cant make is to install the cross compiler. Can somebody help me with detailed instructions?

And sorry for my bad english. :)
[Galaxy S I9000 Android Development] lownoise:
Open a linux shell and type

sudo ./arm-2009q3-67-arm-none-linux-gnueabi.bin
[Galaxy S I9000 Android Development] lownoise:
Init.d Support

Added Init.d Support:) See post 3
[Galaxy S I9000 Android Development] bub181:
Is there a procedure to modify a non-stock kernel? I wanted to make a small modification to chainfire's kernel and I got the same error.

And to add ext4 support is it just a matter of mounting the partitions with ext4 instead of rfs in the init.rc script?
[Galaxy S I9000 Android Development] Bo$s:
Thanks! Can you post tips/tutorial how to add 2e recovery or CWM3?
[Galaxy S I9000 Android Development] lownoise:
The provided software can't modify compressed kernels, but search for initramfs-utils which does the job,

Ext4 support is different , you have to included the ext4 module to add ext4 support, but if you want your partitions to be on ext4 instead of rfs you have to convert them. Look at the sources of supercurio how to do it
[Galaxy S I9000 Android Development] lownoise:
We have to some great kernel dev's who provide sources of there work (supercurio, hardcore) look at there sources and you can see how to add CWM3.

for 2e recovery i posted a link previously in this thread
[Galaxy S I9000 Android Development] Vaira:
It works if you know that the dev's initramfs.cpio is usually gzip'ed (I have heard that some are LZMA compressed, but slow at boot), after gunzip it you can decompress the initramfs.cpio. Header bytes of a gziped archive are 1F 8B 08

http://xdaforums.com/showthread.php?t=777380

Anyway it works slightly different at gingerbread kernels
[Galaxy S I9000 Android Development] bub181:
The gingerbread kernels have EXT4 support built in so you just have to add the correct mount options I think. I'm not sure if anything else has to be patched.
[Galaxy S I9000 Android Development] sebarkh:
Regarding point 2: What should be the name of a file?
[Galaxy S I9000 Android Development] lownoise:
Good point:)

The filename should be initd_support.sh

Post 2 updated;)
[Galaxy S I9000 Android Development] sebarkh:
Wooow! I made a good point. ::

So, I'm seconds away from flashing my kernel!!!

So happy!

Let's seee if it works....
[Galaxy S I9000 Android Development] sebarkh:
OMG OMG OMG OMG !!!!!!!!!

It works It works It works!!!

And it's so easy!

No more waiting for supercurio/hardcore etc.. for root for new kernels...

:)))))))))))))))))))
[Galaxy S I9000 Android Development] sebarkh:
It would be also great if we had a detailed/noob guide for adding CWM.. I know there are some links somewhere, but I tried and nothing worked so far...
[Galaxy S I9000 Android Development] sebarkh:
What is "shell script"?

Hey, stop laughing! I'm a noob, I know!

What to edit? Exactly? recovery script? If we copy everything as it is in the archive to the correct paths then what to change and where?
[Galaxy S I9000 Android Development] lownoise:
I don't have the time to test it by my self but what i should have done is: :)

download the recovery 2e from this thread http://xdaforums.com/showthread.php?t=813475&highlight=2e+recovery

Extracted the files.

copy the needed files to the phone

edit the recovery script and remove the lines with cp and rm

if you have installed busybox fromt the market then it's already installed in de sbin directory!

Reboot to recovery and see if it works:confused:
[Galaxy S I9000 Android Development] Vaira:
2e recovery: AFAIK the addresses for the keys are different. Even if you should get it into recovery 2e you would not be able to control it by keystroke without the correct addresses.

Better try to add cwm 3.2.0.0 from koush.
[Galaxy S I9000 Android Development] lownoise:
Updated the OP post with XXJVR kernel:)

Keep in mind not tested!
[Galaxy S I9000 Android Development] titooo7:
I'm trying to flash the JVR one but it get stuck on

<ID:0/003> zImage

I tried three times and always the same result :confused:
[Galaxy S I9000 Android Development] gradash:
same result, & firmware after it is destroyed... reflashing...
[Galaxy S I9000 Android Development] lownoise:
There was something missing in the init.rc script.

If you feel lucky please try again
[Galaxy S I9000 Android Development] titooo7:
Still doesnt work... stuck exaclty in the same place: <ID:0/003> zImage
[Galaxy S I9000 Android Development] manager77:
doesn”t work XXJVR....what is wrong?
[Galaxy S I9000 Android Development] lownoise:
Dammm, could try version 1.2 ?
[Galaxy S I9000 Android Development] titooo7:
ok, will test it in a minute
[Galaxy S I9000 Android Development] djdeeles:
Again not working v1.2
[Galaxy S I9000 Android Development] titooo7:
v1.2 worked for me now, thanks!

Starnge that it didnt work for djdeeles...

Maybe it's because I was already root with cf-root jvq? I don't know, but it works now :)
[Galaxy S I9000 Android Development] markdj57:
I take it that you flash the tar file in odin by putting it in the PDA box??
[Galaxy S I9000 Android Development] djdeeles:
Flashed but superuser not working :s no root rights
[Galaxy S I9000 Android Development] markdj57:
Do you install this to the PDA box in Odin? I tried it but there is still no SU access...
[Galaxy S I9000 Android Development] h4m74ro:
Tried v1.2. But got no root
[Galaxy S I9000 Android Development] manager77:
same here....
[Galaxy S I9000 Android Development] HRN93:
No root too...
[Galaxy S I9000 Android Development] h4m74ro:
OK, this worked.

First, flash CF-Root JVQ. Check that you have root. Then flash "zImage XXJVR v1.2.tar" for stock kernel.
[Galaxy S I9000 Android Development] titooo7:
As it's stated in the first post you need to install superuser and busybox from the market...
[Galaxy S I9000 Android Development] h4m74ro:
I did that
[Galaxy S I9000 Android Development] titooo7:
And you simply still don't have root or your galaxy hanged while flashing the kernel on Odin?
[Galaxy S I9000 Android Development] si3wc4:
I'm trying to root JVR but it stuck in ODIN while trying to flash kernel...
[Galaxy S I9000 Android Development] HRN93:
For me it works:

- flash stock JVR

- Then go to download mode and flash JVQ's CF root kernel

- and finally flash the JVR 1.2 Kernel,
[Galaxy S I9000 Android Development] lownoise:
Damm, My build environment was corrupt:mad:

version 1.3 uploaded
[Galaxy S I9000 Android Development] francomile:
with fuguroot procedure did´nt manage to root either. I´m going back to miui for now :D
[Galaxy S I9000 Android Development] markdj57:
Should I reflash JVR and then flash this putting it in the PDA box?

TIA
[Galaxy S I9000 Android Development] manager77:
no root!!...how is that?!
[Galaxy S I9000 Android Development] lownoise:
Just flash this one with Odin
[Galaxy S I9000 Android Development] markdj57:
Hi

Thanks for reply. I am using odin but I am asking if I put the v1.3 file in the PDA box in Odin?

I have just tried this and while Odin says success and the phone reboots fine (startup sound still there) the Spueruser app and busybox app report no root access :-(
[Galaxy S I9000 Android Development] lownoise:
Alright something went completely wrong.

For now i've removed the attachments:mad::mad:
[Galaxy S I9000 Android Development] irondevil:
if you can add a tutorial to add recovery in kernel would be wonderful i tried to understand by unzipping other kernel but it's not possible...

anyway thanks for u work
[Galaxy S I9000 Android Development] nalu_pl:
@lownoise are You going to include properly built JVR kernel?
[Galaxy S I9000 Android Development] lownoise:
Yes of course ;)

The confirmed working version is in the first post:D
[Galaxy S I9000 Android Development] xxbeanxx:
I have been looking for this information for a long time. I could never quite figure it out on my own. Best post I've read on this forum by far.

A million thanks.

EDIT::Just noticed that my /system has 0 free bytes and my su binary is 0 bytes. Oops, looks like I'm going to have to delete a file to get this working.

EDIT::Changed the install script to rm Dlna.* and Layar-samsung.* from /system/apps and now I have a working su. Does anybody know of any more useless files that are not apps? I want enough space to install busybox and adfree's hosts file.
[Galaxy S I9000 Android Development] absro:
I had the same issue (0 free on /system) with XXJVP; I reflashed the phone, but using 513.pit and it seems to work (I read somewhere that 513.pit has more free space on /system partition).
[Galaxy S I9000 Android Development] Oletros:
I have XXJVR, XXJVR 1.3 version doesn't install su and I try to flash XXJVQ with su with Odin and it get stuck downloading:

<ID:0/007> Added!!

<ID:0/007> Odin v.3 engine (ID:7)..

<ID:0/007> File analysis..

<ID:0/007> SetupConnection..

<ID:0/007> Initialzation..

<ID:0/007> Get PIT for mapping..

<ID:0/007> Firmware update start..

<ID:0/007> zImage
[Galaxy S I9000 Android Development] lownoise:
Hmm I've XXJVR running on my own I9000 And it will install su for you.

Did you download superuser from the market??
[Galaxy S I9000 Android Development] Oletros:
Yes, I have downloaded superuser from market.

Even I tried to update su app from Superuser app.

And even I have tried to recompile zImage and no luck
[Galaxy S I9000 Android Development] lownoise:
The included busybox version is not optimal compiled the size is to big!!

if you want to automatically install busybox you've to compile it from source or find a smaller one.
[Galaxy S I9000 Android Development] lownoise:
hmm I dont have much spare time on this moment but you never know;)
[Galaxy S I9000 Android Development] lownoise:
Strange:confused: Do you have enough free diskspace on system:confused:
[Galaxy S I9000 Android Development] Oletros:
I think that this can be the problem.

How can I delete Layar or Aldiko apps on your init.rc script?

I will try to recompile zImage and delete something before installing su
[Galaxy S I9000 Android Development] BlueKnight83:
Hi man, thank for your work!

Can you help us to install CWR in the firmware? Is it so difficult?

THANK!
[Galaxy S I9000 Android Development] Oletros:
Yap, I don't have enough space

Filesystem Size Used Free Blksize

/system 275M 275M 0K 4096