yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 2 General] thatguruguy:
New Build for P3110 and P3113

I've posted a new build of the device-specific part here: http://ubuntuone.com/4kOBxBeNTvwTRc49Qcor7n

ketut and Menelkir, I've taken the liberty of including your names on the build, since your work made this one possible. I hope that's OK.

To install Ubuntu Touch on your Samsung Galaxy Tab 2 7.0, P3110 or P3113, follow these steps:

1. Download the device-specific file from the location given above.

2. Download the latest Ubuntu Touch nightly from here: http://cdimage.ubuntu.com/ubuntu-touch-preview/daily-preinstalled/current/. You need the file entitled "quantal-preinstalled-phablet-armhf.zip".

3. Place both files on an sdcard, and put that in your tablet.

4. Reboot your tablet into ClockworkMod Recovery.

5. MAKE A BACK UP

6. Do a data wipe/factory recovery

7. Wipe the dalvik cache

8. Format /system

9. Install the quantal-preinstalled-phablet-amhf.zip from external sdcard

10 install the device-specific .zip I listed here from the external sdcard

11. reboot into Ubuntu Touch. Enjoy.

I MAKE NO GUARANTIES THIS WILL NOT BORK YOUR SYSTEM. YOU DO THIS AT YOUR OWN RISK.
[Galaxy Tab 2 General] thatguruguy:
As promised, here is the diff file which shows the changes made to get the x and y axes working. The solution I used is not the most elegant, and will need to be changed when and if Ubuntu Touch starts accurately allowing screen rotation.

View attachment mms136.patch
[Galaxy Tab 2 General] fuzzylcv:
Did you apply the pixel density fix?

As from title @thegurugy did you apply the pixel density fix as from this post this post with GRID_UNIT_PX=8? I ask because from my screen it seems not the case.. no problem though just for info.
[Galaxy Tab 2 General] thatguruguy:
It seems to work fine here; I just downloaded both the device-specific part and the most recent daily build to check.

My advice would be to make sure you are using the most recent daily build of Ubuntu Touch, which you can get here. As I noted here, there was a recent change to the way the Ubuntu part pulls in the device resolution. By "recent" I mean last Friday, March 22. The build I posted incorporates that change, and doesn't work with any build of Ubuntu Touch posted before March 22.
[Galaxy Tab 2 General] robimarko:
When i flash it wont boot.

Just gets to Galaxy Tab 2 7.0 logo and then shuts down
[Galaxy Tab 2 General] shinobisoft:
There is no boot animation if that's what you were expecting. The screen will go dark for about a minute, maybe less. I haven't tried any of the latest builds myself so I can't confirm the error.
[Galaxy Tab 2 General] robimarko:
But the screen is totaly dark,absolutely no backlight or what.I think that it shuts down,but i can be this that you are telling
[Galaxy Tab 2 General] shinobisoft:
I'm assuming that you followed the installation instructions to the letter? There are two flashable parts that must be installed for this to work. There is the device specific part, which is a port of CM10.1, and then there is the Ubuntu specific part. Also, all wipes must be made. I don't know if order matters or not but the last time I tested this I flashed the device part first then the Ubuntu part.
[Galaxy Tab 2 General] robimarko:
If followed all instructions and done all wipes,but i flashed ubuntu first,and then device part
[Galaxy Tab 2 General] thatguruguy:
That's strange. Did you follow the steps exactly from here, including making sure you have the most current phablet build?

Are you able to adb into your tablet?
[Galaxy Tab 2 General] robimarko:
Yes i have followed them to the letter but i have flashed ubuntu from internal sd not from external

And yes i have downloaded latest phablet build today.

I dont know can i adb because i flashed CM 10.1 so i can copy some files

---------- Post added at 04:32 PM ---------- Previous post was at 04:15 PM ----------

Tried to flash from external but no luck,waited for over 2 minutes but the screen is just black.

When it boots it just gets to gtab 2 logo and then screen makes like a flash and the it just shuts down
[Galaxy Tab 2 General] thatguruguy:
Have you tried to adb into the tablet again? If you can adb into the tablet, what happens when you try the following:

