yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] ibm9001:
I am using CM9 on my SGS2. I have been flashing the nightlies for months. But I wanted to give CM7.2 a shot so I tried flashing that. But it gave me a boot loop. So I reloaded CM9 using Odin, re-downloaded CM7.2, checked the md5 and tried flashing again... same result. So I tried a couple of other GB ROMs and I got the same result. So I thought maybe the problem is CWM and I tried flashing a stock Samsung GB firmware but I got a boot loop again... but I have successfully flashed an ICS firmware, CM9 and MIUI4 since then. I can only use ICS ROMs.

So the problem must be my phone. Can anybody suggest what the problem might be or suggest a way to fix this? My phone works perfectly otherwise.
[Galaxy S II Q&A, Help & Troubleshooting] ZACQ8:
are you trying these with full wipe before and after the installation
[Galaxy S II Q&A, Help & Troubleshooting] rocky23:
+1 @ zacq
[Galaxy S II Q&A, Help & Troubleshooting] atifsh:
simple answer format system partition and will not bootloop for sure :)
[Galaxy S II Q&A, Help & Troubleshooting] ibm9001:
deleted
[Galaxy S II Q&A, Help & Troubleshooting] ibm9001:
Yes. When I wipe afterwards I get kernel panic upload mode.
[Android Q&A, Help & Troubleshooting] mackief:
Hi guys. I've tried to make a cleaning dalvik-cache script.

It contain only:

#!/bin/bash

