yashsingh1/xdaforums huggingface dataset:
[G1 Q&A, Help & Troubleshooting] HellOfABlackHat:
Hello,

Tried to look up some answers to my problem, however I'm not sure exactly what is wrong which makes any troubleshooting rather difficult.

I bought a new ADP1 a few months ago. I haven't had much time to play around with the phone, have just been using it stock and haven't even added any applications. There has been no physical damage to this phone, no drops etc.

Yesterday the phone locked up when I was using the browser and would not function. When I would try and reboot it, it would lock up at the first android screen and would fail to start up. I ended up doing a hard reset to factory defaults and the phone finally booted. After setting everything up again the phone seemed to be working fine.

A few hours later it locked up again while using the browser. This time no reboot/safe mode/factory reset would get it to boot. I can't even get to recovery mode or even get the phone to attempt to boot up. The screen remains black and the phone will not power on. It won't even charge when I plug it into the charger.

Not sure how to proceed here and I can't seem to find any information in regards to RMA, it is still in warranty.

Any help would be greatly appreciated.
[G1 Q&A, Help & Troubleshooting] ilostchild:
Take out the battery for hour or so put it back in and try again.. but this sounds like my issue What happen to Me is my mobo was crapping out and eventually just died on me
[G1 Q&A, Help & Troubleshooting] HellOfABlackHat:
Yeah, the mobo going to **** was my original thought.

I already tried taking out the battery last night for about 3 hours, it still didn't work.

Guess I'm going to have to look into an RMA, I hear they are a pain in the ass. The phone is still within it's 1 year.
[G1 Q&A, Help & Troubleshooting] ilostchild:
Yea I would get that done quick

Sent from my Nexus One
[Galaxy S I9000 Android Development] Case_:
How about pulling the config directly from the device, did you try that? (BTW I didn't get to compiling just yet, I only have SGS for two busy days now, so no direct experience yet, just asking).
[Galaxy S I9000 Android Development] husq510:
dont know if and where the config is stored on SGS, apparently theres no .config
[Galaxy S I9000 Android Development] aditya_t90:
I have downloaded the AOSP eclair build and am trying to compile it.

It's still compiling.

I believe(stress on believe) you have to download the Samsung firmware from wesgamer and he has a sh file that gets rid of dream and other htc code.

Also he might have a different config

I am not experienced at android rom compiling.

Please take extreme care with whatever you do.

HOLY CRAP!!! I'm so sorry. I must have missed the readme.txt

Follow neldar.
[Galaxy S I9000 Android Development] neldar:
If you have the latest sourcecode from opensource.samsung.com

then you should take a look into the README.txt and build_kernel.sh.

Everything you need to know to successfully build the kernel + modules is described in these files.
[Galaxy S I9000 Android Development] Case_:
Yeah, sorry, I thought it could be pulled from /proc/config.gz as usual and didn't verify, but as I see now with adb, apparently Samsung has this disabled in their kernel.
[Galaxy S I9000 Android Development] vibez:
I've compiled the kernel as per the readme file, but after I flash it, I get a kernel panic. Are there any other steps needed that are not in the readme? The kernel I created is around 2.5mb
[Galaxy S I9000 Android Development] jodue:
you need the initramfs (contains the initial / with drivers and other stuff). check out this http://forum.samdroid.net/wiki/show...amsung+Spica+i5700?highlight=zImage+initramfs it's not for the i9000 but it works like that. you just have to take the other initramfs.

hope this helps, i just got it finished here myself :)

edit:

* my zImage is 6051460 bytes ...

* the right initramfs is also on leshak's git. explanation is on samdroid.net
[Galaxy S I9000 Android Development] gettons:
Hi there,

I 've followed the instrucions in the README.txt.

No errors, but my zImage is just 2.5 mb

I assume the .config which is in the linux-2.6.29 directory is default one.The only change I made is to enable USB_ETH for RNDIS support.

make menuconfig

then

build kernel

Am i missing something?

I recompiled serveral time the linux kernel on standard computers, this time it might need a different setup.

thanks

Found that there is this useful discussion already

http://xdaforums.com/showthread.php?t=727357
[Galaxy S I9000 Android Development] jodue:
please read before posting! you are missing initramfs as i wrote in my post above yours!
[Galaxy S I9000 Android Development] vibez:
I'm getting confused with the linking of capela_defconfig

Can anyone explain in more detail please

EDIT: Ok it seems the build script is overwriting whatever I set in the .config file

EDIT 2 Ok it seems .config gets overwritten by contents of arc/arm/configs/aries_rev03_defconfig