$ adb root
restarting adbd as root
$ adb shell
root@android:/ # ubuntu_chroot shell
[Galaxy Tab 2 General] robimarko:
Already gone back to CM 10.1
[Galaxy Tab 2 General] thatguruguy:
It sounds like you had a broken chroot, which is part of the phablet build. When you have some time to kill, you may want to re-download the phablet daily build and try again.
[Galaxy Tab 2 General] ebthepcguy:
I can't load the device specific part of the file. It just reads the build.prop back when installing it in CWM recovery. Then throws back an error. Not sure of at the moment of the error, I'm in school. I'll post the error later.

Any suggestions?
[Galaxy Tab 2 General] thatguruguy:
It would be helpful to post which device you have (p3113 or p3110) as well as what error code is being generated.

Also, you may want to make sure that you have a good download of the device-specific .zip file.

Here's the MD5 checksum: 8c4266e73c7321fe9b0fff1f5f13aadf
[Galaxy Tab 2 General] robimarko:
Will try in few days
[Galaxy Tab 2 General] ebthepcguy:
I have the GT-P3113. I don't have the error off the top of my head right now and I'm not about ready to overwrite CM to recreate it either. Though if COMPLETELY necessary, I will probably have no other choice. I have also validated the checksum of the file.
[Galaxy Tab 2 General] thatguruguy:
While I was working on this build, I overwrote Cm every day. That's why I suggested backing everything up; once you're done testing, it's fairly trivial to wipe the system again and restore from a backup.

You have all kinds of choices. For instance, you are free to go here and follow the steps to build your own device-specific part, and then figure out all the extra steps you need to follow in order to get it actually working. Or you can do something else other than test the current build for Ubuntu Touch for the p3110/p3113.

This thread was marked DEV ONLY for a reason. If you want to help test, help test. Reporting error messages is helpful when testing. Asking for suggestions and then rejecting the ones you're given isn't helpful. I may not be able to help even if I know what error messages you're getting, but I certainly can't help without knowing.
[Galaxy Tab 2 General] thatguruguy:
Even Newer Build for P3110/P3113

I have posted a new build of the device-specific part for the P3110 and P3113 here: http://ubuntuone.com/1Lzylf89FkHF16xrRFYQP2

I've removed all of the code that ketut.kumajaya had written earlier to deal with the touchscreen issue and significantly simplified the solution. On my tablet (p3113), at least, it runs fairly well. However, YMMV. This may or may not fix the installation problems others have had with this file.

For convenience of those who don't want to back-track for installation instructions, I will repeat them here:

1. Download the device-specific file from the location given above.

2. Download the latest Ubuntu Touch nightly from here: http://cdimage.ubuntu.com/ubuntu-touch-preview/daily-preinstalled/current/. You need the file entitled "quantal-preinstalled-phablet-armhf.zip".

3. Place both files on an sdcard, and put that in your tablet.

4. Reboot your tablet into ClockworkMod Recovery.

5. MAKE A BACK UP

6. Do a data wipe/factory recovery

7. Wipe the dalvik cache

8. Format /system

9. Install the quantal-preinstalled-phablet-amhf.zip from external sdcard

10 install the device-specific .zip I listed here from the external sdcard

11. reboot into Ubuntu Touch. Enjoy.

I MAKE NO GUARANTIES OF ANY KIND, INCLUDING BUT NOT LIMITED TO THAT THIS WILL NOT: 1) HARD-BRICK YOUR SYSTEM, 2) DESTROY YOUR MARRIAGE AND/OR 3) KILL YOUR CAT.* YOU DO THIS AT YOUR OWN RISK.

_____________________________

* No animals were harmed during the creation of this file.
[Galaxy Tab 2 General] ebthepcguy:
Thank you. I will try this and see if it works. I'll post a reply later today

Cheers!
[Galaxy Tab 2 General] ketut.kumajaya:
@thatguruguy