rm -rf /data/dalvik-cache/*

Is it wrong?? Do i have to include something else??
[Galaxy S II Q&A, Help & Troubleshooting] ishay_maimon:
update-cm-9-20120514-NIGHTLY-galaxys2-signed.zip ? .

ty ! .
[Galaxy S II Q&A, Help & Troubleshooting] MistahBungle:
CM9 discussion thread. Main things still not working that I'm aware of are TV out, WiFi direct (may have been fixed recently; don't know for sure as I don't use it. That thread will tell you for definite) and FM radio is not working natively (tho there are 3rd party FM radios that work).

Anywho, check the thread & links on the first page to answer definitively.

Edit to add - That orientation sensor issue in the known issues has been fixed; that page is 3 weeks old. There was an issue with that for about two weeks around that time. WiFi Direct has either just been fixed or about to be in next little bit.
[Hero, G2 Touch General] brat.haneq:
Hello everyone

I noticed that Desire C was introduced.

It's hardware looks very similar to our old Hero.

I'm curious, would it be possible to port ICS + Sense. Not sure about the ARM (6 or 7?)on the Desire, I remember that this caused problems in the past.

What do You guys think ?

Cheers!

brat.haneq
[Hero, G2 Touch General] 1ceb0x:
I think that it's not possible. We have from where to port ICS - Eris, HeroC.

But why did you do a thread in Development Area?
[Hero, G2 Touch General] brat.haneq:
Hi there

Yeah, it should be general or qa section, I was so hyped by the possibility of port, that I posted without thinking.

Sorry about that, can someone move this thread to aproptiate section?

Cheers

Brat.haneq
[Hero, G2 Touch General] lolo7291:
I don't agree, I think this could be possible for many reasons. But what I can say is that if the devs of the Samsung galaxy ace are capable of porting sense 4 to their device, I see no reason ( except ram) that could make us think that the port is impossible

To finish, many people say that ics is in a way lighter than gb, in general. So there is only a sense port remaining.

But as the specs are quite similar...why would it be impossible?
[Hero, G2 Touch General] slobo2712:
I think this will be same like with explorer sense 3.5,it will be ported sooner or later...
[Hero, G2 Touch General] lolo7291:
That's exactly what I thought about

I like you slobo lol
[Hero, G2 Touch General] 1ceb0x:
lol, gay! =)

jk.

in other hands, there are few devs left on the old hero. who will port it? no one!
[Hero, G2 Touch General] stritfajt:
Guys, the DesireC is the Eris. Or have I missed something?

The DesireC doesn't have a Sense ICS build, they have an AOSP build. Our AOSP build is ported from theirs.
[Hero, G2 Touch General] BeatsByMessi:
the Desire C is a brand new phone :D heres a youtube video http://www.youtube.com/watch?v=yJFsC08IZoQ
[Hero, G2 Touch General] slobo2712:
This is only for developers if they still have here :) RUU from desire c

DOWNLOAD
[Hero, G2 Touch General] stritfajt:
I'm taking a look at it right now :)

Edit: Weird. system.img is 798MB large and I can't seem to extract it... Where did you find this RUU?
[Hero, G2 Touch General] slobo2712:
I found it here http://xdaforums.com/showthread.php?t=1658056 there is guy who extracted it with ext2explore in kitchen,but yes that will be problem it's relly large srecno :rolleyes:
[Hero, G2 Touch General] nickholtus:
extracted it:)

all files together are about the 470mb

EDIT: removed a lot (apps) now it is 297mb:)

will try to remove some more files..
[Hero, G2 Touch General] aleksandar.1:
hoho :D This forum is incredible :) Everybody together we have infinite intelligence.... Limits exist only in our mind ;)

I greet your work, developers :D
[Hero, G2 Touch General] lolo7291:
yes, I think we're not a lot on this forum but we know we're a good team together ^^,

Look, personally, I would never have thought that ICS would work on our little hero.

But if it runs as smooth as i'd like it to be, I think I would reconsider the fact I want a one x :)
[Hero, G2 Touch General] harut56:
Can't deodex it :(
[Hero, G2 Touch General] nickholtus:
why not.

change api level to 15
[Hero, G2 Touch General] lolo7291:
Why deodexing it? It's already deodexed for most apks

I'm trying to cook it a bit but this ROM is so HUGE!!

I just can't believe it would be possible to flash it in system/app

I think we'd better try to have as a base the modules from the working ICS, shouldn't we?

----------------------

EDIT 1

Hey hey!! I cleaned up the System/app folder and now it's size is...144MB...without mail, and without calendar...what a shame!!

But System/ stills 376MB...we're almost there!!

We need to be less than approximatively 190MB (accepting the fact that we will need custom mdt partionning)
[Hero, G2 Touch General] stritfajt:
I got the whole /system down to 270MB. But I had do delete quite a lot of APKs... I don't have time to work on it more right now though, maybe later. :)
[Hero, G2 Touch General] slobo2712:
I got rom size araund 160 mb but can't install it,i think problem is in update - script maybe...:confused:
[Hero, G2 Touch General] lost101:
Here is a video review showing how ICS runs on this device: http://www.youtube.com/watch?v=0subD1L9y2U
[Hero, G2 Touch General] lolo7291:
As for me, framework folder and library folders are too big for our service, it needs to be odexed to leave us space on system partition

But I'm not that confident with my device lol

But if we manage to do some thing to make it work, this could be just awesome.

Giving you the list of apps to remove tomorrow
[Hero, G2 Touch General] slobo2712:
deodexed rom,removed all unnecessary apps and libs(like i saw from guys from wfs),removed all unnecessary hdpi folders from apps and got size araund 150 mb but can't got to boot him just back me to recovery,probably problems with permissions or libs but that is out of my knowledge :confused:
[Hero, G2 Touch General] lolo7291:
what are the libs remaning or you removed?

Same with apps
[Hero, G2 Touch General] slobo2712:
this is copy from wfs thread but we can delete more apps

LMW.apk = low storage mode wizard / not needed when managing through settings

MySketcher.apk = sort of quick note app, writing with your finger

MyTask.apk + MyTAskWidget.apk = to do app from HTC with location reminding / Maybe integrated with Sense account?

SetupWizard.apk = not needed on HTC ROMS, HTCSetupWizard does the thing

Trimit.apk = trim your custom ringtones (not really necessary for me, do this on your pc)

HTCRingToneTrimmer.apk = WTF, same as previous

Updater.apk = OTA HTC updates, not needed when porting I guess

Videos.apk = also in CM9, create home videos

ChromeBookmarkSyncadapter.apk = sync bookmarks with google chrome browser on your computer

ShowMe.apk = HTC online video and book store?

Keyboard dictionaries? together around 10 MB

AppSharing.apk

Flickr.apk

HtcStore.apk

MyDropbox.apk

MyHTC.apk

MyReportAgent.apk

MySkydrive.apk

(gmail, youtube, maps, google plus) and PolarisOffice, Soundhound, Facebook, Adobe Reader, Talkback...

libnativedocviewer.so needed for PolarisOffice

libadobereader.so needed for adobe reader
[Hero, G2 Touch General] nickholtus:
can you upload it?

which kernel did you try?
[Hero, G2 Touch General] slobo2712:
i used Las_Venturas 1.0RC3 relly can't upload it my connection is big sh** 3072/386 upload would last for years :(
[Hero, G2 Touch General] ras.mastav:
Does everything is working? Try upload that, please. Maybe by torrent or something.
[Hero, G2 Touch General] :
Could you upload your update-script?

I could remove the APKs and libs you mentioned and upload it here :)
[Hero, G2 Touch General] lolo7291:
As slobo said, wfs devs are also working on it (I can't wait to see who will reach first ^^)

As for me, I'm trying to crush the png's of each app

This take a while but it will reduce the size of apps like aluminum (1.8 to 1.4 MB)

Aluminum is the main skin files

I removed as many apps as possible but it's not deodexed for the moment, will upload my result when i'll have :

-pngs compressed

-deodexed rom

After this, it will be the time to mess around with libs and files related to OUR device

I'll also try to remove the images related to other devices resolution (hdpi xhdpi...)
[Hero, G2 Touch General] slobo2712:
Here is my updater script but as i told i geting bootlop and back me to recovery so if someone can make this script to work here is
[Hero, G2 Touch General] lolo7291:
I see no error at first saw...

to make it boot, try to replace files according to this tutorial(use those from working hero ics)

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

and use binaries from working hero rom (it's something important because that tells how to do the commands in the script while flashing)
[Hero, G2 Touch General] nickholtus:
ok, i need cwm 3 or higher.

cwm 2.5.0.7 won't fully work:(
[Hero, G2 Touch General] slobo2712:
I think chance for problem in libs are 20 % ,in updater script(permisions) 70% :):) bec i replaced all like in tutorial....
[Hero, G2 Touch General] lolo7291:
Hey guys, here is all the work I've done so far on this port.

I've removed many apps, compressed all pngs, odexed the rom and added all the supports for our device

I've got some informations not correct in buid.prop relative to bluetooth (see it yourself)

The libs are really a huge folder

I removed some(but not all) new sounds like ringtones and alarms

I moved some apps to app partition

2 apps are remainig with .odex files, I don't know what to do with it

some apps have weird names such as : ContactsProvider+CRC_GolfU.apk

devs on wfs chose to remove +CRC_GolfU on the names...but I wonder if their is links between the apps including this "+CRC_GolfU" in it...

Now, system partition is 268MB!!!!!!!

This is great, but there are also 36 MB in app partition, so it's too heavy for our device...(unless we use a huge sys partition...)

I don't know what else we could do to reduce the size of this ROM.

I have only ONE idea : AP2SD

Indeed, if we can do AP2SD, we wouldn't have to care about mtd partitionning or whatever, only partitionning the SD CARD.

So I asked LV1.2 dev his help about it but feel free to try whatever you want with the job I did for now

NOTE IMPORTANT : the updater script is not modified so the ROM may be impossible to flash(even if apps are moved to sd via system/sd folder)

Link to my work so far :

http://min.us/mUAT92usl

PS : if someone could explain me how to use github, I'd like to use it to make it a base for the dev of this rom...and thus we could create a new topic, just like devs on wildfire S did.
[Hero, G2 Touch General] harut56:
This is my update script,remove .zip extension.Rom installs,but I get bootloop on bootanimation.Hope can fix it soon.Also I used custom mtd with 265 4 values,it solved low space problem
[Hero, G2 Touch General] nickholtus:
what did you delete/add??

btw. maybe we can port from desire?
[Hero, G2 Touch General] slobo2712:
bec you are best now with port(come to botscreen) :) can you upload rom somewhere so we can work together on same
[Hero, G2 Touch General] lolo7291:
I don't know about desire, I'm just looking sometimes at the work done on the wfs(example : they look in any app the files related to other dpi and delete them, and thx to them I have the index of all apps to change XD)

Ok, for the moment, I removed :

7digital3.0

adobereader

aluminum--------moved to data/app

appsharing

bookstablet

calculator--------moved to data/app

calendar--------moved to data/app

chromebookmarkssyncadapter

dropbox

facebook

facebook_client

facebookEngine

flickr--------moved to data/app

flickrengine

fm_radio

fmradioservice

friendstream

fusion--------moved to data/app

gmail

gms_maps

htc_widgetshowme--------moved to data/app

htcalbum--------moved to data/app

htccompressviewer--------moved to data/app

htcdropboxviewer

htcfeedback

htcfriendstreamwidget

htcmailwidgets

htcmsgswidgets

htcmusic--------moved to data/app

htcmusicwidget

htcphotoenhancer--------moved to data/app

htcphotowidgett

htcsetupwizard--------moved to data/app

htcstore

htcstorewidget

htcstreamplayer

htcsync

htcvideoplayer

htmlviewer--------moved to data/app

imext9* (except french, spanish, german, english)

installflashplayer

mydropbox

myhtc

myreportagent

myskydrive

plusone

polarisoffice

sdcardwizard--------moved to data/app

setupwizard--------moved to data/app

showme--------moved to data/app

soundhoundfreemium

street

talk

talkback

taskmanager--------moved to data/app

teeter

transfer

trimit

tunein

twitterengine

videos--------moved to data/app

weather--------moved to data/app

weatherwidget

youtube

Hum...once this list done...I see some mistakes like flickr engine missing

Moreover I forgot about videos, it's useless compared to htcvideoplayer...

I think we still need a github to mod the rom all together
[Hero, G2 Touch General] nickholtus:
i have github.

only still don't know how to push files:P
[Hero, G2 Touch General] lolo7291:
welcome to my life XD
[Hero, G2 Touch General] slobo2712:
+1 :))
[Hero, G2 Touch General] lolo7291:
Don't you think 4 is too short for cache partition with a sense ROM ?
[Hero, G2 Touch General] harut56:
Armsense works great with same patritions,also I do png compression and now system/app patrition is about 70mb,with almost no app removed,just moved updateable crap like DB,facebook,office etc to data/app.Also camera app won't deodex normally.
[Hero, G2 Touch General] slobo2712:
harut did you know anything abt github so we can work togeder on same rom?
[Hero, G2 Touch General] lolo7291:
So far, you seem to be the one that better advances on the port (hey hey, you got it booting!!) congrats!

Could you upload the work you've done so far to let us try to cook it to see what's wrong?
[Hero, G2 Touch General] faZevoLv:
When i try to install this i get an error:

assert failed: write_raw_image("

/tmp/boot.img", "boot")

(status 7)

Installation aborted.

Anyone know how to fix this error?
[Hero, G2 Touch General] harut56:
It means,that kernel is not for our devices
[Hero, G2 Touch General] :
Are you guys sure that the Desire C uses a ArmV6 CPU? I haven't really found any information that confirms this.

Might be good to look up before we spend too much time on this :p
[Hero, G2 Touch General] lolo7291:
for those willing to help out the other devs on the wfs (I hope we can reach the goal before them^^)

Here is their chat :

http://webchat.freenode.net/

#wfsdevteam

And also their github (they grabbed some of our libs!! without telling us!! what a shame!!!:))

https://github.com/wfsdev/marvel-golf-port

HARUT, please leave us some some base!! I beg you!(I love updater script and build.prop filees!!)
[Hero, G2 Touch General] slobo2712:
Lolo you are totally right.. :) , stritfajt i think it is arm 7
[Hero, G2 Touch General] faZevoLv:
Thanks, it installs, but gets stuck on hero screen, how did you get it to go to the boot animation? could you please upload your work.
[Hero, G2 Touch General] lolo7291:
according to wiki, it's an armv7 with adreno 200, just like the explorer....

it makes me thoughtfull
[Hero, G2 Touch General] benjamingwynn:
We think the problem lies in kernel.
[Hero, G2 Touch General] lolo7291:
I trully believe in LV 1.2 kernel (because it's from htc one X and from a great kernel dev :p)

so maybe it can be good for hero...what do you think?(you means anyone)
[Hero, G2 Touch General] slobo2712:
In kernel i swapped zImage with zImage from LV 1.2,and renamed some .rc files in ramdisk from golfu to hero.But again can't boot just stay on white splash screen forever....??
[Hero, G2 Touch General] 1ceb0x:
LV kernel 1.2 it's not from One X!!!!!!
[Hero, G2 Touch General] lolo7291:
Yes, I know, it's not from the one X but some of its code is from this device...if I'm right :-)
[Hero, G2 Touch General] 1ceb0x:
I don't actually think so... but then again, I could be wrong with this.
[Hero, G2 Touch General] faZevoLv:
from what I've read in this thread, I take it that there isn't much chance of this Rom booting.
[Hero, G2 Touch General] 1ceb0x:
maybe a Boot2Gecko will be much more interesting than this :D!
[Hero, G2 Touch General] faZevoLv:
I'd love for that to work! But i have no experience in downloading the source code and stuff, maybe stritfajt will?
[Hero, G2 Touch General] 1ceb0x:
I saw the Nexus build of Gecko.. It is a bit different from what I've seen. I don't think you will need to resize stuff to get it working.. I'm curious if I can make it boot if I make a port :)
[Hero, G2 Touch General] faZevoLv:
Cant wait to try it;)
[Hero, G2 Touch General] 1ceb0x:
Me too.. But don't get too excited :)! I don't think that I can pull that one out by myself!
[Hero, G2 Touch General] faZevoLv:
Im downloading it now, will take a look at it tonight:)
[Hero, G2 Touch General] :
I'm compiling it right now actually!

However, I don't have too much spare time right now, so I won't be able to work too much on it if I can't get it compiling or booting :)
[Hero, G2 Touch General] 1ceb0x:
you are compiling from source? me and jordfaz are looking at the nexus port.. and it's quite big for the hero... like 260 mb. too big for the internal memory actually:(
[Hero, G2 Touch General] slobo2712:
logcat not working on the boot problem is definitely in kernel
[Hero, G2 Touch General] :
But the nexus is also ARMv7?! We have to either find a way to compile it from source, or find another ARMv6 device that already have a build.

It should be possible to build it for Hero, but I got some errors today. I don't really have time to look into them at the moment but I might pick this up again later!
[Hero, G2 Touch General] 1ceb0x:
unfortunately is an ARM Cortex8 1gh processor...
[Hero, G2 Touch General] faZevoLv:
We should be able to port boot2gecko from the nexus, because the ARM cortex8 processor is based on ARM7, and to port from ARM7 to ARM6 you need to

I would try it, only I havnt set up logcat:(
[Hero, G2 Touch General] 1ceb0x:
Make me a port and I'll make the logcat :D!
[Hero, G2 Touch General] faZevoLv:
I would, only I'm still out :rolleyes:

I'll have a crack at it tonight;)
[Hero, G2 Touch General] 1ceb0x:
You are aware that the nexus build2gecko has 250mb+? So it will be impossible to flash like that. You will need to resize everything and get rid of stuff that will not be indispensable.

^ It is a lot of work to do... Stritfajt said that he is in the process of building from source but he hasn't posted since then...
[Hero, G2 Touch General] faZevoLv:
Well then all hope of this booting is on stritfajt then...
[Hero, G2 Touch General] 1ceb0x:
That's what I've thought! :) We can still make it if we remove all the preinstalled apps which are 100mb or so... But I will not make it until I get a new phone because I don't want my Hero to die on me for too much flashing...
[Hero, G2 Touch General] faZevoLv:
haha, same here ;)
[Hero, G2 Touch General] dudeman1996:
Bump ;)

Coming from the Wildfire S forum, I think that instead of competing for who should get it booting first, we should work together to get it booting for each devices. If you're interested, join us in #wfsdevteam in Freenode, the more devs working on it, the quicker the port will happen! :)
[Hero, G2 Touch General] harut56:
Well,actualy developing on hero side is stopped(or something like that) I think we should ask idogx for help
[Hero, G2 Touch General] benjamingwynn:
Bump again?

Over on the Wildfire S we have it booting to logcat, but we are failing with some network **** in framework. If you are experienced with this then please help us.
[Hero, G2 Touch General] lolo7291:
Maybe it's a useless question : have you any history of all the things you all did to create you flashable ROM?

By the way, I always had a question on my mind : what about the buttons from a device to another with a port? (especially with htc ics with the multitask button, just like the one family)
[Hero, G2 Touch General] dudeman1996:
You mean like a step by step of what we did?

I think I'm right on this, but there's a file which contains info about the key layout on the device (hard and capacitive buttons). Android loads this, and knows whether to display the soft buttons on the screen or not. It also knows which capacitive button is which.
[Hero, G2 Touch General] 1ceb0x:
That behavior is present in HeroICS 4.0.3, to trigger it you must press and hold the Home button, but since the GPU on our hero is so tiny, the thumbnail of the programs that are running in the background, are not showing, those are just black boxes.
[Hero, G2 Touch General] benjamingwynn:
A record of everything we've ever done is here: https://github.com/wfsdev/marvel-golf-port/commits/master
[Hero, G2 Touch General] faZevoLv:
Have you had any luck? I can't wait any longer:D
[Hero, G2 Touch General] dudeman1996:
Weelll like I said. When we make progress, we'll make a post to let everyone know :):):)
[Hero, G2 Touch General] faZevoLv:
Sorry, stritfajt was compiling boot to gecko from source and I wondered if he had done it yet as he said in his post :)
[Hero, G2 Touch General] dudeman1996:
No, that's my apologies. I posted that thinking it was the thread in the Wildfire S section. Sorry!
[Hero, G2 Touch General] axel199513:
Any news guys???:)
[Hero, G2 Touch General] lolo7291:
For the moment the port is not ok

It is abandonned since they can't port from armv7 to armv6 easyly without HTC source codes etc

So, if anyone can port from armv7 to armv6, then the project can reborn.

But for now, it's pending help
[Hero, G2 Touch General] faZevoLv:
Please could you help me.

I've tried porting from the wildfire s to my HTC hero, but it never gets to the bootanimation:/

If I knew how to port from the wfs I could try to get the sense 4 rom booting (I have a lot of free time).

thanks:)
[Hero, G2 Touch General] lolo7291:
The fact is that htc golf(Desire C) is an armv7 device.

WFS is armv6 so it's "quite easy" to make a port from this device.

But they didn't manage to get it boot on the wfs

If you want to try it out, just take a look at :

http://xdaforums.com/showthread.php?t=1591878&page=3How to port from armv7 to armv6

You can use as a base all the work done by the wfs devs.

Don't forget that all they've done so far is related to their device, so try to do the same for our device and it should be quite ok to use as a real base
[Hero, G2 Touch General] faZevoLv:
I know that, I just need to figure out how to port from the WFS so that I can boot the sense 4 ROM to bootanimation, then from that I can logcat and try to fix any issues.
[Hero, G2 Touch General] dudeman1996:
It wasn't easy at all, and we don't even have it booting... We don't have sense ICS libs for armv6, so we can't get any further without source. :\