yashsingh1/xdaforums huggingface dataset:
[Nexus S General] h2o64:
Hello everybody,

when I compiled Ubuntu_Phone I have an error and I don't know how to fix it :

/*****/Ubuntu_Phone/kernel/samsung/crespo/security/commoncap.c: In function 'cap_capable':
/*****/Ubuntu_Phone/kernel/samsung/crespo/security/commoncap.c:91:40: error: 'AID_NET_RAW' undeclared (first use in this function)
/*****/Ubuntu_Phone/kernel/samsung/crespo/security/commoncap.c:91:40: note: each undeclared identifier is reported only once for each function it appears in
/*****/Ubuntu_Phone/kernel/samsung/crespo/security/commoncap.c:93:42: error: 'AID_NET_ADMIN' undeclared (first use in this function)
make[3]: *** [security/commoncap.o] Erreur 1
make[2]: *** [security] Erreur 2
make[1]: *** [sub-make] Erreur 2
make[1]: quittant le répertoire « /******/Ubuntu_Phone/kernel/samsung/crespo »
make: *** [TARGET_KERNEL_BINARIES] Erreur 2

Apparently, the command make config or make menuconfig can help me but I don't know how to use them !

Plaese, can you help me ?

Thanks !
[Nexus S General] dxdevilz:
Help Me! :(

Guys,

I have been following this post fro a while now! I have seen people mention "Saucy" and "Raring", I dont know what they are! I just downloaded the base-final.zip and the Ubuntu.zip containg System.img. Flashed it on my Nexus s with CWM! wiping everything(a clean install). What happens is it is very very slow and that messes the other things up! I really wanna enjoy this Rom! so I am just asking is this slw/lag happening only with me? does it have anything to do with those Raring and Saucy things? :( :( and one more thing? after flashing this theme, how can I erase all the datas that are already included( like the contacts and txts) and use mine?
[Nexus S General] BBuZZ:
Follow the instructions in the op..

About the contacts and stuff, this rom is still a demo. Raring and saucy i believe, they are codenames fore releases, like icecream sandwich or jelly bean on android ( i dont know for sure )

Sent from my Nexus S
[Nexus S General] Matsca09:
Those errors appears because ANDROID_CONFIG_PARANOID_NETWORK is disabled in your kernel (and that's right; with it enabled, you can't access internet with a non-Android OS)

Replace in <path of your kernel>/security/commoncap.c :

if (cap == CAP_NET_RAW && in_egroup_p(AID_NET_RAW))
return 0;
if (cap == CAP_NET_ADMIN && in_egroup_p(AID_NET_ADMIN))
return 0;

With this:

#ifdef CONFIG_ANDROID_PARANOID_NETWORK
if (cap == CAP_NET_RAW && in_egroup_p(AID_NET_RAW))
return 0;
if (cap == CAP_NET_ADMIN && in_egroup_p(AID_NET_ADMIN))
return 0;
#endif

Save the file and recompile the kernel

Yes, Raring and Saucy are the codenames of Ubuntu release, respectively 13.04 and 13.10
[Nexus S General] dxdevilz:
Well thanks! :)

After you asked me to look into the op, I found it says copy the ubuntu folder in the phone storage! I guess am having a problem there, I extracted it in my usb storage(16gb) and thus it took time to reneder everything, everytime I was using an app! Will try that! :)
[Nexus S General] h2o64:
Thank you very much :)

UPDATE :

I have compiled Ubuntu Phone, but when I flash the zip and I want to reboot the recovery say "No os installed are you sure you wish to reboot ?" and when I reboot, there is a blackscreen and it's shutting down :(

I tried to flash boot.img userdata.img and system.img on my phone with fastboot command, but it's the same issue !

Somebody can explain me why ?

