yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Q&A, Help & Troubleshooting] petunya:
sorry, i didn't understand ((
[Galaxy S I9000 Q&A, Help & Troubleshooting] malmas:
I am having following error on my SGS1. Can anybody help?

-- Copying media files...

E:failed to mount /sdcard (File exists)

E:copy_dbdata_media:can't mount /sdcard

your storage not prepared yet. please use UI menu

for format and reboot actions
[Galaxy S I9000 Q&A, Help & Troubleshooting] Aleziss:
When did you get that trouble ?

Hey malmas, I also have a SGS1... mine is doing the EXACT same thing as yours...

The thing is that my phone was original with no root and no custom rom... it simply died by itself sitting on the dining table... I heard the startup melody song and my phone now reboot constantly...

Was your phone stock too ? I was just wondering if I am the only person that this happend with a stock phone...

I see a lot of people having this issue after trying to modify their phones and I was starting to wonder if they were getting that error because they tamper their phone or it just died like that (like mine did)...

My warranty is out since 2½ week (got my phone on feb 29 2011)... I know have a 320$ paper weight... and I need to pay that 320$ balance of a non working phone to my service provider... :mad:

I have tried to reflash the original stock firmware back to android 2.2, now my phone is not stuck in the reboot loop but I lost the service provider logo splash at startup and now after the galaxy S logo flyby, I now get a blank screen...

Something have change in recovery mode though, I now have an option in to format the internal sd card but when I try this option, I always get the same error message that the internal sd card is not mount and to use the UI menu which I have absolutely no idea what it is and where it is...

Hope someone will be able to find a solution...
[Galaxy S I9000 Q&A, Help & Troubleshooting] nsnobel2:
Faria,

Will you not share your idea here to fix this?:(
[Galaxy S I9000 Q&A, Help & Troubleshooting] zodiaxe66:
Flash a stock rom with odin or search ebaze 3.0 rom and follow instuctions.

"Ramad " has a thread here on xda or go to samfirmware. Com

Flashing a rom with Odin will fix almost any partition fault.

@aleziss..have u tried partitioning your SD card. This can be done from recovery,go to advanced partitioning and press yes and select the 2 largest options,i think it is 256 and 1024
[Galaxy S I9000 Q&A, Help & Troubleshooting] bikramtuladhar:
well guys..after flash root by cf-root which is build for you firmware, then start in recovery. Make sure you have install all device driver and start adb, the just comfirm these blocks are present or not.

1. adb shell

2.cd dev

3.cd block

4.ls

5. You will see lots of block, if you see only mmcblk0 then you'll have to repartition from parted command. That mean these is messed up partition table.

6.if you didn't see any mmcblk0 or mmcblk1 partition, insert external sdcard and again type cd dev, cd block, ls, if you see mmcblk0 after insert ext sdcard that mean your internal sdcard been completly damage not accessable by system anymore so it detect ext-sdcard as internal,

7.partition your ext sdcard into 3 partition 1st fat32 , second fat32 and last ext4 or ext2.

8.insert partitioned sdcard and flash stock rom and you mobile will bootup.
[Galaxy S II Themes and Apps] RyanZA:
Very basic guide to extract the initramfs from the zImage, as well as a dump of the initramfs inside I9100XEKDB firmware.

Q: Why? This is simple!

A: Might help someone out! :D

Linux Bash script follows (standard initramfs extract script) :

pos=`grep -F -a -b -m 1 --only-matching $'\x1F\x8B\x08' zImage | cut -f 1 -d :`
dd status=noxfer if=zImage bs=$pos skip=1 2>/dev/null| gunzip -q > kernel.img
start=`grep -F -a -b -m 1 --only-matching '070701' kernel.img | head -1 | cut -f 1 -d :`
dd status=noxfer if=kernel.img bs=$start skip=1 > initramfs.img 2>/dev/null
mkdir initramfshere
cd initramfshere
cpio -i --no-absolute-filenames < ../initramfs.img
ls -l

I9100XEKDB initramfs: http://www.sgscompilebox.dreamhosters.com/initramfs.tar.gz

Repacking should be easy as well, but I haven't tried to boot a kernel I have repacked myself yet. Since Chainfire has a root kernel posted, it should work without issue though -- and these are standard linux kernels after all.

Grab the kernel repacker from http://www.sgscompilebox.dreamhosters.com/repacker.tar.gz

Following bash script to use it:

end=`repacker/findcpio.pl kernel.img | cut -f 2`
(cd initramfshere/; find . | cpio --quiet -R 0:0 -H newc -o > ../newinitramfs.img)
gzip -f9c newinitramfs.img > newinitramfs.img.gz
repacker/kernel_repacker.sh zImage newinitramfs.img.gz

Might need some tweaking depending on your system, but this will hopefully get you started. You can use this to create your own root kernels as Chainfire has done, or modify as you want. Refer to the Q&A above! :)
[Galaxy S II Themes and Apps] supercurio:
Hi,

