Want to flash incompatible rom, don't need radios. - Sprint HTC One (M7)

I am no longer on a carrier with this device so I thought I'd try to get sailfish working, though it's for the non-sprint m7, can I force it to flash even though CM checks the model?

Joshlul said:
I am no longer on a carrier with this device so I thought I'd try to get sailfish working, though it's for the non-sprint m7, can I force it to flash even though CM checks the model?
Click to expand...
Click to collapse
The partition layout of the Sprint model is different, so you need to make sure you at least change the flashing script to make sure it will write to the proper partition.

I wish I had any idea how to do that, or where to start.

Related

[PR] Rooting For devs only

I am starting this to get working on rooting this bad boy, if you are not going to have anthing useful to say or contribute that please do not comment. This thread is for work, not bi*ching or complaing about how bad you want root. If you want to that than please go HERE. Im not trying to be a a$$ but i have been down this road before and its a long and tireing road, and the more people that complain it makes anyone not want to help.
Ok so here is what I have been trying.
Trying to confirm if gold gards work or not, if you want to try and make one than go here, follow the steps and than reboot to bootloader (volume down and power) than select the simlock option if you get not a valid key card than you did somthing wrong or htc changed somthing with the gold card.
If you get it to work than you might be able to flash this ROM it is a older rom than what was released with our phones. WARNING YOU WILL NOT BE ABLE TO FLASH BACK TO THE CURRENT ROM UNTILL WE GET A RUU FOR IT.
Why am i trying to get the gold card woking, well if we can get it working than we may be able to get the desire method to work for us, if not than were stuck for right now.
Im not exactly sure what Paul did. Maybe you could shoot him a tweet? I think it involved the gold card but it involved scripts and things of that nature. What other options might we have? We have an older bootloaded on the incredible right? Or does the .77 indicate version number specific to our model? I think the Legend has .80 but maybe the version are model specific and dont mean anything. Maybe find another htc device with bootloader .77 and see what vulnerabilities it had/has?
Any vulns will not be in the boot loader, they will be in the system. And yes his method did involve a gold card, that is why i am trying to get it work, but here is the problem, there is a simlock option in the bootloader and what if you have a proper gold card than you should be able to run this option, but mine keeps saying "invalid key card". I think maybe HTC changed somthing or they disabled gold cards, wich would not suprise me, as they did with the eris. Anyway as right now our only options are to get a gold card working or find a linux kernel exploit for privlage escalation. And even at that point, it looks like we will have more hoops to jumpthrough after that.
And I did shoot paul a tweet and he is NOT going to work on a root method for us.
Ok just a update here is what paul did, he had a rom signed with test keys, the reson for the gold card is to flash a generic rom, so as of right now we screwed. Unless somone can get a test rom that is for our device that has a higher bootloader than we have right now. IF we can get that than we can use the rest of what paul did but untill than we are stuck.
So anyone from HTC out there Or VZW that can get me a Test signed rom???? any help would be greatly apreictated.
I'm not a dev but is there any reason we couldn't use the same exploit cyanogen used on the g1 the CVE-2009-2692 exploit says it effects our kernel on the national vulnerability database. Just a thought for people way smarter than myself.
lol that has been patched for a long long long time.
I have a working goldcard and when I select simlock option it gives me this
simlock
0: SD FAT32 init ok
255: NOT KEY CARD !!!
Process done, reboot device?
<VOL UP> Yes
Click to expand...
Click to collapse
I have been trying the goldcard method but i do not have a working PB31IMG.img so i always get a wrong image error!!
EDIT: "Im trying to root just like they did the Mytouch 3g"
EDIT2: "I am well aware of the risk and by doing this. I know I will not be able to flash to the latest Shipped_RUU untill we have the RUU."
if you want a rom for the incredible download this and rename it to PB31IMG.zip http://www.mediafire.com/?nnjzogyy3yu this one is a older rom.
binny1007 said:
if you want a rom for the incredible download this and rename it to PB31IMG.zip http://www.mediafire.com/?nnjzogyy3yu this one is a older rom.
Click to expand...
Click to collapse
trying it now, wish me luck
EDIT: did not work...
Nogo....
I tried running my Incredible under water first, to see if it would some how connect the right circuits to allow exploit, but... it stopped working all together... any ideas?
Additionally, I do not have a "Gold Card," but I do have a VISA... where do I swipe it? Is there a software app that "reads" the card? Will that bring my phone back to life?
Thanks in advance...
StRiNgS said:
Additionally, I do not have a "Gold Card," but I do have a VISA... where do I swipe it? Is there a software app that "reads" the card? Will that bring my phone back to life?
Click to expand...
Click to collapse
You could PM me with all the relevant details, of course. I'd be *glad* to help...
IncredibleDoes said:
I have a working goldcard and when I select simlock option it gives me this
I have been trying the goldcard method but i do not have a working PB31IMG.img so i always get a wrong image error!!
EDIT: "Im trying to root just like they did the Mytouch 3g"
EDIT2: "I am well aware of the risk and by doing this. I know I will not be able to flash to the latest Shipped_RUU untill we have the RUU."
Click to expand...
Click to collapse
from all the knowledge ive accumulated a goldcard will only sim unlock the device meaning available to use on different networks. as this is verizon we dont have sim cards so virtually there is nothing to unlock(other than our bootloader and fastboot which dont pertain to a goldcard so i think)
as for pb31img i am unaware as to what this is. it is possible that it handles radio functions and that would be useless for us cdma incredible owners
and to others try to stay on topic i really wanna root my baby
jdubzisfaded said:
from all the knowledge ive accumulated a goldcard will only sim unlock the device meaning available to use on different networks. as this is verizon we dont have sim cards so virtually there is nothing to unlock(other than our bootloader and fastboot which dont pertain to a goldcard so i think)
Click to expand...
Click to collapse
A goldcard can be used to root a device, in fact that's the only way to root some devices. A gold card is a specially prepared MicroSD, not a sim card.
Ok I'm only going to say this once, STAY ON TOPIC, THIS THREAD IS NOT FOR FUNNY BUSINESS, OR COMPLAINING, DO IT SOME WERE ELSE.
As far as PB31IMG.zip that is what the bootloader will look for when entering hboot. This is the zip file that will hold the Rom. Gold cards use to allow you to flash unsigned roms, now what the main use is to cid unlock your device so you can load a different carriers Rom, but the gold card method is changing and who knows if we can even use them.
Once again I am all for having fun and joking around but please keep it out of this thread.
i found out how to get to recovery to flash roms. has anyone tried to flash a rom?
i see where your going with the goldcard but i think flashing from recovery would be a easier route
Not going to work unless we get a custom recovery.
well would we be able to flash a signed rom in recovery??
Well yes and no recovery is used to flash updates and the bootloader will flash a full Rom with img files, and both have to be signed and they both have to be equal to or a higher version than what you have on your device.
thanks for clarifying
Sent from my ADR6300 using the XDA mobile application powered by Tapatalk
binny1007 said:
Ok I'm only going to say this once, STAY ON TOPIC, THIS THREAD IS NOT FOR FUNNY BUSINESS, OR COMPLAINING, DO IT SOME WERE ELSE.
As far as PB31IMG.zip that is what the bootloader will look for Qwhen entering hboot. This is the zip file that will hold the Rom. Gold cards use to allow you to flash unsigned roms, now what the main use is to cid unlock your device so you can load a different carriers Rom, but the gold card method is changing and who knows if we can even use them.
Once again I am all for having fun and joking around but please keep it out of this thread.
Click to expand...
Click to collapse
Great thread binny...no BS...good luck with that
I am talking to a guy at Verizon and HTC from previous leaks trying to get another Rom.....
You know how that goes....
Tried old Eris exploits from the site and hitting walls..

