yashsingh1/xdaforums huggingface dataset:
[Xperia SP Android Development] g1abhi:
i have my wifi off

i have root , it asks for su privilege , i grant it

and in scripter run as root is checked.

now i get error running script

commandsfailed

sh /storage/emulated/0/mobiledata_fix.sh

sh: /storage/emulated/0/mobiledata_fix.sh:

no such file or directory

without run as root , it says ip is valid

error argument "rmnet0" is wrong "table" value is invalid

socket: Permission denied

KO

any help plz, i am frustrated

---------- Post added 12th March 2015 at 12:27 AM ---------- Previous post was 11th March 2015 at 11:51 PM ----------

I guess scripter was the problem , i tried running the script using scipt manager (first link in play store on searching script) and it worked like a charm .

now its working fine.Mobile data fixed . MAn someone need to clean and format the threads for rr lp and cm12 , esp. rr . very few instructions . The tip of installing gapps later cud have saved me an hour , which i read on cm12 forum.

For anyone new out there , these are the steps for a smooth ressurection remix lbl 5.0.2

reboot recovery

wipe data and cache

flash rremix huashan 2015....... .zip file

restart

on the first run go straight to setting and disable auto brightness or just click on the rightmost button on homescreen quickcontrols widget.

reboot in recovery again

flash gapps

reboot

let it start and upgrade and let all apps setttle

now again reboot in recovery and flash http://xdaforums.com/showpost.php?p=57158928&postcount=37 this file for hotspot and wifi fix etc and http://download.chainfire.eu/589/SuperSU/UPDATE-SuperSU-v2.16.zip?retrieve_file=1 for superuser

reboot and after start run terminal , type

su

setendforce 0

BAm!!! wifi and network starts working

now download script manager and run the script given here ;- http://xdaforums.com/showpost.php?p=57249210&postcount=607

With ROOT by clicking on pirate android icon on top.

now click on run and remeber wifi shud be off and u should get a supersu dialog asking for permission.

thats all.
[Xperia SP Android Development] trioset:
SPAm!!!
[Xperia SP Android Development] Plum Crazy:
How is a genuinely useful post considered spam? If anything, your response is 'spam'.
[Xperia SP Android Development] trioset:
The post you mention talks about a different ROM to the one this thread is for development of.

edit: further more it makes no sense

edit 2: sorry for any offence caused
[Xperia SP Android Development] Plum Crazy:
It's relevant to both CM12 and RR ;)
[Xperia SP Android Development] trioset:
I agree that someone could document installation and fixes better, but they need to clear things up not add to the confusion.
[Xperia SP Android Development] rzzv93:
Mobile Data Fix

Hi,

I'm new here and I just installed yesterday this ROM with updates, but I had problems with Mobile Data Connection. I tried all things I found here, no script worked, but after a few hours I solved the problem in this way.

I followed the instructions from this post and then installed "Universal Init.d" application from GooglePlay. And everytime I put Wifi on, after I put Wifi off back, the Data is not working, but I enter into the application and in ~5seconds my phone give access to HSDPA connection and it works fine then. So, all scripts gave me errors, but this way worked.

I hope it will help others to solve this problem.
[Xperia SP Android Development] pmelpistolelro:
not able to use kernel adiutor , it says no root available
[Xperia SP Android Development] eesa13:
Its pointless to develop lollipop 5.0.2 which is theoretically unstable for our xperia sp. We should skip work on this version and wait for lollipop 5.1. As it would much stable than 5.0.2. Technically speaking its lollipop with fixes included. We should all recommend devs to focus on a more stable release of android in the future. Hope you guys are getting what im trying to say here :good: btw the 5.1 changelog is available now
[Xperia SP Android Development] trioset:
We shouldn't recommend devs to focus on anything. The work of bagyusz, uberlaggy, dh.harald, furrydaus, mrsteve and many others will be as useful today as it will be tomorrow for users of locked bootloader xperia SP.
[Xperia SP Android Development] eesa13:
When did I say their work isn't useful????Recommendations are good for the devs if helpful because they help them not waste their time. Do you have any idea how much time of the devs has been wasted just for 5.0.2lbl. Btw don't mind what I say I'm just discussing.this with you
[Xperia SP Android Development] GedaSan:
Once i have installed de cm12 how can i get into the wcm again? I forgot to restore the backup before i reboot the phone :c
[Xperia SP Android Development] Plum Crazy:
Press volume up/down while the phone is booting.
[Xperia SP Android Development] GedaSan:
I've tried all and nothing happens, is there another way to restore the cwm backup?
[Xperia SP Android Development] SingularityHRT3:
To install Recoveries:

Install "Rashr" app from Play Store...

Or Search for Flashable Recoveries (there are a few for XSP but Im too lazy to add d link here)...

To restore backup without Recoveries:

Try Nandroid app or Titanium Backup app...
[Xperia SP Android Development] TheAvengingTITAN:
Maybe the recoveries are installed but you're pressing the buttons at the wrong times? Try getting an app called "Quick Reboot", and then tap " Recovery" and it will reboot you into recovery. :D
[Xperia SP Android Development] trioset:
I was just saying people have already been focussed on what they have been doing.
[Xperia SP Android Development] LucasSouza:
When will exit the version without Bug?:rolleyes:
[Xperia SP Android Development] ralfbergs:
Any complex piece of software will always have bugs.
[Xperia SP Android Development] LucasSouza:
And when will go out the update, in order to end these bugs ? :rolleyes:
[Xperia SP Android Development] nhoc_dg:
i install this rom successfull but i have a problem for sound of sony xperia sp C5302. when i play music in my phone, i don't hear in the speakerphone. please help me fix the problem.

Thanks and sorry about my bad english.
[Xperia SP Android Development] Plum Crazy:
No one knows.
[Xperia SP Android Development] Bukur89:
Mate, go on the begining of this thread, and read all cerfuly. You will find all you need ;)
[Xperia SP Android Development] ramrop:
URGENT:lost recovert option

after installing new rom i am not able to open recovery mode guz plz help me
[Xperia SP Android Development] ash.21:
good work, thanx! :good:
[Xperia SP Android Development] marcoo_g:
Why themes doesn't work? :(
[Xperia SP Android Development] daubh:
I wasn't able to either. ADB was unable to detect the phone version. I had to flash stock ROM. Maybe someone else will have a solution to this.
[Xperia SP Android Development] ramrop:
thanks for replay

Could you help me to flash stock ROM I mean steps
[Xperia SP Android Development] Araib93:
Use this guide and please search in Q/A thread before asking something, makes it a lot easier.
[Xperia SP Android Development] SchokoMilch:
Bug?!

Have a problem .

Have the Rome flashed with CWM and then gapps .

Now I will no longer Showing my Internal Memory .

How So? now will my SD card for as Internal memory Displayed .

~ SchokoMilch
[Xperia SP Android Development] ParanoidNemo:
If you have had read the thread you saw that the internal memorie is merged in this ROM like in all bagyusz ROM
[Xperia SP Android Development] TheAvengingTITAN:
Not all ROMs
[Xperia SP Android Development] SchokoMilch:
Found a Bug

I've found a bug , assuming that was not mentioned here ever

Once you install the Rome gekennzeichnt the device as lbhuashan and other roms can not be installed , then you have the originals ftf file flashing .

~ SchokoMilch
[Xperia SP Android Development] askerenos:
I cant set brightness :(

it is always in auto brightness but ı cant disable autobrigthness please help!

---------- Post added at 07:27 AM ---------- Previous post was at 07:03 AM ----------

where is the adaptive brightness?

---------- Post added at 07:28 AM ---------- Previous post was at 07:27 AM ----------
[Xperia SP Android Development] ivica122:
No switch for auto brightnes and one more thing - when i choose from power menu "Reboot recovery" phone just do plane reboot. So, not entering recovery, just restart system.
[Xperia SP Android Development] ivica122:
Actualy, i just noticed that when i slide brightnes slider from minimum to maximum nothing happens! Level of brightnes is always the same, not changing at all.
[Xperia SP Android Development] pranavthombare:
Why do you want that.??? I mean it's buggy and causes hot reboot. And still you cry for it??

For brightness try an app
[Xperia SP Android Development] hizeddddd:
try Lux Lite via play store it work for me ;)
[Xperia SP Android Development] shofiul1994:
My god god some questions these ppl here ask are like FML questions. Ppl just read the op and then ask or report bugs.
[Xperia SP Android Development] azhar.munshi:
i am not getting to boot in recovery

red led blinks & then vibrate at that time i am pressing camera button it just booting to normal
[Xperia SP Android Development] Bukur89:
Press volume up buton
[Xperia SP Android Development] ralfbergs:
Not sure I get you right...

Are you saying that once you install this ROM, it "labels" the device "lbhuashan" (where do you see that "label?"), and that prevents you from flashing other ROMs (how does that prevent you from doing so?)? In order to flash other ROMs you have to flash the original FTF file?

