yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab  Android Development] RED ZMAN:
I can verify that 25 flashes fine in recovery over 21, all I wiped was my cache. Everything is working fine, except I need to reflash the T-Mobile modem. Trying to figure out if I need to do that in Odin or Recovery.

---------- Post added at 11:21 PM ---------- Previous post was at 10:51 PM ----------

Okay, I reflashed the T-Mobile Modem using Odin, but still am not getting any signal bars.

I copied the modem.bin to my SD card, but it won't let me copy it. I can throw Rom Toolbox on there I think and mess with permissions, is this what I need to do here?

I will thank helpful answers.
[Galaxy Tab  Android Development] Monfro:
As i wrote i went from official 21/04 nightly to official 25/04,wiping only cache and dalvik, as always.

Since everything went well i though that 25/04 was stil on the old Mtd.

Now, browsing witj root explorer i have seen that my radio partition is 24mb and there is no more datadata partition.

This meas that the repartitioning went fine from the old mtd... correct me if i am wrong..
[Galaxy Tab  Android Development] fragargon:
Hi, focused on your radio, would tell us how it works?

Thks
[Galaxy Tab  Android Development] XenoStrat:
Hello everyone!

I thought I'd have nothing to lose trying to flash the 25th build (alroger's) on top of the 24th; worse thing I would have to do is to restock if it doesn't work.

Well it worked...

$ df /radio

size 24M, 17M used, 7M free.

I just made a phonecall, no problem; havn't tested 3g as I don't have a data plan atm.

All the rest seems to work; worth saying:

- no MAC wifi change

- bluetooth mac changed
[Galaxy Tab  Android Development] daniel.weck:
I can see a few different MAC addresses:

MAC #1:

/data/.mac.info

MAC #2:

/efs/imei/.nvmac.info

/data/.nvram_net.txt

/data/.nvmac.info

MAC #3:

/system/vendor/firmware/nvram_net.txt

MAC #4 (looks like factory...I can't remember exactly though):

/sdcard/backup/efs/imei/.nvmac.info

MAC #5 (Bluetooth):

/sdcard/backup/efs/imei/bt.txt

/data/.nvram_btmac

More info about RIL (phone calls):

http://xdaforums.com/showpost.php?p=25331988&postcount=867
[Galaxy Tab  Android Development] Monfro:
I never used a sim card in my P1000, but this evening when i 'll be back home i will try.

In Settings it shows my baseband correctly

Sent from my Captivate
[Galaxy Tab  Android Development] cdesai:
@daniel

the 4th mac is just a backup, but the rest being different is strange.

Only change i've myself done was the partition size tweaks, and that's unrelated.

Also, we haven't merged any other changes that'ld affect this, my tab's still dead, had the same issue as Techomancer (every tab cm dev outta face some weird problems lol), once i get it running i'll look into it

MACs aside, any other thing which was working in the other nightlies (first 2) and isn't now?

let me know (with some logs ofcourse, the cm wiki has a nice page on getting logcats)
[Galaxy Tab  Android Development] daniel.weck:
I might have found a solution. It looks promising, because so far 2G mobile telephony (voice calls) works even after reboot:

http://xdaforums.com/showthread.php?p=25335606#post25335606

(I don't have a 3G SIM to try, sorry)

Cheers, Dan
[Galaxy Tab  Android Development] cdesai:
That's why i was keen on restocking, it starts afresh, and makes it work 100% unless you do something wrong.

Using *nix commands would not something a user would like, i'll upload all tab modems to Rom Manager | goo.im by this weekend and also upload restock files (which won't wipe your sd :) )
[Galaxy Tab  Android Development] russel51:
in case it's helpful i have:

-fully restock

-overcome kernel (not skipped ext4 conversion)

-full wipe

-flashed new nightly 25/4

-flashed gapps 22/4

-booted

-factory reset

-booted and setted up

and i can't see radio signal.

so i have tried to replace modem.bin in /radio, works until reboot.