[Q] No 3g data, wrong phone number, Tips?

Hi, My friend recently enlisted my assistance with his phone. He has no 3g signal, the phone can't make calls, and apparently Sprint was having trouble activating it even though it has a clean ESN. It appears to be rooted, and has a custom ROM. I tried installing an EXE to flash me back to stock, but I dont have the correct driver I suppose. I intend to continue reading as I have been for the last 2 hours. Does anyone have any guidance? The old phone number from the previous owner is loaded. Is that halting activation?
Thank you!
I also try to connect it to Wifi. It connects, but wont let me access a web page. It halts about halfway through loading. Radio issue?
Go to this link and download the files and name it HERCIMG.zip and then put that on the root of the sdcard. Once its on the sdcard, shut down the phone. Now turn on the phone while holding the down volume button. Once it verifies the files, press the trackball to confirm the install. Once it is done the phone will reboot and be restored back to stock. Once its stock, have your friend call Sprint and retry activation. Link: http://forum.xda-developers.com/showthread.php?t=804692
skearton said:
Hi, My friend recently enlisted my assistance with his phone. He has no 3g signal, the phone can't make calls, and apparently Sprint was having trouble activating it even though it has a clean ESN. It appears to be rooted, and has a custom ROM. I tried installing an EXE to flash me back to stock, but I dont have the correct driver I suppose. I intend to continue reading as I have been for the last 2 hours. Does anyone have any guidance? The old phone number from the previous owner is loaded. Is that halting activation?
Thank you!
Click to expand...
Click to collapse
Does it Already have a Custom Recovery? If so try Downloading a Different Rom, and be sure to Wipe Data/Cache/DalvikCache!
Also try the Fresh Rom, and Update the User Profile!
PMGRANDS said:
Does it Already have a Custom Recovery? If so try Downloading a Different Rom, and be sure to Wipe Data/Cache/DalvikCache!
Also try the Fresh Rom, and Update the User Profile!
Click to expand...
Click to collapse
It does have Clockwork mod, I'm assuming the previous owner installed a ROM, ran into this problem and bought a new phone instead of tinkering. I was directed here from SDX where I have learned some of the ins and outs with my Samsung.
I flashed a team heroC 2.3.4 which is a cyanogen I believe. It booted up fine, and is running but didnt fix my issue. It didnt wipe /System so the issue might be hidden in there? I doubt the end user will want to modify, etc. Also, I've noticed when people enlist me for these projects I also receive the complaints and am expected to do something about it.
I'll give this a shot, and then re-root, and keep trying. In the end, if I dont get it fixed I have a free hero to play with.
Thank you, and +1 to ya.
skearton said:
It does have Clockwork mod, I'm assuming the previous owner installed a ROM, ran into this problem and bought a new phone instead of tinkering. I was directed here from SDX where I have learned some of the ins and outs with my Samsung.
I flashed a team heroC 2.3.4 which is a cyanogen I believe. It booted up fine, and is running but didnt fix my issue. It didnt wipe /System so the issue might be hidden in there? I doubt the end user will want to modify, etc. Also, I've noticed when people enlist me for these projects I also receive the complaints and am expected to do something about it.
I'll give this a shot, and then re-root, and keep trying. In the end, if I dont get it fixed I have a free hero to play with.
Thank you, and +1 to ya.
Click to expand...
Click to collapse
I tried a fresh ROM and I am getting a "amend scripting is no longer supported, something about edify scripting, installation aborted"
I cleared cache, dalvik cache, choose zip from sdcard, yes install from zip. Am I missing a step? Any chance you could link me to a ROM you recommend? I tried Fresh 2.4.0.zip
I have clockwork v3.0.0.5
Hero200
2.3.4
2.42.01.04.27
2.6.35.10 Team HeroC [email protected] #606
GRJ22
Shouldve posted that in my first post I imagine, if it changes any advice.
dastin1015 said:
Go to this link and download the files and name it HERCIMG.zip and then put that on the root of the sdcard. Once its on the sdcard, shut down the phone. Now turn on the phone while holding the down volume button. Once it verifies the files, press the trackball to confirm the install. Once it is done the phone will reboot and be restored back to stock. Once its stock, have your friend call Sprint and retry activation. Link: http://forum.xda-developers.com/showthread.php?t=804692
Click to expand...
Click to collapse
My phone has -s ON, that seems to be halting this process. I am trying to find the proper driver for this phone now. I have Windows 7, I have it plugged in, I run RUU and it says there is a USB connection error. I don't see it in Device Manager, nor do I see it try to trigger on my PC as a device.
If I rename the HERCIMG to update, and install as sd card/update.zip Will that cause an issue?
I will await a response in fear of bricking.
In Hboot it says can't find Hercdiag.zip
Other Hercdiags
and HercImg.zip
It appears that I have Hboot 1.47.0000
Would renaming to Hercimg.zip do the trick?
In this particular Zip I have:
androidinfo.txt
boot.img
Hboot 1.47
NV MFG
Radio 2.42
recovery.img
Splash
system.img
user data.img
skearton said:
My phone has -s ON, that seems to be halting this process. I am trying to find the proper driver for this phone now. I have Windows 7, I have it plugged in, I run RUU and it says there is a USB connection error. I don't see it in Device Manager, nor do I see it try to trigger on my PC as a device.
If I rename the HERCIMG to update, and install as sd card/update.zip Will that cause an issue?
I will await a response in fear of bricking.
Click to expand...
Click to collapse
Do not flash it like a regular ROM.
dastin1015 said:
Do not flash it like a regular ROM.
Click to expand...
Click to collapse
+1, Thank you.
I am s- off now if that makes any kind of difference. I guess I will keep flashing different things until I can get something to work.
I was able to log into a google account over wifi, but still no 3g icon. I flashed the Gapps because all of those were missing somehow. I really wish I could get that HERCIMG to work. It also says Im missing Hercdiag, etc too. So maybe thats the issue?
I have radio 2.42.01.04.27
Is there any further detail I can post that may help us narrow down the cause?
I wish I had the correct data cable so I could use the RUU method. I'm assuming thats why the phone isnt triggering my device manager. (If it wouldnt have the same issue with HERCIMG.zip anyway)
Its gotta be something retarded that I'm overlooking here.
When calling Sprint for activation, the code entered into the dialer wasnt triggering the response necessary for activation either.
Would flashing stock recovery fix the Hboot issue. Maybe the Hboot file is corrupt? I have re-downloaded 3 times, but from the same mediafire host.
skearton said:
+1, Thank you.
I am s- off now if that makes any kind of difference. I guess I will keep flashing different things until I can get something to work.
I was able to log into a google account over wifi, but still no 3g icon. I flashed the Gapps because all of those were missing somehow. I really wish I could get that HERCIMG to work. It also says Im missing Hercdiag, etc too. So maybe thats the issue?
I have radio 2.42.01.04.27
Is there any further detail I can post that may help us narrow down the cause?
I wish I had the correct data cable so I could use the RUU method. I'm assuming thats why the phone isnt triggering my device manager. (If it wouldnt have the same issue with HERCIMG.zip anyway)
Its gotta be something retarded that I'm overlooking here.
When calling Sprint for activation, the code entered into the dialer wasnt triggering the response necessary for activation either.
Would flashing stock recovery fix the Hboot issue. Maybe the Hboot file is corrupt? I have re-downloaded 3 times, but from the same mediafire host.
Click to expand...
Click to collapse
Actually now that you are S-OFF put the HERCIMG.zip onto your sdcard and boot into your bootloader. Don't worry about the others missing. Those are irrelevant. Boot into the bootloader when your phone is off by holding volume down and pushing power button. Then when asked for a confirmation press the trackball.
I made some progress. I formatted my SD card to FAT32, It was FAT before. Copied the file over, was able to flash that HERCIMG file.
Once I got logged in, it appears that this phone has been flashed to REVOL. So I guess I have more homework trying to switch it back to Sprint? It has the Sprint Programs installed, and Sprint boot screen.
It has a revol lockscreen, and the carrier in "About Phone" is listed as Revol.
What now? booo... Am I SOL?
+1
skearton said:
I made some progress. I formatted my SD card to FAT32, It was FAT before. Copied the file over, was able to flash that HERCIMG file.
Once I got logged in, it appears that this phone has been flashed to REVOL. So I guess I have more homework trying to switch it back to Sprint? It has the Sprint Programs installed, and Sprint boot screen.
It has a revol lockscreen, and the carrier in "About Phone" is listed as Revol.
What now? booo... Am I SOL?
+1
Click to expand...
Click to collapse
The only way to flash back to Sprint is illegal and I don't even know how to do it and if I did I wouldn't do it cause it's illegal.
Here is an explanation: http://answers.yahoo.com/question/index?qid=20090531195649AAEL6nf
dastin1015 said:
The only way to flash back to Sprint is illegal and I don't even know how to do it and if I did I wouldn't do it cause it's illegal.
Here is an explanation: http://answers.yahoo.com/question/index?qid=20090531195649AAEL6nf
Click to expand...
Click to collapse
Thank you for letting me know that it is illegal. I am likely not to look into the issue further. If I do, I will not post about it. Thank you again for your help. At least I learned a bit about HTC vs. my Samsung in the guidance I received here.
If someone knows of a non-illegal method, please PM me.

