[Q] New how to install android on x1 - XPERIA X1 Android Development

can anyone write a new how to install android on x1
that is usable?

download any package of android for X1 you want
there are two kinds of android packages for x1
ones with npkinstall folder and others without it. packages with npkinstall folder use ext2 partition on SDcard. So you will have to create 350MB ext2 partition at the and of SDcard with any partitioning tool you want. If package dont have npkinstall than it uses just simply files on fat32 partition.
decompress package to your SDcard in root or in andboot folder.
if you dont have npkinstall folder just run haret.exe
if you have npkinstall in your folder than you have to first run haret.exe from npkinstall, after the restart you should run main haret.exe on the root of SDcard.

denyboy said:
download any package of android for X1 you want
there are two kinds of android packages for x1
ones with npkinstall folder and others without it. packages with npkinstall folder use ext2 partition on SDcard. So you will have to create 350MB ext2 partition at the and of SDcard with any partitioning tool you want. If package dont have npkinstall than it uses just simply files on fat32 partition.
decompress package to your SDcard in root or in andboot folder.
if you dont have npkinstall folder just run haret.exe
if you have npkinstall in your folder than you have to first run haret.exe from npkinstall, after the restart you should run main haret.exe on the root of SDcard.
Click to expand...
Click to collapse
And which is the better one? could you kindly upload maybe that one you're using at this moment.

my personal experience tells me that with ext2 partition you have better speed and performance.
I dont have good connection for uploading. But try latest superfroyo or this
http://www.neopeek.com/en/forum/Son...o-FRG83---Android-221-Beta-Release-05-11-2010
you can combine them with other kernels if you want.

denyboy said:
my personal experience tells me that with ext2 partition you have better speed and performance.
I dont have good connection for uploading. But try latest superfroyo or this
http://www.neopeek.com/en/forum/Son...o-FRG83---Android-221-Beta-Release-05-11-2010
you can combine them with other kernels if you want.
Click to expand...
Click to collapse
Thank you for your prompt reply.. i have the problem, that after certain time the keyboard doesnt work.

Related

How to install apps on the SD card using JFvMOD by LucidREM

