yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Thanks for these things but I already know how to revert back to stock. What I want to know is how I can get to CM without bootloop. And I don't have the US version.

EDIT: It seems that I need to remake my build so I'll keep you up to where I'm.
[Samsung Galaxy Player 4.0, 5.0] SirRhor:
That is a great guide for restoring to stock. I'm afraid to try anything besides ROOT because I already bricked one device and I didn't have a proper recovery ROM to put things back to normal.

I read the whole thing so can I conclude that the download links for the recovery ROMS are for the Galaxy Player 4 and 5 US versions?

Sent from my YP-G70
[Samsung Galaxy Player 4.0, 5.0] noisyfox:
I had complied an ICS from the original source with an I9000 device tree and g70's vendor files. And i also got a bootloop. I am working on modifying it to support g70.

---------- Post added at 02:35 AM ---------- Previous post was at 02:32 AM ----------

And I use CWM recovery to flash the room, and I don't have the binary file for g70.
[Samsung Galaxy Player 4.0, 5.0] Zyxxeil:
I did go into recovery mod once when it got stuck in a boot loop and i used the method above to fix it. After that i went directly to recovery mod and to my surprise it didnt get stuck in boot loop anymore. Im afraid to try it again.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
I used a I9000 device tree, but people from teamhacksung said that I need to make a stand-alone device tree.
[Samsung Galaxy Player 4.0, 5.0] noisyfox:
I'm working on making a suitable device tree. I need something to startwith so I use a i9000 device tree. But I can't find the binary file for it .
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
What binary file?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Now I'm running out of ideas. I made the rom ext4 but it isn't booting. (I don't know what could cause this maybe CWM?)
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
It seems that the boot.img (generic) inclued with the build don't work with samsung devices. (why samsung??) I would need help from someone who has ported CM7 to a samsung device. (If there's anyone :))
[Samsung Galaxy Player 4.0, 5.0] Rueben_:
maybe try having a look around the Samsung galaxy 2 or 1 forums sure they will help u out :)

Hows the progress going? (sorry to ask) :)
[Samsung Galaxy Player 4.0, 5.0] EcHoFiiVe:
How far are you guys on this? I would really love to see ICS for this device!! If there's anything I could do to help, let me know!!
[Samsung Galaxy Player 4.0, 5.0] kfirbep:
i dont understand in all this stuff but after u guys finish this things that means that sgs wifi 5.0 could run 4.0 ice cream?
[Samsung Galaxy Player 4.0, 5.0] RValentinF:
Nobody seems to be working on ICS for the Player right now (as far as I know). Zaclimon is attempting to port Cyanogenmod7 since CM9 is impossible right now.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
NOTHING is impossible:D I work on CM7(Gingerbread) and tdmcode will work on CM9(ICS). However don't except ICS to come in like 2 weeks. As for my CM7 I think I have found the reason of why it won't boot. (I said I think)
[Samsung Galaxy Player 4.0, 5.0] WT Ho:
First, I am totally ignorant about porting CM. From what I see, you were encountering difficulties in booting CM, which is the difficult part in porting and you need very deep understanding of the hardware to get through.

I wonder if it is possible to do a hybrid port. i.e. you take the linux layer of the stock rom and apply CM's Android layer on top of that. That may get started faster.

That may not make any sense at all as I have no experience on this whatsoever.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Yes well I'm doing that. I'm taking CM's Galaxy S layer because these two devices are very simillar.
[Samsung Galaxy Player 4.0, 5.0] klin1344:
But would it work on the USA versions or just the international versions?

Sent from my Galaxy Player 4.0 (YP-G1)
[Samsung Galaxy Player 4.0, 5.0] iJimaniac:
Well, once he gets it working on international, then I think a port to u.s. would be much less complicated, the only thing that makes them incompatible is the home button from what I understand, could be wrong. Let us worry about that after he finishes it ;)
[Samsung Galaxy Player 4.0, 5.0] noisyfox:
That's really a hard work... I'm now trying to port MIUI to my g70. Since the MIUI was developed from CM, i think maybe we can help each other in something difficult. Now my rom could boot but will crash when loading windowmanager. I think i can fix it in weeks.

So keep working and give us something nice.
[Samsung Galaxy Player 4.0, 5.0] MeximCivic:
I decided to get this Galaxy Player 5.0 US haven't rooted it yet but already put this topic as a favorite looking forward to the first release.

