yashsingh1/xdaforums huggingface dataset:
[IDEs, Libraries, & Programming Tools] Syntax323:
So, i'm new to this entire thing, i'm hoiping im in the correct section. Redirect me if im not. I appreciate any help I can get.

I must be half retarded or full retarded cause I cannot figure out what i'm doing wrong.

I'm trying apk studio, apk tool, like everything. All I want to do is change a package name of my apk, but I cannot decompile it.

I'm not fully understanding the framework-res.apk I guess. I found one online and tried using it but I keep getting errors while trying to install the framework, and I can't find any framework files via google. Where am I supposed to get the Framework???

THis is the error i'm getting trying to install the framework. Am I using wrong framework? All I want to do is decompile dang apk rename package and recompile, this is killing me. Here is the error i'm getting.

C:\android\apktool>apktool if framework-res.apk
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:52)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:39)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:685)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:667)
at brut.androlib.Androlib.installFramework(Androlib.java:642)
at brut.apktool.Main.cmdInstallFramework(Main.java:240)
at brut.apktool.Main.main(Main.java:87)
Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000000
at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:238)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:201)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:189
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:157)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:11
4)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:78)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)
... 6 more
[IDEs, Libraries, & Programming Tools] sawdoctor:
There are a lot more talented people than me but I'll try my best to help you.

1. Make sure your have updated your apktool.jar to the latest version if using apk studio

2. You need to install the correct framework res for the app your trying to decompile. If it is a Google app then you are best using the latest cm framework res.apk so grab it from any cm rom that is the latest release

3. If it is a vendor app like Samsung then you will need the tw framework res.apk and the framework res.apk from the rom the app is from.

If you can tell me the app you want to decompile and the rom it's from I should be able to tell you which frameworks to install
[IDEs, Libraries, & Programming Tools] Syntax323:
Well its a custom made app from my buddy, he went away on vacation and my whole goal is to just change the package name so I can run 2 instances. He told me to go ahead, than left on holiday,

He is on stock lollipop, not custom rom.
[IDEs, Libraries, & Programming Tools] sawdoctor:
OK then you probably just need the frameworkres.apk from cm 12 to be honest
[IDEs, Libraries, & Programming Tools] Syntax323:
Do you have a link to it? Id really appreciate it. I can't find that, maybe i'm looking in wrong place?
[Android Q&A, Help & Troubleshooting] jdog320:
As the title says. Does anyone know a HC3.0 Stock Launcher that works? Not the one from team syndicate.
[HTC One M8 for Windows] marvoh:
Hi,

I just picked up this lovely piece of hardware but cannot use find sim tool kit menu when using an international sim card.

Any ideas on how I can get it to work?

Best,

M
[XDA Assist] Rocker987:
Hi all.my zenfone 5 whenever i connect to laptop its just charging n come out notification usb not recognized eror 43.so guy plz help me out for this problem..already change cable ,try at different laptop still same.
[Moto E Q&A, Help & Troubleshooting] Sabarivelan:
Moto E XT1022 bootloader got erased somehow...

unable to turn on the phone and unable to enter bootloader mode

I need to flash bootloader for Moto E

Please help me to flash bootloader
[Moto E Q&A, Help & Troubleshooting] nilanko:
Very unfortunately, it's not possible. You need to get the motherboard replaced because it's hard bricked :(
[Moto E Q&A, Help & Troubleshooting] sanjibrout:
Are you stuck on the fastboot and unable to go further. Here is my advice I also face that and rejected by service centre. I successfully installed 4.4.4 stock. Reboot my fastboot mode and all done.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] SuperG03:
Hi all,

I was able to successfully domestic unlock my S4 thanks to this wonderful forum. Only one quick question remains. So on the status section on the "about phone" menu, the "My Phone Number" section still shows my old Sprint Phone number, even with a ATT or TMobile SIM inserted. Is there a way to change or remove that number? Thanks!

