yashsingh1/xdaforums huggingface dataset:
[Sony Xperia S, Acro S, Ion] wajahebat:
From the picture...Screen display consumes too much, then its not the phone defects...Its yourself...

Plus, the latest firmware from sony 6.1.E.3.7 have bad battery management...Flash back to 6.1.E.2.68 and you'll see damn nice battery consmption...

But then again need to get root access...My ion normally minimum around 8 Hrs for the batt to go 0%
[Sony Xperia S, Acro S, Ion] Dr.GM:
what can i do more !!

Screen brightness is around 20% ... and the ugly thing in this phone i donno why SONY wanted to save 2-3 dollars and don't put a light sensor on it !! -_- *DUH* Capitalism !

anyway ... i'm trying couple of applications ...one of them is "2x battery" is giving me decent result till now (4-5 hours) ...you should try it

and is there any updates soon to jelly beans ? maybe they fix the power management problem ?

and how can i flash back ? suggest some threads ?

thanks :)
[Sony Xperia S, Acro S, Ion] Toledo_JAB:
There is an ALS (ambient light sensor) on the phone. Also it is always on. Just hold phone under a light and then cover the top of phone above screen and you will see changes.

From Jaramie's LT28at

2012Xperia SOFT-BRICK Recovery Thread
[Sony Xperia S, Acro S, Ion] Dr.GM:
if it does exist .... SONY should know it's USELESS very honestly -_-

3G-CDM services shut down ...gave me more battery.... let's see , how far i can push this little guy
[Sony Xperia S, Acro S, Ion] HellRoot:
Sv: [Q] Xperia Ion - Abnormal Battery Consumption

3 hours of screen time is okay... I thought this was about standby consumption
[Sony Xperia S, Acro S, Ion] Dr.GM:
honestly this mobile is rubbish to the ground and this is the second time with sony mobile

the phone status deteriorated so fast that now i only have barely 2 hours screen time (20% brightness which is barely watchable) , and nothing is running in the back except avast anti virus , and battery manger

the phone gets SO HOT reaching sometime to 58 c and usually 45-48 c !!!

the normal slow charger (Laptop-USB / car-charger) is extremely slow to the level that after 7 hours of charging you get only around 60% charged , and if you are using the phone while charging the battery meter goes DOWN while charging and the phone gets very hot !!!

i'll return the phone after a month of use , but my only regret is that i listened to people here who don't even have the mobile or bother to read the details about the problem -_-
[Sony Xperia S, Acro S, Ion] w3nZ:
There is something wrong with ur phone. Mine doesnt get hot..

I´m using it in my car, too. I charge it and use it to navigate me around, and there is no battary drain.
[Sony Xperia S, Acro S, Ion] bluechelsea:
Does the phone overheat? My xperia s did overheat couple of times and wasn't charging even though it was.connected.

I rebooted and it solved. I had to let the phone to be cooled down before running it again.

U could try rebooting. Try hard reset if noting works.
[Sony Xperia S, Acro S, Ion] UchihaDareNial:
Car-charge and laptop-usb charge WILL charge your phone,but it will charge SLOW AS HELL...you got it?

