OK, so I took a leap of faith and decided I am going to try and port a stock Sense 3.0 ROM from the Desire HD over to the Thunderbolt.
I have it booted and can naviagte around with out any FCs, but of course as is usually the case on the tbolt I don't have radio/wifi/data.
I also don't have sdcard access, but am reviewing logcats to see if I can fix that.
Did have a camera issue but was able to fix that issue and camera now works fine.
Here is what I have done (basic overview, can go into more detail if anyone is interested in helping to point me in the right direction)
- Created a stock DHD rooted, deodexed rom from the RUU for leak/release 3.06.405.1 (Desire HD RUU)
- Moved usual files over to the DHD rom from stock tbolt rom 2.11.605.5 (lib files, ril files, etc)
- After one hang up on boot and reviewing logcats, I moved over a couple more lib files and was able to get a successful boot
I am sure the issue to fix this will be in framework.jar, but not sure which smali files.
Concerning framework.jar, I already tried to move over the framework.jar from 2.11.605.5, but it hangs up at splash screen.
I also tried to just move over just the thelephony smali folders in framework.jar and recompiling, but it also would hang up during boot.
I guess I need to merge some of the tbolt smali files into the DHD framework.jar, but not sure what and where.
This is a beautiful ROM and outisde of above issues, performs very smooth and I hope to get it completely functional.
I know alot of Sense 3 ROMs out there are Hybrids, and actually have alot of the stock Sense 2.1 base files. But I am trying to port the entire DHD Rom.
If you are up to helping and can give me some good solid direction on this, please PM me or if you want you can post it here, maybe someone can learn something from it.
I appreciate any help anyone can offer.
Also, I have asked a couple of "big" Devs for help on this, but decided to post on here as well as I know these Devs are busy with real life, let alone finding additional time to help on something like this.
First thing first, Yes I am a noob. I am trying to learn how to build custom roms. I already created a working rom based off of the UCPLC5 leak. I pretty much just deleted apk files and zipaligned the rom. I am wondering if anyone would be kind enough to help me figure out where to find fix'x and mods such as accurate battery mod or 5ghz wifi fix. Is there a website that I need to look into? I have tried searching google to no avail. I also tried the search here but I am unable to get any ideas.
Thanks in advance.
you're on pretty much the only resource you need.....learn how to search, thats all i can say, because there is no 'directory of mods/fixes'.....
evolution2012 said:
First thing first, Yes I am a noob. I am trying to learn how to build custom roms. I already created a working rom based off of the UCPLC5 leak. I pretty much just deleted apk files and zipaligned the rom. I am wondering if anyone would be kind enough to help me figure out where to find fix'x and mods such as accurate battery mod or 5ghz wifi fix. Is there a website that I need to look into? I have tried searching google to no avail. I also tried the search here but I am unable to get any ideas.
Thanks in advance.
Click to expand...
Click to collapse
Task did 90% of the work, you just tweaked that base.
Learn to grab the untouched firmware and extract, deodex it then start working from that.
If you are working on a i9100 base, it would be best to check there forum section.
Deodexing and a number of the basic porting fixes are covered in my guide in the Development section.
5 GHz wifi fix doesn't apply to AT&T bases unless AT&T ****ed up on an epic scale, it's only for ported European firmwares. That's covered in the guide too.
LiLChris06 said:
Task did 90% of the work, you just tweaked that base.
Learn to grab the untouched firmware and extract, deodex it then start working from that.
If you are working on a i9100 base, it would be best to check there forum section.
Click to expand...
Click to collapse
More than that....more like 99.5. I wouldn't even call it tweaking yet.
Sent from my Galaxy S II (i777)
Hi,
I am a new Galaxy S II (i9100) owner. I have a couple of questions, if some of the experienced users could please assist me I would greatly appreciate it. My questions are listed by priority:
EDIT: I am rephrasing my questions and putting the answers that I feel are best suited so that people who are interested can see the answers in one clean post
1) I understand that CM Mod is based on AOSP and is used as a base on a lot of ROMS but could someone please explain to me how a ROM could be an AOKP ROM and "Based on CM10". Are they taking certain modules from CM10 and certain things from an AOKP Build and putting it together?
ROMS usually take the best of CM and AOKP and combine to produce a more stable base.
2) I know what CWM is but once you use ODIN to flash CWM onto your phone where does it go? By this I mean, does it sit on the ROM or somewhere on your Internal SD card (or both, maybe it puts settings on your SD card). I would like to know if I format my Internal memory will it remove or cause CWM to bug out?
CWM will get removed from your phone if you flash a Kernal that doesn't have CWM on it. It will also get removed from your phone if you "format" the internal SD as that is where it is stored. CWM will NOT be removed if you flash a update to your phone that doesn't require you to "wipe"
3) I am not a fan of the Stock Samsung ROMS because of the bloatware that it contains. However, is it all possible that these Stock Samsung ROMS have built in optimization code or something that works better for my specific device? I ask this because the best battery life I've managed to get was on Stock Samsung ICS where as my battery life dies on any of the JB Roms (Even SlimBean)
AFAIK Stock Roms are optimized for basic / standard features. Custom ROM's can be optimized for the way you use your phone. A Stock ROM is a "One Size Fits all ROM" a Custom ROM can be "Tailored" to fit your needs.
4) I understand how I/O Schedulers / Governors etc work but what advantage does using a non stock Kernel have? As far as I understand these can be changed on any rooted Kernel or am I incorrect?
I/O Schedulers / Governors can be changed on rooted or non rooted Kernels. Rooted Kernels have access to their own custom schedulers and governors.
5) When I download an app from Play store is there no way for me to not install it and just download the APK? So that I don't have to backup all my apps (I don't like using Titanium very much) and so that I can just reinstall the APK files from my internal Memory?
No There is no way to get around this. Install APK files from the Web. Use Titanium Backup to backup applications installed from the Play Store.
6) I've followed the guide to enable or disable Fast Dormancy (I'm still learning about this) however when I type the code in my phone (*#9900#) or (*#0011#) nothing happens. Is this because I'm running JB and these codes only work on ICS?
These codes only work on Stock ROMS
7) When I have a look at my battery usage (currently on CM10) screen says "52%" even though my brightness is set to like 25%. I am trying to figure out why my battery is dying so fast. Is this normal?
There is no "Normal". Too many factors involved. Have a look at the BBS Thread http://forum.xda-developers.com/show....php?t=1179809. You may post your BBS dump/log in this thread and ask the experts to analyze it for you.
8) What is the main difference between AOSP and AOKP? I understand that AOKP will open up a lot of other customizations to me but what are these customizations? I assumed it was things like setting the governor and the I/O Scheduler etc but I've installed ROMS based on AOSP that allows me to do that.
Busy Formulating an answer
9) Galaxy S2 Modems I keep flashing different modems on my phone but I see no change in signal whatsoever is there an application or anything that can help me get an accurate benchmark so that I know which modem is "best" for me?
This is usually done by trial and error. Have a look at the Modem / RILS thread to ensure that your Baseband and RIL version match. Alternatively you can use an app called GETRIL which will get the correct RIL file for your modem
10) Please don't mistake this as a "What's the best ROM??" question. I've tried many different ROMs and I still haven't got a favorite I am looking for someone who has an idea of which ROM will mostly fulfill my requirements which are:
(BTW I'm leaning towards SlimBean here)
1) JB (I love JB keyboard)
2) Battery life (I think I'm looking for something that uses the conservative governor)
3) I mainly use my phone for WhatsApp (I use this ALOT) and browsing (barely for games)
4) Lightweight (I don't want Samsung Apps, I don't want a ROM that has 3 launchers etc.)
5) I don't mind charging my phone once every 16-18 hours.
6) Preferably AOKP so I can mess around and experiment and perhaps give back to the community
This is my personal opinion but I think that SlimBean will best fit my requirements
lickwidice said:
Hi,
I am a new Galaxy S II (i9100) owner. I have a couple of questions, if some of the experienced users could please assist me I would greatly appreciate it. My questions are listed by priority:
1) I understand that CM Mod is based on AOSP and is used as a base on a lot of ROMS but could someone please explain to me how a ROM could be an AOKP ROM and "Based on CM10". Are they taking certain modules from CM10 and certain things from an AOKP Build and putting it together?
2) I know what CWM is but once you use ODIN to flash CWM onto your phone where does it go? By this I mean, does it sit on the ROM or somewhere on your Internal SD card (or both, maybe it puts settings on your SD card). I would like to know if I format my Internal memory will it remove or cause CWM to bug out?
3) I am not a fan of the Stock Samsung ROMS because of the bloatware that it contains. However, is it all possible that these Stock Samsung ROMS have built in optimization code or something that works better for my specific device? I ask this because the best battery life I've managed to get was on Stock Samsung ICS where as my battery life dies on any of the JB Roms (Even SlimBean)
4) I understand how I/O Schedulers / Governors etc work but what advantage does using a non stock Kernel have? As far as I understand these can be changed on any rooted Kernel or am I incorrect?
5) When I download an app from Play store is there no way for me to not install it and just download the APK? So that I don't have to backup all my apps (I don't like using Titanium very much) and so that I can just reinstall the APK files from my internal Memory?
6) I've followed the guide to enable or disable Fast Dormancy (I'm still learning about this) however when I type the code in my phone (*#9900#) or (*#0011#) nothing happens. Is this because I'm running JB and these codes only work on ICS?
7) When I have a look at my battery usage (currently on CM10) screen says "52%" even though my brightness is set to like 25%. I am trying to figure out why my battery is dying so fast. Is this normal?
8) What is the main difference between AOSP and AOKP? I understand that AOKP will open up a lot of other customizations to me but what are these customizations? I assumed it was things like setting the governor and the I/O Scheduler etc but I've installed ROMS based on AOSP that allows me to do that.
9) Galaxy S2 Modems I keep flashing different modems on my phone but I see no change in signal whatsoever is there an application or anything that can help me get an accurate benchmark so that I know which modem is "best" for me?
10) Please don't mistake this as a "What's the best ROM??" question. I've tried many different ROMs and I still haven't got a favorite I am looking for someone who has an idea of which ROM will mostly fulfill my requirements which are:
...
Click to expand...
Click to collapse
Ha ha, next time, please don't post so many questions in one post.
Then you will get more answers IMO.
I can't answer every question, but I'll try my best:
1) As I am using stock / Sammy ROMs only, I can give no clue to that. Please search and read a bit in ROM threads.
2) In SGS2 firmware, recovery (CWM is a special, enhanced recovery) is included in the kernel. If you format your internal memory (sd card), it will be removed, and will have to flash a new firmware (whole ROM including a new kernel with recovery) to your phone.
3) I like stock / Sammy ROMs, but custom ROMs may include same or similar device-specific drivers/etc. AFAIK.
4) Most custom kernels support different I/O Schedulers and CPU Governors. So you can switch to the one you like/prefer.
5) Apps from Play store will be automatically installed on your phone. That's why so many users are using Titanium Backup.
6) There is an app from gokhanmoral to switch Fast Dormancy on/off. I don't have the link, so you have to search for it here on xda. The USSD codes won't work on some ROMsm such as non-stock or JB.
7) Have a look at BBS thread => http://forum.xda-developers.com/showthread.php?t=1179809. You may post your BBS dump/log in this thread and ask the experts to analyze it for you.
8) Have already google it, or look at wikipeadia. I have no better answer ... sorry.
9) Have a look at the modem thread here => http://forum.xda-developers.com/showthread.php?t=1131950, and here for modem/RIL files => http://forum.xda-developers.com/showthread.php?t=1881304
10) No "What's the best ROM??" question?! Sounds like that to me You have to check different ROMs yourself and decide yourself what's best for you and your needs.
Good luck !
lickwidice said:
Hi,
I am a new Galaxy S II (i9100) owner. I have a couple of questions, if some of the experienced users could please assist me I would greatly appreciate it. My questions are listed by priority:
1) I understand that CM Mod is based on AOSP and is used as a base on a lot of ROMS but could someone please explain to me how a ROM could be an AOKP ROM and "Based on CM10". Are they taking certain modules from CM10 and certain things from an AOKP Build and putting it together?
2) I know what CWM is but once you use ODIN to flash CWM onto your phone where does it go? By this I mean, does it sit on the ROM or somewhere on your Internal SD card (or both, maybe it puts settings on your SD card). I would like to know if I format my Internal memory will it remove or cause CWM to bug out?
3) I am not a fan of the Stock Samsung ROMS because of the bloatware that it contains. However, is it all possible that these Stock Samsung ROMS have built in optimization code or something that works better for my specific device? I ask this because the best battery life I've managed to get was on Stock Samsung ICS where as my battery life dies on any of the JB Roms (Even SlimBean)
4) I understand how I/O Schedulers / Governors etc work but what advantage does using a non stock Kernel have? As far as I understand these can be changed on any rooted Kernel or am I incorrect?
5) When I download an app from Play store is there no way for me to not install it and just download the APK? So that I don't have to backup all my apps (I don't like using Titanium very much) and so that I can just reinstall the APK files from my internal Memory?
6) I've followed the guide to enable or disable Fast Dormancy (I'm still learning about this) however when I type the code in my phone (*#9900#) or (*#0011#) nothing happens. Is this because I'm running JB and these codes only work on ICS?
7) When I have a look at my battery usage (currently on CM10) screen says "52%" even though my brightness is set to like 25%. I am trying to figure out why my battery is dying so fast. Is this normal?
8) What is the main difference between AOSP and AOKP? I understand that AOKP will open up a lot of other customizations to me but what are these customizations? I assumed it was things like setting the governor and the I/O Scheduler etc but I've installed ROMS based on AOSP that allows me to do that.
9) Galaxy S2 Modems I keep flashing different modems on my phone but I see no change in signal whatsoever is there an application or anything that can help me get an accurate benchmark so that I know which modem is "best" for me?
10) Please don't mistake this as a "What's the best ROM??" question. I've tried many different ROMs and I still haven't got a favorite I am looking for someone who has an idea of which ROM will mostly fulfill my requirements which are:
(BTW I'm leaning towards SlimBean here)
1) JB (I love JB keyboard)
2) Battery life (I think I'm looking for something that uses the conservative governor)
3) I mainly use my phone for WhatsApp (I use this ALOT) and browsing (barely for games)
4) Lightweight (I don't want Samsung Apps, I don't want a ROM that has 3 launchers etc.)
5) I don't mind charging my phone once every 16-18 hours.
6) Preferably AOKP so I can mess around and experiment and perhaps give back to the community
Click to expand...
Click to collapse
1. Yes the best of cm and AOKP where combined to produce a more stable base.
2. CWM or clockworkmode is a phone based recovery that allows you to make changes without powering and rebooting the phone in recovery mode. It is added to rooted kernel and will disappear if you flash a wiped or standard kernal over it.
It will not disappear if you flash an non wipe update to your phone.
3. jb roms are getting better with the battery as new optimizations are being intergrated. Stock roms were designed around the battery with minimal features implemented, when you add apps your battery will start get worse.
4. yes they can be changed on rooted kernals or non rooted kernals. On rooted kernals it gives you more control over the functions of the phone.
5. unfortnately play store automatically installs the apks automatically. you need to back them up with a program similiar to titanium back up. They are a few different versions in play store just find one you like. Only non play store apps download the apk for you to install yourself. One of the functions of CWM is to allow you to install APKS. I System Tuner Pro myself.
6. Correct, those codes only work with the stock keyboard and ics roms as JB Have very little stock apps included.
7. How fast the batttery discharges depends on a number of factors like what apps are running, If you leave wi fi on and if you have wake locks. BBs which is a battery recording app can found on this forum. Make a log of a day and post it and experenced members will review it and advise what to do to get better battery life.
8. You need to ask a developer what the differences are. But I think AOKP is an upgrade of AOSP.
9. No trial and error is the only method. Your baseband and ril must match to get the most efficiency
out of your modem. There is a small program called GETRIL which will update the ril for you.
10. unfortunately everybody's preferences are different so it is another case of trying roms till you find on you are happy with.
I hope that these answers of some help.
@It_ler @Cosmic Blue
Thanks for the replies... I have a better understanding already. I've read up on GETRIL and will give that a try.
2) In SGS2 firmware, recovery (CWM is a special, enhanced recovery) is included in the kernel. If you format your internal memory (sd card), it will be removed, and will have to flash a new firmware (whole ROM including a new kernel with recovery) to your phone.
Click to expand...
Click to collapse
2. CWM or clockworkmode is a phone based recovery that allows you to make changes without powering and rebooting the phone in recovery mode. It is added to rooted kernel and will disappear if you flash a wiped or standard kernal over it.
It will not disappear if you flash an non wipe update to your phone
Click to expand...
Click to collapse
I understand. But is the internal memory partitioned? If I use X-plore I have a 11gig SD Memory and then I have a "/Root" folder which is 2gigs
Structure looks like this: /sdcard 11gb (10.9gbfree)
/root 2gb (1.7gb free)
Does CWM and Kernel not sit in /root? and is "/root" not a separate partition?
So...Instead of doing your own research & getting full/accurate answers to your questions (and learning a lot in the process), you'd rather sit here & wait for 'users' to give you mostly vague-ish answers to them ?
(Hint: By & large, developers do not read Q&A. They have better things to do.)
Edit - List of SGS2 partitions
MistahBungle said:
So...Instead of doing your own research & getting full/accurate answers to your questions (and learning a lot in the process), you'd rather sit here & wait for 'users' to give you mostly vague-ish answers to them ?
(Hint: By & large, developers do not read Q&A. They have better things to do.)
Edit - List of SGS2 partitions
Click to expand...
Click to collapse
MistahBungle this is a Q&A thread if you don't have any A's then rather don't post. I've had the Galaxy for 3 days. In 3 days I've read a lot and done a lot of research. You reply makes no sense that's like saying: "So Instead of failing many times and then getting it right you'd rather Google and get it right the first time?". I posted here because I know 90% of the people here are experts and will give me the answers I'm looking for. Also, I'm not posting questions like "OMG Lulz teach me how to root my phone" you can see that I've tried and these are questions that I have after trying out different ROMS.
Thanks to those that are willing to help, this is what builds a good community.
So that link I posted is an illusion, huh ?
MistahBungle said:
So that link I posted is an illusion, huh ?
Click to expand...
Click to collapse
OMW Oops :/. I'm so sorry I didn't even see that link I thought it was a signature. Thanks for the link you posted it is very helpful I'm reading it right now.
Before you start getting hostile please realise nobody on this site is obliged to help you and anyone who does reply to your thread does so in their own time and off their own volition. Beggers can't be choosers.
But otherwise your post isn't too bad. The differences between CM and AOKP are mainly cosmetic and to do with feature. There is no "AOSP" as everything is at its core based off AOSP. I always image AOKP as just a more streamlined, feature inclusive CM but recently they have started to add their own tweaks etc. Honestly, it doesn't matter anymore because with Siyah kernel (and kernels like it) being able to work on multiple platforms you can have ROMs with CM base and AOKP+Paranoid features.
The "features" I'm talking about are stuff like integrated weather, quick flashlight toggle, change the battery/signal display, etc etc.
postfatal said:
Before you start getting hostile please realise nobody on this site is obliged to help you and anyone who does reply to your thread does so in their own time and off their own volition. Beggers can't be choosers.
But otherwise your post isn't too bad. The differences between CM and AOKP are mainly cosmetic and to do with feature. There is no "AOSP" as everything is at its core based off AOSP. I always image AOKP as just a more streamlined, feature inclusive CM but recently they have started to add their own tweaks etc. Honestly, it doesn't matter anymore because with Siyah kernel (and kernels like it) being able to work on multiple platforms you can have ROMs with CM base and AOKP+Paranoid features.
The "features" I'm talking about are stuff like integrated weather, quick flashlight toggle, change the battery/signal display, etc etc.
Click to expand...
Click to collapse
I do agree that I should've responded in a better way, and that people are not obliged to help me. That's why I thank the people that do help. However, commenting on a thread and telling the OP to do his research doesn't seem constructive to me whatsoever (I've seen many threads like this). Posting a link is a quick CTRL+V and is way more constructive IMO.
Thanks for clearing up the differences for me. It makes a lot of sense. Everything is based on AOSP since that is the most "pure" release. AOKP is modified AOSP and CM is also Modified AOSP. So essentially most AOKP Roms take the best from AOKP builds and CM builds.
sorry for starting a new thread but i have researched and tried everything i could before posting here.
i own a i777 and am located in india. recently i had a baby and my wife is at her mother's place with the baby. i use native 3g video calling daily to talk to them. the problem is, i have found only one rom (mystic glory- which is a great rom, thks to Mysticking)so far with "dialer with contacts" .i have been using this rom for last 6 months dd basis.
Now i would like to get myself some jellybeans on the phone. i had downloaded a lot of jb roms(i777, ported i777, tried hellraising i9100 roms) hoping to have native video calling....but no luck......couldnt successfully hellraise i9100 roms with the procedures mentioned in ported development forum.
i have also tried to install several respective "dialer with contacts" (respective meaning xxlsj, xwlpg, xwlpq etc) mods and .apk files using the method of puting them in system folder with solid explorer (followed exact steps descried in general forum to replace system apks) but no luck what so ever.
i cant even use dual booting, since mystic's rom is ics and there is no kernel (to the best of my knowledge) that can dual boot ics and jb together. so basically i m stuck with mystic glory (no disrespect to Mysticking or his rom which is superb for ics).
now my question is can somebody direct me in the right direction, and suggest a foolproof method to install "dialer with contatcs" on practically all roms so i can explore the treasure of roms developed by beautiful ppl of xda. i m not an expert yet, but i can follow proper directions very well. willing to learn and do basic programming if i have to.
Or even better if somebody can be so kind to develope a app like market app whick can be installed on any rom.
please help.
What is "dialer with contacts"?
dsmboost said:
What is "dialer with contacts"?
Click to expand...
Click to collapse
basically its a dialer with a button on it to make network based video calls.....not skype or tango which are internet based video calling.
try youtube.
poooolbachhan said:
basically its a dialer with a button on it to make network based video calls.....not skype or tango which are internet based video calling.
try youtube.
Click to expand...
Click to collapse
I think most roms remove the video call feature because we can't use it in the US. You can try asking a rom developer to give you a cwm flashable file of the dialer with video call (if it originally had it).
dsmboost said:
I think most roms remove the video call feature because we can't use it in the US. You can try asking a rom developer to give you a cwm flashable file of the dialer with video call (if it originally had it).
Click to expand...
Click to collapse
thks mate . I will definitely try.
Sorry to post this question fellow members, I've been looking for several days without any luck. I was gonna post this quetion in the ROM thread, but thought it was the wrong place.
Currently running LiquidSmooth 4.4.4 on a Verizon LG-VS895 and just NOW noticed the stock camera was gone. I was wondering how to port the stock files back into this rom. I really miss the gimmicky stuff (like magic focus) and was wondering how to eliminate the camera that comes with this rom and revert to the stock camera.
I downloaded a stock rooted rom and tried seeing if i could move files over from it to my phone, but I'm unsure of where to start. Sorry in advance if this has been posted or if I'm a stupid newb, but this is driving me bananas.
I tried flashing camera mod hoping that would restore it, but that didn't work either. So, this question is based off of a fresh install of this rom.
Thanks