Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
THREAD CLOSED
Tip us?
 
hillbeast
Old
#11  
hillbeast's Avatar
Recognized Developer - OP
Thanks Meter 6614
Posts: 2,604
Join Date: Feb 2011
Location: Dunedin

 
DONATE TO ME
Right so first priority is to get UART output. My current UART cable with a 612K resistor (I think it was 612K) doesn't give me any output. I'd say that is the wrong resistor for this device, so I need to find out which one it is. However the cable does JIG the phone to start up.
Samsung Galaxy 3: No ROM + Kernel 3.4.x Project
Google|Asus Nexus 7: CyanogenMod 10.1 + CM10.1 Kernel
Sony Xperia Arc S: FXP CyanogenMod 10 + CM10 Kernel
ODROID U2: Ubuntu 12.10 + ODROID Ubuntu Kernel

Previous phones: Samsung Galaxy S2

My creations/contributions: Kyorarom (G3-F) (G3-ICS) - Kyorakernel - G3MOD Kernel - Kernel 3.4 Project for Galaxy 3 - Hybrid Data2SD - HD2SD v2 - Kernel 3.3.8 for Linksys WAG160N
The Following 2 Users Say Thank You to hillbeast For This Useful Post: [ Click to Expand ]
 
hillbeast
Old
#12  
hillbeast's Avatar
Recognized Developer - OP
Thanks Meter 6614
Posts: 2,604
Join Date: Feb 2011
Location: Dunedin

 
DONATE TO ME
Quote:
Originally Posted by hillbeast View Post
Right so first priority is to get UART output. My current UART cable with a 612K resistor (I think it was 612K) doesn't give me any output. I'd say that is the wrong resistor for this device, so I need to find out which one it is. However the cable does JIG the phone to start up.
Update to this: got this output:

Code:
AST_POWERON

BOOTING COMPLETED
That's the modem speaking to me over UART. Gotta change the UART mode to PDA instead of MODEM. Will do that once I root the phone.
Samsung Galaxy 3: No ROM + Kernel 3.4.x Project
Google|Asus Nexus 7: CyanogenMod 10.1 + CM10.1 Kernel
Sony Xperia Arc S: FXP CyanogenMod 10 + CM10 Kernel
ODROID U2: Ubuntu 12.10 + ODROID Ubuntu Kernel

Previous phones: Samsung Galaxy S2

My creations/contributions: Kyorarom (G3-F) (G3-ICS) - Kyorakernel - G3MOD Kernel - Kernel 3.4 Project for Galaxy 3 - Hybrid Data2SD - HD2SD v2 - Kernel 3.3.8 for Linksys WAG160N
The Following 20 Users Say Thank You to hillbeast For This Useful Post: [ Click to Expand ]
 
hillbeast
Old
(Last edited by hillbeast; 15th June 2012 at 12:46 PM.)
#13  
hillbeast's Avatar
Recognized Developer - OP
Thanks Meter 6614
Posts: 2,604
Join Date: Feb 2011
Location: Dunedin

 
DONATE TO ME
Quote:
Originally Posted by hillbeast View Post
Update to this: got this output:

Code:
AST_POWERON

BOOTING COMPLETED
That's the modem speaking to me over UART. Gotta change the UART mode to PDA instead of MODEM. Will do that once I root the phone.
Another update, I did this in adb shell:

Code:
echo PDA > /sys/devices/platform/switch-sio/uart_sel
Then rebooted the phone with my UART cable attached and now I get this:

Code:
Uncompressing Linux... done, booting the kernel.
So it's giving me output up until the kernel boots which told me the console attribute in the cmdline isn't set. I looked and that confirmed it that it wasn't. I will get the sourcecode for a kernel and compile it with the console attribute.

So yes, this phone will do UART. I just have to do it a bit weirdly.
Samsung Galaxy 3: No ROM + Kernel 3.4.x Project
Google|Asus Nexus 7: CyanogenMod 10.1 + CM10.1 Kernel
Sony Xperia Arc S: FXP CyanogenMod 10 + CM10 Kernel
ODROID U2: Ubuntu 12.10 + ODROID Ubuntu Kernel

