Jump to content


Photo

optimized kernel 2.6.32.9-perf

* * * * * 1 votes

  • Please log in to reply
99 replies to this topic

#61
desalesouche

desalesouche

    Addict

  • Members
  • PipPipPipPipPip
  • 666 posts
  • Gender:Male
  • Devices:u8230/u8860

Hey, wifi is working, nice! thank you :)

btw, this was flashed on top of crossbreeder+frandom

what about the sound? and whatever you can tell me? dime todo! jejeje.
i am going to upload you boot.img for styx with more tweaks test both and tell me if one has better battery life/performance or whatever.please.
so if you can test one boot.img diring one day and the other one during one also.they are the same but some tweaks in init.rc.this would help me.thank you.

http://www.mediafire...zwtfraamasgfk3v

Edited by desalesouche, 21 March 2013 - 08:26 PM.

  • 0

#62
desalesouche

desalesouche

    Addict

  • Members
  • PipPipPipPipPip
  • 666 posts
  • Gender:Male
  • Devices:u8230/u8860
i think i manage to add voodoo sound... :ph34r: muhahahahaha! will upload soon.
one kernel for styx and another one for cm7.2 etc...
voodoo sound for styx----> http://www.mediafire...ehn5vvt7730vv11
(init.rc without tweaks)

voodoo sound for cm7.2 ----> http://www.mediafire...f8g0squ65rpxxx3
don't forget to set your sd with ext4 .
kernel support ext4 . see my github for changelog.

edit about cam: i am not sure but i think i manage to fix the line on picture.(will do more pics to be sure)

Edited by desalesouche, 23 March 2013 - 07:40 PM.

  • 0

#63
pedrojaime

pedrojaime

    Enthusiast

  • Members
  • PipPipPip
  • 218 posts
  • Gender:Male
  • Location:Quito
  • Devices:Galaxy Note II [GT-N7100]
Attached File  IMG_20130225_082933.jpg.zip   611.06KB   9 downloads

Hey,
This is great. I am testing as we speak. It's difficult for me at the moment to give you quantifiable results. I am also working more with ADB since I want to get into Android development and I am diving in trying to learn more so hopefully I can contribute to your efforts in a more meaningful way!

So far I have not seen any problems with battery life. I have found (before applying these last two patches) that with the current state of my phone, I can get up to 1% discharge of the battery life (from a full charge) every 5-6 hours overnight. This is the best I have achieved. It is important to note though that during 8 of these 12 hours the phone is in airplane mode so of course that makes a huge difference. I will do this test again as soon as I can to let you know any differences with the patches applied.

About the image tweaks, what exactly are these supposed to do? Improve the rendering speed? If so, I do seem to notice my images opening up faster. Does the patch also affect the image quality of pictures taken with the camera?

Attached is a sample picture I have taken of my son with this phone, build.prop tweaks and zoom camera (free ads-version). Note this all happened 2 weeks ago without any of your supplied patches. I find the stock camera app causes many random lines in pictures, but no lines with zoom camera app though.. Will try taking some more pics in comparable good light situations with your patches to see if there is an improvement. Who says you can't take a decent picture with the pulse. Finally, note the sunlight is very bright in Quito, Ecuador - a good place to test how good these phone displays are in bright sunlight.. I doubt winter low-light back in the UK would give as good results taking pictures with the pulse. This camera does not handle low-light well at all.

Any tips/advice you can give me on learning android ROM building are greatly appreciated! I tried to decompile/edit/recompile framework-res.apk last friday but failed even a basic changing of the wallpaper file. I have read about apktool - is this the util recommended for these kinds of thing?

thanks,


Peter

Edited by pedrojaime, 25 March 2013 - 05:22 AM.

  • 0
Happy phablet hacking!

#64
desalesouche

desalesouche

    Addict

  • Members
  • PipPipPipPipPip
  • 666 posts
  • Gender:Male
  • Devices:u8230/u8860
to compile kernel---> http://www.modaco.co...2/#entry1849888
my github---> https://github.com/d...el_huawei_u8220
so know with 2 first links , you can choose between 3 source:pier11, destructOr, and mine...
command to build kernel( i updated it ) : make -j4 ARCH=arm CROSS_COMPILE=${HOME}/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-
how to compile module(frandom)---> http://www.modaco.co...80#entry2090380

will provide more link about building rom later .

the great great things would be to manage to compile the ar6000.ko so after that we can upgrade kernel with a working wifi....

  • 0

#65
pedrojaime

pedrojaime

    Enthusiast

  • Members
  • PipPipPip
  • 218 posts
  • Gender:Male
  • Location:Quito
  • Devices:Galaxy Note II [GT-N7100]
Doing a lot of reading at the moment, I can report that in 6 hours overnight my battery went down 4%. before this was 1% so something is definitely eating battery up more than before with the latest kernel+img and vodoo patches. that is all i can say for the moment. The sound seems even better with less distortion - need to test more with headphones since the little speaker can take that much and I have vanilla media player which allows me to increase the sound to 149% of normal max media volume (good for in-car AUX port).

Thanks a lot for the helpful links, will get to is as soon as I can :)


Peter

Edit, what errors are you getting in the compiling of the ar6000.ko kernel module? Is it failing at line 1 or getting quite far before it fails??

Edited by pedrojaime, 25 March 2013 - 09:22 PM.

  • 0
Happy phablet hacking!

#66
desalesouche

desalesouche

    Addict

  • Members
  • PipPipPipPipPip
  • 666 posts
  • Gender:Male
  • Devices:u8230/u8860

Doing a lot of reading at the moment, I can report that in 6 hours overnight my battery went down 4%. before this was 1% so something is definitely eating battery up more than before with the latest kernel+img and vodoo patches. that is all i can say for the moment. The sound seems even better with less distortion - need to test more with headphones since the little speaker can take that much and I have vanilla media player which allows me to increase the sound to 149% of normal max media volume (good for in-car AUX port).

Thanks a lot for the helpful links, will get to is as soon as I can :)


Peter

Edit, what errors are you getting in the compiling of the ar6000.ko kernel module? Is it failing at line 1 or getting quite far before it fails??

which kernel do you use actually? the one with optimization in init.rc ot the one without optimization?

and here is a link about my problem with ar6000 ... http://forum.xda-dev...06&postcount=32
if you manage to compile it ( you might have to compile the kernel before ;) ) just tell me and make a how to.if you need any help to set everything(environment build github etc...)
just tell me i will provide you link and information etc etc....

  • 0

#67
jgilalonso

jgilalonso

    Regular

  • Members
  • PipPip
  • 58 posts
  • Devices:U8220
Hi Pedro Jaime and desalesouche,

Somos pocos los que quedamos en este foro...
but it doesn't matter.

I like my U8220 (Pulse) and I want more!!

I would like install a official ROM (UK, Hungarian, Tre, etc...) to start from scratch.
I've notice my phone start very slow and can't flash through fastboot.

At this moment I've CM7.2-Onyx -Reworked with your last Kernel.
and wifi is very bad.
The phone works but my battery drains very fast.
Quizas es la bateria pero quiero descartar la mezcla de kernels y ROMS.

I don't know if I can brick my pulse but I think it's necessary.

I've read the "Ultimate Pulse Owner Guide" but I want your recommendations.

He tratado de actualizar con la UK 2.1 Oficial con la carpeta dload en la raiz de la SD, pero cuando he iniciado mediante (Power + Volumen UP + End Call) he obtenido "Update Failed"

Is it necessary flash Time Machine?
Please, Can you lead me?

Thanks!!!

EDIT: I don't know what version is my U8220.
mi almacenamiento interno son 220 MB.
Es muy superior a las particiones de Tre o UK

If you need more information for help me...ask me

Edited by jgilalonso, 26 March 2013 - 03:07 PM.

  • 0

#68
pedrojaime

pedrojaime

    Enthusiast

  • Members
  • PipPipPip
  • 218 posts
  • Gender:Male
  • Location:Quito
  • Devices:Galaxy Note II [GT-N7100]
