yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab  Android Development] red_rebel:
Hi, I was able to build kernel and ROM from sources and boot them. I tried to use only proprietary files from alpha 3. GSM data doesn't work and there are no much data in catlog when I switch it on/off. Wifi doesn't work too. New bcmdhd module loads but then wpa_supplicant can't make it to scan networks. Older bcm4329 module from alpha 3 loads, but couldn't load firmware to chip complaining that sdio bus is not ready. Any clues there to look?

Good news - bt works (I was able to send and receive files).

I think there should be tmpfs support enabled in kernel - I had to do it to have install of programs to sd card to work correctly on alpha 3 and cm9.

Btw, bcmdhd module couldn't be compiled from sources as it requires recent kernel headers. Thanks, looking forward some ideas.
[Galaxy Tab  Android Development] sixstringsg:
On the new commits from the master branch, I get

make[2]: *** No rule to make target `arch/arm/boot/compressed/vmlinux.lds.in', needed by `arch/arm/boot/compressed/vmlinux.lds'. Stop.
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make: *** [zImage] Error 2

Where previously I didn't run into issues.
[Galaxy Tab  Android Development] Disconn3ct:
same here. Googling around didn't turn up anything useful :(

Also, should start with make clean, there are some build artifacts in the repo.
[Galaxy Tab  Android Development] sixstringsg:
Look at the latest commit, it got deleted by accident. Readding it manually fixed it.
[Galaxy Tab  Android Development] spanner3003:
I just replaced arch/arm/boot/compressed/vmlinux.lds.in from a previous commit.
[Galaxy Tab  Android Development] Reb0rn:
Even the ones that get built have errors like no working phone or 3g or data or wifi... so one can start to wonder how much really is working on the "source" even if compiled "right"...

| BOCA RC1 Powered Galaxy Tab P1000 | Tapatalk |
[Galaxy Tab  Android Development] Derrian:
Hey guys, just a little advice needed, this is my first time attempting to compile a rom.

The repo synced fine..

During the build it has seemed to have gotten stuck on target dex: framework

It's been like that for about 20 minutes now and is lagging the **** out of my PC.

Edit, it's finally moved passed it.
[Galaxy Tab  Android Development] dannyvanderzande:
I've been trying to build this rom for a week and have solved several error's by looking at the log output, the android website and dear ol google but I can't seem to figure this out.

I have searched the thread and it seems more people have (had?) this issue but I couldn't find a solution..

OSError: [Errno 2] No such file or directory: '/home/danny/android-sdk-linux/build/cm9/device/samsung/galaxytab/zImage'

make: *** [out/target/product/galaxytab/cm_galaxytab-ota-eng.danny.zip] Fout 1

There is indeed no such file as the zImage stated above but I cant find where I should be able to get it from. Should I pull from my device or did I forgot to do something before attempting to build. Any help would be greatly appreciated!

Thanks for all the hard work and any help I hope to get ;-)
[Galaxy Tab  Android Development] eboIa:
Sorry it was a quick test as I use MTD version in test mode in a few days.

1, Never used but understandable option.

2, A real problem!

3, I don't think this is a real problem as on Android you can always use launcher what you want. This request is always based on personal opinion so I'm happy with the original as will never use it but it's not a ROM problem.

Thanks for your test also.
[Galaxy Tab  Android Development] cdesai:
I've deleted the datadata partition and donated the space to other partitions, after we merge this flashing 16mb modems would be possible

http://review.cyanogenmod.com/#/c/15028/

Lemme test it for a few and then i'll merge it in :)
[Galaxy Tab  Android Development] rrubio999:
Thanks Cdesai :)
[Galaxy Tab  Android Development] lambstone:
Is there anyway to add the quick toggles back onto the notification bar?
[Galaxy Tab  Android Development] cdesai:
Yea, i'll submit the patch upstream when i get some time, or ask sbradymobile to do so since he's the guy who originally did it.
[Galaxy Tab  Android Development] lambstone:
720p MKV works on the 21st nightly.
[Galaxy Tab  Android Development] lucky24x7:
Latest Nightly has missing tablet controls under preferences seen in latest eaut's build.(15-4-2012)