You can also find Samsung unmodified Galaxy S II initramfs on github, contributions welcome for missing ones:

https://github.com/GalaxySII/initramfs-galaxysii

Its repository collections is for every developer, and is not project/people specific: https://github.com/GalaxySII/

This is what Samsung should give us directly.

Related post, with reference Kernel source repository: http://xdaforums.com/showthread.php?t=1054738
[Galaxy S II Themes and Apps] crypticc:
Hi..I notice there's an embedded kernel in the packer directory, but the path is an older version than the actual one in zimage. Is third just for pearl script purposes? Thanks

Sent from my GT-I9100
[Galaxy S II Themes and Apps] _JKay_:
Hey RyanZA,

Following your script

> cpio -i --no-absolute-filenames < ../initramfs.img

extracts initramfs but gives me the error:

cpio: ../init: Cannot symlink to 'sbin-ueventd': Operation not permitted

Can you help a linux newbie here ? Do I need to be root?

EDIT: Ah! I think I know now... FAT does not support symlinks :) Going to ext...
[Galaxy S II Themes and Apps] _JKay_:
Ok got the initramfs extracted from a zImage. Used repacker to create the zImage again. Did not change anything in initramfs. Filesize 5mb vs 8mb for the original. After a closer look I see that original contains lots of zeros. Ok appended zeros to match filesize and flashed the 'new' kernel. No go. Yellow triangle and no boot. Waited a long time.

Can anyone help? Maybe the repacker does something wrong? Maybe it should not compress?
[Galaxy S II Themes and Apps] HellcatDroid:
Anybody had any luck with this?

After said tweaking to get the repacker script running I got it to build a new zImage.

But mine was even only ~2MB small.... (seeing that the extracted initramfs summs up to about 3MB it makes at least a bit of sense, but still wondering).