So I added the 3 lines about initramfs to the aries_rev03_defconfig and changed the path to now point towards the source downloaded from github. Compiling now....
[Galaxy S I9000 Android Development] jodue:
ups. sorry. delete plz anyone?
[Galaxy S I9000 Android Development] jodue:
yeah i had this too so i didn't use the build_kernel.sh script. just make ARCH=arm CROSS_COMPILE=tool-chain-path_and_prefix after make menuconfig. worked like a charm. have you tried to boot your kernel yet? :D
[Galaxy S I9000 Android Development] vibez:
No I still get a file 2.5mb in size :(

Can you point me in the right direction?

Which config file are you using?
[Galaxy S I9000 Android Development] raspdeep:
anyone has a mirror of the source code #2 posted sometime back? samsung hv removed from their site.. dont know if the current source code is the old or new code (#2)..
[Galaxy S I9000 Android Development] jodue:
i did a "./build_kernel.sh Clean"

then i made "make menuconfig" and set the initramfs from leshak. you have to modify the initrd.arm.initramfs_list file to fit your file tree.

after that i did the make .... in the "linux-2.6.29" directory

edit: i did not change the .config file!

i think the currently available code is the newest one. it's slightly bigger and contains the build scripts/readme etc. additionally i had problems with uncompressing the code with the linux zip program. i suspect the archive was damaged somehow...
[Galaxy S I9000 Android Development] husq510:
mine is 6MB, using the .config default and leshak initramfs and just make ARCH=arm CROSS_COMPILE=path-gcc

didnt use build_kernel.sh at all.
[Galaxy S I9000 Android Development] neldar:
If you want to change the .config, then you should run once build_kernel.sh and then comment out line 75 in build_kernel.sh ;), like this:

#make ARCH=arm $PROJECT_NAME"_rev"$HW_BOARD_REV"_defconfig"

This will keep your .config and you could still use build_kernel.sh.
[Galaxy S I9000 Android Development] vibez:
Thanks, I've commented out that line and it seems to be actually trying to load initramfs now :)

Ah, I didn't realise the contents of this file needed to be edited too (I see now it's pointed to leshak's folder tree). So i've made the changes to point to my initramfs dir and recompiling now. Fingers crossed this time.....

EDIT

Success! I now have an image 6003928 bytes in size :) Thanks for all the help!

Right, any tips on how to patch in ext4 support?
[Galaxy S I9000 Android Development] jodue:
i flashed my kernel before and it does work quite well. i am not able to root with the update.zip however. adb gives me root access to the device but i can not get root directly on the phone (#su gives me "su: uid 10085 not allowed to su"). this is quite strange because the root methods works well with the stock kernel...hm
[Galaxy S I9000 Android Development] vibez:
Very strange, which firmware you running?
[Galaxy S I9000 Android Development] jodue:
JM2. do you get root with your self-built kernel?

edit:

i forgot to mention ext4 support:

make menuconfig

file systems->ext4

you have to select it till you see (*), (M) means that i will be compiled as a module and you don't want that :D
[Galaxy S I9000 Android Development] jodue:
another tweak seeks to be cpu-governor "ondemand" instead of "conservative" ... i guess it is a bit more battery intense but not as laggy when unlocking the screen :)
[Galaxy S I9000 Android Development] vibez:
My phone currently has Froyo installed so it would mean me having to spend a few hours backing up and flashing eclair again. I don't currently have much time at the moment so will probably hold off a few days before I can test my kernel. I'd be willing to upload it though if you want to test yourself?

Is that really all we need to do to enable ext4 for the lag fix? I presumed we would have to modify the kernel to boot from the SD card somehow
[Galaxy S I9000 Android Development] vibez:
Good tip! Have you tried the overclocking tweak yet?
[Galaxy S I9000 Android Development] jodue:
no. what the lag-fix does is to mount the ext3/4 partition on the sdcard onto /disk/ during the boot process. the captivate guy's did this without changing the kernel just by replacing the boot-animation program with a script that executes /data/local/userinit.sh first and then runs the boot-animation. in this userinit.sh you can place any script you want to run during the boot process. i try/do this when i get my 16gb sandisk ...

no ... i don't really know if i want to mess with that atm :) ... my motivation is to get a little more experience and then try to get a newer kernel (e.g. 2.6.33) up and running ...
[Galaxy S I9000 Android Development] vibez:
Thanks for the info, good luck with your tweaking :)
[Galaxy S I9000 Android Development] DiP7:
Mac:GalaxyS $ ./build_kernel.sh

