[Q] ROM help... - myTouch 4G Q&A, Help & Troubleshooting

didn't really wanna post this... but well... this shows how big of a ROM noob i am
can someone give me some help here with the Logcat i ran...
trying to port a ROM (not gonna tell you guys which yet )
this is a lil snippet (what i could get) from the Logcat i ran... the device booted alright, got past the splash screen... stayed at the bootanimation for awhile... but then bootloops. -__-
Thanks
What i did...
-porting a Sense 3.x ROM to the Mytouch 4G
-used/followed this guide here (very nice, good guide)
-edited build.prop
-changed boot.img (using the one from DARKSIDE Sense)
-Team MS

I didn't read through the whole thing but from the very beginning it said unknown permissions for some vital stuff so you may want to look around in the updater script and make sure those perms are there or in the init.rc file in the ram disk.gz file (which can only be found after decompiling the kernel)
Sent from my HTC Glacier using xda premium

Nicgraner said:
I didn't read through the whole thing but from the very beginning it said unknown permissions for some vital stuff so you may want to look around in the updater script and make sure those perms are there or in the init.rc file in the ram disk.gz file (which can only be found after decompiling the kernel)
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
ok... gonna decompile the boot.img...
it's weird though... i just used the boot.img from another Sense 3.0 (VU to be exact) and it doesn't boot?

Related

[REQ]shubCRAFT build + Htc Sense

is there way to make this happend
so we could remove from the update file apks we dont want
thx
old topic
Code:
shubCRAFT build + Htc Sense possible ?
if i take the apks of htc sense and put them in
htc update file in shubcraft its will install the htc ?
and remove the LauncherPro
nope, it isnt possible, sense is much more than just a launcher it has lots of modified frameworks too
I'm sure you can find a theme that looks similar to sense if thats all your after.
Maybe similar but it is not the original.
the htc dialer would be great if theres anyway to bring it in.
Proz00 said:
shubCRAFT build + Htc Sense possible ?
if i take the apks of htc sense and put them in
htc update file in shubcraft its will install the htc ?
and remove the LauncherPro
Click to expand...
Click to collapse
A cat is fine too...
Whats wrong with the builds that natively run sense? What is the benefit to sense on top of shubcraft. The entire idea of shubcraft is to be an alternative to sense via the cyanogen mod.
shubchraft! was made for those who don't like HTC Sense and Original android stock! I also like HTC Sense and I am using Darkstone latest with HTC sense and it works great!
You guys don't get it, huh?
Most builds, except shubcraft, come with the system in an ext2 image that needs to be mounted in linux in order to make changes to the system. shubcraft, which uses zegobit's superb initrd, has the ability to use an OTA-like update.zip that requires no signature and is used to create the system image.
What OP is asking for is for a sense build built around this rootfs.
It's possible/doable. I'm still very much a linux newbie and I don't understand the boot process too well. I do know that as it is right now, the init.rc in the rootfs only sets the jar classpath for the stock android and misses some jars actually needed to get sense builds to boot too.
I figure it could be as easy as taking the initrc from a sense build, commenting out the filesystem mounting procedures (as the init script already takes care of it), and then make an update.zip using, say, matt's sense system (mount it, extract it, and then compress it all into a zip).
Guess I'll give it a shot and then post both the update.zip and rootfs if it works
yes that what i meant
hope u will success
This would be great to have.
Sent from my HTC HD2 using XDA App
Perhaps a Motoblur option would be fab too.
Sent from my HTC Desire using XDA App

Stockwells porting script question.

