• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Compiling ICS for Breakout

I tried to run this on mine youtube.com/watch?v=974xWPN9cqw and kept getting a boot loop and stuff. So I'm not sure what the deal is. This phone seems to have some weird boot issues. (Mtmichaelson observed that originally, and now I'm experiencing it) But let's keep trying! I will create the google code repo and see if I can learn how to manage it.
 
I still wish there was a way to get information from the kernel as to what is crashing. Here's something I did yesterday and got a boot loop:

All I did was edit the init.rc file in the kernel by adding/changing things from the ICS init.rc. Overall the changes I made were not many. Now here's something I'm trying to figure out: I tried booting it several times (not sure how many), and each time I got a boot loop. After I did this, I decided to have a look in the /data partition. I stumbled across a folder in there called "tombstones" and in that folder were 9 identical crash dumps all pointing to a file called "pantech_server" crashing. I don't know if they are related to the boot loops or not but I don't know when it could have crashed otherwise. I'm going to see if I can find a file timestamp for those crash logs to see.
 
It crashed on the black screen. I saw the Pantech logo, several seconds went by (enough for the kernel to load in between the usual animation that would normally appear), then it rebooted. Looking at the timestamps of the logs it does seem to be around the time I was messing with it yesterday, but the crash dumps are only atleast 10 seconds apart from each other.

The only I thing I changed to cause it was the init.rc, just added maybe 10 lines total which basically seemed to be mounting commands. I wish I could figure this out. The BO would be so much more awesome with ICS.

I wish I could figure out what the pantech_server does exactly.

What about you? Did the ROM you tried crash on the boot animation?
 
Well, I stupidly force quit my virtual machine and so now I have to redo the whole thing. So it may be a little while before I can offer more.

Send from my Android

EDIT: nevermind, it works now :)
 
Cool. Here's something I'm confused about. It looks like the Breakout uses the MSM8960 chipset, which is a Qualcomm chipset and according to according to the Qualcomm site uses an Adiron GPU. Should we not be able to compile a MSM8960 kernel and MSM8960 ICS ROM? There seems to be a kernel and ROM over on the CodeAurora site for MSM8960 chipsets.
 
Give it a try, just make a nandroid first ;) as long as you don't mess with the radio images and stuff you should be ok.

Send from my Android
 
I might try that soon. But this evening I ran across a forum post of how to compile a kernel to output to the screen as it's booting. I was going to use it as a way to debug later if I could get it to work. But without changing anything, the kernel won't compile anymore because it complains that arm-eabi-gcc is not found. It's beating me up because I haven't touched the path to it. I'm using the ICS toolchain. It worked fine the other day. $PATH points to the toolchain/bin directory so it's not that. I even installed Linux Mint 12 alongside to see if it will compile under that too, but nope. I even re-extracted the kernel source files from the zip to a new directory first. No change. I installed Sourcery, still nothing--can't find the compiler. It's got me frustrated.
 
I got it to compile again in Mint. I had to install ia-32-libs and libc6-dev-i386. I had those installed already in Ubuntu, hence it succeeding the first time, but I don't know. Ubuntu almost crashed on me the other night because apps kept crashing and when I rebooted, Ubuntu could not detect my graphics card. But after a lot of work I managed to get things functional again so maybe it had something to do with that.
 
I got the msm7630 ICS to compile but definitely not boot, it restarts immediately after displaying the Pantech screen. I'm running out of ideas with this. I don't know what to try next. Without some kind of information as to why it's crashing, I don't have anything to go by.
 
Not here unfortunately. I've quit messing with it for the time being because without debug logs and ways to figure things out it is impossible for me to continue.

I've tried starting Zygote with strace parameters but it doesn't finish booting, it hangs at the black screen. I thought maybe strace was so busy writing logs that it was just slowing it way down, but nope I didn't find any log anywhere after rebooting.

Unless someone wants to give me pointers about getting a boot log or some kind of verbose log, there's not much I can do unfortunately until I can think up enough more ideas to be motivated enough to play with it again. :(
 
Only issue is that I haven't even been able to get a logcat from it while booting. So if there were some way to make the kernel boot verbose, that would be ideal.

Send from my Android
 
Yeah terabyte you're right, a kernel with debugging would be what we'd really need. Thanks for the links, alex! I've tried everything in the first link, but there are a few options in the second that I have not. I'll try it, but chances are it probably won't boot either.

I really think Pantech just doesn't want people upgrading the phone. Just for laughs I e-mailed Pantech Open Source and flat out asked them to send me the source code for Gingerbread. They thought I was talking about ICS which I wasn't. I just asked for Gingerbread. But they denied it like I thought. lol
 
They denied sending it (they probably don't have it either) because the 'OS version of ADR8995 is not ICS.' Lol. Nice try I guess!
 
We've already gotten the kernel to compile, just not any OSs ;). But if you want to try compiling the kernel with that added in, it's at opensource.pantech.com.
 
I actually own 2 pantech marauder's and they run 1.5Ghz S4 snapdragon MSM8960 pocessors. I actually found it to be quite nice coming from my samsung stratosphere. of course I had a droid 2 that i really liked before that. The marauders kernel is open source and I'm trying to figure out how to port cwm to it. I will be happy to apply any linux/android knowledge I have helping you out. Was hoping maybe a Breakout dev would help me out porting cwm to the marauder? I have root and can adb shell into my phone. I'm just lost on porting cwm to the marauder because of the emmc filesystem and i've never worked with it.

all the partitions seem to be /dev/block/
mmcblk0p5 aboot
mmcblk0p7 boot
mmcblk0p18 misc
mmcblk0p19 recovery
mmcblk0p13 system /system
mmcblk0p16 cache
mmcblk0p14 dummy

There are some others but was hoping maybe the breakout used this structure and someone could help me port cwm so I can at least boot it with fastboot even If i won't be able to flash it.
 
The breakout uses /dev/mtd partition style. They are mtd partitions. So it's a bit different, but I think it's the same idea. Try googling it, I know there's tons of other phones with this same/similar partition structure.
 
Well, I can't help you with specifics, sorry :P

But I will continue writing on trying to port Cyanogen Mod. Then we can work towards an ics ROM. I might open a Google code repo to assist, what do you think would be a good dev name for the breakout?

Send from my Android


"The Pantech Brickout" would be a good name. Lol
 
Well, it's pretty hard to brick, considering there's an unlocked bootloader and fastboot makes it easy to repair stuff. However, it does have issues booting any rom that's not pantech-based.
 
Back
Top Bottom