yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab  Android Development] asvantypography:
restock first

---------- Post added at 04:15 AM ---------- Previous post was at 04:08 AM ----------

try to format ur sdcard with pc then re-partition it using partition mini tool on pc

Disk /dev/block/mmcblk0: 15.9 GB, 15925772288 bytes

1 heads, 16 sectors/track, 1944064 cylinders

Units = cylinders of 16 * 512 = 8192 bytes

Device Boot Start End Blocks Id System

/dev/block/mmcblk0p1 5 1660160 13281248 83 Linux

Partition 1 does not end on cylinder boundary

/dev/block/mmcblk0p2 1660161 1905920 1966080 83 Linux

Partition 2 does not end on cylinder boundary

/dev/block/mmcblk0p3 1905921 1944064 305152 83 Linux

Partition 3 does not end on cylinder boundary

app_6@android:/ $ export PATH=/data/local/bin:$PATH

app_6@android:/ $ su

app_6@android:/ # fdisk -l /dev/block/mmcblk0

Disk /dev/block/mmcblk0: 15.9 GB, 15925772288 bytes

1 heads, 16 sectors/track, 1944064 cylinders

Units = cylinders of 16 * 512 = 8192 bytes

app_6@android:/ # dd if=/dev/block/mmcblk0 of=/sdcard/mbr.bin count=512

512+0 records in

512+0 records out

262144 bytes transferred in 0.065 secs (4032984 bytes/sec)

app_6@android:/ #
[Galaxy Tab  Android Development] alroger:
I'm starting to think the P1000N kernel has my sdcard different.

mmcblk0 is my INTERNAL card, I can't get it and plug into my PC.

mmcblk1 is my external card.

Isn't that how it is for everybody? Can I just make all partitions ext4, or does /sdcard need to be fat32? Man I spent my whole last night reading everything I could.

I say if you have a P1000N DON'T try to use CwM to repartition your sdcard (internal or external). What it did is repartition my INTERNAL sdcard and then I lost the cache partition that I described above.

The external sdcard is easy, just put it in your PC, use gparted in Linux or this Mini Partition Tool I read about for Windows, create the 1st partition as FAT32 for regular stuff, and a second partition to complement your /data/app in EXT4, using Link2SD to move all movable apps.

As far as Speed, I bet I'm going to get lots of improvement once I get my 16GB Class 10 SDCard. For now it already seems to run faster using a cheap 8GB Class 4 SDCard. And use SD-Booster to change sdcard cache to 1536 or 2048.

The important thing is that system apps, the ones you can't even move, are using the fastest part of memory on our hardware, that was explained earlier by cdesai... and fastest for WRITING.

Once we get all this figured out, of course we will try to make nice HOWTOs. But it's all in TESTING so far.

Any tips appreciated.

@asvantypography, could you get me fdisk -l for both mmcblk0 and 1?

And also send me both resulting files from:

dd if=/dev/block/mmcblk0 of=/sdcard/mbr0.bin count=512
dd if=/dev/block/mmcblk1 of=/sdcard/mbr1.bin count=512

Thanks everyone.
[Galaxy Tab  Android Development] asvantypography:
app_6@android:/ $ export PATH=/data/local/bin:$PATH
app_6@android:/ $ su
app_6@android:/ # fdisk -l /dev/block/mmcblk0

Disk /dev/block/mmcblk0: 15.9 GB, 15925772288 bytes
1 heads, 16 sectors/track, 1944064 cylinders
Units = cylinders of 16 * 512 = 8192 bytes

Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 5 1660160 13281248 83 Linux
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2 1660161 1905920 1966080 83 Linux
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3 1905921 1944064 305152 83 Linux
Partition 3 does not end on cylinder boundary
app_6@android:/ # fdisk -l /dev/block/mmcblk1

Disk /dev/block/mmcblk1: 3965 MB, 3965190144 bytes
225 heads, 63 sectors/track, 546 cylinders
Units = cylinders of 14175 * 512 = 7257600 bytes

Device Boot Start End Blocks Id System
/dev/block/mmcblk1p1 1 547 3869727+ f Win95 Ext'd (LBA)
Partition 1 has different physical/logical endings:
phys=(481, 224, 63) logical=(546, 29, 63)
/dev/block/mmcblk1p5 1 547 3869696 7 HPFS/NTFS
app_6@android:/ #
[Galaxy Tab  Android Development] scanferr:
Finally someone who understand me. I know that it's because of the new partition system, I've been following CM10 before the nightlies came out and I am aware of way it is like this. I just ask...is it really supposed to be like this? I don't have a lot of apps, in fact I just wanted to install some more and I just can't. Should I stuck with CM9 because of this? Is there a way to "fix" this? One thing I don't get is why the partition system changed knowing that a lot of people would lack memory. I'm not attcking, I'm not being rude. I just wanted it to be explained on the first post or something like some users said up there.

