Brain Storming & Discussion for CM9 - HTC Amaze 4G

Hi guys since cm9 is community built i figure you guys might have some good ideas on how to fix things so i'm making this thread for brainstorming and any general discussion and questions

Using the CM port to try and attempt to port other things, and try to fix that instead
Sent from my HTC_Amaze_4G using Tapatalk 2

What are some phones that share the same chip set? We could possibly port fixes from that device to this device
Sent from my HTC_Amaze_4G using XDA

ziggy46 said:
What are some phones that share the same chip set? We could possibly port fixes from that device to this device
Sent from my HTC_Amaze_4G using XDA
Click to expand...
Click to collapse
Sensation
Evo 3D
Sent from my HTC_Amaze_4G using xda premium

sportsstar89 said:
Sensation
Evo 3D
Sent from my HTC_Amaze_4G using xda premium
Click to expand...
Click to collapse
If they use the same or similar hardware the fixes should just drop in. Check there commits ans see what they did to fix things like data and camera
Sent from my HTC_Amaze_4G using XDA

ziggy46 said:
If they use the same or similar hardware the fixes should just drop in. Check there commits ans see what they did to fix things like data and camera
Sent from my HTC_Amaze_4G using XDA
Click to expand...
Click to collapse
Same chipset doesn't mean same hardware the amaze is an oddball uses the ti wireless which the others don't
Sent from my HTC_Amaze_4G using xda premium

sportsstar89 said:
Same chipset doesn't mean same hardware the amaze is an oddball uses the ti wireless which the others don't
Sent from my HTC_Amaze_4G using xda premium
Click to expand...
Click to collapse
and im assuming you need that driver source correct? if so is there any way that you could make the source call for values from the pre-baked driver? ive heard of this being done before on another phone. they hacked around to get it to work with a gingerbread driver.

ziggy46 said:
and im assuming you need that driver source correct? if so is there any way that you could make the source call for values from the pre-baked driver? ive heard of this being done before on another phone. they hacked around to get it to work with a gingerbread driver.
Click to expand...
Click to collapse
That would include writing a wrapper which is extremely difficult and I don't know how to it requires a very in dept knowledge of which all the calls mean and how to translate what the new kernel is calling to the old driver
Sent from my HTC_Amaze_4G using xda premium

sportsstar89 said:
That would include writing a wrapper which is extremely difficult and I don't know how to it requires a very in dept knowledge of which all the calls mean and how to translate what the new kernel is calling to the old driver
Sent from my HTC_Amaze_4G using xda premium
Click to expand...
Click to collapse
i know one thing that might be worth doing... you could contact "mantera" over here about making a wrapper. cause im pretty sure they did that for the motorola triumph. (and that phone has no source)
http://androidforums.com/triumph-all-things-root/488824-dev-continuing-triumph-ics-development.html
i think he is even a member here on this forum too.
but yeah, he would be the one to ask about writing a wrapper.

doesnt the vivid have the same hardware? havent really checked the development over there recently but they have a sense 4.0 port almost fully functioning

Ignore

I'm convinced from a few logs I've seen since the ext.jar fix that the problem is the way it scans for data..
Doesn't the sensation have very similar hardware? Wouldn't their data fix be similar to what we need?
I am convinced that there is some very simple edit that is needed... and tho I hate suggesting it, data was the last issue to be resolved with all the gingerbread roms, has someone tried to contact x to see what the fix was he used for that?

Okay, so there are tons of files in the framework2.jar file that stock has needed for data in com/android/internal/telephony, and the same directory in CM9 framework.jar is missing many files compared to stock..
there is no framework2.jar for cm9, so I'm thinking that either we need to copy the files over that match from framework2.jar(Edit: no files match.. if i do whole directory I get UNEXPECTED TOP-LEVEL EXCEPTIONrg.jf.dexlib.Util.ExceptionWithContext: method index is too large.), or we need to try adding framework2.jar to the bootclasspath of the boot.img. The framework is supposed to be handling part of the data, but the cm9 framework is missing many files..
Basically, the stock rom has everything needed for data split between framework.jar and framework2.jar.. and for cm9/10 we need to recombine parts somehow- but the index for the classes.dex file is written when it is originally built..
Just some things to think about. Elements of framework need to be rebuilt from scratch with some missing files in com/android/internal/telephony contained in the classes.dex of the framework.jar