Quick question, can this player work as a tablet? As far as DPI and Tablet format in ICS?
[Samsung Galaxy Player 4.0, 5.0] minipot:
I dont understand the geeky talk (still learning). But what i want to ask is how close r u to finishing i have a friend with cm9 on touchpad and i want to kill him him and steel it every time he shows of on it. Thanks for all the work :)
[Samsung Galaxy Player 4.0, 5.0] apapousek:
You must be new here. Welcome to the Development section. Not the 'lol, when will it be done?' section. If you cannot contribute, don't post.

And to make sure this post isn't meaningless, I have server space & bandwidth to offer for image mirrors. Once compiled for the EU, I'll see if I can't get it working on my US.
[Samsung Galaxy Player 4.0, 5.0] minipot:
Sorry i didnt mean to sound like that i was voing to do the whole apologise before someone yells but my galaxy player keyboard is fiddly when writing long.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
I leave my build of CM7 as tdmcode working on it.

Link: http://xdaforums.com/showthread.php?t=1527576
[Samsung Galaxy Player 4.0, 5.0] tdm:
I'm also trying to get CM9 working. It should be soon, probably next week. Currently it compiles but the system won't come up because of issues with libcamera linkage.
[Samsung Galaxy Player 4.0, 5.0] Rapydax:
Take as much time as you need. I think it's already a good job working on CM9. I would be glad to help, but i'm not a programmer or anything.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Ok I'm trying to make MIUI from the (alpha) build of CM7. However when I'm trying to build i got these errors:

cp -r services.jar.out/ .build/services
/home/isaac/Micode/tools/add_miui_smail.sh .build/services_miui .build/services
/home/isaac/Micode/tools/apktool b .build/services .build/services.jar
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
make: *** [.build/services.jar] Erreur 1

The problem is I already have apktool.yml in the services folder. Does anyone know how to resolve that error? :confused:

EDIT: I resolved it
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
I have now another error which concerns the SystemUI.apk :

cp -r SystemUI .build
/home/isaac/Micode/tools/apktool b .build/SystemUI .build/MIUISystemUI.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
/home/isaac/Micode/yp-g1/.build/SystemUI/res/values/styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Holo.Light.Panel'.
/home/isaac/Micode/yp-g1/.build/SystemUI/res/values/styles.xml:16: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Holo.Light.Panel'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL1436630017996756416.tmp, -I, /home/isaac/apktool/framework/1.apk, -S, /home/isaac/Micode/yp-g1/.build/SystemUI/res, -M, /home/isaac/Micode/yp-g1/.build/SystemUI/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL1436630017996756416.tmp, -I, /home/isaac/apktool/framework/1.apk, -S, /home/isaac/Micode/yp-g1/.build/SystemUI/res, -M, /home/isaac/Micode/yp-g1/.build/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
make: *** [.build/MIUISystemUI.apk] Erreur 1

It seems that a lot of people get stuck there. It's the last thing before it copy the apps.
[Samsung Galaxy Player 4.0, 5.0] Tecardo:
Could you send me the code for the SystemUI? I think i can fix it...

It's mainly because the Galaxy Palyer is resisting very strong to SystemUI changes.
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Ok. I'll send you the files and framework files from apktool

EDIT: I'm not based from stock, but from CM7
[Samsung Galaxy Player 4.0, 5.0] Tecardo:
ah ok, thanks. Needs some time for me to setting all up.
[Samsung Galaxy Player 4.0, 5.0] kfirbep:
hi sorry that im noob but are you working on ICS for samsung galaxy s wifi 5.0?

and and are you working on CM and miui so to make them support samsung galaxy s wifi 5.0?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
I'm not currently working on ICS. I'm working (with tecardo) to bring MIUI from an alpha build of CM7 for the galaxy s wifi 4.0.
[Samsung Galaxy Player 4.0, 5.0] kfirbep:
oh so this roms wont release to sgs wifi 5.0?

sucks....
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Don't worry Ambrice and tdmcode are working on porting CM7 to sgs wifi 5.0. :D
[Samsung Galaxy Player 4.0, 5.0] kfirbep:
oh great!

and when do you think CM7 will release?
[Samsung Galaxy Player 4.0, 5.0] iJimaniac:
Patience is a virtue! ;)
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Srry if I use caps

Rule #1 in Cyanogenmod: DO NEVER ASK FOR ANY ETA!

This way if someone wants to ask, they will see this. As for me, only time and work of developpers will determine when it will be out. :)
[Samsung Galaxy Player 4.0, 5.0] Tecardo:
IT is ready, when it's done. :D

An motto known from Debian

PS: found the error,

but i have some problems solving it.

We don't have Holo as a theme.

So we need to change some things.

I only need to find out what. At the moment i study the source code of cm7 and YP-G1
[Samsung Galaxy Player 4.0, 5.0] noisyfox:
Really? That's quite a good news because i don't have time to port miui based on stock rom. I have a lot of work to do everyday... TAT

If you guys have problems on this, i will happy to help(if i can).

Ps: i can do beta test for sgp 5.0

---------- Post added at 01:02 PM ---------- Previous post was at 01:01 PM ----------

Holo? I think only ics has this theme before...
[Samsung Galaxy Player 4.0, 5.0] Tecardo:
Yes, i know, and thats the problem. HC also has it, but it's closed source :D

At the moment i'm installing Ubuntu.

I have installed Windows 8, and for that i need to overwrite my Ubuntu :D
[Samsung Galaxy Player 4.0, 5.0] Zyxxeil:
Hey guys i know im a bit late at this development stuff but i just have been busy. But if anyone needs any help i have good experience in android and linux?
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
You can help tdmcode and ambrice to their CM7 port. (well tdm's port done but needs some polishing and ambrice almost done his build) :D As for me I'm trying to port MIUI with the help of Tecardo. (I don't know how to program in java)
[Samsung Galaxy Player 4.0, 5.0] Tecardo:
At the moment I setup the build environment. I have a slow pc ;)

Send from my Galaxy Player.
[Samsung Galaxy Player 4.0, 5.0] noisyfox:
Haha, i have installed win8 too and i also need to reinstall ubuntu. I used wubi so i just need to edit BCD.
[Samsung Galaxy Player 4.0, 5.0] Tecardo:
I'm away for 2 Days.

I haven't found the string, making the problem, yet.
[Samsung Galaxy Player 4.0, 5.0] tdm:
Making progress.

Got the camera linkage fixed by not using proprietary libs. Cameras probably won't work when it comes up but oh well, I'll fix that later.

Also had to remove the proprietary libsensorservice. I copied one that I found an an i9000 ICS ROM. Seems to load, no idea if it works.

Now the system is starting up, I think, but the screen is black. logcat shows that surfaceflinger is complaining about GL errors. Need to track that down...
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Nice keep going :D. Doesn't ICS need modifications for the drivers available (from gingerbread. Or maybe it's just for HW acceleration.)
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
Isn't better to just remove it from the file? (the access.)
[Samsung Galaxy Player 4.0, 5.0] tdm:
I don't know. But i am trusting that I can get hints for configuration from teamhacksung's github. And probably binary libs also. :)
[Samsung Galaxy Player 4.0, 5.0] Tecardo:
Can't be done. In our files, there is only a link to the used theme.
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
Howdy fellas, I think I'm gonna pick me up a 5" Galaxy Player to help out on this ICS port :-)

I've ported ICS to the Kindle Fire and the Droid Pro so this shouldn't be too hard. The only thing that I might run into issues with is the cameras, but everything else should be fine :-) I just have a few questions..

1. Does this have fastboot?

2. Can you boot into recovery in case the ROM doesn't boot? Like is there a button combination when the phone is off that can boot into recovery or fastboot?
[Samsung Galaxy Player 4.0, 5.0] Tecardo:
1. don't know

2. There are two modes: i think they are also avaible for 5.0

Press Home and volume up to boot into recovery. Press Home and volume down for downlaod mode (for flashing ROM's and Odin)
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
Perfect! thanks, gonna order it tonight, should be here by the 13th :-)

thanks for the speedy answer too
[Samsung Galaxy Player 4.0, 5.0] Rapydax:
That's great man! :) good luck on the process ;)

Btw, did you buy the USA version or the International version of the player?
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
I haven't ordered it but I will get the US version. Is there anything different between the US and the International version besides the home button? If so, it should just be a kernel swap between the devices
[Samsung Galaxy Player 4.0, 5.0] Rapydax:
Nope I don't think there's any other difference besides the home button.
[Samsung Galaxy Player 4.0, 5.0] webdroidmt:
Great to see you in this forum, you've done some outstanding work with the KF. I know you haven't gotten your player yet but do you think the H/W video decoding will present a challenge, as it has with just about every other ICS port?

Also, I have the US 4.0, hopefully your efforts will spill over from the 5.0 :D Anyway, welcome here and happy devving.

Mike T
[Samsung Galaxy Player 4.0, 5.0] klin1344:
Yeah, because tdmocde's cm7 bringup for the 4.0's are for both intl and USA versions, and the only difference is the kernel.

Sent using Tapatalk
[Samsung Galaxy Player 4.0, 5.0] Entropy512:
1) Nope, we have download mode (aka Odin mode) - There's an open source reimplementation of Odin called heimdall - browse through the dev forums for ambrice's fixed version that works with our players

2) Yes. VolUp + Power enters recovery. If you hose up the kernel, VolDn + Power enters Odin mode, also VolDn + insert USB works. (VolDn+Power is unique to the Player, most other GalaxyS devices use VolDn + USB insertion.)
[Samsung Galaxy Player 4.0, 5.0] dunca123:
I don't know about the first question, so I am guessing no. Yes you can boot into recovery. Vol. up and power button combination takes you into recovery. Nice to see some more development for this. :)
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
Got a boot!!! First try!! It's actually very smooth from what I can see. It's the barebones as in I didn't try for anything to work except for booting so I can see what's up with the hardware :-) gonna need help with the boot.img as the boot.img is ripped straight off from the CM7 built by XDA user ambrice (thanks for your code too, ambrice!!)

A booting build is around 80% of the work, now it's just tinkering and whatnot

http://i.imgur.com/NSere.jpg
[Samsung Galaxy Player 4.0, 5.0] Tecardo:
What have you done? So that we can try porting it to 4.0?

@zac: do you have used the Newest miui build? It's based on ics... But there also is a gb version. I will try it with this.

Gesendet von meinem YP-G1 mit Tapatalk
[Samsung Galaxy Player 4.0, 5.0] rafa6571:
OMG!!! :eek: Thanks you for ur work

I cant believe my gp is getting ics
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
Haha it will, but not right away :P still a lot of crap that needs to be ironed out

Here's a few more pics

http://i.imgur.com/qp0S7.jpg

http://i.imgur.com/Geiva.jpg
[Samsung Galaxy Player 4.0, 5.0] zaclimon:
He used source from ambrice (I think) and then built CM9.

I didin't even touched MIUI ICS. I just used the patchrom. I will wait when CM9 is released to try to port MIUI ICS. There's always the option to take the framework from another device and try for gb (like i9000) :D
[Samsung Galaxy Player 4.0, 5.0] tdm:
Awesome, congratulations! :D

Can you post a link to your github, or perhaps a tarball of your device/samsung and vendor/samsung trees? I'd love to use this to bringup my 4.0.

And we really need to get a team together. I'm certain that we can get all four device flavors covered by a single source tree, and maybe even a single ROM binary with four different kernels.
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
I'll do it now. There's a few things I had to do after the fact regarding the updater script and adding a few files to the zip from the cm7 build like the ext4 scripts and things of that nature
[Samsung Galaxy Player 4.0, 5.0] tdm:
Thanks. I can handle the scripts easily enough. What I really need is your BoardConfig.mk and proprietary libs (especially the GL stuff).
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
I gotta hold off on the git upload. Something got screwed up and we can't dexopt the dalvik cache for some reason. I'll look into it tomorrow but I have a midterm tomorrow so I gotta catch some shut eye
[Samsung Galaxy Player 4.0, 5.0] tdm:
Okay I created gmail and github accounts for the project.

It seems that many of the Samsung code names are related to Italian architecture. Most of the names of Italian architects are taken in gmail, of course, as they are real names. But I found one that works on both gmail and github. Once we get some basics together, I'll publish the account name and we can start cranking out some ROMs. :D
[Samsung Galaxy Player 4.0, 5.0] noisyfox:
:eek:Good job!!! There are too many good news these days~~ I can't be more excited!

I have INTL SGP 5.0 so I can help testing this rom, and I also interested in this project.:)~

I also want to get the device tree because i want to build ICS based on the original ICS not CM9:rolleyes:

---------- Post added at 12:57 PM ---------- Previous post was at 12:54 PM ----------

Please let me join your project on github~
[Samsung Galaxy Player 4.0, 5.0] tdm:
Added some gingerbread compatibility definitions to my BoardConfig.mk. Still using the i9000 version of libsensorservice.so.

Now the system starts up and the screen is working. But the touchscreen is not working yet.
[Samsung Galaxy Player 4.0, 5.0] tdm:
Got the touchscreen working but it thinks there's a pointer or something. There is a blue circle that drags around with my finger, and I can't scroll because it thinks I'm moving a mouse.
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
Here's my source

https://github.com/JackpotClavin/Samsung-Galaxy-Player-5.0-U.S.-CM9-ICS

It should build right off the bat, but you have to make some changes to the zip that gets generated. I put instructions in the device directory under zipstuff you will find a readme which tells you which four files need to be copied to the root of the zip (should be the cm7 boot.img, make_ext4fs, updater.sh, and busybox). There's also a update script that I just extracted from my latest zip where everything works; you could just copy that into there and flashing should work :-)

THIS IS FOR THE US VERSION ONLY!
[Samsung Galaxy Player 4.0, 5.0] tdm:
Thanks, I'll check it out in a bit. Currently wrestling with why EventHub thinks the qt602240 device is a mouse/cursor, touchscreen, and keyboard at the same time. Not sure if it's the kernel driver or EventHub that's at fault.

I/EventHub( 148): New device: id=1, fd=106, path='/dev/input/event7', name='qt602240_ts_input', classes=0x15, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false

Note in EventHub.h:

EventHub.h: INPUT_DEVICE_CLASS_KEYBOARD = 0x00000001,
EventHub.h: INPUT_DEVICE_CLASS_ALPHAKEY = 0x00000002,
EventHub.h: INPUT_DEVICE_CLASS_TOUCH = 0x00000004,
EventHub.h: INPUT_DEVICE_CLASS_CURSOR = 0x00000008,
EventHub.h: INPUT_DEVICE_CLASS_TOUCH_MT = 0x00000010,
EventHub.h: INPUT_DEVICE_CLASS_DPAD = 0x00000020,
EventHub.h: INPUT_DEVICE_CLASS_GAMEPAD = 0x00000040,
EventHub.h: INPUT_DEVICE_CLASS_SWITCH = 0x00000080,
EventHub.h: INPUT_DEVICE_CLASS_JOYSTICK = 0x00000100,
EventHub.h: INPUT_DEVICE_CLASS_EXTERNAL = 0x80000000,

For comparison purposes, my LG VM670 phone says this:

I/EventHub( 1567): New device: id=6, fd=114, path='/dev/input/event1', name='touch_mcs6000', classes=0x14, configuration='/system/usr/idc/touch_mcs6000.idc', keyLayout='', keyCharacterMap='', builtinKeyboard=false
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
just copy the .idc file in my device's source to /system/usr/idc/

edit: just got sound working!
[Samsung Galaxy Player 4.0, 5.0] tdm:
Dude that was too easy. Have you done this before or something? ;)

Only remaining problem is that the home key isn't working. But I don't know if it's a keycode problem or a problem with Phone.apk.

When the system boots up, it continually pops up a dialog saying that the phone has died. Which is understandable, I suppose. So I removed Phone.apk. Now when I press the home button, logcat shows WindowManager complain "Unable to find ITelephony interface".

I think I need to modify my BoardConfig.mk to say it's a tablet and see what happens.
[Samsung Galaxy Player 4.0, 5.0] Rueben_:
Thank you @tdmcode and @Jackpotclavin for your work when you have a beta ROM i would be happy to test any-time :)
[Samsung Galaxy Player 4.0, 5.0] JackpotClavin:
And copy my key code file from my device setup to /system/usr/keychars/

I tried to add you on gtalk but I'm not sure if you got it

I need help with this boot.img because the ramdisk from cm7 is kinda screwy with the sdcards and whatnot so I need a way to modify some scripts. Are you using your own boot.img or using a pre built one?
[Samsung Galaxy Player 4.0, 5.0] dunca123:
I will be more than glad to test this ROM. I currently am using the U.S. 5.0 with CM7. I am very glad to see all of the effort being made for this device!