yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 2 7" Android Development] CodyF86:
Here is 20130821 for p3110 / p3113 w/IR: http://d-h.st/Hai

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

This is my first real code contribution to this. I modified the patch so

instead of it looking for the environmental variable SECONDARY_STORAGE

for /storage/sdcard1 it now looks for our variable ro.vold.switchablepair, which

already exists. ro.vold.switchablepair is now set to /storage/sdcard1.

And as long as ro.vold.switchablepair exists, the setting will show up.

That's the technical part, but basically it just works automagically now,

with no userinit.d script needed. Feel free to delete your userinit.d

in /data/local once you flash.

The only thing I've noticed that I need to adjust, is that when you flash

the rom, you'll need to cycle the setting to off from on, or to off then

back to on and reboot, so it syncs up if this is the first time flashing, but that's

just a small cosmetic thing, I can fix tomorrow.

Also a patch to control the status bar while in fullscreen, which I built

in a day or two ago.

http://review.cyanogenmod.org/#/c/48359/

I'll post p3100 in the morning.
[Galaxy Tab 2 7" Android Development] matthewtech770:
:confused:Hay Cody the new Clockworkmod on the front page what is the difference from the one I got from rommanager also is auto brightness working on CM2 yet :laugh:
[Galaxy Tab 2 7" Android Development] CodyF86:
Read my original post, it tells you. :)
[Galaxy Tab 2 7" Android Development] matthewtech770:
thanks
[Galaxy Tab 2 7" Android Development] BrokeEven:
Does OTG USB work?

Hello,

I just installed the 10.2 ROM on my 3113 and quite happy to see the IR blaster working - thanks for that! :D

I was just wondering if there is something to get my OTG USB cable working since it doesn't seem to be working on this ROM?

Many thanks in advance for taking the time the read this and have a nice day!
[Galaxy Tab 2 7" Android Development] CodyF86:
OTG USB support is kernel dependent. You would need to load the kernel modules for it.

If that's the same module as using an XBOX controller, then you can with blackhawk-next

kernel.

Just uncomment the modules for it in /system/etc/init.d/02modules. Or if it uses different

modules install them and add them to that file.

It could be different though.

If someone else can try it also and make sure it doesn't work with the stock kernel, just to

make sure it isn't something wonky.

I'll see if I can add it to the stock kernel at somepoint also.
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
I'm using the 0819 build and external SD for apps data is working flawlessly thanks :D
[Galaxy Tab 2 7" Android Development] CodyF86:
Upgrade to 0821 I just posted. It works without a userinit.d script.

You can delete /data/local/userinit.d once you flash 0821, just cycle

the setting in Storage and select on or off once you boot.
[Galaxy Tab 2 7" Android Development] CodyF86:
Here is 20130821 for p3100: http://d-h.st/kn5

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

I'm going to build for p3100 once a week, prob every Friday or Saturday.

I just wanted to have a p3100 that was working like the p3110, not needing

a userinit.d scipt...so here it is. :)

Also wanted to add all my builds are compiled with:

gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-9ubuntu1)

Living on the edge,... lol :)
[Galaxy Tab 2 7" Android Development] CodyF86:
Actually it looks like USB OTG is compiled into the stock espresso10 kernel also.

What were you trying to use with OTG?

edit: you also might have to mount the usb device before you can access

it. If you aren't familiar with mount commands you can try this:

https://play.google.com/store/apps/...SwxLDEsImNvbS5za2lkbXJrLnVtc3dhdGNoZXJvdGciXQ..
[Galaxy Tab 2 7" Android Development] CodyF86:
I ran across this patch in the review: http://review.cyanogenmod.org/#/c/48343/

This is what CM is going to be moving to for recovery, VolD for volume control, formatting, etc.

I am going to recompile recovery 6.0.3.7 with this patch instead, of the previous one

I was using to be able to format any type of partition when I get home, it should

make seeing USB also in recovery not so wonky.
[Galaxy Tab 2 7" Android Development] CodyF86:
Here is a new recovery 6.0.3.7 with vold running. USB storage is also working

both exporting to and OTG.

p3110 / p3113: http://d-h.st/iNf

p3100: http://d-h.st/wS2

will update the OP and add p3100 here in a few minutes.

This might also fix any wonkyness with making backups in

recovery also.
[Galaxy Tab 2 7" Android Development] CodyF86:
derp, a new patchset for the vold just got posted, right after I built of course haha.

I'll build recovery again here shortly, so it has the latest patch.
[Galaxy Tab 2 7" Android Development] CodyF86:
K sorry about that, here is the newest patch of vold with recovery:

6.0.3.7

p3110 /p3113: http://d-h.st/Pyf

p3100: http://d-h.st/yJ2

I'll edit this post with p3100 in 10 minutes or so.

Sorry about that but if you just downloaded it, re download and flash it. This

has some memory improvements along with interface changes.
[Galaxy Tab 2 7" Android Development] Android-Andi:
Thx [MENTION=5337314]CodyF86[/MENTION] !!!

Converted to flashable ZIP:

GT-P3110_ClockworkMod-Recovery_6.0.3.7-V3-UNOFFICIAL.zip

GT-P3100_ClockworkMod-Recovery_6.0.3.7-V3-UNOFFICIAL.zip

Use on your own risk ;)

Flashable-CWM-Converter for Windows got Updated.

Changelog: (V1.3): Wrong name of created zip using "P3110-flashable-cwm-converter.bat"
[Galaxy Tab 2 7" Android Development] hkjr:
fyi - everything worked well using twrp - beyond that, everything else is running smoothly
[Galaxy Tab 2 7" Android Development] CodyF86:
Awesome, :)

For some reason different recoveries go about mounting partitions in different ways sometimes,

and that's why some people had issues with it actually copying to the /data partition, so I just coded

it, so it got the value directly from the ro.vold.switchablepair in the build.prop.

That's part of the reason of moving to vold in recovery is that it takes out all the hacks,

or most of them to get recovery to function correctly and be able to mount the partition

tables correctly from the devices fstab, among other things.

Edit: Also, if you guys want to see the most convenient thing sinced sliced

bread, lol, i've been using this: https://play.google.com/store/apps/details?id=org.bbqdroid.bbqscreen

Connect to tablet with adb with usb or wifi and then function the tablet, while

using my actual computer, testing code etc, but it isn't fully functional with

4.3 yet. :(
[Galaxy Tab 2 7" Android Development] hkjr:
before I forget and for those like me that read all the posts, ha...have the xposed framework running well on this also. think there are two mods out there to get it working
[Galaxy Tab 2 7" Android Development] CodyF86:
lol whoops guys,

When trying to flash a zip file in the recovery I posted, it's missing a /

and thus not finding the file...gah lol.

I'll post a comment on the code review patch and see if I can

fix it myself also real fast, sorry.

Going to have to flash back with odin to a previous recovery if

you want to flash stuff for now.

Also this recovery needs to have the flashable file

in the root of the sd card or root of /data/media

edit: rebuilding the previous 6.0.3.7 and well try this

again tomorrow lol, sorry. I'll post here in 20 minutes or

so and just re download 6.0.3.7 from the OP, once I post.
[Galaxy Tab 2 7" Android Development] CodyF86:
Ok guys,

Sorry about that, I posted a comment on the code review, so it

can get patched. Here is the good ole working 6.0.3.7 we all

love. Either later tonight or tomorrow we'll try vold again lol.

p3110 / p3113: http://d-h.st/cUM

p3100: http://d-h.st/gFH

I'll edit with p3100 here shortly. Please reflash these

versions with odin.
[Galaxy Tab 2 7" Android Development] CodyF86:
It turns out there wasn't anything actually wrong with that vold version of 6.0.3.7

It's that only the external SD card atm is written as vold managed in the fstab. You can

check out the fstab in the root directory. And the way the external sdcard is written I

might need to add a / at the end.

So at some point i'm going to try and get the fstab for our devices happy

by adding /data as vold managed in the fstab and adjusting how it is

written, so the directories end in a /, that is why it was running together

the path when trying to flash something on the external SD.

But that is a weekend project, but once / if that patch gets merged,

every device will have to use a v2 fstab and mount things with vold in mind.
[Galaxy Tab 2 7" Android Development] BrokeEven:
Sorry, I'm a bit of noobie here...

So i am using the blackhawk-next kernel (version 1.8.3) and I'm looking to get he Xbox 360 controller to work..

I found the file you're referring to but I'm not quite sure what you mean by "uncomment the modules". If you wouldn't mind clarifying this to me, please?

Thank you
[Galaxy Tab 2 7" Android Development] Skazzy3:
You're confusing me with these millions of builds. :confused:
[Galaxy Tab 2 7" Android Development] CodyF86:
At the bottom of the 02modules file are 3 lines that have

the name and path of a module. They have a # next to them.

Remove the #'s from those 3 and save the file.

The 3 lines will have a comment above them that say something

about being for the xbox controller.

In /system/etc/init.d/02modules I believe.
[Galaxy Tab 2 7" Android Development] hkjr:
bbqscreen - talk about crafty
[Galaxy Tab 2 7" Android Development] CodyF86:
I post the link to the code review page of everything I build in: :)

http://review.cyanogenmod.org/#/c/48343/

That's the link for using vold in recovery. It's what recovery

is going to start using at some point in the near future it seems.

But I put the original 6.0.3.7 recovery back up.

Until I can mess around with the p31xx fstab.

Sorry then that happened Andi, you took the time

to make those zips for nothing, sorry about that. :)
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
I'm running latest build 0821 for P3110/3 and next kernel 1.8.3 but I'm not getting any sound speakers or earphones .. Reboot the tab but that didn't help.. Everything else is running smooth.
[Galaxy Tab 2 7" Android Development] CodyF86:
Hmm,

sound is working fine, I'm using it right now with 0821, not to sound dumb, but

you don't accidentally have the tab muted or something like that do you?

You can try and reflash the rom and kernel, but sound is working for me.
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
:sly: I'm sure is not muted ... I'll try flashing the kernel it happens before usually just working rebooting but this time wasn't working.. :thumbup:
[Galaxy Tab 2 7" Android Development] CodyF86:
Here is 20130822 for p3110 / p3113 w/IR: http://d-h.st/8o6

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

I was able to fix it, so that users who are flashing for the first time,

the checkbox won't be checked in Storage settings. Settings automatically

sets that setting to 0 if it can't find it now. If you are already using external

as sd or arent using it, but have flashed this rom before, the check box

will show correctly as it has been.

Here are a few new things:

Bump the number of TLS slots to 128.

http://review.cyanogenmod.org/#/c/48667/

Focal: Fix all the crashes! (This is just the name of the patch, not saying it does.) :)

http://review.cyanogenmod.org/#/c/48770/
[Galaxy Tab 2 7" Android Development] F3AR420:
On newest built and all is running smoothly except it doesn't recognize my external. When I click on it to mount it says the card is corrupt.
[Galaxy Tab 2 7" Android Development] PYCON:
With latest 2 releases, Texdroider DPI doesn't work :confused::confused::confused:

Increasing DPI, I've the opposite effect... :eek::eek::eek:

Really strange.
[Galaxy Tab 2 7" Android Development] CodyF86:
Try booting with the card already in. I was using my external SD card the entire time,

even to flash from, and actually im using it to store my app data also.
[Galaxy Tab 2 7" Android Development] CodyF86:
hmm not really sure, the CM github gets committed to all the time, and something could have

gotten wonky, I haven't had any issues yet, but mines at 160 atm.
[Galaxy Tab 2 7" Android Development] PYCON:
I've got some problems even with Xposed Framework with 4.3 roms... Uh, I'll try again... :confused:
[Galaxy Tab 2 7" Android Development] CodyF86:
so when you increase your dpi it goes down and when you decrease it, it goes up? lol :)
[Galaxy Tab 2 7" Android Development] CodyF86:
Ok guys,

Sorry about the recovery fiasco yesterday haha.

Here is 6.0.3.7 recovery using Vold and working.

I did some test flashes. Can transverse directories,

etc.

Read this:

http://review.cyanogenmod.org/#/c/48343/

To help understand what vold is, but basically recovery

is moving to using vold so recovery just works and device

maintainers don't have to hack at their fstabs to make it

work for each device.

USB / OTG should be working again with this version.

Along with backups should also.

[MENTION=5153662]Android-Andi[/MENTION] if you make some flashable zips I promise

this one works and flashes, haha. :)

6.0.3.7 - Vold

p3110 / p3113: http://d-h.st/kbP

p3100:http://d-h.st/tky
[Galaxy Tab 2 7" Android Development] Android-Andi:
I was only waiting for you :)

Will be up in ~ 10 Minutes ;)
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
No links ...thanks for flasable zips
[Galaxy Tab 2 7" Android Development] Android-Andi:
Sorry, i had /have to reupload :P

---------- Post added at 07:54 PM ---------- Previous post was at 07:49 PM ----------

Here we go:

Flashable zip´s:

GT-P3100_ClockworkMod-Recovery_6.0.3.7-V4-UNOFFICIAL.zip

MD5: D844976F1A395024297150DC35D18223

GT-P3110_ClockworkMod-Recovery_6.0.3.7-V4-UNOFFICIAL.zip

MD5: 873876E495FE92369CC806D115A23B7C

Use on your own risk ;)
[Galaxy Tab 2 7" Android Development] CodyF86:
Only thing to be aware of, and it will be fixed next patch set

on the code review probably. After you flash a rom and go

back to the main screen and select reboot system.

It might reboot back into recovery once, then if you select

it again it reboots normally. No big deal. :)

but USB/OTG should be reachable as well

as backups working....possibly.

This is Steve Kondiks work, the big man himself,

so just helping test it out.
[Galaxy Tab 2 7" Android Development] F3AR420:
The card is always in lol. Was I supposed to remove it before flashing!!
[Galaxy Tab 2 7" Android Development] CodyF86:
oh no, lol

Thought you were trying to put the card in then mount it.

My external SD is working fine, im using it to store my app data.

Are you using 0822?

Take your sd card out, and put it in the adapter to normal SD

and see if you can see it in a computer. :)
[Galaxy Tab 2 7" Android Development] F3AR420:
Lil upset bow as my card is unreadable on my PC as well. It worked fine before I tried to install the 22 update :confused:
[Galaxy Tab 2 7" Android Development] Android-Andi:
How was it formatted? exFat, Fat, NTFS ?
[Galaxy Tab 2 7" Android Development] F3AR420:
Whatever it needed to be formatted to work on this tablet. I know last week it got reformatted via cwm and before as well as after that reformat it worked absolutely fine until I updated.
[Galaxy Tab 2 7" Android Development] PYCON:
Mmmm I don't know very well but... With Texdroider, at the first start, I can see "original DPI = 160".

Well, I change... Setting 200 or more, 240... I reboot and... et voilà ! Everything is too biggggggg :eek: :eek:

I thought that increasing the DPI, it'll be possible to increase the resolution but it seems the opposite... :confused:
[Galaxy Tab 2 7" Android Development] Android-Andi:
Try gpartet for formatting, you can boot from usb http://gparted.sourceforge.net/liveusb.php
[Galaxy Tab 2 7" Android Development] CodyF86:
Yeah you need to try and reformat your sd card, that or it died.

SD cards are solid state memory and they have a life-span, even

tho im sure you haven't reached the normal life span of an SD card.

Some of them just die really early. When flash memory dies, it usually

dies when or after its been written to, so yes it probably died after flashing

0822, but not because of 0822, just because it wrote to the flash memory

then the sd card decided to die. I'm on 0822 looking at my SD contents

right now, seems you might have gotten unlucky in the SD card lottery. :(

Also,

I'm not completely sure about DPI as I haven't messed with it, but DPI

stands for dots per inch...I think so the higher your DPI the more dots per

inch, haha, but yes it does seem backwards the way you describe it,

try going the other way for the time being.
[Galaxy Tab 2 7" Android Development] F3AR420:
Orrr I coulda checked it for bad sectors in windows and repair it via a command in cmd. This worked for me and I'm now making a backup of the contents before I try to Mount it on here.
[Galaxy Tab 2 7" Android Development] CodyF86:
Glad your bringing it back from the dead! :) lol

Flash memory goes wonky sometimes.
[Galaxy Tab 2 7" Android Development] F3AR420:
Yeah I got it sorted. Thankfully I'm not entirely noobish lol. It mounted fine and all seems well. I was curious about something with the internal card. Can it be formatted since the external is bow being used as the main storage??
[Galaxy Tab 2 7" Android Development] CodyF86:
No,

You can remove all the directories in /data/media which is the same as sdcard0. (although

it won't let you delete the Android directory, just leave it empty.)

If you mean the entire internal sdcard then no. You still have the android system

and apk files on the internal, but your app data, downloads, pictures you take

etc get stored to sdcard1.

So you can do what I did, and delete everything in /storage/sdcard0, which

is the same as /data/media and just leave the android directory there, but

clear it out, it won't let you delete the obb directory inside it either, but you

can empty it.
[Galaxy Tab 2 7" Android Development] F3AR420:
It let me format it in cwm actually seems to have freed up space:eek:
[Galaxy Tab 2 7" Android Development] CodyF86:
Yeah you can format /data/media if you want, I just never did it that way.

I just meant if you try to delete all the files in there without formatting,

it will leave /android and /android/obb, won't let you delete the directory

but they will be empty.

/data/media and /storage/sdcard0 are the same thing, one

is just a symlink.

I just mean don't go formatting the entire internal card. :)

Because /system is on there along with other stuff,

/system is its own partition, but its stored on the internal card.
[Galaxy Tab 2 7" Android Development] anjaykumar:
Any chance for cwm touch:confused:

You can't control the wind, but you can adjust your sails

Sent Form My Galaxy Tab 2 GT-P3100 ,Dual booted using Black Hawk Kernel:)
[Galaxy Tab 2 7" Android Development] CodyF86:
Yeah that shouldn't be an issue except I'm pretty embarrassed to say, I've been

trying to find the command to build recovery touch instead of standard, even

googling it without much luck.

On my buildbox, after I get the environment all the way setup, I can issue:

'breakfast p3110 && mka recoveryimage'

To build normal recovery...if anyone has any insight, I can build

the touch version. lol :)

It might be the same command and a setting in a config file,

I would need to change, let me look into it. :)
[Galaxy Tab 2 7" Android Development] Android-Andi:
http://builder.clockworkmod.com/ ?
[Galaxy Tab 2 7" Android Development] CodyF86:
I wouldn't be able to patch in vold, but if you wanted a touch version that doesn't

use vold you could try it.

USB and nandroids prob won't work tho.

It's probably a config file settings, give me a few minutes to tinker. :)
[Galaxy Tab 2 7" Android Development] CodyF86:
Ah figured it out, woo! lol :)

Let me build them, you guys will have to test them for me,

as I hate only being able to see 3 directories at a time, or

at least that's how touch use to be. Give me 30 minutesish.
[Galaxy Tab 2 7" Android Development] CodyF86:
Hmm.

bootable/recovery/ui.c:133:47: fatal error: ../../vendor/koush/recovery/touch.c: No such file or directory

Seems I need an extra repo for some touch files. Thought Koush had them on

his Github. Let me ask him if I can find them somewhere.

On a side note: the 3 Focal patches I have built in were just merged, taking

the link off the front page, but as always it's still compiled in.
[Galaxy Tab 2 7" Android Development] kenundrem:
Is Focal working outside of camera for you? If I select video or panorama I get FC same thing with the auto awesome selected it will FC after taking a picture... I haven't seen anyone else say anything like this in a while
[Galaxy Tab 2 7" Android Development] CodyF86:
I'll test it here shortly. Focal is kind of a mess right now, it's buggy and crash-prone lol.

Those 3 patches were just merged so they're part of every CM rom starting with 0823,

people have been trying to debug it, with varying success lol.
[Galaxy Tab 2 7" Android Development] CodyF86:
Actually tho,

Wait to pass judgement on Focal until after tonights build lol. I had to

leave one of the 3 focal patches out on the last 2 nights builds because

they conflicted with each other, but would have had to be rebased, before

merging nicely. Since all three were just merged they should be playing

nicely now inside the repo.

So tonights build might fix it.
[Galaxy Tab 2 7" Android Development] kenundrem:
I really like the camera part of it the extra scene modes and different settings really help out the camera on this device I took some cool pictures of fireworks in fireworks mode and did the same with the stock camera app without as much success so the camera part is nice
[Galaxy Tab 2 7" Android Development] beachbum40:
I love the ROM but asphalt 7 keeps force closing, and some of my other games keep force closing. Any ideas:confused:
[Galaxy Tab 2 7" Android Development] CodyF86:
Here is 20130823 for p3110 / p3113 w/IR: http://d-h.st/XMW

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

I did some digging and found out that I was a dum dum and

SECONDARY_STORAGE is actually already defined in

init.espresso.rc in our kernel and blackhawk-next also.

So I was able to optimize the whole thing, so it doesn't

even need to use any build.prop variables, so was able

to stream-line the code a bit.

Nothing new built in tonight, but a lot of things got merged.

All three focal patches are merged in now, but like I said

before, Focal can be wonky, but it's getting better and better.

I'm not sure why your games crash sometimes, to the poster

above. I've been running x-plane and some other 3d stuff

and haven't had any issues.

If it's that bad you might try doing a full wipe and clean

install, if you've been flashing a lot of roms lately. It helped

my tab out a bunch.
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
Help please I dirty flashed build 0822 from build 0819... When I rebooted to recovery to install next kernel my tab didn't reboot and just stayed on the Samsung logo... Went back to recovery and did a clean flash formated and wipe everything. Then I flash build 0822 and it booted but when I went to storage to use ex-storage and reboot it just got to the Samsung logo but did not boot up again.. Wil appreciate any input
[Galaxy Tab 2 7" Android Development] CodyF86:
Download 0823 first as it's the newest one now, Do a clean install, somethings wonky.

I'm running 0823 and its running fine, so like I said something got wonky.

Try to do a factory restore, wipe cache, wipe dalvik, then flash rom then gapps

then kernel.

You should always be able to just flash the rom then kernel and it should boot fine tho,

but like I said try doing a clean install.
[Galaxy Tab 2 7" Android Development] CodyF86:
Also just when you flash your rom flash the next kernel right over it, you don't

need to reboot inbetween.

And I cant remember but if 0818 was still using the

userinit.d script. Delete /data/local/userinit.d

if its there then flash.
[Galaxy Tab 2 7" Android Development] sorullo_xgrx:
Downloading latest build thanks for the help will report back ...