Call me crazy but I am using a 10-year old laptop (original centrino 1.4 single core processor with 2Gb ram) and the thing flies because I have a light Archlinux running and only what I need on it. Can boot to Window manager in 8 seconds - beat that MS Windows XP/7/8.. By the same token, I am also very happy with the pulse and it runs just what I need. There is something very satisfying about getting old hardware to run more efficiently than new machines. OK, so I have to wait 7 seconds for whatsapp to start on the pulse but that's another story - its not my fault that everyone has chosen to use whatsapp instead of better, faster alternatives (the same way VHS was chosen over beta max - now I am showing my age).

I was scared too at the beginning of bricking my phone. I wrote at length in this forum somewhere about what I did to recover from that.. But honestly, in my experience its virtually impossible to brick the pulse and that's why I love it, because its such a good phone for flashing, testing, learning etc.

First, do you mean that you have a /system partition that is 220Mb?? Are you sure? Mine (that came with my flashed Ecuador Movistar 1.5 android rom) is 85Mb. Everyone on this forum talks of TRE/UK/Hungarian roms giving you 110Mb but that breaks the 3G frequency for Ecuador so I am stuck with 85mb.

I really see no good reason to go to a 2.1 rom but if you want to try it, put time machine update.zip in the root of your sdcard. (make sure you copy off everything important from the SDCARD first) and there is no emergency that your phone must work for a few hours before trying this. Then pull the battery and run the update sequence (holding down Menu+End(red button)+vol up, slide the battery in) and it should flash the update.zip. I find the movistar 1.5 rom can also be used and you can use that update.zip which will then allow you to flash 2.1 or 2.2. From there you can flash 2.3 if you wish. I really find the Styx rom very good and fast.

I am just re-reading your message and it sounds like you are doing everything correctly. YES, you are correct, you will need to use time machine or movistar 1.5 rom to take you back to earlier Android versions.

Once you have re-installed, the most useful program I have found for monitoring battery use is 'system panel app/task manager' Note you only get the graphs if you buy it but its worth it (graphs even work on 2.2, unlike batterbattery stats app). It will show you exactly what is using the processor at which time. Let me know if you have trouble finding suitable Time machines/Movistar rom and I can find and upload them for you. Cpu tuner is also very good if you want to for example switch to use only 2g only when the phone screen is off and fancy things like that which will help you save more battery.

I am writing this from memory but write back if you get stuck and I will help you become unstuck. Good luck!

EDIT: btw, Desalesouche, not me is providing new kernels and patches, I've just done a lot of testing ;)

Edited by pedrojaime, 26 March 2013 - 04:01 PM.

  • 0
Happy phablet hacking!

#69
desalesouche

desalesouche

    Addict

  • Members
  • PipPipPipPipPip
  • 666 posts
  • Gender:Male
  • Devices:u8230/u8860
@ jgilalonso:

if you wanna begin to make your own kernel : ----> http://www.modaco.co...2/#entry1849888

about module ---> http://www.modaco.co...80#entry2090380

Edited by desalesouche, 26 March 2013 - 04:12 PM.

  • 0

#70
jgilalonso

jgilalonso

    Regular

  • Members
  • PipPip
  • 58 posts
  • Devices:U8220
Hola Pedro Jaime, soy de España.

Quizas no me he explicado bien.
Lo que quiero es poner una ROM oficial para dejarlo todo como de fabrica para luego pasarme otra vez a una Custom ROM.

Por partes:
1) Si voy a Ajustes--> Almacenamiento, en Almacentamiento interno aparece lo siguiente:
Espacio Total: 220 MB
Espacio Disponible: 37,3 MB

Si tienes otra forma de mirar el espacio de /system me lo comentas y te lo reviso.

EDITO: Salida de df -k /system
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/block/mtdblock4 174080 88560 85520 51% /system

2) Si tu crees que no es necesario volver a una ROM Oficial para hacer una limpieza completa, explicame como.
Ultimamente veo que arranca muy lento y el wifi va fatal incluso cambiando el kernel.

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


Hello Pedro Jaime, i'm from Spain.

Maybe I haven't explained very well.
What I want is to put an official ROM to leave everything as factory and then flash to a Custom ROM.


1) If I go to Settings -> Storage, in Internal Storage appears:
Space Total: 220 MB
Space Available: 37.3 MB

