yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] spiderman1961:
Ubuntu installation method

UBUNTU METHOD​

INSTALLATION STEPS FOR OMNIAII WITH 2GB OF INTERNAL MEMORY​

LINK TO ILLUSTRATED INSTALLATION GUIDE​

1.	1. Connect device to the PC via USB under WinMobile ("Settings Samsung / Usb Connection / "My Storage")

2.	Open MiniToolPartition wizard

3.	Delete all partitions in "My Storage" of phone.

4.	Create three new partitions

5.	FIRST PARTITION: FAT32, LOGICAL, 500mb, label “DISK”

6.	SECOND PARTITION: EXT4, LOGICAL, 1250mb, label “disk”

7.	THIRD PARTITION: LINUX SWAP, LOGICAL, 200MB, no label

PARTITIONS FOR USERS WITH OMNIA 8GB (Credits to Lagunostrum)​

FIRST PARTITION: 6390 Gb, FAT32, LOGICAL, label "DISK"

SECOND PARTITION: 1250 Mb, EXT4, LOGICAL, label "disk"

THIRD PARTITION: 196 Mb, LINUX SWAP, LOGICAL, no label

IMPORTANT: For users with Omnia 8Gb, you must change the startup.txt​

At line [Set CMDLINE "rootdelay = 2 root = / dev/mmcblk1p2 init = / init"] change as follows:

Set CMDLINE "rootdelay = 2 root = / dev/mmcblk1p6 init = / init"​

DO NOT CREATE LINUX PARTITIONS SWAP MORE 'BIG 200 Mb, ACCORDING TO MANY DEVELOPERS, SUCH DIMENSIONS GREATLY SLOW THE DEVICE​

8.	Close MiniTool Partition Wizard

9.	Open Ubuntu

10. Click on "Virtual Machine", select "Removable devices", select "GTI8000", select "Connect" to connect 1Omnia to Ubuntu: note "DISK" and "disk" that you have created with MiniTool

11.	Open “Gparted” or other Ubuntu utility to partition disks

12.	Right-click on "ext4" and "remove" partition, right-tap again to "ext4" and choose "Format as ext4" (with tests carried out, it is more snappy rom installed on a formatted partition from Ubuntu in "ext4 "with respect to a partition" ext4 "formatted by MiniTool)

13.	Right-click on "linux-swap" and format as "linux-swap" (for same reason as above)

14.	Close “Gparted”

15.	Open Terminal window:

16.	Write following command line: sudo cp /media/DISK/ext4.tar.gz /media/disk/

17.	Press enter and wait for operation completion (blinking cursor)

18.	Write following command line: cd /media/disk/

19.	Press enter

20.	Write following command line: sudo tar xzvf ext4.tar.gz -C /media/disk

21.	Press enter. Start files decompressing on partition ext4. Wait for operation completion (blinking cursor)

22.	Write following command line: sudo rm ext4.tar.gz

23.	Press enter.

24.	Write following command line: sudo chmod 777 /media/disk/

25.	Click on "Virtual machine / Removable devices / Disconnect" to disconnect and reconnect phone automatically from Ubuntu to Windows (

do not disconnect USB cable!!!!

)

26.	Copy files "haret.exe", "startup.txt" and "zImage" in DISK. (ie the root of "Memory personal" WinMobile).

These files MUST remain in DISK (ie the root of the "My Storage" WinMobile). Disconnect device from Pc

27.	From WinMobile, with a File Manager, navigate to "haret.exe" and click on it to start Android.

28.	After the first launch of Android,

DO NOT USE TELEPHONE

, wait for the S.O. it is fully started and

RESTART phone

At the end of the second boot you can enjoy Android on OMNIAII

Link for download ROM -----------------------------------------------------------------> POST 7​
[Miscellaneous Android Development] spiderman1961:
Ubuntu installation method

DOWNLOAD​

​

File ext4.tar.gz​
[Miscellaneous Android Development] spiderman1961:
reserved
[Miscellaneous Android Development] spkraul:
Congratulations !!!

Yes, you finally made it. version2 is much better that version 1. almost no bugs. And it is much faster than frenkiedroid. especially your memory performance is excellent. i will install it and try to make it even more faster !!!!

one question. how to activate front camera ? i haven't managed to do it.
[Miscellaneous Android Development] spiderman1961:
Thanks!

It will be appreciated your suggestions about how make it even more faster...

About front camera no news for now: it will be necessary kernel modification...
[Miscellaneous Android Development] spkraul:
You wrote

"Both Cameras and VideoCameras working"

so i thought you meant back and front camera....

ok my suggestions are

check my ROM's build.prop for code optimizations

also experiment with dalvik cache settings. it can make the ROM a lot faster

remove some services always running (ex is voice dialer that very few people use and makes system slower

remove unnecessary apps (example livewallpapers, geniewidget etc)

you can also set cpu performance settings as default without big loss on battery time, but with big affect on phone's responsiveness

remove some files on the system that make it heavier to load and handle (ex fewer ringtones to choose from ....)

uninstall downloaded apps from manage applications manu, clean /data/dalvik cache using root explorer, reboot system and install downloaded apps again

my recommendation is not to install optional apps on system as many users ignore how to erase them when they do not need them (ex if somebody does not use twitter or facebook doesn't need them

for faster gps i have discovered this solution try it and tell me the results

the biggest improvement you can see is by replacing the phone's framework with miui's one. you can find miui based on CM6. i know it looks a little chindish but very fast. you just port it to our ROM, and since working just keep it's engine (heart) and replace it's apps with the ones we prefer. MIUI gives us the fastest bases on android

to measure if your ROM improvements are working or not use antutu benchmark 2.5 (bugless working on my android 2.2.2), antutu cpu master 2.5.2 and benchmark and tuning from android market

bytheway. with my ROM installed on sd class 10 i got 1035 points on antutu. can you check yours to see if we have a new record and post the result ?

if you think i can help in anything specific just send me a pm or post here. we are all working on the same side to improve our phone
[Miscellaneous Android Development] spiderman1961:
No both apps cameras: many users denoted issues about one of them

These suggestion and other are already inserted

Many, many users in my country want them and want better battery drain; so if other user want different configuration he can change himself.

They can use Titanium Backup or Link2SD.

However scripts in rom block automatic boot of these apps so they don't affect phone's responsiveness

With terminal command "su" and "sclean" it's all automatic

We can do it

I read your efforts in many posts: in Twister it is not necessary (at least in my country) any modification for GPS: first fix with moving car about 4-5 minutes, second and other fixes 10 sec maximum

Ok, can you link me something also in pm?

I agree with many developers that antutu it is not reliable: however score with antutu is 1033

Little curiosity: are you "argentinos" on modaco?
[Miscellaneous Android Development] spkraul:
yes i am modaco's argentinos. i just had chosen different nickname here, but nothing to hide :)

about antutu maybe it is not the most accurate in the world, but it is one of the very few running on android 2.2. Vellamo, quadrant, geekbench etc demand android 2.3 or better or better gpu. But benchmarks are one of the best tools to measure ROMS speed, compare them and improve them. after all i haven't used cheats to achieve my 1035 score and you also the same for 1033 score. so since we are not cheating antutu it can show us quite reliable results.

About gps. standalone settings are nice for people using GPS very often. for people using it rarely maybe they need to wait 4-5 minutes every time. i had experienced this many times with both wm system and android system and this is why i decided to try and find ms-based settings.

but even with your standalone settings try to change accuracy from 50 to 19 and disable dynamic accuracy (samsung's recommended for i8000 chipset) and i believe you will see improvement on the locking times.

About MIUI based on CM6 download from here

http://www.mediafire.com/download/0q9ljaqmw0lyati/Miui_1.3.18v4_Formel-Cobrato.zip

consult here (but some info on CM7 based MIUI)

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

http://forum.samdroid.net/f63/rom-miui-gb-6342/

http://forum.samdroid.net/f62/rom-miui-gb-6349/

p.s. if you have free time please check this thread

http://www.modaco.com/topic/363230-android-rom-needed-for-base/

after cm6 for i8000 will be considered complete and not beta and we are very close to name a version "complete" :) this can be our next step - project CM7 for i8000. if one person made incomplete CM7 to run on i8000 we can improve it and run better
[Miscellaneous Android Development] spiderman1961:
Thank so much!!!

Very interesting: after my little holidays i will work on these informations and i will answer you. See you soon :)
[Miscellaneous Android Development] sergio_sos:
Hi, I'm going to try installing this ROM for the Omnia 2. It will be used by my girlfriend so I hope she won't have a hard time using it (I mean bugs or some things not working)

First of all I want to thank you gusy for developing for this phone, it is a good phone but with a wrong OS.

Now I have a couple of questions:

1. There is no other way than to install Ubuntu and using it for the specified steps?

2. Could you please post the exact size of the files inside the 7zip files? I don't want to have any errors during the installation. I have attached a screenshot of the files that I got after I unzipped the 2 7zip files, please check it out and tell me if that's ok.

Thank you again!
[Miscellaneous Android Development] spiderman1961:
Hi,

you may not use Ubuntu, but the system would be slower and could create some problems (the ext4 file system created by MiniTool is not exactly the same as the one created by native Linux with Ubuntu).

I suggest, with respect to the guide to make a linux swap partition of 250mb (not 200): it should prevent incidents of freeze.

The size of the downloaded files are correct: good installation.

Enjoy

Hola,

no puede usar Ubuntu, pero el sistema sería más lento y puede crear algunos problemas (el sistema de archivos ext4 creado por MiniTool no es exactamente el mismo que el creado por Linux nativa con Ubuntu).

Sugiero, con respecto a la guía para hacer una partición de intercambio de Linux de 250 MB (no 200): debe evitar incidentes de congelación.

El tamaño de los archivos descargados son correctos: buena instalación.

:good:
[Miscellaneous Android Development] sergio_sos:
Thank you very much for your response. I will try to install the ROM today (hopefully)

And thank you for the spanish translation. I thought you were from Italy :cowboy:

I am from Argentina.

Saluti!
[Miscellaneous Android Development] eisdrachen:
My phone hangs in "Jumping to Kernel..." what should i do?
[Miscellaneous Android Development] spiderman1961:
Hi,

you posted on 2 thread same question: wich version are you installing?
[Miscellaneous Android Development] eisdrachen:
Last time I tried the last Twister on my SGH-i900. Jumping to kernel... On every ROM
[Miscellaneous Android Development] spiderman1961:
This ROM si only for GT-I8000 Omnia 2

Inviato dal mio GT-i9001 con Tapatalk 2
[Miscellaneous Android Development] sergio_sos:
Hi spiderman!

First of all, thank you for this great ROM. I just finished installing it a couple of hours ago (little time because of work), and I see a very nice ROM with lots of features. Really impressive!

But I faced a problem, I have wifi working and many things that I tested are working but I cannot set the google account (it's my gf). I know that the email and pass are ok because I logged in in my pc. But I cannot log in the Omnia II, it says that it cannot connect to server.

Any ideas? Did it happened before?

Also I want to know if there's a way to be able to choose if we want to boot to WindowsMobile or Android when we reboot.

Thank you!
[Miscellaneous Android Development] spiderman1961:
On /settings/account/ you must flag data background.

To choose btw winmo and android you can use Gen y dual boot or Rapidboot

Inviato dal mio GT-i9001 con Tapatalk 2
[Miscellaneous Android Development] spiderman1961:
Until now I have only responded to pm.

I realized that this thread has completely depleted and deprived many users useful answers for the installation of the rom and related issues.

From this moment i will not answer more to pm, but only to sent posts

Thank you in advance
[Miscellaneous Android Development] xheretic:
Hi there!

Your guide is for the 2GB and 8GB Omnia2 versions...but I have a 16GB version ;)

Which changes I'll must to do?

Thx in advance and bye for now!
[Miscellaneous Android Development] ImmortalTekkers:
I am on the last step and I opened haret.exe from WinMobile, the files loaded up then a screen came up with a big red circle, red writing saying 'GHOST i8000' and some chinese writing. It is stuck at that screen.
[Miscellaneous Android Development] spiderman1961:
Hi,

according sepehrmrx experience here are partions dimensions for Omnia 16Gb

a 14070 MB FAT32 Primary Partition

a 1270 MB Ext4 Primary Partition

and a 337 MB Primary Linux Swap Partition

on startup.txt

CMDLINE "rootdelay=2 root=/dev/mmcblk0p2 init=/init"

Be careful:

/dev/block/mmcblk0|1pnumber

If SD card is inserted it's 1, if not it's 0. There is no way to guess it, You have to choose if You boot with or without SD.

If you want make logical partition i think that also p2 must be changed in p6 or other according ubuntu
[Miscellaneous Android Development] spiderman1961:
You must control, under Ubuntu which is name partition of ext4 (something like sdbX, where X is number partition).

According that you must change this line

Set CMDLINE "rootdelay = 2 root = / dev/mmcblk1p6 init = / init"

Be careful:

/dev/block/mmcblk0|1pnumber

If SD card is inserted it's 1, if not it's 0. There is no way to guess it, You have to choose if You boot with or without SD.

and pX is number ext4 partition under ubuntu

you must change X
[Miscellaneous Android Development] ImmortalTekkers:
Thank you for the response.

ext 4 is sdb6 which is already shown by rootdelay = 2 root = / dev/mmcblk1p6, so maybe that's not the problem.

I tried it again and I am stuck on the same screen, I can not turn the phone off, I have to wait a few hours for the phone to completely discharge out of battery then charge it again to turn the phone on again and use WinMobile.

Just to clarify step 12, 'Right-click on "ext4" and "remove" the partition'. There is only an option called 'dismount', I presumed that this is what you meant by 'remove'?

Also, I noticed that on step 21 this is the image on the guide:

In this image, on the highlighted part, is the first number '4'? Because for me on the previous step it is 4 but on this step it changes to 8 for me. Is this of any relevance?
[Miscellaneous Android Development] rocka1:
Hi, please check "mmcblk1p6" , on mine have to change it to "mmcblk1p7", number 7, like in ubuntun is showned
[Miscellaneous Android Development] spiderman1961:
Click on Thanks button to thank

You can remore battery to reboot

Yes

This is strange: partitions are logical or primary? Microsd and SIM are inserted during istallation?
[Miscellaneous Android Development] ImmortalTekkers:
The partitions are logical, SIM is inserted but I don't have a MicroSD card.

Also, when navigating to haret.exe on WinMobile, can the phone be disconnected from the computer or does it have to remain connected? Because while connecting by USB to the computer, I can not navigate to haret.exe because My Storage doesn't show on File Manager on WinMobile. But when I disconnect the USB, My Storage comes back and I can navigate to haret.exe

Ubuntu shows that ext4 is sdb6 (number 6) so mmcblk1p6 is correct.
[Miscellaneous Android Development] spiderman1961:
Phone must be disconnected to click on haret.

If you have no microsd, mmcblk must be mmcblk0p6.

This is cause of stuck

Inviato dal mio GT-i9001 con Tapatalk 2
[Miscellaneous Android Development] ImmortalTekkers:
Thank you so much Spiderman, it worked.

However, I saw the instruction to restart the phone, I clicked 'turn off' then I switched the phone on again and WinMobile came back. Then I ran haret again and this time I clicked 'restart' and WinMobile came back again. What do I do?
[Miscellaneous Android Development] spiderman1961:
You cannot restart automatically android: you must boot first WiMO, then click on haret.exe (we don't have bootimage for android) :)

If you want you can use RapidBoot or Gen y dual Boot to get semiautomatic android boot
[Miscellaneous Android Development] ImmortalTekkers:
That is fine, thank you so much for your help, very happy that I finally got this ROM working! :)
[Miscellaneous Android Development] spiderman1961:
Enjoy :)
[Miscellaneous Android Development] ImmortalTekkers:
Excellent ROM, everything is fast, internet works and you have done very well in maximizing battery life - I like the 2G/3G Toggle app, saves battery. I would recommend this to everyone who wants Android on the Omnia II GTI8000 Great work!

EDIT: I am having some problems with mobile internet, when I first installed ROM I set up the mobile internet and it was working perfectly but now it is not working. I think it might be after I setup Wi-fi, the mobile internet doesn't work anymore. I have turned off Toggle 2G/3G but it's still not working, always says no internet connection on browser.
[Miscellaneous Android Development] spiderman1961:
Be sure that on /settings/wireless/mobile network not flagged "use only 2g"
[Miscellaneous Android Development] ImmortalTekkers:
Thank you, internet works now. However, I now face a new problem - the screen was turned off then I tried to wake it up but it didn't respond, it won't wake up. I know the battery is not drained because it was charged recently and nearly full. I had to take out the battery from the phone to restart the phone.
[Miscellaneous Android Development] sergio_sos:
Phone freeze

My gf was using the phone for a couple of days now and all was working great, but then the phone freezed and there was nothing to do to wake it up (it stayed freezed on the homescreen)

I had to take the battery out but then when I tried to reboot, after the Twister 2 logo the screen goes black and it won't finish booting. I feel it vibrates every 30-40 secons, maybe triyng to finish booting but after 5 minutes I take the battery out again.

Tried severel times with no luck. So I installed the image again and it worked, but of course I had to install and set everything again.

Again my gf used the phone some hours (I installed image yesterday) and again the freeze and again the phone won't reboot into Android, only black screen like before.

How can I prevent this from happening again? Why Android is failing to boot?

Edit: I cannot see the sd card or internal storage running Android. I unchecked Debug USB but no luck (also restarted my PC)

Another thing: the two first intallations when I open the Play Store, all the preinstalled apps were there, now I don't have any apps to show. I cannot see the apps already installed like Facebook or Gmail, how can I fix this?

ps Sorry for all the questions, but my gf is making me crazy because his Omnia 2 is not working OK as I promised :silly:
[Miscellaneous Android Development] spiderman1961:
All you say seems to be general problem of files corruption ad maybe partitions...

So: reinstall official WinMo (JJ1 is better), this will restore original partitions.

Then repartition all following guide.

Then reinstall Android.

After second reboot of android perform system maintenance like written here

Repeat this maintenace for wipe cache, wipe dalvik cache and fix permission each week
[Miscellaneous Android Development] spiderman1961:
Perform system maintenance like written here

Repeat this maintenace for wipe cache, wipe dalvik cache and fix permission each week

If issue persist download setcpu form Playstore and set minimun cpu frequency to 133: it will drain more battery but should solve
[Miscellaneous Android Development] sergio_sos:
Thank you spiderman, I will try to install all from zero.

One question: the problem with Google Play Store not showing the pre-installed apps (Facebook, Root Explorer, etc) could be also because of corrupted files? I ask because in the first two installations all the apps were there, but only in the last installation they disappear. The files worked fine two times and then got corrupted? Or is it something else?
[Miscellaneous Android Development] spiderman1961:
Apps are not showed as installed in Playstore? But are they on phone?

If so is an account issue: try to delete data and cache from Playstore and Google services framework. If it isn't enough delete your database account, reboot and make again your account
[Miscellaneous Android Development] spiderman1961:
@ Jaharr

My storage is showed on file explorer as "storage". You don't need mount it
[Miscellaneous Android Development] nemogamo:
dear sir

can i skip the minitool part

just using gparted only ?
[Miscellaneous Android Development] spiderman1961:
If you have experience with ubuntu yes :good:
[Miscellaneous Android Development] mamatkool:
same problem with different issues!! help...

hi Spiderman,

I've got the same problem but this time its still can boot to android after the screen of 'GHOST I800' came out. I booted my phone with sim & microsd inside. even after several reboots, its still the same.

another problem is when the backlight goes out, the phone wont wakeup anymore. waited for a long time but the phone still had no respond. to boot the phone i've to take out the battery. again i try to boot android & its the same problem, won't wakeup if the backlight has turn off.

hope got answer from u asap...
[Miscellaneous Android Development] spiderman1961:
Sorry i didn't understand: android does boot or not? If boot what does happen after?

Maybe anything went bad on installation...control pease an tell me
[Miscellaneous Android Development] mamatkool:
android does boot but after the screen 'GHOST I8000'. evrytime i booted android the 'GHOST I8000' came out 1st then android boot as usual.

the other prob is, my phone stuck when the screen off. means, when backlight goes off, it stuck there and wont turn on...

i've try to uninstall & reinstall the rom again & again but the probs still there..
[Miscellaneous Android Development] spiderman1961:
Android "must" boot after winmo: haret.exe unload completely winmo and point to kernel's splash screen with GHOST. It's normal

After first installation do you reboot again before use phone?

Which partition did you make logical or primary and which dimension?

Did you install on my storage or storage?

Which omnia do you have: 2gb/8gb/16gb?

Which version of WinMO?
[Miscellaneous Android Development] mamatkool:
i've followed all ur guide step by step. after the 1st boot complete, i reboot the phone. wait for winmo fully booted -> click haret.exe -> GHOST I8000 screen came out -> the twister bootanimation -> lastly android boot for the 2nd time.

i've 8gb omnia2 with wm6.5 pro stock rom and install android to 'my storage' with this partition:

fat32 - logical - 6386mb

ext4 - logical - 1250mb and

linux swap - logical - 200mb.

disable my intenet & antivirus be4 install.

is there any missing steps that i didnt follow?
[Miscellaneous Android Development] spiderman1961:
Please post screenshot of partitions...

Winmo is jh2?

Sent from my GT-I9001 with Tapatalk 2
[Miscellaneous Android Development] mamatkool:
[MENTION=394595]Spiderman[/MENTION].... sorry to bother u with all the above probs. thanks alot for ur kindness helping me to solve the problems...:) i've decided to format my omnia & use cooked rom: I8000NXJJ1 Lite build 21916 rom build by bobfrantic (thank bro)... after finish formatting, i try again to install ur rom & puff!!!!... the problem solve accept 1, the GHOST still there.. actually the screen is bothering me but nevermind of that. atleast ur rom works find now in my omnia & thank alot cause bring my omnia life back with android rom eventhough its just a ported 1.

keep up the good work... will wait for 2.3 rom if there is... :D
[Miscellaneous Android Development] spiderman1961:
Enjoy:)

Click thanks button to thanks

Sent from my GT-I9001 with Tapatalk 2