Languages

Menu
Sites
Language
lthor hangs during flashing 2.3 to RD-PQ

Hi,

I know it's a bit late to install 2.3, but that's the only I can install on RD-PQ, 2.4 is not supported.

I follow the steps properly, but lthor does nothing, hangs:

$ sudo apt-get install lthor
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  lthor
0 upgraded, 1 newly installed, 0 to remove and 111 not upgraded.
Need to get 0 B/13.7 kB of archives.
After this operation, 78.8 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  lthor
Install these packages without verification? [y/N] y
Selecting previously unselected package lthor.
(Reading database ... 172285 files and directories currently installed.)
Preparing to unpack .../archives/lthor_2.0_amd64.deb ...
Unpacking lthor (2.0) ...
Setting up lthor (2.0) ...

$ sudo lthor migrate_2.3_bootloader.tar.gz
Linux Thor downloader, version 2.0
Authors: Jaehoon You <jaehoon.you@samsung.com>
         Krzysztof Opasiak <k.opasiak@samsung.com>

And it hangs here, nothing happens.
The phone has 2.2.1 and is in download (U-Boot) mode (vol down&power), and connected via USB (I can also see on phone screen: Cable is connected)
I am tried on Ubuntu 14.04 and 16.04 - same. At this step lthor hangs, no error, no progress, just does nothing. I have to Ctrl+C.
Same happens if I try to flash the boot image and the platform Image first, without bootloader.
The current 2.2.1 is not touched at all, it still works - so lthor does nothing.

.

Also same happens even if the phone is not connected to the PC!! No error message, nothing.

.

Any suggestion, what to check, try, see?
Thanks.

.

Edit:

I tried "lthor -c" with phone connected via usb in download mode, and I got:

.

$ lthor -c

Linux Thor downloader, version 2.0
Authors: Jaehoon You <jaehoon.you@samsung.com>
         Krzysztof Opasiak <k.opasiak@samsung.com>

Segmentation fault (core dumped)

 

Edited by: Zoltan Puski on 20 Nov, 2016
View Selected Answer

Responses

19 Replies
Mark as answer
Zoltan Puski