at reboot radio stops working and modem.bin in /radio renames itself to "??????????????" that is undeletable, unremovable, unreplaceable.

second step i have tryed to come from earlier nightly as some report. nothing changes, radio won't work.
[Galaxy Tab  Android Development] daniel.weck:
Wow, worryingly interesting! :(
[Galaxy Tab  Android Development] alroger:
Yeah, one of the simptoms I had that led me to restocking, which didn't help, was that ls -l /radio showed 2 garbage files, depending on the terminal, all you see are ??????????, that I wasn't able to delete.

Since I couldn't find out how to format /mtdblck5 yaffs2, and figured it might not be straight forward as an ext4 format, I decided to restock. Not that that reformats it, but seems to clean it. Hence the DD suggestion to clean it.

Maybe the new install misses some kind of formatting or cleaning of this partition space?

Humberos also had the modem problem last night, even coming from restock and factory wipe as recomended. Not sure if he ever got it working yet.

Something going on, and restocking is not a guaranteed solution.
[Galaxy Tab  Android Development] daniel.weck:
dd if=/dev/zero of=/dev/block/XXX

Note that the lost+found folder gets created automatically.

Also note that /efs will complain about lack of space, but actually it seems to be due to the nv_data stuff that gets auto-generated. I had no issues restoring individual files into /efs/ and /efs/imei/ after that.

Yep.

I will reboot a few times to see if radio / RIL is stable, and I will report.
[Galaxy Tab  Android Development] sbradymobile:
It looks like it is a miscalculation of the new onenand sizes. Look at the offset for the radio partition, it is off by 1. And size needs to be changed as well.
[Galaxy Tab  Android Development] daniel.weck:
Ha! No more mobile telephony after reboot (no baseband, therefore no IMEI).

This was with "airplane mode" off (i.e. both wifi and 2G radio on), but I don't think it makes any difference. Investigating...

---------- Post added at 02:36 PM ---------- Previous post was at 02:33 PM ----------

Damn!

http://review.cyanogenmod.com/#/c/15028/1/drivers/mtd/onenand/samsung_p1.h
[Galaxy Tab  Android Development] cdesai:
Yea, that's why i let it be in code-review for some time, but no one noticed xD

@sbradymobile can you upload a new patchset?

i'm away from my pc for time being
[Galaxy Tab  Android Development] sbradymobile:
Sounds good.
[Galaxy Tab  Android Development] cdesai:
Add me as a reviewer and i'll merge it in :)
[Galaxy Tab  Android Development] cheatman:
Well, if the MTD layout is borked we will have to restock again.

Bad news for the users, but it's great that we found the problem so fast. BTW, in case everyone is wondering, we are talking about this line:

.offset = (1905*SZ_256K),

should be:

.offset = (1906*SZ_256K),

Small error, great effect! :-D

PS: After the fix is merged and build, please don't complain about restocking!! Pretty please???!!!
[Galaxy Tab  Android Development] alroger:
Good work guys! Damn little numbers... :p
[Galaxy Tab  Android Development] cdesai:
Restocking won't be needed for this :)
[Galaxy Tab  Android Development] sbradymobile:
OK, submitted to review. Just ran a test and everything is working.
[Galaxy Tab  Android Development] cdesai:
Merged :)

http://review.cyanogenmod.com/#/c/15211/
[Galaxy Tab  Android Development] Monfro:
This is really a great news!!

After the one of the fix ready of course!!

Sent from my Captivate
[Galaxy Tab  Android Development] mmjp:
Everything seems be working on 25th build,

But can't find setting on camera.
[Galaxy Tab  Android Development] spike1985:
You mean only if you are coming from a build that rrquired a restock, or from any mtd-build?
[Galaxy Tab  Android Development] RED ZMAN:
Any help here? I've read through the past 5 or so pages, and the first one, and see nothing that helps.
[Galaxy Tab  Android Development] priyana:
I think you don't flash the modem using CWM on this MTD rom anymore?

Just copy modem.bin to /radio/

from where did you try to copy it to sdcard?

