yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] erklat:
Well the ramdisk fix for large apps doesn't work for me either. I spent last 6 hours trying to figure out a way out of stuck on boot situations I got myself into, and I've finally managed. Isn't there a simplified scenario where we could simply symlink the market cache to ext as well(tried that too, but didn't manage to get it working)?
[Desire Android Development] sergmeister:
Im not sure if its just me but when I tried to use baadnewz guide on moving data to a folder in /sd-ext and symlink it. I then rebooted to recovery and flashed his wifi patch on insertcoin cm7 v22 rom and when I rebooted back in to the rom the folder in /sd-ext got deleted but the links in data/data still remained but the apps didn't show so I'm wondering if the same will happen here
[Desire Android Development] rakludnet:
what happens if there is an update for the rom we configured. do we need to revert back to stock hboot and do all again from scratch?
[Desire Android Development] erklat:
Good question mate, but the answer is probably yes. Though it is totally possible that current non-port roms will come in the CM7 edition too so you won't need to revert nor trim the /system so it could fit in smaller hboot.

You can try this too.

Darn, I'm 300kb larger than oxygen could fit after shrinking :(
[Touch Pro, Fuze Android Development] FashizzleDizzl:
Hi,

I have a very simple question, which I cannot even answere to myself through google. I have got a HTC Touch Pro and in this whole thread I read different names for it like Raphael 100, Raphael 800, Raphael 110, Raphael xxx.

What do you mean with that? What is the difference and how can I discover which version is mine? Thought about that while updating on FX05 and looking through the Startups.

Fashizzle Dizzl :)
[Touch Pro, Fuze Android Development] R^7Z:
Remove the battery cover/back cover (whichever you call it). If you haven't already turned off/powered down your device, do so now or just remove the battery. If I look just above the bar code for the IMEI, I see four (4) letters and three (3) numbers. Looks like RAPH110 for me

Basically, this determines which device you have. There are many different types of RAPH's, TP or even touch pro's. There is a more detailed explanation somewhere I'm sure... Just gotta find it and link you to it unless you feel like going on a hunt for info! ;)

For additional info, see THIS

Just a matter of locating wiki for HTC Raphael then Raphael Linux

:cool:

n-Joie! (Enjoy)
[Touch Pro, Fuze Android Development] arrrghhh:
Heh, I guess we should add this to the FAQ...
[Touch Pro, Fuze Android Development] R^7Z:
Naah... Not unless that's going to keep you guys from "working"! :p HA! ;) :D

Mush! lmao
[Touch Pro, Fuze Android Development] arrrghhh:
By we I mean me :p
[Touch Pro, Fuze Android Development] FashizzleDizzl:
Oh no, now I feel so stupid for not looking by myself :D

Thanks anyway :)
[Touch Pro, Fuze Android Development] R^7Z:
Should be more lazy than stupid... ;) :p

[poke poke, nudge nudge...] :D
[XPERIA X10 Android Development] MrHassell:
64Bit Exclusive

Already the question has been asking about building this for 32bit platforms;

Froyo+ requires a 64bit environment for build. 32bit is not supported when building Android sources past 2.1 so although it is possible, it's not directly supported or possible without modifying lot's of lib's etc.. so it will be 64bit only as per the requirements for building AOSP Sources beyond Éclair. :)

If anyone has created or worked on fixing make to work with 32bit PM me and we can include this if you wish!
[XPERIA X10 Android Development] svtfmook:
easy solution, if your cpu supports 64bit (which is hard to imagine that anyone would still be running a machine that does not support 64bit), set up a dual boot. normal 32bit OS on one end, this on the other.
[XPERIA X10 Android Development] xtrmshadow:
99.9% of the CPU's of today have 64bit support,but lets not forget,to use 64bit you need at least 1.5Gb of RAM (Recommended 2+ or even 3+),

And maybe 45% of today's computers have 1.5+ Gb of RAM.

