yashsingh1/xdaforums huggingface dataset:
[Bada Software and Hacking General] adfree:
Okidoki.

With help of WinComm and little bit luck I found this...

See Screenshot.

This Backup Restore thingie is maybe same mechanism like Kies use...

These folders are removed after finish... I have NO idea what happens with these files... or where stored...

WinComm only show me this:

+[055]=> [641.314]Packaging Start[/Media/_SamsungBnR_/DRM.bk]
+[056]=> [641.560]Packaging Finish[/Media/_SamsungBnR_/DRM.bk]:[Success]
+[057]=> [641.618]Packaging Start[/Media/_SamsungBnR_/Configuration.bk]
+[058]=> [642.016]Packaging Finish[/Media/_SamsungBnR_/Configuration.bk]:[Success]
+[059]=> [642.072]Packaging Start[/Media/_SamsungBnR_/Message.bk]
+[060]=> [642.095]Packaging Finish[/Media/_SamsungBnR_/Message.bk]:[Success]
+[061]=> [642.152]Packaging Start[/Media/_SamsungBnR_/MusicSetting.bk]
+[062]=> [642.176]Packaging Finish[/Media/_SamsungBnR_/MusicSetting.bk]:[Success]
+[063]=> [642.231]Packaging Start[/Media/_SamsungBnR_/PhotoSetting.bk]
+[064]=> [642.251]Packaging Finish[/Media/_SamsungBnR_/PhotoSetting.bk]:[Success]
.
.
.

But I can't find *.bk files...

http://xdaforums.com/showpost.php?p=19756666&postcount=10

You need Internal Menu...

Maybe someone could help to understand how it work...

Thanx.

Best Regards
[Bada Software and Hacking General] mylove90:
hmmmmmm

This backup function done from the internal menu makes the files only while real backup is done by Kies

What i mean is if you clicked backup in Kies it sends a command to backup these files just like from internal menu then copy them to the *.sbu file

You can see that Kies is making a temp folder during backup that has all the files then deletes it after completing...I catched one of those temp folders before just before its delete but it don't has *.bk files at all :(....It contains real data :D

Best Regards
[Bada Software and Hacking General] adfree:
If I'm fast enough, then I can catch few files...

Attached is filelist...

Hmmm.

But I don't understand where result is stored... :confused:

My testdevice is nearly empty... Maybe on full device better to see something.

Best Regards
[Bada Software and Hacking General] adfree:
Searching for String _SamsungBnR_ leads to this:

WsSyncml.so

in ShpApp.app

And in FFS I see this:

Contents.xml

...

Best Regards

Edit 1.

With help of this:

http://xdaforums.com/showpost.php?p=21142664&postcount=186

Thanx again. :cool:

I have made ELF file... it is attached.

But my brain is too small. :o

Maybe someone can see, what where how is stored. :D :confused:

Thanx.

Best Regards
[Bada Software and Hacking General] adfree:
:confused:

I am wondering why we never used alternate ways for faster Restore in "new" Firmware... :confused:

1. Multiloader "advanced" stuff

All user used Kies update in bada 1.x know.

That it is possible to update WITHOUT dataloss.

1.1

Users can read... in Multiloader

Differences only.

Why I never seen Tutorial to make own PFS + ShpApp_HD.app.

:confused:

1.2

It seems most now only MINOR changes in apps_compressed... ever same size...

I have also few tests, where I have only flashed apps_compressed.bin...

Why we ever flash FULL and erase all our stuff... :confused: :D :confused: :o :rolleyes:

I ever thought. Lemmings is an only nice Game.... :D :p

2.

FOTA update is without dataloss...

Okidoki. But other problems as only few users are able to enter... :o

3.

Now 1 of the advanced thingie... :)

Why not investigate some time and energy to BACKUP database... in main it is:

DB2 and Registry folder...

Its long time ago... :o :o

I was able to make clones...

1:1 copy on 2 handsets...

Last tested Version was XXJL2. :o

Warning! During security it is not risk free to play with database.

Bootcycle etc...

But hey...

We not know how long Samsung need to rollout bada 2.0 ...

and make PFS + ShpApp_HD.app for S8500/S8530

I think it is NOT magic or impossible... Only little bit time and brain needed.

Best Regards
[Bada Software and Hacking General] b.kubica:
small pfs i used to work with
[Bada Software and Hacking General] adfree:
b.kubica

Thanx again. :cool:

It takes long time before I have realized how usefull SHP_CSC_FEATURES.zip is.

:o

http://xdaforums.com/showpost.php?p=21697568&postcount=13