We are talking about this on page 13 or something. Imagine that someone with the question will come up on the page 70. Is it really needed to read all the pages while it can be really summed up on the first one?

I just simply agree with the user above. Maybe I'm not experienced as him, but I do have some knowledge and avoiding questions that people post isn't the way to go, IMHO.

This just clearly summs up everything:

If I'm wrong, please show me how. But I don't think it's hard to explain. After all we are all here to help each other, am I wrong?
[Galaxy Tab  Android Development] pushkardua:
i am not getting any mobile network

not getting mobile networks unable to call
[Galaxy Tab  Android Development] ArdorNg:
Rear camera fixed?

goo.gl/IMq08

This doesn't make the rear camera functional, does it?
[Galaxy Tab  Android Development] vanvancool:
i see , i see.... wait for next NIGHTLY :victory:

here a better changelog for us : http://nechko.com/sites/cm10cl/index.php?device=p1&translations=no
[Galaxy Tab  Android Development] juanpirulo:
Someone can explain to me the diferences between this two updater.sh scripts? first one I get from the sgt7 repo on 08-09 the second one is from 11-09 . The second one is getting me less space on the internal sd.

# Check if we're in CDMA or GSM mode

if /tmp/busybox test "$1" = cdma ; then

# CDMA mode

IS_GSM='/tmp/busybox false'

SD_PART='/dev/block/mmcblk1p1'

SYSTEM_SIZE=''

DATA_SIZE=''

else

# GSM mode

IS_GSM='/tmp/busybox true'

SD_PART='/dev/block/mmcblk0p1'

SYSTEM_SIZE='425721856'

DATA_SIZE='477626368'

fi

set -x

export PATH=/:/sbin:/system/xbin:/system/bin:/tmp:$PATH

# Check if we're in CDMA or GSM mode

if /tmp/busybox test "$1" = cdma ; then

# CDMA mode

IS_GSM='/tmp/busybox false'

SD_PART='/dev/block/mmcblk1p1'

DATA_SIZE='490733568'

else

# GSM mode

IS_GSM='/tmp/busybox true'

SD_PART='/dev/block/mmcblk0p1'

DATA_SIZE='477626368'

fi

why is not system size in the second updater.sh? . Any help will be aprecciate. cheers
[Galaxy Tab  Android Development] a1m:
My microphone doesn't work - I haven't tested with voice calls, but Google Now doesnt want to voice search.
[Galaxy Tab  Android Development] Blame73:
Copy modem.bin in /system/vendor with a folder browser with root priviledges
[Galaxy Tab  Android Development] OsitKP:
Yes. It works now. The settings are taken out from the shot button circle to the right down corner of preview field.

By the way from now ProCapture works perfectly except changing resolution (stucks and needs reboot).
[Galaxy Tab  Android Development] ArdorNg:
I'm new to reading and writing code, so I'm probably wrong, but does this mean the main issue with the rear camera was that there was an object size mismatch?
[Galaxy Tab  Android Development] cdesai:
Camera is indeed fixed, and jt also fixed Torch :)

Changes are already merged, and they'll be in the next nightly.

And p1c (CDMA tabs) will start receiving nightlies as well.
[Galaxy Tab  Android Development] Sir Otto:
What are the differences between this nightlies, the Preview build 4 by Chirayu Desai and Saphir and PDroid's unofficial nightlies? Which of them is better? Which of them have the new partition table (that, as I heard, seems to be better)? Which is smoother and has less bugs?

And finally, the most important question: do you suggest me to keep AOSP Gingerbread or leave it and choose any JellyBean ROMs?
[Galaxy Tab  Android Development] cdesai:
I can't speak of unofficial builds, but my previews are old now, that's why i closed the thread.

Nightlies have the new partition layout, and i don't think there was a pure AOSP ROM for the tab, was there?
[Galaxy Tab  Android Development] Sir Otto:
Not really AOSP, but some CyanogenMod 7 or CM7-based ROMs, like BOCA and obviously my "Cyanogen: The Future", based on CM7.2.

So I would like to know if your Jelly Bean ROMs are better than your CM9 and CM9.1 and than Gingerbread ROMs in smoothness and battery, which are the things I care most (and bugs, obviously). Does Project Butter work well?