Thanks
[Nexus S General] dxdevilz:
Help Me Again! :(

Guys, our phone has 0.98GB free in our phone storage, how do I get a 1GB file in our internal storage? And if its the inbuilt 16GB, then whats with the lags? :/ :/ Someone please help! :(
[Nexus S General] spider623:
you forgot to tell him to install the oracle java 6 jdk

---------- Post added at 01:48 PM ---------- Previous post was at 01:46 PM ----------

it's a hack in the 1gb rom we use fuse and the bootloader load the os from the storage and the lag is from there because it decompress the os every time and also we have a 3 year old phone with ****ed up micro flash storage
[Nexus S General] h2o64:
I know for java 6 jdk don't worry but i don't know why m'y compile doesn't work
[Nexus S General] rakeshbro:
Hello just now i have flashed it on my nexus s, but the touch is not working only showing a status bar a clock and rounded Circle with 14 tweets received? How to make touch work???? Thx

Edit :

Ops Ok i see how it works swipe right swipe left.Ok Thx.

Edit :

What the no sound,Just for show off.

Flashing jellybean again.

Thx alot for this rom.:)
[Nexus S General] spider623:
Any news about the Rom?
[Nexus S General] Matsca09:
I'm still working on it on spare times.

With the new release (13.10), the Ubuntu touch team has introduced some big changes to the OS; first of them, Ubuntu is using LXC to isolate the base system (android-based) into a sort-of container.

I've adapted more of the configuration, but the system init starts the lxc container and then...stop! It does nothing more (and adb won't start, so I can't do some debugs).

I think the matter is only with config files.

I'll post any updates :)

EDIT: Ok, I got adb working again. The system now boots without problems, but now I've got problems with unity8 -> Segmentation fault.
[Nexus S General] h2o64:
.... and you don' know how to solve it no ? :D

No, I joke you are a very impressive developper and I know you'll fix it very quickly.

Personnaly i'm very exciting to see the Ubuntu Phone 13.10 Edition on my Nexus S :)

Good luck
[Nexus S General] spider623:
Great news, as for the segmentation fault I never overcome the ones in the desktop
[Nexus S General] ghling:
I just tried the ROM and have to say great work, thanks for making all that possible.

Of course, ubuntu touch is far from complete, but it is a really nice preview, even though I really experienced that I'm not used to the OS concept (yet).

I'd say it is not yet in a state where I would use is as main OS, but I'm sure it will get better over time.

I'd just propose one thing: It would be much clearer if you'd edit the installation guide from the first post that it states "copy the ubuntu folder to your sdcard" instead of "copy it into the root of the phone storage" (this way, you may mistaken it that you have to copy the folder to the internal phone storage where you normally don't have access to and which is to small for the image).

Anyway, keep up the good work!
[Nexus S General] spider623:
ok i'm going to try something crazy, i currently use cm10.1.2 with the internal storage formatted as ext4, most roms doesn't even see the partition but it give crazy read speeds and write so wish me good luck

yep it's smooth with ext4 but no wifi and no sound options(great sound quality under a call) also can you remove the bloatware form the next build?
[Nexus S General] SAIKISENIOR:
The links are dead

Again.. :crying:
[Nexus S General] spider623:
That is actually a good thing, he may uploading a new build
[Nexus S General] spider623:
did you manage to compile the new image?
[Nexus S General] Tygerlord:
Have a different build without runtime lib (need testing)

Hy,

I have a different build describe here :

Don't know exactly the impact of not use 'sec_mm' (see link README document)

If someone want to test!!:eek:

Regards
[Nexus S General] gheezydroid:
i ran it on my nexus s 4g a few months back, it was laggy and slow. Is it the case with this current alpha build?
[Nexus S General] leap_ahead:
why only 22mb ?
[Nexus S General] Tygerlord:
why 22mb answer...

It seems compatible with size of other (ubuntu-base-final-crespo.zip is 23,9 mb) ...:confused:
[Nexus S General] h2o64:
Nope :p ubuntu--base-final-crespo is a sort of "loader" who loads ubutnu.img (personnaly I don't know how it's work)
[Nexus S General] Tygerlord:
Yes it's bootloader + kernel

This must be completed by distribution ubuntu touch search Touch/Install on google,

distribution saucy-preinstalled-touch-armhf.zip is up to 350Mo

a daily build can be found here : arghh can't post link, search in google please.

This is theorical I don't do this yet since I need of my phone for holidays, but after I will try...
[Nexus S General] Matsca09:
Hi all :cowboy:

Sorry if I haven't updated the project in the last time.

I've resolved the "segmentation fault" error by recompiling the base system, but now there's a problem with SurfaceFlinger and EGL drivers (EGL_BAD_ALLOC)

Also, I had to rewritten the new Ubuntu initrd because the original gives problems :silly:

I hope to release the new image early :)

Matsca09
[Nexus S General] Tygerlord:
[QUOTans atsca09;44480031]Hi all :cowboy:

Sorry if I haven't updated the project in the last time.

I've resolved the "segmentation fault" error by recompiling the base system, but now there's a problem with SurfaceFlinger and EGL drivers (EGL_BAD_ALLOC)

Also, I had to rewritten the new Ubuntu initrd because the original gives problems :silly:

I hope to release the new image early :)

Matsca09[/QUOTE]

It will be great if you explain change you do and why.

What about data space witch its suppossed a little small ?

(1Go and ubuntu unzip is up tout 915Mo)

Thanks
[Nexus S General] Matsca09:
Sure :)

I had to rewrite the initrd because in the new 13.10 image, the Ubuntu team uses a initramfs like you find in a normal desktop installation of Ubuntu, so the 'old' Android initrd system is inserted into a gzipped 'android-ramdisk.img' in /system/boot.

This new initrd gave me problems (with executables principally), so I've decided to create a init from scratch (basically a Linux standard skeleton directories (like bin proc dev root etc.)+a static busybox installation+a script as init). I've taken some of the instructions from the original init and I've inserted them into the new init. I've had to insert some modifications for load ubuntu from the image in /sdcard/ubuntu/system.img.

For the Ubuntu image: as you said, the Nexus S data partition is too small to contain the entire Ubuntu touch system, so I use a loopback image which contains the full image.
[Nexus S General] Tygerlord:
very great

Ans OTE=Matsca09;44485483]Sure :)

I had to rewrite the initrd because in the new 13.10 image, the Ubuntu team uses a initramfs like you find in a normal desktop installation of Ubuntu, so the 'old' Android initrd system is inserted into a gzipped 'android-ramdisk.img' in /system/boot.

This new initrd gave me problems (with executables principally), so I've decided to create a init from scratch (basically a Linux standard skeleton directories (like bin proc dev root etc.)+a static busybox installation+a script as init). I've taken some of the instructions from the original init and I've inserted them into the new init. I've had to insert some modifications for load ubuntu from the image in /sdcard/ubuntu/system.img.

For the Ubuntu image: as you said, the Nexus S data partition is too small to contain the entire Ubuntu touch system, so I use a loopback image which contains the full image.[/QUOTE]

Very Great!:good:

I sée now why you use system.img... I got same trouble using ubuntu on tf101.

I can provide ramdisk that i use on this.

For performance reason what do you think about using sd-ext instead loop?

UPDATE 2013 08 11

sd-ext seems not avalaible on Nexus S since it's for external memory

And maybe your problems with executables will ne solved...

:)
[Nexus S General] Matsca09:
Great news! I've resolved the EGL problem and now the build works without problems (permission problem to pvrsrvkm, solved thanks to the Ubuntu wiki) :D

Some tests and after I'll upload the base system+the build script updated :D
[Nexus S General] h2o64:
Perfect

I open this thread every morning and I hope this update so very cool Matsca09, you did a very hard and good job :)
[Nexus S General] kakatoori:
may I please know what's the difference between this one and

the one in the development section? I am asking coz there I need to flash 2 zips and here only one. And is ubuntu for android and

ubuntu touch same thing?
[Nexus S General] spider623:
[MENTION=5138721]Matsca09[/MENTION] is the official maintainer if i remember correct
[Nexus S General] Matsca09:
It is an Ubuntu Touch port too but it is maintained by woorim98 as far I know

No, because Ubuntu for Android is a full desktop environment running 'behind' Android; when you connect the device on a screen will appear a normal Ubuntu desktop, and you can use your phone as a PC (with keyboard, mouse, etc.).