After short look into your attached PFS I must smile little bit... :D

SHP_CSC_FEATURE_RECORD_VOICE=1

Thank you very much for all your findings.

Best Regards
[Bada Software and Hacking General] r_22009:
sorry i haven't seen your thread when i opend my new thread

but these are all i've found from sbu files

that might help you

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

---------- Post added at 03:35 PM ---------- Previous post was at 03:30 PM ----------

another thing that i understood right now!!

when you extract a .sbu file via 7zip you see a file "_mainfest.xml" which includes a "device id" that is static for all backups of a device

so maybe replacing this device id with our device id (which can be found with making a small backup) might help installing a device's backup on another
[Bada Software and Hacking General] mylove90:
@Adfree

About PFS updating

I made an update for my own custom with my own hands :D....No need for Kies anymore :D

http://www.sammobile.com/forum/showthread.php?t=3417

How i did it

I used WinMerge to compare every file from XXKL6 & XXLA1

Made PFS file from differences

Added some tweaks to make CSC & Registry updates

PFS is really a nice idea to update registry if what you are updating doesn't need master reset

Best Regards
[Bada Software and Hacking General] adfree:
Little progress...

*.bk files are simple ZIP. :D

I have catch them during Kies Backup...

My handset was new flashed... nothing installed...

Now several ideas... :D

Best Regards
[Bada Software and Hacking General] r_22009:
a dummy question!!!

what do you want to do by knowing the mechanism of backups?

i myself like to restore a backup of a handset on another !
[Bada Software and Hacking General] adfree:
Totally forgotten...

But it seems now with DisableBadaIntegrity you can backup and restore DB2 folder... :good:

Via Multiloader... :D

This means f. Database...

Not tested yet by me... maybe "sooon"...

On bada 1.x it was possible to make 1:1 Backups...

Thank you b.kubica

Best Regards
[Bada Software and Hacking General] adfree:
BackupInfo.dcf

These files are created in every Info folder... if Internal Menu Backup is used...

http://xdaforums.com/showpost.php?p=19756666&postcount=10

If you open these files... you can see:

Content-Vendor:htpp://samsungindia.com

http://xdaforums.com/showpost.php?p=33260382&postcount=47

...

Best Regards
[Motorola Droid and Milestone General] shalom06:
i have this issue that headphones are loose ..i used sennheiser headphones ..but after a week the headphones used to stop and then one side stop playing songs...the same headphones worked on other phones...then i brought panasonics..which worked for a week and now again the same issue one side stopped working any help thank u:)
[Motorola Droid and Milestone General] mzvast:
im using mx760 for 2 or more years.

frankly speaking, the stone's headphone-output shot is not stable enough ,in some roms the situation is even more frequent.Im getting inpatient with it some times listening to music.

As far as im concerned,u can try to change a different rom to check whether it is due to rom.
[Motorola Droid and Milestone General] shalom06:
Its present in all Roms. ...the thing is. ..de slot gets worn out which causes..... de slot to jiggle around ...
[Motorola Droid and Milestone General] shalom06:
reply

can u suggest me a way to dis assemble and apply tension ..???i am a 6 yr old kid ...dont hav much knowledge LOL
[Motorola Droid and Milestone General] jgoose:
You can order a new headset jack on line really cheap, however, the solder connections are really small. Unless you have experience, or know someone who does micro/miniature repair, I would not attempt this.

I settled with plan "B" and got a Motorola Bluetooth head set. To be honest, I like it better than the wired head sets...
[Motorola Droid and Milestone General] shalom06:
reply

i already spend a hell lotta money on them and i dont earn i am a student LOL
[HTC Sensation] Goutetsuu:
Hello,

I'm experiencing an issue with Gingerbread or ICS ROMs with Sense whereby i reach a point of trying to install apps and I receive the error 'Insuffcient Storage Available'.

Meanwhile I typcially have over 100mb available on the internal memory and 11GB available on the SD card.

I've tried:

- cleaning cache

- uninstalling apps (temporarily works until more apps are installed)

- fixing permissions

- using recovery to wipe cache and dalvik cache

- also removed SD card and tried installing apps, this still fails

I seem to notice the error with Sense based ROMs and can't recall if I have experienced this with MIUI ROMs.

I'm unsure what else to try and I'm wondering if anyone has more insight how to resolve this problem permantly so I can install more apps.

Any help is indeed appreciated, so thank you in advanced.

:)

P.S. Current Phone info:

ROM - InsertCoin ICS Sense ROM 4.0.6

Phone - HTC Sensation