If you want fast charge,go find a plug and charge your phone
[Sony Xperia S, Acro S, Ion] Dr.GM:
:(

i tried hardrestting and rebooting many many times , actually sometime it reboots on its own

how come there is difference between the wall usb charger and usb charger ? i mean practically the CABLE itself will not transfer more than 5 volts / 0.5 Amps ??

and beside this ,how come the charger can NOT cope with the battery consumption of the phone itself on GPS or 3G service ?!!!

are you serious !
[Samsung Galaxy Nexus] urko95:
Dual Booting Project

Android OS - Ubuntu Phone OS

As the title says, I think we can make posible dual booting Android and Ubuntu.

1st post Experimental Methods, Useful Infromation and Help Needed

2nd post News

3rd post How to install Ubuntu Phone OS​

Experimental Methods

1-. This method was originally posted by beidl

The method that beidl suggested us is to make this steps:

"Backup every Ubuntu Touch specific file that got installed to /system to the PC, like the chroot scripts and other stuff"

"Flash CM back to the device"

"Copy specific files back to /system"

"By flashing either the boot.img of CM or Ubuntu Touch the desired system should boot up."

NOTE: Nobody try it, be the first!​

*Using these methods you could brick your GNex, the poster of each method and me aren't responsible of any damage on your GNex!*

Useful Information

Here is partition table:

&

Info about GRUB on ARM v7
​

Help Needed

I think we can modify partition table making more partitions and modifiying Ubuntu Phone OS kernel to boot in asigned partitions but I need help:

How much partition we have to add? (System, data..)

I think we have to edit bootloader + kernel, How to do it?

It will be posible?

I don't know a lot

about partition tables and editing bootloader & kernel

but

, I think

I will be able to help.

PD: If moderator or developers in this section think that it will be better to post this thread in general or in development, don't worry moving it.
[Samsung Galaxy Nexus] urko95:
News

News

22/02/2013:Thanks to beidl, I think we have the posibility to boot CM 10.1 and Ubuntu Phone OS. Take a look at the 10th post:

23/02/2013: I'm working on a modified version, now fisrtly I will delet all videos & images that came as a sample. EDIT: I have edited it, to download it, go to the 3rd post!
[Samsung Galaxy Nexus] urko95:
Files & How to install Ubuntu Phone OS

How to install Ubuntu Phone OS

NOTE: This files

doesn't include

the option to make a

dual boot

yet

-I'm not responable of any damage could have your GNex after flashing Ubuntu Phone OS this way-

Steps:

Download files quantal-preinstalled-armel+maguro.zip (4,6 MB) and quantal-preinstalled-phablet-armhf.zip (481 MB), and copy them to your GNex.

NOTE:

You can use a modified file

without all sample photos, videos and messages modified

by me

.

Donwload

it here: edited-quantal-preinstalled-phablet-armhf-v1.zip

Make a Nandroid Backup (to be able to restore Android later)

Make a Factory Reset

Flash them in CWM or TWRP (1-.quantal-preinstalled-armel+maguro.zip and 2-.quantal-preinstalled-phablet-armhf.zip)

Reboot (In a few seconds Ubuntu will boot up)

If you want to restore Android, make a backup of Ubuntu first if you want to install Ubuntu again

*This guide was originally posted by eng.stk*

NOTE:

Second file

(quantal-preinstalled-phablet-armhf.zip)

will take few minutes

to flash so don't panic and relax until it's flashed

but

, if you

use the file that it has been modified by me, it will be faster.

This method

doesn't wipe your internal storage

(/sdcard)

This way

you could have both system only restoring backups of both OS

. It's a good to have both system while dual boot it's being developed.
[Samsung Galaxy Nexus] jimmyco2008:
Don't you need like a bootloader to dual-boot?
[Samsung Galaxy Nexus] DanielSanchez:
Read the op again. *i think we need to edit the bootloader.
[Samsung Galaxy Nexus] urko95:
Yes, I need help to edit GNexs' bootloader to be able to boot both OS

Regards,

Urko

Enviado desde mi Galaxy Nexus usando Tapatalk 2
[Samsung Galaxy Nexus] beidl:
It's a very bad idea to screw around with the bootloader and partition table.

kexec would be the way to go, but it requires kernel patches for both the Android ROM and the Ubuntu ROM.

Also, since Ubuntu Touch is just chrooted inside CM, I guess it would be possible to make some CM specific tricks,

like creating a file on the filesystem, check for it on bootup, if it exists, boot into the chrooted Ubuntu environment.

I still have to take a look at the source though, basically finding out at which stage the ways of Android and Ubuntu seperate.
[Samsung Galaxy Nexus] urko95:
Do you think we will be able to run Ubuntu and CM? My idea was to modify partition table to add more partition and then, if you wanna run Android OS, flash its kernel to boot it in Android OS or flash Ubuntu Phone OS kernel (edited to boot specific partions) to boot Ubuntu Phone OS. Do you really think that it's a bad idea? I think it is the best option (and it's the only I know). Could you give me more details of that "Specific tricks" to do with CM?

BTW, I NEED MORE HELP! :mad:
[Samsung Galaxy Nexus] jsgraphicart:
Not a dev, but thought I'd try and give some helpful advise. I have an HP TouchPad that dual boots webOS and Android. Maybe looking at how that works will help you. Just a thought.
[Samsung Galaxy Nexus] beidl:
There is a script + binary in the Ubuntu package which basically set up the the Ubuntu environment inside of a working Android installation.

The Ubuntu folder structure can be found in /data/ubuntu/.

Booting up is just like on every Android ROM, except the mentioned script gets started and the Ubuntu environment is getting started up.

The first proof of concept would be:

Backup every Ubuntu Touch specific file that got installed to /system to the PC, like the chroot scripts and other stuff

Flash CM back to the device

Copy specific files back to /system

By flashing either the boot.img of CM or Ubuntu Touch the desired system should boot up.
[Samsung Galaxy Nexus] urko95:
I will give it a try later!

Thanks for your help!
[Samsung Galaxy Nexus] CouttsPhotog:
couldn't modifying the bootloader be considered distributing a derivative work under the dmca?
[Samsung Galaxy Nexus] ak:
In my opinion to have a dual booting you will need:

- A ramdisk that will prepare the partitions according to the choice of which OS

- A kernel that supports two versions of OS

- Two separate SD with the respective folders drivers etc. ... (This Is not possible on GNEX)

For the rest I do not know ubuntu for phone, it would take some expert.
[Samsung Galaxy Nexus] urko95:
Anarkia, What do you think about beidl's method?

NOTE: Thread organized and updated
[Samsung Galaxy Nexus] urko95:
A edited phablet file, I have deleted all sample photos, videos and messages. To download it, go to the 3rd post!
[Samsung Galaxy Nexus] LucaZPF:
Excuse me,

can i flash these flies with CWM recovery?
[Samsung Galaxy Nexus] urko95:
Yes, you can, with TWRP or CWM, you choose.
[Samsung Galaxy Nexus] beidl:
Reporting semi-success

So i diffed the system directories of CM 10.1 and Ubuntu Touch and found the new files.

I pushed those files to my working CM 10.1 installation on the GNex.

Since I did not wipe my GNex when I went back from Ubuntu Touch to CM 10.1, the folder structure

of Ubuntu stayed at /data/ubuntu/.

Then, I rebooted into the bootloader and flashed the boot.img of Ubuntu Touch to the GNex.

After rebooting, the device was stuck at the Google boot logo but the kernel did actually boot, so I was able to adb shell into the device.

dmesg returned:

<6>[ 15.739807] PVR_K:(Error): BridgedDispatchKM: Initialisation failed. Driver unusable. [4783, /home/ubuntu/jenkins/workspace/phablet-image/kernel/samsung/tuna/drivers/gpu/pvr/bridged_pvr_bridge.c]

That means Canonical still uses the kernel from before a week, this kernel doesn't play nicely with the new proprietary GPU driver.

I'll try pushing the old GPU blobs now...
[Samsung Galaxy Nexus] urko95:
Waiting to your results, great job beidl!
[Samsung Galaxy Nexus] capychimp:
Sv: [DEV] Dual Booting Project [Android - Ubuntu Phone OS] (HELP NEEDED)

First zip to flash is linked wrong it links to the IMG ;)

Ubuntu phone os is nice but laggy buggy power eating just tried it. Maybe we should focus on it running good before dual boot

Did anyone try using it ? Gsm and all that did not work on my gnex. Did you guys have luck?
[Samsung Galaxy Nexus] beidl:
I didn't have time to play around with the proprietary blobs yet, but what I have tried so far on the go:

