5,600,292 Members 35,926 Now Online
XDA Developers Android and Mobile Development Forum

[ROM][STOCK+ROOT+KERNEL] Samsung Galaxy Player 4.2 International (YP-GI1CW/XEF)

Tip us?
 
zebluk
Old
(Last edited by zebluk; 28th September 2012 at 02:57 AM.) Reason: Wifi issue
#1  
Member - OP
Thanks Meter 47
Posts: 34
Join Date: Sep 2012
Default [ROM][STOCK+ROOT+KERNEL] Samsung Galaxy Player 4.2 International (YP-GI1CW/XEF)

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



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




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
The Following 26 Users Say Thank You to zebluk For This Useful Post: [ Click to Expand ]
 
zaclimon
Old
#2  
zaclimon's Avatar
Recognized Contributor
Thanks Meter 2214
Posts: 3,091
Join Date: Aug 2011
Location: Montréal

 
DONATE TO ME
Quote:
Originally Posted by zebluk View Post
Flashing is never 100% safe, use at your own risk.

Backup before flashing!

A version for US devices (YP-GI1CB) is about to be made, just be patient folks, should be a matter of days!

These ROMs can be flashed using Odin3. If you want to use Heimdall you will need to extract the .img files from the archives. Use stock ROMs if you want to revert back to original state.

Stock factoryfs
Stock kernel (the original logo will be lost, and your device will be watermarked)
Rooted factoryfs

The rooted ROM is minimal. It just adds /system/bin/su to the stock factoryfs and nothing more. That should be enough for anything tho
This version of su (TinySU) doesn't spawn any popup when giving root thru Superuser.apk, feel free to replace it with the version you like.

Greets: Rebellos alice90 Baruch6132 zaclimon Entropy512 helicopter88 ChrisFR and all the people from #xda-devs that supported me
Congrats on this!! Now the 4.2 users can finally get their players rooted.
The Following User Says Thank You to zaclimon For This Useful Post: [ Click to Expand ]
 
galaxyplayer4.2
Old
#3  
Junior Member
Thanks Meter 1
Posts: 11
Join Date: Sep 2012
Quote:
Originally Posted by zebluk View Post
Flashing is never 100% safe, use at your own risk.

Backup before flashing!

For US version (YP-GI1CB) go HERE


These ROMs can be flashed using Odin3. If you want to use Heimdall you will need to extract the .img files from the archives. Use stock ROMs if you want to revert back to original state.

Stock factoryfs
Stock kernel (the original logo will be lost, and your device will be watermarked)
Rooted factoryfs

The rooted ROM is minimal. It just adds /system/bin/su to the stock factoryfs and nothing more. That should be enough for anything tho
This version of su (TinySU) doesn't spawn any popup when giving root thru Superuser.apk, feel free to replace it with the version you like.

Greets: Rebellos alice90 Baruch6132 zaclimon Entropy512 baladev helicopter88 ChrisFR and all the people from #xda-devs that supported me
Is there a step-by-step procedure to do this for complete noobs like me? I don't know how to backup and root since it is my first Android device and I just don't want to brick it if I miss a step. Thank you very much for this.
 
Consumers
Old
(Last edited by Consumers; 14th September 2012 at 10:56 PM.)
#4  
Consumers's Avatar
Junior Member
Thanks Meter 0
Posts: 11
Join Date: Aug 2012
Would appreciate a full guide as well. Though it seems pretty straightforward, I wouldn't want to make an elementary mistake or one specific to this device.

Also, I'm curious whether full functionality will be present in translating over to a different launcher.

Thanks a ton for the great work to all involved (and great timing in getting it out a week after I got my hands on the 4.2)!

Sent from my YP-GI1 using xda premium
 
zebluk
Old
(Last edited by zebluk; 15th September 2012 at 02:54 AM.)
#5  
Member - OP
Thanks Meter 47
Posts: 34
Join Date: Sep 2012
Ok, added a HOWTO for Windows users, I hope that helps.

@Consumers: I'm not sure what do you mean by "translating over to a different launcher", maybe you're talking about CWM? Anyway unless you hardbrick your device, you should be able to restore it to stock (even from the exclamation mark screen which is in fact another download-mode), just be safe and do backups when you're in doubt!

For now I don't plan on doing other updates. Now the stock ROM is dumped & rooted, I'll let the modders take it from here, if they feel like it

bluk
The Following 4 Users Say Thank You to zebluk For This Useful Post: [ Click to Expand ]
 
galaxyplayer4.2
Old
#6  
Junior Member
Thanks Meter 1
Posts: 11
Join Date: Sep 2012
Quote:
Originally Posted by zebluk View Post
Ok, added a HOWTO for Windows users, I hope that helps.

@Consumers: I'm not sure what do you mean by "translating over to a different launcher", maybe you're talking about CWM? Anyway unless you hardbrick your device, you should be able to restore it to stock (even from the exclamation mark screen which is in fact another download-mode), just be safe and do backups when you're in doubt!

For now I don't plan on doing other updates. Now the stock ROM is dumped & rooted, I'll let the modders take it from here, if they feel like it

bluk
Thanks for the how to. However, the link to the rooted factoryfs is down. Could you please reupload it? Maybe with another file hosting site like Mediafire or through torrent maybe? Thank you very much.
The Following User Says Thank You to galaxyplayer4.2 For This Useful Post: [ Click to Expand ]
 
zebluk
Old
#7  
Member - OP
Thanks Meter 47
Posts: 34
Join Date: Sep 2012
Quote:
Originally Posted by galaxyplayer4.2 View Post
Thanks for the how to. However, the link to the rooted factoryfs is down. Could you please reupload it? Maybe with another file hosting site like Mediafire or through torrent maybe? Thank you very much.
Thanks for notifying me; reuploading

bluk
The Following 2 Users Say Thank You to zebluk For This Useful Post: [ Click to Expand ]
 
Consumers
Old
(Last edited by Consumers; 15th September 2012 at 07:12 PM.)
#8  
Consumers's Avatar
Junior Member
Thanks Meter 0
Posts: 11
Join Date: Aug 2012
Odin seems to flash successfully, but after restarting, root-only programs like Root Browser and ROM Browser still say that it appears that I'm not rooted. I tried flashing twice, both with no problems, and still nothing. Any ideas?

EDIT: Never mind! SuperSU simply wasn't granting access or prompting me to grant access to the apps. Thank you very much for your work, zebluk! Very helpful guide too.
 
zebluk
Old
(Last edited by zebluk; 15th September 2012 at 07:16 PM.)
#9  
Member - OP
Thanks Meter 47
Posts: 34
Join Date: Sep 2012
Quote:
Originally Posted by Consumers View Post
Odin seems to flash successfully, but after restarting, root-only programs like Root Browser and ROM Browser still say that it appears that I'm not rooted. I tried flashing twice, both with no problems, and still nothing. Any ideas?
Install Superuser I didn't include it to keep changes minimal.

Make sure you have rooted device issuing "adb shell" at prompt, then type "su". If you see sharp sign "#" you have root.

bluk

EDIT: looks like you got it at the very same time I was answering enjoy
 
joeblack_2k2
Old
#10  
Junior Member
Thanks Meter 1
Posts: 4
Join Date: May 2008
Hi guys, just a litte thing: the mentioned backup process (adb) doesnt work on Android 2.3.6. Think its 4.0 above ...

Nevertheless, great we got root now

The Following User Says Thank You to joeblack_2k2 For This Useful Post: [ Click to Expand ]
Tags
rom, root, rooted, samsung galaxy player 4.2, yp-gi1cw
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes