Post Reply

[DEVS ONLY][BCM21553] Samsung Galaxy Pocket GT-S5300 (Cori) Development Discussion

2nd September 2014, 10:29 AM   |  #1  
streambinder's Avatar
OP Senior Member
Flag Rome
Thanks Meter: 307
 
145 posts
Join Date:Joined: Jun 2014
Donate to Me
General informations:
This thread's aim is only to represent a central meeting and discussion point for BCM21553 developers and, in particular, for the open Kernel/ROM sources development for the Samsung Galaxy Pocket GT-S5300 (codenamed Cori).

Information for common users:
As already described in the previous section, if you are not a developer, please restrict your posts to the general discussion thread so that developers can maintain good communication. Every post that is not strictly respecting these rules will be reported to the forum moderators. Thanks for your understanding.

For any other BCM21553 device related question or information, please, use this thread as a reference point, instead:
Last edited by streambinder; 2nd September 2014 at 10:39 AM.
The Following 2 Users Say Thank You to streambinder For This Useful Post: [ View ]
2nd September 2014, 11:00 AM   |  #2  
streambinder's Avatar
OP Senior Member
Flag Rome
Thanks Meter: 307
 
145 posts
Join Date:Joined: Jun 2014
Donate to Me
As someone already might know, I'm streambinder, from MoltenMotherBoard team.
I have already followed some projects for the GT-S5300, but especially kept in contact
with some of the events related to the porting of ROM and Kernel sources for BCM21553 chipset based devices.

In this precise moment, the sources in my possession allow you to be able to compile
a bugfree CWM 5.0.2.8 (based on CyanogenMod 7 code) with a kernel based on the Samsung stock one.
The only - fundamental - problem was due to the fact that unless I hadn't used the prebuilt INIT binary
token in the Samsung stock firmware boot.img, the phone would not work - or, better, boot up.
This means that until the situation - regarding this issue - doesn't change, our access to the porting of custom ROM
would be barred.

Recently, I decided to give Cori another chance and rework my sources, looking at the wonderful work brought
by the BroadcomCM team on CyanogenMod 9 (in particular, thanks to @bieltv.3 and @Alberto96) and @psyke83 on CyanogenMod 11.
They've not only been able to run these two ROMs in a more or less crude way, but this developer has been able to write
the necessary strings to make the INIT binary of some of these BCM21553 devices opensource.

Strong of this informations, I readjusted some of the sources of BroadcomCM's CyangenMod 9, which includes
all the progress carried out by both the team and psyke83, in order to make them work even on Cori,
and am now next to the first test of the CWM 6.X.X.X, based on IceCreamSandwich code.
At the same time, @akhbh is working on the KitKat code based CWM.

I hope I can give more information about any progress as soon as possible.
Last edited by streambinder; 3rd September 2014 at 08:25 AM.
The Following 2 Users Say Thank You to streambinder For This Useful Post: [ View ]
2nd September 2014, 11:46 AM   |  #3  
akhbh's Avatar
Senior Member
Flag Varanasi, India
Thanks Meter: 125
 
114 posts
Join Date:Joined: Jan 2014
More
The General Discussion thread for non-development issues is here:
*.[DISCUSSION] CyanogenMod 11 For Galaxy Pocket GT-S5300 Discussion Thread
Last edited by akhbh; 2nd September 2014 at 09:00 PM.
The Following 2 Users Say Thank You to akhbh For This Useful Post: [ View ]
2nd September 2014, 02:26 PM   |  #4  
streambinder's Avatar
OP Senior Member
Flag Rome
Thanks Meter: 307
 
145 posts
Join Date:Joined: Jun 2014
Donate to Me
Made a first test of CWM based on CyanogenMod 9 code.
It seems it cannot flash it as it weighs so much compared to its partition configuration value: in fact, the maximum boot partition size is set up to 5.0MB, but the compiled boot.img weighs 5.3MB.

Will have to resize its weight in order to make it fill into the partition.
@akhbh, have you had any complication in these terms, with CyanogenMod 11 sources?
@psyke83, what do you suggest to do? Do you think an increasement of boot partition would be a better idea?
The Following 2 Users Say Thank You to streambinder For This Useful Post: [ View ]
2nd September 2014, 04:43 PM   |  #5  
akhbh's Avatar
Senior Member
Flag Varanasi, India
Thanks Meter: 125
 
114 posts
Join Date:Joined: Jan 2014
More
Quote:
Originally Posted by streambinder

Made a first test of CWM based on CyanogenMod 9 code.
It seems it cannot flash it as it weighs so much compared to its partition configuration value: in fact, the maximum boot partition size is set up to 5.0MB, but the compiled boot.img weighs 5.3MB.

Will have to resize its weight in order to make it fill into the partition.
@akhbh, have you had any complication in these terms, with CyanogenMod 11 sources?
@psyke83, what do you suggest to do? Do you think an increasement of boot partition would be a better idea?

No, I didn't faced those complications. My boot.img weighted around 4.5 MB in lzma compression mode. In gzip, it increased to more than 5 mb.
The Following User Says Thank You to akhbh For This Useful Post: [ View ]
2nd September 2014, 07:28 PM   |  #6  
streambinder's Avatar
OP Senior Member
Flag Rome
Thanks Meter: 307
 
145 posts
Join Date:Joined: Jun 2014
Donate to Me
Quote:
Originally Posted by akhbh

No, I didn't faced those complications. My boot.img weighted around 4.5 MB in lzma compression mode. In gzip, it increased to more than 5 mb.

Perfect.
Which kernel have you based your build on?
2nd September 2014, 07:31 PM   |  #7  
akhbh's Avatar
Senior Member
Flag Varanasi, India
Thanks Meter: 125
 
114 posts
Join Date:Joined: Jan 2014
More
Quote:
Originally Posted by streambinder

Perfect.
Which kernel have you based your build on?

Well, I took the GeTux kernel for cori, had to change the board name though and then compile it. CWM was booting even before changing the board name but there was no reaction from the phone on trying to boot cm9/cm11
And after changing board name, a black screen on trying to boot

Another info: When tried to merge cori source into the bcm21553 common one, it did compile but gave bootloop of GT-S5300 logo on trying to boot as well as when trying to go in CWM.

Bieltv.3 recommended to use cori source instead of the bcm21553 common one so we used cori sources
Last edited by akhbh; 2nd September 2014 at 07:58 PM.
The Following User Says Thank You to akhbh For This Useful Post: [ View ]
2nd September 2014, 08:44 PM   |  #8  
streambinder's Avatar
OP Senior Member
Flag Rome
Thanks Meter: 307
 
145 posts
Join Date:Joined: Jun 2014
Donate to Me
Quote:
Originally Posted by akhbh

Well, I took the GeTux kernel for cori, had to change the board name though and then compile it. CWM was booting even before changing the board name but there was no reaction from the phone on trying to boot cm9/cm11
And after changing board name, a black screen on trying to boot

Another info: When tried to merge cori source into the bcm21553 common one, it did compile but gave bootloop of GT-S5300 logo on trying to boot as well as when trying to go in CWM.

Bieltv.3 recommended to use cori source instead of the bcm21553 common one so we used cori sources

I suggest to use our Kernel sources for now, too: it will automatically bypass few errors/issues/bootloops that we cannot now fight with.
The most important thing is to make INIT working from sources (hope it will be working
on my CM9 sources, too) and check that every our configuration is correctly working and
making Cori boot into recovery.

Once we'll make it perfectly working without any kind of issue, will be the right time to try
to make Cori supported with the BC21553-common kernel.
2nd September 2014, 08:57 PM   |  #9  
akhbh's Avatar
Senior Member
Flag Varanasi, India
Thanks Meter: 125
 
114 posts
Join Date:Joined: Jan 2014
More
Quote:
Originally Posted by streambinder

I suggest to use our Kernel sources for now, too: it will automatically bypass few errors/issues/bootloops that we cannot now fight with.
The most important thing is to make INIT working from sources (hope it will be working
on my CM9 sources, too) and check that every our configuration is correctly working and
making Cori boot into recovery.

Once we'll make it perfectly working without any kind of issue, will be the right time to try
to make Cori supported with the BC21553-common kernel.

Okay, I will use your kernel sources and try if something is changed once I reach home. For now, I neither have this device nor a PC, as I'm in another city.
Will be keenly watching your work. Will start after reaching home around the end of September
The Following User Says Thank You to akhbh For This Useful Post: [ View ]
2nd September 2014, 09:05 PM   |  #10  
streambinder's Avatar
OP Senior Member
Flag Rome
Thanks Meter: 307
 
145 posts
Join Date:Joined: Jun 2014
Donate to Me
Quote:
Originally Posted by akhbh

Okay, I will use your kernel sources and try if something is changed once I reach home. For now, I neither have this device nor a PC, as I'm in another city.
Will be keenly watching your work. Will start after reaching home around the end of September

No problem, mate.
Here you have every source in my possession:
Keep in contact with me, as I will need some informations by you.

Anyway I'm now making another build, keeping some not so much important binaries excluded, so that I can make the compiled boot.img fill into our little Cori's boot partition. I know it's a dirty workaround, but if it works, I'll use it untill @psyke83 will suggest me a better way to do.
Last edited by streambinder; 3rd September 2014 at 08:21 AM.

The Following User Says Thank You to streambinder For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
cori, galaxy, pocket, s5300, samsung
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Software and Hacking General [Developers Only] by ThreadRank