If you know another way of looking the space in /system, you mention and I review it.


EDIT: Print of df -k /system
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/block/mtdblock4 174080 88560 85520 51% /system



2) If you think you do not need to return to an Official ROM to make a complete cleaning, tell me how.
Lately the phone start very slow and the wifi is horrible even changing the kernel.

Edited by jgilalonso, 26 March 2013 - 04:23 PM.

  • 0

#71
pedrojaime

pedrojaime

    Enthusiast

  • Members
  • PipPipPip
  • 218 posts
  • Gender:Male
  • Location:Quito
  • Devices:Galaxy Note II [GT-N7100]
Hola jgilalonso,
Did you try this section from the pulse owners guide? 'Removing all Traces of Custom Roms' It sounds like this is what you tried and this is where it's failing. It looks like your /system is 170Mb! That's huge but very useful. Its also very good that your /system is only 51% full.

Do you have Clockwork recovery installed? Hold down Menu+End+Power to start until you start in recovery (or reboot -> recovery option from Android). I am using Clockwork recovery 2.5.0.7 - it works very well. If you have this, then try these options first before trying time machine:
-wipe cache partition
- advanced -> wipe dalvik cache
- advanced -> wipe battery stats

press Home to go back and reboot. Will take a bit longer but once rebooted (give at least a minute after rebooted to check), Android should be smoother. Is your phone still really slow?

If so, what you can do (after saving important information to PC), is to reinstall CM7.2-Onyx in Clockwork recovery:
-wipe data/factory reset

-wipe cache partition
- advanced -> wipe dalvik cache
- advanced -> wipe battery stats

then, choose 'install zip from SD card' and re-flash CM7.2-Onyx again. Wait patiently for first boot, go through setup and reboot again. Now the phone should be in a better state. Personally I tried CM72-Onyx and I really liked it and the features but far too slow compared with Styx rom (2.2) so I went back to that one. Let me know where you get up to and most importantly if you do not have Clockwork recovery on your phone!

If you cannot boot into Android, don't panic, because with Clockwork recovery you can go into:
- mounts and storage -> mount USB storage
and plug into USB on computer and you will be able to put CM7.2-Onyx.zip on the sdcard without a microSD-to-USB adaptor

If you do not have Clockwork recovery, there are ways around that too, you just have to get it flashed on the phone with fastboot, I can explain this if you get to that point. Although Android may be in a very bad state, it is extremely unlikely that your phone is bricked so don't worry, just be patient going through these steps until we get it back.

Let me know how far you get. Escribo en inglés para que todos puedan entender pero avísame si algo te confunde para explicarte en español.

Saludos,


Peter (un Anglo-Ecuatoriano)

  • 0
Happy phablet hacking!

#72
jgilalonso

jgilalonso

    Regular

  • Members
  • PipPip
  • 58 posts
  • Devices:U8220
Hi Pedro Jaime.

I have a lot of expertise flashing :) ...more than I wanted :(
My phone has installed CWM 2.5.0.7
I've tried everything on CWM...without luck.

I'll review this section Removing all Traces of Custom Rom that I didn't know.

EDIT: Removing all Traces of Custom Rom is the same that installing Original ROM and for me it's impossible (Update Failed)
In the step 5 I've seen If your phone "Fails to Update" Please refer to the FAQ [here]

Question: When I try updating to 2.1 It keeps displaying "Update Failed"
Answer: Are you sure you have a U8220 Pulse? Check under the battery cover.

Under my battery cover appears:

U8220
Mac: xxxxxxxxxxx
IMEI: xxxxxxxxxxxx
S/N: xxxxxxxxxxxxxx

FCC ID: QISU8220-6

Have I one U8220-6?

What benefits has a greater /system?
I need Link2SD because I don't have space to install more apps.

For me the best ROM is Onyx (by Twrock) but I want to use the last kernel by desalesouche.

As fastboot don't work for me, I have to flash the kernel with CWM and I don't know if it's good way.

Another problem I have (I've remebered) is my Kubuntu can't detect the phone when I connect the usb.
And If I connect usb in Windows, the phone is detected like Ideos and I can't install the drivers.

Es por todo esto que he pensado hacer una limpieza total.

Any solutions about drivers?

Edited by jgilalonso, 26 March 2013 - 05:56 PM.

  • 0

#73
desalesouche

desalesouche

    Addict

  • Members
  • PipPipPipPipPip
  • 666 posts
  • Gender:Male
  • Devices:u8230/u8860
may be you have u8230 and not u8220? http://www.gsmarena...._u8230-3191.php

http://www.gsmarena....8;idPhone2=3144
more info http://en.wikipedia..../T-Mobile_Pulse
edit: i didn't read all your post so that is why these links... scatterbrain i am...

you said :Lately the phone start very slow and the wifi is horrible even changing the kernel. so may be my kernel is not in cause?


Edited by desalesouche, 26 March 2013 - 06:32 PM.

  • 0

#74
jgilalonso

jgilalonso

    Regular

  • Members
  • PipPip
  • 58 posts
  • Devices:U8220
@Desalesouche.

No. My phone is a U8220...perhaps U8220-6. I'm not sure.

I think that your kernel is not the problem.

I'll try Time Machine :wacko:

@Pedro Jaime.

Piensas que si instalo el Time Machine y una ROM Oficial (UK, por ejemplo) tendré el /system más pequeño?

Edited by jgilalonso, 26 March 2013 - 06:59 PM.

  • 0

#75
pedrojaime

pedrojaime

    Enthusiast

  • Members
  • PipPipPip
  • 218 posts
  • Gender:Male
  • Location:Quito
  • Devices:Galaxy Note II [GT-N7100]
Time machine and UK/Hungarian/TRE rom will give you /system of 110Mb AFAIK. Suerte

  • 0
Happy phablet hacking!

#76
desalesouche

desalesouche

    Addict

  • Members
  • PipPipPipPipPip
  • 666 posts
  • Gender:Male
  • Devices:u8230/u8860

Time machine and UK/Hungarian/TRE rom will give you /system of 110Mb AFAIK. Suerte

hola...i have a u8230, so i am suppose to have Internal =256 MB RAM.
when i look at internal storage i see :total space=80.25 and avalaible space=51.58 so it makes=131.83 MB

so i think(realise) that there is something wrong?

shouldn't i have a
Space Total: 220 MB or more like jgilalonso?
Space Available: 37.3 MB
so i am wondering if i should reflash original firmware? would it give me back the missing Mb?

  • 0

#77
jgilalonso

jgilalonso

    Regular

  • Members
  • PipPip
  • 58 posts
  • Devices:U8220
@desalesouche

available space=Total space - Used space
I think that your /system have 80 MB

Can you execute df -k /system?

How you can reflash original firmware?
What ROM will you flash?

  • 0

#78
desalesouche

desalesouche

    Addict

  • Members
  • PipPipPipPipPip
  • 666 posts
  • Gender:Male
  • Devices:u8230/u8860

@desalesouche

available space=Total space - Used space
I think that your /system have 80 MB

Can you execute df -k /system?

How you can reflash original firmware?
What ROM will you flash?

i have a
EDIT: Print of df -k /system
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/block/mtdblock1 112640 91032 21608 81% /system

Edited by desalesouche, 27 March 2013 - 12:19 PM.

  • 0

#79
jgilalonso

jgilalonso

    Regular

  • Members
  • PipPip
  • 58 posts
  • Devices:U8220
112640/1024= 110
You have a 110 MB in your /system partition.

Sometime I supposo that you installed a TRE or UK ROM

I don't understand why you see 80 MB in Total space.

  • 0

#80
desalesouche

desalesouche

    Addict

  • Members
  • PipPipPipPipPip
  • 666 posts
  • Gender:Male
  • Devices:u8230/u8860

112640/1024= 110
You have a 110 MB in your /system partition.

Sometime I supposo that you installed a TRE or UK ROM

I don't understand why you see 80 MB in Total space.

yes.you might be right.. i might have installed TRE long time ago to install cm7 etc..., ignoring what i was doing...
i found original stock dload ...will try to flash it to see what happen.... ( :unsure: it is a little scary... :D )

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users