http://forum.xda-developers.com/showthread.php?t=480582
so the only things you have to do is this??
because as i read down the thread people are talking about some 'links' or something i dont get it.
can anyone help?
LucidREM said:
a new update file was created by me utilizing JFs build environment .. you can use this to modify your update to pretty much anything you can imagine .. so long as you know what you're doing .. otherwise you might end up on the flashing android .. so here's the deal
PREREQUISITE:
1. you rooted your phone
2. you created the FAT32 / EXT2 combo partitions
SPECIAL NOTE:
EXT2 seems to have problems bigger than 2G .. recommended not to exceed 1.5G .. 500M is actually more than enough for most people
MicroSD should be 2G/4G/8G class6 .. without class6 you should not bother moving apps to the SD
this update can help you .. it contains the modified init.rc, mountd.conf files necessary to load the EXT2 partition to /system/sd .. JFs normal update contains the original files and thus your /system/sd/ folder will not show up .. good news .. if you updated with JFs update and have not wiped your /data then you can just reflash my modified update and regain your phone
NOTE: if you WIPE your phone YOU MUST have the EXT2 on your MicroSD to use this modified update.zip
INSTRUCTION:
1. Have/Create the FAT32 / EXT2 Partitions on the MicroSD
2. Download Modified Update to the MicroSD FAT32
JFv1.42_RC33
JFv1.43_RC9
JFv1.43_ADP1.1H
3. Rename To "update.zip" & Flash the G1
4. Moved /data/app, /data/app-private, and/or /data/data (optional) to the SD in Terminal:
a. $su
b. #copy.sh app
c. #copy.sh data (OPTIONAL)
5. Enjoy!
Click to expand...
Click to collapse
oh **** i just did this and all my apps are gone x(
installing a buttload of apps and using very very mininal internal memory! how awesome xD
I did this a few days ago, works great.
I downloaded the trial version of Paragon Partition Manager.
Created an EXT2 partition (it's very easy to do and intuitive once you open the program) of around 450 MB (don't think I'll ever need more than this).
Flashed the update (renamed it update.zip, booted into recovery mode and did the whatever the alt+_ command was to flash it).
Ran all three scripts in the terminal (not recommended to move data unless you have a Class 6 card).
Works well so far.
can you install themes on this?
Why are you posting another thread in the apps forum instead of posting in the original thread?

(android) install apps to main memory and sdcard?

I was curious to see if this was possible since android can now read our sdcards, like we can insert a new sdcard and it'll read it. Like wm gave us the option to install to main memory or sdcard. Is this possible? Or if I am running system and data on nand can I restart the phone and also install data to sdcard? Thanks in advance
android only lets you install apps to /data/app. if you want to be able to install apps to your sdcard for what ever reason you can create an ext2 partition on your sdcard and symlink /data/app to that partition. for me thats not very practical unless you have a huge amount of apps you want to install and they all won't fit on nand. you could try to symlink /data/app to a folder on the fat32 partition on your sdcard but i'm pretty sure there might be problems with that since android expects certain permissions/ownership for apks and fat/fat32 doesn't do nix permissions correctly.
so no android doesn't natively support installing apps to sd but you can hack around it.

Partition SD card

Is there any way to partition storage card, so WM will show it as 2 storage cards? My SD card is currently big mess because of android stuff and i wish to split it to android and data part.
I think best way will be boot Android with folder from SD Card (for example Storage Card/Android -> and put all files in that folder)
radzix27 said:
I think best way will be boot Android with folder from SD Card (for example Storage Card/Android -> and put all files in that folder)
Click to expand...
Click to collapse
android has to be in the root of the sd card
leemoss84 said:
android has to be in the root of the sd card
Click to expand...
Click to collapse
I know but maybe somebody can change something for boot from any folder (if it's possible)
radzix27 said:
I know but maybe somebody can change something for boot from any folder (if it's possible)
Click to expand...
Click to collapse
pretty sure the reason for having to have it in the root is because of speed.if you start puting it into folders its just gonna slow it down.
leemoss84 said:
pretty sure the reason for having to have it in the root is because of speed.if you start puting it into folders its just gonna slow it down.
Click to expand...
Click to collapse
Maybe something is with it
It is possible to create more than one partition on an sd-card. I do not know, how wm handles this. When i found my old micro-sdcard i will give that a try
Anyway, it might be easier to put android into a folder. IMHO this will not impact performance. With some linux knowledge it should be possible by modifying the boot-scripts in initrd.gz and rootfs.img. There are also options in the startup.txt
vdelf said:
It is possible to create more than one partition on an sd-card. I do not know, how wm handles this. When i found my old micro-sdcard i will give that a try
Click to expand...
Click to collapse
Any progress on running it from native partitions?
I have a spare SD card partitioned and ready
vdelf said:
Anyway, it might be easier to put android into a folder.
Click to expand...
Click to collapse
As it turns out, it is ALOT easier to put it into a folder. Because you already can
I just looked into the scripts, and both already check for "/" or "/android/" for most of the files needed. So just create a folder named "android" on your sd-card, put most of the android-files there and you are done.
You can not put all files there because some are hard-coded to root. I am not sure about calibration (i left it in root and wlan worked), but modules-*.tar.gz has to stay there. Well, you CAN remove it after first startup as the modules are copied. Same goes to the AndroidApps-folder. My android-folder now contains data.img, haret.exe, initrd.gz, rootfs.img, STARTUP.TXT, system.sqsh and zImage.
Surprisingly no modification on startup.txt was needed. Are these path-options used at all
Mic159 said:
Any progress on running it from native partitions?
I have a spare SD card partitioned and ready
Click to expand...
Click to collapse
I tried that last week, but android loops at some point during startup animation. Always get the same results when i modify the system.sqsh. Dont know, what i am missing
hi guys,
for running on partition try with this configuration :
example 8 Gb SD card :
1. partition 1 -> fat32 -> 7 GB
2. partition 2 -> ext2 / ext3 -> 512 mb
3. partition 3 -> linux swap
extract system.sqsh into partition2.
@vdelf
man, you should erase some line init file in rootfs. erase everything script contains pointing file data.img. change it to your /dev/mmc1blkp2.
latest build phhusson rootfs.img will error on load wifi calibration.
cheers,
fatsal.
What do u think under extract ? move whole file to ext2 or decompres it to separate files ?
Devaster said:
What do u think under extract ? move whole file to ext2 or decompres it to separate files ?
Click to expand...
Click to collapse
I think he means unsquashfs the file.
Can we just write the data.img that we already have generated? ie. dd if=data.img of=/path/to/sdcard/partition?
Then we need a new rootfs without the creation & mounting of data.img?
And obvoiusly an update to STARTUP.txt
I hope there will be solution to that problem soon.
I currently have all files that were before on storage card in \Card folder. So android is in root and all other files are in separate folder. Which works great at start, but then windows start creating other folders like DCIM, Program Files, Application Data etc. and is again mess.
can someone prepare a package for easy instalation on partitioned card ?
AFAIK you cannot install to partitioned card because WM can display only 1 partition. That means you can't see either android or other files.
fatsal said:
hi guys,
for running on partition try with this configuration :
example 8 Gb SD card :
1. partition 1 -> fat32 -> 7 GB
2. partition 2 -> ext2 / ext3 -> 512 mb
3. partition 3 -> linux swap
extract system.sqsh into partition2.
Click to expand...
Click to collapse
You could try running a swapfile instead of a swap partition.
in your favorite linux
> dd if=/dev/zero of=/target/swapfile bs=1024 count=262144
> mkswap /target/swapfile
> swapon /target/swapfile
I use
1. partition 1 -> fat32 -> 4 GB
2. partition 2 -> ext2 -> 4 GB (currently trying to get Debian to talk to my network )
3. linux swap on /swapfile
fatsal said:
@vdelf
man, you should erase some line init file in rootfs. erase everything script contains pointing file data.img. change it to your /dev/mmc1blkp2.
latest build phhusson rootfs.img will error on load wifi calibration.
cheers,
fatsal.
Click to expand...
Click to collapse
Or to be more specific.
You can point to any partitions in startup.txt. My debian startup.txt (networking still not working ) **
set cmdline "root=/dev/mmcblk0p2 rootwait msm_fb.fix_x=1 console=tty0 msmsdcc_id=3 imgdevnum=1 imgdir=/ msmts_calib=0xc5.0x399.0x367.0x4d wifi.mac=00:23:45:39:0e:a1 mddi.width=480 mddi.height=800 board-htcraphael-navi.inversion=1 pm.sleep_mode=3 pm.debug_mask=2 lcd.density=240 msmvkeyb_toggle=on fbcon=rotate:3 clock-7x01A=528"
so I replaced "init=/ imgdevname=/dev/mmcblk0p1" with "root=/dev/mmcblk0p2 rootwait msm_fb.fix_x=1"
** for original info (step 6) http://forum.xda-developers.com/showpost.php?p=5579798&postcount=458
Michael

Running android from sd card

hello guys,
i want to share how to running android from sdcard, last time before i lose my X1 it's already running well on my X1.
here's the step :
requirement :
1. linux (mine ubuntu 9.10)
2. for ubuntu do "sudo apt-get install squashfs-tools" for getting unsquashfs (for extract system.sqsh)
prepared equipment :
1. 8gb SDCard (for good starting but you can also using 2 gb or 4gb)
2. partition your sdcard like this (8gb configuration) you can using gparted :
1. 5.5 gb format using fat32 this called : mmcblk0p1
2. 1 gb format using ext2/ext3 for /system this called : mmcblk0p2
3. 1 gb format using ext2/ext3 for /data this called : mmcblk0p3
4. 512 mb format using linuxswap for /swap this called : mmcblk0p4
installation :
1. do execute on terminal : unsquashfs <your system.sqsh directory> after extraction you will see directory called "squashfs-root"
2. copy all files from "squashfs-root" directory into your SD Card /system partition or mmcblk0p2.
3. copy startup.txt, haret.exe, modules<build>.gz, zImage from vdelf build onto your root SDCARD fat32 or mmcblk0p1
4. download and copy/replace rootfs.img from here into your root SDCARD fat32 or mmcblk0p1.
5. execute haret.exe and then wait and pray.
@vdelf :
man...your the best, with this configuration you can easly changes or edit an android modules.
cheers,
fatsal
man u are the 1
so is it only possible to set this up with linux, windows won't work?
CowMix said:
so is it only possible to set this up with linux, windows won't work?
Click to expand...
Click to collapse
same question?
But after all, why ask those questions every time? Get yourself DamnSmallLinux and qemu emulator.. It will be about 60 Mb download total and you'll never have problems with ext2 filesystem and permissions
sp3dev thanx for the hint i was looking for small distro ...
Thanks fatsal, almost there.
But one thing u missed in your first post, was to copy initrd.gz in step 3 (copy it to the fat32 partition)
Otherwise HARET says "/Storage Card/initrd.gz" not found.
But i get stuck in the boot screen (the android loading image with the X).
It just sits there forever. It shows a bit of the animation, then stalls for a second then skips back to the start of the animation...
Not sure whats wrong.
Mic159 said:
Thanks fatsal, almost there.
But one thing u missed in your first post, was to copy initrd.gz in step 3 (copy it to the fat32 partition)
Otherwise HARET says "/Storage Card/initrd.gz" not found.
But i get stuck in the boot screen (the android loading image with the X).
It just sits there forever. It shows a bit of the animation, then stalls for a second then skips back to the start of the animation...
Not sure whats wrong.
Click to expand...
Click to collapse
Yes, i have that problem too!
any help is appriciated!
i've definately done it all correct because when i insert the sd card the /data partition is filled with android files!
but the x just loops, freezes then continues to do that! :S
I have and 8GB SDHC card class 6, but i only ever have 7.42GB available, even when the card is empty. Is this normal?
Also i have tried to use Gparted to partition my SD card following the instructions aove, but i get an error message, can anyone tell me what im doing wrong. See attached for details.
Thanks in advance.
yes the 7.42 gb is normal, i cannot help you with the error though
but until we can get to fully boot up theres no point anyway!
Mic159 said:
But i get stuck in the boot screen (the android loading image with the X).
It just sits there forever. It shows a bit of the animation, then stalls for a second then skips back to the start of the animation...
Click to expand...
Click to collapse
I never managed to get past that. I got the same effect when i modified the system.sqsh. I ASSUME, that a file link is broken or some file permissions are not correct. I am sure, it is something trivial, but no idea how to find out.
fatsal said:
hello guys,
Click to expand...
Click to collapse
Nice to see you around, again!
CowMix said:
so is it only possible to set this up with linux, windows won't work?
Click to expand...
Click to collapse
It is MUCH EASYer to set this up with linux. It is possible using windows, but you have to use some black magic. Windows will not allow you to create more than one partition on an sdcard or usb-drive. Maybe some 3rd-party-partition-program can, but i dont know of one. It is possible to fool windows to think that the sdcard is a fixed disk. Then you can create more partitions.
The next problem is to create the ext2-filesystem in windows. There are drivers to read/modify ext2, but creating it? Maybe that 3rd-party-partition-program can...
we need fatsal's help! :|
vdelf said:
I never managed to get past that. I got the same effect when i modified the system.sqsh
Click to expand...
Click to collapse
Any progress on it?
What are the permissions supposed to be like?
Is there any way to debug the boot process when it wont boot?
can we put something in the eclare config to output the logs to a file?
Mic159 said:
Any progress on it?
What are the permissions supposed to be like?
Is there any way to debug the boot process when it wont boot?
can we put something in the eclare config to output the logs to a file?
Click to expand...
Click to collapse
unfortunately no, and i don't think there will be until an android SD xpert comes along or fatsal himself decides to chek xda
vdelf said:
It is MUCH EASYer to set this up with linux. It is possible using windows, but you have to use some black magic. Windows will not allow you to create more than one partition on an sdcard or usb-drive. Maybe some 3rd-party-partition-program can, but i dont know of one. It is possible to fool windows to think that the sdcard is a fixed disk. Then you can create more partitions.
The next problem is to create the ext2-filesystem in windows. There are drivers to read/modify ext2, but creating it? Maybe that 3rd-party-partition-program can...
Click to expand...
Click to collapse
Ask and ye shall receive
This is the Hitachi fixed-disk filter driver - if you put your device id in the inf file, you can partition your SD card like a normal fixed disk.
NOTE: I take NO responsibility if this driver eats your first-born child, or opens a trans-dimensional portal and sucks you into oblivion. You are on your own for support. If you are unsure what you are doing, DON'T USE THIS - get a live CD linux distro and boot that instead.
If you want to read-write ext2 partitions under windows, use something like http://www.fs-driver.org/ - again if it turns your computer into a smouldering pile of vomit, it's YOUR responsibility!
But have fun anyway!
sp3dev said:
But after all, why ask those questions every time? Get yourself DamnSmallLinux and qemu emulator.. It will be about 60 Mb download total and you'll never have problems with ext2 filesystem and permissions
Click to expand...
Click to collapse
i got damn small linux
how to make partition to my SD card by using the dsl?
thank u in advance
Most linux distributions have cfdisk. Look at the linux log to find the device name for your sd-card. It should be something like /dev/sdb. Run cfdisk /dev/sdb as root, and you can manage partitions on that device. Be carefull not to edit the wrong disc
For partitioning i mostly use gparted. Bigger download, but very comfortable and powerful partitioning system.

[Q] Please help on Ext2 Partition on HTC diamond

Hi all
I am using HTC diamond P3700 currently with windows mobile 6.5 installed, but now i would like to experience Android on my phone, and I am going to install the following version
http://forum.xda-developers.com/showthread.php?t=780130
I noticed that I have to create an Ext2 partition on my HTC internal memory first, and it requires gParted which is under Linux platform. Since I am using Windows 7, so I used VirtualBox to create a virtual environment to install Ubuntu.
Now, i am facing the problem that my gParted doesnt detect the connected HTC diamond.
Could anyone please kindly instruct me to solve this problem?
Besides, the ext2 partition tutorial is in some language which is not english, so could anyone please write a quick english tutorial?
Many many thanks in advance!!
I changed from FAT32 to ext2 partition in Windows 7 using: Acronis Disk Director Home. and I was able to install android without any problem.
thanks, I will give it a try first. is it straight forward?
btw, so are you using Android on HTC diamond please?
May I know what ROM and android you are using please?
can you guyz tell me that where should I put my downloaded android file into:
I mean should I put it in ext2 or fat32................
did you mean there will be no fat32 anymore...............is it???
fadil_94 said:
did you mean there will be no fat32 anymore...............is it???
Click to expand...
Click to collapse
Hi there
I saw you successfully installed Android on your phone, could u mind to tell me which WM Rom you are using please?
http://forum.xda-developers.com/showthread.php?t=780130&page=3
I also wonder may I auto boot Android when I start the phone, using something like Gen.Y DualBOOT, if so, how to do it please?
By the way, did you create your ext2 under Linux gParted? do you know how to do it on windows?
luckyvictor said:
Hi there
I saw you successfully installed Android on your phone, could u mind to tell me which WM Rom you are using please?
http://forum.xda-developers.com/showthread.php?t=780130&page=3
I also wonder may I auto boot Android when I start the phone, using something like Gen.Y DualBOOT, if so, how to do it please?
By the way, did you create your ext2 under Linux gParted? do you know how to do it on windows?
Click to expand...
Click to collapse
im using the original WM 6.1 rom on my diamond................
you can't use the auto boot android directly because you have to do the partition and then you have to install the android boot first.......... after this things step are complete then you can boot android from Haret...........
I used MiniTool Partition Wizard Home Edition v 5.2 for the partition step on windows 7................... but to see the ext2 partition you have to install Linux on your pc.
for the partition watch this.........http://www.youtube.com/watch?v=oyO6DOS1leQ................
and for the instillation part and things just follow this steps............
1)Create an EXT2-Partition with a minimum size of 300MB (see video-tutorial in this article)
2)Download Neopeek Android Installer
3)Extract npkinstall.zip to the root of your internal memory / sdcard
4)Download Haret-Paket
5)Extract contents of Haret-Paket to the root of your internal memory / sdcard
6)Now Download latest CyanogenMod6-Port or any other Android (please have a look into our community. There are lot of builds available). Now rename this download to androidinstall.tar.gz and put it into the npkinstall-folder. There are several Text-Files in this folder like diamond.txt, raphael.txt etc. Just rename the one that matches your device to startup.txt.
7)Now run install.exe within the npkinstall-folder. Your device will reboot when it has finished installation.
8)Move to the root of your memory where you have extracted Haret-Paket
9)Locate Startups-Folder and copy the startup.txt which matches your device to the root of your memory
10)Now run Haret.exe from the root of your memory and Android should boot up! That's it.
this step are originaly taken from http://www.neopeek.com/en/stories/android
i hope I helped you a little
so let say I have successfully boot Android on my phone via HaRet, may I use Gen.Y DualBOOT later to boot into Android automatically?
or the only way to start Android is still manually start HaRet under WM please?
luckyvictor said:
so let say I have successfully boot Android on my phone via HaRet, may I use Gen.Y DualBOOT later to boot into Android automatically?
or the only way to start Android is still manually start HaRet under WM please?
Click to expand...
Click to collapse
yup you can use the autoboot android after the first manual boot..........
here see this video my htc diamond booting android 2.2 with the Gen.Y DualBOOT......http://www.youtube.com/watch?v=92BXQbIzd2s&hd=1
I seem to be missing something here... i used minitool partition and got ext2 however now in the File explorer i dont see my internal Storage ...what did i do wrong or what did i miss out?
salim1001 said:
I seem to be missing something here... i used minitool partition and got ext2 however now in the File explorer i dont see my internal Storage ...what did i do wrong or what did i miss out?
Click to expand...
Click to collapse
My experience told me that,
First you have to create the FAT32, and the size doesn't really matter, but it is your Android internal storage, which can be shown in Windows.
Second, you create the ext2, size between 300mb to 512mb, this can NOT be shown in Windows.
Third, the linuxswap, 64mb (I think is definite, cant be randomly selected)
After all this, u should be ready to do the rest
fadil_94 said:
yup you can use the autoboot android after the first manual boot..........
here see this video my htc diamond booting android 2.2 with the Gen.Y DualBOOT......http://www.youtube.com/watch?v=92BXQbIzd2s&hd=1
Click to expand...
Click to collapse
btw, do you know whether it is possible to change the theme n icons? I found sth like this, is so damn beautiful
http://forum.xda-developers.com/showthread.php?t=772842
the install instruction says flash it over, does it apply to our WM based Android? if so, how to do this flash please?
salim1001 said:
I seem to be missing something here... i used minitool partition and got ext2 however now in the File explorer i dont see my internal Storage ...what did i do wrong or what did i miss out?
Click to expand...
Click to collapse
did you leave the fat32?
if you do, then try to format your internal storage or try to connect in linux/ubuntu
fadil_94 said:
did you leave the fat32?
if you do, then try to format your internal storage or try to connect in linux/ubuntu
Click to expand...
Click to collapse
I have windows XP SP3 and i am using Minitool Partition. Below were the steps taken,
1 - Formatted the Inetrnal Storage.
2 - Resized it to 3.20GB Fat32
3 - other unallocated 500MB changed it to EXT2
4 - and some 64MB under Linux Swab
Once this is done and when i try checking on the phone in file Explorer..i dont see the Internal Storage to run the files..its completely missing.
I reformmated the whole thing to Fat32 and now i am able to see it under File Explorer...Just wondering what did i miss out...as i know some of us were able to pass through this.
HI I am My htc touch diamond is not detected on windows 7 via usb cable. it seems to be some hardware issue.
can I still partition the internal memory? I am able to connect to Windows via Bluetooth(Windows Mobile Device Center)
Please help.

Categories

Resources