yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab  Android Development] cx5:
[MENTION=1535215]terenceng[/MENTION], you are right, but what surprised me was that clean & empty rom + Core gapps 17MB alone was sufficient to overblow 200MB of cache. I haven't got a chance to install a lot more apps to perform a loading test, but cdesai has released a solution as you would have seen, may be we EDIT can't COULD drop this cache partition change method now. Still thanks for everything.
[Galaxy Tab  Android Development] alroger:
Dont mix things up. Kitkat is very stable.

The partition deal is only for ART, which is in testing stages... like we all love.
[Galaxy Tab  Android Development] DroidTalk:
I'm going to flash kitkat nightly on CM10, without repartitioning, using cdesai's suggestion of adding dalvik.vm.dexopt-data-only=1

to /data/local.prop,and then convert to ART.

everyone wish me luck :)
[Galaxy Tab  Android Development] storm31:
i'm not sure, if it realy works:(. I have tried it: the rom boots, apps will be converted, but then i get only FC's. I try yet a data wipe.
[Galaxy Tab  Android Development] summerofciuccio:
I try this with your help on official cm11 and it works very fine for me, a few FC first time, but after a normal reboot, no problem at all... :)
[Galaxy Tab  Android Development] storm31:
I think my data was the problem. After data wipe i don't have this setting more, but we(i and [MENTION=4435247]vmkogeretla[/MENTION]) have figured out a (probably) working solution. I try it and report later if it works.
[Galaxy Tab  Android Development] DroidTalk:
i get a loop of com.google.process.gapps force closes on boot , havent yet converted to ART :( just flashed latest nightly, and CM gapps.

everything basically force closes in a loop : com.google.process.acore, media, dialer, etc

any suggestions? have i flashed wrong version of gapps? i got gapps-kk-20131208.zip for CM11 from http://wiki.cyanogenmod.org/w/Gapps
[Galaxy Tab  Android Development] storm31:
try Banks gapps
[Galaxy Tab  Android Development] terenceng:
New CM-11.0 Build [Dec 12A, 2013]

New cm-11 build [cm-11-20131212A-terenceng-p1.zip]

1. Fix TWRP to enable it to boot from OFF state by holding Volume-Up + Power keys.

You can now also use the boot.img inside it (don't have to use the boot.img from another ROM) if you want to flash TWRP recovery using heimdall from Download mode, for example to use it to flash another zip file or recover from a boot-loop, etc.

2. Include dalvik.vm.dexopt-data-only=1 in build to use ART without cache partition resize (thanks to cdesai). Right now I'm experimenting putting this property in /system instead of /data. Since my cache partition size has always been 200MB+ long before the ART issue and I do not want to resize it back to 105MB, those who have not resized their cache can first try out this ROM and see if the ART conversion is successful without cache resize. Whether or not it succeeds, we'll see how it goes and carry on from there. There are pros and cons in putting this property in /data as suggested by cdesai.

(EDIT: There's feedback to me that using this build, the ART conversion succeeded without cache resize.)
[Galaxy Tab  Android Development] AngSanley:
dev-host is down, try to download 12 Dec build and never success

EDIT: can u upload to somewhere else?

EDIT 2: it seems up again now ;)
[Galaxy Tab  Android Development] vanvancool:
I had same issue like you, 200MB are not enought.

So i resize cache partition about ~500 MB and restoring about ~50 apps/games

Size of cache folder stay at 251 MB.

It's not growing anymore, even if i install more app. weird....

So resize cache to 256 MB will be enough.

cheers...
[Galaxy Tab  Android Development] scanferr:
How do you guys repartition the cache partition?
[Galaxy Tab  Android Development] p1000haha:
good news
[Galaxy Tab  Android Development] cx5:
[MENTION=1535215]terenceng[/MENTION]

request edit post #1 200MB --> 256MB minimum. Sorry for misleading you and everyone that 200MB was enough.

I am now on your rom 4.4.2 (102 system apps) - I forgot did I install the 17MB core gapps 4.4.2. Is your rom coming with playstore??? anyway,

+ 32 user apps all for communications, work, social, NO games.

and the cache is using 203.2MB of 252MB (80%), which is getting marginal.

You previously asked if 300MB would be better choice???. YES I think it is because [MENTION=758394]vanvancool[/MENTION] is up to 251MB so high.
[Galaxy Tab  Android Development] OsitKP:
As storm31 wrote earlier there is no need for resizing if you add

dalvik.vm.dexopt-data-only=1

line to build.prop. I've tested it. Everything work fine, /cache folder is empty now. :)
[Galaxy Tab  Android Development] krchi:
So i own a sgh-t849 and i want to flash this rom for it but im not sure which kernel to use in the rom folder and which program to use to flash the kernel help from step 1. flashing the kernel? and also whats the /efs folder how do i back that up and also how do i repartition my internel sd so it can use art please help im a total noob at this and also any gapps?
[Galaxy Tab  Android Development] terenceng:
Thanks, since you've resized your cache, there is no need to return back to stock cache size (unless you want to), so you may let it be. I'll update OP about the cache.
[Galaxy Tab  Android Development] scanferr:
Why when I try to flash any of the gapps recommended here, the Play Store doesn't get installed? Am I doing something wrong?
[Galaxy Tab  Android Development] terenceng:
ART: no need for cache resize since build 20131212A

There's feedback to me that using my build dated 20131212A (onwards), the ART conversion succeeded without cache resize. So flash it with confidence.
[Galaxy Tab  Android Development] krchi:
any help guys its urgent i want help please?
[Galaxy Tab  Android Development] cx5:
I have P1000, not L, not N, your's is SGH-T849, if I remember correctly, this rom is not for it. correct me if I'm wrong. You should re read post #1 entirely slowly again. #2, 3 and 4 too. Good luck.
[Galaxy Tab  Android Development] krchi:
sgh t849 is p1000 just different names
[Galaxy Tab  Android Development] cx5:
Ok, sorry about SGH-T849 is not P1000, my bad.

so, let me see if I can help.

prerequisite = you must already have CWM or TWRP that can flash a new rom in ZIP format.

else use Odin to flash a kernel that is CWM or TWRP in TAR format, read a post a long way back.

or use Heimdall to flash a kernel either as zImage or boot.img (depends which version of Heimdall)

Steps

download latest version with the alphabet "A"

boot into recovery of the CWM or TWRP

select the new rom and flash away.

Actually I don't know how much you know or have done, may be all my writing is naught, well at least I tried. Good luck. May be if you tell us everything in extreme detail we could easily tell you what to do instead of guessing what I should tell you.
[Galaxy Tab  Android Development] krchi:
but if i flash another kernel with cwm wont i need to reflash to this kernel inorder to use the rom?
[Galaxy Tab  Android Development] areshinakya:
Google Play and other google stuff is included in the zip.

That shouldnt be the case.
[Galaxy Tab  Android Development] storm31:
Trebuchet is now not on board, like sgt7 Settings and sgt7 frameworks/base. You SHOULD wipe cache and dalvik and format system, better is to make a factory reset and restore after first booting your data (you should make a nandroid backup).
[Galaxy Tab  Android Development] cx5:
Thanks storm31, not to worry, I have nandroid backup before doing it the stupid for fun. Restocked and booting now. 3 FC occured. no phone still. had my own modem.bin replace into the rom.zip before flash. Removed all wallpapers apk and odx too.

errrr how to get phone back????

Edit-1

Google account didn't ask to login.

manual start play store FC everytime.

SU installer FC everytime

modem.bin is inside /radio folder but no phone.

message FC once, even though didn't use it.

Installation was very smooth.

Edit-2

can't enter RECOVERY no matter how. reboot from system or vol_up, both no go.

Edit-3

Short-cut flash overcome kernel only to get recovery not succesful, just screen on "samsung tab". Haven't tried flash only kernel from this rom.zip.

is it me???

side notes

short-cut works, fast, but lost WIFI MAC address.

i.e.

after flash restock, boot, before complete, shutdown immediately, hold power button 8 seconds.

flash overcome kernel to get recovery, boot, before complete, shutdown immediately, hold power 8 sec.

reboot recovery flash 4.3 or 4.4 OK successful

but loose wifi mac address.

hence still got to let restock reboots completely.
[Galaxy Tab  Android Development] subhi:
No recovery here as well.
[Galaxy Tab  Android Development] levdave:
Same here ! :silly:
[Galaxy Tab  Android Development] storm31:
I think cm 11 is now highly experimental. Check your imei. That can cause problems with phone.
[Galaxy Tab  Android Development] cx5:
Thanks storm31, i jump too quickly, forgot to check efs folder for imei. Will do tonight.
[Galaxy Tab  Android Development] fsm:
Recovery works fine after factory reset.

But the sms error pops up on each reboot.
[Galaxy Tab  Android Development] cx5:
LATE EDIT - highlighting my STEPs mistake. Users please note, hope it helps you guys reduce mistakessss stepssssss

OK, redo again.

restock

flash 4.3 + Gapps, reboot, all seems fine.

reboot recovery WIPE (factory, cache, dalvik) - [EDIT I thought this was enough but NO]

flash 4.4 + SU.zip --> asked for install --> hit YES - reboots fine (around 3 mins reach home screen). - says "Please refer to your SIM cards instructions something something"

"You need to refer to your sim card's instruction that came with your tablet". These are the exact words.

after reboot, needs to WIPE again, everything, factory reset again, etc etc etc. - this was the step I didn't do, I believe WIPING & RESET again will get the results as written by Terence.

[EDIT this point onwards all WRONG by myself]

google account setup ignore, no WIFI yet.

CMfileexplorer to efs folder found and sees contains many things, looking good but NO PHONE.

get catlog failed - adb devices return OK but says device is offline

unlock developr options, tick advanced reboot, usd debug etc etc etc

get catlog failed.

couldn't find the superuser installer as mentioned by Terence

setup WIFI

setup google account

went to playstore to download CWM_SU

launch CWM_SU, says "The superuse binasy (su) must be updated ......" choose cancel or recovery

hit recovery and reboot to TWRP, flashes too fast can't see what's going on, returns TWRP main menu. I HIT REBOOT. without doing anything extra.

reboot back to homescreen fine. launch SU, repeats above. Ignoring this time, just hit cancel.

CWM_SU, setting, can't find |GRANT| access.

get catlog failed - adb devices return OK but says device is offline.

End for now.

Edit - the too fast can't see part - found to be

Updating partition details

Processing AOSP recovery commands...

Unable to locate zip file'/sdcard/CACHE:superuser.zip'.

E:Error installing zip file'/sdcard/CACHE:superuser.zip'

Done processing script file

Injecting TWRP into boot image...

TWRP injection complete.

automatically jumps to main menu.
[Galaxy Tab  Android Development] subhi:
Recovery works after factory reset. No SMS error as mentioned by someone earlier. Couldn't get the tab to boot after switching to ART and no recovery either. :(
[Galaxy Tab  Android Development] sinan33:
kitkat browser

[MENTION=1535215]terenceng[/MENTION]

The browser i have attached to this post can solve our issue.

Regards...
[Galaxy Tab  Android Development] areshinakya:
I also couldnt boot after switching to ART, but I got out of bootloop by doing the following:

- flash boot.img from alrogers latest cm 10.2 build via heimdall (heimdall flash --kernel boot.img --recovery boot.img)

- boot to cwm

- mount /data

- use adb shell, in shell type "echo libdvm.so > /data/property/persist.sys.dalvik.vm.lib"

- format /cache and delete dalvik-cache

- unmount /data

- reboot
[Galaxy Tab  Android Development] subhi:
I just flashed stock through Odin, then 10.2 > gapps > 11 and refrained from switching to ART.
[Galaxy Tab  Android Development] areshinakya:
Yes but I didnt want to loose any settings or apps. Just make it boot again.
[Galaxy Tab  Android Development] tempest918:
I have a p1c and would commit to testing. I do not currently have data enabled, though.
[Galaxy Tab  Android Development] areshinakya:
Unfortunately the whole webview (now chromium based) is broken. All my webapps are broken. I guess the attached Browser.apk won't change this, will it?
[Galaxy Tab  Android Development] tat2me2:
I went through the whole install process with this rom and have spent all day trying to unbrick my SGT P1000N, have no idea what went wrong used TWRP everything seemed to install fine. It rebooted to the startup screen, the one one with the blue line towards the bottom but it never booted all the way. Even letting it sit for 2 hours it just stayed on the same boot screen. I dont know what to do now. Any help would be Awesome!!!
[Galaxy Tab  Android Development] terenceng:
It's just a temporary measure to prevent people from flashing one of the incompatible gapps packages out there; its safer to download google apps from Play Store yourself; and they will be the latest version too.

I like Trebuchet and the SGT7's goodies too but their sgt7 commits lag way behind CM commits. Maybe I'll look into merging them together and include them in some later build...

Have you tested it? Anyway there are way better browsers out there, eg. Chrome, Opera, Firefox, ...

For those who lost recovery: my TWRP recovery remains after converting to ART. Remember you have to first enable Advanced Reboot in Settings to be able to reboot to TWRP from the system.

And I can reboot normally after converting to ART....
[Galaxy Tab  Android Development] terenceng:
If you can get into TWRP (most likely not), then try doing a FULL wipe (cache, dalvik-cache, data) and see if it boots...

If not, revert back to a ROM. You can download my cm-10.2-20131029-terenceng-p1.zip, extract boot_p1ln.img from it, boot your tab in "Download" mode by pressing Vol-Dn + Power until the Yellow Triangle screen appears, connect your tab to a usb port, and then use heimdall to flash boot_p1ln.img to your tab, then reboot your tab to TWRP and flash whatever ROM you want or restore from your backup if it is in TWRP format, otherwise flash a boot_p1ln.img from a ROM with CwM and use its recovery to flash your ROM or restore your CwM backup.
[Galaxy Tab  Android Development] cx5:
Hi Terence & devs devs et all, thanks again.

I finally managed to see your original SU installer, after: -

restock

flash 4.4

WIPE - advanced --> cache, data, system, dalvik, everything except SDcard.

reboot - no SYSTEM, hahahahah, stupid me.

re flash 4.4

boots OK - says "You need to refer to your sim card's instruction that came with your tablet". These are the exact words.

SU installer pops up automatically.

go to WIFI enable properly.

SU installer downloads successful.

reboot to TWRP and display installs well, no error

reboot to android 4.4 ok, no error.

went into apps drawer, hit SU, go into settings, ENABLE the GRANT.

open CMfileexplorer, setting, enable root access. OK

check efs folder - contains many thing, seems OK. I don't understand them anyway.

check radio folder - modem.bin intact, my own HK modem.bin

phone app opens ok, dial-pad ok, able to dial 8 digit number. - immediate pop up "network not available"

but still no phone. Any tips???? Thanks so much. Does any of you guys have PHONE

quick summary - EVEN after restock, must WIPE everything. I missed this step and all the unintended problems and procedures appear.
[Galaxy Tab  Android Development] cx5:
It's because you didn't mention or reply that if you have any existing EFFECTIVE CWM or TWRP that I find my answers to you are quite worthless.

From another prospective to look at this situation, overcome kernel has CWM but it is too old and cannot flash any of these new rom. You must flash some form of new CWM or TWRP in order to flash recent new roms.

If you keep asking in pieces and not let us know in detail, our help to you will not be effective. Like what rom are you on now? what kernel version? can you ADB? can you Odin? can you Heimdall? because some people likes Heimdall and avoids Odin which means a different solutions = different answer to give you. So on and so forth.
[Galaxy Tab  Android Development] krchi:
Ok so im on stock 2.2 tmobile as my carrier and no custom kernel or what so ever so how do i install cwm to install this rom and do i need to unlock it from tmobile before i flash this?
[Galaxy Tab  Android Development] cx5:
OK, you have a long long way to go. A lot of homework to do.

Due to the VALID question of "do you need to UNLOCK" - sorry I don''t know this one. Assuming it doesn't need to UNLOCK, this is the answer = http://xdaforums.com/showthread.php?t=2430190

backup

you may be need to download some files from here http://xdaforums.com/showthread.php?t=1881981

Let us know when you finished restock. which is with ROOT and with the OLD CWM that I was talking about.

Or anyone else understands the deeper workings of android can can give a quicker shortcut for him?
[Galaxy Tab  Android Development] krchi:
can you give me step by step detailed steps to install overcome rom??

so i have to install the overcome rom then install cm11? right? ok so i understand now just want to know how to repartition internal sd card
[Galaxy Tab  Android Development] cx5:
the steps are in the link provided + so many other replies, I will not repeat here.

yes

pls read post #1 - no shortcut - don't be lazy.
[Galaxy Tab  Android Development] pinguinolandia:
VERY FAST AND STABLE ROM. I DON'T UNDERSTAND. CAN I SWICH FROM DALVIK IN ART AND REBOOT? THANKS FOR ALL.:confused:
[Galaxy Tab  Android Development] vanvancool:
Cool....

i found out that only System App using the cache partition.

Rom from storm31 have more System Apps and therefore need more cache than Rom from terenceng ;)
[Galaxy Tab  Android Development] kareemlukitomo:
Been following this thread and storm31's for a week.

I resized my cache partition to this size and with the latest tweak successfully booted ART and doesn't take up the cache partition.

View attachment 2452424

So far so good. The only thing that bothers me is that I can't modify/open the Quick Setting Layout configuration below.

It was working on the previous version though. (4.4.1)

That's all I've got to say, other than that it's a great ROM. Great job terenceng!
[Galaxy Tab  Android Development] ani55:
Why is it when I flash gapps everything force closes?
[Galaxy Tab  Android Development] ohtoulouz:
[Q] Trebuchet FC

Hi,

After a clean install (coming from AOKP SGT7 (JB-MR1)), Trebuchet FC as soon as I want to set a new background image.

Any idea to solve the problem?

thanks

Pierre.
[Galaxy Tab  Android Development] krchi:
Im not being lazy i did read.... it saids resize partition but it doesnt tell you how to. Im a complete noob to this device so i dont know how to flash kernel or if i can just install this rom from stock 2.2 or if i have to upgrade to overcome rom then to cm11 it doesnt talk about these in the installation process it just saids install.... next time you try to correct someone make sure the person isnt wrong in asking his questions.
[Galaxy Tab  Android Development] alroger:
No, it doesn't tell you to resize partitions, that's for a very specific test, the libART. You must read the whole thread to understand what's going on..

but if you are on stock 2.2 you must first learn how to flash ANY ROM before coming to suck an experimental version.

Yes, Overcome is the first step for most of us, you will have to root and unlock your bootloaders probably... not subjects for this developer thread.

The CyanogenMod Wiki is also good starting point with links for everything you need. Make sure you search for your specific hardware model.
[Galaxy Tab  Android Development] terenceng:
To "cache" or not to "cache" ....

Guys, the latest build cm-11-20131212A-terenceng-p1.zip contains a property setting that drops /cache in favour of /data. I foresee this configuration may cause various issues/FCs with certain apps/settings/etc.

But I'm waiting for feedback ...

Anyway, I've put up another build cm-11-20131212B-terenceng-p1.zip for download.

Difference is: cm-11-20131212A-terenceng-p1.zip drops /cache in favour of /data, while cm-11-20131212B-terenceng-p1.zip uses /cache.

Here's my suggestion:

1. If you have already resized your cache partition, then it's pointless to make use of this property setting. So far the cache resize

approach has proven stable (but you have to decide on the optimal cache size yourself, perhaps about 300MB), so let's go back to the use of /cache.

2. If you have not resized your cache partition and you wanted to try ART, then :

a. Either you resize cache,

b. Or you drop cache in favour of data and be part of our "experiment" (hey, we need feedback to improve right? And improve we will!

Also falling into this group are those who want to use ART but are not ready to resize their cache partitions)

3. Or you just want to use Dalvik.

For groups 1, 2a and 3, flash cm-11-20131212B-terenceng-p1.zip.

For group 2b, flash cm-11-20131212A-terenceng-p1.zip.
[Galaxy Tab  Android Development] scanferr:
Sorry for insisting, terrence. But I couldn't find an answer for these two questions: what is the best or easiest way to resize cache partition? Why when I flash a gapps package (PA or Banks one) the Play Store doesn't get installed?

Thanks! And sorry for taking your time! I would really love to help you debugging this ROM but I just wanted those 2 things to work :p
[Galaxy Tab  Android Development] terenceng:
Use fdisk (best) or parted (command-line or graphical) (easiest) to resize cache but you have to read and find the posts in this thread or google/research elsewhere on how to do so and try it yourself. So far I've only tried BaNkS GApps (only Core, I didn't even try Standard). I haven't tried PA GApps (I heard it's incompatible or too big). I'll have to ask you to try again. It should be installed. And I also have to ask you: did you read OP and WHOLE thread about what others have said to understand what's going on so far? It's for everyone's good...
[Galaxy Tab  Android Development] RogerG:
first & foremost many thanks to terenceng for all the hard work & support - been lurking here since the OP, finally flashed.

member of group 2b reporting, came from CM 10, followed instructions in OP to the letter. my findings:

- first boot was very quick, not 20minutes as mentioned in OP - maybe 3-5 at most?

- had no need to replace efs or modem

- switch to ART was quick as well - did NOT (and never have) changed cache partition size, did not change local.prop either (since it was not needed for 20131212A)

- everything - including ART - seems to work great so far, however:

+1, can confirm. tried both banks and PA as well, core, standard and mini, no difference. they all install fine, no error msgs - but the do NOT show up anywhere (not in appdrawer, no widgets, etc).

just to be sure, I've wiped cache (even dalvik) and fixed permissions, switched back to dalvik and to art once more - nothing.
[Galaxy Tab  Android Development] AngSanley:
yeah, the ROM itself is very large, plus if u install the Standard GApps, the /system partition will full, and some apps won't installed, the workaround is remove some useless app in /system and install it as user app instead of system app, for example I removed Apollo, Live Wallpapers, Trebuchet (replaced with GEL) and LatinIME (installed as user app) and it will fit. ;)