[APP][CAMERA-MOD][7.1.X] Collection camera Modded for the Xiaomi Mi Mix Q & A - Xiaomi Mi MIX Themes, Apps, and Mods

@Arnova8G2 has been so kind to continue to mod the Google Camera app to work on multiple devices. The Xiaomi Mi 5 thread and OP3/3T among other threads are becoming quite cluttered with questions from other devices. So I thought I would help him and others out and keep any questions about the Xiaomi Mi Mix in the correct location. Arnova8G2 has asked to tag his name along with a logcat for any issues so he can help with future builds etc.
Second post will have a link to the latest version, this maybe a stable version or a beta/test version. Arcore stickers have been added as well with the latest versions and install procedures
I have also added the newest Google Pixel Camera 2 and 3 Mod
Third post will have a link to the older versions if so desired
Screen shots... these are the setting I'm using, thought this might help

Posted by BSG here, translated by Oleg.
Download:
MGC_5.3.015_MiMax2_Android-7+_2.apk
https://www.celsoazevedo.com/files/android/google-camera/dev-bsg/#apk390
Changelog:
Added HDR+ parameters settings:
max speed - uses 2 frames to make a photo
speed - uses 2-25 frames depending on lighting
medium - uses 2-30 frames depending on lighting
quality - uses 6-48 frames depending on lighting
high quality - uses 9-48 frames depending on lighting
max quailty - always use 48 frames
Added jpg quality settings. Auto mode:
medium and high - 97% jpg quality
speed and max speed - 95%
quality and max quality - 100%
PS: I don't recommend using max quality on Mi Max 2 as you need a lot of RAM and camera can crash during processing.
GCam_5.3.015-Pixel3Mod-Arnova8G2-v4Beta1
ChangeLog :
- Fix Pixel 2017 for Oneplus 3/3T/6 and Some device samsung
- Fix Photo Motion
- Add some fix by B-S-G
Does not work :
- RAW Mode
- Developer Settings
- Slow Motion
For OnePlus 6
Does not work :
- portrait Mode
- Photo Motion (camera.enable_micro_he does not work)
GCam_5.3.015-Pixel3Mod-Arnova8G2-v4Beta1.apk
Fixing pixel2017 and photo motion took me a long time.
I tried to enable Developer Settings, RAW Mode and Slow Motion
https://drive.google.com/open?id=16ckr_qS9-t3LqzgZnPSkTrsazZ3zWMaS
GoogleCamera-Pixel2Mod-Arnova8G2-V8.2
Changelog :
- Added the Miniuser123 MOD settings
- Add toggle remove green tint on back and front camera
- Add toggle dynamic blacklevel for devices compatible
- Some fix of the devices so users have to share the logcat
For devices with a black screen use Support level override and made tests with the selections
GoogleCamera-Pixel2Mod-Arnova8G2-V8.2.apk
Uninstall the previous version, add a new signature compatible with Google Play Protect
@Archon810 , Is this signature key valid ?
News AR Stickers works with original ARcore
- Last AR Core : install it from the Play Store or APK Mirror
- Use the Method 2 here : TWRP zips
- Last AR Stickers version no pack : install ARStickers_1.3.180720036.apk
- All pack : All pack Install the packs you want
Method 2 must not be used for devices in this list: https://developers.google.com/ar/dis...ported-devices
install and enjoy
https://drive.google.com/file/d/11H_YxBH0K0F_ldzax2sb9m3XTHO_p6U2/view

Older versions can be found here
https://www.celsoazevedo.com/files/a...google-camera/

