yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] denonade:
There is stock ROM i9100XXKG1 from samfirmware as all ppl know.

And the zip contains 4 files

CODE_I9100XXKG1_CL349526_REV02_user_low_ship.tar

GT-I9100-CSC-MULTI-OXAKG1.tar

MODEM_I9100XXKG1_REV_02_CL1034110.tar

u1_02_20110310_emmc_EXT4.pit

Inside the CODE_I9100XXKG1_CL349526_REV02_user_low_ship.tar, it contains file as follow

boot.bin

cache.img

data.img

factoryfs.img

hidden.img

param.lfs

Sbl.bin

zImage

From my knowledge, those custom ROM such as litening rom, it only contains

factoryfs.img

zImage

moderm.bin

Flashing these 3 files wouldn't cause any data wipe as well, so I wonder for the stock rom 2.3.4 XXKG1, can I just only flash these 3 files to avoid the data wipe? I wanna make a simple repackaging for a stock rom 2.3.4 XXKG1 wihtout data wipe, any advises?

And more, where can I get more information on those ROM composition? like what hidden.img for? For any custom rom builder, where did you guys take 1st step to study how to make custom rom?

Thanks for any input and advise, thx!
[Galaxy S II General] aydc:
Just use Titanium Backup. You'll stop worrying about wipes. It takes 3 minutes after a wipe to completely restore everything.
[Galaxy S II General] jazzor:
If you don't want wipe just don't include data.img. everything else is up to you
[Galaxy S II General] denonade:
I have made a tar file with <boot.bin cache.img factoryfs.img hidden.img param.lfs Sbl.bin zImage> and then use odin to flash it by PDA option, however I got fail, why? thx for any input

<ID:0/012> Added!!

<ID:0/012> Odin v.3 engine (ID:12)..

<ID:0/012> File analysis..

<ID:0/012> SetupConnection..

<ID:0/012> Initialzation..

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

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

<ID:0/012> boot.bin

<ID:0/012> NAND Write Start!!

<ID:0/012>

<ID:0/012> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Galaxy S II General] daleski75:
Use titanium backup and then use the original tar file the last thing you want is for something to get screwed up and then you have a bricked phone.
[Galaxy S II General] denonade:
thx for all replies, I am used to use CWM for backup and restore, so flashing custom rom that require data wipe is no problem for me. But, the main interest is I want to study how to make custom rom without wipe the user data as well. but I can't find any reference to learn this area of knowledge. My 1st target is make a custom rom with CF root kernel based on 2.3.4 KG1 stock rom without require end user to wipe his data.

I have tried to make a TAR with just zip all the files

boot.bin

cache.img

factoryfs.img

hidden.img

param.lfs

Sbl.bin

zImage (CF-root KG1, with CWM4.0 and busybox)

then use odin 1.85 to flash by PDA option, but no luck , flashing failure.

Any reference I can get start to learn how to build my own custom rom?

Welcome and thank you for any replies
[Galaxy S II General] StupidIdea:
CWM backup

Thats what I did:

1) CWM backup.

2) Flash KG1

3) Flash CF-Root kernel

4) Do advanced restore and restore only data.

All data, apps, settings were in place. Nothing lost.
[Galaxy S II General] denonade:
Thx StupidIdea ,that's what I did too, maybe I really make a wrong title, indeed, I want to know how to make a custom ROM without wipe the user data. thx reply anyway.
[Eee Pad Transformer Q&A, Help & Troubleshooting] MSmith1:
I just got the dock, I've had the tablet for a while, and I am wondering what the proper way is to go about keeping both charged. I threw the dock on the charger by itself so that it gets a proper charge on its own first (I hope that was the correct thing to do) but I am wondering how I should charge them from here on out. Do I charge both pieces separately? Do I charge them together? Do I plug the charger into the tablet only while docked? Do I plug the charger into the dock only while attached to the tablet? Should I make sure that both pieces are at 100 before docking them the first time?

Sorry for all the questions!

TIA!
[Eee Pad Transformer Q&A, Help & Troubleshooting] darkonex:
Charge them together, I used to charge them overnight but read from peeps that sometimes their dock died doing that so now I charge them both together a couple hours each night before going to bed and it's good the rest of the day. One thing to also keep in mind that I'm gonna start doing is if you leave them docked and sleeping overnight, the dock will lose some charge, like 15% but if you turn the tablet off before then it loses nothing.
[Eee Pad Transformer Q&A, Help & Troubleshooting] MSmith1:
by that you mean dock them together and plug the charger into the dock? If that is the case i assume that charger charges both pieces at the same time somehow?
[Eee Pad Transformer Q&A, Help & Troubleshooting] darkonex:
yes exactly
[Eee Pad Transformer Q&A, Help & Troubleshooting] matteone:
from my experience it looks like the charger charges the docking, which in turn charges the tablet... I don't think the charger delivers enough current to charge both at the same time.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Gibeon:
15%? My god are you sleeping about 20 hours every night? For me it's less than one percent an hour, with wifi off...
[Eee Pad Transformer Q&A, Help & Troubleshooting] Mikey1602:
I turn on airplane put my tablet into my dock and put it on to charge aroudnd 9pm, locked.