This made me revert back.
[Galaxy Tab  Android Development] brunoisa10:
use alroger's build (in the other thread)

he explained me that the nightly here is the CM9 buit not the build from Te4M , I have now the TE4M build from 22nd April and it is very good
[Galaxy Tab  Android Development] lucky24x7:
Please provide me link to that thread...thanks in advance :-)
[Galaxy Tab  Android Development] rock2702:
Here u go :)

http://cafe-ti.blog.br/1524~sgt7-p1000-android-ics-cm9-mtd.html
[Galaxy Tab  Android Development] alroger:
The other thread is the discussion thread, clearly specified in the first post to avoid discussions here, the development thread. Questions should all go there. They have all been answered several times.

SGT-P1000N CM9 Tapatalk2

---------- Post added at 10:08 AM ---------- Previous post was at 09:53 AM ----------

Thanks rock, but pls share the original post to avoid confusion on long lost/oudated external links. And get a chance for the peeps hit the thanks button.

http://xdaforums.com/showthread.php?p=24986629#post24986629

I'm keeping this one up to date.

Cheers!
[Galaxy Tab  Android Development] ozcandurmusoglu:
N/A
[Galaxy Tab  Android Development] espionage724:
I could of sworn I just posted this or something, maybe I didn't hit reply, or maybe I just didn't see it.

In any case, can anything be done about USB Tethering? The native option doesn't work (it instantly disables itself again upon enabling it, Windows see the modem but it's disconnected), but Wired Tether 1.4 app works.

The thing with Tethering though, is that Wifi speeds significantly lower when the screen is off. I read that this might be driver or kernel-related though. Any insight on this from anyone? Idk if this problem existed on the older wifi driver or not.
[Galaxy Tab  Android Development] cactuz:
If I use the instructions in post #3 to just build a kernel (boot.img) with some patches of my own, will the kernel require an MTD-enabled ROM? (I'm on stimpzors AOKP build 31)

Because I did and got an unrecoverable boot-loop, it went into CWM and printed the following:

-- Installing:

Finding update package...

E:unknown volume for path []

E:Can't mount

Then it just rebooted and tried the same over and over again so I had to go into download-mode and restocked using Odin.

Any suggestions on what went wrong would be greatly appreciated.

EDIT: OK I guess MTD was the issue, downloaded the nightly and replaced boot.img with my own and flashed as to get MTD.