I don't know if this will help or not, but worth a try
http://processors.wiki.ti.com/index.php/TI-Android-ICS-PortingGuide
Sent from my HTC_Amaze_4G using xda app-developers app

Related

Wanna help make your phone better.

Even if you have no coding experience at all, you can help. Testing is the easiest way to help. There are millions of lines of code and ways to set up these phones. Testing is the most important part of the development process. Without testers bugs will roam free. There are two separate major test categories, kernels and roms. Then minor testing such as mods/themes/etc. Kernels are the brains of the phone. Roms is the body. Both need to be tested and both need to be improved. When you test please do more than just quadrant. Make specific repeatable comments that will help some one fix the issue. Thanks and happy testing
Sent from my MB855 using XDA App
Ill do some testing.
jokersax11 said:
Even if you have no coding experience at all, you can help. Testing is the easiest way to help. There are millions of lines of code and ways to set up these phones. Testing is the most important part of the development process. Without testers bugs will roam free. There are two separate major test categories, kernels and roms. Then minor testing such as mods/themes/etc. Kernels are the brains of the phone. Roms is the body. Both need to be tested and both need to be improved. When you test please do more than just quadrant. Make specific repeatable commits that will help some one fix the issue. Thanks and happy testing
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
Im in for some testing
Sent from my MB855 using xda premium
I don't have the time, got a few $$$ to help someone buy a phone. can sens to your paypal Joker?
Sent from Photon 4G code name "Neo" using XDA Premium!
?
I have a photon already
dsims7_2000 said:
I don't have the time, got a few $$$ to help someone buy a phone. can sens to your paypal Joker?
Sent from Photon 4G code name "Neo" using XDA Premium!
Click to expand...
Click to collapse
Sent from my MB855 using XDA App
I think he is refering to sending you money to buy a phone strictly for testing.... so you dont brick yours
Oh well i dont mind. Its almost impossible to brick this phone. As long as you dont play with bad bootloaders(*cough yay4juggs *cough).
gothymp said:
I think he is refering to sending you money to buy a phone strictly for testing.... so you dont brick yours
Click to expand...
Click to collapse
Sent from my MB855 using XDA App
I do have a project i want tested. On the razr forum there is a project call debtop. Can someone flash my newest hardvfp kernel and test debtop on the photon. I believe i got the kernel to support it.
Edit gentop not debtop
Sent from my MB855 using XDA App
Ok - I'd love to help, but I'm not sure what your kernel is or the gentop is? I've rooted my phone, messed with a few simple things here and there, but other than that - I'm still learning. I did install a custom ROM on my old Hero, but I haven't messed with the Photon.
I do have time though - I work a lot of night shifts and if shown how to do something, I learn it quickly! If I can be any help, message me and I'll do what I can to help out!
I gotcha bubb. I'm in a 4G area if you you are still working on the bootloader
Hell I will even let you remote control my computer. Just don't go into the folder that says mmmm lol
No need. I actually know how to install a 64 bit operating system. Lol. Im slowly working on it. Its not a bootloader problem. Motorolas official engineering phones with real unlocked factory bootloaders dont have 4g. So obviously we gotta look elsewhere. Its possibly recovery related or some form of security check. Once we find exactly what it we can fix it. The best way is to dd everything. Like dd / lol. Once with stock, then after unlock only then recovey change. Once all three is pulled. Someone needs to run a diff, or physically cross check everything, eek. Once the culprit is found we will squash it. so obviously you can see this will be time consuming. Way more time then I ever get. I would have to take a vacation just to get that kind of time. I can do the squashing after the fact but atm im stuck trying to blindly fix it
AJC9000 said:
I gotcha bubb. I'm in a 4G area if you you are still working on the bootloader
Hell I will even let you remote control my computer. Just don't go into the folder that says mmmm lol
Click to expand...
Click to collapse
Sent from my MB855 using XDA App
melodic manatee men masturbating lonely over leftovers.
Nope wont open that folder
AJC9000 said:
I gotcha bubb. I'm in a 4G area if you you are still working on the bootloader
Hell I will even let you remote control my computer. Just don't go into the folder that says mmmm lol
Click to expand...
Click to collapse
Sent from my MB855 using XDA App
Okay this is to everyone wanting to help. Find me cool patches. Remember your looking for arm no neon stuff the kernel is 2.6.32.9(kinda). I might update to .50 if I can ever find those patches. Most stuff I can manually patch and do, but 2.6.32.* patches are huge and I need .patch's to do that. If you find kernels from other phones with cool stuff please make sure they actually post source. A bfs 400+ patch for 2.6.32.9 would be awesome, so would proper autogroups. Post findings here.
Thanks and happy hunting
Sent from my MB855 using XDA App
I'm not a programmer but I would like to help if I can. Picked up my MoPho 3 weeks ago, rooted it, and did a couple buildprop tweaks but nothing else. Haven't unlocked it yet, either. I would like to flash a different rom and/or kernel but want to do more reading first. I also need to get the right sbf and such, too. Currently system version 45.3.6.MB855.sprint.en.us; Android 2.3.4; Baseband N_01.28.07R; Webtop WT-1.2.0-160; Kernel [email protected] #2; Build 4.5.1A-1SUN-198.6
I'm a MoPho-er
This is good!
Sent from my MB855 using XDA Premium App
I'd be happy to test, but I don't want to unlock the bootloader until it doesn't break 4g
Sent from my MB855 using xda premium
Joker this is just a thought but have you looked at the LTE drivers at all maybe something could be made from that or in any way be helpful
Lte drivers are there. Edit the build.prop
AJC9000 said:
Joker this is just a thought but have you looked at the LTE drivers at all maybe something could be made from that or in any way be helpful
Click to expand...
Click to collapse
Sent from my MB855 using XDA App
Not sure if I can say much on here but try to move the signal to Verizon.
I saw on the zumocast advert on the motorola website the photon was sporting the LTE icon. Maybe a minor error with one of the artists or maybe a hint...