I'll take it off around 1am fully charged before i sleep.

When i wake up im sitting aroudnd 97% in the dock.

With the wifi on, i can loose around 40% in the same time.
[Eee Pad Transformer Q&A, Help & Troubleshooting] Underwater Mike:
Just dock the tablet in the evening, plug the charger into the dock, and away you go. There's really no "method" to it.
[Eee Pad Transformer Q&A, Help & Troubleshooting] number16:
No, 15% sounds about right.

You can check out this thread ...

http://xdaforums.com/showthread.php?t=1112835&page=12

But basically I ran the same test and my dock also lost about 15% when connected to the tablet in stanbby over 7 hrs. That's ~ 2% per hour of standby.

This is with wifi on though.

If I power off the tablet completely, and connect it to the dock, then the dock only charges the tablet but loses no charge otherwise.

I should probably try standby and wifi off.
[Eee Pad Transformer Q&A, Help & Troubleshooting] darkonex:
No, 6-7 hours. It's the dock battery draining issue many if not all peeps have, if I turn them off nothing drains. This is with WIfi on, if I turn Wifi off it loses maybe 8-10%.
[Eee Pad Transformer Q&A, Help & Troubleshooting] darkonex:
On another note, yesterday I decided I would start turning the tablet off completely every night, so last night I turned it off when the dock was @ 90% and tablet @ 100%, then I plugged in the power cable tot he dock for about 30 min so it'd be up to 100%. This morning I opened it up and found my tablet was on for some reason, so when you plug the cable in does it power on the tablet for some wierd reason?
[Galaxy S II General] asd5566:
how to download v2.3.4 on Sgs2?
[Galaxy S II General] intruda119:
Check out developement section. There's some really good guides. Look for kg1 or newest kg2
[Galaxy S II General] HellcatDroid:
KG2 is only 2.3.3 as far as I know.

KG1 indeed is the leaked 2.3.4.

Just download it from one of the many links posted and flash with Odin.

It's what I did and it's working like a charm :)
[Galaxy S II General] JJEgan:
V2.3.4 is not a Samsung release .It will be available via Kies once Samsung release it .

jje
[Verizon Droid Incredible 2] RTNDO128:
I'm currently running CM7 7.1.0 Beta 1, and was looking to update to the newest nightly. I just downloaded it, and want to confirm what actually needs to be done before installing it. Do I actually need to do a complete wipe of my phone again? It would be a bummer if I have to reinstall all my apps every time an update comes out. And also, do I have to reinstall the google apps file again as well? Thanks.
[Verizon Droid Incredible 2] RTNDO128:
Bump......
[Verizon Droid Incredible 2] bsteenson:
Opinions differ. Some anal people say wipe everything three times before applying any change that affects the rom. Others say you are safe if you are changing from a similar generation (i.e., updating one version of gingerbread to another).

What I do is if I am changing to a majorly different rom I wipe. If it's similar I take my chances.

I ALWAYS make a backup before making any rom changes. That way I can always to back to where I was before if the non-wipe flash causes problems.

When I am running CM and updating with nightlies I don't wipe.
[myTouch 4G Q&A, Help & Troubleshooting] cheecho06:
Ok, so I've searched and i cannot find anything out there on how this can be done for this particular phone. The issue is my phone will not read ANY sdcard anymore.

I'm not sure what happened but no matter what sdcard i put in the phone, it could be blank or have files on it, the phone displays "blank sdcard" in the notification bar. I am trying to get it unrooted so i can send it in for a warranty replacement. Any ideas?

Thanks in advance.
[myTouch 4G Q&A, Help & Troubleshooting] kalel33:
Have you tried saving the info on the card first and then reformatting the card before inserting?
[myTouch 4G Q&A, Help & Troubleshooting] RichieDaze:
Place the files on /data/local

These folders have read/write access with out root privileges.
[EVO 4G Q&A, Help & Troubleshooting] 4x4jumper:
i have been using cm7 for a while now and love it but have some issues...