I can confirm this latest Ubuntu Touch still need my landscape patch. My patch still valid, please check my github commit, cm-10.1-blackhawk branch. My config file cyanogenmod_p3100_ubuntu_defconfig, mind to share yours config file?

My installation steps:

1. From stock ROM, boot into recovery, factory data reset, format /system

2. Flash PAC ROM and then flash gapps

3. Boot PAC ROM, finishing first boot wizard, sync my contact, etc

4. Boot into recovery, flash my new blackhawk kernel

5. Boot PAC ROM, playing with my new kernel, browsing, check my email, etc

6. Boot into recovery, flash Ubuntu Touch rootfs and then your device specific part

7. Boot Ubuntu Touch, faster than the old version and so smooth

8. Boot into recovery, flash my Ubuntu Touch kernel compiled without *DISABLE_PIVOT

9. Boot Ubuntu Touch, the touchscreen not work, wrong coordinate

10. Recompile my kernel with *DISABLE_PIVOT, flash directly over adb shell dd, reboot

11. Ubuntu Touch boot, correct touchscreen coordinate

12. Reboot into recovery, flash PAC ROM and my blackhawk kernel

13. Back to PAC ROM without loosing any data, leave /data/ubuntu (~0.89GB). Maybe I will back to Ubuntu Touch tomorrow :laugh:
[Galaxy Tab 2 General] thatguruguy:
1. Are you running the p3100, or the p3110/p3113?

2. That seems like an awful lot of steps; many more than what I listed. If you are doing things other than what I listed, it's possible that's the reason you get different results.

3. I don't dispute the fact that if you flash your own kernel over what I've provided, you'll get a different result than I do. When I follow the steps I gave with the files I've listed, on my own personal p3113, the touchscreen works correctly. If you follow different steps with different files, I'm not surprised that it works differently.

If you want to post a device-specific build for people to test, please do so. The reason I've started posting my builds is that the last one posted by anyone else, which included your changes, stopped working with Ubuntu Tocuh back on March 7. If you have something better than what I've posted, please feel free to share it with the rest of us.
[Galaxy Tab 2 General] ebthepcguy:
I did exactly as you said. When I reboot, the system powers off. No boot. Samsung Logo >> Power off.
[Galaxy Tab 2 General] thatguruguy:
Interesting. No errors during the installation this time?

Usually, when it powers off, it's a problem with the chroot environment.

Try this:

Install the device-specific part, and then the phablet part. Reboot, and let's see what happens.
[Galaxy Tab 2 General] ebthepcguy:
Ok, I will try that. Please stay online so I can talk with you :).
[Galaxy Tab 2 General] thatguruguy:
Also, do you happen to have the Verizon version of the Tab 2 7.0?
[Galaxy Tab 2 General] ebthepcguy:
I only have the WiFi version of the Samsung Galaxy Tab 2 7.0 GT-P3113.
[Galaxy Tab 2 General] thatguruguy:
Does that mean you didn't get it from Verizon?
[Galaxy Tab 2 General] ebthepcguy:
Correct. I did NOT purchase it from Verizon.

---------- Post added at 05:14 PM ---------- Previous post was at 05:09 PM ----------

Tried flashing in the other order.. No difference, still refuses to boot.
[Galaxy Tab 2 General] thatguruguy:
Can you adb into the tablet?
[Galaxy Tab 2 General] ebthepcguy:
I can try. Is there anywhere else we can chat? I new so they're forcing me to do the Captcha and 5 min wait.

---------- Post added at 05:28 PM ---------- Previous post was at 05:18 PM ----------

How do I adb if the device does not boot?
[Galaxy Tab 2 General] ketut.kumajaya:
1. Use your package on P3100 with a modified updater-script. I confirm your package works on P3100 :good:

2. Because I want to confirm, we can install Ubuntu Touch on CM 10.1 based ROM without loosing anything

3. Your package with included kernel works correctly on my P3100, my kernel with my "landscape" patch works correctly on your package :confused:

My latest commit based on Ubuntu Porting Guide info:

https://github.com/kumajaya/android...mmit/b5dc4c90727bca412851a646dbd461b661fc57fa

