[Q] apps on my sl force closes and data does not get formatted please help

Search This thread

pratik_s

Senior Member
May 29, 2012
342
174
32
Mumbai
@chongns i did not get any error while flashing xxkpe via odin.but do u think there is a certain way out of this.thanks again.
 

chongns

Senior Member
Aug 1, 2011
917
426
Johor Bahru
Xiaomi Mi 11 Lite 4G
get the below done and post the output
key in the red

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\King>adb shell
~ # parted /dev/block/mmcblk0
parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
print
print
Model: MMC SEM04G (sd/mmc)
Disk /dev/block/mmcblk0: 3959MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.8kB 1634MB 1634MB primary fat32 lba
2 1634MB 1946MB 312MB primary fat16 lba
3 1946MB 3959MB 2013MB primary ext4 lba

(parted) quit
quit
quit
~ #

@loSconosciuto, above is my mmcblk0 partition detail, please help to make the script follow it
 

pratik_s

Senior Member
May 29, 2012
342
174
32
Mumbai
@chongns i think for that i need to flash ddkp3 bcoz i am getting the same output as i have mentioned before.so should i flash ddkp3 and bam kernel and then do it bcoz i think iwas getting the output till print when i was on ddkp3 with bam kernel v13.
 

chongns

Senior Member
Aug 1, 2011
917
426
Johor Bahru
Xiaomi Mi 11 Lite 4G
@chongns i think for that i need to flash ddkp3 bcoz i am getting the same output as i have mentioned before.so should i flash ddkp3 and bam kernel and then do it bcoz i think iwas getting the output till print when i was on ddkp3 with bam kernel v13.

please show me the output, i not getting you

edit1: ok, please flash until bam kernel

edit2: what size is your external sd card?
 
Last edited:

pratik_s

Senior Member
May 29, 2012
342
174
32
Mumbai
@chongns i get it till here adb shell
~ # parted /dev/block/mmcblk0
parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
print
print
i will try to flash upto bam kernel again tommorow and verify the output but i dont think it will be different
i use 16 gb class 4 external sd card
 
Last edited:

pratik_s

Senior Member
May 29, 2012
342
174
32
Mumbai
@chongns this is the out put i get
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\PRATIK>cd..

C:\Documents and Settings>cd..

C:\>cd Program Files\Android\android-sdk\platform-tools

C:\Program Files\Android\android-sdk\platform-tools>adb shell
~ # parted /dev/block/mmcblk0
parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
print
print

C:\Program Files\Android\android-sdk\platform-tools>
 

pratik_s

Senior Member
May 29, 2012
342
174
32
Mumbai
@chongs i have inserted the sd card in the mobile.may be i think it is not mounting.in mounts and storage menu sd card is mounted but emmc is not mounted or cannot be mounted.
 

pratik_s

Senior Member
May 29, 2012
342
174
32
Mumbai
@chongs this is the output i get
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\PRATIK>cd..

C:\Documents and Settings>cd..

C:\>cd Program Files\Android\android-sdk\platform-tools

C:\Program Files\Android\android-sdk\platform-tools>adb shell
~ # parted /dev/block/mmcblk0
parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
print
print

C:\Program Files\Android\android-sdk\platform-tools>
 

pratik_s

Senior Member
May 29, 2012
342
174
32
Mumbai
@loSconosciuto this is the output
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\PRATIK>cd..

C:\Documents and Settings>cd..

C:\>cd Program Files\Android\android-sdk\platform-tools

C:\Program Files\Android\android-sdk\platform-tools>adb shell
adb server is out of date. killing...
* daemon started successfully *
$ Is /dev/block
Is /dev/block
Is: permission denied
$
 

bscraze

Senior Member
Aug 14, 2011
2,468
687
Singapore
@loSconosciuto this is the output
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\PRATIK>cd..

C:\Documents and Settings>cd..

C:\>cd Program Files\Android\android-sdk\platform-tools

C:\Program Files\Android\android-sdk\platform-tools>adb shell
adb server is out of date. killing...
* daemon started successfully *
$ Is /dev/block
Is /dev/block
Is: permission denied
$

Didn't he already tell you to root first? I also think it's ls, not is

Sent from my GT-I9003 using xda app-developers app
 

pratik_s

Senior Member
May 29, 2012
342
174
32
Mumbai
@bscraze,@chongns,@loSconosciuto i think if we succeed in doing this then also there will be a problem.since internal memory on the board is corrupted and it will create a problem now or after there will be a problem.i think as it is a hardware problem it will be like a patch if we succeed in doing what we were doing and can create more problems for my sl hereafter.so i think i should go to the service centre.your views are welcome.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    @bscraze i have pm both of the devs and have also posted on the thread which gave us info but no replies from any thread.can u also pm them for me.
    Or maybe you could wait a little bit more?

    Anway, I don't know how you installed adb, where you installed it etc... So, to make things easier and faster, download the zip attached and extract it where you want.
    Then connect your phone to your computer and double click on RUN_ME.bat (it's one of the files inside the zip).

    After that, adb should start and try to follow the guides to partition your external SD.

    But first of all, flash BCK v14 with ODIN if you hadn't flashed a custom kernel yet.

    ___

    Link2
    2
    @bscraze i have two usb ports on my cpu i will try with the other one.thanks for ur feedback.
    i tried it but it goes till print only.it does not any further than that step.

    i try to guide you the last time since no others (yet) able to help you.

    u need to do from the beginning, what you need to do as below

    1. flash pit file with odin, than unplug phone from com, take out the battery, put back the battery.

    2. restart in download mode, start odin, connect the phone to com
    flash xxkpe, (it should have 4 file) is phone boot?

    3. if not, go in recovery, start adb key below commmond

    su
    mount

    post the screen of the output
    normally should look like below, the word you need to look for is mmcblk0, p1, p2 and p3

    if all of the p1 to p3 is not present in the list, that mean you properly having broken mmc chip.

    Code:
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    C:\Users\King>adb shell
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    ~ # mount
    mount
    rootfs on / type rootfs (ro,relatime)
    tmpfs on /dev type tmpfs (rw,relatime,mode=111)
    devpts on /dev/pts type devpts (rw,relatime,mode=600)
    proc on /proc type proc (rw,relatime)
    sysfs on /sys type sysfs (rw,relatime)
    none on /acct type cgroup (rw,relatime,cpuacct)
    tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
    tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
    none on /dev/cpuctl type cgroup (rw,relatime,cpu)
    /sys/kernel/debug on /sys/kernel/debug type debugfs (rw,relatime)
    /dev/block/stl9 on /system type ext4 (ro,noatime,commit=20,barrier=1,nobh,data=ordered,noauto_da_alloc)
    /dev/block/stl3 on /efs type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437)
    [COLOR="Red"]/dev/block/mmcblk0p3 on /data type ext4[/COLOR] (rw,nosuid,nodev,noatime,nodiratime,commit=20,barrier=1,nobh,data=ordered,noauto_da_alloc)
    /dev/block/stl10 on /dbdata type ext4 (rw,nosuid,nodev,noatime,nodiratime,commit=20,barrier=0,nobh,nodelalloc,data=ordered,noauto_da_alloc)
    /dev/block/stl6 on /mnt/.lfs type j4fs (rw,relatime)
    debugfs on /debug type debugfs (rw,relatime)
    /dev/block/stl11 on /cache type ext4 (rw,nosuid,nodev,noatime,nodiratime,commit=20,barrier=1,nobh,data=ordered,noauto_da_alloc)
    /dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard)
    /dev/block/vold/179:17 on /mnt/sdcard/external_sd type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
    /dev/block/vold/179:17 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
    tmpfs on /mnt/sdcard/external_sd/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
    ~ #

    and this

    Code:
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    C:\Users\King>adb shell
    ~ # ls /dev/block
    ls /dev/block
    bml0!c     bml7       [COLOR="Red"]mmcblk0[/COLOR]    ram12      ram9       stl7       tfsr4
    bml1       bml8       [COLOR="red"]mmcblk0p1[/COLOR]  ram13      stl1       stl8       tfsr5
    bml10      bml9       [COLOR="red"]mmcblk0p2[/COLOR]  ram14      stl10      stl9       tfsr6
    bml11      loop0      [COLOR="red"]mmcblk0p3[/COLOR]  ram15      stl11      tfsr0!c    tfsr7
    bml12      loop1      mmcblk1    ram2       stl12      tfsr1      tfsr8
    bml13      loop2      mmcblk1p1  ram3       stl13      tfsr10     tfsr9
    bml2       loop3      platform   ram4       stl2       tfsr11     vold
    bml3       loop4      ram0       ram5       stl3       tfsr12     zram0
    bml4       loop5      ram1       ram6       stl4       tfsr13
    bml5       loop6      ram10      ram7       stl5       tfsr2
    bml6       loop7      ram11      ram8       stl6       tfsr3
    ~ #
    1
    @bscraze can i add u to my friends list.will u accept my friend request.

    Yes sure why not lol.

    Sent from my GT-I9003 using xda app-developers app
    1
    If it closes, it means the connection with your phone is lost and that's not normal.

    Maybe I could try to make a flashable zip to do everything automatically, but I'm a little busy right now and I can't even test it and I don't know how much it would take, so don't count on it.

    It's better if you ask a friend with some experience to help you, because you seem not so familiar with the command line and writing stuff in it it's not enough, you should read the output, understand it etc. It's impossible helping you with no informations.

    ___________
    EDIT
    I did it, but I'm not sure it's ok. I can't test it and I think I won't do it anytime soon, I'm not responsible if you damage something using it, flash it only if you want.

    I don't know if the partition sizes are good and more importantly I don't know if the inbuilt parted uses MBs as default unit.
    I chose 1600MB as size for /data, the rest will be used for the internal SD.

    You just need to flash it from recovery. It will repartition your external SD and it will edit your /etc/vold.fstab

    Flash BCK v14 first if you still hadn't done it, I know it has parted.

    Your external SD will be formatted, so you'll loose everything it has.