Completely reflashed Ubuntu Touch ontop of working CM 10.1 install WITHOUT WIPE -> No issues

Reflashed CM 10.1 and booted into it -> No issues, no files or settings gone

Reflashed Ubuntu Touch (quantal-preinstalled-armel+maguro.zip) -> No issues, no files or settings gone

So it is not a "real" dual-boot but it gets the job done.

That will continue to work as long as Canonical doesn't require us to completely wipe our devices.

Oh, and if we want to make Ubuntu Touch run flawlessly we should start contributing to the upstream project

instead of doing our own custom ROMs and not contributing back. That way everybody benefits.
[Samsung Galaxy Nexus] urko95:
Great work beidl, I will post a guide in General giving you all credits.

Thank you

Enviado desde mi Galaxy Nexus usando Tapatalk 2
[Samsung Galaxy Nexus] ak:
There is a source of ubuntu kernel?
[Samsung Galaxy Nexus] sgt. meow:
I am not from around here, but isn't it possible to just bind /system to system.img in any directory, and then boot it from there after the same has been done for /data and /cache?
[Samsung Galaxy Nexus] MikeCriggs:
It would be counter productive because you would need to uncompress the images to gain access to the partitions.
[Samsung Galaxy Nexus] sp3dev:
Check out our u-boot port. It can be loaded instead of the linux kernel and chainloaded from the Samsung's SBL bootloader

https://github.com/Ksys-labs/uboot-tuna

You can edit the [include/configs/omap4_tuna] and comment the CONFIG_SPL_BUILD line and flash the u-boot.bin instead of the kernel.

Then, you can put the android boot.img to /system/boot/vmlinux.img

You can put the custom image in the u-boot mkimage or the android image format to /sdcard/boot/vmlinux.uimg and the boot script to /sdcard/boot/boot.scr.uimg, and you can boot that image by holding the volume down button.

----

And if you really wonder about the CONFIG_SPL_BUILD. Just stop reading here.

Yes, you can enable it and replace the Samsung's SBL with u-boot. Be careful. It only works with old xloader's (PRIMEKK14 and older). Display does not work, so you'll have to rebuild the kernel and disable omap framebuffer bootloader init check. If you brick the device, use "OMAPFlash_tuna.zip" to recover.
[Samsung Galaxy Nexus] beidl:
AW: [DEV] Dual Booting Project [Android - Ubuntu Phone OS] (HELP NEEDED)

Awesome, didn't know somebody ported u-boot over to the GNex.

I'll take a look at it today, play around with it and maybe improve my C skills a bit.

(I can read C code pretty easily but I have not written anything in C in years).

Now multibooting has some real potential!
[Samsung Galaxy Nexus] sert00:
interesting...i think it's the best way with uboot.definately follow this 3ad from now on..
[Samsung Galaxy Nexus] ugothakd:
I think you're all going about this wrong.. kexec is definitely the way to go. Prepare your /system with both the android and ubuntu files. Then install a modified recovery.img to where you would install the normal boot.img. The recovery image would be modified with a menu to launch two commands, run ubuntu and run android. When run ubuntu is selected, kexec runs the ubuntu kernel, and vice versa. You wouldn't need to patch the android or ubuntu kernel only the recovery kernel.
[Samsung Galaxy Nexus] CaliTilt:
anyone looked at Hashcode's Safestrap? His custom recovery allows up to 5 ROMs to be installed on the same device.
[Samsung Galaxy Nexus] ilMessia:
http://xdaforums.com/showthread.php?t=2183721
[Samsung Galaxy Nexus] dlhxr:
Since I just switched from Moto Defy to Galaxy Nexus, some new way to boot another rom is well developed in defy thread.

Firstly, some korean dev managed to develope the BOOTMENU for defy to allow custom rom to run and Defyers have had CM7\Miui\CM9\CM10 since then.

Secondly, someone found a way to unload current kernel and load another custom kernel to make CM10 faster, which means the android devices with locked bootloader can boot into custom kernel.

In my opinion, we can use that way for dual boot and it is not a very difficult task.

I tried to find some original thread for bootmenu and loading custom kernel (called 2ndboot) and listed here. Hope it is helpful.

1.Bootmenu

http://xdaforums.com/showthread.php?t=1026853 Original thread

http://xdaforums.com/showthread.php?t=1028427 Another one

2.2ndboot

http://xdaforums.com/showthread.php?p=32097547 Original thread

3.Roms now using Bootmenu

http://xdaforums.com/showthread.php?t=1033654 CM7

All defy's third-party roms are using this way to boot. (miui,etc...)

3.Roms now using both bootmenu and 2ndboot

http://xdaforums.com/showthread.php?t=1768702 CM10

http://xdaforums.com/showthread.php?t=1353003 CM9

Devs like Quarx (http://xdaforums.com/member.php?u=513620) and Epsylon3 (http://xdaforums.com/member.php?u=803131) know well about this method. You can contact them for help~:laugh:

Hope someone can make it ture!
[Samsung Galaxy Nexus] franciscofranco:
Very good stuff here. This u-boot actually works in the GN? I have some experience with u-boot for the imx53 reference board. Using KEXEC like Tassadar does on the Nexus 7 and the old Optimus P500 works pretty well. Did anyone here tried something similar? Might involve some hacks though.
[Samsung Galaxy Nexus] beidl:
I've played with it a little bit and yes, it does work, but I needed the right toolchain (CodeSourcery 2010q1-188), else this little f*cker would throw nasty errors at runtime.

Much thanks to sp3dev for helping me out on this and releasing a usable U-Boot implementation!

The nice thing about this is that it works by just raw-flashing the uboot binary to the boot partition.

My idea of how multiboot and flashing ROMs should work includes:

* A custom recovery

* U-Boot flashed to the boot partition

When entering the recovery, you are presented with 2 options: Flash an Android ROM or flash Ubuntu (because I wanted to have a way to dualboot those instead of 2 Android ROMs)

Executing recovery commands from /cache should be done after selecting the respective mode, for example when updating CM from within its updater app.

1) Choosing Android as an option: Symlink ..../by-name/boot to /cache/boot1.img

2) Choosing Ubuntu as an option: Symlink ..../by-name/boot to /cache/boot2.img, ..../by-name/system to /cache/system2, ..../by-name/data to /data/data2