Now everything is working fine except for the modifications I did to the kernel (trying to incorporate Ezekeel's "Touch Wake" made for Nexus S).
[Galaxy Tab  Android Development] eaut:
just one thought regarding mtd layout:

why have a separate /radio partition at all? we are referencing modem.bin via symlink "/dev/block/bml6" anyway.

why not move modem.bin to e.g. /system/vendor/radio? Moreover "/radio" usage happens only when /system is available too.
[Galaxy Tab  Android Development] priyana:
If without it's own partition, will it likely get fragmented and cause issue on load?

Just a thought.
[Galaxy Tab  Android Development] RED ZMAN:
I'm running the 21 nightly, and it's running pretty darn well.

In another thread I found that a problem that I'm having, the Phantom voice mail glitch for CM9, Can only be fixed through a patched phone APK.

I haven't been able to find one of these built for the Samsung galaxy tab seven yet. Can we get this fixed in the next nightly?
[Galaxy Tab  Android Development] RED ZMAN:
Thank you sir! Do I just flash this in recovery?

Also, anyone else having their device show it always stays awake? My battery life is pretty poor and I think this is the culprit.
[Galaxy Tab  Android Development] cdesai:
Well even Techomancer suggested me to do that, but having a separate partition is better IMO, and now since it's bigger (will merge the change when i get a chance to access as *nix OS), we could also probably use it to backup efs (just in case).
[Galaxy Tab  Android Development] ableeker:
I've deleted all files for SGT7 ICS, and setup git again for SGT7 in a new folder. I've also created a new folder where I've set up git for CM9. I've used the right git command in both folders, and did a repo sync in both. That worked in both folders.

But the next command, extract-files.sh, didn't work. SGT7 aborted with an error message. CM9 didn't start because there's no folder device/samsung/p1. There were other folders with their own version of extract-files (maguro, toro, tuna), but no p1. I think get-prebuilts worked, but running brunch aborted with the same error I get before, cm-p1 not found.

Luckily CM9 had a working get-prebuilts as well. Running brunch I get a message that stuff was missing, but it found a repository that it was happy with and started syncing and downloading.

I don't know yet if CM9 will build successfully, but it's looking good so far apart from the missing extract-files. Is that a problem, or is it all right to use get-prebuilts instead of extract-files? I'm assuming they do the same thing? I'll try to repo sync SGT7 later.
[Galaxy Tab  Android Development] cdesai:
No way extract-files.sh would not work, since it's the same in both, you need to have adb setup though, and ofcourse your tab should be connected.

It isn't cm-p1, it's cm_p1 (cm underscore p1)

Syncing from sgt7 also fetches the device and kernel, but cm9 doesn't

Instead, you need to run `source build/envsetup.sh ; lunch cm_p1-userdebug` and it'll choose p1 as target and fetch the needed repositories

And, get-prebuilts IS NOT the same as extract-files.sh.

get-prebuilts is used to fetch 2 apps (Rom Manager and Terminal Emulator) which can't be built from source due to reasons, and extract-files.sh extracts the proprietary binaries from the device and keeps them in the proper place.
[Galaxy Tab  Android Development] cdesai:
I've merged the change which adjusted the partition layouts [http://review.cyanogenmod.com/#/c/15028/]

One IMPORTANT NOTICE :

Any builds built after now will need a complete restock, then flashing a cwm kernel, and then the update.zip

I'll queue p1 and p1c builds on jenkins, although the change is only for p1, but p1c guys should also have fun with a new build

for p1l and p1n, sorry guys, i don't have access to a build system atm, when i do, i'll build for you guys manually and upload it.
[Galaxy Tab  Android Development] ableeker:
Thanks, cdesai!

extract-files.sh doesn't work for CM9, because it's not available. It's supposed to be in folder device/samsung/p1, but after git and repo sync there was no folder p1 in folder /device/samsung, only folders maguro, toro, and tuna.

I'll try extract-files.sh for SGT7 again later. I had installed ADB, and I'm assuming it's working, as adb devices reported a device. I also had connected the Tab and used USB debugging mode.

I used cm_p1-userdebug, not cm-p1, sorry for that.

I used source build/envsetup.sh for both projects, they both worked fine. Then I used brunch p1, but SGT7 threw an error. I also tried brunch cm_p1-userdebug, but that threw the same error. It seemed to work for CM9 though.

So we need to do brunch p1 for SGT7, and lunch cm1_p1-userdebug for CM9? I'll try that later as well.
[Galaxy Tab  Android Development] cdesai:
No, both work fine for both, lunch just selects the combo, and brunch builds it as well

Also, type brunch p1 in your cm9 source tree and it'll fetch p1 device and dependencies as i told before.
[Galaxy Tab  Android Development] daniel.weck:
Restock even when we are already on MTD?! (2012-04-22 alroger build)

Thanks for clarifying this :)
[Galaxy Tab  Android Development] cdesai:
Yup, as i've tweaked partition sizes, but this'll the last time you'll need to restock if you plan to stay on cm9 / cm-derived roms.
[Galaxy Tab  Android Development] cactuz:
Could anyone confirm that the Galaxy Tab is using cypress-touchkey.c (as I'm trying to get Ezekeel's Touch Wake mod to work on the tab)?
[Galaxy Tab  Android Development] daniel.weck:
Thanks for the prompt answer!