i did the gps lock fix and my gps is now very quick to lock and stays locked.... BUT i also use a speedometer app for vehicle speed and it is completely inaccurate on cm7!! i used another gingerbread rom and it worked great! absolutely dead on! i didnt like the other rom because of the sense restrictions... i love the openness of cm7 and dont wont to change! i paid for the app and the developer says that it is not an app defect. is there anyway to fix this problem? it just really bothers me! :confused:
[EVO 4G Q&A, Help & Troubleshooting] bootny:
Does you speedometer not work?
[EVO 4G Q&A, Help & Troubleshooting] 4x4jumper:
I use it with my 4 wheeler... So no fix?
[EVO 4G Q&A, Help & Troubleshooting] 4x4jumper:
Bump
[EVO 4G Q&A, Help & Troubleshooting] bootny:
Try fasterfix in the market may help or fix permissions
[Vibrant Q&A, Help & Troubleshooting] teco2010:
Guys, i have a samsung epic with sprint and im tired waiting for 4g in my area...

Im thinking on switching to tmobile and getting the vibrant. Question, where i work i dont have windows or anything, how is reception indoors? Is this phone still worth or should i wait for something better?
[Vibrant Q&A, Help & Troubleshooting] jneal9:
Pretty sure it just depends on the towers in your area. And modem I suppose.
[Vibrant Q&A, Help & Troubleshooting] Binary100100:
I can't get signal in P3 of a parking garage for some reason. But I think that's because I'm like 40 feet underground and surrounded by concreate. :rolleyes:

Bottom line there are way too many variables to give you an answer.

This is your best bet.
[Vibrant Q&A, Help & Troubleshooting] kawika:
LOL, damn P3 gets me every time! I'd say in buildings I get just as good connection as anyone else. Its when I go outside that we always get different results. I get pretty good 3G in buildings sometimes. Hope that helps:)
[Gen8 General] arpruss:
I was playing around with adjusting and monitoring the CPU rate on my A43, and I discovered an oddity. I have the device set to overdrive, so normally it can do 1ghz. But I noticed that inside Netflix's video player (not just the Netflix app, the video player), the CPU speed was only 800mhz and there was some stuttering. Looking more carefully, I noticed that somehow as soon as the video player started up, the maximum scaling frequency went down to 800mhz. Exit, and it goes back to 1ghz. I then found that the same happens in Youtube and the Archos Video player.

How annoying, though maybe there is some good reason for it? Is it perhaps that the video hardware can't handle the greater speed? Does anybody know?

Anyway, I have a simple fix: You just have to turn off the write permissions on /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq after the values have been all set. I don't know if any of the CPU speed utilities like SetCPU let you do this.

I fix this by setting my CPU speed settings via a script that runs on boot. (I run it via a tiny utility I wrote which I am not presently releasing, but you could also run it via Script Manager.) The script I use is:

cd /sys/devices/system/cpu/cpu0/cpufreq
echo conservative > scaling_governor
chmod 644 scaling_max_freq
echo 1000000 > scaling_max_freq
chmod 444 scaling_max_freq
echo 300000 > scaling_min_freq
echo 150000 > conservative/sampling_rate
echo 70 > conservative/up_threshold