************************************************************
* EXPORT VARIABLE	*
************************************************************
PRJROOT=/sgs/kernel/GTI9000/GalaxyS
PROJECT_NAME=aries
HW_BOARD_REV=03
TOOLCHAIN=/sgs/kernel/GTI9000/GalaxyS/arm-2010q1/bin
LD_LIBRARY_PATH=.:/sgs/kernel/GTI9000/GalaxyS/arm-2010q1/bin/../lib
************************************************************

************************************************************
* MAKE PACKAGES
************************************************************
* 1. kernel : zImage
* 2. modules
************************************************************
************************************************************
* BUILD_KERNEL *
************************************************************

/sgs/kernel/GTI9000/GalaxyS/linux-2.6.29 /sgs/kernel/GTI9000/GalaxyS
/sgs/kernel/GTI9000/GalaxyS/arm-2010q1/bin/arm-none-eabi-gcc: /sgs/kernel/GTI9000/GalaxyS/arm-2010q1/bin/arm-none-eabi-gcc: cannot execute binary file

error

arm-none-eabi-gcc: cannot execute binary file

not works on Mac?
[Galaxy S I9000 Android Development] raspdeep:
did u manage to resolve this? i hv the same problem..
[Galaxy S I9000 Android Development] jodue:
no. but there were more severe problems with the kernel. it works fine as long as the device doesn't get into standby(black screen) for longer than about 30 seconds. after that it won't come back on again. really strange! did you have this problem as well? which cpu governor did you use for our oc-kernel? i use "ondemand" ... any other changes to the default config?
[Galaxy S I9000 Android Development] husq510:
try another su binary, its probably related how you root the device.
[Galaxy S I9000 Android Development] neldar:
I have the problem, that my compiled kernel with the initramfs from here doesn't flash with odin.

Odin stuck at

<ID:0/009> Added!!

<ID:0/009> Odin v.3 engine (ID:9)..

<ID:0/009> File analysis..

Does anyone know why? What did I wrong?
[Galaxy S I9000 Android Development] husq510:
Did you use initrd.arm.initramfs_list provided with leshak initrd?
[Galaxy S I9000 Android Development] neldar:
Well, no. :)

But i'll try that.

In the kernel config it says, just the cpio is enough.

So i downloaded it from the above link and unzipped it.

Edit:

That was the mistake, thank you. :)

Now it works.

Edit2:

I've attached an working initramfs.cpio. (stock with included initrd.arm.initramfs_list)
[Galaxy S I9000 Android Development] kristrev:
Hi,

I have been following the steps in this guide, and have gotten as far as the actual flashing. After editing the .config to include initramfs (and my modifications) and compiling the kernel, I ended up with a 6MB zImage that I added to the .tar file of the firmware I wanted on the phone.

However, after having flashed with Odin (CODE as PDA, MODEM as PHONE and CSC as CSC), the SGS complains that it can't mount /dev/block/stl11 (with the error message No such device). I wondered if anyone else has encountered this and how they solved it, or if I have done something wrong when flashing/compiling?

Flashing the phone back to any of the stock firmwares works perfectly.

-Kristian
[Galaxy S I9000 General] tstee3:
I flash to JP3 yesterday :) Error with the wifi tethering :confused: Is anyone having this problem
[Galaxy S I9000 General] andrewluecke:
Yep.. seems to be a known issue. Honestly, I have already returned to JG5 again. There aren't really any benefits to me for using Froyo yet.

Unrelated info, it's stuff like this which is why companies don't publicise their beta programs (because otherwise they get flooded with hundreds of duplicates of the same bug report).
[Galaxy S I9000 General] dan 6a:
Yet they sell it with GPS not working well at all for about half of users though..
[Galaxy S I9000 General] tstee3:
at this moment I thing JG5 still the best :)
[Galaxy S I9000 General] andrewluecke:
That's true, but the fact is most of us probably bought it soon after opening night, and would still again.. I would.. GPS will get fixed, but anyway, my point is, if they officially open the beta program, they need to officially accept bug reports for them. That's probably why they instead leak firmwares instead.
[Galaxy S I9000 General] tootpop:
Yeah think jp3 is also too lag for me!
[Galaxy S I9000 General] speedweed:
I use JM2, its fast, and no bugs for me :)
[Galaxy S I9000 General] Ancient_One:
JM2 root here and perfect at this end.
[Galaxy S I9000 General] appelflap:
On JG5, i noticed, voices on the other end of a call are sounding very distorted over a bluetooth connection with a car-kit.