Jelly Bean has the newest functionalities, but it must be well optimized.

Does it mean that now everything works?

Sent from my Galaxy Tab running Cyanogen: The Future
[Galaxy Tab  Android Development] erezak:
@cdesai, just let me know if this is thread hijacking and I'll delete the post ;)

@Sir Otto, my Sapir nightly builds now have three differences from the CM10 official nightlies:

1. Built with the "old" partition layout - bigger data.

2. Have some cherrypicks.

3. Have an in-rom DPI Changer setting.
[Galaxy Tab  Android Development] Sir Otto:
Cherry pics? What do you mean? And most of all, what about battery life in your ROM?

Sent from my Galaxy Tab running Cyanogen: The Future
[Galaxy Tab  Android Development] asvantypography:
battery life improved :thumbup:
[Galaxy Tab  Android Development] super425:
How come i put the Rom in my tab and everything work except the 3g service. My tab is the tmobile us version. Thanks for your help.
[Galaxy Tab  Android Development] gwbard:
Reading the thread would help...

I threw together a quick update zip for the T-Mobile JJB modem -- flash away :)
[Galaxy Tab  Android Development] ArdorNg:
Almost everything works.

1. Camera works, only the funny facial effects of the video cam does not.

2. Might be my personal issue, but auto-rotate seems to get stuck at random times.

3. CM10 is smoother than CM9, though not as buttery as project butter is supposed to be. However, the new partitions severely limits the amount of apps that you can install. Google Play says I have 51 apps, and it appears to be as many as it will handle.

4. The camera also works better in CM10 than in CM9(CM9 has an odd issue where the camera app makes your screen blurry, but does not affect pictures taken.) Chrome also works better in CM10 than CM9

5. Google Now works fine, but "Hotword detection" slows it down.

My opinion: If you like using many many apps, stick with CM9 for now. If you prefer smoother operations, fewer(?) bugs and odd behaviors, and Google Now(which made me much more willing to give up personal info to Google), and can live with fewer apps, then move to CM10.

I am one of those affected by the sudden battery drops (30% - 3% in an instant). I just only flashed the new nightly, and haven't tested it yet, but going through the changelog roughly, it would appear that that has not been solved?

PS: I have not tried to connect the Tab to a computer, so I do not know if the mass storage and other connection modes work...

PPS to cdesai: Great work, man! The latest nightly might even pass for a 'stable' release... Bring on Android 5.0 on Android's 5th birthday at November 5, with 5 Nexus devices(1 of which should have a 5.5 inch screen:p)! I follow you on the G+. Hope you're doing well.

PPPS to all contributors: If it is not too much trouble, when possible, could you give a bit more technical details when answering some of the questions(e.g. what "+int SecCamera::interleaveDataSize = 0x33F000;" actually means, what the important changes were and how we newbies can read it ourselves)? I think it would help tremendously lurking newbies like me learn much faster and be able to eventually contribute ourselves.
[Galaxy Tab  Android Development] Sir Otto:
Thank you for everything. I believe I'll try JB.
[Galaxy Tab  Android Development] Pwnna:
My deal breaker is tablet mode. Is that working yet?
[Galaxy Tab  Android Development] eboIa:
@ardorng

Nice summarization, just for the free space.