The crucial line is the "chmod 444 scaling_max_freq" which sets the scaling_max_freq file to read-only. (Of course, a determined app that wants to change it can just chmod 644 scaling_max_freq and write to it. But whatever is doing the switch 800mhz isn't THAT determined.)

The result is that Star Trek plays smoothly at 1ghz in Netflix, as it should, while the built-in video player when playing lower-resolution videos uses 800mhz, as it also should.

If you have a device with a higher top speed than 1000000, just change the 1000000 to whatever your top speed is.

If you want to check if your device has the issue, start up a video, and then while the video is playing, do:

adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

If it's less than the top speed of your device, you have the issue.

But maybe it's supposed to be like that?
[Gen8 General] wokker666:
Would I run this script verbatim for interactive mode? Or change 'conservative' in the script to 'interactive'?

EDIT I think I get it...... gonna play for a bit....
[Gen8 General] arpruss:
I think the stock ROM only supports ondemand, conservative and performance.
[Gen8 General] wokker666:
I'm on Uruk 1.0, err, well both, but I dominantly run on Uruk
[Gen8 General] arpruss:
I see. Then, yes, you do need to change things to set up whatever settings you want for interactive. Are you using any CPU-setting utility? I don't know how well my script will work with a CPU-setting utility. The one I tried automatically set read/write permissions to the files, which undoes the effects of my script.
[Gen8 General] wokker666:
I think I got it

I can confirm that SetCPU does reset the permissions, killing SU permissions to the app seems to fix that

I remade the script to go a little something like...

cd /sys/devices/system/cpu/cpu0/cpufreq
echo interactive > scaling_governor
chmod 644 scaling_max_freq
echo 1000000 > scaling_max_freq
chmod 444 scaling_max_freq
chmod 644 scaling_min_freq
echo 600000 > scaling_min_freq
chmod 444 scaling_min_freq

The scaling_min_freq part may seem useless, but it further sets what you want in stone

So far after a few reboots, everything seems to be working just fine, and the system dosen't scale the cpu to 800000 when in video!

Nice!

Thanks!:D
[Gen8 General] arpruss:
Any idea WHY Archos did that 800mhz scaling?

Maybe it's just a bug. I think they initially wanted the device to run at 800MHz, and then later added an Overdrive mode at 1000. So the 800 could be a leftover, no?
[Gen8 General] wokker666:
I think they did it to help conserve the battery, if you use your unit for mostly video, it would make sense to not burn through your battery at 1ghz...

On that note, my system with the settings I just made, in video it REALLY scales to my settings.... it dominantly runs at 600mhz, not 1ghz - maybe it's the interactive mode kicking in, it just dosent see the demand - I can't test in real time right now though, no linux machine as of yet, but time in state shows mostly 600mhz, and some 1ghz
[Gen8 General] arpruss:
But that's what the scaling is for. When the video doesn't need the higher speed, it scales it down, and when it needs it, it scales it up. Star Trek on Netflix needs 1000, while different xvid videos that I have need different speeds.

By the way, I noticed that they also set scaling_min_freq to 800 in the video player. So, my script also needs a line:

chmod 444 scaling_min_freq

at the end.
[Gen8 General] wokker666:
Most of what I was testing are .mkv's of all sorts of flavors, they probably dont need to bump up the speed - I should find a hd vid to test with.

I knew I threw that in for a reason ;)
[Gen8 General] arpruss:
It looks like the writing of the modified frequencies is done by /system/bin/powerd, and it's requested by /usr/bin/avos when the DSP is called for.
[Gen8 General] wokker666:
I wonder if this is something that can be manually changed, or maybe Sauron take a look at it and implement the changes in the next Uruk?

On another note, I gotta say, after locking down my cpu with this script, plus a few other settings in an app I have (autokiller memory optimizer), my system has never run better, very snappy!!!
[Galaxy S II Q&A, Help & Troubleshooting] x-cimo:
I just received my unlocked SGS2 as follow:

PDA:I9100XWKE8

PHONE:I9100DDKE2

CSC:I9100ODDKE2

Is there any update that I could apply, possibly the official 2.3.4 rom?
[Galaxy S II Q&A, Help & Troubleshooting] drreality:
No mate, no official yet, however there is leaked version
[Galaxy S II Q&A, Help & Troubleshooting] daleski75:
If you want to keep it stock and not go to a leaked 2.3.4 version then you have to do the same as the rest of us and wait.

Believe me when it's released you will know about it on XDA!
[myTouch 4G General] d12unk13astard:
samsung captivate display just blew me away and that phone is older then our mt4g's. Yea the mt4g owns the captivate in other areas but side 2 side while i was outside letting my kids play i couldnt read or see a damn thing on my mt4g compared to the captivates superior amoled display. Its just ridiculous and kinda embarrasing actually. I think my choice for the samsung hercules or galaxy s 2 if i go to att b4 merger happens just got easier. I love htc for there superior quality feel and looks of the phone but display while your outside plays a huge factor i think for most anyone considering a smartphone these days. If htc had amoled display i think i would be in heaven lol
[myTouch 4G General] TeeJay3800:
You must have the "bad" display. I'd put my "good" MT4G display up against just about anything.
[myTouch 4G General] d12unk13astard:
actually i got a good display too and i just realized my brightness was set all the way down haha, but im still sold on amoled vs super lcd that the mt4g has. Even with brightness all the way up, side by side the amoled pwns the mt4g display wether its sunny or dark!
[myTouch 4G General] adamboyd83:
I had a friend with a nexus S tell me that my screen was sharper and clearer than his. Didnt make much sense to me seeing as I came from the Vibrant running the latest voodoo kernel. Not saying the MT4G screen isnt great but super amoled is the one of the best screens that I have ever seen.
[myTouch 4G General] Phateless:
I've been playing with a Vibrant as my spare phone and this screen is addicting, even up against my good screen mt4g which still gets compliments.

I bought the Vibrant because the dust under the screen of my mt4g pisses me off.
[myTouch 4G General] d12unk13astard:
http://www.phonedog.com/2011/05/17/...oled-plus-display-1-2ghz-dual-core-processor/

