Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Kernel/Initramfs]Tab 7.7 Githubs

OP bedwa

21st January 2012, 04:42 AM   |  #1  
bedwa's Avatar
OP Recognized Developer
Flag Springfield IL
Thanks Meter: 655
 
1,129 posts
Join Date:Joined: Oct 2008
More
These are git repos for the initramfs that I pulled from the Austria Firmware and the Kernel Source downloaded and reuploaded to github. I'm going to fork and start working on a kernel for when I get the 7.7 myself, but if anyone else wants to start working on it and use them, feel free.

Kernel is still uploading, mistakenly reuploaded the initramfs twice. (Facepalm)

https://github.com/bedwa/P6800-Kernel

https://github.com/bedwa/P6800-initramfs

Enjoy guys!
The Following 8 Users Say Thank You to bedwa For This Useful Post: [ View ]
22nd January 2012, 05:44 PM   |  #2  
Y Ddraig Goch's Avatar
Junior Member
Flag Lanark
Thanks Meter: 2
 
19 posts
Join Date:Joined: Nov 2010
More
I have a 6800 device imported from Hong Kong and have been trying to figure out how to port CWM recovery to it. I work as a developer but I haven't looked at this before as I haven't needed to :)

So far I have rooted the device and had a dig around the filesystem. The partitioning looks similar to the 7 plus:-

179 1 20480 mmcblk0p1 /efs
179 2 1280 mmcblk0p2 /boot
179 3 1280 mmcblk0p3 /mnt/.lfs
179 4 8192 mmcblk0p4
179 5 8192 mmcblk0p5
179 6 8192 mmcblk0p6 / recovery
179 7 204800 mmcblk0p7 /cache
179 8 16384 mmcblk0p8 <radio/modem>
179 9 851968 mmcblk0p9 /system
179 10 13791232 mmcblk0p10 /data
179 11 458752 mmcblk0p11 /preload
179 12 8192 mmcblk0p12

I'm trying to figure out what's in 4,5 and 12.

I have the kernel source code downloaded and buildig and I'm now looking at where to go next. If anyone can post any links to resources on the web which might speed up the process then it would be most appreciated. I don't have a lot of time to spend on this.
The Following User Says Thank You to Y Ddraig Goch For This Useful Post: [ View ]
22nd January 2012, 05:58 PM   |  #3  
bedwa's Avatar
OP Recognized Developer
Flag Springfield IL
Thanks Meter: 655
 
1,129 posts
Join Date:Joined: Oct 2008
More
Could you "if dd" them and send me a link? I'll be able to find out which is the recovery.img. ;)
22nd January 2012, 06:55 PM   |  #4  
Y Ddraig Goch's Avatar
Junior Member
Flag Lanark
Thanks Meter: 2
 
19 posts
Join Date:Joined: Nov 2010
More
P4 - https://rapidshare.com/files/2298175...k0p4.img?bin=1

P5 - https://rapidshare.com/files/2298175...k0p4.img?bin=1

P6 - (/recovery) https://rapidshare.com/files/1289796...very.img?bin=1

Let me know what you find and if you don't mind how you went about it. Have got to go and be sociable now
22nd January 2012, 08:19 PM   |  #5  
Senior Member
Thanks Meter: 120
 
160 posts
Join Date:Joined: Apr 2011
looking in /sys/block/mmbclk0/

gives all the partition info - name,size,ofset, corresponds with pit info from heimdall.


also interested in this

Heres the info (not sure if it helps):

mmcblk0/mmcblk0p4

alignment_ofset 0
discard_alignment 4265607168
inflight 0 0
partition 4
partition_name param
size 16384
start 57344
stat 25 118 1144 0 0 0 0 0 25 40


mmcblk0/mmcblk0p5

alignment_ofset 0
discard_alignment 4257218560
inflight 0 0
partition 5
partition_name kernel
size 16384
start 73728
stat 0 0 0 0 0 0 0 0 0 0


mmcblk0/mmcblk0p6

alignment_ofset 0
discard_alignment 4248829952
inflight 0 0
partition 6
partition_name recovery
size 16384
start 90112
stat 0 0 0 0 0 0 0 0 0 0


mmcblk0/mmcblk0p7

alignment_ofset 0
discard_alignment 4240441344
inflight 0 0
partition 7
partition_name cache
size 409600
start 106496
stat 11 128 20 6 2 64 465 0 280 485


mmcblk0/mmcblk0p8

alignment_ofset 0
discard_alignment 4030726144
inflight 0 0
partition 4
partition_name modem
size 32768
start 516096
stat 58 2560 20944 380 0 0 0 0 330 380




mmcblk0/mmcblk0p9

alignment_ofset 0
discard_alignment 4013948928
inflight 0 0
partition 9
partition_name factoryfs
size 1703936
start 548864
stat 8796 407 701658 31365 0 0 0 0 15540 31325
Last edited by ezynow; 22nd January 2012 at 08:52 PM.
The Following 2 Users Say Thank You to ezynow For This Useful Post: [ View ]
22nd January 2012, 10:36 PM   |  #6  
Y Ddraig Goch's Avatar
Junior Member
Flag Lanark
Thanks Meter: 2
 
19 posts
Join Date:Joined: Nov 2010
More
Thanks - that helps confirm what I had found by digging around and completes the list of partitions.

I have now extracted initramfs from both the runtime and recovery kernels.

Now I need to find time to do some reading on how to port CWM recovery.

Anyone know whats in the param partition?
Last edited by Y Ddraig Goch; 22nd January 2012 at 11:04 PM.
23rd January 2012, 10:55 AM   |  #7  
Y Ddraig Goch's Avatar
Junior Member
Flag Lanark
Thanks Meter: 2
 
19 posts
Join Date:Joined: Nov 2010
More
A quick update....

The partitioning for the 7.7 is very similar to the 7plus.

I have been in contact with the garyd9 who ported CWM to the 7plus and he has given us a few pointers including his github username.

See:-
http://forum.xda-developers.com/show...4#post21717604

Interestingly he says that it's likely that the samsung's kernel source release will not have the correct defconfig so we are going to need to tweak it.

The recovery binary gets compiled from the Cyanogenmod sources which are easily obtained.

Unfortunately I'm going to be tied up with my day job for most of this week but will try and look at this again on Friday.

Is there anyone that can keep the ball rolling while I'm busy?

Thanks

Ddraig
24th January 2012, 03:41 AM   |  #8  
Member
Thanks Meter: 4
 
58 posts
Join Date:Joined: Jul 2010
I'm getting this one and selling my Note. I'm so excited to see you guys working out of something for P6800 here.

Thanks to all devs in advance!
24th January 2012, 08:24 AM   |  #9  
ozren's Avatar
Member
Flag Podgorica, Montenegro
Thanks Meter: 10
 
82 posts
Join Date:Joined: Jan 2010
More
...........
Last edited by ozren; 24th January 2012 at 08:27 AM. Reason: wrong thread (admin please delete this)
24th January 2012, 02:21 PM   |  #10  
lucid's Avatar
Senior Member
Flag Amsterdam
Thanks Meter: 47
 
771 posts
Join Date:Joined: Dec 2005
More
Quote:
Originally Posted by Dark-Master

I'm getting this one and selling my Note. I'm so excited to see you guys working out of something for P6800 here.

Thanks to all devs in advance!

+1 here

Anybody want to buy my outdated,used Note?
Hehehe.. well, at least I just *seconds ago* ordered my Tab 7.7 from ebay uk.

Let the modding and ROM flashing begin!

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes