Related
Maybe this has already been posted but i've introduced myself to the world of porting. I've followed a guide correctly but i have one problem, the rom doesn't boot: i get this from logcat:
Code:
- exec '/system/bin/sh' failed: No such file or directory (2) -
I know some porters must have ran into the problem before, where did i go wrong?
(I'll upload the rom if anyone wants to take a look at it)
Hmm dont know.. I think you didnt modify the updater script
Sent from my GT-S5660 using xda premium
haha, but from which device is this ported?
Port from galaxy y, and remco might be right, I don't think I edited it properly
Sent from my GT-S5660
iok1 said:
Port from galaxy y, and remco might be right, I don't think I edited it properly
Sent from my GT-S5660
Click to expand...
Click to collapse
There are lines in like open sh backuptool, but if you use a base and move files between, you dont move that so it cant open it, because it doesnt have the file.
Open a gio updater script from any rom and yours port rom, and copy the assert, format, mount, install , boot.img , unmount part, just leave ui prints or add your name..
Dont change symlinks or permissions.
Also remove backuptool shizzle as you dont have those files in your rom
Sent from my GT-S5660 using xda premium
voetbalremco said:
There are lines in like open sh backuptool, but if you use a base and move files between, you dont move that so it cant open it, because it doesnt have the file.
Open a gio updater script from any rom and yours port rom, and copy the assert, format, mount, install , boot.img , unmount part, just leave ui prints or add your name..
Dont change symlinks or permissions.
Also remove backuptool shizzle as you dont have those files in your rom
Sent from my GT-S5660 using xda premium
Click to expand...
Click to collapse
I'll try my best tomorrow
Sent from my GT-S5660
You can always pm or send it, I already did succesfull ports.
Btw, galaxy y is also arm v6??
Sent from my GT-S5660 using xda premium
oops right 832 Mhz ARMV 6
lol try to delete sh file if it is there coz i not think that it is in ;-)
And so on, delete this line from updater-script
DQiB said:
oops right 832 Mhz ARMV 6
lol try to delete sh file if it is there coz i not think that it is in ;-)
And so on, delete this line from updater-script
Click to expand...
Click to collapse
Mine works continueaously at 902 mhz, so that should be fine...
voetbalremco said:
You can always pm or send it, I already did succesfull ports.
Btw, galaxy y is also arm v6??
Sent from my GT-S5660 using xda premium
Click to expand...
Click to collapse
Well, if you're interested in fixing it, i pmed you the download link, but i'd rather fix it myself tomorrow. But i won't say no if you want to do it
I got it working but still doesn't boot, logcat gives me this: '
Code:
--------- beginning of /dev/log/main
I/NPS_MOBEX( 658): task Start
I/NPS_MOBEX( 658): wscMessageGet msgid:4097
--------- beginning of /dev/log/system
I/Vold ( 652): Vold 2.1 (the revenge) firing up
I/Vold ( 652): Volume::setState -> Volume sdcard /mnt/sdcard st
rom -1 (Initializing) to 0 (No-Media)
D/DirectVolume( 652): DirectVolume::handleBlockEvent -> mCurrently
devices/platform/msm_sdcc.1/mmc_host
D/DirectVolume( 652): DirectVolume::handleBlockEvent-> ::NlActionA
9,minor 0 (disk)
E/Vold ( 652): Volume::createDeviceNode -> group(1015,sdcard_rw
D/DirectVolume( 652): DirectVolume::handleDiskAdded -> mDiskMajor
or 0, NPARTS:3
I/Vold ( 652): Volume::setState -> Volume sdcard /mnt/sdcard st
rom 0 (No-Media) to 2 (Pending)
D/DirectVolume( 652): DirectVolume::handleBlockEvent-> ::NlActionA
9,minor 1 (partition)
E/Vold ( 652): Volume::createDeviceNode -> group(1015,sdcard_rw
D/DirectVolume( 652): DirectVolume::handlePartitionAdded -> major
PARTN 1
D/DirectVolume( 652): DirectVolume::handleBlockEvent-> ::NlActionA
9,minor 2 (partition)
E/Vold ( 652): Volume::createDeviceNode -> group(1015,sdcard_rw
D/DirectVolume( 652): DirectVolume::handlePartitionAdded -> major
PARTN 2
D/DirectVolume( 652): DirectVolume::handleBlockEvent-> ::NlActionA
9,minor 3 (partition)
E/Vold ( 652): Volume::createDeviceNode -> group(1015,sdcard_rw
D/DirectVolume( 652): DirectVolume::handlePartitionAdded -> major
PARTN 3
I/Vold ( 652): Volume::setState -> Volume sdcard /mnt/sdcard st
rom 2 (Pending) to 1 (Idle-Unmounted)
I/DEBUG ( 654): debuggerd: Dec 6 2011 15:05:02
E/PowerOnSound( 651): playmp3: sqlite3_open err=14
E/PowerOnSound( 651): # int PlaySound()
E/PowerOnSound( 651): PoweronSoundFunc earphone state info = 0
W/AudioSystem( 651): AudioPolicyService not published, waiting...
W/AudioSystem( 651): AudioPolicyService not published, waiting...
iok1 said:
I got it working but still doesn't boot, logcat gives me this: '
Code:
--------- beginning of /dev/log/main
I/NPS_MOBEX( 658): task Start
I/NPS_MOBEX( 658): wscMessageGet msgid:4097
--------- beginning of /dev/log/system
I/Vold ( 652): Vold 2.1 (the revenge) firing up
I/Vold ( 652): Volume::setState -> Volume sdcard /mnt/sdcard st
rom -1 (Initializing) to 0 (No-Media)
D/DirectVolume( 652): DirectVolume::handleBlockEvent -> mCurrently
devices/platform/msm_sdcc.1/mmc_host
D/DirectVolume( 652): DirectVolume::handleBlockEvent-> ::NlActionA
9,minor 0 (disk)
E/Vold ( 652): Volume::createDeviceNode -> group(1015,sdcard_rw
D/DirectVolume( 652): DirectVolume::handleDiskAdded -> mDiskMajor
or 0, NPARTS:3
I/Vold ( 652): Volume::setState -> Volume sdcard /mnt/sdcard st
rom 0 (No-Media) to 2 (Pending)
D/DirectVolume( 652): DirectVolume::handleBlockEvent-> ::NlActionA
9,minor 1 (partition)
E/Vold ( 652): Volume::createDeviceNode -> group(1015,sdcard_rw
D/DirectVolume( 652): DirectVolume::handlePartitionAdded -> major
PARTN 1
D/DirectVolume( 652): DirectVolume::handleBlockEvent-> ::NlActionA
9,minor 2 (partition)
E/Vold ( 652): Volume::createDeviceNode -> group(1015,sdcard_rw
D/DirectVolume( 652): DirectVolume::handlePartitionAdded -> major
PARTN 2
D/DirectVolume( 652): DirectVolume::handleBlockEvent-> ::NlActionA
9,minor 3 (partition)
E/Vold ( 652): Volume::createDeviceNode -> group(1015,sdcard_rw
D/DirectVolume( 652): DirectVolume::handlePartitionAdded -> major
PARTN 3
I/Vold ( 652): Volume::setState -> Volume sdcard /mnt/sdcard st
rom 2 (Pending) to 1 (Idle-Unmounted)
I/DEBUG ( 654): debuggerd: Dec 6 2011 15:05:02
E/PowerOnSound( 651): playmp3: sqlite3_open err=14
E/PowerOnSound( 651): # int PlaySound()
E/PowerOnSound( 651): PoweronSoundFunc earphone state info = 0
W/AudioSystem( 651): AudioPolicyService not published, waiting...
W/AudioSystem( 651): AudioPolicyService not published, waiting...
Click to expand...
Click to collapse
where are you porting from?
voetbalremco said:
where are you porting from?
Click to expand...
Click to collapse
Galaxy y
I would really like to see it work, does anyone want to correctly edit the updater-script? Tried so many times. Thanks
Sent from my GT-S5660
I can,
Sent from my GT-S5660 using xda premium
iok1 said:
I would really like to see it work, does anyone want to correctly edit the updater-script? Tried so many times. Thanks
Sent from my GT-S5660
Click to expand...
Click to collapse
Not a problem with the updater script, it's a problem with ur rom
Is it continually rebooting? Or is it hanging at that waiting for audio stuff
lemmymet said:
Not a problem with the updater script, it's a problem with ur rom
Is it continually rebooting? Or is it hanging at that waiting for audio stuff
Click to expand...
Click to collapse
Its not installing in recovery, it is the updaterscript.
Sent from my GT-S5660 using xda premium
voetbalremco said:
Its not installing in recovery, it is the updaterscript.
Problably setting permissions for a file wich isnt there or symlink to a file that doesnt exist..
Sent from my GT-S5660 using xda premium
Click to expand...
Click to collapse
Sent from my GT-S5660 using xda premium
lemmymet said:
Not a problem with the updater script, it's a problem with ur rom
Is it continually rebooting? Or is it hanging at that waiting for audio stuff
Click to expand...
Click to collapse
voetbalremco said:
Its not installing in recovery, it is the updaterscript.
Sent from my GT-S5660 using xda premium
Click to expand...
Click to collapse
It IS installing in recovery, but i think it doesn't install it right. Because the audio thing it says is missing is in the rom. That's my current problem i think.
Hi everybody,
After (to my knowledge) succesfully unlocking bootloader using Hasoon2000's Kit I used steps 1 to 8 (using http://forum.xda-developers.com/showthread.php?t=1598964) for the PrimoU to Root my phone. Then I installed CWM and make a backup of the build that I was using on my SDCARD.
LOG:
Code:
Starting recovery on Mon Aug 27 21:23:09 2012
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (480 x 800)
ioctl(): blank: Invalid argument
ioctl(): blank: Invalid argument
ClockworkMod Recovery v5.8.3.1
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /boot emmc /dev/block/mmcblk0p22 (null) 0
2 /cache ext4 /dev/block/mmcblk0p28 (null) 0
3 /data ext4 /dev/block/mmcblk0p26 (null) 0
4 /misc emmc /dev/block/mmcblk0p17 (null) 0
5 /recovery emmc /dev/block/mmcblk0p21 (null) 0
6 /sdcard vfat /dev/block/mmcblk1p1 (null) 0
7 /system ext4 /dev/block/mmcblk0p25 (null) 0
W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
W:Unable to get recovery.fstab info for /sd-ext during fstab generation!
I:Completed outputting fstab.
I:Processing arguments.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"
ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.service.adb.enable=1
ro.build.id=GINGERBREAD
ro.build.display.id=cyanogen_primou-eng 2.3.7 GINGERBREAD eng.vivek.20120505.222219 test-keys
ro.build.version.incremental=eng.vivek.20120505.222219
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.7
ro.build.date=Sat May 5 22:22:37 IST 2012
ro.build.date.utc=0
ro.build.type=eng
ro.build.user=vivek
ro.build.host=ubuntu
ro.build.tags=test-keys
ro.product.model=Full Android on Emulator
ro.product.brand=Android
ro.product.name=cyanogen_primou
ro.product.device=primou
ro.product.board=primou
ro.product.cpu.abi=armeabi
ro.product.manufacturer=unknown
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=unknown
ro.build.product=primou
ro.build.description=cyanogen_primou-eng 2.3.7 GINGERBREAD eng.vivek.20120505.222219 test-keys
ro.build.fingerprint=Android/cyanogen_primou/primou:2.3.7/GINGERBREAD/eng.vivek.20120505.222219:eng/test-keys
ro.cm.device=primou
keyguard.no_require_sim=true
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.config.notification_sound=OnTheHunt.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.kernel.android.checkjni=1
ro.setupwizard.mode=OPTIONAL
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=HT23YTV21132
ro.bootmode=offmode_charging
ro.baseband=3831.17.00.18_M
ro.carrier=HTC-Dutch
ro.bootloader=1.17.0000
ro.hardware=primou
ro.revision=2
ro.emmc=1
init.svc.recovery=running
init.svc.adbd=running
I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
fd: 10
ev: 1 114 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 115 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 115 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 116 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 116 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 114 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 115 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 115 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 115 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 115 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 115 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 115 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 115 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 115 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 115 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 115 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 115 1
fd: 10
ev: 0 0 0
fd: 10
ev: 1 115 0
fd: 10
ev: 0 0 0
fd: 10
ev: 1 116 1
fd: 10
ev: 0 0 0
After this I wanted to install CM9 or CM10 on my phone. Basically what I did is boot in bootloader->fastboot and I flashed the correct kernel supplied with the CM thread.
Code:
C:\HTCOneV\data>adb kill-server
C:\HTCOneV\data>adb remount
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
C:\HTCOneV\data>adb push Kernels/Modules/system /system
error: device not found
C:\HTCOneV\data>adb reboot bootloader
error: device not found
C:\HTCOneV\data>fastboot flash boot Kernels/boot.img
sending 'boot' (2800 KB)... OKAY [ 2.177s]
writing 'boot'... OKAY [ 1.444s]
finished. total time: 3.621s
C:\HTCOneV\data>fastboot reboot
rebooting...
finished. total time: 0.217s
Then I rebooted into recovery, I followed the steps and now what happens is that each time I reboot my phone I get the HTC Screen with the red text (Developer blablabla) then a few seconds of the CM animation and after that the phone just freezes. I can use the power button to restart and +voldown to get into the CWM/bootloader but thats it.
I tried to use the recovery to get back, but while using that I get the same thing, the HTC Screen with the red text (Developer blabla) then a few seconds of the HTC 'brilliance' animation, but then it also freezes.
I did something wrong, but what? I would like to try another kernel like the KISS one, but would it work with the CM-ROM or would I have to pick another ROM instead? (and if so; could you appoint me one?)
Last; if I would go back to a stock rom; I wouldnt know which one to chose. What if my battery runs out, is it actually charging when hooked to my pc? Help! :crying:
Kind Regards,
Aphromode
Information about my BOOT:
*** UNLOCKED ***
PRIMOU PVT SHIP S-ON RL
HBOOT-1.17.0000
RADIO-3831.17.00.18_M
eMMC-boot
May 15 2012,10:28:15
IMAGE CRC:
osbl: 0x7F9959AF
amss: 0xD1F29E93
hboot: 0xE46C3327
boot: 0x1555E80C2
recovery: 0xC8BBA213
system: 0x2D30BFD9
Just dropped by to say the KISS kernel thread has kernel for CM too and I believe one they provided on CM thread is the same.
Try again maybe? did you wipe /system?
You have to use the KISS kernel. If you are using the latest kiss kernel, the problem might be that your phone can not handle the kernel that is overclocked by default. Try to use the previous version that boots at 1GHz. This issue was reported also by another user.
hlavicka82 said:
You have to use the KISS kernel. If you are using the latest kiss kernel, the problem might be that your phone can not handle the kernel that is overclocked by default. Try to use the previous version that boots at 1GHz. This issue was reported also by another user.
Click to expand...
Click to collapse
The Issue has been resolved, indeed it was the default overclocking that lead to the freezing.
Solution: Use the 1GHz kernel instead of the overclocked one.
[email protected]:/dev/block/platform/dw_mmc.0/by-name $ ls -la
ls -la
lrwxrwxrwx root root 2013-03-26 16:07 BOOT -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2013-03-26 16:07 BOTA0 -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2013-03-26 16:07 BOTA1 -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2013-03-26 16:07 CACHE -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2013-03-26 16:07 CARRIER -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2013-03-26 16:07 CDMA -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2013-03-26 16:07 EFS -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2013-03-26 16:07 HIDDEN -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2013-03-26 16:07 OTA -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2013-03-26 16:07 PARAM -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2013-03-26 16:07 PERSDATA -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2013-03-26 16:07 RADIO -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2013-03-26 16:07 RECOVERY -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2013-03-26 16:07 RESERVED2 -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2013-03-26 16:07 SYSTEM -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2013-03-26 16:07 TDATA -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2013-03-26 16:07 TOMBSTONES -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2013-03-26 16:07 USERDATA -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2013-03-26 16:07 m9kefs1 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2013-03-26 16:07 m9kefs2 -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2013-03-26 16:07 m9kefs3 -> /dev/block/mmcblk0p6
[email protected]:/ $ cat /proc/cpuinfo
cat /proc/cpuinfo
Processor : ARMv7 Processor rev 3 (v7l)
processor : 0
BogoMIPS : 1590.88
processor : 1
BogoMIPS : 1590.88
processor : 2
BogoMIPS : 1590.88
processor : 3
BogoMIPS : 1590.88
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva id
ivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc0f
CPU revision : 3
Hardware : UNIVERSAL5410
Revision : 0009
Serial : xxxxxxxxxxx4d00ee10
Build.prop
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=JDQ39
ro.build.display.id=JDQ39.I9500XXUAMC6
ro.build.version.incremental=I9500XXUAMC6
ro.build.version.sdk=17
ro.build.version.codename=REL
ro.build.version.release=4.2.2
ro.build.date=Mon Mar 11 22:42:39 KST 2013
ro.build.date.utc=1363009359
ro.build.type=user
ro.build.user=se.infra
ro.build.host=SEP-127
ro.build.tags=release-keys
ro.product.model=GT-I9500
ro.product.brand=samsung
ro.product.name=ja3gxx
ro.product.device=ja3g
ro.product.board=universal5410
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=en
ro.product.locale.region=GB
ro.wifi.channels=
ro.board.platform=exynos5
# ro.build.product is obsolete; use ro.product.device
ro.build.product=ja3g
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=ja3gxx-user 4.2.2 JDQ39 I9500XXUAMC6 release-keys
ro.build.fingerprint=samsung/ja3gxx/ja3g:4.2.2/JDQ39/I9500XXUAMC6:user/release-keys
ro.build.characteristics=lightTheme
# Samsung Specific Properties
ro.build.PDA=I9500XXUAMC6
ro.build.hidden_ver=I9500XXUAMC6
ro.build.changelist=265143
ro.product_ship=true
ro.chipname=exynos5410
# end build properties
This is the 16gb model if I am correct? Interesting it's ext4.
Sent from my HTC One S using xda app-developers app
Closed Source Project said:
This is the 16gb model if I am correct? Interesting it's ext4.
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
Why is that interesting?
Toss3 said:
Why is that interesting?
Click to expand...
Click to collapse
+1 :angel:
Samsung has been on EXT4 after the S1. Google forced them over. Its not surprising.
I want to ask you, to do into terminal
Code:
su
cd dev/block/platform/dw_mmc/by-name
ls -l
and upload result..
after this, if you can, make dump partitions: boot, recovery, system, cache, hidden, modem, param
Code:
su
dd if=dev/block/mmcblk0p[partition number] of=sdcard/[image file]
Then I will try make ROM for flash via odin
my S4 not have root! Can you ROOT my S4?
zhangqip said:
my S4 not have root! Can you ROOT my S4?
Click to expand...
Click to collapse
But for this i need any stock rom or system dump from cwm
p.s.
try load phone into recovery mode, connect to kies and choose restore device, kies must download 3th files service ROM, on PC
zhangqip said:
my S4 not have root! Can you ROOT my S4?
Click to expand...
Click to collapse
If you want it to root plant it in the ground and water it...
Sent from my HTC One S using xda app-developers app
Here are more details extracted from Screener device, credits goes to him.
Partition sizes:
Code:
major minor #blocks name
179 0 15388672 mmcblk0
179 1 4096 mmcblk0p1
179 2 4096 mmcblk0p2
179 3 20480 mmcblk0p3
179 4 4096 mmcblk0p4
179 5 4096 mmcblk0p5
179 6 4096 mmcblk0p6
179 7 20480 mmcblk0p7
259 0 8192 mmcblk0p8
259 1 8192 mmcblk0p9
259 2 8192 mmcblk0p10
259 3 8192 mmcblk0p11
259 4 8192 mmcblk0p12
259 5 90112 mmcblk0p13
259 6 262144 mmcblk0p14
259 7 4096 mmcblk0p15
259 8 573440 mmcblk0p16
259 9 12288 mmcblk0p17
259 10 4096 mmcblk0p18
259 11 2121728 mmcblk0p19
259 12 2830336 mmcblk0p20
259 13 9379840 mmcblk0p21
and Mount points:
Code:
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
/dev/block/mmcblk0p17 /persdata/absolute ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/mmcblk0p20 /system ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/mmcblk0p3 /efs ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,errors=panic,data=ordered 0 0
/dev/block/mmcblk0p19 /cache ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
/dev/block/mmcblk0p21 /data ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
/data/media /mnt/shell/emulated sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,mode=050,gid=1028 0 0
/data/media /storage/emulated/0 sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
/data/media /storage/emulated/0/Android/obb sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
/data/media /storage/emulated/legacy sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
/data/media /storage/emulated/legacy/Android/obb sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
[/COLOR]wanam you're a genius, finally, today I will make system.img... with root for Odin
well done
http://forum.xda-developers.com/showthread.php?t=2213775
Closed Source Project said:
If you want it to root plant it in the ground and water it...
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
Hahahahaha rooting made simple lol
Sent from my GT-I9500 using xda app-developers app
wanam said:
Here are more details extracted from Screener device, credits goes to him.
Partition sizes:
Code:
major minor #blocks name
179 0 15388672 mmcblk0
179 1 4096 mmcblk0p1
179 2 4096 mmcblk0p2
179 3 20480 mmcblk0p3
179 4 4096 mmcblk0p4
179 5 4096 mmcblk0p5
179 6 4096 mmcblk0p6
179 7 20480 mmcblk0p7
259 0 8192 mmcblk0p8
259 1 8192 mmcblk0p9
259 2 8192 mmcblk0p10
259 3 8192 mmcblk0p11
259 4 8192 mmcblk0p12
259 5 90112 mmcblk0p13
259 6 262144 mmcblk0p14
259 7 4096 mmcblk0p15
259 8 573440 mmcblk0p16
259 9 12288 mmcblk0p17
259 10 4096 mmcblk0p18
259 11 2121728 mmcblk0p19
259 12 2830336 mmcblk0p20
259 13 9379840 mmcblk0p21
and Mount points:
Code:
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
/dev/block/mmcblk0p17 /persdata/absolute ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/mmcblk0p20 /system ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/mmcblk0p3 /efs ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,errors=panic,data=ordered 0 0
/dev/block/mmcblk0p19 /cache ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
/dev/block/mmcblk0p21 /data ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
/data/media /mnt/shell/emulated sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,mode=050,gid=1028 0 0
/data/media /storage/emulated/0 sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
/data/media /storage/emulated/0/Android/obb sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
/data/media /storage/emulated/legacy sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
/data/media /storage/emulated/legacy/Android/obb sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023 0 0
Click to expand...
Click to collapse
with this in future can have more space in internal card??
e
GT-I9500 cihazımdan Tapatalk kullanılarak gönderildi
Deleted because I found what I was looking for :thumbup:
Sent from my GT-I9500
Hey, I'm trying to create two shortcuts on my home launcher to unmount the sdcard and the other one to mount it for safe eject purposes. I have a galaxy s3 sgh-i747 at&t running AOKP 4.4.4 rooted/busyboxed. I am trying to create two scripts that i can simply run with a click of the SManager widget instead of having to go through all the settings and unmounting it from there.
Partitions:
Code:
179 0 15388672 mmcblk0
179 1 61440 mmcblk0p1
179 2 128 mmcblk0p2
179 3 256 mmcblk0p3
179 4 512 mmcblk0p4
179 5 2048 mmcblk0p5
179 6 512 mmcblk0p6
179 7 10240 mmcblk0p7
179 8 512 mmcblk0p8
179 9 512 mmcblk0p9
179 10 10240 mmcblk0p10
179 11 13952 mmcblk0p11
179 12 3072 mmcblk0p12
179 13 3072 mmcblk0p13
179 14 1536000 mmcblk0p14
179 15 12832768 mmcblk0p15
179 16 8192 mmcblk0p16
179 17 860160 mmcblk0p17
179 18 10240 mmcblk0p18
179 19 10240 mmcblk0p19
179 20 6144 mmcblk0p20
179 21 3072 mmcblk0p21
179 22 8 mmcblk0p22
179 23 5120 mmcblk0p23
179 32 7761920 mmcblk1
179 33 7757824 mmcblk1p1
Mounts:
Code:
rootfs / rootfs ro,seclabel,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/fuse tmpfs rw,seclabel,relatime,mode=775,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,errors=panic,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,journal_checksum,journal_async_commit,noauto_da_alloc,errors=panic,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/efs /efs ext4 rw,seclabel,nosuid,nodev,noatime,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,relatime,fmask=0177,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:33 /mnt/media_rw/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
The sdcard is mount # 33 located at block mmcblk1p1
The location of the mount is /storage/sdcard1 or /mnt/media_rw/sdcard1 (looks like the one in /storage is just a link to the real one in /mnt)
I am aware of the commands mount/umount.
Please help me out. Thanks!
Output from cat /proc/partitions, names shown in red do not appear, they have been taken from different files in the system, they could be wrong!
Code:
[email protected]:/ $ cat /proc/partitions
major minor #blocks name
31 0 1024 mtdblock0
179 0 3866624 mmcblk0
179 1 128 mmcblk0p1
179 2 512 mmcblk0p2 [COLOR="Red"] mbm[/COLOR]
179 3 512 mmcblk0p3
179 4 1 mmcblk0p4 [COLOR="Red"] ebr[/COLOR]
179 5 512 mmcblk0p5 [COLOR="Red"] cdt[/COLOR]
179 6 4096 mmcblk0p6 [COLOR="Red"] pds[/COLOR]
179 7 1536 mmcblk0p7
179 8 1024 mmcblk0p8 [COLOR="Red"] logo.bin[/COLOR]
179 9 16384 mmcblk0p9[COLOR="Red"] boot[/COLOR]
179 10 16384 mmcblk0p10[COLOR="Red"] recovery[/COLOR]
179 11 512 mmcblk0p11
179 12 512 mmcblk0p12
179 13 8192 mmcblk0p13
179 14 262144 mmcblk0p14 [COLOR="Red"] system[/COLOR]
179 15 262144 mmcblk0p15 [COLOR="Red"] cache[/COLOR]
179 16 131072 mmcblk0p16 [COLOR="Red"] customize[/COLOR]
179 17 3160064 mmcblk0p17 [COLOR="Red"] data[/COLOR]
179 64 2048 mmcblk0boot1
179 32 2048 mmcblk0boot0
To encourage more research and developments, use the donate button on the right! thanks!
in case needed, heres output for mount
Code:
[email protected]:/ $ mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
pstore /sys/fs/pstore pstore rw,relatime 0 0
/dev/block/mmcblk0p14 /system ext4 ro,seclabel,relatime,discard,data=ordered 0 0
/dev/block/mmcblk0p15 /cache ext4 rw,seclabel,nosuid,nodev,noatime,discard,data=ordered 0 0
/dev/block/mmcblk0p17 /data ext4 rw,seclabel,nosuid,nodev,relatime,discard,noauto_da_alloc,data=ordered 0 0
/dev/block/mmcblk0p6 /pds ext4 rw,seclabel,nosuid,nodev,noatime,discard 0 0
/dev/block/mmcblk0p16 /customize ext4 rw,seclabel,nosuid,nodev,relatime,discard,noauto_da_alloc,data=ordered 0 0
none /sys/kernel/debug debugfs rw,relatime,mode=755 0 0
adb /dev/usb-ffs/adb functionfs rw,relatime 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0