NOkia 6300 debuging issue

890 views
Skip to first unread message

Tuneuhh

unread,
Apr 10, 2021, 6:44:33 PM4/10/21
to comp.mobile.nokia.8110
I have a Nokia 63004G The US version, I was wondering if it was at all possible to at least get rid of the bloatware. I've tried a few things on the website but I am a bit stuck on how to do it. I'd love to side load the Bhackers store but I at least want to debloat it.

I have a Nokia 225 But I have not seen anything on it here or on the phone listing.

Any help is appreciated. the Debug code works but the developers option wont show up and the secondary code wont work.

chri...@gmail.com

unread,
Apr 10, 2021, 9:34:20 PM4/10/21
to comp.mobile.nokia.8110
for the 6300, you can't get rid of the bloatware yet - root is not yet available.  you _can_ side load from the hackers store if you download the app to your PC and load via WebIDE.

the Nokia 225 is not KaiOS based from my knowledge

Andrew

unread,
Jul 6, 2021, 10:28:27 AM7/6/21
to comp.mobile.nokia.8110
6300 can dump using edl, then modify userdata partition to remove bloatware, then upload userdata back (edl.py doesn't work for upload for me, but emmcdl does the trick). Then you can get a clean phone without bloat apps/kaios store etc and can inject your own apps without touching system partition or rooting. Not sure how this will affect OTAs though
Message has been deleted
Message has been deleted

elisam98

unread,
Jul 28, 2021, 12:01:44 AM7/28/21
to comp.mobile.nokia.8110
@Andrew - Do you have access to the loader for the US version? Can't seem to find it anywhere.

F F

unread,
Aug 29, 2021, 6:28:42 PM8/29/21
to comp.mobile.nokia.8110
@Andrew
Thank you for your description.

I got the image of the 6300 with edl. But how can I modify the userdata partition inside?

Thank you

F F

unread,
Aug 29, 2021, 6:31:38 PM8/29/21
to comp.mobile.nokia.8110
My 7zip exits with an unexpected file ending when trying to access the img file and daemon tools lite wouldn't recognize the file at all.

Andrew

unread,
Aug 30, 2021, 1:30:57 AM8/30/21
to comp.mobile.nokia.8110
Actually recent version of 7zip should be able to open it for read at least. Maybe your dump isn't good. Share, perhaps?
To modify, you need linux, as userdata is in ext filesystem and windows support for that is ...meeeh....  WSL (Windows Subsystem for Linux) should be just fine
then when in linux prompt, you just create folder "userdata" or whatever and do mount the file ./userdata.img ./userdata
then you make changes and umount ./userdata
and voila you have the modded userdata.img

F F

unread,
Sep 4, 2021, 7:26:05 PM9/4/21
to comp.mobile.nokia.8110
Hi Andrew,

Finally had the time to continue.

So I got WSL running. But when I try to mount (sudo -o loop /x/x.img /x) I got first ( mount: wrong fs type, bad option, bad superblock) and then (failed to setup loop device)

I did some research and if KaiOS system images are as Android, I figured extracting it, so I got simg2img and tried that but that gave me: invalid sparse file format at header magic

So maybe it's already a raw image or there is some other problem. I double-checked everything.

I stumbled across the following observation: the gpt.img in the edl folder is only 16KB large. Is that ok? It seems too tiny for a system image. But I went through the whole process a second time to generate the img using the python edl script but it got me again a 16KB large img file. Maybe that's the problem.



I'd be happy if you could give me any hints or advice.

Thanks

and best

Joe
Unbenannt.png

Andrew

unread,
Sep 5, 2021, 11:01:53 AM9/5/21
to comp.mobile.nokia.8110
Sorry, the command should have been mount /x/x.img /x
the GPT is the partition table (layout of other partitions), you need to dump with 
python edl.py rl dumps  --genxml

H. Brown

unread,
Oct 3, 2021, 10:23:28 PM10/3/21
to comp.mobile.nokia.8110
Hi Andrew, this is really new to me, but I am trying to watch all the videos and install the necessary programs on Windows, such as ADB, EDL, Python, Linux on Windows (Ubuntu).  

I put ADB in C:\Nokia_Tools\ADB and EDL in C:\Nokia_Tools\EDL.  

I followed the instructions and believe I have the EDL tools correctly ready, but will see.  

But right now I am at the beginning.  I have the ADB window and I can connect my US Nokia 6300 and run a pull like in a Banahackers video, but only if the phone is off.  If the phone is on, ADB cannot find devices.

Basic question.  Is the phone being off, correct?  Should I have my phone on and/or in debug mode?  Is it recommended to leave the battery, SIM and memory card in there or not?  Some videos it looks like the user has taken the battery out, no idea why.

But assuming all is OK when the phone is off and connected, I am in the command prompt.  How should I type the command to "dump using edl" that is what is the next mystery is.  What am I dumping from the phone and what is the command?  

If you can help with that, then I will next tackle how to mount, modify the userdata partition to remove some of the bloatware, and re-upload back to the phone.

Thanks if you can help.

On Tuesday, July 6, 2021 at 10:28:27 AM UTC-4 Andrew wrote:
Message has been deleted
Message has been deleted

H. Brown

unread,
Oct 4, 2021, 9:49:09 PM10/4/21
to comp.mobile.nokia.8110
Right after I posted I made a couple of steps forward.

As a Ubuntu "user" of < 3 days, I tried this:  "sudo apt install python3-docopt" and great results.  It seemed edl.py requires docopt.

Then I reread all the previous replies and looks like I use this:

python3 edl.py rl dumps --genxml

However, no love because something isn't correct, either I need a loader, the phone isn't prepped or connected right, or some other dependency is missing.

Any hints?  At this rate I may get there by the new year.

Error message:

Capstone library is missing (optional).
Keystone library is missing (optional).
No module named 'Crypto'
Qualcomm Sahara / Firehose Client V3.52 (c) B.Kerler 2018-2021.
main - Trying with no loader given ...
main - Waiting for the device
Traceback (most recent call last):
  File "edl.py", line 362, in <module>
    base.run()
  File "edl.py", line 255, in run
    mode, resp = self.doconnect(loop, mode, resp)
  File "edl.py", line 177, in doconnect
    self.cdc.connected = self.cdc.connect()
  File "/home/user00/edl/edl/Library/usblib.py", line 252, in connect
    self.device = usb.core.find(idVendor=vid, idProduct=pid, backend=self.backend)
  File "/usr/local/lib/python3.8/dist-packages/pyusb-1.2.1-py3.8.egg/usb/core.py", line 1309, in find
    raise NoBackendError('No backend available')
usb.core.NoBackendError: No backend available

H. Brown

unread,
Oct 4, 2021, 11:31:11 PM10/4/21
to comp.mobile.nokia.8110
I suspect that the problem is that I am somehow not connecting properly.

I use the code to display the bug icon, and even though ADB shows no devices, I can issue ADB reboot to EDL (although the screen doesn't blink or show logo)

Or from the off position, I can insert the USB cable while holding * and # (screen blinks and shows logo) then returns to black screen.

At this point the phone is apparently in EDL, with a black screen, but ADB doesn't list any devices.  Should it list the phone?  What is going wrong here.

To reboot, I have to remove battery.  Bug icon remains until I reenter the code to remove it.

Andrew

unread,
Oct 5, 2021, 1:47:17 PM10/5/21
to comp.mobile.nokia.8110
you're going the right way, but quite slow.

The EDL device should look this way in device manager:
1.png

Bottom line - 20$ and i'll tutor you how to reflash via remote assistance, $30 and i'll show you how to edit userdata/system too :)

PuriShnit

unread,
Oct 5, 2021, 3:19:14 PM10/5/21
to comp.mobile.nokia.8110

Would be nice teaching him, but using a loader from the 8110 for the 6300-US, is IMHO a real waste of time...

--
You received this message because you are subscribed to the Google Groups "comp.mobile.nokia.8110" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bananahacker...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/3f450e71-4ae2-4261-99d0-93bef8955aa7n%40googlegroups.com.
Message has been deleted

Andrew

unread,
Oct 6, 2021, 1:31:25 AM10/6/21
to comp.mobile.nokia.8110
that's why 6300 loader should be used. it has limitations working on US version, but still...

H. Brown

unread,
Oct 7, 2021, 12:16:00 AM10/7/21
to comp.mobile.nokia.8110
Yes, install the Qualcomm driver, of course.  I missed that step somehow.  Still moving forward.
Message has been deleted

F F

unread,
Dec 1, 2021, 6:24:24 AM12/1/21
to comp.mobile.nokia.8110
Hi Andrew,

several months have passed in which I didn't have time.
Now I'm at it again.

But, I run into some problem.

I got again until the point of downloading the partition table. But when I want to dump the recovery partition the script is throwing me following error:

I'm not sure, but reading the table gives a similar error. I think that wasn't a problem last time.

FYI: I updated the firmware with latest release 20.00.17.01

If you have any idea, I'd be glad for a tip.

Thx, and best
Unbenannt.png

Andrew

unread,
Dec 1, 2021, 8:30:27 AM12/1/21
to comp.mobile.nokia.8110
edl.PNG

Dana C.

unread,
Dec 1, 2021, 9:27:21 AM12/1/21
to comp.mobile.nokia.8110
This thread seems to suggest that EDL manipulation of the US 6300 is possible with the international loader. Is this true? How can this be possible if the HWID doesn't match?

If it is true, is rooting possible?

F F

unread,
Dec 1, 2021, 9:47:57 AM12/1/21
to comp.mobile.nokia.8110
Hi Andrew,

I'm not sure if you were replying to me.

I'm not using the US version.

I have the EU version.

I live in Germany and bought the device in Germany.

Andrew

unread,
Dec 1, 2021, 9:53:28 AM12/1/21
to comp.mobile.nokia.8110
Ah, sorry, missed that part.
In such case, you should try dumping the whole thing
I have bad success rate with edl.py under windows, try emmcdl
emmcdl -p COMx -f 8k.mbn -d recovery -o recovery.bin
where COMx is of course the port under which your nokia comes up.
emmcdl is quite an easy find online too

PuriShnit

unread,
Dec 1, 2021, 10:19:00 AM12/1/21
to banana...@googlegroups.com

As initially mentioned by @luxferre, the 8k.mbn loader is only capable to dump around 300 x 512 bytes sectors, so, you can't dump the recovery partition using this loader.

See Luxferre's instructions on how to dump all partitions by flashing the Gerda recovery to the 6300 & then dump the partitions using adb.

F F

unread,
Dec 2, 2021, 10:53:25 AM12/2/21
to comp.mobile.nokia.8110
Great. Thx for the tip. Lets see how that goes :)
Reply all
Reply to author
Forward
0 new messages