SuperG03
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] bilgerryan:
So everything works? Just don't go in the menu and you won't see it, I think that is something so minor I wouldn't even worry about it for fear of screwing up the Domestic Unlock. I'm sure there's a way to do it, just seems like a silly thing to be worried about to me.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] chris41g:
Flash cyanogenmod ?
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] SuperG03:
Lol, that's true. I know it is very minor. Just figured if it was something easy, I would change it. Thanks!
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] SuperG03:
Lol, that's seems to be the solution by most for most things... ☺
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] SuperG03:
So I just wanted to reply to my own question with what worked for me in case someone else in the future needs to do it.

As I mentioned, even after successfully doing the domestic unlock the phone still had my "old" Sprint number listed regardless of what SIM is inserted. Now this may not sound like a big deal, but keep in mind the phone rely's on that information when you click the voicemail icon or more importantly for group texting to identify your number in the messages.

The fix was simple. All you need is your MSL code. Please do a search if you need to know how to obtain that code specific for your phone. Once you have it, put ##MSL CODE# and the service menu will come up. Click edit and change both entries from your "old" Sprint number to whatever number is associated with the SIM card you will be using. Hit back and done. The phone will automatically reboot, and you should be all set. Check the status again after it boots back up and it should show the new number you entered. I can confirm that doing this did NOT impact the domestic unlock at all. Hope this helps someone else out there.

SuperG03
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] Black6spdZ:
flash the jflteatt or tmo and no more sprint anywhere
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] Supertacomonkeyexplosion:
You can flash stock at&t or CM variant on the sprint variants? Have you done this? [MENTION=304291]Black6spdZ[/MENTION]
[General Questions and Answers] Doubleyou:
I would like to know the best budget android mobile with most of the advance features under 15000 INR. Approx 250$.
[General Questions and Answers] jonanbasket24:
El one plus one de 16 gb es tu mejor opción en mi opinión, aunque también tienes la opción de cojer el asus zenfone dos de 3gb ram.. Yo optaria por el one plus one de 64 gb porque pagando 50 $ mas te llevas un teléfono increible 300$

Enviado desde mi Moto G 2014 mediante Tapatalk
[Galaxy S6 Edge Q&A, Help & Troubleshooting] liad1981:
If yes, were could i found it?

tnx.
[Galaxy S6 Edge Q&A, Help & Troubleshooting] lummujaj:
You can find it in google my friend. Just search dont be a parasite
[Galaxy S6 Edge Q&A, Help & Troubleshooting] Alex-V:
true..people nowdays..won't search much..

http://xdaforums.com/showthread.php?t=3144866
[Galaxy S6 Edge Q&A, Help & Troubleshooting] liad1981:
i see this... recovery... is whis root to ???

Tnx
[8125, K-JAM, P4300, MDA Vario ROM Development] sledwrecker:
Is there a tool out there that can dump the rom from the phone to a nk.nbf file?

I've tried awizard but it makes .nba files and I can't covert them.
[8125, K-JAM, P4300, MDA Vario ROM Development] mfrazzz:
I believe all you have to do is rename the .nba to .nb and you are good to go.
[8125, K-JAM, P4300, MDA Vario ROM Development] acardinale:
bump for confirmation.
[Android Q&A, Help & Troubleshooting] iambaymax:
i just unchecked the enable superuser and when i opened it again it says su binary not installed and supersu cannot install it,my phone is note 3 n9005,and supersu is built in app,can i remove the app or if not what to do so i can open it? thank u.
[General Questions and Answers] Doubleyou:
Does the MOTO G 2nd gen support OTG USB support?
[General Questions and Answers] KawaiiAurora:
I think as long as the device has a mini usb port, it's gonna work ^^ I think every version of Android past I think 3.1 will be fine with usb keyboards and mice. Usb drives/External Harddisks however may need a bit more work to mount and get working!
[Xperia Z1 Q&A, Help & Troubleshooting] Zafar7777:
I want only "DSEE-HX" enable mod if it's available can someone gimme link ?

Other Mods Are Available But It Includes Other Things Too Which I Don't Need :rolleyes:
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] nishant.gaidhani:
Hi all,

Is there any app available which gives moto voice kind of functionality (voice recognition with screen off) on CM ROMs?