In a PC? then you probably have a bad sdcard.
[Galaxy Tab  Android Development] RED ZMAN:
I tried to copy it, but it gave a permissions error. I then flashed it via Odin, no errors, but still no mobile signal.
[Galaxy Tab  Android Development] maxadamo:
Stuck with Stock ...

of course you have to remount R/W /radio and perform the operations as root.

But the problem is in my opinion slightly different.

Restore what? Where do we thake such files?

I've also tried to perform: heimdall flash --modem ./modem.bin

I get a file in radio that needs to be renamed, ownership/permissions must changed, but it doesn't work as well.

Right now I am stuck with stock :mad:
[Galaxy Tab  Android Development] cdesai:
Restocking isn't needed only if you are coming from the last nightly which had problems with the radio, but i'm yet to release a build with the fix, will do in a few hours.

About the modems, you just need to copy it to /radio and set correct perms, rest will be handled by init.

I was gonna upload modems, but had some problems last night, will soon now :)
[Galaxy Tab  Android Development] _Derk_:
When having the version with the modem issues and flashing back I was wondering why flashing the old modem.zip wasn't working for me on any old build after OC...

Bye

Derk

Sent from my phone using my fingers
[Galaxy Tab  Android Development] cdesai:
After what?

The old modem zips use redbend_ua (another proprietary tool from a firm Samsung tied up with), to flash it to the modem partition aka bml12 (/dev/block/bml12)

It won't work with the MTD builds, as the modem just needs to be placed in /radio with the correct perms.
[Galaxy Tab  Android Development] _Derk_:
Would be good to have flashable zips also for the new partition layout...

Bye

Derk

Sent from my phone using my fingers
[Galaxy Tab  Android Development] cdesai:
Modems being uploaded :)

http://goo.gl/8eX90

Click on the modem you want, then File > Download (or press Ctrl + S)
[Galaxy Tab  Android Development] grukko:
Just wondering at which step I'm supposed to copy the ICS rom to the internal sd so I can flash. Doesn't mention it here. To me it sounds like the only time to do it is after rebooting from stock safe and then mounting to the computer. Can someone clarify? Thanks
[Galaxy Tab  Android Development] cheatman:
Assuming you have a removable SD card, you can copy ICS on the card from the start.

If you don't, you must copy it either before or after you flash the Overcome kernel.

I recommend at step 3, as after step 5 you have to wait for ext4 to convert.

Update:

Flashed latest nightly release (27 Apr. 2012) and all seems fine. RIL works as intended, no side effects noticed.

Peace,

C.
[Galaxy Tab  Android Development] DarkPal:
just to make sure am doing this correctly. I need to restock with overcome then flash overcome kernel (I know how to do that I reviewed the book when it was written :p) question is: should I let it convert to EXT4 or just immediately reboot into recovery and flash CM9 and gapps?

After extensive reading I figured out that flashing an MTD rom over any other rom is ok but the opposite will be damaging without a full restock. Correct me if I am wrong.
[Galaxy Tab  Android Development] fragargon:
hi darpal,

you can directly boot into recovery and flash mtd build

thks to cheatman ;)

http://xdaforums.com/showpost.php?p=25296224&postcount=3243

that s right
[Galaxy Tab  Android Development] DarkPal:
ok I am up and running :D I have a question though: I got an error message during flashing that SD card marker couldn't be found continuing anyways, Any idea what that was. Also a quicker way is to flash a CF root if you're afraid of having the overcome kernel change your filesystem to EXT4 and waste your time. Same steps as cheatman but with CF root. Works as well (basically any kernel with recovery).
[Galaxy Tab  Android Development] brunobbarcelos:
As an eternal noob i must ask, "and then?" how i´ll apply it? Recovery?

Another question, Can i install CyanogenMod 9 Nightly over AOKP, both MTD, without restocking? If yes i´ll need to do a factory reset and wipe all?
[Galaxy Tab  Android Development] MeximCivic:
Running latest nightly and gapps some reason Gmail FCs after several trouble shooting...