Also the older kernel used (.29 against .35 that's actually running on my phone) makes me :confused:....

Well, flashed it anyway but (as expected) it didn't work, phone showed the bootlogo and that's it, not even recovery worked.

So, is it the older kernel? Or is it forking up the initramfs image creation?

Or is there another way to rebuilt the kernel image with a new initramfs image?

I'd really like to get rebuilding the zImage working so I toy around with that a bit, try to make my own root kernel and all that funstuff :)
[Galaxy S II Themes and Apps] ogdobber:
the fist script actually works good to pull initramfs. but I don't know about the repacker...better to build new;)
[Galaxy S II Themes and Apps] HellcatDroid:
Yeah, trying to build a new kernel from sources at the moment (make is running as I type this).

Here's an idea why the rebuilder fails:

.29 kernel (that the rebuild script brings in and uses) but the initramfs has .35 version kernel modules (as it's for/from the .35 kernel)!

Not sure how delicate this version missmatch is, but there's a chance the one or the other important kernel module erroring out upon boot due to the version missmatch....

Well, let's see if a full build from sources works (as I know my luck, it won't....)....
[Galaxy S II Themes and Apps] sorg:
that's because zImage has SFX code which tied very much to data (Image.gz). So you cannot just re-pack it back to existing zImage. You have to download source code of i9100 kernel and execute final part of kernel build where Image binary gets compressed and pre-pended by sfx header.
[Galaxy S II Themes and Apps] saturn_de:
err... the repacker/kernel_repacker.sh script only takes one argument.. how is it supposed to work???
[Galaxy S II Themes and Apps] HellcatDroid:
Yeah, that is actually what the repacker script does!

It has precomplied objects and compiles/links them together to the final (new) zImage.

You only pass the newinitramfs.img.gz that's created in the lines above, just drop the "zImage" from the commandline.

// EDIT

OK, I got as far as to compile my own kernel from the sources Samsung has released :cool:

I eventually end up with a nice and fresh, built from scratch zImage \o/

When I throw my selfmade zImage at the extractor script posted above, I get the proper (stock) initramfs filestructure I intended to put in (in other words, I managed to put my (as of now untouched) own initramfs.img into the zImage).

I create a nice .tar, flash with Odin and.... nothing :(

I get the bootsplash with the triangle and that's it, it doesn't get any further.

Anyone got a hint for me what I did wrong?

What I did:

(this all happened on a Linux machine)

extract Samy's kernel source

installed the codesourcery toolchain

set the CROSS_COMPILE var in ./kernel/Makefile to the proper path to the toolchain

ran

make c1_rev02_defconfig (according to readme.txt)

and then

make zImage CONFIG_INITRAMFS_SOURCE="/path/to/extracted/stock/initramfs/"

padded with 0x00s to the 8MiB size, tar'ed and Odin'ed

which brings me to the dead bootscreen....

Not even recovery works.
[Galaxy S II Themes and Apps] sorg:
I guess you've got repacker from first Galaxy? ;)

It won't work. SFX header you're trying to compile is for first galaxy. It has hardcoded addresses and they are not compatible with Galaxy S II. Toolchain is also for SGS as well (not sure if it still suitable for SGSII).

Take kernel source code and toolchain for SGSII and it will work.
[Galaxy S II Themes and Apps] HellcatDroid:
Yah, well, I got the kernel to compile fresh from sources now, no need for a repacker anymore, I just go make zImage and be happycat :D
[Galaxy S II Themes and Apps] netchip:
Someone knows how to repack it?

Maybe Chainfire or Pulser?
[Galaxy S II Themes and Apps] AdamLange:
Agreed, Can someone explain the process in full? modyfying and repacking zImage gets 2mb+ less in size, what we are missing?
[Galaxy S II Themes and Apps] Rawat:
Necro much?
[Galaxy S II Themes and Apps] Entropy512:
zombie thread wants braaaaiiiiiiinnnnnnnnnnnnzzzzzzzzzzzzzz!!!!!!
[Galaxy S II Themes and Apps] AdamLange:
Looks like i raised death searching for answer :) lool
[Galaxy S II Themes and Apps] HellcatDroid:
A few tried to make repackers for the I9100 - and failed.

Even less know how to actually do it - and don't share the knownledge.

The thing is, that the initramfs is linked into the zImage during compile time, so it can't simply be "snipped out" and "new one pasted in".

That's why I eventually ended up compiling the whole thing from sources.

It would certainly nice if someone like ChainFire could share how to do it.... but he's too worried about others rebuilding his rootkernel with other nametags on it.
[Galaxy S II Themes and Apps] netchip:
GitHub.com/xiaolu ;)
[Galaxy S II Themes and Apps] Jarmezrocks:
I am teh necrozkingaz :p I'm wanted to smell the deadness and also cause I wanted to reply to your response "dig" excuse my pun

.

.

.

.

.

.

.

.

.

btw I believe AdamLange was following this rule? >relevant
[XPERIA X10 Q&A, Help & Troubleshooting] Makz121:
What is the Purpose of the 30 FPS cap?

Does it really affect the graphics or smoothness of the X10? When it gets removed, what kind of performance could we expect? :confused:
[XPERIA X10 Q&A, Help & Troubleshooting] CMoney87:
The graphics and transitions would be faster and scrolling would be more responsive but at the cost of faster battery drain. There are custom kernels with the cap removed but as of now stability and battery life are not good enough for most users.