If not,can moto apps ported to those ROMs?

I love CM12.1 and Nexus ROM but could not do away with the voice functionality.

Thanks,

Nishant
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] HugoMastrangelo:
Google Now friend!
[Miscellaneous Android Development] sathya80:
Sry i duno where to ask this question.

So, i have nandroid backup done by Philz Touch Recovery. I want to edit the backup. Basically i want to delete some files in the backup to reduce the size of system file. i can see that

system.ext4.tar 0KB

system.ext4.tar.a 953mb

system.ext4.tar.b 953mb

system.ext4.tar.c 400mb

i tried to open files using 7zip but failed. is there a way to edit the backup and recompile them?

using s4 i9500 - Halcyon 6 - Voltaqe kernel - OD4 bootloader

thanks
[ZenFone 2 Q&A, Help & Troubleshooting] circkle:
I have a 500cl model Zenfone 2, the Taiwan version. I'm having trouble seeing my dads 5g wifi network at his home.

The network mode is set to A/N/AC-Mixed and the wireless channel is set to Auto.

I understand there are some limitations to the channels or something in the phone in terms of 5g radio. I really don't know. I'm a total noob. It would be nice to be able to connect to the 5g wifi though. I can't even see it in my list at the moment.

The networks works fine itself, as we have a number of other devices connected already. Just can't get my zenfone to spot it.
[ZenFone 2 Q&A, Help & Troubleshooting] whynottoday:
I do not have any issue with wifi 5ghz
[ZenFone 2 Q&A, Help & Troubleshooting] bal3wolf:
When i was at a friends i couldn't see his 5g ac router at all i did some research and found a old thread said to put the channel on 159 and sure enugh soon as we did it my phone was able to see it and connect. At home my phone finds my 2.4Ghz and 5Ghz with my wireless n router but connected at max of 74Mbps so i did some tweaking and found certain channels the phone woudn't see the 5Ghz band anymore but at 157 found it again and connected at 150Mbps both me and my friend run ddwrt on our routers.
[ZenFone 2 Q&A, Help & Troubleshooting] rlaw:
Try changing the channel. My phone connects to my 5GHz network automatically without hassle and will switch from 2.4GHz to 5GHz preferentially when I come in from the backyard for example.
[P3300, MDA Compact III  upgrading etc.] Angelos:
Here you have the ARTEMIS Portuguese WM5 ROM with EXTROM for the 3 Providers in Portugal (Fodafone, TNM and Pessimus) :-) :

http://www.mediafire.com/?31yu9emjedt

Credits goes to ZÉ BUÉ, he is the MAN!

PS:. Pirou-se, Pirou-se , Pirou-se e foi para a China........LOL

Regards,

AC
[P3300, MDA Compact III  upgrading etc.] sup3rm4n:
nem sei como agradecer! vou testar a ver se bomba

cumps e fica bem
[P3300, MDA Compact III  upgrading etc.] ark666:
Angelos, tu és o maior :D

abraço:)
[P3300, MDA Compact III  upgrading etc.] ark666:
O ZÉ BUÉ tb é o MAN

:D
[P3300, MDA Compact III  upgrading etc.] sup3rm4n:
funcionou na perfeiçao...

ha possibilidade de postares tambem apenas a extended rom que vem com ele nos equipamentos desbloqueados de origem?

cumps
[P3300, MDA Compact III  upgrading etc.] JFFR:
Ajuda, não consigo instalar a Rom!

Está-me a dar o erro abaixo descrito, alguém me pode ajudar a resolver a situação?!

ERROR 244: INVALID MODEL ID

This update utility cannot be used ofr your PDA phone.

Relativamente a este erro a informação que recolhi nas instruções foi a seguinte:

"One of these error messages will appear when you use the wrong RUU to do the upgrade. RUU will check if the Model ID and Language ID are compatible with the device. Make sure you use the appropriate RUU tool to upgrade."

Cumprimentos,
[P3300, MDA Compact III  upgrading etc.] tabarda:
Boas amigo,