Very Urgent help needed - Stuck in bootloader

I flashed Revolution HD, the latest version and when the phone re-booted it went to bootloader.
I managed to flash TWRP again and im in there, however I need to put a ROM on the phone and cant copy one on there
any ideas? adb says device not found, not sure if im doing something wrong
try fastboot devices
You can try this to sideload a rom.
http://forum.xda-developers.com/showthread.php?p=40341536
Sent from my HTCONE using Tapatalk 2
Okay, managed to get ADB working. For some reason it doesn't work on USB3 ports :S
Sideloaded a ROM, but I got no network signal, and it restarted itself within about 2 mins.
I have re-locked, and am running RUU now, if this doesn't work what shall I do?
Okay the RUU worked fine. Thanks for the help guys!
Latest versions on intl. roms are 4.2.2. They won't work on sprint. Since there is no sprint support the updater script wipes our radio and boot partition because they have a different partition table than we do. It's just f.y.I so you know what went wrong
18th.abn said:
Latest versions on intl. roms are 4.2.2. They won't work on sprint. Since there is no sprint support the updater script wipes our radio and boot partition because they have a different partition table than we do. It's just f.y.I so you know what went wrong
Click to expand...
Click to collapse
Yeah I realised, but the text in the post is VERY misleading.
http://cl.ly/image/1H3I1y2V3l3o
Maybe its just me being crazy, but I assumed anything later would work, to me that sounded like everything below 9.4 would not.
Diddo
The exact thing happened to me!!! the ARHD posts are very misleading!! I also had to do a RUU on it.. it made me made cause i really wanted that rom. Have you found any other ROM with 4.2.2 that will work with sprint htc one? I cant find anything.
SeanBond said:
I flashed Revolution HD, the latest version and when the phone re-booted it went to bootloader.
I managed to flash TWRP again and im in there, however I need to put a ROM on the phone and cant copy one on there
any ideas? adb says device not found, not sure if im doing something wrong
Click to expand...
Click to collapse