As some of you know, stockwell has a miui porting script. I just began to wonder, can it be modified to port other roms from desire z? If someone could alter it a bit try to port one of desire z roms. I have very little knowledge on linux, but someone with more could do it.
Ret4rt and darksage have this script. They can answer to this question.
Sent from my Huawei Ideos X5
julle131 said:
As some of you know, stockwell has a miui porting script. I just began to wonder, can it be modified to port other roms from desire z? If someone could alter it a bit try to port one of desire z roms. I have very little knowledge on linux, but someone with more could do it.
Click to expand...
Click to collapse
U could try and just read the script from the github.. U could see the script will automatically add and replace some files and delete unnecessary file from Desire-Z ROM.. U can do it using windows AFAIK... Try using this tutorial
http://www.freeyourandroid.com/guide/porting-android to know exactly what to put to get the phone booting..
Do you have a link to the script?
PaulMilbank said:
Do you have a link to the script?
Click to expand...
Click to collapse
https://github.com/stockwell/MIUI-U8800-Port-Script/blob/master/miui_u8800_port.sh
For those who dont know Linux that well (Me too!), u need to figure out those function(rm=remove, cp=copy) and replace it manually in windows..
But updater-script could make it even harder.
Sent from my u8800 using XDA App
julle131 said:
But updater-script could make it even harder.
Sent from my u8800 using XDA App
Click to expand...
Click to collapse
Stockwell make it easy for us actually, if u check that github, there's an "overlay" folder.. Inside is all the file needed to add into the desire-z rom,
including the updater script (/ overlay / META-INF / com / google / android )..
izzoe said:
Stockwell make it easy for us actually, if u check that github, there's an "overlay" folder.. Inside is all the file needed to add into the desire-z rom,
including the updater script (/ overlay / META-INF / com / google / android )..
Click to expand...
Click to collapse
Okay. I need to install ubuntu to my pc then amd try.
Sent from my Desire HD using XDA App

[GUIDE] How to port sense to non-HTC devices.