@Arnova8G2 Camera test results for the Mi Mix
OS Version: 3.18.31-g342c2c8d-dirty(b1bec7755b)
OS API Level: 7.1.2(25)
Device: lithium
Model (and Product): MI MIX (lithium)
Camera 0 (BACK)
android.sync:
- maxLatency = SYNC_MAX_LATENCY_PER_FRAME_CONTROL
android.lens:
- facing = LENS_FACING_BACK
android.request:
- availableCapabilities = [0,1,2,5,6,4,7,9,3]
- maxNumInputStreams = 1
- maxNumOutputProc = 3
- maxNumOutputProcStalling = 1
- maxNumOutputRaw = 1
- partialResultCount = 2
- pipelineMaxDepth = 8
android.statistics.info:
- availableFaceDetectModes = [0,1]
- availableHotPixelMapModes = [false]
- availableLensShadingMapModes = [0,1]
- maxFaceCount = 10
android.shading:
- availableModes = [0,1,2]
android.control:
- aeAvailableAntibandingModes = [0,2,1,3]
- aeAvailableModes = [0,1,2,3]
- aeAvailableTargetFpsRanges = [[7, 24],[24, 24],[7, 30],[30, 30],[8, 30]]
- aeCompensationRange = [-12, 12]
- aeCompensationStep = 1/6
- aeLockAvailable = true
- afAvailableModes = [1,0,2,3,4]
- availableEffects = [0,1,2,3,5]
- availableModes = [0,1,2]
- availableSceneModes = [4,9,8,10,5,3,13,11,15,12,14,6,7,2,1]
- availableVideoStabilizationModes = [0]
- awbAvailableModes = [1,2,3,4,5,6,7,8,0]
- awbLockAvailable = true
- maxRegionsAe = 1
- maxRegionsAf = 1
- maxRegionsAwb = 0
- postRawSensitivityBoostRange = [100, 100]
android.sensor:
- availableTestPatternModes = [0,1,2,4]
- blackLevelPattern = BlackLevelPattern([64, 64], [64, 64])
- calibrationTransform1 = ColorSpaceTransform([130/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 129/128])
- calibrationTransform2 = ColorSpaceTransform([130/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 129/128])
- colorTransform1 = ColorSpaceTransform([99/128, -15/128, -16/128], [-76/128, 182/128, 16/128], [-25/128, 43/128, 75/128])
- colorTransform2 = ColorSpaceTransform([187/128, -83/128, -27/128], [-73/128, 201/128, 19/128], [-7/128, 24/128, 116/128])
- forwardMatrix1 = ColorSpaceTransform([91/128, 11/128, 21/128], [37/128, 97/128, -6/128], [7/128, -39/128, 139/128])
- forwardMatrix2 = ColorSpaceTransform([77/128, 23/128, 24/128], [26/128, 101/128, 1/128], [-1/128, -48/128, 154/128])
- maxAnalogSensitivity = 1550
- orientation = 90
- referenceIlluminant1 = 21
- referenceIlluminant2 = 17
android.info:
- supportedHardwareLevel = HARDWARE_LEVEL_FULL
android.jpeg:
- availableThumbnailSizes = [0x0,176x144,240x144,256x144,240x160,256x154,240x240,320x240]
android.lens.info:
- availableApertures = [2.0]
- availableFilterDensities = [0.0]
- availableFocalLengths = [4.26]
- availableOpticalStabilization = [0]
- focusDistanceCalibration = 1
- hyperfocalDistance = 0.2204148
- minimumFocusDistance = 10.0
android.scaler:
- availableMaxDigitalZoom = 4.0
- croppingType = SCALER_CROPPING_TYPE_CENTER_ONLY
- streamConfigurationMap =
OutputFormats:
[4672x3504, RAW_SENSOR(32), min_dur:41666666, stall:200000000]
[4608x3456, JPEG(256), min_dur:41666666, stall:400000000]
[4608x2592, JPEG(256), min_dur:33333333, stall:366000000]
[4160x3120, JPEG(256), min_dur:41666666, stall:345000000]
[4000x3000, JPEG(256), min_dur:41666666, stall:258000000]
[3840x2160, JPEG(256), min_dur:33333333, stall:253000000]
[3264x2448, JPEG(256), min_dur:33333333, stall:243000000]
[3200x2400, JPEG(256), min_dur:33333333, stall:179000000]
[2976x2976, JPEG(256), min_dur:41666666, stall:161000000]
[2592x1944, JPEG(256), min_dur:33333333, stall:144000000]
[2592x1458, JPEG(256), min_dur:33333333, stall:142000000]
[2688x1512, JPEG(256), min_dur:33333333, stall:140000000]
[2592x1458, JPEG(256), min_dur:33333333, stall:142000000]
[2016x1512, JPEG(256), min_dur:33333333, stall:116000000]
[2048x1536, JPEG(256), min_dur:33333333, stall:108000000]
[1920x1080, JPEG(256), min_dur:33333333, stall:103000000]
[1600x1200, JPEG(256), min_dur:33333333, stall:99000000]
[1440x1080, JPEG(256), min_dur:33333333, stall:91000000]
[1280x960, JPEG(256), min_dur:33333333, stall:80000000]
[1280x768, JPEG(256), min_dur:33333333, stall:75000000]
[1280x720, JPEG(256), min_dur:33333333, stall:68000000]
[1024x768, JPEG(256), min_dur:33333333, stall:67000000]
[800x600, JPEG(256), min_dur:33333333, stall:66000000]
[864x480, JPEG(256), min_dur:33333333, stall:65000000]
[800x480, JPEG(256), min_dur:33333333, stall:61000000]
[720x480, JPEG(256), min_dur:33333333, stall:59000000]
[640x480, JPEG(256), min_dur:33333333, stall:49000000]
[640x360, JPEG(256), min_dur:33333333, stall:49000000]
[480x360, JPEG(256), min_dur:33333333, stall:48000000]
[480x320, JPEG(256), min_dur:33333333, stall:45000000]
[352x288, JPEG(256), min_dur:33333333, stall:30000000]
[320x240, JPEG(256), min_dur:33333333, stall:25000000]
[176x144, JPEG(256), min_dur:33333333, stall:0]
[4608x3456, PRIVATE(34), min_dur:41666666, stall:0]
[4608x2592, PRIVATE(34), min_dur:33333333, stall:0]
[4160x3120, PRIVATE(34), min_dur:41666666, stall:0]
[4000x3000, PRIVATE(34), min_dur:41666666, stall:0]
[3840x2160, PRIVATE(34), min_dur:33333333, stall:0]
[3264x2448, PRIVATE(34), min_dur:33333333, stall:0]
[3200x2400, PRIVATE(34), min_dur:33333333, stall:0]
[2976x2976, PRIVATE(34), min_dur:41666666, stall:0]
[2592x1944, PRIVATE(34), min_dur:33333333, stall:0]
[2592x1458, PRIVATE(34), min_dur:33333333, stall:0]
[2688x1512, PRIVATE(34), min_dur:33333333, stall:0]
[2592x1458, PRIVATE(34), min_dur:33333333, stall:0]
[2016x1512, PRIVATE(34), min_dur:33333333, stall:0]
[2048x1536, PRIVATE(34), min_dur:33333333, stall:0]
[1920x1080, PRIVATE(34), min_dur:33333333, stall:0]
[1600x1200, PRIVATE(34), min_dur:33333333, stall:0]
[1440x1080, PRIVATE(34), min_dur:33333333, stall:0]
[1280x960, PRIVATE(34), min_dur:33333333, stall:0]
[1280x768, PRIVATE(34), min_dur:33333333, stall:0]
[1280x720, PRIVATE(34), min_dur:33333333, stall:0]
[1024x768, PRIVATE(34), min_dur:33333333, stall:0]
[800x600, PRIVATE(34), min_dur:33333333, stall:0]
[864x480, PRIVATE(34), min_dur:33333333, stall:0]
[800x480, PRIVATE(34), min_dur:33333333, stall:0]
[720x480, PRIVATE(34), min_dur:33333333, stall:0]
[640x480, PRIVATE(34), min_dur:33333333, stall:0]
[640x360, PRIVATE(34), min_dur:33333333, stall:0]
[480x360, PRIVATE(34), min_dur:33333333, stall:0]
[480x320, PRIVATE(34), min_dur:33333333, stall:0]
[352x288, PRIVATE(34), min_dur:33333333, stall:0]
[320x240, PRIVATE(34), min_dur:33333333, stall:0]
[176x144, PRIVATE(34), min_dur:33333333, stall:0]
[4608x3456, YUV_420_888(35), min_dur:41666666, stall:0]
[4608x2592, YUV_420_888(35), min_dur:33333333, stall:0]
[4160x3120, YUV_420_888(35), min_dur:41666666, stall:0]
[4000x3000, YUV_420_888(35), min_dur:41666666, stall:0]
[3840x2160, YUV_420_888(35), min_dur:33333333, stall:0]
[3264x2448, YUV_420_888(35), min_dur:33333333, stall:0]
[3200x2400, YUV_420_888(35), min_dur:33333333, stall:0]
[2976x2976, YUV_420_888(35), min_dur:41666666, stall:0]
[2592x1944, YUV_420_888(35), min_dur:33333333, stall:0]
[2592x1458, YUV_420_888(35), min_dur:33333333, stall:0]
[2688x1512, YUV_420_888(35), min_dur:33333333, stall:0]
[2592x1458, YUV_420_888(35), min_dur:33333333, stall:0]
[2016x1512, YUV_420_888(35), min_dur:33333333, stall:0]
[2048x1536, YUV_420_888(35), min_dur:33333333, stall:0]
[1920x1080, YUV_420_888(35), min_dur:33333333, stall:0]
[1600x1200, YUV_420_888(35), min_dur:33333333, stall:0]
[1440x1080, YUV_420_888(35), min_dur:33333333, stall:0]
[1280x960, YUV_420_888(35), min_dur:33333333, stall:0]
[1280x768, YUV_420_888(35), min_dur:33333333, stall:0]
[1280x720, YUV_420_888(35), min_dur:33333333, stall:0]
[1024x768, YUV_420_888(35), min_dur:33333333, stall:0]
[800x600, YUV_420_888(35), min_dur:33333333, stall:0]
[864x480, YUV_420_888(35), min_dur:33333333, stall:0]
[800x480, YUV_420_888(35), min_dur:33333333, stall:0]
[720x480, YUV_420_888(35), min_dur:33333333, stall:0]
[640x480, YUV_420_888(35), min_dur:33333333, stall:0]
[640x360, YUV_420_888(35), min_dur:33333333, stall:0]
[480x360, YUV_420_888(35), min_dur:33333333, stall:0]
[480x320, YUV_420_888(35), min_dur:33333333, stall:0]
[352x288, YUV_420_888(35), min_dur:33333333, stall:0]
[320x240, YUV_420_888(35), min_dur:33333333, stall:0]
[176x144, YUV_420_888(35), min_dur:33333333, stall:0]
[4672x3504, RAW_PRIVATE(36), min_dur:41666666, stall:0]
[4672x3504, RAW10(37), min_dur:41666666, stall:0]
HighSpeedVideoConfigurations:
[480x360, min_fps:30, max_fps:120], [480x360, min_fps:120, max_fps:120], [1280x720, min_fps:30, max_fps:120], [1280x720, min_fps:120, max_fps:120], [176x144, min_fps:30, max_fps:120], [176x144, min_fps:120, max_fps:120], [720x480, min_fps:30, max_fps:120], [720x480, min_fps:120, max_fps:120], [640x480, min_fps:30, max_fps:120], [640x480, min_fps:120, max_fps:120], [640x360, min_fps:30, max_fps:120], [640x360, min_fps:120, max_fps:120], [320x240, min_fps:30, max_fps:120], [320x240, min_fps:120, max_fps:120], [480x320, min_fps:30, max_fps:120], [480x320, min_fps:120, max_fps:120], [800x480, min_fps:30, max_fps:120], [800x480, min_fps:120, max_fps:120], [864x480, min_fps:30, max_fps:120], [864x480, min_fps:120, max_fps:120], [352x288, min_fps:30, max_fps:120], [352x288, min_fps:120, max_fps:120]
InputsString:
4608x3456, PRIVATE(34),
4608x3456, YUV_420_888(35),
ValidOutputFormatsForInputString:
PRIVATE(34), out:JPEG(256), YUV_420_888(35)
YUV_420_888(35), out:JPEG(256), YUV_420_888(35)
android.colorCorrection:
- availableAberrationModes = [0,1,2]
android.sensor.info:
- activeArraySize = Rect(8, 8 - 4680, 3512)
- colorFilterArrangement = 3
- exposureTimeRange = [10874, 285723998]
- maxFrameDuration = 285793774
- physicalSize = 4.688x3.52
- pixelArraySize = 4688x3520
- preCorrectionActiveArraySize = Rect(8, 8 - 4680, 3512)
- sensitivityRange = [100, 1550]
- timestampSource = SOURCE_UNKNOWN
- whiteLevel = 1023
android.tonemap:
- availableToneMapModes = [0,1,2]
- maxCurvePoints = 512
android.flash.info:
- available = true
android.edge:
- availableEdgeModes = [0,1,2,3]
android.noiseReduction:
- availableNoiseReductionModes = [0,1,2,3,4]
android.hotPixel:
- availableHotPixelModes = [1,2]
Camera 1 (FRONT)
android.sync:
- maxLatency = SYNC_MAX_LATENCY_PER_FRAME_CONTROL
android.lens:
- facing = LENS_FACING_FRONT
android.request:
- availableCapabilities = [0,1,2,5,6,4,7,3]
- maxNumInputStreams = 1
- maxNumOutputProc = 3
- maxNumOutputProcStalling = 1
- maxNumOutputRaw = 1
- partialResultCount = 2
- pipelineMaxDepth = 8
android.statistics.info:
- availableFaceDetectModes = [0,1]
- availableHotPixelMapModes = [false]
- availableLensShadingMapModes = [0,1]
- maxFaceCount = 10
android.shading:
- availableModes = [0,1,2]
android.control:
- aeAvailableAntibandingModes = [0,2,1,3]
- aeAvailableModes = [0,1]
- aeAvailableTargetFpsRanges = [[7, 30],[30, 30],[8, 30]]
- aeCompensationRange = [-12, 12]
- aeCompensationStep = 1/6
- aeLockAvailable = true
- afAvailableModes = [0]
- availableEffects = [0,1,2,3,5]
- availableModes = [0,1,2]
- availableSceneModes = [4,9,8,10,5,3,13,11,15,12,14,6,7,2,1]
- availableVideoStabilizationModes = [0]
- awbAvailableModes = [1,2,3,4,5,6,7,8,0]
- awbLockAvailable = true
- maxRegionsAe = 1
- maxRegionsAf = 0
- maxRegionsAwb = 0
- postRawSensitivityBoostRange = [100, 100]
android.sensor:
- availableTestPatternModes = [0,1,2,0]
- blackLevelPattern = BlackLevelPattern([64, 64], [64, 64])
- calibrationTransform1 = ColorSpaceTransform([128/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 128/128])
- calibrationTransform2 = ColorSpaceTransform([128/128, 0/128, 0/128], [0/128, 128/128, 0/128], [0/128, 0/128, 128/128])
- colorTransform1 = ColorSpaceTransform([70/128, 10/128, -12/128], [-79/128, 188/128, 13/128], [-31/128, 58/128, 65/128])
- colorTransform2 = ColorSpaceTransform([95/128, 9/128, -32/128], [-70/128, 206/128, -3/128], [-8/128, 40/128, 78/128])
- forwardMatrix1 = ColorSpaceTransform([117/128, -21/128, 28/128], [48/128, 82/128, -2/128], [8/128, -63/128, 161/128])
- forwardMatrix2 = ColorSpaceTransform([108/128, -34/128, 49/128], [33/128, 78/128, 17/128], [-18/128, -101/128, 225/128])
- maxAnalogSensitivity = 1550
- orientation = 270
- referenceIlluminant1 = 21
- referenceIlluminant2 = 17
android.info:
- supportedHardwareLevel = HARDWARE_LEVEL_FULL
android.jpeg:
- availableThumbnailSizes = [0x0,176x144,240x144,256x144,240x160,256x154,240x240,320x240]
android.lens.info:
- availableApertures = [2.2]
- availableFilterDensities = [0.0]
- availableFocalLengths = [4.6]
- availableOpticalStabilization = [0]
- focusDistanceCalibration = 1
- hyperfocalDistance = 0.23289225
- minimumFocusDistance = 0.0
android.scaler:
- availableMaxDigitalZoom = 4.0
- croppingType = SCALER_CROPPING_TYPE_CENTER_ONLY
- streamConfigurationMap =
OutputFormats:
[2592x1944, RAW_SENSOR(32), min_dur:33333333, stall:60000000]
[2592x1944, JPEG(256), min_dur:33333333, stall:144000000]
[2592x1458, JPEG(256), min_dur:33333333, stall:142000000]
[2592x1458, JPEG(256), min_dur:33333333, stall:142000000]
[2016x1512, JPEG(256), min_dur:33333333, stall:116000000]
[2048x1536, JPEG(256), min_dur:33333333, stall:108000000]
[1920x1080, JPEG(256), min_dur:33333333, stall:103000000]
[1600x1200, JPEG(256), min_dur:33333333, stall:99000000]
[1440x1080, JPEG(256), min_dur:33333333, stall:91000000]
[1280x960, JPEG(256), min_dur:33333333, stall:80000000]
[1280x768, JPEG(256), min_dur:33333333, stall:75000000]
[1280x720, JPEG(256), min_dur:33333333, stall:68000000]
[1024x768, JPEG(256), min_dur:33333333, stall:67000000]
[800x600, JPEG(256), min_dur:33333333, stall:66000000]
[864x480, JPEG(256), min_dur:33333333, stall:65000000]
[800x480, JPEG(256), min_dur:33333333, stall:61000000]
[720x480, JPEG(256), min_dur:33333333, stall:59000000]
[640x480, JPEG(256), min_dur:33333333, stall:49000000]
[640x360, JPEG(256), min_dur:33333333, stall:49000000]
[480x360, JPEG(256), min_dur:33333333, stall:48000000]
[480x320, JPEG(256), min_dur:33333333, stall:45000000]
[352x288, JPEG(256), min_dur:33333333, stall:30000000]
[320x240, JPEG(256), min_dur:33333333, stall:25000000]
[176x144, JPEG(256), min_dur:33333333, stall:779000000]
[2592x1944, PRIVATE(34), min_dur:33333333, stall:0]
[2592x1458, PRIVATE(34), min_dur:33333333, stall:0]
[2592x1458, PRIVATE(34), min_dur:33333333, stall:0]
[2016x1512, PRIVATE(34), min_dur:33333333, stall:0]
[2048x1536, PRIVATE(34), min_dur:33333333, stall:0]
[1920x1080, PRIVATE(34), min_dur:33333333, stall:0]
[1600x1200, PRIVATE(34), min_dur:33333333, stall:0]
[1440x1080, PRIVATE(34), min_dur:33333333, stall:0]
[1280x960, PRIVATE(34), min_dur:33333333, stall:0]
[1280x768, PRIVATE(34), min_dur:33333333, stall:0]
[1280x720, PRIVATE(34), min_dur:33333333, stall:0]
[1024x768, PRIVATE(34), min_dur:33333333, stall:0]
[800x600, PRIVATE(34), min_dur:33333333, stall:0]
[864x480, PRIVATE(34), min_dur:33333333, stall:0]
[800x480, PRIVATE(34), min_dur:33333333, stall:0]
[720x480, PRIVATE(34), min_dur:33333333, stall:0]
[640x480, PRIVATE(34), min_dur:33333333, stall:0]
[640x360, PRIVATE(34), min_dur:33333333, stall:0]
[480x360, PRIVATE(34), min_dur:33333333, stall:0]
[480x320, PRIVATE(34), min_dur:33333333, stall:0]
[352x288, PRIVATE(34), min_dur:33333333, stall:0]
[320x240, PRIVATE(34), min_dur:33333333, stall:0]
[176x144, PRIVATE(34), min_dur:33333333, stall:0]
[2592x1944, YUV_420_888(35), min_dur:33333333, stall:0]
[2592x1458, YUV_420_888(35), min_dur:33333333, stall:0]
[2592x1458, YUV_420_888(35), min_dur:33333333, stall:0]
[2016x1512, YUV_420_888(35), min_dur:33333333, stall:0]
[2048x1536, YUV_420_888(35), min_dur:33333333, stall:0]
[1920x1080, YUV_420_888(35), min_dur:33333333, stall:0]
[1600x1200, YUV_420_888(35), min_dur:33333333, stall:0]
[1440x1080, YUV_420_888(35), min_dur:33333333, stall:0]
[1280x960, YUV_420_888(35), min_dur:33333333, stall:0]
[1280x768, YUV_420_888(35), min_dur:33333333, stall:0]
[1280x720, YUV_420_888(35), min_dur:33333333, stall:0]
[1024x768, YUV_420_888(35), min_dur:33333333, stall:0]
[800x600, YUV_420_888(35), min_dur:33333333, stall:0]
[864x480, YUV_420_888(35), min_dur:33333333, stall:0]
[800x480, YUV_420_888(35), min_dur:33333333, stall:0]
[720x480, YUV_420_888(35), min_dur:33333333, stall:0]
[640x480, YUV_420_888(35), min_dur:33333333, stall:0]
[640x360, YUV_420_888(35), min_dur:33333333, stall:0]
[480x360, YUV_420_888(35), min_dur:33333333, stall:0]
[480x320, YUV_420_888(35), min_dur:33333333, stall:0]
[352x288, YUV_420_888(35), min_dur:33333333, stall:0]
[320x240, YUV_420_888(35), min_dur:33333333, stall:0]
[176x144, YUV_420_888(35), min_dur:33333333, stall:0]
[2592x1944, RAW_PRIVATE(36), min_dur:33333333, stall:0]
[2592x1944, RAW10(37), min_dur:33333333, stall:0]
InputsString:
2592x1944, PRIVATE(34),
2592x1944, YUV_420_888(35),
ValidOutputFormatsForInputString:
PRIVATE(34), out:JPEG(256), YUV_420_888(35)
YUV_420_888(35), out:JPEG(256), YUV_420_888(35)
android.colorCorrection:
- availableAberrationModes = [0,1,2]
android.sensor.info:
- activeArraySize = Rect(0, 0 - 2592, 1944)
- colorFilterArrangement = 3
- exposureTimeRange = [16447, 442095360]
- maxFrameDuration = 442161148
- physicalSize = 2.90304x2.17728
- pixelArraySize = 2592x1944
- preCorrectionActiveArraySize = Rect(0, 0 - 2592, 1944)
- sensitivityRange = [100, 1550]
- timestampSource = SOURCE_UNKNOWN
- whiteLevel = 1023
android.tonemap:
- availableToneMapModes = [0,1,2]
- maxCurvePoints = 512
android.flash.info:
- available = false
android.edge:
- availableEdgeModes = [0,1,2,3]
android.noiseReduction:
- availableNoiseReductionModes = [0,1,2,3,4]
android.hotPixel:
- availableHotPixelModes = [1,2]

@Arnova8G2 the GCam5.1.018-Arnova8G2-V1.5Beta.apk works great, no issues with video now, no issues with rear or front portrait. The only issue the front camera is still upside down. By far the best version!! Thanks bro

2018/01/07 – GCMod5 based on Mod By B-S-G
Fix video for Android 7.x
Replace RAW12 by RAW_PRIVATE
Add toggle hdr+ in front camera for portrait mode (For hdr + front camera compatible devices)
And other internal improvement
GCam5.1.018-Arnova8G2-V1.5Beta2.apk

@Arnova8G2 this version works perfect no issues with portrait on rear or front

@Arnova8G2 Front camera took upside down pic, portrait mode took normal pic (no background blur) on Mi Mix RR Final 7.1.2

Hi. This version crashes on my Mi Mix. What version rom do I need to use this camera. I'm using MIUI Global 9.1 Stable. It is android version 7.0. Do I need 7.1? One other note. It actually works on my Huawei Mate 10!
EDIT: Actually HDR+ does not work on Huawei Mate 10. Sorry for digress...

@mscion You need to be rooted and install the camera2api enabler thru magisk. The Mix doesnt have this enabled or installed to start out with. Also I have not tried this mod on the Miui roms so not sure what else is needed. Hope that helps
@p.mantis I have the same issue I just use Photos to rotate it

@Ultraman666 Thanks, turns out the portrait mode does work, as long as the object is human. I still get FC in video mode tho, what settings do you use?

Mmmmmm weird, I don't get any FC... I will add the settings I use to the first post, hopefully that will help

the latest version crashes on MIUI 9 but worked great when I switched back to epic ROM.

@p.mantis uploaded screenshots of my settings in the OP

@Arnova8G2 This new version GCam5.1.018-Arnova8G2-V1.7Beta2.apk, works great no issues other than the front facing camera is still upside down. The pics come out perfect and the low light actually works really well. The setting for Pixel 2017 Zsl; Hdr+ still force closes, but I am using Pixel 2016 Tuning and the ZSL works great

@Arnova8G2 this is the best version for Mi Mix! Minor issue front camera still take upside down photo for HDR, HDR+ and portrait mode.
Thanks!
Mi Mix RR 7.1.2

@Arnova8G2 The latest version GcMod-Arnova8G2-v1.7beta2.apk works very very well, other than the upside down front facing camera, but no biggie there. Portrait works for both cameras and the low light actually works well!! The setting for Pixel 2017 Zsl; Hdr+ still force closes, but I am using Pixel 2016 Tuning and the ZSL works great

B-S-G released new version with ability to ajust manual focus and iso
https://drive.google.com/file/d/119hujYycBUxuVpCQv5EY-CS4481LxoSU/view?usp=drivesdk

Ya saw that last night and its pretty nice, works well on the Mix

I have also added to the second post the new Google Pixel Camera Mod

Related

[Q] Running into Bootloop after flashing stuff to /data/

this is my updater-script and i dont know why it is endig in a bootloop.. i hope someone can help me :/
assert(getprop("ro.product.device") == "ace" ||
getprop("ro.build.product") == "ace");
unmount("/system");
show_progress(0.500000, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
show_progress(0.500000, 40);
delete_recursive("/system");
format("MTD", "cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/sdext/dalvik-cache");
format("MTD", "boot");
show_progress(0.500000, 40);
package_extract_dir("system", "/system");
package_extract_dir("data", "/system");
mount("MTD", "userdata", "/data");
delete("/data/system/batterystats.bin");
package_extract_dir("data1", "/data");
symlink("/data/etc/hosts", "/system/etc/hosts");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/arp", "/system/xbin/ash", "/system/xbin/awk",
"/system/xbin/basename", "/system/xbin/bbconfig", "/system/xbin/brctl",
"/system/xbin/bunzip2", "/system/xbin/bzcat", "/system/xbin/bzip2",
"/system/xbin/cal", "/system/xbin/cat", "/system/xbin/catv",
"/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
"/system/xbin/chroot", "/system/xbin/cksum", "/system/xbin/clear",
"/system/xbin/cmp", "/system/xbin/cp", "/system/xbin/cpio",
"/system/xbin/cut", "/system/xbin/date", "/system/xbin/dc",
"/system/xbin/dd", "/system/xbin/depmod", "/system/xbin/devmem",
"/system/xbin/df", "/system/xbin/diff", "/system/xbin/dirname",
"/system/xbin/dmesg", "/system/xbin/dnsd", "/system/xbin/dos2unix",
"/system/xbin/du", "/system/xbin/echo", "/system/xbin/ed",
"/system/xbin/egrep", "/system/xbin/env", "/system/xbin/expr",
"/system/xbin/false", "/system/xbin/fdisk", "/system/xbin/fgrep",
"/system/xbin/find", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fuser", "/system/xbin/getopt",
"/system/xbin/grep", "/system/xbin/gunzip", "/system/xbin/gzip",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/id",
"/system/xbin/ifconfig", "/system/xbin/insmod", "/system/xbin/install",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/length", "/system/xbin/less",
"/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
"/system/xbin/lsmod", "/system/xbin/lspci", "/system/xbin/lsusb",
"/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/md5sum",
"/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",
"/system/xbin/mkfs.ext2", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modprobe", "/system/xbin/more",
"/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mv",
"/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nohup",
"/system/xbin/nslookup", "/system/xbin/ntpd", "/system/xbin/od",
"/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",
"/system/xbin/ping", "/system/xbin/pkill", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pwd",
"/system/xbin/rdev", "/system/xbin/readlink", "/system/xbin/realpath",
"/system/xbin/renice", "/system/xbin/reset", "/system/xbin/rm",
"/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",
"/system/xbin/run-parts", "/system/xbin/sed", "/system/xbin/seq",
"/system/xbin/setsid", "/system/xbin/sh", "/system/xbin/sha1sum",
"/system/xbin/sha256sum", "/system/xbin/sha512sum",
"/system/xbin/sleep", "/system/xbin/sort", "/system/xbin/split",
"/system/xbin/stat", "/system/xbin/strings", "/system/xbin/stty",
"/system/xbin/swapoff", "/system/xbin/swapon", "/system/xbin/sync",
"/system/xbin/sysctl", "/system/xbin/tac", "/system/xbin/tail",
"/system/xbin/tar", "/system/xbin/tee", "/system/xbin/telnet",
"/system/xbin/test", "/system/xbin/tftp", "/system/xbin/time",
"/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
"/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/tty",
"/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzop", "/system/xbin/unzip",
"/system/xbin/uptime", "/system/xbin/usleep", "/system/xbin/uudecode",
"/system/xbin/uuencode", "/system/xbin/vi", "/system/xbin/watch",
"/system/xbin/wc", "/system/xbin/wget", "/system/xbin/which",
"/system/xbin/whoami", "/system/xbin/xargs", "/system/xbin/yes",
"/system/xbin/zcat");
symlink("iwmulticall", "/system/xbin/iwconfig", "/system/xbin/iwgetid",
"/system/xbin/iwlist", "/system/xbin/iwpriv",
"/system/xbin/iwspy");
symlink("toolbox", "/system/bin/cat", "/system/bin/cmp",
"/system/bin/date", "/system/bin/dd", "/system/bin/dmesg",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/log", "/system/bin/lsmod",
"/system/bin/mkdir", "/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/reboot", "/system/bin/renice",
"/system/bin/rmdir", "/system/bin/rmmod", "/system/bin/route",
"/system/bin/schedtop", "/system/bin/sendevent",
"/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
"/system/bin/smd", "/system/bin/start", "/system/bin/stop",
"/system/bin/sync", "/system/bin/top", "/system/bin/uptime",
"/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/apply_firewall");
set_perm(0, 0, 06755, "/system/xbin/apply_theme");
set_perm(0, 0, 06755, "/system/xbin/dumplog");
set_perm(0, 0, 06755, "/system/xbin/hcitool");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/mv2sd");
set_perm(0, 0, 06755, "/system/xbin/ota");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.100000, 0);
unmount("/system");
unmount("/data");
Click to expand...
Click to collapse
i fail to see how this is development, please have the thread moved to the Q&A section. furthermore, an update-script is not something you can boot on a phone, does a rom belong to that? and the logcat will probably tell you the reason, you might wanna check that. if it doesn't do not dare to say "no it doesn't", post it here.
your right i'm sorry!
here is the link to the rom
http://miui-ger.de/index.php?page=Thread&threadID=68&pageNo=1
must be an problem with the permissions
sry i'm not able to get an logcat atm
fixed it myself
it was an permission problem:
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm_recursive(1000, 1000, 0777, 0776, "/data/system");
set_perm_recursive(1000, 1000, 0777, 0776, "/data/local");
Click to expand...
Click to collapse

Moderator can u close/delete/remove this thread thank you