New to the Desire C (and wireless in general)

Let me first say, despite what the title of this thread may lead some to believe, I am NOT a noob. I am very familiar with Android, rooting, recovery, Linux, CLI, etc. Excluding recent months, I've been a very active member of the XDA community providing support for the Amazon Kindle Fire and variants for quite some time, and as such, I have amassed a great deal of knowledge regarding Android and modification. Unfortunately, all of this knowledge is limited to wi-fi only devices and I have yet to have any experience with wireless (used prepaid phones for years).
My carrier is Cricket Wireless, and I know being a CDMA variant, that I can only install ROMs made for CDMA variant phones, but are there any CDMA based ROMs for this device? (at first glance, I didn't see any) If so, upon installing a new ROM, would it still be possible to use the same carrier? I know that may seem like a stupid question, but as mentioned before, my experience with wireless carriers is minimal, at best.
Also, I have seen the one-click unlock/root tool available for this device, which is great, but experience has shown me that without first educating yourself about the device being modified, putting faith in such tools' safety/effectiveness is never the best policy. I've read the guides and tutorials posted in the general section (without spending too much time searching through the entire forum), but they are very basic and do not touch much on the fundamentals of what I understand to be exclusive to HTC based phones such as S-Off, RUUs, Sense,etc., and I would much rather use a more reliable command line method (Linux preferably) than putting my trust in a tool in which I can't even view the source code.
And while I'm not a huge fan of XDA's dilapidated search function and will avoid it whenever possible, I am not in the least bit averse to reading provided I don't have to spend all day looking for the right information. I'm sure there are users that provide support for this device (much like myself with the Kindle Fire) that have a "laundry list" of bookmarked links for guides/tutorials/postings etc. for HTC device specific knowledge that can spare me the grueling task of wasting my time through endless, and sometimes pointless searching, only to find I am more confused/frustrated than when I first started. If there are such users willing to share links and the like to make the transition faster for me, I would be very appreciative.
TIA
For the time being there are no CDMA ROMs here, I can say that.
As to the guides, there are some on here. The only one that i can provide you is a kernel building one. It pretty much works for most devices.
Kernel building guide by nikhil
Im also gonna attach a txt file of my FB conversation/walkthrough of building aokp from source.
I hope you find this helpfull. If you ever have any questions you can go ahead and ask me over Facebook, and i will try to assist :3
Еdit: Questions like this make me feel good about humans. Glad to see that there are civilized individuals out there. Have a great time doing what you like (coding) and maybe visit our forums with a Desire C and lend us a hand :3
There is a lot to be done.
I have never Re-searched into the different variables of phones as i assume i have always used the GSM version of every phone, i am unaware of the difference of a CDMA Version and a GSM version of a phone, so what is the difference? and would it just be the RIL that needs to be changed for a ROM to work on the CDMA version of a phone?
me4488 said:
For the time being there are no CDMA ROMs here, I can say that.
As to the guides, there are some on here. The only one that i can provide you is a kernel building one. It pretty much works for most devices.
Kernel building guide by nikhil
Im also gonna attach a txt file of my FB conversation/walkthrough of building aokp from source.
I hope you find this helpfull. If you ever have any questions you can go ahead and ask me over Facebook, and i will try to assist :3
Click to expand...
Click to collapse
Thank you for your quick response. I was hoping to get rid of the stock Sense ROM and move to a CM based JB or even ICS if needed but it looks like that will have to wait for now. I must say, I am actually quite surprised there isn't any CDMA support in these forums. Is it due to lack of developer support here or is there a lot more involved to get a working CDMA ROM?
me4488 said:
Еdit: Questions like this make me feel good about humans. Glad to see that there are civilized individuals out there. Have a great time doing what you like (coding) and maybe visit our forums with a Desire C and lend us a hand :3
There is a lot to be done.
Click to expand...
Click to collapse
Believe me, I've paid my dues in this community (XDA) and I know all too well how frustrating the all too frequent ambiguous questions can be. I'm always willing to help where and when I can, but I was also hoping there were like-minded individuals willing to do the same for me so I can get up to speed as fast as possible.
penguin449 said:
I have never Re-searched into the different variables of phones as i assume i have always used the GSM version of every phone, i am unaware of the difference of a CDMA Version and a GSM version of a phone, so what is the difference? and would it just be the RIL that needs to be changed for a ROM to work on the CDMA version of a phone?
Click to expand...
Click to collapse
A CDMA phone, has a CDMA chip (radio) that stores information such as the carrier, MEID, phone number, network account information, what towers to connect to, etc. Whereas on GSM phones this is all stored on a removable SIM card. The CDMA is not removable and is intended to be (though not necessarily the case) permanently configured for that particular phone/user and that particular carrier.
That being said, this should theoretically be no "major" consequence in getting a ROM built that would work on a CDMA based device.
i see, so are you able to root/flash the same recoveries as us? or are they different for CDMA phones? i could try changing some stuff around with a ROM to make it work with a CDMA device but it will take a lot of testing because i have nothing done this before! the ratio of GSM:CDMA in this community is possibly 100000:1 so nobody has bothered to look into this as it is not needed. however me and Nick may work together to bring you this as he is a kernel developer and i am a ROM developer.
penguin449 said:
i see, so are you able to root/flash the same recoveries as us? or are they different for CDMAonhones? i could try changing some stuff around with a ROM to make it work with a CDMA device but it will take a lot of testing because i have nothing done this before! the ratio of GSM:CDMA in this community is possibly 100000:1 so nobody has bothered to look into this as it is not needed. however me and Nick may work together to bring you this as he is a kernel developer and i am a ROM developer.
Click to expand...
Click to collapse
After a bit of research, I've found that there is a CDMA to GSM patch made by a fellow Recognized Contributor that, as expected, allows certain CDMA ROMs to run on GSM phones. I can't see why the same couldn't be done the other way around. I've sent a PM to him already and I'm just waiting on a response. Considering the fact that there are so few of us CDMA users, I'm sure a patch would be the way to go rather than building a ROM from scratch. But, if nothing else, I'd just build my own based on an available source.
As for the root/recovery, I'm still looking into it...
soupmagnet said:
After a bit of research, I've found that there is a CDMA to GSM patch made by a fellow Recognized Contributor that, as expected, allows certain CDMA ROMs to run on GSM phones. I can't see why the same couldn't be done the other way around. I've sent a PM to him already and I'm just waiting on a response. Considering the fact that there are so few of us CDMA users, I'm sure a patch would be the way to go rather than building a ROM from scratch. But, if nothing else, I'd just build my own based on an available source.
As for the root/recovery, I'm still looking into it...
Click to expand...
Click to collapse
i have the most experience in building PAC from source, however i can offer you this as i wouldn't mind re-building it for CDMA (If i know how to) I too saw the patch and wondered how it would work however i think that when building this will need be inluded rather then GSM.
Code:
PRODUCT_COPY_FILES += \
vendor/cm/prebuilt/common/etc/apns-conf-cdma.xml:system/etc/apns-conf.xml
However i may be wrong in my naivete thinking that is all there is to the variations of GSM and CDMA Roms
If you could explain me how CDMA kernels differ from GSM ones, i could make one for the 2-3 people that need it :3
Go ahead and ask/share. We are open for ideas.
I assume it's just the RIL that needs to be changed, prehaps the kernel will only need to be changed from GSM to CDMA in the same way as a ROM, however i don't know anything about kernels, tonight i'll repo sync and try build a CDMA Rom, prehaps we could then extract a patch from it? Pico has no CDMA version so there is no hope of guidence from our older Brother /:
This is the response that was given to me...
In fact it's possible - BUT you might only have 3G maximum speed. If your device is an GSM device I guess there won't be any CDMA/4G baseband drivers available - which means you'll have to play with 3G max.
The most stuff can be done in the roms build.prop file. The best way is to comapare your file to a cdma build.prop file and edit/insert/remove the related entries.
In some cases you need the ril libs too. Those are only available in a cdma rom for your device. And as there's no cdma rom available this can be difficult.
Is the device/bootloader unlocked? In that case you might build cdma libs from source - depends on rom.
Click to expand...
Click to collapse
Luckily, HTC released the source for the Cricket Wireless Desire C and it should be as simple as compiling and pulling the necessary files.
http://dl4.htc.com/RomCode/Source_and_Binaries/golfc-ics-3.0.16-3d39477.zip
And I can't imagine why it would even make a difference, but here's the Cricket Wireless/Radio Shack Desire C source as well...
http://dl4.htc.com/RomCode/Source_and_Binaries/golfc-ics-3.0.16-3d39477.zip
soupmagnet said:
This is the response that was given to me...
Luckily, HTC released the source for the Cricket Wireless Desire C and it should be as simple as compiling and pulling the necessary files.
http://dl4.htc.com/RomCode/Source_and_Binaries/golfc-ics-3.0.16-3d39477.zip
And I can't imagine why it would even make a difference, but here's the Cricket Wireless/Radio Shack Desire C source as well...
http://dl4.htc.com/RomCode/Source_and_Binaries/golfc-ics-3.0.16-3d39477.zip
Click to expand...
Click to collapse
Well @me4488 you up for the challenge? I could try changing GSM to CDMA in build prop for @soupmagnet if you would like to test that way? if that doesn't work we may have to source build a CDMA Rom for you!
penguin449 said:
Well @me4488 you up for the challenge? I could try changing GSM to CDMA in build prop for @soupmagnet if you would like to test that way? if that doesn't work we may have to source build a CDMA Rom for you!
Click to expand...
Click to collapse
Let me get unlocked, rooted and recovery installed and I'll see what can be done. I might try to pull RIL libs from an original Desire ROM (assuming there is a CDMA version somewhere). Aside from CPUs, NANDs, cameras, etc., manufacturers generally don't like to stray too far from the hardware configurations between device variants.
Edit: BTW what are the udev rules for this device? Are there different rules for fastboot adb hboot and recovery ?
soupmagnet said:
Let me get unlocked, rooted and recovery installed and I'll see what can be done. I might try to pull RIL libs from an original Desire ROM (assuming there is a CDMA version somewhere). Aside from CPUs, NANDs, cameras, etc., manufacturers generally don't like to stray too far from the hardware configurations between device variants.
Edit: BTW what are the udev rules for this device? Are there different rules for fastboot adb hboot and recovery ?
Click to expand...
Click to collapse
Watch out for the recovery. The one person that flashed a custom one had his fail because we don't have a CDMA recovery.
At least that's what he said.
And i would gladly build you a kernel when i get the time.
I don't think there are a lot of udev rules that can differ from the kindle. But don't listen to me, as I am still a rookie.
me4488 said:
Watch out for the recovery. The one person that flashed a custom one had his fail because we don't have a CDMA recovery.
At least that's what he said.
And i would gladly build you a kernel when i get the time.
I don't think there are a lot of udev rules that can differ from the kindle. But don't listen to me, as I am still a rookie.
Click to expand...
Click to collapse
That's absolutely ridiculous. Recoveries like TWRP and CWM sit on a relatively small partition with minimal hardware support. Display, touchscreen, USB, battery, memory and storage are, generally speaking, all that gets initialized. Drivers for WiFi, Bluetooth, CDMA, etc., would likely take up more space than is available on the partition. I could be wrong, but if experience has shown me anything at all, it is you should rarely take what random XDA users says at face value. I'm sure if we take a look at the source code for whatever recovery is being used, well find that it's probably just a simple case of user inexperience playing a part.
Can someone post a partition layout so I can compare it with mine?
soupmagnet said:
That's absolutely ridiculous. Recoveries like TWRP and CWM sit on a relatively small partition with minimal hardware support. Display, touchscreen, USB, battery, memory and storage are, generally speaking, all that gets initialized. Drivers for WiFi, Bluetooth, CDMA, etc., would likely take up more space than is available on the partition. I could be wrong, but if experience has shown me anything at all, it is you should rarely take what random XDA users says at face value. I'm sure if we take a look at the source code for whatever recovery is being used, well find that it's probably just a simple case of user inexperience playing a part.
Can someone post a partition layout so I can compare it with mine?
Click to expand...
Click to collapse
I haven't partitioned my SD card or anything like that at all tbh :L i just flashed the recovery, as far as a CDMA Rom goes, i've got the CDMA in permissions and in the build.prop but not sure if the RIL correctly configured to CDMA and i am unsure of how to Check, however if you want to test i'll upload it and send you the link although we may have to wait for a CDMA kernel before we can do anything!
penguin449 said:
I haven't partitioned my SD card or anything like that at all tbh :L i just flashed the recovery, as far as a CDMA Rom goes, i've got the CDMA in permissions and in the build.prop but not sure if the RIL correctly configured to CDMA and i am unsure of how to Check, however if you want to test i'll upload it and send you the link although we may have to wait for a CDMA kernel before we can do anything!
Click to expand...
Click to collapse
I'll try it out when I can, but I have to figure out this recovery issue first. I was able to obtain root, but not with the "superboot". The superboot method gave me the same problems others here were having and it would never install Superuser.apk or the 'su' binary. However, I wrote a small script using Bin4ry's exploit and it worked flawlessly. I have root now, but I'm having trouble identifying each of the partitions.
Having root, I was able to make backups of each of the partitions listed under "/proc/emmc", and I attempted to 'dd' the TWRP recovery.img to the "recovery" partition, but the device would still always boot to the stock recovery. When I tried to install recovery via fastboot, I got the same "This build is for development purposes only" message as before and the stock recovery is gone. So apparently, the partition (mmcblk0p21) listed as recovery under "/proc/emmc", is either not the actual recovery partition, or I'm missing something.
Since you have recovery installed, does it have 'parted' included in the build? Do you know how to print a partition table? If so, would you mind posting one?
If you could explain how you do it, i could gladly give it a shot when i can (vacations up ahead dunno when i will be back)
me4488 said:
If you could explain how you do it, i could gladly give it a shot when i can (vacations up ahead dunno when i will be back)
Click to expand...
Click to collapse
Assuming the version of recovery you are running has 'parted' included, enter the following at your command prompt:
Code:
[COLOR=DimGray]$[/COLOR] adb shell
[COLOR=DimGray]~ #[/COLOR] parted /dev/block/mmcblk0
[COLOR=DimGray](parted)[/COLOR] print
If for some reason 'parted' isn't included in your version of recovery, you can temporarily install it for one session (since recovery is loaded into memory to run, nothing gets written to the actual recovery ramdisk and rebooting will erase any changes made):
1) Download 'parted': http://d-h.st/h81
2) Boot into recovery
3) Enter the following commands:
Code:
[COLOR=DimGray]$ [/COLOR]adb push /path/to/parted /sbin/parted
[COLOR=DimGray]$ [/COLOR]adb shell
[COLOR=DimGray]~ #[/COLOR] chown 0.0 /sbin/parted
[COLOR=DimGray]~ #[/COLOR] chmod 755 /sbin/parted
Ah that is pretty helpful, it should be implemented into the recovery source, if you don't mind me asking where is the main source which includes his function?
russell664 said:
Ah that is pretty helpful, it should be implemented into the recovery source, if you don't mind me asking where is the main source which includes his function?
Click to expand...
Click to collapse
I'm pretty sure it just needs to be added during the build. With the Kindle Fire, early versions of TWRP didn't include the 'parted' binary and it was added intermittently in subsequent versions. It wasn't until the developer was constantly bombarded with requests that it became a permanent addition.
I don't have much (any) experience building recoveries but I would think it'd be as simple as unpacking the ramdisk and just adding it to the filesystem.