Most of us here have 4Gb+ thats for sure but there are people who dont so,thats gonna be a bit complicated.

Respect
[XPERIA X10 Android Development] PoTi_96:
Rlly? Woow

Yea i have also got 4Gb+ (8)

I think those 32bit ppl will change fast ^^

~~~~~~~

Gr8 work dude, this will be great!
[XPERIA X10 Android Development] hammer2k2:
nice, been looking for something like this
[XPERIA X10 Android Development] DooMLoRD:
if i remember correctly VirtualBox/VMware support 64bit OS even if host OS is 32bit.. just that the processor should have 64bit support...

yup virtualbox supports it: http://www.virtualbox.org/wiki/Changelog

for those who are not sure if they have 32-bit or 64-bit processor... atleast for windows there is a great tool: CPU-Z... just check for EM64T under supported 'Instructions'
[XPERIA X10 Android Development] Crowds:
i`m sure this is my fault but...WTF ist that for?! :D
[XPERIA X10 Android Development] jase81:
lol :D this is a set up so you can learn/build your own android from sources :p
[XPERIA X10 Android Development] Crowds:
that`s what i thought but...i mean, why this if we had kitchen?

what the advantage? pros/cons?

or the objective of these is to create/push source like any other app on ubuntu?
[XPERIA X10 Android Development] jase81:
as far as i know you can only build android on linux or by VirtualBox/VMware , i'm just learning on how to set it all up so i'd ask MrHassell what the pros and cons are lol :D
[XPERIA X10 Android Development] Crowds:
i know that. that´s what i do...

the question remains. there`s already a kitchen, so...what`s the diference between them? act like linux (with repo?). that would be something...
[XPERIA X10 Android Development] marcoplo:
can someone upload whole thing in torrent in piratebay or torrentz.eu :D:D:D

espacially staff like Sun Java 6 - Eclipse IDE - ADB GUI - latest Android SDK - Cyanogen 7

get linux form official website

please

will be faster and more fluent stream!

thank ;)
[XPERIA X10 Android Development] rls190687:
im already runnin ubantu dose that mean theres no need for virtual box yeh?
[XPERIA X10 Android Development] jase81:
Nah dude u dnt need it lol

Sent from my X10
[XPERIA X10 Android Development] rls190687:
lol sorry got confused the first time i read the op read it again and realized that cheers
[XPERIA X10 Android Development] jase81:
fank you mrhassel downloading now lol :D
[XPERIA X10 Android Development] MrHassell:
Ubuntu 64bit - Required for Android 2.2+

This is an appliance and requires a Virtualization provider. If you already have VMware installed to a 64bit edition of Linux then, no you don't need this but you can have it if you like all the same.

Open a Linux terminal and issue this command to see if your kernel is 64bit first;

uname -a

This will return either i386 or i686. The 386 flag is 32bit, next check the CPU.

cat /proc/cpuinfo

Here you are looking for the 'ln' flags which support 64bit. That taken care of in *nix the next step is to install VirtualBox - latest 4.04 version or upgrade.

sudo apt-get update
sudo apt-get install virtualbox-4.0

http://goo.gl/w0yqg
[XPERIA X10 Android Development] DooMLoRD:
actually both i386 & i686 are 32-bit...

if u get x86_64 then it is 64-bit...

{please correct me if i am wrong}
[XPERIA X10 Android Development] MrHassell:
SEED!

Thanks for the pickup Doom :) - good thing about VirtualBox is even if your host O/S is 32bit - you can run 64bit appliances like this..

PLEASE SEED! Nobody is going to get anything with 20 people just hit and run and leave 1 peers.

Not threatening or anything but guy's if you can't seed at least 100% of what you download, I'm pulling the torrent as I have other things to do with my hardware and network than share it with snatch and grab bandits.
[XPERIA X10 Android Development] dicksteele:
Have you installed it into virtualbox yet ? What's the password for xperia?
[XPERIA X10 Android Development] MrHassell:
password / additional steps

