Flashing is never 100% safe, use at your own risk.
Backup before flashing!
Make sure your battery is charged!
For US version (YP-GI1CB) use the ROMs from alice90's thread
Backup before flashing!
Make sure your battery is charged!
For US version (YP-GI1CB) use the ROMs from alice90's thread
You might want to use sha1sum or md5sums to check download integrity, and 7zip to unpack archives.
Archive password is: xda-devs
These ROMs can be flashed using Odin3. If you want to use Heimdall (v1.3.2 reported not working with SGP4.2, use v1.3.1) you will need to extract the .img files from the archives. Use stock ROMs if you want to revert back to original state.
/!\ These ROMs are for YP-GI1CW/XEF. If you have another YP-GI1CW model you need to backup your wifi files before flashing and restore them later. You can refer to Backup /system/etc/wifi or Flash kernel (not recommended) or read the procedure in the HOWTO below.
ROOTED ROM
Description: this is the stock ROM with only 1 file added, /system/bin/su which was taken from TinySU (Note: doesn't spawn any popup when giving root through Superuser.apk)
SHA1: 2e27472345a40a8bfd4cba7f13bc1846ceba2800
MD5: 73288ed29eb8c4711b34e682a39682f3
STOCK ROM
Description: stock ROM, flash this if you want to revert back to out-of-the-box state
SHA1: 70eb347c5d8c0c877e7d069d30ac54bd1673d41a
MD5: 71a9880e88e6f513b4e9665542cbeaa3
STOCK KERNEL
Description: don't flash this unless you really need it; your bootlogo will be forever replaced by SGS2 logo, and your device will be watermarked, which will void your warranty
SHA1: 1bc402d990963c973957ef71e80e1a6dede4d1ae
MD5: 5b6be70d941c31aadfdb8d4a11db2800
Greets: Rebellos alice90 Baruch6132 zaclimon Entropy512 baladev helicopter88 ChrisFR and all the people from #xda-devs that supported me
HOW TO USE
HOW TO USE
Before anything you will have to install Samsung drivers, either with Kies from Samsung website, or using zadig (recommended)
I. Backup /system
Many different YP-GI1CW models exist with different letters at the end; I dumped these ROMs using YP-GI1CW/XEF and hence, if you have the same model but different letters at the end, you will probably not be able to use wifi after flashing. The workaround for this is to backup your original wifi files before flashing, and restore them later. If you own the very same model (YP-GI1CW/XEF) this step may be skipped, but it's safe to do it anyway:
- download & install AndroidSDK. It's a huge package with many tools, such as ADB (there's probably a light, stand-alone ADB somewhere; post if you have some info about this)
- unplug device from USB then put your device in USB debugging mode (Settings > Applications > Development > USB Debugging) then re-plug device.
- change active directory to where you installed AndroidSDK or ADB, on a windows system I would press Win+R then type cmd to open a console, and then in the console:
Code:
cd "C:\Program Files (x86)\Android\android-sdk\platform-tools"
- make sure your device is detected
Code:
adb devices
Should show your device serial number and status. If you don't see them, check if: you have the correct drivers / USB Debugging is enabled / USB cable properly connected
- backup your /system directory
Code:
mkdir sysbkup
cd sysbkup
..\adb pull /system
You will probably get some errors and that's normal, as you can't pull all files without root. Make sure the files are actually copied on your computer (with my device it's approx. 473MB).
- keep track of the original file permissions so you can restore them later
Code:
adb shell
$ ls -l /system/etc/wifi
-rw-r--r-- root root 274168 2012-03-17 10:05 firmware.bin
drwxr-xr-x root root 2012-03-17 10:05 softap
-rw-r--r-- root root 16295 2012-03-17 10:05 tiwlan.ini
-rw-r--r-- root root 16986 2012-03-17 10:05 tiwlan_cert.ini
-rw-r--r-- root root 883428 2012-03-17 10:05 tiwlan_drv.ko
-rw-r--r-- root root 16985 2012-03-17 10:05 tiwlan_plt.ini
-rw-r--r-- root root 1012 2012-03-17 10:05 wifi.conf
-rw-r--r-- root root 134 2012-03-17 10:05 wpa_supplicant.conf
$ ls -l /system/etc/wifi/softap
-rw-r--r-- root root 262356 2012-03-17 10:05 ap_firmware.bin
-rw-r--r-- root root 652 2012-03-17 10:05 hostapd.conf
-rw-r--r-- root root 954932 2012-03-17 10:05 tiap_drv.ko
-rw-r--r-- root root 22424 2012-03-17 10:05 tiwlan_ap.ini
Save what you see in some TXT file for later reference (will be needed in section III).
II. Flashing with Odin3 on Windows
1. Make sure the ROM you intend to flash was made exclusively for your device
2. Double-check (for Samsung Galaxy Player 4.2: open your device's cover, lift the battery; the model appears behind it)
3. Download & run Odin3 (tested v1.85 and v3.04 so far, both worked fine), click PDA and choose the .tar (or .tar.md5) file you want to flash (most likely, the "Rooted factoryfs" ROM).
4. Put your device in download-mode:
- unplug USB cable
- shut your device down (remove and reseat battery if its stuck somehow)
- press HOME (physical button bottom center), keep it pressed
- press VolumeDown, keep it pressed
- press Power, keep it pressed
- wait until the download-mode confirmation screen shows up
- release VolumeDown first, then the rest of buttons
- connect your PC to your device using USB cable
- press VolumeUp one to finally make your device turn into download-mode
=> this should make Odin3 react, and tell you "Added" in the bottom-left window, while adding something like <COM#> in the first box
Be careful: some user report having troubles with USB3 ports. I would recommend properly powered USB2 ports only. Avoid USB hubs, avoid USB1 and USB3.
5. Make sure to UNCHECK repartition. You can also uncheck the "F Reset Time" and "Auto reboot" but they're harmless. The only box that needs to be checked is PDA, along with the ROM file you're about to flash.
6. To flash your device, click start, the process should take less than 2 minutes.
If Odin3 stops at "Setup connection" this means the device has timed out (happened to me all the time); just retry and click "Start" faster after plugging USB
III. If Wifi doesn't work, restore wifi files saved in section I
Go to your ADB folder in console (refer to secion I), just under the directory containing backup
Code:
cd "C:\Program Files (x86)\Android\android-sdk\platform-tools"
Copy the the files you need on /sdcard/
Code:
adb push sysbkup/etc/wifi /sdcard/wifibkup
Then open a shell on your device, replace wifi files and set permissions (Note: I use 644 and 755 because that's what I had in section I, you should replace them with the permissions you had)
Code:
adb shell
$ su
# mount -o remount,rw /system /system
# cd /sdcard/wifibkup
# for i in *; do dd if=$i of=/system/etc/wifi/$i; done
# cd softap
# for i in *; do dd if=$i of=/system/etc/wifi/softap/$i; done
# cd /system/etc/wifi
# chown root.root *
# chmod 644 *
# chmod 755 softap
# cd softap
# chown root.root *
# chmod 644 *
# sync
Reboot, and you're done!
bluk
[EDIT: the following method does only work on Android 4.0 and above, I keep it here for reference only]
Many solutions exist for backup, I read many times about Titanium backup doing excellent job as well as ClockworkMod but they both need root IIRC. BackMeUp claims to perform backups without root on Android 2.1 and more, no idea to which degree this is true.
Without root, it's possible to make backups using ADB (Android Debug Bridge) which basically is the swissknife for Android devices; it gives you a linux shell on your device, backup/restore ability and more.
1. Download & install AndroidSDK. It's a huge package with many tools (such as ADB); there's probably a stand-alone ADB somewhere if you don't want to go the AndroidSDK way.
2. Unplug device from USB then put your device in USB debugging mode (Settings > Applications > Development > USB Debugging) then re-plug device.
3. Now it's time to create a backup file which I will call C:\MyBackup for the sake of example.
- open a shell
press Win+R and type in cmd
- change active directory to where you installed AndroidSDK or ADB, on my system I type
Code:
cd "C:\Program Files (x86)\Android\android-sdk\platform-tools"
- at this point, if you need to CREATE backup file, type:
Code:
adb backup -apk -shared -all -f C:\MyBackup
- but instead, if you need to RESTORE a previously created backup, type:
Code:
adb restore C:\MyBackup
Last edited: