The tutorial is very simple,
First of all I would like to thank @NoobCoder, IF script, although is wrong! But I want to thank him!
1: unpacking the kernel, in init.rc
Search
Set this property so surfaceflinger # is not started by system_init
Setprop system_init.startsurfaceflinger 0
Let's add
# xiangxin: fix LED
Start data_restore
Then in the last added
# Xiangxin: FIX LED service
Service data_restore /sbin/data_restore.sh
User root
Oneshot
Disabled
OK, init.rc is corrected, download the attachment to data.tar, data_restore.sh
Added to the kernel, the /sbin directory!
The attachment of the system directory into your ZIP package!
OK tutorial end!
xx214718247 said:
Please moderator, don't move this post, I just write my method! Please stay one day!
Download the attachment, there is a modified file and not modified files!
Click to expand...
Click to collapse
No one will remove because you give awesome job about front camera
Sent from my ST25i using Tapatalk 2
Little Zed said:
No one will remove because you give awesome job about front camera
Sent from my ST25i using Tapatalk 2
Click to expand...
Click to collapse
Brother, you really fast!
Could you explain better what it does? For what android version it is?
Inviato dal mio Xperia U usando Tapatalk 4
Xperia_Modder said:
Could you explain better what it does? For what android version it is?
Inviato dal mio Xperia U usando Tapatalk 4
Click to expand...
Click to collapse
jb! ics works natively because it's official from sony!
I mean 4.1 or 4.2? Stock or cm?
Inviato dal mio Xperia U usando Tapatalk 4
Xperia_Modder said:
I mean 4.1 or 4.2? Stock or cm?
Inviato dal mio Xperia U usando Tapatalk 4
Click to expand...
Click to collapse
he worked only for stock...so i believe stock 4.1
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
NoobCoder said:
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
Click to expand...
Click to collapse
Now is it necessary to flash ur fix first before this or should we use this..only whileflashing Rom
Also....will this work if we wipe data/ factory reset??
Sent from my ST25i using XDA Premium 4 mobile app
kantry123 said:
Now is it necessary to flash ur fix first before this or should we use this..only whileflashing Rom
Also....will this work if we wipe data/ factory reset??
Sent from my ST25i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
if all kernels include this then no need to flash my fix.
Since it's in the kernel, even after wiping data/cache, it'll work.
@xx214718247, so every time phone boots, it'll run data_restore.sh and replace light_themes and lightservice.soc. Wouldn't it remove our last saved color and set it back to default everytime ??
NoobCoder said:
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
Click to expand...
Click to collapse
Kernel maker, added to the kernel? My accessory, which is not a comparison?
NoobCoder said:
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
Click to expand...
Click to collapse
Yes, restart, manual setting! If you can find a better way, please tell me, or have a better idea, please tell me? Thank you
NoobCoder said:
if all kernels include this then no need to flash my fix.
Since it's in the kernel, even after wiping data/cache, it'll work.
@xx214718247, so every time phone boots, it'll run data_restore.sh and replace light_themes and lightservice.soc. Wouldn't it remove our last saved color and set it back to default everytime ??
Click to expand...
Click to collapse
At present, I have no better way, let him after the restart does not need to be manually set? You study? If you can, please tell me?
is this ready to flash ?
i tried and says installation aborted
NoobCoder said:
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
Click to expand...
Click to collapse
I have an idea? In the first boot, SH, script, create a file in data, second boot, scanning, whether to set up the file, if not, then run the SH script! If there is not running a SH script!
sv2hqx said:
is this ready to flash ?
i tried and says installation aborted
Click to expand...
Click to collapse
No. This is a kernel authors!
xx214718247 said:
No. This is a kernel authors!
Click to expand...
Click to collapse
ok
didn't know
xx214718247 said:
I have an idea? In the first boot, SH, script, create a file in data, second boot, scanning, whether to set up the file, if not, then run the SH script! If there is not running a SH script!
Click to expand...
Click to collapse
you can check if the file exists or not. If doesn't exist then run the bash script. I'm not expert in bash but it should work.
Code:
if [ -f light_themes -a -f lightservice.soc ];
then
# do nothing
else
run the script
fi
NoobCoder said:
you can check if the file exists or not. If doesn't exist then run the bash script. I'm not expert in bash but it should work.
Code:
if [ -f light_themes -a -f lightservice.soc ];
then
# do nothing
else
run the script
fi
Click to expand...
Click to collapse
I will try! Thank you very much
NoobCoder said:
you can check if the file exists or not. If doesn't exist then run the bash script. I'm not expert in bash but it should work.
Code:
if [ -f light_themes -a -f lightservice.soc ];
then
# do nothing
else
run the script
fi
Click to expand...
Click to collapse
Brother, your statement should not!
if [ -e /data/light_themes ]
then
# do nothing
exit
else
/sbin/busybox rm -r /tmp/data.tar
/sbin/busybox cp /sbin/data.tar /tmp/data.tar
busybox tar zxvf $tar_file
fi
Related
This was discontinued, now you can just flash CWM recovery, it have Unified Chargemon
Good work
thank you for ur work!
this is really required as there doesnt seem to be any consistency in the 'boot hijack' script (/system/bin/chargemon) used on different roms
there is a real need for such a unified chargemon
THANKS AGAIN!
why 2 zips man!
well to be honest made me laugh xD
unified and 2 zips looked into them and why not make 1 zip?
change this line
if [ -f /system/custom.bin ]; then
to something every cm rom have!
if [ -f /system/etc/CHANGELOG.txt ]; then
this way it will look more unified xD
PD: i don't know for sure the file is called changelog.txt
it is something with changelog inside the /system/etc folder
and i know every cm rom have it!
owain94 said:
why 2 zips man!
well to be honest made me laugh xD
unified and 2 zips looked into them and why not make 1 zip?
change this line
if [ -f /system/custom.bin ]; then
to something every cm rom have!
if [ -f /system/etc/CHANGELOG.txt ]; then
this way it will look more unified xD
PD: i don't know for sure the file is called changelog.txt
it is something with changelog inside the /system/etc folder
and i know every cm rom have it!
Click to expand...
Click to collapse
if [ -f /system/etc/CHANGELOG-CM.txt ]; then
Done, thanks owain, you allways with better ideas will upload zip
D4rKn3sSyS said:
if [ -f /system/etc/CHANGELOG-CM.txt ]; then
Done, thanks owain, you allways with better ideas will upload zip
Click to expand...
Click to collapse
you are welcome mate
I just dont understand... why is this so useful? I already read that make a dev life better... and Im more than ok with that and I will flash this at this moment... but I really like if u explain me more this...
Note: If this is so usefull.. why dont u put this in every roms and flash "automaticly" (sry, i dont remember how to writte this xD)... i mean if we just need to flash that... include in your own rom and thats it...
ocovarr112 said:
I just dont understand... why is this so useful? I already read that make a dev life better... and Im more than ok with that and I will flash this at this moment... but I really like if u explain me more this...
Note: If this is so usefull.. why dont u put this in every roms and flash "automaticly" (sry, i dont remember how to writte this xD)... i mean if we just need to flash that... include in your own rom and thats it...
Click to expand...
Click to collapse
I already added it to my rom
D4rKn3sSyS said:
I already added it to my rom
Click to expand...
Click to collapse
Maybe i am stupit but google can also not tell me what and for what it is.
Can you explane ?
MiKa
D4rKn3sSyS said:
*This will NOT add any feature or something like that, it's only for make easier the work of some devs
Click to expand...
Click to collapse
It's on the first post
D4rKn3sSyS said:
It's on the first post
Click to expand...
Click to collapse
I read that but what wil be easyer for the dev's..
mika-nl said:
I read that but what wil be easyer for the dev's..
Click to expand...
Click to collapse
Developing apps, identifying device.. etc etc etc
Custom ROMs for ICS on Wave 1 ? If Any ? I am not sure how to proceed in this coz my phone doesnt boot in recovery mode
Sent from my Samsung Wave GT-S8500 (ICS 4.0.4) using xda premium
danishprakash said:
Custom ROMs for ICS on Wave 1 ? If Any ? I am not sure how to proceed in this coz my phone doesnt boot in recovery mode
Sent from my Samsung Wave GT-S8500 (ICS 4.0.4) using xda premium
Click to expand...
Click to collapse
No custom rom for the moment. Mike said that he made a recovery mode, let's see what will happen in the next version and if it will be possible at that moment.
Soxix said:
No custom rom for the moment. Mike said that he made a recovery mode, let's see what will happen in the next version and if it will be possible at that moment.
Click to expand...
Click to collapse
In fact, you can mod the current firmware if you know what to do... I activated the software keys on mine (you know, the home, back, applist). You just have to mount the img file, or use adb and you can try to change things.
anghelyi said:
In fact, you can mod the current firmware if you know what to do... I activated the software keys on mine (you know, the home, back, applist). You just have to mount the img file, or use adb and you can try to change things.
Click to expand...
Click to collapse
All are Under ubuntu ? or ..
hero355 said:
All are Under ubuntu ? or ..
Click to expand...
Click to collapse
Mounting the img file needs Linux (you need something like mount -t ext2 -o loop polishblood_Nightlyi1.img ../the_folder_you_created_for_mountpoint) but if you just want to make smaller modifications (eg. replacing one apk, or editing some configfile) adb on Windows is enough. If you use my kernel then you will have write access to /system, too.
As a "proof of concept" I "ported" a firmware from Galaxy S (AOKP). You can experiment with it, just replace the polisblood_Nightly1.img (and preferably replace data.img and cache.img with the original ones.)
Here you are:
http://dl.dropbox.com/u/27419363/polishblood_Nightly1.img
hero355 said:
All are Under ubuntu ? or ..
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1702861
WinHex can open and extract files/folders from *.img ...
https://dms.ospserver.net/v1/device...?pkgID=FW-20120626-14658&service=fumo&wrkID=W
To build... not tested yet... But I think also more Windows Tools exists...
But for starting research WinHex is enough.
Best Regards
Thanks For your Replies
I have mounted polishblood_Nightly1.img using "sudo mount -o loop polishblood_Nightly1.img ../android"
and added some .apk files to the app folder....now how to unmount..???
umount ../android
i have edited polishblood_Nightly1.img .....thx u guys:good:
now some1 plz help me with kernel???
how to edit zImage????
does that need any tools????
Nitesh19 said:
i have edited polishblood_Nightly1.img .....thx u guys:good:
now some1 plz help me with kernel???
how to edit zImage????
does that need any tools????
Click to expand...
Click to collapse
There are no such tools... You can find scripts to extract the initramfs but that's all. You have to compile your kernel to make real changes.
anghelyi said:
There are no such tools... You can find scripts to extract the initramfs but that's all. You have to compile your kernel to make real changes.
Click to expand...
Click to collapse
is there any tut for this???
where to find scripts???
all under ubuntu????
thx :good:
anghelyi said:
In fact, you can mod the current firmware if you know what to do... I activated the software keys on mine (you know, the home, back, applist). You just have to mount the img file, or use adb and you can try to change things.
Click to expand...
Click to collapse
Could you tell me how you did that?
Requirements:
1. Root
2. Root Explorer (or equivalent)
Instructions - manual:
- Copy files from 'system.zip' to SD-Card
- Make directory
/system/etc/init.d/
- Move files to:
/system/bin/sysint
/system/xbin/run-parts
/system/etc/install-recovery.sh
/system/etc/init.d/99test
- Set permissions of all files to: rwxr-xr-x
- Install Busybox
- Run and update Busybox
- Restart
Instructions - CWM:
Not available for P
If everthings working you will get this file:
/data/local/tmp/init.d_log_test.txt
Now you can add any init.d scripts you like to folder /system/etc/init.d/ (set permission to rwxr-xr-x)
credits to:
- Doomlord for files
- seky0405 for confirm working on P
Scripts
SCRIPTS
--> Use only one set of scripts
Instructions - manual:
- Do a NANDROID backup first!
- Copy files from 'initd_xx' to SD-Card
- Move files to respective folders:
- Set permissions of all files to: rwxr-xr-x
- Run and update Busybox
- Restart
Instructions - CWM:
N.a.
Including:
- Fidelity
- Move Dalvik to Cache
- ...
Credits to:
- acervenky for scripts (pack2)
For further scripts refer to e.g. Corresponding U thread
There is a similar thread on this forum that I have tried many times but failed to succeed :-/
I hope this one does, I prefer using stock kernel.
Edit:
By the way you need to edit Add_InitD_Scripts_15Oct2012_pack2.zip, it will fail to be flashed in CWM because folder META-INF is not in the root dir of the zipped files, META-INF and System folders must be at the root of the zip file and not inside a folder
this is working for stock kernel and confirmed working by seky0405
thebrainkafka said:
this is working for stock kernel and confirmed working by seky0405
Click to expand...
Click to collapse
Great, that's what I needed to know
Just a hint for people that are not familiar with what's written in:
Instructions - manual:
Click to expand...
Click to collapse
Droid Manager does what's written in a simple User Interface
DeepUnknown said:
Great, that's what I needed to know
Just a hint for people that are not familiar with what's written in:
Droid Manager does what's written in a simple User Interface
Click to expand...
Click to collapse
Please tell how
thebrainkafka said:
Please tell how
Click to expand...
Click to collapse
Download Droid Manager (Link to thread in my signature)
Run Droid Manager (After you install it for sure )
it needs busybox installed. IF it's not installed users will get a prompt to install it.
after busybox is installed click the button "Start Droid Manager"
Unzip your the downloaded files from this thread, follow instructions in the screenshot, tell Droid Manager which files are the scripts
the rest is explained in the attachment of this comment.
I'm sorry I didn't write instructions since I usually find providing an image is easier than providing written steps
By the way current version of Droid Manager installs BusyBox 1.18
I will be adding version 1.20.2 in the next release which is due max tomorrow
Seems to be not really a need for P - at least when im interpreting my thx statistics on this thread. Will discontinue for P.....
not trying to rain on your parade and i think what u're trying to do here is useful. also, no offence meant so don't take it the wrong way.
however since u're doing it just to get your thanks meter up and you seem to feel that 5 thanks in 24 hours is reason enough to discontinue then it's up to u...
and oh... http://forum.xda-developers.com/showthread.php?t=1933849 this came earlier and is a much simpler way of doing it...
and btw... this thread doesn't belong in the DEV forum
chewdaniel said:
not trying to rain on your parade and i think what u're trying to do here is useful. also, no offence meant so don't take it the wrong way.
however since u're doing it just to get your thanks meter up and you seem to feel that 5 thanks in 24 hours is reason enough to discontinue then it's up to u...
and oh... http://forum.xda-developers.com/showthread.php?t=1933849 this came earlier and is a much simpler way of doing it...
and btw... this thread doesn't belong in the DEV forum
Click to expand...
Click to collapse
1. Lol
2. Thx for link. Working on P or U? Have you tried it?
Grts
yea i'm using it. works on both P and U since i have them both. also on SGS2 and SGTab2. all rooted stock rom and kernel
chewdaniel said:
yea i'm using it. works on both P and U since i have them both. also on SGS2 and SGTab2. all rooted stock rom and kernel
Click to expand...
Click to collapse
I now that this is not the meter of this topic but do you porhapse have a working CWM for rooted stock ROM with locked bootloader. I mean a CWM where you can mount system?
seky0405 said:
I now that this is not the meter of this topic but do you porhapse have a working CWM for rooted stock ROM with locked bootloader. I mean a CWM where you can mount system?
Click to expand...
Click to collapse
Well there is this one: [DEV][P] ICS CWM for locked bootloader *Alpha v1*
As you can see from the title it's still Alpha which means it's not yet near stable status.
I just wanted to know, if I want to execute the scripts while boot, I shud keep those scripts in init.d folder...
So can any1 tell me, whats the permission for init.d directory and the scripts inside them??? :sly:
R they 755 and 644??
Akki Da Rokstar said:
I just wanted to know, if I want to execute the scripts while boot, I shud keep those scripts in init.d folder...
So can any1 tell me, whats the permission for init.d directory and the scripts inside them??? :sly:
R they 755 and 644??
Click to expand...
Click to collapse
0777, 0777 init.d and script
sonnyxperia said:
0777, 0777 init.d and script
Click to expand...
Click to collapse
R u sure....??
As i've somehow google it and some forum says its 0755!!!
Akki Da Rokstar said:
R u sure....??
As i've somehow google it and some forum says its 0755!!!
Click to expand...
Click to collapse
yes 100% sure
im using it on my update script and its working for me,
you can check your system/etc/init.d and use that permission, i check different rom some using 0755 and 0777
the brains rom is 0755 xperia fidelity and xperiance is 0777
sonnyxperia said:
yes 100% sure
im using it on my update script and its working for me,
you can check your system/etc/init.d and use that permission, i check different rom some using 0755 and 0777
the brains rom is 0755 xperia fidelity and xperiance is 0777
Click to expand...
Click to collapse
Bt they r not working I think so...
Let me tell u situation,
Actually I need init.d support over sliding xp kernel, so I got it thru PmR App
And then added tweaks via Aroma version of PmR....
Now when I install all the tweaks, I found that there r total of 38 scipts in init.d directory and all of them are of 0 bits..
Don't know y?? Or its normal...
Can u tell me any sol??
Akki Da Rokstar said:
Bt they r not working I think so...
Let me tell u situation,
Actually I need init.d support over sliding xp kernel, so I got it thru PmR App
And then added tweaks via Aroma version of PmR....
Now when I install all the tweaks, I found that there r total of 38 scipts in init.d directory and all of them are of 0 bits..
Don't know y?? Or its normal...
Can u tell me any sol??
Click to expand...
Click to collapse
sliding xp kernel have init.d support,wow too many script,its not normal, open the script via note pad on your phone if theres nothing inside,check ur flashable zip maybe the script or the flashable zip is corrupted
sonnyxperia said:
sliding xp kernel have init.d support,wow too many script,its not normal, open the script via note pad on your phone if theres nothing inside,check ur flashable zip maybe the script or the flashable zip is corrupted
Click to expand...
Click to collapse
Yups thats strange....
I know!!!
And I know, Sliding Xp Has init.d support, but when I c, there was no folder in the system/etc, and I've tried thru pimp my rom's verify before installing its own init.d support... Its says "Nopes, No Support"
Bt when I install pmr init.d support and then I verify, it says "Success"
So it means, for me, Sliding xp has no init.d support.... Strangeness always occurs in my case ONLY!!!
Now the thing is that, I have 38 scripts, and they all r 0 bits, so it means thet r corrupted and I shud delete them all and flash aroma version again...
What u say??
Hi
I loved the drop down toggles on Epsilon rom and I was wondering if any dev by any chance could make one for stock GSM razr ics? That would be awesome because the you cant get rid of the notification icon on the apps that is in the market. I would really appreciate that and I hope it's not that big of a problem. A recovery zip that is compatible with bootmenu 0.2.7(the latest version on market) and something in the style of the epsilon rom clean and goes with motoblur stock? http://miralaonline.net/images/7g2av.png
Thank you!
http://forum.xda-developers.com/showthread.php?t=1765303
Use the search function.
Theme them yourself if you don't like it
And remember to thank the author.
Sent from my XT910 using xda app-developers app
FrAsErTaG said:
http://forum.xda-developers.com/showthread.php?t=1765303
Use the search function.
Theme them yourself if you don't like it
And remember to thank the author.
Sent from my XT910 using xda app-developers app
Click to expand...
Click to collapse
Thanks for this frasertag, does it work with retail nonefigs? I searched but I didnt find that thread!
Also it says "DEODEXED only" and I dont know if I am deodexed
romdroid. said:
Thanks for this frasertag, does it work with retail nonefigs? I searched but I didnt find that thread!
Also it says "DEODEXED only" and I dont know if I am deodexed
Click to expand...
Click to collapse
Code:
adb shell
ls -l /system/app/ | grep odex
if you have nothing, you're de-odex, if you have entries, you're odexed
sevenup30 said:
Code:
adb shell
ls -l /system/app/ | grep odex
if you have nothing, you're de-odex, if you have entries, you're odexed
Click to expand...
Click to collapse
Thanks I'll check that later when I am home, but does it work with official nonefigs ics? And what if I am not de-odex, can I do it myself somehow or is it not noob-friendly?
romdroid. said:
Thanks I'll check that later when I am home, but does it work with official nonefigs ics? And what if I am not de-odex, can I do it myself somehow or is it not noob-friendly?
Click to expand...
Click to collapse
i don't know if it will work, i never tried, it's a little bit complicated to make it working, if you never mod APK it's hard to do it.
oh OK I'll check if I am de-odex or not but I hope this thread can stay here so maybe someone can make flashable zip for official ICS releases:good:
and maybe someone can make flashable file for odexed?
Apparently I am odexed, so I would be grateful if someone could release this mod to work with latest official ics and for odexed system, I bet there is people out there who would love to have this also. Thanks
Sent from my MZ601 using XDA Premium HD app
romdroid. said:
Apparently I am odexed, so I would be grateful if someone could release this mod to work with latest official ics and for odexed system, I bet there is people out there who would love to have this also. Thanks
Sent from my MZ601 using XDA Premium HD app
Click to expand...
Click to collapse
you must be DE-odexed, it can't be done odexed. search over xUltimate to deodex your system
sevenup30 said:
you must be DE-odexed, it can't be done odexed. search over xUltimate to deodex your system
Click to expand...
Click to collapse
Thanks. Found this guide -> http://technologic101.wordpress.com/2012/07/24/tutorial-how-to-deodex-a-stock-android-rom/
Is it that way you de-odex the system and is the guide according to your knowledge also compatible with RAZR?
it seems to be fine, i worked for ics
sevenup30 said:
it seems to be fine, i worked for ics
Click to expand...
Click to collapse
Thanks mate, question about your guide
must have /system rw or do it from bootmenu, go to custom recovery mount /system then :
Click to expand...
Click to collapse
Go into bootmenu -> mount /system and then I write the code in cmd, correct?
romdroid. said:
Thanks mate, question about your guide
Go into bootmenu -> mount /system and then I write the code in cmd, correct?
Click to expand...
Click to collapse
yes, and i forget a step
chmod 644 /system/app/SystemUI.apk
sevenup30 said:
yes, and i forget a step
chmod 644 /system/app/SystemUI.apk
Click to expand...
Click to collapse
Hmm OK I would be grateful if you could edit the code because I will simply copy it and paste it :laugh::good:
I followed that guide and I think I am de-odexed now, I ran your code
Code:
adb shell
ls -l /system/app/ | grep odex
and I got this
Code:
C:\Program\Android\android-sdk\platform-tools>adb shell
ls -l /system/app/ | grep [email protected]_spyder:/ $
de-odexed or not?
Also if I just want notification toggles, do I need to copy this whole code or is it unnecessary?
Code:
adb push SystemUI.apk /tmp/
adb push services.jar /tmp/
adb push android_policy.jar /tmp/
adb shell
su
mv /system/app/SystemUI.apk /tmp/SystemUI.apk.bak
mv /system/framework/services.jar /tmp/services.jar.bak
mv /system/framework/android_policy.jar /tmp/android_policy.jar.bak
mv /tmp/SystemUI.apk /system/app/
mv /tmp/services.jar /system/framework/
mv /tmp/android_policy.jar /system/framework/
chmod 644 /system/app/SystemUI.apk
chmod 644 /system/framework/services.jar
chmod 644 /system/framework/android_policy.jar
reboot
I only downloaded toggle_battery.zip unpacked it and put it in android-sdk\platform-tools
correct?
PS. I only need the notification toggles and not the 1% battery, is there a way to just flash the notification toggles seperate?
Appreciate your help and time, sevenup30
Well so after a long time, my phone's touch does not work
Well the sides were useless so I gave my phone for repair and then they repaired it ( I locked the bootloader, installed ics and then gave them)
well the touch was fixed!
then I installed JB ( unofficial) but here the touch does not work at all. Does this mean that this is a driver problem or something like that?
How can I fix this.
Some one please help me!
anyone? @Pandemic if you know?
This happened to 2011 xperia if anyone installed wrong rom... Like xperia mini's rom on xperia mini pro... From that experience,i know that the touch drivers got altered,hence touch problem occured.. There were lengthy process to recover it.. Don't know if it will work or not on our 2012
Sent from my LT22i using xda app-developers app
alone_in_dark said:
This happened to 2011 xperia if anyone installed wrong rom... Like xperia mini's rom on xperia mini pro... From that experience,i know that the touch drivers got altered,hence touch problem occured.. There were lengthy process to recover it.. Don't know if it will work or not on our 2012
Sent from my LT22i using xda app-developers app
Click to expand...
Click to collapse
great
can you please refer me to the link or shed some light
U need to manually replace hw_config.sh ..munjeni told this a long time before when jb was being ported from xperia p to xu ... In the jb kernel thread by devswift1... However what u can try is take necessary files from stock rom
Make a flashable zip out of it and flash in cwm... This is just a hypothesis jatin... Never tried this..
doctor_droid said:
U need to manually replace hw_config.sh ..munjeni told this a long time before when jb was being ported from xperia p to xu ... In the jb kernel thread by devswift1... However what u can try is take necessary files from stock rom
Make a flashable zip out of it and flash in cwm... This is just a hypothesis jatin... Never tried this..
Click to expand...
Click to collapse
which stock rom?
ics? @munjeni, can you please shed some light on this. sorry to bother you for this but...
jatinrungta said:
which stock rom?
ics? @munjeni, can you please shed some light on this. sorry to bother you for this but...
Click to expand...
Click to collapse
I think I misnamed the file ... munjeni knows what to do.. he is THE MASTER
@munjeni please help me just one time
Thank You
jatinrungta said:
@munjeni please help me just one time
Thank You
Click to expand...
Click to collapse
May be he has flagging notification set to off
doctor_droid said:
May be he has flagging notification set to off
Click to expand...
Click to collapse
then I will pm him
Jatin can you please post the solution here after munjeni's response....I am currently facing the same issue and don't know whether its hardware related or not.
Thanks in advance man..
AKA#1 said:
Jatin can you please post the solution here after munjeni's response....I am currently facing the same issue and don't know whether its hardware related or not.
Thanks in advance man..
Click to expand...
Click to collapse
he has yet to reply me and well I do not know if he will
jatinrungta said:
he has yet to reply me and well I do not know if he will
Click to expand...
Click to collapse
Let post hw_config.sh from Xperia U ICS firmware, file is located inside /system/etc folder ! Will try to help you!
Code:
# HW configuration file for kumquat
# Touch FW loader
cyttsp_fwloader -dev /sys/bus/spi/devices/spi9.0 -fw /etc/firmware/ttsp_fw.hex
# Audio jack configuration
dev=/sys/devices/platform/simple_remote.0
echo 0,301,1901 > $dev/accessory_min_vals
echo 300,1900 > $dev/accessory_max_vals
echo 0,51,251,511,851 > $dev/button_min_vals
echo 50,250,510,850,5000 > $dev/button_max_vals
# Proximity sensor configuration
dev=/sys/bus/i2c/devices/2-0054/
val_cycle=2
val_nburst=0
val_freq=2
val_threshold=5
val_filter=0
echo $val_cycle > $dev/cycle # Duration Cycle. Valid range is 0 - 3.
echo $val_nburst > $dev/nburst # Numb er of pulses in burst. Valid range is 0 - 15.
echo $val_freq > $dev/freq # Burst frequency. Valid range is 0 - 3.
if `ls /data/etc/threshold > /dev/null`; then
cat /data/etc/threshold > $dev/threshold # Use value from calibration
rm /data/etc/threshold # Remove temp file
else # No value from calibration, use default value
echo $val_threshold > $dev/threshold # sensor threshold. Valid range is 0 - 15 (0.12V - 0.87V)
fi
if `ls /data/etc/filter > /dev/null`; then
cat /data/etc/filter > $dev/filter # Use value from calibration
rm /data/etc/filter # Remove temp file
else # No value from calibration, use default value
echo $val_filter > $dev/filter # RFilter. Valid range is 0 - 3.
fi
@munjeni
Ok, Xperia U definitely have touchscreen firmware flasher. First of all check if hw_config.sh is identical in your not working JB and your working ICS !!! If sh file is not indentic than simple replace them and allso make sure upload 2 files (from our post)!!!
If sh file is identic and problem with your touchscreen stil exists than you can try next thing (on your own risk only! You maybe get brick! So again you doing on your own risk!!!)
Line inside hw_config.sh look like:
cyttsp_fwloader -dev /sys/bus/spi/devices/spi9.0 -fw /etc/firmware/ttsp_fw.hex
Click to expand...
Click to collapse
These command is for firmware update! If you flashed for example Xperia Go rom to Xperia U you have definitelly flashed wrong firmware and thats reason for bad things related to your problem with phone touch screen (some guys hard bricked his phones by flashing wrong device android fiemware)!
So...
1. extract cyttsp_fwloader from your ICS zip (located in xbin or bin folder, not sure by now)
2. extract touchscreen firmware from your zip which is located in /system/etc/firmware/ttsp_fw.hex
3. put these 2 files to /data/local/tmp ,give chmod 755 to booth files
4. flash them by command:
adb shell /data/local/tmp/cyttsp_fwloader -dev /sys/bus/spi/devices/spi9.0 -fw /data/local/tmp/ttsp_fw.hex
Click to expand...
Click to collapse
If you brick your phone I can not help you! Simple I have no experience with these thing (never tried!)! Good luck!
jatinrungta said:
Well so after a long time, my phone's touch does not work
Well the sides were useless so I gave my phone for repair and then they repaired it ( I locked the bootloader, installed ics and then gave them)
well the touch was fixed!
then I installed JB ( unofficial) but here the touch does not work at all. Does this mean that this is a driver problem or something like that?
How can I fix this.
Some one please help me!
Click to expand...
Click to collapse
bro your touch is not working on jb or ics or gb or in all??
bibhu059 said:
bro your touch is not working on jb or ics or gb or in all??
Click to expand...
Click to collapse
in jb!
jatinrungta said:
in jb!
Click to expand...
Click to collapse
bro in phantom 1.0.7 format cache,system,data everything and then in cwm usb mode put the rom to sd card..then 3wipes then install the zip..i
also i faced the same problem..but by doing this problem solved.so try this..good luck
bibhu059 said:
bro in phantom 1.0.7 format cache,system,data everything and then in cwm usb mode put the rom to sd card..then 3wipes then install the zip..i
also i faced the same problem..but by doing this problem solved.so try this..good luck
Click to expand...
Click to collapse
can you post . cyttsp_fwloader if you have a ics frimware
@kontini @Little Zed @NoobCoder @bibhu059