struggling with Cingular Flip

118 views
Skip to first unread message

Andy Balholm

unread,
Oct 23, 2019, 8:17:30 PM10/23/19
to comp.mobile.nokia.8110
I want to delete some pre-installed apps on an Alcatel Cingular Flip (model 4044O). I've tried a couple of things from the bananahackers site, but nothing quite works for me.

First, I was going to try installing Wallace with Firefox WebIDE. I enabled debugging, and forwarded the debugger socket to port 6000. But connecting to the remote runtime from WebIDE fails. (Both from my Mac and from my Windows computer)

So I decided to try reading and patching partitions with EDL instead. I can successfully connect to the phone with EDL; the `-reset` command works. But any commands that actually touch the partitions fail:

$ python3 edl.py -loader ../0x009600e100420024.mbn  -printgpt


Qualcomm Sahara / Firehose Client (c) B.Kerler 2018-2019.



Using loader ../0x009600e100420024.mbn ...

Waiting for the device

..................Device detected :)

Mode detected: Sahara


------------------------

HWID:              0x009600e100420024 (MSM_ID:0x009600e1,OEM_ID:0x0042,MODEL_ID:0x0024)

PK_HASH:           0x5b4e559e6e66d5ba8be6267cd83376eb2eb3717d1dd3436a6390165b0c78cc7b

Serial:            0x1517cdc5

SBL Version:       0x00000000


Successfully uploaded programmer :)

TargetName=MSM8909

MemoryName=eMMC

Version=1


Reading from physical partition 0, sector 0, sectors 32

Traceback (most recent call last):

  File "edl.py", line 419, in <module>

    main()

  File "edl.py", line 197, in main

    data = fh.cmd_read_buffer(args.lun, 0, 0x4000 // cfg.SECTOR_SIZE_IN_BYTES)

  File "/Users/andy/Desktop/edl/Library/firehose.py", line 241, in cmd_read_buffer

    rsp=self.xmlsend(data)

  File "/Users/andy/Desktop/edl/Library/firehose.py", line 73, in xmlsend

    resp = self.xml.getresponse(data)

  File "/Users/andy/Desktop/edl/Library/firehose.py", line 16, in getresponse

    tree = ET.fromstring(line, parser=parser)

  File "/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/xml/etree/ElementTree.py", line 1315, in XML

    parser.feed(text)

xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 5


The XML error is because it's trying to parse some binary data as XML. I think that data is the GPT partition table, but I'm not sure.

Andy Balholm

unread,
Oct 25, 2019, 2:01:55 PM10/25/19
to comp.mobile.nokia.8110
I've patched edl.py to work with the Cingular Flip, at https://github.com/andybalholm/edl. I didn't submit a pull request, though, since I'm pretty sure my patch will cause problems on other phones.
Reply all
Reply to author
Forward
0 new messages