Ubuntu Touch is a mobile version of Ubuntu, specifically designed with a GUI for phones and tablets; it's a mobile OS like Android.
[Nexus S General] zbiecik:
no networks
[Nexus S General] janfan:
i like the UI
[Nexus S General] h2o64:
Hello Matsca09, it's only a preview, isn't an OS like firefox OS ?
[Nexus S General] Matsca09:
Well, I've written the "it's more a demo than a preview" phrase at the beginning of this porting experience, when Ubuntu Touch was really a preview.

At the moment, with the last images, it's going to be an almost complete OS like Firefox OS (even there are many bugs).
[Nexus S General] h2o64:
Ok thanks, so we can use it like a regular phone :)
[Nexus S General] Matsca09:
It's usable, but I wouldn't recommend to use it daily at the moment.
[Nexus S General] h2o64:
So much buggy ?
[Nexus S General] leap_ahead:
Where is the new build ? 12.10 ?
[Nexus S General] Matsca09:
The 12.10 build is the "old" prebuilt image that was on the first post.

The new build (13.10) is not ready yet.
[Nexus S General] nyl:
i'm over exited to test this :D
[Nexus S General] leap_ahead:
i never try ubuntu ...i want to ask you if i can use contact,phone ,sms, internet broswer ,alarm ,calendar ?
[Nexus S General] leap_ahead:
Anyone ?
[Nexus S General] Tygerlord:
The goal is to use all of sms, phone, calendar but for now it still in development

So some are functional other not yet.

If you want to test it's ok if you want tout use it at main phone it's too early..
[Nexus S General] nyl:
any news?
[Nexus S General] michalurban:
So, whats this projects status, please?
[Nexus S General] Tygerlord:
tPracto rical

Ubuntu Touch core continue to release daily build and improve core.

For crespo, currently I try to adapt script to install ubuntu core.

After I can try my own build kernel.

Don't know state of Matsca09 release... I hope this come early.
[Nexus S General] nyl:
http://xdaforums.com/showthread.php?p=45105803#post45105803 ~ lets help each other and get this to work.
[Nexus S General] Matsca09:
Hi all!

I was on holiday and I wasn't able to post the updates. :crying:

The image is ready, I've only some big bugs with the phone part.

I suppose to fix and release later this week.

Sorry again :silly:

Matsca09
[Nexus S General] nyl:
ey, they are playing with clicks part, and kinda bugged the phone part xD, explain the bug a little further :)
[Nexus S General] Matsca09:
Sure :)

I'm having troubles with rild (it won't load the phone firmware in /efs, giving errors like "Bad address" and "No space left on device" in logcat)
[Nexus S General] nyl:
can you put it one google drive so i can check it out further? the Nexus S ain't my main phone anymore, so i can flash it no problem and try debuging it :)
[Nexus S General] kingspider:
Dead ?

is there still development ?
[Nexus S General] nyl:
no it's not dead he works slow because of the bugs :) one question did you put in click packages?
[Nexus S General] darkforester67:
Any updates on the latest build?. nothing's been posted since the 30th... Not rushing just curious how things are progressing. :D
[Nexus S General] prince747:
13.10 official build released!!

Is there any luck for us with Nexus S now that the official 13.10 build has been released for a couple of nexus devices??
[Nexus S General] Tygerlord:
Surely, but still need to be patient...
[Nexus S General] prince747:
Sure. I was just curious.
[Nexus S General] E.U.A:
Any ETA of first stable release of NS?
[Nexus S General] Mawtin:
Don't ask for ETA's, let the developers do their thing
[Nexus S General] Tygerlord:
Working status:

I've installed kernel kernel

After install base system ubuntu: system

Do this on recovery mode (after made a backup!)

System seems to start, unfortunatly i've only a blackscreen :(

On recovery again with adb shel, I must mount /sdcard and /sdcard/ubuntu.img /sd-ext then copy /usr/lib/lxd-android-config/70-GT-I9100.rules

to /usr/lib/lxd-android-config/70-crespo.rules

Start again and !!! again a black screen :crying::crying:

I retreive the logs : here

Seem that xsession crash.