O teu HTC está em Inglês?? Certamente sim e então terás de desbloquear a rom.

Cumps.
[P3300, MDA Compact III  upgrading etc.] JFFR:
E como é que faço para desbloquear a Rom?

É que já tentei usar uma pequena aplicação que está aqui no fórum e não consegui fazê-lo....

Obrigado.
[P3300, MDA Compact III  upgrading etc.] sup3rm4n:
tens de correr o uspl no pc... de preferencia no windows XP e sem o cartao de memoria dentro do PDA! depois assim que ele voltar ao menu principal após flashar o uspl, podes entao flashar a ROM que te apetecer.

Já agora, alguem sabe como modificar o conteudo de uma das extended roms que foram aqui postadas? é que gosto da barra do ndrive que vem na da optimus, mas gostava de retirar o wallpaper e outras coisas mesmo especificas da optimus
[P3300, MDA Compact III  upgrading etc.] albim:
Mudar de idioma

Eu tenho uma rom em Inglês instalada e pretendo instalar em portugues. É possível? Já corri o uspl só que ao instalar a rom diz que o id é incorrecto. O que posso fazer?

Obrigado
[P3300, MDA Compact III  upgrading etc.] ventinho:
sabem se ja saiu a rom wm6 em portugues para o p3300? tenho um em ingles e queria por em tuga. se alguem tiver pode colocar na net para download? cumprimentos e obrigado
[P3300, MDA Compact III  upgrading etc.] timeracer:
ois......como desbloquear as 3 redes ????

ois......como desbloquear as 3 redes ????
[P3300, MDA Compact III  upgrading etc.] chelas:
You can use imei check to unlock phone but iff is portuguese network i can get nck for you not free

Usa o imeicheck fica a volta de 30 euros mais custos paypal ou falas comigo se for rede portuguesa arranjo o nck nao e de borla
[P3300, MDA Compact III  upgrading etc.] olen_nelo:
marado

lamento nao dar os parabens mas o ficheiro quando se descompacta esta marado so abre o software a rom nepia diz ficheiro corrupto será que alguem podia por o ficheiro direito em algum site e por aqui o link
[P3300, MDA Compact III  upgrading etc.] ernomo:
alguém aqui tem uma ROM em Português cozinhada para o P3300?

O link do inico deste Tópico já não se encontra disponivel.
[P3300, MDA Compact III  upgrading etc.] Ghell:
Por acaso algem me pode ajudar na instalação do touchflo num P3300 com wm6. è que depois de instalar o ficheiro cab só me aparece um pequeno s ou l no topo do ecrã e mais nada....:mad:
[P3300, MDA Compact III  upgrading etc.] fpaulo:
Oi ppl,

Pois, eu tb queria .. mas o ficheiro do inicio do post já era ...

Please em WM6 .....

tx.

1ab,

FP
[P3300, MDA Compact III  upgrading etc.] jctuga:
já agora aproveito para dizer que o link não funciona e que instalei a rom wm6 português e quero voltar para o wm5. se explicarem como posso fornecer a rom wm6 português
[P3300, MDA Compact III  upgrading etc.] Hungpho:
Link dead , Another link please .I need Portuguese rom for Artemis .Thanks so much for your help !!!!
[P3300, MDA Compact III  upgrading etc.] spiritmind:
boas pessoal muito bom poder escrever português num fórum estrangeiro, alguém já instalou o touch flo no p3300? é seguro instalar isto nos nossos bichinhos http://xdaforums.com/showthread.php?t=329453

abraços
[P3300, MDA Compact III  upgrading etc.] spiritmind:
pessoal tuga mekiee ninguem me diz se já instalou Artemis_Touch_3.01_full no seu pda? é seguro?

abraços
[P3300, MDA Compact III  upgrading etc.] DuBosk:
pergunto o mesmo..

mas é pena tar em ingles..
[P3300, MDA Compact III  upgrading etc.] l00m:
Artemis Touch 3.01 Full

Instalei e é 5*, fica muito mais rápido (sem os progs todos que tinha anteriormente que parecia que engasgava)