I have no chance to build Android from source, slow internet access :( So, big thanks for your work :good:
[Galaxy Tab 2 General] thatguruguy:
Thanks for all the testing. It's unfortunate about the slow internet speed, I'd love to be able to test out your build. Especially since some people are having issues with my build, and I'd like to be able to see if, when we both built off of the same kernel, there was something about my dev machine that was causing problems.

Thanks for you continued help and support.
[Galaxy Tab 2 General] ketut.kumajaya:
Please try my kernel source on github, cm-10.1-blackhawk branch.

I got a problem! Back to PAC ROM and my WiFi stopped working. Problem solved by deleting /data/local/userinit.sh :laugh:
[Galaxy Tab 2 General] Lmmb74:
Files

But there is not a quantal-preinstalled-phablet-amhf but there is a file quantal-preinstalled-phablet-armhf. Isn't it the file?
[Galaxy Tab 2 General] Mavrikmeercat:
Hi, im also a 3113 owner.

Mine boots fine as per thatguruguy's instructions. Im wondering which verion of cwm are you using?

For reference I have installed using codeworx latest version from rom manager and philz touch both with success.
[Galaxy Tab 2 General] shinobisoft:
Yes, that's the one.
[Galaxy Tab 2 General] thatguruguy:
Does the touchscreen work as it should?
[Galaxy Tab 2 General] ebthepcguy:
I'm using CWM Touch (not sure specific version) I don't have my device with me at the moment. Should CWM Touch work, or is that the problem?
[Galaxy Tab 2 General] shinobisoft:
Touch recovery or not doesn't matter.
[Galaxy Tab 2 General] ze0:
Any release for p3100 ??
[Galaxy Tab 2 General] mr pnut:
K im late for the party..... can any one give me a run down hows the development on this thx.....really appreciate it.
[Galaxy Tab 2 General] Duarte777:
Hi,

sory for asking, but there is a version that works/boots on p3110 ?
[Galaxy Tab 2 General] thatguruguy:
You can try the one I provided here.
[Galaxy Tab 2 General] 5h1v4u:
Any progress on for P3100 yet?
[Galaxy Tab 2 General] Duarte777:
Yeah, i tested and it booted, its works good, some bugs but its a good job ;)

Thanks
[Galaxy Tab 2 General] bluecarbon:
+1
[Galaxy Tab 2 General] thatguruguy:
New build for the p3110/p3113

I submitted the screen resolution information for the p3100 and p3110/p3113 to the Ubuntu Touch developers, and they were kind enough to include the appropriate files in the default installation. As such, I've removed those files from the device-specific build, and I've deleted the earlier builds from my cloud. The instructions are now as follows for the p3110 or p3113:

I assume that you already have ClockworkMod installed for the following instructions. If not, install it before proceeding.

1. Download the device-specific file from http://ubuntuone.com/06wZ6ricQcGHZNNyYPcBKN.

2. Download the latest Ubuntu Touch nightly from here: http://cdimage.ubuntu.com/ubuntu-touch-preview/daily-preinstalled/current/. You need the file entitled "quantal-preinstalled-phablet-armhf.zip".

3. Place both files on an sdcard, and put that in your tablet.

4. Reboot your tablet into ClockworkMod Recovery.

5. MAKE A BACK UP

6. Do a data wipe/factory recovery

7. Wipe the dalvik cache

8. Format /system

9. Install the quantal-preinstalled-phablet-armhf.zip from external sdcard

10 install the device-specific .zip I listed in step 1 from the external sdcard

11. reboot into Ubuntu Touch. Enjoy.

Standard disclaimers apply. You do this at your own risk.

---------- Post added at 03:14 AM ---------- Previous post was at 02:56 AM ----------

You might be able to use the installer I've provided, by following the steps here, but instead of renaming espressorf to espressowifi, you'd rename espressowifi to espressorf. Feel free to try it, and if it works, I'll put out a new build that covers both the p3100 and the p3110/p3113.