Cleared data

Removed and reapplied Google account

Removed and downloaded Gmail again

Didn't have this on the previous release
[Galaxy Tab  Android Development] DarkPal:
For some reason I don't get H/W acceleration on my HD videos. it says not supported. Any insight?
[Galaxy Tab  Android Development] phlooke:
I had that when I used the latest gapps zip...re-flashed with gapps-ics-20120317-signed ...problem resolved (I'm not running latest nightly btw)

--
[Galaxy Tab  Android Development] cheatman:
Use the native video player. Avoid MX, BSPlayer, VPlayer etc...

@brunobbarcelos:

Yes, apply modems using CWM recovery.

It is recommended to wipe when switching to CM9. After you switch to CM you'll have enough space onto your system partition to not have to reformat MTD again. You'll be able to switch back and forth between CM9 and AOKP.
[Galaxy Tab  Android Development] DarkPal:
there is no Native app I can see included hence MX player. Unless I am missing something.
[Galaxy Tab  Android Development] Monfro:
Flashed JPZ modem from cdesai 's post.

Then flashed official 27april nightly.

Put my sim card in the tablet and data is working perfectly.

So i can confirm that the problem is solved.

Thanks to all the people involved in this great project!!
[Galaxy Tab  Android Development] goughymachine:
The only time I see access to a native video app is when I use soft media player to stream a video from my media center, when I select the video file one of the player options that comes up is 'video'. But it generally doesn't play well, or at all, especially if 720p content.
[Galaxy Tab  Android Development] maxadamo:
chrome crash @ 120dpi

FYI: the last release of Chrome browser crashes with 120 LDPI setting.

What do you think? Is it a problem with chrome or a problem with CM9?

The previous release was working perfectly.

another issue with 120 DPI: the settings menu in the launcher, from the home screen, doesn't appear.... perhaps this is a problem with trebuchet...

no more issues. In my opinion is perfect.

For those who need to re-stock:

I had a look onto the guide from www.teamovercome.net

Probably good, but honestly it has too many steps to follow, many files to download and many things to read...

You can choose whatever method you like, but I find easier this way:

- download heimdall command line tool

- download a ROM for your P1000 from Sammobile

- untar the file contained in the zip

- boot your phone in "download mode"

- issue the command:

heimdall flash --repartition --pit ./P1_add_hidden.pit --factoryfs ./factoryfs.rfs --cache ./cache.rfs --dbdata ./hidden.rfs --primary-boot ./boot.bin --secondary-boot ./Sbl.bin --param ./param.lfs --kernel ./zImage --modem ./modem.bin

- strangely (I don't know if it's a problem with the italian ROM) after flashing, you need to boot once in recovery and than perform a data wipe (data factory reset). Otherwise it won't start.
[Galaxy Tab  Android Development] C-o-M:
Boot loop in CWM

I've restocked using GB-Stock-Safe-v5. The Humberos kernel doesn't work (screen is blank, only backlight is on, even when booting to recovery). Thus I tried CF-Root JQ1 kernel.

Unfortunately installing nightly 27 fails: Directly after "Checking state of BML/MTD" it revoots to recovery and stucks in a boot loop after installing CM9 zip saying "could not find update-cm9...zip".

Any help?
[Galaxy Tab  Android Development] maxadamo:
YES. I stated the same problem.

In order to overcome this situation I had to perform a couple of installation in the middle. I went thru CM7, HumberOS, and finally to this build.... it was a random attempt. I don't know if you really need to install CM7. Perhaps, you should go thru HumberOS (or any other CM9, pre-MTD).
[Galaxy Tab  Android Development] MeximCivic:
Been running the latest nightly and it appears to be smooth but I have one issue I wanted to share maybe you guys found a fix. The email app allows me to add an account but then after a few minutes it continuously boots me out and gives me a "couldn't log in" notification :-\
[Galaxy Tab  Android Development] priyana:
This thread has changed from dev thread into a discussion thread.

Shouldn't we use the other thread ?
[Galaxy Tab  Android Development] RED ZMAN:
Awesome, thanks. Flash in recovery I presume?
[Galaxy Tab  Android Development] alroger:
Ubuntu 12.04 compiling...

On the building side...

Just wanted to share. All good using Ubuntu 12.04 64bits, using the same packages.

I did not use the new tips for 12.04 that the AOSP site mentioned. But then again, I'm just compiling our repo, not really developing anything.

My cheatsheet still works, and that's all I use to build sgt7 (not the official cm9 repo).

http://xdaforums.com/showpost.php?p=24981889&postcount=3041

I have to mention one thing. I do subscribe RSS to all the sgt7 comits and didn't see any news about this.. but either there's been some good script cleanup in the repo, or Ubuntu 12.04 is magic. After a full p1 compile, compiling for other kernel variants (p1n and p1l) dropped from 25 mins to 5 mins each here. (that's just chaning the TARGET KERNEL and starting brunch again. I'm not trying to compile the kernel separatly or anything like that)

Btw, always using OpenJDK6. I did try Sun Java on a couple builds but didn't notice any diference.. if any, it's slower.

Thanks guys!

Cheers!
[Galaxy Tab  Android Development] espionage724:
Guess I'll give Ubuntu 12.04 a try :)
[Galaxy Tab  Android Development] RED ZMAN:
So, the new 27, restock first coming from 25?
[Galaxy Tab  Android Development] andnej:
no need, judt directly flash it but have a modem.bin ready somewhere
[Galaxy Tab  Android Development] cheatman:
Can you post the output of "df" on your tab? Mine reads like this:

root@android:/ # df
df
Filesystem Size Used Free Blksize
/dev 244M 32K 244M 4096
/mnt/asec 244M 0K 244M 4096
/mnt/obb 244M 0K 244M 4096
/system 406M 227M 178M 4096
/cache 25M 2M 22M 4096
/data 1G 630M 1G 4096
/radio 24M 14M 10M 4096
/efs 12M 5M 6M 4096
/mnt/emmc 14G 9G 5G 32768
/mnt/sdcard 12G 2G 10G 16384
/mnt/secure/asec 12G 2G 10G 16384

If your /radio is 16MB or your /system is not 400MB+, after flashing the latest build, then you need to restock and re-flash.
[Galaxy Tab  Android Development] daevoq:
sorry.. but i'm a new possessor of galaxy tab 7.. so i'll make some stupid question for a short period!:)