Ok, moving back to old Ubuntu 12.04 and using lthor 1.4 (from: http://download.tizen.org/tools/latest-release/Ubuntu_12.04/) solved the issue. That works. (after removing modem)

Peter Wegner

Thank you for info.

 

I have checked my Ubuntu 14.04 LTE and installed lthor Version is:

1.4

 

With this combination I have flashed my RD-PQ many times successfully with different Firmware packages...

 

Maybe lthor 2.0 not more support RD-PQ Uboot...

Maybe lthor 2.0 only supports newer devices like:

TM1, TM2

And other never seen devices.

 

Best Regards

Peter Wegner

In changlog of lthor 2.0 I can see only this:

lthor (2.0) unstable; urgency=low

  * Upgraded to v2.0
  * Use libusb instead of cdc-acm kernel driver

 

For 1.5 Version no changes inside...

No idea if allready lthor 1.5 was incompatible with RD-PQ...

 

Best Regards

 

Zoltan Puski

Well, 2.3 does not seem a very nice one: it only has a Settings app, unlike 2.2, which had some basic stuff as well, like Camera (so I could take quickly photos and test/manipulate them with my Apps), etc.

Also, Settings>About device -> crashes the Settings app "Settings has closed unexpectedly".

I read 2.4 is NOT supported on this device (have no clue why, the HW is string enough for sure, it's Galaxy S3 based)

But I read 2.3.1 can be installed. So I am planning to upgrade to 2.3.1

Zoltan Puski

Same, 2.3.1 also has only Settings, also crashing Settings>About device.

Peter Wegner

2.3.1 is not much better...

 

For Settings->About device... many apps/settings missing...

No idea if we have missed to install all necessary RPMs...

 

Most complete Firmware still 2.2...

 

Best Regards

 

 

Zoltan Puski

Just see this message from you, yes, 2.2 is the best.

But API has radically changed in 2.3 (back to the past pure C style), so for playing around, testing, I think it's better.

Peter Wegner

Reason for crash is missing files under:

usr/apps

 

As soon I remember where I have posted...

 

About 2.3.1

I have problems with WiFi...

"Somebody" posted solution... not tested by me... I was toooo lazy.

...I know how to fix the wifi connection on Tizen 2.3 and 2.3.1 for a RD-PQ device. The problem is that some links in the os are not properly created.

Basically you need to install the usleep package ([url]https://download.tizen.org/releases/2.2.1/latest/repos/tizen-main/armv7l/packages/armv7l/usleep-1-5.2.armv7l.rpm[/url]), it's for Tizen 2.2.1, but it does work for 2.3 and 2.3.1. After that, create two links that the wlan.sh shell script is expecting, and are not in the proper location.

ln -s /usr/sbin/modprobe /sbin/modprobe
ln -s /usr/sbin/rmmod /sbin/rmmod

Or, alternatively, you can pull the /usr/bin/wlan.sh file via sdb pull, change the /sbin/modprobe and /sbin/rmmod lines to /usr/sbin/modprobe and /usr/sbin/rmmod.
After doing that, from the phone, open Wifi and clicking on the green button will activate the wifi correctly and you will be able to connect to any wifi hotspot.
You can skip using the ui and perform the following commands :

/usr/bin/wlan.sh start

this will activate the wlan0 interface, which you can check by issuing a ifconfig command.

/usr/sbin/wpa_supp.sh start

this will start wpa supplicant.
Check if connmand is running (ps -ax and check the list), if not, you need to do :

systemctl start connman
systemctl enable connman

 

Best Regards

Zoltan Puski

Wifi: check this: https://vox.space/blog/39/install-tizen-231-on-samsung-rd-pq

I start to think the best is to order a Z3 on ebay if somebody wants to develop on it...

 

Gary V

Thank you for posting this information!

 

Do you think it might be possible to hack Tizen 2.4 onto the RD-PQ? I've been trying to research whether it would irreversibly brick, altogether.

Peter Wegner

In theory all Source Code is available... for Tizen 2.4

And.

Driver etc... also from GT-I9300 source... if RD-PQ source not complete available...

But this exceeds my skills...

 

Best Regards

Gary V

I was thinking more along the lines of trying to flash the RD-PQ with a Tizen 2.4 image from a different, similar (?) device just to see if it boots. And if it does, re-adding drivers from the Tizen 2.3 RD-PQ distribution.

Peter Wegner

The question is only which similar devic(e)?

2.4 from TM1 schould be tooooo much different...

Spreadtrum vs. Exynos...

Samsung focus since years more on Tizen3...

Not on Tizen 2.4 ... for Reference Devices...

I can not remember, someone ported 2.4 to Open Hardware... like Artik or Odroid...

:)

 

So your minimum Start requirement is:

Compile Kernel for RD-PQ (GT-I9300) with 2.4 sources...

 

Forget the commercial devices... No Exynos... only Spreadtrum or Qualcomm (SM-Z300F)... + additional Security...

 

As info...

Since December 2015 I was able to run few Tizen 3.0 Images... on my RD-PQ... the N4 (Note 4) test images...

Only Display Driver was black...

And no solution found to capture Screen...

Now N4 seems dead... and TM2 popped out...

 

Best Regards

Zoltan Puski

>Samsung focus since years more on Tizen3...

I am curious when they will be ready to release, including (!) fw for Z1-2-3.

Peter Wegner

Z1 is "dead"... because too similar to SM-Z200F and SM-Z200Y.

 

SM-Z130H users can forget to get update to:

2.4.0.4

or

2.4.0.5

or

2.4.0.6

So Z1 will not be updated to Tizen 3...

Less RAM and Storage as Z2 and Z3.

-----------

I have seen Tizen Version 2.4.0.4 for SM-Z300H... but not in public...

BUT their are no lifesigns about 2.4.0.5 nor 2.4.0.6 for SM-Z300H...

Z3 seems at the moment halfdead...

-----------

"Alive" is only SM-Z200F... more then SM-Z200Y...

And I have no idea when these Z2 will see 2.4.0.6 Updates...

December 2016?

Or only next year...

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

In theory Tizen 3 could arrive 1 day SM-Z300H... because it is TM1 ""brother""...

 

But not expect something in this direction before MWC in february... 2017.

 

I think Tizen 3 will push only new devices... but not for the old ones...

 

Best Regards

Zoltan Puski

Thanks, good to know.

So worth to dig into EFL/C/..., as .NET (Tizen3) will come way later...

Peter Wegner

RD-PQ 2.3.1 related

1.

I can confirm WiFi fix.

2.

100 years later seems I have found solution for MTP...

I have taken this RPM from TM1 2.4 Firmware repos...
mtp-responder-0.0.2-1.4.armv7l.rpm

Need little bit time to test if stable Transfer possible...

But this was really annoying...

 

Only as info.

 

Best Regards
 

Zoltan Puski

I gave up on this.

Eveybody has 2.4 already, (and later 3.0), so don't see a reason to target 2.3 during development.
Fall back to emulator...

Gary V

It is also possible to test with a physical Z1, Z2, Z3 device through Samsung Remote Test Lab.