Since I don't have a p3100, there's no way for me to test it.
[Galaxy Tab 2 General] abhishek0821:
Got it working !

I Followed the procedure for making the changes in the device specific file which u have for my P3100 and finally it worked.

I flashed it just now and the device is in landscape mode only and i have to use screen like it is in potrait (I hope you get what I'm trying to say).

Btw thanks ton for your work and help :):):)
[Galaxy Tab 2 General] korwynkim:
I tried this on my P3113 but it won't boot.
[Galaxy Tab 2 General] 5h1v4u:
It's working

I have changed the assert code from the device specific part as you've mentioned. I've then packed the files and made a zip file. able to boot up my p3100 with Ubuntu.

It's only in the landscape mode though. I'm sure people will do their best to get it working.

Thank you so much to @thatguruguy and @ketut and @menelkir ..

I'll keep checking your posts about any progress.
[Galaxy Tab 2 General] cuss:
I am going to test it on a p3100.

downloading right now, will keep you updated.

ah, do you have any md5 for the first file ?
[Galaxy Tab 2 General] thatguruguy:
72e9901acc86b7b037003277cc8f2b61

For all of those with a P3100:

The kernel for the p3100 and p3110/p3113 are slightly different. There will need to be a build with the changes outlined by ketut.kumajaya here.

Unfortunately, I don't have a p3100, so I can't pull the proprietary parts off the device to ensure that it will build correctly.
[Galaxy Tab 2 General] cuss:
Thanks for the md5.

I went on and installed it.

The installation went fine, and it booted regularly.

As far as I can tell, it works.

Lots of buttons do nothing, but I suppose that's the status as of now. It may help having a video showing all the thing that works so to check if they works on mine too.

Will read about the kernel stuff, but I've restored Android already.

EDIT:

I don't know about "pulling the propietary parts off the device" but if there's some doc to read about it, I may give it a try.
[Galaxy Tab 2 General] abhishek0821:
Did the touchscreen worked fine ?:confused::eek:
[Galaxy Tab 2 General] 5h1v4u:
working

touch is working fine on p3100. but it only works on landscape mode. only few apps r working. apps like fb, twitter, notes opens up on one fourth of the screen to right. one app thats working to a good extent is browser. typing this from ubuntu on p3100

---------- Post added at 09:16 PM ---------- Previous post was at 09:06 PM ----------

i do not know if anyone has observed it yet. i was browsing web on ubuntu touch on p3100 with the browser and i logged into facebook. i was surprised to see the browser asking to download and install fb for ipad. tapping on it resulted nothing though. i ve got curious about it. can someone please explain me how this has happened?
[Galaxy Tab 2 General] samykovac:
How to go back to Android

Hi,

thanks for the build and for the installation instructions. Worked excellent on my P3110. The Ubuntu is very nice, fluid, but obviously unfinished ... It was cool to test it, but how do I get Android back? Could somebody post step by step instructions?

Many thanks, long live Linux ;).

Samy
[Galaxy Tab 2 General] thatguruguy:
1. Wipe data/factory reset.

2. Wipe the dalvick cache.

3. Format /system

4. Restore from the backup you created, assuming you followed my instructions.

Incidentally, I have tested my build for the p3110/p3113 with the new raring daily builds, and it works. Same installation instructions I gave earlier, but download the raring-preinstalled-phablet-armhf.zip, rather than the one for quantal.
[Galaxy Tab 2 General] samykovac:
Well, I am afraid I messed up, my backup was on the internal SD card, so I would have to reflash it with ODIN. Luckily I did not have any special stuff on it, the tablet was very new.

Oh and raring works, but will not detect my WiFi, shows Networks - Emty! so may be quetzal will be more usable for me.
[Galaxy Tab 2 General] samykovac:
So I am back in business, all set. I should have known better to back up to external SD :-o. Anyway, in my opinion Ubuntu Touch is so much better than Android. My cellphone is Nokia N9 with MeeGo, and I really like to concept of swiping and no hardware buttons. Much more fluid and less distracting ...