However, in my case the alroger build dated 2012-04-22 already includes the 16MB radio fix, yet I did not have to restock, I just applied the ZIP update from CWM. Could you please enlighten me? (what would happen if I didn't restock before applying the latest nightly?)

http://cafe-ti.blog.br/1524~sgt7-p1000-android-ics-cm9-mtd.html
[Galaxy Tab  Android Development] cdesai:
It probably won't include the last change i did unless he manually pulled and applied it.

IF you don't, RIL won't work, as i've moved efs partition a bit
[Galaxy Tab  Android Development] cheatman:
Hope you won't have to go back on your words. That's a bold thing to promise! People will start jumping up and down in discontent if they have to restock too often :-D

Jokes aside, what is the rundown summary on the partition layout in the latest commit? I'm interested in two things mainly:

1. What is the size of the /system partition?

2. Is radio still on a separate partition?

Thanks and good work!

C.
[Galaxy Tab  Android Development] OsitKP:
I'm interesting too. Does the fresh nightly (20120425) contain these changes or not yet?
[Galaxy Tab  Android Development] daniel.weck:
Thanks cdesai, it looks like alroger is in the process of uploading build 2012-04-24 (the last build before the partitions layout was changed in the CM9 code repository, so subsequent builds from the sgt7 repository will require re-stocking as well).

When updating from MTD, is there really no other method than re-stocking to Gingerbread+CWM, for example with a script that makes a temporary backup on SD, changes the partition layout / sizes, restores data, etc. ??

Re-stocking and having to re-install 300+ apps from TitaniumBackup is a real pain, so is restoring SD card data, precious EFS backup, etc. Just asking, it doesn't take anything away from the great work that you guys are doing! :)

Cheers, Dan
[Galaxy Tab  Android Development] cdesai:
Lol no, won't need to move partitions after this, and even if needed we won't be touching efs/radio.

1. 406 MB.

2. Yes

Read the post again :p

NOPE

I've told this before too, and this'll be the last time i'm telling it

There is no way to go to a non-MTD ROM if you are using a MTD ROM on the device without restocking, only Odin can re-partition the device and it flashes the images to the NAND directly, according to the partition's address in the .pit file.

You could just backup your data partition(do a full cwm backup), then restock (it does wipe sd, but you can transfer the backup before restocking), and then flash a cwm kernel, and then the new update.zip, and then use advanced restore to restore your data

Alternatively, you can backup and restore all apps at once by Titanium Backup (might need to purchase the pro version)

And, we don't touch the real EFS partition, IBL+PBL, SBL, Param and EFS areas on the NAND remain untouched, while going from BML to MTD, EFS is copied to sdcard and then copied to the new partition.
[Galaxy Tab  Android Development] daniel.weck:
I have no desire to go to a non-MTD ROM ;)

I just wish to go from my current 2012-04-24 MTD build (built just before your recent data / system partition changes), and the most up-to-date "nightly" build from CM9 (or sgt7) repository.

I was hoping that given that I am already on MTD, there would be a script procedure to update the partitions without having to restock to non-MTD (i.e. Gingerbread BML + CWM recovery to convert to ext4).

See my point?

Indeed.

Sure. Actually I use ADB and the command line for TAR'ing or DD'ing my data.

Right, I purchased Titanium Backup a long time ago, and used it a few times for full data restore in my Froyo/Gingerbread past :)

Ah, interesting! Thanks.

Right, I did notice this in the update script before I moved from BML (ext4) to MTD.

Thanks cdesai!!
[Galaxy Tab  Android Development] XenoStrat:
+1