Sent From My *Super Fly X10*

If I (or anyone for that matter!) help you, dont be afraid to press THANKS!
[XPERIA X10 Q&A, Help & Troubleshooting] dogwoofer:
pretty much every other android phone is not fps capped, and the x10 definitely doesn't have an outstanding battery life in comparison with other phones, so what was SEs reasoning behind it? its something I really can't put my finger on, because the x10 is such a pleasure to use without the cap, only reason I can think of is to give it an inferiority complex against the arc and their other 2011 androids
[XPERIA X10 Q&A, Help & Troubleshooting] Prodigy:
It sucks.

They make it kinda like a prototype, which really, i bought for like 700 bucks so it shouldn't be.
[Galaxy S I9000 Q&A, Help & Troubleshooting] Passe123:
Hello,

As I still cannot post on the devel forum, I ask it here:

Is there a sample .config for Samsung 2.6.35.7 kernels ?

Samsung did not activate /proc/config.gz. Therefore we need to produce a .config on our own.

I want to build the TUN module against 2.6.35.7-I9000XWJVH-CL184813 #2 PREEMPT using the source provided on the linux_gt-i9000 GIT repository.

In order to do that, I need a more or less proper .config.

So, does anyone provide a typical .config for Samsung 2.6.35 kernels ?
[Thunderbolt General] dTardis:
I have a rooted thunderbolt (thanks for all who made that possible). in the last couple of days I have noticed that the screen does not timeout. I don't know if it is a rouge app, or some other problem. I have done some searching and it appears that I am not the only one with this problem, but I have not seen a solution to the problem yet.

After a reboot it does appear to work correctly for a time though. If it is an app how would I find out which one is doing it? As a side question. If I do a hard reboot will I lose root?

dTardis
[Thunderbolt General] intangibleDroid:
Go to Spare Parts > Battery History and select "Partial Wake Usage" from the first dropdown. Should tell you what the culprit is.

Sent from my Thunderbolt
[Thunderbolt General] phooky:
i've noticed the same thing intermittently over the last few days, let me know if you figure out how to fix it
[Thunderbolt General] Ecomaniac:
Yeah, I get this too.

Do you guys run Titanium? My screen wouldn't turn off this morning, and now that I'm paying more attention, I noticed Titanium ran an auto-backup last night on the charger. That might just be a coincidence, but something to look out for.
[Thunderbolt General] dTardis:
Well the spare parts thing did not work...

Any other ideas?
[Thunderbolt General] ktez:
The only time I had this happen was when I bumped the volume buttons as I was setting the phone down. Somehow the volume indicator on the screen got stuck or something and the screen never shut off. I just started being more careful not to bump the volume, or actually pressing the power button to shut the screen off. Idk if this is your issue or not, just thought I'd throw it out there.
[Thunderbolt General] ridobe:
Change the setting to disable "partial wake locks" (in TB) and it will go back to sleep.
[Thunderbolt General] Cg006:
pandora radio also has a toggle to keep the screen on while its in use.

maybe you guys are using pandora?
[Thunderbolt General] Ecomaniac:
Disabled now...thanks.

Sent from my Tbolt by XDA app.
[Thunderbolt General] dTardis:
I will try that (TB wake locks disabled) and see if it helps.
[Thunderbolt General] dTardis:
I dont have or use Pandora, but thanks.
[Galaxy S II Q&A, Help & Troubleshooting] jameslfc5:
Hi all,

Not sure whether to root or not, as I fear for my warranty :/ does it affect warranty ? and can it be reversed?

Thanks

James
[Galaxy S II Q&A, Help & Troubleshooting] jameslfc5:
Just want to know if it can be easily reversed please :)

Also what are the main advantages and disadvantages ? ...

I wanna remove some samsung apps, install droidwall and install LCD Density :D
[Galaxy S II Q&A, Help & Troubleshooting] pulser_g2:
Root can be reversed, and we can reset the flash count for unsigned kernels too :)

