maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900 (https://talk.maemo.org/showthread.php?t=84829)

pichlo 2013-04-24 09:00

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
FWIW, I installed backupmenu before CSSU (hence before CSSU-Thumb). As recommended in TFM. An update to one of KP, CSSU-T or BackupMney has caused the malfunction. The trouble is that it has been mentioned in all three threads and everybody washes their hands and points the other two ways.

n900hacker 2013-04-24 12:59

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Hi all guys. I have 2 questions for you: can i install cssu-thumb if i have already installed normal cssu (4.1)? will the kernel/multiboot be modified if i install it? i have nitdroid running on my n900. thanks in advance

bozoid 2013-05-01 12:18

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Question: With KernelPower52 alone, one would still be able to run CSSU Thumb/Thumb2 apps right?
From what I gather, CSSU Thumb/Thumb2 simply provides a huge set of libraries compiled for Thumb/Thumb2, and requires KP52 (because the patch required to run Thumb/Thumb2 stuff is in the kernel).

kh

visN900 2013-05-01 12:46

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by bozoid (Post 1340418)
Question: With KernelPower52 alone, one would still be able to run CSSU Thumb/Thumb2 apps right?
From what I gather, CSSU Thumb/Thumb2 simply provides a huge set of libraries compiled for Thumb/Thumb2, and requires KP52 (because the patch required to run Thumb/Thumb2 stuff is in the kernel).

kh

everything will work fine.. i am using cssu+kernel power52+thumb..

wonder how u got this question :P

qwazix 2013-05-01 14:05

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
I think the question is if you can install a thumb compiled app without having cssu-thumb, just KP. I would think from what I know that it should be ok but I am not sure. I don't think there's harm in trying however, the worst thing that can happen is the app will crash or won't run at all.

malfunctioning 2013-05-01 14:47

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
My understanding is that CSSU-Thumb is required to run Thumb2 ISA applications. On addition to that, you must be using a kernel that works around the hardware errata. You can either pre-install KP 52 (or even KP 51r1), or just let CSSU-Thumb install kernel-cssu, which itself is based on KP 51r1.

I recommend installing KP 52, then CSSU-Thumb. That's what I did on my N900. I have overclocked (to 805 Mhz) and also used the packet injection drivers, and everything seems to be running very well.

quailstorm 2013-05-01 17:32

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
On CSSU-Thumb2 I've got only two issues. (KP52)
Camera app randomly closes with internal application error. Manual focus app is installed by the way.
backupmenu crashes! Is there any solution?

Thumb2 is really fast, extraction, and menu scrolling is way faster too.

Also cracking WEP or WPS is really easy.

sixwheeledbeast 2013-05-01 18:29

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by quailstorm (Post 1340489)
On CSSU-Thumb2 I've got only two issues. (KP52)
Camera app randomly closes with internal application error. Manual focus app is installed by the way.
backupmenu crashes! Is there any solution?

Both issues are not thumb related AFAIK.

Camera is to do with your Non stock Camera application.

Backupmenu issue is a problem with text2screen in CSSU-Devel.

freemangordon 2013-05-01 21:28

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by bozoid (Post 1340418)
Question: With KernelPower52 alone, one would still be able to run CSSU Thumb/Thumb2 apps right?
From what I gather, CSSU Thumb/Thumb2 simply provides a huge set of libraries compiled for Thumb/Thumb2, and requires KP52 (because the patch required to run Thumb/Thumb2 stuff is in the kernel).

kh

If you compile (and you will want to) thumb binaries with gcc 4.7.2 (or whatever version different from stock), you'll also need libstdc++ and libgcc1 that come with the toolchain.

Why I say you'll want to use different toolchain? Well, there are 2 erratas that need to be workarounded and the second one is workarounded by the linker. Unfortunately stock SDK binutils is far too old to know about that :)

So the answer is - yes, you can, given you compile the binary with the correct toolchain and provide the correct kernel and the needed libs.

bozoid 2013-05-02 12:17

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by freemangordon (Post 1340536)
... you'll also need libstdc++ and libgcc1 that come with the toolchain.

Thanks for the response! I find above portion of the response most interesting. Is libstdc++ & libgcc1 from CSSU Thumb mandatory?

Here's a scenario - Lets assume I have:
- *CSSU Stable*.
- KP52 - we know this has workarounds for an errata.
- Firefox/Fennec (special build for Thumb, linked in required manner).
In above situation, libstdc++ & friends are all non-Thumb versions.
Would Firefox/Fennec still run?

All above is really just for better understanding :) It's coz from reading, your post #1 says we only need following:
1. fix in kernel; &
2. (apps or libs linked in required manner.)