Any MIUI dev's?

I know it's early and hard to get too much accomplished with the uniqueness of our device not to mention the s-on issue.
But I'm just curious if anyone has heard any rumor or knows anything about anyone working on a MIUI port.. I'm not expecting much yet as we don't even have any aosp goodness yet. But I thought I'd get the conversation started.
Sent from my HTC6435LVW using xda premium
I think we need aosp before we can even think about miui.
Sent from my HTC6435LVW using xda app-developers app
Bigandrewgold said:
I think we need aosp before we can even think about miui.
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
I agree, you are right. Just wondering if any MIUI dev's have the device or are thinking about working on it.
Bigandrewgold said:
I think we need aosp before we can even think about miui.
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
miui can be sense based (though until theres an official jellybean sense build, its tough to make your own patch rom)
i took a swing at getting miui launcher working on our stock build but kinda gave up when something that should have worked right...didnt
i may revisit it after christmas, idk
working on a sense base but theres alot of issues lol
also working on a asop base but i have talked to a few who claim the kernel will never let it boot so im still optimistic about it working but full functional no tell at this point
---------- Post added at 09:40 PM ---------- Previous post was at 09:39 PM ----------
sorry for bringing up a old thread figured i keep posted
I tried to port it off of the cm10 base but I just got a error 7 in recovery before it would even begin to flash the Rom... Granted my porting was just copying most of the stuff off of a one xl and I just followed a basic tutorialon how to port so it really did not surprise me when it did not boot... Curse my noob knowledge of deving
Sent from my HTC6435LVW using xda app-developers app
I can help u on that if u wanna band together your probe starts with updater script that's error 7 I'll upload mine to morrow and can work off that
Sent from my HTC6435LVW using XDA Premium HD app
Once we gett s full or mostly working cm10/10.1 I will attempt to port.
Sent from my HTC6435LVW using xda app-developers app
t1gartist said:
I can help u on that if u wanna band together your probe starts with updater script that's error 7 I'll upload mine to morrow and can work off that
Sent from my HTC6435LVW using XDA Premium HD app
Click to expand...
Click to collapse
I would love to but I probably won't be able to mess with it for another week or so... I will see if I still have that build on my computer somewhere.
And thanks Mustafa. I guess we will see where this goes! Miui is going to look beautiful on this phone
Sent from my HTC6435LVW using xda app-developers app
Seems it will be mostly smali mods getting everything sized for 1080 I got a lot already port having boot issues now in thinking my updater needs rewriting I have a few posts I'm studying but I got something going and it's based on cm10 and I have a sense version but havnt don't much with it
Sent from my HTC6435LVW using XDA Premium HD app
I have some Photoshop experience and am definitely willing to help you out whether it be resizing things and what not and I'm definitely willing to learn
Sent from my HTC6435LVW using xda app-developers app
most of the imaging will be done in framework-res.apk i believe as im teaching myself how to port to non supported devices so its and awesome adventure
also did you set all of your permissions correct? move all correct files over?and as far as updater-script i will try and put my build on github tonight but as im also thinking of changing to arch linux over ubuntu as im done with the non updating they issue so late lol.
and when ubuntu os is ready you willing to help?
Lol I think I did I really am a noob at linux and developing. I can follow a tutorial real well (which I did with the first attempt at porting but you saw how far I got) I just want to be fully clear with you my experiencecause I don't want you to expect you have a professional working with you. But anyway I think I did. I copied over the permissions from the port rom folder to the base roms folder but I might have missed a few...
Sent from my HTC6435LVW using xda app-developers app
t1gartist said:
most of the imaging will be done in framework-res.apk i believe as im teaching myself how to port to non supported devices so its and awesome adventure
also did you set all of your permissions correct? move all correct files over?and as far as updater-script i will try and put my build on github tonight but as im also thinking of changing to arch linux over ubuntu as im done with the non updating they issue so late lol.
and when ubuntu os is ready you willing to help?
Click to expand...
Click to collapse
arch can be a bit of a task... you gotta set up everything in CLI... i managed to get a GUI up and working... but im stuck at installing the correct video drivers... lol i got vesa working but i need amd/ati drivers also arch uses pacman not apt-get... idk how well arch is with cooking roms and whatnot... idk anybody who uses it to cook
Ok I am about 75 percent done with re building a port I can work with. It should be done tonight... We will see if it boots... I was trying to find a device that had miui that was more similar (nexus 4) but even they do not have a port on it yet... Is miui losing its luster?
Sent from my HTC6435LVW using xda app-developers app
danielhall2689 said:
Ok I am about 75 percent done with re building a port I can work with. It should be done tonight... We will see if it boots... I was trying to find a device that had miui that was more similar (nexus 4) but even they do not have a port on it yet... Is miui losing its luster?
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
it seems to have a bit from what ive seen
miui.us is really slowed down since many device maintainers (i was one on the inc2) have moved on to other stuff and the main site guys are working on chameleon os
i cant speak for miui android and other sites, but i dont see as much press or activity going on for miui in general as in prior years / versions
Im Porting it form the One X version... If anyone thinks there will be any problems with that please tell me now lol before i put more time into it
danielhall2689 said:
Im Porting it form the One X version... If anyone thinks there will be any problems with that please tell me now lol before i put more time into it
Click to expand...
Click to collapse
Would be a lot of graphical differences, as well as hardware changes. Looking at the same problem cm is facing.
Sent from my HTC6435LVW using Tapatalk 2
idkwhothatis123 said:
Would be a lot of graphical differences, as well as hardware changes. Looking at the same problem cm is facing.
Sent from my HTC6435LVW using Tapatalk 2
Click to expand...
Click to collapse
I am using CM as the base so until the audio gets fixed that will automatically be broken out of the box... im hoping i dont run into more problems then just that though... I am using this guide: http://forum.xda-developers.com/showthread.php?t=1908008 (or the newer version of it) so we will see if it even works tonight.
Well negative on getting it to boot... It does not even flash... Shoot man this updater.script is complicated stuff
Sent from my HTC6435LVW using xda app-developers app

