Porting problems?? - Hero, G2 Touch General

I am trying to port (for the first time) it boots to animation (although all i can see is a black screen) wondered if anyone can help me understand it?
http://pastebin.com/iL6THqHN <---- Logcat for boot
http://pastebin.com/jySbuhDz
Thanks

What are you porting?

sense 2.2 from espresso.im using the 2.2 sense port as a base also tried lots of other roms as a base

You'll end up with a not-working camera in the end anyways.
Try and use the libs from ChocolateFroyo, you might get it working.

Thats exactly what i tried :/ dont get any display on the screen..Oh well will keep trying!

Not ALL the libs.

Tried it with the kitchen using port tools

Related

possible to port over samsung moments 2.1?

ok samsung just got their 2.1 leak
http://www.engadget.com/2010/04/08/eclair-shocker-android-2-1-leaked-for-samsung-moment/#comments
is it possible to somehow get this on the hero? like complete transfer, with no sense etc...
Already talked about.....
http://forum.xda-developers.com/showthread.php?t=660179
Have are own leak who care's just adding more of the same posts. If you must have it go to the market and download home switcher and switch to stock android launcher. There now you have the moment leak.
DO A SEARCH
chippillie said:
Have are own leak who care's just adding more of the same posts. If you must have it go to the market and download home switcher and switch to stock android launcher. There now you have the moment leak.
DO A SEARCH
Click to expand...
Click to collapse
1. you are being unnecessarily rude.
2. yes there is a post on this already.
3. I am working on getting a port of this to boot tonight.
obelisk79 said:
1. you are being unnecessarily rude.
2. yes there is a post on this already.
3. I am working on getting a port of this to boot tonight.
Click to expand...
Click to collapse
Your a **** I was about to go to bed!
But I am still going to bed, drop me a PM if ya need any help on this would love to try it out!
Roman
Seriously not worth the time to port it. You'll end up with virtually the same functionality as Darchstars AOSP 2.1 build. Depending on what kernel your using if you use 2.6.26 then camera and video recording aren't going to be possible and I'm afraid that if you use the leaked HTC 2.6.29 kernel your going to run into problems with the touch screen since HTC has a non standard power management implementation in that kernel that doesn't play nice with android and the touchscreen even though getevent will show screen presses from event1. Unless someone has the source for that 2.6.29 kernel so you could revert the changes. The only good that might come out of the leak is functioning mms and visual voice mail.
I'm merely doing a straight port, going to get it to boot then release it for someone else to mess with.
I'm just saying that for others just because it's a phone from sprint doesn't meant that it's magically going to work. Some people here understand and some don't. It's not impossible port it just that it's not going to be fully functional when it is ported. Your working with something built for different hardware. Sure you can swap the libs to get it going but you'll end up with something we pretty much have already in the AOSP 2.1 build.
I gave in to temptation and I'm working on it too. Converting the factoryfs.rfs is taking forever.
I wasn't able to find a way to convert them... I'd love to know how, but I managed to find a system.img someone dumped shortly after the leak was posted. Thats what I've been working on.
Link? Cause this is taking forever. It's a ruby script I'm using.
http://www.mediafire.com/file/0ncjzjnymzm/Moment 2.1 DD03 System Dump.zip
thanks. i attached the ruby scrips that convert the rfs to a mountable vfat image.
pretty fresh build from 04.03.2010
awesome... I just need the ramdisk from the leak to get this booting now.
Did u try using the ruby script to extract rootsfs.rfs? The init.rc might be in there. Unless there is a boot image floating around the web that we can extract and use.
Havent tried it yet

Dependencies/Structure of Sense ui?