password = pass@word123

There is a README file inside the torrent. Once you have installed virtual box and unpacked the device, to get USB to pass through you will need to download the Oracle Virtual Box Extensions from http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html

With the extnsions installed, attach your device and note the device name it will be something like SEMC HSUSB device xxxx

Next create a filter in the VM manager, click on xPerfect and chose settings > usb - enable USB controller > enable USB 2.0 and on the right hand menu there is a little usb cable with a green +, click this and add your SEMC HSUSB device.

There is another check required on your host machine, where you are running Virtual Box, to enable pass through USB and to view your Android inside the VM.

Virtual Box creates a users group for permissions and not always adds your user account into this group, you need to add the account to the 'vboxusers' group.

Find out if your current user account is in the vboxusers group with this command in Linux;

grep vboxusers /etc/group

sudo useradd -G vboxusers {your account user name}

example for the account named richard; sudo useradd -G vboxusers richard

or

sudo usermod -aG vboxusers richard

There is also a detailed walk through of this over here
[XPERIA X10 Android Development] dicksteele:
Yep. I found it. Should have been the first place I looked. Thanks for the added extra info. As a manager I never get to mess with anything anymore. I have to hack on my phones.

Thanks again !!!
[XPERIA X10 Android Development] MrHassell:
adb devices = ????????????	no permissions

If you are having problems after getting USB enabled and trying to view your attached device, there is a fix!

xperia@xperia-devBox:~$ adb devices

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

List of devices attached

????????????	no permissions

cd /android_sdk/platform-tools/
adb kill-server
sudo ./adb start-server
adb devices

This should return the device id of your device as such;

List of devices attached

GD777GDTON	device

EDIT: Added a shell script that does this for you, simply extract the script and make it executable and run it;

sudo chmod a+x fixadb.sh
[XPERIA X10 Android Development] MrHassell:
screen resolution

640 x 480 and 800 x 600 can be a bit limiting, the solution is to grab a terminal inside the virtual machine and;

sudo apt-get install virtualbox-ose-guest-x11

After a little reconfiguration and some downloading of packages, the updated module is recompiled into the kernel. One reboot and enjoy a better screen resolution :)
[XPERIA X10 Android Development] DooMLoRD:
or u can just mount VBoxGuestAdditions.iso from VirtualBox -> install Guest Addons
[XPERIA X10 Android Development] MrHassell:
this is the updated x11 / xorg display updates, gives full-scale widescreen as your host gpu provides :-)

Working on it all day in fullscreen glory, need to make a simper way of additional disc space and growing the volume to use the additional space allocated and eventually just script the whole process.
[XPERIA X10 Android Development] Epsylon3:
In vmware you can run 64bit OS on 32bit platform (if your cpu is 64bit) ... hmmm on Windows x86 i mean :)
[XPERIA X10 Android Development] MrHassell:
Yes :-) if you running 32bit windows you can still run it
[XPERIA X10 Android Development] Blagus:
Does it really has to be so huge? I can't download it with my 15GB bandwidth limit... any chances to compress it to 1 or 2GB?
[XPERIA X10 Android Development] XNuclearWinterX:
The Downloadlink for .torrent seems broken i only get 500 internal server error
[XPERIA X10 Android Development] Epsylon3:
I confirm, i got it in VMWare player, had to use OVFTool v2.0.1 :

First Delete .mf file, then

"C:\Program Files\VMware\VMware OVF Tool\ovftool.exe" --lax -tt=vmx "Z:\AndroidSDK VBox x64\xPerfect.ovf" xPerfect.vmx

That will create a vmx file and a 2GB vmdk-1, open it, stop machine which doest boot (grub error)

Then edit VM Settings, remove hard disk, add new hard disk, and select 9GB file... And click "Convert"

Then you can boot...

so now... the password for "xperia" : pass@word123 << in Qwerty : @ is on Shift + 2

PS: Im on Seven SP1 x86

I can see you have same problems than me with gconf sanity check (on my two ubuntu desktop machines... since 10.10)
[XPERIA X10 Android Development] Epsylon3:
arghhh the rootfs is mounted as readonly (grub command line) and no SSH server, no telnetd... erfggggh
[XPERIA X10 Android Development] MrHassell:
torrent is active!

I've just come back from a trip to the country and was out of network there, sorry I couldn't respond quicker. Occasionally demonoid has outages, confirmed they are back online and there are plenty of active sources.

Thanks to everyone for seeding! :) - These VMware issues that you are having, I am unsure of what the issue is. Would you like to activate the ssh service? If so in a terminal punch this in;

sudo apt-get install openssh-server

Now configure ssh, making backups of the config;

sudo cp /etc/ssh/sshd_config ~
sudo gedit /etc/ssh/sshd_config

Noticing your above post about root fs.. it's best to disable root and use su - elevate to root with super user do command or - sudo when required, but if you want root during a session use;

sudo -s

Back to the config for your SSH server, I'd use this in the config; PermitRootLogin no - again this is your call but I advise against.

Most importantly make sure you add the accounts that you do want to access the SSH server;

Port 22 #change port to secure it as you like (2222)
PubkeyAuthentication yes
AllowUsers xperia

https://help.ubuntu.com/10.10/serverguide/C/openssh-server.html
[XPERIA X10 Android Development] MrHassell:
reconfigure grub

pardon confusion - has grub got itself messed? maybe try something like this

sudo -s
mount /dev/sda1 /mnt
grub-install --root-directory=/mnt/ /dev/sda1
update-grub
exit
[XPERIA X10 Android Development] MrHassell:
wish I could shrink it..

This is an issue I agree. 8GB is big, split it over one months allowance and part of another months? Most of the size believe it or not.. is Cyanogen master pre-configured with repo - all you need in a terminal once unpacked and setup is - repo sync - drop in source of whichever firmware you wish and make - it's the main reason it's so big and the reason I set it this way to save other people having the 6GB repo sync to get the Cyanogen Gingerbread trunk.

It's compressed but still agree is very large. This is the reason I'd like to script the process, even the script will involve that 6GB repo sync and other files for packages, dependencies etc.. Another issue I had is trying to keep the virtual disk size to a minimum to save the size of the torrent.

Problem is with this, the virtual needs to be altered one you have downloaded to increase the disc size;

cd ~/.VirtualBox/HardDisks/
VBoxManage modifyhd xPerfect.vdi --resize 30720

Doubling the size roughly for the latest GB branch from J to drop straight in there and start compiling drivers and fixing permissions :)
[XPERIA X10 Android Development] Epsylon3:
in fact, i had crc erros first time, bad md5

but, its the same, when you import in VMWare Player...

Tried in VirtualBox and that's working nice, even on 32bit Windows 7 =) VMWare go to the bin....
[XPERIA X10 Android Development] MrHassell:
:) haha excellent - I was going to pull it into vmware as an import and see how that went as I havn't tried it yet.. you saved me the effort! :) haha
[XPERIA X10 Android Development] Epsylon3:
yea, if the "auto grow" feature could exist for VBox...

suggestion, password is too hard for a virtual box login (for users with non-us keyboard)

sudo -s

passwd xperia

>xperia

>xperia

and for remote access (winscp) and fast copy/paste in putty :

apt-get install ssh

and you can remove swap partition :p

swapoff -a

fdisk /dev/sda

d

2

w

q

and remove swap line from /etc/fstab

finally :

apt-get install localepurge

select en

close, then type localepurge, 50MB freed

apt-get remove localepurge
[XPERIA X10 Android Development] ZombieDude00:
I will continue to help out and seed once I have completed the dl from demonoid. Always good to be a member :)
[XPERIA X10 Android Development] MrHassell:
resize the virtual disc

Thank you for continuing to seed :) This is a very good thing and appreciate you returning the favor.

Due to the size, I had to keep it minimal but include what is required. When developing you might run out of disk space, so this is what you can do about that.

# Create a new disk in VirtualBox (File -> Virtual Media Manager)

# Download the Gentoo System Rescue CD

# Attache your 30GB or bigger virtual disk to xPerfect and set the CD rom to be the system recovery cd you just downloaded

# boot xPerfect from the CD

# at command prompt type startx

# when X Windows starts type gparted in the terminal

# Once gparted loads, select your newly created virtual disc

# From the top menu bar in gparted, create new partition table

# right click on the representation of the disk and create a primary partition with 731MB of free space

# create an extended partition claiming the remaining 731MB space

# within the extended partition, create a linux-swap using all available space

# click apply

# switch to original xPerfect disc, right click and copy

# switch back to the newly partitioned disc and select paste

# when done right click on the disk and choose Manage Flags, and select Boot

# exit gparted and power off the VM

# change xPerfect to only have one disk (the new bigger disk) and deselect the system rescue iso from CD

# boot xPerfect with a bigger volume size
[XPERIA X10 Android Development] MrHassell:
reinstalling grub2

Did resizing your virtual machine leave a black screen on reboot? The problem is the boot loader is corrupt. It's an interesting subject!

Ubuntu 10.10 uses grub2 boot loader. To reinitialize grub2 you have choices, either use the System Recovery CD (iso downloaded in previous post) mounted the CD and to choose the 64bit Kernel loading option when presented with the menu, it's command line driven so if you are not comfortable with this just head over and grab the Ubuntu 10.10 x64 Live-CD and boot from that and follow the instructions here. Essentially load a terminal and type sudo fsck -f /dev/sda1

If you find this curious and are interested in Busybox is and it's relationship with Linux.. First thing done is load the System Recovery CD in 64bit mode, using the terminal to define mount points. fsarchiver probe simple

Returning the discs on the vm (assuming you kept the swap) and followed the previous example should look like this;

root@debian /root % fsarchiver probe simple

[=====DEVICE=====] [==FILESYS==]

[/dev/sda1 ] [ext4 ]

[/dev/sda2 ] [Extended ]

[/dev/sda5 ] [linux-swap ]

We need to mount sda1 and create a directory to mount and bind the virtual file systems;

root@sysresccd /root % mkdir /mnt/linux
root@sysresccd /root % mount /dev/sda2 /mnt/linux
root@sysresccd /root % mount -o bind /proc /mnt/linux/proc
root@sysresccd /root % mount -o bind /dev /mnt/linux/dev
root@sysresccd /root % mount -o bind /sys /mnt/linux/sys

Next CHROOT is going to change the disk root directory for the current running processes and all child processes. The super user command or SU is based on this and behave alike. Firstly we need to mount /bin/bash

root@sysresccd /root % mount /dev/sda2/bin/bash /bin/bash

root@sysresccd /root % chroot /mnt/linux /bin/bash

[root@sysresccd /]# grub2-install /dev/sda

(hd0) /dev/sda

Now exit and shutdown the vm, return the CD to use the host cdrom - passthrough - and start the machine, let the fun begin! :)

grub>

Now let's set the drive root, load a linux kernel and the ramdisk - initrd - like this.

set root=(hd0,1)
linux (hd0,1)/vmlinuz root=/dev/sda1 ro
initrd (hd0,1)/initrd.img
boot

This will take you through the login screen and you can update your grub settings, however this is kind of fun to mention - just changing one line here - root=/dev/sda - you will be presented with Busybox and the Initramfs, instead of going through to the correct boot path.

No init found. Try passing init= bootarg.

BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu4) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(Initramfs)