I still intend to create a fresh image with CSSU Thumb, repartition my device, reinstall all my apps one by one, etc. :)

kh

bozoid 2013-05-02 12:29

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by sixwheeledbeast (Post 1340497)
Backupmenu issue is a problem with text2screen in CSSU-Devel.

Saw some previous posts claiming that backupmenu completely doesn't work & bricks the device.
I suspect some are not aware that there is another distant & somewhat related problem:
- Start off with KP51.
- Backup in full using Backupmenu.
- Upgrade to KP52.
- Restore using last backup.

Above would unlikely work if my reasoning is correct:
  • Start off with KP51.
  • Backup in full using Backupmenu.
    . - Kernel in dedicated NAND partition is KP51.
    . - /lib/modules/current points to KP51 modules.
    . - Note: Can't backup kernel in dedicated NAND partition.
  • Upgrade to KP52.
    . - Kernel in dedicated NAND partition is now KP52.
    . - /lib/modules/current points to KP52 modules.
  • Restore using last backup.
    . - Note: Restore can't restore kernel to dedicated NAND partition.
    . - Kernel in dedicated NAND partition is still KP52.
    . - /lib/modules/current points to KP51 modules as per backup.
    . - KP52 modules are non-existent anywhere (as per backup).

Above results in a "bricked" device as kernel modules can't be found.

I probably had this several counts & had a couple of useless backups as a result. As a result, am much more careful with backups especially when using KP.

kh

Estel 2013-05-02 13:29

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
The fact that backupmenu can't backup kernels, is well known - maybe it should be highlighted in backupmenu's readme, or some wiki, to avoid "trap" for new users. Anyway, it's off-topic here, as it doesn't have anything to do with thumb.

Thanks for your question about thumb programs without cssu-thumb (and freeman's answer) - now I understand more about it, I had no idea about never libs being *mandatory* for new toolchain-compiled programs (as opposed to being optional, giving better performance).

/Estel

freemangordon 2013-05-02 17:14

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by bozoid (Post 1340629)
... Is libstdc++ & libgcc1 from CSSU Thumb mandatory?

Here's a scenario - Lets assume I have:
- *CSSU Stable*.
- KP52 - we know this has workarounds for an errata.
- Firefox/Fennec (special build for Thumb, linked in required manner).
In above situation, libstdc++ & friends are all non-Thumb versions.
Would Firefox/Fennec still run?

No, as the device with stock libs is missing libstc++ and libgcc1 used during buildtime so you'll have unresolved symbols. Of course you can copy those libs and then the application will run.

Quote:

All above is really just for better understanding :) It's coz from reading, your post #1 says we only need following:
1. fix in kernel; &
2. (apps or libs linked in required manner.)
Hmm, maybe you'll want to read it again :P, what is said in the first post is that you need fixed kernel and newer toolchain. "thumb" does not require newer libraries, it is an implicit requirement coming from the diffrent toolchain used ;)

Quote:

I still intend to create a fresh image with CSSU Thumb, repartition my device, reinstall all my apps one by one, etc. :)

kh
Why so complicated? Just follow the installation procedure, all your data/applications will remain intact

impeham 2013-05-03 07:27

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by bozoid (Post 1340630)
Saw some previous posts claiming that backupmenu completely doesn't work & bricks the device.
I suspect some are not aware that there is another distant & somewhat related problem:
- Start off with KP51.
- Backup in full using Backupmenu.
- Upgrade to KP52.
- Restore using last backup.

Above would unlikely work if my reasoning is correct:
  • Start off with KP51.
  • Backup in full using Backupmenu.
    . - Kernel in dedicated NAND partition is KP51.
    . - /lib/modules/current points to KP51 modules.
    . - Note: Can't backup kernel in dedicated NAND partition.
  • Upgrade to KP52.
    . - Kernel in dedicated NAND partition is now KP52.
    . - /lib/modules/current points to KP52 modules.
  • Restore using last backup.
    . - Note: Restore can't restore kernel to dedicated NAND partition.
    . - Kernel in dedicated NAND partition is still KP52.
    . - /lib/modules/current points to KP51 modules as per backup.
    . - KP52 modules are non-existent anywhere (as per backup).

Above results in a "bricked" device as kernel modules can't be found.

I probably had this several counts & had a couple of useless backups as a result. As a result, am much more careful with backups especially when using KP.

kh

