[I815/P6800/P6810] CyanogenMod 9 (08/12/2012) - Galaxy Tab 7.7 Android Development

I've started porting CyanogenMod 9 to the Galaxy Tab 7.7. Do not flash this unless you know how to backup your data and especially unless you know how to get back to stock. If you don't already know how to do this, you might want to familiarize yourself with the process now, while the developers try to stablize CM9. I don't have time to help people unbrick their devices, and will not take responsibility for any user bricking their device, you flash this at your own risk.
If you are a developer interested in helping out with the porting effort, please PM me.
Known Issues
HDMI dongle doesn't work
Some USB keyboards aren't working
I815: CDMA and LTE isn't enabled
I815: GPS doesn't work
I815: Autobrightness is broken
Download
Google apps can be found at http://goo.im/gapps
I815 (August 15, 2012): http://goo.im/devs/ohanar/i815/cyanogenmod/cm-9-20120815-NIGHTLY-i815.zip
P6800 (August 15, 2012): http://goo.im/devs/ohanar/p6800/cyanogenmod/cm-9-20120815-NIGHTLY-p6800.zip
P6810 (August 15, 2012): http://goo.im/devs/ohanar/p6810/cyanogenmod/cm-9-20120815-NIGHTLY-p6810.zip
Old
P6810 (DP1, April 4, 2012): http://goo.gl/ANRQx (md5: 2be30aaa4aadcd3065239e16f0ca5247)
P6800 (DP1, April 5, 2012): http://goo.gl/CrwCQ (md5: f333f6aca81e1fb0f08244358e492813)
Flash
Flash from ClockworkMod Recovery, make sure to wipe data/factory reset. No whining if it eats your homework.
Build Instructions
Setup a standard CyanogenMod 9 build environment (there are plenty of tutorials on the web already on how to do this). Then
Add add the following entries to your local manifest
Code:
<project path="device/samsung/XXX"
name="ohanar/android_device_samsung_XXX"
revision="ics"
remote="github" />
<project path="device/samsung/smdk4210-tab"
name="ohanar/android_device_samsung_smdk4210-tab"
revision="ics"
remote="github" />
<project path="kernel/samsung/smdk4210-tab"
name="ohanar/android_kernel_samsung_smdk4210-tab"
revision="ics"
remote="github" />
where you replace XXX with your device (i815, p6200, p6210, p6800, p6810, or t869).
Make sure that your device is running the newest build of CyanogenMod 9 or stock ICS if your device has it.
Make sure your device is plugged in and has debugging enabled.
Run the extract-files script from your particular device tree.
Run vendor/cm/get-prebuilts
Your sources are now ready, to build run
Code:
$ . build/envsetup.sh # this sets up the build environment
$ lunch cm_XXX-userdebug # this selects your device
$ mka bacon # this builds CM
Changelog
08/08/2012
Hopefully remaining wifi issues fixed (wifi hotfix shouldn't be needed anymore)
Wifi tethering enabled (no clue if it works)
08/03/2012
LPM fixed (can now charge while off)
Camera force closes fixed
7/19/2012
P68x0: Autobrightness fixed
Bluetooth fixed (thanks to lowtraxx for pointing out where the issue was)
I815: LTE Modem's massive power drain fixed
7/15/2012
Wifi! -- for real real, not for play play
P6800: SIM Toolkit Support
Hardware-Accelerated Video (Regression in 7/10/2012)
ASOP Charging mode (still not really working)
7/10/2012
smdk4210-tab kernel
I815 build
vibration (regression in Alpha 2)
3g data on P6800 (regression in Alpha 2)
Camera (both front and back)
Regression: Hardware-accelated video (this also means no previews in the Camera)
Regression: LPM
Alpha 2
smdk4210 kernel (common kernel used in the CM9 ports for the i9100, i777, n7000, p6200, p6210, p6800, and p6810)
USB gadget support
Hardware-accelerated video
Rear facing camera (only stills for now)
Better auto brightness (values still need to be tuned)
LPM (charge while off)
Probably other stuff (been a long time since last update)
Regression: Vibrator no longer works, we now get a beep instead
Alpha 1
Upgrade wifi driver to compat-wireless-3.4-rc3-1
GPS hopefully fixed (thanks to Alan Orth)
Data Usage fixed (thanks to Alan Orth + Galaxy Tab 10.1 devs)
DP3.1
Wifi fix that sometimes works
DP3
Torch App (thanks to Alan Orth)
Fixed reboot download
Wifi partially works
Other random bugs caused by building with gcc 4.6 (now using the recommended 4.4)
DP2.1
3G/GSM fix (thanks to poisike)
DP2
Audio works!
DP1.1
Partial fix for autobrightness (gets brighter, doesn't get darker)
Phone like interface is gone
P6800: added GSM libraries, and basic 3g configuration
Credits
aorth -- set up the device tree for the GT-6200 (Tab Plus 3g), has been a great collaborator
poisike -- provided fix for 3g/gsm
teamhacksung -- set up the galaxys2 device tree, which was the basis for my tree

Nice! Hope more developers will join and sync with 6800
Sent from my GT-P6800 using XDA Premium HD app

locerra said:
Hi,
I've started working on porting CM9 to my P6810, and figured I would post here in case there were any other devs interested in assisting me, or working on a P6800 version.
Currently I have gotten to a lockscreen, but that is about it, most hardware still needs to be properly configured.
The sources:
https://github.com/ohanar/android_device_samsung_p6810
https://github.com/ohanar/android_frameworks_base
Click to expand...
Click to collapse
I'm interested in working on a P6800 version. I sent you a PM.

poisike said:
I'm interested in working on a P6800 version. I sent you a PM.
Click to expand...
Click to collapse
I have started on this, as well. Am beginning with the Note port right now. Gotten about as far as you. Please PM me, and we can hopefully collaborate.
Steve

Uh this sounds great!
Count me in for testing, don't have dev abilities.

sk806 said:
I have started on this, as well.
Click to expand...
Click to collapse
Do you have a git repo somewhere? I wouldn't mind looking through what you've done so far.

hurray!
Count me in for testing, don't have dev abilities.
waiting for first booting CM9

Wow great news! I really cant contribute anything aside from ROM testing on a regular basis as long as it does not increase any flash counters

great
great!! i may help,no rommaking experience but programming skills in java, c and android. pm meif want some help.

locerra said:
Hi,
I've started working on porting CM9 to my P6810, and figured I would post here in case there were any other devs interested in assisting me, or working on a P6800 version.
Currently I have gotten to a lockscreen, but that is about it, most hardware still needs to be properly configured.
The sources:
https://github.com/ohanar/android_device_samsung_p6810
https://github.com/ohanar/android_frameworks_base
Click to expand...
Click to collapse
Oh get it soon brothers, This TouchWiz is killing me.... I hate it....

locerra said:
Do you have a git repo somewhere? I wouldn't mind looking through what you've done so far.
Click to expand...
Click to collapse
I don't. Working a bit more on it, then I'll post and send you a link to the ROM...

sk806 said:
I don't. Working a bit more on it, then I'll post and send you a link to the ROM...
Click to expand...
Click to collapse
Ok, well let me know when you have something. In the meantime, I'm seperating out my repo into two: common stuff and P6810 specific ones. I'm rebuilding to make sure that I didn't break anything, but once that is done it should be easier to share work (assuming that all the things that I put in the common repo are indeed common ).

just having a peek at your github, (I have Gt-P6200) there's a typo in ..android_device_samsung_c210-common / c210_base.mk
AUDIO_PACKAGES is misspelled I believe.
nothing huge.

i've got a builbox and can host the nightlies if you want, we already do it for the nook and touchpad (unofficial) builds.
pm me if you're interested.

Its so nice to see the 6810 getting some love. When I first got it and came to the developers forum I was surprised that all the ROMS said 6800 only. I also will gladly help with testing.

I'm also glad to see the P6810 get some attention, especially when it's CM9/ICS.
Happy to help out with testing when you guys are ready

Ill echo the above also - awesome

chrisrotolo said:
just having a peek at your github, (I have Gt-P6200) there's a typo in ..android_device_samsung_c210-common / c210_base.mk
AUDIO_PACKAGES is misspelled I believe.
nothing huge.
Click to expand...
Click to collapse
I'm curious as to how similar the tab 7+ and 7.7 really are. If they are close enough (which my guess is that they are), then that repo could serve for both (although probably not in the present state). Are you thinking of working on CM9 for your tab?

dude this is awesome! i'll take a peek when i get the time and help out if i can.
keep up the good work!

I always say that xda is the place of wonders. Waiting patiently and deeply appreciate it!

Related

[Q] [WIP] ICS on IncS

I've been trying to port over ICS from DHD but no success(ROM doesn't boot, stuck at HTC splash screen)
Since I'm a noob to ROM porting any help would be appreciated.
I followed a simple guide which told me to replace certain files in the boot.img and system folder along with a couple of files more.
I used the ICS rom of DHD and MIUI ICS rom for IncS.
cooljais said:
I've been trying to port over ICS from DHD but no success(ROM doesn't boot, stuck at HTC splash screen)
Since I'm a noob to ROM porting any help would be appreciated.
I followed a simple guide which told me to replace certain files in the boot.img and system folder along with a couple of files more.
I used the ICS rom of DHD and MIUI ICS rom for IncS.
Click to expand...
Click to collapse
a suggestion for you...try the cm7 rom instead of miui ics build.
thanks for your effort. i will also dig about it but after my last exam. i request everyone who could contribute....its for our phone.
keep trying bro.
If it is simple enough I could give it a try, any moderate to advanced programming I wouldnt have a clue
I have been working on this over the last couple of days and so far my port has touchscreen, audio, RIL, wifi, 2D HW acceleration, notification LED and proxy sensor working (pretty much the same as the DHD port I think). Last I tried the microphone wasn't working for calls but it should be fixed in my new build.
I will post it up in the next couple of days once it's ready to be used. I've been busy with other things so haven't had a chance, plus I don't have access to the developer section yet.
st.matt said:
I have been working on this over the last couple of days and so far my port has touchscreen, audio, RIL, wifi, 2D HW acceleration, notification LED and proxy sensor working (pretty much the same as the DHD port I think). Last I tried the microphone wasn't working for calls but it should be fixed in my new build.
I will post it up in the next couple of days once it's ready to be used. I've been busy with other things so haven't had a chance, plus I don't have access to the developer section yet.
Click to expand...
Click to collapse
good job. if you need any help just let us know. i will try to look into it today night positively.
Anyone got any guides/tutorials kinda stuff for this?
Nopes, no tuts as such... just small guides....
Any links??
Keen to see how much of your port is working so far as well
EDIT: just tried it myself using a guide in other thread. used the DHD beta 3 and vivo latest CM7 nightly and is stuck at htc splashscreen
EDIT2: didnt sign the rom before, lets try that again...
EDIT3: still stuck on splashscreen
I will post my port up later tonight. I had a chance to do a bit of work on it and it's pretty good right now but the market is broken for some reason.
Once I get that working (and hopefully bluetooth as that shouldn't be hard) then I will upload it.
st.matt said:
I will post my port up later tonight. I had a chance to do a bit of work on it and it's pretty good right now but the market is broken for some reason.
Once I get that working (and hopefully bluetooth as that shouldn't be hard) then I will upload it.
Click to expand...
Click to collapse
Sounds good, what ROMs did you use to port it?
st.matt said:
I will post my port up later tonight. I had a chance to do a bit of work on it and it's pretty good right now but the market is broken for some reason.
Once I get that working (and hopefully bluetooth as that shouldn't be hard) then I will upload it.
Click to expand...
Click to collapse
Looks like a nice birthday gift... ;D
Unfortunately I wasn't able to get market working.. but anyway here is the first Alpha.
It is based on a combination of the Desire HD build and using the kernel by TwistedUmbrella. I have a device setup to work with TwistedUmbrella's ICS tree but I don't know if it will 100% build successfully at this stage (takes forever to build on my 5 year old computer..). All credits go to the DHD guys as they have done basically everything, I've just made it work (or at least, most of it) on the vivo.
Working:
- Hardware 2D/3D Hacks
- Touchscreen
- Bluetooth
- Wifi (not tethering)
- RIL
- Data
- Sound
- Sensors
- Rotation
- Status LED
Not Working:
- Hardware video acceleration
- Tethering
- UMS (use adb instead)
- USB tethering
- Camera
- Google account (so Gmail, Market all not working)
The account error seems to be something to do with xt_qtaguid.. here is the log info:
Code:
I/qtaguid ( 3029): Failed write_ctrl(u -1) res=-1 errno=9
I/qtaguid ( 3029): Untagging socket -1 failed errno=-9
I/GLSUser ( 3029): GLS error: NetworkError
Might be a problem with the kernel, but I'm not really sure. Any help would be nice, I've spent about 5 hours on this and gotten nowhere.
Link: http://www.multiupload.com/Z4JKSC1JK2
Please don't post bugs reports just yet. This is the first alpha, it's not really a daily driver and I know that there are bugs. Post fixes instead.
Sounds awesome Matt! what are you using to break down and build the rom??
Will give it a go in the morning and post any other feedback
Nice work you got slot further than I did! I will see if I can contribute anything to your build once I have it installed.
The Desire S version is pretty good, and the hardware is almost identical to the Inc S, maybe that would make for a better base?
Sent from my HTC Incredible S using xda premium
l0st.prophet said:
Nice work you got slot further than I did! I will see if I can contribute anything to your build once I have it installed.
The Desire S version is pretty good, and the hardware is almost identical to the Inc S, maybe that would make for a better base?
Sent from my HTC Incredible S using xda premium
Click to expand...
Click to collapse
That's probably not a bad idea. I will see if I have time tonight to try and see if I can get market working by using some of the desire s stuff.. or maybe someone else could try as well.
For anyone that gives it a go, just keep in mind that the button backlight levels are in framework-res.apk, and will need to be recompiled from source or decompiled and edited to get the levels right.
P1n3apqlExpr3ss said:
Sounds awesome Matt! what are you using to break down and build the rom??
Will give it a go in the morning and post any other feedback
Click to expand...
Click to collapse
Well so I have checked out TwistedUmbrella's ICS tree and 7x30 kernel, and have made a vivo config for both. I've then used the prebuilt DHD ICS rom and taken out the DHD stuff and put in stuff from the vivo Miui.us rom. Then I've just gone through and fixed the boot ramdisk, built the kernel and put it together for the boot image.
In future I will try building from source, but as I said it takes a very long time for me.
st.matt said:
Well so I have checked out TwistedUmbrella's ICS tree and 7x30 kernel, and have made a vivo config for both. I've then used the prebuilt DHD ICS rom and taken out the DHD stuff and put in stuff from the vivo Miui.us rom. Then I've just gone through and fixed the boot ramdisk, built the kernel and put it together for the boot image.
In future I will try building from source, but as I said it takes a very long time for me.
Click to expand...
Click to collapse
This sounds WAY over my head, all I tried was unzipping CM nightly 146 and the DHD build and changing files, rezipping and signing it. No wonder I got stuck at the HTC splashscreen...
Keep up the good work
st.matt said:
Unfortunately I wasn't able to get market working.. but anyway here is the first Alpha.
It is based on a combination of the Desire HD build and using the kernel by TwistedUmbrella. I have a device setup to work with TwistedUmbrella's ICS tree but I don't know if it will 100% build successfully at this stage (takes forever to build on my 5 year old computer..). All credits go to the DHD guys as they have done basically everything, I've just made it work (or at least, most of it) on the vivo.
Working:
- Hardware 2D/3D Hacks
- Touchscreen
- Bluetooth
- Wifi (not tethering)
- RIL
- Data
- Sound
- Sensors
- Rotation
- Status LED
Not Working:
- Hardware video acceleration
- Tethering
- UMS (use adb instead)
- USB tethering
- Camera
- Google account (so Gmail, Market all not working)
The account error seems to be something to do with xt_qtaguid.. here is the log info:
Code:
I/qtaguid ( 3029): Failed write_ctrl(u -1) res=-1 errno=9
I/qtaguid ( 3029): Untagging socket -1 failed errno=-9
I/GLSUser ( 3029): GLS error: NetworkError
Might be a problem with the kernel, but I'm not really sure. Any help would be nice, I've spent about 5 hours on this and gotten nowhere.
Link: http://dl.dropbox.com/u/52030869/vivo_ics.zip
Please don't post bugs reports just yet. This is the first alpha, it's not really a daily driver and I know that there are bugs. Post fixes instead.
Click to expand...
Click to collapse
great job bro! just need the camera and gmail account. rest everything is perfect ! i will try it today and see. thanks for your efforts
Download link not working... Too much traffic :/
Sent from my Incredible S using XDA App
Splux said:
Download link not working... Too much traffic :/
Sent from my Incredible S using XDA App
Click to expand...
Click to collapse
yes its not working. can we get other links please?
Yeah sorry I didn't realise dropbox imposed download limits. Here is another download link: http://www.multiupload.com/Z4JKSC1JK2
I think I may have fixed Google accounts though, so there might be another download in another 30 minutes or so.

[KANG] CM9 Atrix Test Build by wrldsuksgo2mars

I tried the latest build of CM7 done by the Atrix Dev Team and it is awesome. Very reliable, fully functional, etc. I figured I'd give a whirl to compiling the real ICS version to see what that was like.
CM9 build system with the appropriate Atrix Dev Team repos in place actually spit out a working ROM. There are a number of issues aside from the general preview state of CM9. I figured I would share them in case anyone else was as curious as me. Apparently, the internal atrix dev teams are well beyond these issues already, so kudos.
Probably related to CM/atrix specific stuff
- Camera and finger print sensor don't work
- Launcher crashes pretty often
- Some openGL demos don't seem to work right (or at all)
- No mounting the SD as USB storage
Probably related to the specific gapps package I used.
- Maps crashes after 3 seconds (signal 11 - native code crash)
- Maps wants to update, but it can't (sharedId conflict if you actually remove maps)
- Earth won't run (missing the earthmobile library)
- Google Voice Search bombs (signal 4 - illegal instruction - currently suspecting the native packages might have some NEON instructions that the atrix cpu doesnt support)
- Calendar will not sync for google or exchange. App loads, but the sync service is failing
- Lots of null pointer exceptions for the NFC stuff in the log.
Anyway, this is just a build of the code that's out there, nothing special done by me. It might be useful for a dev phone or something but not for use on a real day-to-day device. Obviously it doesn't have the google apps embedded in it.
http://www.multiupload.com/XT9QPPQYF1 thanks xploited for uploading
md5: 670068584eb94bf1d660c0450815ad0d
Personally, I had trouble going back to CM7 afterwards, my clockwordmod backups were screwed up (bad boot.img? cross-linked files on the SD card) and I had a very hard time getting back to the good ole working state. Ultimately, I had to restore the partial backup and then reflash the CM7 image + gapps.
So, if you were curious what building a random repo on the web and installing it on your phone would do, then feel free to try and lose all of your data. There are no updates/support for this, etc. It's just a curiosity... what is the state of this stuff right now?
BTW... I am back on CM7/Atrix now which is AWESOME!!!!
Source Code Links:
https://github.com/CyanogenMod/android
https://github.com/Atrix-Dev-Team/android_device_motorola_olympus
Not sure how the dev team would react to this ..we do not want any bricked phones because of this ..there maybe some experimental dangerous code in there in those sources as of now ..not sure though
Hmm... figured since I spent quite awhile getting a build set up, it might be worth sharing. I am happy to take down if it is inappropriate.
Well I am not the best person to answer that ...but yeah thanks for your work.
Eh, I wouldn't be mad about it, but I think it needs more caution. I would just wait. As you say, it kindof screwed with a lot and wasn't very usable, so why flash it? Maybe ok for someone who wants to look at the code, but I wouldn't flash it.
Awesome news man. Thanks for being a lab rat and giving us an update.
Sent from my MB860 using xda premium
Not so much take it down as change the title of the post.
the current internal atrix-dev-team cm9 is way further ahead of this, we have some different patches. this is missleqading as it makes it sound official and is not.
Could you please change the tittle to [KANG] CM9 Test Build by "your name"
and please link to the sources, as is proper practice for open source projects
thank you
samcripp said:
Not so much take it down as change the title of the post.
the current internal atrix-dev-team cm9 is way further ahead of this, we have some different patches. this is missleqading as it makes it sound official and is not.
Could you please change the tittle to [KANG] CM9 Test Build by "your name"
and please link to the sources, as is proper practice for open source projects
thank you
Click to expand...
Click to collapse
and I guess you guys deserve a Xmas break now ...
It's nice to see that! Thanks for your hard work.
I'm looking forward to the CM9
Thank you for this.
!
Anyways, Just out of curiosity... where can you find the official Atrix Dev team's CM9?
The one been worked on by turl is with him, that is not for public release.
Dont forget to tell him merry xmas!
I always forget what kang means.
Sent from my MB860 using XDA App
wrldsuksgo2mars said:
I tried the latest build of CM7 done by the Atrix Dev Team and it is awesome. Very reliable, fully functional, etc. I figured I'd give a whirl to compiling the real ICS version to see what that was like.
CM9 build system with the appropriate Atrix Dev Team repos in place actually spit out a working ROM. There are a number of issues aside from the general preview state of CM9. I figured I would share them in case anyone else was as curious as me. Apparently, the internal atrix dev teams are well beyond these issues already, so kudos.
Probably related to CM/atrix specific stuff
- Camera and finger print sensor don't work
- Launcher crashes pretty often
- Some openGL demos don't seem to work right (or at all)
- No mounting the SD as USB storage
Probably related to the specific gapps package I used.
- Maps crashes after 3 seconds (signal 11 - native code crash)
- Maps wants to update, but it can't (sharedId conflict if you actually remove maps)
- Earth won't run (missing the earthmobile library)
- Google Voice Search bombs (signal 4 - illegal instruction - currently suspecting the native packages might have some NEON instructions that the atrix cpu doesnt support)
- Calendar will not sync for google or exchange. App loads, but the sync service is failing
- Lots of null pointer exceptions for the NFC stuff in the log.
Anyway, this is just a build of the code that's out there, nothing special done by me. It might be useful for a dev phone or something but not for use on a real day-to-day device. Obviously it doesn't have the google apps embedded in it.
http://goo.gl/39NnA
Personally, I had trouble going back to CM7 afterwards, my clockwordmod backups were screwed up (bad boot.img? cross-linked files on the SD card) and I had a very hard time getting back to the good ole working state. Ultimately, I had to restore the partial backup and then reflash the CM7 image + gapps.
So, if you were curious what building a random repo on the web and installing it on your phone would do, then feel free to try and lose all of your data. There are no updates/support for this, etc. It's just a curiosity... what is the state of this stuff right now?
BTW... I am back on CM7/Atrix now which is AWESOME!!!!
Source Code Links:
https://github.com/CyanogenMod/android
https://github.com/Atrix-Dev-Team/android_device_motorola_olympus
Click to expand...
Click to collapse
Thinks for your works,
Come from Chinese thinks!
i shall say this.. if this is behind where the dev team actually is...things are looking good! and btw.. i believe fruitcaker maker works. installed and is now creating;]
edit: yep. it does.
Thanks man very very good work android congratulations for share work whith comunity
Sent from my MB860 using xda premium
it looks very nice but id needs a bit more work to be a experimental daily driver.
ps: to solve the corrupt backup problem just copy the files to your computer before flashing and copy to your phone before restoring.
good luck!
where can I get google apps for this rom? Tryed gapps for CM7 from CM wiki - fail, setup wizard crashes.
try the one on this link
http://rootzwiki.com/topic/11854-romcm9-encounterics-x-beta-2-with-working-radio-401/
good luck!
---------- Post added at 07:52 AM ---------- Previous post was at 07:47 AM ----------
ilya11g said:
where can I get google apps for this rom? Tryed gapps for CM7 from CM wiki - fail, setup wizard crashes.
Click to expand...
Click to collapse
try the one on this link
http://rootzwiki.com/topic/11854-rom...ing-radio-401/
good luck!
For a preview build it looks pretty nice. Surprisingly stable for what it is. Definitely keeping an eye on this, especially since the code is out there to make DIY kangs with.
samcripp said:
The one been worked on by turl is with him, that is not for public release.
Dont forget to tell him merry xmas!
Click to expand...
Click to collapse
Random SamCripp memory....
"We're rapping them, we're rapping them!!!"
Sorry, guess you had to be there.... aahhh memories... nevermind, sorry for the off topic post.
Thanks though for the effort of getting this ported btw.

[ROM][P6800][OnHold]Ubuntu-touch dev preview(18.03.2013)

I have put this project on hold for now. I flashed latest Austrian ICS build to my device and continue using it as my Kindle reader on my travels. IF somone manages to fix the two issues with kernel, send me a message and I'll continue working with the repository. But for now I'm not thinking nor touching the subject before Easter. Thank you for participating for now
I've started porting Ubuntu-touch dev-preview to the Galaxy Tab 7.7 (3g). If you do not understand it already, you flash this at your own risk. There is now also a Ubuntu-touch specific device page here: https://wiki.ubuntu.com/Touch/Devices/p6800. I'll try to keep this thread and the Ubuntu devices page as close to each other as possible.
Big thanks to Daniel_hk for helping with boot.img Now It can be booted, but the screen is still black
Also, without working wifi and display, the preview is basically unusable... Next steps should be these:
1. Get wifi drivers working.
2. Get display drivers working.
Code:
[email protected]:/# uname -a
Linux localhost 3.0.15-CM-g1dc3074 #2 SMP PREEMPT Wed Mar 13 00:43:37 EET 2013 armv7l armv7l armv7l GNU/Linux
Repositories:
Latest release tagged with: "v0.3", not tested!
https://github.com/dun1982/android_device_samsung_p6800
https://github.com/dun1982/android_kernel_samsung_p6800
Download
cm-10.1-20130312-UNOFFICIAL-p6800.zip
Daily Ubuntu image: http://cdimage.ubuntu.com/ubuntu-touch-preview/daily-preinstalled/current/
Installation
Install CWM 6.0.2.8
Wipe data/factory reset
Wipe cache partition
Flash cm-10.1-20130312-UNOFFICIAL-p6800.zip to device
Flash quantal-preinstalled-phablet-armhf.zip to device
Reboot
Starting to use
Then it gets interesting (Black sreen for now now Run the following commands in your desktop system:
Code:
adb root
adb shell
ubuntu_chroot shell
You should have now root access inside your tabled. Continue with this wiki next
What works
Ubuntu-touch dev-preview is flashable.
It boots!
Known Issues
Kernel is based to the CyanogenMod/android_kernel_samsung_smdk4210, but it is a mess. So forked it, took code here and there (mostly from locerra's JB build).
Kernel is based 3.0.15 and no newer one available (yet).
Most of the drivers in kernel had to be turned off, because build was not succeeding...
bluetooth: Doesn't work
audio: Dock audio doesn't work.
hwcomposer: HDMI dongle doesn't work.
wifi: Doesn't work.
camera: Doesn't work.
.. and lot of kernel level bugs for sure.
Displaydrivers are not working (yet).
Release notes
Version 0.2 (13.03.2013) - Now it boots, see release notes
Version 0.1 (07.03.2013) - Intial release, nothing works
Credits
BIG THANKS to daniel_hk for solving the boot.img problem for me.
Anyone who has worked previously with the device/kernel source.
locerra (for getting CM10.1 to flashable state).
wowww!!! thank you !test now:victory::victory:
Placeholder for future.
Re: [ROM][P6800]Ubuntu-touch dev preview(02.03.2013)
Not 6810 versión?
AUs
el_campi said:
Not 6810 versión?
AUs
Click to expand...
Click to collapse
I cannot test it for anything else. The kernel sources are from CM10.1 that was in use from locerra, so in theory it should work with i815 and with p6810 as well. But I cannot give you any guarantees...
And also before I get this build to even start with my device, I do not think that sharing image would help anyone. But if you are a developer, I would like to talk with you on issues that I might have missed or done wrong. So contact me
Re: [ROM][P6800]Ubuntu-touch dev preview(02.03.2013)
any update?
Sent from my GT-P6800 using xda premium
Not much. The generated image is missing /data/ubuntu completely and that is the reason why the image does not boot. I got also flu and fewer, so I have had not that much time after the weekend to look on the issues on that.
I'm also waiting if I get any answers from Ubuntu touch emailing list regarding the problem and where to look for answers, but my quess is that it has something to do with the devices fstab file...
Good news everyone!
Just got a very good answer the problem I had with the /data/ubuntu-folder missing from the image. There was no image provided for the actual Ubuntu at all by the build-process...
When I get home from work, I'll try to find time to look into the build process if I can include the actual Ubuntu image to the ready made image and then release it after I get my device to boot. But it seems that I got the right nudge forward for this now :highfive:
Hmpf, still not booting. Now the /data/ubuntu logs are unmodified, which would point towards kernel or fstab-issue (ie. /data/ubuntu is never used...).
Re: [ROM][P6800]Ubuntu-touch dev preview(02.03.2013)
Good job :thumbup::thumbup::thumbup::thumbup::thumbup::thumbup:
Sent from my GT-p6800 using xda premium
Doh... still not working... Any ideas anyone?
Ok, new version build from different repositories (thx, danile_hk for tip).
I'll test the new image this evening when I get back to home, and I have my fingers crossed that I can get the device to boot up and even display something useful. After that I can start looking for ubuntu developemnt
New version did not work, but then Daniel_hk gave me working boot.img. So now I need to find out what the heck is wrong with my repository and fix it so that I can get working boot.img from start and also the device configuration has issues. Both repositories are currently out of sync I'm afraid
dun1982 said:
New version did not work, but then Daniel_hk gave me working boot.img. So now I need to find out what the heck is wrong with my repository and fix it so that I can get working boot.img from start and also the device configuration has issues. Both repositories are currently out of sync I'm afraid
Click to expand...
Click to collapse
Also, without working wifi and display, the preview is basically unusable... Next steps should be these:
1. Get wifi drivers working.
2. Get display drivers working.
It seems that I hit the wall (again) with the mentioned big issues.
For now, I keep some sabbatical from Ubuntu Touch things (ie. I flashed ICS Austria to my device) and use it as my Kindle reader again.
If by miracle I get more info regarding how to get the Kernel working with Ubuntu Touch, then by allmeans I continue working with this project. So far it just seems that making a working image, is out of my hands currently.
At least you had a go. Thanks for your efforts, and hope you might have another crack at it later on.
I'm feeling a little bit that way right now too, and put my ICS kernel on the back burner. I think I'm trying to multitask a little too much at times....
Yep, a break is what you need, maybe some clarity will come after you've had a chance to recharge.
Sent from my GT-I9300 using xda premium
It's very nice to see you took up the big responsibility to make this superb device to be usable again! it has great specs, really. KUDOS bro!!
Any update on this development?
ZhenMing said:
Any update on this development?
Click to expand...
Click to collapse
Not much, I have had no interest to spend time with this topic because I have been very busy IRL. After I get my new house renovated fully and get my job tasks done, I wont be spending much time with this project. Feel free to use any sources provided in this thread to further advance the subject.
But this wont go forward that much, if the GT-P6800 wont get official CM10.1 update...
It works?

[ROM][Linaro 4.7][P31xx][JB][4.3] CM 10.2 w/Espresso10++ 3.0.96 + Code Review

Hi all,
I will be building cm-10.2 from source nightly and posting it here. These builds are straight from the CyanogenMod Github repo.
These are Unofficial Builds, built by me, from the nightly sync with the source repo. I am not part of the core CM dev team, but I do contribute to the Code Review: http://review.cyanogenmod.org/#/, I'm just a man with a compiler.
After you flash the rom please open up settings / developer settings and then set root access to ADB and Apps. You can access developer settings by tapping the build number 7 times on the about screen.
Thanks Codeworkx!
---------------------------------------------------
P3110/P3113=====>: http://d-h.st/DTz - 20130919 Posted!
TabletUI Patch===>: http://d-h.st/Z1E
ChangeLog====>: http://changelog.bbqdroid.org/
P3100========>: http://d-h.st/eP4 - 20130919 Posted!
TabletUI Patch=>: http://d-h.st/32y
Espresso10++ Kernel: http://d-h.st/UPc - 3.0.96 - p31xx
- Compiled with Linaro 4.7 toolchain. (13.08)
- Overclock and Variable Voltage control - credit to: @ketut.kumajaya & cmenard.
- Xbox 360 wired / wireless controller + LED support.
https://github.com/codyf86/android_kernel_samsung_espresso10/tree/cm-10.2
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/?h=linux-3.0.y
http://releases.linaro.org/latest/components/android/toolchain/4.7
Gapps 4.3: http://d-h.st/NhB
Explore my Dev-Host: http://d-h.st/users/codyf86
ClockWorkMod Recovery P3110/P3113: http://d-h.st/vZi - 6.0.3.7 - Tar!
ClockWorkMod Recovery P3110/P3113: https://www.file1.info/gmsY2BC - Zip!
ClockWorkMod Recovery P3100:====> http://d-h.st/eKO - 6.0.3.7 - Tar!
ClockWorkMod Recovery P3100:====> https://www.file1.info/PACugfc - Zip!
---------------------------------------------------
IR has been merged into official nightlies!!!
Special thanks @ketut.kumajaya!
https://github.com/kumajaya/android_kernel_samsung_espresso10/tree/cm-10.2
---------------------------------------------------
Shinobisofts' Universal Tar to Flashable Zip Program. (Python)
http://forum.xda-developers.com/showthread.php?t=2419920
Android-Andis' recovery.img to Flashable Zip Script:
http://forum.xda-developers.com/showpost.php?p=44725849&postcount=390.
xNiiCADEMUS' ROM Installation video.
http://youtu.be/uooLuG0Ydr8
---------------------------------------------------
Thanks to Caldair for ApG!
Thanks to Jiangyi for IR insight and general awesomeness!
Thanks to Kenundrem for pulling blobs and other files for me!
---------------------------------------------------
CMAcount:
http://www.cyanogenmod.org/blog/cyanogenmod-account
https://account.cyanogenmod.org/login
I have also compiled in the following from the CyanogenMod Code Review:
If you saw something listed below, that is no longer listed, it has been merged.
SystemUI: Add ADB over WiFi QuickSettings Tile
http://review.cyanogenmod.org/#/c/50211/
http://review.cyanogenmod.org/#/c/50210/4
USB audio support [1/2]&[2/2]
http://review.cyanogenmod.org/#/c/49295/
http://review.cyanogenmod.org/#/c/49296/
usbaudio: Fix output device routing
http://review.cyanogenmod.org/#/c/49292/
Allow showing statusbar on top of fullscreen window.
http://review.cyanogenmod.org/#/c/48352/
Add configuraion for showing statusbar on top of fullscreen window.
http://review.cyanogenmod.org/#/c/48359/
Add the possiblity of using secondary storage for user 0.
http://review.cyanogenmod.org/#/c/47918/
To use the above patch, if you choose to:
Go into Settings / Storage and cycle the check box once.
After you cycle the setting once, choose on or off and reboot.
Recovery: support format external storage to custom fstype using vold.
http://review.cyanogenmod.org/#/c/49899/
Recovery/Vold: Use quick format for NTFS volumes.
http://review.cyanogenmod.org/#/c/49920/
Hit thanks if I helped!
------------------------------------------------------------------------
My Fast and Helpful Socket API for Python 3.2.2+Android:
https://github.com/codyf86/fahsocket-py3-android
You build fast.
But you also build only for one device (or 2 really).
Sent from my LG-P690b using Tapatalk 2
I can build for anything if you ask nice enough. I'd like to stick to samsung devices though.
Luigi asked if I can add the IR blaster changes for the p3113 that had been patched into cm 10.1 on a few unofficial builds. Let me get the 0804 build out of the way; as I will start building it in about 6 hours or so. Then I'll look into adding support for it.
CodyF86 said:
I can build for anything if you ask nice enough. I'd like to stick to samsung devices though.
Click to expand...
Click to collapse
Wow! thanks.
Anyway whats the different from this to codeworks build?
I mean i can build for the supported devices. I'm not trying atm to add support to unsupported devices.
These are from the same source I'm just building them nightly and posting them. The last p3110 build was from 0730, so I built / will build the latest ones everyday.
CodyF86 said:
Luigi asked if I can add the IR blaster changes for the p3113 that had been patched into cm 10.1 on a few unofficial builds. Let me get the 0804 build out of the way; as I will start building it in about 6 hours or so. Then I'll look into adding support for it.
Click to expand...
Click to collapse
can't wait!
Sent from my TouchPad using xda app-developers app
I flashed the 3110/3113 on 3113 works well thank you sir
If I could add a +1 to the IR addition
If you need a tester for a 3113 cm ROM let me know
Sent from my GT-P3110 using xda premium
CodyF86 said:
I can build for anything if you ask nice enough. I'd like to stick to samsung devices though.
Click to expand...
Click to collapse
Thanks..!!
thanks +1
Sent from my GT-P3100 using XDA Premium HD app
Not waiting for a new constructor of cm, but ok, let's see What do you have to offer us ...
Lol I think you may have misunderstood. This isn't a spin off of cm-10.2 or another version of it. This is literally cm-10.2 compiled from the repo sources and I usually sync after midnight then build. The last cm-10.2 build for both p3110 and p3100 was 20130730.
I compiled the latest from the repo and posted it and I'm just going to keep on rebuilding everynight and post it until cm-10.2 starts building automatically at night for all devices with a build server; Like they do with 10.1 atm,
CodyF86 said:
Lol I think you may have misunderstood. This isn't a spin off of cm-10.2 or another version of it. This is literally cm-10.2 compiled from the repo sources and I usually sync after midnight then build. The last cm-10.2 build for both p3110 and p3100 was 20130730.
I compiled the latest from the repo and posted it and I'm just going to keep on rebuilding everynight and post it until cm-10.2 starts building automatically at night for all devices with a build server; Like they do with 10.1 atm,
Click to expand...
Click to collapse
then my confusion be gone
so this is excatcly like what codeworkx create.
glad to have two mainteners for this device:good:
antutu said:
then my confusion be gone
so this is excatcly like what codeworkx create.
glad to have two mainteners for this device:good:
Click to expand...
Click to collapse
He builds more often. Not only that but he will try to implement IR Blaster funtionality for P3113.
P3100 boots up without problems
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
Luigi2012SM64DS said:
You build fast.
Click to expand...
Click to collapse
damn fast!! TabletUI patch run perfect :angel:
http://forum.xda-developers.com/sh....1/CM10.2/SlimBean] Tablet UI - Auto-Patcher
On p3100
Here is 20130804 for p3110. p3100 is building right now. I fell asleep last night or I would have already posted both lol. I'll update the first post also.
P3110: http://d-h.st/TAe
P3100: Building Now!
Ok so p3100 is building now and will be done in an hour or two, but I have to run some errands and won't be back for 3 or 4 hours. I'll post p3100 when I get back, sorry for the delay.
I'm using next kernel 1.7 + CyanogenMod 4.3. Runs great i can't detect any trouble. Just edited build.prop file to fix bootanimation
Sent from my GT-P3100 using xda app-developers app
Why no credit´s to @codeworkx or CM-Team in OP? Nobody really thought codeworkx would work for us on CM10.2 ... but he did!!! And thats why i think credits should be added....!
Thank´s for the daily nightlys.

Android 4.4 Kit Kat Discussion Thread

This thread is for the developers to discuss the bugs and problems of the kitkat development for the p990.
Nice that you created a thread for kitkat! Really thanks
So for the progress on cm 11:
It is really difficult to find the cause of the dark screen, because we can't get an adb connection to working. The devices don't show up with adb devices
Maybe it is disabled at the moment
We can't take all changes from your slimroms repo, because cyanogenmod toke another way in handling backward compatibility. So for now we have a dark screen with cm 11 and no adb
Here are some of the threads from other tegra2 devices which I'm following:
Galaxy R: link
Galaxy Tab 10.1: link
Captivate Glide: link
Xoom: link
P990: link
Additional T2 devices where I didn't see any Kitkat related threads, yet:
Eee Pad TF101: link
Atrix 4G: link
All still suffer from the same problems, we need some proper workarounds (in frameworks/native most likely) to fix the hot reboots before we can move on to fix the smaller problems.
I've posted in some of them in order to help with other problems (like the set_metadata one where I send the fix to @DJNoXD as well), but I have no idea how to fix the hot reboots currently.
Personally I don't see a use in fixing various stuff as long as the device is too unstable thanks to the reboots (that's why you won't find any 4.4 thread from my so far).
I'm just collecting some information in this thread to have everything together.
Therefore some more stuff regarding the device stuck at boot which we faced earlier as well:
tonyp said:
The only way to fix the blobs would be an update by nvidia / the vendors - which isn't happening obviously.
So you need to workaround the limitations of the old EGL in the sources to re-add compatibility (which btw had to be done for Android 4.3 and partly Android 4.2 as well).
The reason that CM11 doesn't boot up for you is that CM hasn't merged the required patches.
The commits do exist on CMs gerrit though:
http://review.cyanogenmod.org/#/q/s.../android_frameworks_native+branch:cm-11.0,n,z
They're new implementations of the CM10.2 patches by arcee.
Note that in some first tests the new ones didn't work for me on my tegra2 phone anymore - somethings seems to be broken in them for the tegra2 architechture.
The OmniROM has (had? I think they partly reverted it here) used forwardports of the old CM10.2 patches - which the SlimROM has merged as well in a similiar manner.
But this only fixes booting, I still do have way to many hot reboots so some more stuff has changed in 4.4 - which I didn't manage to fix or workaround so far.
What we need is someone with that kind of deep hardware knowledge.
All in all: Blindly changing blobs or other libs won't help here at all. Just building against different framework/native trees won't either.
The surfaceflinger and probably some more stuff in frameworks/native needs to get worked on in code.
Currently there doesn't exist a tegra2 device which fully works to my knowledge - and I'm following a couple ones like the Galaxy R, the Xoom, the Transformer TF 101, the Atrix and the Galaxy Tab 10.1.
I'm working on the 2x, but have way too less time at the moment to dig any deeper into the code - while the current ROM boots (using my frameworks/native repo here) and has a working ril, wifi & storage it's nowhere near a daily driver thanks to frequent hot reboots.
Click to expand...
Click to collapse
Edit: Reminder: Do not spam in this forum section!
I will delete all "thanks" posts or similiar non-development related ones without a comment.
When i use the sources for frameworks native from @DJNoXD, i have less then 2 hot reboots a day. I even use it as daily driver with a work around for wifi.
I think if we could find the commits that broke the stability we could search for a work around or fix. I already tried it only for the sufaceflinger but i had no success, because it still worked properly, so it maybe is related to libgui or i think libui?
Took me hours for the surfaceflinger, so it will take even more time for all other in framework native. When i found some time during the week, i will try.
But KitKat is awesome related to RAM, Multitasking and performance.
Gesendet von meinem LG-P990 mit Tapatalk
Evervolv frameworks/native etc were no help getting the tf101 to boot omni. So far we're at Boot Animation
thx to
kishoreinme said:
Having the 3 perfhud .so files in /lib/egl/ causes this. Delete them and it boots
Click to expand...
Click to collapse
from this thread: http://forum.xda-developers.com/showthread.php?t=2517719&page=9
http://forum.xda-developers.com/showthread.php?t=2489841&page=7
Firtecy said:
When i use the sources for frameworks native from @DJNoXD, i have less then 2 hot reboots a day. I even use it as daily driver with a work around for wifi.
Gesendet von meinem LG-P990 mit Tapatalk
Click to expand...
Click to collapse
Is that the frameworks from slimrom or from https://github.com/DJNoXD/frameworks_av1 ?
dlumberg said:
Is that the frameworks from slimrom or from https://github.com/DJNoXD/frameworks_av1 ?
Click to expand...
Click to collapse
These are the repos that I use for slimrom:
https://github.com/p990-slimrom/
Here is the GalaxyR Omni 4.4.2 development link
http://forum.xda-developers.com/showthread.php?t=2576793
Eeeeh, have I been gifted with a special P990?
I've flashed Tonyp's 4.4 build named cm-11-20131213-UNOFFICIAL-p990 and I am pretty much facing no bugs. Only bug I could find on this fine evening was that USB doesn't get mounted, it charges when connected though.
Sound works, camera works, external SD card works, WiFi works, I bet GPS works but testing that will have to wait till the morning. All of this is on a clean CM11 build without doing any modifications at all. I too am still shocked over this and since I couldn't believe it myself, so I figured I'd post a video bringing this to light.
Short YouTube footage of my P990 running KitKat: YouTube
Could someone do a full wipe and see what they come up with by flashing that same build? It seems rather surreal if 4.4 only works this well on just my phone.
Please note, I have not been under the developmental processes of this project. This is simply testing - all credits to the developers!
USB tether will not work under windows because there are no drivers found. And it works fine under linux. How to fix the hardware id (vid,pid)?
Sent from my XT875 using XDA Premium 4 mobile app

Categories

Resources