Until MTD, I've restocked everytime I flashed a new rom. Since then, as I thought I wouldn't have to restock again, I've been configuring my sgt progressively to how I want it to be.. which takes some time (as I havn't found a way to backup everything easily ^^).

But I'll do what's needed anyway! thanks for the work so far, devs!
[Galaxy Tab  Android Development] cheatman:
Guys,

Use this procedure to restock into MTD at speed of light! It is much faster and gets you the same results (warning: blitz-krieg version of Overcome guide adapted to modern MTD-age):

1. Boot in download mode - Flash GB_Stock_Safe_v5 as usual and repartition.

2. Reboot. Wait for auto-update and auto-reboot.

3. Immediately after auto-reboot reboot get in download mode.

4. Flash Overcome kernel to get Recovery.

5. Reboot.

6. Immediately (before ext4 conversion) return to Recovery.

7. Flash ICS (MTD). Wipe caches and factory reset.

8. Reboot.

9. Enjoy ICS. Takes about 7-10 minutes in all.

WARNING!!!!! This only works for MTD versions. It skips the wait to deodex initial stock safe v5 and conversion to ext4 which takes a long time.

!!!!ONLY WORKS FOR MTD! DO NOT FLASH EXT4 ROMS!!!!!

Then, as usual, restore using Titanium Backup as usual. In terms of OS compatibility, your previous backups should restore without a hitch!!!

Peace,

C.
[Galaxy Tab  Android Development] sbradymobile:
I changed our repo to match up with the CM repo, meaning there are no longer any device files. You will have to run the build to get the device files. The extract-files.sh will work after the device files are downloaded on the first build command.
[Galaxy Tab  Android Development] cheatman:
I get "Error while searching for networks". I guess my RIL is not working.

I'm looking into it and let you know if I find the issue.
[Galaxy Tab  Android Development] daniel.weck:
Skipping ext4 conversion is a handy tip, thanks!
[Galaxy Tab  Android Development] cheatman:
Sure, I guess it makes no sense to go from RFS to EXT4 only to replace it with MTD, right? Skip EXT4 , I say! ;-)

Update on RIL issue:

I flashed the 0421 nightly on top of today nightly with no change. RIL still isn't working. This is the logcat output:

17:23:10.878 Info Use2GOnlyCheckBoxPreference 529 get preferred network type, exception=com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE

Update2:

My modem.bin file sits quietly in /radio/modem.bin

The partition exists and there doesn't seem to be anything weird with it. It's about 16MB big.

I'll get back when I have even more news.
[Galaxy Tab  Android Development] humberos:
@cdesai, p1l and p1n don't have diferences on partition layout.

The important diferences between p1 and p1l|p1n are the gpios settings.

So, we can build using defconfig file for get new MTD layout.

Greetings from Brazil!
[Galaxy Tab  Android Development] cdesai:
I know that, but i didn't have access to a build server, so i just built for p1 and p1c on the cm server.

@cheatman, RIL isn't working for me too, but that's an issue just for me as my modem seems to have died, as the connection is refused.

What does baseband version say in Settings > About Tablet?
[Galaxy Tab  Android Development] cheatman:
Baseband: unknown
[Galaxy Tab  Android Development] sbradymobile:
@cheatman: For some reason I had to recopy the modem.bin to /radio (after restocking and using the new partition layout) to get the connection up. You may want to give it a try.
[Galaxy Tab  Android Development] cheatman:
Too late for that. I was running some tests with cdesai, so I restocked. I am in the process of doing this again, so I'll be back with an update in a few minutes.

Update: I can confirm the issue exists. Restocking twice got me in the same situation. I guess all of the ppl upgrading will run into this problem.

I can also confirm that this is not a permission problem. The modem.bin file is RWX (read-write-execute) after install and owned by radio:radio.

The simple fix is to copy the modem.bin again into /radio

Peace,