Please Moderator can u close/delete/remove this thread thank you
Have you had a working boot.img?
Because of failing to find a perfect kernel,i give up to build one.
If you only need to write a updater-script,it's so easy for me.
Sent from my GT-S5660 using xda premium
Why we should want it? Just make fresh backup and restore when ever you want.
Sent from my GT-S5660 using Tapatalk
This is AWESOME!!
I have struggled with failed scripts and waited to someone to make it possible!
Also, my Gio's usb is fried, so i cant use odin :S
Good Luck!
EDIT: I think you can take a script from CM7?
Also, are you going to format partitions to rfs, since they are rfs in pure stock?
That may cause problems.
I only need meta inf
Sent from my GT-S5830 using xda premium
spacecaker said:
I only need meta inf
Do you have a kernel can boot from ext4 filesystem now?
CWM can't help you to format /system&/data&/cache to rfs.
Click to expand...
Click to collapse
czkwg8 said:
spacecaker said:
I only need meta inf
Do you have a kernel can boot from ext4 filesystem now?
CWM can't help you to format /system&/data&/cache to rfs.
Click to expand...
Click to collapse
I know
But oh.... Damm forgot the kernel
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
So, if its gonna happen, it will be stock rom in ext4?
Yes
Sent from my GT-S5830 using xda premium
hsrars-d said:
So, if its gonna happen, it will be stock rom in ext4?
Click to expand...
Click to collapse
This would be nice
ok kernel i have and rom only need the meta inf right now
then i can give some guys the beta version
Sent from my GT-S5830 using xda premium
ok i can test, maybe czkwg8 can make scriprs for it
Sent from my GT-S5660
hsrars-d said:
ok i can test, maybe czkwg8 can make scriprs for it
Sent from my GT-S5660
Click to expand...
Click to collapse
To be honest,scriprs are finished long ago.
Sent from my GT-S5660 using xda premium
assert(getprop("ro.product.device") == "GT-S5660" ||
getprop("ro.build.product") == "GT-S5660"
);
ui_print("Stock Gio");
ui_print("===========================");
ui_print("By: ");
ui_print("===========================");
show_progress(0.100000, 10);
unmount("/system");
unmount("/data");
unmount("/cache");
ui_print("[ ] Format system to ext4");
format("ext4", "EMMC", "/dev/block/stl12");
ui_print("[ ] Format cache to ext4");
format("ext4", "EMMC", "/dev/block/stl14");
ui_print("[ ] Format data to ext4");
format("ext4", "EMMC", "/dev/block/stl13");
ui_print("[ ] Format sd-ext to ext4");
format("ext4", "EMMC", "/dev/block/mmcblk0p2");
mount("ext4", "EMMC", "/dev/block/stl12", "/system");
mount("ext4", "EMMC", "/dev/block/stl13", "/data");
mount("ext4", "EMMC", "/dev/block/stl14", "/cache");
show_progress(0.500000, 40);
ui_print("[ ] Installing Files: SYSTEM");
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
ui_print("[ ] Setting Permissions");
set_perm(0, 0, 04755, "/system/xbin/sqlite3");
set_perm(0, 0, 04755, "/system/xbin/su");
set_perm(0, 0, 04755, "/system/xbin/sh");
set_perm(0, 0, 04755, "/system/xbin/busybox");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/arp", "/system/xbin/ash", "/system/xbin/awk",
"/system/xbin/base64", "/system/xbin/basename", "/system/xbin/bbconfig",
"/system/xbin/blockdev", "/system/xbin/brctl", "/system/xbin/bunzip2",
"/system/xbin/bzcat", "/system/xbin/bzip2", "/system/xbin/cal",
"/system/xbin/cat", "/system/xbin/catv", "/system/xbin/chattr",
"/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
"/system/xbin/chroot", "/system/xbin/clear", "/system/xbin/cmp",
"/system/xbin/comm", "/system/xbin/cp", "/system/xbin/cpio",
"/system/xbin/crond", "/system/xbin/crontab", "/system/xbin/cut",
"/system/xbin/date", "/system/xbin/dc", "/system/xbin/dd",
"/system/xbin/depmod", "/system/xbin/devmem", "/system/xbin/df",
"/system/xbin/diff", "/system/xbin/dirname", "/system/xbin/dmesg",
"/system/xbin/dnsd", "/system/xbin/dos2unix", "/system/xbin/du",
"/system/xbin/echo", "/system/xbin/ed", "/system/xbin/egrep",
"/system/xbin/env", "/system/xbin/expand", "/system/xbin/expr",
"/system/xbin/false", "/system/xbin/fdisk", "/system/xbin/fgrep",
"/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fsync", "/system/xbin/ftpget",
"/system/xbin/ftpput", "/system/xbin/fuser", "/system/xbin/getopt",
"/system/xbin/grep", "/system/xbin/groups", "/system/xbin/gunzip",
"/system/xbin/gzip", "/system/xbin/halt", "/system/xbin/head",
"/system/xbin/hexdump", "/system/xbin/id", "/system/xbin/ifconfig",
"/system/xbin/insmod", "/system/xbin/install", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/length", "/system/xbin/less",
"/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
"/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lsusb",
"/system/xbin/lzcat", "/system/xbin/lzma", "/system/xbin/lzop",
"/system/xbin/lzopcat", "/system/xbin/man", "/system/xbin/md5sum",
"/system/xbin/mesg", "/system/xbin/mkdir", "/system/xbin/mke2fs",
"/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid", "/system/xbin/sh",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",
"/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",
"/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",
"/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",
"/system/xbin/true", "/system/xbin/ttysize", "/system/xbin/tune2fs",
"/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uncompress",
"/system/xbin/unexpand", "/system/xbin/uniq", "/system/xbin/unix2dos",
"/system/xbin/unlzma", "/system/xbin/unlzop", "/system/xbin/unxz",
"/system/xbin/unzip", "/system/xbin/uptime", "/system/xbin/usleep",
"/system/xbin/uudecode", "/system/xbin/uuencode", "/system/xbin/vi",
"/system/xbin/watch", "/system/xbin/wc", "/system/xbin/wget",
"/system/xbin/which", "/system/xbin/whoami", "/system/xbin/xargs",
"/system/xbin/xz", "/system/xbin/xzcat", "/system/xbin/yes",
"/system/xbin/zcat");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
show_progress(0.200000, 10);
ui_print("[ ] Install Kernel");
delete("/system/bin/dtinstall");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.100000, 0);
ui_print("[ ] Unmount Partition: SYSTEM");
run_program("/sbin/umount", "/system");
ui_print("[*] Installation Complete.");
ui_print("");
ui_print("Enjoy Youself");
ui_print("By :");
ui_print("");
Do some edit to make it fit your ROM.
czkwg8 said:
assert(getprop("ro.product.device") == "GT-S5660" ||
getprop("ro.build.product") == "GT-S5660"
);
ui_print("Stock Gio");
ui_print("===========================");
ui_print("By: ");
ui_print("===========================");
show_progress(0.100000, 10);
unmount("/system");
unmount("/data");
unmount("/cache");
ui_print("[ ] Format system to ext4");
format("ext4", "EMMC", "/dev/block/stl12");
ui_print("[ ] Format cache to ext4");
format("ext4", "EMMC", "/dev/block/stl14");
ui_print("[ ] Format data to ext4");
format("ext4", "EMMC", "/dev/block/stl13");
ui_print("[ ] Format sd-ext to ext4");
format("ext4", "EMMC", "/dev/block/mmcblk0p2");
mount("ext4", "EMMC", "/dev/block/stl12", "/system");
mount("ext4", "EMMC", "/dev/block/stl13", "/data");
mount("ext4", "EMMC", "/dev/block/stl14", "/cache");
show_progress(0.500000, 40);
ui_print("[ ] Installing Files: SYSTEM");
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
ui_print("[ ] Setting Permissions");
set_perm(0, 0, 04755, "/system/xbin/sqlite3");
set_perm(0, 0, 04755, "/system/xbin/su");
set_perm(0, 0, 04755, "/system/xbin/sh");
set_perm(0, 0, 04755, "/system/xbin/busybox");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/arp", "/system/xbin/ash", "/system/xbin/awk",
"/system/xbin/base64", "/system/xbin/basename", "/system/xbin/bbconfig",
"/system/xbin/blockdev", "/system/xbin/brctl", "/system/xbin/bunzip2",
"/system/xbin/bzcat", "/system/xbin/bzip2", "/system/xbin/cal",
"/system/xbin/cat", "/system/xbin/catv", "/system/xbin/chattr",
"/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
"/system/xbin/chroot", "/system/xbin/clear", "/system/xbin/cmp",
"/system/xbin/comm", "/system/xbin/cp", "/system/xbin/cpio",
"/system/xbin/crond", "/system/xbin/crontab", "/system/xbin/cut",
"/system/xbin/date", "/system/xbin/dc", "/system/xbin/dd",
"/system/xbin/depmod", "/system/xbin/devmem", "/system/xbin/df",
"/system/xbin/diff", "/system/xbin/dirname", "/system/xbin/dmesg",
"/system/xbin/dnsd", "/system/xbin/dos2unix", "/system/xbin/du",
"/system/xbin/echo", "/system/xbin/ed", "/system/xbin/egrep",
"/system/xbin/env", "/system/xbin/expand", "/system/xbin/expr",
"/system/xbin/false", "/system/xbin/fdisk", "/system/xbin/fgrep",
"/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fsync", "/system/xbin/ftpget",
"/system/xbin/ftpput", "/system/xbin/fuser", "/system/xbin/getopt",
"/system/xbin/grep", "/system/xbin/groups", "/system/xbin/gunzip",
"/system/xbin/gzip", "/system/xbin/halt", "/system/xbin/head",
"/system/xbin/hexdump", "/system/xbin/id", "/system/xbin/ifconfig",
"/system/xbin/insmod", "/system/xbin/install", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/length", "/system/xbin/less",
"/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
"/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lsusb",
"/system/xbin/lzcat", "/system/xbin/lzma", "/system/xbin/lzop",
"/system/xbin/lzopcat", "/system/xbin/man", "/system/xbin/md5sum",
"/system/xbin/mesg", "/system/xbin/mkdir", "/system/xbin/mke2fs",
"/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid", "/system/xbin/sh",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",
"/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",
"/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",
"/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",
"/system/xbin/true", "/system/xbin/ttysize", "/system/xbin/tune2fs",
"/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uncompress",
"/system/xbin/unexpand", "/system/xbin/uniq", "/system/xbin/unix2dos",
"/system/xbin/unlzma", "/system/xbin/unlzop", "/system/xbin/unxz",
"/system/xbin/unzip", "/system/xbin/uptime", "/system/xbin/usleep",
"/system/xbin/uudecode", "/system/xbin/uuencode", "/system/xbin/vi",
"/system/xbin/watch", "/system/xbin/wc", "/system/xbin/wget",
"/system/xbin/which", "/system/xbin/whoami", "/system/xbin/xargs",
"/system/xbin/xz", "/system/xbin/xzcat", "/system/xbin/yes",
"/system/xbin/zcat");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
show_progress(0.200000, 10);
ui_print("[ ] Install Kernel");
delete("/system/bin/dtinstall");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.100000, 0);
ui_print("[ ] Unmount Partition: SYSTEM");
run_program("/sbin/umount", "/system");
ui_print("
[*] Installation Complete.");
ui_print("");
ui_print("Enjoy Youself");
ui_print("By :");
ui_print("");
Do some edit to make it fit your ROM.
Click to expand...
Click to collapse
ok will see
Sent from my GT-S5830 using xda premium
Guess you never saw lol
Sent from my GT-S5560M from Canada eh
Hey, has this ever came along?
czkwg8 said:
assert(getprop("ro.product.device") == "GT-S5660" ||
getprop("ro.build.product") == "GT-S5660"
);
ui_print("Stock Gio");
ui_print("===========================");
ui_print("By: ");
ui_print("===========================");
show_progress(0.100000, 10);
unmount("/system");
unmount("/data");
unmount("/cache");
ui_print("[ ] Format system to ext4");
format("ext4", "EMMC", "/dev/block/stl12");
ui_print("[ ] Format cache to ext4");
format("ext4", "EMMC", "/dev/block/stl14");
ui_print("[ ] Format data to ext4");
format("ext4", "EMMC", "/dev/block/stl13");
ui_print("[ ] Format sd-ext to ext4");
format("ext4", "EMMC", "/dev/block/mmcblk0p2");
mount("ext4", "EMMC", "/dev/block/stl12", "/system");
mount("ext4", "EMMC", "/dev/block/stl13", "/data");
mount("ext4", "EMMC", "/dev/block/stl14", "/cache");
show_progress(0.500000, 40);
ui_print("[ ] Installing Files: SYSTEM");
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
ui_print("[ ] Setting Permissions");
set_perm(0, 0, 04755, "/system/xbin/sqlite3");
set_perm(0, 0, 04755, "/system/xbin/su");
set_perm(0, 0, 04755, "/system/xbin/sh");
set_perm(0, 0, 04755, "/system/xbin/busybox");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/arp", "/system/xbin/ash", "/system/xbin/awk",
"/system/xbin/base64", "/system/xbin/basename", "/system/xbin/bbconfig",
"/system/xbin/blockdev", "/system/xbin/brctl", "/system/xbin/bunzip2",
"/system/xbin/bzcat", "/system/xbin/bzip2", "/system/xbin/cal",
"/system/xbin/cat", "/system/xbin/catv", "/system/xbin/chattr",
"/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
"/system/xbin/chroot", "/system/xbin/clear", "/system/xbin/cmp",
"/system/xbin/comm", "/system/xbin/cp", "/system/xbin/cpio",
"/system/xbin/crond", "/system/xbin/crontab", "/system/xbin/cut",
"/system/xbin/date", "/system/xbin/dc", "/system/xbin/dd",
"/system/xbin/depmod", "/system/xbin/devmem", "/system/xbin/df",
"/system/xbin/diff", "/system/xbin/dirname", "/system/xbin/dmesg",
"/system/xbin/dnsd", "/system/xbin/dos2unix", "/system/xbin/du",
"/system/xbin/echo", "/system/xbin/ed", "/system/xbin/egrep",
"/system/xbin/env", "/system/xbin/expand", "/system/xbin/expr",
"/system/xbin/false", "/system/xbin/fdisk", "/system/xbin/fgrep",
"/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fsync", "/system/xbin/ftpget",
"/system/xbin/ftpput", "/system/xbin/fuser", "/system/xbin/getopt",
"/system/xbin/grep", "/system/xbin/groups", "/system/xbin/gunzip",
"/system/xbin/gzip", "/system/xbin/halt", "/system/xbin/head",
"/system/xbin/hexdump", "/system/xbin/id", "/system/xbin/ifconfig",
"/system/xbin/insmod", "/system/xbin/install", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/length", "/system/xbin/less",
"/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
"/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lsusb",
"/system/xbin/lzcat", "/system/xbin/lzma", "/system/xbin/lzop",
"/system/xbin/lzopcat", "/system/xbin/man", "/system/xbin/md5sum",
"/system/xbin/mesg", "/system/xbin/mkdir", "/system/xbin/mke2fs",
"/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid", "/system/xbin/sh",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",
"/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",
"/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",
"/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",
"/system/xbin/true", "/system/xbin/ttysize", "/system/xbin/tune2fs",
"/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uncompress",
"/system/xbin/unexpand", "/system/xbin/uniq", "/system/xbin/unix2dos",
"/system/xbin/unlzma", "/system/xbin/unlzop", "/system/xbin/unxz",
"/system/xbin/unzip", "/system/xbin/uptime", "/system/xbin/usleep",
"/system/xbin/uudecode", "/system/xbin/uuencode", "/system/xbin/vi",
"/system/xbin/watch", "/system/xbin/wc", "/system/xbin/wget",
"/system/xbin/which", "/system/xbin/whoami", "/system/xbin/xargs",
"/system/xbin/xz", "/system/xbin/xzcat", "/system/xbin/yes",
"/system/xbin/zcat");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
show_progress(0.200000, 10);
ui_print("[ ] Install Kernel");
delete("/system/bin/dtinstall");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.100000, 0);
ui_print("[ ] Unmount Partition: SYSTEM");
run_program("/sbin/umount", "/system");
ui_print("
[*] Installation Complete.");
ui_print("");
ui_print("Enjoy Youself");
ui_print("By :");
ui_print("");
Do some edit to make it fit your ROM.
Click to expand...
Click to collapse
Make format or remove./system to ext2/rfs.
Cz stock ROM with stock.kernel usually take support only ext2.
So, format it to ext2 I think.
Or only rfs.with "rm -rf" command.
For cleaning/purging system
Maybe tis can help.ya
Sent from my GT-S5660 using Tapatalk
Are you saying that cwm can format to rfs?
Sent from my GT-S5660 using XDA Premium App
hsrars-d said:
Are you saying that cwm can format to rfs?
Sent from my GT-S5660 using XDA Premium App
Click to expand...
Click to collapse
I wrote that it can format system to ext2. . like stock kernel. .
So, it's only support rfs n ext2 system.
hihihi.

[PORT]ParanoidAndroid-CM10-test verision 1

WELCOME ​
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.
*/
Hi i am Darksherko U might know me from my older MODS on the x10 or the HTC One X
This release is based on CM10 by the fxp team and the port is from the Galaxy nexus it's not a full release but just a testing one.
it's the latest verision of PA but it has the issues and bugs that CM10 by fxp team has too so no camera preview.
Click to expand...
Click to collapse
I have NOT tested it yet since my uncle has my xperia and i have his samsung swapped for a week, but it should work with the boot.img that fxp supplied us with.
Click to expand...
Click to collapse
What is ParanoidAndroid? It's a ROM based on cm10/cm9 wich has a special feature wich it's mostly famous for it's called:Hybrid mode.
What does hybrid mode do? It makes you have control over the DPI in every app and it allows you to have tablet apps but still use the phone UI or vice versa.
http://www.youtube.com/watch?v=iJS8ixsRyRw
Click to expand...
Click to collapse
Downloads
PA-http://www.mediafire.com/?1vztdvkxzgmcs17
Gapps-http://www.mediafire.com/?poy8wry4d2dj25y
Click to expand...
Click to collapse
Instructions
1-Download the zip and put it on the root of your phone.
2-Boot in to recovery and make a NANDROID backup (optional but reccomended!)
3-Flash zip
4-Wipe
5-Flash Gapps
6-Test ROM if any bugs issues tell me!
Click to expand...
Click to collapse
I need people to help me out fixing this if something is wrong i'm still 14 and don't have that much time (mostly only weekends)
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
reserved
i'm downloading, and testing after !
i've been waiting for this ROM for a long time
skymike03 said:
i'm downloading, and testing after !
Click to expand...
Click to collapse
Thank you tell if it boots!
E: Error in /sdcard/ROM/ParanoidAndroid-UNOFFICIAL-nozomi.zip
(Status 6)
Installation aborted
Config : Xperia S - Unlocked BL - Root .. Test with doomkernel and SSpeedKernel .
Wipe data / cache / system / dalvik cache .
Clokworkmodrecovery 5.5.0.4 ..
Any idea?
downloaded the file 2 times with different browser.
probably a problem with "updater-script" ?
flashed many roms before, without problems.
skymike03 said:
E: Error in /sdcard/ROM/ParanoidAndroid-UNOFFICIAL-nozomi.zip
(Status 6)
Installation aborted
Config : Xperia S - Unlocked BL - Root .. Test with doomkernel and SSpeedKernel .
Wipe data / cache / system / dalvik cache .
Clokworkmodrecovery 5.5.0.4 ..
Any idea?
downloaded the file 2 times with different browser.
probably a problem with "updater-script" ?
flashed many roms before, without problems.
Click to expand...
Click to collapse
I think it is updater issue i will take a look!
This is my updater script i don't see any issues?
Code:
assert(getprop("ro.product.device") == "LT26i" || getprop("ro.build.product") == "LT26i" ||
getprop("ro.product.device") == "LT26a" || getprop("ro.build.product") == "LT26a" ||
getprop("ro.product.device") == "nozomi" || getprop("ro.build.product") == "nozomi");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p12", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_dir("system", "/system");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",
"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",
"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",
"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",
"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",
"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fdisk", "/system/xbin/fgrep", "/system/xbin/find",
"/system/xbin/flash_lock", "/system/xbin/flash_unlock",
"/system/xbin/flashcp", "/system/xbin/flock", "/system/xbin/fold",
"/system/xbin/free", "/system/xbin/freeramdisk", "/system/xbin/fsync",
"/system/xbin/ftpget", "/system/xbin/ftpput", "/system/xbin/fuser",
"/system/xbin/getopt", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/id",
"/system/xbin/ifconfig", "/system/xbin/inetd", "/system/xbin/insmod",
"/system/xbin/install", "/system/xbin/iostat", "/system/xbin/ip",
"/system/xbin/kill", "/system/xbin/killall", "/system/xbin/killall5",
"/system/xbin/length", "/system/xbin/less", "/system/xbin/ln",
"/system/xbin/losetup", "/system/xbin/ls", "/system/xbin/lsattr",
"/system/xbin/lsmod", "/system/xbin/lsusb", "/system/xbin/lzcat",
"/system/xbin/lzma", "/system/xbin/lzop", "/system/xbin/lzopcat",
"/system/xbin/man", "/system/xbin/md5sum", "/system/xbin/mesg",
"/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",
"/system/xbin/mkfs.ext2", "/system/xbin/mkfs.vfat",
"/system/xbin/mknod", "/system/xbin/mkswap", "/system/xbin/mktemp",
"/system/xbin/modinfo", "/system/xbin/modprobe", "/system/xbin/more",
"/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mpstat",
"/system/xbin/mv", "/system/xbin/nanddump", "/system/xbin/nandwrite",
"/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nohup",
"/system/xbin/nslookup", "/system/xbin/ntpd", "/system/xbin/od",
"/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",
"/system/xbin/ping", "/system/xbin/pkill", "/system/xbin/pmap",
"/system/xbin/poweroff", "/system/xbin/printenv", "/system/xbin/printf",
"/system/xbin/ps", "/system/xbin/pstree", "/system/xbin/pwd",
"/system/xbin/pwdx", "/system/xbin/rdev", "/system/xbin/readlink",
"/system/xbin/realpath", "/system/xbin/renice", "/system/xbin/reset",
"/system/xbin/resize", "/system/xbin/rev", "/system/xbin/rm",
"/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",
"/system/xbin/run-parts", "/system/xbin/rx", "/system/xbin/sed",
"/system/xbin/seq", "/system/xbin/setconsole", "/system/xbin/setserial",
"/system/xbin/setsid", "/system/xbin/sh", "/system/xbin/sha1sum",
"/system/xbin/sha256sum", "/system/xbin/sha512sum",
"/system/xbin/sleep", "/system/xbin/sort", "/system/xbin/split",
"/system/xbin/stat", "/system/xbin/strings", "/system/xbin/stty",
"/system/xbin/sum", "/system/xbin/swapoff", "/system/xbin/swapon",
"/system/xbin/sync", "/system/xbin/sysctl", "/system/xbin/tac",
"/system/xbin/tail", "/system/xbin/tar", "/system/xbin/taskset",
"/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",
"/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",
"/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",
"/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",
"/system/xbin/true", "/system/xbin/ttysize", "/system/xbin/tune2fs",
"/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uncompress",
"/system/xbin/unexpand", "/system/xbin/uniq", "/system/xbin/unix2dos",
"/system/xbin/unlzma", "/system/xbin/unlzop", "/system/xbin/unxz",
"/system/xbin/unzip", "/system/xbin/uptime", "/system/xbin/usleep",
"/system/xbin/uudecode", "/system/xbin/uuencode", "/system/xbin/vi",
"/system/xbin/watch", "/system/xbin/wc", "/system/xbin/wget",
"/system/xbin/which", "/system/xbin/whoami", "/system/xbin/xargs",
"/system/xbin/xz", "/system/xbin/xzcat", "/system/xbin/yes",
"/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/md5", "/system/bin/mkdir", "/system/bin/mount",
"/system/bin/mv", "/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/rm", "/system/bin/rmdir",
"/system/bin/rmmod", "/system/bin/route", "/system/bin/schedtop",
"/system/bin/sendevent", "/system/bin/setconsole",
"/system/bin/setprop", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/sync",
"/system/bin/top", "/system/bin/touch", "/system/bin/umount",
"/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm(0, 2000, 0755, "/system/vendor/etc");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/res");
set_perm(0, 0, 0644, "/system/vendor/res/images/dock/dock.png");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
show_progress(0.200000, 0);
package_extract_file("system/bin/modelid_cfg.sh", "/tmp/modelid_cfg.sh");
set_perm(0, 0, 0777, "/tmp/modelid_cfg.sh");
run_program("/tmp/modelid_cfg.sh", "");
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/platform/omap/omap_hsmmc.0/by-name/boot");
show_progress(0.100000, 0);
ui_print("Fixing fs_size in crypto footer...");
assert(sony.fs_size_fix());
unmount("/system");
hum.. other Rom's updater-script doesn't look like this one.. exemple for a KA ROM :
Code:
ui_print("==============Sony Xperia S==============");ui_print("= KA02 Xperia SSpeed =");ui_print("=============by krabappel2548============");
ui_print("Mounting system...");
ui_print("");
ui_print("Wiping everything...");
run_program("/sbin/busybox", "mount", "/system");
delete_recursive("/system");
run_program("/sbin/busybox", "umount", "/system");
ui_print("");
ui_print("Installing rom...");
run_program("/sbin/busybox", "mount", "/cache");
delete_recursive("/cache");
run_program("/sbin/busybox", "umount", "/cache");
show_progress(1, 15);
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/ctrlaltdel");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm(0, 0, 0644, "/system/vendor/etc/gps.xml");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
symlink("/system/xbin/busybox", "/system/bin/busybox");
package_extract_file("installbusybox", "/tmp/installbusybox");
set_perm(0, 0, 0777, "/tmp/installbusybox");
run_program("/tmp/installbusybox");
show_progress(0.1, 10);
show_progress(0.2, 0);
show_progress(0.2, 10);
ui_print("Finishing installation...");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Reboot & Enjoy :D");
I deleted all the "getprop" lines, but the same error happens.
i don't know what is "status 6" error ..
i'll take a look here : http://forum.xda-developers.com/showthread.php?t=840446#16922375
edit : you script is good, encoding is great... i've no idea why it won't run on my phone..
stole rom ok good rom darko i stole ok i make sony for you rom ok i use rom for miui but admin made rom go aways so i made rom again!
Testing with Advanced Stock Kernel and CWM Recovery 6.0.1.1 : nok
Have you got an idea
I believe the following line should not be there as we are not on an omap platform.
Code:
package_extract_file("boot.img", "/dev/block/platform/omap/omap_hsmmc.0/by-name/boot");
should look like this.
Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p3");
Status6 and 7 are get prop errors you should delete these lines from updater-script
assert(getprop("ro.product.device") == "LT26i" || getprop("ro.build.product") == "LT26i" ||
getprop("ro.product.device") == "LT26a" || getprop("ro.build.product") == "LT26a" ||
getprop("ro.product.device") == "nozomi" || getprop("ro.build.product") == "nozomi");
i've already deleted this lines before like i told .
i have tested krazyazy Tip, but don't work too !!
Always Status 6 error !
updater-script looks like this now :
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p12", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_dir("system", "/system");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",
"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",
"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",
"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",
"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",
"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fdisk", "/system/xbin/fgrep", "/system/xbin/find",
"/system/xbin/flash_lock", "/system/xbin/flash_unlock",
"/system/xbin/flashcp", "/system/xbin/flock", "/system/xbin/fold",
"/system/xbin/free", "/system/xbin/freeramdisk", "/system/xbin/fsync",
"/system/xbin/ftpget", "/system/xbin/ftpput", "/system/xbin/fuser",
"/system/xbin/getopt", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/id",
"/system/xbin/ifconfig", "/system/xbin/inetd", "/system/xbin/insmod",
"/system/xbin/install", "/system/xbin/iostat", "/system/xbin/ip",
"/system/xbin/kill", "/system/xbin/killall", "/system/xbin/killall5",
"/system/xbin/length", "/system/xbin/less", "/system/xbin/ln",
"/system/xbin/losetup", "/system/xbin/ls", "/system/xbin/lsattr",
"/system/xbin/lsmod", "/system/xbin/lsusb", "/system/xbin/lzcat",
"/system/xbin/lzma", "/system/xbin/lzop", "/system/xbin/lzopcat",
"/system/xbin/man", "/system/xbin/md5sum", "/system/xbin/mesg",
"/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",
"/system/xbin/mkfs.ext2", "/system/xbin/mkfs.vfat",
"/system/xbin/mknod", "/system/xbin/mkswap", "/system/xbin/mktemp",
"/system/xbin/modinfo", "/system/xbin/modprobe", "/system/xbin/more",
"/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mpstat",
"/system/xbin/mv", "/system/xbin/nanddump", "/system/xbin/nandwrite",
"/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nohup",
"/system/xbin/nslookup", "/system/xbin/ntpd", "/system/xbin/od",
"/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",
"/system/xbin/ping", "/system/xbin/pkill", "/system/xbin/pmap",
"/system/xbin/poweroff", "/system/xbin/printenv", "/system/xbin/printf",
"/system/xbin/ps", "/system/xbin/pstree", "/system/xbin/pwd",
"/system/xbin/pwdx", "/system/xbin/rdev", "/system/xbin/readlink",
"/system/xbin/realpath", "/system/xbin/renice", "/system/xbin/reset",
"/system/xbin/resize", "/system/xbin/rev", "/system/xbin/rm",
"/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",
"/system/xbin/run-parts", "/system/xbin/rx", "/system/xbin/sed",
"/system/xbin/seq", "/system/xbin/setconsole", "/system/xbin/setserial",
"/system/xbin/setsid", "/system/xbin/sh", "/system/xbin/sha1sum",
"/system/xbin/sha256sum", "/system/xbin/sha512sum",
"/system/xbin/sleep", "/system/xbin/sort", "/system/xbin/split",
"/system/xbin/stat", "/system/xbin/strings", "/system/xbin/stty",
"/system/xbin/sum", "/system/xbin/swapoff", "/system/xbin/swapon",
"/system/xbin/sync", "/system/xbin/sysctl", "/system/xbin/tac",
"/system/xbin/tail", "/system/xbin/tar", "/system/xbin/taskset",
"/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",
"/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",
"/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",
"/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",
"/system/xbin/true", "/system/xbin/ttysize", "/system/xbin/tune2fs",
"/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uncompress",
"/system/xbin/unexpand", "/system/xbin/uniq", "/system/xbin/unix2dos",
"/system/xbin/unlzma", "/system/xbin/unlzop", "/system/xbin/unxz",
"/system/xbin/unzip", "/system/xbin/uptime", "/system/xbin/usleep",
"/system/xbin/uudecode", "/system/xbin/uuencode", "/system/xbin/vi",
"/system/xbin/watch", "/system/xbin/wc", "/system/xbin/wget",
"/system/xbin/which", "/system/xbin/whoami", "/system/xbin/xargs",
"/system/xbin/xz", "/system/xbin/xzcat", "/system/xbin/yes",
"/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/md5", "/system/bin/mkdir", "/system/bin/mount",
"/system/bin/mv", "/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/rm", "/system/bin/rmdir",
"/system/bin/rmmod", "/system/bin/route", "/system/bin/schedtop",
"/system/bin/sendevent", "/system/bin/setconsole",
"/system/bin/setprop", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/sync",
"/system/bin/top", "/system/bin/touch", "/system/bin/umount",
"/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm(0, 2000, 0755, "/system/vendor/etc");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/res");
set_perm(0, 0, 0644, "/system/vendor/res/images/dock/dock.png");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
show_progress(0.200000, 0);
package_extract_file("system/bin/modelid_cfg.sh", "/tmp/modelid_cfg.sh");
set_perm(0, 0, 0777, "/tmp/modelid_cfg.sh");
run_program("/tmp/modelid_cfg.sh", "");
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/mmcblk0p3");
show_progress(0.100000, 0);
ui_print("Fixing fs_size in crypto footer...");
assert(samsung.fs_size_fix());
unmount("/system");
Missing a new line at the end of the script. When looking at other updater-scripts (CM9,CM10, Defy CM7), they all have a new line after the last line of code.
I would also assume that the code below is irrelevant for us. I'm no developer, but that's just my thoughts.
Code:
ui_print("Fixing fs_size in crypto footer...");
assert(samsung.fs_size_fix());
Ok
Downloading and then testing
Thank you for ur work , i'll give feedback
I have the status 6 problem!not working for me!
I tried editing the update-script and doesn't seem to be working!
chesterr said:
I have the status 6 problem!not working for me!
I tried editing the update-script and doesn't seem to be working!
Click to expand...
Click to collapse
Very weird! i can't manage to see what the issue is and i have no Xperia to test on it right now :S
Status 6 ERROR
chesterr said:
I have the status 6 problem!not working for me!
Click to expand...
Click to collapse
me too :crying:
darksherko said:
Very weird! i can't manage to see what the issue is and i have no Xperia to test on it right now :S
Click to expand...
Click to collapse
what about this?
Code:
assert(getprop("ro.product.device") == "LT26i" || getprop("ro.build.product") == "LT26i" ||
getprop("ro.product.device") == "LT26a" || getprop("ro.build.product") == "LT26a" ||
getprop("ro.product.device") == "nozomi" || getprop("ro.build.product") == "nozomi");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p12", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_dir("system", "/system");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",
"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",
"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",
"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",
"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",
"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fdisk", "/system/xbin/fgrep", "/system/xbin/find",
"/system/xbin/flash_lock", "/system/xbin/flash_unlock",
"/system/xbin/flashcp", "/system/xbin/flock", "/system/xbin/fold",
"/system/xbin/free", "/system/xbin/freeramdisk", "/system/xbin/fsync",
"/system/xbin/ftpget", "/system/xbin/ftpput", "/system/xbin/fuser",
"/system/xbin/getopt", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/id",
"/system/xbin/ifconfig", "/system/xbin/inetd", "/system/xbin/insmod",
"/system/xbin/install", "/system/xbin/iostat", "/system/xbin/ip",
"/system/xbin/kill", "/system/xbin/killall", "/system/xbin/killall5",
"/system/xbin/length", "/system/xbin/less", "/system/xbin/ln",
"/system/xbin/losetup", "/system/xbin/ls", "/system/xbin/lsattr",
"/system/xbin/lsmod", "/system/xbin/lsusb", "/system/xbin/lzcat",
"/system/xbin/lzma", "/system/xbin/lzop", "/system/xbin/lzopcat",
"/system/xbin/man", "/system/xbin/md5sum", "/system/xbin/mesg",
"/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",
"/system/xbin/mkfs.ext2", "/system/xbin/mkfs.vfat",
"/system/xbin/mknod", "/system/xbin/mkswap", "/system/xbin/mktemp",
"/system/xbin/modinfo", "/system/xbin/modprobe", "/system/xbin/more",
"/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mpstat",
"/system/xbin/mv", "/system/xbin/nanddump", "/system/xbin/nandwrite",
"/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nohup",
"/system/xbin/nslookup", "/system/xbin/ntpd", "/system/xbin/od",
"/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",
"/system/xbin/ping", "/system/xbin/pkill", "/system/xbin/pmap",
"/system/xbin/poweroff", "/system/xbin/printenv", "/system/xbin/printf",
"/system/xbin/ps", "/system/xbin/pstree", "/system/xbin/pwd",
"/system/xbin/pwdx", "/system/xbin/rdev", "/system/xbin/readlink",
"/system/xbin/realpath", "/system/xbin/renice", "/system/xbin/reset",
"/system/xbin/resize", "/system/xbin/rev", "/system/xbin/rm",
"/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",
"/system/xbin/run-parts", "/system/xbin/rx", "/system/xbin/sed",
"/system/xbin/seq", "/system/xbin/setconsole", "/system/xbin/setserial",
"/system/xbin/setsid", "/system/xbin/sh", "/system/xbin/sha1sum",
"/system/xbin/sha256sum", "/system/xbin/sha512sum",
"/system/xbin/sleep", "/system/xbin/sort", "/system/xbin/split",
"/system/xbin/stat", "/system/xbin/strings", "/system/xbin/stty",
"/system/xbin/sum", "/system/xbin/swapoff", "/system/xbin/swapon",
"/system/xbin/sync", "/system/xbin/sysctl", "/system/xbin/tac",
"/system/xbin/tail", "/system/xbin/tar", "/system/xbin/taskset",
"/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",
"/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",
"/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",
"/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",
"/system/xbin/true", "/system/xbin/ttysize", "/system/xbin/tune2fs",
"/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uncompress",
"/system/xbin/unexpand", "/system/xbin/uniq", "/system/xbin/unix2dos",
"/system/xbin/unlzma", "/system/xbin/unlzop", "/system/xbin/unxz",
"/system/xbin/unzip", "/system/xbin/uptime", "/system/xbin/usleep",
"/system/xbin/uudecode", "/system/xbin/uuencode", "/system/xbin/vi",
"/system/xbin/watch", "/system/xbin/wc", "/system/xbin/wget",
"/system/xbin/which", "/system/xbin/whoami", "/system/xbin/xargs",
"/system/xbin/xz", "/system/xbin/xzcat", "/system/xbin/yes",
"/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/md5", "/system/bin/mkdir", "/system/bin/mount",
"/system/bin/mv", "/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/rm", "/system/bin/rmdir",
"/system/bin/rmmod", "/system/bin/route", "/system/bin/schedtop",
"/system/bin/sendevent", "/system/bin/setconsole",
"/system/bin/setprop", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/sync",
"/system/bin/top", "/system/bin/touch", "/system/bin/umount",
"/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm(0, 2000, 0755, "/system/vendor/etc");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/res");
set_perm(0, 0, 0644, "/system/vendor/res/images/dock/dock.png");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
show_progress(0.200000, 0);
package_extract_file("system/bin/modelid_cfg.sh", "/tmp/modelid_cfg.sh");
set_perm(0, 0, 0777, "/tmp/modelid_cfg.sh");
run_program("/tmp/modelid_cfg.sh", "");
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/mmcblk0p3");
show_progress(0.100000, 0);
ui_print("Fixing fs_size in crypto footer...");
assert(samsung.fs_size_fix());
unmount("/system");
Attached is my updater-script. Just remove the txt extension.
Just a note, I was able to flash the zip, but I did not try booting afterwards.
Here are my changes to get it working.
REMOVED
Code:
assert(getprop("ro.product.device") == "LT26i" || getprop("ro.build.product") == "LT26i" ||
getprop("ro.product.device") == "LT26a" || getprop("ro.build.product") == "LT26a" ||
getprop("ro.product.device") == "nozomi" || getprop("ro.build.product") == "nozomi");
ui_print("Fixing fs_size in crypto footer...");
assert(samsung.fs_size_fix());
REMOVED only so boot didnt get overwritten (I was just testing to see if the update would flash)
Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p3");
CHANGED (basically copied CM10 updater-script)
Code:
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm(0, 2000, 0755, "/system/vendor/etc");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/res");
set_perm(0, 0, 0644, "/system/vendor/res/images/dock/dock.png");
to
Code:
set_perm(0, 2000, 0755, "/system/vendor/camera");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm(0, 2000, 0755, "/system/vendor/firmware");