1) I want to know, what parts of sense are device specific?
2) Is a new kernel needed to port it?
3) What dependencies does rosie.apk have?
4) To anyone that has ported it, what was the general process?
On samsung i5700 btw
Thanks
i too would like more info. There has to be a better way than the way of just trial and error. for the windows mobile of Sense, a couple of devs developed a SDK to actually program sense based roms and not just hack
would be interesting to see something like this come to android
crowstar said:
1) I want to know, what parts of sense are device specific?
2) Is a new kernel needed to port it?
3) What dependencies does rosie.apk have?
4) To anyone that has ported it, what was the general process?
On samsung i5700 btw
Thanks
Click to expand...
Click to collapse
crowstar said:
1) I want to know, what parts of sense are device specific?
2) Is a new kernel needed to port it?
3) What dependencies does rosie.apk have?
4) To anyone that has ported it, what was the general process?
On samsung i5700 btw
Thanks
Click to expand...
Click to collapse
#1 You dont see SenseUI on non HTC devices because drivers just dont match up. Its difficult to port from one htc phone to another, imagine porting from HTC to Motorola (although it is being worked on)
#2 I have used non sense kernels for Sense ROMS and there are some overclock kernels that are universal for all ROMS (for a specific device). Im not sure about all kernels.
#3 WOW this is a big one. The list is too long to describe haha. The Sense UI runs deep down from the framework to system files and you wont be able to simply drag a few files over to a NON sense ROM and make it run. The reason you don't see sense widgets floating around on non sense ROMS is because they reference back to other system files and images in the framework. Ok so SOME sense apps like the keyboard can be ported over because all dependencies and files run within the application so thats ok. I know the widgets are a no go for the most part.
#4 Cant help you on that one. Never ported one completely but Ive modified already ported sense ROMS.
I don't know about Sence, but my Liquid has a lot of changes in system libs and frameworks. But from the visual side of things - it is stock Android. So Sense should be even more intrusive.
Nothing is impossible - just take dissassmbler, debugger and plenty of time to accompany you.

Stock Epic Dialer?

How do I use the stock epic dialer on Viper ROM? I don't really like the black theme and was just wondering if I could revert just the dialer?
Thanks
gokuman56 said:
How do I use the stock epic dialer on Viper ROM? I don't really like the black theme and was just wondering if I could revert just the dialer?
Thanks
Click to expand...
Click to collapse
Greetings all I'm brand new to the community..
I would love to see more themed dialers, in addition to the above requests. I did a good 30 minutes of searching through various posts as well.. Only to find two specific threads regarding dialers
By: idkwhothatis123 and jbadboy2007
One spoke of FC with some contacts button or something..
The other threads mentioning themed dialers led me to believe there would be more..
I'm either missing something. or I'm missing something??
Might any body point me in the right direction of were I could check out some themed dialers? Purtty please?
I'm running (this took me 2 days of getting my hands dirty!!!)
Epic: running Viper Trinity 3.03 and..... MY GPS works!!!!!!!!(20 hours and every version of firmware to get it that way.. )
But no I'm all warmed up and ready to go.. LOL..
Regarding a themed dialer.. I'm not just making a noob request.. I'm made the decision to start learning how to develop. Yay for me.. ( I have a programming bg and am excited to get started.. )
I'd love to replace the trinity dialer though in the mean time.. Jeeze Goat.. talk much?
Thanks all
I'm not sure which build that version of viper is on, but ideally, u could download any compatible theme. Then download the acs deodexed dk28 ROM. the dialer, alone is system/app/phone.apk.
What i would do is, open both theme and acs rom with 7zip (on computer), then drag the phone.apk into the theme folder.. then save, copy to sdcard, and flash normally.
Dialer
Thanks man for the quick reply..
I'm running SPH-D700-DK28-Extended-D
I believe that should suffice. Don't know what deoxed means yet. but I think my version is "deoxed"..?
So what I'm gathering is I can just grab any compatible theme copy it's phone.apk in to the the DK28 build that I'm using.. and re-flash?
That would mean I would then need to reflash the ROM right..
My understanding is that reflashing with a DK28 build will kill the custom ROM(viper)..
I'm having a sneaky suspicion that this should be in the devlopment section.. and now I'm thinking I need to do more homework.. Hmmmm
on another note.. I just d/l Viper Store from market.. they have some custom dialers for dl.. I'll try one of those..
However.. only one of them is available for d/l from my phone as the other 3 require one to use the multiupload link provided.. which strangely enough doesn't work on my(oranyone's?) Epic..
Ahhh so many little issues..
Thanks for you help