I've been struggling with my device for the last month to try and understand why restoring my backups don't work - what you said explains a lot. i finally found a backup from 2 months ago with kp51 that worked, but as strange as it is - only after i restored an old rootfs which used multiboot and made the device try to start booting to maemo (this caused the device to boot 2-3 times before it succeeded) and then i started backupmenu from this image to restore my 2 months old image with kp51 and uboot which worked only after these steps.

my problem now is that my current state is with kp52 after many upgrades i did to the device (my own - not with apt-get) because i didn't know about the kp52 issue. i am not doing any apt-get updates any more because if something bricks i wont be able to restore. is there a way to overcome this from current kp52 state? i don't wanna wait for the momemt i'll have to go back to a 2 month old backup cause that's goona be a pain...

freemangordon 2013-05-03 10:00

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
@impeham - this is OT here, please ask on the appropriate thread

visN900 2013-05-04 14:12

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
my ram usage is always high due to contacts.. it occupies 35-45mb and ramusage stays at 180-195mb.. my phone lags when ram usage goes beyond 190mb... tried reflashing.. but in vain.. any remedy??https://lh5.googleusercontent.com/-4...504-193605.png

bozoid 2013-05-04 15:06

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by impeham (Post 1340853)
... i don't wanna wait for the momemt i'll have to go back to a 2 month old backup cause that's goona be a pain...

@impeham & @Estel, Yes it's OT. I posted details here hoping only to help clarify that some cases of bricked devices isn't caused by CSSU thumb (specifically those related to Backupmenu).
The case I mentioned mentioned KP, & similarity is that CSSU thumb uses a custom kernel or KP (& where incorrect use of Backupmenu would've triggered the issue).

@impeham: Post to the Backupmenu thread or maybe the KP thread, or send me a private message & I may be able to provide some suggestions based on what I know.

kh

bozoid 2013-05-04 15:12

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by freemangordon (Post 1340751)
Why so complicated? Just follow the installation procedure, all your data/applications will remain intact

Thanks for all the responses! :)
I've got CSSU Stable (lacks many features from CSSU Testing), & many black magic placed on my device. Also introduced a weird defect due to all the black magic. I don't quite have the confidence that a direct upgrade will work that well; besides, I wanna get rid of that defect.

Understanding your stuff here potentially helps me avoid pitfalls when using my black magics in my N900 :)

kh

bygokhan 2013-05-05 20:21

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
3g video calls, can use once you get the very want it to be. Skype is also, but not in normal gsm

robotanarchy 2013-05-07 16:11

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
I've successfully installed the stable version and I really like it.
Could you provide some kind of guide, how to compile packages for that architecture? I'd really like to compile chromium (yes, it's huge).

And if there is a guide, please link it in the first post, so everyone can find it :)

Thanks a lot!

EDIT: I've had the build environment running, but compiling chromium doesn't seem useful. It's hard to get all the dependencies (you'd need to build some of them too afaik) and also it's said to be slow on the n900 anyway, so forget it :p

n900_ 2013-05-07 21:16

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
robotanarchy - http://wiki.maemo.org/CSSU-thumb_too...c4.7.2-linaro)