Fully rooted, SuperCID'd, current 4EXT touch recovery
[HTC Sensation] aeroseek:
This may be obvious but......have you moved your already installed apps to SD? The ones that can be moved.
[HTC Sensation] antijesse:
I've had the same problem, but rebooting usually fixed it for me.
[HTC Sensation] naetaru:
Same here.
[HTC Sensation] Goutetsuu:
Hey guys,

thanks for posting, Ididn't want to try moving the apps to sdcard yet, as i i have enough space on internal memory, just puzzled why i can't use it; however it seems i may have to do this, thanks.

I have rebooted but still no change :( what to do...
[HTC Sensation] mikef:
The problem is not insufficient internal storage, it is some cache or market data. Since you have cleared cache, try going into Manage Apps, go to the market, and clear data. That fixed it for me before.
[Samsung Galaxy Nexus] thay:
Is there any valid reason for backup EFS in galaxy nexus ?

In other samsung devices efs is stored in the / dir but in this device is different.
[Samsung Galaxy Nexus] Goat_For_Sale:
Its also good to have backups, incase something gets corrupted its nice to have it.

http://xdaforums.com/showthread.php?t=1352371
[Samsung Galaxy Nexus] thay:
Test but what is the correct way to backup and to restore ?
[Samsung Galaxy Nexus] silow:
The image backup would probably serve you best. Rooted, ADB, and busybox installed:

Backup

adb shell
su
busybox dd if=/dev/block/platform/omap/omap_hsmmc.0/by-name/efs of=/data/media/my_efs_backup.img

Restore

adb shell
su
busybox dd if=/data/media/my_efs_backup.img of=/dev/block/platform/omap/omap_hsmmc.0/by-name/efs

I should mention that this puts an image backup at the root of the internal sd. You will want to copy this off and save it somewhere safe, preferrably multiple places.
[Samsung Galaxy Nexus] thay:
Very well fine thank's

This info is important and should be highlighted for prevent damage of imei after a bad flash
[Samsung Galaxy Nexus] Keneez:
Is there a way to backup efs without busybox installed?
[Samsung Galaxy Nexus] ArmanUV:
Use this instead to backup efs and radio:

adb shell
su
for i in efs radio
do
dd if=/dev/block/platform/omap/omap_hsmmc.0/by-name/${i} of=/sdcard/${i}.img &
done
[Samsung Galaxy Nexus] M7amad90:
Do you have a GSM Nexus ? if so, can u upload the backup image ! i have a broken efs partition and i want to fix it :(
[Samsung Galaxy Nexus] M7amad90:
btw is it possible to fix Corrupted efs with another one's working efs ?
[Samsung Galaxy Nexus] :
Not legal (most likely) since you'd have a duplicate of their IMEI.
[Samsung Galaxy Nexus] M7amad90:
Ok , If i could compare them to each other ! i mean mine and the other EFS files to change the IMEI ti mine in hex editor , willl this work?

If not , what should i do ?
[Samsung Galaxy Nexus] ragnarokx:
There was an app posted in this section for EFS backup: http://xdaforums.com/showthread.php?t=1510906
[Samsung Galaxy Nexus] M7amad90:
It's not useful, My data are corrupted , whats the point of backing it up ???
[Samsung Galaxy Nexus] pnnorth:
The IMEI will be encrypted, you won't be able to restore it yourself. A few nexus s users ended up with the Samsung default IMEI after flashing a dodgy HTC sense port. The only way they could get it fixed was to send it back to Samsung.

It's also illegal in some countries to change your IMEI.

http://xdaforums.com/archive/index.php/t-1234384.html
[Samsung Galaxy Nexus] :
It's possible to restore a corrupted EFS folder (and IMEI) on the I9100 via adb and your existing corrupted folder; unsure of if it applies directly to the GN. I'd imagine that it's possible however, but I don't want to be a guinea pig. A user (Odia IIRC) on the I9100 forums can also fix your borked EFS for a small donation.

Restoration: (

I9100

) http://xdaforums.com/showthread.php?t=1264021

Odia: http://xdaforums.com/member.php?u=1465627

There's also a tool on the Market...err...Play that can repair the I9100's EFS. As far as I can tell it just does it the the same way as the adb method, but for people who aren't familiar enough with adb.

I9100 App: https://play.google.com/store/apps/...GwsMSwxLDEsImNvbS5oZWxyb3ouR1NJSV9SZXBhaXIiXQ

I'm not suggesting that any of these will fix the poster's IMEI, but just presenting the possibilities so a user/developer who has the skills knowledge can potentially develop a means of restoration.
[Samsung Galaxy Nexus] :
Didn't mention kTool since it can't repair, but it is able to restore b/u's; here's Hellcat's response to a query if compatibility for the GNex was being explored:

http://xdaforums.com/showthread.php?p=22408927#post22408927

I had to resort to restoring a b/u at least once on my SGS2, thankfully I had a b/u.
[Samsung Galaxy Nexus] thay:
Last resource is flash stock google firmware and hope imei is back.A lot of people have solved with this procedure,
[Samsung Galaxy Nexus] M7amad90:
I flashed the stock Rom 1000 times with no luck !. The EFS folder won't be affected by flashing roms. It's just like a partition or MBR of the hard disk i guess!

So, From the end, there is noways to fix this issue, right ?
[Samsung Galaxy Nexus] mbh87:
He didn't say flash a stock ROM he said to flash the stock images in fastboot.
[Samsung Galaxy Nexus] M7amad90:
yes, I know .. i meant stock images too ! ..
[AT&T Samsung Galaxy S II SGH-I777] spexwood:
I just got a response from the developer of the app, "Battery Monitor Widget Pro" in regards to a completely unrelated question. The dev said that in some Android devices, the kernels will have the battery size hardcoded into the kernel.

Does anyone know if this is true for our device and if so, how to change it without having to jump through a bunch of hacking an reprogramming hoops?

I ask because I bought the Hyperion 1800mAh extended battery for my phone and want to be sure that the phone is reading its size correctly. Currently, with the new battery installed, the battery level will sometimes randomly drop about 30% after a reboot (although, I have read this as being a common occurance for other people too) and when charging, the phone will stop charging and claim to be at 100%, but then will drop down to around 95% once unplugged. I have tried recalibrating the battery several times with no improvement, so after hearing about this "hardcoded into kernel" thing, I started thinking that this could be my problem.

For the record, I am on UCKH7 stock, with the exception of being rooted. (UCKK6 gave me phone call problems so I reverted back).
[AT&T Samsung Galaxy S II SGH-I777] spexwood:
Another Q:

I should also ask if there is any way to force the system to properly read the battery level.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
No - hardcoding the battery size only applies to fuel gauges of the "coulomb counter" type - these measure every bit of energy that goes in and out of the battery and track it, so they need to know how much energy the battery has at maximum.

These types of gauges are highly accurate when properly calibrated, but they drift over time and can become wildly inaccurate in many situations. Such fuel gauges can go utterly nuts if you swap batteries, unless the battery itself has memory in it.

Our fuel gauge is of a different type that uses the voltage history of the battery to provide an estimate of the charge - it is somewhat less accurate (could be as much as +/- 5% I'm guessing, except in corner cases such as a reboot at low charge state, which throws it off temporarily) but has the advantage of always converging on reality over time, so it never requires one to pay attention to calibration.

If your fuel gauge is really wacked out (such as a reboot at low charge, which confuses it with high load after a reset), the following will reset it again:

echo "1" > /sys/class/power_supply/fuelgauge/fg_reset_soc

Of course, this can make things worse if your battery is in any situation other than light load.
[AT&T Samsung Galaxy S II SGH-I777] spexwood:
Thanks for the reply.

Will that code (used in a terminal on the the phone, I suppose? Correct me if I am wrong please) work the same way as deleting the batterystats.bin file?

Also, if i were to use that command you gave, what would I need to do? By this I mean, does the phone need to be charged to 100%, do I need to do it while still plugged into the charger as well, etc etc.

I don't want to go off and do something that could screw up my phone, but am definitely interested in knowing more about what that command can do for me.

I look forward to your reply :)
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
No, since this actually does something. Deleting batterystats.bin on our device does nothing.

Just do nothing, although ideally to prevent the fuel gauge from getting confused again, do it when the phone has been under very light load, and then don't use the phone much for a few minutes afterwards (turn the screen off).

None of that "charge to 100%" stuff is applicable to our phone due to the way the gauge works - it's only for devices that have coulomb counter fuel gauges (the ones that need the battery capacity hardcoded).
[AT&T Samsung Galaxy S II SGH-I777] spexwood:
Thank you and don't worry because I wasn't really going to do that unless I REALLY had to. I just like to know this stuff.

After some some full charge/discharge cycles, my battery seems stable now. Battery life could be better though, but at least I get through the day while it is on standby.

Thanks for all the info :)
[AT&T Samsung Galaxy S II SGH-I777] PizzaAmerican23:
Is it the same for the captivate? I have 2 captivates, both on identical roms, flashed identical ways, but for some reason, the battery is awful on one.

Could it be possible the gauge is just way off? I've deleted batterystats.bin but does it even do anything on that phone?
[AT&T Samsung Galaxy S II SGH-I777] spexwood:
I obviously cannot answer your whole question, but I can answer the one about the batterystats.bin.

The purpose for deleting the batterystats.bin file is to help Android to relearn the upper and lower limits of the battery (ie where 100% and 0% is). So, if you delete that file, then you need to let to phone charge to 100% and then let it drain until the phone turns itself automatically. This process needs to be repeating for several days.

The rest I cant answer since it is all new info to me ;)

