yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 2 7" Android Development] shinobisoft:
I'm already using ketut's NEXT kernel ;) Was really just offering information for those who aren't using ketut's kernel and possibly too impatient to wait for your new build. Personally I'm content with where my data gets stored. I use this thing to play a game or two and for browsing the internet :D

BTW, thanks for all you've done :cool:
[Galaxy Tab 2 7" Android Development] ts_firehawk:
Thanks, i couldn't upload do DevHost because I've lost access to my account! :/
[Galaxy Tab 2 7" Android Development] CodyF86:
Here is 20130815 for p3110 / p3113 w/IR: http://d-h.st/809

This has the same date, but also has whatever updates have been merged since midnight EST.

The stock kernel should now have export SECONDARY_STORAGE /mnt/extSdCard in its init.rc now

and like I said before if you use Blackhawk-NEXT just add a userinit.d script to /data/local/
[Galaxy Tab 2 7" Android Development] shinobisoft:
Dunno if I should post this here but small issue with cLock on the lockscreen. Cannot turn off metric measurements. Temp is always displayed in Celsius.
[Galaxy Tab 2 7" Android Development] CodyF86:
Hmm, mine shows as Fahrenheit, can you try and delete your settings xml file. (I think it's an xml file, not sure where it is.)

Here is TabletUI patch for 20130815: http://d-h.st/BNT
[Galaxy Tab 2 7" Android Development] shinobisoft:
I'll dig around and see what I can find
[Galaxy Tab 2 7" Android Development] CodyF86:
Wanted to post also, if enough people want this for the p3100 I'll still build it at least one more time for p3100 with user 0 being able to use secondary storage for apps, I just need to know. :)

Also,

If you use secondary for storage, just copy your current apps from /sdcard0/android to /sdcard1, just copy the whole folder and paste.
[Galaxy Tab 2 7" Android Development] CodyF86:
Turns out the stock espresso10 kernel has userinit.d support also, in the same directory. Derp!

Starting with 0816, anyone who uses the stock kernel and wants to use secondary

storage for app data, will need to create a file in /data/local/ called userinit.d,

so /data/local/userinit.d (Might need to adjust permissions to create it.)

Paste this and save: export SECONDARY_STORAGE /mnt/extSdCard

Then you can issue the same setprop command once and reboot.
[Galaxy Tab 2 7" Android Development] kenundrem:
I can confirm sdcard0 is now on sdcard1 after creating userinit.d and issuing command in terminal...thanks for the extra space now I can really use this 32gb card for something
[Galaxy Tab 2 7" Android Development] hkjr:
thoughts on utilizing aroma and adding this as choice? I peers know aromas a pain but thought I'd ask as it doesn't hurt
[Galaxy Tab 2 7" Android Development] CodyF86:
This is just CM build from the latest source code, and the option to use secondary is a patch submitted to the Code Review before it gets merged in. http://review.cyanogenmod.org/#/q/status:open+branch:cm-10.2,n,z

I'm not trying to add on things that aren't cyanogenmod. :)

Also,

I just noticed that the CM Superuser has been fixed, if you are using SuperSU from the sideload procedure

I posted; You can uninstall it and SuperUser should still be accessible under settings.
[Galaxy Tab 2 7" Android Development] hkjr:
nice! keeping it simple works.
[Galaxy Tab 2 7" Android Development] beachbum40:
Turn off metric in weather setting which I'm sure you did. Now on the lock screen or home screen weather wiget tap the weather pic and it will change
[Galaxy Tab 2 7" Android Development] CodyF86:
Here is 20130816 for p3110 / p3113 w/IR: http://d-h.st/HWS

TabletUI Patch: http://d-h.st/zso

If you are using the stock kernel you and are using secondary storage for app data, you will have to make

a userinit.d file in /data/local/. There are directions on the OP.

I left the use secondary storage as SD in, but I just wanted to say you probably should only use it

if you have multiple giant games you want installed at the same time like gta3 etc. The APKs are still

stored on sdcard0, but the app data is stored on secodary.

Edit: Also, ClockWorkMod Recovery 6.0.3.7 is on the review with a patch set, I'll post it

tomorrow, too tired right now. :)
[Galaxy Tab 2 7" Android Development] prop7459:
Cody,

Thank you for the update. I have a couple of questions, I am getting FC's when I launch the GMail app and the stock browser. Does this update address this or should I just wipe & reflash the Rom along with GApps again?
[Galaxy Tab 2 7" Android Development] shinobisoft:
I could be wrong but I highly doubt that the issues you're having are ROM related. I'd recommend trying a clean install. Possibly redownload the ROM . I've had issues with bad downloads in the past with another device's ROM.
[Galaxy Tab 2 7" Android Development] CodyF86:
Install the Gapps I have on the OP. You shouldn't be getting FC's, it was all working fine for me last night.

Something went wonky for you, reflash gapps 4.3 to start. :)
[Galaxy Tab 2 7" Android Development] CodyF86:
Here are the latest recoveries, it's still a patch in the code review hasn't been merged yet.

6.0.3.7. for p3110 / p3113: http://d-h.st/EIf

6.0.3.7. for p3100: http://d-h.st/GUV
[Galaxy Tab 2 7" Android Development] shinobisoft:
Non touch recoveries right?
[Galaxy Tab 2 7" Android Development] CodyF86:
aye. :)

I hate only being able to see 3 directories at a time, with touch, I know the font is small, but... :)

Here is what the change is:

Fix issue where android device manager, etc, dont actually wipe data.

--wipe_data issues via /cache/recovery/command will now completely format data.

All other manual wipe commands will preserve data on /data/media.

There is another mounts/storage option that will do a true data format.

http://review.cyanogenmod.org/#/c/48108/
[Galaxy Tab 2 7" Android Development] shinobisoft:
I know the feeling. Try PhilzTouch . Freakin cool!
[Galaxy Tab 2 7" Android Development] Android-Andi:
flashable zip? would be less risk insted of flashing with odin.
[Galaxy Tab 2 7" Android Development] CodyF86:
If someone wants to make them, I can link to them.

On a side note if you ever wanted to know what happens when you flash something with Odin and it goes horribly wrong.

It's actually not that bad lol; If you flash something and it fails hard, the tab will actually start showing a screen when you

turn it on saying something is wrong and to run recovery from Kies. The good news is that even though it says that the tablet

is still in download mode and you can reflash with Odin. You just have to restart Odin and your tab once inbetween.

I accidentally flashed a tar file made with the 'z' arguement once and thought I bricked it, but I got it back. :)
[Galaxy Tab 2 7" Android Development] Android-Andi:
but they are odin flashable, or not?

can someone tell me how to convert to a flashable zip? [MENTION=4021423]ketut.kumajaya[/MENTION]?
[Galaxy Tab 2 7" Android Development] shinobisoft:
Yes they're ODIN flashable

---------- Post added at 04:13 PM ---------- Previous post was at 03:44 PM ----------

CWM flashable for P3110 and P3113 here

[MENTION=5337314]CodyF86[/MENTION] you can post in OP if ya want ;)
[Galaxy Tab 2 7" Android Development] Android-Andi:
Thanks!

How can i convert / repack from tar / tar.md5 into a flashable zip?

(I have a sencond pc running ubuntu.)
[Galaxy Tab 2 7" Android Development] CodyF86:
To create a flashable tar from an .img file use: tar cvf newfilename.tar recovery.img

To make the tar file flashable if you don't have the .img file already: tar xvf filename.tar to extract.

then the easiest way would be to open up an existing flashable zip file and remove the files

that are being flashed in it and replace it with the .img file. Also, you'll have to edit the install

script in one of the directories and remove the old part of the script and replace with your file names.

Look at shinobi's zip file he just posted; I put it in the OP also.
[Galaxy Tab 2 7" Android Development] shinobisoft:
I cheated. I took the META-INF folder from another recovery zip. Unpacked this one. Place recovery.IMG in the same folder where the META-INF folder resides. Zip them up. BTW, I did all of this on my tablet. I used 7Zipper and ES File Explorer.
[Galaxy Tab 2 7" Android Development] Android-Andi:
thanks! (out of thx for today, can't hit the Button)
[Galaxy Tab 2 7" Android Development] prop7459:
Cody,

I followed your instructions and no more FC's from Gmail and the stock browser. I also love that fact that you guys got the IR blaster to work.

Side note, I managed to find an apk for Samsung Watch on version 5 and also installed the Peel app since it was mentioned Watch on wont work without it. I was able to program my cable box and TV but the app crashes to home screen for some reason. If you can get the Watch on to work properly that would be awesome (Donation?). The Universal IR app and the basic Peel app does not come close to the Watch on app, GS4 users can attest to that. Keep up the good work Cody!!!!
[Galaxy Tab 2 7" Android Development] CodyF86:
Thanks, if that app is crashing really all you can do is submit a bug report to the app maker, the only thing you might try and this is just a random

thought, is the settings for dithering under settings / performance. Try it with dithering off, then dithering off with 16-bit. To make sure the

program isn't crashing because of some dumb graphical error, but still submit a bug report to them.
[Galaxy Tab 2 7" Android Development] shinobisoft:
http://xdaforums.com/member.php?u=5337314

Just to prevent the inevitable, in the OP, you may want to put the CWM version next to the link for the flashable recovery I posted. ;)
[Galaxy Tab 2 7" Android Development] F3AR420:
OK so I've done the external card bit on the newest 8/16 rom. Crated the file and pout it where it needed to be. Put the command into the file then ran the command into the terminal and rebooted. How can I verify that it did in fact work?? I know I sound noobish lol
[Galaxy Tab 2 7" Android Development] CodyF86:
You will have a folder on your external sd card called Android with app data in it, keep in mind the APKs will still be on the internal sd,

but all the app data goes on the external one. For example GTA3 is like 1.2Gb, but the APK file is only a few megabytes, so the apk

file will still be on your internal sd card, but the 1Gb data file will be on your external card. Like I said you should really only do it, if you

are going to be using multiple large games.

Once its working you can delete everything inside the android folder on your internal card. It might not

let you delete the actual android folder, but the data inside you can.

Edit: Actually you can just copy the entire android file over into your external card once you make sure

its working, that way you have your app data from before also.
[Galaxy Tab 2 7" Android Development] F3AR420:
Well while I am going to use it for games, I also have a large collection of kindle books and of course music and videos and my emulated SNES games so it will certainly be put to good use.

Edit: yeah there's no android folder in my external lol. Should I install an app and see if the data is stored there??
[Galaxy Tab 2 7" Android Development] CodyF86:
Are you on stock kernel or blackhawk?

First check you made a file in /data/local/ called userinit.d, so /data/local/userinit.d

In the file paste this at the top line and save:

export SECONDARY_STORAGE /storage/sdcard1

Now open up your terminal and enter: setprop persist.sys.env.use_sec_storage 1

Reboot.

If all of this is correct and your on the stock kernel let me know, according to the config files

the stock kernel has userinit.d support, but if you are on the stock kernel and everything is correct.

then something is wonky with the userinit, install blackhawk next and make sure everything is still correct,

infact re do it, or at least make sure the userinit.d file is still there after you flash his kernel and re enter

setprop persist.sys.env.use_sec_storage 1

It will work for sure with BlackHawk NEXT, but like I said the stock kernel should have

userinit support, but let me know.

Also if you open Apollo it puts data in there for sure.

Make sure the userinit.d file has read permissions also to make sure

it can be read.
[Galaxy Tab 2 7" Android Development] F3AR420:
Well lemme try the command in the terminal again. I'm using root explorer and I know how to modify the permissions but not what it need to be set to to give it proper read permissions.
[Galaxy Tab 2 7" Android Development] CodyF86:
Which kernel are you using? just long press, click permissions and make sure all 3 read ones are selected.
[Galaxy Tab 2 7" Android Development] F3AR420:
Oh right sorry about that. I am using stock kernel. Let me give it a go.
[Galaxy Tab 2 7" Android Development] CodyF86:
IF it doesn't work, then for some reason the stock kernel doesn't have userinit.d support, even though

it's suppose to and says it does, haha

Install blackhawk-next and in tomorrows build, I can code the export into the stock init.rc, if it won't work

on stock kernel.

Remember you can open apollo and it definitely will put its data there if it's working.
[Galaxy Tab 2 7" Android Development] shinobisoft:
I can confirm that this DOES work with the blackhawk NEXT kernel. Android folder was created along with a data subfolder. Gallery3D was the first to write data here, then Firefox and Clean Master. Probably more during the time it took to write this post. :p
[Galaxy Tab 2 7" Android Development] CodyF86:
IF he confirms it's not working on stock kernel i'll just add the export to the init.rc before I build, so let me know! :)

Weird tho, build config files even have a few lines specifically for userinit.d, with a comment

saying include userinit.d support lol.
[Galaxy Tab 2 7" Android Development] CodyF86:
IF you see this message while still on stock kernel, do me a favor and open a terminal and enter this:

setprop cm.userinit.active 1

reboot, make sure everything is still happy and check for me.

Also, and it might not matter, but make sure you issue all the setprop commands as root.
[Galaxy Tab 2 7" Android Development] shinobisoft:
I have a script in the init.d folder named 90userinit and it issues the setprop command above.
[Galaxy Tab 2 7" Android Development] CodyF86:
Yeah, that's where I got that command from. That is from the stock kernel also that 90userinit file, seems like Ketut, might have issued that command somehow to enable userinit.d support by default and the stock kernel

has userinit.d support but you might have to enable it with that command first.

blackhawk is based off espresso10 and espresso10 is the stock kernel.
[Galaxy Tab 2 7" Android Development] F3AR420:
So still no go. Going to install the next kernel now bbs
[Galaxy Tab 2 7" Android Development] CodyF86:
Here is 20130817 for p3110 / p3113 w/IR: http://d-h.st/L39

TabletUI Patch: http://d-h.st/mcR

I had to reboot once after my initial boot before IR wanted to work. It's never done that before, but

it's still working, :) IF you want to use external for app storage, please install blackhawk-next kernel,

I will fix it on tomorrows build, if I find out userinit isn't working on stock kernel, if you want to switch back

at that point.

F3AR did you try issuing that other setprop command I told you to try real fast?

setprop cm.userinit.active 1

I also compiled this in:

Re-add link to DeviceParts.

http://review.cyanogenmod.org/#/c/47886/
[Galaxy Tab 2 7" Android Development] F3AR420:
Ahhh crap no I didn't see it sorry. Just flashed the next kernel though n try..
[Galaxy Tab 2 7" Android Development] CodyF86:
On tomorrows build try to do that on the stock kernel if you don't mind so I can see if it will

work after that or if I need to add something to the stock init.rc. :)
[Galaxy Tab 2 7" Android Development] F3AR420:
Will try again when I download it. When in use terminal should it be asking for root permissions??
[Galaxy Tab 2 7" Android Development] shinobisoft:
Yes
[Galaxy Tab 2 7" Android Development] F3AR420:
Yeah it isn't asking for it which now that I've actually gotten sleep, I noticed.
[Galaxy Tab 2 7" Android Development] shinobisoft:
The first thing after opening terminal is to type "su". You will then get prompted for SuperUser access if not prompted before. Then enter what Cody mentioned in the terminal window. To back out of the su prompt simply type "exit". From there close terminal or type "exit" once more.

EDIT:

Misunderstood your question. To get prompted for SuperUser access you must type "su" in the terminal window first.
[Galaxy Tab 2 7" Android Development] F3AR420:
So it turns out my issue was terminal not having su permissions which I have sorted and as such everything has worked as it should on stock kernel.
[Galaxy Tab 2 7" Android Development] Dabhaidh:
Cyanogen 10.2 w/IR for the gt-p5113

Could you Please do CM 10.2 updates for the GT-P5113 with IR. I am using the unofficial CM 10.2 for the P5110 rom.

THANK YOU:good:
[Galaxy Tab 2 7" Android Development] travisjshepherd:
Have scripts been re-enabled in 4.3? I run one that uses my external SD for internal memory, and haven't left 4.1 because it was disabled in 4.2.
[Galaxy Tab 2 7" Android Development] Dexxmor:
That's true, credits should be added to the OP

Gesendet von meinem GT-P3110 mit Tapatalk 4
[Galaxy Tab 2 7" Android Development] k2828:
Titanium Backup wont restore anything!!!!!!!!!!!

It just hanging at the first app it trying to restore.....
[Galaxy Tab 2 7" Android Development] jjpita:
Helium is the best making backup for me.
[Galaxy Tab 2 7" Android Development] codeworkx:
please make it clear that these are unofficial builds not coming from the cyanogenmod team.

thanks.
[Galaxy Tab 2 7" Android Development] CodyF86:
Sure I'll add unofficial to the OP. I don't know why people keep saying I'm not giving credit to Codeworkx. This is cm-10.2 built from source I'm just compiling it and posting it I haven't changed the name of it its still cm-10.2 by Codeworkx and the devs. BTW codeworkx and the rest of the devs you guys rock and thank you.

Uploading p3100 0804 right now.
[Galaxy Tab 2 7" Android Development] CodyF86:
p3100 20130804 Unofficial posted. OP updated.

http://d-h.st/ySE
[Galaxy Tab 2 7" Android Development] sergio_f:
Im getting FC on keyboard, its my first install
[Galaxy Tab 2 7" Android Development] CodyF86:
If this is your first 4.3 install you need to flash the 4.3 rom then flash Gapps 4.3.
[Galaxy Tab 2 7" Android Development] Dexxmor:
Freeze it and use another keyboard, i think you have flashed the wrong gapps.
[Galaxy Tab 2 7" Android Development] sergio_f:
I have done that, maybe its because of dualboot or kernel
[Galaxy Tab 2 7" Android Development] rod555:
big job! Thx!

Change log?
[Galaxy Tab 2 7" Android Development] CodyF86:
sergio im running the p3110 version with next kernel 1.7. Try wiping your cache and dalvik cache then install 4.3 then gapps 4.3. If not disable the keyboard and see if a different one will work. Sometimes the build will break from time to time depending on what was commited to the repo but its been working fine for me so far.

Rod - This is just compiled from the source repo everynight, so whatever was commited from after midnight one night to the next. I don't think there really is a change log. Like I said I just sync with the repo everynight then compile it on my machine.
[Galaxy Tab 2 7" Android Development] jakelights:
Very fast indeed! thank you sir
[Galaxy Tab 2 7" Android Development] matthewtech770:
:laugh:Im going to try your CM10-2 on my P3100 when after in install clockwork back to tab on stock sam 4.2.2 now i think it has the new bootloader.:D
[Galaxy Tab 2 7" Android Development] rod555:
run smooth last version on p3100, patch tabletUI too :)
[Galaxy Tab 2 7" Android Development] matthewtech770:
:laugh:Thanks Sir im going to try the tablet UI also on my P3100
[Galaxy Tab 2 7" Android Development] CodyF86:
Awesome! I've been very impressed with 4.3 so far. I'll have to try tabletUI I've been meaning to.
[Galaxy Tab 2 7" Android Development] matthewtech770:
:laugh:Hay CodyF86 how do CM10-2 is running on the new Samsung bootloader from stock 4.2.2 im installing clockwork now as we speak :confused:
[Galaxy Tab 2 7" Android Development] CodyF86:
Honestly I'm not sure. I got my tab and it was running 4.1.2 before I installed cm recovery and started using CM, so I'm still using that bootloader. Are there any advantages with the new stock bootloader to flash back to stock, update then reflash?

Don't forget to flash gapps 4.3 as soon as you flash cm 10.2!
[Galaxy Tab 2 7" Android Development] CodyF86:
Jiangyi has been posting builds with IR about once a week, not trying to step on his shoes. :) If there isn't an updated one with IR in a few days or 4 I can build an updated one for you, but it's not going to be a constant thing. :)

F3AR, glad it's working on the stock kernel no less! :)
[Galaxy Tab 2 7" Android Development] F3AR420:
Yeah glad I could help trouble shoot it. Thanks for the additional help. Might be beneficial to post all this in the op or somewhere including the need to give terminal su in order for the commands to work properly.
[Galaxy Tab 2 7" Android Development] CodyF86:
Aye, ill do it right now, thanks :)
[Galaxy Tab 2 7" Android Development] F3AR420:
Cheers bud ;)
[Galaxy Tab 2 7" Android Development] CodyF86:
Hey [MENTION=4289544]F3AR420[/MENTION], remember to copy your Android folder from your internal SD card and merge it with your

external one, if you already have large games installed, if not then just remember to delete the internal one,

so you're not losing space from the data that was stored before you switched. :)
[Galaxy Tab 2 7" Android Development] F3AR420:
Yeah was gonna do that once I got home. Got dragged out shopping with my girl lol
[Galaxy Tab 2 7" Android Development] Caldair:
Huge thanks [MENTION=5337314]CodyF86[/MENTION]! :D:highfive:

I'm just putting together a clean install of your build with the SD as secondary storage and it is working beautifully!

I am migrating to your builds from Slim as my primary mostly because of the extra functionality that you have added to CM10.2. Let's face it the ~4Gb's that are left for data aren't enough for much at all, and I was using foldermount to link data/media to my extSD before but this solution is so much more elegant! And it is more than just the /android/ app data that is moved to the external! Its ALL the supplementary storage, including Downloads, DCIM, etc!

I extracted and modified your build.prop beforehand with the line persist.sys.env.use_sec_storage=1 and created the userinit.d then put them both where they belong using Aroma file manager immediately after flashing your ROM. As I am typing this Google is restoring all my apps with their large data parts getting put right on the external SD! Where they belong!:D

I am a little excited by this, in case you couldn't tell!! :laugh:

Thanks again Cody! You rock! Keep up the good work... Now if googles account restore would just hurry up so I can get back on tabletUI!
[Galaxy Tab 2 7" Android Development] Android-Andi:
Hey [MENTION=5337314]CodyF86[/MENTION] !

i know it´s a little OT but you are posting cwm here too :silly:

I build a converter script for the P3110 to make a flashable cwm.zip

1. Download and extract where you want

2. Copy your recovery.img in that folder

3. change some lines in the "updater-script" if you want

4. Run "P3110-flashable-cwm-converter.bat"

5. You´ll get an "GT-P3110_ClockworkMod-Recovery_6.0.X.X-UNOFFICIAL-DATE.zip"

Now i´m working for a P3100 script ;)

Can the updater-script be used for both? On both devices same path (mmcblk0p6) as i know....(?)

What should i use in updater-script:

package_extract_file("recovery.img", "/dev/block/mmcblk0p6");

or

assert(package_extract_file("recovery.img", "/tmp/recovery.img"),
write_raw_image("/tmp/recovery.img", "/dev/block/mmcblk0p6"),
delete("/tmp/recovery.img"));
[Galaxy Tab 2 7" Android Development] shinobisoft:
EDIT:

The only difference should be in the recoveries themselves. Second method is the one to use. Sorry.

---------- Post added at 07:14 PM ---------- Previous post was at 07:06 PM ----------

That's funny. I was gonna write a Windows app to do that too :p