How to port Sense.
Source: http://forums.androidcentral.com/optimus-v-rooting-roms-hacks/164989-guide-how-i-port.html (second post)
This is NOT my guide, just posting it here!
This is a very difficult process that I hope you'll understand.
First step is to find a device that is preferably VERY similar to your device, in this instance I guess we would use the htc thunderbolt, which I've been told multiple times that it is used for the MT.
You're going to want to use CM7 for parts. Simple enough.
I will be referring the Sense ROM to SENSE and CM7 as BASE to simple things up. So remember that.
When I say replace, I would recommend deleting from one and adding it with the other
Open up Sense and Base in different windows.
Put in the boot.img from Base into Sense (make sure you put the original boot.img in some other place that you'll remember)
go into /system/usr on both
replace keylayouts and keychars from Base into Sense (this is just your keys)
download dsixda's kitchen (http://forum.xda-developers.com/showthread.php?t=633246)
Get the ROM you have so far set up in it and what not (I'm a little fuzzy at this part)
Once you get done with that, run the menu in terminal and navigate your way to decompile the boot.img (action key- "a") and then run the same thing except run the action key "w" to decompile the original boot.img. So the key here is to decompile both boot.img's.
Go into the ramdisk on both and go into init.rc
THE MOST IMPORTANT PART IN THIS (THE MATTER OF BOOT AND BOOTLOOP) IS THE LINE
"export BOOTCLASSPATH" near the top. It will have a bunch of lines after it. Now in the Base's boot.img, delete this whole line. Replace it with the lines from Sense's boot.img.
Now you can add anything else you want that looks like it belongs (preferably anything sense related)
Don't recompile the boot.img yet.
Now we add a2sd. To do this, just follow this guide (https://www.facebook.com/note.php?note_id=158823170833688)
The only thing you do in there is the edits to the init.rc, don't listen to the decompiling/recompiling mentions. Now you can go back into the menu for the kitchen and recompile the boot.img (action key - "b"). Now don't compile the WHOLE ROM, just take the new boot.img in working_** and put it into the Sense zip.
Now you're going to want to download my ROM (sorry, just don't feel like uploading each individual file) http://gannon5197.blogspot.nl/2012/03/got-sense-booted.html
And go into the /system/bin on both
these are the files you're going to need: a2sd, bash, apps2sd.hlp, busybox.a2sd, chka2sd, jita2sd, launcha2sd, starta2sd, and maybe possibly sh (try once without it)
And you're going to want to set permissions for each one of these in the updater-script (look at mine for references)
Now also look at my zip and you'll see move_cache_sd. Put that in yours and set permissions for it in updater-script (use mine for references)
After that, the other stuff is mainly just getting rid of all the bloatware, (look in /system/app and /system/media) I wouldn't delete any libs as of right now. If you try to flash it and it reboots recovery then it is too big.
If it is too big, you're probably going to want to move a lot of the apps to data. To do this, just make a file called data/app/put_your_apps_here on the root of the zip. You're going to have to set permissions for it in the updater-script, but use the test.zip I sent you in the original.
This will most likely get you booted. Nothing will likely work. Which is expected. If you have any problems, just use logcat. It will be your bestfriend. Have fun porting
Click to expand...
Click to collapse
reserved
Thanks for reopening it bro...
Sent from my LG-P500 using Tapatalk 2
No problem :thumbup:
Don't know how this above awesome thread is so blank
Have u tested if this way works
Sent from my LG-P500 using Tapatalk 2
great guide, gonna try out soon
hmm this one's new for me. saved
should come in handy sometimes
someone has to do this for the Galaxy S2.
Will it also work for ICS ROMs?
I must do this. Anybody know where I can get the firmware for the One S?
Can i use a Gingerbread ROM as a base instead of cm7?
Hello for lg p500 there is 2 sense rom but data and mic not working in both rom can you help to solving that problems????btw great tutorial.
in fact sensse porting is differnet from the tutorial showed it is a little bit more difficult and there are some libs needed that there is only for the devices you are porting to. so a general tread will not really work
QuBe2 said:
in fact sensse porting is differnet from the tutorial showed it is a little bit more difficult and there are some libs needed that there is only for the devices you are porting to. so a general tread will not really work
Click to expand...
Click to collapse
Well this is not my tutorial just found it on the internet so I don't know if it works
Lord Inglip said:
Well this is not my tutorial just found it on the internet so I don't know if it works
Click to expand...
Click to collapse
why sharing things on the internet
QuBe2 said:
why sharing things on the internet
Click to expand...
Click to collapse
Because it's the internet. This guide was the only thing I could find.
Well you ported a htc sense One x rom to the Nexus S, so can you show us how you did it?
Lord Inglip said:
How to port Sense.
Source: http://forums.androidcentral.com/optimus-v-rooting-roms-hacks/164989-guide-how-i-port.html (second post)
This is NOT my guide, just posting it here!
Click to expand...
Click to collapse
Similar phone means the same chipset,processor and gpu??
a2441918 said:
Similar phone means the same chipset,processor and gpu??
Click to expand...
Click to collapse
Yes it's better if the phones have the same hardware
Lord Inglip said:
Yes it's better if the phones have the same hardware
Click to expand...
Click to collapse
I have an xperia x10.. will the nexus one and HTC desire be suitable??
My cm7 rom which i downloaded doesn't have a boot.img file.. So how to get it?? Is it the system.img got from a nandroid backup?? and the sense rom which the post refers to is the stock sense rom of the phone in a zip format or a modded one??
Not working..stuck at boot logo

TWICS

Captivate currently had TWICS. Its base code from cm9 with TW launcher and Samsung gs3 add on with devil kernel. Running this o my cappy. Super fast and stable. Just an outstanding rom.
Can someone port this to vibrant please!
What are you looking at shortbus......
*NOT SURE/CONFIRMED
But since it is in the line of the original galaxy s, I think you can just flash it, and then change modem/kernel/key layout, which is done by a script (forgot what its called in our development section)
ok, i found it
http://forum.xda-developers.com/showthread.php?t=1623840
Using that, you SHOULD be able to flash any Galaxy S ROM (except the 4G)
If it doesn't work, nothing will go wrong, most likely you will
1) boot loop
2) key layout will be mixed up(easy fix)
3) no connection (change modem/kernel)
*you said this was TWICS, make sure it is ICS and not just themed to look like TWICS.
Link to rom please?
http://forum.xda-developers.com/showthread.php?t=1625619
What are you looking at shortbus......
hey, instead of using it from the captivate, use it from the i9000
http://forum.xda-developers.com/showthread.php?t=1608624
same thing, captivate guy ported from i9000, just you'll probably get updates etc faster.
P.S. tell us how it goes.
xriderx66 said:
hey, instead of using it from the captivate, use it from the i9000
http://forum.xda-developers.com/showthread.php?t=1608624
same thing, captivate guy ported from i9000, just you'll probably get updates etc faster.
P.S. tell us how it goes.
Click to expand...
Click to collapse
OK so I tried it from the captivate before I saw this post. Installed rom and before it gave install complete it auto rebooted. The rom was on my phone but up was down left was right ie screen was in landscape then when I turn it sideways it would go to normal view. I rebooted to recovery and ran patch then reboot and wouldn't get past vibrant screen. I will try again with i9000 rom and let you know the results.
Sent from my SGH-I897 using XDA
Tried it with i9000 rom but it aborted error status 7. I think my zip was bad. Going to try again.?
Sent from my SGH-T959 using xda premium
Edit: just read FAQ need to change some things in rom file. Will update after I try this
samsgun357 said:
Tried it with i9000 rom but it aborted error status 7. I think my zip was bad. Going to try again.?
Sent from my SGH-T959 using xda premium
Click to expand...
Click to collapse
Try to flash the Subzero kernel from here: (use build 80 not 128) http://rootzwiki.com/topic/22833-kernelics15-june-subzero-v14-build-128-brain-dead-and-loving-it/
If you already tried it from Subzero kernel; try the Glitch kernel, its on these dev sections.
Flash either of those to the ROM you currently have, and then try to flash it.
EDIT----------------
"if you are getting status 7 or getprop error then a little work from your side is needed
extract the rom to a folder then go to /extracted folder/META - INF/com/Google/Android from there open updater-script and remove all getprop lines
come back to META - INF folder and delete all three files
zip the file and flash it in recovery
NOTE:- to edit updater script use jota text editor(android), notepad (windows)"
It's in the patch's thread.
Do that.
I followed the thread exactly used jota changed everything and tried again. It just aborts install. I haven't given up. Gonna try again tomorrow. It beat me tonight but not for good! Thanks for everything x.
Sent from my SGH-T959 using xda premium
firstly I want to tell you that because of not having a vibrant to test the patch is in beta
what you can do is open updater script with jota text editor and remove all those getprop lines from the script and as a security step what you can do is press menu button then tap on file and tap on line break then select (lf for android/Linux) save the file go to meta-inf folder and remove all those cert files
zip the package again and flash no need to sign it again for further help you can ask me also in the patch thread
dhlalit11 said:
firstly I want to tell you that because of not having a vibrant to test the patch is in beta
what you can do is open updater script with jota text editor and remove all those getprop lines from the script and as a security step what you can do is press menu button then tap on file and tap on line break then select (lf for android/Linux) save the file go to meta-inf folder and remove all those cert files
zip the package again and flash no need to sign it again for further help you can ask me also in the patch thread
Click to expand...
Click to collapse
Thanks for input. I first tried it using a captivate port and it would install then I would run patch and it wouldn't boot past vibrant screen. Then I got the original galaxy s rom that the cappy rom was ported from. It gave the error so I proceeded to change the file as per op instructions. It would abort install with but no error status. I did it twice to make sure. If I changed all the get prop from i9000 to t959 would it work?
Sent from my SGH-T959 using xda premium
you should not replace them instead just remove them
after flashing if it gives error then reboot device and with any root explorer app go to /cache/recovery and upload both the files I will see what the error is and then I can troubleshoot better
So guys I'm the twics porter to the cappy twics will soon be called remics I've been a part of a team that took over twics and I will soon be releasing to captivate
Sent From My ICS Cappy Using Tapatalk 2
patrick8996 said:
So guys I'm the twics porter to the cappy twics will soon be called remics I've been a part of a team that took over twics and I will soon be releasing to captivate
Sent From My ICS Cappy Using Tapatalk 2
Click to expand...
Click to collapse
Do you think it'd be possible for you to release a version for Vibrant as well? Since not much will have to be changed from Captivate.
Just modem/kernel, and possibly build.prop
dhlalit11 said:
you should not replace them instead just remove them
after flashing if it gives error then reboot device and with any root explorer app go to /cache/recovery and upload both the files I will see what the error is and then I can troubleshoot better
Click to expand...
Click to collapse
I did remove and it just aborts with no explanation.
Sent from my SGH-T959 using xda premium
xriderx66 said:
Do you think it'd be possible for you to release a version for Vibrant as well? Since not much will have to be changed from Captivate.
Just modem/kernel, and possibly build.prop
Click to expand...
Click to collapse
Yes please! I love it on my cappy and want it on my vibrant also!
Sent from my SGH-T959 using xda premium
and what about uploading the error log from /cache/recovery
I took the twics add on from mr.mad for gs1 running cm9/slim and flashed on my vibrant running gummy 1.2.6 and it got stuck on boot . I reflashed gummy without wiping and now have all the apps from add on except for tw launcher. I guess that's a happy medium until we can get a port.
Sent from my SGH-T959 using xda premium
dhlalit11 said:
and what about uploading the error log from /cache/recovery
Click to expand...
Click to collapse
How do I extract it from root browser?
Posse magnet......
samsgun357 said:
How do I extract it from root browser?
Posse magnet......
Click to expand...
Click to collapse
Just go to that file, copy it and paste it into your SD or something, and then upload it from there.
Because I have flashed a new rom and kernel the recovery log doesn't have the abort/error info...
Posse magnet......