I will keep an eye on Ubuntu Touch and hopefuly it will be ready for production use soon ;)
[Galaxy Tab 2 General] Pyntux:
Thank for this, I will try soon... :) I'm so excited about this, since I'm moderator of the official Ubuntu community of Serbia... :)
[Galaxy Tab 2 General] Tsjoklat:
Has anyone tested this with a P3110? Nice project.
[Galaxy Tab 2 General] thatguruguy:
Acording to this and this, the [fairly obvious] answer to your question is "yes."

For those who've missed them, here are the instructions for the p3110/p3113:

I assume that you already have ClockworkMod installed for the following instructions. If not, install it before proceeding.

1. Download the device-specific file from http://ubuntuone.com/06wZ6ricQcGHZNNyYPcBKN.

2. Download the latest Ubuntu Touch nightly from here: http://cdimage.ubuntu.com/ubuntu-touch-preview/daily-preinstalled/current/. You need the file entitled "raring-preinstalled-phablet-armhf.zip".

3. Place both files on an sdcard, and put that in your tablet.

4. Reboot your tablet into ClockworkMod Recovery.

5. MAKE A BACK UP ONTO YOUR EXTERNAL SDCARD

6. Do a data wipe/factory recovery

7. Wipe the dalvik cache

8. Format /system

9. Install the raring-preinstalled-phablet-armhf.zip from external sdcard

10 install the device-specific .zip I listed in step 1 from the external sdcard

11. reboot into Ubuntu Touch. Enjoy.

Standard disclaimers apply. You do this at your own risk.

---------- Post added at 05:42 PM ---------- Previous post was at 05:40 PM ----------

I had that problem as well when the raring builds first came out. It seems to have been fixed with the more recent builds.
[Galaxy Tab 2 General] mreddyc:
complete installation steps

Hello,

I want to install ubuntu touch on my p3100.can I get complete installation steps of ubuntu touch and how to recover back to android version....kindly any one guide me and do need full..I waiting for valuable feedback...

Thank you:)
[Galaxy Tab 2 General] shinobisoft:
Just read back within the last few pages you'll find instructions. Or better yet, read the OP ;)
[Galaxy Tab 2 General] canezila:
Thank you to thatguruguy. Kernel works and it is very exciting running ubuntu. Wish I could do a setup so I have my account on this instead of all the other people... but I guess that is what the preview and not ready yet means....
[Galaxy Tab 2 General] 5h1v4u:
You just need to follow thatguruguy posts to do that. Make sure you are on CM10.1 nightly as ubuntu needs cm coding. He made a clear instructions on what code to be changed on the script. I did and I can boot up perfect. I'm in the you can take a backup using the backup feature of rom manager. I'm planning to come up with a clear instructions and files for installing ubuntu on p3100.. For now, make sure you follow thatguruguy's posts on this thread.. All the best.. Say thanks to those that worked hard..
[Galaxy Tab 2 General] abhishek0821:
A complete guide specifically for P3100 would be much appreciated.

Thanks :thumbup:
[Galaxy Tab 2 General] 5h1v4u:
Ubuntu for p3100

Here is the link of the thread that I've created to install the Ubuntu on P3100

http://xdaforums.com/showthread.php?p=40600171#post40600171
[Galaxy Tab 2 General] jazz995756:
Is there a port for the GT-P5113
[Galaxy Tab 2 General] shinobisoft:
See this thread
[Galaxy Tab 2 General] saintextreme97:
About to test on p3113 I hope this works I've been waiting
[Galaxy Tab 2 General] robimarko:
What are latest instructions and build for p3110

Want to give Ubuntu another shot beacuse last time on my p3110 Ubuntu refused to even boot
[Galaxy Tab 2 General] saintextreme97:
Well I can say it works I just used it make sure you downloaded the right files and flashed them in the right order. Also try flashing cyanogenmod first then Ubuntu Touch. Also a new nightly was just posted from Ubuntu make sure you have it
[Galaxy Tab 2 General] robimarko:
On page 28 thatguruguy said to use raring build,but in your qoute it says to use quantal build.

Which one to use?