I wouldnt recommend that command that was given earlier because if it has potential to mess MY phone up, it will probably be the same for you too.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
If they are running the EXACT same firmware, then the battery may simply be defective.

The Captivate has a fuel gauge similar to ours - MAX17040 instead of MAX17042. The 17040's datasheet is public, the 17042 (ours) is not, but from reading the kernel source and such, the 17042 in ours is almost identical - it adds a few features Samsung isn't using.

JESUS FREAKING CHRIST! DID YOU READ A SINGLE THING I SAID?

batterystats.bin has NO effect on the fuel gauge on our phone. PERIOD.

STOP BLINDLY APPLYING HTCISMS TO A SAMSUNG PHONE.

In fact, please refrain from commenting on this subject on a Samsung phone ever again until:

1) You have read and understand the Maxim MAX17040 IC datasheet

2) You have read and understand the kernel source for our fuel gauge driver in max17042-fuelgauge.c
[AT&T Samsung Galaxy S II SGH-I777] spexwood:
While I appreciate your earlier help, I THOUGHT I WAS understanding it!

THERE IS ABSOLUTELY NO REASON TO BE SUCH A JERK TO PEOPLE JUST BECAUSE THEY DONT FULLY UNDERSTAND YOU!!!! IF NORMAL PEOPLE LIKE ME DO NOT UNDERSTAND WHAT YOU SAY, THEN IT IS YOOOUUUUR FAULT BECAUSE YOU ARE USING LANGUAGE THAT IS TOO GEEKY FOR US TO UNDERSTAND IN THE FIRST PLACE!!!!!