XT1803 European Firmware

Hello,
I'm hoping to return my XT1803 to stock , and I'm just wondering if anybody knows of (or even just a Nandroid/TWRP backup) a link to download the European version of the stock firmware for the XT1803?
The official firmwares on the Firmware Centre Website that I've had a look at (and all of the download links that I've seen), are all for the US version, unless I'm just being an idiot and these would work too (but then it would be the wrong baseband?)?
Many thanks in advance for helping.
seanoo said:
Hello,
I'm hoping to return my XT1803 to stock , and I'm just wondering if anybody knows of (or even just a Nandroid/TWRP backup) a link to download the European version of the stock firmware for the XT1803?
The official firmwares on the Firmware Centre Website that I've had a look at (and all of the download links that I've seen), are all for the US version, unless I'm just being an idiot and these would work too (but then it would be the wrong baseband?)?
Many thanks in advance for helping.
Click to expand...
Click to collapse
You got try it minus the modem(s) and fsg partitions.
No guarantees though.
Phazmos said:
You got try it minus the modem(s) and fsg partitions.
No guarantees though.
Click to expand...
Click to collapse
I went ahead and gave it a go, everything is working however I seem to be unable to get any 4G signal now.
seanoo said:
I went ahead and gave it a go, everything is working however I seem to be unable to get any 4G signal now.
Click to expand...
Click to collapse
Correct apn enabled?
Phazmos said:
Correct apn enabled?
Click to expand...
Click to collapse
Yes. 2G and 3G work fine, just 4G doesn't work.
seanoo said:
Yes. 2G and 3G work fine, just 4G doesn't work.
Click to expand...
Click to collapse
Well, if you skipped flashing the modems and fsg partitions, nothing should have changed as far as radios and bands.
I could only suggest resetting network settings - there's an option in the os for that, but I can't remember where right off (I'm running 8.1 and is different in 7.x), but it is there.
If that's a no go - factory reset the device.
If that's a no go restore the bu of what you had and be happy with it.
A second to last resort would be flashing the entire stock firmware you have, including modems and fsg, and see what happens. Just make sure the flash is successful - it should say okay after each command is run.
The last option would be to see a moto/Lenovo (whoever) service center and have them flash the stock firmware.
Personally, I would stay with custom roms, but the state of custom for this device right now is questionable at best. There are enough of them, but I have little confidence in most of them - very few work 100% but the few that do are decent enough.
Ps - something I have seen is a loss of imei when going back to stock (not by me - I've flashed stock a few times and no issues, but I have xt1806). Check that.
Phazmos said:
Well, if you skipped flashing the modems and fsg partitions, nothing should have changed as far as radios and bands.
I could only suggest resetting network settings - there's an option in the os for that, but I can't remember where right off (I'm running 8.1 and is different in 7.x), but it is there.
If that's a no go - factory reset the device.
If that's a no go restore the bu of what you had and be happy with it.
A second to last resort would be flashing the entire stock firmware you have, including modems and fsg, and see what happens. Just make sure the flash is successful - it should say okay after each command is run.
The last option would be to see a moto/Lenovo (whoever) service center and have them flash the stock firmware.
Personally, I would stay with custom roms, but the state of custom for this device right now is questionable at best. There are enough of them, but I have little confidence in most of them - very few work 100% but the few that do are decent enough.
Ps - something I have seen is a loss of imei when going back to stock (not by me - I've flashed stock a few times and no issues, but I have xt1806). Check that.
Click to expand...
Click to collapse
That is what I thought in regards to the radio, so I flashed the one from the firmware as a what's the worse that could happen, but it has made no difference, except the signal is now much worse, I did try resetting the network settings but it hasn't helped.
I did want to stay with a custom rom, but I was unable to find one I liked, as you say, the custom roms for this device are questionable and most of them are not polished.
I normally use my phone as a hot spot, and I really need the extra speeds that 4G gives, which is why I'm looking to fix the issue if possible.
I did have a look to see if there's a service centre near me, but I can't see one, so I may just wait to see anybody is able to provide me with the correct firmware (or even just the modem and fsg would be excellent).
seanoo said:
That is what I thought in regards to the radio, so I flashed the one from the firmware as a what's the worse that could happen, but it has made no difference, except the signal is now much worse, I did try resetting the network settings but it hasn't helped.
I did want to stay with a custom rom, but I was unable to find one I liked, as you say, the custom roms for this device are questionable and most of them are not polished.
I normally use my phone as a hot spot, and I really need the extra speeds that 4G gives, which is why I'm looking to fix the issue if possible.
I did have a look to see if there's a service centre near me, but I can't see one, so I may just wait to see anybody is able to provide me with the correct firmware (or even just the modem and fsg would be excellent).
Click to expand...
Click to collapse
Did you back everything up in twpr - including efs partition after unlocking?

Categories

Resources