[RECOVERY][XSOLA] TWRP 2.7.0.0 touch recovery [2014-04-27]

Search This thread

AGONTUK

Senior Member
Feb 22, 2013
624
2,630
Dhaka
First is-
As soon as I enter the recovery, it keeps locking automatically and I have to keep unlocking it.

Secondly-
The touch sensitivity is quite high. Sola has got its floating touch working here.
It experiences touch even when hovered over the screen which is quiet uncomfortable.

Any more feedback or any logs you need, tell me. :)

1) pls confirm if adb & mass storage is working or not
2) boot into recovery, browse for sometime, then copy your recovery log from Advanced => copy log to sdcard. Then boot into recovery from Reboot => recovery. It'll probably boot into system (reboot recovery not working yet). After booting is finished, give me the output of the command cat /proc/cmdline
 
Last edited:

ChinmayKunkikar

Senior Member
Nov 15, 2012
1,035
1,119
Pune
1) pls confirm if adb & mass storage is working or not
2) boot into recovery, browse for sometime, then copy your recovery log from Advanced => copy log to sdcard. Then boot into recovery from Reboot => recovery. It'll probably boot into system (reboot recovery not working yet). After booting is finished, give me the output of the command cat /proc/cmdline
1) adb and mass storage, either of them do not work.
2) I will give the log asap.
I am a bit noob here. :p I didn't get the last part ' After booting is finished, give me the output of the command cat /proc/cmdline'
Can you please explain a bit? :)
 

XqepX

Senior Member
Feb 22, 2012
1,405
770
1) adb and mass storage, either of them do not work.
2) I will give the log asap.
I am a bit noob here. :p I didn't get the last part ' After booting is finished, give me the output of the command cat /proc/cmdline'
Can you please explain a bit? :)

Download and open Terminal Emulator App on your phone.

Type in following:

su *press Enter*

Then grant superuser rights. Then type following:

cat /proc/cmdline *press Enter*

And the result which you get after typing the line above should you post here :)
 
  • Like
Reactions: ChinmayKunkikar

ChinmayKunkikar

Senior Member
Nov 15, 2012
1,035
1,119
Pune
Download and open Terminal Emulator App on your phone.

Type in following:

su *press Enter*

Then grant superuser rights. Then type following:

cat /proc/cmdline *press Enter*

And the result which you get after typing the line above should you post here :)

Thanks bro! :)
But I'm not that noob. :p
I had tried exactly the same before posting. :)
But the terminal says that no such directory found.
I also checked via file manager. Really no such folder exists there. :confused:
 

XqepX

Senior Member
Feb 22, 2012
1,405
770
Thanks bro! :)
But I'm not that noob. :p
I had tried exactly the same before posting. :)
But the terminal says that no such directory found.
I also checked via file manager. Really no such folder exists there. :confused:

Sorry, didn't knew that :/

Hmm.. strange. I'm on CM10 and get following result:
tutuzypa.jpg
 

ChinmayKunkikar

Senior Member
Nov 15, 2012
1,035
1,119
Pune
its a file in /proc

Sent from my Nexus 7


Thanks a lot! :D


Sorry, didn't knew that :/

Hmm.. strange. I'm on CM10 and get following result:
tutuzypa.jpg

Really sorry bro. I was searching for folder named 'cat' :D
My bad.
@NoobCoder bro, Here's the result


u0_a114@android:/ $ su
u0_a114@android:/ # cat /proc/cmdline
startup=0x0 warmboot=0x5502 ta_info=9,4,256 androidboot.bootloader=s1 androidboot.serialno=BX903FNA52 BASE=0x00000000
CMDLINE=startup=0x4 warmboot=0x77665501 ta_info=9,4,256 androidboot.bootloader=s1 androidboot.serialno=BX9036TJ1N cachepolicy=writealloc noinitrd init=init zram.enabled=1 board_id=1 logo.nologo root=/dev/ram0 rw rootwait console=null androidboot.console=null androidboot.hardware=st-ericsson mem=96M@0 mem_mtrace=15M@96M mem_mshared=1M@111M mem_modem=16M@112M mem=32M@128M mem_issw=1M@160M hwmem=71M@161M mem=280M@232M mpcore_wdt.mpcore_margin=359 end semcandroidboot.babe1324=425839303336544a314e
semcandroidboot.babe1324=4258393033464e413532
u0_a114@android:/ #