Cumps,
[P3300, MDA Compact III  upgrading etc.] Ghell:
Tb instalei e funciona muito bem e o cubo é muito rápido...É pena que para os internet Explorer e outros programas não funcionar a função de deslocamento com o dedo (como para a lista de contactos) não funcionar

Ghell
[P3300, MDA Compact III  upgrading etc.] spiritmind:
boas já tentei instalar e não consigo pois segui os 2 passos que vem dentro da pasta o primeiro de unlock sid e e instalar a rom. quando vou instalar a rom aos 3% dá erro diz que a imagem é corrupta :confused: o que vale é que o pda ficou a trabalhar bem :rolleyes: alguém me pode ajudar a instalar isto?

cumprimentos
[P3300, MDA Compact III  upgrading etc.] DuBosk:
aconselho-te a fazeres novo download da rom..

Pelo menos!!;)
[P3300, MDA Compact III  upgrading etc.] sfmteixeira:
Ajuda urgente com P3300

Boas pessoal Tenho um P3300 que supostamente comprei como sendo original portugues. Hoje actualizei no site pa Wm6 e para meu espanto ficou em Ingles como tal precisava da rom em PT por favor alguem saiba onde posso sacala que nao me entendo com o ingles e agora ficou complicado.

Obrigado abraço
[P3300, MDA Compact III  upgrading etc.] DuBosk:
aqui tens o link para a rom original PT:

ftp://htc_us@66.185.19.164/RomCode/H...0_Ship_R .exe

palavra pass: htc_us_0426

cumps
[P3300, MDA Compact III  upgrading etc.] cleverizzo:
Ola DuBosk,

consegui entrar no ftp sem problemas, mas infelizmente a pasta estava vazia ... o arquivo foi removido?
[P3300, MDA Compact III  upgrading etc.] jctuga:
em português

instalei o cube e wm6 e está um espataculo.

alguem sabe se há em português. abraços
[P3300, MDA Compact III  upgrading etc.] maiyart:
Eu necessitava era do WM5 para o P3350 em PTG, se alguem souber onde posso arranjar :(
[P3300, MDA Compact III  upgrading etc.] GreenDaZe:
Boas

Se a rede for portuguesa arranjavas o "nck". o que é isto? e por quanto fica e se o artemis fica desbloqueado as 3 redes eternamente ou é so temporariamento... é um tmobile mda compact 3.

Obrigado

Abraço
[P3300, MDA Compact III  upgrading etc.] feral_br:
Rom em Português

Alguêm sabe onde conseguir uma ROM em portugues para o P3300? De preferência a WM6.

Sabem se o telefone vai funcionar no Brasil também?

Obrigado
[P3300, MDA Compact III  upgrading etc.] rodox2711:
Artemis p3300 , wm6 em portugues ?

Gostaria em portugues por favor.. me arrumem.....
[P3300, MDA Compact III  upgrading etc.] melyse:
ola a todos

ja tentei varias vezes com o uspl remover o cid lock mas nunca com exito quando vou fazer o upgrade da-me sempre o erro 244. alguma ajuda seria bemvinda
[P3300, MDA Compact III  upgrading etc.] maxbiagi:
ja consegui instalar o WM6 em dois Telefones p3300 da Optimus mas no da fodafone é que vai uma grande Merd. ele só me dá erros, model invalid depois de correr 2%.

:confused:

existem diversos tipos de rom para os diversos tipos de telefones dentro do mesmo modelo?
[P3300, MDA Compact III  upgrading etc.] wolverine493:
htc 3300

ola pessoal boa tarde, eu tenho 1 htc 3300 que me esta a dar problemas, quando o comprei ele vinha com wm5, so que eu pedi a 1 casa pra por o 6, so que na altura funcionou perfeitamente so que agora esta a dar me problemas, tipo crasha imensas vezes e bloqueia muito. sera possivel por o wm5 outra vez? agradecia imenso a quem pode se ajudar. obrigado, aqui fica o meu mail . santos493@hotmail.com. e se nao for pedir muito ja agora podiam explicar como posso fazer isso aqui em casa. Obrigado a todos.
[P3300, MDA Compact III  upgrading etc.] wolverine493:
a trabalhar

muito obrigado ao tabarda, um bem haja pra ele. o htc a funcionar nas perfeiçoes
[P3300, MDA Compact III  upgrading etc.] 1958eu:
liberar artemis htc 3300 de vodafone

podeis ayudarme a liberar la htc 3300 de vodafone

gracias
[P3300, MDA Compact III  upgrading etc.] ferbricos:
WM6 PTG para P3300

Olá amigos, onde se consegue o WM6 para artemis P3300?

Obrigado.
[P3300, MDA Compact III  upgrading etc.] c4b3l3r4:
aqui vc encontra as roms cozinhadas

http://wiki.xda-developers.com/index.php?pagename=Artemis_DumpedRoms

biblia do artemis

http://wiki.xda-developers.com/index.php?pagename=HTC_Artemis

Abraco!:)
[P3300, MDA Compact III  upgrading etc.] pedluz:
P3300 WWE