So yeah it should be undoable fine by flashing a stock rom and resetting download counter.
[Galaxy S II Q&A, Help & Troubleshooting] sohanlon07:
How do you go about removing a root? And is data lost?
[Galaxy S II Q&A, Help & Troubleshooting] Lone_Star:
You could re-flash back to the stock rom....but that will erase your data.
[Galaxy S II Q&A, Help & Troubleshooting] sheridan2000:
does the stock rom also update the kernel back to a secure one??
[Galaxy S II Q&A, Help & Troubleshooting] theinstagator:
Sorry to bump this old thread but can Samsung or others detect if the phone has been rooted and then unrooted it it were for example to sent back for repair under warranty?
[Galaxy S II Q&A, Help & Troubleshooting] Intratech:
No it doesn't if you flash it properly.
[Galaxy S II Q&A, Help & Troubleshooting] Intratech:
No if you reset the counter and flash the stock firmware for the device.
[Galaxy S II Q&A, Help & Troubleshooting] theinstagator:
Thanks, I purchase one of those jigs just in case :) The amount of tegra only games coming out is beginning to bug me, I'm hoping the possibility that the two best selling android phones of the year (Galaxy S2 and Sensation) not being tegra will swing developers back our direction.
[Galaxy S II Q&A, Help & Troubleshooting] Intratech:
Just use the Chainfire3D application for the market to destroy nVidia's BS.
[Galaxy S II Q&A, Help & Troubleshooting] theinstagator:
That was my plan cheers ;)
[Galaxy S II Q&A, Help & Troubleshooting] porkchop8:
can you link me to where you purchased your jig? Also have u tried to see if the jig works? or you havent rooted your phone yet?
[Galaxy S II Q&A, Help & Troubleshooting] 4iedemon:
Would it be possible to unroot just using Superoneclick?

I tried once and it worked. However, does it completely remove all traces of root?
[Galaxy S II Q&A, Help & Troubleshooting] theinstagator:
I haven't got one yet but there is a how 2 vid up on you tube and apparently you can get them off of ebay (item no: 250824932406)
[Galaxy S II Q&A, Help & Troubleshooting] danijaan:
I flashed Gs2 with lightening ROm v5 ... Now I want to get back to stock rom and kernel ... Although I managed to flashed my kernel with stock kernel after flashed my GS2 with lightning ROM. But now when I flash my lighting room to get back to stock rom, my phone reboots and keeps animating galaxy S sign and nothing further happens. did I do something wrong?
[Galaxy S II Q&A, Help & Troubleshooting] tygoger:
As far as I know. Yes it does
[Galaxy S II Q&A, Help & Troubleshooting] TECK:
I got this jig for $8, it will reset the flash counter and get rid of yellow triangle also.
[Galaxy S II Q&A, Help & Troubleshooting] ardabelati:
I am a newbie as well here but I thought I will share my experience.

I did have a bootloop and someone in the forum advised me to clear the cache and data using recovery mode. It worked.

give it a try
[Galaxy S II Q&A, Help & Troubleshooting] madroxx:
the easiest and safer method to unroot is to flash the stock kernal
[Galaxy S II Q&A, Help & Troubleshooting] madroxx:
exactly you just hav to clear cache and dalviks cache in recovery mode
[Galaxy S II Q&A, Help & Troubleshooting] ermacwins:
My uncle wants to use the Barclays pingit app on his phone https://play.google.com/store/apps/...sMSwxLDEsImNvbS5iYXJjbGF5cy5hcHBzLnBpbmdpdCJd

but it doesnt work on rooted phones. Whats the best way to completely remove root?
[Galaxy S II Q&A, Help & Troubleshooting] immortalneo:
The best way?

It depends on how u rooted in the first place.

If u rooted by flashing a zip file that injects the su binary, u can simply unroot it by flashing a zip file that removes the binary (usually both zip files are found together).

If u rooted by flashing a custom kernel, u will have to flash a stock firmware to unroot.

If u have SuperSU app, u can unroot from inside that app itself.

"To err is human, to forgive is divine"