Perhaps Mastca09 can help? No news?
[Nexus S General] Tygerlord:
Just see

No comments!

(thanks to Neal Hamza)

Rq/ not yet functionnal, still need some works...
[Nexus S General] ethan_hines:
A couple of questions

1. I wasn't able to get wifi working. Does this work with both versions of the Nexus S ie 4G and GSM?

2. Do I need to install this over an existing ROM or do I format the /system partition as well?

3.I am able to get the other version of linux on android to work fine. You know the one where you use VNC server. I just don't like that you can't get sound. This is not a question just an observation.
[Nexus S General] Tygerlord:
After some tests I find system very slow for wake up (10/15 seconds). Navigation is very ugly (menu are not easy to find) and I've not yet succesfully make a or receive a call.

For some points (slow phone wake up) I guess it's due to my port, for other (menu, navigation) is due to system..
[Nexus S General] Tygerlord:
Crespo config sound

Ok wake up trouble is gone thanks to Enrique Hernández Bello	!

Now I'm working on better integration using system.img with standard touch script. For now I change touch script to chroot ro ubuntu.img, the goals is to use system.img directly without modify script touch..

Network is working but I don't have any sound. I've already asked two people if they can have a look on this.

Help is welcome to get sound running, If you have some time or knowledge about youre welcome!!

Regards
[Nexus S General] Tygerlord:
Hamza make a blog on first install running here

*this is current version with no sound yet...
[Nexus S General] debaj:
What is the status of this build? Could anybody give me some pointers how to build the system on my machine? I followed the steps on the Ubuntu wiki but I'm stuck with the kernel config part, I can't find the TARGET_KERNEL_CONFIG value in any of the .mk files in the directory mentioned in the docs. I tried to build it without the changes, but the build fails.
[Nexus S General] Tygerlord:
[QUOTEsée thisbaj;47657243]What is thy ou seetatus of this build? Could anybody give me some pointers how to build the system on my machine? I followed the steps on the Ubuntu wiki but I'm stuck with the kernel config part, I can't find the TARGET_KERNEL_CONFIG value in any of the .mk files in the directory mentioned in the docs. I tried to build it without the changes, but the build fails.[/QUOTE]

Never see this on docs... where have you see this.?
[Nexus S General] debaj:
https://wiki.ubuntu.com/Touch/Porting
[Nexus S General] Tygerlord:
Ah OK. its crespo_defconfig

Regards
[Nexus S General] debaj:
Thanks, found it!
[Nexus S General] Tygerlord:
Install for testing

First flipped mode install for testing:

DO IT AT YOUR OWN RISK

This can take long time during phone is unavailable...

I've not tested yet what is working or not (wifi, sms, telephony...) but at least I have find a problem, I was unable to enter wifi key due to keyboard trouble...

1) MAKE A BACKUP, INTERNAL STORAGE TOO (sdcard)

adb reboot recovery

choose backup and restore, make a Backup

then mount sdcard and exit

on computer do

adb pull sdcard sdcard

2) Download system.img.tar.gz

and unzip it with tar -xpvzf system.tar.img.gz

3) Download cm-10.1-20131219-UNOFFICIAL-crespo.zip

4) Some script needed:

adb reboot recovery

adb shell

mke2fs -T ext4 /dev/block/mmcblk0p3 (WARNING p3 !!)

mount /dev/block/mmcblk0p3 /sd-ext

exit

5) adb push system.img /sd-ext

6) on device choose install zip and install from sideload

7) adb sideload cm-10.1-20131219-UNOFFICIAL-crespo.zip

8) wait complete install

9) adb reboot

Wait, wait again ... a little more and you should see ubuntu start...

To restore:

Download busybox.zip and

unzip it with unzip busybox.zip

adb reboot recovery

adb push busybox /sd-ext

adb shell

cd /sd-ext

chmod +x ./busybox

./busybox mkfs.vfat /dev/block/mmcblk0p3

cd ..

mount sdcard

exit

restore internal memory

adb push sdcard /sdcard

then use device recovery menu backup and restore,

use restore.

If device fail restoring it's maybe necessary to format /system and/or /data