Boa tarde, tenho um HTC P3300 com Rom 3.13.405.1 WWE quando tento instalar um outra ROM que esteja em PTG não consigo começa bem mas não conclui o processo dá erro, necessito com muita Urgencia de alterar esta situação PFV.

Obrigado

Respostas para o mail pedluz@gmail.com
[P3300, MDA Compact III  upgrading etc.] Zecanilis:
Did you run USPL first?
[P3300, MDA Compact III  upgrading etc.] tabarda:
Does anyone have this WM5 ROM PTG to put here
[P3300, MDA Compact III  upgrading etc.] reaperfromhell:
need one as well! a vodafone one... if it matters!
[P3300, MDA Compact III  upgrading etc.] Hakim Rahman:
maybe you can find it in http://shipped-roms.com/index.php?category=windows mobile&model=Artemis
[P3300, MDA Compact III  upgrading etc.] reaperfromhell:
already downloaded a few including the portuguese one... but i keep getting the model id error! =/
[P3300, MDA Compact III  upgrading etc.] Hakim Rahman:
maybe you need such a tool mauupgrade no id, but I'm not sure if it can ?? :confused:
[P3300, MDA Compact III  upgrading etc.] reaperfromhell:
and where can i guess this mauupgrade? i've already googled it and didn't find anything! =/
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] razr07:
Hey I have been running Vanir AOSP for a while now. Just wanted to know if there is something I can do to improve my experience.

Whenever I am using WiFi file transfer or ES File Explorer Remote Manager FTP for transferring files over WiFi to or from my PC, the phone slows down a lot. Infact sometimes I cannot even get the screen to wake up while the file transfer is going on, let alone checking a message. Is there any fix for this?

Secondly I have noticed that whenever someone calls me the phone starts vibrating, but it takes upto a second or two for the call screen to come up. And after picking up the phone, it takes a couple of seconds for phone to start sending my voice, before which I can only hear the other person talk and they can't hear what I am saying.

USB doesn't work at all? I have tried with debugging on and off. But nothing has worked yet. Is there any way to get it working?

Also, is there a stable custom kernel available for this ROM?

I would really appreciate help with these issues.
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] #Henkate:
No idea, i never did this, but are there any other apps running in background during this?

The delay regarding call screen is present on all / almost all roms.

Do you have the drivers installed?

Switch to MTP is the solution as far as i remember.

Check mkaluza kernel: http://xdaforums.com/galaxy-s-advance/orig-development/kernel-mk-kernel-t2978377 . Also, check Vanir rom by him: http://xdaforums.com/galaxy-s-advance/development/vanir-resurrection-t3120970 .

And some more suggestions:

-try AOSP by JTeam: last release posted in latest 2-4 pages by slv96. You can try it with it's kernel and with mkaluza kernel too.

-try SamiOS + cocore 8.2 E/E[/B]P[/B] (according to your phone model).

Also, use Greenify app if you aren't using it yet.

If you have more questions, then ask :D

Have a nice day!