Any chance of MIUI making its way to the Note II?

I can't be the only one who likes MIUI. Any word on this phone getting a port of it? Or will I just have to hold out hope that a special dev will eventually come along to help fulfill my deep, dark MIUI desires? :angel:
I've seen it already for the AT&T variant.
It will come if someone feels like porting it probably
It was being said that Beans was porting it but that was awhile ago.
It only needs the ril libraries transplanted into the Sprint Rom, but I don't have the patience to play with it
Sent from my SCH-I605 using xda app-developers app
WarlockLord said:
It only needs the ril libraries transplanted into the Sprint Rom, but I don't have the patience to play with it
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
I'm pretty sure there's more to it then that, but just in. On page 2 are the needed RIL if someone wants to try it
http://forum.xda-developers.com/showthread.php?p=37090709
BE WARNED I'VE SEEN TWO PEOPLE REPORT A HARD BRICK USING SPRINT PORTS. IF YOU TRY THIS, ITS YOUR FAULT IF SOMETHING BAD HAPPENS.
Sent from my SCH-I605 using Tapatalk 2
I didn't have a hard brick. I flashed Sprint miui, then followed up with a Verizon kernel, and everything booted and mostly worked, except for phone/data (the ril libs are different)
ALSO, you need the CM10 RIL library files which are in Framework.jar. Not just the ones in /system/lib
Sent from my SCH-I605 using xda app-developers app