can it works with an USB Hub with external power supply? i think yes.. but you?

EDIT: is there hardware acceleration?

sorry for my question.. but i'm reading all the Galaxy tab forum to collect informations before try roms my self! ^^
[Galaxy Tab  Android Development] spike1985:
I did not try to use a usb-hub myself, but it is said NOT to work. For hardware acceleratio\; works for me but some video codecs lagg as the "good official" versions off them are not open source..
[Galaxy Tab  Android Development] seshsud:
Im lost!!!!

Upgraded to the early ICS versions

Model: GT-P1000

Baseband version: i9000UGJK3

kernel:2.6.35.7

SGT-ICS-TE4M

CMVersion: 9.0.0.-RC0-GalaxyTab-HumberOS

BuildDate: Jan 31/12

BuildNo: CM9-SGT7-TE4M-20120202

Now how do I upgrade to the latest version?
[Galaxy Tab  Android Development] cheatman:
Download latest version from get.cm (p1 builds) and flash it using CWM. You will convert to MTD for the first time and is OK from your current setup.

Note that you will have to restore your tab data and settings as the SD will be wiped in the process.

Peace,

C.
[Galaxy Tab  Android Development] RED ZMAN:
For some reason I couldn't get in there on my device, but I could on the Laptop.

Downloaded, flashed via Recovery and it worked great.

Thank you.

For the developers, every nightly I have to re flash the Phantom Voicemail fix. Any chance we can get this fix baked in? If I'm having it, others have to be having it.

Looking at the changes for the next nightly...

http://cm-nightlies.appspot.com/?device=p1