Sent from my SGS II
[Galaxy S II Q&A, Help & Troubleshooting] ermacwins:
Thanks, so on the CM rom can I install SuperSU and then remove root? The rom should still be fine right?
[Galaxy S II Q&A, Help & Troubleshooting] immortalneo:
I wouldn't recommend unrooting like that. Unrooting while on a custom ROM can potentially make the rom buggy. Why unroot anyway when on CM?

"To err is human, to forgive is divine"

Sent from my SGS II
[Galaxy S II Q&A, Help & Troubleshooting] ermacwins:
It's because he frequently uses that bank and it doesn't work with root. So can root be removed permanently?
[Galaxy S II Q&A, Help & Troubleshooting] immortalneo:
Best to flash a stock firmware then.

"To err is human, to forgive is divine"

Sent from my SGS II
[XPERIA X10 Themes and Apps] Sikiduck:
Hi guys!

I'm looking for a camera application which I can zoom with.

This is because I have installed custom ROM and the camera won't let me zoom. So I need a app that I can zoom with.

I tried Camera ZOOM FX, but it only scales the picture, not zooming.

Is there any app I can zoom with?

Thank you!
[XPERIA X10 Themes and Apps] bnmohler:
I'm not sure about the app but for anyone that may know i think providing a little info about your phone would be good.

You have a custom rom so is it android 2.1,2.2, or 2.3 or any of the MIUI variants? this way someone maybe able to answer the question a little easier as between those roms apps act very different due to the drivers for the cam.
[XPERIA X10 Themes and Apps] Bwyan Benton:
Vignette

But zooming sucks anyways,,,you lose to much detail
[XPERIA X10 Themes and Apps] Sikiduck:
Thanks for all answers!

I run Scamble with 2.2.1 by rendeiro.

I tried Vignette jut it seems that it do the same as Camera ZOOM FX.

When I ran original rom I seem to remember the zoom was better :S

Maybe I'm wrong.
[HD2 General] ILPsycho:
Ok , I Installed a cooked ROM for my HTC:Leo HD2

and now I cant get this thing working ..

how can i transfer music + apps ?

I got american android also .. how can I add apps in there ?

the computer reconizing the phone as an HP camera or not reconizing at all ..

0x85010014

XP SP2
[HD2 General] ILPsycho:
???????????????????????????????????????? some one ?
[HD2 General] T-Macgnolia:
Please post everything you see in bootloader, what ROM you installed, and what type of HD2 you have EU or TMOUS.
[HD2 General] ILPsycho:
I got T mobile phone

Energy cookie 2.0 rom

Leo radion 2.12 XXX50XXX

American Android ..

and thats it
[HD2 General] ILPsycho:
PLease people .. pleaseeeeeeee
[HD2 General] stevedebi:
The following work for WM6, I don't know anything about android versions:

Transfer music: Hook up the phone to the computer and set it to be a storage device. Then open up Windows Media Player and sync your music.

Transfer apps: Hook up the phone to the computer and set it to be a storage device. Then copy the .cab files to the phone and use Total Commander: find the file and click to install.

You don't have to sync your PC to transfer files and applications to the phone. The computer does have to recognize the device as a USB storage device. If that is not happening there may be a problem with your USB port.

It is not the ROM; I am using NRG myself.
[EVO 4G General] cody_dingo:
Hi All,

Running CM7.0.3.1 with Savaged-Zen 2.1.0 BFS kernel. Also using v1 of viperboy's undervolting at -100. There was a time I had stellar battery life (back on an early CM7 nightly and a way earlier version of SZ kernel), but for the life of me I cannot get back to that point. I've been checking spare parts and it is showing k9 and palmary weather with some partial wakelock but it doesn't look too severe from what I can tell, or maybe I'm reading it wrong.

Anyway, here's a view of my battery history. Does all that awake time seem odd? I'm kind of at a loss here for what is going on and how to fix it.

Thanks!
[EVO 4G General] minhgi:
this question should be address in the cyanogen sub-forum. there are literally people there with the same setup as you that can better help you.