use recovery menu mount and storage (sometime I need to do it two times)

then retry restoring

GOOD LUCK.
[Nexus S General] down4life:
Any news, progress?
[Nexus S General] Tygerlord:
AFAIC first attempt to run touch on nexus s let show that it is quite slow ... Actually I have a look on Firefox OS it should be Morée ligth than ubuntu...
[Nexus S General] kishanthepro:
thanks for ur work

haply to see that Ubuntu on nexus s...........does it has all things working ....or just demo apps......

can u please upload Ubuntu image on other file server like mediafire and Google drive ......because.....4shared download gives crc error......

plz upload on Google drive...it would be highly appreciated.....

thankyou:highfive::good:
[Nexus S General] Tygerlord:
Forget it... Canonical give up for more recent phone than nexus-s with more memory and more power cpu because Ubuntu is too fat to be useable on device with small capacity...

Have a look on Firefox OS perhaps to give better chance for second live on nexus-s

Regards
[Galaxy Tab 2 10.1" Android Development] sam.yaghoubi:
Official Stock Firmware 4.1.2 for Samsung Galaxy Tab 2 10.1 P5100

P5100UBDMA2​

Download Link:

http://www.hotfile.com/dl/195060984/82f82f5/P5100UBDMA2_P5100CHEDMA2_CHE.zip.html
[Galaxy Tab 2 10.1" Android Development] nrzm:
Thank you man but when it released :good:
[Galaxy Tab 2 10.1" Android Development] sam.yaghoubi:
Feb. 2013
[Galaxy Tab 2 10.1" Android Development] vm2034:
Will this work in Germany???
[Galaxy Tab 2 10.1" Android Development] sam.yaghoubi:
Yep! I'm from Iran!!! and it works for me, There is also an option in Language Input to download your preferred language
[Galaxy Tab 2 10.1" Android Development] vm2034:
Thank you...Downloading now...:good:

---------- Post added at 10:32 PM ---------- Previous post was at 09:39 PM ----------

I was hoping it wasn't carrier specific...
[Galaxy Tab 2 10.1" Android Development] sanriver12:
will this work on a latinamerican tab P5100ubld4 ?
[Galaxy Tab 2 10.1" Android Development] damian5700:
Bravo! Carrier branded firmware!

This is stock from the Chilene operator; very official!!
[Galaxy Tab 2 10.1" Android Development] sam.yaghoubi:
Yep!
[Galaxy Tab 2 10.1" Android Development] sam.yaghoubi:
official is used in contrast with leaks and stock in contrast with custom, I use it on my tab flawlessly.
[Galaxy Tab 2 10.1" Android Development] dstxy:
thank you :)

how do we flash? odin or recovery?
[Galaxy Tab 2 10.1" Android Development] mab71:
Odin
[Galaxy Tab 2 10.1" Android Development] dosbalbin:
Follow up Q

Will I lose any data?; Do I have to back up my files and apps on my sdcard?
[Galaxy Tab 2 10.1" Android Development] mab71:
You will have to wipe/factory reset anyway cos if not you might get stuck in a bootloop....try and flash with odin first. If alls well then no need to wipe data. Dont forget to backup first!
[Galaxy Tab 2 10.1" Android Development] Zulfauzi:
Downloading mode - ...Guys,hows the weather widget?is it looks like s3 or still the old one...thanks
[Galaxy Tab 2 10.1" Android Development] mab71:
Can anyone deodex and zipalign this rom?
[Galaxy Tab 2 10.1" Android Development] cenobytewolf:
Hi installed in my tab

Everithing is ok with this rom!

But how do i change the ENTEL start bootlogo???

---------- Post added at 03:21 PM ---------- Previous post was at 03:16 PM ----------

I install it with Odin304.zip and there i only pic the pda link!

Did something wrong? To start the ENTEL logo?
[Galaxy Tab 2 10.1" Android Development] Zulfauzi:
Its an official bootanimation for this firmware.. If u want to change it, U must root,install CWM and flash custom kernel

Check this out

http://xdaforums.com/showthread.php?t=2108442