[Q] Problem installing Custom ROM based on CyanogenMod

So I want to install this custom rom http://forum.xda-developers.com/showthread.php?t=2199167 but when I try to install it I get status 6 install aborted. I have stock Hboot with S-ON, CWM 2.5.0.4(thats the version if I'm right), 1GB SD card. Any help would be greatly appreciated.
Regards,
Fobos531
bump, just to note, every other rom worked, i would either get status 7 or status 0 which I would fix in most cases. Also when I try to flash newer CWM through adb, it tells me "signature verify fail", sth like that .
this is the content of updater-script:
ui_print("");
ui_print("");
ui_print("");
ui_print("------------------------------------------------");
ui_print( WindowsPhoneMod v3.4.1 Final Release ");
ui_print(" for your HTC Desire ");
ui_print(" by TheRinseM. ");
ui_print("------------------------------------------------");
ui_print("");
ui_print("");
ui_print("");
ui_print("Checking if your device is a HTC Desire..");
assert(getprop("ro.product.device") == "bravo" || getprop("ro.build.product") == "bravo" || getprop("ro.product.board") == "bravo");
ui_print("Your Device is a HTC Desire, continuing installation... ");
ui_print("Cleaning up device..");
package_extract_file("script/backuptool.sh", "/tmp/backuptool.sh");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
run_program("/tmp/backuptool.sh", "backup");
show_progress(0.500000, 0);
ui_print("Formatting & Mounting system...");
format("yaffs2", "MTD", "system");
mount("yaffs2", "MTD", "system", "/system");
ui_print("Installing WindowsPhoneMod...");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
ui_print("Creating symlinks...");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",
"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",
"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",
"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",
"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",
"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fbsplash", "/system/xbin/fdisk", "/system/xbin/fgrep",
"/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fsync", "/system/xbin/ftpget",
"/system/xbin/ftpput", "/system/xbin/fuser", "/system/xbin/getopt",
"/system/xbin/grep", "/system/xbin/groups", "/system/xbin/gunzip",
"/system/xbin/gzip", "/system/xbin/halt", "/system/xbin/head",
"/system/xbin/hexdump", "/system/xbin/id", "/system/xbin/ifconfig",
"/system/xbin/inetd", "/system/xbin/insmod", "/system/xbin/install",
"/system/xbin/ionice", "/system/xbin/iostat", "/system/xbin/ip",
"/system/xbin/kill", "/system/xbin/killall", "/system/xbin/killall5",
"/system/xbin/less", "/system/xbin/ln", "/system/xbin/losetup",
"/system/xbin/ls", "/system/xbin/lsattr", "/system/xbin/lsmod",
"/system/xbin/lsusb", "/system/xbin/lzcat", "/system/xbin/lzma",
"/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/man",
"/system/xbin/md5sum", "/system/xbin/mesg", "/system/xbin/mkdir",
"/system/xbin/mke2fs", "/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/nbd-client",
"/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nohup",
"/system/xbin/nslookup", "/system/xbin/ntpd", "/system/xbin/od",
"/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",
"/system/xbin/ping", "/system/xbin/pipe_progress", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid", "/system/xbin/sh",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha3sum", "/system/xbin/sha512sum", "/system/xbin/sleep",
"/system/xbin/sort", "/system/xbin/split", "/system/xbin/stat",
"/system/xbin/strings", "/system/xbin/stty", "/system/xbin/sum",
"/system/xbin/swapoff", "/system/xbin/swapon", "/system/xbin/sync",
"/system/xbin/sysctl", "/system/xbin/tac", "/system/xbin/tail",
"/system/xbin/tar", "/system/xbin/tee", "/system/xbin/telnet",
"/system/xbin/telnetd", "/system/xbin/test", "/system/xbin/tftp",
"/system/xbin/tftpd", "/system/xbin/time", "/system/xbin/timeout",
"/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
"/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/ttysize",
"/system/xbin/tune2fs", "/system/xbin/umount", "/system/xbin/uname",
"/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop",
"/system/xbin/unxz", "/system/xbin/unzip", "/system/xbin/uptime",
"/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode",
"/system/xbin/vi", "/system/xbin/watch", "/system/xbin/wc",
"/system/xbin/wget", "/system/xbin/which", "/system/xbin/whoami",
"/system/xbin/xargs", "/system/xbin/xz", "/system/xbin/xzcat",
"/system/xbin/yes",
"/system/xbin/zcat");
symlink("iwmulticall", "/system/xbin/iwconfig", "/system/xbin/iwgetid",
"/system/xbin/iwlist", "/system/xbin/iwpriv",
"/system/xbin/iwspy");
symlink("toolbox", "/system/bin/cat", "/system/bin/cmp",
"/system/bin/date", "/system/bin/dd", "/system/bin/getevent",
"/system/bin/getprop", "/system/bin/hd", "/system/bin/id",
"/system/bin/ifconfig", "/system/bin/iftop", "/system/bin/insmod",
"/system/bin/ioctl", "/system/bin/ionice", "/system/bin/kill",
"/system/bin/log", "/system/bin/lsmod", "/system/bin/nandread",
"/system/bin/netstat", "/system/bin/newfs_msdos", "/system/bin/notify",
"/system/bin/printenv", "/system/bin/ps", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/rmdir", "/system/bin/rmmod",
"/system/bin/route", "/system/bin/schedtop", "/system/bin/sendevent",
"/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
"/system/bin/smd", "/system/bin/start", "/system/bin/stop",
"/system/bin/sync", "/system/bin/top", "/system/bin/uptime",
"/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
ui_print("Setting Permissions...");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm(1000, 1003, 02755, "/system/bin/screenshot");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/hcitool");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 06755, "/system/xbin/tcpdump");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
ui_print("Doing some miscellaneous stuff..");
package_extract_file("script/backuptool.sh", "/tmp/backuptool.sh");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
run_program("/tmp/backuptool.sh", "restore");
package_extract_file("script/modelid_cfg.sh", "/tmp/modelid_cfg.sh");
set_perm(0, 0, 0777, "/tmp/modelid_cfg.sh");
run_program("/tmp/modelid_cfg.sh");
package_extract_file("script/verify_cache_partition_size.sh", "/tmp/verify_cache_partition_size.sh");
set_perm(0, 0, 0777, "/tmp/verify_cache_partition_size.sh");
run_program("/tmp/verify_cache_partition_size.sh");
show_progress(0.200000, 10);
#BRAVIA ENGINE
set_perm(0, 0, 0755, "/system/etc/be_movie");
set_perm(0, 0, 0755, "/system/etc/be_photo");
ui_print("Writing Boot image...");
assert(package_extract_file("kernel/wpm/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.100000, 0);
ui_print("Done, rebooting in 5 seconds..!");
unmount("/system");
run_program("/sbin/busybox", "sleep", "5");
run_program("/sbin/reboot");

[Q] Issue installing custom ROM | Help Please

Greetings.
I can't install Custom rom Windows Phone Mod. I get status 6 error. Im using TWRP recovery. It doesnt work in CWM either. Phone is rooted and s-off.
This is the content of the updater script:
ui_print("");
ui_print("");
ui_print("");
ui_print("------------------------------------------------");
ui_print( WindowsPhoneMod v3.4.1 Final Release ");
ui_print(" for your HTC Desire ");
ui_print(" by TheRinseM. ");
ui_print("------------------------------------------------");
ui_print("");
ui_print("");
ui_print("");
ui_print("Checking if your device is a HTC Desire..");
assert(getprop("ro.product.device") == "bravo" || getprop("ro.build.product") == "bravo" || getprop("ro.product.board") == "bravo");
ui_print("Your Device is a HTC Desire, continuing installation... ");
ui_print("Cleaning up device..");
package_extract_file("script/backuptool.sh", "/tmp/backuptool.sh");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
run_program("/tmp/backuptool.sh", "backup");
show_progress(0.500000, 0);
ui_print("Formatting & Mounting system...");
format("yaffs2", "MTD", "system");
mount("yaffs2", "MTD", "system", "/system");
ui_print("Installing WindowsPhoneMod...");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
ui_print("Creating symlinks...");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",
"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",
"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",
"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",
"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",
"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fbsplash", "/system/xbin/fdisk", "/system/xbin/fgrep",
"/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fsync", "/system/xbin/ftpget",
"/system/xbin/ftpput", "/system/xbin/fuser", "/system/xbin/getopt",
"/system/xbin/grep", "/system/xbin/groups", "/system/xbin/gunzip",
"/system/xbin/gzip", "/system/xbin/halt", "/system/xbin/head",
"/system/xbin/hexdump", "/system/xbin/id", "/system/xbin/ifconfig",
"/system/xbin/inetd", "/system/xbin/insmod", "/system/xbin/install",
"/system/xbin/ionice", "/system/xbin/iostat", "/system/xbin/ip",
"/system/xbin/kill", "/system/xbin/killall", "/system/xbin/killall5",
"/system/xbin/less", "/system/xbin/ln", "/system/xbin/losetup",
"/system/xbin/ls", "/system/xbin/lsattr", "/system/xbin/lsmod",
"/system/xbin/lsusb", "/system/xbin/lzcat", "/system/xbin/lzma",
"/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/man",
"/system/xbin/md5sum", "/system/xbin/mesg", "/system/xbin/mkdir",
"/system/xbin/mke2fs", "/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/nbd-client",
"/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nohup",
"/system/xbin/nslookup", "/system/xbin/ntpd", "/system/xbin/od",
"/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",
"/system/xbin/ping", "/system/xbin/pipe_progress", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid", "/system/xbin/sh",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha3sum", "/system/xbin/sha512sum", "/system/xbin/sleep",
"/system/xbin/sort", "/system/xbin/split", "/system/xbin/stat",
"/system/xbin/strings", "/system/xbin/stty", "/system/xbin/sum",
"/system/xbin/swapoff", "/system/xbin/swapon", "/system/xbin/sync",
"/system/xbin/sysctl", "/system/xbin/tac", "/system/xbin/tail",
"/system/xbin/tar", "/system/xbin/tee", "/system/xbin/telnet",
"/system/xbin/telnetd", "/system/xbin/test", "/system/xbin/tftp",
"/system/xbin/tftpd", "/system/xbin/time", "/system/xbin/timeout",
"/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
"/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/ttysize",
"/system/xbin/tune2fs", "/system/xbin/umount", "/system/xbin/uname",
"/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop",
"/system/xbin/unxz", "/system/xbin/unzip", "/system/xbin/uptime",
"/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode",
"/system/xbin/vi", "/system/xbin/watch", "/system/xbin/wc",
"/system/xbin/wget", "/system/xbin/which", "/system/xbin/whoami",
"/system/xbin/xargs", "/system/xbin/xz", "/system/xbin/xzcat",
"/system/xbin/yes",
"/system/xbin/zcat");
symlink("iwmulticall", "/system/xbin/iwconfig", "/system/xbin/iwgetid",
"/system/xbin/iwlist", "/system/xbin/iwpriv",
"/system/xbin/iwspy");
symlink("toolbox", "/system/bin/cat", "/system/bin/cmp",
"/system/bin/date", "/system/bin/dd", "/system/bin/getevent",
"/system/bin/getprop", "/system/bin/hd", "/system/bin/id",
"/system/bin/ifconfig", "/system/bin/iftop", "/system/bin/insmod",
"/system/bin/ioctl", "/system/bin/ionice", "/system/bin/kill",
"/system/bin/log", "/system/bin/lsmod", "/system/bin/nandread",
"/system/bin/netstat", "/system/bin/newfs_msdos", "/system/bin/notify",
"/system/bin/printenv", "/system/bin/ps", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/rmdir", "/system/bin/rmmod",
"/system/bin/route", "/system/bin/schedtop", "/system/bin/sendevent",
"/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
"/system/bin/smd", "/system/bin/start", "/system/bin/stop",
"/system/bin/sync", "/system/bin/top", "/system/bin/uptime",
"/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
ui_print("Setting Permissions...");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm(1000, 1003, 02755, "/system/bin/screenshot");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/hcitool");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 06755, "/system/xbin/tcpdump");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
ui_print("Doing some miscellaneous stuff..");
package_extract_file("script/backuptool.sh", "/tmp/backuptool.sh");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
run_program("/tmp/backuptool.sh", "restore");
package_extract_file("script/modelid_cfg.sh", "/tmp/modelid_cfg.sh");
set_perm(0, 0, 0777, "/tmp/modelid_cfg.sh");
run_program("/tmp/modelid_cfg.sh");
package_extract_file("script/verify_cache_partition_size.sh", "/tmp/verify_cache_partition_size.sh");
set_perm(0, 0, 0777, "/tmp/verify_cache_partition_size.sh");
run_program("/tmp/verify_cache_partition_size.sh");
show_progress(0.200000, 10);
#BRAVIA ENGINE
set_perm(0, 0, 0755, "/system/etc/be_movie");
set_perm(0, 0, 0755, "/system/etc/be_photo");
ui_print("Writing Boot image...");
assert(package_extract_file("kernel/wpm/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.100000, 0);
ui_print("Done, rebooting in 5 seconds..!");
unmount("/system");
run_program("/sbin/busybox", "sleep", "5");
run_program("/sbin/reboot");
Any help will be greatly appreciated.
Fobos531 said:
Greetings.
I can't install Custom rom Windows Phone Mod. I get status 6 error. Im using TWRP recovery. It doesnt work in CWM either. Phone is rooted and s-off.
This is the content of the updater script:
ui_print("");
ui_print("");
ui_print("");
ui_print("------------------------------------------------");
ui_print( WindowsPhoneMod v3.4.1 Final Release ");
ui_print(" for your HTC Desire ");
ui_print(" by TheRinseM. ");
ui_print("------------------------------------------------");
ui_print("");
ui_print("");
ui_print("");
ui_print("Checking if your device is a HTC Desire..");
assert(getprop("ro.product.device") == "bravo" || getprop("ro.build.product") == "bravo" || getprop("ro.product.board") == "bravo");
ui_print("Your Device is a HTC Desire, continuing installation... ");
ui_print("Cleaning up device..");
package_extract_file("script/backuptool.sh", "/tmp/backuptool.sh");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
run_program("/tmp/backuptool.sh", "backup");
show_progress(0.500000, 0);
ui_print("Formatting & Mounting system...");
format("yaffs2", "MTD", "system");
mount("yaffs2", "MTD", "system", "/system");
ui_print("Installing WindowsPhoneMod...");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
ui_print("Creating symlinks...");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",
"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",
"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",
"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",
"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",
"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fbsplash", "/system/xbin/fdisk", "/system/xbin/fgrep",
"/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fsync", "/system/xbin/ftpget",
"/system/xbin/ftpput", "/system/xbin/fuser", "/system/xbin/getopt",
"/system/xbin/grep", "/system/xbin/groups", "/system/xbin/gunzip",
"/system/xbin/gzip", "/system/xbin/halt", "/system/xbin/head",
"/system/xbin/hexdump", "/system/xbin/id", "/system/xbin/ifconfig",
"/system/xbin/inetd", "/system/xbin/insmod", "/system/xbin/install",
"/system/xbin/ionice", "/system/xbin/iostat", "/system/xbin/ip",
"/system/xbin/kill", "/system/xbin/killall", "/system/xbin/killall5",
"/system/xbin/less", "/system/xbin/ln", "/system/xbin/losetup",
"/system/xbin/ls", "/system/xbin/lsattr", "/system/xbin/lsmod",
"/system/xbin/lsusb", "/system/xbin/lzcat", "/system/xbin/lzma",
"/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/man",
"/system/xbin/md5sum", "/system/xbin/mesg", "/system/xbin/mkdir",
"/system/xbin/mke2fs", "/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/nbd-client",
"/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nohup",
"/system/xbin/nslookup", "/system/xbin/ntpd", "/system/xbin/od",
"/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",
"/system/xbin/ping", "/system/xbin/pipe_progress", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid", "/system/xbin/sh",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha3sum", "/system/xbin/sha512sum", "/system/xbin/sleep",
"/system/xbin/sort", "/system/xbin/split", "/system/xbin/stat",
"/system/xbin/strings", "/system/xbin/stty", "/system/xbin/sum",
"/system/xbin/swapoff", "/system/xbin/swapon", "/system/xbin/sync",
"/system/xbin/sysctl", "/system/xbin/tac", "/system/xbin/tail",
"/system/xbin/tar", "/system/xbin/tee", "/system/xbin/telnet",
"/system/xbin/telnetd", "/system/xbin/test", "/system/xbin/tftp",
"/system/xbin/tftpd", "/system/xbin/time", "/system/xbin/timeout",
"/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
"/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/ttysize",
"/system/xbin/tune2fs", "/system/xbin/umount", "/system/xbin/uname",
"/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop",
"/system/xbin/unxz", "/system/xbin/unzip", "/system/xbin/uptime",
"/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode",
"/system/xbin/vi", "/system/xbin/watch", "/system/xbin/wc",
"/system/xbin/wget", "/system/xbin/which", "/system/xbin/whoami",
"/system/xbin/xargs", "/system/xbin/xz", "/system/xbin/xzcat",
"/system/xbin/yes",
"/system/xbin/zcat");
symlink("iwmulticall", "/system/xbin/iwconfig", "/system/xbin/iwgetid",
"/system/xbin/iwlist", "/system/xbin/iwpriv",
"/system/xbin/iwspy");
symlink("toolbox", "/system/bin/cat", "/system/bin/cmp",
"/system/bin/date", "/system/bin/dd", "/system/bin/getevent",
"/system/bin/getprop", "/system/bin/hd", "/system/bin/id",
"/system/bin/ifconfig", "/system/bin/iftop", "/system/bin/insmod",
"/system/bin/ioctl", "/system/bin/ionice", "/system/bin/kill",
"/system/bin/log", "/system/bin/lsmod", "/system/bin/nandread",
"/system/bin/netstat", "/system/bin/newfs_msdos", "/system/bin/notify",
"/system/bin/printenv", "/system/bin/ps", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/rmdir", "/system/bin/rmmod",
"/system/bin/route", "/system/bin/schedtop", "/system/bin/sendevent",
"/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
"/system/bin/smd", "/system/bin/start", "/system/bin/stop",
"/system/bin/sync", "/system/bin/top", "/system/bin/uptime",
"/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
ui_print("Setting Permissions...");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm(1000, 1003, 02755, "/system/bin/screenshot");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/hcitool");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 06755, "/system/xbin/tcpdump");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
ui_print("Doing some miscellaneous stuff..");
package_extract_file("script/backuptool.sh", "/tmp/backuptool.sh");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
run_program("/tmp/backuptool.sh", "restore");
package_extract_file("script/modelid_cfg.sh", "/tmp/modelid_cfg.sh");
set_perm(0, 0, 0777, "/tmp/modelid_cfg.sh");
run_program("/tmp/modelid_cfg.sh");
package_extract_file("script/verify_cache_partition_size.sh", "/tmp/verify_cache_partition_size.sh");
set_perm(0, 0, 0777, "/tmp/verify_cache_partition_size.sh");
run_program("/tmp/verify_cache_partition_size.sh");
show_progress(0.200000, 10);
#BRAVIA ENGINE
set_perm(0, 0, 0755, "/system/etc/be_movie");
set_perm(0, 0, 0755, "/system/etc/be_photo");
ui_print("Writing Boot image...");
assert(package_extract_file("kernel/wpm/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.100000, 0);
ui_print("Done, rebooting in 5 seconds..!");
unmount("/system");
run_program("/sbin/busybox", "sleep", "5");
run_program("/sbin/reboot");
Any help will be greatly appreciated.
Click to expand...
Click to collapse
Try 4ext recovery and u on stock hboot?
Sent from my HTC Desire XS using XDA Free mobile app
This line is missing one quotiation mark
ui_print( WindowsPhoneMod v3.4.1 Final Release ");
Click to expand...
Click to collapse
Could this be the issue? however all works now
Fobos531 said:
This line is missing one quotiation mark
Could this be the issue? however all works now
Click to expand...
Click to collapse
Yh there seems to be alot of ) missing from the script, each line should end with ");
Thanks. Also what should I do if my HTC Desire ever hangs at white htc screen? Cleaning Dalvik + cache didnt work out last time. My only option was to flash new ROM
Fobos531 said:
Thanks. Also what should I do if my HTC Desire ever hangs at white htc screen? Cleaning Dalvik + cache didnt work out last time. My only option was to flash new ROM
Click to expand...
Click to collapse
Clearing dalvik + cache doesn't solve anything in virtually ALL situations....don't bother doing it.
Cache is temporary files. Dalvik is coupled with the apps. It simply rebuilds after you clear it.
If you get stuck on splash screen you have different issues. Perhaps your sdcard is not partitioned as per the ROM requirements, or you installed the ROM on the wrong hboot, or you didn't full wipe when changing ROMs. Use bortak's troubleshooting guide stickied at the top of Q&A if this happens in the future

Categories

Resources