Just because you made a custom kernel and some other crap, doesn't make you king of the forums and give you the right to talk down on people!!!
[AT&T Samsung Galaxy S II SGH-I777] :
Look, while I dont agree with the way that Entropy answered you, he didnt break any rules. He answered you and then had to re-answer you. If you didnt like his answer or found it jerkish, then move on. This post does not help the matter at all, in fact it could be viewed as a troll.

He didnt use "geeky language" at all, in fact those terms are used in the development forums quite often. If you dont understand those, then either search to look them up or Google them to get a better understanding. Its not his fault at all because he did not make up the names or the commands. Again, if you dont understand any of this, then you probably have no business tinkering with your phone.

Entropy has arguably one of the best kernels for our phone right now, not just some kernel... and his "other crap" is widely used and appreciated. If you dont like his work, then dont use it but DO NOT put down his work that he does for free and then offers his work for free for people to use.

Since this thread got too geeky, and the main question has been answered, Im going to close this thread to prevent any further bickering.
[General Questions and Answers] petersu:
Tried to root my Galaxy Y S5360 using the described method (update.zip). No errors and I can see and launch the SuperUser App. However, I still can't modify any of the system files and Android Commaner reports Root Access: NO.

I can't see that I missed anything. Build.prop attached.
[General Questions and Answers] petrea_86:
The same problem

I do not have even a su app in list...
[General Questions and Answers] b_henry:
You may try tool named Universal Gingerbread Root & Unroot. I'm sorry that I do not offer link, but such rules are...;)
[General Questions and Answers] nathan-96:
yeah he's right, here is a link to gingerbreak v1.20. I advice you to do backup etc first.

direct download: http://xdaforums.com/attachment.php?attachmentid=578771&d=1303829207

forum: http://xdaforums.com/showthread.php?t=1044765

cheers

---------- Post added at 09:10 PM ---------- Previous post was at 08:37 PM ----------

btw, you can check with root checker basic if you have root acces, than you just should update superuser. And intergrate update in system, I use link2sd for that
[General Questions and Answers] thaidroid:
I had this problem to.

The attached file worked for me.

Instruction.

Put the file in root directory.

Flash with stock recovery(not CWM)

It's a quick flash and after re-boot you should be set.

IT DOES NOT WORK IF YOU FLASH USING CWM.zip:silly::silly:
[General Questions and Answers] ekru:
Unlockroot and Super One Click usually works for me, if one fails other surely be succesful. But i am rooting tablets generally so i dont know if these will help, but worth a try.