old news i know but it's packing the new super amoled + screen!
[myTouch 4G General] Phateless:
As soon as we have cm7 for that phone I'm in!
[myTouch 4G General] JDV28:
I cant say i have anything against the hardware of the SG family, but since developement for those phones is kind of, well, shotty, i would NEVER buy a samsung android phone. i mean just look at the sick amount of roms we have to choose from here, then go to some of the SG phones' dev. forums. its a big difference.
[myTouch 4G General] Phateless:
I agree. I had a Vibrant 4G and I sold it because there's no sign of a good AOSP rom hitting the scene any time soon. I picked up a Vibrant 3G so I could load cm7 on it.
[myTouch 4G General] mackster248:
Yeah I really want a Vibrant 4G as well, but they only have one person working on an AOSP ROM and it doesn't look like it's even close to coming out.
[myTouch 4G General] Phateless:
It was FAST! I was consistently pulling 8mb down where the mt4g is struggling to get 3. And the gps was flawless, lol.

Other than that it's identical except for the ffc and the faster connection. No flash though, which I thought was a little odd, and no internal storage, just the 16gb sdcard.
[myTouch 4G General] JDV28:
Um what? I just got 4.8 while on 3G. I'll test 4G sometime this week when I have it.
[myTouch 4G General] synaesthetic:
I don't like the high white point of S-AMOLED. Everything looks very blue. Plus I feel restricted to use only dark or predominately black backgrounds in order to conserve battery, and web browsing eats battery at a prodigious rate. All that white...

I did enjoy my Vibrant, which I had before my MT4G, mainly because it was a 4" screen, which is my sweet spot, and the SGS's wonderful Wolfson DAC. Sound quality was phenomenal on that phone.

It almost makes me want to pick up a Galaxy S 4G, but the lack of CyanogenMod/AOSP ROMs really does keep me on my Glacier.
[myTouch 4G General] d12unk13astard:
Samsung is mopping up their mess they made with the vibrant(at least with developers) when they offered cyanogenmod and team members those free galaxy s 2 phones it was like hey were sorry please hack our phones and put custom roms on it. Thats a big step forward for a company like samsung to take and win over a community, especially with their superior displays and somewhat easier methods of unlocking their phones.
[myTouch 4G General] JDV28:
that gesture made a huge difference....NOT
[myTouch 4G General] d12unk13astard:
you'll see in time :D
[myTouch 4G General] JDV28:
Nope, i will never make the mistake of picking up one of those pieces of.....

Their hardware is fantastic, of course, but F that if there is terribad software/OS behind it.
[myTouch 4G General] d12unk13astard:
the hercules specs havent made you twitch even a little bit? lol

i think its coming stock android 2.3.4 gb
[myTouch 4G General] JDV28:
Not in the slightest lol

It better be stock with GB since you cant do sh*t to it in terms of roms.

I would have hoped that GB would be an assumed spec
[myTouch 4G General] dung8604:
Why would you say that you can't do anything to it in terms of roms?
[myTouch 4G General] JDV28:
I'm tired of saying this over and over again.

let me put it simply:

Samsung hasnt a clue what "open-source" means.
[myTouch 4G General] dung8604:
I don't know because I don't really pay attention to anything other than a phone I own or I'm thinking of buying. It seems odd that htc locked the boot loaders on a lot of their new phones, and you said samsung is closed in the mytouch forum. So for my own information (thinking about getting the galaxy s2), why do you say samsung is closed? Specific examples?
[myTouch 4G General] stevencpoynter:
Soooo...remind me again which manufacturer was the first to release gb publicly after the nexus s, and released kernel source like right after? Which manufacturer donated a sick dual core phone to several cm7 team members to help with development while it was retailing at a hugely overpriced $800.00? That was htc wasnt it?? Nah.
[myTouch 4G General] JDV28:
What company was it that withheld their source for 90% of its existence so that there was virtually NO DEVELOPEMENT FOR MULTIPLE PHONES?

Oh, but I guess since they made one "nice" gesture, all of their illegal bullsh!t should be forgotten, yea that sounds great, good argument on your part...
[myTouch 4G General] dung8604:
Anyways, I was just browsing the sensation forum and it appears they are very very close to releasing a beta method to achieve s-off! I just got this mytouch, but that sensation is a damn sexy piece of hardware
[myTouch 4G General] synaesthetic:
Why does HTC seem to hog so much of the development? There are plenty of other phones, and they aren't that difficult to root and get at the system files. So what makes HTC special?
[myTouch 4G General] JDV28:
I'm sorry but that really didn't make any sense.