overlay: turn on screen when unplugging from charger (android_device_samsung_p1-common)

Is this going to be an option? I hate the screen turning on when unplugged. My tab is setup as a navigation/media unit in the dash of my car, and having tthe screen turn on when the charger turns off may not work well with my Tasker power off tasks.

Thank you so much for all the hard work here. It is getting better every release. Battery life is getting better, and it seems my device isn't constantly awake anymore. Still awake too much when the screen is off and unplugged, but hopefully I can figure that out.
[Galaxy Tab  Android Development] espionage724:
Just re-mentioning this in hopes of a response
[Galaxy Tab  Android Development] espionage724:
USB Tethering

04-28 18:30:48.710: D/Tethering(226): Tethering usb0
04-28 18:30:48.710: E/Tethering(226): Tried to Tether an unknown iface :usb0, ignoring
04-28 18:30:48.710: E/Tethering(226): unable start or stop USB tethering

That is what happens upon checking the box for USB Tethering.
[Galaxy Tab  Android Development] seshsud:
Getting this error when I tried to flash the ROM from CWM :(

Checking State of BML/MTD

assert failed: run_program("/tmp/updater.sh") == 0

E: error in emmc/update-cm-9-20120427-NIGHTLY-p1-signed.zip

(Status 7)

Installation aborted.

Using HumberOS-v5.6.0 CWM
[Galaxy Tab  Android Development] humberos:
Try to install it removing external SD and flash it from internal.

Which version is your tab?

Greetings from Brazil!
[Galaxy Tab  Android Development] seshsud:
Android Version: 4.0.3

Kernel Version:2.6.35.7 (SGT7-ICS-TE4M#20120130)

CM Version: 9.0.0-RC0-GalaxyTab-HumberOS

Are you sure because post 3338 says internal SD will be wiped out during the upgrade process...
[Galaxy Tab  Android Development] humberos:
P1000

P1000L

or

P1000N?

Anyway, the rom will go to your internal SD.
[Galaxy Tab  Android Development] seshsud:
P1000. Copied the zip to internal SD and tried same error :(

Do i have to do this: Post 3186
[Galaxy Tab  Android Development] humberos:
Maybe yes!

I didn't get this error on my tab.

But, if it won't work you have to restock and flash again.

Good luck!

Greetings from Brazil!
[Galaxy Tab  Android Development] seshsud:
EDIT: Followed Post 4186 and reflashed, error went away...flash seems successful. Thankyou!

Here's what I see:

BaseBand: P1000XXJPZ

Kernel: 2.6.35.7-gd1242c7 (blinky-ghost@cyanogenmod #1)

Memory: 488 MB

CM Version: 9-20120427-NIGHTLY-p1

Build No: IMM76D

Everything works so far!! Wow ICS is awesome on the tab :)
[Galaxy Tab  Android Development] humberos:
Sounds great!

I am happy for you!

Enjoy!

Greetings from Brazil!
[Galaxy Tab  Android Development] niofar:
I have problems with wifi. I often lose signal. I started having problems when, in an old no-mtd rom (AOKP), I installed new wifi drivers by humberos (kernel 20120325). I then reported the tablet to the stock rom --> Overcome kernel --> I wiped data & dalvik-cache--> i installed last mtd CM9 nightly build, but the problem persist...

I have a GSM Tab (p1000).

:confused:
[Galaxy Tab  Android Development] seshsud:
How do we get swype to work on the tab? I tried to install, it says not supported..
[Galaxy Tab  Android Development] ayysir:
Change dpi to 240 reboot and then install swype then change dpi back to 160
[Galaxy Tab  Android Development] ayysir:
Glad to see that method that I posted worked for you
[Galaxy Tab  Android Development] diego72:
I've just upgraded from HumberOS (non MTD) without wipe: all worked well, all my old applications and data are still here.

Just 2 little problems:

1. Bluetooth can't work properly. Sometimes it does not activate at all, sometimes it activates but no data transfer...

2. Automatic backlight still does not work.

Bye