Porting Android 4.1, Jelly Bean to Desire HD

Hi Guyz,
This is kind of my Ambitious Project of Porting Jelly Bean to our Desire HD ... while I cannot do this on my own, I would be happy if other developers can help me in this. Most of our TOP DEVS have moved on to the Sensation and One series ... I think others (NOOBS like ME) should take an initiative to learn more about Deving.
I am currently trying to get the device Booted....will let know about the progress ...
Good luck to you sir. It sounds ambitious, but everyone has to start somewhere.
Maxy
Sent from my HTC Desire HD A9191 using xda premium
i also want to try, i know C basics. it helps?
any tips from the expert devs?
I'll happily be a tester once you guys get it up and running (I don't know any programming, sorry)
Sent from my Desire HD using xda premium
i an very skeptic about getting it booting up. but ill try my best.
i will also ask from help from an expert Linux and C programmer
EDIT: wow... i got thankses XD
obviously it didn't boot, and im not an expert so i have no idea whats wrong it kernel / rom.
sorry everyone, i think we should wait for the source code and for an expert developer..
DubelBoom said:
i an very skeptic about getting it booting up. but ill try my best.
i will also ask from help from an expert Linux and C programmer
EDIT: wow... i got thankses XD
obviously it didn't boot, and im not an expert so i have no idea whats wrong it kernel / rom.
sorry everyone, i think we should wait for the source code and for an expert developer..
Click to expand...
Click to collapse
One of the biggest issues you have will be the display drivers that on the SDK are made for the worst chip when it comes to Android/linux. I wil be honest with you. Until the source for the ICS kernel is released in a few months you will be fighting to even get the basic things working. Gonna need to spend lots of time fighting in linux for it to happen.
zelendel said:
One of the biggest issues you have will be the display drivers that on the SDK are made for the worst chip when it comes to Android/linux. I wil be honest with you. Until the source for the ICS kernel is released in a few months you will be fighting to even get the basic things working. Gonna need to spend lots of time fighting in linux for it to happen.
Click to expand...
Click to collapse
yeah zelendel .. u are right.. display is a problem..
first my DHD was stuck at HTC logo.. after a few changes. it moved past the logo.. i think it booted without any display..
here is the logcat
https://www.dropbox.com/s/yngiqzp70iut3lq/logcat.txt
zelendel said:
One of the biggest issues you have will be the display drivers that on the SDK are made for the worst chip when it comes to Android/linux. I wil be honest with you. Until the source for the ICS kernel is released in a few months you will be fighting to even get the basic things working. Gonna need to spend lots of time fighting in linux for it to happen.
Click to expand...
Click to collapse
i tried porting the Galaxy Nexus's rom.
i have no idea what to do so it will boot...
Hey man! Nice initiative!
You read this? http://forum.xda-developers.com/showpost.php?p=28020178&postcount=36
He's already ported it to two devices, so you should be able to get some help there !
riteshbendre said:
yeah zelendel .. u are right.. display is a problem..
first my DHD was stuck at HTC logo.. after a few changes. it moved past the logo.. i think it booted without any display..
here is the logcat
https://www.dropbox.com/s/yngiqzp70iut3lq/logcat.txt
Click to expand...
Click to collapse
Read some of log and noticed some htc apps were being used..but why? This is AOSP
Sent from my Desire HD using xda app-developers app
david.degraw54 said:
Read some of log and noticed some htc apps were being used..but why? This is AOSP
Sent from my Desire HD using xda app-developers app
Click to expand...
Click to collapse
Because it wansnt ported right...he added HTC apps
Sent from my Desire HD using xda app-developers app
The biggest issue might be get gralloc working right...
E/HAL ( 1526): load: module=/system/lib/hw/gralloc.msm7x30.so
E/HAL ( 1526): Cannot load library: link_image[1891]: 1199 could not load needed library 'libQcomUI.so' for 'gralloc.msm7x30.so' (reloc_library[1306]: 1199 cannot locate 'eglGetRenderBufferANDROID'...
That is libs searching other libs, meaning, compiling is the easiest way to fix thoose. but for that.. need source
You can easly get boot withought gralloc and egl... but, that will only bring a lot of fcs
rom stuck on splash screen.
logcat: https://dl.dropbox.com/u/22680754/logcat.txt
(i didn't do any changes on ramdisk or boot.img. if one of them is the problem, just say that and when ill figure out how to edit them, i will post here again )
thanks
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
Check this link it will help with ramdisk
Sent from my Desire HD using xda app-developers app
im about to edit ramdisk. i haven't did that before. there should be files, with of them i need to edit? how to edit?
and im going tomorrow morning to a 3 days trip. i hope i will edit the ramdisk today
riteshbendre said:
yeah zelendel .. u are right.. display is a problem..
first my DHD was stuck at HTC logo.. after a few changes. it moved past the logo.. i think it booted without any display..
here is the logcat
https://www.dropbox.com/s/yngiqzp70iut3lq/logcat.txt
Click to expand...
Click to collapse
Gimme your ROM so far, I'll try to get it working
how is the porting going
f_E_a_R_e_D said:
how is the porting going
Click to expand...
Click to collapse
Boot animation is displaying, current error is
Code:
E/mDnsConnector( 1326): Error in NativeDaemonConnector: java.io.IOException: No such file or directory
---------- Post added at 07:51 PM ---------- Previous post was at 07:47 PM ----------
quinny899 said:
boot animation is displaying, current error is
Code:
e/mdnsconnector( 1326): Error in nativedaemonconnector: Java.io.ioexception: No such file or directory
Click to expand...
Click to collapse
i have a boot
-EDIT- May be a false alarm, stuck on Starting apps...
can a bad ramdisk brick my phone?
because on all guilds i see they are saying to be careful with editing the ramdisk....
Starting apps may take a while (from my experiance anyway) cause its the first, fresh boot. Screenshots (if you can)? Getting really excited about this already (flashaholic senses are kicking in, lol)
Sent from my Desire HD using one thumb

Categories

Resources