I read that there are some severe battery drain problems on JM2. True?
[General Topics] ajeetraina:
I am in verse to connect my Windows Mobile 6.1 to Fedora 11 Box. I have Dell Inspiron 1525 model on top of which I have fresh fedora Installed.I installed Wine and Activesync and it got installed successfully. Now when I am trying to connect it shows all the COM1/COM2/COM3/COM4 not available.While I run:

Code:

[root@localhost ~]# setserial -g /dev/ttyS[0-4]

/dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4

/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3

/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4

/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3

[root@localhost ~]# ^C

[root@localhost ~]#

Is this output related to COM ports (suggest me if I am going wrong)?

How can I check COM port status? How to enable it under my laptop?
[XPERIA X10 General] naveen_reloaded:
I recently fiddled with the setting ... and now my default browser alone is working ..

when i try to browse with Opera Mini i says - network error , i tried swtiching between HTTP and Socket , but same result

Market also giving me same error

i have juice defender ... ,but i totally disabled it and tried to connect , but still its not working

what could be the issue ?
[HD2 General] likwid25:
can someone please tell me how to disable my location for weather in the registry.?
[Touch Diamond CDMA] ziddo:
Guys, I have a Sprint HTC Touch Diamond which is flashed to cricket, but I can only talk and text. Is there a way I can get MMS and Mobile web to work? I have tried to install some of the cabs listed here, but none of them has worked. I have tried a couple of Cricket stores and they keep saying they can't fully flash Sprint HTC Touch Diamond. I know there are guys in here who have been able to get Cricket MMS and Mobile web working on Sprint HTC Touch Diamond.

Many thanks folks
[Touch Diamond CDMA] sirbyte:
a little help

really guys no help for him at all :eek:

ok this is my first post i just read them for the info i need but i saw your post with no reply.

i did one for my kid got her a htc diamond and i flashed the mighyrom for cricket on it .

the internet worked when we had it activated on cricket. i have read that sometimes you have to call and ask them to reset your acct to get it to work.

for info on getting mms to work try here.thecricketmafia.com/

i wish i could give you a step by step but i reformated my system and forgot to save my bookmarks.

use the search here and howard forums for the info you need.

hope his helps
[Touch Diamond CDMA] cnewman402:
short advise comment-- Pegasus ROM for cricket.

Your internet will work, your text will work, your GPS will work.

I got 3.0 PRO running and it was the best most well scripted ROM I have found ever.

I have tried over 50 ROM's easily ffor two seperate HTC phones on cricket. Pegasus by far is the best out of the box.

showthread.php?t=578478
[Touch Diamond CDMA] thesteve42:
I second Pegasus.

even the stock sprint rom will work if properly configured.

your epst settings are critical for working web/pix

on the stock rom you have to remove cmguardian before your settings will stick in windows.
[Touch Diamond CDMA] ziddo:
Could you please tell us a step by step instructions on how to configure the STOCK rom.

My phone is running on ROM Version 2.00.651.7 and I really wanna have cricket web and mms.

Many thanks!!
[Touch Diamond CDMA] thesteve42:
do a search for ryan mogul cricket settings.

it should cover everything.

the diamond is basically the same as its predecessors.
[Galaxy S I9000 General] Enarca:
When my battery goes bellow 10%, I can't listen to my music or the radio. Is there anyway to bypass this?
[Galaxy S I9000 General] exadeci:
I'm looking for something like that I want to be able to use all my battery if I want to !!!!
[Galaxy S I9000 General] Pneumatic:
I aagree. If I have 10% and want to burn it on music I should be able to.
[Galaxy S I9000 General] Kpkpkpkp:
It does that for other apps too, like the camera
[Galaxy S I9000 General] Rawat:
And video too
[Galaxy S I9000 General] saldawop:
I posted the same thing a while back...somewhere.

Was told that it was to protect the SD card from becoming corrupted if it turned itself off whilst playing music/video from said card.

Whether that is true or not I dont know...but, that is only with the stock music/video players.Download a 3rd party app and you can carry on playing below 10%.
[Galaxy S I9000 General] fiendHD:
Seconded, I use spotify as the music player and when i get below 10% I usually chill with some music until it becomes quiet and it's time to recharge.
[Captivate Android Development] Postal76:
Didn't work for me. I partitioned my external SD card, flashed the speedup2 kernel, then ran the commands you posted, replacing 'ext3' with 'ext4'. My quadrant score is still in the low 900's.