You have a root on your Android phone, then you have Busybox and this is where the concepts come from :)

Final word.. on fixing grub once you are back in if this ever should happen - dpkg-reconfigure grub-pc - leave it blank on first prompt and tick both sda + sda1 - avoid the boot loop.
[XPERIA X10 Android Development] britoso:
Excellent idea. Will try it.
[XPERIA X10 Android Development] pulser_g2:
Started to try and download this for the purpose of seeding, but it's only coming in at about 2 to 3 Mbytes/sec on a 1000/1000 connection :( At least it's uploading at the same speed...

Still a little annoying, but I'll leave it seeding for a good while (if it ever arrives...) ;)
[XPERIA X10 Android Development] DooMLoRD:
seeding @1Mbps since the last 4 days... but there seems to be some issue with the tracker (http://inferno.demonoid.me) "Status: hostname not found"... DHT & Peer Exchange seem to be working though...

EDIT:

found a solution

replaced inferno.demonoid.me with 62.149.24.93 and boom!! tracker can now be found ;) stupid DNS blockers :D
[XPERIA X10 Android Development] pulser_g2:
Ah OK. I see you on the seeds list :) You're the fastest single peer on the list.

Hope it's all set up right as I have upload speeds of 1 GB/s on the server, and I'm in no hurry to delete it ;) 78.7% done now, and only 15 mins left.

I've been uploading at about 2.4 MB/s the whole time I've been getting it. Just hope I can get some good upload speeds out it... Wanna see just how fast it goes, and how much unlimited (truly unmetered) bandwidth this can use :D
[XPERIA X10 Android Development] DooMLoRD:
here let me give u some speed to d/l (increased upload speed to ~2mbps)... 93% complete eh?

EDIT:

well seems u have finished d/ling... will throttle back upload speeds now...
[XPERIA X10 Android Development] pulser_g2:
Thanks. :)

That's me done and seeding at 2.19 MB/s now :) Ratio of 0.67 already :p

Seems a bit strange... I'll monitor the speeds and see how it goes... Does seem a touch slow tbh on the seeding side - I'm connected to 15 of 18 peers though, so perhaps it's just a case of not many people able to download at huge, monstrous speeds or anything.
[XPERIA X10 Android Development] taknil:
Hey guys, I want in on the party, but the demonoid website (the goo.gl link in OPs post) gives me a 500 HTTP error. :o

Any chances of mirroring the torrent file somewhere else, or posting a magnet link?
[XPERIA X10 Android Development] MrHassell:
magnet link

This is the magnet link

EDIT: if anyone needs a demonoid registration invite just let me know with a quick p.m
[XPERIA X10 Android Development] Epsylon3:
Ive made a repack of this torrent...

Login/Password : xperia/xperia (with autologin)

Use 2 Virtual Box disks (vdi) :

- one for ubuntu (4GB extensible to 16GB)

- one for android stuff (9GB extensible to 48GB)

- removed swap to reduce release size, you can add a swap virtual disk... format it as swap with gparted, add swap in /etc/fstab and finally "swapon -a"

- removed some useless apps (sound,chat) and kernels

- added ssh server

Size : only 6.66GB :) (Public bt torrent, no registration needed)

http://epsylon3.free.fr/files/DevXperiaVBoxRepack.torrent

root@xperia-devBox:~/bin# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 16514472 3637952 12037732 24% /
/dev/sdb1 49540912 9996904 37027480 22% /zfs
[XPERIA X10 Android Development] MrHassell:
when modifying save commands for shell script

Cool! Can the steps be scripted? I've got to say that the BIONIC /LIBC issue is a big one.. DSIXDA kitchen overlay works well..

https://download.github.com/dsixda-Android-Kitchen-0.148-0-ge3b9c67.zip

EDIT: I've received the repack and straight away noticed an issue with the keyboard, this can be adjusted with:

Will continue too look into this repack soon! :)