Feel free to write in German if that's not what you intended to say, I will translate it.
[Xperia SP Android Development] Oblox:
Bagyusz labelled our device as lbhuashan in his trees, some other roms not based on his trees do a check for what device they are installing on before flashing and dont match this so will fail. You can either flash stock or remove the line that checks for device in the package you are flashing (in the script).

Its not a bug just a bit of an incompatibility from different device trees.
[Xperia SP Android Development] Aadi:
does voice and data work now?
[Xperia SP Android Development] devendran24:
thanx for the detail info

Hey thanx for the detail and step by step information to install CM12 but i have one query regarding the GSM data and GSM sms under testing ??????what does it mean?

does it mean it doesn't work? or else anything?
[Xperia SP Android Development] ulisessabd:
i tested the rom a couple days ago. everything is working pretty good, with one exception: Mobile data. i tried like a lot of solutions but no one really worked.

the rom is really beautyful and lollipop is amazing! i cant wait for a stable version of this rom!
[Xperia SP Android Development] manovadinesh:
GApps not getting download fully

Hi, I just installed this ROM and when i tried to download the GApps from the link provided at the starting page, it doesn't download fully and stops by 80% to 90% in the halfway. It happens around 4 times. just got fed up with this. Please help me by providing a good link of this GApps thanks.
[Xperia SP Android Development] Treboeth:
http://d-h.st/096

the link in the OP works fine in the UK though.
[Xperia SP Android Development] trioset:
Mobile data: Kernel fails on UID source based routing. On our LB we need a "special case" netd as we are stuck with stock kernel, meanwhile there is this http://xdaforums.com/showpost.php?p=59395585&postcount=2001
[Xperia SP Android Development] manovadinesh:
Thanks for the link

Thanks, Will try it now.
[Xperia SP Android Development] devendran24:
hey

do i will loose my Bravia Engine 2 after installing the CM12?
[Xperia SP Android Development] juliomb179:
Yep, but there are a form of restore.

Sorry, bad english.
[Xperia SP Android Development] devendran24:
thanx

what should ido to restore it?
[Xperia SP Android Development] TheAvengingTITAN:
Going back to stock ROM

Bravia Engine 2 is on Sony stock and Sony based Roms, not CM12

If ur on UBL you'll have to relock then go to stock, u need your DRM keys
[Xperia SP Android Development] devendran24:
thanx for the rply

ok.............

as i have rooted my mobile and trying to take a backup of stock ROM by using Rom manager but may be it doesn't support my device.............

could you plz suggest me any other option.........................
[Xperia SP Android Development] TheAvengingTITAN:
Backup from recoveries
[Xperia SP Android Development] devendran24:
thanx for the rply

how to get inro recoveries?

---------- Post added at 07:01 PM ---------- Previous post was at 06:56 PM ----------

As my devise is not listed in CWM recoveries I am not being able to reach to the recoveries

Plz suggest me anyother app
[Xperia SP Android Development] ralfbergs:
Thanks for enlightening me.

Is there an "official" device name? What is the device name in Sony's ROMs? Do you think it makes sense to bring those developers together to that they decide upon a unique name?
[Xperia SP Android Development] trioset:
Editing build.prop replace all "lbhuashan" with "huashan" then you will have the same device name as Sony roms
[Xperia SP Android Development] Roger1008:
Doubt :-/

This Guy Here Says That The ROM is fully working ...is it true??

https://www.youtube.com/watch?v=SgfYasmxmeQ
[Xperia SP Android Development] reinipic:
;) I confirm ... the Rom is working. I know, different users have more or less problems. But when you have flashed all fixes, the Rom works like a charm. I think, most users expect a little too much from the alpha build, even it is in his second phase. They try to install all features and apps and they forget, that lollipop by itself is still in a relative unstable situation (data connections, sim detection etc.). Even in their own Nexus series! We have to be a little patient.

For me I can say: I use my phone for business. Calls, my mails, internet browser, sms. For this usage the Rom works flawless, no FC, smooth and absolut stable since 3 weeks!!! Respekt :good:

Greets, reinipic.
[Xperia SP Android Development] LucasSouza:
Is taking to upgrade :rolleyes:
[Xperia SP Android Development] jakubek278:
I am sorry to ask here, but I have no idea what to do, I tried to install this ROM and I kinda did it, following the instruction.

However I thought something is wrong with my phone so I've tried to install the same root again, towelroot.

After "make it ra1n" the phone froze and now whenever I try to turn it on it stays on infinite loop, trying to boot on , installing any other custom rom or going back to CM11 doesn't help.

It kinda helped me to install clear xperia rom from there .

But it doesn't read my sim card, wifi doesn't work and god knows what else.

Did I just make an expensive brick?
[Xperia SP Android Development] LucasSouza:
Tries to enter the Recovery and install another ROM as this ROM is full of bugs ;)
[Xperia SP Android Development] jakubek278:
I did, I have tried

Resurrection Remix LBL, infnite loading

CyanogenMod 11, stops booting in the middle

and "Pure" Rom, wifi and my sim card didn't work.
[Xperia SP Android Development] LucasSouza:
Try to install the original factory system, because the Resurrection Remix LBL has bug too, in my also gave it, or try to install another Recovery by FlashTool, for me the best is the philz_touch_6.41.6-huashan.img :D
[Xperia SP Android Development] jakubek278:
How? I don't have recovery file.
[Xperia SP Android Development] jakubek278:
Ok nevermind, I have found some basic stoke rom and flashed it with the flashtool. And I have installed cyanogenmod again. Works ok so far.
[Xperia SP Android Development] trioset:
Possible new data fix

While attempting to write a shell script to intercept parameters sent to iproute2 by netd i found mobile data worked as expected without the data script workaround when the ip command had its execute permissions removed. I don't have wifi so i can't test if that is still working. ip command is now calling busybox.

$ su
$ chmod 664 /system/bin/ip

Can anyone confirm if this works or not?
[Xperia SP Android Development] RastHacker:
Please can you reupload link in description's dead?

Sent by Xperia SP using android AOSB 1.3.7 ;D
[Xperia SP Android Development] reinipic:
Ok., here we go:

Download Superuser from here: http://xdaforums.com/showthread.php?t=1538053

Thanks to Chainfire!!!

The other files are attached.

Attetion! Make a clean install. Flash the Rom Zip and then the Superuser Zip. Reboot.

After reboot go again to CWM and flash the data fix - reboot again.

Go back to CWM and flash the 3G-h+ fix and reboot again.

When you want the gapps, flash it now and reboot again - finished and have fun!

Greets, reinipic.
[Xperia SP Android Development] trioset:
We can lose an error when routing gets flushed by replacing /system/bin/ip with this file

#!/system/bin/sh
busybox ip $@
[Xperia SP Android Development] RastHacker:
You serious?!!!

I need the ROM not the fix -_- i already have the fix

Sent by Xperia SP using android AOSB 1.3.7 ;D
[Xperia SP Android Development] trioset:
http://d-h.st/VUp9
[Xperia SP Android Development] ralfbergs:
Hi [MENTION=5765508]bagyusz[/MENTION], can you please help us understand whether there is a reason you can't or don't want to do the above? Or did this just slip your attention?

Thank you!

Kind regards,

Ralf
[Xperia SP Android Development] trioset:
The device trees will be different. For example mobile data is fixed on UBL by rebuilding the kernel, that isn't going to happen for LB. It would be reckless to presume compatibility e.g. by using the same device id. Flashing zips untested on LB may have unexpected results. You can edit the build.prop yourself if you want to experiment.
[Xperia SP Android Development] simon.sam91:
GSM data not working !

Gsm data not working on my Xperia Sp after installing CM12.0 LP

I works fine and good in my Xperia Sp

Not connected to data after the solution given by your side (data.sh file)

PLease notify me asap !

Thanking you

Alex Simon R
[Xperia SP Android Development] eesa13:
Hey guys im thinking of selling this device despite hard efforts from our respected devs. I think further developments are over with LBL devices due to the kernel being the limiting factor. I want some advice. I don't think that devs can do much more for this device because it hard to work on. I too have tried myself to work on things further.

Thanks guys,devs.;)
[Xperia SP Android Development] trioset:
You can test this swiss army knife of fixes after a clean install.

This is for cm-12-20150120-UNOFFICIAL-lbhuashan

0) Backup your phone to sd card, format data, system, cache partitions

1) Install the rom http://d-h.st/VUp9 from recovery

2) Install some fixes (attached) from recovery

3) Install SuperSU zip http://download.chainfire.eu/supersu from recovery

4) Reboot

5) Install gapps (optional) from recovery

6) Reboot

Should fix mobile data, audio issues, low memory killer lag + more

Edit: see http://xdaforums.com/show...postcount=2107 for V3
[Xperia SP Android Development] miku6r:
Thank You very much ! Mobile data works, ROM is stable, 0 reboots.
[Xperia SP Android Development] ralfbergs:
I was not aware that the difference is about locked and unlocked boot loaders. Now the "lb" in "lbhuashan" gets a meaning indeed...

Thanks a bunch for enlightening me. I now understand why you need to keep the device trees separate.