skanky 2013-05-10 20:12

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by Estel (Post 1334526)
Have you tried tightening contact pins of your battery (using a needle, for example)? When they get loose, it *very often* results in shutdowns, during slide-out or slide-in of screen. Once, long time ago (when dinosaurs walked on earth, and mercilessly hunted whatsap users, I almost did reflash due to this, suspecting software issue.

/Estel

I did find one slightly awry, and straightened it. Since then it hasn't reoccurred. Again, many thanks.

marmistrz 2013-05-21 13:56

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
It might be cssu-thumb connected. Upgraded gtk with apt-get. Since a couple of days if I leave the browser (microb) open, and lock the device and use the phone after a couple of minutes, it lags very much (as if painting the interface was lagging)

any ideas?

freemangordon 2013-05-21 19:16

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by marmistrz (Post 1345665)
It might be cssu-thumb connected. Upgraded gtk with apt-get. Since a couple of days if I leave the browser (microb) open, and lock the device and use the phone after a couple of minutes, it lags very much (as if painting the interface was lagging)

any ideas?

I guess you've upgraded it via cssu-devel, there is gtk there, non-thumb compiled ;)

marmistrz 2013-05-21 19:20

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by freemangordon (Post 1345763)
I guess you've upgraded it via cssu-devel, there is gtk there, non-thumb compiled ;)

Installed: 2:2.14.7-1maemo34+0cssu2+thumb0
So it's cssu thumb one.

_David_ 2013-05-26 22:15

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
At some point, screen started going blank on incoming calls. The only way to bring back the dialogs and answer the calls is to use the side slider.

What could be causing this?

Estel 2013-05-27 15:06

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Some application that you've installed, aimed at disabling irritating screen unlocking @ incoming calls? I recall such program in extras-something, and considering, how many times N900 answers/rejects call on it's own on my pocket, I should install it too.

Anyway, don't seem to be related to -thumb, as I'm using it, and haven't noticed such effects.

/Estel

caveman 2013-05-27 18:17

Quote:

Originally Posted by _David_ (Post 1347062)
At some point, screen started going blank on incoming calls. The only way to bring back the dialogs and answer the calls is to use the side slider.

What could be causing this?

I had a similar problem once. In my case it was dirt in the proximity sensor.

Android_808 2013-05-28 07:03

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
could it be down to system load/swapping? i've had similar occurances, not only with phone. maybe hardware slider somehow has higher priority as touchscreen event processing sometimes lags, evident by the delayed haptic feedback.

_David_ 2013-06-06 16:49

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
It is actually the proximity sensor though still not sure if hardware or software. I tested it using Healthcheck.

It works indoors, but not in sunlight, bafflingly. It's not the screen protector either.

handaxe 2013-06-06 22:37

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by _David_ (Post 1350030)
It is actually the proximity sensor though still not sure if hardware or software. I tested it using Healthcheck.

It works indoors, but not in sunlight, bafflingly. It's not the screen protector either.

Am I right in thinking this has come up before? Bad memory..

Anyhow, does the screen protector bit imply that you are aware of the other threads on proximity sensor and sun-light?

llucax 2013-06-08 13:26

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Hi, I noticed there is a new CSSU testing available, but no thumb counterpart yet. Are there any plans to make a new thumb release with CSSU testing 21.2011.38-1Tmaemo8?

Mitrigol 2013-06-08 14:11

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
CSSU thumb is always updated later than testing as it is the testing packages that are recompiled with thumb parameter.
You can expect it after most of install bugs on testing are sorted out.

Just be patient! :)

nokiabot 2013-06-08 15:35

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by Mitrigol (Post 1350538)
CSSU thumb is always updated later than testing as it is the testing packages that are recompiled with thumb parameter.
You can expect it after most of install bugs on testing are sorted out.

Just be patient! :)

we are patient :)
just to be sure:p

marmistrz 2013-06-08 15:38

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Gtk devs: gtk downloaded from cssu testing (cssu1) causes less stuttering of the web browser than cssu2, thumb compiled. Please investigate the case.

freemangordon 2013-06-09 00:07

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by marmistrz (Post 1350553)
Gtk devs: gtk downloaded from cssu testing (cssu1) causes less stuttering of the web browser than cssu2, thumb compiled. Please investigate the case.

I am on -thumb version and see no stuttering at all. Can you give some hard values or video or whatever?

And judging from your posts lately, I'd recommend you to reflash and to test again ;)

marmistrz 2013-06-09 05:43

Quote:

Originally Posted by freemangordon (Post 1350642)
I am on -thumb version and see no stuttering at all. Can you give some hard values or video or whatever?

And judging from your posts lately, I'd recommend you to reflash and to test again ;)

17% on cssu1 and 25% on cssu2+thumb0.
guess that restoring from backup all the apps after reflash wouldnt be recommended :)

freemangordon 2013-06-09 06:10

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by marmistrz (Post 1350657)
17% on cssu1 and 25% on cssu2+thumb0.
guess that restoring from backup all the apps after reflash wouldnt be recommended :)

Could you provide the testcase so I can see what happens?

Android_808 2013-06-09 07:56

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
has anyone suffered microb failing to start downloads (just says 0%)? not server specific. cancel doesn't clear from list.might not be exclusive to thumb.

marmistrz 2013-06-09 08:18

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by Android_808 (Post 1350667)
has anyone suffered microb failing to start downloads (just says 0%)? not server specific. cancel doesn't clear from list.might not be exclusive to thumb.

Yep. Downloading with wget works though.
Quote:

Originally Posted by freemangordon (Post 1350660)
Could you provide the testcase so I can see what happens?

iPhone4 user agent. Search 'test' with the bar (type in and click "search with google"). Lock the phone. Wait 5-10 mins. Unlock the phone. Lagging experienced. All pkgs latest cssu-thumb/extras-devel + glib 2.22 + sqlite 3.7 from meecolay repo.

With cssu1 sometimees just a hang is experienced. But as advised, reflashing now, 'cause it's just too much problems ;)


All times are GMT. The time now is 09:09.

vBulletin® Version 3.8.8