C.
[Galaxy Tab  Android Development] espionage724:
I asked this earlier in the thread, if we could skip the ext4 conversion process. I was told we couldn't?
[Galaxy Tab  Android Development] Maddin2k10:
Can I flash the actually Zip without flash Stock ROM before?

Gesendet von meinem GT-P1000 mit Tapatalk 2
[Galaxy Tab  Android Development] daniel.weck:
http://xdaforums.com/showpost.php?p=25293879&postcount=3241
[Galaxy Tab  Android Development] feroxxx:
this fsckin' restock wipe my internal sdcard :(((

i hate you bb
[Galaxy Tab  Android Development] Monfro:
CM9 from 25 april is still on the old MTD layout, so no need to restock to install this.

I have just flashed it over Cm9 from 21.
[Galaxy Tab  Android Development] mudcruzr:
Are you sure? The rom will still work OK but you won't get any phone, SMS or mobile data. (Ask me how I know)

- mud
[Galaxy Tab  Android Development] :
it does for me...ask me how i know
[Galaxy Tab  Android Development] alroger:
Make sure you guys are talking about the same build. CM official or CM unofficial (sgt7)?

The new partition changes probably aren't in the official one yet, cause it needs aproval.
[Galaxy Tab  Android Development] ableeker:
I ran into an issue while trying to build the latest ROM from source, extract-files.sh aborted with an error. I now know why. It was a bit silly, but it may help others.

The instructions in the third post say to run ./device/samsung/p1/extract-files.sh. That doesn't work, it will abort with error setup-makefiles.sh not found. Looking at extract-files.sh it was easy to see why that happens, extract-files.sh starts setup-makefiles.sh but expects it to be in the same folder, which isn't the case if you start it from the cm9 folder. The solution is simple, just cd to device/samsung/p1 and run extract-files.sh from there. It should run without problems.

That is, if you have installed ADB. It has to work too, you can test this by running adb devices, that has to return a device. If it doesn't, remember that the Tab has to be connected to the computer via the USB cable and has to be in USB Debugging mode (Developer options)!
[Galaxy Tab  Android Development] doomerxx:
Samsung Value pack for the tab released in Korea

http://samsungtomorrow.com/2590

u need to translated of course :)
[Galaxy Tab  Android Development] espionage724:
lol... I hope your not serious :p

It should be common knowledge to backup your data before doing anything like this, and it should be somewhat more obvious that a "restock" will factory reset your device (aka, from factory, no personal data, everything wiped).

---------- Post added at 11:50 PM ---------- Previous post was at 11:48 PM ----------

Interesting :D From what I'm seeing, it's only available in Korea? Does the ROM itself contain the English (or any other language) language? Can people not in Korea get the update from Kies?
[Galaxy Tab  Android Development] alroger:
MAC regression

A whole new MAC popped up with the latest partition changes today (Apr 25th).

/data/.nvram_net.txt is overriding /system/vendor/firmware/nvram_net.txt. Both have the wrong MAC, and the real factory MAC can't be found in any of those files anymore. There are now 3 diferent, consistent MACs, besides the factory one.
[Galaxy Tab  Android Development] sbradymobile:
Did you restock? Wifi and BT MAC are the same as before for me.
[Galaxy Tab  Android Development] RED ZMAN:
Is there a link or we can go look and see what's been changed in the latest nightly? I know I could do this on my droid X running CM seven. But I can't seem to find the same place for the Tab.
[Galaxy Tab  Android Development] sbradymobile:
http://cm-nightlies.appspot.com/?device=p1
[Galaxy Tab  Android Development] RED ZMAN:
Thank you very much.
[Galaxy Tab  Android Development] ayysir:
Cdesai do the lastest cm9 nightly include your changes to partitions
[Galaxy Tab  Android Development] andnej:
it sure is

df /radio

resulting in 24M total size, with 10M free
[Galaxy Tab  Android Development] alroger:
I did now. A bit cleaned up... but the MAC thing went back to the 00:09 prefix.