Previous phones: Samsung Galaxy S2

My creations/contributions: Kyorarom (G3-F) (G3-ICS) - Kyorakernel - G3MOD Kernel - Kernel 3.4 Project for Galaxy 3 - Hybrid Data2SD - HD2SD v2 - Kernel 3.3.8 for Linksys WAG160N
The Following 36 Users Say Thank You to hillbeast For This Useful Post: [ Click to Expand ]
 
Skander1998
Old
#14  
Skander1998's Avatar
Senior Member
Thanks Meter 349
Posts: 980
Join Date: May 2012
Location: Doha

 
DONATE TO ME
I made a discussion thread here, post only developement related things in here, and everything else goes there
Current Phone:

Phone: Samsung Galaxy S3 I-9300 @ 1.8Ghz | SIO
Memory: 16GB with 64GB Ext-Memory
ROM: Android Revolution HD 11.3
ROOT: Yes
TouchWiz: TouchWiz UX
Software number: 4.0.4
Kernel version: Perseus Alpha24_2
Baseband version: I9300XXLH1
Recovery: CWM 5.5.0.4

Collecting Dust:

Phone: Samsung Galaxy SL I9003
Memory: 4GB with 4GB Ext-Memory
ROM: CM10
ROOT: Yes
Software number: 4.0.4
Baseband version: I9003JPKPH
Recovery: CWM 6
The Following User Says Thank You to Skander1998 For This Useful Post: [ Click to Expand ]
 
hillbeast
Old
#15  
hillbeast's Avatar
Recognized Developer - OP
Thanks Meter 6614
Posts: 2,604
Join Date: Feb 2011
Location: Dunedin

 
DONATE TO ME
Quote:
Originally Posted by loneagl View Post
@hillbeast
Sorry to interrupt dude
Linux is Greek to many of us......
so does this mean kernel 3.x is possible???

Sent from my GT-I9003 using XDA
It means I will be able to debug the kernel while I am developing it.





Quote:
Originally Posted by Skander1998 View Post
I made a discussion thread here, post only developement related things in here, and everything else goes there
Thanks. I will subscribe to it.

Sent from my GT-I9100 using XDA
Samsung Galaxy 3: No ROM + Kernel 3.4.x Project
Google|Asus Nexus 7: CyanogenMod 10.1 + CM10.1 Kernel
Sony Xperia Arc S: FXP CyanogenMod 10 + CM10 Kernel
ODROID U2: Ubuntu 12.10 + ODROID Ubuntu Kernel

Previous phones: Samsung Galaxy S2

My creations/contributions: Kyorarom (G3-F) (G3-ICS) - Kyorakernel - G3MOD Kernel - Kernel 3.4 Project for Galaxy 3 - Hybrid Data2SD - HD2SD v2 - Kernel 3.3.8 for Linksys WAG160N
The Following 3 Users Say Thank You to hillbeast For This Useful Post: [ Click to Expand ]
 
hillbeast
Old
#16  
hillbeast's Avatar
Recognized Developer - OP
Thanks Meter 6614
Posts: 2,604
Join Date: Feb 2011
Location: Dunedin

 
DONATE TO ME
Right so I just had to figure out how to compile kernels on this phone. It's completely different to doing it on the Galaxy 3. On the G3, we just use zImages, whereas here it's using boot.imgs which is quite different. I've updated my build.sh to account for this. I'm still not actually working on Kernel 3.x. I'm still learning the device and getting it set up so I can develop on it.
Samsung Galaxy 3: No ROM + Kernel 3.4.x Project
Google|Asus Nexus 7: CyanogenMod 10.1 + CM10.1 Kernel
Sony Xperia Arc S: FXP CyanogenMod 10 + CM10 Kernel
ODROID U2: Ubuntu 12.10 + ODROID Ubuntu Kernel

Previous phones: Samsung Galaxy S2

My creations/contributions: Kyorarom (G3-F) (G3-ICS) - Kyorakernel - G3MOD Kernel - Kernel 3.4 Project for Galaxy 3 - Hybrid Data2SD - HD2SD v2 - Kernel 3.3.8 for Linksys WAG160N
The Following 10 Users Say Thank You to hillbeast For This Useful Post: [ Click to Expand ]
 
TheFrankenstain
Old
#17  
TheFrankenstain's Avatar
Recognized Contributor
Thanks Meter 2791
Posts: 1,081
Join Date: Dec 2011
Location: Moscow
Quote:
Originally Posted by hillbeast View Post
Right so I just had to figure out how to compile kernels on this phone. It's completely different to doing it on the Galaxy 3. On the G3, we just use zImages, whereas here it's using boot.imgs which is quite different. I've updated my build.sh to account for this. I'm still not actually working on Kernel 3.x. I'm still learning the device and getting it set up so I can develop on it.
Maybe this help
 
arindammanidas
Old
#18  
arindammanidas's Avatar
Senior Member
Thanks Meter 228
Posts: 343
Join Date: Apr 2011
Location: Guwahati
Quote:
Originally Posted by hillbeast View Post
Right so I just had to figure out how to compile kernels on this phone. It's completely different to doing it on the Galaxy 3. On the G3, we just use zImages, whereas here it's using boot.imgs which is quite different. I've updated my build.sh to account for this. I'm still not actually working on Kernel 3.x. I'm still learning the device and getting it set up so I can develop on it.
Yup.... the boot.img contains both the zImage and ramdisk ...

Sent from my GT-I9003 using XDA
Please "THANK ME" if my post helped you
"The best way to predict the future is to create it." -- Abraham Lincoln
Currently on CYANOGENMOD 9 + ARINDAM-KERNEL-CM9



Motorola Talkabout T2288 >> Motorola C200 >> MOTOFONE F3 >> Motorola W220 >> Motorola ROKR Z6 >> Samsung SGH-i450 >> Samsung Galaxy SL GT-i9003
 
hillbeast
Old
#19  
hillbeast's Avatar
Recognized Developer - OP
Thanks Meter 6614
Posts: 2,604
Join Date: Feb 2011
Location: Dunedin

 
DONATE TO ME
Quote:
Originally Posted by TheFrankenstain View Post
Maybe this help
Already figured it out, but thanks anyway.

Quote:
Originally Posted by arindammanidas View Post
Yup.... the boot.img contains both the zImage and ramdisk ...

Sent from my GT-I9003 using XDA
zImages can contain ramdisks too. Been using it like that on the G3 for long time. We used LZMA compression and managed to cram a hell of a lot into the boot partition.
Samsung Galaxy 3: No ROM + Kernel 3.4.x Project
Google|Asus Nexus 7: CyanogenMod 10.1 + CM10.1 Kernel
Sony Xperia Arc S: FXP CyanogenMod 10 + CM10 Kernel
ODROID U2: Ubuntu 12.10 + ODROID Ubuntu Kernel

Previous phones: Samsung Galaxy S2

My creations/contributions: Kyorarom (G3-F) (G3-ICS) - Kyorakernel - G3MOD Kernel - Kernel 3.4 Project for Galaxy 3 - Hybrid Data2SD - HD2SD v2 - Kernel 3.3.8 for Linksys WAG160N
The Following 3 Users Say Thank You to hillbeast For This Useful Post: [ Click to Expand ]
 
sachin sharma
Old
#20  
sachin sharma's Avatar
Senior Member
Thanks Meter 113
Posts: 144
Join Date: May 2012
Location: new delhi
Quote:
Originally Posted by hillbeast View Post
Right so I just had to figure out how to compile kernels on this phone. It's completely different to doing it on the Galaxy 3. On the G3, we just use zImages, whereas here it's using boot.imgs which is quite different. I've updated my build.sh to account for this. I'm still not actually working on Kernel 3.x. I'm still learning the device and getting it set up so I can develop on it.
i can make boot.img for u

if u want
pressing thnx button gives moral support for more devlopment!!

plz press it wont bite u

proud user of galaxy sl(i9003)

Lewa os(i9003)//Mooke os (i9003)//Lezo os(i9003)//Qiss me os(i9003,x10)//Shendu os(i9003)

THREAD CLOSED
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...