Can you explain exactly what those commands do? The mimocan fix makes a lot more sense to me. Why did you decide to take a different approach?

Thanks for your help and effort!
[Captivate Android Development] ranova:
I get 1716 scores in quadrant, but with real world running tests Touchdown and Dolphin HD browser still lag like holy hell.

I originally had the "method 2" hack (moving apps to the NAND) and that worked wonders, especially with these apps.

Can anyone test these two applications and see if there is lag for you?

Dolphin - try opening a new tab, closing it, and goto a large page and scroll with the volume buttons - it should all be smooth and quick

Touchdown - It should be very quick going between emails, I get a 5+ second delay before showing the email

Also in Quadrant, even though I get 1700 scores, do you guys get stuck at I/O Database writes for a good 3+ minutes?
[Captivate Android Development] spyz88:
The captivate speedup kernel link is dead. Can soneone please post a mirror? Thanks
[Captivate Android Development] _Opiate_:
Worked great for me using ext4 partition/kernel. It brought my quadrant to 1817! Thats with a poor little 4gig, class 2 micro sd card. Im also running the i9000 JM2 firmware with Samset 1.6.

Thank you for all your hard work!!!! My phone is now complete (for now lol).
[Captivate Android Development] _Opiate_:
Might be tome for you to pick up a new SD card. I have used both fix's and find this fix to be way better. I get no lag in Dolphin HD.
[Captivate Android Development] ranova:
Its a brand new Kingston 8gb class 4 card, havent used it before applying this hack
[Captivate Android Development] NukaCola:
All you do is copy the files from your original /data partition onto the root of your ext{3|4} partition on the sdcard. Then that is mounted on reboot ontop of /data so you can use the new data partition from your card.

I feel this is a MUCH cleaner method than the original Mimocan fix, that copis a full copy of data into the root of the device (unnecessary backup since you still have your original /data partition as well), then it mounts your sdcard on /disk and symlinks that to /data.

I just don't see the need for the symlinks and stuff and honestly I thought this was a simpler method, no symlinks or anything.

If you arent seeing any speedups I'm betting something didn't go right, you are probably still running of the old /data partition. Are you sure you are running the speedup2 kernel and not the ext4 only kernel?
[Captivate Android Development] NukaCola:
It seems to work from here...
[Captivate Android Development] spyz88:
Except the Quadrant scores do you notice any real speed boost?
[Captivate Android Development] NukaCola:
yeah database I/O takes forever still.

Like I said in the other thread, try to reinstall the apps, Dolphin is very very fast here (thanks for getting me a new browser btw.)
[Captivate Android Development] Anthonok:
I'm still a complete failure and now i get stuck at the galaxy s boot screen
[Captivate Android Development] SlimJ87D:
Nuke, after doing the ext4 only method, I only get quadrant scores of 900.

Am I doing something wrong? I go through all the steps fine and everything seems like it went well but it seems like I'm doing something wrong down the line.

one thing I do notice is that I have A LOT MORE AVAILABLE MEMORY in advanced task killer. I use to only have 100 now I have 180MB.

Is it crucial to have to flash the Speedfix2?
[Captivate Android Development] igm503:
after i put in

busybox cp -a /data/*

nothing happens it just sits there
[Captivate Android Development] ranova:
that part took like 15 min for me since I have a lot of application and app data
[Captivate Android Development] igm503:
but there is no trailing dot it just repeats what i typed and then leaves a blank space
[Captivate Android Development] Anthonok:
same thing it just repeats it
[Captivate Android Development] jsmith8858:
What do you mean by "there is no trailing dot" ? Did you type it in? You need to include the trailing dot in your command; based on what you posted it appears you did not do that.
[Captivate Android Development] SlimJ87D:
WOW! Okay... So now I'm getting 1756...

You just have to leave Quadrant on for like 15 minutes sometimes! This is very strange!
[Captivate Android Development] Fortune090:
Notice the period after the asterisk. In the old forum, someone had a problem with that.

I did this fix last night after countless times of my messing up and figuring out how to partition with my phone still being able to read the card, flash problems with Odin, etc etc. I'm using an 8gb Classic 6 and just got an 1805 in Quadrant, and the phone is incredibly, noticeably faster. Did have some weird app problems when it was first applied, but some reinstalls fixed it. Thanks again Nuka! :)
[Captivate Android Development] NukaCola:
Well I'm currently sitting around with the phone-!-computer icon (well actually in download mode) trying to get windows to recognize the damn device.

I'm severely frustrated with the whole odin/windows situation, it is a huge time sink because of this epidemic suckage.