[THEME][MOD]Gingerbread theme for 2.2.2

First off, all credits to adi4motion for the wonderful theme - http://forum.xda-developers.com/showpost.php?p=11336219&postcount=1
Made a few changes to the original theme to work on Nessy 2.2.2 ROM.
Should work on any deodexed 2.2.2 ROM's.
gingerbread_nessy3.zip
Should that give you any problems, try the version by ungaze.
Gingerbread for 2.2.1 and 2.2.2 - version by ungaze.
Keep rebooting on my nessy Hypnos2.........
Samhain77 said:
Keep rebooting on my nessy Hypnos2.........
Click to expand...
Click to collapse
Hmm,
Re-uploaded the package. Created this one with the files on my phone, which are perfectly working with Nessy Hypnos2.
abhinandh said:
Hmm,
Re-uploaded the package. Created this one with the files on my phone, which are perfectly working with Nessy Hypnos2.
Click to expand...
Click to collapse
thanks I'll give it a try and let you know..
While it works, I did not see any changes to adi4motion's work.
Would be great if you could list the changes you made.
socialdistortion said:
While it works, I did not see any changes to adi4motion's work.
Would be great if you could list the changes you made.
Click to expand...
Click to collapse
Original theme does work on 2.2.2 but reboots the phone when volume keys are pressed in landscape mode. I did not change any of the theme elements.
Replaced services.jar from 2.2.2 after changing the clock color to black
Changed the reboot and recovery functions to work with 2.2.2
As stated, all credits to adi4motion for the theme.
It doesn't work for me.... it keeps rebooting like the first version.... I'm running Hypnos#2.... only thing changed is a2sd enabled but I don't think it could be the problem...
Works great here, nessy hypnos2, thanks abhinandh
adi4motion's gingerbread theme only works flawlessly for android version 2.2. 2.2.1 and 2.2.2 need a different framework and things like that to work without crashing(specially the dreaded volume down bug). I can share my version of it if TS would allow(as posting the link immediately would be like hi-jacking this thread IMO, I can't test TS's link as I am still running a 2.2 based rom ATM.).
ungaze said:
adi4motion's gingerbread theme only works flawlessly for android version 2.2. 2.2.1 and 2.2.2 need a different framework and things like that to work without crashing(specially the dreaded volume down bug). I can share my version of it if TS would allow(as posting the link immediately would be like hi-jacking this thread IMO, I can't test TS's link as I am still running a 2.2 based rom ATM.).
Click to expand...
Click to collapse
No problem mate, do post your version. Will add the link to the OP.
Sent from my LG-P500 using XDA App
abhinandh said:
No problem mate, do post your version. Will add the link to the OP.
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
Sure, here you go:
GB theme for 2.2.1 & 2.2.2
This is a hackish attempt to make the GB theme + power menu work for 2.2.1 and 2.2.2 ROMs. I could probably fix the inverted reboot and shut down power buttons, but that would probably need to wait(for free time).
PS. please use the original link provided when redistributing. Thanks.
@ungaze I can see that you have used 2.2.2's framework to create the theme.
But I have been running adimotion's GB theme on Dookmatt's hypnos (2.2.2) and it works fine. The power menu works well (shutdown, reboot, recovery).
The phone does not crash with vol down keys.
A more specific changelog would be very helpful.
@socialdistortion
Right now, I really don't know why the volume bug appears but at the time we(few 2.2.2/2.2.1 ROM devs) were trying to port themes to 2.2.1/2.2.2(about same time dookmatt released the very first nessy ROM), no one had any idea why we were having the strange volume bug. But through research and testing, we filtered it out and came down to the themes from 2.2, which are incompatible with later android versions. Now by that time, the only ROM out there based on 2.2.2 which has compatible themes was LOL 1.4(since LOL has a large user base through it's Italian site). What I did was took the LOL framework, edited it(merged with adi4motion's) so that it would look like gingerbread and packed it up again as a flashable zip. The result is the above mentioned theme.(and that's why I call it a "hackish attempt")
Now, a lot of people are having problems with a 2.2 theme running on newer android versions but you(and a few guys running hypnos#2) on the other-hand are not having any problems with it. I think the more appropriate question is, "how did you guys make it work?".
I'm really puzzled man. Cooked a few 2.2.2 and 2.2.1 ROMs, tried dookmatt's, tried LOL 1.4, tried kptbotbot's light ROM and each one of them presented errors when flashed with adi4motion's GB theme(all with fresh installed ROM). I hope someone with greater knowledge can enlighten us on this cause I have to say it, I'm out of ideas on this one.
ungaze said:
Now, a lot of people are having problems with a 2.2 theme running on newer android versions but you(and a few guys running hypnos#2) on the other-hand are not having any problems with it. I think the more appropriate question is, "how did you guys make it work?".
Click to expand...
Click to collapse
I've not really done anything unusual. Did the usual wipe (everything) and then installed the ROM. Restart. And the install the theme. Everything works.
The only bug is the volume buttons don't interchange on landscape mode but i think it is 2.2.2 bug and not a theme problem.
Maybe the problem has got to do something with wipe. Some AmonRa versions don't wipe correctly and that maybe the problem. I use AmonRa v2.2.1
Try wiping the system with this http://forum.xda-developers.com/showpost.php?p=11785758&postcount=557
Also I don't have a2sd enabled... if that helps.
ungaze said:
Now, a lot of people are having problems with a 2.2 theme running on newer android versions but you(and a few guys running hypnos#2) on the other-hand are not having any problems with it. I think the more appropriate question is, "how did you guys make it work?".
Click to expand...
Click to collapse
I'm pretty sure as to why the volume bug appears. Framework form the adi4motion original theme works perfect even with 2.2.2 but the problem is with services.jar file. Code in services.jar changed between 2.2 -> 2.2.2 and that causes input dispatcher to call a non-existing method leading to a fatal exception when volume keys are pressed in landscape mode.
Take a look at this logcat OP i captured when the volume keys are pressed - https://gist.github.com/966084 (line 4)
What i did in my theme was to replace services.jar with the original one in nessy (After changing the clock color in notification bar to white) and everyting worked perfect.
Hope this helps.
Sorry, double post.
upload some more
Something interesting:
I installed it last week, everything went fine, worked great. In the meantime I had to restore because of some kernel errors and I wanted to reinstall it today. So I flashed it and when I started my phone I got FCs from all the apps and a nice bootloop. Tried to restart it but still nothing. So restore again...
I'm using openOptimus 1.148 & CWM recovery.

[WIP][PORT] Captivate Sense v1.0 | Full HTC Sense Experience | 02/03/12

.
-=KERNEL DEV NEEDED=-
-= Captivate Sense 3G =-
-= QuBe2 =-
-= About the Rom =-
-Stock HTC Sense 2.1
-= Working List =-
-WIFI
-???
-???
-= Not Working (known bugs) =-
-When pattern lock is enabled it shows charging even if the phone isn't charging
-Locations widget has problems downloading info
-HTC Clock widget weather animations don't render correctly
-Phone
-????
-????
- -= Credits =-
-ALL THE CREDITS GOES TO
Kenia1234 and Chiledog for the kernel and current base of the rom
swamp goblin. and XBOXFANJ for teaching me how to port a rom
It is recommended to make a EFS backup
http://minus.com/mx0iwe4pM
​
-=current status of this WIP=-
'Searching for people who can extract the boot img to change the bootclasspath''​
Devs look here for status and other stuff
https://docs.google.com/document/d/1sZEQePUe2gyy9C94PSNBL304CrvItcJxKoVPaCPtOxg/
-=THEMES=-
http://forum.xda-developers.com/showthread.php?t=1122229
or use desire z themes
-=IF YOU WANT TO HELP=-​
I'll would love to be a tester
Edit: sent pm
Sent from my SGH-I897 using xda premium
Yea, you can throw me in the mix.
Just pm link.
Me 2! I PM'd you..
FYI I am a beta tester.
A little info on the rom, it is built on CM7 MTD setup.
current build boot loops upon install from ICS (cm9), but upon re-installing from its kernel, I was able to boot to system!!!
Interesting fact, HTC sense roms are huge! system/lib folder for this rom is 93MB, and the system/app and system/framework folders are installed to data/sys-parts/app and framework respectively, then symlink'd to their original system folder location. as the app and framework folders alone are 168 MB.
The first odd thing i have seen is in the first run setup... 100s of languages, including 30 versions of English but noe of the English languages were for US or Canada.... Funny. Ireland and Zimbabwe get their own english versions but not any for North american countries? Must have been ported from an Asian/European htc rom?
I think i can live with using UK English.. but if it starts chiming at Tea Time every day im going to flip!
TRusselo said:
FYI I am a beta tester.
A little info on the rom, it is built on CM7 MTD setup.
current build boot loops upon install from ICS (cm9), but upon re-installing from its cm7 based kernel, I was able to boot to system!!!
Interesting fact, HTC sense roms are huge! system/lib folder for this rom is 93MB, and the system/app and system/framework folders are installed to data/sys-parts/app and framework respectively, then symlink'd to their original system folder location. as the app and framework folders alone are 168 MB.
The first odd thing i have seen is in the first run setup... 100s of languages, including 30 versions of English but noe of the English languages were for US or Canada.... Funny. Ireland and Zimbabwe get their own english versions but not any for North american countries? Must have been ported from an Asian/European htc rom?
I think i can live with using UK English.. but if it starts chiming at Tea Time every day im going to flip!
Click to expand...
Click to collapse
Thanks can you say if wifi or anything is working i will search for a fix for the languages.
Sent from my Amazon Kindle Fire using Tapatalk
Can you give me the link please? I would love to report usability of the rom..
About me: I released the kk4 simplystock rom
Sent from my SAMSUNG-SGH-I897 using XDA App
Been using this for almost 12-13 hrs. Rom is smooth, wifi is working, but phone calls don't work, as I already reported. I tried changing modems and restoring my nv data (imei) files, but still doesn't work.
Anybody has working radio?
But the hw acceleration works very well and scrolling is super smooth no lags at all. Thank you qube2 for bringing this to cappy.
Sent from my SGH-I897 using XDA App
anishmahadikz said:
Been using this for almost 12-13 hrs. Rom is smooth, wifi is working, but phone calls don't work, as I already reported. I tried changing modems and restoring my nv data (imei) files, but still doesn't work.
Anybody has working radio?
But the hw acceleration works very well and scrolling is super smooth no lags at all. Thank you qube2 for bringing this to cappy.
Sent from my SGH-I897 using XDA App
Click to expand...
Click to collapse
Yea, I report the same. I installed the rom and everything seemed to be working until there was no way to get the radio to work. The phone always shows Sprint ,and is unable to get a signal...although very nice rom!
Super smooth!
Also didnt seem to notice any rendering issues with the HTC clock.
Apart from the Radio issue , wifi seems to be working just fine.
bloodhawk said:
Super smooth!
Also didnt seem to notice any rendering issues with the HTC clock.
Apart from the Radio issue , wifi seems to be working just fine.
Click to expand...
Click to collapse
i think we will get it soon because i am rebasing now to full nexus s rom and that one have the problem but i will say to swamp that this rom haven't got weather animation problems
What other kernels can I use with this ROM, all other Glitch Cm7 kernels don't boot...
pwneman said:
What other kernels can I use with this ROM, all other Glitch Cm7 kernels don't boot...
Click to expand...
Click to collapse
AFAIK, for AOSP kernels were very few, There is CM7, Glitch and then the Platypus kernel. Also Qube will be putting out a rebased rom, maybe you may want to wait.
anishmahadikz said:
AFAIK, for AOSP kernels were very few, There is CM7, Glitch and then the Platypus kernel. Also Qube will be putting out a rebased rom, maybe you may want to wait.
Click to expand...
Click to collapse
the rebased rom first need to be tested because i don't know if it is booting
QuBe2 said:
the rebased rom first need to be tested because i don't know if it is booting
Click to expand...
Click to collapse
It's not. I just tried it, it gets stuck at a black screen after the kernel screen
pwneman said:
It's not. I just tried it, it gets stuck at a black screen after the kernel screen
Click to expand...
Click to collapse
Yes there are some changes needed in the boot.img is there a kernel dev who can help me. Has the same problem with the rebased galaxy s rom
Sent from my Amazon Kindle Fire using Tapatalk
just got home from work, going to play around with the 2 base versions...
but on a different topic, I was thinking today, bringing Sense to any and all devices, should be known/called the " Common Sense Project ". As in, common to all phones (someday, hopefully).
Eh!? Yeah!... So on with the Captivate Common Sense Project!!
so first off.. for phone/data issues..go to settings > About Phone > Phone Identity
whats missing? LOL everything!
efs folder... exists...
About phone > Hardware Information
All accounted for except bluetooth address, bluetooth type OK.
Bluethoth also doesnt turn on if you havent tried.
Need Captivate Bluetooth files
GPS: WORKS as is!! - but personally applied hellstorm's gps fix been using it since before my custom rom, effin eh! just makes it that much better.
About phone > Software Information
Baseband Version: Unknown
What modem is it supposed to have? Because the rom isnt finding it.
FYI. since you dont have a Captivate, you probably dont know, with an i9000 re-oriented captivate kernel, and i9000 modem, or CM kernel and i9000 modem, the Captivate can achieve HSPA ( 4G )
possible duplicate of facebook for htc and facebook... ? trying to merge all facebook contacts with htc facebook contacts..? -EDITnope, htc facebook is the equivilant of snsprovider facebook sync we used to enjoy on captivate, where you turn facebook app sync off to avoid duplicate facebook entries.
Outdated apps:
Market x2
Voice Search
Rom Manager
YouTube
Google MapsStreet View on Google
Facebook for Android
Google Search
GMail
Superuser x2
Not needed Apps:
Flashlight App - No light
Mirror App- No Front Camera
FM Radio App and Widget - Cappy no got.
thats it for now, im going to shower work off me. Listening to Alice In Chains.
EDIT: would be nice to have a list of what files were from HTC , which were from Samsung and what samsung device, and which were AOSP builds, if any.
EDIT 2: Still havent showered but went to use Voice Search, and it fails saying " Audio Problem ", assuming Microphone issues. Rear Speaker works, unsure how to test ear speaker without phone or mic.. also need to test headphone jack
Edit 3. still smell. wow! holy unnecessary apps batman! " /data/sys-parts/app/ " is full of duplicate apps. 2 markets both old, 2 superusers - one unofficial conflicting with real one updating, also a few apps in the folder dont show in drawer or system ui. as the htc theme " skins " wood , metal, slate ect. dont show up in the personalization screen, although personalization and htc hub downloads work! and as mentioned above dont need fm radio and widget, and flashlight.
Edit 4. Showered!! - Edit photo effects... does nothing. crop works though.

Categories

Resources