That reminds me about a thing I always wanted to ask:

Why do you have to keep the "current" kernel if you have a locked boot loader, and only if you have an unlocked boot loader you can replace the kernel?

Is it because the boot loader and kernel code are contiguous (as the first thing that gets loaded is the boot loader, which then pulls in the kernel), and if you wanted to reflash the kernel you would also have to reflash the leading part, the boot loader, to adapt it to the new kernel?

Thanks!
[Xperia SP Android Development] trioset:
The locked bootloader only loads kernels that are signed i.e. by Sony so we are using the last version they released for our device.
[Xperia SP Android Development] ralfbergs:
Ah, didn't think about authenticated boots.

Thanks!
[Xperia SP Android Development] vwadam:
Hi,

Any1 had problem with playing musics?

Its dont start or if its start than i cant hear music...on Youtube work perfect...
[Xperia SP Android Development] leorobby92:
Yes, you need flash this files!!

http://xdaforums.com/showpost.php?p=57565996&postcount=1008
[Xperia SP Android Development] trioset:
Blows own trumpet... my "some fixes" a few posts back fixes audio without the need to install v4a. Also fixes mobile data (routing managed by ConnectivityManager not a shell script)... and some other stuff.
[Xperia SP Android Development] vwadam:
Your some fixes is not fixed the Music problem on cm12. Its same no work and movies are cant play on movies app and on youtube too.

Edit: I have found one fix for music and its working perfect now.

I have installed your fixes too,but brightness is dont work,i cant edit brightness,its stay on one place and its all
[Xperia SP Android Development] trioset:
Thanks for the feedback. Some fixes is not supposed to be flashed over other fixes, we are testing it over a clean install of the January 20 build from bagyusz. Restore your backup from before you flashed it. I'll work on the brightness issue next.
[Xperia SP Android Development] vwadam:
Alright,Thank you :)
[Xperia SP Android Development] trioset:
I've updated the fix, brightness now works instead of breaks lol thanks for pointing that out. BTW do you have NuPlayer enabled in developer options (it is by default on this ROM)? Otherwise music doesn't work. Zip also now includes CM12 boot animation.

You can flash over V1 to fix brightness, otherwise flash over clean install of the ROM in the OP.

Edit: see http://xdaforums.com/showpost.php?p=59787183&postcount=2107 for V3
[Xperia SP Android Development] vwadam:
thanks,i will test it soon.

Edit: Tested,same problem,dont edit brightness :(
[Xperia SP Android Development] prateek2905chandra:
Hi guys, I installed this rom with the fixes provided. All working great but when i open file explorer , i cnt see my internal memory storage. I just can see external sd card. While in storage option I can see internal sd card. Any idea , whats the issue here :rolleyes:
[Xperia SP Android Development] Plum Crazy:
The ROM is meant to be like that.
[Xperia SP Android Development] aceto82:
Hellos to everyone, I'm testing this ROM , everything was going great until the camera stopped working. There a mod to fix it ?
[Xperia SP Android Development] Terrycell6:
This really works except auto brightness thanks for the share
[Xperia SP Android Development] vwadam:
How you get it work?

Me and one more guy tested it,but its dont work.
[Xperia SP Android Development] TheAvengingTITAN:
Auto brightness doesn't work. But there's an app called Lux Lite on the play store which can enable auto brightness.

Trust me, you'll love it
[Xperia SP Android Development] vwadam:
I dont need autobrightness bro,I want normal brightness to working because i cant edit brightness level on settings,its stay same level allways
[Xperia SP Android Development] TheAvengingTITAN:
Oh okay

Disable adaptive brightness in Settings> Display. Then drop down the notification bar and the little scrollable thing on top of the WiFi and Bluetooth logo is the brightness changer

Sent using CM12.1
[Xperia SP Android Development] vwadam:
Yes,i know what is this,but this ... is dont work on this cm12 with somefixes v2.zip
[Xperia SP Android Development] NicestRudeGuy:
cm12.1

this pic is of 5.1 right...!!!
[Xperia SP Android Development] slim_guy:
Wait, did 5.1 released for xsp?
[Xperia SP Android Development] SingularityHRT3:
http://xdaforums.com/showthread.php?t=3067460
[Xperia SP Android Development] TheAvengingTITAN:
5.1 came for the XSP a while ago. I recommend you DO NOT flash it before the fixes come out.

Sent using CM12.1
[Xperia SP Android Development] TheAvengingTITAN:
Here are some Screenshots from CM12.1 if anybody is interested. Its not for LBL btw. The thread can be found in android development section of xperia so on XDA