Seems that lot of you never had a really 'first gen' Android device where usually the app storage was horrible small. This situation was a headshot as on the OS like Android you simply could not install more then 2-5 apps. This limit was shortly overrided with lot of method. All those basically use your external SD as app storage instead of the factory small one. With new partition layout or tab is smoother and you just need to extra one app to configure your 'secondary' app storage. With old layout you don't need it but there is no further solution to get faster your device. Which is overally the better? Just make an 4 gig ext4 position on your external SD and you will have twice as more app storage now as you had ever. Just 5 min extra configuring for people who already flashing the device. It's simply could not a deal breaker as the device really feels faster/smoother. If you use Link2SD (for example) with some brain you Erik have more satisfaction as you had ever (on P1000 of course:)) so just try it, if not understand just search on XDA as this is a very long, sophisticated and stable solution.
[Galaxy Tab  Android Development] Blame73:
Talking about battery drain: In CM9 I could hardly go through a day without totally draining the battery, with the latest release I installed (8 Sept) I'm now with still 76% left after 30 hours of usage :good:
[Galaxy Tab  Android Development] Sir Otto:
Do you mean with the latest release of CM9 or CM10?
[Galaxy Tab  Android Development] OsitKP:
That means absolutely nothing. Try to play games, read a book or watch video for few hours. I assure you'll get triple less value. :)
[Galaxy Tab  Android Development] juanpirulo:
it would be nice if you make just a simple tutorial about how to get a 4 gig ext4 on the external SD. cheers. Meanwhile i just searching about how to do it. :(
[Galaxy Tab  Android Development] super425:
So correct me if im wrong, I flash my tab to this modem with odin. Turn the system on and it wont detect any service at all not even the network. So what is the correct way to get my 3g to work as it should.

Thanks
[Galaxy Tab  Android Development] hcarrega:
Since last two nightlys...my currents sync instant upload sync google+ and google photos are stop...no pictures in gallery from picasa

Any sugestion?
[Galaxy Tab  Android Development] gwbard:
NO, not Odin, Clock Work Recovery!

I'm sorry I didn't specify, but zips are for CWR, tars are for Odin
[Galaxy Tab  Android Development] Blame73:
CM10

Inviato dal mio GT-P1000 con Tapatalk 2
[Galaxy Tab  Android Development] DaKillaWilla:
Cdma tab now has a nightly to try.

http://get.cm/?device=p1c
[Galaxy Tab  Android Development] Blame73:
It means a lot to me since I'm using the tab the same way I did it before, and trust me, I'm a flash addicted

Inviato dal mio GT-P1000 con Tapatalk 2
[Galaxy Tab  Android Development] linux150:
Batterie drain

Lg

Linux150
[Galaxy Tab  Android Development] super425:
I did the CWR but it still in edge so I dont know
[Galaxy Tab  Android Development] linux150:
Hi

Confirm camera is working on last nightly.

linux150
[Galaxy Tab  Android Development] asvantypography:
u was charged it twice
[Galaxy Tab  Android Development] michaelgening:
I flashed JPZ with Odin3, it doesn't work. I used the modem from Overcome ROM, is that the reason?
[Galaxy Tab  Android Development] priyana:
And why do you flash when the post you quoted says copy and paste?
[Galaxy Tab  Android Development] ArdorNg:
The thing is, if we want a ROM our (grand)mothers can use, the need to manually partition SD cards will not work.

Is it possible to slap in core apps and gapps(including Chrome) into the 512 MB partition, and have a separate partition for non-core 3rd party apps. That way, i suppose we do not compromise on the usability and speed of the device while it would still be something our (grand)mothers can use.

Boot animation has returned in the 20120912 nightly, it was removed in the previous one, i believe; still no tablet mode. Also, widgets may end up overlapping the Google Search bar and the dock at the bottom. These things are probably low in the to-do list, and IMHO rightly so, while the contributors focus more on ironing out kinks and further integrating Project Butter into our Tab.

God, the longer I hang around xda, the more I want to expand my programming ability... Guess i have to start cramming at coursera.org...

PS: Jelly Bean is so 3 months ago... Bring on Key Lime Pie!
[Galaxy Tab  Android Development] michaelgening:
My internal storage is said to be 456MB only, please help! Thanks!
[Galaxy Tab  Android Development] _Derk_:
Exactly!

The built in chipset is large enough, as there is the internal SD which has plenty of space that might be used - 8GB internal SD should be sufficient for the ones not having an external SD, but most will have!

Why the built in memory isn't used different?

Just to stick to CM10 standard partitioning?

There can't be such standard as all the different devices have different hardware, and I'm pretty sure that not all devices have 16GB built in memory...

Why not have the /data with 2, 3 or 4GB on the internal memory and decrease the size of internal SD?

I'm still on the old layout but changed my /DATA partition to even larger size reducing the internal SD:

Bye,

Derk
[Galaxy Tab  Android Development] pushkardua:
thanx a lot:good::good:
[Galaxy Tab  Android Development] eboIa:
Hi, you didn't caught the real background of it. The 512 meg memory is lo more faster for write data this is why with this layout our device become faster. You need to use this memory for /data for this smoothness as basic apps write user data also onto it. This way your /data position is done. What you can do link any apps over a limit onto a secondary position what is indifferent that where is. You can also use your large internal memory for it if you want. There is plenty of apps what can do it with user interface and with automatically. What you need with manual just the real partitioning what you already done on your screenshots also. With Link2SD you can stay on fast internal original /data partition for main apps as Chrome, etc. and you can link with one tap any other to the second. Also you can set that every new apps automatically installed on your second partition. In this case you can set up your machine to the fastest method you can reach for base apps and leave all others on a little bit slower. You can use your internal or external SD for it. It's just based on your capabilities and decision. Of course your mom or grandma will not set it up but you can and they never need to do anything with them. Not your mom or grandma will configure the device from any aspect but you this is true in particular days. And one other small question. Is your grandma really need our at least care about Jelly Bean? Simply don't believe it. If you don't want to do any special for her why you root your device why you flashing it with CWM why you try the top fresh ROM on it? This is not about your grandma this is about you and use secondary partition is easier as root or flash your device. I'm not offend you just try to show the background.

We need to use this layout for the speed and the problems are easily bridgeable. If it's a real problem I don't think you are on good way as try to hack your 2 years old device with the top fresh softwares without any additional steps just for your grandma.

Sorry for off-topic just lot of readers have a problem with it and I try to tell the important background.
[Galaxy Tab  Android Development] _Derk_:
And as a german user just reported, his tab had a FC and afterwards all apps shifted with link2SD were reported as uninstalled. Titanium backup couldn't restore them, so he had to go via factory reset and restoring via the Google account and shifting over to SD every now and then as the partition is so small. Took him quite a while...

My point is, the speed increase is for apps where /data/data is on the fast memory, all the rest of /data may be placed anywhere.

So why not just placing /data on a part of the memory now used for internal SD and only /data/data on the fast memory? So a lot more apps would benefit from writing their data to the faster memory as now...

Now having only Chrome on the faster partition it consumes already like 12% of the available space...

And if widespread backup apps can't handle the construction, there is a lot of manual work needed whenever you have to restore something...

That's why I stick to the old layout as long as possible...

I perfectly understood the background even after the first explanation weeks ago.

The grandmother example wasn't mine but that should be the target for development - a ROM easy to install and handle.

And if you now see even people releasing their own versions with some tweaks like alrogers have issues with this partitioning there might be something not as easy as possible.

In my opinion there should be a default way to handle the issue with the partitioning and not individual ways to handle.

There are people out there not having cardreaders for partitioning and the current used CWM doesn't offer it any longer, so why not releasing the nightlys with a more user-friendly CWM?

Or as I proposed release a default partitioning which uses part of the internal SD as /data and link /data/data to the fast memory?

Bye,

Derk
[Galaxy Tab  Android Development] cdesai:
There's no way we could just move /data/data to OneNAND and keep /data on MoviNAND, no space for /system then.

You might say that we could have re-partitioned the internal sd, but that's not the safest thing to do.

OneNAND is indeed faster than MoviNAND, and /system isn't accessed much so it could be on a slower partition.
[Galaxy Tab  Android Development] Mjoelnir77:
Would it be possible to add that as an option to CWM? So those brave enough to try can and those that have no need for it go with the default?
[Galaxy Tab  Android Development] Sir Otto:
Thank you, this method works. Exctract modem.bin from the ROM, copy it to /system/vendor and reboot.
[Galaxy Tab  Android Development] fdfdrere:
+1
[Galaxy Tab  Android Development] jt1134:
Do you have benchmarks to support this? I ran a few tests on my p1c, and the movinand's write speeds are actually considerably faster. I've reverted to the old partition setup on my device with no drawbacks and will likely do the same for the p1c official builds.
[Galaxy Tab  Android Development] hotheabilly:
sorrry I'm a newb user, tried to flashing this rom and succes, but then I realized the baseband is unknown and I can't receive signal. tried flashing this modem http://xdaforums.com/showpost.php?p=20162933&postcount=2 and it cant flashed, it says status 7. tried the 2nd ways to copy modem.bin to radio folder and no luck. can anybody help me? :(

sorry if i post it to wrong section
[Galaxy Tab  Android Development] ArdorNg:
First of all, thank you for the swift concise reply. Could you enlighten us as to the risks of repartitioning the internal SD?

I think with this being more of a user experience issue, the developers' times are more efficiently used if they were to focus on ironing out bugs and bringing our own flavor of jelly bean up to an acceptable standard. But if indeed the old partition is just as good as the new, I suppose we will eventually either revert or have a choice in partitions.
[Galaxy Tab  Android Development] jgaviota:
The install script on the p1n Nightlies still fails on the first line, I have to delete the assert to be able to install. I have not modified build.prop in any way.

This is going from one Nightly to the next. It also fails on CM9

Thanks!
[Off-topic] system.img:
Just as the title says, share a Meme/Troll comic which you found to be very funny and awesome!

I'll start with mine! :D

Post your favourite meme comic now! :beer:
[Off-topic] Archer:
Please use the existing images thread...

http://xdaforums.com/showthread.php?t=1005229

The meme thread was merged into that some time ago.