[open surce]photon 4G

hi i am new here
i buy this phone and i waiting for it to come
i have a sgs i9000
so i was active there
anyway i want to help that this phone will have all the driver that make the phone fully functionalty
so let's start
****************************************************************************************************************************************
photom 4G open surce
lest update 2012-10-05
kddi
http://sourceforge.net/projects/photon4g.motorola/files/PHOTON-KDDI (ISW11M)/4.5.1A-1_KDI-95_MR4-3/
4g
http://sourceforge.net/projects/photon4g.motorola/files/PHOTON-4G/4.5.1A-1_SUN-254_13/
**************************************************************************************************************
ELECTRIFY open surce
lest update 2013-01-25
http://sourceforge.net/projects/electrify.motorola/files/4.5.1A_SUN_USC_19.0/
http://sourceforge.net/projects/electrify.motorola/files/4.5.1A_SUN_USC_16.7/
***************************************************************************************************************
i know that the driver binari is not there
but like in the i 9000 phone samsung drop us in vr 2.3.5 in the middle of 2011
if we will work together every thing will work good
now
1)some one know if the bluethoth is belong to broadcom?
2)if there any motorola or any compeny that use same Components? So we do Crosstab
problem to slove
GL driver.
USB tether
bluetooth .
let's goooooooooo
I'm pretty sure this is relatively well known, and we have no use for it as GB is fully functional, and ICS/JB works without camcorder or HWA.
Think he probably means the graphic issues also due to not having the drivers we need
Sent from my MB855 using xda app-developers app
MarcquisDale said:
Think he probably means the graphic issues also due to not having the drivers we need
Sent from my MB855 using xda app-developers app
Click to expand...
Click to collapse
On GB or ICS/JB? On neither do I see issues.
I meant on the custom roms
Sent from my MB855 using xda app-developers app
Gb roms are very well built. We don't have them for ics / jb because they were never given to us.
Also do you need a proof reader, or an editor? Sorry my first instinct is to make it a point not to click through any link immediately when I read the word "surce"
Sent from my MB855 using xda app-developers app
Bock Abrams said:
Gb roms are very well built. We don't have them for ics / jb because they were never given to us.
Also do you need a proof reader, or an editor? Sorry my first instinct is to make it a point not to click through any link immediately when I read the word "surce"
Sent from my MB855 using xda app-developers app
Click to expand...
Click to collapse
Lol didnt notice that
Sent from my MB855 using xda app-developers app

How to port sense camera to aosp?

Now. Before everyone jumps all over me for asking this, yes I know it's been asked before. And yes I know it takes lots of work and time. So my question is to the devs or anyone who is knowledgeable about this is, what/where do I start? I know how to decompile apks and find smali. If people would like to help please do. I have many hours over summer break lol so Yea.
Thanks
Sent from my EVO using Tapatalk 2
bennyboy78 said:
Now. Before everyone jumps all over me for asking this, yes I know it's been asked before. And yes I know it takes lots of work and time. So my question is to the devs or anyone who is knowledgeable about this is, what/where do I start? I know how to decompile apks and find smali. If people would like to help please do. I have many hours over summer break lol so Yea.
Thanks
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
It will not work. You need the sense framework which is not able to be put into AOSP. If it were, it would have already been done. Same reason there are no sense widgets for AOSP. If we were able to port those things to AOSP, then no one would stick with Sense.
http://forum.xda-developers.com/showthread.php?t=1780038
Sent from my SPH-L710 using xda app-developers app
It can be done but it's super tasking. You would need to use a patch Rom service like miui decompile or crack that and place w/e other aosp roms files in and then build.
Sent from my EVO using xda app-developers app
Sinistertensai said:
It can be done but it's super tasking. You would need to use a patch Rom service like miui decompile or crack that and place w/e other aosp roms files in and then build.
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
Hmmmm.... Wanna collab?
Sent from my EVO using Tapatalk 2

Categories

Resources