As those ..../by-name/* files are just basically symlinks to the right block device partitions anyway, it would work seamlessly with the current way of unpacking ROM files to the respective partitions.

Just formatting would have to be blocked/changed to a simple rm -rf in Ubuntu mode.

Also, when a kernel is being "flashed" (or moved to the right place thanks to the symlink), we would have to repackage it with the correct fstab for (probably bind?) mounting the right folders.

THEN you can choose whatever ROM you would want to flash and the files would get unpacked in the right places.

In U-Boot you can either wait a second or two to boot into your Android ROM or keep VolDown pressed to boot into Ubuntu.

Sadly, I just don't have enough time doing this project, as it's a pretty sophisticated project and very hacky (but still much prefered to special dual-boot-kernels+modifying zip files by hand).

This ROM mode setting idea can surely accomplished with easy flashable zip files which just set up the symlinks followed by a zip which repackages the Ubuntu kernel.

This however would be reeeaally cumbersome for mere mortals, so why not just do everything in recovery without any manual interaction whatsoever?

I hope someone might pick up this design choice so that this specific-dual-boot-kernel-madness finally takes an end.

EDIT: I've just noticed that dlhxr started a thread which basically covers the same basic principle of how this should work.

Is someone working on a custom recovery similar to the idea that I had?
[Samsung Galaxy Nexus] seaskyways:
U-boot is now available for the G-Nex , plus it can dual-boot , tri-boot , and quad-boot ...
[Samsung Galaxy Nexus] kanpurite:
Not sure if this has been shared before

http://rozetked.ru/tv/outreach/eksk...tve/?utm_medium=referral&utm_source=pulsenews

Developers have found a way to virtualization, squeezing its own container in the core layer of the system and its SDK, allowing you to run multiple versions of Android simultaneously.

This utility works on Samsung Galaxy S2 and Nexus S.
[Samsung Galaxy Nexus] MikeCriggs:
That's awesome! Can anyone provide a link to dlhxr's thread?

Also a custom TWRP Recovery should be very easy to compile. I'd do it right now if my Google Music app on Ubuntu wasn't taking up all of my bandwidth for the next 9274937 hours, haha.
[Samsung Galaxy Nexus] Vikram Menon:
When i click on the 4.6MB zip file, a .img file is getting downloaded. If i visit the site cdiubuntu, i can see a similar named file, but it is 48mb. What should i use?
[Samsung Galaxy Nexus] dlhxr:
haha. could you make such a recovery for us? my thread's link:http://xdaforums.com/showthread.php?t=2204705:cowboy:
[Samsung Galaxy Nexus] MikeCriggs:
I remember doing this with TWRP on the N7000 so I could dual-boot TouchWiz and AOSP+ ROMs.

I'll take a look at your source when I have time and see what I can do. I've been pretty busy doing theming for Ubuntu Touch. I'm more of a designer rather than a developer, even though I'm a computer programming major XD.
[Samsung Galaxy Nexus] amarullz:
If we already have a fixed and working "METHOD" to do the dual boot, and you want to make User Interface to select the OS while boot like GRUB, just contact me, I can create application like that with AROMA UI.

This is my old concept for Boot Menu => http://xdaforums.com/showpost.php?p=32518261&postcount=1409
[Samsung Galaxy Nexus] ScardracS:
I have same idea.. We can try to use a modified aroma like bootloader in the boot script and select with it ubuntu or android
[Samsung Galaxy Nexus] ScardracS:
You could try this http://xdaforums.com/showthread.php?t=2204705

Sorry for my english, i'm just a student ;)

---------- Post added at 05:54 PM ---------- Previous post was at 05:41 PM ----------

Only one problem.. It boot but there are boot animation and your aroma boot in the same time.. You need to fix something and it'll work perfectly

Sorry for my english, i'm just a student ;)
[Samsung Galaxy Nexus] amarullz:
Do you know what process that run the boot animation?

You can pause it with "kill" command before AROMA starting.

example:

boot-animation process = 102

# Pause

kill -19 102

# resume

kill -18 102

--- EDIT ---

Ok, I'll update the boot menu demo (Attachment).

I'll changed the init.d script to pause bootanimation and zygote (pausing zygote will prevent the system to boot into android).

#!/system/xbin/sh
#!/system/xbin/sh
mount -o,rw,remount /
mkdir /tmp
sleep 2
kill -19 $(pidof bootanimation)
kill -19 $(pidof zygote)
/system/etc/aroma/aroma 1 0 /system/etc/aroma/aroma.zip
kill -18 $(pidof zygote)
kill -18 $(pidof bootanimation)
rmdir /tmp
[Samsung Galaxy Nexus] ScardracS:
I think we could make 2 (or more) folders and in all folders we can found an O.S. (like UT in folder1, Android 4.3 in folder2, Android 4.2 in folder3, ecc ecc ecc)... Some folder like /data/media will be shared for all O.S. and the kernels will be separate (one for UT, one for Android 4.3, for Android 4.2, ecc ecc ecc) but i think it's quite difficult

---------- Post added at 09:45 PM ---------- Previous post was at 09:36 PM ----------

Look that: http://xdaforums.com/showthread.php?t=2165491
[Samsung Galaxy Nexus] ScardracS:
I think that could help us, is somebody hope in that project

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