Also, the recovery copies the log to / by what name? Is it boot.txt?
 

AGONTUK

Senior Member
Feb 22, 2013
624
2,630
Dhaka
1) adb and mass storage, either of them do not work.

I think your adb setup is still wrong. ADB must work, double check it.

Also, the recovery copies the log to / by what name? Is it boot.txt?
recovery.log will be saved in /sdcard. Only / means sdcard isn't mounted maybe. First check if sdcard is mounted, then copy the log

EDIT: please check if there's a "brightness" file in /sys/class/leds/lcd-backlight
 
Last edited:

ChinmayKunkikar

Senior Member
Nov 15, 2012
1,035
1,119
Pune
I think your adb setup is still wrong. ADB must work, double check it.


recovery.log will be saved in /sdcard. Only / means sdcard isn't mounted maybe. First check if sdcard is mounted, then copy the log

EDIT: please check if there's a "brightness" file in /sys/class/leds/lcd-backlight

As I already said, I have issues regarding to adb.

No bro, however I try, it shows that the log has copied to '/'. I tried by mounting sdcard, ext_sdcard. (will check that again)


Yes i found the brightness file-

https://www.dropbox.com/s/u5w7xhs7zl03f4l/sys_class_leds_lcd-backlight.zip

Edit-

I got recovery.log! (had to copy it from / to /sdcard using twrp file manager :good: )

Here you go-

https://www.dropbox.com/s/ipf3nccyufvx13b/recovery_log-cpkunki.zip
 
Last edited:
  • Like
Reactions: EnvyBot and AGONTUK

AGONTUK

Senior Member
Feb 22, 2013
624
2,630
Dhaka
New Version Released

Changelog 19/03/2014
  • added battery led to indicate battery status
  • usb mass storage should work now
  • reboot to recovery/bootloader from rom should work now
  • reboot to recovery/bootloader from twrp should work now

download the latest zip from OP. pls try all these change and confirm :)
 

ChinmayKunkikar

Senior Member
Nov 15, 2012
1,035
1,119
Pune
custom? I thought the logo is default sony logo. Will check it. Did you try the new version? If yes, pls tell me if everything is working or not.

Yes there's Sony Custom logo.

EDIT -
Bro I'm trying your new version.
I am trying to make the boot.img in the phone. I am following the steps correctly. But when the new boot.img is created in /data/local/tmp/boot, the size of it doesn't even change a byte as compared with the original one. Also, it fails to generate MD5 sum.

The first version worked perfectly fine but.

Sent from my Xperia™ Sola...
 
Last edited:

AGONTUK

Senior Member
Feb 22, 2013
624
2,630
Dhaka
Yes there's Sony Custom logo.

EDIT -
Bro I'm trying your new version.
I am trying to make the boot.img in the phone. I am following the steps correctly. But when the new boot.img is created in /data/local/tmp/boot, the size of it doesn't even change a byte as compared with the original one. Also, it fails to generate MD5 sum.

The first version worked perfectly fine but.

Sent from my Xperia™ Sola...
it doesn't boot at all? anyone else having the same problem?
I'll check it. Pls someone running 4.4 ROM confirm if it is working or not.
 
Last edited:

ChinmayKunkikar

Senior Member
Nov 15, 2012
1,035
1,119
Pune
it doesn't boot at all? anyone else having the same problem?
I'll check it. Pls someone running 4.4 ROM confirm if it is working or not.

No it doesn't boot. It keeps flickering as soon as I power on my phone.

Just the initrd.gz is changed in the new version right?

Sent from my Xperia™ Sola...
 
Last edited:

AGONTUK

Senior Member
Feb 22, 2013
624
2,630
Dhaka
PLS anyone running 4.4 ROM confirm whether it's running or not.

No it doesn't boot. It keeps flickering as soon as I power on my phone.

Just the initrd.gz is changed in the new version right?

Sent from my Xperia™ Sola...

NO, other files has changed also. DId you only copy the initrd.gz to old folder? Please try again. Also you have 4.1 rom I think, so I'm not sure if it's related to rom.
 

pingu_c660

Senior Member
Jan 15, 2012
240
192
Changelog 19/03/2014
  • booted
  • full touch working
  • adb working
  • usb mass storage not working
  • fixed show battery capacity & charging status (+ icon next to percentage)
  • reboot to bootloader working (from twrp menu)
  • added battery led to indicate battery status
  • usb mass storage should work now
  • reboot to recovery/bootloader from rom should work now
  • reboot to recovery/bootloader from twrp should work now

for the latest version

ROM: SLimkat 4.4
1. yes
2. yes
3. yes
4. usb mass storage still not workin (maybe there's a thing that i dont get. what i mean is that in TWRP and selecting mount the output should i get is that i can browse my sdcard card in My Computer? right?? if that so i'm not getting this result)
5. yes
6. yes
7. yes
8. same as #4
9. yes
10. yes

and sorry if i cant reply to your post immediately because of work thingy :(
 
Last edited:
  • Like
Reactions: AGONTUK

Top Liked Posts

  • There are no posts matching your filters.
  • 32
    Code:
    #include <std_disclaimer.h>
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    KL32bPn.png
    lsmud9t.png
    acYOCr3.png


    Introduction:

    Team Win Recovery Project or twrp2 for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. It's a fully touch driven user interface , no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

    Key Features:

    Touchscreen driven with real buttons and drag-to-scroll
    XML-based GUI that allows full customization of the layout true theming!
    Settings are saved to the sdcard and persist through reboots
    Ability to choose which partitions to back up and which to restore
    Ability to choose to compress backups now with pigz (multi-core processor support for faster compression times)
    Onscreen keyboard
    Decryption of /data
    Easy selection of internal/external storage


    Installation:

    since our device developers are constantly trying to fix bugs, they are always changing something in init.*.rc files for testing. For this reason I can't post a regular boot.img file because it won't work. For now, I've created a script that will take all init.*.rc files from current rom's boot.img and then compile new boot.img with TWRP inside it.

    Note : For Rooted & Unlocked Bootloader Only
    Note : For 4.4 ROM (should work on older version of android upto 4.1). I don't own Xperia Sola so didn't test it. So please provide feedback

    1) Download the latest zip file.
    2) Extract it in a folder and place your current rom's boot.img inside that folder. (it must be named boot.img)
    3) Connect your phone with PC. (adb must be working)
    4) Open your command line and cd to that folder
    5) For linux users, type
    Code:
    chmod 755 run_me.sh
    ./run_me.sh

    For windows users, type
    Code:
    run_me.bat

    new boot.img file will be created in the current directory named new_boot.img. Power off your phone and flash the boot image.
    Code:
    fastboot flash boot new_boot.img

    Theming:

    Information on TWRP 2 Theming - http://teamw.in/project/twrp2themers

    To ROM makers

    if you include it in your ROM, please give proper credits cause I've spent almost a month trying to port this.Thanks.

    Download

    Final Version => recovery_install_20140427.zip - 6.42 MB


    Source

    TWRP source -> https://github.com/omnirom/android_bootable_recovery

    device tree -> https://github.com/Agontuk/android_device_sony_pepper

    Credits

    all teamwin members, especially @Dees_Troy for giving me constant advice
    @munjeni for his support and answering all my questions :)
    @cpkunki for making this thread featured in the portal
    8
    Changelog 16/03/2014
    • booted
    • full touch working
    • adb working
    • usb mass storage not working
    • fixed show battery capacity & charging status (+ icon next to percentage)
    • reboot to bootloader working (from twrp menu)

    Changelog 19/03/2014
    • added battery led to indicate battery status
    • usb mass storage still not working
    • reboot to recovery working now
    • reboot to bootloader working now

    Changelog 22/03/2014
    • internal storage is mounting
    • battery led works properly
    • added brightness slider
    • changed to default sony logo

    Changelog 27/04/2014
    • Everything works fine
    6
    New Version Released

    Changelog 19/03/2014
    • added battery led to indicate battery status
    • usb mass storage should work now
    • reboot to recovery/bootloader from rom should work now
    • reboot to recovery/bootloader from twrp should work now

    download the latest zip from OP. pls try all these change and confirm :)
    5
    New Version Released. Please check if everything works or not, specially usb mass storage.

    Link's in the OP.


    @AGONTUK
    can you send me unpacked recovery ready for theming?

    Sent from my MT27i using XDA Premium 4 mobile app

    you can unpack the initrd.gz from the zip file.
    4
    I can't boot to system, why? anyone experiences a same problem too? :confused:

    works well for me, Carbon + Carbon kernel.

    edit : attached pic